/* Dunova Media — v2. Night to day. Colours from the Dunova Media design system. */

:root {
  --night: #0c0c12;
  --night-2: #16161f;
  --day: #020204;
  --day-2: #101017;
  --ink: #f4f1ea;
  --ink-soft: #a9a5b3;
  --obj-ink: #121214;      /* text on light objects (windows, cards) */
  --paper: #f4f1ea;
  --orange: #ff8a3d;
  --orange-deep: #b8500f;   /* orange text on daylight, 4.5:1+ */
  --gold: #ffd27f;
  --coral: #ff4b5a;
  --magenta: #c92e8d;
  --star: #fff7e6;

  --sans: "Funnel Sans", system-ui, sans-serif;
  --display: "Funnel Display", "Funnel Sans", system-ui, sans-serif;
  --serif: "Jersey 10", "Instrument Serif", Georgia, serif;   /* pixel accent face */
  --mark: "Outfit", "Inter Tight", sans-serif;
  --mono: "Silkscreen", "Chivo Mono", ui-monospace, monospace;   /* pixel HUD labels */

  --m: clamp(16px, 1.6vw, 28px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--day); }
body {
  margin: 0; background: transparent; color: var(--ink);
  font: 400 17px/1.5 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ol, ul { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
em { font-family: var(--serif); font-style: normal; font-weight: 400; letter-spacing: 0; font-synthesis: none; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
::selection { background: var(--orange); color: var(--night); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ═══════════ HERO ═══════════ */
.hero {
  position: relative; height: 100svh; min-height: 640px; overflow: hidden;
  display: grid; grid-template-rows: auto auto 1fr auto;
  background: transparent; color: var(--paper);
}
.hero__day {  /* the sun's light: orange at the centre, fading to near-black at the corners */
  position: absolute; inset: 0; opacity: 0; pointer-events: none;
  background: radial-gradient(ellipse 70% 75% at var(--sx, 50%) var(--sy, 62%), rgba(255,150,70,.78) 0%, rgba(232,100,35,.55) 22%, rgba(140,50,15,.42) 45%, rgba(40,14,8,.55) 70%, rgba(2,2,4,.95) 100%);
}
.hero > *:not(.hero__day) { position: relative; z-index: 1; }
.hero > .rays, .hero__day { -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 48%, rgba(0,0,0,.35) 78%, transparent 96%); mask-image: linear-gradient(180deg, #000 0%, #000 48%, rgba(0,0,0,.35) 78%, transparent 96%); }
/* a plain gradient over the bottom of the hero: the light always dissolves into the page black, in any browser */
.hero > .hero__fade { position: absolute; left: 0; right: 0; bottom: 0; height: 38%; z-index: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(2,2,4,0) 0%, rgba(2,2,4,.55) 45%, rgba(2,2,4,.92) 80%, #020204 100%); }
.hero > .rays { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; image-rendering: pixelated; image-rendering: crisp-edges; }

.nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 18px var(--m); }
.nav__brand { display: inline-flex; align-items: center; gap: 10px; font: 600 17px/1 var(--display); letter-spacing: -.01em; }
.nav__brand img { width: 30px; height: 30px; border-radius: 999px; }
.nav__links { display: flex; gap: 34px; font: 400 13px/1 var(--mono); letter-spacing: .04em; text-transform: uppercase; }
.nav__links a { position: relative; opacity: .85; transition: opacity .2s; }
.nav__links a:hover { opacity: 1; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__cta { justify-self: end; padding: 12px 20px; background: var(--paper); color: #000; font: 500 13px/1 var(--mono); letter-spacing: .04em; text-transform: uppercase; transition: background-color .25s, color .25s; }
.nav__cta:hover { background: var(--orange); }
.sq { display: inline-block; width: 9px; height: 9px; margin-right: 12px; background: currentColor; vertical-align: .05em; }

.wordmark {
  display: flex; align-items: baseline; justify-content: center;
  margin: 0 var(--m) 4svh; font: 600 5vw/.78 var(--mark); letter-spacing: -.055em;
  white-space: nowrap; user-select: none;
}
.wordmark__o { width: .6em; height: .6em; margin: 0 .005em 0 .01em; align-self: baseline; transform: translateY(.02em); color: currentColor; overflow: visible; }
.wordmark__spark { fill: var(--star); }

/* stars: tiny ones twinkle, work stars show a post on hover */
.hero > .stars { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.star { position: absolute; left: var(--x); top: var(--y); width: 34px; height: 34px; margin: -17px 0 0 -17px; display: grid; place-items: center; pointer-events: auto; }
.star i { width: 15px; height: 15px; background: var(--star); clip-path: polygon(40% 0, 60% 0, 60% 40%, 100% 40%, 100% 60%, 60% 60%, 60% 100%, 40% 100%, 40% 60%, 0 60%, 0 40%, 40% 40%); filter: drop-shadow(0 0 6px rgba(255,210,127,.9)); animation: twinkle 3.2s ease-in-out infinite; animation-delay: var(--d, 0s); transition: transform .35s var(--ease); }
.star:hover i, .star:focus-visible i { transform: scale(2); animation-play-state: paused; }
.star:focus-visible { outline: none; }
.star--tiny { pointer-events: none; }
.star--tiny i { width: 6px; height: 6px; opacity: .75; filter: none; clip-path: polygon(33% 0, 67% 0, 67% 33%, 100% 33%, 100% 67%, 67% 67%, 67% 100%, 33% 100%, 33% 67%, 0 67%, 0 33%, 33% 33%); }
@keyframes twinkle { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.7); } }
.peek { position: absolute; left: 0; top: 0; margin: 0; width: 190px; padding: 8px 8px 10px; background: var(--paper); color: var(--obj-ink); border-radius: 6px; box-shadow: 0 24px 50px -18px rgba(0,0,0,.7); opacity: 0; transform: translate(var(--px, 0), var(--py, 0)) scale(.85); transform-origin: var(--po, 0 0); transition: opacity .25s, transform .35s var(--ease); pointer-events: none; }
.peek.is-on { opacity: 1; transform: translate(var(--px, 0), var(--py, 0)) scale(1); }
.peek img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 3px; }
.peek figcaption { margin-top: 8px; font: 400 20px/1 var(--serif); color: var(--orange-deep); }

/* the stage: eclipse + ring */
.stage {
  --D: min(50svh, 470px, 70vw);
  --r: calc(var(--D) * .53);
  --pw: calc(var(--r) * .5);
  --ph: calc(var(--D) * .082);
  position: relative; display: grid; place-items: center; perspective: 1600px; min-height: 0;
}
.stage__3d { position: relative; width: var(--D); height: var(--D); transform-style: preserve-3d; }
.eclipse { position: absolute; left: -30%; top: -30%; width: 160%; height: 160%; max-width: none; overflow: visible; transform: translateZ(0); }
.eclipse__dark { fill: #121219; stroke: rgba(255,138,61,.18); stroke-width: .8; }
.eclipse__glow { transform-origin: 0 0; }
.eclipse__spark { fill: var(--star); opacity: 0; transform-origin: 38px -42px; transform: scale(.4); }

.ring {
  position: absolute; left: 50%; top: 50%; width: 0; height: 0;
  /* the ring orbits the disc along the reveal's diagonal (same -35° as the light) */
  transform-style: preserve-3d; transform: rotateZ(-35deg) translateY(calc(var(--r) * -.1045)) rotateX(-6deg) rotateY(var(--ry, 0deg));
}
.panel {
  position: absolute; left: calc(var(--pw) / -2); top: calc(var(--ph) / -2);
  width: var(--pw); height: var(--ph);
  display: grid; place-items: center; overflow: hidden;
  transform: rotateY(calc(var(--i) * 60deg)) translateZ(var(--r)) scale(var(--s, 1));
  backface-visibility: hidden;
  border-radius: 999px;
  font: 500 calc(var(--ph) * .44)/1 var(--sans); letter-spacing: -.01em; color: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,.22) 0%, rgba(255,255,255,.06) 50%, rgba(255,255,255,.02) 52%, rgba(255,255,255,.08) 100%);
  border: 1.5px solid rgba(255,255,255,.38);
  box-shadow: inset 0 2px 0 rgba(255,255,255,.55), inset 0 -8px 18px rgba(255,255,255,.06);
  transition: background-color .25s, border-color .25s;
}
.panel::after { content: ""; position: absolute; left: 10%; right: 10%; top: 9%; height: 24%; border-radius: 999px; background: linear-gradient(180deg, rgba(255,255,255,.4), rgba(255,255,255,0)); pointer-events: none; }
.panel:hover { background-color: rgba(255,255,255,.12); border-color: rgba(255,255,255,.7); }
/* the ring itself: a dotted orbit lying in the same plane as the pills */
.orbit {
  position: absolute; left: calc(var(--r) * -1); top: calc(var(--r) * -1);
  width: calc(var(--r) * 2); height: calc(var(--r) * 2); border-radius: 50%;
  border: 3px dotted rgba(255,247,230,.85); transform: rotateX(90deg); pointer-events: none;
}

.hero__foot { display: grid; grid-template-columns: 1fr 1fr 1.4fr; align-items: end; gap: 20px; padding: 0 var(--m) 22px; font: 400 13px/1.5 var(--mono); letter-spacing: .04em; text-transform: uppercase; }
.hero__foot p { margin: 0; }
.hero__foot-r { justify-self: end; text-align: left; }

/* ═══════════ STATEMENT ═══════════ */
.statement { position: relative; height: 100svh; display: grid; place-content: center; text-align: center; padding: 0 var(--m); overflow: hidden; background: transparent; }
/* the dome: rises from below the fold; white words only show where it passes behind them */
.statement__glow {
  position: absolute; left: 50%; top: 100%; width: 170vw; height: 190vh; margin-left: -85vw;
  border-radius: 50%;
  background: radial-gradient(closest-side, #f27a2c 0%, #ff8f45 30%, #ffb06a 55%, rgba(255,203,140,.75) 72%, rgba(250,228,200,.35) 86%, rgba(244,241,234,0) 100%);
  filter: blur(18px); will-change: transform;
}
.statement::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 26%; background: linear-gradient(180deg, rgba(244,241,234,0), var(--day)); pointer-events: none; }
.statement__title { position: relative; z-index: 1; font: 500 clamp(48px, 8.4vw, 150px)/.95 var(--sans); letter-spacing: -.045em; color: var(--day); }
.statement__title em { font-size: 1.12em; color: var(--day); }
.sl { display: block; }
.statement__sub { position: relative; z-index: 1; max-width: 34ch; margin: 36px auto 0; font-size: 20px; line-height: 1.45; color: var(--day); font-weight: 500; }

/* ═══════════ OPENING: the Dunova mark, outline first, then the work ═══════════ */
.opening { height: 780vh; position: relative; background: transparent; }
.opening__pin { position: sticky; top: 0; height: 100svh; overflow: hidden; display: grid; place-items: center; --s: 34vmin; }
.opening__mask {
  position: absolute; inset: 0;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 104 100'><path d='M8 58 A38 38 0 1 0 84 58 A38 38 0 1 0 8 58 Z M88 0 L91.5 10.5 L102 14 L91.5 17.5 L88 28 L84.5 17.5 L74 14 L84.5 10.5 Z'/></svg>") center / var(--s) auto no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 104 100'><path d='M8 58 A38 38 0 1 0 84 58 A38 38 0 1 0 8 58 Z M88 0 L91.5 10.5 L102 14 L91.5 17.5 L88 28 L84.5 17.5 L74 14 L84.5 10.5 Z'/></svg>") center / var(--s) auto no-repeat;
}
.opening__mosaic {
  position: absolute; inset: -4%; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 10px; align-content: center;
  background: var(--night); opacity: var(--io, 0); filter: grayscale(var(--g, 1)) contrast(1.05);
  transform: scale(var(--ms, 1.15));
}
.opening__mosaic img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.opening__outline { position: absolute; left: 50%; top: 50%; width: var(--s); height: auto; transform: translate(-50%, -50%); overflow: visible; opacity: var(--oo, 1); pointer-events: none; }
.opening__outline path { fill: none; stroke: var(--paper); stroke-width: 1.6px; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: var(--draw, 1); stroke-linejoin: round; }
.opening__cap { position: absolute; left: 50%; bottom: 9svh; transform: translateX(-50%); white-space: nowrap; font: 500 clamp(22px, 2.4vw, 36px)/1 var(--sans); letter-spacing: -.03em; opacity: var(--co, 0); }
.opening__cap em { color: var(--orange); font-size: 1.1em; }

/* ═══════════ WORK: Neutomni split ═══════════ */
.work { display: grid; grid-template-columns: 1fr 1fr; min-height: 100svh; background: transparent; }
.work__left { display: flex; flex-direction: column; justify-content: space-between; padding: 72px var(--m) 40px; }
.work__title { font: 500 clamp(64px, 9.4vw, 168px)/.86 var(--sans); letter-spacing: -.05em; color: var(--orange); }
.work__title em { display: block; margin-left: .3em; font-size: 1.08em; }
.work__title sup { font: 400 .16em/1 var(--sans); letter-spacing: 0; vertical-align: top; margin-left: 6px; }
.work__list { margin-top: 64px; }
.work__list a {
  display: grid; grid-template-columns: 3.2em 1fr auto; align-items: baseline; gap: 12px;
  padding: 14px 10px; border-bottom: 1px solid rgba(255,138,61,.22); color: var(--orange);
  transition: background-color .3s, color .3s, padding .4s var(--ease);
}
.work__list .n { font: 400 15px/1 var(--mono); }
.work__list .t { font: 400 clamp(30px, 3vw, 50px)/1.05 var(--serif); }
.work__list .tags { font: 400 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.work__list li:not(.is-active) a { color: rgba(255,138,61,.5); }
.work__list li.is-active a, .work__list a:hover { background: var(--orange); color: var(--night); padding-left: 22px; }
.work__list .is-placeholder .t::after { content: " ·"; }
.work__right { position: relative; display: block; background: var(--day-2); overflow: hidden; }
@media (hover: hover) and (pointer: fine) { .work__right { cursor: none; } }
/* rocket cursor over the work preview */
.rcursor { position: fixed; left: 0; top: 0; z-index: 100; pointer-events: none; display: grid; justify-items: center; gap: 2px; opacity: 0; transform: translate3d(var(--cx, -200px), var(--cy, -200px), 0) translate(-50%, -38%); transition: opacity .25s; }
.rcursor.is-on { opacity: 1; }
.rcursor__ship { width: 72px; height: 102px; image-rendering: pixelated; overflow: visible; transform: rotate(var(--tilt, 0deg)) scale(var(--sc, .6)); transition: transform .45s var(--ease); filter: drop-shadow(0 10px 14px rgba(0,0,0,.35)); }
.rcursor.is-on .rcursor__ship { --sc: 1; }
.rcursor__flame { transform-origin: 6px 14px; animation: flame .16s ease-in-out infinite alternate; }
.rcursor__label { padding: 8px 14px; border-radius: 999px; background: var(--orange); color: var(--night); box-shadow: 0 8px 20px -6px rgba(0,0,0,.5); font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.work__frame { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.work__img, .work__ph {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.04); transition: opacity .6s, transform 1s var(--ease);
}
.work__img.is-on, .work__ph.is-on { opacity: 1; transform: none; }
.work__ph { display: grid; place-content: center; text-align: center; gap: 8px; background: var(--day-2); color: var(--orange); border: 2px dashed rgba(255,138,61,.3); }
.work__ph p { font: 400 48px/1 var(--serif); }
.work__ph small { font: 400 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; }

/* ═══════════ SERVICES: tall cards ═══════════ */
.services { padding: 140px var(--m); background: transparent; }
.services__title { font: 500 clamp(40px, 5.2vw, 88px)/.98 var(--sans); letter-spacing: -.045em; max-width: 22ch; }
.services__title em { color: var(--orange); font-size: 1.1em; }
.phases { margin-top: 72px; border-top: 1px solid rgba(244,241,234,.14); }
.phase {
  display: grid; grid-template-columns: clamp(72px, 7vw, 120px) minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, .8fr);
  align-items: center; gap: 0 clamp(20px, 3vw, 56px);
  padding: 34px var(--m); margin: 0 calc(var(--m) * -1);
  border-bottom: 1px solid rgba(244,241,234,.14); cursor: default;
  transition: background-color .5s var(--ease), color .5s var(--ease);
}
.phase__moon { width: 100%; overflow: visible; }
.phase__dark { fill: #1b1b25; stroke: rgba(255,138,61,.25); stroke-width: 1; transition: fill .5s; }
.phase__lit { fill: var(--orange); }
.phase__name { font: 500 clamp(36px, 4.6vw, 80px)/.95 var(--sans); letter-spacing: -.045em; }
.phase__lede { font-size: clamp(18px, 1.5vw, 22px); line-height: 1.35; max-width: 28ch; }
.phase__list { display: grid; gap: 6px; font: 400 13px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); transition: color .5s; }
.phase__list li::before { content: "✦ "; color: var(--orange); transition: color .5s; }
.phase:hover, .phase:focus-visible, .phase.is-on { background: #12121b; color: var(--paper); outline: none; }
.phase:hover .phase__dark, .phase:focus-visible .phase__dark, .phase.is-on .phase__dark { fill: #2a2a33; }
.phase:hover .phase__list, .phase:focus-visible .phase__list, .phase.is-on .phase__list { color: #cfcad6; }
.phase:hover .phase__list li::before, .phase.is-on .phase__list li::before { color: var(--orange); }

/* ═══════════ PROCESS ═══════════ */
.process { position: relative; padding: 120px var(--m) 160px; background: transparent; display: grid; justify-items: center; }
.process > :not(.flight) { position: relative; z-index: 1; }
.flight { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 0; }
.flight__ahead { stroke: rgba(244,241,234,.22); stroke-width: 4; stroke-dasharray: 4 10; stroke-linecap: butt; }
.flight__trail { stroke: var(--orange); stroke-width: 4; stroke-dasharray: 4 10; stroke-linecap: butt; }
.rocket { transition: opacity .3s; }
.rocket__flame { transform-origin: 6px 14px; animation: flame .18s ease-in-out infinite alternate; }
@keyframes flame { from { transform: scaleY(.7); } to { transform: scaleY(1.15); } }
.glass { z-index: 2; }
.steps { width: 100%; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.steps li { display: grid; gap: 18px; }
.steps li:nth-child(even) { margin-top: 12vh; }
.steps__word { font: 500 clamp(48px, 7vw, 124px)/.9 var(--sans); letter-spacing: -.05em; }
.steps__word { color: rgba(244,241,234,.13); transition: color .6s var(--ease); }
.steps__word em { font-size: 1.1em; }
.steps p { opacity: .35; transition: opacity .6s; }
.steps li.is-lit .steps__word { color: var(--ink); }
.steps li.is-lit p { opacity: 1; }
.steps li:last-child.is-lit .steps__word { color: var(--orange); }
.steps p { max-width: 26ch; color: var(--ink-soft); }
.glass {
  margin-top: 96px; padding: 22px 46px; border-radius: 999px;
  font: 500 24px/1 var(--sans); letter-spacing: -.02em; color: var(--obj-ink);
  background: linear-gradient(180deg, rgba(255,210,127,.75), rgba(255,138,61,.55));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), inset 0 -10px 24px rgba(184,80,15,.18), 0 20px 40px -18px rgba(184,80,15,.55);
  border: 1px solid rgba(255,255,255,.6);
  transition: transform .4s var(--ease), box-shadow .4s;
}
.glass:hover { transform: translateY(-3px) scale(1.02); }

/* ═══════════ PRICING ═══════════ */
.pricing { position: relative; padding: 140px var(--m) 140px; overflow: hidden; display: grid; justify-items: center; background: transparent; }
.pricing__glow { position: absolute; inset: 0; background: radial-gradient(60% 55% at 50% 55%, rgba(255,138,61,.75), rgba(255,180,107,.45) 50%, rgba(244,241,234,0) 85%); }
.pill { position: relative; padding: 8px 30px; border: 1.5px solid currentColor; border-radius: 50%; font: 400 34px/1.1 var(--serif); color: var(--paper); }
.pricing .pill { color: var(--ink); }

/* ═══════════ DESK: about + proof ═══════════ */
.desk { position: relative; height: max(100svh, 760px); overflow: hidden; color: var(--obj-ink);
  background: var(--night) url("assets/img/total-solar-eclipse-2019-at-la-silla.jpg") center / cover no-repeat; }
.desk__bar { position: relative; z-index: 20; display: flex; align-items: center; gap: 18px; height: 30px; padding: 0 14px; font-size: 13px; color: var(--paper); background: rgba(12,12,18,.55); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.desk__apple { color: var(--orange); }
.desk__clock { margin-left: auto; font-variant-numeric: tabular-nums; }
.desk__area { position: absolute; inset: 30px 0 0; }
.win {
  position: absolute; left: var(--x); top: var(--y); width: var(--w); z-index: var(--z);
  background: #fff; color: var(--obj-ink); border-radius: 4px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6);
  touch-action: none;
}
.win[hidden] { display: none; }
.win__bar { display: flex; align-items: center; gap: 7px; padding: 9px 12px; cursor: grab; user-select: none; }
.win__bar:active { cursor: grabbing; }
.win__bar i { width: 12px; height: 12px; border-radius: 50%; background: #d8d4cc; }
.win__bar i:first-child { background: var(--coral); cursor: pointer; }
.win__bar span { flex: 1; text-align: center; margin-right: 50px; font-weight: 500; font-size: 14px; color: var(--orange-deep); }
.win__body { padding: 0 8px 8px; }
.win__body > img { width: 100%; }
.ph-photo { aspect-ratio: 4 / 5; display: grid; place-content: center; justify-items: center; gap: 10px; background: #ebe6db; border: 2px dashed rgba(184,80,15,.35); color: var(--orange-deep); text-align: center; }
.ph-photo img { width: 96px; border-radius: 50%; }
.ph-photo p { font: 400 30px/1 var(--serif); }
.ph-photo small { font: 400 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.win__text { padding: 8px 26px 26px; display: grid; gap: 12px; font-size: 16px; line-height: 1.55; }
.win__text p:first-child { font: 400 30px/1.1 var(--serif); color: var(--orange-deep); }
.win__text .sig { font-weight: 600; }
.faq h3 { font: 600 16px/1.3 var(--sans); color: var(--orange-deep); margin-top: 6px; }
.faq p:first-child { all: unset; }
.chat { display: grid; grid-template-columns: 42% 1fr; min-height: 300px; padding: 0; }
.chat__list li { border-bottom: 1px solid #eee; }
.chat__list button { width: 100%; display: grid; gap: 2px; text-align: left; padding: 12px 16px 12px 52px; position: relative; color: var(--orange-deep); cursor: pointer; transition: background-color .25s, color .25s; }
.chat__list button::before { content: ""; position: absolute; left: 14px; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%; background: currentColor; opacity: .85; }
.chat__list button span { font-size: 14px; opacity: .75; }
.chat__list button:hover { background: #f6efe6; }
.chat__list button.is-on { background: var(--orange-deep); color: #fff; }
.chat__typing { align-self: flex-start; display: inline-flex; gap: 5px; padding: 14px 16px; border-radius: 14px 14px 14px 2px; background: #e9e2d6; }
.chat__typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--orange-deep); opacity: .4; animation: dot 1s infinite; }
.chat__typing i:nth-child(2) { animation-delay: .15s; } .chat__typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 50% { opacity: 1; transform: translateY(-3px); } }
.chat__bubble { animation: pop .4s var(--ease); transform-origin: 0 100%; }
@keyframes pop { from { opacity: 0; transform: scale(.9) translateY(8px); } }
.chat__thread { background: #f6f4ef; display: flex; flex-direction: column; justify-content: flex-end; padding: 18px; gap: 6px; }
.chat__who { font-size: 13px; color: var(--orange-deep); }
.chat__bubble { background: var(--orange-deep); color: #fff; padding: 14px 16px; border-radius: 14px 14px 14px 2px; font-size: 16px; line-height: 1.4; }
.chat__date { text-align: right; font-size: 13px; color: var(--orange-deep); }
.icons { position: absolute; right: 18px; top: 30px; display: grid; gap: 18px; justify-items: center; z-index: 2; }
.icons button { display: grid; justify-items: center; gap: 6px; width: 96px; padding: 6px; border-radius: 6px; color: var(--paper); font-size: 13px; text-shadow: 0 1px 3px rgba(0,0,0,.8); transition: background-color .2s; }
.icons button:hover, .icons button:focus-visible { background: rgba(255,255,255,.14); }
.icons img { width: 54px; height: 64px; object-fit: cover; border: 2px solid #fff; box-shadow: 0 6px 14px rgba(0,0,0,.4); }
.ico { width: 54px; height: 64px; display: grid; place-items: end center; padding-bottom: 8px; background: #fff; color: var(--orange-deep); font: 500 11px/1 var(--mono); clip-path: polygon(0 0, 72% 0, 100% 22%, 100% 100%, 0 100%); }
.ico--dir { height: 46px; margin: 9px 0; background: #6fb6ff; clip-path: polygon(0 12%, 38% 12%, 46% 0, 100% 0, 100% 100%, 0 100%); }

/* ═══════════ CONTACT: the phone ═══════════ */
.contact { position: relative; padding: 120px var(--m) calc(27vw + 40px); display: grid; justify-items: center; text-align: center; background: transparent; overflow: hidden; }
/* the end of the journey: from the sun at the top of the page, down to Earth */
.earth { position: absolute; left: 0; bottom: 0; width: 100%; height: auto; image-rendering: pixelated; image-rendering: crisp-edges; transform: translateY(var(--er, 40%)); pointer-events: none; }
.contact__arrive { margin-top: 80px; font: 400 12px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: #8fd3ff; opacity: var(--ea, 0); }
.phone {
  width: min(330px, 72vw); aspect-ratio: 9 / 19.5; padding: 12px; border-radius: 52px;
  background: linear-gradient(145deg, #2a2a33, #0c0c12 60%);
  box-shadow: inset 0 0 0 2px #3a3a44, 0 50px 80px -30px rgba(18,18,20,.55);
  transform: rotate(-6deg);
}
.phone__screen { position: relative; height: 100%; border-radius: 40px; overflow: hidden; background: var(--night); }
.phone__bars { position: absolute; z-index: 3; top: 14px; left: 14px; right: 14px; display: flex; gap: 4px; }
.phone__bars i { flex: 1; height: 3px; border-radius: 2px; background: rgba(255,255,255,.3); overflow: hidden; }
.phone__bars i::after { content: ""; display: block; height: 100%; width: 0; background: #fff; }
.phone__bars i.done::after { width: 100%; }
.phone__bars i.now::after { animation: bar 2.8s linear forwards; }
@keyframes bar { to { width: 100%; } }
.phone__who { position: absolute; z-index: 3; top: 28px; left: 14px; display: flex; align-items: center; gap: 8px; color: #fff; font-size: 13px; text-shadow: 0 1px 3px rgba(0,0,0,.6); }
.phone__who img { width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--orange); }
.phone__slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity .45s; }
.phone__slide.is-on { opacity: 1; }
.pill--small { margin-top: 72px; font-size: 26px; color: var(--orange); }
.contact__title { margin-top: 26px; font: 500 clamp(52px, 9vw, 160px)/.92 var(--sans); letter-spacing: -.05em; color: var(--orange); }
.contact__title em { font-size: 1.1em; }
.contact__sub { margin-top: 28px; max-width: 38ch; font-size: 19px; }
.btn { margin-top: 36px; display: inline-flex; gap: 12px; align-items: center; padding: 18px 30px; border-radius: 999px; background: var(--orange); color: var(--night); font-weight: 600; font-size: 18px; transition: background-color .25s, transform .3s var(--ease); }
.btn span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--night); color: var(--orange); transition: transform .35s var(--ease); }
.btn:hover { background: var(--paper); }
.btn:hover span { transform: rotate(45deg); }

.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding: 22px var(--m); background: var(--night); color: #a9a5ad; font-size: 13px; border-top: 1px solid rgba(244,241,234,.08); }
.foot a { color: var(--paper); }

/* ═══════════ TABLET ═══════════ */
@media (max-width: 1000px) {
  .nav__links { display: none; }
  .nav { grid-template-columns: 1fr auto; }
  .work { grid-template-columns: 1fr; }
  .work__right { display: none; }
  .work__list li a { grid-template-columns: 2.6em 1fr; }
  .work__list .tags { grid-column: 2; }
  .phase { grid-template-columns: 72px 1fr; row-gap: 14px; }
  .phase__moon { grid-row: span 3; align-self: start; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .steps li:nth-child(even) { margin-top: 6vh; }
}

/* ═══════════ PHONE ═══════════ */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav { padding: 14px var(--m); }
  .nav__brand span { display: none; }
  .nav__cta { font-size: 16px; }
  .wordmark { font-size: 8vw; margin-top: 8px; }
  .stage { --D: min(74vw, 42svh); }
  .star:not(.star--tiny) { width: 28px; height: 28px; }
  .peek { width: 140px; }
  .statement__sub { font-size: 17px; }
  .opening__mosaic { grid-template-columns: repeat(3, 1fr); }
  .opening__pin { --s: 56vmin; }
  .work__left { padding-top: 56px; }
  .work__list .t { font-size: 30px; }
  .services, .process, .pricing, .contact { padding-top: 96px; padding-bottom: 96px; }
  .phase { grid-template-columns: 56px 1fr; gap: 12px 18px; padding: 26px var(--m); }
  .steps { grid-template-columns: 1fr; }
  .steps li:nth-child(even) { margin-top: 0; padding-left: 14vw; }
  .glass { font-size: 20px; padding: 18px 34px; margin-top: 64px; }
  .desk { height: auto; min-height: 0; }
  .desk__area { position: relative; inset: auto; padding: 18px var(--m) 28px; display: grid; gap: 16px; }
  .win, .win[hidden] { position: relative; left: auto; top: auto; width: 100%; display: block; }
  .win--img { display: none !important; }
  .icons { display: none; }
  .chat { grid-template-columns: 1fr; }
  .chat__list { display: flex; overflow-x: auto; }
  .chat__list li { flex: none; border: 0; }
  .chat__list button { padding: 10px 14px 10px 44px; }
  .win__bar span { margin-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .statement__glow { transform: translateY(-76%); }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .opening { height: auto; }
  .opening__pin { position: relative; height: 80svh; --s: 60vmin; --io: 1; --g: 0; --draw: 0; }
}

/* the eclipse and its glow are scenery: let the stars underneath take the pointer */
.stage, .eclipse { pointer-events: none; }
.panel { pointer-events: auto; }

/* ── pixel rocket cursor, site-wide (swap the files in assets/cursor/ for your own) ── */
html { cursor: url("assets/cursor/rocket.svg") 12 0, auto; }
a, button, [role="tab"], .phase, .q, .star, label, summary { cursor: url("assets/cursor/rocket-go.svg") 12 0, pointer; }

/* work stars are satellites: they drift and tilt slowly; hover brings them close */
.star:not(.star--tiny) { width: 64px; height: 44px; margin: -22px 0 0 -32px; }
.sat { width: 56px; height: auto; image-rendering: pixelated; filter: drop-shadow(0 0 6px rgba(127,178,229,.45)); animation: orbitdrift 7s ease-in-out infinite; animation-delay: calc(var(--d, 0s) * -1); transition: transform .35s var(--ease); }
.star:hover .sat, .star:focus-visible .sat { animation-play-state: paused; transform: scale(1.5) rotate(0deg); }
@keyframes orbitdrift { 0%, 100% { transform: translateY(0) rotate(-12deg); } 50% { transform: translateY(-7px) rotate(10deg); } }
@media (max-width: 640px) { .sat { width: 40px; } }

.star { opacity: var(--so, 1); }
.star:hover, .star:focus-visible { opacity: 1; }
@media (max-width: 640px) {
  .contact { padding-bottom: calc(56vw + 40px); }
  .earth { width: 200%; left: -50%; }
}

/* pixel speech bubbles: the flying rocket and the rocket cursor say hello */
.say {
  position: absolute; left: 0; top: 0; z-index: 5; margin: 0; padding: 10px 14px 9px; max-width: 250px;
  background: var(--paper); color: var(--night); font: 400 12px/1.35 var(--mono); letter-spacing: .04em;
  clip-path: polygon(0 4px, 4px 4px, 4px 0, calc(100% - 4px) 0, calc(100% - 4px) 4px, 100% 4px, 100% calc(100% - 4px), calc(100% - 4px) calc(100% - 4px), calc(100% - 4px) 100%, 4px 100%, 4px calc(100% - 4px), 0 calc(100% - 4px));
  box-shadow: inset 0 -4px 0 rgba(255,138,61,.55);
  opacity: 0; transform: translate(var(--bx, 0), var(--by, 0)) translate(-50%, -100%) scale(.6); transform-origin: 50% 100%;
  transition: opacity .2s steps(3), transform .25s steps(4); pointer-events: none; width: max-content; max-width: 230px; white-space: normal; text-align: center;
}
.say.is-on { opacity: 1; transform: translate(var(--bx, 0), var(--by, 0)) translate(-50%, -100%) scale(1); }
.say--cursor { position: fixed; z-index: 101; background: var(--orange); box-shadow: inset 0 -4px 0 rgba(18,18,20,.25); transform-origin: 0 100%; }
.say--cursor { transform: translate(var(--bx, 0), var(--by, 0)) translate(14px, -100%) scale(.6); }
.say--cursor.is-on { transform: translate(var(--bx, 0), var(--by, 0)) translate(14px, -100%) scale(1); }

.process > .say { position: absolute; z-index: 5; }

/* smooth scrolling (Lenis) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* ── premium type: Funnel Display for headlines, Funnel Sans for text, Chivo Mono for labels ── */
.statement__title, .work__title, .services__title, .steps__word, .contact__title .mm__title { font-family: var(--display); }
.statement__title em, .work__title em, .services__title em, .steps__word em, .contact__title em { font-family: var(--serif); }

/* ── deep-space starfield behind the whole page ── */
.starfield { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }

/* ── HUD: mission-control corner readouts, after the hero ── */
.hud { position: fixed; inset: 0; z-index: 40; pointer-events: none; color: rgba(244,241,234,.86); font: 400 13px/1.5 var(--mono); letter-spacing: .04em; text-transform: uppercase; opacity: 0; transition: opacity .45s var(--ease); }
.hud.is-on { opacity: 1; }
.hud p { margin: 0; }
.hud__l { position: absolute; top: 22px; left: var(--m); display: flex; gap: clamp(60px, 14vw, 220px); }
.hud__l b { font-weight: 400; }
.hud__r { position: absolute; top: 22px; right: var(--m); text-align: right; opacity: .7; }
.hud__b { position: absolute; bottom: 18px; right: var(--m); font-size: 11px; opacity: .55; }
.sq--o { background: var(--orange); margin: 0 8px; width: 7px; height: 7px; }
.hud__t, .hud__r { transition: opacity .25s; }
.hud.is-swap .hud__t, .hud.is-swap .hud__r, .hud.is-swap .hud__n { opacity: 0; }
@media (max-width: 640px) {
  .hud__r, .hud__b { display: none; }
  .hud__l { gap: 28px; font-size: 11px; top: 14px; }
  .hero__foot { grid-template-columns: 1fr 1fr; font-size: 11px; }
  .hero__foot-r { display: none; }
  .nav__cta { padding: 10px 12px; font-size: 11px; }
}

/* ═══════════ SERVICES: mission map (pinned) ═══════════ */
.mm { position: relative; }
.mm__pin { position: relative; height: 100svh; overflow: hidden; }
.mm__map { position: absolute; left: 0; bottom: 0; width: 64%; height: 100%; overflow: visible; }
.mm__map text { font: 400 11px var(--mono); letter-spacing: .06em; text-transform: uppercase; fill: rgba(244,241,234,.55); }
.mm__map .orb { fill: none; stroke: rgba(244,241,234,.22); stroke-width: 1; stroke-dasharray: 2 6; transition: stroke .5s, stroke-width .5s; }
.mm__map .orb.is-on { stroke: rgba(255,138,61,.85); stroke-width: 1.4; stroke-dasharray: none; }
.mm__map .trail { fill: none; stroke: url(#mmTrail); stroke-width: 10; stroke-linecap: round; opacity: 0; transition: opacity .5s; }
.mm__map .trail.is-on { opacity: 1; }
.mm__map .node rect { fill: #020204; stroke: rgba(244,241,234,.6); stroke-width: 1.2; transition: fill .4s, stroke .4s; }
.mm__map .node text { fill: rgba(244,241,234,.75); transition: fill .4s; }
.mm__map .node.is-on rect { fill: var(--orange); stroke: var(--orange); }
.mm__map .node.is-on text { fill: var(--paper); }
.mm__map .node .halo { fill: none; stroke: var(--orange); stroke-width: 1; opacity: 0; transform-box: fill-box; transform-origin: center; }
.mm__map .node.is-on .halo { animation: halo 2.2s ease-out infinite; }
@keyframes halo { 0% { opacity: .9; transform: scale(.6); } 100% { opacity: 0; transform: scale(2.6); } }
.mm__map .sub circle { fill: rgba(244,241,234,.45); transition: fill .4s; }
.mm__map .sub text { font-size: 10px; fill: rgba(244,241,234,.28); transition: fill .4s; }
.mm__map .sub.is-on circle { fill: var(--orange); }
.mm__map .sub.is-on text { fill: rgba(244,241,234,.8); }
.mm__copy { position: absolute; left: 60%; right: var(--m); top: 50%; transform: translateY(-58%); }
.mm__step { position: absolute; inset: auto 0 auto 0; top: 0; transform: translateY(-50%); opacity: 0; transition: opacity .45s var(--ease); pointer-events: none; }
.mm__step.is-on { opacity: 1; pointer-events: auto; }
.mm__step > * { transform: translateY(14px); transition: transform .6s var(--ease); }
.mm__step.is-on > * { transform: none; }
.mm__step.is-on > :nth-child(2) { transition-delay: .05s; } .mm__step.is-on > :nth-child(3) { transition-delay: .1s; } .mm__step.is-on > :nth-child(4) { transition-delay: .15s; }
.mm__kicker { margin: 0 0 22px; font: 400 13px/1 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--orange); }
.mm__kicker .sq { width: 9px; height: 9px; }
.mm__title { margin: 0; font: 500 clamp(36px, 4.2vw, 64px)/1.02 var(--display); letter-spacing: -.035em; color: var(--paper); max-width: 13ch; }
.mm__text { margin: 22px 0 0; max-width: 40ch; font-size: 18px; line-height: 1.5; color: rgba(244,241,234,.7); }
.mm__list { margin-top: 26px; display: grid; gap: 10px; font: 400 13px/1 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: rgba(244,241,234,.85); }
.mm__list .sq { width: 7px; height: 7px; background: var(--orange); }
.mm__bar { position: absolute; left: var(--m); right: var(--m); bottom: 22px; padding-top: 14px; border-top: 1px solid rgba(244,241,234,.16); display: grid; grid-template-columns: 1fr auto; gap: 10px 24px; font: 400 13px/1.3 var(--mono); letter-spacing: .04em; text-transform: uppercase; }
.mm__cap { margin: 0; color: rgba(244,241,234,.9); }
.mm__prog { margin: 0; justify-self: end; display: flex; align-items: center; gap: 12px; color: rgba(244,241,234,.75); }
.mm__segs { display: inline-flex; gap: 3px; }
.mm__segs i { width: 5px; height: 11px; background: rgba(244,241,234,.18); transition: background-color .3s; }
.mm__segs i.is-on { background: var(--orange); }
.mm__steps { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; color: rgba(244,241,234,.5); }
.mm__steps li { display: flex; align-items: center; gap: 10px; transition: color .3s; }
.mm__steps li i { width: 11px; height: 11px; border: 1px dashed currentColor; flex: none; transition: background-color .3s, border-color .3s; }
.mm__steps li span { opacity: .6; }
.mm__steps li.is-on { color: var(--paper); }
.mm__steps li.is-on i { background: var(--orange); border: 1px solid var(--orange); }
.mm__sat { transition: opacity .4s; }
@media (max-width: 900px) {
  .mm__map { width: 100%; height: 58%; top: 0; bottom: auto; }
  .mm__copy { left: var(--m); top: 60%; transform: none; }
  .mm__step { transform: none; }
  .mm__title { font-size: 30px; }
  .mm__text { font-size: 15px; margin-top: 12px; }
  .mm__list { display: none; }
  .mm__steps { display: none; }
  .mm__bar { font-size: 11px; }
}

/* ── Turion-style details: square-bullet section labels, square buttons ── */
.kick { margin: 0 0 26px; font: 400 13px/1 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--orange); }
.kick--c { text-align: center; justify-self: center; }
.process .kick { margin-bottom: 56px; }
.contact .kick { margin: 64px 0 0; }
.btn { border-radius: 0; font: 500 14px/1 var(--mono); letter-spacing: .05em; text-transform: uppercase; background: var(--paper); color: #000; padding: 18px 26px; }
.btn span { border-radius: 0; background: var(--orange); color: #000; width: 26px; height: 26px; }
.btn:hover { background: var(--orange); }
.btn:hover span { background: #000; color: var(--orange); }

.hud.no-b .hud__b { opacity: 0; }
.hud__b { transition: opacity .3s; }
@media (max-width: 900px) { .mm__map { opacity: .6; } }

/* Selected work: title and four rows always fit in one screen (scale with height as well as width) */
.work__left { height: 100svh; padding: max(64px, 9svh) var(--m) max(24px, 4svh); }
.work__title { font-size: min(9.4vw, 15svh); }
.work__list { margin-top: 0; }
.work__list a { padding-top: min(14px, 1.6svh); padding-bottom: min(14px, 1.6svh); }
.work__list .t { font-size: min(3vw, 5.6svh, 50px); }
@media (max-width: 1000px) { .work__left { height: auto; } .work__title { font-size: clamp(56px, 16vw, 120px); } .work__list .t { font-size: 30px; } }

/* ═══════════ WORK CAROUSEL: inside the Dunova mark, then full screen ═══════════ */
.car { position: absolute; inset: 0; background: #020204; opacity: var(--io, 0); filter: grayscale(var(--g, 1)); transform: scale(var(--ms, 1.15)); }
.slide { position: absolute; inset: 0; display: block; overflow: hidden; clip-path: inset(0 0 0 var(--w, 100%)); }
.slide:first-child { --w: 0%; }
.slide__bg { position: absolute; inset: -10%; width: 120%; height: 120%; max-width: none; object-fit: cover; filter: blur(48px) brightness(.45) saturate(1.35); transform: translateX(var(--px, 0%)) scale(1.1); }
.slide__post { position: absolute; left: 50%; top: 50%; height: min(74svh, 115vw); width: auto; aspect-ratio: 4 / 5; object-fit: cover; transform: translate(-50%, -50%) translateX(var(--px, 0%)) scale(var(--sc, 1)); box-shadow: 0 50px 90px -30px rgba(0,0,0,.85); }
.car__bar { position: absolute; z-index: 3; left: var(--m); right: var(--m); bottom: 22px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 24px; opacity: var(--bo, 0); font: 400 13px/1.3 var(--mono); letter-spacing: .04em; text-transform: uppercase; pointer-events: none; }
.car__bar a { pointer-events: auto; }
.car__left { margin: 0; display: flex; gap: 48px; color: rgba(244,241,234,.5); }
.car__left a { color: var(--paper); border-bottom: 1px solid currentColor; padding-bottom: 3px; transition: color .25s; }
.car__left a:hover { color: var(--orange); }
.car__mid { margin: 0; display: flex; align-items: center; gap: 22px; color: var(--paper); font-variant-numeric: tabular-nums; }
.car__dots { display: flex; gap: 8px; }
.car__dots i { width: 22px; height: 22px; border: 1.5px solid rgba(244,241,234,.75); border-radius: 999px; transition: width .45s var(--ease), background-color .45s; }
.car__dots i.is-on { width: 64px; background: rgba(244,241,234,.55); }
.car__meta { margin: 0; justify-self: end; display: grid; gap: 4px; min-width: 220px; color: rgba(244,241,234,.5); }
.car__meta b { font: 500 22px/1.1 var(--display); letter-spacing: -.01em; text-transform: none; color: var(--paper); }
.car__meta small { font-size: 11px; }
@media (hover: hover) and (pointer: fine) { .car { cursor: none; } .car a { cursor: none; } }
@media (max-width: 640px) {
  .car__bar { grid-template-columns: 1fr auto; font-size: 11px; }
  .car__left { display: none; }
  .car__dots i { width: 14px; height: 14px; } .car__dots i.is-on { width: 40px; }
  .car__meta { min-width: 0; } .car__meta b { font-size: 18px; }
}
@media (max-width: 640px) { .slide__post { height: min(62svh, 105vw); } }

/* ═══════════ HERO INSTRUMENT: the real sun inside mission telemetry ═══════════ */
.eclipse__sun { image-rendering: pixelated; }
.tele__ring { fill: none; stroke: rgba(244,241,234,.28); stroke-width: .22; }
.tele__ring--dash { stroke: rgba(244,241,234,.16); stroke-dasharray: .7 1.6; }
.tele__ticks line { stroke: rgba(244,241,234,.5); stroke-width: .2; }
.tele__cross { stroke: var(--orange); stroke-width: .35; fill: none; }
.tele__lbl { font: 400 3px var(--mono); letter-spacing: .06em; text-transform: uppercase; fill: rgba(244,241,234,.75); }
.tele__lbl--dim { fill: rgba(244,241,234,.4); text-anchor: middle; }
.readout { position: absolute; z-index: 2; top: 56%; transform: translateY(-50%); display: grid; gap: 20px; font: 400 12px/1.3 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: rgba(244,241,234,.6); pointer-events: none; }
.readout--l { left: var(--m); }
.readout--r { right: var(--m); text-align: right; }
.readout p, .readout a { margin: 0; display: grid; gap: 6px; }
.readout a { pointer-events: auto; transition: opacity .25s; }
.readout a:hover { opacity: .8; }
.readout b { font: 500 clamp(22px, 2.3vw, 34px)/1 var(--display); letter-spacing: -.02em; text-transform: none; color: var(--paper); font-variant-numeric: tabular-nums; }
.readout b.o { color: var(--orange); }
@media (max-width: 1100px) { .readout b { font-size: 20px; } .readout { gap: 18px; } }
@media (min-width: 901px) { .hero__foot-r { visibility: hidden; } }
@media (max-width: 900px) { .readout { display: none; } .tele__lbl { display: none; } }

/* ── Earth station: the journey's rocket docks on the pad ── */
.dock { position: absolute; left: 0; top: 0; width: calc(var(--u, 5px) * 36); height: calc(var(--u, 5px) * 22); transform-origin: 50% 100%; pointer-events: none; z-index: 0; }
.dock__station { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.dock__rocket { position: absolute; left: calc(var(--u, 5px) * 8); top: calc(var(--u, 5px) * 6); width: calc(var(--u, 5px) * 12); height: calc(var(--u, 5px) * 17); overflow: visible; transform: translateY(var(--ry2, -60vh)); opacity: var(--ro, 0); }
.dock .rocket__flame { transition: opacity .25s; }
.dock.is-docked .dock__rocket .rocket__flame { opacity: 0; animation: none; }
.dock__beacon { animation: beacon 1.2s steps(2) infinite; }
.dock.is-docked .dock__beacon { fill: #7dffb0; animation-duration: .6s; }
.dock__pad { transition: fill .3s; }
.dock.is-docked .dock__pad { fill: #7dffb0; }
@keyframes beacon { 50% { opacity: .15; } }
.contact > :not(.earth):not(.dock) { position: relative; z-index: 1; }
@media (prefers-reduced-motion: reduce) { .dock__beacon { animation: none; } }

/* ═══════════ PIXEL THEME: stepped corners everywhere (set --R for the corner size) ═══════════ */
/* stepped corner: every rule below spells the polygon out, so --R resolves on each element */
.btn, .nav__cta { --R: 8px; }
.glass { --R: 26px; }
.pill { --R: 18px; }
.win { --R: 10px; }
.phone { --R: 46px; }
.chat__list button, .chat__bubble { --R: 8px; }
.phone__screen { --R: 36px; }
.slide__post { --R: 12px; }

/* glass button → chunky pixel button: banded fill, hard bevel, no soft shadows */
.glass { border: 0; box-shadow: none; font: 400 18px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; padding: 24px 44px;
  background: linear-gradient(180deg, #ffe0a8 0 4px, #ffbe6e 4px 45%, #ff9a45 45% calc(100% - 8px), #e2571a calc(100% - 8px) calc(100% - 4px), #b8410e calc(100% - 4px)); }
.glass:hover { transform: translateY(-4px); }
/* oval outlines → filled pixel chips */
.pill { border: 0; border-radius: 0; padding: 10px 26px; background: rgba(244,241,234,.1); }
.pricing .pill { background: rgba(2,2,4,.38); }
.phone { box-shadow: 0 50px 80px -30px rgba(18,18,20,.55); }
/* round dots and window buttons become square pixels */
.car__dots *, .win__bar i, .win__bar span { border-radius: 0 !important; }

/* glows drawn as pixel bands (see pixelGlow in main.js) */
.hero__day, .statement__glow, .pricing__glow { image-rendering: pixelated; }
.statement__glow { border-radius: 0; filter: none; }
/* the desk wallpaper, down-sampled to pixels */
.desk { background-image: url("assets/img/la-silla-px.png"); image-rendering: pixelated; }

/* ring labels: stepped capsules in the pixel face */
.panel { --R: calc(var(--ph) / 2); border: 0; font: 400 calc(var(--ph) * .3)/1 var(--mono); letter-spacing: .04em; text-transform: uppercase;
  background: linear-gradient(180deg, rgba(255,255,255,.34) 0 12%, rgba(255,255,255,.16) 12% 50%, rgba(255,255,255,.07) 50% 88%, rgba(255,255,255,.18) 88%);
  box-shadow: none; }
.panel::after { display: none; }
/* carousel backdrops: the post itself, blown up into big pixels instead of a blur */
.slide__bg { filter: brightness(.42) saturate(1.3); image-rendering: pixelated; }
/* inline pixel words need a touch more size to sit with the body text */
p em, li em { font-size: 1.28em; line-height: 1; }

/* your rocket cursor docks at the station; the astronaut climbs out and becomes your pointer */
.cursor-ghost { position: fixed; left: 0; top: 0; z-index: 200; width: 24px; height: 34px; overflow: visible; pointer-events: none; opacity: 0; }
html.cursor-docked, html.cursor-docked * { cursor: url("assets/cursor/astronaut.svg") 15 2, auto !important; }
.dock__rocket { transition: opacity .15s; }

/* ring pills: capsule kept, edges stepped; a 2px pixel outline from an inner stepped layer */
.panel { background: rgba(255,255,255,.62); isolation: isolate; color: #fff; text-shadow: 0 1px 0 rgba(0,0,0,.35); }
.panel::before { content: ""; position: absolute; inset: 2px; z-index: -1; --R: calc(var(--ph) / 2 - 2px);
  background: linear-gradient(180deg, rgba(60,40,30,.62) 0 50%, rgba(30,20,16,.72) 50%);
  clip-path: polygon(calc(var(--R)*0.005) calc(var(--R)*1.0), calc(var(--R)*0.005) calc(var(--R)*0.8), calc(var(--R)*0.046) calc(var(--R)*0.8), calc(var(--R)*0.046) calc(var(--R)*0.6), calc(var(--R)*0.134) calc(var(--R)*0.6), calc(var(--R)*0.134) calc(var(--R)*0.4), calc(var(--R)*0.286) calc(var(--R)*0.4), calc(var(--R)*0.286) calc(var(--R)*0.2), calc(var(--R)*0.564) calc(var(--R)*0.2), calc(var(--R)*0.564) 0, calc(100% - var(--R)*0.564) 0, calc(100% - var(--R)*0.564) calc(var(--R)*0.2), calc(100% - var(--R)*0.286) calc(var(--R)*0.2), calc(100% - var(--R)*0.286) calc(var(--R)*0.4), calc(100% - var(--R)*0.134) calc(var(--R)*0.4), calc(100% - var(--R)*0.134) calc(var(--R)*0.6), calc(100% - var(--R)*0.046) calc(var(--R)*0.6), calc(100% - var(--R)*0.046) calc(var(--R)*0.8), calc(100% - var(--R)*0.005) calc(var(--R)*0.8), calc(100% - var(--R)*0.005) calc(var(--R)*1.0), calc(100% - var(--R)*0.005) calc(100% - var(--R)*1.0), calc(100% - var(--R)*0.005) calc(100% - var(--R)*0.8), calc(100% - var(--R)*0.046) calc(100% - var(--R)*0.8), calc(100% - var(--R)*0.046) calc(100% - var(--R)*0.6), calc(100% - var(--R)*0.134) calc(100% - var(--R)*0.6), calc(100% - var(--R)*0.134) calc(100% - var(--R)*0.4), calc(100% - var(--R)*0.286) calc(100% - var(--R)*0.4), calc(100% - var(--R)*0.286) calc(100% - var(--R)*0.2), calc(100% - var(--R)*0.564) calc(100% - var(--R)*0.2), calc(100% - var(--R)*0.564) 100%, calc(var(--R)*0.564) 100%, calc(var(--R)*0.564) calc(100% - var(--R)*0.2), calc(var(--R)*0.286) calc(100% - var(--R)*0.2), calc(var(--R)*0.286) calc(100% - var(--R)*0.4), calc(var(--R)*0.134) calc(100% - var(--R)*0.4), calc(var(--R)*0.134) calc(100% - var(--R)*0.6), calc(var(--R)*0.046) calc(100% - var(--R)*0.6), calc(var(--R)*0.046) calc(100% - var(--R)*0.8), calc(var(--R)*0.005) calc(100% - var(--R)*0.8), calc(var(--R)*0.005) calc(100% - var(--R)*1.0)); }
.panel:hover { background: rgba(255,255,255,.85); }
.panel span { position: relative; }

/* the eclipse sits dead centre of the screen; the wordmark and foot stay in their rows */
.hero > .stage { position: absolute !important; inset: 0; }
.hero__foot { grid-row: 5; }
.hero > .readout { position: absolute !important; top: 50%; }

/* ── client strip: a slow marquee along the bottom of the hero ── */
.hero { grid-template-rows: auto auto 1fr auto auto; }
.clients { grid-row: 4; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 28px; padding: 0 var(--m) 18px; }
.clients__lbl { margin: 0; font: 400 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); white-space: nowrap; }
.clients__view { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.clients__track { display: flex; width: max-content; animation: clients 46s linear infinite; }
.clients:hover .clients__track { animation-play-state: paused; }
.clients ul { display: flex; align-items: center; gap: 56px; margin: 0; padding: 0 28px; list-style: none; }
.clients li { display: grid; place-items: center; height: 40px; opacity: .72; transition: opacity .25s; }
.clients li:hover { opacity: 1; }
.clients li img { display: block; height: 26px; width: auto; }
/* logos are white PNGs of mixed shapes; even out their visual weight */
.clients li.is-wide img { height: 20px; }
.clients li.is-xwide img { height: 15px; }
.clients li.is-big img { height: 22px; }
.clients li.is-stack img { height: 32px; }
.clients li.is-tall img { height: 36px; }
.clients li.is-placeholder span { display: grid; place-items: center; height: 34px; padding: 0 18px; border: 2px dashed rgba(244,241,234,.35); font: 400 13px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
@keyframes clients { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .clients__track { animation: none; } }
@media (max-width: 640px) { .clients { grid-template-columns: 1fr; gap: 10px; padding-bottom: 12px; } .clients ul { gap: 32px; } }

/* ═══════════ WINS: by the numbers — headline on top, the map forms in the middle, the numbers stay below ═══════════ */
.wins { position: relative; overflow: hidden; display: grid; grid-template-rows: auto 1fr auto; justify-items: center; text-align: center; height: 100svh; min-height: 620px; padding: 84px var(--m) 34px; }
.wins__sky { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.wins > :not(.wins__sky) { position: relative; z-index: 1; }
.wins .kick { margin: 0; }
.wins__title { margin: 16px 0 0; font: 500 clamp(32px, 3.6vw, 56px)/1.02 var(--display); letter-spacing: -.035em; color: var(--ink); }
.wins__title em { color: var(--orange); font-size: 1.15em; }
.wins__stage { position: relative; width: 100%; }
.wins__world { position: absolute; left: 0; right: 0; bottom: 4px; margin: 0; font: 400 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--orange); opacity: clamp(0, calc(var(--wm, 0) * 2 - 1), 1); }
.wins__foot { width: min(1080px, 100%); }
.wins__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 18px 0 0; padding: 0; list-style: none; }
.wins__list li { display: grid; gap: 8px; justify-items: center; padding: 4px 24px; }
.wins__list li + li { border-left: 2px dashed rgba(244,241,234,.18); }
.wins__n { font: 500 clamp(40px, 4.4vw, 68px)/1 var(--display); letter-spacing: -.04em; color: var(--paper); font-variant-numeric: tabular-nums; }
.wins__list span { max-width: 26ch; font-size: 15px; line-height: 1.35; color: var(--ink-soft); }
.wins__list li.is-placeholder .wins__n { color: rgba(244,241,234,.42); }
.wins__note { margin: 18px 0 0; font: 400 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.wins__list li, .wins__title { text-shadow: 0 2px 18px rgba(2,2,4,.9); }
@media (max-width: 760px) {
  .wins { padding-top: 76px; }
  .wins__list li { padding: 4px 6px; gap: 6px; }
  .wins__n { font-size: clamp(28px, 8.5vw, 40px); }
  .wins__list span { font-size: 12px; }
}
.wins__title em { white-space: nowrap; }

/* ═══════════ ASTRONAUT: a pixel crew member floating at the screen edge, nudging toward the free audit ═══════════ */
.astro { position: fixed; z-index: 90; right: calc(var(--m) + 6px); bottom: 18vh; width: 64px; height: 81px; display: block;
  opacity: 0; transform: translateX(140%); transition: opacity .4s, transform .9s var(--ease), right .9s var(--ease), left .9s var(--ease), bottom .9s var(--ease); pointer-events: none; }
.astro.is-on { opacity: 1; transform: none; pointer-events: auto; }
.astro.is-left { right: auto; left: calc(var(--m) + 6px); }
.astro__body { width: 100%; height: 100%; overflow: visible; animation: astro-float 5.5s ease-in-out infinite; filter: drop-shadow(0 0 10px rgba(143,211,255,.18)); }
@keyframes astro-float { 0%, 100% { transform: translate(0, 0) rotate(-6deg); } 50% { transform: translate(-4px, -12px) rotate(5deg); } }
.astro .arm-up { display: none; }
.astro.is-waving .arm-up, .astro:hover .arm-up, .astro:focus-visible .arm-up { display: inline; animation: astro-wave .5s steps(2) infinite; }
.astro.is-waving .arm-down, .astro:hover .arm-down, .astro:focus-visible .arm-down { display: none; }
@keyframes astro-wave { 50% { transform: translate(0, -1px); } }
.astro__say { position: absolute; right: 30%; bottom: calc(100% + 10px); width: max-content; max-width: 210px; padding: 10px 14px 9px;
  background: var(--paper); color: var(--night); font: 400 12px/1.35 var(--mono); letter-spacing: .04em; text-align: left;
  clip-path: polygon(0 4px, 4px 4px, 4px 0, calc(100% - 4px) 0, calc(100% - 4px) 4px, 100% 4px, 100% calc(100% - 4px), calc(100% - 4px) calc(100% - 4px), calc(100% - 4px) 100%, 4px 100%, 4px calc(100% - 4px), 0 calc(100% - 4px));
  box-shadow: inset 0 -4px 0 rgba(255,138,61,.6);
  opacity: 0; transform: scale(.6); transform-origin: 100% 100%; transition: opacity .2s steps(3), transform .25s steps(4); pointer-events: none; }
.astro.is-left .astro__say { right: auto; left: 30%; transform-origin: 0 100%; }
.astro__say.is-on, .astro:hover .astro__say, .astro:focus-visible .astro__say { opacity: 1; transform: scale(1); }
.astro__say b { color: var(--orange-deep); font-weight: 400; }
.astro:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; }
/* the CTA the astronaut brings you to gives a little pixel pulse */
.contact .btn.is-ping { animation: ping 1.1s steps(4) 2; }
@keyframes ping { 50% { box-shadow: 0 0 0 6px rgba(255,138,61,.55), 0 0 0 12px rgba(255,138,61,.22); } }
@media (max-width: 640px) { .astro { width: 42px; height: 53px; bottom: 12vh; right: 12px; } .astro__say { max-width: 180px; font-size: 11px; } }
@media (prefers-reduced-motion: reduce) { .astro__body { animation: none; } }
@media (hover: none) { html { scroll-behavior: smooth; } }

/* contact without the phone: the whole final screen (headline, button, Earth, station) fits in one view */
.contact { min-height: calc(100svh - 65px); padding-top: 96px; padding-bottom: calc(24vw + 24px); align-content: start; }
.contact .kick { margin-top: 0; }
.contact__title { font-size: clamp(46px, 6.4vw, 112px); margin-top: 18px; }
.contact__sub { margin-top: 20px; }
.contact__arrive { margin-top: 44px; }
@media (max-width: 640px) { .contact { padding-bottom: calc(50vw + 24px); } }
.contact { padding-top: clamp(64px, 10svh, 96px); padding-bottom: min(calc(24vw + 24px), 40svh); }
@media (max-width: 640px) { .contact { padding-top: 64px; padding-bottom: min(calc(50vw + 24px), 30svh); } .contact__arrive { margin-top: 28px; } .contact__sub { font-size: 16px; } }
.contact { min-height: calc(100svh - var(--foot-h, 65px)); padding-bottom: min(calc(24vw + 24px), 36svh); }
.contact__title { font-size: min(clamp(46px, 6.4vw, 112px), 11svh); }
/* on short screens Earth sinks a little lower so it never runs into the button */
.earth { bottom: calc(-1 * max(0px, 24vw + 24px - 36svh)); }
@media (max-width: 640px) { .contact { padding-bottom: min(calc(50vw + 24px), 30svh); } .earth { bottom: calc(-1 * max(0px, 50vw + 24px - 30svh)); } }

/* tilting pixel cursor (desktop): the native pointer is hidden and this follows the mouse */
html.has-pcur, html.has-pcur * { cursor: none !important; }
.pcur { position: fixed; left: 0; top: 0; z-index: 1000; pointer-events: none; opacity: 0; transition: opacity .15s; will-change: transform; transform-origin: 0 0; }
.pcur.is-on { opacity: 1; }
.pcur.is-hidden { opacity: 0; }
.pcur img { display: block; margin: calc(-1 * var(--hy, 0px)) 0 0 calc(-1 * var(--hx, 0px)); image-rendering: pixelated; max-width: none; height: auto; }

/* ═══════════ Case studies: each carousel slide is one case file ═══════════ */
.case { position: absolute; inset: 104px var(--m) 118px; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "copy media" "stats media"; align-content: center; align-items: end; column-gap: clamp(32px, 6vw, 96px); row-gap: 36px; }
.case__copy { grid-area: copy; max-width: 640px; transform: translateX(calc(var(--px, 0%) * .4)); }
.case__no { display: flex; gap: 14px; align-items: center; margin: 0 0 22px; font: 400 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--paper); }
.case__no span { color: rgba(244,241,234,.55); }
.case__title { margin: 0; font: 500 clamp(34px, 3.9vw, 62px)/1.02 var(--display); letter-spacing: -.035em; color: var(--paper); text-wrap: balance; }
.case__title em { font-style: normal; color: var(--orange); }
.case__brief { margin: 22px 0 0; max-width: 54ch; font: 400 clamp(15px, 1.1vw, 17px)/1.5 var(--sans); color: rgba(244,241,234,.74); }
.case__role { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 20px 0 0; font: 400 12px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--paper); }
.case__role span { color: var(--orange); }
.case__stats { grid-area: stats; display: grid; grid-template-columns: repeat(3, minmax(0, max-content)); gap: 0; margin: 0; padding: 0; list-style: none; transform: translateX(calc(var(--px, 0%) * .4)); }
.case__stats li { display: grid; gap: 8px; padding: 18px 36px 0 0; margin-right: 36px; border-top: 2px dotted rgba(244,241,234,.35); }
.case__stats li:last-child { margin-right: 0; }
.case__stats b { font: 500 clamp(30px, 3vw, 48px)/1 var(--display); letter-spacing: -.03em; color: var(--paper); font-variant-numeric: tabular-nums; }
.case__stats span { font: 400 11px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: rgba(244,241,234,.55); max-width: 18ch; }
/* the work itself: a pixelated thumbnail that comes into focus on hover, and opens the video */
.case__media { grid-area: media; align-self: center; width: min(clamp(340px, 40vw, 640px), calc(114svh - 380px));   /* height cap: two rows of video must fit short laptop screens */ display: grid; gap: 14px; transform: translateX(var(--px, 0%)) scale(var(--sc, 1)); }
.case__more { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.reel { display: grid; gap: 10px; color: var(--paper); }
.reel__img { --R: 10px; position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #0b0b10; }
.reel__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .45s var(--ease), transform .8s var(--ease); }
.reel__px { image-rendering: pixelated; }
.reel__hd { opacity: 0; transform: scale(1.04); }
a.reel:hover .reel__hd, a.reel:focus-visible .reel__hd { opacity: 1; transform: scale(1); }
div.reel .reel__hd { opacity: 1; transform: none; }
@media (hover: none) { .reel__hd { opacity: 1; transform: none; } }
.reel__play { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; background: var(--orange); display: grid; place-items: center; transition: transform .35s var(--ease), background-color .25s;
  clip-path: polygon(0 12.5%, 6.25% 12.5%, 6.25% 6.25%, 12.5% 6.25%, 12.5% 0, 87.5% 0, 87.5% 6.25%, 93.75% 6.25%, 93.75% 12.5%, 100% 12.5%, 100% 87.5%, 93.75% 87.5%, 93.75% 93.75%, 87.5% 93.75%, 87.5% 100%, 12.5% 100%, 12.5% 93.75%, 6.25% 93.75%, 6.25% 87.5%, 0 87.5%); }
.reel__play::after { content: ""; width: 22px; height: 26px; margin-left: 4px; background: var(--night, #020204);
  clip-path: polygon(0 0, 18% 0, 18% 8%, 36% 8%, 36% 16%, 54% 16%, 54% 24%, 72% 24%, 72% 32%, 90% 32%, 90% 40%, 100% 40%, 100% 60%, 90% 60%, 90% 68%, 72% 68%, 72% 76%, 54% 76%, 54% 84%, 36% 84%, 36% 92%, 18% 92%, 18% 100%, 0 100%); }
a.reel:hover .reel__play { transform: scale(1.12); background: var(--paper); }
.case__more .reel__play { width: 40px; height: 40px; margin: -20px 0 0 -20px; }
.case__more .reel__play::after { width: 14px; height: 17px; margin-left: 3px; }
.reel__cap { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; min-width: 0; }
.reel__cap b { font: 500 17px/1.2 var(--display); letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.reel__cap small { flex: none; font: 400 11px/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: rgba(244,241,234,.55); transition: color .25s; }
a.reel:hover .reel__cap small { color: var(--orange); }
.case__more .reel__cap { display: grid; gap: 4px; }
.case__more .reel__cap b { font-size: 14px; }
.case__more .reel__cap small { font-size: 10px; }
.case__links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin: 4px 0 0; font: 400 12px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.case__links span { color: rgba(244,241,234,.55); }
.reel__link { color: var(--paper); border-bottom: 1px solid currentColor; padding-bottom: 3px; text-transform: none; transition: color .25s; }
.reel__link:hover { color: var(--orange); }
@media (max-width: 1100px) { .case__media { width: min(clamp(300px, 38vw, 420px), calc(114svh - 380px)); } .case__stats li { padding-right: 22px; margin-right: 22px; } }
@media (max-width: 820px) {
  .case { inset: 88px var(--m) 104px; grid-template-columns: 1fr; grid-template-areas: "copy" "stats" "media"; row-gap: 24px; align-content: start; }
  /* small screens: the work becomes a row of compact watch links */
  .case__media { width: auto; display: flex; flex-wrap: wrap; gap: 8px; transform: none; }
  .case__more { display: contents; }
  .reel { display: flex; align-items: center; gap: 10px; padding: 6px 12px 6px 6px; background: rgba(244,241,234,.08); max-width: 100%; }
  .reel__img { --R: 4px; flex: none; width: 64px; }
  .reel__play, .case__more .reel__play { width: 22px; height: 22px; margin: -11px 0 0 -11px; }
  .reel__play::after, .case__more .reel__play::after { width: 8px; height: 10px; margin-left: 2px; }
  .reel__cap, .case__more .reel__cap { display: grid; gap: 3px; }
  .reel__cap b, .case__more .reel__cap b { font-size: 13px; }
  .reel__cap small, .case__more .reel__cap small { font-size: 9px; }
  div.reel { display: none; }
  .case__links { margin: 0; width: 100%; }
}
@media (max-width: 640px) {
  .case { inset: 76px 16px 92px; row-gap: 20px; }
  .case__no { margin-bottom: 14px; font-size: 11px; }
  .case__title { font-size: clamp(28px, 8.4vw, 36px); }
  .case__brief { margin-top: 14px; font-size: 14px; line-height: 1.45; }
  .case__role { margin-top: 14px; font-size: 11px; }
  .case__stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .case__stats li { padding: 12px 10px 0 0; margin-right: 10px; }
  .case__stats b { font-size: 24px; }
  .case__stats span { font-size: 10px; }
}
@media (max-height: 760px) and (min-width: 821px) { .case__brief { font-size: 14px; } .case__title { font-size: clamp(30px, 3.2vw, 48px); } .case { row-gap: 22px; } }
/* reduced motion: no pinned carousel, the cases simply stack */
@media (prefers-reduced-motion: reduce) {
  .opening__pin { height: auto; display: block; }
  .opening__mask, .car { position: relative; inset: auto; width: auto; height: auto; transform: none; clip-path: none; -webkit-mask: none; mask: none; }
  .opening__outline, .opening__cap, .car__bar { display: none; }
  .slide { position: relative; min-height: 100svh; clip-path: none; }
}
.car__count { white-space: nowrap; }
.case__no { white-space: nowrap; min-width: 0; }
.case__no span { overflow: hidden; text-overflow: ellipsis; }

/* ═══════════ Client Discovery Form: a paper window over the page ═══════════ */
html.is-form { overflow: hidden; }
.dform { width: min(720px, calc(100vw - 32px)); max-width: none; max-height: none; padding: 0; margin: auto; border: 0; background: transparent; color: var(--obj-ink); overflow: visible; }
.dform::backdrop { background: rgba(2,2,4,.74); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
/* animate the inner window, never the dialog: a transform on the dialog would offset the pixel cursor that lives inside it */
.dform[open] .dform__win { animation: dform-in .45s var(--ease) backwards; }
@keyframes dform-in { from { opacity: 0; transform: translateY(24px) scale(.98); } }
.dform__win { --R: 12px; display: flex; flex-direction: column; max-height: calc(100svh - 40px); background: var(--paper); box-shadow: 0 40px 80px -30px rgba(0,0,0,.8); }
.dform__bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 2px dotted rgba(18,18,20,.18); }
.dform__bar span { flex: 1; text-align: center; font: 400 13px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--orange-deep); }
.dform__bar small { font: 400 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: rgba(18,18,20,.5); }
.dform__x { width: 16px; height: 16px; padding: 0; border: 0; background: var(--coral); cursor: pointer; clip-path: polygon(25% 0, 75% 0, 75% 25%, 100% 25%, 100% 75%, 75% 75%, 75% 100%, 25% 100%, 25% 75%, 0 75%, 0 25%, 25% 25%); }
.dform__x:hover { background: var(--obj-ink); }
.dform__body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 26px 32px 0; }
.dform .kick { margin: 0; color: var(--orange-deep); }
.dform .kick .sq { background: var(--orange); }
.dform__intro { margin: 16px 0 0; max-width: 52ch; font: 400 15px/1.5 var(--sans); color: rgba(18,18,20,.7); }
.dform__h { margin: 26px 0 4px; font: 500 clamp(26px, 3vw, 34px)/1.05 var(--display); letter-spacing: -.03em; }
.dform__h em { color: var(--orange-deep); }
.field { margin: 26px 0 0; padding: 0; border: 0; min-width: 0; }   /* margin, not padding: a fieldset puts padding below its legend */
.field legend { display: flex; gap: 10px; align-items: baseline; padding: 0; margin-bottom: 12px; font: 500 17px/1.3 var(--display); letter-spacing: -.01em; }
.field legend b { font: 400 11px/1 var(--mono); letter-spacing: .06em; color: var(--orange-deep); }
.field legend small { font: 400 13px/1 var(--sans); color: rgba(18,18,20,.5); }
.field__in { --R: 6px; display: block; width: 100%; padding: 13px 14px; border: 0; background: #fff; box-shadow: inset 0 0 0 2px rgba(18,18,20,.14); color: var(--obj-ink); font: 400 16px/1.4 var(--sans); outline: 0; transition: box-shadow .2s; }
.field__in::placeholder { color: rgba(18,18,20,.36); }
.field__in:focus { box-shadow: inset 0 0 0 2px var(--orange); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.dform .chips span { --R: 6px; display: block; padding: 11px 16px; background: #fff; box-shadow: inset 0 0 0 2px rgba(18,18,20,.14); font: 400 15px/1.2 var(--sans); cursor: pointer; transition: background-color .2s, color .2s, box-shadow .2s; }
.chips label:hover span { box-shadow: inset 0 0 0 2px rgba(18,18,20,.4); }
.chips input:checked + span { background: var(--obj-ink); color: var(--paper); box-shadow: none; }
.chips input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 2px; }
.field.is-bad legend { color: #c4232f; }
.field.is-bad legend::after { content: "Required"; margin-left: auto; font: 400 11px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.field.is-bad .field__in { box-shadow: inset 0 0 0 2px #e0414f; }
.field.is-bad .chips span { box-shadow: inset 0 0 0 2px rgba(224,65,79,.6); }
.dform__nav { position: sticky; bottom: 0; z-index: 2; display: flex; align-items: center; gap: 16px; margin: 28px -32px 0; padding: 18px 32px 22px; background: var(--paper); border-top: 2px dotted rgba(18,18,20,.18); }   /* stays in reach while the questions scroll */
.dform__nav[hidden] { display: none; }
.dform__alt { margin-right: auto; font: 400 11px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: rgba(18,18,20,.5); border-bottom: 1px solid currentColor; }
.dform__alt:hover { color: var(--orange-deep); }
.dform .btn { margin: 0; background: var(--obj-ink); color: var(--paper); border: 0; cursor: pointer; }
.dform .btn:hover { background: var(--orange); color: #000; }
.dform .btn:disabled { opacity: .6; cursor: progress; }
.dform__done { padding: 10px 0 32px; outline: 0; }
.dform__done p:not(.kick) { margin: 10px 0 0; font: 400 16px/1.5 var(--sans); color: rgba(18,18,20,.7); }
.dform__done .btn { margin-top: 24px; }
.dform__err { margin: 18px 0 0; padding: 12px 14px; background: #ffe9ea; font: 400 14px/1.45 var(--sans); color: #8c1621; }
.dform__err a { text-decoration: underline; }
@media (max-width: 640px) {
  .dform { width: 100vw; height: 100svh; margin: 0; }
  .dform__win { --R: 0px; height: 100svh; max-height: none; }
  .dform__body { padding: 20px 16px 0; }
  .dform__nav { margin: 24px -16px 0; padding: 14px 16px 18px; flex-wrap: wrap; }
  .dform__alt { order: 3; width: 100%; margin: 4px 0 0; text-align: center; border: 0; }
  .dform__nav .btn { margin-left: auto; }
}
@media (prefers-reduced-motion: reduce) { .dform[open] .dform__win { animation: none; } }


/* ═══════════ PRICING: launch-pass tickets that flip. Front: class, route and fare. Back (hover or tap): what's on board ═══════════ */
.plans__sub { position: relative; margin: 22px 0 0; max-width: 46ch; text-align: center; font: 400 16px/1.5 var(--sans); color: var(--ink); }
.plans { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 320px)); gap: 26px; margin-top: 56px; perspective: 1600px; }
.plan { --stub: 104px; position: relative; height: 470px; outline: 0; }
.plan__inner { position: relative; height: 100%; transform-style: preserve-3d; transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
@media (hover: hover) { .plan:hover .plan__inner { transform: rotateY(180deg); } }
.plan:focus-within .plan__inner, .plan.is-flipped .plan__inner { transform: rotateY(180deg); }
.plan:focus-visible .plan__face { box-shadow: inset 0 0 0 3px var(--orange); }
/* the ticket: round bites out of both edges where the stub tears off */
.plan__face { --R: 12px; position: absolute; inset: 0; display: flex; flex-direction: column; padding: 22px 24px 0; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  -webkit-mask: radial-gradient(circle 13px at 0 calc(100% - var(--stub)), #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 13px at 100% calc(100% - var(--stub)), #0000 98%, #000) right / 51% 100% no-repeat;
          mask: radial-gradient(circle 13px at 0 calc(100% - var(--stub)), #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 13px at 100% calc(100% - var(--stub)), #0000 98%, #000) right / 51% 100% no-repeat; }
.plan__front { background: var(--paper); color: var(--obj-ink); }
.plan__back { background: var(--obj-ink); color: var(--paper); transform: rotateY(180deg); }
.plan__head { display: flex; justify-content: space-between; gap: 12px; margin: 0; padding-bottom: 14px; border-bottom: 2px dotted rgba(18,18,20,.2); font: 400 10px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--orange-deep); }
.plan__back .plan__head { color: var(--orange); border-color: rgba(244,241,234,.2); }
.plan__class { margin: 18px 0 0; font: 400 10px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: rgba(18,18,20,.5); }
.plan__name { margin: 4px 0 0; font: 400 76px/.82 var(--serif); color: var(--orange-deep); }
.plan__pitch { margin: 12px 0 0; font: 500 17px/1.3 var(--display); letter-spacing: -.01em; text-wrap: balance; }
.plan__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; margin: auto 0 0; padding: 18px 0 22px; }
.plan__fields dt { font: 400 10px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: rgba(18,18,20,.5); }
.plan__fields dd { margin: 6px 0 0; font: 500 17px/1.1 var(--display); letter-spacing: -.01em; }
.plan__fields dd.plan__fare { font-size: 30px; letter-spacing: -.03em; color: var(--obj-ink); }
.plan__fare small { margin-left: 2px; font: 400 12px/1 var(--sans); color: rgba(18,18,20,.55); }
/* the stub, below the perforation */
.plan__stub { position: relative; height: var(--stub); flex: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 -24px; padding: 0 24px; border-top: 2px dashed rgba(18,18,20,.28); }
.plan__back .plan__stub { margin-top: auto; flex-direction: column; justify-content: center; align-items: stretch; gap: 10px; border-color: rgba(244,241,234,.3); }
.plan__code { width: 120px; height: 46px; background: repeating-linear-gradient(90deg, var(--obj-ink) 0 2px, transparent 2px 4px, var(--obj-ink) 4px 8px, transparent 8px 10px, var(--obj-ink) 10px 11px, transparent 11px 14px, var(--obj-ink) 14px 17px, transparent 17px 19px); }
.plan__hint { text-align: right; font: 400 10px/1.5 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: rgba(18,18,20,.55); }
.plan__hint b { font-weight: 400; color: var(--orange-deep); }
.plan__list { display: grid; gap: 12px; margin: 22px 0 0; padding: 0; list-style: none; font: 400 16px/1.35 var(--sans); }
.plan__list li { display: flex; gap: 12px; align-items: baseline; }
.plan__list li::before { content: ""; flex: none; width: 7px; height: 7px; background: var(--orange); transform: translateY(-2px); }
.plan__btn { --R: 8px; display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; background: var(--orange); color: #000; font: 400 13px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; transition: background-color .25s; }
.plan__btn:hover { background: var(--paper); }
.plan__min { margin: 0; text-align: center; font: 400 10px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: rgba(244,241,234,.5); }
.plans__meta { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin: 56px 0 0; padding: 0; list-style: none; font: 400 15px/1.4 var(--sans); color: var(--paper); }
.plans__meta span { margin-right: 10px; font: 400 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--orange); }
@media (hover: none) { .plan__hint b { font-size: 0; } .plan__hint b::after { content: "Tap for details ↻"; font-size: 10px; } }
@media (max-width: 1060px) { .plans { grid-template-columns: minmax(0, 360px); } }
@media (max-width: 640px) { .plan__name { font-size: 64px; } .plans__meta { display: grid; justify-items: center; text-align: center; } }
@media (prefers-reduced-motion: reduce) { .plan__inner { transition: none; } }
.pricing .pill { font-size: 40px; }
.pricing .pill em { color: var(--orange); }
