/* frank.ad — a portfolio that behaves like the things it shows: an LED wall,
   a signal path, a video wall, rack gear. Dark room, emissive light. */

@font-face {
  font-family: 'Fixedsys';
  src: url('/fonts/FSEX302.woff2') format('woff2');
  font-display: swap;
}

:root {
  --bg: #060708;
  --bg-2: #0c0d10;
  --panel: #101216;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);
  --ink: #eef0f2;
  --ink-2: #a3a8b1;
  --ink-3: #6b717c;
  --hot: #ff5a36;      /* LED red-orange, used sparingly */
  --live: #38f28b;     /* status green */
  --amber: #ffb547;
  --sans: 'Inter Tight', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
  --px: 'Fixedsys', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --gut: clamp(16px, 4.5vw, 64px);
  --max: 1320px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -.035em; line-height: 1.02; }
p { margin: 0; }
::selection { background: var(--hot); color: #fff; }
:focus-visible { outline: 2px solid var(--hot); outline-offset: 3px; border-radius: 4px; }

.px {
  font-family: var(--px);
  font-size: 16px;
  line-height: 1;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-weight: 400;
}

.led {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 2px;
  background: var(--hot);
  box-shadow: 0 0 10px var(--hot), 0 0 2px var(--hot);
  margin-right: 10px;
  vertical-align: 1px;
}
.led-live { background: var(--live); box-shadow: 0 0 12px var(--live); animation: blink 2.4s steps(1) infinite; }

@keyframes blink { 0%, 86% { opacity: 1; } 87%, 100% { opacity: .25; } }

.eyebrow { color: var(--ink-2); display: flex; align-items: center; }

/* ── Header ─────────────────────────────────────────────────────────── */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--gut);
  transition: background .35s var(--ease), backdrop-filter .35s, border-color .35s;
  border-bottom: 1px solid transparent;
}
.top.scrolled {
  background: rgba(6, 7, 8, .72);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  border-color: var(--line);
}
.brand { text-decoration: none; font-size: 20px; }
.brand span { color: var(--hot); }
.nav { display: flex; gap: 6px; }
.nav a {
  text-decoration: none; font-size: 14px; font-weight: 500; color: var(--ink-2);
  padding: 8px 12px; border-radius: 999px; transition: color .2s, background .2s;
}
.nav a:hover { color: var(--ink); background: rgba(255,255,255,.06); }
.nav .nav-cta { color: var(--bg); background: var(--ink); }
.nav .nav-cta:hover { background: #fff; color: var(--bg); }

/* ── Hero / LED wall ────────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh; height: 100svh;
  min-height: 560px;
  overflow: hidden;
  background: #000;
  cursor: crosshair;
}
#wall { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-fallback { display: none; }
.hero-name {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.no-gl .hero-fallback {
  display: block; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.2), rgba(0,0,0,.75)), url('/media/bofa.webp') center/cover;
}
.no-gl .hero-name {
  width: auto; height: auto; clip: auto; overflow: visible;
  top: 22%; left: var(--gut); right: var(--gut);
  font-size: clamp(64px, 14vw, 220px); text-transform: uppercase; letter-spacing: -.05em; line-height: .86;
}
.no-gl .hero-name span { display: block; }

.hero-copy {
  position: absolute; left: var(--gut); bottom: clamp(88px, 13vh, 140px);
  max-width: 560px; z-index: 2;
  pointer-events: none;
}
.hero-copy .eyebrow { margin-bottom: 16px; color: #fff; text-shadow: 0 1px 12px #000; }
.lede {
  font-size: clamp(20px, 2.1vw, 27px); line-height: 1.35; font-weight: 500; letter-spacing: -.015em;
  text-shadow: 0 2px 24px rgba(0,0,0,.9), 0 0 2px rgba(0,0,0,.8);
}
.lede em { color: #fff; font-size: 1.12em; }

.hud {
  position: absolute; right: var(--gut); bottom: clamp(88px, 13vh, 140px); z-index: 2;
  min-width: 300px; padding: 14px 16px 12px;
  background: rgba(0, 0, 0, .55);
  border: 1px solid var(--line-2);
  border-radius: 10px;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  pointer-events: none;
}
.hud-row { display: flex; justify-content: space-between; color: var(--ink-3); margin-bottom: 8px; }
.hud-n { color: var(--hot); }
.hud-v { color: #fff; font-size: 16px; min-height: 16px; white-space: nowrap; }
.hud-hint { margin-top: 10px; color: var(--ink-3); font-size: 16px; text-transform: none; letter-spacing: 0; }
.touch-only { display: none; }
@media (hover: none) { .pointer-only { display: none; } .touch-only { display: inline; } .hero { cursor: default; } }

.scroll-cue {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  text-decoration: none; color: var(--ink-2);
}
.scroll-cue i { width: 1px; height: 34px; background: linear-gradient(var(--ink-2), transparent); animation: cue 2s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); opacity: 1; } 70% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* intro: copy fades in after the wall powers on */
.js .hero-copy, .js .hud, .js .scroll-cue { opacity: 0; transform: translateY(12px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .hero-copy.in, .js .hud.in, .js .scroll-cue.in { opacity: 1; transform: none; }
.js .scroll-cue.in { transform: translateX(-50%); }
.js .scroll-cue { transform: translate(-50%, 12px); }

/* ── Section heads ──────────────────────────────────────────────────── */
section { position: relative; }
.sec-head { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.sec-head h2 { font-size: clamp(40px, 6.4vw, 92px); margin-top: 20px; max-width: 14ch; }
.sec-head h2 em { color: var(--ink-2); }
.sec-sub { margin-top: 18px; color: var(--ink-2); font-size: 18px; }

/* ── Signal path ────────────────────────────────────────────────────── */
.path { padding: clamp(110px, 16vh, 180px) 0 clamp(80px, 12vh, 140px); background: var(--bg); }
.chapters {
  --prog: 0;
  list-style: none; margin: clamp(56px, 9vh, 96px) auto 0; padding: 0 var(--gut);
  max-width: 940px; position: relative;
}
/* the cable: a dim line, and a lit one that grows with scroll */
.chapters::before, .chapters::after {
  content: ''; position: absolute; top: 8px; bottom: 40px;
  left: calc(var(--gut) + 7px); width: 2px; border-radius: 2px;
}
.chapters::before { background: var(--line-2); }
.chapters::after {
  background: linear-gradient(var(--hot), var(--amber));
  box-shadow: 0 0 14px rgba(255, 90, 54, .6);
  transform-origin: top; transform: scaleY(var(--prog));
}
.ch { position: relative; padding: 0 0 clamp(52px, 8vh, 84px) 52px; }
.ch-node {
  position: absolute; left: 0; top: 2px; width: 16px; height: 16px; border-radius: 4px;
  background: var(--bg); border: 2px solid var(--line-2); z-index: 1;
  transition: background .4s, border-color .4s, box-shadow .4s;
}
.ch.lit .ch-node { background: var(--hot); border-color: var(--hot); box-shadow: 0 0 0 5px rgba(255,90,54,.15), 0 0 18px var(--hot); }
.ch-when { color: var(--ink-3); transition: color .4s; }
.ch.lit .ch-when { color: var(--hot); }
.ch h3 { font-size: clamp(28px, 3.6vw, 46px); margin: 14px 0 14px; }
.ch p:not(.ch-when) { color: var(--ink-2); font-size: clamp(17px, 1.5vw, 20px); max-width: 60ch; }
.ch p em { color: var(--ink); font-size: 1.1em; }
.ch strong { color: var(--ink); font-weight: 600; }
.ch a { text-decoration-color: var(--hot); text-underline-offset: 3px; }
.ch-fig {
  margin: 26px 0 0; max-width: 560px; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--line); background: #000;
}
.ch-fig img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.ch-last { padding-bottom: 0; }

/* reveal */
.js .rv { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }

/* ── The wall ───────────────────────────────────────────────────────── */
.work { padding: clamp(80px, 12vh, 140px) 0; background: var(--bg-2); border-top: 1px solid var(--line); }
.wall {
  max-width: var(--max); margin: clamp(44px, 7vh, 72px) auto 0; padding: 0 var(--gut);
  display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(70px, 8.4vw, 116px);
  grid-auto-flow: dense; gap: 6px;
}
.tile {
  position: relative; overflow: hidden; border: 0; padding: 0; margin: 0; cursor: pointer;
  background: #000; border-radius: 4px; color: #fff; text-align: left; font: inherit;
  grid-column: span 3; grid-row: span 2;
  box-shadow: 0 0 0 1px rgba(255,255,255,.05);
}
.tile.big  { grid-column: span 6; grid-row: span 4; }
.tile.wide { grid-column: span 6; grid-row: span 2; }
.tile.tall { grid-column: span 3; grid-row: span 4; }
.tile.full { grid-column: 1 / -1; grid-row: span 3; }
.tile.full img { object-position: center 40%; }
.tile img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.1s var(--ease);
}
/* LED mask: a fine dot screen over every tile, so the wall reads as panels */
.tile::before {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(circle at 50% 50%, transparent 52%, rgba(0,0,0,.42) 58%) 0 0 / 4px 4px;
  opacity: .55; transition: opacity .5s;
}
.tile::after {
  content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.82));
}
.tile .shade { position: absolute; inset: 0; z-index: 3; background: #000; opacity: 0; transition: opacity .45s var(--ease); pointer-events: none; }
.tile .t-label { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 4; }
.tile .t-name { display: block; font-weight: 700; font-size: clamp(15px, 1.4vw, 21px); letter-spacing: -.02em; line-height: 1.1; }
.tile .t-kind { display: block; margin-top: 6px; color: rgba(255,255,255,.62); font-size: 16px; }
.tile.big .t-name { font-size: clamp(22px, 2.4vw, 34px); }
/* solo: hovering one screen dims the rest of the wall */
@media (hover: hover) {
  .wall:hover .tile:not(:hover) .shade { opacity: .62; }
  .tile:hover img { transform: scale(1.045); }
  .tile:hover::before { opacity: .15; }
}
.tile:focus-visible { outline-offset: 2px; }

/* ── Principles ─────────────────────────────────────────────────────── */
.principles {
  padding: clamp(90px, 14vh, 160px) var(--gut);
  display: grid; gap: clamp(18px, 2.4vw, 28px);
  max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto;
  grid-template-columns: repeat(3, 1fr);
}
.screen {
  position: relative; margin: 0; padding: clamp(26px, 3vw, 40px);
  min-height: clamp(260px, 30vw, 380px);
  display: flex; flex-direction: column; justify-content: space-between;
  background: radial-gradient(120% 90% at 30% 0%, #15171c, #08090b 70%);
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
}
.screen::after { /* scanlines */
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(180deg, rgba(255,255,255,.025) 0 1px, transparent 1px 3px);
}
.screen-id { color: var(--ink-3); }
.screen blockquote {
  margin: 0; font-size: clamp(26px, 2.6vw, 38px); font-weight: 600; letter-spacing: -.03em; line-height: 1.12;
}
.screen blockquote em { color: var(--hot); }
.js .screen blockquote, .js .screen-id { opacity: 0; }
.screen.on blockquote, .screen.on .screen-id { animation: power 1.1s steps(1) forwards; }
.screen.on .screen-id { animation-duration: .6s; }
.screen.on::before { /* the sweep of a panel coming on */
  content: ''; position: absolute; left: 0; right: 0; height: 40%; top: -40%; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,.06), transparent);
  animation: sweep 1.2s var(--ease) forwards;
}
@keyframes power { 0% { opacity: 0; } 8% { opacity: .9; } 14% { opacity: .1; } 22% { opacity: 1; } 30% { opacity: .35; } 38%, 100% { opacity: 1; } }
@keyframes sweep { to { top: 110%; } }

/* ── Rack ───────────────────────────────────────────────────────────── */
.rack-sec { padding: clamp(80px, 12vh, 140px) 0; background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.rack {
  max-width: 1080px; margin: clamp(44px, 7vh, 72px) auto 0; padding: 18px;
  background: #0a0b0d;
  border: 1px solid var(--line-2); border-radius: 10px;
  box-shadow: inset 0 0 0 6px #0d0e11, 0 30px 80px rgba(0,0,0,.5);
  display: grid; gap: 10px;
  width: calc(100% - 2 * var(--gut));
}
.ru {
  position: relative; padding: 0 34px;
  background: linear-gradient(180deg, #1b1d22, #121317);
  border: 1px solid rgba(255,255,255,.07); border-radius: 4px;
}
/* rack ears with screws */
.ru::before, .ru::after {
  content: ''; position: absolute; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #555a63, #1d1f24 70%);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.6);
}
.ru::before { left: 12px; } .ru::after { right: 12px; }
.ru-face {
  display: grid; grid-template-columns: 96px 190px 1fr auto; align-items: center; gap: 18px;
  min-height: 74px; padding: 14px 0;
}
.ru-name { color: var(--amber); font-size: 16px; }
.ru-title { font-weight: 600; font-size: 17px; letter-spacing: -.01em; }
.ports { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.ports li {
  font-size: 13px; color: var(--ink-2); padding: 5px 10px; border-radius: 4px;
  background: #0b0c0f; border: 1px solid rgba(255,255,255,.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03);
  transition: color .2s, border-color .2s;
}
.ports li:hover { color: #fff; border-color: rgba(255,181,71,.5); }
.ru-leds { display: flex; gap: 7px; }
.ru-leds i { width: 6px; height: 6px; border-radius: 50%; background: var(--live); box-shadow: 0 0 8px var(--live); }
.ru-leds i:nth-child(2) { background: var(--amber); box-shadow: 0 0 8px var(--amber); animation: act 1.7s steps(1) infinite; }
.ru-leds i:nth-child(3) { background: var(--live); animation: act 2.3s steps(1) infinite .4s; }
.ru:nth-child(2) .ru-leds i { animation-delay: .9s; }
.ru:nth-child(3) .ru-leds i { animation-duration: 1.1s; }
@keyframes act { 0%, 40% { opacity: 1; } 41%, 55% { opacity: .15; } 56%, 70% { opacity: 1; } 71%, 76% { opacity: .2; } 77%, 100% { opacity: 1; } }

/* ── Now ────────────────────────────────────────────────────────────── */
.now {
  max-width: var(--max); margin: 0 auto; padding: clamp(100px, 15vh, 170px) var(--gut);
  display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 90px); align-items: center;
}
.now h2 { font-size: clamp(40px, 5.4vw, 80px); margin: 20px 0 26px; }
.now h2 em { color: var(--ink-2); }
.now-copy p:not(.eyebrow) { color: var(--ink-2); font-size: clamp(17px, 1.45vw, 19px); margin-bottom: 16px; max-width: 52ch; }
.now-copy strong { color: var(--ink); font-weight: 600; }
.monitor {
  position: relative; padding: 10px; border-radius: 16px;
  background: linear-gradient(180deg, #1c1e23, #0f1013);
  border: 1px solid var(--line-2);
  box-shadow: 0 40px 120px rgba(80, 90, 255, .16), 0 20px 60px rgba(0,0,0,.6);
}
.monitor img { border-radius: 8px; width: 100%; height: auto; }
.monitor::after { /* glass */
  content: ''; position: absolute; inset: 10px; border-radius: 8px; pointer-events: none;
  background: linear-gradient(125deg, rgba(255,255,255,.07), transparent 40%);
}
.ai-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 10px; }
.ai-strip img { width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }

.btn {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 12px;
  text-decoration: none; font-weight: 600; font-size: 16px;
  padding: 14px 22px; border-radius: 999px;
  background: var(--ink); color: var(--bg);
  transition: transform .25s var(--ease), background .2s, box-shadow .3s;
}
.btn:hover { transform: translateY(-2px); background: #fff; box-shadow: 0 10px 40px rgba(255,255,255,.12); }

/* ── Clients ────────────────────────────────────────────────────────── */
.clients { padding: clamp(40px, 7vh, 70px) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.marquee { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.mq-track { display: flex; width: max-content; animation: mq 46s linear infinite; }
.mq-rev .mq-track { animation-direction: reverse; animation-duration: 52s; }
.mq-track span {
  font-size: clamp(34px, 5.6vw, 76px); font-weight: 800; letter-spacing: -.04em; line-height: 1.2;
  padding: 0 .45em; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.28);
  white-space: nowrap; transition: color .3s, -webkit-text-stroke-color .3s;
  display: inline-flex; align-items: center;
}
.mq-track span::after { content: ''; width: 10px; height: 10px; border-radius: 2px; background: var(--hot); box-shadow: 0 0 12px var(--hot); margin-left: .9em; flex: none; }
.mq-track span:hover { color: #fff; -webkit-text-stroke-color: transparent; }
@keyframes mq { to { transform: translateX(-50%); } }

/* ── Contact ────────────────────────────────────────────────────────── */
.contact {
  max-width: var(--max); margin: 0 auto; padding: clamp(110px, 18vh, 200px) var(--gut) clamp(80px, 12vh, 130px);
}
.contact h2 { font-size: clamp(48px, 9vw, 150px); letter-spacing: -.05em; line-height: .95; margin: 24px 0 44px; max-width: 12ch; }
.contact h2 em { color: var(--hot); }
.contact-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn-big { font-size: clamp(16px, 1.8vw, 22px); padding: 18px 28px; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-ghost:hover { background: rgba(255,255,255,.06); color: #fff; }

.foot {
  max-width: var(--max); margin: 0 auto; padding: 28px var(--gut) 40px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px;
  color: var(--ink-3); font-size: 14px; border-top: 1px solid var(--line);
}
.foot .px { color: var(--ink-2); margin-right: 8px; font-size: 16px; }

/* ── Viewer ─────────────────────────────────────────────────────────── */
.viewer {
  width: min(1180px, calc(100vw - 32px)); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px);
  padding: 0; border: 1px solid var(--line-2); border-radius: 16px;
  background: #0b0c0f; color: var(--ink); overflow: auto;
}
.viewer::backdrop { background: rgba(0,0,0,.78); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.viewer[open] { animation: vin .45s var(--ease); }
@keyframes vin { from { opacity: 0; transform: translateY(18px) scale(.985); } }
.v-inner { display: grid; grid-template-columns: 1.55fr 1fr; min-height: 520px; }
.v-stage { background: #000; display: flex; flex-direction: column; min-width: 0; }
.v-stage > img { width: 100%; flex: 1; min-height: 0; max-height: 70vh; object-fit: contain; background: #000; }
.v-thumbs { display: flex; gap: 6px; padding: 8px; overflow-x: auto; }
.v-thumbs button { flex: none; width: 72px; height: 50px; padding: 0; border: 0; border-radius: 4px; overflow: hidden; cursor: pointer; opacity: .45; background: #111; transition: opacity .2s; box-shadow: 0 0 0 1px var(--line); }
.v-thumbs button[aria-current="true"] { opacity: 1; box-shadow: 0 0 0 2px var(--hot); }
.v-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.v-info { padding: 34px 30px 26px; display: flex; flex-direction: column; }
.v-info .eyebrow { color: var(--hot); }
.v-info h3 { font-size: clamp(30px, 3.2vw, 44px); margin: 16px 0 6px; }
.v-place { color: var(--ink-3); font-size: 15px; margin-bottom: 18px !important; }
#vText { color: var(--ink-2); font-size: 17px; }
.v-tags { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.v-tags li { font-size: 13px; padding: 5px 10px; border-radius: 4px; border: 1px solid var(--line-2); color: var(--ink-2); }
.v-nav { margin-top: auto; padding-top: 28px; display: flex; align-items: center; justify-content: space-between; color: var(--ink-3); }
.v-nav button, .v-close {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; color: var(--ink);
  font-size: 18px; cursor: pointer; transition: background .2s;
}
.v-nav button:hover, .v-close:hover { background: rgba(255,255,255,.08); }
.v-close { position: absolute; top: 12px; right: 12px; z-index: 2; font-size: 24px; line-height: 1; background: rgba(0,0,0,.5); }

/* ── Responsive ─────────────────────────────────────────────────────── */
@media (max-width: 1000px) {
  .principles { grid-template-columns: 1fr; }
  .screen { min-height: 220px; }
  .now { grid-template-columns: 1fr; }
  .ru-face { grid-template-columns: 80px 1fr auto; }
  .ru-face .ports { grid-column: 1 / -1; grid-row: 2; }
  .wall { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 72px; }
  .tile.big { grid-column: span 6; grid-row: span 4; }
  .tile.wide { grid-column: span 6; grid-row: span 3; }
  .tile, .tile.tall { grid-column: span 3; grid-row: span 3; }
  .tile.tall { grid-row: span 4; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav a:not(.nav-cta) { display: none; }
  .hud { left: var(--gut); right: var(--gut); bottom: 74px; min-width: 0; padding: 10px 12px; }
  .hud-hint { display: none; }
  .hero-copy { bottom: 170px; right: var(--gut); }
  .scroll-cue { display: none; }
  .v-inner { grid-template-columns: 1fr; min-height: 0; }
  .v-stage > img { max-height: 52vh; }
  .v-info { padding: 22px 20px 20px; }
  .ru { padding: 0 26px; }
  .ru::before { left: 8px; } .ru::after { right: 8px; }
  .wall { gap: 4px; }
  .tile .t-label { left: 10px; bottom: 9px; right: 10px; }
  .tile .t-kind { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .mq-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .mq-track span[aria-hidden] { display: none; }
  .js .rv, .js .hero-copy, .js .hud { opacity: 1; transform: none; }
  .js .screen blockquote, .js .screen-id { opacity: 1; }
}
