:root{
  --fv-deep:#00313C;--fv-deep-ink:#172D35;--fv-yellow:#FCE300;--fv-yellow-print:#FFE006;
  --fv-bg:#06161B;--fv-surface-1:#0A1F26;--fv-surface-2:#0E2A32;--fv-surface-3:#133540;--fv-deep-tint:#0A252D;
  --fv-fg-1:#E8F1F3;--fv-fg-2:#A8BEC4;--fv-fg-3:#6E878E;--fv-fg-4:#3E5862;
  --fv-hairline:rgba(168,228,238,.10);--fv-hairline-2:rgba(168,228,238,.18);--fv-hairline-3:rgba(168,228,238,.28);
  --fv-signal-live:#7CE7B7;--fv-signal-info:#8BD3E6;
  --fv-font-display:"DM Sans",ui-sans-serif,system-ui,sans-serif;
  --fv-font-body:"Manrope",ui-sans-serif,system-ui,sans-serif;
  --fv-font-mono:"JetBrains Mono",ui-monospace,SFMono-Regular,Menlo,monospace;
  --fv-fs-xs:12px;--fv-fs-sm:14px;--fv-fs-base:16px;--fv-fs-md:18px;--fv-fs-lg:22px;--fv-fs-xl:28px;--fv-fs-2xl:38px;--fv-fs-3xl:52px;--fv-fs-4xl:72px;--fv-fs-5xl:104px;--fv-fs-6xl:144px;
  --fv-lh-tight:1.02;--fv-lh-display:1.04;--fv-lh-heading:1.12;--fv-lh-body:1.5;--fv-lh-ui:1.35;
  --fv-tr-display:-0.025em;--fv-tr-heading:-0.015em;--fv-tr-body:-0.005em;--fv-tr-mono:0.01em;--fv-tr-label:0.08em;
  --fv-s-1:4px;--fv-s-2:8px;--fv-s-3:12px;--fv-s-4:16px;--fv-s-5:20px;--fv-s-6:24px;--fv-s-8:32px;--fv-s-10:40px;--fv-s-12:48px;--fv-s-16:64px;--fv-s-20:80px;--fv-s-24:96px;--fv-s-32:128px;
  --fv-r-0:0px;--fv-r-1:2px;--fv-r-2:4px;--fv-r-3:6px;--fv-r-mark:8px;
  --fv-ease-out:cubic-bezier(0.22,1,0.36,1);--fv-ease-flow:cubic-bezier(0.65,0.05,0.36,1);
  --fv-dur-quick:120ms;--fv-dur-base:220ms;--fv-dur-slow:420ms;--fv-dur-flow:900ms;
}

html, body { margin:0; padding:0; background: var(--fv-bg); color: var(--fv-fg-1); }
html { scroll-behavior: smooth; }
body {
  font-family: var(--fv-font-body);
  font-size: 17px;
  line-height: var(--fv-lh-body);
  letter-spacing: var(--fv-tr-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
* { box-sizing: border-box; }

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

/* Custom cursor — only on pointer:fine (real mouse) AND when JS is active */
input, textarea { cursor: text; }
.cursor, .cursor-ring { display: none; }
@media (pointer: fine) {
  html.js body { cursor: none; }
  html.js a, html.js button { cursor: none; }
  html.js .cursor, html.js .cursor-ring { display: block; }
}

/* ---------- Custom cursor ---------- */
.cursor {
  position: fixed; left: 0; top: 0;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--fv-yellow);
  pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
  transition: width var(--fv-dur-base) var(--fv-ease-out),
              height var(--fv-dur-base) var(--fv-ease-out),
              background var(--fv-dur-base) var(--fv-ease-out);
}
.cursor-ring {
  position: fixed; left: 0; top: 0;
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(252,227,0,.35);
  pointer-events: none; z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width var(--fv-dur-base) var(--fv-ease-out),
              height var(--fv-dur-base) var(--fv-ease-out),
              border-color var(--fv-dur-base) var(--fv-ease-out),
              opacity var(--fv-dur-base) var(--fv-ease-out);
}
body.cursor-hover .cursor { width: 14px; height: 14px; background: var(--fv-yellow); }
body.cursor-hover .cursor-ring { width: 56px; height: 56px; border-color: rgba(252,227,0,.6); }

/* ---------- Top chrome ---------- */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 36px;
  pointer-events: none;
  transition: padding var(--fv-dur-base) var(--fv-ease-out);
  isolation: isolate;
}
.topbar > * { pointer-events: auto; }

/* Scrim that fades in once scrolled so the topbar text doesn't fight with content */
.topbar::before {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(6,22,27,0.78) 0%, rgba(6,22,27,0.55) 60%, rgba(6,22,27,0) 100%);
  backdrop-filter: blur(14px) saturate(115%);
  -webkit-backdrop-filter: blur(14px) saturate(115%);
  opacity: 0;
  transition: opacity var(--fv-dur-base) var(--fv-ease-out);
  pointer-events: none;
  border-bottom: 1px solid transparent;
}
.topbar.scrolled::before { opacity: 1; }
.topbar.scrolled { padding-top: 14px; padding-bottom: 14px; }
.wordmark .sub { white-space: nowrap; }
.wordmark {
  display: flex; align-items: baseline; gap: 10px;
  text-decoration: none; border: 0;
}
.wordmark .mark {
  width: 28px; height: 22px; color: var(--fv-yellow);
  transform: translateY(3px);
}
.wordmark .mark svg { width: 100%; height: 100%; display:block; }
.wordmark .name {
  font-family: var(--fv-font-display);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.02em;
  color: var(--fv-fg-1);
}
.wordmark .sub {
  font-family: var(--fv-font-mono);
  font-size: 11px;
  letter-spacing: var(--fv-tr-label);
  text-transform: uppercase;
  color: var(--fv-fg-3);
  margin-left: 4px;
}
.topbar .right {
  display: flex; gap: 22px; align-items: center;
  font-family: var(--fv-font-mono);
  font-size: 11px;
  letter-spacing: var(--fv-tr-label);
  text-transform: uppercase;
  color: var(--fv-fg-3);
}
.topbar .right .dot {
  display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--fv-signal-live);
  box-shadow: 0 0 10px rgba(124,231,183,.55);
  margin-right: 6px;
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; } 50% { opacity: .35; }
}
.topbar .right a { color: var(--fv-fg-2); text-decoration: none; border: 0; transition: color var(--fv-dur-quick) var(--fv-ease-out); }
.topbar .right a:hover { color: var(--fv-yellow); }
.topbar .right .lang { display:inline-flex; align-items:center; gap:4px; }
.topbar .right .lang a, .topbar .right .lang button {
  background:none; border:0; padding:0; font: inherit; color: var(--fv-fg-3);
  letter-spacing: var(--fv-tr-label); text-transform: uppercase;
  text-decoration: none;
  transition: color var(--fv-dur-quick) var(--fv-ease-out);
}
.topbar .right .lang a.active, .topbar .right .lang button.active { color: var(--fv-fg-1); }
.topbar .right .lang a:hover, .topbar .right .lang button:hover { color: var(--fv-yellow); }
.topbar .right .lang .sep { color: var(--fv-fg-4); }

/* ---------- Right edge vertical rule ---------- */
.edge-rule {
  position: fixed; right: 36px; top: 50%; transform: translateY(-50%);
  z-index: 40; pointer-events: none;
  display: flex; flex-direction: column; align-items: flex-end; gap: 18px;
  font-family: var(--fv-font-mono); font-size: 10.5px;
  letter-spacing: var(--fv-tr-label); text-transform: uppercase;
  color: var(--fv-fg-4);
}
.edge-rule .tick {
  display: flex; align-items: center; gap: 10px;
  transition: color var(--fv-dur-base) var(--fv-ease-out);
}
.edge-rule .tick .bar {
  width: 18px; height: 1px; background: currentColor; opacity: .5;
  transition: width var(--fv-dur-base) var(--fv-ease-out), opacity var(--fv-dur-base) var(--fv-ease-out);
}
.edge-rule .tick.active { color: var(--fv-yellow); }
.edge-rule .tick.active .bar { width: 40px; opacity: 1; }

/* ---------- Layout skeleton ---------- */
.site {
  position: relative; z-index: 2;
  max-width: 100%;
  padding: 0;
}
section {
  position: relative;
  padding: 140px 0;
}
.wrap {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(28px, 5vw, 80px);
}

.mono-label {
  font-family: var(--fv-font-display);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  margin: 0;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fv-fg-2);
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
}
.mono-label .num {
  color: var(--fv-yellow);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -0.01em;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 0;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
}
.hero .grain-layer {
  position: absolute; inset: 0; z-index: 1;
  pointer-events: none;
  mix-blend-mode: overlay; opacity: .09;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.65 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.hero .vignette {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(120% 80% at 20% 110%, rgba(6,22,27,.85), transparent 60%),
    linear-gradient(180deg, rgba(6,22,27,.35) 0%, transparent 30%, transparent 65%, rgba(6,22,27,.75) 100%);
}
.hero .content {
  position: relative; z-index: 2;
  width: 100%;
  padding: 0 clamp(28px, 5vw, 80px) clamp(80px, 10vh, 140px);
  display: flex; flex-direction: column;
  gap: 40px;
  max-width: 1320px;
  margin: 0 auto;
}
.hero h1 {
  font-family: var(--fv-font-display);
  font-weight: 500;
  font-size: clamp(52px, 7.6vw, 132px);
  line-height: .98;
  letter-spacing: -0.025em;
  margin: 0;
  color: var(--fv-fg-1);
  max-width: 15ch;
}
.hero h1 .em {
  font-family: var(--fv-font-display);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--fv-yellow);
}
.hero .subline {
  font-family: var(--fv-font-display);
  font-style: italic;
  font-size: clamp(17px, 1.25vw, 21px);
  line-height: 1.4;
  color: var(--fv-fg-2);
  max-width: 44ch;
  letter-spacing: -0.005em;
  margin-top: 12px;
}
.hero .subline .rule {
  display: block; width: 40px; height: 1px;
  background: var(--fv-yellow);
  margin-bottom: 18px;
}

.hero .hero-meta {
  position: absolute; z-index: 3;
  font-family: var(--fv-font-mono);
  font-size: 11px;
  letter-spacing: var(--fv-tr-label);
  text-transform: uppercase;
  color: var(--fv-fg-3);
}
.hero .hero-meta.tl { top: 90px; left: clamp(28px, 5vw, 80px); }
.hero .hero-meta.br { bottom: 40px; right: clamp(28px, 5vw, 80px); text-align: right; }
.hero .hero-meta .k { color: var(--fv-fg-4); margin-right: 8px; }
.hero .hero-meta .v { color: var(--fv-fg-2); }

.scroll-cue {
  position: absolute; z-index: 3;
  bottom: 34px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-family: var(--fv-font-mono); font-size: 10.5px;
  letter-spacing: var(--fv-tr-label); text-transform: uppercase;
  color: var(--fv-fg-3);
}
.scroll-cue .line {
  width: 1px; height: 42px;
  background: linear-gradient(to bottom, transparent, var(--fv-fg-3));
  position: relative; overflow: hidden;
}
.scroll-cue .line::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 0%, var(--fv-yellow) 50%, transparent 100%);
  animation: scrollDrip 2.2s ease-in-out infinite;
}
@keyframes scrollDrip {
  0% { transform: translateY(-100%); } 100% { transform: translateY(100%); }
}

/* ---------- BREATH DIVIDER ---------- */
.breath {
  position: relative;
  height: 84px;
  overflow: hidden;
  border-top: 1px solid var(--fv-hairline);
  border-bottom: 1px solid var(--fv-hairline);
  background: var(--fv-bg);
}
.breath canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .75; }
.breath .lbl {
  position: absolute; left: clamp(28px, 5vw, 80px); top: 50%; transform: translateY(-50%);
  font-family: var(--fv-font-mono); font-size: 10.5px;
  letter-spacing: var(--fv-tr-label); text-transform: uppercase;
  color: var(--fv-fg-3); z-index: 2;
}
.breath .lbl .dot {
  display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--fv-signal-live); margin-right: 8px;
  animation: pulse 2.4s ease-in-out infinite;
}

/* ---------- RIGHT NOW ---------- */
.rn-grid {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.rn-body p {
  font-family: var(--fv-font-body);
  font-size: clamp(19px, 1.5vw, 22px);
  line-height: 1.55;
  color: var(--fv-fg-1);
  max-width: 54ch;
  font-weight: 400;
}
.rn-body p .accent {
  font-family: var(--fv-font-display);
  font-style: italic;
  color: var(--fv-yellow);
  font-size: 1.05em;
}
.tags {
  margin-top: 40px;
  display: flex; flex-wrap: wrap;
  gap: 8px;
}
.tag {
  font-family: var(--fv-font-mono);
  font-size: 12px;
  letter-spacing: .02em;
  color: var(--fv-fg-2);
  padding: 6px 12px;
  border: 1px solid var(--fv-hairline);
  border-radius: var(--fv-r-1);
  background: transparent;
  transition: border-color var(--fv-dur-base) var(--fv-ease-out),
              color var(--fv-dur-base) var(--fv-ease-out),
              transform var(--fv-dur-base) var(--fv-ease-out);
}
.tag:hover {
  border-color: var(--fv-hairline-3);
  color: var(--fv-fg-1);
  transform: translateY(-1px);
}
.tag.hot { color: var(--fv-yellow); border-color: rgba(252,227,0,.32); }

/* ---------- ABOUT ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.about-col {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 32px;
  max-width: none;
}
.about-para {
  grid-column: 1 / span 11;
  font-size: clamp(18px, 1.35vw, 21px);
  line-height: 1.6;
  color: var(--fv-fg-1);
  max-width: 58ch;
  margin-bottom: 48px;
}
.about-para.offset { grid-column: 2 / span 10; }
.about-para .opener {
  display: block;
  font-family: var(--fv-font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(32px, 3.2vw, 46px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--fv-fg-1);
  margin-bottom: 20px;
  max-width: 26ch;
}
.about-para .opener em {
  color: var(--fv-yellow);
  font-style: italic;
}
.about-para .hang {
  grid-column: 1 / span 1;
  font-family: var(--fv-font-mono);
  font-size: 11px;
  letter-spacing: var(--fv-tr-label);
  text-transform: uppercase;
  color: var(--fv-fg-4);
}

/* ---------- NUMBERS ---------- */
.numbers-grid {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.numbers-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--fv-hairline);
  border-bottom: 1px solid var(--fv-hairline);
}
.num-cell {
  padding: 40px 24px 32px 0;
  border-right: 1px solid var(--fv-hairline);
  display: flex; flex-direction: column; gap: 18px;
  position: relative;
}
.num-cell:last-child { border-right: 0; }
.num-cell .idx {
  font-family: var(--fv-font-mono);
  font-size: 10.5px;
  letter-spacing: var(--fv-tr-label);
  text-transform: uppercase;
  color: var(--fv-fg-4);
}
.num-cell .digits {
  font-family: var(--fv-font-display);
  font-weight: 500;
  font-size: clamp(72px, 9vw, 148px);
  line-height: .9;
  letter-spacing: -0.05em;
  color: var(--fv-fg-1);
}
.num-cell .digits .plus { color: var(--fv-yellow); font-weight: 500; font-size: 0.7em; vertical-align: 18%; margin-left: 2px; letter-spacing: 0; }
.num-cell.accent .digits { color: var(--fv-yellow); font-size: clamp(82px, 10.3vw, 168px); font-weight: 500; }
.num-cell .cap {
  font-family: var(--fv-font-mono);
  font-size: 11.5px;
  letter-spacing: var(--fv-tr-label);
  text-transform: lowercase;
  color: var(--fv-fg-3);
  line-height: 1.4;
}
.numbers-foot {
  margin-top: 44px;
  padding-left: 0;
  max-width: 70ch;
  font-size: 16px;
  line-height: 1.6;
  color: var(--fv-fg-2);
}
.numbers-foot a {
  color: var(--fv-fg-2);
  border-bottom: 1px solid var(--fv-hairline-2);
  text-decoration: none;
  padding-bottom: 1px;
  transition: color var(--fv-dur-quick) var(--fv-ease-out), border-color var(--fv-dur-quick) var(--fv-ease-out);
}
.numbers-foot a:hover { color: var(--fv-yellow); border-color: var(--fv-yellow); }
.numbers-foot .credit-label {
  display: block;
  font-family: var(--fv-font-mono);
  font-size: 11px;
  letter-spacing: var(--fv-tr-label);
  text-transform: uppercase;
  color: var(--fv-fg-4);
  margin-bottom: 12px;
}
.numbers-foot strong { color: var(--fv-fg-1); font-weight: 500; }
.numbers-foot .credit-link { margin-top: 14px; }

/* ---------- WORK ---------- */
.work-grid {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.work-intro {
  font-family: var(--fv-font-display);
  font-weight: 400;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--fv-fg-1);
  max-width: 38ch;
  margin-bottom: 64px;
}
.work-list {
  border-top: 1px solid var(--fv-hairline);
}
.work-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 24px;
  align-items: baseline;
  padding: 32px 0 28px;
  border-bottom: 1px solid var(--fv-hairline);
  position: relative;
  transition: padding var(--fv-dur-base) var(--fv-ease-out);
  color: inherit;
  text-decoration: none;
}
a.work-item { color: inherit; text-decoration: none; }
.work-item .idx {
  font-family: var(--fv-font-mono);
  font-size: 11px;
  letter-spacing: var(--fv-tr-label);
  text-transform: uppercase;
  color: var(--fv-fg-4);
}
.work-item h3 {
  font-family: var(--fv-font-display);
  font-weight: 500;
  font-size: clamp(26px, 2.6vw, 38px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--fv-fg-1);
  margin: 0;
  transition: color var(--fv-dur-base) var(--fv-ease-out);
}
.work-item .desc {
  margin-top: 12px;
  font-size: 16.5px;
  color: var(--fv-fg-2);
  max-width: 58ch;
  line-height: 1.55;
}
.work-item .meta {
  max-height: 0; overflow: hidden;
  margin-top: 0;
  opacity: 0;
  transition: max-height var(--fv-dur-slow) var(--fv-ease-out),
              opacity var(--fv-dur-base) var(--fv-ease-out),
              margin-top var(--fv-dur-base) var(--fv-ease-out);
  font-family: var(--fv-font-mono);
  font-size: 11.5px;
  letter-spacing: var(--fv-tr-label);
  text-transform: uppercase;
  color: var(--fv-fg-3);
  display: flex; flex-wrap: wrap; gap: 18px 28px;
}
.work-item .meta .m .k { color: var(--fv-fg-4); margin-right: 6px; }
.work-item .meta .m .v { color: var(--fv-fg-2); }
.work-item:hover, .work-item.open { padding-bottom: 32px; }
.work-item:hover h3 { color: var(--fv-yellow); }
.work-item:hover .meta, .work-item.open .meta {
  max-height: 80px; opacity: 1; margin-top: 20px;
}
.work-item .corner {
  font-family: var(--fv-font-mono);
  font-size: 11px;
  color: var(--fv-fg-4);
  letter-spacing: var(--fv-tr-label);
  text-transform: uppercase;
  transition: color var(--fv-dur-base) var(--fv-ease-out), transform var(--fv-dur-base) var(--fv-ease-out);
  white-space: nowrap;
}
.work-item:hover .corner { color: var(--fv-yellow); transform: translateX(-4px); }

/* ---------- APPROACH ---------- */
.approach-grid {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.approach-list {
  list-style: none;
  padding: 0; margin: 0;
  counter-reset: apr;
}
.approach-list li {
  counter-increment: apr;
  padding: 28px 0;
  border-bottom: 1px solid var(--fv-hairline);
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 24px;
  align-items: baseline;
}
.approach-list li:first-child { border-top: 1px solid var(--fv-hairline); }
.approach-list li::before {
  content: "0" counter(apr);
  font-family: var(--fv-font-mono);
  font-size: 11px;
  letter-spacing: var(--fv-tr-label);
  color: var(--fv-fg-4);
}
.approach-list .t {
  font-family: var(--fv-font-display);
  font-weight: 400;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--fv-fg-1);
  max-width: 30ch;
}
.approach-list .t em {
  font-family: var(--fv-font-display);
  font-style: italic;
  color: var(--fv-yellow);
}

/* ---------- CONTACT ---------- */
.contact {
  position: relative;
  padding: 160px 0 120px;
  overflow: hidden;
}
.contact canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: 0; opacity: .85;
}
.contact .vignette {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, var(--fv-bg) 0%, rgba(6,22,27,.1) 22%, rgba(6,22,27,.1) 70%, var(--fv-bg) 100%);
}
.contact .grain-layer {
  position: absolute; inset: 0; z-index: 1;
  pointer-events: none; mix-blend-mode: overlay; opacity: .07;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.65 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.contact .wrap { position: relative; z-index: 2; }

.contact .mono-label { display: block; margin-bottom: 48px; }
.contact h2 {
  font-family: var(--fv-font-display);
  font-weight: 500;
  font-size: clamp(44px, 6vw, 96px);
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--fv-fg-1);
  margin: 0 0 56px;
  max-width: 16ch;
}
.contact h2 em {
  font-family: var(--fv-font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--fv-yellow);
}
.email-btn {
  display: inline-flex; align-items: baseline; gap: 18px;
  background: none; border: 0;
  padding: 0;
  font-family: var(--fv-font-display);
  font-weight: 400;
  font-size: clamp(28px, 4vw, 56px);
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--fv-fg-1);
  border-bottom: 1px solid var(--fv-hairline-2);
  padding-bottom: 16px;
  transition: color var(--fv-dur-base) var(--fv-ease-out), border-color var(--fv-dur-base) var(--fv-ease-out);
  text-align: left;
}
.email-btn:hover { color: var(--fv-yellow); border-color: var(--fv-yellow); }
.email-btn .hint {
  font-family: var(--fv-font-mono);
  font-size: 11px;
  letter-spacing: var(--fv-tr-label);
  text-transform: uppercase;
  color: var(--fv-fg-4);
  align-self: center;
}
.email-btn:hover .hint { color: var(--fv-yellow); }
.email-btn.copied .hint { color: var(--fv-signal-live); }

.contact-row {
  margin-top: 64px;
  display: flex; flex-wrap: wrap; gap: 28px 36px;
  font-family: var(--fv-font-mono);
  font-size: 12px;
  letter-spacing: var(--fv-tr-label);
  text-transform: uppercase;
  color: var(--fv-fg-3);
}
.contact-row a {
  color: var(--fv-fg-2);
  text-decoration: none; border: 0;
  display: inline-flex; align-items: center; gap: 8px;
  transition: color var(--fv-dur-quick) var(--fv-ease-out);
}
.contact-row a::after {
  content: "↗"; font-size: .9em; color: var(--fv-fg-4);
  transition: color var(--fv-dur-quick) var(--fv-ease-out), transform var(--fv-dur-quick) var(--fv-ease-out);
}
.contact-row a:hover { color: var(--fv-yellow); }
.contact-row a:hover::after { color: var(--fv-yellow); transform: translate(2px, -2px); }

/* Toast */
.toast {
  position: fixed; bottom: 36px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--fv-surface-2);
  border: 1px solid var(--fv-hairline-2);
  border-radius: var(--fv-r-2);
  padding: 12px 20px;
  font-family: var(--fv-font-mono);
  font-size: 12px; letter-spacing: var(--fv-tr-label); text-transform: uppercase;
  color: var(--fv-fg-1);
  opacity: 0; pointer-events: none;
  z-index: 100;
  transition: opacity var(--fv-dur-base) var(--fv-ease-out), transform var(--fv-dur-base) var(--fv-ease-out);
  display: flex; align-items: center; gap: 10px;
}
.toast .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--fv-signal-live); }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- FOOTER ---------- */
footer {
  position: relative;
  padding: 56px 0 48px;
  border-top: 1px solid var(--fv-hairline);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 32px;
  align-items: center;
}
.footer-mark {
  width: 36px; height: 28px; color: var(--fv-fg-2);
}
.footer-mark svg { width: 100%; height: 100%; }
.footer-meta {
  font-family: var(--fv-font-mono);
  font-size: 11px;
  letter-spacing: var(--fv-tr-label);
  text-transform: uppercase;
  color: var(--fv-fg-3);
}
.footer-meta.right { text-align: right; }
.footer-tagline {
  font-family: var(--fv-font-display);
  font-style: italic;
  font-size: 18px;
  color: var(--fv-fg-1);
  text-align: center;
}
.footer-tagline em { color: var(--fv-yellow); font-style: italic;}

/* ---------- Scroll reveal (progressive enhancement) ----------
   No-JS: content visible by default.
   JS + IntersectionObserver: hidden until revealed.
   JS without IO: JS adds .in to all on load (see fallback in script). */
.reveal { opacity: 1; transform: none; }
html.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms var(--fv-ease-out), transform 700ms var(--fv-ease-out);
}
html.js .reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 80ms; }
.reveal.d2 { transition-delay: 160ms; }
.reveal.d3 { transition-delay: 240ms; }
.reveal.d4 { transition-delay: 320ms; }

/* ---------- Accessibility: focus + skip link ---------- */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--fv-yellow);
  outline-offset: 4px;
  border-radius: 2px;
}
a:focus-visible, button:focus-visible, .tag:focus-visible, .work-item:focus-visible,
.lang a:focus-visible, .email-btn:focus-visible {
  outline: 2px solid var(--fv-yellow);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px; left: 12px;
  z-index: 10000;
  background: var(--fv-yellow);
  color: var(--fv-bg);
  padding: 10px 18px;
  font-family: var(--fv-font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: var(--fv-tr-label);
  text-transform: uppercase;
  text-decoration: none;
  border: 0;
  border-radius: var(--fv-r-2);
  white-space: nowrap;
  /* Visually-hidden but focusable; overscroll/rubber-band can't expose a 1×1 clipped box. */
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
}
.skip-link:focus, .skip-link:focus-visible {
  width: auto;
  height: auto;
  padding: 10px 18px;
  overflow: visible;
  clip: auto;
  clip-path: none;
  outline: 2px solid var(--fv-bg);
  outline-offset: 2px;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero .content { grid-template-columns: 1fr; padding-bottom: 170px; }
  .scroll-cue { bottom: 26px; }
  .rn-grid, .about-grid, .numbers-grid, .work-grid, .approach-grid { grid-template-columns: 1fr; }
  .numbers-row { grid-template-columns: repeat(2, 1fr); }
  .num-cell:nth-child(2) { border-right: 0; }
  .num-cell:nth-child(1), .num-cell:nth-child(2) { border-bottom: 1px solid var(--fv-hairline); }
  .topbar { padding: 14px 20px; }
  .topbar.scrolled { padding-top: 10px; padding-bottom: 10px; }
  /* Mobile: hide descriptive sub entirely, it repeats the hero H1 */
  .wordmark .sub { display: none; }
  /* Mobile: always show scrim since viewport is tight */
  .topbar::before { opacity: 1; }
  .topbar .right { gap: 14px; font-size: 10.5px; }
  .edge-rule { display: none; }
  .hero .hero-meta.tl { top: 60px; }
  .hero .hero-meta.br { display: none; }
  section { padding: 88px 0; }
  .work-item { grid-template-columns: 40px 1fr; }
  .work-item .corner { grid-column: 1 / -1; margin-top: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-cue .line::after,
  .topbar .right .dot,
  .breath .lbl .dot { animation: none; }
}
