/* =========================================================
   Shreshth Singhal — Product Thinking Lab
   Design system shared by the homepage, case studies and résumé.
   ========================================================= */
:root {
  --paper: #eae5da;
  --paper-deep: #dfd9cc;
  --paper-hi: #f4f1ea;
  --ink: #181817;
  --ink-2: #222220;
  --ink-3: #2d2c29;
  --ink-soft: #5a564e;
  --mute-dark: #a29d92;
  --rule: #c6bfb0;
  --rule-dark: #383733;
  --pen: #3457ff;
  --pen-ink: #2a46d6;
  --lime: #d5ef78;
  --display: "Gambarino", "Georgia", serif;
  --text: "Switzer", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --measure: 62ch;
  --head-h: 72px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--paper); }
html, body { overflow-x: clip; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--text); font-size: 18px; line-height: 1.55; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body::after { /* paper grain */
  content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--pen); outline-offset: 4px; border-radius: 2px; }
::selection { background: var(--pen); color: var(--paper); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
.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; }
.wrap { padding-inline: var(--gutter); max-width: 1440px; margin-inline: auto; }
button { font: inherit; color: inherit; }
.arrow { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .45s var(--ease-out); }

.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0; font-size: .76rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
.eyebrow-rule { width: 40px; height: 1px; background: currentColor; opacity: .5; }
.eyebrow--dark { color: var(--mute-dark); }
.live-dot { position: relative; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--pen); margin-right: 10px; vertical-align: 1px; flex: none; }
.motion .live-dot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: inherit; animation: ping 2.4s var(--ease-out) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .6; } 70%, 100% { transform: scale(3.2); opacity: 0; } }

/* ---------- Scroll progress ---------- */
.scroll-progress { position: fixed; left: 0; right: 0; top: 0; height: 2px; z-index: 80; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; background: var(--pen); transform-origin: 0 50%; transform: scaleX(var(--sp, 0)); }

/* ---------- Header ---------- */
.site-head { position: sticky; top: 0; z-index: 60; isolation: isolate; display: flex; justify-content: space-between; align-items: center; gap: 24px; height: var(--head-h); transition: color .45s var(--ease-out); }
.site-head::before { content: ""; position: absolute; z-index: -2; inset: 0 calc(50% - 50vw); background: rgba(234, 229, 218, .84); -webkit-backdrop-filter: blur(12px) saturate(1.2); backdrop-filter: blur(12px) saturate(1.2); border-bottom: 1px solid var(--rule); opacity: 0; transition: opacity .45s var(--ease-out), background-color .45s, border-color .45s; }
.site-head.is-scrolled::before { opacity: 1; }
.home .site-head { position: fixed; left: 0; right: 0; padding-inline: var(--gutter); }
.home .site-head::before { inset: 0; }
.site-head.on-dark { color: var(--paper); }
.site-head.on-dark::before { background: rgba(24, 24, 23, .82); border-color: var(--rule-dark); }
.site-head .me { font-weight: 500; text-decoration: none; letter-spacing: -.01em; }
.site-head nav { display: flex; gap: 30px; align-items: center; }
.site-head nav a { position: relative; text-decoration: none; color: inherit; opacity: .7; padding-block: 6px; transition: opacity .3s; }
.site-head nav a:hover, .site-head nav a:focus-visible, .site-head nav a.is-active { opacity: 1; }
.site-head nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: 100% 50%; transition: transform .55s var(--ease-out); }
.site-head nav a:hover::after, .site-head nav a:focus-visible::after { transform: scaleX(1); transform-origin: 0 50%; }
.site-head nav a.is-active::before { content: ""; position: absolute; left: -11px; top: 50%; width: 5px; height: 5px; margin-top: -2px; border-radius: 50%; background: var(--pen); }
.site-head nav a[href$="resume/"] { opacity: 1; padding: 7px 16px; border: 1px solid currentColor; border-radius: 999px; }
.site-head nav a[href$="resume/"]::after { display: none; }
.site-head nav a[href$="resume/"]:hover, .site-head nav a[href$="resume/"]:focus-visible { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.site-head.on-dark nav a[href$="resume/"]:hover, .site-head.on-dark nav a[href$="resume/"]:focus-visible { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.menu-toggle { display: none; align-items: center; gap: 10px; background: none; border: 0; padding: 10px 0 10px 10px; cursor: pointer; font-weight: 500; }
.menu-toggle .bars { position: relative; width: 22px; height: 10px; }
.menu-toggle .bars::before, .menu-toggle .bars::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .45s var(--ease-out), top .45s var(--ease-out); }
.menu-toggle .bars::before { top: 0; }
.menu-toggle .bars::after { top: 8.5px; }
.menu-open .menu-toggle .bars::before { top: 4.25px; transform: rotate(45deg); }
.menu-open .menu-toggle .bars::after { top: 4.25px; transform: rotate(-45deg); }

/* ---------- Buttons & links ---------- */
[data-magnetic], .site-head nav a[href$="resume/"] { transition: transform .45s var(--ease-out), background-color .3s, color .3s, border-color .3s; }
.btn { font: inherit; cursor: pointer; background: var(--ink); color: var(--paper); border: 0; padding: 14px 22px; border-radius: 999px; text-decoration: none; display: inline-block; transition: background-color .3s; }
.btn:hover { background: var(--pen); }
.btn-arrow { display: inline-flex; align-items: center; gap: 12px; padding: 16px 24px; transition: transform .45s var(--ease-out), background-color .3s; }
.btn-arrow:hover .arrow, .btn-arrow:focus-visible .arrow { transform: translateX(4px); }
.text-link { color: var(--ink-soft); text-underline-offset: .2em; text-decoration-thickness: 1px; transition: color .25s; }
.text-link:hover { color: var(--pen); }

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; background: var(--paper); }
.hero-pin { min-height: 100vh; min-height: 100svh; display: flex; }
.hero-inner { position: relative; width: 100%; max-width: 1440px; margin-inline: auto; padding: calc(var(--head-h) + clamp(16px, 3.5vh, 44px)) var(--gutter) clamp(22px, 3.5vh, 40px); display: flex; flex-direction: column; }
.hero-title { font-family: var(--display); font-weight: 400; font-size: clamp(2.6rem, min(6.9vw, 11.4vh), 8.2rem); line-height: .94; letter-spacing: -.024em; margin: clamp(12px, 2.4vh, 28px) 0 0; transform-origin: 0 0; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.hero-title .line > span { display: block; }
.hero-title em { font-style: normal; color: var(--pen); }
.hero-title .ul { position: relative; display: inline-block; color: inherit; }
.ul-mark { position: absolute; left: -.02em; right: 0; bottom: -.02em; width: 100%; height: .16em; overflow: visible; fill: none; stroke: var(--pen); stroke-width: 3.5; stroke-linecap: round; }
.ul-mark path { vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 0; }
.hero-lower { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 72px); align-items: end; margin-top: auto; padding-top: clamp(20px, 4vh, 44px); }
.hero-foot { max-width: 44ch; padding-bottom: 6px; }
.hero .intro { margin: 0; color: var(--ink-soft); font-size: clamp(1rem, 1.15vw, 1.1rem); line-height: 1.5; }
.avail { display: flex; align-items: baseline; margin: 14px 0 0; color: var(--ink); font-size: clamp(.98rem, 1.1vw, 1.05rem); }
.hero-actions { display: flex; align-items: center; gap: 14px 24px; flex-wrap: wrap; margin-top: clamp(18px, 3vh, 28px); }

/* Product journey map */
.journey { margin: 0; color: var(--ink); position: relative; }
.journey-svg { display: block; width: 100%; height: auto; max-height: 40vh; overflow: visible; }
.j-gridrect { color: var(--ink); opacity: .12; }
.j-hatchbox { color: var(--ink-soft); opacity: .4; stroke: var(--rule); stroke-width: 1; }
.j-tick { fill: none; stroke: var(--ink-soft); stroke-width: 1; opacity: .5; }
.j-mono { font: 500 8.5px var(--text); letter-spacing: .16em; fill: var(--ink-soft); }
.j-base { fill: none; stroke: var(--ink-soft); stroke-width: 1.4; stroke-dasharray: 3 5; opacity: .7; }
.j-line, .j-glow { fill: none; stroke: var(--pen); stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: var(--draw, 0); }
.j-line { stroke-width: 3; }
.j-glow { stroke-width: 12; opacity: .13; }
.j-gap-ring { fill: var(--paper); stroke: var(--ink); stroke-width: 1.2; stroke-dasharray: 3 3; transition: stroke .5s; }
.j-gap-x { fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; transition: opacity .4s; }
.j-gap-ok { fill: none; stroke: var(--pen); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transition: opacity .4s .1s; }
.j-note { font: italic 400 11px var(--text); fill: var(--ink-soft); }
.j-note-b { fill-opacity: 0; fill: var(--pen); }
.j-note-a, .j-note-b { transition: fill-opacity .4s; }
.journey.is-closed .j-gap-ring { stroke: var(--pen); stroke-dasharray: none; }
.journey.is-closed .j-gap-x { opacity: 0; }
.journey.is-closed .j-gap-ok { opacity: 1; }
.journey.is-closed .j-note-a { fill-opacity: 0; }
.journey.is-closed .j-note-b { fill-opacity: 1; }
.motion .journey:not(.is-closed) .j-gap-ring { animation: gapBlink 1.6s ease-in-out infinite; }
@keyframes gapBlink { 50% { stroke: var(--pen); } }
.j-node circle { transform-box: fill-box; transform-origin: center; transition: transform .6s var(--ease-out), fill .45s, stroke .45s, opacity .45s; }
.j-ring { fill: var(--paper); stroke: var(--ink-soft); stroke-width: 1.4; }
.j-dot { fill: var(--ink-soft); }
.j-halo { fill: var(--pen); opacity: 0; transform: scale(.4); }
.j-label { font: 500 10.5px var(--text); letter-spacing: .14em; fill: var(--ink-soft); transition: fill .45s; }
.j-idx { fill: var(--pen); }
.j-node.is-on .j-ring { stroke: var(--pen); stroke-width: 1.8; }
.j-node.is-on .j-dot { fill: var(--pen); transform: scale(1.35); }
.j-node.is-on .j-halo { opacity: .14; transform: scale(1); }
.j-node.is-on .j-label { fill: var(--ink); }
.j-glyph { fill: none; stroke: var(--ink-soft); stroke-width: 1.2; stroke-linecap: round; opacity: 0; transform: translateY(6px); transition: opacity .5s, transform .6s var(--ease-out); }
.j-glyph.is-on { opacity: 1; transform: none; }
.j-glyph .j-fill { fill: var(--pen); stroke: none; }
.j-layer { will-change: transform; }
.journey-cap { display: flex; align-items: baseline; gap: 10px; margin-top: 6px; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); border-top: 1px solid var(--rule); padding-top: 10px; }
.journey-cap b { color: var(--pen); font-weight: 500; min-width: 11ch; }
.journey-cap-hint { margin-left: auto; }

/* hero load-in (CSS-driven, triggered by .is-loaded) */
.motion [data-split] .line > span { transform: translateY(108%); }
.motion [data-fade] { opacity: 0; transform: translateY(14px); }
.motion .ul-mark path { stroke-dashoffset: 1; }
.motion.is-loaded [data-split] .line > span { transform: none; transition: transform 1.25s var(--ease-out); }
.motion.is-loaded [data-split] .line:nth-child(2) > span { transition-delay: .09s; }
.motion.is-loaded [data-split] .line:nth-child(3) > span { transition-delay: .18s; }
.motion.is-loaded [data-split] .line:nth-child(4) > span { transition-delay: .27s; }
.motion.is-loaded [data-fade] { opacity: 1; transform: none; }
.motion.is-loaded:not(.intro-done) [data-fade] { transition: opacity 1s .55s, transform 1.2s .55s var(--ease-out); }
.motion.is-loaded:not(.intro-done) .avail[data-fade] { transition-delay: .65s; }
.motion.is-loaded:not(.intro-done) .hero-actions[data-fade] { transition-delay: .75s; }
.motion.is-loaded .ul-mark path { stroke-dashoffset: 0; transition: stroke-dashoffset 1s 1.15s var(--ease-io); }

/* =========================================================
   SELECTED WORK
   ========================================================= */
.work { position: relative; color: var(--paper); }
.work-intro { position: relative; background: var(--ink); overflow: hidden; }
.work-intro-inner { position: relative; max-width: 1440px; margin-inline: auto; padding: clamp(110px, 18vh, 200px) var(--gutter) clamp(48px, 8vh, 88px); }
.work-thread { position: absolute; left: var(--gutter); top: 0; bottom: 0; width: 1px; background: var(--rule-dark); }
.work-thread span { position: absolute; inset: 0; background: var(--pen); transform-origin: 50% 0; transform: scaleY(var(--t, 1)); box-shadow: 0 0 12px rgba(52, 87, 255, .6); }
.work-intro .eyebrow, .work-title, .work-meta { margin-left: clamp(18px, 2.4vw, 36px); }
.work-title { font-family: var(--display); font-weight: 400; font-size: clamp(3.2rem, 12.6vw, 15rem); line-height: .86; letter-spacing: -.035em; margin-top: .14em; margin-bottom: 0; white-space: nowrap; will-change: transform; }
.work-title span:last-child { color: var(--pen); }
.work-meta { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 16px 40px; align-items: baseline; margin-top: clamp(28px, 5vh, 56px); padding-top: 18px; border-top: 1px solid var(--rule-dark); }
.work-count { margin: 0; color: var(--mute-dark); }
.work-count b { font-family: var(--display); font-weight: 400; font-size: 2.4rem; color: var(--paper); margin-right: 8px; }
.work-lede { margin: 0; color: var(--mute-dark); max-width: 40ch; font-size: 1.1rem; }

.rail { position: relative; background: var(--ink); overflow: hidden; }
.rail-head { display: flex; justify-content: space-between; align-items: baseline; padding: 18px var(--gutter) 12px; font-size: .76rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--mute-dark); }
.rail-count { display: none; align-items: baseline; gap: 6px; }
.rail-count b { font-family: var(--display); font-weight: 400; font-size: 2.2rem; letter-spacing: 0; color: var(--paper); line-height: 1; }
.rail-progress { display: none; position: relative; height: 1px; margin-inline: var(--gutter); background: var(--rule-dark); }
.rail-progress span { position: absolute; inset: 0; background: var(--pen); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); box-shadow: 0 0 10px rgba(52, 87, 255, .7); }
.rail-track { display: flex; flex-direction: column; gap: clamp(18px, 3vw, 36px); padding: 16px var(--gutter) clamp(36px, 6vh, 64px); }

/* desktop horizontal rail */
.rail.rail--h { height: 100vh; display: flex; flex-direction: column; }
.rail--h .rail-head { padding-top: calc(var(--head-h) + 10px); }
.rail--h .rail-count { display: inline-flex; }
.rail--h .rail-progress { display: block; }
.rail--h .rail-track { flex-direction: row; flex: 1; min-height: 0; padding-block: clamp(16px, 3vh, 30px) clamp(20px, 4vh, 40px); gap: clamp(20px, 2.2vw, 36px); width: max-content; will-change: transform; }
.rail--h .panel { width: min(80vw, 1240px); height: 100%; flex: none; }

.panel { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(20px, 3vw, 48px); padding: clamp(22px, 2.8vw, 44px); border-radius: 6px; overflow: hidden; transform-origin: 50% 50%; }
.panel--dark { background: var(--ink-2); color: var(--paper); box-shadow: inset 0 0 0 1px var(--rule-dark); }
.panel--paper { background: var(--paper); color: var(--ink); }
.panel--blue { background: var(--pen); color: var(--paper); }
.panel--ink { background: #0e0e0d; color: var(--paper); box-shadow: inset 0 0 0 1px var(--rule-dark); }
.panel-text { display: flex; flex-direction: column; min-width: 0; }
.panel-index { display: flex; align-items: baseline; gap: 8px; margin: 0; font-size: .85rem; opacity: .9; }
.panel-index b { font-family: var(--display); font-weight: 400; font-size: clamp(2.6rem, 4.4vw, 5rem); line-height: .8; color: var(--pen); }
.panel--blue .panel-index b { color: var(--lime); }
.panel-index span { opacity: .55; }
.panel-kind { margin: clamp(18px, 4vh, 44px) 0 0; font-size: .74rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; opacity: .68; }
.panel-title { font-family: var(--display); font-weight: 400; font-size: clamp(2.4rem, 4.3vw, 5rem); line-height: .9; letter-spacing: -.025em; margin: .18em 0 .32em; }
.panel-link { color: inherit; text-decoration: none; }
.panel-link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.v-sip { z-index: 2; pointer-events: none; }
.v-sip .sp-try { pointer-events: auto; }
.panel-link:focus-visible { outline: none; }
.panel:has(.panel-link:focus-visible) { outline: 2px solid var(--pen); outline-offset: 4px; }
.panel--blue:has(.panel-link:focus-visible) { outline-color: var(--lime); }
.panel-teaser { margin: 0; font-size: clamp(1.02rem, 1.25vw, 1.22rem); line-height: 1.42; max-width: 30ch; opacity: .88; }
.panel-metric { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin: auto 0 0; padding-top: 18px; border-top: 1px solid currentColor; border-top-color: color-mix(in srgb, currentColor 22%, transparent); font-size: 1rem; }
.metric-tag { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: .68rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; border: 1px solid currentColor; opacity: .75; }
.panel--dark .metric-tag, .panel--ink .metric-tag { color: var(--lime); opacity: 1; }
.panel-cta { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; font-weight: 500; font-size: .95rem; }
.panel-cta .arrow { transition: transform .5s var(--ease-out); }
.panel:hover .panel-cta .arrow { transform: translateX(8px); }
.panel-cta::after { content: ""; height: 1px; width: 0; background: currentColor; transition: width .6s var(--ease-out); }
.panel:hover .panel-cta::after { width: 40px; }
.panel-visual { position: relative; min-height: 340px; border-radius: 4px; overflow: hidden; transition: transform .9s var(--ease-out); }
.panel:hover .panel-visual { transform: scale(1.012); }
.pv-grid { position: absolute; inset: 0; opacity: .08; background-image: linear-gradient(currentColor 1px, transparent 1px), linear-gradient(90deg, currentColor 1px, transparent 1px); background-size: 32px 32px; pointer-events: none; }
[data-par] { will-change: transform; }

/* --- 01 voice --- */
.v-voice { background: radial-gradient(120% 90% at 20% 60%, rgba(52, 87, 255, .22), transparent 60%); }
.vv-phone { position: absolute; left: 5%; top: 50%; margin-top: calc(-0.5 * min(80%, 470px)); height: min(80%, 470px); aspect-ratio: 9 / 18.5; border-radius: 30px; padding: 9px; background: #0b0b0a; box-shadow: 0 0 0 1px rgba(234, 229, 218, .16), 0 40px 80px -30px rgba(0, 0, 0, .8); }
.vv-screen { height: 100%; border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 18px 12px 22px; background: radial-gradient(circle at 50% 62%, rgba(52, 87, 255, .38), transparent 58%), #121211; }
.vv-status { display: flex; justify-content: space-between; width: 100%; margin: 0; font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mute-dark); }
.vv-live::before { content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--lime); margin-right: 5px; vertical-align: 1px; }
.vv-wave { display: flex; align-items: center; justify-content: center; gap: 2px; width: 100%; height: 26%; }
.vv-wave span { flex: 1; max-width: 3px; height: calc(var(--h, .3) * 100%); border-radius: 2px; background: var(--paper); opacity: .85; transform-origin: 50% 50%; transform: scaleY(var(--amp, .35)); transition: transform .25s ease-out; }
.vv-wave span:nth-child(3n) { background: var(--pen); opacity: 1; }
.panel.is-active .vv-wave span { animation: wave 1.1s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -70ms); }
@keyframes wave { from { transform: scaleY(calc(var(--amp, .5) * .35)); } to { transform: scaleY(var(--amp, 1)); } }
.vv-mic { position: relative; display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; background: var(--pen); }
.vv-mic svg { width: 24px; height: 24px; fill: none; stroke: var(--paper); stroke-width: 1.7; stroke-linecap: round; }
.vv-ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--pen); opacity: 0; }
.panel.is-active .vv-ring { animation: ring 2.4s var(--ease-out) infinite; }
.panel.is-active .vv-ring + .vv-ring { animation-delay: 1.2s; }
@keyframes ring { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(2.3); opacity: 0; } }
.vv-hint { margin: 0; text-align: center; font-size: .7rem; line-height: 1.4; color: var(--mute-dark); }
.vv-journey { position: absolute; right: 4%; top: 7%; width: 46%; list-style: none; margin: 0; padding: 0 0 0 18px; border-left: 1px solid var(--rule-dark); font-size: .84rem; }
.vv-journey li { position: relative; padding: 5px 0 9px; opacity: .3; transform: translateX(8px); transition: opacity .6s, transform .7s var(--ease-out); }
.vv-journey li::before { content: ""; position: absolute; left: -22px; top: 12px; width: 7px; height: 7px; border-radius: 50%; background: var(--ink-2); border: 1px solid var(--mute-dark); }
.vv-journey li.is-drop::before { background: var(--lime); border-color: var(--lime); box-shadow: 0 0 0 4px rgba(213, 239, 120, .18); }
.vv-journey li.is-drop b { display: block; font-weight: 500; color: var(--lime); }
.vv-journey li.is-drop em { display: block; font-style: normal; font-size: .76rem; color: var(--mute-dark); }
.vv-journey li.is-goal { color: var(--mute-dark); }
.vv-journey li.is-goal::before { border-style: dashed; border-color: var(--pen); }
.vv-journey li.is-goal span { border-bottom: 1px dashed var(--pen); }
.panel.is-active .vv-journey li { opacity: 1; transform: none; }
.panel.is-active .vv-journey li:nth-child(2) { transition-delay: .12s; }
.panel.is-active .vv-journey li:nth-child(3) { transition-delay: .24s; }
.panel.is-active .vv-journey li:nth-child(4) { transition-delay: .36s; }
.panel.is-active .vv-journey li:nth-child(5) { transition-delay: .48s; opacity: .7; }
.vv-gauge { position: absolute; right: 4%; bottom: 7%; width: 46%; }
.vv-gauge-label { margin: 0 0 10px; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mute-dark); }
.vv-bar { position: relative; height: 12px; background: rgba(234, 229, 218, .08); border-radius: 2px; }
.vv-now { position: absolute; left: 0; top: 0; bottom: 0; width: 22.8%; background: linear-gradient(90deg, var(--paper) 62%, rgba(234, 229, 218, .45) 62%); border-radius: 2px; transform-origin: 0 50%; transform: scaleX(0); transition: transform 1.1s .3s var(--ease-out); }
.vv-target { position: absolute; left: 71.4%; width: 14.3%; top: -4px; bottom: -4px; border: 1px dashed var(--pen); background: repeating-linear-gradient(45deg, rgba(52, 87, 255, .5) 0 2px, transparent 2px 6px); opacity: 0; transition: opacity .8s .9s; }
.panel.is-active .vv-now { transform: scaleX(1); }
.panel.is-active .vv-target { opacity: 1; }
.vv-scale { display: flex; justify-content: space-between; margin-top: 10px; font-size: .78rem; color: var(--mute-dark); }
.vv-scale span:last-child { color: var(--paper); }

/* --- 02 SIP --- */
.v-sip { background: var(--paper-deep); color: var(--ink); }
.sp-phone { position: absolute; left: 6%; top: 50%; width: min(48%, 300px); transform: translateY(-50%); background: #fbfaf6; border-radius: 30px; padding: 14px 14px 18px; box-shadow: 0 0 0 1px var(--rule), 0 40px 70px -40px rgba(24, 24, 23, .45); }
.sp-top { display: flex; align-items: center; justify-content: space-between; padding: 2px 4px 12px; border-bottom: 1px solid var(--paper-deep); font-size: .8rem; }
.sp-back { font-size: 1.2rem; line-height: 1; color: var(--ink-soft); }
.sp-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--pen); }
.sp-chat { display: flex; flex-direction: column; gap: 8px; padding-top: 12px; font-size: .74rem; line-height: 1.35; }
.sp-msg { margin: 0; }
.sp-user { align-self: flex-end; max-width: 86%; background: var(--ink); color: var(--paper); padding: 8px 11px; border-radius: 14px 14px 4px 14px; }
.sp-bot { background: var(--paper); border-radius: 4px 14px 14px 14px; padding: 9px 11px; display: grid; gap: 7px; }
.sp-part { margin: 0; display: grid; gap: 4px; }
.sp-part b { font-size: .6rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--pen); }
.sp-part i, .mf-sheet i, .rp-sec i { display: block; height: 6px; border-radius: 3px; background: currentColor; opacity: .14; width: 92%; }
i.w30 { width: 30%; } i.w40 { width: 40%; } i.w50 { width: 50%; } i.w55 { width: 55%; } i.w60 { width: 60%; } i.w70 { width: 70%; } i.w75 { width: 75%; } i.w80 { width: 80%; } i.w85 { width: 85%; }
.sp-chips { display: flex; flex-wrap: wrap; gap: 4px; }
.sp-chips span { font-size: .6rem; padding: 2px 7px; border: 1px solid var(--rule); border-radius: 999px; background: #fbfaf6; }
.sp-unsafe-wrap { position: relative; margin-top: 2px; min-height: 64px; }
.sp-unsafe { position: relative; width: 86%; padding: 8px 11px; border-radius: 4px 14px 14px 14px; background: #fff; border: 1px dashed var(--ink-soft); color: var(--ink); opacity: 0; transform: translateY(26px); }
.sp-unsafe-text { position: relative; }
.sp-unsafe-text::after { content: ""; position: absolute; left: 0; right: 0; top: 52%; height: 1.5px; background: var(--pen); transform: scaleX(0); transform-origin: 0 50%; }
.sp-gate { position: absolute; left: -14px; right: -14px; top: -6px; height: 0; border-top: 1.5px dashed var(--pen); opacity: .35; }
.sp-gate span { position: absolute; right: 18px; top: -10px; padding: 2px 8px; border-radius: 999px; font-size: .56rem; letter-spacing: .12em; text-transform: uppercase; background: var(--pen); color: var(--paper); }
.sp-fallback { position: absolute; left: 0; top: 6px; width: 86%; padding: 8px 11px; border-radius: 4px 14px 14px 14px; background: rgba(52, 87, 255, .1); border: 1px solid rgba(52, 87, 255, .35); opacity: 0; transform: translateY(8px); }
.sp-fallback b { color: var(--pen); font-weight: 500; margin-right: 4px; }
.v-sip.gate-run .sp-unsafe { animation: unsafeIn 2.6s var(--ease-out) forwards; }
.v-sip.gate-run .sp-unsafe-text::after { animation: strike .5s 1.05s var(--ease-io) forwards; }
.v-sip.gate-run .sp-gate { animation: gateFlash 2.6s forwards; }
.v-sip.gate-run .sp-fallback { animation: fallbackIn .7s 1.75s var(--ease-out) forwards; }
@keyframes unsafeIn { 0% { opacity: 0; transform: translateY(26px); } 30% { opacity: 1; transform: translateY(4px); } 42% { transform: translateY(10px); } 62% { opacity: 1; transform: translateY(10px); } 100% { opacity: 0; transform: translateY(26px); } }
@keyframes strike { to { transform: scaleX(1); } }
@keyframes gateFlash { 0%, 28% { opacity: .35; } 34% { opacity: 1; } 60% { opacity: 1; } 100% { opacity: .55; } }
@keyframes fallbackIn { to { opacity: 1; transform: none; } }
.v-sip.gate-done .sp-fallback { opacity: 1; transform: none; }
.v-sip.gate-done .sp-gate { opacity: .55; }
.sp-checks { position: absolute; right: 5%; top: 24%; width: 38%; list-style: none; margin: 0; padding: 14px 16px; background: var(--paper); border: 1px solid var(--rule); border-radius: 6px; font-size: .78rem; }
.sp-checks p { margin: 0 0 8px; font-size: .64rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.sp-checks ul { list-style: none; margin: 0; padding: 0; }
.sp-checks li { display: flex; gap: 8px; align-items: center; padding: 3px 0; }
.sp-checks li::before { content: ""; width: 12px; height: 12px; flex: none; border-radius: 50%; border: 1px solid var(--pen); background: radial-gradient(circle, var(--pen) 0 3px, transparent 3.5px); opacity: .35; transition: opacity .4s; }
.panel.is-active .sp-checks li::before { opacity: 1; }
.panel.is-active .sp-checks li:nth-child(2)::before { transition-delay: .1s; } .panel.is-active .sp-checks li:nth-child(3)::before { transition-delay: .2s; } .panel.is-active .sp-checks li:nth-child(4)::before { transition-delay: .3s; } .panel.is-active .sp-checks li:nth-child(5)::before { transition-delay: .4s; } 
.sp-timeline { position: absolute; right: 5%; bottom: 9%; width: 38%; }
.sp-tl-label { margin: 0 0 12px; font-size: .72rem; color: var(--ink-soft); }
.sp-timeline ol { position: relative; display: flex; justify-content: space-between; list-style: none; margin: 0; padding: 0; }
.sp-timeline ol::before { content: ""; position: absolute; left: 6px; right: 6px; top: 6px; height: 1px; background: var(--rule); }
.sp-timeline li { position: relative; display: grid; justify-items: center; gap: 6px; font-size: .66rem; color: var(--ink-soft); }
.sp-timeline i { width: 13px; height: 13px; border-radius: 50%; background: var(--ink); }
.sp-timeline .miss i { background: var(--paper); border: 2px solid var(--pen); box-shadow: 0 0 0 4px rgba(52, 87, 255, .15); }
.sp-timeline .miss span { color: var(--pen); font-weight: 500; }
.sp-timeline .ghost i { background: var(--paper-deep); border: 1px dashed var(--ink-soft); }
.sp-try { position: absolute; z-index: 3; right: 5%; top: 8%; display: inline-flex; align-items: center; gap: 9px; padding: 9px 15px; border-radius: 999px; border: 1px solid var(--ink); background: var(--paper); cursor: pointer; font-size: .82rem; font-weight: 500; transition: background-color .3s, color .3s; }
.sp-try:hover { background: var(--ink); color: var(--paper); }
.sp-try-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--pen); }
.motion .sp-try-dot { animation: dotPulse 1.8s ease-in-out infinite; }
@keyframes dotPulse { 50% { opacity: .3; } }

/* --- 03 MF facts --- */
.v-mf { color: var(--paper); }
.v-mf .pv-grid { opacity: .12; }
.mf-sheet { position: absolute; left: 4%; top: 7%; width: 56%; padding: 16px 18px 14px; border-radius: 6px; background: var(--paper); color: var(--ink); box-shadow: 0 30px 60px -30px rgba(10, 18, 70, .6); rotate: -3deg; }
.mf-sheet-head { display: flex; justify-content: space-between; align-items: baseline; margin: 0 0 8px; padding-bottom: 8px; border-bottom: 1px solid var(--ink); font-size: .82rem; }
.mf-sheet-head span { font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; color: var(--pen); }
.mf-sheet dl { margin: 0; }
.mf-sheet dl div { display: grid; grid-template-columns: 9.5em 1fr; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--rule); font-size: .7rem; }
.mf-sheet dt { color: var(--ink-soft); }
.mf-sheet dd { margin: 0; }
.mf-risk { display: flex; gap: 3px; }
.mf-risk span { flex: 1; height: 7px; border-radius: 2px; background: var(--ink); }
.mf-risk span:nth-child(1) { opacity: .1; } .mf-risk span:nth-child(2) { opacity: .2; } .mf-risk span:nth-child(3) { opacity: .3; } .mf-risk span:nth-child(4) { opacity: .45; } .mf-risk span:nth-child(5) { opacity: .6; } .mf-risk span:nth-child(6) { opacity: .75; }
.mf-cite { margin: 10px 0 0; font-size: .62rem; color: var(--pen); }
.mf-chat { position: absolute; left: 3%; bottom: 7%; width: 58%; display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: 10px; background: var(--ink); font-size: .76rem; line-height: 1.35; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); z-index: 2; }
.mf-q { align-self: flex-end; margin: 0; max-width: 85%; padding: 7px 10px; border-radius: 12px 12px 4px 12px; background: rgba(234, 229, 218, .12); }
.mf-a { margin: 0; max-width: 90%; padding: 7px 10px; border-radius: 4px 12px 12px 12px; background: rgba(52, 87, 255, .38); }
.mf-src { display: inline-block; margin-left: 4px; font-size: .62rem; color: var(--lime); }
.mf-reply { position: relative; min-height: 34px; }
.mf-advice, .mf-refuse { display: inline-block; max-width: 92%; padding: 7px 10px; border-radius: 4px 12px 12px 12px; }
.mf-advice { position: absolute; left: 0; top: 0; white-space: nowrap; background: var(--paper); color: var(--ink); opacity: 0; }
.mf-advice::after { content: ""; position: absolute; left: 8px; right: 8px; top: 50%; height: 1.5px; background: var(--pen); transform: scaleX(0); transform-origin: 0 50%; }
.mf-refuse { position: relative; background: rgba(52, 87, 255, .38); opacity: 0; transform: translateY(8px); }
.panel.is-active .mf-advice { animation: adviceHit 2.6s .5s var(--ease-out) forwards; }
.panel.is-active .mf-advice::after { animation: strike .4s 1.55s var(--ease-io) forwards; }
.panel.is-active .mf-refuse { animation: fallbackIn .7s 2.6s var(--ease-out) forwards; }
.panel.is-active .mf-boundary { animation: boundaryHit 2.6s .5s forwards; }
@keyframes adviceHit { 0% { opacity: 0; transform: translateX(0); } 12% { opacity: 1; } 42% { transform: translateX(var(--hit, 120px)); } 50% { transform: translateX(calc(var(--hit, 120px) - 14px)); } 56% { transform: translateX(calc(var(--hit, 120px) - 4px)); } 80% { opacity: 1; transform: translateX(calc(var(--hit, 120px) - 4px)); } 100% { opacity: 0; transform: translateX(calc(var(--hit, 120px) - 4px)) translateY(6px); } }
@keyframes boundaryHit { 0%, 38% { opacity: .55; } 44% { opacity: 1; box-shadow: 0 0 30px 4px rgba(213, 239, 120, .9); } 80% { opacity: 1; } 100% { opacity: .85; } }
.mf-zone { position: absolute; right: 0; top: 0; bottom: 0; width: 30%; background: repeating-linear-gradient(-45deg, rgba(213, 239, 120, .14) 0 1px, transparent 1px 9px); display: flex; flex-direction: column; justify-content: flex-end; padding: 0 0 18px 16%; font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; }
.mf-zone span { opacity: .7; }
.mf-zone b { font-weight: 500; color: var(--lime); }
.mf-boundary { position: absolute; left: 70%; top: -6%; height: 112%; width: 0; border-left: 2px solid var(--lime); opacity: .55; box-shadow: 0 0 18px rgba(213, 239, 120, .7); }
.mf-boundary span { position: absolute; top: 10%; left: 10px; white-space: nowrap; padding: 3px 9px; border-radius: 999px; background: var(--lime); color: var(--ink); font-size: .6rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }

/* --- 04 ReviewPulse --- */
.v-rp { background: radial-gradient(80% 70% at 50% 40%, rgba(52, 87, 255, .14), transparent 70%); }
.rp-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.rp-bucket { position: absolute; left: 50%; top: 7%; transform: translateX(-50%); white-space: nowrap; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mute-dark); transition: opacity .5s; }
.rp-themes { position: absolute; left: 0; right: 0; top: 64%; transition: opacity .5s; opacity: 0; }
.rp-themes span { position: absolute; transform: translateX(-50%); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--lime); white-space: nowrap; }
.rp-themes span:nth-child(1) { left: 12%; } .rp-themes span:nth-child(2) { left: 30%; } .rp-themes span:nth-child(3) { left: 48%; }
.rp-note { position: absolute; right: 5%; bottom: 8%; width: min(36%, 300px); padding: 16px 18px; border-radius: 6px; background: var(--paper); color: var(--ink); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8); opacity: 0; transform: translateY(26px) rotate(1.5deg); transition: opacity .6s, transform .9s var(--ease-out); }
.rp-note-head { display: flex; justify-content: space-between; align-items: baseline; margin: 0 0 10px; padding-bottom: 8px; border-bottom: 1px solid var(--ink); font-size: .9rem; }
.rp-note-head b { font-family: var(--display); font-weight: 400; font-size: 1.2rem; }
.rp-note-head span { font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--pen); }
.rp-sec { display: grid; gap: 5px; padding: 6px 0; }
.rp-sec b { font-size: .6rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.rp-sec i.q { opacity: .3; background: var(--pen); }
.rp-sec i.a { opacity: .9; background: var(--lime); }
.v-rp[data-phase="1"] .rp-bucket, .v-rp[data-phase="2"] .rp-bucket, .v-rp[data-phase="3"] .rp-bucket { opacity: 0; }
.v-rp[data-phase="2"] .rp-themes, .v-rp[data-phase="3"] .rp-themes { opacity: 1; }
.v-rp[data-phase="3"] .rp-note { opacity: 1; transform: rotate(1.5deg); }

.in-progress { display: flex; align-items: baseline; max-width: 1440px; margin: 0 auto; padding: 22px var(--gutter) clamp(56px, 10vh, 110px); color: var(--mute-dark); background: var(--ink); }
.work .in-progress { max-width: none; }

/* custom cursor chip (desktop, over project panels) */
.cursor-chip { position: fixed; left: 0; top: 0; z-index: 70; pointer-events: none; padding: 9px 14px; border-radius: 999px; background: var(--paper); color: var(--ink); font-size: .78rem; font-weight: 500; letter-spacing: .02em; opacity: 0; transform: translate3d(-100px, -100px, 0) scale(.6); transition: opacity .25s, scale .35s var(--ease-out); white-space: nowrap; }
.cursor-chip.is-on { opacity: 1; }
.cursor-chip.on-light { background: var(--ink); color: var(--paper); }

/* =========================================================
   HOW I WORK
   ========================================================= */
.process { --bg: var(--paper); --fg: var(--ink); --fg-soft: var(--ink-soft); --rl: var(--rule); position: relative; background: var(--bg); color: var(--fg); }
.process-pin { position: relative; max-width: 1440px; margin-inline: auto; padding: clamp(90px, 14vh, 160px) var(--gutter); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 96px); }
.process .eyebrow { color: var(--fg-soft); }
.process-title { font-family: var(--display); font-weight: 400; font-size: clamp(3.2rem, 8.4vw, 9.6rem); line-height: .86; letter-spacing: -.035em; margin: .16em 0 .28em; }
.process-sub { margin: 0; color: var(--fg-soft); max-width: 30ch; font-size: 1.1rem; }
.process-frame { display: none; }
.process-right { position: relative; padding-left: 32px; align-self: center; }
.steps-line { position: absolute; left: 0; top: 8px; bottom: 8px; width: 1px; background: var(--rl); }
.steps-line span { position: absolute; inset: 0; background: var(--pen); transform-origin: 50% 0; transform: scaleY(var(--p, 1)); box-shadow: 0 0 10px rgba(52, 87, 255, .55); }
.steps { list-style: none; margin: 0; padding: 0; }
.step { display: grid; grid-template-columns: 4.4rem minmax(0, 1fr); column-gap: 18px; padding: 22px 0; border-top: 1px solid var(--rl); }
.step:first-child { border-top: 0; }
.step-num { position: relative; }
.step-num::before { content: ""; position: absolute; left: -36.5px; top: 9px; width: 10px; height: 10px; border-radius: 50%; background: var(--bg); border: 1px solid var(--fg-soft); transition: background-color .4s, border-color .4s, box-shadow .4s; }
.step.is-active .step-num::before, .step.is-past .step-num::before { background: var(--pen); border-color: var(--pen); }
.step.is-active .step-num::before { box-shadow: 0 0 0 6px rgba(52, 87, 255, .16); }
.step-num { font-family: var(--display); font-size: 2.5rem; line-height: 1; color: var(--fg-soft); transition: color .45s; }
.step.is-active .step-num { color: var(--pen); }
.step-title { font-family: var(--display); font-weight: 400; font-size: clamp(1.65rem, 2.4vw, 2.5rem); line-height: 1.04; letter-spacing: -.01em; margin: 0; transition: opacity .45s; }
.step-text { margin: .55em 0 0; color: var(--fg-soft); max-width: 40ch; font-size: 1.05rem; }
.step-visual { grid-column: 2; margin-top: 18px; max-width: 480px; color: var(--fg); }
.step-visual svg { display: block; width: 100%; height: auto; overflow: visible; }

/* pinned desktop mode */
.process--pinned .process-pin { height: 100vh; padding-top: calc(var(--head-h) + clamp(28px, 5vh, 56px)); padding-bottom: clamp(28px, 5vh, 56px); align-items: stretch; }
.process--pinned .process-left { position: relative; }
.process--pinned .process-left { display: flex; flex-direction: column; }
.process--pinned .process-frame { display: block; position: relative; flex: 1; min-height: 0; max-height: 420px; margin: clamp(36px, 6vh, 64px) 10px 10px; }
.pf-c { position: absolute; width: 14px; height: 14px; border: 0 solid var(--fg-soft); }
.pf-c.tl { left: -10px; top: -10px; border-left-width: 1px; border-top-width: 1px; } .pf-c.tr { right: -10px; top: -10px; border-right-width: 1px; border-top-width: 1px; }
.pf-c.bl { left: -10px; bottom: -10px; border-left-width: 1px; border-bottom-width: 1px; } .pf-c.br { right: -10px; bottom: -10px; border-right-width: 1px; border-bottom-width: 1px; }
.pf-label { position: absolute; right: 0; top: -30px; font-size: .7rem; letter-spacing: .16em; color: var(--fg-soft); }
.pf-label b { color: var(--pen); font-weight: 500; }
.process--pinned .step-visual { position: absolute; inset: 14px; margin: 0; max-width: none; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transform: translateY(26px); transition: opacity .55s, transform .8s var(--ease-out), visibility 0s .55s; }
.process--pinned .step-visual svg { width: auto; height: 100%; max-width: 100%; }
.process--pinned .step-visual.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .6s .1s, transform .9s .1s var(--ease-out), visibility 0s; }
.process--pinned .step { padding: 16px 0; }
.process--pinned .step-text { max-height: 0; opacity: 0; overflow: hidden; margin-top: 0; transition: max-height .6s var(--ease-out), opacity .45s, margin .6s var(--ease-out); }
.process--pinned .step.is-active .step-text { max-height: 6em; opacity: 1; margin-top: .55em; }
.process--pinned .step:not(.is-active) .step-title { opacity: .38; }
.process--pinned .step.is-past .step-title { opacity: .55; }
.process--pinned .step.is-active .step-title { font-size: clamp(2rem, 3vw, 3rem); }

/* step visual internals */
.sv-mono, .sv-cols text, .sv-axl, .sv-nos text { font: 500 10px var(--text); letter-spacing: .16em; fill: var(--fg-soft); }
.sv-note { font: italic 400 13px var(--text); fill: var(--fg-soft); }
.sv-note--pen { fill: var(--pen); }
.step-visual * { transform-box: fill-box; transform-origin: center; }
.sv-track { fill: none; stroke: var(--fg); stroke-width: 1.5; }
.sv-break { fill: none; stroke: var(--pen); stroke-width: 1.5; stroke-dasharray: 3 4; }
.sv-screens rect { fill: var(--bg); stroke: var(--fg); stroke-width: 1.4; }
.sv-friction { fill: rgba(52, 87, 255, .12); stroke: var(--pen); stroke-width: 1.6; }
.sv-friction-x { stroke: var(--pen); stroke-width: 2; stroke-linecap: round; }
.sv-drops circle { fill: var(--pen); opacity: 0; transform: translateY(-34px); transition: opacity .5s, transform .9s var(--ease-out); }
.sv-workaround { fill: none; stroke: var(--fg-soft); stroke-width: 1.3; stroke-dasharray: 5 5; }
.is-active .sv-drops circle, html:not(.motion) .sv-drops circle { opacity: 1; transform: none; }
.is-active .sv-drops circle:nth-child(2) { transition-delay: .12s; } .is-active .sv-drops circle:nth-child(3) { transition-delay: .24s; } .is-active .sv-drops circle:nth-child(4) { transition-delay: .36s; } .is-active .sv-drops circle:nth-child(5) { transition-delay: .48s; }
.sv-cols path { stroke: var(--fg); stroke-width: 1; }
.sv-cols { opacity: .25; transition: opacity .6s .5s; }
.is-active .sv-cols, html:not(.motion) .sv-cols { opacity: 1; }
.sv-notes rect { fill: var(--bg); stroke: var(--fg); stroke-width: 1.2; transform: translate(var(--sx), var(--sy)) rotate(var(--r)); transition: transform 1.1s var(--ease-out); }
.sv-notes rect.pen { fill: var(--pen); stroke: var(--pen); }
.is-active .sv-notes rect, html:not(.motion) .sv-notes rect { transform: none; }
.sv-notes rect:nth-child(even) { transition-delay: .08s; } .sv-notes rect:nth-child(3n) { transition-delay: .16s; }
.sv-axis, .sv-quad { fill: none; stroke: var(--fg); stroke-width: 1.2; }
.sv-quad { stroke-dasharray: 3 5; opacity: .5; }
.sv-opts circle { transition: opacity .6s .4s, transform .8s var(--ease-out); }
.sv-opts .no { fill: var(--fg-soft); opacity: .6; }
.sv-opts .yes { fill: var(--pen); }
.is-active .sv-opts .no, html:not(.motion) .sv-opts .no { opacity: .18; }
.sv-pick { fill: none; stroke: var(--pen); stroke-width: 1.5; stroke-dasharray: 4 4; opacity: 0; transform: scale(.5); transition: opacity .5s .6s, transform .8s .6s var(--ease-out); }
.is-active .sv-pick, html:not(.motion) .sv-pick { opacity: 1; transform: none; }
.sv-nos, .sv-ice .sv-note { opacity: 0; transition: opacity .5s .9s; }
.is-active .sv-nos, .is-active .sv-ice .sv-note, html:not(.motion) .sv-nos, html:not(.motion) .sv-ice .sv-note { opacity: 1; }
.sv-device { fill: var(--bg); stroke: var(--fg); stroke-width: 1.5; }
.sv-wf rect { fill: none; stroke: var(--fg-soft); stroke-width: 1.2; stroke-dasharray: 4 4; }
.sv-real rect { opacity: 0; transform: scale(.94); transition: opacity .5s, transform .6s var(--ease-out); }
.sv-real .r1 { fill: var(--fg); } .sv-real .r2 { fill: var(--pen); } .sv-real .r3, .sv-real .r4 { fill: var(--fg-soft); } .sv-real .r5 { fill: var(--fg); }
.is-active .sv-real rect, html:not(.motion) .sv-real rect { opacity: 1; transform: none; }
.is-active .sv-real .r2 { transition-delay: .15s; } .is-active .sv-real .r3 { transition-delay: .3s; } .is-active .sv-real .r4 { transition-delay: .4s; } .is-active .sv-real .r5 { transition-delay: .55s; }
.sv-tap circle { fill: none; stroke: var(--lime); stroke-width: 2; opacity: 0; }
.sv-tap circle + circle { fill: var(--lime); stroke: none; }
.motion .is-active .sv-tap circle { animation: tap 2s 1s ease-out infinite; }
@keyframes tap { 0% { opacity: 0; transform: scale(.4); } 20% { opacity: 1; transform: scale(1); } 60%, 100% { opacity: 0; transform: scale(1.4); } }
.sv-arrow { fill: none; stroke: var(--fg-soft); stroke-width: 1.3; }
.sv-arrow--pen { stroke: var(--pen); }
.sv-card { fill: var(--bg); stroke: var(--fg); stroke-width: 1.2; }
.sv-card--lim { stroke: var(--pen); stroke-dasharray: 5 4; }
.sv-card-h { font: 400 18px var(--display); fill: var(--fg); }
.sv-check-c { fill: var(--pen); }
.sv-check { fill: none; stroke: var(--paper); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sv-res-bar { fill: var(--rl); }
.sv-res-fill { fill: var(--pen); transform-origin: left center; transform: scaleX(0); transition: transform 1s .2s var(--ease-out); }
.is-active .sv-res-fill, html:not(.motion) .sv-res-fill { transform: none; }
.sv-line { fill: var(--fg-soft); opacity: .4; }
.sv-lims path { stroke: var(--pen); stroke-width: 1.5; }
.sv-lims rect { fill: var(--fg-soft); opacity: .45; }
.sv-lims > * { opacity: 0; transition: opacity .4s; }
.is-active .sv-lims > *, html:not(.motion) .sv-lims > * { opacity: 1; }
.is-active .sv-lims > *:nth-child(n+3) { transition-delay: .5s; } .is-active .sv-lims > *:nth-child(n+5) { transition-delay: .8s; } .is-active .sv-lims > *:nth-child(n+7) { transition-delay: 1.1s; }

/* =========================================================
   ABOUT
   ========================================================= */
.about { position: relative; overflow: hidden; background: var(--paper); padding: clamp(110px, 18vh, 200px) 0 clamp(90px, 14vh, 160px); }
.about-ghost { position: absolute; left: 0; top: clamp(20px, 5vh, 56px); margin: 0; white-space: nowrap; font-family: var(--display); font-size: clamp(5rem, 19vw, 23rem); line-height: 1; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1px var(--rule); pointer-events: none; user-select: none; will-change: transform; }
.about-grid { position: relative; max-width: 1440px; margin-inline: auto; padding-inline: var(--gutter); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 clamp(16px, 2.4vw, 40px); }
.about-copy { grid-column: 1 / span 6; padding-top: clamp(40px, 10vh, 120px); }
.about-title { font-family: var(--display); font-weight: 400; font-size: clamp(3.4rem, 9.2vw, 10.4rem); line-height: .86; letter-spacing: -.035em; margin: .14em 0 .34em; white-space: nowrap; }
.about-title em { font-style: normal; color: var(--pen); }
.about-text p { margin: 0 0 1em; font-size: clamp(1.05rem, 1.35vw, 1.28rem); line-height: 1.52; max-width: 44ch; }
.about-text p:first-child { color: var(--ink); }
.about-text p + p { color: var(--ink-soft); }
.collage { grid-column: 8 / span 5; position: relative; min-height: clamp(420px, 60vh, 600px); margin-top: clamp(40px, 10vh, 120px); }
.cl-card { position: absolute; border-radius: 6px; padding: 14px 16px; box-shadow: 0 30px 60px -36px rgba(24, 24, 23, .5); transition: translate .8s var(--ease-out); }
.cl-label { margin: 0 0 10px; font-size: .64rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
.cl-notes { left: 0; top: 2%; width: 60%; height: 44%; background: var(--paper-hi); border: 1px solid var(--rule); rotate: -4deg; color: var(--ink-soft); }
.cl-sticky { position: absolute; width: 26%; height: 24%; border-radius: 2px; background: var(--paper-deep); border: 1px solid var(--rule); }
.cl-sticky.s1 { left: 8%; top: 32%; } .cl-sticky.s2 { left: 38%; top: 30%; rotate: 4deg; } .cl-sticky.s3 { left: 68%; top: 34%; rotate: -3deg; }
.cl-sticky.s4 { left: 10%; top: 64%; rotate: 3deg; } .cl-sticky.s5 { left: 40%; top: 66%; } .cl-sticky.s6 { left: 70%; top: 64%; rotate: 5deg; }
.cl-sticky.pen { background: var(--pen); border-color: var(--pen); }
.cl-sticky.lime { background: var(--lime); border-color: #c3dd66; }
.cl-path { right: 0; top: 28%; width: 66%; background: var(--ink); color: var(--paper); rotate: 3deg; }
.cl-path .cl-label { color: var(--mute-dark); }
.cl-path svg { display: block; width: 100%; height: auto; }
.cl-path .cl-base { fill: none; stroke: var(--rule-dark); stroke-width: 2; }
.cl-path .cl-blue { fill: none; stroke: var(--pen); stroke-width: 2.5; stroke-dasharray: 1; stroke-dashoffset: var(--cl, 0); stroke-linecap: round; }
.cl-path circle { fill: var(--ink); stroke: var(--paper); stroke-width: 1.5; }
.cl-path circle.end { fill: var(--pen); stroke: var(--pen); }
.cl-ice { left: 6%; bottom: 3%; width: 50%; background: var(--pen); color: var(--paper); rotate: -2deg; }
.cl-ice ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.cl-ice li { display: grid; grid-template-columns: 1.2em 1fr; align-items: center; gap: 10px; font-family: var(--display); font-size: 1.1rem; }
.cl-ice i { display: block; height: 7px; border-radius: 4px; background: rgba(234, 229, 218, .25); position: relative; overflow: hidden; }
.cl-ice i::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: var(--w); background: var(--paper); border-radius: inherit; }
.cl-stamp { position: absolute; right: 6%; bottom: 10%; display: grid; place-items: center; width: clamp(104px, 9vw, 132px); aspect-ratio: 1; border-radius: 50%; background: var(--lime); color: var(--ink); font-family: var(--display); font-size: clamp(.95rem, 1.1vw, 1.1rem); line-height: 1.05; text-align: center; rotate: 12deg; box-shadow: 0 20px 40px -24px rgba(24, 24, 23, .6); }
.collage:hover .cl-notes { translate: -10px -8px; }
.collage:hover .cl-path { translate: 12px -4px; }
.collage:hover .cl-ice { translate: -8px 10px; }
.spec { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(16px, 2.4vw, 40px); margin: clamp(56px, 10vh, 110px) 0 0; border-top: 1px solid var(--ink); }
.spec div { padding: 16px 0 20px; border-bottom: 1px solid var(--rule); }
.spec dt { font-size: .7rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
.spec dd { margin: 6px 0 0; font-family: var(--display); font-size: clamp(1.15rem, 1.5vw, 1.45rem); line-height: 1.2; }

/* generic reveal */
.motion [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1s, transform 1.2s var(--ease-out); }
.motion [data-reveal].is-in { opacity: 1; transform: none; }

/* =========================================================
   CONTACT
   ========================================================= */
.contact { position: relative; display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; background: var(--ink); color: var(--paper); }
.contact-inner { flex: 1; display: flex; flex-direction: column; justify-content: center; width: 100%; max-width: 1440px; margin-inline: auto; padding: clamp(110px, 18vh, 200px) var(--gutter) clamp(48px, 8vh, 80px); }
.contact-lede { margin: 26px 0 clamp(20px, 3vh, 32px); font: inherit; font-size: clamp(1.15rem, 1.7vw, 1.55rem); line-height: 1.35; color: var(--mute-dark); max-width: 34ch; }
.mail-row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 18px 28px; }
.mail { position: relative; display: inline-block; max-width: 100%; padding-bottom: .1em; font-family: var(--display); font-size: clamp(2.2rem, 7.2vw, 7.8rem); line-height: 1; letter-spacing: -.025em; color: var(--paper); text-decoration: none; transition: transform .7s var(--ease-out), color .35s; }
.mail-text { overflow-wrap: anywhere; }
.mail-line { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--pen); transform: scaleX(0); transform-origin: 100% 50%; transition: transform .8s var(--ease-out); box-shadow: 0 0 14px rgba(52, 87, 255, .8); }
.mail:hover, .mail:focus-visible { transform: translateX(.06em); }
.mail:hover .mail-line, .mail:focus-visible .mail-line { transform: scaleX(1); transform-origin: 0 50%; }
.motion [data-mail] .mail-text { display: inline-block; clip-path: inset(0 100% 0 0); transition: clip-path 1.4s var(--ease-io); }
.motion [data-mail].is-in .mail-text { clip-path: inset(0 0 -10% 0); }
.copy { display: inline-flex; align-items: center; gap: 9px; margin-bottom: .9em; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--rule-dark); background: transparent; cursor: pointer; font-size: .9rem; transition: border-color .3s, background-color .3s, color .3s; }
.copy svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.copy:hover { border-color: var(--paper); }
.copy.is-done { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.contact-links { display: flex; flex-wrap: wrap; gap: 14px clamp(28px, 4vw, 64px); list-style: none; margin: clamp(40px, 7vh, 72px) 0 0; padding: 22px 0 0; border-top: 1px solid var(--rule-dark); }
.contact-links a { display: inline-flex; align-items: center; gap: 12px; font-family: var(--display); font-size: clamp(1.5rem, 2.4vw, 2.2rem); text-decoration: none; transition: color .3s; }
.contact-links a:hover { color: var(--pen); }
.contact-links a:hover .arrow { transform: translateX(5px); }
.contact-links a:hover .arrow--out { transform: translate(3px, -3px); }
.contact-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; width: 100%; max-width: 1440px; margin-inline: auto; padding: 22px var(--gutter) 30px; border-top: 1px solid var(--rule-dark); color: var(--mute-dark); font-size: .88rem; }
.contact-foot p { margin: 0; }
.motion-toggle { background: none; border: 1px solid var(--rule-dark); border-radius: 999px; padding: 7px 14px; cursor: pointer; color: var(--mute-dark); font-size: .82rem; transition: color .3s, border-color .3s; }
.motion-toggle b { font-weight: 500; color: var(--paper); }
.motion-toggle:hover { border-color: var(--mute-dark); color: var(--paper); }
.to-top { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--paper); }
.to-top svg { width: 34px; height: 34px; padding: 9px; border-radius: 50%; border: 1px solid var(--rule-dark); fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: transform .5s var(--ease-out), background-color .3s, border-color .3s; }
.to-top:hover svg { transform: translateY(-4px); background: var(--pen); border-color: var(--pen); }

/* =========================================================
   CASE STUDIES & RÉSUMÉ (shared, unchanged structure)
   ========================================================= */
.site-foot { padding-block: 28px 40px; color: var(--ink-soft); font-size: .9rem; }
.case-top { padding-block: clamp(40px, 9vh, 110px) clamp(32px, 5vw, 64px); }
.case-top .kind { margin: 0 0 18px; color: var(--ink-soft); }
.case-top h1 { font-family: var(--display); font-weight: 400; font-size: clamp(3rem, 10vw, 10.5rem); line-height: .9; letter-spacing: -.025em; margin: 0; }
.case-top .teaser { font-size: clamp(1.2rem, 1.9vw, 1.6rem); line-height: 1.35; max-width: 34ch; margin: 28px 0 0; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 32px; margin: 0; padding-block: 18px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule); }
.facts dt { color: var(--ink-soft); font-size: .9rem; }
.facts dd { margin: 2px 0 0; }
.live { padding-block: clamp(40px, 6vw, 72px) 0; }
.frame { background: var(--paper-deep); border: 1px solid var(--rule); min-height: 300px; display: grid; place-items: center; text-align: center; padding: 32px; }
.frame p { margin: 0 0 18px; color: var(--ink-soft); max-width: 40ch; }
.frame.is-live { padding: 0; display: block; }
.frame iframe { display: block; width: 100%; height: min(78vh, 760px); border: 0; background: #fff; }
.live .under { display: flex; justify-content: space-between; gap: 16px; padding-top: 10px; font-size: .95rem; color: var(--ink-soft); flex-wrap: wrap; }
.under-links { display: flex; gap: 20px; flex-wrap: wrap; }
.story { padding-block: clamp(48px, 7vw, 96px); }
.chapter { display: grid; grid-template-columns: minmax(0, 14rem) minmax(0, var(--measure)) minmax(0, 15rem); gap: 12px 48px; padding-block: 34px; border-top: 1px solid var(--rule); }
.chapter h2 { font-family: var(--display); font-weight: 400; font-size: 1.7rem; line-height: 1.1; margin: 0; }
.chapter .body p { margin: 0 0 1em; }
.chapter .body p:last-child { margin-bottom: 0; }
.margin { list-style: none; margin: 0; padding: 0; }
.margin li { color: var(--pen-ink); font-style: italic; line-height: 1.35; padding-left: 14px; border-left: 2px solid var(--pen); margin-bottom: 14px; }
.chapter.limits h2, .chapter.limits .body { color: var(--ink-soft); }
.next { display: block; text-decoration: none; border-top: 1px solid var(--ink); padding-block: 28px 64px; }
.next span { color: var(--ink-soft); }
.next b { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(2.2rem, 6vw, 6rem); line-height: .95; letter-spacing: -.02em; transition: color .3s, transform .6s var(--ease-out); }
.next:hover b { color: var(--pen); transform: translateX(.08em); }
.exhibit { margin: 0; padding: 30px 0 36px; border-top: 1px solid var(--rule); display: grid; grid-template-columns: minmax(0, 14rem) minmax(0, 1fr); gap: 16px 48px; }
.exhibit-title { margin: 0; font-family: var(--display); font-size: 1.35rem; line-height: 1.15; }
.exhibit figcaption { grid-column: 2; color: var(--ink-soft); font-size: .95rem; max-width: 62ch; }
.bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.bars li { display: grid; grid-template-columns: minmax(0, 1fr) 2.5rem; gap: 6px 14px; align-items: center; }
.bar-label { grid-column: 1 / -1; }
.bar-track { height: 14px; background: var(--paper-deep); border: 1px solid var(--rule); }
.bar-fill { display: block; height: 100%; background: var(--pen); }
.bar-val { font-family: var(--display); font-size: 1.5rem; line-height: 1; text-align: right; }
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 0; }
.flow li { position: relative; padding: 16px 18px 18px; background: var(--paper-deep); border: 1px solid var(--rule); margin-right: 22px; }
.flow li:last-child { margin-right: 0; background: var(--ink); color: var(--paper); border-color: var(--ink); }
.flow li:not(:last-child)::after { content: ""; position: absolute; top: 50%; right: -17px; width: 12px; height: 12px; border-top: 2px solid var(--ink); border-right: 2px solid var(--ink); transform: translateY(-50%) rotate(45deg); }
.flow b { display: block; font-weight: 500; margin-bottom: 4px; }
.flow span { display: block; font-size: .92rem; line-height: 1.4; color: var(--ink-soft); }
.flow li:last-child span { color: var(--paper-deep); }
.fork { margin: 12px 0 0; padding-left: 10px; border-left: 2px solid var(--pen); color: var(--pen-ink); font-style: italic; font-size: .9rem; line-height: 1.35; }
.resume { max-width: 820px; padding-block: clamp(32px, 6vw, 72px) 48px; }
.r-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; padding-bottom: 18px; border-bottom: 1px solid var(--ink); }
.resume h1 { font-family: var(--display); font-weight: 400; font-size: clamp(2.4rem, 6vw, 4rem); line-height: 1; margin: 0; }
.r-head { margin: 10px 0 0; }
.r-contact { margin: 8px 0 0; color: var(--ink-soft); display: flex; gap: 6px 18px; flex-wrap: wrap; font-size: .95rem; }
.resume section { padding-top: 22px; }
.resume h2 { font-family: var(--display); font-weight: 400; font-size: 1.5rem; margin: 0 0 8px; }
.r-entry { padding: 8px 0; }
.r-line { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.r-line span { color: var(--ink-soft); font-size: .95rem; }
.r-sub { margin: 2px 0 0; color: var(--ink-soft); }
.r-entry ul { margin: 6px 0 0; padding-left: 1.1em; }
.r-entry li { margin-bottom: 4px; }
.r-skills p { margin: 0 0 6px; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1180px) {
  .hero-lower { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .hero-foot { max-width: 60ch; }
  .journey { order: -1; }
  .journey-svg { max-height: none; }
  .about-copy { grid-column: 1 / -1; }
  .collage { grid-column: 1 / -1; max-width: 640px; width: 100%; justify-self: end; margin-top: 40px; }
  .spec { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1023px) {
  .panel { grid-template-columns: minmax(0, 1fr); }
  .panel-visual { min-height: 420px; }
  .panel-kind { margin-top: 20px; }
  .process-pin { grid-template-columns: minmax(0, 1fr); }
  .process-right { padding-left: 30px; }
}
@media (max-width: 960px) {
  .chapter { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .margin { display: flex; flex-wrap: wrap; gap: 8px 20px; }
  .margin li { margin: 0; }
  .exhibit { grid-template-columns: minmax(0, 1fr); }
  .exhibit figcaption { grid-column: 1; }
  .flow { grid-auto-flow: row; grid-auto-columns: auto; gap: 26px; }
  .flow li { margin-right: 0; }
  .flow li:not(:last-child)::after { top: auto; bottom: -21px; right: auto; left: 22px; transform: rotate(135deg); }
}
@media (max-width: 760px) {
  :root { --head-h: 60px; }
  body { font-size: 17px; }
  .site-head.has-menu .menu-toggle { display: inline-flex; }
  .site-head.has-menu nav { position: fixed; z-index: -1; inset: 0; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 6px; padding: calc(var(--head-h) + 24px) var(--gutter) 48px; background: var(--ink); color: var(--paper); visibility: hidden; clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease-io), visibility 0s .7s; }
  .menu-open .site-head.has-menu nav { visibility: visible; clip-path: inset(0); transition: clip-path .7s var(--ease-io), visibility 0s; }
  .site-head.has-menu nav a { opacity: 1; font-family: var(--display); font-size: clamp(2.6rem, 13vw, 3.6rem); line-height: 1.1; padding: 4px 0; transform: translateY(30px); opacity: 0; transition: transform .7s var(--ease-out), opacity .5s; }
  .menu-open .site-head.has-menu nav a { transform: none; opacity: 1; }
  .menu-open .site-head.has-menu nav a:nth-child(2) { transition-delay: .06s; } .menu-open .site-head.has-menu nav a:nth-child(3) { transition-delay: .12s; } .menu-open .site-head.has-menu nav a:nth-child(4) { transition-delay: .18s; }
  .site-head.has-menu nav a[href$="resume/"] { border: 0; padding: 4px 0; border-radius: 0; color: var(--lime); }
  .site-head.has-menu nav a.is-active::before { left: -14px; }
  .menu-open .site-head { color: var(--paper); }
  .menu-open .site-head::before { opacity: 0; }
  .menu-open, .menu-open body { overflow: hidden; }

  .hero-title { font-size: clamp(2.5rem, 11.4vw, 4rem); line-height: .98; }
  .hero-inner { padding-top: calc(var(--head-h) + 22px); }
  .hero-eyebrow .eyebrow-rule { width: 20px; }
  .journey-cap-hint { display: none; }
  .hero-actions .btn-arrow { width: 100%; justify-content: space-between; }

  .work-intro .eyebrow, .work-title, .work-meta { margin-left: 18px; }
  .work-title { font-size: clamp(3rem, 16vw, 5rem); white-space: normal; }
  .work-meta { grid-template-columns: minmax(0, 1fr); }
  .panel { padding: 22px; }
  .panel-visual { min-height: 0; aspect-ratio: 4 / 5; max-height: 560px; margin-inline: -8px; }
  .vv-phone { left: 4%; height: 62%; margin-top: 0; top: 4%; }
  .vv-journey { width: 48%; right: 3%; top: 5%; font-size: .74rem; }
  .vv-gauge { left: 6%; right: 6%; width: auto; bottom: 5%; }
  .v-sip { aspect-ratio: auto; max-height: none; display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 22px 0; }
  .sp-phone { position: relative; left: auto; top: auto; transform: none; width: min(88%, 320px); }
  .v-sip [data-par] { translate: none !important; }
  .sp-checks, .sp-timeline { display: none; }
  .sp-try { position: relative; top: auto; right: auto; font-size: .82rem; }
  .mf-sheet { width: 76%; top: 5%; }
  .mf-chat { width: 66%; bottom: 5%; }
  .mf-zone { width: 24%; padding: 0; }
  .mf-zone span, .mf-zone b { display: none; }
  .mf-boundary { left: 76%; }
  .mf-boundary span { display: none; }
  .rp-themes { display: none; }
  .rp-note { width: 64%; }
  .hero-eyebrow { flex-wrap: wrap; gap: 4px 10px; }
  .j-label { font-size: 17px; }
  .j-idx, .j-mono, .j-note, .j-hatchbox, .j-back .j-tick { display: none; }

  .process-pin { padding-block: 90px; }
  .step { grid-template-columns: 3.2rem minmax(0, 1fr); column-gap: 12px; }
  .step-num { font-size: 2rem; }
  .step-visual { grid-column: 1 / -1; }

  .about-title { font-size: clamp(3rem, 15vw, 5rem); white-space: normal; }
  .collage { min-height: 420px; }
  .spec { grid-template-columns: minmax(0, 1fr); }

  .mail { font-size: clamp(2rem, 10.6vw, 3.4rem); }
  .copy { margin-bottom: 0; }
  .contact-foot { flex-direction: column; align-items: flex-start; }

  .row { grid-template-columns: minmax(0, 1fr); }
  .facts { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
  .frame iframe { height: 70vh; }
}

/* =========================================================
   REDUCED MOTION / MOTION OFF
   ========================================================= */
html:not(.motion) .panel-visual *, html:not(.motion) .step-visual *, html:not(.motion) .journey * { animation: none !important; transition: none !important; }
html:not(.motion) .vv-journey li { opacity: 1; transform: none; }
html:not(.motion) .vv-now { transform: none; }
html:not(.motion) .vv-target { opacity: 1; }
html:not(.motion) .mf-advice { display: none; }
html:not(.motion) .mf-refuse { opacity: 1; transform: none; }
html:not(.motion) .rp-note { opacity: 1; transform: rotate(1.5deg); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

@media print {
  @page { size: A4; margin: 10mm 12mm; }
  body { background: #fff; font-size: 9pt; line-height: 1.3; }
  body::after, .scroll-progress, .menu-toggle, .cursor-chip { display: none !important; }
  .site-head, .site-foot, .skip, .r-print { display: none !important; }
  .wrap { padding: 0; max-width: none; }
  .resume { padding: 0; max-width: none; }
  .resume h1 { font-size: 22pt; }
  .r-top { padding-bottom: 6px; }
  .r-head, .r-contact { margin-top: 3px; }
  .r-entry ul { margin-top: 2px; }
  .resume h2 { font-size: 13pt; margin-bottom: 2px; }
  .resume section { padding-top: 6px; }
  .r-entry { padding: 3px 0; break-inside: avoid; }
  .r-entry li { margin-bottom: 1px; }
  a { color: inherit; text-decoration: none; }
}
