:root {
    --bg: #07080c;
    --bg-elev: #0e1016;
    --bg-elev-2: #151821;
    --surface-glass: rgba(14, 16, 22, 0.72);
    --text: #e9eaee;
    --text-2: #9a9cab;
    --text-3: #5f6273;
    --line: rgba(255, 255, 255, 0.08);
    --line-strong: rgba(255, 255, 255, 0.16);
    --accent: #00ff9f;
    --accent-2: #00d4ff;
    --accent-3: #ffb800;
    --accent-soft: rgba(0, 255, 159, 0.12);
    --accent-glow: 0 0 24px rgba(0, 255, 159, 0.35);
    --grad: linear-gradient(100deg, #00ff9f 0%, #00d4ff 55%, #a78bfa 100%);
    --grad-matrix: linear-gradient(100deg, #00ff9f 0%, #00c46e 40%, #9dffcf 70%, #00ff9f 100%);
    --nav-bg: rgba(7, 8, 12, 0.7);
    --lightbox-bg: rgba(4, 5, 8, 0.92);
    --noise-opacity: 0.035;
    --radius: 14px;
    --radius-sm: 8px;
    --mono: 'JetBrains Mono', ui-monospace, monospace;
    --sans: 'Space Grotesk', system-ui, sans-serif;
    --serif: 'Instrument Serif', Georgia, serif;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    color-scheme: dark;
}

@media (prefers-color-scheme: light) {
    :root {
        --bg: #f6f6f3;
        --bg-elev: #ffffff;
        --bg-elev-2: #efefeb;
        --surface-glass: rgba(255, 255, 255, 0.78);
        --text: #14151b;
        --text-2: #4b4d5c;
        --text-3: #8a8c99;
        --line: rgba(0, 0, 0, 0.08);
        --line-strong: rgba(0, 0, 0, 0.16);
        --accent: #00875a;
        --accent-2: #0077a8;
        --accent-3: #b86e00;
        --accent-soft: rgba(0, 135, 90, 0.1);
        --accent-glow: 0 0 20px rgba(0, 135, 90, 0.18);
        --grad: linear-gradient(100deg, #00875a 0%, #0077a8 55%, #6d4fd8 100%);
        --grad-matrix: linear-gradient(100deg, #00875a 0%, #005c3d 40%, #00a86b 70%, #00875a 100%);
        --nav-bg: rgba(246, 246, 243, 0.75);
        --lightbox-bg: rgba(20, 20, 24, 0.85);
        --noise-opacity: 0.025;
        color-scheme: light;
    }
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--sans);
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    opacity: var(--noise-opacity);
    z-index: 9998;
}

::selection {
    background: var(--accent);
    color: var(--bg);
}

a {
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
}

svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    flex-shrink: 0;
}

em {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 400;
    letter-spacing: 0;
}

.container {
    width: min(1180px, 100% - 48px);
    margin-inline: auto;
}

.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;
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 4px;
}

/* ---------- Scroll progress ---------- */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    width: 100%;
    background: var(--grad);
    transform-origin: 0 50%;
    transform: scaleX(0);
    z-index: 1100;
}

/* ---------- Navigation ---------- */
.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 18px 0;
    transition: background 0.3s, padding 0.3s, border-color 0.3s;
    border-bottom: 1px solid transparent;
}

.site-nav.scrolled {
    background: var(--nav-bg);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    border-color: var(--line);
    padding: 12px 0;
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-family: var(--mono);
    font-size: 14px;
    color: var(--text);
}

.logo-mark {
    display: block;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    transition: box-shadow 0.3s;
}

.logo-mark svg {
    width: 100%;
    height: 100%;
    fill: none;
    overflow: visible;
}

.lm-frame {
    fill: var(--accent-soft);
    stroke: var(--line-strong);
    transition: stroke 0.3s;
}

.lm-edge {
    stroke: var(--accent);
    stroke-width: 1.4;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 1;
    stroke-dashoffset: 0;
    opacity: 0.75;
}

.lm-node {
    fill: var(--bg);
    stroke: var(--accent);
    stroke-width: 1.4;
    transform-box: fill-box;
    transform-origin: center;
    transition: fill 0.3s var(--d, 0ms), transform 0.4s var(--ease-out) var(--d, 0ms);
}

.lm-hub {
    fill: var(--accent);
}

@keyframes lm-draw {
    from { stroke-dashoffset: 1; }
}

.logo:hover .logo-mark {
    box-shadow: var(--accent-glow);
}

.logo:hover .lm-frame {
    stroke: var(--accent);
}

.logo:hover .lm-edge {
    animation: lm-draw 0.7s var(--ease-out);
}

.logo:hover .lm-edge-b {
    animation: lm-draw 0.8s var(--ease-out) 0.2s backwards;
}

.logo:hover .lm-node {
    fill: var(--accent);
    transform: scale(1.15);
}

.logo-dim {
    color: var(--text-3);
}

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

.nav-links a {
    font-family: var(--mono);
    font-size: 13px;
    color: var(--text-2);
    text-decoration: none;
    position: relative;
    transition: color 0.2s;
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -4px;
    height: 1px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.35s var(--ease-out);
}

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

.nav-links a:hover::after,
.nav-links a.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-links .nav-cta {
    padding: 7px 14px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    color: var(--text);
    transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.nav-links .nav-cta::after {
    display: none;
}

.nav-links .nav-cta:hover {
    border-color: var(--accent);
    background: var(--accent-soft);
    color: var(--accent);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: 0;
    padding: 10px 6px;
    cursor: pointer;
}

.mobile-toggle span {
    width: 22px;
    height: 1.5px;
    background: var(--text);
    transition: transform 0.3s var(--ease-out);
}

.mobile-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(3.75px) rotate(45deg);
}

.mobile-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-3.75px) rotate(-45deg);
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 999px;
    font-family: var(--mono);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid transparent;
    transition: transform 0.25s var(--ease-out), box-shadow 0.25s, border-color 0.2s, background 0.2s, color 0.2s;
    cursor: pointer;
}

.btn svg {
    width: 16px;
    height: 16px;
}

.btn-primary {
    background: var(--accent);
    color: var(--bg);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--accent-glow);
}

.btn-ghost {
    border-color: var(--line-strong);
    color: var(--text);
    background: transparent;
}

.btn-ghost:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

.icon-arrow {
    width: 14px;
    height: 14px;
    transition: transform 0.3s var(--ease-out);
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
    isolation: isolate;
}

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

.hero-glow {
    position: absolute;
    width: 70vmax;
    height: 70vmax;
    right: -25vmax;
    top: -25vmax;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.12), transparent 60%);
    filter: blur(20px);
    z-index: -2;
    animation: float 18s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    inset: auto 0 0 0;
    height: 160px;
    background: linear-gradient(to bottom, transparent, var(--bg));
    z-index: -1;
    pointer-events: none;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-6vmax, 4vmax); }
}

.hero-inner {
    position: relative;
}

.pulse-dot {
    position: relative;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
}

.pulse-dot::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--accent);
    animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {
    75%, 100% { transform: scale(2.6); opacity: 0; }
}

.hero-name {
    font-size: clamp(3rem, 9vw, 7.2rem);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -0.04em;
    margin-bottom: 28px;
}

.hero-line {
    display: block;
    overflow: hidden;
    padding-bottom: 0.06em;
}

.split .char {
    display: inline-block;
    transform: translateY(110%);
    animation: char-in 1s var(--ease-out) forwards;
    animation-delay: calc(0.25s + var(--i) * 0.035s);
}

.split .char.space {
    width: 0.28em;
}

@keyframes char-in {
    to { transform: translateY(0); }
}

.hero-name .accent {
    display: inline-block;
    background: var(--grad-matrix);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    transform: translateY(110%);
    animation:
        char-in 1.1s var(--ease-out) 0.55s forwards,
        grad-shift 8s ease-in-out infinite;
}

@keyframes grad-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-tagline {
    font-size: clamp(1.4rem, 3vw, 2.1rem);
    font-weight: 400;
    color: var(--text-2);
    margin-bottom: 20px;
    opacity: 0;
    animation: rise 0.9s var(--ease-out) 0.7s forwards;
}

.typed-wrap {
    color: var(--text);
    font-family: var(--serif);
    font-style: italic;
    white-space: nowrap;
}

.caret {
    display: inline-block;
    width: 2px;
    height: 0.95em;
    margin-left: 3px;
    background: var(--accent);
    vertical-align: -0.1em;
    animation: blink 1s steps(1) infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}

.hero-lede {
    max-width: 620px;
    font-size: 17px;
    color: var(--text-2);
    margin-bottom: 36px;
    opacity: 0;
    animation: rise 0.9s var(--ease-out) 0.85s forwards;
}

.hero-lede a {
    color: var(--text);
    text-decoration-color: var(--accent);
    text-underline-offset: 3px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-bottom: 64px;
    opacity: 0;
    animation: rise 0.9s var(--ease-out) 1s forwards;
}

.hero-socials {
    display: flex;
    gap: 6px;
    margin-left: 8px;
}

.hero-socials a {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--text-2);
    transition: color 0.2s, background 0.2s, transform 0.25s var(--ease-out);
}

.hero-socials a:hover {
    color: var(--accent);
    background: var(--accent-soft);
    transform: translateY(-2px);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-width: 860px;
    border-top: 1px solid var(--line);
    opacity: 0;
    animation: rise 0.9s var(--ease-out) 1.15s forwards;
}

.stat {
    padding: 20px 20px 0 0;
    display: flex;
    flex-direction: column-reverse;
    gap: 2px;
}

.stat + .stat {
    padding-left: 20px;
    border-left: 1px solid var(--line);
}

.stat dd {
    font-family: var(--mono);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 600;
    color: var(--text);
    letter-spacing: -0.02em;
}

.stat dt {
    font-size: 12px;
    font-family: var(--mono);
    color: var(--text-3);
}

.scroll-hint {
    position: absolute;
    left: 50%;
    bottom: 28px;
    width: 22px;
    height: 36px;
    border: 1.5px solid var(--line-strong);
    border-radius: 12px;
    transform: translateX(-50%);
    opacity: 0;
    animation: rise 0.9s var(--ease-out) 1.6s forwards;
}

.scroll-hint span {
    position: absolute;
    left: 50%;
    top: 7px;
    width: 3px;
    height: 7px;
    margin-left: -1.5px;
    border-radius: 2px;
    background: var(--accent);
    animation: scroll-dot 1.8s ease-in-out infinite;
}

@keyframes scroll-dot {
    0% { transform: translateY(0); opacity: 1; }
    70% { transform: translateY(12px); opacity: 0; }
    100% { transform: translateY(0); opacity: 0; }
}

@keyframes rise {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ---------- Sections ---------- */
.section {
    padding: 130px 0;
    position: relative;
}

.section-header {
    margin-bottom: 56px;
}

.section-kicker {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--accent);
    letter-spacing: 0.04em;
    margin-bottom: 14px;
}

.section-title {
    font-size: clamp(2.1rem, 5vw, 3.6rem);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.section-title em {
    color: var(--accent);
    font-size: 1.08em;
}

.section-sub {
    margin-top: 18px;
    font-size: 17px;
    color: var(--text-2);
    max-width: 620px;
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
    transition-delay: var(--d, 0s);
}

.reveal.visible {
    opacity: 1;
    transform: none;
}

/* ---------- Journey ---------- */
.scr-word {
    display: inline-block;
    white-space: nowrap;
}

.journey {
    --progress: 0;
    position: relative;
    list-style: none;
}

.journey-year {
    font-family: var(--mono);
    font-size: 15px;
    font-weight: 500;
    color: var(--text-3);
    transition: color 0.4s;
}

.journey-item.lit .journey-year {
    color: var(--text);
}

.journey-item::before {
    content: '';
    position: absolute;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--bg);
    border: 2px solid var(--text-3);
    z-index: 1;
    transition: border-color 0.4s, box-shadow 0.4s, background 0.4s;
}

.journey-item.lit::before {
    border-color: var(--accent);
    background: var(--accent);
    box-shadow: var(--accent-glow);
}

.journey-item.is-next::before {
    border-style: dashed;
    background: var(--bg);
}

.journey-body h3 {
    font-size: 21px;
    font-weight: 600;
    margin-bottom: 6px;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 12px;
}

.journey-org {
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 400;
    color: var(--accent-2);
}

.journey-body p {
    color: var(--text-2);
    font-size: 15.5px;
}

.journey-item.is-current .journey-body h3::after {
    content: 'now';
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 500;
    color: var(--bg);
    background: var(--accent);
    padding: 1px 8px;
    border-radius: 999px;
}

.journey-item.is-next .journey-body {
    opacity: 0.75;
}

/* Fallback (no JS / reduced motion): vertical timeline */
.journey-road:not(.is-3d) .journey {
    width: min(1180px, 100% - 48px);
    margin-inline: auto;
}

.journey-road:not(.is-3d) .journey::before {
    content: '';
    position: absolute;
    left: 4.5px;
    top: 10px;
    bottom: 10px;
    width: 2px;
    background: var(--grad);
}

.journey-road:not(.is-3d) .journey-item {
    position: relative;
    padding: 0 0 40px 32px;
}

.journey-road:not(.is-3d) .journey-item:last-child {
    padding-bottom: 0;
}

.journey-road:not(.is-3d) .journey-item::before {
    left: 0;
    top: 9px;
    border-color: var(--accent);
    background: var(--accent);
}

.journey-road:not(.is-3d) .journey-item.is-next::before {
    background: var(--bg);
}

.journey-road:not(.is-3d) .journey-year {
    color: var(--text);
}

.journey-card {
    display: grid;
    gap: 4px;
}

.road-canvas,
.road-hud,
.road-hint {
    display: none;
}

.skip-link {
    position: absolute;
    left: 24px;
    z-index: 5;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--accent);
    color: var(--bg);
    font-family: var(--mono);
    font-size: 12px;
    text-decoration: none;
    opacity: 0;
    pointer-events: none;
}

.skip-link:focus-visible {
    opacity: 1;
    pointer-events: auto;
}

/* 3D drive: a scroll track with a pinned full-bleed stage; journey-road.js draws the whole road and places the cards */
.journey-road.is-3d {
    --card-w: min(320px, 100vw - 24px);
    position: relative;
    height: calc(var(--legs, 7) * 36vh + 100vh);
    height: calc(var(--legs, 7) * 36svh + 100svh);
}

.is-3d .journey-stage {
    position: sticky;
    top: 0;
    height: 100vh;
    height: 100svh;
    overflow: hidden;
    contain: layout paint;
}

.is-3d .journey-stage::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(var(--bg), transparent 9%, transparent 88%, var(--bg)),
        radial-gradient(ellipse 120% 90% at 50% 45%, transparent 60%, color-mix(in srgb, var(--bg) 70%, transparent));
}

.is-3d .road-canvas {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.is-3d .journey {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.is-3d .journey-item,
.is-3d .journey-item.reveal {
    position: absolute;
    left: 0;
    top: 0;
    width: var(--card-w);
    opacity: 0;
    visibility: hidden;
    transform: none;
    scale: 0.94;
    transform-origin: 50% 100%;
    transition: opacity 0.45s var(--ease-out), scale 0.45s var(--ease-out), translate 0.3s var(--ease-out), visibility 0.45s;
}

.is-3d .journey-item.is-active {
    z-index: 2;
    opacity: 1;
    visibility: visible;
    scale: 1;
}

/* passed stops stay on the map as compact labels */
.is-3d .journey-item.is-past {
    width: max-content;
    max-width: 200px;
    opacity: 0.85;
    visibility: visible;
    scale: 1;
}

.is-3d .journey-item.is-past .journey-card {
    gap: 2px;
    padding: 7px 11px 8px;
    border-radius: var(--radius-sm);
    box-shadow: none;
}

.is-3d .journey-item.is-past .journey-year {
    font-size: 10px;
}

.is-3d .journey-item.is-past .journey-body h3 {
    font-size: 12.5px;
    margin: 0;
}

.is-3d .journey-item.is-past .journey-body p,
.is-3d .journey-item.is-past .journey-org,
.is-3d .journey-item.is-past .journey-body h3::after {
    display: none;
}

@media (max-width: 699px) {
    .is-3d .journey-item.is-past {
        opacity: 0;
        visibility: hidden;
    }
}

.is-3d .journey-item::before {
    display: none;
}

.is-3d .journey-card {
    gap: 6px;
    padding: 18px 20px 20px;
    border-radius: var(--radius);
    background: var(--surface-glass);
    border: 1px solid var(--line-strong);
    -webkit-backdrop-filter: blur(12px) saturate(1.3);
    backdrop-filter: blur(12px) saturate(1.3);
    box-shadow: 0 24px 60px -28px rgba(0, 0, 0, 0.7);
    transition: border-color 0.4s, box-shadow 0.4s;
}

.is-3d .journey-item.lit .journey-card {
    border-color: color-mix(in srgb, var(--accent) 45%, transparent);
    box-shadow: 0 24px 60px -28px rgba(0, 0, 0, 0.7), 0 0 0 1px color-mix(in srgb, var(--accent) 12%, transparent), 0 0 40px -12px color-mix(in srgb, var(--accent) 40%, transparent);
}

.is-3d .journey-year {
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.is-3d .journey-item.lit .journey-year {
    color: var(--accent);
}

.is-3d .journey-body h3 {
    font-size: 20px;
    line-height: 1.25;
}

.is-3d .journey-body p {
    font-size: 15px;
    line-height: 1.5;
}

.is-3d .journey-item.is-next .journey-card {
    border-style: dashed;
}

.is-3d .road-hud {
    display: grid;
    gap: 2px;
    position: absolute;
    right: clamp(16px, 4vw, 48px);
    bottom: clamp(24px, 6vh, 56px);
    z-index: 3;
    font-family: var(--mono);
    text-align: right;
    pointer-events: none;
}

.hud-label {
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-3);
}

.hud-year {
    font-size: clamp(30px, 4.4vw, 52px);
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--text);
    font-variant-numeric: tabular-nums;
}

.road-hud.done .hud-year {
    color: var(--accent);
}

.hud-bar {
    display: block;
    width: clamp(110px, 14vw, 180px);
    height: 2px;
    margin-top: 10px;
    margin-left: auto;
    background: var(--line-strong);
    overflow: hidden;
}

.hud-fill {
    display: block;
    height: 100%;
    background: var(--grad);
    transform-origin: left;
    transform: scaleX(0);
}

.is-3d .road-hint {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    position: absolute;
    left: 50%;
    bottom: clamp(24px, 6vh, 56px);
    z-index: 3;
    translate: -50% 0;
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-2);
    pointer-events: none;
    transition: opacity 0.5s;
}

.road-hint::after {
    content: '';
    width: 1px;
    height: 28px;
    background: linear-gradient(var(--accent), transparent);
    animation: hint-drop 1.6s var(--ease-out) infinite;
    transform-origin: top;
}

.road-hint.hidden {
    opacity: 0;
}

@keyframes hint-drop {
    0% { transform: scaleY(0); opacity: 1; }
    70% { transform: scaleY(1); opacity: 1; }
    100% { transform: scaleY(1); opacity: 0; }
}

@media (max-width: 640px) {
    .is-3d .journey-card {
        padding: 14px 16px 16px;
    }

    .is-3d .journey-body h3 {
        font-size: 17px;
    }

    .is-3d .journey-body p {
        font-size: 14px;
    }

    .is-3d .road-hint {
        left: auto;
        right: 16px;
        bottom: calc(clamp(24px, 6vh, 56px) + 96px);
        translate: none;
        align-items: flex-end;
    }
}

/* ---------- Skill graph ---------- */
.graph-shell {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    border-block: 1px solid var(--line);
    background:
        radial-gradient(ellipse at 50% 45%, var(--accent-soft), transparent 60%),
        var(--bg-elev);
    overflow: hidden;
    position: relative;
}

.graph-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    padding: 16px 24px;
    border-bottom: 1px solid var(--line);
}

.chip {
    --c: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid var(--line-strong);
    background: transparent;
    color: var(--text-2);
    font-family: var(--mono);
    font-size: 12px;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.chip::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--c);
}

.chip:hover {
    color: var(--text);
    border-color: var(--c);
}

.chip[aria-pressed="true"] {
    color: var(--text);
    border-color: var(--c);
    background: color-mix(in srgb, var(--c) 14%, transparent);
}

.chip.chip-all::before {
    background: var(--grad);
}

.graph-stage {
    position: relative;
    height: min(960px, 92vh);
    min-height: 620px;
}

#skillGraph {
    width: 100%;
    height: 100%;
    display: block;
    cursor: grab;
    touch-action: pan-y;
}

#skillGraph.dragging {
    cursor: grabbing;
}

#skillGraph.hovering {
    cursor: pointer;
}

.graph-legend {
    position: absolute;
    left: 24px;
    bottom: 18px;
    display: flex;
    gap: 16px;
    font-family: var(--mono);
    font-size: 11px;
    color: var(--text-3);
    pointer-events: none;
}

.graph-legend span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.graph-legend i {
    display: inline-block;
    border-radius: 50%;
}

.lg-domain {
    width: 12px;
    height: 12px;
    background: var(--accent);
}

.lg-skill {
    width: 7px;
    height: 7px;
    background: var(--text-2);
}
/* ---------- Projects ---------- */
.spotlight {
    --mx: 50%;
    --my: 50%;
    position: relative;
}

.spotlight::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: radial-gradient(420px circle at var(--mx) var(--my), rgba(0, 255, 159, 0.09), transparent 45%);
    opacity: 0;
    transition: opacity 0.3s;
}

.spotlight:hover::after {
    opacity: 1;
}

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

.project-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg-elev);
    overflow: hidden;
    transform-style: preserve-3d;
    transition: border-color 0.3s, transform 0.5s var(--ease-out), opacity 0.9s var(--ease-out);
    will-change: transform;
}

.project-card:hover {
    border-color: var(--line-strong);
}

.project-media {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border: 0;
    border-bottom: 1px solid var(--line);
    background: var(--bg-elev-2);
    padding: 0;
    cursor: zoom-in;
    position: relative;
}

.project-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.8s var(--ease-out), filter 0.4s;
    filter: saturate(0.85);
}

.project-card:hover .project-media img {
    transform: scale(1.05);
    filter: saturate(1);
}

.project-art {
    cursor: default;
    background:
        radial-gradient(circle at 30% 40%, rgba(167, 139, 250, 0.18), transparent 55%),
        radial-gradient(circle at 75% 70%, rgba(0, 212, 255, 0.14), transparent 55%),
        var(--bg-elev-2);
}

.mini-graph {
    width: 100%;
    height: 100%;
    display: block;
}

.award {
    position: absolute;
    left: 14px;
    bottom: 14px;
    font-family: var(--mono);
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--accent-3);
    color: #111;
    font-weight: 600;
}

.project-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 24px;
}

.project-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    font-family: var(--mono);
    font-size: 11.5px;
    color: var(--text-3);
    margin-bottom: 10px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 11px;
}

.badge-live {
    color: var(--accent);
    background: var(--accent-soft);
}

.badge-live .pulse-dot {
    width: 6px;
    height: 6px;
}

.project-name {
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.project-desc {
    font-size: 14.5px;
    color: var(--text-2);
    margin-bottom: 18px;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    list-style: none;
    margin-bottom: 20px;
}

.tags li {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--text-2);
    padding: 3px 9px;
    border: 1px solid var(--line);
    border-radius: 6px;
}

.project-links {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
}

.icon-link {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid var(--line);
    color: var(--text-2);
    transition: color 0.2s, border-color 0.2s, transform 0.25s var(--ease-out);
}

.icon-link svg {
    width: 16px;
    height: 16px;
}

.icon-link:hover {
    color: var(--accent);
    border-color: var(--accent);
    transform: translateY(-2px);
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--mono);
    font-size: 13px;
    color: var(--text);
    text-decoration: none;
    padding: 8px 14px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    transition: border-color 0.2s, color 0.2s;
}

.link-arrow svg {
    width: 14px;
    height: 14px;
    transition: transform 0.3s var(--ease-out);
}

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

.link-arrow:hover svg {
    transform: translate(2px, -2px);
}

/* ---------- Project carousel (3D coverflow; without JS the stage stays a plain grid) ---------- */
.project-carousel:not(.is-ready) .carousel-hud,
.project-carousel:not(.is-ready) .carousel-controls {
    display: none;
}

.carousel-hud {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    font-family: var(--mono);
    font-size: 13px;
    color: var(--text-3);
}

.carousel-path {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.carousel-prompt {
    color: var(--accent);
}

.carousel-slug {
    color: var(--text);
}

.carousel-hud .caret {
    height: 1.05em;
    vertical-align: -0.18em;
}

.carousel-count {
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.08em;
}

.carousel-index {
    color: var(--text);
}

.project-carousel.is-ready .carousel-stage {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 0;
    margin-inline: calc(50% - 50vw);
    padding-block: 32px 64px;
    margin-bottom: -20px;
    perspective: 1600px;
    touch-action: pan-y;
    overflow-x: clip;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.is-ready .carousel-stage > .project-card {
    --o: 0;
    --a: 0;
    --step: 74%;
    grid-area: 1 / 1;
    width: min(540px, 80vw);
    z-index: calc(3 - var(--a));
    opacity: clamp(0, calc(1 - var(--a) * 0.45 - max(0, var(--a) - 1) * 0.55), 1);
    transform:
        translateX(calc(var(--o) * var(--step)))
        translateZ(calc(var(--a) * -200px))
        rotateY(calc(var(--o) * 34deg))
        scale(calc(1 - var(--a) * 0.08));
    transition:
        transform 0.9s var(--ease-out),
        translate 0.5s var(--ease-out),
        opacity 0.6s var(--ease-out),
        filter 0.6s var(--ease-out),
        border-color 0.4s,
        box-shadow 0.5s,
        visibility 0.6s;
    will-change: transform, opacity;
}

.is-spinning .carousel-stage > .project-card {
    transition-property: filter, border-color, box-shadow;
}

.is-ready .carousel-stage > .project-card.is-active {
    border-color: color-mix(in srgb, var(--accent) 38%, transparent);
    box-shadow:
        0 40px 90px -40px rgba(0, 0, 0, 0.75),
        0 0 0 1px color-mix(in srgb, var(--accent) 10%, transparent),
        0 0 60px -20px color-mix(in srgb, var(--accent) 35%, transparent);
}

.is-ready .carousel-stage > .project-card:not(.is-active) {
    cursor: pointer;
    filter: saturate(0.4);
}

.is-ready .carousel-stage > .project-card:not(.is-active) * {
    pointer-events: none;
}

.is-ready .carousel-stage > .project-card.is-side:hover {
    opacity: 0.85;
    filter: none;
    translate: calc(var(--o) * -14px) 0;
}

.is-ready .carousel-stage > .project-card.is-far {
    opacity: 0;
    visibility: hidden;
}

.carousel-controls {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
}

.carousel-hint {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--mono);
    font-size: 11.5px;
    color: var(--text-3);
}

kbd {
    display: inline-grid;
    place-items: center;
    min-width: 22px;
    height: 22px;
    padding: 0 5px;
    border: 1px solid var(--line-strong);
    border-bottom-width: 2px;
    border-radius: 5px;
    font-family: var(--mono);
    font-size: 11px;
    color: var(--text-2);
}

.carousel-nav {
    display: flex;
    align-items: center;
    gap: 14px;
}

.carousel-btn {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--line-strong);
    background: var(--bg-elev);
    color: var(--text-2);
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s, box-shadow 0.3s;
}

.carousel-btn svg {
    transition: transform 0.3s var(--ease-out);
}

.carousel-prev svg {
    rotate: 180deg;
}

.carousel-btn:hover {
    color: var(--accent);
    border-color: var(--accent);
    box-shadow: var(--accent-glow);
}

.carousel-next:hover svg {
    transform: translateX(2px);
}

.carousel-prev:hover svg {
    transform: translateX(-2px);
}

.carousel-dots {
    display: flex;
    align-items: center;
}

.carousel-dot {
    --p: 0;
    position: relative;
    width: 18px;
    height: 28px;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
    transition: width 0.5s var(--ease-out);
}

.carousel-dot::before,
.carousel-dot::after {
    content: '';
    position: absolute;
    left: 5px;
    right: 5px;
    top: 50%;
    height: 4px;
    margin-top: -2px;
    border-radius: 999px;
}

.carousel-dot::before {
    background: var(--line-strong);
    transition: background 0.2s;
}

.carousel-dot:hover::before {
    background: var(--text-3);
}

.carousel-dot::after {
    background: var(--grad);
    transform-origin: left;
    transform: scaleX(0);
}

.carousel-dot[aria-current] {
    width: 46px;
}

.carousel-dot[aria-current]::after {
    transform: scaleX(var(--p));
}

.is-paused .carousel-dot[aria-current]::after {
    transform: scaleX(1);
    background: var(--accent);
}

.carousel-toggle {
    justify-self: end;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 13px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: transparent;
    color: var(--text-2);
    font-family: var(--mono);
    font-size: 12px;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s;
}

.carousel-toggle svg {
    width: 12px;
    height: 12px;
}

.carousel-toggle:hover {
    color: var(--accent);
    border-color: var(--accent);
}

.carousel-toggle .ic-play,
.is-paused .carousel-toggle .ic-pause {
    display: none;
}

.is-paused .carousel-toggle .ic-play {
    display: block;
}

@media (max-width: 640px) {
    .project-carousel.is-ready .carousel-stage {
        -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
        mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
    }

    .is-ready .carousel-stage > .project-card {
        --step: 66%;
        width: 80vw;
    }

    .carousel-controls {
        grid-template-columns: 1fr auto;
    }

    .carousel-hint {
        display: none;
    }

    .carousel-nav {
        gap: 6px;
    }

    .carousel-dot {
        width: 14px;
    }

    .carousel-dot[aria-current] {
        width: 34px;
    }
}

/* ---------- Writing ---------- */
.blog-articles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 64px;
}

.blog-loading,
.blog-error {
    grid-column: 1 / -1;
    padding: 48px 20px;
    text-align: center;
    font-family: var(--mono);
    font-size: 13px;
    color: var(--text-3);
    border: 1px dashed var(--line);
    border-radius: var(--radius);
}

.loading-text::after {
    content: '';
    animation: dots 1.5s infinite;
}

@keyframes dots {
    0%, 20% { content: ''; }
    40% { content: '.'; }
    60% { content: '..'; }
    80%, 100% { content: '...'; }
}

.article-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg-elev);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.3s, transform 0.4s var(--ease-out);
}

.article-card:hover {
    border-color: var(--line-strong);
    transform: translateY(-4px);
}

.article-thumb {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--bg-elev-2);
}

.article-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out);
}

.article-card:hover .article-thumb img {
    transform: scale(1.05);
}

.article-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.article-date {
    font-family: var(--mono);
    font-size: 11.5px;
    color: var(--text-3);
    margin-bottom: 8px;
}

.article-title {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-excerpt {
    font-size: 14px;
    color: var(--text-2);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 16px;
}

.article-more {
    margin-top: auto;
    font-family: var(--mono);
    font-size: 12px;
    color: var(--accent);
}

.talks-title {
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 500;
    color: var(--text-3);
    margin-bottom: 8px;
}

.talk-row {
    display: grid;
    grid-template-columns: 110px 1fr auto 20px;
    align-items: center;
    gap: 24px;
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
    text-decoration: none;
    color: inherit;
    transition: padding 0.4s var(--ease-out), color 0.2s;
}

.talk-row:first-of-type {
    border-top: 1px solid var(--line);
}

a.talk-row:hover {
    padding-left: 12px;
}

a.talk-row:hover .talk-title {
    color: var(--accent);
}

a.talk-row:hover .icon-arrow {
    transform: translate(3px, -3px);
    color: var(--accent);
}

.talk-date {
    font-family: var(--mono);
    font-size: 13px;
    color: var(--text-3);
}

.talk-title {
    font-size: 19px;
    font-weight: 500;
    transition: color 0.2s;
}

.talk-venue {
    font-size: 14px;
    color: var(--text-2);
    text-align: right;
}

.writing-cta {
    margin-top: 40px;
}

/* ---------- Contact / terminal ---------- */
.section-contact {
    padding-bottom: 100px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 56px;
    align-items: center;
}

.contact-grid .section-header {
    margin-bottom: 0;
}

.contact-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.terminal {
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    background: #0b0d12;
    color: #d6d8e0;
    font-family: var(--mono);
    font-size: 13px;
    overflow: hidden;
    box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.6);
}

.terminal-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

.dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
}

.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.terminal-title {
    margin-left: auto;
    margin-right: auto;
    font-size: 11.5px;
    color: #6b6e7d;
    transform: translateX(-24px);
}

.terminal-body {
    height: 300px;
    overflow-y: auto;
    padding: 16px 18px 4px;
    line-height: 1.7;
    scrollbar-width: thin;
}

.terminal-body .ln {
    white-space: pre-wrap;
    word-break: break-word;
}

.terminal-body .p { color: #00ff9f; }
.terminal-body .c { color: #00d4ff; }
.terminal-body .m { color: #6b6e7d; }
.terminal-body .e { color: #ff5f56; }
.terminal-body .a { color: #ffb800; }
.terminal-body a { color: #ffb800; text-decoration: none; }
.terminal-body a:hover { text-decoration: underline; }

.terminal-input {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 6px 18px 16px;
}

.terminal-input .prompt {
    color: #00ff9f;
    white-space: nowrap;
}

.terminal-input input {
    flex: 1;
    min-width: 0;
    background: transparent;
    border: 0;
    outline: none;
    color: #00d4ff;
    font: inherit;
    caret-color: #00ff9f;
}

.terminal-input input::placeholder {
    color: #45485a;
}

/* ---------- Lightbox ---------- */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: var(--lightbox-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px;
    cursor: zoom-out;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
    transform: scale(0.96);
    transition: transform 0.4s var(--ease-out);
    cursor: default;
}

.lightbox.active img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(20, 22, 30, 0.8);
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
}

.lightbox-close:hover {
    border-color: #00ff9f;
    color: #00ff9f;
}

.lightbox-caption {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--mono);
    font-size: 12px;
    color: #d6d8e0;
    background: rgba(20, 22, 30, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 6px 14px;
    border-radius: 999px;
}

/* ---------- Footer ---------- */
.site-footer {
    border-top: 1px solid var(--line);
    padding: 28px 0;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-family: var(--mono);
    font-size: 12px;
    color: var(--text-2);
}

.footer-dim {
    color: var(--text-3);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .projects-grid,
    .blog-articles {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 860px) {
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat:nth-child(3) {
        padding-left: 0;
        border-left: 0;
    }

    .graph-stage {
        height: min(760px, 88vh);
        min-height: 0;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
        padding: 24px;
        background: var(--bg-elev);
        border-bottom: 1px solid var(--line);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: opacity 0.25s, transform 0.3s var(--ease-out), visibility 0.25s;
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .site-nav:has(.nav-links.active) {
        background: var(--bg-elev);
    }

    .mobile-toggle {
        display: flex;
    }

    .section {
        padding: 96px 0;
    }

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

    .talk-row {
        grid-template-columns: 1fr 20px;
        gap: 4px 16px;
    }

    .talk-date { grid-column: 1; grid-row: 1; }
    .talk-title { grid-column: 1; grid-row: 2; }
    .talk-venue { grid-column: 1; grid-row: 3; text-align: left; }
    .talk-row > :last-child { grid-column: 2; grid-row: 1 / 4; }

    .hero-socials {
        margin-left: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }

    .split .char,
    .hero-name .accent {
        transform: none;
    }
}
