/* ============================================================
   Steven Johnston — Projects Technical Lead
   Design: Dark Executive  ·  Warm Gold & Electric Blue
   Typefaces: Bricolage Grotesque (display) + DM Sans (body)
   ============================================================ */

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

/* ── Light theme overrides ──────────────────────────────────── */
body.light {
    --void:          #F4F2EE;
    --base:          #ECEAE5;
    --elevated:      #E4E1DA;
    --card-solid:    #ECEAE5;
    --card-hover:    #E2DFD8;

    --border-ghost:  rgba(0,0,0,0.05);
    --border-faint:  rgba(0,0,0,0.08);
    --border-mid:    rgba(0,0,0,0.14);
    --border-bright: rgba(0,0,0,0.22);

    --gold:          #9A6F2A;
    --gold-bright:   #7A5520;
    --gold-pale:     rgba(154, 111, 42, 0.10);
    --gold-glow:     rgba(154, 111, 42, 0.22);

    --blue:          #2563EB;
    --blue-pale:     rgba(37, 99, 235, 0.10);

    --text-100:      #1A1814;
    --text-70:       #4A4640;
    --text-40:       #9A968F;
}

body.light .hero {
    background: var(--void);
}

body.light .hero-vignette {
    background:
        radial-gradient(ellipse 75% 55% at 50% 50%, transparent 30%, var(--void) 100%),
        linear-gradient(to bottom, rgba(244,242,238,0.5) 0%, transparent 25%, transparent 75%, var(--void) 100%);
}

body.light .hero-name-outline {
    -webkit-text-stroke-color: var(--text-100);
}

body.light .nav.scrolled {
    background: rgba(244, 242, 238, 0.90);
}

body.light .timeline-dot {
    border-color: var(--void);
}

/* ── Tokens ─────────────────────────────────────────────────── */
:root {
    /* Palette */
    --void:          #07090E;
    --base:          #0B0D16;
    --elevated:      #0F1220;
    --card:          #12152280;
    --card-solid:    #121522;
    --card-hover:    #181C2E;

    --border-ghost:  rgba(255,255,255,0.04);
    --border-faint:  rgba(255,255,255,0.07);
    --border-mid:    rgba(255,255,255,0.12);
    --border-bright: rgba(255,255,255,0.20);

    --gold:          #C8A96A;
    --gold-bright:   #DDB96E;
    --gold-pale:     rgba(200, 169, 106, 0.10);
    --gold-glow:     rgba(200, 169, 106, 0.22);

    --blue:          #6BA4F8;
    --blue-pale:     rgba(107, 164, 248, 0.10);

    --text-100:      #ECEAE4;
    --text-70:       #9B9791;
    --text-40:       #4C4C58;

    /* Type */
    --f-display:    'Bricolage Grotesque', sans-serif;
    --f-hero:       'Cormorant Garamond', serif;
    --f-body:       'DM Sans', sans-serif;

    /* Layout */
    --max-w:        1160px;
    --gap:          clamp(24px, 5vw, 80px);
    --section-v:    clamp(80px, 10vw, 136px);
}

/* ── Base ───────────────────────────────────────────────────── */
html { scroll-behavior: smooth; font-size: 16px; }

body {
    background: var(--void);
    color: var(--text-100);
    font-family: var(--f-body);
    font-weight: 400;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    transition: background 0.4s ease, color 0.4s ease;
}

/* ── Navigation ─────────────────────────────────────────────── */
.nav {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 100;
    padding: 22px var(--gap);
    transition: background 0.5s, border-color 0.5s, padding 0.4s;
    border-bottom: 1px solid transparent;
}

.nav.scrolled {
    background: rgba(7, 9, 14, 0.88);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom-color: var(--border-faint);
    padding-top: 14px;
    padding-bottom: 14px;
}

.nav-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--f-display);
    font-weight: 800;
    font-size: 19px;
    letter-spacing: 0.06em;
    color: var(--gold);
    cursor: default;
    user-select: none;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a {
    font-family: var(--f-display);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: var(--text-70);
    text-decoration: none;
    transition: color 0.2s;
}

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

.nav-cta {
    background: var(--gold-pale) !important;
    border: 1px solid rgba(200,169,106,0.35) !important;
    color: var(--gold) !important;
    padding: 8px 18px !important;
    border-radius: 3px !important;
    transition: all 0.25s !important;
}
.nav-cta:hover {
    background: var(--gold) !important;
    color: var(--void) !important;
}

.theme-switch {
    display: flex;
    align-items: center;
    gap: 7px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}
.theme-icon {
    color: var(--text-40);
    transition: color 0.3s;
    flex-shrink: 0;
}
.theme-icon-moon { color: var(--gold); }
body.light .theme-icon-moon { color: var(--text-40); }
body.light .theme-icon-sun  { color: var(--gold); }

.theme-switch-track {
    width: 38px;
    height: 20px;
    border-radius: 10px;
    background: var(--border-mid);
    border: 1px solid var(--border-mid);
    position: relative;
    transition: background 0.3s, border-color 0.3s;
    flex-shrink: 0;
}
body.light .theme-switch-track {
    background: var(--gold-pale);
    border-color: var(--gold);
}
.theme-switch-thumb {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--text-40);
    transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), background 0.3s;
}
body.light .theme-switch-thumb {
    transform: translateX(18px);
    background: var(--gold);
}

.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav-hamburger span {
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--text-70);
    transition: all 0.3s;
}

.nav-mobile {
    display: none;
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background: #07090E;
    padding: 0 var(--gap);
}
body.light .nav-mobile { background: #F4F2EE; }
.nav-mobile.open { max-height: 320px; }

/* Solid nav background when mobile menu is open */
.nav.menu-open {
    background: #07090E !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
body.light .nav.menu-open { background: #F4F2EE !important; }

.nav-mobile a {
    display: block;
    padding: 14px 0;
    font-family: var(--f-display);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-70);
    text-decoration: none;
    border-bottom: 1px solid var(--border-ghost);
}
.nav-mobile a:hover { color: var(--gold); }

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    background: var(--void);
    overflow: hidden;
}

.hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-vignette {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 75% 55% at 50% 50%, transparent 30%, var(--void) 100%),
        linear-gradient(to bottom, rgba(7,9,14,0.5) 0%, transparent 25%, transparent 75%, var(--void) 100%);
    pointer-events: none;
    z-index: 1;
}

.hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 130px var(--gap) 100px;
}

.hero-eyebrow {
    font-family: var(--f-display);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 28px;
    opacity: 0;
    animation: fadeUp 0.7s cubic-bezier(0.16,1,0.3,1) 0.15s forwards;
}

.hero-name {
    font-family: var(--f-hero);
    font-weight: 700;
    font-size: clamp(44px, 6vw, 88px);
    line-height: 0.90;
    letter-spacing: -0.035em;
    margin-bottom: 36px;
}

.hero-name-solid {
    display: block;
    color: var(--text-100);
    opacity: 0;
    animation: fadeUp 0.85s cubic-bezier(0.16,1,0.3,1) 0.28s forwards;
}

.hero-name-outline {
    display: block;
    color: var(--text-100);
    -webkit-text-stroke: 0;
    opacity: 0;
    animation: fadeUp 0.85s cubic-bezier(0.16,1,0.3,1) 0.40s forwards;
}

.hero-tagline {
    font-size: clamp(15px, 1.8vw, 19px);
    color: var(--text-70);
    line-height: 1.75;
    max-width: 560px;
    margin-bottom: 44px;
    opacity: 0;
    animation: fadeUp 0.7s ease 0.58s forwards;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
    margin-bottom: 44px;
    opacity: 0;
    animation: fadeUp 0.7s ease 0.72s forwards;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.hero-stat-value {
    font-family: var(--f-display);
    font-size: 20px;
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
    letter-spacing: -0.01em;
}

.hero-stat-label {
    font-size: 11px;
    color: var(--text-40);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.hero-stat-rule {
    width: 1px;
    height: 32px;
    background: var(--border-mid);
    flex-shrink: 0;
}

.hero-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeUp 0.7s ease 0.86s forwards;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 3px;
    font-family: var(--f-display);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid transparent;
    transition: all 0.25s ease;
    cursor: pointer;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gold);
    color: var(--void);
    border-color: var(--gold);
}
.btn-primary:hover {
    background: var(--gold-bright);
    border-color: var(--gold-bright);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--gold-glow);
}

.btn-ghost {
    background: transparent;
    color: var(--text-70);
    border-color: var(--border-mid);
}
.btn-ghost:hover {
    color: var(--text-100);
    border-color: var(--border-bright);
    transform: translateY(-2px);
}

/* Scroll hint */
.hero-scroll-hint {
    position: absolute;
    bottom: 36px;
    left: var(--gap);
    display: flex;
    align-items: center;
    gap: 14px;
    font-family: var(--f-display);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text-40);
    z-index: 2;
    opacity: 0;
    animation: fadeIn 1s ease 1.3s forwards;
}

.hero-scroll-track {
    width: 56px;
    height: 1px;
    background: var(--border-mid);
    overflow: hidden;
}

.hero-scroll-bar {
    width: 50%;
    height: 100%;
    background: var(--gold);
    animation: scrollBar 2s ease-in-out 1.5s infinite;
}

@keyframes scrollBar {
    0%   { transform: translateX(-200%); }
    100% { transform: translateX(300%); }
}

/* ── Sections ───────────────────────────────────────────────── */
.section {
    padding: var(--section-v) var(--gap);
    border-top: 1px solid var(--border-ghost);
}

.section-alt {
    background: var(--base);
}

.section-inner {
    max-width: var(--max-w);
    margin: 0 auto;
}

.section-header {
    display: flex;
    align-items: baseline;
    gap: 18px;
    padding-bottom: 28px;
    margin-bottom: clamp(44px, 6vw, 72px);
    border-bottom: 1px solid var(--border-faint);
}

.section-num {
    font-family: var(--f-display);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: var(--gold);
    opacity: 0.8;
}

.section-title {
    font-family: var(--f-display);
    font-size: clamp(30px, 4vw, 50px);
    font-weight: 800;
    color: var(--text-100);
    letter-spacing: -0.025em;
}

/* ── About ──────────────────────────────────────────────────── */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 88px);
    align-items: start;
}

.about-lead {
    font-family: var(--f-display);
    font-size: clamp(18px, 2.2vw, 26px);
    font-weight: 600;
    color: var(--text-100);
    line-height: 1.45;
    margin-bottom: 22px;
}

.about-body-text {
    font-size: 16px;
    color: var(--text-70);
    line-height: 1.85;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border: 1px solid var(--border-faint);
    border-radius: 6px;
    overflow: hidden;
    gap: 1px;
    background: var(--border-faint);
    align-content: start;
}

.about-stat {
    background: var(--card-solid);
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: background 0.2s;
}
.about-stat:hover { background: var(--card-hover); }

.about-stat-value {
    font-family: var(--f-display);
    font-size: clamp(20px, 2.2vw, 28px);
    font-weight: 800;
    color: var(--gold);
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.about-stat-label {
    font-size: 12px;
    color: var(--text-40);
    line-height: 1.45;
    letter-spacing: 0.02em;
}

.about-stat-bullets {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.about-stat-bullets li {
    font-size: 12px;
    color: var(--text-40);
    line-height: 1.45;
    letter-spacing: 0.02em;
    padding-left: 12px;
    position: relative;
}
.about-stat-bullets li::before {
    content: '–';
    position: absolute;
    left: 0;
    color: var(--gold);
}

/* ── Skills ─────────────────────────────────────────────────── */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border-faint);
    border: 1px solid var(--border-faint);
    border-radius: 6px;
    overflow: hidden;
}

.skill-card {
    background: var(--card-solid);
    padding: 36px 30px;
    position: relative;
    transition: background 0.2s;
}

.skill-card::after {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
}

.skill-card:hover { background: var(--card-hover); }
.skill-card:hover::after { opacity: 1; }

.skill-card-icon {
    color: var(--gold);
    opacity: 0.75;
    margin-bottom: 18px;
}

.skill-card-title {
    font-family: var(--f-display);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-100);
    margin-bottom: 18px;
}

.skill-list { list-style: none; }

.skill-list li {
    font-size: 13.5px;
    color: var(--text-70);
    line-height: 1.5;
    padding: 8px 0 8px 16px;
    border-bottom: 1px solid var(--border-ghost);
    position: relative;
}
.skill-list li:last-child { border-bottom: none; }
.skill-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 1px;
    background: var(--gold);
    opacity: 0.55;
}

/* ── Timeline ───────────────────────────────────────────────── */
.timeline { display: flex; flex-direction: column; }

.timeline-item {
    display: grid;
    grid-template-columns: 148px 20px 1fr;
    gap: 0;
}

.timeline-year {
    font-family: var(--f-display);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--gold);
    text-align: right;
    padding-top: 5px;
    padding-right: 20px;
    opacity: 0.8;
}

.timeline-spine {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.timeline-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold);
    flex-shrink: 0;
    margin-top: 4px;
    box-shadow: 0 0 0 3px var(--gold-pale), 0 0 10px var(--gold-glow);
    position: relative;
    z-index: 1;
}

.timeline-line {
    flex: 1;
    width: 1px;
    background: linear-gradient(to bottom, var(--border-mid), var(--border-ghost));
    margin-top: 6px;
}

.timeline-item:last-child .timeline-line { visibility: hidden; }

.timeline-content {
    padding: 0 0 64px 32px;
}

.timeline-title {
    font-family: var(--f-display);
    font-size: clamp(17px, 2vw, 22px);
    font-weight: 700;
    color: var(--text-100);
    letter-spacing: -0.015em;
    margin-bottom: 5px;
}

.timeline-company {
    font-size: 14px;
    color: var(--blue);
    font-weight: 500;
    margin-bottom: 18px;
}

.timeline-company-note {
    color: var(--text-40);
    font-weight: 400;
    font-size: 13px;
}

.timeline-list { list-style: none; }

.timeline-list li {
    font-size: 14.5px;
    color: var(--text-70);
    line-height: 1.7;
    padding: 7px 0 7px 20px;
    border-bottom: 1px solid var(--border-ghost);
    position: relative;
}
.timeline-list li:last-child { border-bottom: none; }
.timeline-list li::before {
    content: '—';
    position: absolute;
    left: 0;
    top: 8px;
    font-size: 11px;
    color: var(--gold);
    opacity: 0.45;
}

/* ── Credentials ────────────────────────────────────────────── */
.creds-featured {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border-faint);
    border: 1px solid var(--border-faint);
    border-radius: 6px 6px 0 0;
    margin-bottom: 1px;
    overflow: hidden;
}

.cred-card {
    background: var(--card-solid);
    padding: 32px 28px;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    transition: background 0.2s;
    position: relative;
}
.cred-card::after {
    content: '';
    position: absolute;
    inset: auto 0 0 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), transparent 70%);
    opacity: 0.3;
}
.cred-card:hover { background: var(--card-hover); }

.cred-badge {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 6px;
    background: var(--gold-pale);
    border: 1px solid rgba(200,169,106,0.28);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--f-display);
    font-size: 12px;
    font-weight: 800;
    color: var(--gold);
    letter-spacing: 0.05em;
}

.cred-title {
    font-family: var(--f-display);
    font-size: 16px;
    font-weight: 700;
    color: var(--text-100);
    margin-bottom: 4px;
}

.cred-issuer {
    font-size: 12px;
    color: var(--text-40);
    margin-bottom: 7px;
}

.cred-valid {
    font-size: 11px;
    color: var(--gold);
    font-weight: 600;
    opacity: 0.7;
    letter-spacing: 0.03em;
}

.creds-specialist {
    background: var(--card-solid);
    border: 1px solid var(--border-faint);
    border-top: none;
    border-radius: 0 0 6px 6px;
    padding: 28px 28px 32px;
}

.creds-specialist-label {
    font-family: var(--f-display);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-70);
    margin-bottom: 18px;
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
}

.creds-specialist-label span {
    color: var(--text-40);
    font-weight: 400;
    font-size: 11px;
    letter-spacing: 0.04em;
    text-transform: none;
}

.cert-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cert-tag {
    padding: 7px 13px;
    background: transparent;
    border: 1px solid var(--border-mid);
    border-radius: 3px;
    font-size: 12px;
    color: var(--text-70);
    letter-spacing: 0.02em;
    transition: all 0.2s;
    cursor: default;
}
.cert-tag:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: var(--gold-pale);
}

/* ── Footer ─────────────────────────────────────────────────── */
.footer {
    border-top: 1px solid var(--border-faint);
    padding: 44px var(--gap);
}

.footer-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-logo {
    font-family: var(--f-display);
    font-weight: 800;
    font-size: 17px;
    letter-spacing: 0.07em;
    color: var(--gold);
    opacity: 0.35;
    cursor: default;
}

.footer-copy {
    font-size: 13px;
    color: var(--text-40);
}

.footer-links {
    display: flex;
    gap: 22px;
}

.footer-links a {
    font-family: var(--f-display);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-40);
    text-decoration: none;
    transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold); }

/* ── Animations ─────────────────────────────────────────────── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.75s cubic-bezier(0.16,1,0.3,1),
                transform 0.75s cubic-bezier(0.16,1,0.3,1);
}
.reveal.visible {
    opacity: 1;
    transform: none;
}

/* Stagger children within revealed grid */
.skills-grid.visible .skill-card:nth-child(1) { transition-delay: 0.05s; }
.skills-grid.visible .skill-card:nth-child(2) { transition-delay: 0.10s; }
.skills-grid.visible .skill-card:nth-child(3) { transition-delay: 0.15s; }
.skills-grid.visible .skill-card:nth-child(4) { transition-delay: 0.20s; }
.skills-grid.visible .skill-card:nth-child(5) { transition-delay: 0.25s; }
.skills-grid.visible .skill-card:nth-child(6) { transition-delay: 0.30s; }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .skills-grid { grid-template-columns: repeat(2, 1fr); }
    .creds-featured { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 44px;
    }
    .about-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-hamburger { display: flex; }
    .nav-mobile { display: flex; }

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

    .timeline-item {
        grid-template-columns: 1fr;
        padding-left: 24px;
        border-left: 1px solid var(--border-faint);
        position: relative;
    }
    .timeline-year {
        text-align: left;
        padding: 0 0 6px 0;
        font-size: 11px;
    }
    .timeline-spine { display: none; }
    .timeline-content { padding: 0 0 44px 0; }
    .timeline-dot-mobile {
        position: absolute;
        left: -4px;
        top: 4px;
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: var(--gold);
    }

    .about-stats { grid-template-columns: repeat(2, 1fr); }
    .hero-stat-rule { display: none; }
}

@media (max-width: 560px) {
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { justify-content: center; }
    .about-stats { grid-template-columns: 1fr 1fr; }
    .footer-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
}

/* ── Print ──────────────────────────────────────────────────── */
@media print {
    .nav, .hero-scroll-hint, .hero-canvas, .hero-vignette { display: none; }
    body { background: white; color: #111; }
    .hero { background: #0B0D16; min-height: auto; padding: 60px 40px 40px; }
    .hero-name-solid, .hero-name-outline { -webkit-text-stroke: none; color: white; }
    .section, .section-alt { background: white; border-color: #e0e0e0; }
    .section-title, .timeline-title, .about-lead, .skill-card-title { color: #111; }
    .about-body-text, .timeline-list li, .skill-list li { color: #444; }
    .timeline-item { grid-template-columns: 100px 20px 1fr; }
}
