/* ============ DESIGN TOKENS ============ */
:root {
  --bg: oklch(0.16 0.008 160);
  --bg-2: oklch(0.2 0.01 160);
  --bg-3: oklch(0.245 0.012 160);
  --ink: oklch(0.94 0.012 130);
  --ink-2: oklch(0.76 0.01 140);
  --ink-3: oklch(0.58 0.01 150);
  --ink-4: oklch(0.42 0.01 155);
  --line: oklch(0.94 0.012 130 / 0.1);
  --line-2: oklch(0.94 0.012 130 / 0.06);
  --signal: oklch(0.9 0.21 128);
  --signal-dim: oklch(0.9 0.21 128 / 0.14);
  --amber: oklch(0.82 0.15 70);

  --f-display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  --gutter: clamp(1.25rem, 4vw, 4rem);
  --nav-h: 4.5rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: dark; -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-display);
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.2rem);
  line-height: 1.5;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, canvas, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure { margin: 0; }
em { font-style: normal; color: var(--signal); }
.mono { font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 400; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
::selection { background: var(--signal); color: var(--bg); }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 4px; }

.dot { display: inline-block; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 0 var(--signal); animation: ping 2.2s infinite; vertical-align: middle; margin-right: 0.5rem; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 oklch(0.9 0.21 128 / 0.6); } 80%, 100% { box-shadow: 0 0 0 0.6rem transparent; } }

/* ============ GLOBAL CHROME ============ */
.grain { position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: 0.07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }

.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 95; }
.progress i { display: block; height: 100%; width: 100%; background: var(--signal); transform-origin: 0 50%; transform: scaleX(0); }

.cursor { position: fixed; top: 0; left: 0; z-index: 100; pointer-events: none; width: 0.9rem; height: 0.9rem; margin: -0.45rem 0 0 -0.45rem; border-radius: 50%; background: var(--signal); mix-blend-mode: difference; transition: width 0.4s var(--ease), height 0.4s var(--ease), margin 0.4s var(--ease), background 0.3s; display: grid; place-items: center; opacity: 0; }
.cursor.is-on { opacity: 1; }
.cursor.is-big { width: 5.5rem; height: 5.5rem; margin: -2.75rem 0 0 -2.75rem; background: var(--signal); mix-blend-mode: normal; }
.cursor__label { font-size: 0.62rem; color: var(--bg); opacity: 0; transition: opacity 0.2s; white-space: nowrap; letter-spacing: 0.04em; }
.cursor.is-big .cursor__label { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 80; height: var(--nav-h); padding: 0 var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 1rem; mix-blend-mode: difference; color: #fff; }
.nav__brand { display: flex; align-items: baseline; gap: 0.6rem; font-size: 1.3rem; }
.nav__brand b { font-weight: 800; letter-spacing: -0.04em; }
.nav__brand span { opacity: 0.6; }
.nav__links { display: flex; gap: clamp(1rem, 2.2vw, 2.2rem); }
.nav__links a { position: relative; padding: 0.4rem 0; overflow: hidden; display: inline-flex; gap: 0.4rem; }
.nav__links i { font-style: normal; opacity: 0.45; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: 100% 50%; transition: transform 0.6s var(--ease); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); transform-origin: 0 50%; }
.nav__status { white-space: nowrap; }
@media (max-width: 860px) { .nav__links, .nav__brand span { display: none; } }

/* ============ PRELOADER ============ */
.loader { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; }
.loader__panel { position: absolute; left: 0; right: 0; height: 50.5%; background: var(--bg-2); }
.loader__panel--t { top: 0; } .loader__panel--b { bottom: 0; }
.loader__inner { position: relative; width: min(34rem, 86vw); display: grid; gap: 2rem; }
.loader__log { color: var(--ink-3); min-height: 9rem; margin: 0; white-space: pre-wrap; line-height: 1.9; }
.loader__log b { color: var(--signal); font-weight: 400; }
.loader__count { font-size: clamp(4rem, 14vw, 9rem); font-weight: 800; letter-spacing: -0.06em; line-height: 0.85; font-variant-numeric: tabular-nums; }
.loader__count i { font-style: normal; color: var(--signal); font-size: 0.4em; margin-left: 0.2em; }
html.no-js .loader, html.is-ready .loader { display: none; }
.loader { animation: loaderSafe 0s 7s forwards; }
@keyframes loaderSafe { to { visibility: hidden; pointer-events: none; } }

/* ============ SHARED ============ */
section { position: relative; }
.sec-label { color: var(--ink-3); display: flex; gap: 0.8rem; align-items: center; }
.sec-label i { font-style: normal; color: var(--signal); }
.sec-label::after { content: ""; width: 3rem; height: 1px; background: var(--line); }

.duo { position: relative; overflow: hidden; background: var(--bg-2); isolation: isolate; }
.duo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.08) brightness(0.92); transform: scale(1.12); transition: filter 0.9s var(--ease), transform 1.2s var(--ease); }
.duo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(160deg, oklch(0.42 0.12 140), oklch(0.2 0.03 160)); mix-blend-mode: multiply; transition: opacity 0.9s var(--ease); }
.duo::after { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(180deg, transparent 55%, oklch(0.14 0.01 160 / 0.7)); }
.duo:hover img { filter: grayscale(0.1) contrast(1.02) brightness(0.95); }
.duo:hover::before { opacity: 0.15; }
.duo--soft::before { background: linear-gradient(200deg, oklch(0.35 0.1 150), oklch(0.18 0.02 160)); }
figcaption { color: var(--ink-3); margin-top: 0.8rem; }

/* ============ HERO ============ */
.hero { min-height: 100svh; padding: calc(var(--nav-h) + 2rem) var(--gutter) 2.5rem; display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: auto 1fr auto auto; align-items: end; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: 0; opacity: 0.55; mask-image: radial-gradient(120% 90% at 70% 40%, #000 30%, transparent 85%); }
.hero__bg canvas { width: 100%; height: 100%; }
.hero > *:not(.hero__bg) { position: relative; z-index: 1; }
.hero__meta { grid-column: 1 / -1; display: flex; justify-content: space-between; color: var(--ink-3); align-self: start; }
.hero__title { grid-column: 1 / 10; grid-row: 2; align-self: center; font-size: clamp(4.2rem, 17.5vw, 19rem); line-height: 0.82; letter-spacing: -0.06em; font-weight: 800; margin-top: 3vh; }
.line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.line--indent { padding-left: 0.6em; }
.split { display: inline-block; }
.split .ch { display: inline-block; transform: translateY(105%) rotate(6deg); }
html.no-js .split .ch, html.reduced .split .ch { transform: none; }

.hero__photo { grid-column: 9 / 13; grid-row: 2 / 4; align-self: end; justify-self: end; width: min(100%, 26rem); z-index: 2; will-change: transform; }
.hero__photo .duo { aspect-ratio: 3 / 4; border-radius: 0.25rem; clip-path: inset(0 0 100% 0); }
.hero__role { grid-column: 1 / 7; grid-row: 3; max-width: 34rem; }
.hero__kicker { color: var(--signal); margin-bottom: 0.8rem; }
.hero__sub { color: var(--ink-2); font-size: clamp(1.05rem, 1rem + 0.5vw, 1.45rem); line-height: 1.35; }
.hero__stats { grid-column: 1 / 9; grid-row: 4; display: flex; gap: clamp(1.5rem, 4vw, 4rem); margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.hero__stats b { display: block; font-family: var(--f-display); font-size: clamp(2rem, 4vw, 3.4rem); letter-spacing: -0.05em; font-weight: 700; text-transform: none; color: var(--ink); line-height: 1; }
.hero__stats span { color: var(--ink-3); display: block; margin-top: 0.4rem; }
.hero__scroll { grid-column: 9 / 13; grid-row: 4; justify-self: end; display: flex; align-items: center; gap: 0.8rem; color: var(--ink-3); margin-top: 2.5rem; }
.hero__scroll i { width: 4rem; height: 1px; background: var(--line); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; inset: 0; background: var(--signal); animation: scan 2s var(--ease-io) infinite; }
@keyframes scan { from { transform: translateX(-100%); } to { transform: translateX(100%); } }

@media (max-width: 860px) {
  .hero { grid-template-rows: auto auto auto auto auto; }
  .hero__title { grid-column: 1 / -1; grid-row: 2; }
  .hero__photo { grid-column: 5 / 13; grid-row: 3; margin-top: -4rem; width: 62%; }
  .hero__role { grid-column: 1 / -1; grid-row: 4; margin-top: 1.5rem; }
  .hero__stats { grid-column: 1 / -1; grid-row: 5; }
  .hero__scroll { display: none; }
}

.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 1rem 0; background: var(--bg); }
.marquee__track { display: flex; gap: 3rem; width: max-content; animation: marquee 38s linear infinite; color: var(--ink-3); }
.marquee__track span { white-space: nowrap; display: inline-flex; align-items: center; gap: 3rem; }
.marquee__track span::after { content: "✦"; color: var(--signal); font-size: 0.6rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============ ABOUT ============ */
.about { padding: clamp(6rem, 14vw, 14rem) var(--gutter); }
.about__statement { margin-top: 3rem; font-size: clamp(1.9rem, 5.4vw, 5.6rem); line-height: 1.02; letter-spacing: -0.045em; font-weight: 600; max-width: 22ch; }
.about__statement .w { opacity: 0.14; transition: opacity 0.2s linear; }
.about__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(1.5rem, 3vw, 3rem); margin-top: clamp(4rem, 9vw, 9rem); align-items: start; }
.about__video { grid-column: 1 / 5; position: relative; }
.about__video video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 0.25rem; background: var(--bg-2); filter: saturate(0.85) contrast(1.05); }
.about__video::before { content: ""; position: absolute; inset: 0 0 2.2rem; border: 1px solid var(--line); border-radius: 0.25rem; pointer-events: none; z-index: 2; }
.rec { display: inline-block; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: #ff5a4d; margin-right: 0.5rem; animation: blink 1.4s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0.2; } }
.about__copy { grid-column: 5 / 10; display: grid; gap: 1.4rem; color: var(--ink-2); font-size: clamp(1.05rem, 1rem + 0.35vw, 1.35rem); padding-top: clamp(0rem, 6vw, 6rem); }
.about__copy b { color: var(--ink); font-weight: 600; }
.about__facts { margin-top: 1.5rem; border-top: 1px solid var(--line); }
.about__facts li { display: grid; grid-template-columns: 6rem 1fr; gap: 1rem; padding: 0.9rem 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.about__facts span { color: var(--ink-3); }
.about__desk { grid-column: 10 / 13; margin-top: clamp(0rem, 12vw, 14rem); }
.about__desk .duo { aspect-ratio: 3 / 4; border-radius: 0.25rem; }
@media (max-width: 960px) {
  .about__video { grid-column: 1 / 8; }
  .about__copy { grid-column: 1 / -1; padding-top: 0; order: 3; }
  .about__desk { grid-column: 8 / 13; margin-top: 4rem; }
}

/* ============ EXPERIENCE ============ */
.exp { background: var(--bg-2); }
.exp__pin { position: relative; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding-top: var(--nav-h); }
.exp__head { padding: 0 var(--gutter); display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.exp__head .sec-label { width: 100%; }
.exp__title { font-size: clamp(2.2rem, 6vw, 6rem); line-height: 0.95; letter-spacing: -0.05em; font-weight: 700; margin-top: 0.8rem; }
.exp__hint { color: var(--ink-3); }
.exp__rail { position: relative; margin: 1.4rem var(--gutter) 1.6rem; height: 1px; background: var(--line); }
.exp__rail i { position: absolute; inset: 0; background: var(--signal); transform-origin: 0 50%; transform: scaleX(0); }
.exp__rail span { position: absolute; right: 0; top: 0.7rem; color: var(--signal); }
.exp__track { display: flex; gap: clamp(1rem, 2vw, 2rem); padding: 0 var(--gutter); will-change: transform; }

.card { flex: 0 0 auto; width: clamp(19rem, 64vw, 62rem); height: min(52vh, 34rem); display: grid; grid-template-columns: 0.9fr 1.2fr; background: var(--bg); border: 1px solid var(--line); border-radius: 0.5rem; overflow: hidden; transition: border-color 0.5s, transform 0.6s var(--ease); }
.card:hover { border-color: oklch(0.9 0.21 128 / 0.4); }
.card--now { border-color: oklch(0.9 0.21 128 / 0.45); }
.card__viz { position: relative; background: radial-gradient(90% 80% at 50% 40%, var(--bg-3), var(--bg)); border-right: 1px solid var(--line); display: grid; place-items: center; padding: 1rem; }
.card__viz svg { width: 100%; height: 100%; }
.card__body { padding: clamp(1.2rem, 2.4vw, 2.2rem); display: flex; flex-direction: column; gap: 0.6rem; overflow: hidden; }
.card__years { color: var(--ink-3); }
.card--now .card__years { color: var(--signal); }
.card h3 { font-size: clamp(1.4rem, 2.4vw, 2.4rem); line-height: 1; letter-spacing: -0.04em; font-weight: 700; }
.card__co { color: var(--signal); font-size: clamp(1rem, 1.4vw, 1.3rem); font-weight: 500; }
.card ul { display: grid; gap: 0.55rem; margin-top: 0.4rem; color: var(--ink-2); font-size: clamp(0.82rem, 0.95vw, 1rem); line-height: 1.38; }
.card li { padding-left: 1rem; position: relative; }
.card li::before { content: "+"; position: absolute; left: 0; color: var(--signal); font-family: var(--f-mono); }
.card li b { color: var(--ink); font-weight: 600; }
.card__tech { margin-top: auto; color: var(--ink-3); padding-top: 0.8rem; border-top: 1px solid var(--line); font-size: 0.64rem; line-height: 1.7; }

@media (max-width: 860px) {
  .exp__pin { height: auto; padding: 5rem 0; overflow: visible; }
  .exp__rail, .exp__hint { display: none; }
  .exp__track { flex-direction: column; margin-top: 2.5rem; }
  .card { width: 100%; height: auto; grid-template-columns: 1fr; }
  .card__viz { height: 14rem; border-right: 0; border-bottom: 1px solid var(--line); }
}

/* viz */
.viz-line { stroke: var(--line); stroke-width: 1; fill: none; }
.viz-sig { stroke: var(--signal); fill: none; stroke-width: 1.4; }
.viz-fill { fill: var(--signal); }
.viz-node { fill: var(--bg); stroke: var(--signal); stroke-width: 1.4; }
.viz-txt { fill: var(--ink-3); font: 500 9px var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; }
.viz-pulse { animation: vpulse 2.4s var(--ease-io) infinite; transform-box: fill-box; transform-origin: center; }
@keyframes vpulse { 0%, 100% { opacity: 0.25; transform: scale(0.9); } 50% { opacity: 1; transform: scale(1); } }
.viz-flow { stroke-dasharray: 4 6; animation: vflow 1.2s linear infinite; }
@keyframes vflow { to { stroke-dashoffset: -20; } }
.viz-spin { animation: vspin 24s linear infinite; transform-origin: 200px 130px; }
@keyframes vspin { to { transform: rotate(360deg); } }
.viz-beat { stroke-dasharray: 260; stroke-dashoffset: 260; animation: vbeat 2.6s linear infinite; }
@keyframes vbeat { to { stroke-dashoffset: -260; } }
.viz-bar { transform-box: fill-box; transform-origin: bottom; animation: vbar 3s var(--ease) infinite alternate; }
@keyframes vbar { from { transform: scaleY(0.3); } to { transform: scaleY(1); } }

/* ============ STACK ============ */
.stack { padding: clamp(6rem, 12vw, 12rem) var(--gutter) 0; }
.stack__title { font-size: clamp(2.6rem, 8vw, 8.5rem); line-height: 0.9; letter-spacing: -0.06em; font-weight: 800; margin-top: 1.4rem; }
.stack__lede { color: var(--ink-3); margin-top: 1.2rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 2rem; }
.chip { padding: 0.65rem 1.1rem; border: 1px solid var(--line); border-radius: 99rem; color: var(--ink-2); transition: all 0.4s var(--ease); }
.chip:hover { border-color: var(--signal); color: var(--ink); }
.chip.is-on { background: var(--signal); border-color: var(--signal); color: var(--bg); }
.stack__field { position: relative; margin: 2rem calc(var(--gutter) * -1) 0; height: min(78vh, 52rem); border-top: 1px solid var(--line); touch-action: pan-y; }
.stack__field canvas { width: 100%; height: 100%; }
.stack__tip { position: absolute; left: var(--gutter); bottom: 1.5rem; color: var(--signal); pointer-events: none; opacity: 0; transition: opacity 0.3s; }
.stack__tip.is-on { opacity: 1; }

/* ============ NUMBERS ============ */
.nums { padding: clamp(5rem, 9vw, 9rem) var(--gutter); background: var(--signal); color: var(--bg); }
.nums__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 2.5rem 2rem; }
.nums b { display: block; font-size: clamp(5rem, 13vw, 12rem); line-height: 0.85; letter-spacing: -0.07em; font-weight: 800; font-variant-numeric: tabular-nums; }
.nums span { display: block; margin-top: 1rem; padding-top: 0.8rem; border-top: 1px solid oklch(0.16 0.008 160 / 0.35); }

/* ============ CREDENTIALS ============ */
.cred { padding: clamp(6rem, 12vw, 12rem) var(--gutter); }
.cred__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1rem; margin-top: 3rem; }
.cred__card { grid-column: span 4; position: relative; padding: clamp(1.4rem, 2.5vw, 2.4rem); border: 1px solid var(--line); border-radius: 0.5rem; background: var(--bg-2); display: flex; flex-direction: column; gap: 0.8rem; min-height: 15rem; overflow: hidden; transition: transform 0.7s var(--ease), border-color 0.5s, background 0.5s; }
.cred__card:hover { transform: translateY(-6px); border-color: oklch(0.9 0.21 128 / 0.4); background: var(--bg-3); }
.cred__card--lg { grid-column: span 8; min-height: 18rem; }
.cred__card--wide { grid-column: span 12; min-height: 0; }
.cred__card p.mono { color: var(--signal); }
.cred__card h3 { font-size: clamp(1.4rem, 2.6vw, 2.8rem); line-height: 1.02; letter-spacing: -0.04em; font-weight: 700; max-width: 16ch; margin-top: auto; }
.cred__card--wide h3 { margin-top: 0; }
.cred__sub { color: var(--ink-2); max-width: 54ch; font-size: 0.95rem; }
.seal { position: absolute; right: 1.5rem; top: 1.5rem; width: clamp(5rem, 10vw, 9rem); fill: none; stroke: var(--signal); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.seal circle { stroke-dasharray: 230; stroke-dashoffset: 230; transition: stroke-dashoffset 1.6s var(--ease); }
.seal path { stroke-dasharray: 60; stroke-dashoffset: 60; transition: stroke-dashoffset 1s var(--ease) 0.6s; }
.cred__card.is-in .seal circle, .cred__card.is-in .seal path { stroke-dashoffset: 0; }
@media (max-width: 860px) { .cred__card, .cred__card--lg { grid-column: span 12; min-height: 11rem; } }

/* ============ FAQ ============ */
/* Asymmetric split: sticky heading left, hairline Q&A rows right. Breaks the card rhythm of Credentials. */
.faq { padding: clamp(5rem, 10vw, 10rem) var(--gutter) clamp(6rem, 12vw, 12rem); display: grid; grid-template-columns: repeat(12, 1fr); gap: 2rem 1rem; border-top: 1px solid var(--line-2); }
h2.sec-label { margin: 0; }
.faq__head { grid-column: 1 / span 4; align-self: start; position: sticky; top: calc(var(--nav-h) + 1.5rem); }
.faq__title { margin-top: 1.4rem; font-size: clamp(2.4rem, 5.4vw, 5.6rem); line-height: 0.92; letter-spacing: -0.055em; font-weight: 800; }
.faq__lede { margin-top: 1.2rem; color: var(--ink-3); max-width: 28ch; }
.faq__list { grid-column: 6 / span 7; border-bottom: 1px solid var(--line); }
.faq__item { border-top: 1px solid var(--line); }
.faq__item summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 4.2rem 1fr 1.5rem; align-items: baseline; gap: 1rem; padding: clamp(1.2rem, 2.2vw, 1.9rem) 0; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__n { color: var(--ink-3); transition: color 0.4s var(--ease); }
.faq__q { font-size: clamp(1.15rem, 1.9vw, 1.9rem); line-height: 1.12; letter-spacing: -0.035em; font-weight: 500; transition: color 0.4s var(--ease); }
.faq__x { position: relative; width: 1rem; height: 1rem; align-self: center; transition: transform 0.6s var(--ease); }
.faq__x::before, .faq__x::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: currentColor; }
.faq__x::after { transform: rotate(90deg); }
.faq__item[open] .faq__x { transform: rotate(45deg); color: var(--signal); }
.faq__item[open] .faq__n { color: var(--signal); }
.faq__a { padding: 0 2.5rem clamp(1.4rem, 2.4vw, 2.2rem) 5.2rem; color: var(--ink-2); max-width: 62ch; }
.faq__item[open] .faq__a { animation: faqIn 0.6s var(--ease) both; }
@keyframes faqIn { from { opacity: 0; transform: translateY(-8px); } }
@media (hover: hover) { .faq__item summary:hover .faq__q, .faq__item summary:hover .faq__n { color: var(--signal); } }
@media (max-width: 860px) {
  .faq__head, .faq__list { grid-column: 1 / -1; }
  .faq__head { position: static; }
  .faq__item summary { grid-template-columns: 3rem 1fr 1.2rem; gap: 0.8rem; }
  .faq__a { padding: 0 0 1.4rem 3.8rem; }
}

/* ============ CONTACT ============ */
.contact { padding: clamp(6rem, 12vw, 12rem) var(--gutter) 2rem; background: var(--bg-2); }
.contact__title { margin-top: 2rem; font-size: clamp(3rem, 11vw, 12rem); line-height: 0.88; letter-spacing: -0.065em; font-weight: 800; }
.contact__title .line > span { display: inline-block; }
.contact__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1rem; margin-top: clamp(3rem, 6vw, 6rem); }
.magnet { position: relative; display: flex; flex-direction: column; gap: 0.6rem; padding: 1.6rem 1.8rem; border: 1px solid var(--line); border-radius: 0.5rem; overflow: hidden; isolation: isolate; transition: color 0.5s var(--ease), border-color 0.5s; }
.magnet::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--signal); transform: translateY(101%); transition: transform 0.6s var(--ease-io); border-radius: inherit; }
.magnet:hover { color: var(--bg); border-color: var(--signal); }
.magnet:hover::before { transform: translateY(0); }
.magnet span { color: var(--ink-3); transition: color 0.4s; } .magnet:hover span { color: var(--bg); }
.magnet b { font-size: clamp(1.3rem, 2.6vw, 2.4rem); letter-spacing: -0.04em; font-weight: 600; word-break: break-all; }

.term { margin-top: clamp(3rem, 6vw, 6rem); border: 1px solid var(--line); border-radius: 0.5rem; background: var(--bg); overflow: hidden; max-width: 54rem; }
.term__bar { display: flex; align-items: center; gap: 0.4rem; padding: 0.7rem 1rem; border-bottom: 1px solid var(--line); color: var(--ink-3); text-transform: none; }
.term__bar i { width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--ink-4); }
.term__bar span { margin-left: 0.8rem; }
.term__body { padding: 1rem 1.2rem 0; height: 15rem; overflow-y: auto; text-transform: none; letter-spacing: 0.01em; font-size: 0.82rem; line-height: 1.7; color: var(--ink-2); scrollbar-width: thin; scrollbar-color: var(--ink-4) transparent; overscroll-behavior: contain; }
.term__body p { white-space: pre-wrap; margin: 0; }
.term__body .cmd { color: var(--ink); } .term__body .cmd::before { content: "$ "; color: var(--signal); }
.term__body .ok { color: var(--signal); }
.term__input { display: flex; gap: 0.7rem; padding: 0.4rem 1.2rem 1rem; text-transform: none; font-size: 0.82rem; letter-spacing: 0.01em; }
.term__input span { color: var(--signal); }
.term__input input { flex: 1; background: none; border: 0; outline: 0; color: var(--ink); font: inherit; caret-color: var(--signal); min-width: 0; }
.term__input input::placeholder { color: var(--ink-4); }

.foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-top: clamp(5rem, 9vw, 9rem); padding-top: 1.4rem; border-top: 1px solid var(--line); color: var(--ink-3); }
.linkbtn { text-decoration: underline; text-underline-offset: 3px; font: inherit; letter-spacing: inherit; text-transform: inherit; }
.linkbtn:hover { color: var(--signal); }

/* ============ REDUCED MOTION ============ */
html.reduced *, html.reduced *::before, html.reduced *::after { animation: none !important; transition-duration: 0.01ms !important; }
html.reduced .about__statement .w { opacity: 1; }
html.reduced .hero__photo .duo { clip-path: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; scroll-behavior: auto !important; }
  .split .ch { transform: none; } .about__statement .w { opacity: 1; } .hero__photo .duo { clip-path: none; }
}

/* reduced-motion: vertical experience layout */
html.reduced .exp__pin { height: auto; padding: 5rem 0; overflow: visible; }
html.reduced .exp__rail, html.reduced .exp__hint { display: none; }
html.reduced .exp__track { flex-direction: column; margin-top: 2.5rem; }
html.reduced .card { width: 100%; height: auto; }
