@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("assets/fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "DM Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/dm-mono-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Smiley Sans";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("assets/fonts/smiley-sans-oblique.woff2?v=20260901-05") format("woff2");
}

@font-face {
  font-family: "Noto Sans SC Career";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/fonts/noto-sans-sc-career.woff2") format("woff2");
}

@font-face {
  font-family: "DM Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/dm-mono-500-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #172a3a;
  --ink-soft: #294052;
  --muted: #73736f;
  --paper: #f5f1e9;
  --paper-2: #e9e2d8;
  --night: #172a3a;
  --night-soft: #263b4b;
  --line: rgba(23, 42, 58, 0.16);
  --line-light: rgba(255, 255, 255, 0.2);
  --accent: #bb6b45;
  --accent-ink: #8f453c;
  --wine: #783c42;
  --amber: #c47b35;
  --hero-paper: #eee8de;
  --text-soft: #60645e;
  --text-subtle: #858a81;
  --text-faint: #92968e;
  --label: #8a8e86;
  --label-faint: #969990;
  --intro: rgba(23, 42, 58, .52);
  --control: rgba(23, 42, 58, .25);
  --control-hover: rgba(23, 42, 58, .55);
  --control-active: rgba(23, 42, 58, .78);
  --tag-border: rgba(23, 42, 58, .09);
  --tag-text: rgba(23, 42, 58, .58);
  --tag-bg: rgba(23, 42, 58, .035);
  --tag-highlight: rgba(255, 255, 255, .48);
  --header-surface: rgba(245, 241, 233, .94);
  --menu-surface: rgba(250, 247, 241, .98);
  --menu-shadow: 0 18px 50px rgba(23, 42, 58, .14);
  --portrait-border: rgba(23, 42, 58, .13);
  --portrait-surface: #d8cfc3;
  --portrait-shadow: 0 28px 68px rgba(23, 42, 58, .16);
  --river-base: #aaa69f;
  --outline: #9ca19a;
  --serif: "Songti SC", "STSong", "Noto Serif CJK SC", "Source Han Serif SC", "SimSun", serif;
  --title: "Smiley Sans", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --sans: "Manrope", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", "Helvetica Neue", sans-serif;
  --mono: "DM Mono", "SFMono-Regular", "Cascadia Mono", "Roboto Mono", "Microsoft YaHei", monospace;
}

html[data-theme="dark"] {
  --ink: #eef0ec;
  --ink-soft: #d3dadb;
  --muted: #a6aaa6;
  --paper: #111820;
  --paper-2: #1a242c;
  --night: #eef0ec;
  --night-soft: #c9d2d4;
  --line: rgba(238, 240, 236, .15);
  --line-light: rgba(238, 240, 236, .22);
  --accent: #d78058;
  --accent-ink: #df9572;
  --wine: #a85f67;
  --amber: #d49350;
  --hero-paper: #17212a;
  --text-soft: #bdc1bc;
  --text-subtle: #a9ada8;
  --text-faint: #929a97;
  --label: #9da39f;
  --label-faint: #858e8d;
  --intro: rgba(238, 240, 236, .62);
  --control: rgba(238, 240, 236, .32);
  --control-hover: rgba(238, 240, 236, .65);
  --control-active: rgba(238, 240, 236, .9);
  --tag-border: rgba(238, 240, 236, .13);
  --tag-text: rgba(238, 240, 236, .68);
  --tag-bg: rgba(238, 240, 236, .055);
  --tag-highlight: rgba(255, 255, 255, .08);
  --header-surface: rgba(17, 24, 32, .93);
  --menu-surface: rgba(24, 34, 43, .98);
  --menu-shadow: 0 20px 60px rgba(0, 0, 0, .42);
  --portrait-border: rgba(238, 240, 236, .14);
  --portrait-surface: #29343d;
  --portrait-shadow: 0 30px 75px rgba(0, 0, 0, .38);
  --river-base: #667078;
  --outline: #697471;
}

html[data-theme="dark"] #hero-flow-blue stop { stop-color: #a9bbc5; }
html[data-theme="dark"] .portrait-frame img { filter: contrast(1.02) brightness(.86); }
html[data-theme="dark"] .page-loader-portrait img { filter: blur(var(--loader-portrait-blur)) contrast(1.02) brightness(.86); }
html[data-theme="dark"] .page-loader.is-portrait-expanded .page-loader-portrait img { filter: contrast(1.02) brightness(.86); }
html[data-theme="dark"] .project-media { filter: brightness(.88) saturate(.9); }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5, h6 { font-family: var(--title); }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.shell { width: min(1200px, calc(100% - 96px)); margin: 0 auto; }
.section-dark { color: var(--paper); background: transparent; }
.section-light { color: var(--ink); background: var(--paper); }
body, .section-light, .journey, .notes, .hero { transition: color .3s ease, background-color .3s ease; }
.site-header { position: fixed; z-index: 10; top: 0; left: 0; width: 100%; height: 58px; display: flex; align-items: center; justify-content: center; padding: 0 48px; color: var(--ink); }
.brand { display: flex; gap: 12px; align-items: center; font-size: 10px; line-height: 1.25; letter-spacing: .06em; text-transform: uppercase; }
.brand-mark { display: grid; width: 27px; height: 27px; place-items: center; border: 1px solid currentColor; border-radius: 50%; font-weight: 700; font-size: 12px; }
.brand-copy em { font-family: var(--mono); font-size: 9px; font-style: normal; opacity: .66; }
.main-nav { display: flex; gap: 34px; margin-left: 0; font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.main-nav a { opacity: .7; transition: opacity .25s ease; }
.main-nav a:hover { opacity: 1; }
.theme-switcher { position: absolute; top: 12px; right: 48px; z-index: 2; font-family: var(--mono); font-size: 9px; letter-spacing: .06em; }
.theme-switcher-trigger { display: flex; height: 34px; align-items: center; gap: 7px; border: 0; border-radius: 8px; padding: 0 8px; color: var(--ink); background: transparent; cursor: pointer; transition: color .25s ease, background .25s ease; }
.theme-switcher-trigger:hover, .theme-switcher-trigger[aria-expanded="true"] { background: color-mix(in srgb, var(--ink) 3%, transparent); }
.theme-switcher-trigger:focus-visible { outline: 0; background: color-mix(in srgb, var(--accent) 4%, transparent); }
.theme-switcher-icon { display: grid; width: 19px; height: 19px; flex: 0 0 auto; place-items: center; opacity: .72; }
.theme-switcher-icon svg { grid-area: 1 / 1; width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transform: scale(.72); transition: opacity .2s ease, transform .22s ease; }
.theme-switcher-icon .theme-icon-fill { fill: currentColor; stroke: none; opacity: .72; }
html[data-theme-preference="auto"] .theme-switcher-icon-auto,
html[data-theme-preference="light"] .theme-switcher-icon-light,
html[data-theme-preference="dark"] .theme-switcher-icon-dark { opacity: 1; transform: scale(1); }
.theme-switcher-arrow { width: 10px; height: 7px; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; opacity: .55; transition: transform .22s ease; }
.theme-switcher-trigger[aria-expanded="true"] .theme-switcher-arrow { transform: rotate(180deg); }
.theme-menu { position: absolute; top: calc(100% + 8px); right: 0; display: grid; width: 52px; grid-template-columns: 1fr; gap: 3px; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; padding: 5px; color: var(--ink); background: var(--menu-surface); box-shadow: var(--menu-shadow); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.theme-menu[hidden] { display: none; }
.theme-menu button { position: relative; display: grid; width: 100%; height: 36px; place-items: center; border: 0; border-radius: 8px; padding: 0; color: var(--muted); background: transparent; cursor: pointer; }
.theme-menu button:hover, .theme-menu button:focus-visible { outline: 0; background: color-mix(in srgb, var(--ink) 3%, transparent); }
.theme-menu button[aria-checked="true"] { color: var(--accent); background: color-mix(in srgb, var(--accent) 11%, transparent); }
.theme-menu button svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; }
.theme-menu button .theme-icon-fill { fill: currentColor; stroke: none; opacity: .72; }
.header-cta { display: flex; align-items: center; gap: 9px; font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.arrow { display: inline-grid; place-items: center; width: 25px; height: 25px; border: 1px solid currentColor; border-radius: 50%; font-size: 14px; line-height: 1; transition: background .25s ease, color .25s ease, transform .25s ease; }
.header-cta:hover .arrow, .text-link:hover span { transform: translate(2px, -2px); }
.menu-toggle { display: none; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 8px; color: inherit; background: transparent; cursor: pointer; transition: background .25s ease; }
.menu-toggle span { display: block; width: 15px; height: 1.25px; margin: 3px 0; border-radius: 999px; background: currentColor; transition: opacity .22s ease, transform .22s ease; }
.menu-toggle:hover, .menu-toggle:focus-visible { outline: 0; background: color-mix(in srgb, var(--ink) 7%, transparent); }
.site-header.nav-open .menu-toggle span:first-child { transform: translateY(4.25px) rotate(45deg); }
.site-header.nav-open .menu-toggle span:nth-child(2) { opacity: 0; }
.site-header.nav-open .menu-toggle span:last-child { transform: translateY(-4.25px) rotate(-45deg); }
.viewport-focus-blur { position: fixed; z-index: 8; top: 0; right: 0; left: 0; height: 58px; opacity: 0; pointer-events: none; background: var(--header-surface); -webkit-backdrop-filter: blur(22px) saturate(.82); backdrop-filter: blur(22px) saturate(.82); -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 70%, rgba(0,0,0,.92) 78%, rgba(0,0,0,.22) 91%, transparent 100%); mask-image: linear-gradient(180deg, #000 0%, #000 70%, rgba(0,0,0,.92) 78%, rgba(0,0,0,.22) 91%, transparent 100%); transition: opacity .18s ease, background .3s ease; }
body.is-scrolled .viewport-focus-blur { opacity: 1; }
.site-header { transition: opacity .62s ease, transform .75s cubic-bezier(.2,.65,.2,1); }
body > main { opacity: 1; transform: none; }
html.is-loading, html.is-loading body { height: 100%; overflow: hidden; }
html.is-loading body { cursor: progress; }
html.is-loading .site-header { opacity: 0; pointer-events: none; transform: translateY(-10px); }
html.is-loading.is-navigation-visible .site-header { opacity: 1; transform: translateY(0); }
html.is-loading body > main { pointer-events: none; user-select: none; }
.page-loader { --loader-portrait-progress: 0; --loader-portrait-scale: 1.08; --loader-portrait-blur: 6px; --opening-portrait-width: min(440px, 35vw); --opening-portrait-height: min(550px, 43.75vw); --opening-portrait-radius: 28px; position: fixed; z-index: 1000; inset: 0; min-height: 100svh; overflow: hidden; color: var(--ink); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .42s ease, visibility 0s linear .42s; }
html.is-loading .page-loader { opacity: 1; visibility: visible; pointer-events: auto; transition-delay: 0s; }
.page-loader.is-complete { opacity: 0; visibility: hidden; pointer-events: none; }
.page-loader-backdrop { position: absolute; z-index: 0; inset: 0; background: linear-gradient(180deg, var(--hero-paper) 0%, var(--paper) 100%); opacity: 1; transition: opacity .72s cubic-bezier(.4,0,.2,1); }
.page-loader-backdrop::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 0 48%, color-mix(in srgb, var(--accent) 5%, transparent) 48.1%, transparent 48.35% 100%); }
.page-loader-meta { position: absolute; z-index: 2; top: clamp(28px, 4vw, 54px); right: clamp(28px, 4vw, 54px); left: clamp(28px, 4vw, 54px); display: flex; justify-content: space-between; color: var(--muted); font-family: var(--mono); font-size: 9px; line-height: 1; letter-spacing: .1em; transition: opacity .42s ease, transform .55s cubic-bezier(.2,.65,.2,1); }
.page-loader-stage { position: absolute; z-index: 3; inset: 0; pointer-events: none; }
.page-loader-clock { position: fixed; top: 50%; left: 50%; width: clamp(184px, 16vw, 224px); height: clamp(184px, 16vw, 224px); overflow: visible; opacity: 1; transform: translate(-50%, -50%) scale(1); transition: opacity .48s ease, transform .72s cubic-bezier(.2,.65,.2,1); }
.page-loader-clock-tick { stroke: var(--outline); stroke-width: .72; stroke-linecap: round; opacity: .24; transition: stroke .16s ease, stroke-width .16s ease, opacity .16s ease; }
.page-loader-clock-tick.is-loaded { stroke: var(--accent); stroke-width: 1; opacity: .86; }
.page-loader-portrait { position: fixed; z-index: 4; top: 50%; left: 50%; width: clamp(112px, 10vw, 142px); height: clamp(112px, 10vw, 142px); margin: 0; overflow: hidden; border: 1px solid color-mix(in srgb, var(--portrait-border) 72%, transparent); border-radius: 50%; background: var(--portrait-surface); box-shadow: 0 12px 36px color-mix(in srgb, var(--ink) 10%, transparent); transform: translate(-50%, -50%); transition: top 1.95s cubic-bezier(.16,.76,.16,1), left 1.95s cubic-bezier(.16,.76,.16,1), width 1.38s cubic-bezier(.2,.72,.16,1), height 1.38s cubic-bezier(.2,.72,.16,1), border-radius 1.38s cubic-bezier(.2,.72,.16,1), box-shadow 1.38s ease, opacity .42s ease; will-change: top, left, width, height, border-radius; }
.page-loader-portrait::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,.06), transparent 55%, rgba(23,24,23,.16)); pointer-events: none; }
.page-loader-portrait img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: var(--loader-portrait-progress); filter: blur(var(--loader-portrait-blur)) contrast(1.05); transform: scale(var(--loader-portrait-scale)); transition: opacity .24s ease, filter .3s ease, transform .5s cubic-bezier(.2,.65,.2,1); }
.page-loader-caption { position: absolute; z-index: 2; bottom: clamp(28px, 4vw, 54px); left: 50%; display: flex; align-items: center; gap: 10px; margin: 0; color: var(--muted); font-family: var(--mono); font-size: 9px; line-height: 1; letter-spacing: .1em; transform: translateX(-50%); transition: opacity .42s ease, transform .55s cubic-bezier(.2,.65,.2,1); white-space: nowrap; }
.page-loader-caption-dot { width: 5px; height: 5px; flex: 0 0 auto; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 12%, transparent); animation: page-loader-pulse 1.35s ease-in-out infinite; }
.page-loader-retry { border: 0; border-bottom: 1px solid currentColor; padding: 0 0 2px; color: var(--accent-ink); background: transparent; font-family: inherit; font-size: inherit; letter-spacing: inherit; cursor: pointer; }
.page-loader-retry[hidden] { display: none; }
html.is-loader-error .page-loader-caption-dot { animation: none; opacity: 1; }
.page-loader.is-assets-ready .page-loader-clock { transform: translate(-50%, -50%) scale(1.035); }
.page-loader.is-background-revealed .page-loader-backdrop { opacity: 0; }
.page-loader.is-background-revealed .page-loader-meta { opacity: 0; transform: translateY(-8px); }
.page-loader.is-background-revealed .page-loader-caption { opacity: 0; transform: translate(-50%, 8px); }
.page-loader.is-portrait-expanded .page-loader-clock { opacity: 0; transform: translate(-50%, -50%) scale(1.18); }
.page-loader.is-portrait-expanded .page-loader-portrait { width: var(--opening-portrait-width); height: var(--opening-portrait-height); border-radius: var(--opening-portrait-radius); box-shadow: var(--portrait-shadow); }
.page-loader.is-portrait-expanded .page-loader-portrait img { opacity: 1; filter: contrast(1.05); transform: scale(1); }
.page-loader.is-portrait-moving .page-loader-portrait { top: var(--opening-portrait-y); left: var(--opening-portrait-x); }
.page-loader.is-portrait-landed .page-loader-portrait { opacity: 0; }
.hero, .journey, .notes { position: relative; isolation: isolate; }
.hero { min-height: 100svh; overflow: hidden; background: linear-gradient(180deg, var(--hero-paper) 0%, var(--paper) 100%); }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; min-height: calc(100svh - 76px); padding-top: 76px; }
.hero-copy { position: relative; z-index: 1; padding: 36px 0 70px; }
.hero-flow-lines { position: absolute; z-index: 0; top: 76px; bottom: 0; left: 50%; width: 100vw; height: calc(100% - 76px); overflow: visible; pointer-events: none; opacity: 0; clip-path: inset(0 100% 0 0); transform: translateX(-50%); transition: opacity .82s ease, clip-path 1.28s cubic-bezier(.18,.72,.18,1); }
.hero.is-flow-visible .hero-flow-lines, html.is-loaded .hero-flow-lines { opacity: 1; clip-path: inset(0 0 0 0); }
.hero-flow-lines path { fill: none; vector-effect: non-scaling-stroke; }
.hero-flow-base path { stroke: url(#hero-flow-copper); stroke-width: .9; }
.hero-flow-base .hero-flow-blue { stroke: url(#hero-flow-blue); stroke-width: .8; }
.hero-flow-motion { stroke: var(--accent); stroke-width: 1.35; stroke-linecap: round; stroke-dasharray: .13 .87; opacity: .36; animation: hero-line-travel 13s linear infinite; }
.hero-flow-motion-two { stroke: var(--wine); stroke-width: 1; opacity: .22; animation-duration: 17s; animation-delay: -7s; }
.eyebrow, .role-kicker, .media-label, .current-mark, .section-label, .timeline-year, .timeline-index, .timeline-duration, .media-note, .project-number, .contact-kicker { font-family: var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 38px; color: var(--muted); font-size: 10px; }
.eyebrow-dot, .live-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(187,107,69,.14); }
.hero h1 { --hero-title-shift: 0px; --hero-title-opacity: 1; max-width: 690px; margin: 0; opacity: 0; font-size: clamp(58px, 7.4vw, 116px); font-weight: 600; line-height: .96; letter-spacing: -.07em; transition: opacity .82s ease; }
.hero h1 .hero-line-primary, .hero h1 .hero-line-accent { display: inline-block; will-change: transform, opacity; transition: transform 1.12s cubic-bezier(.16,.74,.18,1); }
.hero h1 .hero-line-primary { --hero-title-entry: -110px; transform: translateX(calc((var(--hero-title-shift) * -1) + var(--hero-title-entry))); }
.hero h1 .hero-line-accent { --hero-title-entry: 110px; color: var(--accent); font-family: var(--title); font-weight: 500; letter-spacing: -.1em; transform: translateX(calc(.5em + var(--hero-title-shift) + var(--hero-title-entry))); }
.hero.is-title-visible h1, html.is-loaded .hero h1 { opacity: var(--hero-title-opacity); }
.hero.is-title-visible h1 .hero-line-primary, .hero.is-title-visible h1 .hero-line-accent, html.is-loaded .hero h1 .hero-line-primary, html.is-loaded .hero h1 .hero-line-accent { --hero-title-entry: 0px; }
.hero-intro { max-width: 660px; margin: 42px 0 0 8px; color: var(--intro); font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; font-size: 19px; font-style: italic; font-weight: 300; line-height: 1.65; white-space: nowrap; }
.hero-intro strong { color: var(--ink); font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; font-style: normal; font-weight: 700; }
.hero-intro .signature-name { font-family: "Baskerville", "Iowan Old Style", "Palatino Linotype", Georgia, serif; font-size: 1.12em; font-style: italic; font-weight: 400; letter-spacing: -.025em; }
.hero-intro-lead { display: block; opacity: 0; transform: translateY(12px); transition: opacity .68s ease, transform .86s cubic-bezier(.2,.65,.2,1); }
.hero-intro-carousel { display: grid; margin-top: 12px; padding-left: 3em; opacity: 0; transform: translateY(12px); transition: opacity .68s ease, transform .86s cubic-bezier(.2,.65,.2,1); }
.hero-intro-slide { position: relative; grid-area: 1 / 1; z-index: 0; opacity: 0; visibility: hidden; white-space: normal; }
.hero-intro-slide.is-active { z-index: 1; opacity: 1; visibility: visible; }
.hero-intro-slide.is-leaving { animation: hero-intro-fade-out .55s ease forwards; }
.hero-intro-ghost { display: block; visibility: hidden; }
.hero-intro-typewriter { position: absolute; inset: 0; display: block; }
.hero-intro-slide.is-typing .hero-intro-typewriter::after { content: ""; display: inline-block; width: 1px; height: .9em; margin-left: .12em; background: currentColor; vertical-align: -.05em; animation: hero-type-caret .72s steps(1, end) infinite; }
.hero-status { display: flex; align-items: center; gap: 16px; margin-top: 65px; color: var(--muted); font-family: var(--mono); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; opacity: 0; transform: translateY(10px); transition: opacity .62s ease, transform .78s cubic-bezier(.2,.65,.2,1); }
.hero-visual { position: relative; height: min(690px, 77vh); min-height: 500px; display: flex; align-items: center; justify-content: center; }
.portrait-frame { position: relative; z-index: 1; width: min(440px, 70%); aspect-ratio: 4 / 5; height: auto; min-height: 0; margin: 0; overflow: hidden; border: 1px solid var(--portrait-border); border-radius: 28px; background: var(--portrait-surface); box-shadow: var(--portrait-shadow); opacity: 0; transform: scale(.985); transition: opacity .3s ease, transform .48s cubic-bezier(.2,.65,.2,1); }
.portrait-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,.06), transparent 55%, rgba(23,24,23,.16)); pointer-events: none; }
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center; filter: contrast(1.05); transition: transform 1.2s cubic-bezier(.2,.65,.2,1); }
.portrait-frame img[src$="portrait-placeholder.svg"] { filter: contrast(1.05); }
.hero-visual:hover .portrait-frame img { transform: scale(1.035); }
.portrait-frame figcaption { position: absolute; z-index: 2; right: 17px; bottom: 15px; left: 17px; display: flex; justify-content: space-between; color: rgba(246,246,244,.78); font-family: var(--mono); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.hero-stamp { position: absolute; z-index: 2; top: 8%; right: 2%; color: var(--accent); font-size: 11px; font-weight: 700; line-height: .95; letter-spacing: .08em; opacity: 0; transform: translateY(8px); transition: opacity .48s ease .12s, transform .62s cubic-bezier(.2,.65,.2,1) .12s; }
.eyebrow { opacity: 0; transform: translateY(8px); transition: opacity .48s ease, transform .62s cubic-bezier(.2,.65,.2,1); }
.hero.is-portrait-landed .portrait-frame, html.is-loaded .hero .portrait-frame { opacity: 1; transform: scale(1); }
.hero.is-portrait-landed .hero-stamp, html.is-loaded .hero .hero-stamp { opacity: 1; transform: translateY(0); }
.hero.is-title-visible .eyebrow, html.is-loaded .hero .eyebrow { opacity: 1; transform: translateY(0); }
.hero.is-intro-lead-visible .hero-intro-lead, html.is-loaded .hero .hero-intro-lead { opacity: 1; transform: translateY(0); }
.hero.is-intro-carousel-visible .hero-intro-carousel, html.is-loaded .hero .hero-intro-carousel { opacity: 1; transform: translateY(0); }
.hero.is-status-visible .hero-status, html.is-loaded .hero .hero-status { opacity: 1; transform: translateY(0); }
.footer-line { width: 1px; height: 13px; background: var(--ink-soft); }
.hero-grain { display: none; }
.about { padding: 90px 0 95px; }
.about-grid, .notes-grid { display: grid; grid-template-columns: 190px 1fr; gap: 75px; }
.section-label { position: relative; display: flex; flex-direction: column; gap: 8px; padding-left: 16px; color: var(--label-faint); font-size: 10px; line-height: 1.2; }
.section-label::before { content: ""; position: absolute; top: 0; left: 0; width: 2px; height: 34px; background: var(--accent); }
.section-label span:first-child { color: var(--ink); font-size: 12px; }
.section-label-dark { color: var(--text-subtle); }
.section-label-dark span:first-child { color: var(--accent); }
.about-summary-heading { display: block; border-bottom: 1px solid var(--line); padding-bottom: 28px; }
.about-kicker, .proof-heading { color: var(--label); font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.about-kicker { margin: 0; white-space: nowrap; }
.about-summary-heading h2 { max-width: none; min-height: 1.23em; margin: 22px 0 0; overflow: hidden; font-family: var(--title); font-size: clamp(30px, 3.6vw, 52px); font-weight: 500; line-height: 1.23; letter-spacing: -.07em; }
.about-title-line { display: block; opacity: 1; transform: translateY(0); filter: blur(0); transition: opacity .45s ease, transform .65s cubic-bezier(.2,.65,.2,1), filter .45s ease; }
.about-title-line.is-leaving { opacity: 0; transform: translateY(-.32em); filter: blur(5px); }
.about-title-line.is-entering { animation: title-enter .7s cubic-bezier(.2,.65,.2,1) both; }
.resume-copy-carousel { display: grid; width: 100%; margin: 12px 0 0; }
.resume-copy { grid-area: 1 / 1; margin: 0; color: var(--text-soft); font-family: "PingFang SC", system-ui, sans-serif; font-size: 16px; line-height: 2.05; letter-spacing: .01em; opacity: 0; visibility: hidden; transform: translateY(0); filter: blur(0); transition: opacity .45s ease, transform .65s cubic-bezier(.2,.65,.2,1), filter .45s ease, color .3s ease; }
.resume-copy.is-active { opacity: 1; visibility: visible; }
.resume-copy.is-leaving { visibility: visible; opacity: 0; transform: translateY(-.32em); filter: blur(5px); }
.resume-copy.is-entering { animation: title-enter .7s cubic-bezier(.2,.65,.2,1) both; }

/* Reveal the opening profile when the section reaches halfway up the viewport. */
.about-summary.is-intro-pending .about-title,
.about-summary.is-intro-pending .resume-copy-carousel { overflow: hidden; }
.about-summary.is-intro-pending:not(.is-intro-visible) .about-title-line {
  opacity: 0;
  clip-path: inset(0 100% 0 0);
  transform: translateX(-28px);
}
.about-summary.is-intro-pending:not(.is-intro-visible) .resume-copy.is-active {
  opacity: 0;
  clip-path: inset(0 0 100% 0);
  transform: translateY(-18px);
}
.about-summary.is-intro-visible .about-title-line {
  animation: about-title-reveal-right .82s cubic-bezier(.22,.72,.18,1) both;
}
.about-summary.is-intro-visible .resume-copy.is-active {
  animation: about-copy-reveal-down .9s .18s cubic-bezier(.22,.72,.18,1) both;
}
.about-carousel-controls { display: flex; gap: 6px; margin-top: 28px; }
.about-carousel-control { display: grid; width: 34px; height: 34px; place-items: center; border: 0; padding: 0; color: var(--control); background: transparent; line-height: 1; cursor: pointer; transition: color .22s ease; }
.about-carousel-control svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; }
.about-carousel-control:hover { color: var(--control-hover); }
.about-carousel-control:active { color: var(--control-active); }
.about-carousel-control:focus-visible { outline: 0; color: var(--control-hover); }
.about-proof { margin-top: 50px; }
.proof-heading { display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); padding-bottom: 14px; }
.impact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.impact-card { display: flex; flex-direction: column; gap: 9px; min-height: 170px; border-right: 1px solid var(--line); padding: 23px 28px 0 0; }
.impact-card + .impact-card { padding-left: 28px; }
.impact-card:last-child { border-right: 0; }
.impact-card strong { font-size: clamp(42px, 4.4vw, 64px); font-weight: 500; letter-spacing: -.08em; line-height: 1; }
.impact-card strong span { color: var(--text-subtle); font-size: .58em; letter-spacing: -.03em; }
.impact-card > span { font-family: var(--mono); font-size: 10px; letter-spacing: .04em; }
.impact-card small { max-width: 190px; color: var(--text-faint); font-family: var(--serif); font-size: 12px; line-height: 1.6; }
.journey {
  --river-top-fade: 120px;
  --river-bottom-extension: 210px;
  color: var(--ink);
  background: var(--paper);
  padding: 82.5px 0 105px;
  overflow: hidden;
}
.journey-heading { display: grid; grid-template-columns: 190px 1fr; gap: 75px; padding-bottom: 78px; }
.journey .role-kicker, .journey .current-mark, .journey .section-label-dark span:first-child, .notes .notes-title em, .notes .section-label-dark span:first-child, .notes .note-arrow, .notes .outline-button span { color: var(--accent-ink); }
.timeline { position: relative; --river-progress: 0; }
.timeline-river { position: absolute; z-index: 2; top: 0; bottom: 0; left: 0; width: 100%; pointer-events: none; }
.timeline-river::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 18.8%;
  width: 1.5px;
  height: var(--river-bottom-extension);
  background: linear-gradient(to bottom, var(--river-base), transparent 100%);
  opacity: .62;
  pointer-events: none;
  transform: translateX(-50%);
}
.timeline-river svg { display: block; width: 100%; height: 100%; overflow: visible; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 var(--river-top-fade), #000 100%); mask-image: linear-gradient(to bottom, transparent 0, #000 var(--river-top-fade), #000 100%); }
.river-track { fill: none; vector-effect: non-scaling-stroke; }
.river-glow { stroke: var(--accent); stroke-width: 7; opacity: .1; filter: url(#river-blur); }
.river-base { stroke: var(--river-base); stroke-width: 1; opacity: .62; }
.river-flow { stroke: url(#river-line); stroke-linecap: round; }
.river-flow-fade { stroke-width: 1.1; stroke-dasharray: .058 .942; opacity: calc(.08 * var(--river-flow-strength, .75)); animation: river-drift-fade 13s linear infinite; }
.river-flow-edge { stroke-width: 1; stroke-dasharray: .05 .95; opacity: calc(.15 * var(--river-flow-strength, .75)); animation: river-drift-edge 13s linear infinite; }
.river-flow-body { stroke-width: .9; stroke-dasharray: .042 .958; opacity: calc(.24 * var(--river-flow-strength, .75)); animation: river-drift-body 13s linear infinite; }
.river-flow-core { stroke-width: .75; stroke-dasharray: .032 .968; opacity: calc(.36 * var(--river-flow-strength, .75)); animation: river-drift-core 13s linear infinite; }
.river-marker { position: absolute; display: block; border-radius: 50%; transform: translate(-50%, -50%); transform-origin: center; }
.river-marker-node { width: 22px; aspect-ratio: 1; border: 1px solid rgba(187,107,69,.34); animation: node-breathe 7s ease-in-out infinite; }
.river-marker-node::after { content: ""; position: absolute; top: 50%; left: 50%; width: 6px; aspect-ratio: 1; border-radius: 50%; background: var(--accent); box-shadow: 0 0 7px rgba(187,107,69,.58); transform: translate(-50%, -50%); }
.river-marker-node-one { top: 20.8%; left: 19.2%; }
.river-marker-node-two { top: 60.4%; left: 17.6%; width: 18px; animation-delay: -2.1s; }
.river-marker-node-two::after { width: 5px; }
.river-marker-spark { width: 4px; aspect-ratio: 1; background: #e8b998; box-shadow: 0 0 5px rgba(187,107,69,.62); animation: spark-flicker 6s ease-in-out infinite; }
.river-marker-spark-one { top: 40%; left: 21.1%; animation-delay: -1.3s; }
.river-marker-spark-two { top: 84%; left: 17.6%; animation-delay: -2.1s; }
.timeline-item { position: relative; z-index: 1; display: grid; grid-template-columns: 190px 1fr; gap: 75px; padding: 0 0 130px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-meta { position: relative; z-index: 1; display: grid; grid-template-columns: 31px minmax(0, 1fr); column-gap: 14px; align-content: start; align-items: start; padding-top: 3px; }
.timeline-index { grid-column: 1; grid-row: 1; display: grid; width: 31px; height: 31px; place-items: center; border: 1px solid var(--outline); border-radius: 50%; color: var(--muted); font-size: 9px; background: var(--paper); }
.timeline-item:first-child .timeline-index { border-color: var(--accent-ink); color: var(--accent-ink); }
.timeline-stage { grid-column: 2; grid-row: 1; align-self: center; color: var(--accent-ink); font-size: 9px; line-height: 1.45; text-align: left; }
.timeline-year { grid-column: 1 / -1; grid-row: 2; display: flex; flex-direction: column; margin-top: 35px; margin-left: 102px; color: var(--ink); font-family: "Bodoni 72", Didot, "Times New Roman", serif; font-size: clamp(50px, 4vw, 56px); font-style: italic; font-weight: 400; line-height: .73; letter-spacing: -.1em; text-transform: none; white-space: nowrap; }
.timeline-year > span { --year-color: var(--ink); position: relative; display: block; color: var(--year-color); }
.timeline-year > span.sand-ready { color: transparent; -webkit-text-fill-color: transparent; }
.sand-year-canvas { position: absolute; z-index: 0; top: -.2em; left: -.03em; display: block; max-width: none; overflow: visible; pointer-events: none; }
.timeline-year > .timeline-year-end { --year-color: var(--accent-ink); transform: translateX(.18em); }
.timeline-card { position: relative; min-height: 520px; padding: 4px 0 0 75px; }
.timeline-stage-loader { --timeline-loader-size: clamp(160px, 13vw, 190px); position: absolute; z-index: 3; top: -16px; left: 75px; display: grid; width: min(620px, calc(100% - 75px)); height: var(--timeline-loader-size); place-items: center; color: color-mix(in srgb, var(--accent-ink) 78%, transparent); opacity: 0; pointer-events: none; transform: scale(.96); transition: opacity .18s ease, transform .22s cubic-bezier(.2,.7,.2,1); }
.timeline-stage-loader.is-active { opacity: 1; transform: scale(1); }
.timeline-stage-loader.is-complete { opacity: 0; transform: translateY(-6px) scale(.92); }
.timeline-stage-loader svg, .timeline-stage-loader span { grid-area: 1 / 1; }
.timeline-stage-loader svg { display: block; width: var(--timeline-loader-size); height: var(--timeline-loader-size); overflow: visible; }
.timeline-stage-loader-tick { stroke: var(--outline); stroke-width: 1; stroke-linecap: round; opacity: .34; transition: stroke .12s ease, opacity .12s ease; }
.timeline-stage-loader-tick.is-loaded { stroke: var(--accent); opacity: .72; }
.timeline-stage-loader span { font-family: "Bodoni 72", Didot, "Times New Roman", serif; font-size: clamp(68px, 7vw, 86px); font-style: normal; font-weight: 400; font-variant-numeric: lining-nums tabular-nums; line-height: .73; letter-spacing: -.1em; transform: translateX(-.025em); transform-origin: center; }
.timeline-card-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; color: var(--muted); }
.role-kicker, .timeline-duration { font-size: 11px; }
.role-kicker { color: var(--accent-ink); }
.timeline-card h3 { margin: 28px 0 22px; font-family: var(--title); font-size: clamp(34px, 4.4vw, 62px); font-weight: 500; line-height: 1.13; letter-spacing: -.085em; }
.timeline-title-accent { color: var(--accent); }
.timeline-career { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--ink-soft); font-family: "PingFang SC", system-ui, sans-serif; font-size: 17px; font-weight: 600; line-height: 1.5; letter-spacing: .01em; }
.timeline-career-with-icon { position: relative; }
.timeline-career-icon { display: inline-flex; width: 1.35em; height: 1em; flex: 0 0 1.35em; align-items: center; justify-content: center; }
.timeline-career-with-icon .timeline-career-icon { position: absolute; top: .75em; right: calc(100% + 8px); transform: translateY(-50%); }
.timeline-career-icon img { display: block; width: 100%; height: 100%; object-fit: contain; }
.timeline-card p { max-width: 620px; margin: 0; color: var(--text-soft); font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif; font-size: 14px; font-weight: 300; line-height: 24px; letter-spacing: -.16px; }
.timeline-card p strong { color: var(--ink); font-weight: 500; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 31px; }
.tag-row span { display: inline-flex; min-height: 27px; align-items: center; border: 1px solid var(--tag-border); border-radius: 999px; padding: 6px 11px 5px; color: var(--tag-text); background: var(--tag-bg); box-shadow: inset 0 1px var(--tag-highlight); font-family: var(--mono); font-size: 9px; line-height: 1; letter-spacing: .055em; }
.timeline-image { position: relative; width: min(620px, 100%); height: 180px; margin-top: 43px; overflow: hidden; }
.timeline-image::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(13,15,13,.66), rgba(13,15,13,.06)); }
.timeline-image span { position: absolute; bottom: 14px; left: 16px; color: rgba(255,255,255,.7); font-family: var(--mono); font-size: 9px; letter-spacing: .1em; }
.image-a { background: linear-gradient(115deg, #172a3a, #9d765d 53%, #783c42); }
.image-b { background: linear-gradient(115deg, #c47b35, #783c42 52%, #263b4b); }
.image-c { background: linear-gradient(115deg, #294052, #a46c54 43%, #172a3a); }
.timeline-card-current { min-height: 350px; }
.timeline-card-current::before { background: var(--accent-ink); }
.current-mark { display: flex; align-items: center; gap: 10px; margin-top: 50px; color: var(--accent-ink); font-size: 9px; }
.work { padding: 87.5px 0 100px; }
.work-heading { display: grid; grid-template-columns: 190px 1fr; gap: 75px; margin-bottom: 95px; }
.work-title { display: flex; justify-content: space-between; gap: 30px; align-items: end; }
.work-title h2 { margin: 0; font-family: var(--title); font-size: clamp(48px, 6vw, 86px); font-weight: 500; line-height: 1.05; letter-spacing: -.1em; }
.work-title h2 em { color: var(--text-faint); font-style: normal; }
.work-title p { margin: 0 0 7px; color: var(--text-subtle); font-family: var(--serif); font-size: 14px; line-height: 1.8; }
.project-list { display: flex; flex-direction: column; gap: 100px; margin-left: 265px; }
.project-card { border-top: 1px solid var(--line); padding-top: 17px; }
.project-media { position: relative; width: 100%; height: clamp(170px, 22vw, 260px); margin-top: 28px; overflow: hidden; color: #fff; }
.project-media-placeholder::before { content: "项目封面占位 · 替换为项目截图"; position: absolute; z-index: 1; top: 50%; left: 50%; color: rgba(255,255,255,.56); font-family: var(--mono); font-size: 10px; letter-spacing: .12em; transform: translate(-50%, -50%); white-space: nowrap; }
.project-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.35)); }
.project-media-1 { background: radial-gradient(circle at 72% 28%, #d89455 0 8%, transparent 25%), linear-gradient(125deg, #172a3a, #aa8065 62%, #783c42); }
.project-media-2 { background: radial-gradient(circle at 30% 62%, #e3c397 0 7%, transparent 23%), linear-gradient(125deg, #783c42, #a85345 45%, #c47b35); }
.project-media-3 { background: radial-gradient(circle at 78% 32%, #d8c6ae 0 8%, transparent 23%), linear-gradient(125deg, #172a3a, #36566b 50%, #9d765d); }
.media-label, .media-note { position: absolute; z-index: 1; top: 18px; font-size: 9px; }
.media-label { left: 19px; }
.media-note { right: 19px; opacity: .8; }
.project-info { position: relative; padding: 24px 0 0; }
.project-number { position: absolute; top: 30px; left: -44px; color: var(--label-faint); font-size: 10px; }
.project-heading { display: grid; grid-template-columns: minmax(0, 1fr) 180px; gap: 30px; align-items: start; }
.project-info h3 { margin: 0; font-family: var(--title); font-size: clamp(28px, 3.2vw, 46px); font-weight: 500; line-height: 1.2; letter-spacing: -.07em; }
.project-info p { max-width: 470px; margin: 20px 0 0; color: var(--text-soft); font-family: var(--serif); font-size: 13px; line-height: 1.8; }
.text-link { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); font-family: var(--mono); font-size: 10px; letter-spacing: .05em; }
.text-link span { display: inline-block; transition: transform .25s ease; }
.project-result { display: flex; flex-direction: column; align-items: flex-end; gap: 7px; }
.project-result strong { font-size: 37px; font-weight: 500; line-height: 1.05; letter-spacing: -.07em; }
.project-result span { color: var(--label); font-family: var(--mono); font-size: 9px; }
.notes { color: var(--ink); background: var(--paper); padding: 87.5px 0 95px; }
.notes-main { max-width: 800px; }
.notes-title { margin: -11px 0 92px; font-family: var(--title); font-size: clamp(48px, 6vw, 86px); font-weight: 500; line-height: 1.05; letter-spacing: -.1em; }
.notes-title em { color: var(--accent-ink); font-style: normal; }
.notes-list { border-top: 1px solid var(--line); }
.note-item { display: grid; grid-template-columns: 45px 1fr 35px; gap: 25px; align-items: start; border-bottom: 1px solid var(--line); padding: 28px 0 30px; }
.note-index { color: var(--muted); font-family: var(--mono); font-size: 10px; }
.note-item h3 { margin: 0; color: var(--ink); font-family: var(--title); font-size: 22px; font-weight: 500; line-height: 1.4; letter-spacing: -.04em; }
.note-item p { max-width: 470px; margin: 10px 0 0; color: var(--text-subtle); font-family: var(--serif); font-size: 13px; line-height: 1.75; }
.note-arrow { color: var(--accent-ink); font-size: 19px; transition: transform .25s ease; }
.note-item:hover .note-arrow { transform: translate(3px, -3px); }
.outline-button { display: inline-flex; align-items: center; gap: 14px; margin-top: 48px; padding: 13px 18px; border: 1px solid var(--outline); color: var(--ink); font-family: var(--mono); font-size: 10px; transition: color .25s ease, border-color .25s ease, background .25s ease; }
.outline-button span { color: var(--accent-ink); font-size: 16px; }
.outline-button:hover { border-color: var(--accent-ink); background: rgba(180,91,69,.08); }
.outline-button.project-story-button { margin-top: 22px; }
.contact { padding: 85px 0 16.5px; }
.contact-inner { display: grid; grid-template-columns: 190px 1fr; gap: 75px; min-height: 580px; }
.contact-copy { padding-top: 0; }
.contact-kicker { margin: 0 0 32px; color: var(--label-faint); font-size: 10px; }
.contact-copy h2 { margin: 0; font-family: var(--title); font-size: clamp(58px, 8vw, 115px); font-weight: 500; line-height: .98; letter-spacing: -.11em; }
.contact-copy h2 em { color: var(--text-faint); font-style: normal; }
.contact-details { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 80px; font-style: normal; }
.contact-email { display: inline-flex; align-items: center; border-bottom: 1px solid var(--ink); padding-bottom: 9px; font-family: var(--mono); font-size: 12px; letter-spacing: .03em; }
.contact-phone { display: flex; align-items: center; gap: 10px; margin: 0; font-family: var(--mono); font-size: 12px; letter-spacing: .03em; }
.contact-phone span { color: var(--label); font-size: 10px; letter-spacing: .06em; }
.contact-footer { grid-column: 2; align-self: end; display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 17px; color: var(--label); font-family: var(--mono); font-size: 9px; letter-spacing: .04em; }
.contact-status { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.contact-footer a { color: var(--ink); font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif; }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .85s ease, transform .85s cubic-bezier(.2,.65,.2,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .12s; }

/* Timeline entries reveal in layers instead of moving as one block. */
.timeline-item.reveal { opacity: 1; transform: none; transition: none; }
.timeline-item.reveal .timeline-year,
.timeline-item.reveal .timeline-stage,
.timeline-item.reveal .timeline-index {
  opacity: 0;
  transform: translateX(48px);
  transition: opacity .68s ease, transform .82s cubic-bezier(.18,.72,.18,1);
  will-change: opacity, transform;
}
.timeline-item.reveal .timeline-card-top,
.timeline-item.reveal .timeline-card h3,
.timeline-item.reveal .timeline-card > p,
.timeline-item.reveal .tag-row,
.timeline-item.reveal .timeline-image,
.timeline-item.reveal .current-mark {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .68s ease, transform .82s cubic-bezier(.18,.72,.18,1);
  will-change: opacity, transform;
}
.timeline-item.reveal.is-visible .timeline-year,
.timeline-item.reveal.is-visible .timeline-stage,
.timeline-item.reveal.is-visible .timeline-index {
  opacity: 1;
  transform: translateX(0);
}
.timeline-item.reveal.is-visible .timeline-card-top,
.timeline-item.reveal.is-visible .timeline-card h3,
.timeline-item.reveal.is-visible .timeline-card > p,
.timeline-item.reveal.is-visible .tag-row,
.timeline-item.reveal.is-visible .timeline-image,
.timeline-item.reveal.is-visible .current-mark {
  opacity: 1;
  transform: translateY(0);
}
.timeline-item.reveal .timeline-card-top,
.timeline-item.reveal .timeline-card h3 { transition-delay: .12s; }
.timeline-item.reveal .timeline-card > p { transition-delay: .26s; }
.timeline-item.reveal .tag-row { transition-delay: .4s; }
.timeline-item.reveal .timeline-image,
.timeline-item.reveal .current-mark { transition-delay: .54s; }

@media (min-width: 801px) and (hover: hover) and (pointer: fine) {
  .timeline-item.reveal .timeline-card > p {
    transition-property: opacity, transform, color;
    transition-duration: .68s, .82s, .24s;
    transition-timing-function: ease, cubic-bezier(.18,.72,.18,1), ease;
    transition-delay: .26s, .26s, 0s;
  }
  .timeline-card > p:hover { color: var(--ink-soft); }
}

@keyframes river-drift-fade { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -.025; } }
@keyframes river-drift-edge { from { stroke-dashoffset: -.004; } to { stroke-dashoffset: -.029; } }
@keyframes river-drift-body { from { stroke-dashoffset: -.008; } to { stroke-dashoffset: -.033; } }
@keyframes river-drift-core { from { stroke-dashoffset: -.013; } to { stroke-dashoffset: -.038; } }
@keyframes hero-line-travel { to { stroke-dashoffset: -1; } }
@keyframes node-breathe { 0%, 100% { opacity: .45; transform: translate(-50%, -50%) scale(.94); } 50% { opacity: .9; transform: translate(-50%, -50%) scale(1.04); } }
@keyframes spark-flicker { 0%, 100% { opacity: .15; } 45% { opacity: .75; } 70% { opacity: .25; } }
@keyframes title-enter { from { opacity: 0; transform: translateY(.32em); filter: blur(5px); } to { opacity: 1; transform: translateY(0); filter: blur(0); } }
@keyframes about-title-reveal-right {
  from { opacity: 0; clip-path: inset(0 100% 0 0); transform: translateX(-28px); }
  to { opacity: 1; clip-path: inset(0 0 0 0); transform: translateX(0); }
}
@keyframes about-copy-reveal-down {
  from { opacity: 0; clip-path: inset(0 0 100% 0); transform: translateY(-18px); }
  to { opacity: 1; clip-path: inset(0 0 0 0); transform: translateY(0); }
}
@keyframes hero-intro-fade-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes hero-type-caret { 0%, 48% { opacity: 1; } 49%, 100% { opacity: 0; } }
@keyframes page-loader-pulse { 0%, 100% { opacity: .45; transform: scale(.8); } 50% { opacity: 1; transform: scale(1); } }

@media (max-width: 800px) {
  .page-loader { --opening-portrait-width: min(74vw, 310px); --opening-portrait-height: min(92.5vw, 387.5px); }
  .page-loader-meta { top: 24px; right: 20px; left: 20px; font-size: 8px; }
  .page-loader-meta span:last-child { display: none; }
  .page-loader-clock { width: 178px; height: 178px; }
  .page-loader-portrait { width: 108px; height: 108px; }
  .page-loader-caption { bottom: 26px; font-size: 8px; }
  .shell { width: min(100% - 40px, 600px); }
  .site-header { height: 54px; justify-content: flex-end; padding: 0 20px; }
  .theme-switcher { top: 10px; right: 20px; }
  .theme-switcher-trigger { height: 34px; }
  .viewport-focus-blur { height: 54px; -webkit-backdrop-filter: blur(20px) saturate(.84); backdrop-filter: blur(20px) saturate(.84); }
  .main-nav, .header-cta { display: none; }
  .menu-toggle { position: absolute; top: 10px; left: 20px; display: block; }
  .menu-toggle:hover { background: transparent; }
  .site-header.nav-open .main-nav { position: absolute; top: 52px; right: auto; left: 20px; display: flex; flex-direction: column; gap: 12px; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; background: var(--menu-surface); box-shadow: var(--menu-shadow); }
  .hero-inner { display: flex; flex-direction: column; align-items: stretch; justify-content: center; padding-top: 105px; }
  .hero-copy { padding: 20px 0 0; }
  .hero-flow-lines { top: 20%; right: auto; bottom: auto; left: -34%; width: 170%; height: 52%; transform: rotate(10deg); transform-origin: center; }
  .hero h1 { font-size: clamp(51px, 15.5vw, 88px); }
  .hero h1 .hero-line-accent { transform: translateX(calc(.3em + var(--hero-title-shift) + var(--hero-title-entry))); }
  .hero-intro { max-width: 100%; margin-top: 27px; margin-left: 0; font-size: clamp(11px, 3.55vw, 14px); white-space: normal; overflow-wrap: anywhere; }
  .hero-intro-carousel { margin-top: 10px; overflow-x: clip; }
  .hero-status { margin-top: 38px; font-size: 8px; }
  .hero-visual { height: auto; min-height: 0; margin-top: 24px; padding-bottom: 48px; }
  .portrait-frame { width: min(74vw, 310px); height: auto; aspect-ratio: 4 / 5; min-height: 0; }
  .hero-stamp { top: 9%; right: 7%; }
  .about, .journey, .work, .notes, .contact { padding: 52.5px 0 57.5px; }
  .about-grid, .journey-heading, .work-heading, .notes-grid, .contact-inner { display: block; }
  .section-label { margin-bottom: 53px; }
  .about-summary-heading { display: block; }
  .about-summary-heading h2 { min-height: 2.46em; margin-top: 18px; font-size: 33px; }
  .resume-copy-carousel { margin-top: 29px; }
  .resume-copy { font-size: 14px; line-height: 1.95; }
  .about-carousel-controls { margin-top: 22px; }
  .about-carousel-control { width: 34px; height: 34px; }
  .about-proof { margin-top: 44px; }
  .proof-heading { gap: 18px; font-size: 9px; }
  .impact-grid { display: block; }
  .impact-card, .impact-card + .impact-card { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); padding: 22px 0 24px; }
  .impact-card:last-child { border-bottom: 0; }
  .impact-card small { max-width: 240px; }
  .journey { --river-top-fade: 80px; --river-bottom-extension: 115px; }
  .journey-heading { padding-bottom: 52px; }
  .timeline-river { left: -8px; width: 100px; }
  .timeline-item { display: block; padding: 0 0 85px 37px; }
  .timeline-meta { left: -31px; grid-template-columns: 22px minmax(0, 1fr); align-items: start; gap: 0 14px; margin-bottom: 30px; }
  .timeline-index { width: 22px; height: 22px; font-size: 8px; }
  .timeline-stage { align-self: center; font-size: 8px; }
  .timeline-year { grid-column: 2; margin-top: 13px; margin-left: 0; font-size: clamp(37px, 12vw, 52px); line-height: .75; }
  .timeline-card { min-height: 0; padding: 0; }
  .timeline-stage-loader { --timeline-loader-size: 112px; top: 8px; left: 0; width: 100%; }
  .timeline-stage-loader span { font-size: 58px; }
  .timeline-card::before { top: -43px; left: -31px; width: 8px; height: 8px; }
  .timeline-card h3 { margin-top: 25px; font-size: clamp(34px, 10vw, 55px); }
  .timeline-card p { font-size: 14px; }
  .role-kicker, .timeline-duration { font-size: 10px; }
  .timeline-image { height: 140px; margin-top: 31px; }
  .work-heading { margin-bottom: 70px; }
  .work-title { display: block; }
  .work-title p { margin-top: 30px; }
  .project-list { gap: 65px; margin-left: 0; }
  .project-media { height: 150px; }
  .project-info { padding-top: 20px; }
  .project-number { position: static; margin-bottom: 14px; }
  .project-heading { grid-template-columns: minmax(0, 1fr) max-content; gap: 16px; }
  .project-result { gap: 5px; }
  .project-result strong { font-size: 28px; }
  .project-info h3 { font-size: 31px; }
  .notes-title { margin-bottom: 62px; }
  .note-item { grid-template-columns: 28px 1fr 20px; gap: 10px; }
  .note-item h3 { font-size: 18px; }
  .note-item p { font-size: 12px; }
  .contact-inner { min-height: 560px; }
  .contact-copy h2 { font-size: clamp(59px, 16vw, 100px); }
  .contact-details { margin-top: 63px; }
  .contact-email, .contact-phone { font-size: 10px; }
  .contact-footer { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 120px; }
  .contact-footer a { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .timeline-item.reveal .timeline-year,
  .timeline-item.reveal .timeline-card-top,
  .timeline-item.reveal .timeline-card h3,
  .timeline-item.reveal .timeline-stage,
  .timeline-item.reveal .timeline-index,
  .timeline-item.reveal .timeline-card > p,
  .timeline-item.reveal .tag-row,
  .timeline-item.reveal .timeline-image,
  .timeline-item.reveal .current-mark { opacity: 1; transform: none; }
  .timeline-stage-loader { display: none; }
  .hero-intro-slide { transition: none; }
  .about-summary.is-intro-pending .about-title-line,
  .about-summary.is-intro-pending .resume-copy.is-active { opacity: 1; clip-path: none; transform: none; }
}
