/* ==========================================================================
   Atlantic Motion Studio — styles
   Tokens first, then base, components, and sections in page order.
   ========================================================================== */

:root {
  --paper: #F1EEE8;
  --paper-2: #E8E3DA;
  --paper-3: #DCD5C8;
  --ink: #0E1620;
  --ink-2: #2A333D;
  --muted: #5E666F;
  --line: rgba(14, 22, 32, 0.14);
  --line-soft: rgba(14, 22, 32, 0.08);

  --night: #0B1219;
  --night-2: #141D27;
  --on-night: #EEEBE4;
  --on-night-muted: rgba(238, 235, 228, 0.62);
  --night-line: rgba(238, 235, 228, 0.16);

  --rec: #E5483C;
  --gold: #C9A15E;

  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --gutter: clamp(16px, 3.2vw, 48px);
  --maxw: 1680px;
  --radius: clamp(10px, 1.1vw, 18px);
  --navh: 76px;
  --section: clamp(96px, 14vw, 200px);

  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --ease-io: cubic-bezier(0.75, 0, 0.2, 1);
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
em { font-style: normal; }
::selection { background: var(--ink); color: var(--paper); }

:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 4px; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip {
  position: fixed; top: 12px; left: 12px; z-index: 200;
  background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 999px;
  transform: translateY(-160%); transition: transform .3s var(--ease);
}
.skip:focus { transform: none; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

.mono {
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 1.4;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 400;
}

.label {
  display: flex; align-items: center; gap: 12px;
  color: var(--muted);
  margin-bottom: clamp(20px, 2.4vw, 36px);
}
.label span {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 4px 9px 4px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
}
.label span::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--rec);
}
[data-theme="dark"] .label { color: var(--on-night-muted); }
[data-theme="dark"] .label span { color: var(--on-night); border-color: var(--night-line); }

/* Display type: tight grotesk, with a serif italic accent */
.h2 {
  font-size: clamp(2.5rem, 6vw, 6.4rem);
  line-height: 0.96;
  letter-spacing: -0.045em;
  font-weight: 450;
  max-width: 16ch;
}
.h2 em, .hero__title em, .intro__statement em, .case__title em, .pair__title em, .fact__v em, .contact__title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  letter-spacing: -0.02em;
}

/* word-by-word reveal wrappers (added by JS) */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.w > .wi { display: inline-block; will-change: transform; }

/* ---------- Buttons ---------- */

.btn {
  --bg: var(--ink); --fg: var(--paper); --bd: var(--ink);
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 22px;
  border-radius: 999px;
  background: var(--bg); color: var(--fg);
  border: 1px solid var(--bd);
  font-size: 15px; font-weight: 500; letter-spacing: -0.01em;
  overflow: hidden; isolation: isolate;
  transition: color .45s var(--ease), border-color .45s var(--ease), transform .45s var(--ease);
  white-space: nowrap;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--fill, var(--paper));
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform .5s var(--ease-io);
}
.btn:hover::before { transform: none; }
.btn:hover { color: var(--hover-fg, var(--ink)); }
.btn .arrow { font-style: normal; transition: transform .45s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.btn--dark { --fill: var(--paper-3); --hover-fg: var(--ink); }
.btn--light { --bg: var(--paper); --fg: var(--ink); --bd: var(--paper); --fill: var(--ink); --hover-fg: var(--paper); }
.btn--ghost-light { --bg: transparent; --fg: #fff; --bd: rgba(255,255,255,.45); --fill: #fff; --hover-fg: var(--ink); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn--line { --bg: transparent; --fg: var(--ink); --bd: var(--line); --fill: var(--ink); --hover-fg: var(--paper); }
.btn--pill { height: 42px; padding: 0 18px; font-size: 14px; }

.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--rec); }
.link { background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; transition: background-size .4s var(--ease); }
.link:hover { background-size: 0 1px; background-position: 100% 100%; }

/* ---------- Loader ---------- */

.loader {
  position: fixed; inset: 0; z-index: 120;
  background: var(--paper);
  display: none; place-items: center;
  clip-path: inset(0 0 0 0);
}
.js.is-loading .loader { display: grid; }
.loader.is-done { display: grid; clip-path: inset(0 0 100% 0); transition: clip-path 1s var(--ease-io); }
.loader.is-gone { display: none; }
.loader__inner { width: min(340px, 72vw); }
.loader__mark { width: 58px; height: auto; color: var(--ink); margin-bottom: 28px; overflow: visible; }
/* the mark "locks": halves start aligned and slide one unit apart */
.loader__mark .hz-top { animation: hz-lock-top 1.1s var(--ease) .2s both; }
.loader__mark .hz-bot { animation: hz-lock-bot 1.1s var(--ease) .2s both; }
@keyframes hz-lock-top { from { transform: translateX(-10px); } to { transform: none; } }
@keyframes hz-lock-bot { from { transform: translateX(10px); } to { transform: none; } }
.loader__row { display: flex; justify-content: space-between; color: var(--ink); margin-bottom: 10px; }
.loader__bar { height: 1px; background: var(--line); position: relative; overflow: hidden; }
.loader__bar span { position: absolute; inset: 0; background: var(--ink); transform-origin: left; transform: scaleX(0); transition: transform .3s linear; }

/* ---------- Nav ---------- */

.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  height: var(--navh);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 0 var(--gutter);
  color: var(--ink);
  transition: transform .6s var(--ease), color .4s var(--ease);
  pointer-events: none;
}
.nav > * { pointer-events: auto; }
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(var(--paper) 30%, rgba(241, 238, 232, 0));
  opacity: 0; transition: opacity .4s var(--ease);
}
.nav.is-solid::before { opacity: 1; }
.nav.is-hidden { transform: translateY(-110%); }
.nav.on-dark { color: #fff; }
.nav.on-dark::before { opacity: 0; }

.nav__brand { display: inline-flex; align-items: center; justify-self: start; padding: 6px 0; }
.nav__logo { height: 26px; width: auto; display: block; overflow: visible; transform: translateY(6px); } /* caps (not the whole mark) line up with the menu */
.nav__logo .hz-top, .nav__logo .hz-bot { transition: transform .7s var(--ease); }
.nav__brand:hover .hz-top { transform: translateX(18.9px); }
.nav__brand:hover .hz-bot { transform: translateX(-18.9px); }

.nav__links { display: flex; gap: 4px; }
.nav__links a {
  position: relative; padding: 8px 12px; font-size: 14.5px; font-weight: 450; letter-spacing: -0.005em;
}
.nav__links a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease);
}
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }

.nav__cta { justify-self: end; }
.nav.on-dark .nav__cta { --bg: #fff; --fg: var(--ink); --bd: #fff; --fill: var(--ink); --hover-fg: #fff; }

.nav__toggle { display: none; justify-self: end; width: 44px; height: 44px; position: relative; }
.nav__toggle i { position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor; transition: transform .45s var(--ease), top .45s var(--ease); }
.nav__toggle i:nth-of-type(1) { top: 18px; }
.nav__toggle i:nth-of-type(2) { top: 25px; }
.nav__toggle[aria-expanded="true"] i:nth-of-type(1) { top: 21.5px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] i:nth-of-type(2) { top: 21.5px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 55;
  background: var(--paper);
  padding: calc(var(--navh) + 24px) var(--gutter) 32px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.menu[hidden] { display: none; }
.menu__links a {
  display: flex; align-items: baseline; gap: 14px;
  font-size: clamp(2.4rem, 11vw, 4rem); letter-spacing: -0.045em; line-height: 1.08; font-weight: 450;
  border-bottom: 1px solid var(--line-soft); padding: 6px 0;
}
.menu__links .mono { color: var(--muted); width: 44px; }
.menu__foot { display: flex; justify-content: space-between; align-items: end; gap: 16px; font-size: 15px; }
body.menu-open { overflow: hidden; }
body.menu-open .nav { color: var(--ink); }
body.menu-open .nav::before { opacity: 0; }

/* ---------- Scene indicator ---------- */

.scene {
  position: fixed; left: var(--gutter); bottom: 22px; z-index: 50;
  display: flex; align-items: center; gap: 10px;
  color: #fff; mix-blend-mode: difference;
  pointer-events: none;
  opacity: 0; transition: opacity .5s var(--ease);
}
.scene.is-on { opacity: 1; }
.scene__rec { width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: blink 1.6s steps(2, end) infinite; }
.scene__name { opacity: .65; }
.scene__track { width: 64px; height: 1px; background: rgba(255,255,255,.3); position: relative; overflow: hidden; }
.scene__track i { position: absolute; inset: 0; background: currentColor; transform-origin: left; transform: scaleX(0); }
@keyframes blink { 50% { opacity: .15; } }

/* ---------- S010 Hero ---------- */

.hero { position: relative; background: var(--paper); color: #fff; }
.hero__pin { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; }
.hero__media { position: absolute; inset: 0; background: var(--night); }
.hero__tint { position: absolute; inset: 0; background: rgba(14, 22, 32, .32); opacity: 0; pointer-events: none; }
.hero__video { width: 100%; height: 100%; object-fit: cover; }
.hero__shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to top, rgba(6, 10, 14, .8) 0%, rgba(6, 10, 14, .42) 36%, rgba(6, 10, 14, .1) 66%, rgba(6, 10, 14, .1) 100%),
    linear-gradient(to bottom, rgba(6, 10, 14, .45) 0%, rgba(6, 10, 14, 0) 24%);
}

.hero__mask { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; visibility: hidden; }
.hero__mask.is-ready { visibility: visible; }
.hero__paper { fill: var(--paper); }

.hero__copy {
  position: absolute; left: 0; right: 0; bottom: 0;
  max-width: var(--maxw); margin: 0 auto;
  padding: 0 var(--gutter) clamp(84px, 11vh, 120px);
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: end;
}
.hero__kicker { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; margin-bottom: 18px; color: rgba(255,255,255,.82); }
.rec { width: 7px; height: 7px; border-radius: 50%; background: var(--rec); box-shadow: 0 0 0 4px rgba(229,72,60,.22); animation: blink 1.6s steps(2, end) infinite; }
.hero__title {
  grid-column: 1 / span 8;
  font-size: clamp(2.9rem, 7.2vw, 8.6rem);
  line-height: 0.92;
  letter-spacing: -0.05em;
  font-weight: 450;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero__title .line > * { display: inline-block; }
.hero__title em { font-weight: 300; letter-spacing: -0.03em; }
.hero__side { grid-column: 9 / span 4; padding-bottom: 10px; }
.hero__side p { font-size: clamp(15px, 1.1vw, 17px); color: rgba(255,255,255,.86); max-width: 38ch; margin-bottom: 22px; }
.hero__actions { display: flex; gap: 10px; flex-wrap: wrap; }

.hero__hud { position: absolute; inset: 0; pointer-events: none; color: rgba(255,255,255,.78); }
.hero__hud > * { position: absolute; }
.hud__tl { top: calc(var(--navh) + 8px); left: var(--gutter); }
.hud__tr { top: calc(var(--navh) + 8px); right: var(--gutter); display: flex; gap: 14px; }
.hud__tr .tc { color: #fff; font-variant-numeric: tabular-nums; }
.hud__fps { opacity: .6; }
.hero__pause { position: absolute; bottom: 20px; left: var(--gutter); z-index: 3; display: inline-flex; align-items: center; gap: 10px; height: 32px; color: rgba(255,255,255,.78); transition: color .3s var(--ease); }
.hero__pause:hover { color: #fff; }
.hero__pause svg { width: 10px; height: 10px; }
.hero__pause .i-play { display: none; }
.hero__pause.is-paused .i-play { display: block; }
.hero__pause.is-paused .i-pause { display: none; }
.hud__br { bottom: 26px; right: var(--gutter); display: flex; align-items: center; gap: 12px; }
.hud__line { display: block; width: 44px; height: 1px; background: rgba(255,255,255,.3); position: relative; overflow: hidden; }
.hud__line::after { content: ""; position: absolute; inset: 0; background: #fff; animation: scrollcue 2.2s var(--ease-io) infinite; }
@keyframes scrollcue { 0% { transform: translateX(-101%); } 55% { transform: none; } 100% { transform: translateX(101%); } }

.hero__end { position: absolute; inset: 0; pointer-events: none; color: var(--ink); opacity: 0; }
.hero__end > * { position: absolute; }
.hero__end-word {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  letter-spacing: -0.025em; line-height: 1; white-space: nowrap;
}
.hero__end-cap { color: var(--ink-2); }
.hero__end-cue { color: var(--muted); display: inline-flex; gap: 8px; }
.hero__end-cue i { font-style: normal; }

/* No-JS / reduced motion: the hero is a plain full-screen film */
.no-js .hero__mask, .no-js .hero__end { display: none; }

/* ---------- S020 Intro ---------- */

.intro { padding: var(--section) 0 calc(var(--section) * .8); }
.intro__statement {
  font-size: clamp(1.65rem, 3.35vw, 3.6rem);
  line-height: 1.1;
  letter-spacing: -0.032em;
  font-weight: 400;
  max-width: 28ch;
  text-wrap: pretty;
}
.intro__statement em { color: var(--ink); }
.intro__statement .word { transition: none; }
.facts {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 clamp(20px, 3vw, 48px);
  margin-top: clamp(64px, 9vw, 140px);
}
.fact { border-top: 1px solid var(--line); padding-top: 18px; display: grid; gap: 10px; align-content: start; }
.fact__k { color: var(--muted); }
.fact__v { font-size: clamp(1.6rem, 2.5vw, 2.7rem); letter-spacing: -0.04em; line-height: 1; font-weight: 450; }
.fact__d { color: var(--ink-2); max-width: 30ch; font-size: 15px; }

/* ---------- S030 Work ---------- */

.work { padding: 0 0 calc(var(--section) * .6); }
.work__head {
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: end;
  margin-bottom: clamp(40px, 5vw, 72px);
}
.work__head .label { grid-column: 1 / -1; }
.work__head .h2 { grid-column: 1 / span 8; }
.work__intro { grid-column: 9 / span 4; color: var(--ink-2); max-width: 36ch; }

.cases { position: relative; }
.case {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  display: flex; align-items: center; justify-content: center;
  padding: calc(var(--navh) + 4px) var(--gutter) 28px;
}
.case__card {
  --dim: 0;
  position: relative;
  width: min(100%, var(--maxw), calc((100svh - var(--navh) - 150px) * 1.7778));
  background: var(--paper);
  border-radius: calc(var(--radius) + 6px);
  padding: 8px 8px 0;
  box-shadow: 0 -1px 0 var(--line-soft), 0 30px 80px -40px rgba(14, 22, 32, .35);
  transform-origin: 50% 0%;
  will-change: transform;
}
.case__card::after { /* dimming as the next film slides over */
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: var(--paper-2); opacity: var(--dim, 0); pointer-events: none;
}
.case__media {
  position: relative; display: block; width: 100%;
  aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden;
  background: var(--night);
}
.case__media video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 1.2s var(--ease); }
.case__media:hover video { transform: scale(1.055); }
.case__play {
  position: absolute; left: 18px; bottom: 18px;
  display: inline-flex; align-items: center; gap: 10px;
  height: 44px; padding: 0 18px 0 8px; border-radius: 999px;
  background: rgba(255,255,255,.16); color: #fff;
  backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
  font-size: 14px; font-weight: 500;
  transition: background .4s var(--ease), color .4s var(--ease);
}
.case__play i { width: 30px; height: 30px; border-radius: 50%; background: #fff; position: relative; }
.case__play i::after { content: ""; position: absolute; left: 12px; top: 10px; border-left: 9px solid var(--ink); border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.case__media:hover .case__play { background: #fff; color: var(--ink); }
.case__media:hover .case__play i { background: var(--ink); }
.case__media:hover .case__play i::after { border-left-color: #fff; }

.case__meta {
  display: grid; grid-template-columns: 60px 1fr auto; gap: 24px; align-items: start;
  padding: 18px 12px 18px;
}
.case__no { color: var(--muted); padding-top: 8px; }
.case__title h3 { font-size: clamp(1.4rem, 2vw, 2.1rem); letter-spacing: -0.035em; line-height: 1.05; font-weight: 500; margin-bottom: 6px; }
.case__title h3 em { color: var(--ink-2); }
.case__title p { color: var(--ink-2); max-width: 62ch; font-size: 15px; }
.case__facts { display: grid; grid-template-columns: repeat(3, auto); gap: 0 28px; padding-top: 6px; }
.case__facts dt { color: var(--muted); margin-bottom: 4px; }
.case__facts dd { color: var(--ink); }

/* ---------- S040 Previs ---------- */

.previs { background: var(--night); color: var(--on-night); padding: var(--section) 0; position: relative; }
.previs__head { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.previs__head .label { grid-column: 1 / -1; }
.previs__head .h2 { grid-column: 1 / span 8; max-width: 13ch; }
.previs__lede { grid-column: 9 / span 4; color: var(--on-night-muted); max-width: 40ch; }

.pair + .pair { margin-top: clamp(64px, 8vw, 120px); }
.pair__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 24px; margin-bottom: 18px; }
.pair__title { font-size: clamp(1.4rem, 2vw, 2.1rem); letter-spacing: -0.035em; line-height: 1.05; font-weight: 500; }
.pair__title em { color: var(--on-night-muted); }
.pair__meta { color: var(--on-night-muted); }

.compare {
  --pos: 50%;
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden;
  background: #000; user-select: none; -webkit-user-select: none; touch-action: pan-y;
  cursor: ew-resize;
}
.compare video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.compare__top { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare__tag {
  position: absolute; top: 16px; padding: 6px 10px; border-radius: 999px;
  background: rgba(0,0,0,.35); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  pointer-events: none;
}
.compare__tag--l { left: 16px; }
.compare__tag--r { right: 16px; }
.compare__handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px;
  background: #fff; cursor: ew-resize; outline: none;
}
.compare__knob {
  position: absolute; top: 50%; left: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px;
  border-radius: 50%; background: #fff; color: var(--ink);
  display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.35);
  transition: transform .4s var(--ease);
}
.compare__knob svg { width: 22px; height: 22px; }
.compare__handle:focus-visible .compare__knob { box-shadow: 0 0 0 3px var(--gold); }
.compare.is-dragging .compare__knob { transform: scale(.88); }

.shots { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; }
.shot {
  display: inline-flex; align-items: center; gap: 10px;
  height: 40px; padding: 0 14px 0 12px; border-radius: 999px;
  border: 1px solid var(--night-line); color: var(--on-night-muted);
  font-size: 14px; transition: all .35s var(--ease);
}
.shot .mono { color: var(--on-night-muted); font-size: 10.5px; }
.shot:hover { color: var(--on-night); border-color: rgba(238,235,228,.4); }
.shot.is-active { background: var(--on-night); color: var(--night); border-color: var(--on-night); }
.shot.is-active .mono { color: var(--night); }
.shots__tc { margin-left: auto; color: var(--on-night-muted); font-variant-numeric: tabular-nums; }
.shots__tc .tc { color: var(--on-night); }

/* ---------- S050 Process ---------- */

.process { padding: var(--section) 0; }
.process__head { margin-bottom: clamp(40px, 5vw, 72px); }

.triptych {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(10px, 1.4vw, 20px);
  position: relative;
}
.triptych__frame { position: relative; }
.triptych__frame img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); background: var(--paper-2); }
.triptych__frame figcaption { display: flex; align-items: baseline; gap: 10px; margin-top: 12px; font-size: 15px; font-weight: 500; letter-spacing: -0.01em; }
.triptych__frame figcaption .mono { color: var(--muted); }
.triptych__frame:not(:last-of-type)::after {
  content: "→"; position: absolute; top: calc(50% - 22px); right: calc(-1 * clamp(10px, 1.4vw, 20px) / 2 - 16px); z-index: 2;
  width: 32px; height: 32px; border-radius: 50%; background: var(--paper); color: var(--ink);
  display: grid; place-items: center; font-size: 14px; box-shadow: 0 0 0 1px var(--line);
}
.triptych__note { grid-column: 1 / -1; color: var(--muted); margin-top: 4px; }

.timeline { position: relative; height: 34px; margin: clamp(56px, 7vw, 110px) 0 0; }
.timeline__ruler {
  position: absolute; left: 0; right: 0; bottom: 0; height: 12px;
  background:
    repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 10px) bottom / 100% 6px no-repeat,
    repeating-linear-gradient(90deg, rgba(14,22,32,.3) 0 1px, transparent 1px 100px) bottom / 100% 12px no-repeat;
  border-bottom: 1px solid var(--line);
}
.timeline__head { position: absolute; left: 0; bottom: -1px; height: 34px; width: 0; will-change: transform; }
.timeline__head::before { content: ""; position: absolute; left: -1px; bottom: 0; width: 2px; height: calc(100% - 20px + 400px); background: var(--rec); opacity: .0; }
.timeline__head::after { content: ""; position: absolute; left: -6px; bottom: 0; border-left: 6px solid transparent; border-right: 6px solid transparent; border-top: 8px solid var(--rec); transform: translateY(-4px); }
.timeline__head .tc { position: absolute; left: 10px; top: 0; color: var(--rec); white-space: nowrap; font-variant-numeric: tabular-nums; }

.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(16px, 2vw, 32px); margin-top: 20px; }
.step { padding-top: 18px; border-top: 2px solid var(--line-soft); transition: border-color .5s var(--ease); }
.step.is-on { border-top-color: var(--ink); }
.step__no { display: block; color: var(--muted); margin-bottom: 18px; }
.step h3 { font-size: clamp(1.25rem, 1.6vw, 1.6rem); letter-spacing: -0.03em; font-weight: 500; margin-bottom: 10px; line-height: 1.1; }
.step p { color: var(--ink-2); font-size: 15px; }
.steps.is-live .step { opacity: .35; transition: opacity .6s var(--ease), border-color .6s var(--ease); }
.steps.is-live .step.is-on { opacity: 1; }

/* ---------- S060 Services ---------- */

.services { padding: var(--section) 0; background: var(--paper-2); position: relative; }
.services__head { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: end; margin-bottom: clamp(36px, 4vw, 60px); }
.services__head .label { grid-column: 1 / -1; }
.services__head .h2 { grid-column: 1 / span 7; }
.services__intro { grid-column: 8 / span 5; color: var(--ink-2); max-width: 44ch; justify-self: end; }

.svc { border-bottom: 1px solid var(--line); }
.svc__row {
  display: grid; grid-template-columns: 80px minmax(0, 7fr) minmax(0, 4fr); gap: 24px; align-items: center;
  padding: clamp(18px, 2.2vw, 30px) 0;
  border-top: 1px solid var(--line);
  transition: opacity .5s var(--ease);
}
.svc__no { color: var(--muted); }
.svc__name {
  font-size: clamp(1.9rem, 4.6vw, 5rem); letter-spacing: -0.05em; line-height: 1; font-weight: 450;
  transition: transform .6s var(--ease);
}
.svc__desc { color: var(--ink-2); max-width: 38ch; }
@media (hover: hover) and (pointer: fine) {
  .svc:hover .svc__row { opacity: .32; }
  .svc:hover .svc__row:hover { opacity: 1; }
  .svc__row:hover .svc__name { transform: translateX(18px); }
}
.svc__float {
  position: fixed; left: 0; top: 0; z-index: 40; pointer-events: none;
  width: clamp(260px, 24vw, 400px); aspect-ratio: 16 / 9;
  border-radius: 12px; overflow: hidden; background: var(--night);
  clip-path: inset(50% 50% 50% 50% round 12px);
  transition: clip-path .55s var(--ease), width .5s var(--ease), aspect-ratio .5s var(--ease);
  box-shadow: 0 30px 60px -20px rgba(14,22,32,.45);
}
.svc__float.is-on { clip-path: inset(0 0 0 0 round 12px); }
.svc__float.is-vertical { width: clamp(170px, 13vw, 230px); aspect-ratio: 9 / 16; }
.svc__float video, .svc__float img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.svc__float img { object-position: top; }
.svc__float img:not([src]) { display: none; }

/* ---------- S065 Shoot ---------- */
/* One camera, three modes. The section is tall and its content sticks to the
   viewport; main.js maps scroll progress to --p-style values on each layer. */

.shoot { background: var(--night); color: var(--on-night); position: relative; }
.shoot.is-live { height: 560vh; }
.shoot__sticky { padding: clamp(88px, 12vh, 140px) 0 clamp(56px, 8vh, 100px); }
.shoot.is-live .shoot__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; padding-block: clamp(72px, 9vh, 110px) clamp(28px, 5vh, 56px); overflow: hidden; }
.shoot__layout { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 14px; align-items: center; }
.shoot__copy { grid-column: 1 / span 4; }
.shoot__copy .h2 { font-size: clamp(2.3rem, 4.2vw, 4.8rem); max-width: 9ch; }

.shoot__modes { display: grid; margin-top: clamp(28px, 4vh, 48px); }
.mode { grid-area: 1 / 1; opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .8s var(--ease); pointer-events: none; }
.mode.is-on { opacity: 1; transform: none; pointer-events: auto; }
.mode .mono { color: var(--on-night-muted); }
.mode h3 { font-size: clamp(2rem, 3.2vw, 3.4rem); font-weight: 450; letter-spacing: -0.045em; line-height: 1; margin: 10px 0 12px; }
.mode p { color: var(--on-night-muted); max-width: 32ch; }
.shoot:not(.is-live) .shoot__modes { gap: 28px; }
.shoot:not(.is-live) .mode { grid-area: auto; opacity: 1; transform: none; }
.shoot__bar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: clamp(24px, 4vh, 40px); max-width: 260px; }
.shoot__bar i { height: 2px; background: var(--night-line); position: relative; overflow: hidden; }
.shoot__bar i::after { content: ""; position: absolute; inset: 0; background: var(--on-night); transform-origin: left; transform: scaleX(var(--f, 0)); }
.shoot:not(.is-live) .shoot__bar { display: none; }

.shoot__stage {
  grid-column: 5 / -1; justify-self: end; position: relative; overflow: hidden;
  width: min(100%, 72vh * 1.5); aspect-ratio: 3 / 2;
  border-radius: var(--radius); background: #04070a; perspective: 900px;
}
.shoot__credit { grid-column: 5 / -1; justify-self: end; color: var(--on-night-muted); }

/* the footage: three photos, the factory timelapse and the drone clip, one visible at a time */
.media__item { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.media__item.is-on { opacity: 1; }

/* the Horizon shutter: two ink panels carrying the halves of the mark. Closed, they
   form the logo, and the horizon gap between them lets a sliver of the shot through. */
.shutter { position: absolute; inset: 0; pointer-events: none; }
.shutter__half { position: absolute; left: -6%; right: -6%; height: calc(50% - 1.94%); background: var(--ink); will-change: transform; }
.shutter__half--top { top: 0; }
.shutter__half--bot { bottom: 0; }
.shutter__half i { position: absolute; width: 36.9%; aspect-ratio: 2 / 1; }
.shutter__half--top i { bottom: 0; left: calc(50% - 18.45% + 2.3%); background: #E5483C; border-radius: 999px 999px 0 0; }
.shutter__half--bot i { top: 0; left: calc(50% - 18.45% - 2.3%); background: var(--paper); border-radius: 0 0 999px 999px; }
.shoot:not(.is-live) .shutter { display: none; }

/* the finale: the mark settles on the real horizon of the drone shot (the waterline sits 56.5% down) */
.sun { position: absolute; left: 43.5%; top: 47.8%; width: 13%; overflow: visible; pointer-events: none; }
.sun path { opacity: 0; }

/* shared camera HUD */
.hud {
  position: absolute; inset: 0; pointer-events: none; color: rgba(255,255,255,.92); text-shadow: 0 1px 8px rgba(0,0,0,.55);
  background: linear-gradient(rgba(0,0,0,.34), transparent 20%, transparent 80%, rgba(0,0,0,.34));
  --i: clamp(14px, 1.6vw, 24px);
}
.hud::before {
  content: ""; position: absolute; inset: clamp(8px, .9vw, 12px); opacity: .85;
  --c: rgba(255,255,255,.9); --l: 22px; --w: 1.5px;
  background:
    linear-gradient(var(--c), var(--c)) top left / var(--l) var(--w), linear-gradient(var(--c), var(--c)) top left / var(--w) var(--l),
    linear-gradient(var(--c), var(--c)) top right / var(--l) var(--w), linear-gradient(var(--c), var(--c)) top right / var(--w) var(--l),
    linear-gradient(var(--c), var(--c)) bottom left / var(--l) var(--w), linear-gradient(var(--c), var(--c)) bottom left / var(--w) var(--l),
    linear-gradient(var(--c), var(--c)) bottom right / var(--l) var(--w), linear-gradient(var(--c), var(--c)) bottom right / var(--w) var(--l);
  background-repeat: no-repeat;
}
.hud > span { position: absolute; }
.hud__tl { top: var(--i); left: calc(var(--i) + 10px); display: inline-flex; align-items: center; gap: 8px; }
.hud__tl b { font-weight: 400; }
.hud__tr { top: var(--i); right: calc(var(--i) + 10px); }
.hud__bl { bottom: var(--i); left: calc(var(--i) + 10px); }
.hud__br { bottom: var(--i); right: calc(var(--i) + 10px); }
.hud__dot { width: 7px; height: 7px; border-radius: 50%; background: #fff; }
.shoot[data-act="1"] .hud__dot { background: var(--rec); animation: blink 1.6s steps(2, end) infinite; }
.hud__focus { position: absolute; left: 50%; top: 50%; width: 12%; aspect-ratio: 4 / 3; border: 1.5px solid rgba(255,255,255,.85); border-radius: 3px; transform: translate(-50%, -50%); transition: opacity .4s; }
.hud__focus.is-locking { animation: focus-lock .6s var(--ease); }
@keyframes focus-lock { 0% { transform: translate(-50%, -50%) scale(1.35); opacity: .4; } 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; } }
.shoot:not([data-act="0"]) .hud__focus { opacity: 0; }

/* ---------- S070 Websites ---------- */

.web { padding: var(--section) 0; overflow: hidden; }
.web__grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: center; }
.web__copy { grid-column: 1 / span 4; }
.web__copy .h2 { margin-bottom: 26px; font-size: clamp(2.5rem, 5vw, 5.4rem); }
.web__copy > p { color: var(--ink-2); max-width: 40ch; }
.ticks { margin: 26px 0 30px; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 12px; align-items: center; font-weight: 450; }
.ticks li::before { content: ""; width: 18px; height: 1px; background: var(--ink); }
.web__aside { color: var(--muted); }

.web__stage { grid-column: 6 / -1; position: relative; padding: 6% 0 12% 6%; }
.browser {
  border-radius: 12px; overflow: hidden; background: #fff;
  box-shadow: 0 1px 0 var(--line-soft), 0 40px 90px -40px rgba(14,22,32,.45);
  border: 1px solid var(--line-soft);
}
.browser img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.browser__bar { height: 30px; display: flex; align-items: center; gap: 6px; padding: 0 12px; background: #F7F6F3; border-bottom: 1px solid var(--line-soft); position: relative; }
.browser__bar i { width: 9px; height: 9px; border-radius: 50%; background: #DAD6CE; }
.browser__url { position: absolute; left: 50%; transform: translateX(-50%); font-size: 10.5px; color: var(--muted); background: #fff; border: 1px solid var(--line-soft); padding: 2px 14px; border-radius: 6px; text-transform: none; letter-spacing: .02em; }
.browser--main { position: relative; z-index: 2; }
.browser--b { position: absolute; z-index: 1; width: 44%; right: -1%; top: -4%; }
.browser--c { position: absolute; z-index: 3; width: 44%; left: -2%; bottom: 0; }
.browser--b .browser__bar, .browser--c .browser__bar { height: 20px; }
.browser--b .browser__bar i, .browser--c .browser__bar i { width: 6px; height: 6px; }
.web__caption { position: absolute; right: 0; bottom: 2%; color: var(--muted); }

/* ---------- S080 Pricing ---------- */

.pricing { padding: var(--section) 0; border-top: 1px solid var(--line-soft); }
.pricing__head { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.pricing__head .label { grid-column: 1 / -1; }
.pricing__head .h2 { grid-column: 1 / span 8; max-width: 15ch; }
.pricing__head > p { grid-column: 9 / span 4; color: var(--ink-2); max-width: 36ch; }

.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 20px); align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px);
  padding: clamp(24px, 2.4vw, 36px);
  background: rgba(255,255,255,.28);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.plan:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -40px rgba(14,22,32,.4); }
.plan h3 { font-size: clamp(1.4rem, 1.7vw, 1.8rem); letter-spacing: -0.03em; font-weight: 500; }
.plan__for { color: var(--muted); font-size: 15px; margin-top: 4px; }
.plan__price {
  display: flex; align-items: baseline; gap: 10px;
  font-size: clamp(2.6rem, 4vw, 4.4rem); letter-spacing: -0.055em; font-weight: 450; line-height: 1;
  margin: clamp(28px, 3vw, 48px) 0 clamp(22px, 2.4vw, 32px);
  padding-bottom: clamp(22px, 2.4vw, 32px); border-bottom: 1px solid var(--line);
}
.plan__price .mono { color: var(--muted); letter-spacing: .06em; }
.plan ul { display: grid; gap: 12px; margin-bottom: 32px; flex: 1; align-content: start; }
.plan li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; font-size: 15.5px; color: var(--ink-2); }
.plan li::before { content: ""; width: 10px; height: 6px; margin-top: 7px; border-left: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(-45deg); }
.plan .btn { align-self: stretch; }
.plan__process { align-self: flex-start; margin: -12px 0 20px; color: var(--muted); border-bottom: 1px solid var(--line); padding-bottom: 2px; transition: color .4s var(--ease), border-color .4s var(--ease); }
.plan__process i { font-style: normal; display: inline-block; transition: transform .4s var(--ease); }
.plan__process:hover { color: inherit; border-color: currentColor; }
.plan__process:hover i { transform: translateX(4px); }
.plan--feature .plan__process { color: var(--on-night-muted); border-color: var(--night-line); }
.plan--feature .plan__process:hover { color: var(--on-night); border-color: currentColor; }

.plan--feature { background: var(--night); color: var(--on-night); border-color: var(--night); }
.plan--feature .plan__for, .plan--feature .plan__price .mono { color: var(--on-night-muted); }
.plan--feature .plan__price { border-color: var(--night-line); }
.plan--feature li { color: var(--on-night); }
.plan__badge {
  position: absolute; top: 0; right: clamp(24px, 2.4vw, 36px); transform: translateY(-50%);
  padding: 5px 10px; border-radius: 999px; background: var(--gold); color: var(--night);
}

.extras { display: grid; grid-template-columns: 1fr; gap: clamp(12px, 1.4vw, 20px); margin-top: clamp(12px, 1.4vw, 20px); }
.extra {
  display: grid; grid-template-columns: 110px 1fr auto; gap: 16px; align-items: center;
  padding: 20px clamp(24px, 2.4vw, 36px); border-radius: calc(var(--radius) + 4px);
  border: 1px solid var(--line); transition: background .4s var(--ease);
}
.extra .mono { color: var(--muted); }
.extra .arrow { font-style: normal; transition: transform .4s var(--ease); }
.extra:hover { background: rgba(255,255,255,.5); }
.extra:hover .arrow { transform: translateX(5px); }
.extra--priced { grid-template-columns: 110px 1fr auto auto; gap: 16px 24px; }
.extra__price { font-size: clamp(1.4rem, 1.8vw, 1.9rem); letter-spacing: -0.04em; font-weight: 450; white-space: nowrap; }

/* Launch: the founding-rate bundle, full width above the three packages */
.plan--launch {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 4fr) minmax(0, 4fr); gap: clamp(24px, 3vw, 48px); align-items: center;
  margin-bottom: clamp(12px, 1.4vw, 20px); border: 1.5px solid var(--ink); background: rgba(255,255,255,.5);
}
.launch__badge { display: inline-flex; align-items: center; gap: 8px; padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line); margin-bottom: 20px; }
.launch__badge b { font-weight: 500; }
.plan--launch .plan__price { margin: clamp(18px, 2vw, 26px) 0 10px; padding-bottom: 0; border: 0; }
.launch__note { color: var(--muted); }
.plan--launch ul { margin-bottom: 0; }
.launch__side { display: grid; gap: 16px; }
.launch__trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.launch__trio figure { position: relative; aspect-ratio: 3 / 4; border-radius: 10px; overflow: hidden; background: var(--paper-3); }
.launch__trio img { width: 100%; height: 100%; object-fit: cover; }
.launch__trio figcaption { position: absolute; left: 7px; bottom: 7px; padding: 3px 7px; border-radius: 99px; font-size: 10px; background: rgba(241,238,232,.88); color: var(--ink); }

/* ---------- S090 FAQ ---------- */

.faq { padding: var(--section) 0; background: var(--paper-2); }
.faq__grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; }
.faq__head { grid-column: 1 / span 4; }
.faq__head .h2 { margin-bottom: 24px; }
.faq__head p { color: var(--ink-2); }
.faq__list { grid-column: 6 / -1; border-bottom: 1px solid var(--line); }
.qa { border-top: 1px solid var(--line); }
.qa summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 24px 0; font-size: clamp(1.15rem, 1.6vw, 1.55rem); letter-spacing: -0.025em; font-weight: 450;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary i { position: relative; flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); transition: background .4s var(--ease), transform .5s var(--ease); }
.qa summary i::before, .qa summary i::after { content: ""; position: absolute; left: 11px; right: 11px; top: 50%; height: 1.5px; margin-top: -.75px; background: currentColor; }
.qa summary i::after { transform: rotate(90deg); transition: transform .5s var(--ease); }
.qa[open] summary i { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.qa[open] summary i::after { transform: rotate(0deg); }
.qa summary:hover i { transform: rotate(90deg); }
.qa__a { overflow: hidden; }
.qa__a p { padding: 0 0 26px; color: var(--ink-2); max-width: 60ch; }

/* ---------- S100 Contact ---------- */

.contact { padding: var(--section) 0 calc(var(--section) * .7); }
.contact__grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 56px; }
.contact__copy { grid-column: 1 / span 5; }
.contact__title { margin-bottom: 24px; max-width: 12ch; }
.contact__copy > p { color: var(--ink-2); max-width: 40ch; margin-bottom: 36px; }
.contact__mail {
  display: inline-block; font-size: clamp(1.4rem, 2.4vw, 2.5rem); letter-spacing: -0.035em; font-weight: 450;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat;
  padding-bottom: 4px; transition: background-size .5s var(--ease);
}
.contact__mail:hover { background-size: 0 1.5px; background-position: 100% 100%; }

.form { grid-column: 7 / -1; display: grid; gap: 26px; align-content: start; }
.form__chips { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.form__chips legend { color: var(--muted); margin-bottom: 14px; padding: 0; }
.form__chips label { position: relative; cursor: pointer; }
.form__chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.form__chips span {
  display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--line); font-size: 14.5px; transition: all .3s var(--ease);
}
.form__chips label:hover span { border-color: var(--ink); }
.form__chips input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.form__chips input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.field { display: grid; gap: 6px; }
.field .mono { color: var(--muted); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 17px; color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid var(--line);
  padding: 8px 0 12px; border-radius: 0; resize: vertical;
  transition: border-color .3s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: rgba(14,22,32,.35); }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--ink); }
.field.is-invalid input { border-bottom-color: var(--rec); }
.form__foot { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.form__note { color: var(--muted); font-size: 14px; }

/* ---------- Footer ---------- */

.foot { position: relative; padding: clamp(48px, 6vw, 80px) 0 24px; border-top: 1px solid var(--line); overflow: hidden; }
.foot__top { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 24px; align-items: start; }
.foot__col .mono { color: var(--muted); display: block; margin-bottom: 10px; }
.foot__col p { font-size: 15px; line-height: 1.7; }
.foot__col a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .4s var(--ease); }
.foot__col a:hover { background-size: 100% 1px; }
.foot__time { font-size: 15px; letter-spacing: 0; color: var(--ink); font-variant-numeric: tabular-nums; }
.foot__top-link { display: inline-flex; gap: 8px; align-items: center; }
.foot__top-link i { font-style: normal; transition: transform .4s var(--ease); }
.foot__top-link:hover i { transform: translateY(-3px); }

.wordmark {
  padding: clamp(40px, 8vw, 120px) var(--gutter) clamp(20px, 2vw, 32px);
  max-width: calc(var(--maxw) + 200px); margin: 0 auto;
  color: var(--ink);
  user-select: none; -webkit-user-select: none;
}
.wordmark__line {
  display: flex; justify-content: space-between; white-space: nowrap; line-height: .8; padding: .04em 0 .06em;
  /* clip only vertically (letters rise in from below); sideways overflow is scaled back in by JS */
  clip-path: inset(-0.1em -40% 0 -40%);
}
.wordmark__line--1 {
  font-size: 19.2vw;
  font-weight: 500;
  letter-spacing: -0.04em;
}
.wordmark__line--2 { font-size: 16vw; align-items: baseline; gap: .12em; }
.wordmark__line--2 em { font-family: var(--serif); font-style: italic; font-weight: 300; letter-spacing: -0.03em; }
.wordmark__line--2 span { font-weight: 500; letter-spacing: -0.04em; }
.wordmark .ch { display: inline-block; will-change: transform, font-variation-settings; }
.wordmark__line--1 .ch, .wordmark__line--2 span .ch { font-variation-settings: "wght" var(--w, 500); }
.wordmark__line--2 em .ch { font-variation-settings: "wght" var(--w, 300), "opsz" 72; }
.wordmark__line--1 .ch, .wordmark__line--2 span .ch { font-weight: var(--w, 500); }
.wordmark__line--2 em .ch { font-weight: var(--w, 300); }

.foot__base { display: flex; justify-content: space-between; gap: 16px; color: var(--muted); padding-top: 18px; border-top: 1px solid var(--line-soft); flex-wrap: wrap; }

/* ---------- Film player ---------- */

.player { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 84px clamp(16px, 4vw, 64px) clamp(16px, 3vw, 40px); }
.player[hidden] { display: none; }
.player__backdrop { position: absolute; inset: 0; background: rgba(6, 10, 14, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); opacity: 0; transition: opacity .5s var(--ease); }
.player.is-open .player__backdrop { opacity: 1; }
.player__frame {
  position: relative; width: min(100%, calc((100svh - 220px) * 1.7778));
  opacity: 0; transform: translateY(24px) scale(.97);
  transition: opacity .6s var(--ease), transform .8s var(--ease);
}
.player.is-open .player__frame { opacity: 1; transform: none; }
.player__video { width: 100%; aspect-ratio: 16 / 9; background: #000; border-radius: var(--radius); cursor: pointer; }
.player__ui { display: flex; align-items: center; gap: 14px; margin-top: 14px; color: #fff; }
.player__btn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.22); flex: none; transition: background .3s var(--ease); }
.player__btn:hover { background: rgba(255,255,255,.12); }
.player__btn svg { width: 16px; height: 16px; fill: currentColor; }
.player__toggle .i-play { display: none; }
.player.is-paused .player__toggle .i-play { display: block; }
.player.is-paused .player__toggle .i-pause { display: none; }
.player__mute .i-x { display: none; }
.player.is-muted .player__mute .i-x { display: block; }
.player.is-muted .player__mute .i-wave { display: none; }
.player__time, .player__dur { color: rgba(255,255,255,.7); font-variant-numeric: tabular-nums; min-width: 38px; }
.player__bar { position: relative; flex: 1; height: 24px; cursor: pointer; }
.player__bar::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: rgba(255,255,255,.2); border-radius: 2px; }
.player__fill { position: absolute; left: 0; top: 50%; height: 2px; margin-top: -1px; width: 100%; background: #fff; transform-origin: left; transform: scaleX(0); border-radius: 2px; }
.player__title { color: rgba(255,255,255,.55); margin-top: 16px; }
.player__close {
  position: absolute; top: 18px; right: var(--gutter); z-index: 2;
  display: inline-flex; align-items: center; gap: 12px; color: #fff; height: 44px;
}
.player__close i { position: relative; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); transition: transform .5s var(--ease); }
.player__close i::before, .player__close i::after { content: ""; position: absolute; left: 13px; right: 13px; top: 50%; height: 1.5px; background: currentColor; transform: rotate(45deg); }
.player__close i::after { transform: rotate(-45deg); }
.player__close:hover i { transform: rotate(90deg); }
.player__close:focus-visible { outline: none; }
.player__close:focus-visible i { box-shadow: 0 0 0 2px #fff; }

/* ---------- Cursor ---------- */

.cursor {
  position: fixed; left: 0; top: 0; z-index: 110; pointer-events: none;
  width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%;
  background: #fff; mix-blend-mode: difference;
  display: none; place-items: center;
  transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background .3s var(--ease), opacity .3s;
}
.has-cursor .cursor { display: grid; }
.cursor.is-hidden { opacity: 0; }
.cursor.is-label { width: 92px; height: 92px; margin: -46px 0 0 -46px; background: var(--paper); mix-blend-mode: normal; }
.cursor__label { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); opacity: 0; transition: opacity .3s; }
.cursor.is-label .cursor__label { opacity: 1; }

/* ---------- Motion setup (only when JS runs) ---------- */

.js .fade-up { opacity: 0; transform: translateY(28px); }

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .shoot__copy, .shoot__stage, .shoot__credit { grid-column: 1 / -1; }
  .shoot__stage { justify-self: stretch; width: 100%; }
  .shoot__credit { justify-self: start; }
  .shoot__copy .h2 { max-width: 14ch; font-size: clamp(2rem, 7vw, 3.4rem); }
  .shoot.is-live .shoot__modes { margin-top: 16px; }
  .shoot.is-live .mode h3 { font-size: clamp(1.6rem, 6vw, 2.4rem); margin: 6px 0 6px; }
  .shoot.is-live .mode p { font-size: 14.5px; }
  .shoot.is-live .shoot__bar { margin-top: 16px; }
  .plan--launch { grid-template-columns: 1fr; max-width: 640px; }
  .scene { display: none; }
  .nav__links { display: none; }
  .nav { grid-template-columns: 1fr auto auto; gap: 8px; }
  .nav__toggle { display: block; }
  .hero__title { grid-column: 1 / -1; margin-bottom: 26px; }
  .hero__side { grid-column: 1 / span 8; }
  .work__head .h2, .previs__head .h2, .pricing__head .h2 { grid-column: 1 / -1; margin-bottom: 20px; }
  .work__intro, .previs__lede, .pricing__head > p { grid-column: 1 / span 8; }
  .services__head .h2 { grid-column: 1 / -1; margin-bottom: 20px; }
  .services__intro { grid-column: 1 / span 8; justify-self: start; }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 36px; }
  .web__copy { grid-column: 1 / -1; margin-bottom: 56px; }
  .web__stage { grid-column: 1 / -1; }
  .plans { grid-template-columns: 1fr; max-width: 640px; }
  .extras { grid-template-columns: 1fr; max-width: 640px; }
  .faq__head { grid-column: 1 / -1; margin-bottom: 40px; }
  .faq__list { grid-column: 1 / -1; }
  .contact__copy, .form { grid-column: 1 / -1; }
  .case__meta { grid-template-columns: 40px 1fr; }
  .case__facts { grid-column: 2; }
}

@media (max-width: 760px) {
  .hud { font-size: 9.5px; --i: 12px; }
  .hud::before { --l: 14px; }
  .shoot.is-live .shoot__copy .label { display: none; }
  :root { --navh: 64px; }
  .nav__cta { display: none; }
  .nav { grid-template-columns: 1fr auto; }
  .nav__logo { height: 22px; transform: translateY(5px); }
  .scene { display: none; }

  .hero__copy { padding-bottom: 78px; }
  .hero__side { grid-column: 1 / -1; }
  .hero__side p { font-size: 15px; }
  .hud__tl { max-width: 50%; }
  .hud__tr .hud__fps { display: none; }

  .facts { grid-template-columns: 1fr; gap: 28px; }

  .case { position: relative; height: auto; padding: 0 var(--gutter) 28px; }
  .case__card { width: 100%; padding: 6px 6px 0; }
  .case__meta { grid-template-columns: 1fr; gap: 10px; padding: 14px 6px 16px; }
  .case__no { display: none; }
  .case__facts { grid-column: 1; gap: 0 20px; }
  .case__play { left: 12px; bottom: 12px; height: 40px; }

  .compare { aspect-ratio: 4 / 3; }
  .compare__tag .more { display: none; }
  .compare__knob { width: 48px; height: 48px; margin: -24px 0 0 -24px; }
  .shots__tc { width: 100%; margin: 8px 0 0; }

  .triptych { grid-template-columns: 1fr; }
  .triptych__frame:not(:last-of-type)::after { top: auto; bottom: -22px; right: auto; left: 50%; margin-left: -16px; content: "↓"; }
  .timeline { display: none; }
  .steps { grid-template-columns: 1fr; row-gap: 28px; }
  .steps.is-live .step { opacity: 1; }
  .step { display: grid; grid-template-columns: 44px 1fr; column-gap: 8px; }
  .step__no { grid-row: span 2; margin: 4px 0 0; }

  .svc__row { grid-template-columns: 36px 1fr; row-gap: 6px; }
  .svc__desc { grid-column: 2; font-size: 15px; }
  .svc__float { display: none; }

  .web__stage { padding: 4% 0 16% 4%; }
  .browser--b { right: -2%; }
  .web__caption { bottom: 0; }

  .extra { grid-template-columns: 1fr auto; }
  .extra .mono { grid-column: 1 / -1; }
  .extra--priced > span:not(.mono):not(.extra__price) { grid-column: 1 / -1; }

  .form__row { grid-template-columns: 1fr; }

  .foot__top { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .foot__top-link { grid-column: 1 / -1; }
  .foot__base { flex-direction: column; gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .steps.is-live .step { opacity: 1; }
  .case { position: relative; height: auto; padding: 0 var(--gutter) 32px; }
  .case__card { width: 100%; }
}
