:root {
    --background: #0b1120;
    --surface: #111827;
    --surface-light: #1f2937;
    --text: #f8fafc;
    --muted: #cbd5e1;
    --accent: #ef4444;
    --accent-dark: #dc2626;
    --border: #334155;
    --max-width: 1120px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Inter", sans-serif;
    background: var(--background);
    color: var(--text);
    line-height: 1.7;
}

a {
    color: inherit;
}

.container {
    width: min(90%, var(--max-width));
    margin: 0 auto;
}

/* HEADER */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(11, 17, 32, 0.72);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header .container {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo {
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    text-decoration: none;
    transition: color 0.25s ease;
}

.logo:hover {
    color: var(--accent);
}

nav {
    display: flex;
    gap: 24px;
}

nav a {
    position: relative;
    color: var(--muted);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.25s ease;
}

nav a:hover {
    color: var(--text);
}

nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.25s ease;
}

nav a:hover::after {
    width: 100%;
}

/* HERO */

.hero {
    min-height: 78vh;
    display: flex;
    align-items: center;
    padding: 100px 0;
    background:
        radial-gradient(
            circle at top right,
            rgba(239, 68, 68, 0.18),
            transparent 30%
        ),
        radial-gradient(
            circle at bottom left,
            rgba(59, 130, 246, 0.08),
            transparent 40%
        ),
        linear-gradient(
            135deg,
            #0b1120 0%,
            #0f172a 45%,
            #111827 100%
        );
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 60px;
}

.eyebrow,
.section-label {
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

h1 {
    max-width: 900px;
    margin: 16px 0 24px;
    font-size: clamp(2.7rem, 7vw, 5.5rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

h2 {
    max-width: 780px;
    margin-top: 8px;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.2;
}

h3 {
    margin-top: 0;
}

.subtitle {
    margin-top: -10px;
    margin-bottom: 30px;
    color: var(--accent);
    font-size: 2rem;
    font-weight: 600;
}

.hero-text {
    max-width: 750px;
    color: var(--muted);
    font-size: 1.2rem;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 36px;
}

.button {
    display: inline-block;
    padding: 13px 22px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.button.primary {
    background: var(--accent);
}

.button.primary:hover {
    background: var(--accent-dark);
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(239, 68, 68, 0.3);
}

.button.secondary {
    border-color: var(--border);
}

.button.secondary:hover {
    background: var(--surface-light);
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.35);
}

/* HERO STATS */

.hero-visual {
    display: flex;
    justify-content: center;
}

.stats-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.stat-card {
    min-height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 26px;
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.07),
            rgba(255, 255, 255, 0.02)
        );
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
    transition:
        transform 0.25s ease,
        border-color 0.25s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(239, 68, 68, 0.65);
}

.stat-number {
    color: var(--accent);
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1;
}

.stat-label {
    margin-top: 12px;
    color: var(--muted);
    font-size: 0.95rem;
    font-weight: 600;
}

/* SKILLS */

.skills-strip {
    padding: 22px 0;
    background: rgba(17, 24, 39, 0.85);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.skills-list span {
    padding: 8px 14px;
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    transition:
        color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}

.skills-list span:hover {
    color: var(--text);
    border-color: rgba(239, 68, 68, 0.6);
    transform: translateY(-2px);
}

/* PROFESSIONAL PHILOSOPHY */

.quote-section {
    padding: 90px 0;
    text-align: center;
    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.02),
            rgba(255, 255, 255, 0.01)
        );
}

.quote-section blockquote {
    max-width: 850px;
    margin: 0 auto;
    color: var(--text);
    font-size: clamp(1.6rem, 3vw, 2.3rem);
    font-weight: 300;
    font-style: italic;
    line-height: 1.6;
}

.quote-author {
    margin-top: 35px;
    color: var(--accent);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* GENERAL SECTIONS */

/* QUOTE */

.quote-section {

    padding: 90px 0;

    text-align: center;

    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,.02),
            rgba(255,255,255,.01)
        );

}

.quote-section blockquote {

    max-width: 850px;

    margin: auto;

    font-size: clamp(1.6rem,3vw,2.3rem);

    line-height: 1.6;

    font-weight: 300;

    font-style: italic;

    color: var(--text);

}

.quote-author {

    margin-top: 35px;

    color: var(--accent);

    font-weight: 700;

    letter-spacing: .08em;

    text-transform: uppercase;

}

.section {
    padding: 96px 0;
}

.section p {
    max-width: 800px;
    color: var(--muted);
    font-size: 1.08rem;
}

.alternate,
.story-section {
    background: var(--surface);
}

/* EXPERTISE CARDS */

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 42px;
}

.card {
    padding: 30px;
    background: var(--surface-light);
    border: 1px solid var(--border);
    border-radius: 14px;
}

.card p {
    font-size: 1rem;
}

/* JOURNEY */

.journey-intro {
    max-width: 700px;
    margin-top: 12px;
    margin-bottom: 50px;
    color: var(--muted);
    font-size: 1.15rem;
}

.timeline {
    position: relative;
    max-width: 850px;
    margin-top: 50px;
    padding-left: 34px;
}

.timeline::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 7px;
    width: 2px;
    background: linear-gradient(
        to bottom,
        var(--accent),
        rgba(239, 68, 68, 0.15)
    );
}

.timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 28px;
    padding-bottom: 45px;
}

.timeline-item::before {
    content: "";
    position: absolute;
    top: 7px;
    left: -34px;
    width: 14px;
    height: 14px;
    background: var(--accent);
    border: 4px solid var(--surface);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.45);
}

.timeline-year {
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.timeline-content {
    padding: 24px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
}

.timeline-content h3 {
    margin-bottom: 8px;
}

.timeline-content p {
    margin-bottom: 0;
}

/* PROJECTS */

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 42px;
}

.project-card {
    display: flex;
    flex-direction: column;
    min-height: 320px;
    padding: 30px;
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.07),
            rgba(255, 255, 255, 0.02)
        );
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.22);
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.project-card:hover {
    transform: translateY(-6px);
    border-color: rgba(239, 68, 68, 0.6);
    box-shadow:
        0 26px 55px rgba(0, 0, 0, 0.32),
        0 0 30px rgba(239, 68, 68, 0.08);
}

.project-type {
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.project-card h3 {
    margin-top: 16px;
    margin-bottom: 12px;
    font-size: 1.35rem;
}

.project-card p {
    flex-grow: 1;
    font-size: 1rem;
}

.project-link {
    margin-top: 22px;
    color: var(--text);
    font-weight: 700;
    text-decoration: none;
    transition: color 0.25s ease;
}

.project-link:hover {
    color: var(--accent);
}

/* CONTACT AND FOOTER */

.contact-section {
    border-top: 1px solid var(--border);
}

footer {
    padding: 32px 0;
    color: var(--muted);
    border-top: 1px solid var(--border);
}

/* MOBILE */

/* CONTACT BUTTONS */

.contact-links {

    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 40px;

}

.contact-button {

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 16px 24px;

    background: var(--surface-light);

    border: 1px solid var(--border);

    border-radius: 12px;

    color: var(--text);

    font-weight: 700;

    text-decoration: none;

    transition:
        transform .25s ease,
        background .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;

}

.contact-button:hover {

    transform: translateY(-4px);

    background: rgba(239,68,68,.12);

    border-color: var(--accent);

    box-shadow: 0 15px 35px rgba(239,68,68,.20);

}

/* RECOVERY STRATEGY */

.recovery-strategy {
    background: var(--surface);
}

.recovery-steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    margin-top: 45px;
}

.recovery-step {
    position: relative;
    padding: 30px;
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.06),
            rgba(255, 255, 255, 0.02)
        );
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.recovery-step:hover {
    transform: translateY(-5px);
    border-color: rgba(239, 68, 68, 0.6);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.step-number {
    display: block;
    margin-bottom: 18px;
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.recovery-step h3 {
    margin-bottom: 10px;
    font-size: 1.25rem;
}

.recovery-step p {
    margin-bottom: 0;
    font-size: 1rem;
}

/* CAREER HIGHLIGHTS */

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 50px;
}

.highlight-card {
    text-align: center;
    padding: 35px 25px;
    border-radius: 18px;
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.08);
    transition: all .25s ease;
}

.highlight-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
}

.highlight-number {
    display: block;
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 10px;
}

.highlight-text {
    display: block;
    line-height: 1.5;
}


/* MOBILE */

@media (max-width: 800px) {

    .site-header .container {
        flex-direction: column;
        align-items: flex-start;
        padding: 18px 0;
    }

    nav {
        width: 100%;
        gap: 14px;
        overflow-x: auto;
        font-size: 0.9rem;
    }

    .hero {
        min-height: auto;
        padding: 80px 0;
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        order: 2;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .card-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .timeline {
        padding-left: 28px;
    }

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .timeline-item::before {
        left: -28px;
    }

    .recovery-steps {
        grid-template-columns: 1fr;
    }

    .highlights-grid {
        grid-template-columns: 1fr;
    }
}