/* =========================================================
   PixelFluid — Digital Experience Studio
   Pixel ⇄ Fluid. Monochrome UI, liquid color, Geist type.
   ========================================================= */

/* ----------------------- Tokens ------------------------- */
:root {
  --bg:      #050507;
  --bg-2:    #0a0a0f;
  --panel:   rgba(255, 255, 255, 0.025);
  --panel-2: rgba(255, 255, 255, 0.05);
  --line:    rgba(255, 255, 255, 0.08);
  --line-2:  rgba(255, 255, 255, 0.16);

  --text:    #f3f3f6;
  --muted:   #9a9aa8;
  --faint:   #82828f; /* WCAG AA (~5:1) on --bg for small de-emphasised text */

  --iris:    #7b6cff;
  --aqua:    #35e8ff;
  --rose:    #ff5ea8;
  --grad:    linear-gradient(100deg, #7b6cff, #35e8ff 70%);
  --grad-3:  linear-gradient(100deg, #ff5ea8, #7b6cff 45%, #35e8ff);

  --maxw: 1280px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.7, 0, 0.2, 1);
  --sans: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
}

/* ----------------------- Reset -------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  font-weight: 400;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.preloading { overflow: hidden; height: 100vh; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul, ol { list-style: none; padding: 0; }
::selection { background: var(--iris); color: #fff; }

.mono { font-family: var(--mono); font-weight: 400; letter-spacing: 0; font-feature-settings: "ss01"; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
.section { padding: clamp(64px, 8vw, 116px) 0; position: relative; }

.visually-hidden, .skip-link { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link:focus { left: 16px; top: 16px; width: auto; height: auto; clip: auto; padding: 10px 16px; background: var(--iris); color: #fff; border-radius: 8px; z-index: 9999; }

/* ----------------------- Grain ------------------------- */
.grain { position: fixed; inset: -50%; z-index: 9000; pointer-events: none; opacity: 0.04; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 5s steps(5) infinite; }
@keyframes grain { 0%{transform:translate(0,0)}20%{transform:translate(-3%,2%)}40%{transform:translate(2%,-3%)}60%{transform:translate(-2%,-2%)}80%{transform:translate(3%,2%)}100%{transform:translate(0,0)} }

/* ----------------------- Cursor (pixel ⇄ fluid) -------- */
.cursor, .cursor-trail { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9500; opacity: 0; will-change: transform; }
.cursor { width: 8px; height: 8px; margin: -4px 0 0 -4px; background: var(--text); mix-blend-mode: difference;
  transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), border-radius .45s var(--ease), background .3s, opacity .3s; }
.cursor-trail { width: 34px; height: 34px; margin: -17px 0 0 -17px; border: 1px solid var(--line-2); border-radius: 2px;
  transition: width .4s var(--ease), height .4s var(--ease), margin .4s var(--ease), border-radius .5s var(--ease), opacity .4s, border-color .3s; }
.cursor.is-hover { width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; }
.cursor-trail.is-hover { width: 60px; height: 60px; margin: -30px 0 0 -30px; border-radius: 50%; border-color: var(--iris); }
.cursor-trail.is-label::after { content: attr(data-label); position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--text); }
.cursor-trail.is-label { width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: rgba(123,108,255,0.14); border-color: var(--iris); backdrop-filter: blur(2px); }
body.cursor-on, body.cursor-on a, body.cursor-on button, body.cursor-on [data-cursor] { cursor: none; }

/* ----------------------- Scroll progress --------------- */
.scroll-progress { position: fixed; top: 0; left: 0; height: 2px; width: 0; z-index: 9001; background: var(--grad); box-shadow: 0 0 12px rgba(53,232,255,0.6); }

/* ----------------------- Preloader --------------------- */
.preloader { position: fixed; inset: 0; z-index: 9800; background: #050507; transition: opacity .8s var(--ease), visibility .8s; }
.preloader.done { opacity: 0; visibility: hidden; }
.pre-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.pre-line { position: absolute; left: 50%; top: 57%; transform: translateX(-50%); width: min(180px, 40vw); height: 1px; background: var(--line); overflow: hidden; opacity: 0; animation: fadeIn .6s var(--ease) .45s forwards; }
.pre-line > i { display: block; height: 100%; transform: scaleX(0); transform-origin: left; background: var(--grad-3); }
@keyframes fadeIn { to { opacity: 1; } }

/* ----------------------- Header ------------------------ */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; display: flex; align-items: center; gap: 24px;
  padding: 20px clamp(20px, 4vw, 40px); transition: transform .5s var(--ease), background .4s, backdrop-filter .4s, border-color .4s, padding .4s;
  border-bottom: 1px solid transparent; }
.site-header.scrolled { background: rgba(7,7,11,0.6); backdrop-filter: blur(18px) saturate(140%); border-bottom-color: var(--line); padding-top: 14px; padding-bottom: 14px; }
.site-header.hide { transform: translateY(-105%); }

.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 1.02rem; font-weight: 600; letter-spacing: -0.02em; }
.brand-mark { display: grid; place-items: center; }
.brand-tm { font-size: 0.6em; vertical-align: super; color: var(--muted); margin-left: 1px; }

.nav { display: flex; gap: 6px; margin-left: auto; }
.nav a { position: relative; display: inline-flex; align-items: baseline; gap: 7px; padding: 8px 14px; font-size: 0.92rem; color: var(--muted); border-radius: 999px; transition: color .3s, background .3s; }
.nav a:hover { color: var(--text); background: var(--panel-2); }
.nav-i { font-family: var(--mono); font-size: 0.66rem; color: var(--faint); }

.header-cta { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; font-size: 0.9rem; font-weight: 500; border: 1px solid var(--line-2); border-radius: 999px; transition: border-color .3s, background .3s, transform .5s var(--ease); }
.header-cta:hover { border-color: var(--iris); background: var(--panel-2); }
.header-cta-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 10px var(--aqua); }

.nav-toggle { display: none; flex-direction: column; gap: 6px; padding: 10px; margin-left: auto; }
.nav-toggle span { width: 26px; height: 1.5px; background: var(--text); transition: transform .4s var(--ease), opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.75px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.75px) rotate(-45deg); }

.mobile-nav { position: fixed; inset: 0; z-index: 99; display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 0 40px;
  background: rgba(5,5,7,0.97); backdrop-filter: blur(20px); opacity: 0; pointer-events: none; transition: opacity .4s; }
.mobile-nav.open { opacity: 1; pointer-events: auto; }
.mobile-nav a { display: flex; align-items: baseline; gap: 14px; padding: 14px 0; font-size: clamp(2rem, 9vw, 3rem); font-weight: 600; letter-spacing: -0.03em; border-bottom: 1px solid var(--line); }
.mobile-nav a .mono { font-size: 0.9rem; color: var(--faint); }
.mobile-cta { color: var(--iris); border-bottom: none !important; }

/* ----------------------- Buttons ----------------------- */
.btn { position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border-radius: 999px; font-size: 0.98rem; font-weight: 500; letter-spacing: -0.01em; overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s, color .4s; will-change: transform; }
.btn span, .btn .btn-arrow { position: relative; z-index: 1; }
.btn-xl { padding: 22px 40px; font-size: clamp(1.1rem, 2.4vw, 1.5rem); }
.btn-primary { color: #07070b; background: var(--text); }
.btn-primary::before { content: ""; position: absolute; inset: 0; z-index: 0; background: var(--grad-3); transform: translateY(101%); transition: transform .55s var(--ease); }
.btn-primary:hover { color: #07070b; box-shadow: 0 18px 50px -16px rgba(123,108,255,0.6); }
.btn-primary:hover::before { transform: translateY(0); }
.btn-line { color: var(--text); border: 1px solid var(--line-2); }
.btn-line:hover { border-color: var(--text); }
.btn-line .btn-arrow { transition: transform .4s var(--ease); }
.btn-line:hover .btn-arrow { transform: translateY(3px); }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 2px solid var(--aqua); outline-offset: 3px; }

/* ----------------------- Section heads ----------------- */
.sec-head { display: flex; flex-direction: column; gap: 18px; margin-bottom: clamp(48px, 6vw, 84px); }
.sec-label { display: inline-flex; align-items: center; gap: 12px; font-size: 0.8rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.sec-label span:first-child { color: var(--iris); }
.sec-title { font-size: clamp(2.4rem, 6vw, 4.6rem); line-height: 1.0; letter-spacing: -0.045em; font-weight: 600; }

/* ----------------------- HERO -------------------------- */
/* Top/bottom padding balances the fixed header (~72px) and the foot bar (~60px)
   so the content is optically centred, with a slight upward bias toward the headline. */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 84px clamp(20px, 4vw, 40px) 104px; overflow: hidden; }
.fluid-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero-veil { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(120% 90% at 50% 30%, transparent 40%, rgba(5,5,7,0.5) 80%, var(--bg) 100%); }

.hero-content { position: relative; z-index: 2; max-width: 1180px; margin: 0 auto; width: 100%; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 0.82rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; }
.hero-eyebrow .sq { width: 8px; height: 8px; background: var(--grad); }

.hero-title { font-size: clamp(3rem, 11vw, 9rem); line-height: 0.92; letter-spacing: -0.05em; font-weight: 600; margin-top: 26px; }
.hero-title .line { display: block; }
.hero-title em { font-style: normal; background: var(--grad-3); -webkit-background-clip: text; background-clip: text; color: transparent; }

.hero-sub { max-width: 540px; margin-top: 34px; color: var(--muted); font-size: clamp(1.05rem, 1.6vw, 1.2rem); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 40px; }

.hero-foot { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: flex; justify-content: space-between; gap: 16px; padding: 22px clamp(20px, 4vw, 40px); font-size: 0.76rem; color: var(--faint); border-top: 1px solid var(--line); background: linear-gradient(transparent, rgba(5,5,7,0.4)); }
.hero-foot .pulse { margin-right: 7px; }
.hero-foot-r { color: var(--muted); }
/* live status dot (shared) */
.pulse { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #38e8a0; box-shadow: 0 0 8px #38e8a0; animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%,100%{opacity:1}50%{opacity:.3} }

/* Staggered hero entrance (driven by .ready on body) */
.hero-stagger { opacity: 0; transform: translateY(20px); filter: blur(6px); }
body.ready .hero-stagger { animation: focusIn 1s var(--ease) forwards; }
body.ready .hero-eyebrow { animation-delay: .1s; }
body.ready .hero-sub { animation-delay: .85s; }
body.ready .hero-actions { animation-delay: 1s; }
@keyframes focusIn { to { opacity: 1; transform: none; filter: blur(0); } }

/* ----------------------- STATEMENT --------------------- */
.statement { padding: clamp(70px, 10vw, 150px) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.statement-line { font-size: clamp(2rem, 6vw, 4.6rem); line-height: 1.02; letter-spacing: -0.045em; font-weight: 600; margin-top: 22px; }
.cycle { display: inline-block; position: relative; background: var(--grad-3); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cycle::after { content: ""; position: absolute; right: -0.12em; top: 0.14em; bottom: 0.18em; width: 2px; background: var(--aqua); opacity: 0.9; animation: caret 1.1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.disciplines { display: flex; flex-wrap: wrap; gap: 10px 0; margin-top: clamp(32px, 4vw, 52px); }
.disciplines li { position: relative; font-family: var(--mono); font-size: 0.8rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; padding: 0 22px; }
.disciplines li::before { content: ""; position: absolute; left: -2px; top: 50%; width: 4px; height: 4px; margin-top: -2px; background: var(--iris); transform: rotate(45deg); }
.disciplines li:first-child { padding-left: 0; }
.disciplines li:first-child::before { display: none; }

/* ----------------------- MANIFESTO --------------------- */
.manifesto { position: relative; height: 200vh; } /* scroll runway for the morph */
.manifesto-sticky { position: sticky; top: 0; height: 100svh; display: flex; align-items: center; overflow: hidden; }
.manifesto-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.manifesto-veil { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(120% 80% at 50% 50%, transparent 36%, rgba(5,5,7,0.74) 78%, var(--bg) 100%); }
.manifesto-inner { position: relative; z-index: 2; max-width: 1080px; }
.manifesto-text { font-size: clamp(1.7rem, 4.4vw, 3.5rem); line-height: 1.2; letter-spacing: -0.035em; font-weight: 500; margin-top: 28px; }
.manifesto-text em { font-style: normal; color: transparent; background: var(--grad-3); -webkit-background-clip: text; background-clip: text; }

/* pixel-accumulation meter */
.manifesto-meter { display: flex; align-items: center; gap: 16px; margin-top: 52px; max-width: 620px; font-size: 0.72rem; }
.mm-label { color: var(--faint); white-space: nowrap; transition: color .4s; }
.mm-label.mm-r { color: var(--muted); }
.manifesto-meter[data-done="1"] .mm-l { color: var(--faint); }
.manifesto-meter[data-done="1"] .mm-r { color: var(--text); }
.mm-blocks { display: flex; gap: 3px; flex: 1; }
.mm-blocks span { flex: 1; height: 14px; background: rgba(255,255,255,0.05); border-radius: 1px; transition: background .35s var(--ease), box-shadow .35s var(--ease), transform .35s var(--ease); }
.mm-blocks span.on { background: var(--grad-3); }
.mm-blocks span.lead { box-shadow: 0 0 14px rgba(53,232,255,0.7); transform: scaleY(1.5); }
.mm-pct { color: var(--text); font-variant-numeric: tabular-nums; min-width: 3ch; text-align: right; }

/* ----------------------- STATS ------------------------- */
.stats { padding-top: 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; border-top: 1px solid var(--line); padding-top: 56px; }
.stat { display: flex; flex-direction: column; gap: 12px; }
.stat-num { font-size: clamp(2.6rem, 5.5vw, 4.4rem); line-height: 1; letter-spacing: -0.04em; font-weight: 600; }
.stat-label { color: var(--muted); font-size: 0.82rem; }

/* ----------------------- WORK -------------------------- */
.work-list { border-top: 1px solid var(--line); }
.work-item { display: block; position: relative; border-bottom: 1px solid var(--line); overflow: hidden; }
/* canvas where the project name liquefies into pixels (JS-controlled alpha) */
.work-fx { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; pointer-events: none; }
.work-row { position: relative; z-index: 2; display: grid; grid-template-columns: 60px 1fr auto auto 40px; align-items: center; gap: 24px; padding: clamp(24px, 3.4vw, 40px) 6px; transition: padding-left .5s var(--ease), opacity .4s; }
.work-index { color: var(--faint); font-size: 0.85rem; transition: color .4s; }
.work-name { font-size: clamp(1.8rem, 4.6vw, 3.4rem); font-weight: 600; letter-spacing: -0.04em; will-change: opacity; }
.work-tags { color: var(--muted); font-size: 0.82rem; }
.work-year { color: var(--faint); font-size: 0.85rem; }
.work-go { font-size: 1.4rem; color: var(--muted); justify-self: end; transition: transform .5s var(--ease), color .4s; }
.work-item:hover .work-index { color: var(--text); }
.work-item:hover .work-go { transform: translate(4px, -4px); color: var(--text); }

/* dim non-hovered rows for focus */
.work-list.has-hover .work-item:not(:hover) .work-row { opacity: 0.4; }

/* ----------------------- CAPABILITIES ------------------ */
.caps { overflow: hidden; }
.caps > .container { position: relative; z-index: 1; }
.caps-fx { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; }
.caps-list { border-top: 1px solid var(--line); }
.cap { position: relative; display: grid; grid-template-columns: 56px 1fr auto 30px; align-items: center; gap: 24px; padding: clamp(22px, 3vw, 34px) 6px; border-bottom: 1px solid var(--line); overflow: hidden; transition: background .4s; }
.cap::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--grad); transform: scaleY(0); transform-origin: top; transition: transform .5s var(--ease); }
.cap:hover { background: var(--panel); }
.cap:hover::before { transform: scaleY(1); }
.cap-no { color: var(--faint); font-size: 0.85rem; align-self: start; padding-top: 6px; }
.cap-title { font-size: clamp(1.5rem, 3.4vw, 2.4rem); font-weight: 600; letter-spacing: -0.035em; transition: transform .5s var(--ease); }
.cap:hover .cap-title { transform: translateX(8px); }
.cap-desc { color: var(--muted); font-size: 1rem; max-width: 56ch; margin-top: 6px;
  max-height: 0; opacity: 0; overflow: hidden; transform: translateY(-6px); transition: max-height .5s var(--ease), opacity .4s, transform .5s var(--ease); }
.cap:hover .cap-desc { max-height: 120px; opacity: 1; transform: none; }
.cap-meta { color: var(--faint); font-size: 0.8rem; text-align: right; }
.cap-plus { position: relative; width: 18px; height: 18px; justify-self: end; }
.cap-plus::before, .cap-plus::after { content: ""; position: absolute; background: var(--muted); transition: transform .45s var(--ease), background .3s; }
.cap-plus::before { left: 0; right: 0; top: 50%; height: 1.5px; margin-top: -0.75px; }
.cap-plus::after { top: 0; bottom: 0; left: 50%; width: 1.5px; margin-left: -0.75px; }
.cap:hover .cap-plus::after { transform: rotate(90deg); }
.cap:hover .cap-plus::before, .cap:hover .cap-plus::after { background: var(--aqua); }

/* ----------------------- PROCESS (the flow) ------------ */
.process .sec-head { margin-bottom: clamp(36px, 4vw, 56px); }
.journey { position: relative; padding: 40px 0 20px; }
.journey-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.journey-track { position: relative; z-index: 1; }
.journey-line { position: absolute; left: 0; right: 0; top: 28px; height: 2px; background: var(--line); overflow: hidden; }
.journey-fill { position: absolute; inset: 0; transform-origin: left; transform: scaleX(var(--p, 0)); background: var(--grad-3); box-shadow: 0 0 16px rgba(53,232,255,0.5); }
.journey-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.jstep { position: relative; padding-top: 64px; }
.jnode { position: absolute; top: 18px; left: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line-2); display: grid; place-items: center; transition: border-color .4s, box-shadow .5s, transform .5s var(--ease); }
.jnode-core { width: 7px; height: 7px; border-radius: 50%; background: var(--line-2); transition: background .4s, transform .5s var(--ease); }
.jstep.on .jnode { border-color: var(--aqua); box-shadow: 0 0 0 5px rgba(53,232,255,0.12), 0 0 20px rgba(53,232,255,0.4); transform: scale(1.1); }
.jstep.on .jnode-core { background: var(--grad); transform: scale(1.25); }
.jcard { transition: transform .6s var(--ease), opacity .6s var(--ease); opacity: 0.45; transform: translateY(14px); }
.jstep.on .jcard { opacity: 1; transform: none; }
.jno { display: block; color: var(--iris); font-size: 0.78rem; }
.jcard h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); font-weight: 600; letter-spacing: -0.03em; margin: 16px 0 10px; }
.jcard p { color: var(--muted); font-size: 0.92rem; }

/* ----------------------- VOICES ------------------------ */
.voices { overflow: hidden; }
.voices > .container { position: relative; z-index: 1; }
.voices-net { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; }
.voices-wrap { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; border-top: 1px solid var(--line); padding-top: clamp(36px, 4vw, 56px); }
.voices-feature { min-height: 0; }
.voices-feature blockquote { font-size: clamp(1.4rem, 3vw, 2.4rem); line-height: 1.3; letter-spacing: -0.03em; font-weight: 500; transition: opacity .4s var(--ease), filter .4s var(--ease); }
.voices-feature blockquote::before { content: "“"; color: var(--iris); }
.voices-feature.swap blockquote { opacity: 0; filter: blur(8px); }
.voices-cite { display: flex; align-items: center; gap: 14px; margin-top: 32px; transition: opacity .4s; }
.voices-feature.swap .voices-cite { opacity: 0; }
.voice-by strong { display: block; font-weight: 600; }
.voice-by .mono { display: block; color: var(--muted); font-size: 0.8rem; }

/* pixel avatar */
.voice-av { position: relative; width: 50px; height: 50px; border-radius: 8px; background: var(--grad); display: grid; place-items: center; font-weight: 600; color: #fff; flex: none; overflow: hidden; }
.voice-av::before { content: attr(data-init); position: relative; z-index: 1; mix-blend-mode: difference; }
.voice-av::after { content: ""; position: absolute; inset: 0; z-index: 0; background-image: linear-gradient(to right, rgba(5,5,7,0.5) 1px, transparent 1px), linear-gradient(to bottom, rgba(5,5,7,0.5) 1px, transparent 1px); background-size: 6px 6px; }

/* selectable founder list */
.voices-people { display: flex; flex-direction: column; }
.voices-people li { border-top: 1px solid var(--line); }
.voices-people li:last-child { border-bottom: 1px solid var(--line); }
.vperson { width: 100%; display: flex; align-items: center; gap: 14px; padding: 16px 8px; text-align: left; transition: padding-left .4s var(--ease), background .3s; }
.vperson .voice-av { width: 40px; height: 40px; font-size: 0.85rem; filter: grayscale(0.7) brightness(0.8); transition: filter .4s; }
.vperson-by strong { display: block; font-weight: 500; font-size: 1.05rem; transition: color .3s; }
.vperson-by .mono { display: block; color: var(--faint); font-size: 0.74rem; }
.vperson .vp-tick { margin-left: auto; width: 7px; height: 7px; border-radius: 50%; background: var(--line-2); transition: background .4s, box-shadow .4s, transform .4s var(--ease); }
.vperson:hover { background: var(--panel); padding-left: 16px; }
.vperson[aria-selected="true"] { padding-left: 16px; }
.vperson[aria-selected="true"] .voice-av { filter: none; }
.vperson[aria-selected="true"] .vperson-by strong { color: var(--text); }
.vperson[aria-selected="true"] .vp-tick { background: var(--grad); box-shadow: 0 0 12px rgba(53,232,255,0.7); transform: scale(1.3); }

/* ----------------------- CTA --------------------------- */
.cta { position: relative; min-height: 92svh; display: flex; align-items: center; text-align: center; overflow: hidden; padding: 100px 0; }
.cta-veil { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(110% 90% at 50% 50%, transparent 30%, rgba(5,5,7,0.55) 75%, var(--bg) 100%); }
.cta-inner { position: relative; z-index: 2; max-width: 1000px; }
.cta .sec-label { justify-content: center; }
.cta-title { font-size: clamp(2.6rem, 8vw, 6.5rem); line-height: 0.98; letter-spacing: -0.05em; font-weight: 600; margin-top: 22px; }
.cta-title em { font-style: normal; background: var(--grad-3); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cta-sub { color: var(--muted); font-size: 1.12rem; max-width: 520px; margin: 28px auto 0; }
.cta .btn-xl { margin-top: 40px; }
.cta-fine { margin-top: 26px; color: var(--faint); font-size: 0.84rem; }
.cta-fine a { color: var(--muted); border-bottom: 1px solid var(--line-2); }
.cta-fine a:hover { color: var(--text); }

/* ----------------------- FOOTER (finale) --------------- */
.site-footer { position: relative; min-height: 92svh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; border-top: 1px solid var(--line); background: var(--bg); }
.footer-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.footer-veil { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(transparent 30%, rgba(5,5,7,0.45) 64%, var(--bg) 96%); }
/* big static wordmark — shown only if canvas/JS is unavailable */
.footer-wordmark-fallback { position: absolute; inset: 0; z-index: 0; display: grid; place-items: center; font-size: 16vw; font-weight: 700; letter-spacing: -0.05em; color: transparent; background: var(--grad-3); -webkit-background-clip: text; background-clip: text; opacity: 0; }

.footer-content { position: relative; z-index: 2; width: 100%; padding-bottom: 30px; }
.footer-tagline { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 0.8rem; padding-bottom: 26px; }

.footer-cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; padding: 38px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.footer-col h3 { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--faint); margin-bottom: 18px; }
.footer-col a { display: block; color: var(--muted); padding: 5px 0; font-size: 0.95rem; transition: color .3s, transform .3s var(--ease); width: fit-content; }
.footer-col a:hover { color: var(--text); transform: translateX(4px); }
.footer-email { font-size: clamp(1.15rem, 2.4vw, 1.7rem) !important; color: var(--text) !important; font-weight: 500; letter-spacing: -0.02em; padding: 0 0 6px !important; }
.footer-email:hover { background: var(--grad-3); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 24px; color: var(--faint); font-size: 0.78rem; }
.footer-bottom .brand { font-size: 0.95rem; }

/* ----------------------- Reveals ----------------------- */
[data-reveal] { opacity: 0; transform: translateY(26px); filter: blur(8px); transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); transition-delay: var(--reveal-delay, 0ms); }
[data-reveal].in { opacity: 1; transform: none; filter: blur(0); }

[data-word] { }
[data-word] .w { display: inline-block; overflow: hidden; vertical-align: top; }
[data-word] .w > span { display: inline-block; opacity: 0; transform: translateY(0.42em); filter: blur(10px); transition: opacity .8s var(--ease), transform .8s var(--ease), filter .8s var(--ease); }
[data-word].in .w > span { opacity: 1; transform: none; filter: blur(0); }

/* ----------------------- Responsive -------------------- */
@media (max-width: 1024px) {
  .journey-steps { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .journey-line { display: none; }
  .jstep { padding-top: 0; padding-left: 40px; }
  .jnode { top: 4px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
}
@media (max-width: 760px) {
  .nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .container { padding: 0 22px; }
  .work-row { grid-template-columns: 38px 1fr 30px; gap: 14px; }
  .work-tags, .work-year { display: none; }
  .cap { grid-template-columns: 40px 1fr 24px; }
  .cap-meta { display: none; }
  .cap-desc { max-height: none; opacity: 1; transform: none; } /* show on mobile (no hover) */
  .journey-steps { grid-template-columns: 1fr; gap: 28px; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 28px; }
  .voices-wrap { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 460px) {
  .stats-grid { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; }
  .btn { width: 100%; justify-content: center; }
  .hero-actions { width: 100%; }
}

/* Touch / coarse: drop custom cursor + previews */
@media (hover: none), (pointer: coarse) {
  .cursor, .cursor-trail, .work-fx { display: none !important; }
  body.cursor-on, body.cursor-on * { cursor: auto; }
}

/* ----------------------- Reduced motion ---------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  [data-reveal], [data-word] .w > span, .hero-stagger { opacity: 1 !important; transform: none !important; filter: none !important; }
  .grain { display: none; }
  .cap-desc { max-height: none; opacity: 1; transform: none; }
  .jcard { opacity: 1 !important; transform: none !important; }
  .journey-fill { transform: scaleX(1); }
  .footer-wordmark-fallback { opacity: 0.5; }
  .mm-blocks span { background: var(--grad-3); }
}
