/* ==========================================================================
   Maverick Media
   One stylesheet for every page. No framework, no build step.
   ========================================================================== */

/* Archivo, latin subset, variable weight + width (SIL OFL) */
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

/* JetBrains Mono, latin subset (SIL OFL) */
@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jetbrains-mono.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  interpolate-size: allow-keywords;

  --bg: #04060b;
  --bg-2: #070b14;
  --surface: #0a101d;
  --surface-2: #0e1628;
  --surface-3: #142037;
  --line: rgba(130, 160, 230, 0.12);
  --line-2: rgba(130, 160, 230, 0.22);
  --line-3: rgba(130, 160, 230, 0.36);

  --ink: #eef2fa;
  --ink-2: #a9b4c9;
  --ink-3: #7f8ba3;

  --blue: #2c66f5;
  --blue-hover: #2d68fb;
  --blue-2: #5b8bff;
  --blue-3: #9dbaff;
  --blue-deep: #10265f;
  --glow: rgba(47, 107, 255, 0.45);
  --rec: #ff3b3b;

  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --nav-h: 76px;
  --radius: 18px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-back: cubic-bezier(0.34, 1.4, 0.64, 1);
}

/* ---------- Reset ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  background: var(--bg);
  scrollbar-color: #24324f var(--bg);
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(1100px 620px at 82% -8%, rgba(47, 107, 255, 0.11), transparent 62%),
    var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

/* faint frame guides at the container edges */
body::before {
  content: "";
  position: fixed;
  inset: 0 max(var(--gutter), calc((100vw - var(--container)) / 2));
  border-inline: 1px solid rgba(130, 160, 230, 0.045);
  pointer-events: none;
  z-index: -1;
}

/* film grain */
body::after {
  content: "";
  position: fixed;
  inset: -10%;
  z-index: 90;
  pointer-events: none;
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1.4 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

@media (prefers-reduced-motion: no-preference) {
  body::after { animation: grain 0.9s steps(5) infinite; }
}

@keyframes grain {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -4%); }
  60% { transform: translate(-4%, -2%); }
  80% { transform: translate(3%, 3%); }
  100% { transform: translate(0, 0); }
}

img, svg, video, iframe, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
[hidden] { display: none !important; }

::selection { background: rgba(47, 107, 255, 0.55); color: #fff; }

:focus-visible {
  outline: 2px solid var(--blue-2);
  outline-offset: 3px;
  border-radius: 6px;
}
[tabindex="-1"]:focus { outline: none; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: -80px;
  left: 16px;
  z-index: 200;
  padding: 12px 18px;
  border-radius: 10px;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; }

/* ---------- Page transitions (cross-document view transitions) ---------- */

@view-transition { navigation: auto; }

@media (prefers-reduced-motion: no-preference) {
  ::view-transition-old(root) { animation: vt-out 0.32s var(--ease-io) both; }
  ::view-transition-new(root) { animation: vt-in 0.6s var(--ease) both; }
}
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}

@keyframes vt-out { to { opacity: 0; transform: scale(0.985); filter: blur(6px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(14px); } }

/* ---------- Layout ---------- */

.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}
.container--narrow { --container: 900px; }
.container--wide { --container: 1440px; }

.section { position: relative; padding-block: clamp(88px, 12vw, 168px); }
.section--tight { padding-block: clamp(64px, 8vw, 112px); }
.section--flush-top { padding-top: 0; }
.section--line { border-top: 1px solid var(--line); }

.stack > * + * { margin-top: var(--stack, 1.25rem); }

.section-head {
  display: grid;
  gap: 24px;
  margin-bottom: clamp(40px, 6vw, 80px);
}
@media (min-width: 960px) {
  .section-head--split {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    align-items: end;
    gap: 64px;
  }
}

/* ---------- Type ---------- */

h1, h2, .h1, .h2, .display {
  font-family: var(--font);
  font-weight: 800;
  font-stretch: 112%;
  letter-spacing: -0.035em;
  line-height: 0.92;
  text-wrap: balance;
}

h2, .h2 { font-size: clamp(2.3rem, 5.6vw, 5rem); line-height: 0.95; letter-spacing: -0.032em; }

h3, .h3 {
  font-size: clamp(1.2rem, 1rem + 0.6vw, 1.5rem);
  font-weight: 700;
  font-stretch: 106%;
  letter-spacing: -0.012em;
  line-height: 1.15;
}

.display { text-transform: uppercase; }

p { text-wrap: pretty; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  font-family: var(--mono);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--blue-2);
}
/* a viewfinder corner, like the frame guides on the portrait and the hero */
.eyebrow::before {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  border-top: 1.5px solid currentColor;
  border-left: 1.5px solid currentColor;
}
.eyebrow--dot::before {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 50%;
  background: var(--rec);
  box-shadow: 0 0 12px rgba(255, 59, 59, 0.8);
}
@media (prefers-reduced-motion: no-preference) {
  .eyebrow--dot::before { animation: blink 1.6s steps(2, jump-none) infinite; }
}

.lead {
  font-size: clamp(1.1rem, 0.98rem + 0.5vw, 1.375rem);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 58ch;
}
.lead strong { color: var(--ink); font-weight: 600; }

.muted { color: var(--ink-2); }
.dim { color: var(--ink-3); }
.mono { font-family: var(--mono); }
.blue { color: var(--blue-2); }

.outline {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--blue-2);
}
@supports not (-webkit-text-stroke: 1px black) {
  .outline { color: var(--blue-2); }
}

.grad {
  background: linear-gradient(100deg, #ffffff 0%, #b9cdff 40%, #4f84ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.prose p + p { margin-top: 1.1em; }
.prose p { color: var(--ink-2); }
.prose strong { color: var(--ink); }

.text-link {
  color: var(--ink);
  background-image: linear-gradient(var(--blue-2), var(--blue-2));
  background-size: 100% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  padding-bottom: 2px;
  transition: background-size 0.4s var(--ease), color 0.2s;
}
.text-link:hover { color: #fff; background-size: 0% 1px; background-position: 100% 100%; }
a[href^="mailto:"] { overflow-wrap: anywhere; }

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

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 56px;
  padding: 0 1.75rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  font-stretch: 106%;
  font-size: 1rem;
  letter-spacing: -0.005em;
  white-space: nowrap;
  isolation: isolate;
  overflow: hidden;
  transition: transform 0.35s var(--ease), background-color 0.3s, box-shadow 0.4s var(--ease), border-color 0.3s, color 0.3s;
}
.btn:active { transform: scale(0.97); }
.btn[data-magnetic] { transition: transform 0.35s var(--ease), translate 0.5s var(--ease), background-color 0.3s, box-shadow 0.4s var(--ease), border-color 0.3s, color 0.3s; }

.btn--primary {
  background: var(--blue);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 12px 34px -12px rgba(47, 107, 255, 0.85);
}
.btn--primary::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.38) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.9s var(--ease);
}
.btn--primary:hover {
  background: var(--blue-hover);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 18px 54px -12px rgba(47, 107, 255, 1);
}
.btn--primary:hover::before { transform: translateX(120%); }

.btn--ghost {
  border-color: var(--line-2);
  background: rgba(255, 255, 255, 0.025);
  color: var(--ink);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.btn--ghost:hover { border-color: var(--blue-2); background: rgba(47, 107, 255, 0.1); }

.btn--light { background: #fff; color: #050912; }
.btn--light:hover { background: #dfe8ff; }

.btn--sm { min-height: 44px; padding: 0 1.15rem; font-size: 0.92rem; }
.btn--lg { min-height: 64px; padding: 0 2.2rem; font-size: 1.08rem; }
.btn--block { width: 100%; }

.btn__icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-right: -0.9rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  transition: transform 0.45s var(--ease);
}
.btn--ghost .btn__icon { background: rgba(130, 160, 230, 0.14); }
.btn__icon svg { width: 14px; height: 14px; }
.btn:hover .btn__icon { transform: translateX(3px) rotate(-45deg); }

.btn .rec-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-stretch: 106%;
  color: var(--ink);
  transition: gap 0.35s var(--ease), color 0.2s;
}
.link-arrow svg { width: 16px; height: 16px; color: var(--blue-2); transition: transform 0.35s var(--ease); }
.link-arrow:hover { gap: 0.9rem; color: #fff; }

/* ---------- Header / nav ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 70;
  border-bottom: 1px solid transparent;
  transition: background-color 0.4s, border-color 0.4s, transform 0.5s var(--ease), -webkit-backdrop-filter 0.4s, backdrop-filter 0.4s;
  view-transition-name: site-header;
}
.site-header.is-scrolled {
  background: rgba(4, 6, 11, 0.72);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
}
.site-header.is-hidden { transform: translateY(-100%); }
html.menu-open .site-header { transform: none; background: transparent; border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--nav-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-stretch: 118%;
  font-size: 1rem;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  line-height: 1;
}
.brand img { width: 38px; height: 38px; transition: transform 0.6s var(--ease-back); }
.brand:hover img { transform: rotate(-8deg) scale(1.06); }
.brand b { color: var(--blue-2); font-weight: 800; }

.nav__links { display: none; }
.nav__cta { display: none; }

@media (min-width: 980px) {
  .nav__links {
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 5px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(10, 16, 29, 0.5);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
  }
  .nav__cta { display: inline-flex; }
  .nav__toggle { display: none !important; }
}

.nav__link {
  position: relative;
  padding: 8px 16px;
  border-radius: 999px;
  color: var(--ink-2);
  font-size: 0.93rem;
  font-weight: 500;
  transition: color 0.2s, background-color 0.2s;
}
.nav__link:hover { color: var(--ink); background: rgba(130, 160, 230, 0.08); }
.nav__link[aria-current="page"] { color: #fff; background: rgba(47, 107, 255, 0.2); }

.nav__toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(10, 16, 29, 0.6);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-family: var(--mono);
  font-size: 0.8rem;
}
.nav__toggle-lines { position: relative; width: 18px; height: 10px; }
.nav__toggle-lines::before,
.nav__toggle-lines::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.4s var(--ease), top 0.4s var(--ease);
}
.nav__toggle-lines::before { top: 1px; }
.nav__toggle-lines::after { top: 7px; }
html.menu-open .nav__toggle-lines::before { top: 4px; transform: rotate(45deg); }
html.menu-open .nav__toggle-lines::after { top: 4px; transform: rotate(-45deg); }

/* full-screen mobile menu */
.menu {
  position: fixed;
  inset: 0;
  z-index: 65;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  padding: calc(var(--nav-h) + 24px) var(--gutter) 28px;
  background:
    radial-gradient(600px 400px at 100% 0%, rgba(47, 107, 255, 0.25), transparent 70%),
    var(--bg);
  overflow-y: auto;
  visibility: hidden;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.7s var(--ease-io), visibility 0s linear 0.7s;
}
html.menu-open .menu {
  visibility: visible;
  clip-path: inset(0 0 0 0);
  transition: clip-path 0.7s var(--ease-io), visibility 0s;
}
html.menu-open { overflow: hidden; }

.menu__links a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: clamp(2.2rem, 10.5vw, 4.2rem);
  font-weight: 800;
  font-stretch: 116%;
  letter-spacing: -0.035em;
  line-height: 1.02;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.5s var(--ease), transform 0.7s var(--ease), color 0.2s;
}
.menu__links a span {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--blue-2);
  transform: translateY(-1.4em);
}
.menu__links a[aria-current="page"] { color: var(--blue-2); }
html.menu-open .menu__links a {
  opacity: 1;
  transform: none;
  transition-delay: calc(0.18s + var(--i, 0) * 0.06s);
}
.menu__foot {
  display: grid;
  gap: 18px;
  opacity: 0;
  transition: opacity 0.6s var(--ease) 0s;
}
html.menu-open .menu__foot { opacity: 1; transition-delay: 0.5s; }
.menu__contact { display: grid; gap: 6px; font-family: var(--mono); font-size: 0.85rem; color: var(--ink-2); }
.menu__contact a:hover { color: #fff; }
@media (prefers-reduced-motion: reduce) {
  .menu { clip-path: none; opacity: 0; transition: opacity 0.2s, visibility 0s linear 0.2s; }
  html.menu-open .menu { opacity: 1; transition: opacity 0.2s, visibility 0s; }
  .menu__links a { transform: none; }
}

@media (min-width: 980px) { .menu { display: none; } }

/* ---------- Reveal on scroll ---------- */

html.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 1.1s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}
html.js [data-reveal="fade"] { transform: none; }
html.js [data-reveal="scale"] { transform: scale(0.96); }
html.js [data-reveal="left"] { transform: translateX(-32px); }
html.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ---------- Intro leader (arrivals from outside the site and reloads; the gate is in index.html) ---------- */

.leader {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  background: #030408;
  transition: opacity 0.45s var(--ease), visibility 0s linear 0.45s;
}
.leader.is-done { opacity: 0; visibility: hidden; }
html:not(.has-leader) .leader { display: none; }
/* failsafe: the leader leaves on its own even if the script never runs */
html.has-leader .leader { animation: leader-out 0.45s var(--ease) 2.6s forwards; }
@keyframes leader-out { to { opacity: 0; visibility: hidden; } }
.leader__ring {
  position: relative;
  width: min(46vmin, 300px);
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 2px solid rgba(157, 186, 255, 0.4);
  box-shadow: 0 0 0 10px rgba(157, 186, 255, 0.06);
}
.leader__ring::before,
.leader__ring::after {
  content: "";
  position: absolute;
  background: rgba(157, 186, 255, 0.3);
}
.leader__ring::before { left: -30vmax; right: -30vmax; top: 50%; height: 1px; }
.leader__ring::after { top: -30vmax; bottom: -30vmax; left: 50%; width: 1px; }
.leader__sweep {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(rgba(47, 107, 255, 0.55) var(--a, 0deg), transparent 0);
}
.leader__num {
  position: relative;
  z-index: 1;
  font-size: min(26vmin, 170px);
  font-weight: 800;
  font-stretch: 118%;
  line-height: 1;
  color: #fff;
}
.leader__skip {
  position: absolute;
  right: 20px;
  bottom: 20px;
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--ink-3);
  padding: 10px 14px;
}

/* ==========================================================================
   HOME — hero with camera HUD
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: calc(var(--nav-h) + 96px) 0 clamp(88px, 13vh, 150px);
  overflow: hidden;
  isolation: isolate;
}

.hero__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

.glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.glow--a {
  width: 82vw; height: 82vw;
  max-width: 1200px; max-height: 1200px;
  right: -26vw; top: -38vw;
  background: radial-gradient(closest-side, rgba(47, 107, 255, 0.42), rgba(47, 107, 255, 0.08) 55%, transparent);
}
.glow--b {
  width: 70vw; height: 70vw;
  left: -30vw; bottom: -40vw;
  background: radial-gradient(closest-side, rgba(24, 64, 190, 0.34), transparent);
}
@media (prefers-reduced-motion: no-preference) {
  .glow--a { animation: drift-a 16s ease-in-out infinite alternate; }
  .glow--b { animation: drift-b 21s ease-in-out infinite alternate; }
}
@keyframes drift-a { to { transform: translate(-7vw, 6vw) scale(1.08); } }
@keyframes drift-b { to { transform: translate(8vw, -5vw) scale(1.12); } }

/* anamorphic lens flare */
.flare {
  position: absolute;
  left: -10%;
  right: -10%;
  top: 30%;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(91, 139, 255, 0) 12%, rgba(120, 165, 255, 0.55) 38%, rgba(225, 236, 255, 0.95) 50%, rgba(120, 165, 255, 0.55) 62%, rgba(91, 139, 255, 0) 88%, transparent 100%);
  box-shadow: 0 0 22px 3px rgba(47, 107, 255, 0.45);
  opacity: 0.75;
  transform-origin: 50% 50%;
}
.flare::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 220px;
  height: 220px;
  translate: -50% -50%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(200, 220, 255, 0.55), rgba(47, 107, 255, 0.18) 45%, transparent);
}
.flare::after {
  content: "";
  position: absolute;
  left: 15%;
  right: 15%;
  top: 50%;
  height: 34px;
  translate: 0 -50%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(91, 139, 255, 0.22), transparent);
}
@media (prefers-reduced-motion: no-preference) {
  .flare { animation: flare 13s ease-in-out infinite alternate; }
}
@keyframes flare {
  0% { transform: translateX(-18%) scaleX(0.85); opacity: 0.45; }
  50% { opacity: 0.85; }
  100% { transform: translateX(16%) scaleX(1.05); opacity: 0.6; }
}

.hero__vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(130% 90% at 50% 45%, transparent 45%, rgba(0, 0, 0, 0.65) 100%),
    linear-gradient(180deg, transparent 70%, var(--bg) 100%);
}

/* letterbox bars that open on load */
.letterbox {
  position: absolute;
  left: 0;
  right: 0;
  height: 50.5%;
  background: #000;
  z-index: 5;
  pointer-events: none;
}
.letterbox--top { top: 0; transform-origin: top; }
.letterbox--bottom { bottom: 0; transform-origin: bottom; }
@media (prefers-reduced-motion: no-preference) {
  .letterbox { animation: letterbox 1.15s var(--ease-io) 0.15s both; }
  html.has-leader .letterbox { animation-delay: 1.2s; }
}
@media (prefers-reduced-motion: reduce) { .letterbox { display: none; } }
@keyframes letterbox {
  0% { transform: scaleY(1); }
  100% { transform: scaleY(0); }
}

/* camera HUD */
.hud {
  position: absolute;
  inset: calc(var(--nav-h) + 10px) var(--gutter) 18px;
  z-index: 2;
  pointer-events: none;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  color: rgba(225, 233, 250, 0.78);
}
.hud__corner {
  position: absolute;
  width: 26px;
  height: 26px;
  border: 0 solid rgba(255, 255, 255, 0.75);
}
.hud__corner--tl { top: 0; left: 0; border-top-width: 2px; border-left-width: 2px; }
.hud__corner--tr { top: 0; right: 0; border-top-width: 2px; border-right-width: 2px; }
.hud__corner--bl { bottom: 0; left: 0; border-bottom-width: 2px; border-left-width: 2px; }
.hud__corner--br { bottom: 0; right: 0; border-bottom-width: 2px; border-right-width: 2px; }

.hud__tl, .hud__tr, .hud__bl, .hud__br {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 16px;
}
.hud__tl { top: 14px; left: 20px; }
.hud__tr { top: 14px; right: 20px; }
.hud__bl { bottom: 14px; left: 20px; }
.hud__br { bottom: 14px; right: 20px; }

.rec {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 700;
}
.rec::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--rec);
  box-shadow: 0 0 10px rgba(255, 59, 59, 0.9);
}
@media (prefers-reduced-motion: no-preference) {
  .rec::before { animation: blink 1.2s steps(2, jump-none) infinite; }
}
@keyframes blink { 50% { opacity: 0.15; } }

.tc { font-variant-numeric: tabular-nums; color: #fff; }

.battery {
  position: relative;
  width: 24px;
  height: 11px;
  border: 1.5px solid currentColor;
  border-radius: 2px;
}
.battery::before {
  content: "";
  position: absolute;
  inset: 1.5px 5px 1.5px 1.5px;
  background: currentColor;
}
.battery::after {
  content: "";
  position: absolute;
  right: -4px;
  top: 2.5px;
  width: 2px;
  height: 4px;
  background: currentColor;
}

.meters { display: grid; gap: 5px; }
.meter { display: flex; align-items: center; gap: 8px; }
.meter b { width: 8px; font-weight: 500; }
.meter i {
  position: relative;
  display: block;
  width: 96px;
  height: 5px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
  -webkit-mask: repeating-linear-gradient(90deg, #000 0 4px, transparent 4px 6px);
  mask: repeating-linear-gradient(90deg, #000 0 4px, transparent 4px 6px);
}
.meter i::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #5b8bff 0%, #9dbaff 70%, #fff 100%);
  transform-origin: left;
  transform: scaleX(0.55);
}
@media (prefers-reduced-motion: no-preference) {
  .meter i::before { animation: meter 1.1s ease-in-out infinite alternate; }
  .meter:nth-child(2) i::before { animation-duration: 0.83s; animation-delay: -0.4s; }
}
@keyframes meter {
  0% { transform: scaleX(0.35); }
  30% { transform: scaleX(0.72); }
  55% { transform: scaleX(0.5); }
  80% { transform: scaleX(0.86); }
  100% { transform: scaleX(0.42); }
}

.hud__cross {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 34px;
  height: 34px;
  translate: -50% -50%;
  opacity: 0.45;
}
.hud__cross::before, .hud__cross::after {
  content: "";
  position: absolute;
  background: #fff;
}
.hud__cross::before { left: 0; right: 0; top: 50%; height: 1px; }
.hud__cross::after { top: 0; bottom: 0; left: 50%; width: 1px; }

.hud__thirds {
  position: absolute;
  inset: 0;
  opacity: 0.6;
  background:
    linear-gradient(90deg, transparent calc(33.333% - 0.5px), rgba(255, 255, 255, 0.05) calc(33.333% - 0.5px) calc(33.333% + 0.5px), transparent calc(33.333% + 0.5px) calc(66.666% - 0.5px), rgba(255, 255, 255, 0.05) calc(66.666% - 0.5px) calc(66.666% + 0.5px), transparent calc(66.666% + 0.5px)),
    linear-gradient(180deg, transparent calc(33.333% - 0.5px), rgba(255, 255, 255, 0.05) calc(33.333% - 0.5px) calc(33.333% + 0.5px), transparent calc(33.333% + 0.5px) calc(66.666% - 0.5px), rgba(255, 255, 255, 0.05) calc(66.666% - 0.5px) calc(66.666% + 0.5px), transparent calc(66.666% + 0.5px));
}

.hud__hide-sm { display: none; }
@media (min-width: 720px) { .hud__hide-sm { display: flex; } }
@media (max-width: 719px) {
  .hud { inset: calc(var(--nav-h) + 4px) 12px 12px; font-size: 0.62rem; }
  .hud__tl { top: 12px; left: 14px; }
  .hud__tr { top: 12px; right: 14px; }
  .hud__cross { display: none; }
}

.hero__content { position: relative; z-index: 3; }

.hero__title {
  margin-top: 22px;
  font-size: clamp(2.6rem, 9.6vw, 9.1rem);
  font-weight: 800;
  font-stretch: 116%;
  line-height: 0.86;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}
.hero__title .line { display: block; overflow: hidden; padding: 0.02em 0 0.06em; margin-bottom: -0.06em; }
.hero__title .line > span { display: inline-block; }
@media (prefers-reduced-motion: no-preference) {
  .hero__title .line > span { animation: line-up 1.2s var(--ease) both; animation-delay: calc(0.75s + var(--i, 0) * 0.13s); }
  html.has-leader .hero__title .line > span { animation-delay: calc(1.75s + var(--i, 0) * 0.13s); }
  .hero__fade { animation: fade-up 1.1s var(--ease) both; animation-delay: calc(1.05s + var(--i, 0) * 0.1s); }
  html.has-leader .hero__fade { animation-delay: calc(2.05s + var(--i, 0) * 0.1s); }
}
@keyframes line-up { from { transform: translateY(105%) rotate(2deg); } to { transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.hero__bottom {
  display: grid;
  gap: 28px;
  margin-top: clamp(28px, 4vw, 48px);
}
@media (min-width: 960px) {
  .hero__bottom { grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 48px; }
}
.hero__lead { max-width: 50ch; }
.hero__aside { display: grid; gap: 14px; justify-items: start; }
@media (min-width: 960px) { .hero__aside { justify-items: end; } }
.hero__call { font-size: 0.95rem; color: var(--ink-2); }
.hero__call a { color: var(--ink); font-weight: 600; border-bottom: 1px solid var(--line-3); padding-bottom: 1px; transition: border-color 0.2s, color 0.2s; }
.hero__call a:hover { color: #fff; border-color: var(--blue-2); }

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 30px;
  z-index: 3;
  translate: -50% 0;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--ink-3);
}
.scroll-cue::after {
  content: "";
  width: 1px;
  height: 38px;
  background: linear-gradient(var(--blue-2), transparent);
}
@media (min-width: 960px) and (min-height: 760px) { .scroll-cue { display: flex; } }
@media (prefers-reduced-motion: no-preference) {
  .scroll-cue::after { animation: cue 2.2s var(--ease) infinite; transform-origin: top; }
}
@keyframes cue {
  0% { transform: scaleY(0); }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- Marquee ---------- */

.marquee {
  position: relative;
  overflow: hidden;
  padding-block: clamp(18px, 2.6vw, 30px);
  border-block: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(47, 107, 255, 0.05), transparent);
  -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track { display: flex; width: max-content; }
@media (prefers-reduced-motion: no-preference) {
  .marquee__track { animation: marquee 48s linear infinite; }
  .marquee:hover .marquee__track { animation-play-state: paused; }
}
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee__group {
  display: flex;
  align-items: center;
  gap: clamp(22px, 3vw, 44px);
  padding-right: clamp(22px, 3vw, 44px);
}
.marquee__item {
  font-size: clamp(1.5rem, 3.6vw, 3.1rem);
  font-weight: 800;
  font-stretch: 118%;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1.1;
}
.marquee__item--o { color: transparent; -webkit-text-stroke: 1px rgba(157, 186, 255, 0.55); }
.marquee__star { width: clamp(16px, 2vw, 24px); height: auto; color: var(--blue); flex: none; }

/* ---------- Statement (words light up as you scroll) ---------- */

.statement {
  font-size: clamp(1.7rem, 4.1vw, 3.6rem);
  font-weight: 700;
  font-stretch: 108%;
  line-height: 1.13;
  letter-spacing: -0.028em;
  max-width: 1120px;
}
.statement .w { opacity: 0.16; transition: opacity 0.35s, color 0.35s; }
.statement .w.is-lit { opacity: 1; }
.statement .w.hl.is-lit { color: var(--blue-2); }
html:not(.js) .statement .w { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .statement .w { opacity: 1; } }

.statement-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 28px;
  margin-top: clamp(32px, 4vw, 56px);
}
.sig {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.sig img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 20%;
  border: 2px solid var(--blue);
}
.sig strong { display: block; font-weight: 700; line-height: 1.2; }
.sig > span > span { display: block; font-family: var(--mono); font-size: 0.8rem; color: var(--ink-3); }

/* ---------- Services list ---------- */

.svc-list { border-top: 1px solid var(--line); }
.svc-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px 20px;
  align-items: center;
  padding: clamp(26px, 3.2vw, 40px) clamp(4px, 1.4vw, 20px);
  border-bottom: 1px solid var(--line);
  isolation: isolate;
  overflow: hidden;
}
.svc-row::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(47, 107, 255, 0.2), rgba(47, 107, 255, 0.04) 65%, transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.7s var(--ease);
}
.svc-row:hover::before, .svc-row:focus-visible::before { transform: scaleX(1); }
.svc-row__name {
  font-size: clamp(1.75rem, 4.4vw, 3.7rem);
  font-weight: 800;
  font-stretch: 116%;
  line-height: 0.98;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  transition: transform 0.6s var(--ease), color 0.3s;
}
.svc-row:hover .svc-row__name { transform: translateX(10px); }
.svc-row__desc { grid-column: 1 / -1; color: var(--ink-2); max-width: 46ch; }
.svc-row__price { grid-column: 1 / -1; font-family: var(--mono); font-size: 0.8rem; color: var(--ink); }
.svc-row__price small { color: var(--ink-3); font-size: inherit; }
.svc-row__arrow {
  grid-column: 2;
  grid-row: 1;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  transition: background-color 0.4s, border-color 0.4s, transform 0.5s var(--ease);
}
.svc-row__arrow svg { width: 18px; height: 18px; }
.svc-row:hover .svc-row__arrow { background: var(--blue); border-color: var(--blue); transform: rotate(-45deg); }

@media (min-width: 960px) {
  .svc-row {
    grid-template-columns: minmax(0, 1fr) 190px 56px;
    grid-template-areas:
      "name price arrow"
      "desc price arrow";
    gap: 12px 32px;
  }
  .svc-row__name { grid-area: name; }
  .svc-row__desc { grid-area: desc; }
  .svc-row__price { grid-area: price; text-align: right; }
  .svc-row__arrow { grid-area: arrow; }
}

/* ---------- Anatomy of a clip (editor) ---------- */

.anatomy {
  display: grid;
  gap: clamp(36px, 5vw, 64px);
}
@media (min-width: 1100px) {
  .anatomy { grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.42fr); align-items: center; }
}

.seg-list { display: grid; gap: 8px; margin-top: 32px; }
.seg-btn {
  position: relative;
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 4px 14px;
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  text-align: left;
  overflow: hidden;
  transition: border-color 0.3s, background-color 0.3s;
}
.seg-btn:hover { border-color: var(--line-2); }
.seg-btn__tc { font-family: var(--mono); font-size: 0.7rem; color: var(--ink-3); padding-top: 3px; }
.seg-btn__name { font-weight: 700; font-stretch: 106%; }
.seg-btn__desc {
  grid-column: 2;
  color: var(--ink-2);
  font-size: 0.94rem;
  line-height: 1.5;
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s var(--ease), opacity 0.3s;
  opacity: 0;
}
.seg-btn__desc > span { overflow: hidden; }
.seg-btn__bar {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: calc(var(--p, 0) * 100%);
  background: var(--blue-2);
  opacity: 0;
}
.seg-btn.is-active { border-color: rgba(91, 139, 255, 0.55); background: rgba(47, 107, 255, 0.08); }
.seg-btn.is-active .seg-btn__tc { color: var(--blue-3); }
.seg-btn.is-active .seg-btn__desc { grid-template-rows: 1fr; opacity: 1; }
.seg-btn.is-active .seg-btn__bar { opacity: 1; }

.editor {
  position: relative;
  border: 1px solid var(--line-2);
  border-radius: 20px;
  overflow: hidden;
  background: #060a13;
  box-shadow: 0 50px 140px -50px rgba(47, 107, 255, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.editor__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.66rem;
  color: var(--ink-3);
}
.editor__dots { display: flex; gap: 6px; }
.editor__dots i { width: 10px; height: 10px; border-radius: 50%; background: #1a2438; }
.editor__title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.viewer {
  position: relative;
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  background:
    radial-gradient(60% 80% at 50% 50%, rgba(47, 107, 255, 0.08), transparent),
    #020306;
  overflow: hidden;
}
@media (max-width: 640px) { .viewer { aspect-ratio: 4 / 5; } }

.viewer__tag, .viewer__tc {
  position: absolute;
  top: 12px;
  z-index: 3;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.55);
  font-family: var(--mono);
  font-size: 0.64rem;
  color: var(--ink-2);
}
.viewer__tag { left: 12px; }
.viewer__tc { right: 12px; color: #fff; font-variant-numeric: tabular-nums; }

.vmeters {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 3;
  display: flex;
  gap: 3px;
  height: 38%;
  align-items: flex-end;
}
.vmeters i {
  width: 5px;
  height: 100%;
  background: linear-gradient(0deg, #2f6bff, #9dbaff 75%, #fff);
  transform-origin: bottom;
  transform: scaleY(var(--lv, 0.05));
  transition: transform 0.08s linear;
  -webkit-mask: repeating-linear-gradient(0deg, #000 0 3px, transparent 3px 5px);
  mask: repeating-linear-gradient(0deg, #000 0 3px, transparent 3px 5px);
}
@media (max-width: 640px) { .vmeters { display: none; } }

.phone {
  position: relative;
  height: 100%;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  background: #0a0f1c;
  box-shadow: 0 0 0 1px rgba(157, 186, 255, 0.14);
}
.scene {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  visibility: hidden;
}
.scene.is-active { visibility: visible; }
.scene__bg { position: absolute; inset: -12%; }
@media (prefers-reduced-motion: no-preference) {
  .scene.is-active .scene__bg { animation: push 5s linear both; }
}
@keyframes push { from { transform: scale(1); } to { transform: scale(1.12); } }
.scene--1 .scene__bg { background: radial-gradient(70% 50% at 50% 35%, #2a5cff 0%, #0c1a46 55%, #050812 100%); }
.scene--2 .scene__bg { background: radial-gradient(80% 60% at 30% 70%, #1c3f9e 0%, #0b1530 60%, #04060c 100%); }
.scene--3 .scene__bg { background: radial-gradient(60% 50% at 65% 40%, #3b6dff 0%, #13285e 50%, #05080f 100%); }
.scene--4 .scene__bg { background: radial-gradient(90% 60% at 50% 100%, #2f6bff 0%, #102a6c 45%, #04060c 100%); }
.scene--5 .scene__bg { background: radial-gradient(70% 70% at 50% 50%, #ffffff 0%, #9dbaff 18%, #2f6bff 45%, #081536 100%); }

.scene__art {
  position: relative;
  width: 58%;
  margin-top: -22%;
  color: #dbe6ff;
}
.scene__art svg { width: 100%; height: auto; overflow: visible; }
.scene__art svg * { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.scene--5 .scene__art { color: #fff; }
@media (prefers-reduced-motion: no-preference) {
  .scene.is-active .scene__art svg * {
    stroke-dasharray: 400;
    stroke-dashoffset: 400;
    animation: draw 1.4s var(--ease) forwards;
  }
}
@keyframes draw { to { stroke-dashoffset: 0; } }

.scene__label {
  position: absolute;
  top: 6%;
  left: 7%;
  font-family: var(--mono);
  font-size: clamp(0.48rem, 0.8vw, 0.62rem);
  color: rgba(255, 255, 255, 0.7);
}

.caption {
  position: absolute;
  left: 7%;
  right: 17%;
  bottom: 23%;
  z-index: 2;
  text-align: center;
  font-weight: 800;
  font-stretch: 108%;
  font-size: clamp(0.72rem, 1.25vw, 1.08rem);
  line-height: 1.32;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
}
@media (max-width: 640px) { .caption { font-size: clamp(0.8rem, 3.4vw, 1rem); } }
.caption .cw { padding: 0.04em 0.16em; border-radius: 4px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.caption .cw.is-on { background: var(--blue); }
.scene--5 .caption .cw.is-on { background: #050912; }

.reel-ui {
  position: absolute;
  right: 5%;
  bottom: 22%;
  z-index: 2;
  display: grid;
  gap: 12px;
  opacity: 0.55;
}
.reel-ui i { display: block; width: clamp(10px, 1.4vw, 16px); aspect-ratio: 1; border: 1.5px solid #fff; border-radius: 50%; }
.reel-ui i:nth-child(2) { border-radius: 30%; }
.reel-ui i:nth-child(3) { border-radius: 2px; transform: rotate(45deg) scale(0.8); }

.reel-meta {
  position: absolute;
  left: 7%;
  right: 22%;
  bottom: 7%;
  z-index: 2;
  display: grid;
  gap: 5px;
  opacity: 0.55;
}
.reel-meta i { display: block; height: 5px; border-radius: 3px; background: #fff; }
.reel-meta i:nth-child(1) { width: 46%; }
.reel-meta i:nth-child(2) { width: 82%; opacity: 0.6; }

.safe {
  position: absolute;
  inset: 12% 15% 19% 6%;
  z-index: 1;
  border: 1px dashed rgba(157, 186, 255, 0.28);
  border-radius: 4px;
}
.safe::after {
  content: "Safe zone";
  position: absolute;
  top: 4px;
  right: 6px;
  font-family: var(--mono);
  font-size: 0.45rem;
  color: rgba(157, 186, 255, 0.55);
}

.editor__controls {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 16px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #070c17;
}
.play-btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  box-shadow: 0 8px 24px -8px rgba(47, 107, 255, 0.9);
  transition: transform 0.3s var(--ease-back), background-color 0.2s;
}
.play-btn:hover { transform: scale(1.08); background: var(--blue-hover); }
.play-btn svg { width: 16px; height: 16px; }
.play-btn .i-pause { display: none; }
.play-btn[aria-pressed="true"] .i-play { display: none; }
.play-btn[aria-pressed="true"] .i-pause { display: block; }

.tc-read { font-family: var(--mono); font-size: 0.86rem; font-variant-numeric: tabular-nums; color: #fff; }
.tc-read span { color: var(--ink-3); }
.keys { margin-left: auto; display: none; align-items: center; gap: 6px; font-family: var(--mono); font-size: 0.64rem; color: var(--ink-3); }
@media (min-width: 720px) { .keys { display: flex; } }
kbd {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 5px;
  border: 1px solid var(--line-2);
  border-bottom-width: 2px;
  border-radius: 5px;
  font-family: var(--mono);
  font-size: 0.66rem;
  color: var(--ink-2);
  background: rgba(255, 255, 255, 0.03);
}

.timeline {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 0 10px;
  padding: 10px 16px 16px;
  user-select: none;
  -webkit-user-select: none;
}
.tl-labels { display: grid; grid-template-rows: 18px repeat(4, 30px); row-gap: 6px; }
.tl-labels span {
  display: flex;
  align-items: center;
  font-family: var(--mono);
  font-size: 0.62rem;
  color: var(--ink-3);
}
.tl-lanes {
  position: relative;
  display: grid;
  grid-template-rows: 18px repeat(4, 30px);
  row-gap: 6px;
  cursor: col-resize;
  touch-action: pan-y;
}
.tl-ruler {
  position: relative;
  border-bottom: 1px solid var(--line);
  background-image: repeating-linear-gradient(90deg, rgba(157, 186, 255, 0.35) 0 1px, transparent 1px calc(100% / 30));
  background-size: 100% 5px;
  background-repeat: no-repeat;
  background-position: 0 100%;
}
.tl-ruler span {
  position: absolute;
  top: 0;
  font-family: var(--mono);
  font-size: 0.56rem;
  color: var(--ink-3);
  translate: 3px 0;
}
.tl-lane { position: relative; border-radius: 6px; background: rgba(255, 255, 255, 0.022); }
.clip {
  position: absolute;
  top: 2px;
  bottom: 2px;
  display: flex;
  align-items: center;
  padding: 0 8px;
  overflow: hidden;
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: box-shadow 0.2s, filter 0.2s;
}
.clip--v { background: linear-gradient(180deg, #3b74ff, #2257e0); color: #fff; }
.clip--v:nth-child(even) { background: linear-gradient(180deg, #2a5ad8, #1c46b4); }
.clip--cap { background: rgba(157, 186, 255, 0.16); border-color: rgba(157, 186, 255, 0.3); color: #d2e0ff; }
.clip--a { padding: 0; background: rgba(47, 107, 255, 0.12); border-color: rgba(47, 107, 255, 0.35); color: var(--blue-2); }
.clip--a2 { background: rgba(157, 186, 255, 0.08); border-color: rgba(157, 186, 255, 0.22); color: var(--blue-3); }
.clip--a svg { position: absolute; inset: 3px 0; width: 100%; height: calc(100% - 6px); }
.clip--a em { position: relative; z-index: 1; padding: 0 8px; font-style: normal; font-size: 0.56rem; color: #cfe0ff; text-shadow: 0 1px 4px #000; }
.clip.is-active { box-shadow: inset 0 0 0 1.5px #fff; filter: brightness(1.15); }

.playhead {
  position: absolute;
  top: 0;
  bottom: -4px;
  left: calc(var(--p, 0) * 100%);
  width: 2px;
  margin-left: -1px;
  background: #fff;
  box-shadow: 0 0 12px rgba(157, 186, 255, 0.8);
  z-index: 4;
  cursor: grab;
  touch-action: none;
}
.playhead::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 50%;
  width: 14px;
  height: 16px;
  translate: -50% 0;
  background: #fff;
  clip-path: polygon(0 0, 100% 0, 100% 60%, 50% 100%, 0 60%);
}
.playhead::after {
  content: "";
  position: absolute;
  inset: -4px -12px;
}
.playhead:focus-visible { outline: 2px solid transparent; outline-offset: 2px; box-shadow: 0 0 0 3px var(--blue-2), 0 0 12px rgba(157, 186, 255, 0.8); }
.tl-lanes.is-scrubbing, .tl-lanes.is-scrubbing .playhead { cursor: grabbing; }

/* ---------- Manifesto ---------- */

.manifesto { display: grid; gap: clamp(48px, 6vw, 80px); align-items: center; }
@media (min-width: 1000px) { .manifesto { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); } }

.manifesto__head { grid-column: 1 / -1; }
.manifesto__title { font-size: clamp(2.4rem, 7.4vw, 7rem); text-transform: uppercase; font-stretch: 118%; line-height: 0.9; letter-spacing: -0.045em; }
.strike { position: relative; display: inline-block; color: var(--ink-3); }
.strike::after {
  content: "";
  position: absolute;
  left: -3%;
  right: -3%;
  top: 50%;
  height: 0.085em;
  margin-top: -0.04em;
  background: var(--blue);
  box-shadow: 0 0 24px rgba(47, 107, 255, 0.8);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.9s var(--ease) 0.35s;
}
.is-in .strike::after, html:not(.js) .strike::after { transform: scaleX(1); }
.strike + .strike::after, .strike--late::after { transition-delay: 0.7s; }
@media (prefers-reduced-motion: reduce) { .strike::after { transition: none; } }

.vows { display: grid; border-top: 1px solid var(--line); }
.vow {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.vow p { font-size: clamp(1.02rem, 0.98rem + 0.25vw, 1.18rem); color: var(--ink); line-height: 1.5; }

.badge {
  position: relative;
  width: min(100%, 420px);
  aspect-ratio: 1;
  margin-inline: auto;
  display: grid;
  place-items: center;
}
.badge__ring { position: absolute; inset: 0; color: var(--blue-3); }
.badge__ring text {
  font-family: var(--mono);
  font-size: 16.5px;
  fill: currentColor;
}
@media (prefers-reduced-motion: no-preference) {
  .badge__ring { animation: spin 28s linear infinite; }
  .badge__ticks { animation: spin 60s linear infinite reverse; }
}
@keyframes spin { to { transform: rotate(360deg); } }
.badge__ticks { position: absolute; inset: 12%; color: rgba(157, 186, 255, 0.35); }
.badge__core {
  position: relative;
  width: 52%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 35%, #12204a, #070b16 70%);
  box-shadow: 0 0 0 1px var(--line-2), 0 0 80px rgba(47, 107, 255, 0.35), inset 0 0 40px rgba(47, 107, 255, 0.25);
}
.badge__core img { width: 58%; height: auto; filter: drop-shadow(0 10px 30px rgba(47, 107, 255, 0.5)); }

/* ---------- Formats (aspect ratio morph) ---------- */

.formats { display: grid; gap: clamp(40px, 6vw, 80px); align-items: center; }
@media (min-width: 1000px) { .formats { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); } }

.fmt-list { display: grid; gap: 10px; margin-top: 32px; }
.fmt-btn {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  width: 100%;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  text-align: left;
  transition: border-color 0.3s, background-color 0.3s;
}
.fmt-btn:hover { border-color: var(--line-2); }
.fmt-btn[aria-pressed="true"] { border-color: rgba(91, 139, 255, 0.6); background: rgba(47, 107, 255, 0.09); }
.fmt-btn__shape { display: grid; place-items: center; width: 44px; height: 44px; }
.fmt-btn__shape i { display: block; border: 1.5px solid var(--blue-2); border-radius: 3px; }
.fmt-btn[aria-pressed="true"] .fmt-btn__shape i { background: rgba(47, 107, 255, 0.35); }
.fmt-btn__name { display: block; font-weight: 700; font-stretch: 106%; }
.fmt-btn__where { display: block; color: var(--ink-2); font-size: 0.92rem; }
.fmt-btn__ratio { font-family: var(--mono); font-size: 0.78rem; color: var(--ink-3); }

.fmt-stage {
  position: relative;
  width: 100%;
  max-width: 640px;
  margin-inline: auto;
  aspect-ratio: 1;
  border-radius: 24px;
  border: 1px solid var(--line);
  background:
    linear-gradient(rgba(130, 160, 230, 0.05) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, rgba(130, 160, 230, 0.05) 1px, transparent 1px) 0 0 / 32px 32px,
    radial-gradient(60% 60% at 50% 50%, rgba(47, 107, 255, 0.14), transparent),
    #05080f;
  overflow: hidden;
}
.fmt-frame {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 90%;
  height: 50.625%;
  translate: -50% -50%;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 0 1.5px rgba(157, 186, 255, 0.55), 0 40px 90px -30px rgba(0, 0, 0, 0.9), 0 0 60px -10px rgba(47, 107, 255, 0.4);
  transition: width 1s var(--ease-io), height 1s var(--ease-io);
}
.fmt-stage[data-fmt="vertical"] .fmt-frame { width: 46.125%; height: 82%; translate: -50% -53%; }
.fmt-stage[data-fmt="square"] .fmt-frame { width: 70%; height: 70%; }
.fmt-frame img { width: 100%; height: 100%; object-fit: cover; }
@media (prefers-reduced-motion: reduce) { .fmt-frame { transition: none; } }
.fmt-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.25), transparent 30%, transparent 70%, rgba(0, 0, 0, 0.35));
}
.fmt-dims {
  position: absolute;
  left: 50%;
  bottom: 3.5%;
  translate: -50% 0;
  z-index: 2;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(5, 8, 15, 0.8);
  border: 1px solid var(--line-2);
  font-family: var(--mono);
  font-size: 0.72rem;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.fmt-credit {
  position: absolute;
  top: 3.5%;
  right: 4%;
  z-index: 2;
  font-family: var(--mono);
  font-size: 0.58rem;
  color: var(--ink-3);
}
.fmt-credit a { text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Process (scenes) ---------- */

.scenes { display: grid; gap: 14px; }
@media (min-width: 720px) { .scenes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1140px) { .scenes { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.scene-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 300px;
  padding: 40px 26px 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 60%), var(--bg-2);
  overflow: hidden;
  transition: border-color 0.3s, transform 0.5s var(--ease);
}
.scene-card:hover { border-color: var(--line-2); transform: translateY(-4px); }
.scene-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 10px;
  background: repeating-linear-gradient(-55deg, var(--blue) 0 10px, #e8eefc 10px 20px);
  opacity: 0.85;
}
.scene-card__top {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--ink-3);
}
.scene-card__top b { color: var(--blue-2); font-weight: 500; }
.scene-card__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-top: 10px;
  border-radius: 14px;
  background: rgba(47, 107, 255, 0.12);
  border: 1px solid rgba(91, 139, 255, 0.3);
  color: var(--blue-3);
}
.scene-card__icon svg { width: 24px; height: 24px; }
.scene-card h3 { margin-top: 16px; }
.scene-card p { color: var(--ink-2); font-size: 0.97rem; }

/* ---------- Stats ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
@media (min-width: 960px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stat {
  position: relative;
  padding: clamp(22px, 3vw, 40px) clamp(16px, 2.4vw, 32px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.stat__num {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-size: clamp(2.6rem, 6.4vw, 5.4rem);
  font-weight: 800;
  font-stretch: 120%;
  line-height: 1;
  letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums;
}
.stat__num sup, .stat__num small { font-size: 0.42em; color: var(--blue-2); letter-spacing: -0.02em; }
.stat__num sup { align-self: flex-start; margin-top: 0.12em; line-height: 1; }
.stat__label { margin-top: 14px; color: var(--ink-2); font-size: 0.95rem; line-height: 1.45; max-width: 24ch; }

/* ---------- Meet (portrait) ---------- */

.meet { display: grid; gap: clamp(40px, 6vw, 88px); align-items: center; }
@media (min-width: 900px) { .meet { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); } }

.portrait {
  position: relative;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 493 / 740;
  margin-inline: auto;
  border-radius: 22px;
  overflow: hidden;
  background: #f4f4f4;
  box-shadow: 0 50px 120px -40px rgba(47, 107, 255, 0.5);
}
.portrait img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.portrait:hover img { transform: scale(1.035); }
.portrait__corners { position: absolute; inset: 14px; pointer-events: none; }
.portrait__corners i { position: absolute; width: 22px; height: 22px; border: 0 solid var(--blue); }
.portrait__corners i:nth-child(1) { top: 0; left: 0; border-top-width: 2px; border-left-width: 2px; }
.portrait__corners i:nth-child(2) { top: 0; right: 0; border-top-width: 2px; border-right-width: 2px; }
.portrait__corners i:nth-child(3) { bottom: 0; left: 0; border-bottom-width: 2px; border-left-width: 2px; }
.portrait__corners i:nth-child(4) { bottom: 0; right: 0; border-bottom-width: 2px; border-right-width: 2px; }
.portrait__cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 60px 22px 20px;
  background: linear-gradient(180deg, transparent, rgba(4, 6, 11, 0.92));
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
}
.portrait__cap strong { display: block; font-family: var(--font); color: #fff; font-size: 1.25rem; font-weight: 800; font-stretch: 112%; text-transform: uppercase; letter-spacing: -0.02em; line-height: 1.1; }
.portrait__cap span { font-family: var(--mono); font-size: 0.74rem; color: var(--blue-3); }
.portrait__rec { font-family: var(--mono); font-size: 0.74rem; }

.meet__facts { display: grid; gap: 10px; margin-top: 28px; }
@media (min-width: 560px) { .meet__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.fact {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.015);
  font-size: 0.95rem;
  color: var(--ink-2);
}
.fact svg { flex: none; width: 18px; height: 18px; margin-top: 3px; color: var(--blue-2); }
.fact strong { color: var(--ink); font-weight: 600; }

/* ---------- Price cards ---------- */

.price-cards { display: grid; gap: 14px; }
@media (min-width: 900px) { .price-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  isolation: isolate;
}
.spot::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, -20%), rgba(47, 107, 255, 0.16), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
}
.spot:hover::before { opacity: 1; }

.price-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 340px;
  padding: clamp(26px, 3vw, 36px);
  transition: transform 0.6s var(--ease), border-color 0.3s;
}
.price-card:hover { transform: translateY(-6px); border-color: rgba(91, 139, 255, 0.45); }
.price-card__tag { font-family: var(--mono); font-size: 0.78rem; color: var(--blue-2); }
.price-card__from { font-family: var(--mono); font-size: 0.78rem; color: var(--ink-3); margin-bottom: -10px; }
.price-card__price {
  font-size: clamp(3rem, 5.6vw, 4.4rem);
  font-weight: 800;
  font-stretch: 116%;
  line-height: 1;
  letter-spacing: -0.045em;
}
.price-card__price small { font-size: 0.32em; font-weight: 600; letter-spacing: 0; color: var(--ink-2); margin-left: 4px; }
.price-card p { color: var(--ink-2); }
.price-card .link-arrow { margin-top: auto; }
.price-card--feature { background: linear-gradient(160deg, #13286a 0%, #0b1530 55%, var(--surface) 100%); border-color: rgba(91, 139, 255, 0.4); }
.price-card--feature .price-card__from { color: var(--ink-2); }

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

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  cursor: pointer;
  list-style: none;
  font-size: clamp(1.08rem, 0.98rem + 0.45vw, 1.35rem);
  font-weight: 700;
  font-stretch: 106%;
  letter-spacing: -0.01em;
  line-height: 1.3;
  transition: color 0.2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: #fff; }
.faq__icon {
  position: relative;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  transition: background-color 0.3s, border-color 0.3s, transform 0.5s var(--ease);
}
.faq__icon::before, .faq__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 1.5px;
  translate: -50% -50%;
  background: currentColor;
  transition: transform 0.4s var(--ease);
}
.faq__icon::after { transform: rotate(90deg); }
.faq details[open] .faq__icon { background: var(--blue); border-color: var(--blue); transform: rotate(180deg); }
.faq details[open] .faq__icon::after { transform: rotate(0deg); }
.faq__a { padding: 0 64px 26px 0; color: var(--ink-2); max-width: 74ch; }
.faq__a p + p { margin-top: 0.8em; }
.faq__a a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--blue-2); text-underline-offset: 3px; }

@supports selector(::details-content) {
  .faq details::details-content {
    block-size: 0;
    overflow-y: clip;
    transition: block-size 0.45s var(--ease), content-visibility 0.45s allow-discrete;
  }
  .faq details[open]::details-content { block-size: auto; }
  @media (prefers-reduced-motion: reduce) {
    .faq details::details-content { transition: none; }
  }
}

/* ---------- Final CTA ---------- */

.cta {
  position: relative;
  padding-block: clamp(120px, 16vw, 220px);
  text-align: center;
  overflow: hidden;
  isolation: isolate;
  border-top: 1px solid var(--line);
}
.cta__bg { position: absolute; inset: 0; z-index: -1; display: grid; place-items: center; }
.cta__glow {
  position: absolute;
  width: min(1100px, 120vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(47, 107, 255, 0.32), rgba(47, 107, 255, 0.05) 60%, transparent);
}
.cta__ring {
  position: absolute;
  width: min(860px, 140vw);
  aspect-ratio: 1;
  color: rgba(157, 186, 255, 0.22);
}
.cta__ring text { font-family: var(--mono); font-size: 11px; letter-spacing: 2px; fill: currentColor; }
@media (prefers-reduced-motion: no-preference) {
  .cta__ring { animation: spin 90s linear infinite; }
}
.cta__title {
  font-size: clamp(3rem, 11vw, 10.5rem);
  text-transform: uppercase;
  font-stretch: 122%;
  line-height: 0.86;
  letter-spacing: -0.05em;
}
.cta .lead { margin: 28px auto 0; }
.cta .actions { justify-content: center; margin-top: 40px; }
.cta__meta { margin-top: 28px; font-family: var(--mono); font-size: 0.78rem; color: var(--ink-3); }
.cta__meta a { color: var(--ink-2); }
.cta__meta a:hover { color: #fff; }

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

.site-footer {
  position: relative;
  padding-top: clamp(64px, 8vw, 112px);
  border-top: 1px solid var(--line);
  overflow: hidden;
  background: linear-gradient(180deg, transparent, rgba(47, 107, 255, 0.05));
}
.footer-grid { display: grid; gap: 40px 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.footer-brand, .footer-col:last-child { grid-column: 1 / -1; }
@media (min-width: 720px) { .footer-col:last-child { grid-column: auto; } }
@media (min-width: 1040px) { .footer-grid { grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); } .footer-brand { grid-column: auto; } }
.footer-brand p { margin-top: 18px; max-width: 38ch; color: var(--ink-2); font-size: 0.97rem; }
.footer-col h2 {
  margin-bottom: 18px;
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 500;
  font-stretch: 100%;
  line-height: 1.4;
  color: var(--ink-3);
}
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { color: var(--ink-2); transition: color 0.2s; }
.footer-col a:hover { color: #fff; }

.footer-word {
  margin-top: clamp(56px, 8vw, 104px);
  font-size: clamp(2.6rem, 13.6vw, 11.5rem);
  font-weight: 900;
  font-stretch: 125%;
  letter-spacing: -0.06em;
  line-height: 0.78;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(157, 186, 255, 0.22);
  background: linear-gradient(180deg, rgba(47, 107, 255, 0.5), rgba(47, 107, 255, 0) 75%);
  -webkit-background-clip: text;
  background-clip: text;
  user-select: none;
  -webkit-user-select: none;
  translate: 0 0.08em;
}
.footer-bottom-wrap {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  padding: 22px 0 max(28px, env(safe-area-inset-bottom));
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--ink-3);
}

/* ==========================================================================
   Interior pages
   ========================================================================== */

.page-hero {
  position: relative;
  padding: calc(var(--nav-h) + clamp(72px, 11vw, 150px)) 0 clamp(56px, 7vw, 100px);
  overflow: hidden;
  isolation: isolate;
}
.page-hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.page-hero__bg .glow--a { top: -55vw; right: -30vw; opacity: 0.8; }
.page-hero__bg .flare { top: 62%; opacity: 0.35; }
.page-hero__title {
  margin-top: 22px;
  font-size: clamp(3rem, 10.5vw, 9.4rem);
  text-transform: uppercase;
  font-stretch: 118%;
  line-height: 0.86;
  letter-spacing: -0.05em;
}
.page-hero__lead { margin-top: clamp(24px, 3vw, 36px); }
.page-hero__row { display: grid; gap: 40px; }
@media (min-width: 1000px) { .page-hero__row { grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); align-items: end; } }

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--ink-3);
}
.crumbs a:hover { color: var(--ink); }
.crumbs span[aria-current] { color: var(--blue-2); }

.jump {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 36px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-2);
  transition: border-color 0.2s, color 0.2s, background-color 0.2s;
}
a.chip:hover { border-color: var(--blue-2); color: #fff; background: rgba(47, 107, 255, 0.1); }

/* ---------- Services page ---------- */

.svc-block {
  display: grid;
  gap: clamp(32px, 4vw, 56px);
  padding-block: clamp(72px, 9vw, 130px);
  border-top: 1px solid var(--line);
}
@media (min-width: 1040px) {
  .svc-block { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 72px; }
  .svc-block__aside { position: sticky; top: calc(var(--nav-h) + 36px); align-self: start; }
}
.svc-block__aside h2 { font-size: clamp(2rem, 7vw, 3.6rem); text-transform: uppercase; font-stretch: 112%; }
@media (min-width: 1040px) { .svc-block__aside h2 { font-size: clamp(2rem, 3.2vw, 2.9rem); } }
.svc-block__aside .lead { margin-top: 20px; }
.svc-block__aside .actions { margin-top: 28px; }
.svc-block__from { margin-top: 24px; font-family: var(--mono); font-size: 0.8rem; color: var(--ink-2); }
.svc-block__from b { color: #fff; font-size: 1.1rem; font-weight: 600; }

.panel {
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.panel + .panel { margin-top: 14px; }
.panel h3 { margin-bottom: 16px; }
.panel__label { display: block; margin-bottom: 14px; font-family: var(--mono); font-size: 0.8rem; color: var(--blue-2); }

.checklist { display: grid; gap: 0; }
.checklist li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.checklist li:last-child { border-bottom: 0; padding-bottom: 0; }
.checklist li:first-child { padding-top: 0; }
.checklist svg { width: 20px; height: 20px; margin-top: 3px; color: var(--blue-2); }

.pkg-mini { display: grid; }
.pkg-mini li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.pkg-mini li:first-child { padding-top: 0; }
.pkg-mini li:last-child { border-bottom: 0; padding-bottom: 0; }
.pkg-mini strong { font-weight: 700; font-stretch: 106%; }
.pkg-mini span { grid-column: 1; color: var(--ink-2); font-size: 0.94rem; }
.pkg-mini b { grid-column: 2; grid-row: 1; font-family: var(--mono); font-weight: 600; font-size: 0.95rem; white-space: nowrap; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  padding: 7px 13px;
  border-radius: 1.4em;
  text-wrap: pretty;
  background: rgba(47, 107, 255, 0.1);
  border: 1px solid rgba(91, 139, 255, 0.25);
  color: var(--blue-3);
  font-size: 0.88rem;
  font-weight: 600;
}

.two-up { display: grid; gap: 14px; }
@media (min-width: 720px) { .two-up { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.mini-stat { padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, 0.015); }
.mini-stat b { display: block; font-size: 1.9rem; font-weight: 800; font-stretch: 116%; letter-spacing: -0.03em; line-height: 1.05; }
.mini-stat > span { display: block; margin-top: 6px; color: var(--ink-2); font-size: 0.93rem; }

/* month calendar (monthly clips) */
.cal-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.cal-head .panel__label { margin-bottom: 0; }
.cal-toggle { display: inline-flex; padding: 4px; border: 1px solid var(--line-2); border-radius: 999px; }
.cal-toggle button {
  padding: 6px 14px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--ink-2);
  transition: background-color 0.25s, color 0.25s;
}
.cal-toggle button[aria-pressed="true"] { background: var(--blue); color: #fff; }
.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.cal-dow { padding-bottom: 4px; text-align: center; font-family: var(--mono); font-size: 0.62rem; color: var(--ink-3); }
.cal-day {
  position: relative;
  aspect-ratio: 1 / 0.82;
  display: grid;
  place-items: start end;
  padding: 6px 8px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--ink-3);
  transition: background-color 0.4s, border-color 0.4s, color 0.4s;
}
.cal-day.is-off { background: transparent; opacity: 0.55; }
.cal-day.is-next { opacity: 0.45; }
.cal-day::after {
  content: "";
  position: absolute;
  left: 8px;
  bottom: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  transform: scale(0);
  transition: transform 0.45s var(--ease-back);
}
.cal-day.is-shoot { background: rgba(255, 59, 59, 0.1); border-color: rgba(255, 59, 59, 0.45); color: #ffd0d0; }
.cal-day.is-shoot::after { background: var(--rec); box-shadow: 0 0 10px var(--rec); transform: scale(1); }
.cal-day.is-ready { background: rgba(157, 186, 255, 0.1); border-color: rgba(157, 186, 255, 0.4); color: var(--blue-3); }
.cal-day.is-ready::after { border-radius: 2px; background: var(--blue-3); transform: scale(1) rotate(45deg); }
.cal-day.is-post, [data-plan="8"] .cal-day.is-post8 { background: rgba(47, 107, 255, 0.2); border-color: rgba(91, 139, 255, 0.6); color: #fff; }
.cal-day.is-post::after, [data-plan="8"] .cal-day.is-post8::after { background: var(--blue-2); transform: scale(1); }
.cal-legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 16px; font-size: 0.86rem; color: var(--ink-2); }
.cal-legend span { display: inline-flex; align-items: center; gap: 8px; }
.cal-legend i { width: 10px; height: 10px; border-radius: 50%; }
.lg-shoot { background: var(--rec); }
.lg-ready { background: var(--blue-3); border-radius: 2px !important; transform: rotate(45deg); }
.lg-post { background: var(--blue-2); }
.cal-note { margin-top: 14px; font-size: 0.88rem; color: var(--ink-3); }
.cal-note-8 { display: none; }
[data-plan="8"] .cal-note-8 { display: inline; }
@media (max-width: 520px) {
  .cal { gap: 4px; }
  .cal-day { padding: 4px 5px; border-radius: 7px; font-size: 0.6rem; }
  .cal-day::after { left: 5px; bottom: 5px; width: 7px; height: 7px; }
}

/* posting queue (social) */
.queue__live { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 0.72rem; color: var(--blue-3); }
.queue__live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #6fe3a1; box-shadow: 0 0 10px #6fe3a1; }
.queue__list { display: grid; gap: 8px; }
.queue__list li {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  grid-template-areas: "day what state" "day where state";
  gap: 6px 14px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
}
@media (min-width: 640px) {
  .queue__list li { grid-template-columns: 90px minmax(0, 1fr) auto auto; grid-template-areas: "day what where state"; }
}
@media (max-width: 359px) {
  .queue__list li { grid-template-columns: 52px minmax(0, 1fr); grid-template-areas: "day what" "day where" "day state"; }
}
.queue__day { grid-area: day; font-family: var(--mono); font-size: 0.72rem; color: var(--blue-3); line-height: 1.3; }
.queue__what { grid-area: what; }
.queue__what strong { display: block; font-weight: 700; }
.queue__what span { display: block; font-size: 0.86rem; color: var(--ink-3); }
.queue__where { grid-area: where; display: flex; gap: 4px; }
.queue__where i { padding: 3px 7px; border-radius: 6px; background: rgba(47, 107, 255, 0.14); font-style: normal; font-family: var(--mono); font-size: 0.62rem; color: var(--blue-3); }
.queue__state { grid-area: state; font-family: var(--mono); font-size: 0.66rem; color: var(--ink-3); }
.queue__state.is-done { color: #6fe3a1; }

/* included grid */
.included { display: grid; gap: 14px; }
@media (min-width: 720px) { .included { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .included { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.inc { display: grid; gap: 12px; align-content: start; padding: clamp(24px, 3vw, 34px); min-height: 230px; }
.inc__n { font-size: 2.6rem; font-weight: 800; font-stretch: 120%; letter-spacing: -0.04em; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--blue-2); margin-bottom: 10px; }
.inc p { color: var(--ink-2); font-size: 0.97rem; }

/* color grade compare */
.grade {
  --pos: 50%;
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-2);
  cursor: ew-resize;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  background: #000;
}
.grade img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.grade__after { filter: saturate(1.15) contrast(1.08) brightness(0.98); }
.grade__before {
  filter: saturate(0.32) contrast(0.66) brightness(1.14) sepia(0.06);
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}
.grade__line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 2px;
  margin-left: -1px;
  background: #fff;
  box-shadow: 0 0 16px rgba(0, 0, 0, 0.5);
  pointer-events: none;
}
.grade__knob {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 52px;
  height: 52px;
  translate: -50% -50%;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.9), 0 10px 30px rgba(0, 0, 0, 0.5);
  color: #fff;
}
.grade__knob svg { width: 22px; height: 22px; }
.grade__tag {
  position: absolute;
  top: 14px;
  z-index: 2;
  padding: 5px 10px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.6);
  font-family: var(--mono);
  font-size: 0.72rem;
  pointer-events: none;
}
.grade__tag--l { left: 14px; }
.grade__tag--r { right: 14px; color: var(--blue-3); }
.grade input[type="range"] { position: absolute; inset: auto 0 0; width: 100%; opacity: 0; pointer-events: none; }
.grade:has(input:focus-visible) { outline: 2px solid var(--blue-2); outline-offset: 3px; }
.grade-caption { margin-top: 12px; font-family: var(--mono); font-size: 0.7rem; color: var(--ink-3); }
.grade-caption a { text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Pricing builder ---------- */

.builder-layout { display: grid; gap: 28px; align-items: start; }
@media (min-width: 1100px) { .builder-layout { grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; } }
.builder { grid-template-columns: minmax(0, 1fr); }
.builder-main { min-width: 0; }

.fit {
  display: grid;
  gap: 18px;
  margin-bottom: 28px;
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.fit h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); text-transform: uppercase; font-stretch: 116%; }
.fit__q { display: grid; gap: 10px; }
.fit__label { font-weight: 700; font-stretch: 104%; }
.fit__opts {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 6px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--bg-2);
}
.fit__opt {
  min-height: 48px;
  padding: 10px 12px;
  border-radius: 14px;
  font-weight: 700;
  font-stretch: 104%;
  font-size: 0.95rem;
  line-height: 1.2;
  transition: background-color 0.3s, color 0.3s, box-shadow 0.3s;
}
.fit__opt:hover { background: rgba(130, 160, 230, 0.07); }
.fit__opt[aria-pressed="true"] { background: var(--blue); color: #fff; box-shadow: 0 12px 30px -12px rgba(47, 107, 255, 0.9); }
.fit__result { color: var(--ink-2); }
.fit__result:empty { position: absolute; }
@media (max-width: 560px) { .fit__opt { padding: 10px 6px; font-size: 0.86rem; } }

.svc-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  padding: 6px;
  margin-bottom: 36px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: 0 18px 40px -24px rgba(0, 0, 0, 0.9);
  transition: top 0.5s var(--ease);
}
/* the tab bar rides along under the header while you build, on screens tall enough to spare the room */
@media (min-height: 600px) {
  .svc-tabs { position: sticky; top: calc(var(--nav-h) + 10px); z-index: 20; }
}
html:has(.site-header.is-hidden) .svc-tabs { top: 10px; }
@media (prefers-reduced-motion: reduce) { .svc-tabs { transition: none; } }
.svc-tab {
  display: grid;
  gap: 3px;
  align-content: start;
  padding: 14px 16px;
  border-radius: 14px;
  text-align: left;
  transition: background-color 0.3s, color 0.3s, box-shadow 0.3s;
}
.svc-tab:hover { background: rgba(130, 160, 230, 0.07); }
.svc-tab[aria-selected="true"] { background: var(--blue); color: #fff; box-shadow: 0 12px 30px -12px rgba(47, 107, 255, 0.9); }
.svc-tab-name { font-weight: 800; font-stretch: 108%; font-size: clamp(0.9rem, 0.8rem + 0.5vw, 1.1rem); line-height: 1.15; }
.svc-tab-from { font-family: var(--mono); font-size: 0.68rem; opacity: 0.75; }
.svc-tab-picked { font-family: var(--mono); font-size: 0.64rem; color: var(--blue-3); min-height: 1em; }
.svc-tab[aria-selected="true"] .svc-tab-from { opacity: 0.95; }
.svc-tab[aria-selected="true"] .svc-tab-picked { color: #fff; }
.svc-tab-picked:not(:empty)::before { content: "● "; color: #6fe3a1; }
@media (max-width: 560px) {
  .svc-tab { padding: 12px 10px; }
  .svc-tab-from { font-size: 0.6rem; }
}
@media (max-width: 420px) {
  .svc-tab { padding: 12px 8px; }
  .svc-tab-name { font-size: 0.84rem; font-stretch: 100%; }
}
@media (max-width: 359px) {
  .svc-tab-name { font-size: 0.74rem; }
}

.svc-panel__head { margin-bottom: 26px; }
.svc-panel__head h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); text-transform: uppercase; font-stretch: 116%; }
.svc-panel__head p { margin-top: 14px; color: var(--ink-2); max-width: 60ch; }

.compare {
  margin-bottom: 32px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  overflow-x: auto;
}
.compare table { width: 100%; border-collapse: collapse; font-size: 0.88rem; line-height: 1.45; }
.compare caption { padding: 14px 16px 6px; text-align: left; font-family: var(--mono); font-size: 0.8rem; color: var(--blue-2); }
.compare th, .compare td { padding: 10px 14px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
.compare thead th, .compare thead td { border-top: 0; }
.compare thead th { font-weight: 800; font-stretch: 110%; font-size: 0.95rem; color: var(--ink); }
.compare td { min-width: 8.5rem; color: var(--ink-2); }
.compare tbody th { font-family: var(--mono); font-size: 0.76rem; font-weight: 500; color: var(--ink-3); white-space: nowrap; }
.compare tbody th, .compare thead td { position: sticky; left: 0; z-index: 1; background: var(--surface); }
.compare .compare__price td { color: var(--ink); font-weight: 800; font-stretch: 110%; font-size: 1rem; }
@media (max-width: 720px) {
  .compare tbody th { min-width: 6.5rem; white-space: normal; }
  .compare td { min-width: 9.5rem; }
}

.group-label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 16px;
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--blue-2);
}
.group-label::after { content: ""; flex: 1; height: 1px; background: var(--line); }

fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
legend { padding: 0; }

.pkgs { display: grid; gap: 12px; }
@media (min-width: 720px) { .pkgs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.pkg {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  cursor: pointer;
  transition: border-color 0.3s, background-color 0.3s, box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
}
.pkg:hover { border-color: var(--line-3); transform: translateY(-2px); }
.pkg input { position: absolute; opacity: 0; pointer-events: none; }
.pkg:has(input:focus-visible) { outline: 2px solid var(--blue-2); outline-offset: 3px; }
@supports not selector(:has(a)) {
  .pkg:focus-within,
  .grade:focus-within { outline: 2px solid var(--blue-2); outline-offset: 3px; }
}
.pkg.is-match { border-style: dashed; border-color: var(--blue-3); }
.pkg.is-match::after {
  content: "Fits your answers";
  position: absolute;
  top: -10px;
  left: 20px;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-family: var(--mono);
  font-size: 0.7rem;
}
.pkg.is-picked {
  border-color: var(--blue-2);
  background: linear-gradient(180deg, rgba(47, 107, 255, 0.14), rgba(47, 107, 255, 0.03)), var(--surface);
  box-shadow: inset 0 0 0 1px var(--blue-2), 0 26px 60px -32px rgba(47, 107, 255, 0.9);
}
.pkg__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.pkg__name { display: block; font-size: 1.2rem; font-weight: 800; font-stretch: 110%; letter-spacing: -0.01em; line-height: 1.2; }
.pkg__price { display: block; margin-top: 6px; font-size: 2rem; font-weight: 800; font-stretch: 116%; letter-spacing: -0.04em; line-height: 1; }
.pkg__price small { font-size: 0.45em; letter-spacing: 0; font-weight: 600; color: var(--ink-2); }
.pkg__check {
  flex: none;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--line-3);
  color: transparent;
  transition: background-color 0.3s, border-color 0.3s, color 0.3s, transform 0.4s var(--ease-back);
}
.pkg__check svg { width: 14px; height: 14px; }
.pkg.is-picked .pkg__check { background: var(--blue); border-color: var(--blue); color: #fff; transform: scale(1.08); }
.pkg__blurb { color: var(--ink-2); font-size: 0.96rem; }
.pkg__list { display: grid; gap: 7px; font-size: 0.92rem; color: var(--ink); }
.pkg__list > span { position: relative; display: block; padding-left: 18px; line-height: 1.45; }
.pkg__list > span::before { content: ""; position: absolute; left: 2px; top: 0.6em; width: 6px; height: 6px; border-radius: 2px; background: var(--blue-2); }
.pkg__time {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed var(--line-2);
  font-family: var(--mono);
  font-size: 0.72rem;
  line-height: 1.5;
  color: var(--ink-3);
}
.pkg__time svg { flex: none; width: 14px; height: 14px; margin-top: 1px; }

.extras { display: grid; gap: 10px; margin-top: 32px; }

.addon {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 18px;
  align-items: center;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  transition: opacity 0.3s, border-color 0.3s;
}
.addon.is-off { opacity: 0.5; }
.addon-label { display: block; font-weight: 700; font-stretch: 104%; }
.addon-note { margin-top: 4px; color: var(--ink-2); font-size: 0.9rem; line-height: 1.45; }
.addon--field { grid-template-columns: minmax(0, 1fr); }
.addon--field .select-wrap { max-width: 420px; }
.addon-why:not(:empty) { display: block; margin-top: 2px; font-family: var(--mono); font-size: 0.68rem; color: var(--blue-3); }
.addon-side { display: grid; justify-items: end; gap: 8px; }
@media (max-width: 520px) {
  .addon { grid-template-columns: minmax(0, 1fr); }
  .addon-side { grid-auto-flow: column; justify-content: space-between; align-items: center; }
}
.addon-price { font-family: var(--mono); font-size: 0.82rem; color: var(--ink); white-space: nowrap; }

.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 999px; }
.qty-btn {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.1rem;
  line-height: 1;
  color: var(--ink);
  transition: background-color 0.2s;
}
.qty-btn:hover:not(:disabled) { background: rgba(47, 107, 255, 0.2); }
.qty-btn:disabled { color: var(--ink-3); cursor: not-allowed; }
.qty input {
  width: 2.6ch;
  border: 0;
  background: none;
  text-align: center;
  font-family: var(--mono);
  font-size: 0.95rem;
  -moz-appearance: textfield;
  appearance: textfield;
}
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty input:focus { outline: none; }
.qty:has(input:focus-visible) { outline: 2px solid var(--blue-2); outline-offset: 2px; }

.switch { position: relative; display: inline-block; width: 50px; height: 28px; flex: none; }
.switch input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 1;
}
.switch input:disabled { cursor: not-allowed; }
.switch span {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: var(--surface-3);
  border: 1px solid var(--line-2);
  transition: background-color 0.3s, border-color 0.3s;
}
.switch span::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #cfd8ea;
  transition: transform 0.4s var(--ease-back), background-color 0.3s;
}
.switch input:checked + span { background: var(--blue); border-color: var(--blue); }
.switch input:checked + span::after { transform: translateX(22px); background: #fff; }
.switch input:focus-visible + span { outline: 2px solid var(--blue-2); outline-offset: 2px; }

.whole-build { display: grid; gap: 10px; margin-top: 48px; }
.whole-build .group-label { margin-bottom: 6px; }
.extras .group-label { margin-bottom: 6px; }
@media (prefers-reduced-motion: no-preference) {
  .build-total dd.is-bumped { animation: bump 0.5s var(--ease-back); }
}
@keyframes bump { 40% { transform: scale(1.06); color: var(--blue-3); } }
.build-total dd { transform-origin: right center; }

.select-wrap { position: relative; }
.select-wrap::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -6px;
  border-right: 1.5px solid var(--ink-2);
  border-bottom: 1.5px solid var(--ink-2);
  transform: rotate(45deg);
  pointer-events: none;
}
select.input { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer; }
select.input option { background: var(--surface); color: var(--ink); }

.build {
  position: relative;
  padding: 24px;
  border: 1px solid var(--line-2);
  border-radius: 22px;
  background: linear-gradient(180deg, #0c1427, #070b15);
  box-shadow: 0 40px 100px -50px rgba(47, 107, 255, 0.6);
}
@media (min-width: 1100px) { .build { position: sticky; top: calc(var(--nav-h) + 24px); max-height: calc(100vh - var(--nav-h) - 48px); overflow-y: auto; } }
.build__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.build__head h2 { font-size: 1.5rem; text-transform: uppercase; font-stretch: 116%; letter-spacing: -0.02em; line-height: 1; }
.build__status { display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 0.72rem; color: var(--ink-3); }
.build__status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); }
.build:not(.is-empty) .build__status { color: var(--blue-3); }
.build:not(.is-empty) .build__status::before { background: var(--rec); box-shadow: 0 0 8px var(--rec); }
.build-empty { padding: 26px 0 10px; color: var(--ink-3); font-size: 0.95rem; }
.build-items { display: grid; }
.build-items li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 28px;
  gap: 10px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line-2);
  font-size: 0.93rem;
}
@media (prefers-reduced-motion: no-preference) {
  .build-items li { animation: item-in 0.45s var(--ease) both; }
}
@keyframes item-in { from { opacity: 0; transform: translateX(-8px); } }
.build-items li.is-extra .build-item-label { padding-left: 14px; color: var(--ink-2); position: relative; }
.build-items li.is-extra .build-item-label::before { content: "+"; position: absolute; left: 0; color: var(--blue-2); }
.build-item-price { font-family: var(--mono); font-size: 0.82rem; white-space: nowrap; }
.build-remove {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: var(--ink-3);
  transition: background-color 0.2s, color 0.2s;
}
.build-remove:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.build-remove svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.build-totals { display: grid; gap: 4px; margin-top: 18px; }
.build-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 10px 0;
}
.build-total + .build-total { border-top: 1px solid var(--line); }
.build-total dt { font-family: var(--mono); font-size: 0.8rem; color: var(--ink-3); }
.build-total dd { font-size: 1.7rem; font-weight: 800; font-stretch: 116%; letter-spacing: -0.035em; font-variant-numeric: tabular-nums; text-align: right; line-height: 1.1; }
.build-split { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 0 0 8px; }
.build-split dt { font-family: var(--mono); font-size: 0.74rem; color: var(--ink-3); }
.build-split dd { font-family: var(--mono); font-size: 0.92rem; font-variant-numeric: tabular-nums; text-align: right; color: var(--blue-3); }
.build-split--none dd { color: var(--ink-2); font-size: 0.85rem; }
.build-split + .build-total { border-top: 1px solid var(--line); }
.build__actions { display: grid; gap: 8px; margin-top: 18px; }
.build-reset { padding: 10px; font-family: var(--mono); font-size: 0.8rem; color: var(--ink-3); border-radius: 10px; }
.build-reset:hover { color: #fff; background: rgba(255, 255, 255, 0.05); }
.build__note { margin-top: 14px; font-size: 0.85rem; color: var(--ink-3); line-height: 1.5; }

.build-bar {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: max(12px, env(safe-area-inset-bottom));
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 8px 8px 8px 20px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(10, 16, 29, 0.92);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.7);
}
@media (prefers-reduced-motion: no-preference) {
  .build-bar { animation: bar-in 0.5s var(--ease) both; }
}
@keyframes bar-in { from { transform: translateY(120%); } }
.build-bar-label { display: block; font-family: var(--mono); font-size: 0.68rem; color: var(--ink-3); }
.build-bar-total { display: block; font-weight: 800; font-stretch: 112%; font-size: 1.05rem; line-height: 1.2; }
.build-bar-split { display: block; font-family: var(--mono); font-size: 0.64rem; color: var(--blue-3); }
.build-bar-split:empty { display: none; }
@media (min-width: 1100px) { .build-bar { display: none !important; } }
html.has-build-bar { scroll-padding-bottom: 96px; }

/* phones get a call or text bar on Home and About, built like the build bar */
.contact-bar { display: none; }
@media (max-width: 979px) {
  .contact-bar {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    z-index: 50;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 8px 8px 8px 20px;
    border-radius: 999px;
    border: 1px solid var(--line-2);
    background: rgba(10, 16, 29, 0.92);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.7);
  }
  html.js .contact-bar:not(.is-on) { display: none; }
  html:has(.contact-bar) { scroll-padding-bottom: 96px; }
  html:not(.js) body:has(.contact-bar) { padding-bottom: 84px; }
}
@media (max-width: 979px) and (prefers-reduced-motion: no-preference) {
  .contact-bar { animation: bar-in 0.5s var(--ease) both; }
}
.contact-bar__call { display: grid; font-weight: 800; font-stretch: 112%; font-size: 1.05rem; line-height: 1.2; }
.contact-bar__call span { font-family: var(--mono); font-size: 0.68rem; font-weight: 500; color: var(--ink-3); }

.send-recap { margin-bottom: 28px; padding: 18px 20px; border: 1px dashed var(--line-3); border-radius: 14px; background: rgba(47, 107, 255, 0.05); }
.send-recap .panel__label { margin-bottom: 10px; }
.send-recap__list li { display: flex; justify-content: space-between; gap: 16px; padding: 6px 0; font-size: 0.95rem; }
.send-recap__list li.is-extra span { padding-left: 14px; color: var(--ink-2); }
.send-recap__list li b { font-family: var(--mono); font-size: 0.85rem; font-weight: 600; white-space: nowrap; }
.send-recap__list li.is-total { margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--line-2); font-weight: 700; }
.send-recap__list li.is-total b { color: #fff; font-size: 0.95rem; }
.send-recap__list li.is-split { padding-top: 0; font-size: 0.88rem; color: var(--ink-2); }
.send-recap__list li.is-split b { font-weight: 500; color: var(--blue-3); white-space: normal; text-align: right; }
.send-recap__empty { color: var(--ink-2); font-size: 0.95rem; }

.good-to-know { display: grid; gap: 10px; }
@media (min-width: 800px) { .good-to-know { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.gtk {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.015);
  color: var(--ink-2);
  font-size: 0.97rem;
}

/* ---------- Forms ---------- */

.form { display: grid; gap: 18px; }
.form-row { display: grid; gap: 18px; }
@media (min-width: 640px) { .form-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field { display: grid; gap: 8px; position: relative; }
.field label, .field .label { font-size: 0.86rem; font-weight: 600; color: var(--ink-2); }
.optional { font-weight: 400; color: var(--ink-3); }
.input {
  width: 100%;
  min-height: 56px;
  padding: 15px 18px;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--ink);
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}
.input::placeholder { color: var(--ink-3); }
.input:hover { border-color: var(--line-3); }
.input:focus { outline: 2px solid transparent; outline-offset: 2px; border-color: var(--blue-2); box-shadow: 0 0 0 4px rgba(47, 107, 255, 0.2); background: rgba(47, 107, 255, 0.05); }
textarea.input { min-height: 160px; resize: vertical; line-height: 1.55; }
.char-count { position: absolute; right: 14px; bottom: 10px; font-family: var(--mono); font-size: 0.7rem; color: var(--ink-3); }
.char-count.is-limit { color: #ffb4b4; }
.check-row { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); font-size: 0.95rem; cursor: pointer; }
.check-row input {
  flex: none;
  appearance: none;
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  margin: 1px 0 0;
  border: 1.5px solid var(--line-3);
  border-radius: 6px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s;
}
.check-row input::after { content: ""; width: 10px; height: 6px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) translate(1px, -1px) scale(0); transition: transform 0.25s var(--ease-back); }
.check-row input:checked { background: var(--blue); border-color: var(--blue); }
.check-row input:checked::after { transform: rotate(-45deg) translate(1px, -1px) scale(1); }

legend.label { margin-bottom: 10px; font-size: 0.86rem; font-weight: 600; color: var(--ink-2); }
.pick-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pick-chips label { position: relative; cursor: pointer; }
.pick-chips input { position: absolute; opacity: 0; pointer-events: none; }
.pick-chips span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-2);
  transition: background-color 0.25s, border-color 0.25s, color 0.25s, transform 0.3s var(--ease-back);
}
.pick-chips label:hover span { border-color: var(--line-3); color: var(--ink); }
.pick-chips input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; }
.pick-chips input:checked + span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff; }
.pick-chips input:focus-visible + span { outline: 2px solid var(--blue-2); outline-offset: 2px; }

.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.form-note { font-size: 0.9rem; color: var(--ink-3); }
.form.is-sending button[type="submit"] { opacity: 0.7; pointer-events: none; }
.form.is-sending button[type="submit"] .btn__icon { animation: spin 0.9s linear infinite; }
.form.is-sent .form-note { color: var(--blue-3); }
.form.is-error .form-note { color: #ffb4b4; }

.form-card {
  padding: clamp(24px, 3.4vw, 44px);
  border: 1px solid var(--line-2);
  border-radius: 24px;
  background: linear-gradient(180deg, #0b1324, #070b15);
  box-shadow: 0 50px 120px -60px rgba(47, 107, 255, 0.6);
}
.form-card__head { margin-bottom: 28px; }
.form-card__head h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); text-transform: uppercase; font-stretch: 116%; }
.form-card__head p { margin-top: 12px; color: var(--ink-2); }

/* ---------- Contact page ---------- */

.contact-grid { display: grid; gap: 28px; align-items: start; }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 40px; } }

.methods { display: grid; gap: 10px; }
.method {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  transition: border-color 0.3s, transform 0.5s var(--ease), background-color 0.3s;
}
.method:hover { border-color: rgba(91, 139, 255, 0.5); transform: translateX(4px); background: var(--surface-2); }
.method__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: rgba(47, 107, 255, 0.12); color: var(--blue-3); }
.method__icon svg { width: 22px; height: 22px; }
.method__k { display: block; font-family: var(--mono); font-size: 0.76rem; color: var(--ink-3); }
.method__v { display: block; font-weight: 700; font-stretch: 106%; font-size: clamp(0.98rem, 0.9rem + 0.35vw, 1.15rem); overflow-wrap: break-word; }
.method__go { width: 18px; height: 18px; color: var(--ink-3); transition: color 0.2s, transform 0.4s var(--ease); }
.method:hover .method__go { color: var(--blue-2); transform: rotate(-45deg); }

.promise { margin-top: 14px; padding: 22px; border-radius: 16px; border: 1px dashed var(--line-2); color: var(--ink-2); font-size: 0.95rem; }
.promise strong { color: var(--ink); }

.tips { display: grid; gap: 12px; }
@media (min-width: 800px) { .tips { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .tips { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tip { padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255, 255, 255, 0.015); }
.tip h3 { font-size: 1.15rem; }
.tip p { margin-top: 8px; color: var(--ink-2); font-size: 0.95rem; }

/* service area radar */
.area { display: grid; gap: clamp(40px, 5vw, 72px); align-items: center; }
@media (min-width: 1000px) { .area { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); } }
.radar { position: relative; width: 100%; max-width: 640px; margin-inline: auto; }
.radar svg { width: 100%; height: auto; overflow: visible; }
.radar .ring { fill: none; stroke: rgba(130, 160, 230, 0.3); stroke-width: 1; }
.radar .ring--dash { stroke-dasharray: 3 6; }
.radar .zone-1 { fill: rgba(47, 107, 255, 0.2); }
.radar .zone-2 { fill: rgba(47, 107, 255, 0.09); }
.radar .zone-3 { fill: rgba(47, 107, 255, 0.04); }
.radar .axis { stroke: rgba(130, 160, 230, 0.12); stroke-width: 1; }
.radar .ring-label { font-family: var(--mono); font-size: 10px; fill: var(--blue-3); }
.radar .town circle { fill: #cfe0ff; }
.radar .town text { font-family: var(--font); font-size: 12.5px; font-weight: 600; fill: var(--ink); paint-order: stroke; stroke: var(--bg); stroke-width: 4px; stroke-linejoin: round; }
.radar .town--far circle { fill: var(--blue-2); }
.radar .town--far text { fill: var(--ink-2); font-weight: 500; }
.radar .home circle.core { fill: #fff; }
.radar .home circle.pulse { fill: none; stroke: var(--blue-2); stroke-width: 2; transform-box: fill-box; transform-origin: center; }
.radar .home text { font-family: var(--font); font-weight: 800; font-size: 13px; letter-spacing: 0.5px; fill: #fff; paint-order: stroke; stroke: var(--bg); stroke-width: 5px; text-transform: uppercase; }
.radar .peak path { fill: rgba(157, 186, 255, 0.25); stroke: var(--blue-3); stroke-width: 1.2; }
.radar .peak text { font-family: var(--mono); font-size: 9.5px; fill: var(--blue-3); }
.radar .sweep { transform-origin: 300px 300px; }
@media (prefers-reduced-motion: no-preference) {
  .radar .sweep { animation: spin 7s linear infinite; }
  .radar .home circle.pulse { animation: pulse 2.4s var(--ease) infinite; }
}
.radar.is-paused .sweep, .radar.is-paused .pulse { animation-play-state: paused; }
@keyframes pulse { from { transform: scale(0.6); opacity: 1; } to { transform: scale(3.2); opacity: 0; } }

.zones { display: grid; gap: 10px; margin-top: 28px; }
.zone {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.zone i { width: 14px; height: 14px; margin-top: 4px; border-radius: 50%; border: 1.5px solid var(--blue-2); }
.zone:nth-child(1) i { background: rgba(47, 107, 255, 0.7); }
.zone:nth-child(2) i { background: rgba(47, 107, 255, 0.35); }
.zone:nth-child(3) i { background: rgba(47, 107, 255, 0.12); }
.zone.zone--far i { background: transparent; border-style: dashed; }
.zone strong { display: block; font-weight: 700; }
.zone span { display: block; color: var(--ink-2); font-size: 0.92rem; }
.zone b { font-family: var(--mono); font-size: 0.82rem; font-weight: 600; white-space: nowrap; }

/* ---------- About page ---------- */

.about-hero { display: grid; gap: clamp(40px, 6vw, 80px); align-items: end; }
@media (min-width: 1000px) { .about-hero { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); } }
.about-hero .portrait { max-width: 400px; }

.chapter {
  display: grid;
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
  padding-block: clamp(72px, 9vw, 130px);
  border-top: 1px solid var(--line);
}
@media (min-width: 1000px) {
  .chapter { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chapter--flip .chapter__media { order: -1; }
  .chapter:not(:has(> .chapter__media)) { grid-template-columns: minmax(0, 760px); }
}
.chapter__reel {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--ink-3);
}
.chapter__reel b {
  padding: 5px 10px;
  border-radius: 6px;
  background: var(--blue);
  color: #fff;
  font-weight: 600;
}
.chapter h2 { font-size: clamp(2.2rem, 5vw, 4.4rem); text-transform: uppercase; font-stretch: 116%; margin-bottom: 26px; }
.chapter .prose p { font-size: clamp(1.02rem, 0.98rem + 0.3vw, 1.18rem); }

.route { position: relative; border: 1px solid var(--line); border-radius: 22px; background: #05080f; overflow: hidden; }
.route svg { width: 100%; height: auto; }
.route .grat { fill: rgba(130, 160, 230, 0.16); }
.route .state { fill: rgba(47, 107, 255, 0.12); stroke: rgba(157, 186, 255, 0.55); stroke-width: 1.2; stroke-linejoin: round; }
.route .state--to { fill: rgba(47, 107, 255, 0.2); }
.route .path { fill: none; stroke: #fff; stroke-width: 2; stroke-dasharray: 2 7; stroke-linecap: round; }
.route .path-glow { fill: none; stroke: var(--blue); stroke-width: 6; opacity: 0.35; filter: blur(4px); }
.route .pin circle { fill: #fff; }
.route .pin .halo { fill: rgba(47, 107, 255, 0.35); }
.route .lbl { font-family: var(--font); font-weight: 700; font-size: 20px; fill: #fff; }
.route .sub { font-family: var(--mono); font-size: 13px; fill: var(--blue-3); }
.route .state-name { font-family: var(--font); font-weight: 800; font-size: 16px; letter-spacing: 4px; fill: rgba(157, 186, 255, 0.55); }
.route .mover { fill: var(--blue-2); }
.route__meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.76rem;
  color: var(--ink-3);
}
.route__meta b { color: var(--ink); font-weight: 500; }
.route .path-draw { stroke-dasharray: 1200; stroke-dashoffset: 1200; }
.route.is-in .path-draw, html:not(.js) .route .path-draw { stroke-dashoffset: 0; transition: stroke-dashoffset 2.4s var(--ease-io) 0.3s; }

.yt {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  background: #000;
  border: 1px solid var(--line-2);
  box-shadow: 0 50px 120px -50px rgba(47, 107, 255, 0.6);
}
.yt img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter 0.6s; filter: saturate(0.9); }
.yt:hover img { transform: scale(1.04); filter: saturate(1.05); }
.yt::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.55));
  pointer-events: none;
}
.yt__play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 84px;
  height: 84px;
  translate: -50% -50%;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  box-shadow: 0 0 0 10px rgba(47, 107, 255, 0.25), 0 20px 50px rgba(0, 0, 0, 0.6);
  transition: transform 0.5s var(--ease-back), box-shadow 0.4s;
}
.yt__play svg { width: 26px; height: 26px; margin-left: 4px; }
.yt:hover .yt__play { transform: scale(1.1); box-shadow: 0 0 0 16px rgba(47, 107, 255, 0.2), 0 20px 50px rgba(0, 0, 0, 0.6); }
.yt__meta {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--mono);
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.85);
}
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.media-caption { margin-top: 14px; font-size: 0.9rem; color: var(--ink-3); }
.media-caption a { text-decoration: underline; text-underline-offset: 2px; }

.photo { position: relative; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 3; }
.photo img { width: 100%; height: 118%; object-fit: cover; transform: translateY(calc(var(--py, 0) * 1px)); will-change: transform; }
.photo__tag {
  position: absolute;
  left: 14px;
  top: 14px;
  padding: 5px 10px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.55);
  font-family: var(--mono);
  font-size: 0.72rem;
}

.values { display: grid; gap: 14px; }
@media (min-width: 900px) { .values { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.value { padding: clamp(24px, 3vw, 36px); display: grid; gap: 14px; align-content: start; min-height: 260px; }
.value__icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: rgba(47, 107, 255, 0.14); color: var(--blue-3); margin-bottom: 18px; }
.value__icon svg { width: 26px; height: 26px; }
.value p { color: var(--ink-2); }

.quote-big {
  font-size: clamp(1.5rem, 3.2vw, 2.7rem);
  font-weight: 700;
  font-stretch: 108%;
  line-height: 1.15;
  letter-spacing: -0.025em;
  max-width: 34ch;
}
.quote-big::before { content: "\201C"; display: block; font-size: 2.4em; line-height: 0.6; color: var(--blue); margin-bottom: 0.12em; }

/* ---------- Questions page ---------- */

.faq-tools { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 36px; }
.search { position: relative; flex: 1 1 320px; max-width: 520px; }
.search svg { position: absolute; left: 18px; top: 50%; width: 18px; height: 18px; translate: 0 -50%; color: var(--ink-3); pointer-events: none; }
.search .input { padding-left: 50px; border-radius: 999px; }
.faq-count { font-family: var(--mono); font-size: 0.8rem; color: var(--ink-3); }

.faq-group + .faq-group { margin-top: clamp(56px, 7vw, 96px); }
.faq-group__head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 18px; }
.faq-group__head h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); text-transform: uppercase; font-stretch: 116%; }
.faq-group__head span { font-family: var(--mono); font-size: 0.75rem; color: var(--blue-2); }
.faq-empty { padding: 40px 0; color: var(--ink-2); }

.faq-layout { display: grid; gap: 48px; }
@media (min-width: 1040px) {
  .faq-layout { grid-template-columns: 260px minmax(0, 1fr); gap: 72px; }
  .faq-nav { position: sticky; top: calc(var(--nav-h) + 36px); align-self: start; }
}
.faq-nav { display: grid; gap: 4px; }
.faq-nav a {
  display: flex;
  justify-content: space-between;
  padding: 11px 14px;
  border-radius: 10px;
  color: var(--ink-2);
  font-weight: 600;
  transition: background-color 0.2s, color 0.2s;
}
.faq-nav a:hover { background: rgba(130, 160, 230, 0.07); color: #fff; }
.faq-nav a span { font-family: var(--mono); font-size: 0.72rem; color: var(--ink-3); }
@media (max-width: 1039px) {
  .faq-nav { display: flex; flex-wrap: wrap; gap: 8px; }
  .faq-nav a { border: 1px solid var(--line-2); border-radius: 999px; padding: 8px 14px; gap: 10px; }
}

/* ---------- 404 ---------- */

.lost {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-content: center;
  padding: calc(var(--nav-h) + 48px) 0 64px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.lost__code {
  font-size: clamp(6rem, 26vw, 22rem);
  font-weight: 900;
  font-stretch: 125%;
  line-height: 0.8;
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(157, 186, 255, 0.5);
}
.lost__gap {
  position: relative;
  height: 46px;
  margin: 40px 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  gap: 4px;
  padding: 4px;
}
.lost__gap i { border-radius: 5px; background: linear-gradient(180deg, #3b74ff, #2257e0); }
.lost__gap i.gap { background: repeating-linear-gradient(-45deg, rgba(255, 59, 59, 0.25) 0 8px, transparent 8px 16px); border: 1px dashed rgba(255, 120, 120, 0.6); display: grid; place-items: center; font-family: var(--mono); font-size: 0.66rem; color: #ffb4b4; }

/* ---------- Utilities ---------- */

.mt-0 { margin-top: 0 !important; }
.mt-s { margin-top: 16px; }
.mt-m { margin-top: 28px; }
.mt-l { margin-top: 48px; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }

/* headings that sit in a half-width column */
.anatomy h2, .area h2, .formats h2, .meet h2 { font-size: clamp(2.2rem, 4.4vw, 3.9rem); }

/* phones: let the hero headline go one word per line, and big */
@media (max-width: 600px) {
  .hero__title { font-size: clamp(2.6rem, 14.6vw, 4.6rem); line-height: 0.88; }
  .hero { padding-top: calc(var(--nav-h) + 72px); }
  .hero__aside .actions { width: 100%; }
  .hero__aside .btn { flex: 1 1 auto; }
}

/* below desktop the editor sits between the intro and the beat list, so you can watch both */
@media (max-width: 1099px) {
  .anatomy { display: flex; flex-direction: column; gap: 0; }
  .anatomy__info { display: contents; }
  .anatomy .editor { order: 2; margin-top: 36px; }
  .anatomy .seg-list { order: 3; margin-top: 14px; }
}
@media (max-width: 999px) {
  .formats { display: flex; flex-direction: column; gap: 0; }
  .formats > div:first-child { display: contents; }
  .formats .fmt-stage { order: 2; margin-top: 32px; }
  .formats .fmt-list { order: 3; margin-top: 14px; }
}
@media (max-width: 600px) {
  .cta__title { font-size: clamp(3rem, 17vw, 5rem); }
  .page-hero__title { font-size: clamp(3rem, 14vw, 5rem); }
  .portrait { max-width: 360px; }
}
.hero__bottom { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) { .hero__bottom { grid-template-columns: minmax(0, 1fr) auto; } }
@media (max-width: 400px) {
  .btn { white-space: normal; text-align: center; }
  .btn--lg { padding: 0 1.2rem; }
  .btn__icon { display: none; }
}
.build-bar .btn, .contact-bar .btn { flex: none; white-space: nowrap; }
@media (max-width: 359px) {
  .build-bar, .contact-bar { gap: 8px; padding-left: 14px; }
  .build-bar .btn, .contact-bar .btn { padding-inline: 0.9rem; }
}
@media (max-width: 600px) {
  .radar .town text { font-size: 17px; }
  .radar .home text { font-size: 17px; }
  .radar .ring-label { font-size: 13px; }
  .radar .peak text { font-size: 12px; }
}

/* Windows contrast themes: show what's selected with system colours */
@media (forced-colors: active) {
  .svc-tab[aria-selected="true"],
  .fit__opt[aria-pressed="true"],
  .cal-toggle button[aria-pressed="true"],
  .fmt-btn[aria-pressed="true"],
  .nav__link[aria-current="page"],
  .pick-chips input:checked + span { background: Highlight; color: HighlightText; border-color: Highlight; }
  .pick-chips input:checked + span::before { background: HighlightText; }
  .switch span::after { background: ButtonText; }
  .switch input:checked + span { background: Highlight; border-color: Highlight; }
  .switch input:checked + span::after { background: HighlightText; }
  .pkg.is-picked { border-color: Highlight; }
  .pkg:not(.is-picked) .pkg__check svg { visibility: hidden; }
  .pkg.is-picked .pkg__check { background: Highlight; border-color: Highlight; color: HighlightText; }
  .playhead, .playhead::before { forced-color-adjust: none; background: CanvasText; }
}

@media print {
  html.js [data-reveal], .statement .w { opacity: 1 !important; transform: none !important; transition: none !important; }
  .strike::after { transform: scaleX(1) !important; }
  .grad { background: none; color: inherit; }
  .site-header, .menu, .build-bar, .contact-bar, .skip-link, .leader, .letterbox, .scroll-cue, body::before, body::after { display: none !important; }
}
