/* v3 draft 1 — soft modern portfolio, pushed
   AI flagship, plainspoken voice, refined motion */

:root {
    --bg: #0a0812;
    --bg-elevated: #120e1c;
    --surface: #181425;
    --surface-2: #1f1a2d;
    --text: #ffffff;
    --text-soft: #d6d2e0;
    --text-muted: #8e88a0;
    --text-faint: #5e5973;
    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.14);

    /* primary accent: indigo/violet — pairs well with AI positioning */
    --accent: #6366f1;
    --accent-soft: #818cf8;
    --accent-glow: rgba(99, 102, 241, 0.35);

    /* secondary accent: warm — used sparingly for AI highlights */
    --warm: #f59e0b;
    --warm-glow: rgba(245, 158, 11, 0.25);

    --font-sans: "Montserrat", system-ui, -apple-system, sans-serif;
    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 22px;
    --radius-xl: 32px;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.5);

    --container: 1200px;
    --container-narrow: 880px;
}

* { box-sizing: border-box; }

.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Ambient background: soft gradient mesh */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse 800px 600px at 15% 0%, rgba(99, 102, 241, 0.12), transparent 60%),
        radial-gradient(ellipse 600px 800px at 85% 30%, rgba(168, 85, 247, 0.08), transparent 60%),
        radial-gradient(ellipse 700px 500px at 50% 100%, rgba(245, 158, 11, 0.04), transparent 60%);
    pointer-events: none;
    z-index: 0;
}

main, footer, nav { position: relative; z-index: 1; }

a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.5rem;
}
@media (min-width: 768px) {
    .container { padding: 0 2rem; }
}

.narrow {
    max-width: var(--container-narrow);
    margin: 0 auto;
}

/* ===== Skip link ===== */
.skip {
    position: absolute;
    top: -100px; left: 1rem;
    background: var(--accent);
    color: var(--text);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    text-decoration: none;
    z-index: 1000;
}
.skip:focus { top: 1rem; }

/* ===== Nav ===== */
.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: rgba(10, 8, 18, 0.6);
    border-bottom: 1px solid var(--border);
}
.nav-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-brand {
    font-weight: 700;
    font-size: 0.9375rem;
    letter-spacing: 0.02em;
    text-decoration: none;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.nav-brand::before {
    content: "";
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 12px var(--accent-glow);
}
.nav-links {
    display: none;
    gap: 0.25rem;
    align-items: center;
}
@media (min-width: 768px) {
    .nav-links { display: flex; }
}
.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.5rem 0.875rem;
    border-radius: 999px;
    transition: color 0.2s, background 0.2s;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
    color: var(--text);
    background: var(--surface);
}
.nav-cta {
    background: var(--accent) !important;
    color: var(--text) !important;
    padding: 0.5rem 1rem !important;
}
.nav-cta:hover {
    background: var(--accent-soft) !important;
}

/* ===== Hero ===== */
.hero {
    padding: 5rem 0 6rem;
    position: relative;
}
@media (min-width: 768px) {
    .hero { padding: 7rem 0 8rem; }
}

.hero-layout {
    display: grid;
    gap: 3rem;
    align-items: center;
}
@media (min-width: 900px) {
    .hero-layout {
        grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
        gap: 4rem;
    }
}

.hero-portrait {
    position: relative;
    justify-self: center;
    max-width: 460px;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--border-strong);
    box-shadow: var(--shadow-lg);
    order: 2;
}
.hero-portrait::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(180deg, transparent 55%, rgba(10, 8, 18, 0.45) 100%);
    pointer-events: none;
}
.hero-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    display: block;
}
@media (min-width: 900px) {
    .hero-portrait {
        order: 0;
        justify-self: end;
        max-width: 100%;
    }
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-soft);
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 0.4rem 0.875rem;
    border-radius: 999px;
    margin-bottom: 2rem;
}
.hero-eyebrow .dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-title {
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin: 0 0 1.75rem;
    max-width: 18ch;
}
.hero-title .grad {
    background: linear-gradient(135deg, #ffffff 0%, #a5b4fc 50%, #818cf8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-lede {
    font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
    color: var(--text-soft);
    line-height: 1.6;
    max-width: 52ch;
    margin: 0 0 2.5rem;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem 2.5rem;
    align-items: center;
    margin-bottom: 3rem;
}
.hero-meta-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.hero-meta-item .label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-faint);
    font-weight: 600;
}
.hero-meta-item .value {
    font-size: 0.9375rem;
    color: var(--text);
    font-weight: 500;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: transform 0.15s, background 0.2s, box-shadow 0.2s;
    border: 1px solid transparent;
    cursor: pointer;
}
.btn-primary {
    background: var(--accent);
    color: var(--text);
    box-shadow: 0 8px 24px var(--accent-glow);
}
.btn-primary:hover {
    background: var(--accent-soft);
    transform: translateY(-1px);
}
.btn-ghost {
    background: transparent;
    color: var(--text);
    border-color: var(--border-strong);
}
.btn-ghost:hover {
    background: var(--surface);
}
.btn svg { width: 16px; height: 16px; fill: currentColor; }

/* ===== Section scaffolding ===== */
.section {
    padding: 5rem 0;
    position: relative;
}
@media (min-width: 768px) {
    .section { padding: 7rem 0; }
}

.section-eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--accent-soft);
    margin: 0 0 1rem;
}
.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.01em;
    margin: 0 0 1rem;
    max-width: 24ch;
}
.section-lede {
    font-size: 1.0625rem;
    color: var(--text-soft);
    max-width: 60ch;
    margin: 0 0 3rem;
    line-height: 1.65;
}

/* ===== AI flagship ===== */
.flagship {
    position: relative;
    overflow: hidden;
}
.flagship-inner {
    background:
        radial-gradient(ellipse 600px 400px at 80% 20%, rgba(99, 102, 241, 0.18), transparent 70%),
        linear-gradient(180deg, rgba(99, 102, 241, 0.06), rgba(168, 85, 247, 0.04));
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 3rem 2rem;
    position: relative;
    overflow: hidden;
}
@media (min-width: 768px) {
    .flagship-inner { padding: 4rem 3rem; }
}
@media (min-width: 1024px) {
    .flagship-inner { padding: 5rem 4rem; }
}

/* animated thinking dots — visual cue for AI */
.flagship-orb {
    position: absolute;
    top: -120px; right: -120px;
    width: 320px; height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.5), transparent 60%);
    filter: blur(40px);
    animation: drift 18s ease-in-out infinite;
    pointer-events: none;
}
@keyframes drift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-40px, 30px) scale(1.1); }
}

.flagship-grid {
    display: grid;
    gap: 3rem;
    position: relative;
}
@media (min-width: 1024px) {
    .flagship-grid {
        grid-template-columns: 1.2fr 1fr;
        align-items: center;
    }
}

.flagship h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.1;
    margin: 0 0 1.25rem;
    letter-spacing: -0.01em;
}
.flagship p.lede {
    font-size: 1.125rem;
    color: var(--text-soft);
    line-height: 1.65;
    margin: 0 0 2rem;
}
.flagship-body {
    color: var(--text-muted);
    font-size: 0.9375rem;
    line-height: 1.65;
    margin: 0 0 2rem;
}

.flagship-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}
.flagship-stat .num {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, #ffffff, #a5b4fc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.flagship-stat .lbl {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-top: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* mock chat visualization */
.flagship-mock {
    background: var(--bg-elevated);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    box-shadow: var(--shadow-lg);
}
.mock-note {
    margin: 0.875rem 0 0;
    font-size: 0.8125rem;
    color: var(--text-faint);
    text-align: center;
}
.flagship-mock-head {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-bottom: 0.875rem;
    border-bottom: 1px solid var(--border);
    margin-bottom: 1rem;
    font-size: 0.8125rem;
    color: var(--text-muted);
}
.flagship-mock-head::before {
    content: "";
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 8px var(--accent-glow);
}
/* ===== Wanna Parlay flagship: mirrored layout ===== */
@media (min-width: 1024px) {
    /* mock takes the wider column — four columns of odds need the room */
    .flagship-reverse .flagship-grid { grid-template-columns: 1.1fr 1fr; }
    .flagship-reverse .flagship-grid > *:last-child { order: -1; }
}
/* mirror the decorative glow so the reversal is felt, not just laid out */
.flagship-reverse .flagship-orb { right: auto; left: -120px; }
.flagship-reverse .flagship-inner {
    background:
        radial-gradient(ellipse 600px 400px at 20% 20%, rgba(99, 102, 241, 0.18), transparent 70%),
        linear-gradient(180deg, rgba(99, 102, 241, 0.06), rgba(168, 85, 247, 0.04));
}

/* ===== Wanna Parlay mock ===== */
.wp {
    padding: 1rem;
    font-size: 0.75rem;
    line-height: 1.3;
}
.wp-head {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border);
}
.wp-title { font-weight: 700; font-size: 0.9375rem; color: var(--text); }
.wp-sub { color: var(--text-muted); font-size: 0.6875rem; }

.wp-reqs-label {
    margin: 0.875rem 0 0.5rem;
    font-weight: 700;
    color: var(--text);
    font-size: 0.8125rem;
}
.wp-chips, .wp-sports {
    display: flex;
    gap: 0.375rem;
    overflow: hidden;
    margin-bottom: 0.875rem;
}
.wp-chip, .wp-sport {
    flex: none;
    padding: 0.3rem 0.625rem;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text-soft);
    white-space: nowrap;
    font-size: 0.6875rem;
}
.wp-sport.is-on {
    background: rgba(99, 102, 241, 0.14);
    border-color: rgba(99, 102, 241, 0.35);
    color: var(--accent-soft);
}

.wp-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 0.875rem;
    border-bottom: 1px solid var(--border);
}
.wp-tab {
    text-align: center;
    padding-bottom: 0.5rem;
    font-weight: 800;
    font-style: italic;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-faint);
    font-size: 0.75rem;
}
.wp-tab.is-on {
    color: var(--accent-soft);
    box-shadow: inset 0 -2px 0 var(--accent);
}

.wp-game {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.625rem;
    margin-bottom: 0.625rem;
}
.wp-cols, .wp-row {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) repeat(3, minmax(0, 1fr));
    gap: 0.3rem;
    align-items: center;
}
.wp-cols {
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-faint);
    margin-bottom: 0.4rem;
}
.wp-cols > span:not(.wp-league) { text-align: center; }
.wp-league { color: var(--text-muted); font-weight: 600; }

.wp-row { margin-bottom: 0.3rem; }
.wp-team {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    min-width: 0;
    color: var(--text);
    font-size: 0.6875rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.wp-badge {
    flex: none;
    width: 18px; height: 18px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-style: normal;
    font-weight: 700;
    font-size: 0.4375rem;
    color: #fff;
    letter-spacing: -0.02em;
}
.wp-badge--las { background: linear-gradient(135deg, #552583, #fdb927); }
.wp-badge--sea { background: linear-gradient(135deg, #2c5235, #9cc24d); }
.wp-badge--bc  { background: linear-gradient(135deg, #f15c22, #4b2e83); }
.wp-badge--ott { background: linear-gradient(135deg, #1a1a1a, #b3b3b3); }

.wp-odd {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.05rem;
    padding: 0.4rem 0.25rem;
    min-height: 40px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-elevated);
    overflow: hidden;
    transition: border-color 0.25s, background 0.25s;
}
.wp-odd b {
    font-weight: 700;
    color: var(--text);
    font-size: 0.6875rem;
    font-variant-numeric: tabular-nums;
}
.wp-odd em {
    font-style: normal;
    color: var(--accent-soft);
    font-size: 0.625rem;
    font-variant-numeric: tabular-nums;
    transition: color 0.2s;
}
.wp-odd em::before { content: "("; }
.wp-odd em::after  { content: ")"; }

.wp-odd.is-picked {
    border-color: var(--accent);
    background: rgba(99, 102, 241, 0.18);
    box-shadow: 0 0 12px var(--accent-glow);
}
.wp-odd.is-picked b { color: #fff; }

/* tap ripple */
.wp-odd.is-tapping::after {
    content: "";
    position: absolute;
    left: 50%; top: 50%;
    width: 8px; height: 8px;
    margin: -4px 0 0 -4px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.55);
    animation: wp-ripple 0.5s ease-out forwards;
    pointer-events: none;
}
@keyframes wp-ripple {
    from { transform: scale(1);  opacity: 0.7; }
    to   { transform: scale(14); opacity: 0; }
}

/* odds value change */
.wp-odd em.is-changing { animation: wp-flash 0.45s ease-out; }
@keyframes wp-flash {
    0%   { color: var(--accent-soft); transform: translateY(0); }
    35%  { color: #fff; transform: translateY(-2px); }
    100% { color: var(--accent-soft); transform: translateY(0); }
}

.wp-game-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-top: 0.5rem;
}
.wp-when { color: var(--text-faint); font-size: 0.625rem; }
.wp-players {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.35rem 0.625rem;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--accent), #7c3aed);
    color: #fff;
    font-weight: 800;
    font-style: italic;
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

.wp-tray {
    display: grid;
    grid-template-columns: auto auto;
    justify-content: space-between;
    gap: 0.5rem 1rem;
    margin-top: 0.875rem;
    padding-top: 0.875rem;
    border-top: 1px solid var(--border);
}
.wp-meter-lbl {
    display: block;
    font-size: 0.5625rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-faint);
    margin-bottom: 0.2rem;
}
.wp-meter:last-of-type { text-align: right; }
.wp-meter-val {
    display: block;
    font-size: 1rem;
    font-weight: 800;
    color: var(--text);
    font-variant-numeric: tabular-nums;
}
.wp-cta {
    grid-column: 1 / -1;
    text-align: center;
    padding: 0.7rem;
    border-radius: 999px;
    background: var(--surface-2);
    color: var(--text-faint);
    font-weight: 700;
    font-size: 0.75rem;
    transition: background 0.35s, color 0.35s, box-shadow 0.35s;
}
.wp-cta.is-ready {
    background: linear-gradient(135deg, var(--accent), #7c3aed);
    color: #fff;
    box-shadow: 0 0 18px var(--accent-glow);
}

.bubble {
    padding: 0.875rem 1rem;
    border-radius: var(--radius);
    font-size: 0.9375rem;
    line-height: 1.5;
    margin-bottom: 0.75rem;
    max-width: 90%;
}
.bubble.user {
    background: var(--surface-2);
    color: var(--text);
    margin-left: auto;
    border-bottom-right-radius: 4px;
}
.bubble.ai {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(168, 85, 247, 0.12));
    border: 1px solid rgba(99, 102, 241, 0.25);
    color: var(--text-soft);
    border-bottom-left-radius: 4px;
}
.bubble.ai .typing {
    display: inline-flex;
    gap: 4px;
    margin-left: 4px;
    vertical-align: middle;
}
.bubble.ai .typing span {
    width: 5px; height: 5px;
    background: var(--accent-soft);
    border-radius: 50%;
    animation: typing 1.4s infinite ease-in-out;
}
.bubble.ai .typing span:nth-child(2) { animation-delay: 0.2s; }
.bubble.ai .typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing {
    0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
    30% { opacity: 1; transform: translateY(-3px); }
}

/* ===== Capabilities (what I do) ===== */
.cap-grid {
    display: grid;
    gap: 1rem;
}
@media (min-width: 768px) {
    .cap-grid { grid-template-columns: repeat(2, 1fr); }
}
.cap {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem 1.75rem;
    position: relative;
    transition: transform 0.25s, border-color 0.25s, background 0.25s;
    overflow: hidden;
}
.cap::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    padding: 1px;
    background: linear-gradient(135deg, var(--accent), transparent 40%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}
.cap:hover {
    transform: translateY(-2px);
    background: var(--surface-2);
}
.cap:hover::before { opacity: 1; }

.cap-icon {
    width: 44px; height: 44px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.25), rgba(99, 102, 241, 0.08));
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}
.cap-icon svg { width: 22px; height: 22px; fill: var(--accent-soft); }

.cap h3 {
    font-size: 1.1875rem;
    font-weight: 600;
    margin: 0 0 0.5rem;
    letter-spacing: -0.005em;
}
.cap p {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* ===== Career timeline ===== */
.career-grid {
    display: grid;
    gap: 2.5rem;
}
@media (min-width: 1024px) {
    .career-grid {
        grid-template-columns: 280px 1fr;
        gap: 4rem;
    }
}
.career-aside {
    align-self: start;
}
@media (min-width: 1024px) {
    .career-aside {
        position: sticky;
        top: 6rem;
    }
}
.career-aside .section-eyebrow { margin-bottom: 0.75rem; }
.career-aside h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    margin: 0 0 1rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}
.career-aside p {
    color: var(--text-muted);
    font-size: 0.9375rem;
    margin: 0 0 1.5rem;
    line-height: 1.6;
}
.career-aside .btn { font-size: 0.875rem; padding: 0.6rem 1.1rem; }

.timeline {
    position: relative;
    padding-left: 2.25rem;
}
.timeline::before {
    content: "";
    position: absolute;
    left: 7px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: linear-gradient(180deg, var(--accent) 0%, var(--accent) 80%, transparent 100%);
    opacity: 0.6;
}
.t-item {
    position: relative;
    padding-bottom: 2.5rem;
}
.t-item:last-child { padding-bottom: 0; }
.t-item::before {
    content: "";
    position: absolute;
    left: -2.25rem;
    top: 6px;
    width: 16px; height: 16px;
    border-radius: 50%;
    background: var(--bg);
    border: 2px solid var(--accent);
    box-shadow: 0 0 0 4px var(--bg), 0 0 16px var(--accent-glow);
}
.t-item.current::before {
    background: var(--accent);
    box-shadow: 0 0 0 4px var(--bg), 0 0 20px var(--accent);
}
.t-item .t-period {
    font-size: 0.75rem;
    color: var(--text-faint);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.t-item h3 {
    font-size: 1.1875rem;
    margin: 0 0 0.25rem;
    font-weight: 600;
}
.t-item .t-co {
    font-size: 0.9375rem;
    color: var(--accent-soft);
    font-weight: 500;
    margin: 0 0 0.875rem;
}
.t-item p {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0;
}

/* ===== Projects ===== */
.proj-grid {
    display: grid;
    gap: 1.5rem;
}
@media (min-width: 768px) {
    .proj-grid { grid-template-columns: repeat(2, 1fr); }
}
.proj {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s, border-color 0.25s;
}
.proj:hover {
    transform: translateY(-3px);
    border-color: var(--border-strong);
}
.proj-img {
    aspect-ratio: 16/9;
    background: var(--bg-elevated);
    overflow: hidden;
}
.proj-img img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.5s;
}
.proj:hover .proj-img img {
    transform: scale(1.04);
}
.proj-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.proj-tag {
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent-soft);
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.proj h3 {
    font-size: 1.25rem;
    margin: 0 0 0.5rem;
    font-weight: 600;
    letter-spacing: -0.005em;
}
.proj p {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0 0 1.25rem;
    flex: 1;
}
.proj-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent-soft);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

/* ===== Conversations ===== */
.conv-feature {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 2.5rem 2rem;
    display: grid;
    gap: 2.5rem;
}
@media (min-width: 768px) {
    .conv-feature { padding: 3rem; }
}
@media (min-width: 1024px) {
    .conv-feature {
        grid-template-columns: 1fr 1.2fr;
        align-items: center;
        gap: 3.5rem;
    }
}
.conv-meta .badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent-soft);
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.25);
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    margin-bottom: 1.25rem;
}
.conv-meta h3 {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    margin: 0 0 1rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
}
.conv-meta .host {
    font-size: 0.9375rem;
    color: var(--text-soft);
    margin: 0 0 0.5rem;
    font-weight: 500;
}
.conv-meta p {
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0 0 1.5rem;
    font-size: 0.9375rem;
}
.conv-feature + .conv-feature { margin-top: 1.5rem; }

/* citation card — stands in for the embed on entries with no player */
.conv-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    padding: 1.75rem;
    box-shadow: var(--shadow);
}
.conv-card-src {
    margin: 0 0 1.25rem;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--accent-soft);
}
.conv-facts { margin: 0; display: grid; gap: 0.875rem; }
.conv-facts > div {
    display: grid;
    grid-template-columns: 6.5rem 1fr;
    gap: 0.75rem;
    align-items: baseline;
}
.conv-facts dt {
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-faint);
}
.conv-facts dd {
    margin: 0;
    color: var(--text);
    font-size: 0.875rem;
    font-weight: 500;
}

.conv-iframe {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.conv-iframe iframe { display: block; }

.conv-more {
    margin-top: 2rem;
    text-align: center;
    color: var(--text-faint);
    font-size: 0.875rem;
}

/* ===== Beyond the code ===== */
.beyond-grid {
    display: grid;
    gap: 2.5rem;
    align-items: center;
}
@media (min-width: 1024px) {
    .beyond-grid {
        grid-template-columns: 1fr 1.2fr;
        gap: 3.5rem;
    }
}
.beyond-text {
    font-size: 1.0625rem;
    color: var(--text-soft);
    line-height: 1.65;
    margin: 0;
    max-width: 52ch;
}
.beyond-grid .travel-quote {
    margin: 0;
    max-width: 52ch;
}

.beyond-photos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    text-decoration: none;
}
.beyond-photos img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: var(--radius);
    transition: transform 0.25s;
}
.beyond-photos:hover img {
    transform: translateY(-3px);
}
.beyond-cta {
    grid-column: 1 / -1;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent-soft);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

/* ===== Footer ===== */
.foot {
    border-top: 1px solid var(--border);
    padding: 4rem 0 3rem;
    margin-top: 4rem;
}
.foot-grid {
    display: grid;
    gap: 2.5rem;
}
@media (min-width: 768px) {
    .foot-grid {
        grid-template-columns: 1.4fr 1fr 1fr;
        gap: 3rem;
    }
}
.foot h3 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--text-faint);
    margin: 0 0 1.25rem;
    font-weight: 700;
}
.foot p {
    color: var(--text-muted);
    font-size: 0.9375rem;
    margin: 0 0 1.25rem;
    line-height: 1.65;
}
.foot-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.4rem;
}
.foot-social {
    display: flex;
    gap: 0.5rem;
}
.foot-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px; height: 38px;
    border-radius: 50%;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s, border-color 0.2s;
}
.foot-social a:hover {
    color: var(--accent-soft);
    border-color: var(--accent);
}
.foot-social svg { width: 16px; height: 16px; fill: currentColor; }

.foot-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}
.foot-stack span {
    font-size: 0.8125rem;
    color: var(--text-muted);
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
}

.foot-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.foot-links li { margin-bottom: 0.5rem; }
.foot-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9375rem;
}
.foot-links a:hover { color: var(--text); }

.foot-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    color: var(--text-faint);
    font-size: 0.8125rem;
}

/* ===== Scroll reveal ===== */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.reveal.in {
    opacity: 1;
    transform: none;
}
.reveal-stagger > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.reveal-stagger.in > *:nth-child(1) { transition-delay: 0s; opacity: 1; transform: none; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: 0.08s; opacity: 1; transform: none; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 0.16s; opacity: 1; transform: none; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 0.24s; opacity: 1; transform: none; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: 0.32s; opacity: 1; transform: none; }
.reveal-stagger.in > *:nth-child(n+6) { transition-delay: 0.4s; opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    .reveal, .reveal-stagger > * { opacity: 1; transform: none; transition: none; }
    .flagship-orb, .hero-eyebrow .dot, .bubble.ai .typing span { animation: none; }
    .wp-odd.is-tapping::after, .wp-odd em.is-changing { animation: none; }
    .wp-odd, .wp-odd em, .wp-cta { transition: none; }
}

/* ===== Photo wall page ===== */
.hero-compact { padding: 4rem 0 2rem; }
@media (min-width: 768px) { .hero-compact { padding: 6rem 0 3rem; } }

.section-tight { padding: 2rem 0 5rem; }
@media (min-width: 768px) { .section-tight { padding: 3rem 0 7rem; } }

.travel-quote {
    border-left: 2px solid var(--accent);
    padding: 0.5rem 0 0.5rem 1.5rem;
    margin: 1.5rem 0 0;
    max-width: 62ch;
    color: var(--text-soft);
    font-size: 1.0625rem;
    line-height: 1.7;
    font-style: italic;
}
.travel-quote p { margin: 0 0 0.75rem; }
.travel-quote cite {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-style: normal;
    display: block;
    margin-top: 0.5rem;
}

.gallery {
    column-count: 1;
    column-gap: 1rem;
}
@media (min-width: 600px)  { .gallery { column-count: 2; column-gap: 1rem; } }
@media (min-width: 900px)  { .gallery { column-count: 3; column-gap: 1.25rem; } }
@media (min-width: 1200px) { .gallery { column-count: 4; column-gap: 1.25rem; } }

.gallery img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 0 1rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--bg-elevated);
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
@media (min-width: 900px) {
    .gallery img { margin-bottom: 1.25rem; }
}
.gallery img:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    border-color: var(--border-strong);
}
@media (prefers-reduced-motion: reduce) {
    .gallery img { transition: none; }
    .gallery img:hover { transform: none; }
}
