/* =========================================================
   MAGIK MANAGEMENT
   Couleurs et polices : Charte du logo v1.0
   Titres : Cormorant Garamond · Texte : Montserrat
   Matière : verre (translucidité, flou, reflet spéculaire)
   ========================================================= */

:root {
  /* Charte */
  --gold: #f6d43a;          /* Or Magik — écran, fond sombre */
  --gold-print: #98831a;    /* Or impression — fond clair */
  --black: #000;
  --anthracite: #1a1a1a;
  --white: #fff;
  --cream: #f7f5ef;

  /* Dérivés */
  --ink: #fff;
  --ink-2: rgba(255, 255, 255, .64);
  --ink-3: rgba(255, 255, 255, .42);
  --surface: #0b0b0b;
  --surface-2: #151515;
  --hairline: rgba(255, 255, 255, .1);

  /* Verre */
  --lg-fill: linear-gradient(155deg, rgba(255,255,255,.17) 0%, rgba(255,255,255,.07) 34%, rgba(255,255,255,.035) 64%, rgba(255,255,255,.09) 100%);
  --lg-blur: blur(26px) saturate(190%);
  --lg-shadow: 0 24px 60px -18px rgba(0,0,0,.6), 0 2px 10px rgba(0,0,0,.18);
  --lg-inset: inset 0 1px 0 rgba(255,255,255,.42), inset 0 -1px 0 rgba(255,255,255,.07), inset 0 0 0 1px rgba(255,255,255,.08);
  --lg-rim: linear-gradient(135deg, rgba(255,255,255,.75) 0%, rgba(255,255,255,.16) 20%, rgba(255,255,255,0) 46%, rgba(255,255,255,.08) 74%, rgba(255,255,255,.5) 100%);

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --gutter: clamp(20px, 3.2vw, 48px);
  --max: 1440px;
  --nav-h: 60px;
  --nav-top: 14px;
  --r-xl: 36px;
  --r-lg: 28px;
  --r-md: 20px;
  --ease: cubic-bezier(.25, .1, .25, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --spring: cubic-bezier(.34, 1.4, .64, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  background: var(--black);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: -.005em;
  font-feature-settings: "lnum" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, video, canvas, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
::selection { background: var(--gold); color: var(--black); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.skip-link {
  position: fixed; top: 8px; left: 8px; z-index: 300;
  background: var(--gold); color: var(--black); padding: 10px 14px; border-radius: 10px; font-size: 14px;
  transform: translateY(-160%); transition: transform .2s;
}
.skip-link:focus { transform: none; }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

/* =========================================================
   GLASS — the shared material
   .lg        dark glass (on photos, video, dark sections)
   .lg--light light glass (on cream sections)
   .glass     round glass icon button
   ========================================================= */
.lg, .glass {
  position: relative; isolation: isolate;
  background: var(--lg-fill);
  -webkit-backdrop-filter: var(--lg-blur);
  backdrop-filter: var(--lg-blur);
  box-shadow: var(--lg-shadow), var(--lg-inset);
}
/* specular rim: a bright edge that catches the light top-left and bottom-right */
.lg::after, .glass::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; padding: 1px;
  background: var(--lg-rim);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
/* soft light that follows the pointer */
.lg::before, .glass::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1;
  background: radial-gradient(280px circle at var(--lx, 28%) var(--ly, -10%), rgba(255,255,255,.2), transparent 62%);
  opacity: var(--lo, .55); transition: opacity .5s var(--ease);
}
.lg--light {
  --lg-fill: linear-gradient(155deg, rgba(255,255,255,.82) 0%, rgba(255,255,255,.55) 40%, rgba(255,255,255,.42) 100%);
  --lg-shadow: 0 24px 60px -24px rgba(26,26,26,.28), 0 1px 3px rgba(26,26,26,.06);
  --lg-inset: inset 0 1px 0 rgba(255,255,255,1), inset 0 0 0 1px rgba(255,255,255,.6);
  --lg-rim: linear-gradient(135deg, rgba(255,255,255,1) 0%, rgba(255,255,255,.5) 30%, rgba(152,131,26,.12) 60%, rgba(255,255,255,.8) 100%);
  color: var(--anthracite);
}
.lg--light::before { background: radial-gradient(280px circle at var(--lx, 28%) var(--ly, -10%), rgba(255,255,255,.9), transparent 62%); }

.glass {
  flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--white);
  --lg-shadow: 0 10px 30px -10px rgba(0,0,0,.6);
  transition: transform .35s var(--spring), background .25s, color .25s;
}
.glass:hover { transform: scale(1.06); }
.glass:active { transform: scale(.92); }
.glass svg { width: 20px; height: 20px; }
.glass.is-on { background: var(--white); color: var(--black); }

.chip {
  display: inline-flex; align-items: center; gap: 10px; min-height: 36px; padding: 0 16px; border-radius: 980px;
  font-size: 13px; font-weight: 500; color: rgba(255,255,255,.92); letter-spacing: .01em;
}
.chip { --lg-fill: linear-gradient(155deg, rgba(40,40,40,.55) 0%, rgba(10,10,10,.45) 100%); }
@media (max-width: 600px) { .chip-more { display: none; } }

/* Ambient light — soft gold glows that give the glass something to bend */
.ambient { position: relative; overflow: hidden; isolation: isolate; }
.ambient::before {
  content: ""; position: absolute; inset: -20% -10%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(38% 42% at 82% 12%, rgba(246,212,58,.16), transparent 70%),
    radial-gradient(34% 40% at 8% 78%, rgba(246,212,58,.09), transparent 70%),
    radial-gradient(30% 30% at 50% 50%, rgba(255,255,255,.04), transparent 70%);
  filter: blur(10px);
}
.light.ambient::before {
  background:
    radial-gradient(40% 44% at 85% 10%, rgba(246,212,58,.28), transparent 70%),
    radial-gradient(36% 40% at 6% 88%, rgba(152,131,26,.16), transparent 70%),
    radial-gradient(40% 40% at 45% 55%, rgba(255,255,255,.9), transparent 70%);
}

/* ---------- Type ---------- */
.eyebrow { display: block; font-size: 15px; font-weight: 600; color: var(--gold); margin: 0 0 10px; letter-spacing: .01em; }
.light .eyebrow { color: var(--gold-print); }
.display, .headline, .title {
  font-family: var(--serif); font-weight: 500; margin: 0; color: inherit;
  letter-spacing: -.02em; text-wrap: balance;
}
.display { font-size: clamp(58px, 10vw, 140px); line-height: .95; }
.headline { font-size: clamp(46px, 6.8vw, 96px); line-height: .98; }
.title { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.04; }
.sub { font-size: clamp(19px, 1.9vw, 24px); line-height: 1.38; color: var(--ink-2); margin: 18px 0 0; font-weight: 400; letter-spacing: -.01em; text-wrap: pretty; }
.light .sub { color: rgba(26, 26, 26, .62); }
.center { text-align: center; }
.center .sub { margin-left: auto; margin-right: auto; max-width: 34ch; }
.gold-text {
  background: linear-gradient(180deg, #fff3b8 0%, var(--gold) 45%, #d9b51f 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Actions ---------- */
.actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 32px; }
.center .actions { justify-content: center; }
.pill {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 26px; border-radius: 980px;
  color: var(--black); font-size: 16px; font-weight: 600; letter-spacing: -.01em;
  background: linear-gradient(180deg, #fde68a 0%, var(--gold) 46%, #e8c42a 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.75), inset 0 -1px 0 rgba(120,90,0,.25), 0 10px 30px -8px rgba(246,212,58,.55), 0 2px 6px rgba(0,0,0,.2);
  transition: transform .35s var(--spring), box-shadow .35s var(--ease), filter .3s;
}
.pill:hover { transform: translateY(-1px) scale(1.02); filter: brightness(1.05); box-shadow: inset 0 1px 0 rgba(255,255,255,.8), inset 0 -1px 0 rgba(120,90,0,.25), 0 16px 40px -8px rgba(246,212,58,.65), 0 2px 6px rgba(0,0,0,.2); }
.pill:active { transform: scale(.97); }
.pill--glass {
  color: var(--white); font-weight: 500;
  background: var(--lg-fill);
  -webkit-backdrop-filter: var(--lg-blur); backdrop-filter: var(--lg-blur);
  box-shadow: var(--lg-shadow), var(--lg-inset);
}
.pill--glass::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; padding: 1px;
  background: var(--lg-rim);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.pill--glass:hover { filter: none; box-shadow: var(--lg-shadow), var(--lg-inset), inset 0 0 0 100px rgba(255,255,255,.06); }
.light .pill:not(.pill--glass) { color: var(--white); background: linear-gradient(180deg, #3a3a3a 0%, var(--anthracite) 60%, #0d0d0d 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 12px 30px -10px rgba(0,0,0,.45); }
.more {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 17px; font-weight: 500; color: var(--gold); letter-spacing: -.01em;
}
.more::after { content: "›"; font-size: 1.25em; line-height: 1; transform: translateY(-1px); transition: transform .25s var(--ease); }
.more:hover { text-decoration: underline; text-underline-offset: 4px; }
.more:hover::after { transform: translate(3px, -1px); }
.light .more { color: var(--gold-print); }

/* ---------- Nav — floating glass capsule ---------- */
.nav { position: fixed; top: var(--nav-top); left: 0; right: 0; z-index: 100; pointer-events: none; }
.nav-inner {
  pointer-events: auto;
  width: min(var(--max), calc(100% - 28px)); height: var(--nav-h); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 0 10px 0 22px; border-radius: 980px;
  transition: box-shadow .5s var(--ease), background .5s var(--ease);
}
.nav:not(.is-scrolled) .nav-inner { --lg-fill: linear-gradient(155deg, rgba(255,255,255,.12) 0%, rgba(255,255,255,.04) 50%, rgba(255,255,255,.08) 100%); }
.nav.is-scrolled .nav-inner { --lg-fill: linear-gradient(155deg, rgba(40,40,40,.62) 0%, rgba(18,18,18,.55) 50%, rgba(30,30,30,.6) 100%); }
.nav-logo img { height: 39px; width: auto; min-width: 183px; } /* charte : 180 px min. */
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  font-size: 13.5px; color: rgba(255,255,255,.86); padding: 9px 15px; border-radius: 980px;
  transition: color .2s, background .25s;
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,.09); }
.nav-links a[aria-current="page"] { color: var(--white); background: rgba(255,255,255,.12); }
.nav-links .nav-cta { margin-left: 8px; min-height: 40px; padding: 0 18px; font-size: 14px; color: var(--black); }
.nav-links .nav-cta:hover { color: var(--black); background: linear-gradient(180deg, #fde68a 0%, var(--gold) 46%, #e8c42a 100%); }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 50%; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before { display: block; width: 17px; height: 1.5px; background: var(--white); border-radius: 2px; transition: transform .45s var(--spring); }
.nav-toggle span { position: relative; transform: translateY(-3.5px); }
.nav-toggle span::before { content: ""; position: absolute; top: 7px; }
.menu-open .nav-toggle span { transform: translateY(0) rotate(45deg); }
.menu-open .nav-toggle span::before { transform: translateY(-7px) rotate(-90deg); }

@media (max-width: 833px) {
  :root { --nav-h: 58px; --nav-top: 10px; }
  .nav-inner { padding: 0 8px 0 18px; width: calc(100% - 20px); }
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute; top: calc(100% + 10px); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px; padding: 12px;
    border-radius: var(--r-lg);
    background: linear-gradient(160deg, rgba(40,40,40,.78), rgba(14,14,14,.82));
    -webkit-backdrop-filter: blur(30px) saturate(190%); backdrop-filter: blur(30px) saturate(190%);
    box-shadow: 0 30px 80px -20px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.3), inset 0 0 0 1px rgba(255,255,255,.08);
    opacity: 0; visibility: hidden; transform: translateY(-10px) scale(.97); transform-origin: top center;
    transition: opacity .3s var(--ease), transform .5s var(--spring), visibility .3s;
  }
  .nav-links a { font-family: var(--serif); font-size: 30px; font-weight: 500; color: var(--white); padding: 10px 16px; border-radius: 16px; }
  .nav-links .nav-cta { font-family: var(--sans); font-size: 17px; margin: 10px 0 0; min-height: 52px; }
  .menu-open .nav-links { opacity: 1; visibility: visible; transform: none; }
}

/* =========================================================
   HERO — scroll-scrubbed walk into the studio
   ========================================================= */
.hero { position: relative; height: 300vh; background: var(--black); }
.hero-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.hero-media {
  position: absolute; inset: 0; overflow: hidden;
  transform-origin: 50% 45%; will-change: transform;
  background: #000 url("../assets/hero/poster.webp?v=2") center / cover no-repeat;
}
.hero-media::after { /* glass rim that appears as the film pulls back into a frame */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; padding: 1.5px;
  background: var(--lg-rim);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: var(--end, 0);
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; will-change: transform; transform-origin: 50% 50%; }
.hero-shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0,0,0,.4) 0%, rgba(0,0,0,0) 22%),
    linear-gradient(0deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,0) 50%);
}
.hero-copy {
  position: absolute; left: 0; right: 0; padding: 0 var(--gutter); text-align: center;
  opacity: var(--o, 0);
  transform: translate3d(0, var(--y, 0px), 0) scale(var(--s, 1));
  filter: blur(var(--b, 0px));
  pointer-events: none;
}
.hero-copy.is-live { pointer-events: auto; }
.hero-copy .actions { justify-content: center; }
.hero-copy--intro { bottom: max(80px, 12vh); }
.hero-copy--intro .chip { margin-bottom: 22px; }
.hero-copy--intro .display { text-shadow: 0 2px 60px rgba(0,0,0,.35); }
.hero-copy--intro .sub { color: rgba(255,255,255,.86); }
.hero-copy--big { bottom: max(110px, 16vh); }
.hero-copy--big .display { text-shadow: 0 4px 80px rgba(0,0,0,.55); }
.hero-copy--outro { bottom: max(64px, 10vh); }
.hero-copy--outro .headline { text-shadow: 0 4px 60px rgba(0,0,0,.5); }

@media (max-width: 833px) {
  .hero { height: 270vh; }
  .hero-copy--intro { bottom: max(80px, 10vh); }
  .hero-copy--intro .chip { display: none; }
  .hero-copy--big { bottom: max(120px, 18vh); }
}

/* =========================================================
   SECTIONS
   ========================================================= */
.section { padding: clamp(72px, 8vw, 120px) 0; position: relative; }
.light { background: var(--cream); color: var(--anthracite); }
.gray { background: var(--surface); }
.section-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px 48px; flex-wrap: wrap; margin-bottom: clamp(40px, 5vw, 64px); }
.section-top .sub { max-width: 30ch; }

/* Brands — one glass band of client logos */
.brands { padding: clamp(72px, 8vw, 120px) 0 clamp(64px, 7vw, 100px); overflow: hidden; position: relative; isolation: isolate; }
.brands::before {
  content: ""; position: absolute; left: 50%; bottom: 8%; width: min(1100px, 120vw); height: 320px; transform: translateX(-50%); z-index: -1;
  background: radial-gradient(50% 50% at 50% 50%, rgba(246,212,58,.13), transparent 70%); filter: blur(20px); pointer-events: none;
}
.brands .headline { font-size: clamp(38px, 5.2vw, 72px); margin-top: 6px; }
.brand-bands { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; margin-top: clamp(36px, 4.5vw, 60px); }
.brand-band {
  --gap: clamp(22px, 2.6vw, 36px);
  --size: clamp(64px, 6.2vw, 92px);
  border-radius: 980px; padding: 16px 10px; min-width: 0;
  width: min(var(--max), calc(100% - 28px)); margin: 0 auto;
}
.brand-viewport {
  overflow: hidden; border-radius: 980px; padding: 6px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
}
.brand-band::before { opacity: .35; }
.brand-track {
  display: flex; gap: var(--gap); width: max-content; padding-left: var(--gap);
  animation: brand-scroll var(--dur, 70s) linear infinite;
}
.brand-band--reverse .brand-track { animation-direction: reverse; }
.brand-band:hover .brand-track { animation-play-state: paused; }
@keyframes brand-scroll { to { transform: translateX(calc(-50% - var(--gap) / 2)); } }
.brand {
  position: relative; flex: none; width: var(--size); height: var(--size); border-radius: 50%;
  box-shadow: 0 10px 26px -12px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.16), inset 0 1px 0 rgba(255,255,255,.35);
  transition: transform .45s var(--spring), box-shadow .45s var(--ease);
}
.brand img { width: 100%; height: 100%; border-radius: 50%; display: block; pointer-events: none; }
.brand::after { /* glass sheen across each badge */
  content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  background: linear-gradient(160deg, rgba(255,255,255,.34) 0%, rgba(255,255,255,.06) 36%, transparent 55%);
}
.brand:hover { transform: translateY(-4px) scale(1.08); box-shadow: 0 18px 34px -12px rgba(0,0,0,.9), 0 0 0 1px rgba(246,212,58,.55), 0 0 26px -6px rgba(246,212,58,.45); }
@media (max-width: 833px) { .brand-band { padding: 10px 6px; width: calc(100% - 20px); } .brand-bands { gap: 12px; } }
@media (prefers-reduced-motion: reduce) {
  .brand-track { animation: none; }
  .brand-viewport { overflow-x: auto; scrollbar-width: none; }
}

/* Services — card carousel with glass captions */
.carousel-track {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  --side: max(var(--gutter), calc((100% - var(--max)) / 2));
  padding: 10px var(--side) 44px;
  scroll-padding: 0 var(--side);
  overscroll-behavior-x: contain;
}
.carousel-track::-webkit-scrollbar { display: none; }
.card {
  position: relative; flex: 0 0 auto; width: calc((100% - 3 * 20px) / 4); aspect-ratio: 380 / 580; /* 4 cards fill the content width exactly */
  border-radius: var(--r-xl); overflow: hidden; scroll-snap-align: start; background: var(--surface-2);
  isolation: isolate; cursor: pointer; text-align: left; display: block;
  box-shadow: 0 30px 70px -30px rgba(0,0,0,.8), inset 0 0 0 1px rgba(255,255,255,.06);
  transition: transform .7s var(--ease-out), box-shadow .7s var(--ease-out);
}
.card:hover { transform: translateY(-6px); box-shadow: 0 50px 90px -30px rgba(0,0,0,.9), inset 0 0 0 1px rgba(255,255,255,.1); }
.card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.6s var(--ease-out); }
.card:hover img { transform: scale(1.05); }
.card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.45) 100%); }
.card-panel {
  position: absolute; left: 12px; right: 12px; bottom: 12px; display: block;
  padding: 20px 64px 22px 22px; border-radius: 24px;
}
.card-panel .eyebrow { font-size: 13px; margin-bottom: 6px; }
.card-panel .title { display: block; color: var(--white); font-size: clamp(24px, 2.2vw, 29px); line-height: 1.05; }
.card-plus {
  position: absolute; right: 22px; bottom: 22px; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; color: var(--white);
  transition: transform .45s var(--spring), background .3s, color .3s;
}
.card-plus svg { width: 16px; height: 16px; }
.card:hover .card-plus { transform: rotate(90deg); background: var(--white); color: var(--black); }
.carousel-ctrl { display: flex; justify-content: flex-end; gap: 12px; }
.round { width: 48px; height: 48px; }
.round[disabled] { opacity: .3; pointer-events: none; }
.round svg { width: 18px; height: 18px; }
/* Desktop/tablet: show only the centered window of cards, nothing peeking into the margins */
@media (min-width: 834px) { .carousel-track { clip-path: inset(-30px var(--side) -60px var(--side)); } }
@media (max-width: 1100px) { .card { width: calc((100% - 2 * 20px) / 3); } }
@media (max-width: 833px) { .carousel-ctrl { display: none; } .card { width: 78vw; max-width: 340px; } }
/* Phones: two services per row, stacked; an odd last card spans the full row */
@media (max-width: 560px) {
  .carousel-track {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px;
    overflow: visible; scroll-snap-type: none; padding: 10px var(--gutter) 20px;
  }
  .card { width: auto; max-width: none; border-radius: 24px; }
  .card:hover { transform: none; }
  .card:last-child:nth-child(odd) { grid-column: 1 / -1; aspect-ratio: 770 / 580; }
  .card-panel { left: 8px; right: 8px; bottom: 8px; padding: 12px 12px 14px; border-radius: 16px; }
  .card-panel .eyebrow { font-size: 10px; line-height: 1.25; margin-bottom: 4px; }
  .card-panel .title { font-size: 15px; line-height: 1.15; }
  .card-plus { top: 10px; right: 10px; bottom: auto; width: 30px; height: 30px; }
  .card-plus svg { width: 13px; height: 13px; }
}

/* Service detail sheet — glass */
.sheet {
  width: min(780px, calc(100vw - 28px)); max-height: calc(100dvh - 56px); padding: 0; border: 0; border-radius: var(--r-xl);
  color: var(--ink); overflow: auto;
  background: linear-gradient(160deg, rgba(38,38,38,.82), rgba(14,14,14,.86));
  -webkit-backdrop-filter: blur(40px) saturate(190%); backdrop-filter: blur(40px) saturate(190%);
  box-shadow: 0 60px 120px -30px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.28), inset 0 0 0 1px rgba(255,255,255,.08);
}
.sheet::backdrop { background: rgba(0,0,0,.45); -webkit-backdrop-filter: blur(20px) saturate(140%); backdrop-filter: blur(20px) saturate(140%); }
.sheet[open] { animation: sheetIn .6s var(--spring); }
@keyframes sheetIn { from { opacity: 0; transform: translateY(40px) scale(.96); } }
.sheet-media { aspect-ratio: 16 / 8; overflow: hidden; margin: 10px 10px 0; border-radius: 28px; }
.sheet-media img { width: 100%; height: 100%; object-fit: cover; }
.sheet-body { padding: clamp(26px, 5vw, 52px); }
.sheet-body .sub { max-width: none; }
.sheet-list { list-style: none; margin: 30px 0 32px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; border-top: 1px solid var(--hairline); }
.sheet-list li { padding: 14px 0; border-bottom: 1px solid var(--hairline); font-size: 16px; color: var(--ink-2); }
@media (max-width: 560px) { .sheet-list { grid-template-columns: 1fr; } }
.sheet-close { position: absolute; top: 22px; right: 22px; z-index: 2; }

/* Portfolio tiles (home + portfolio page) — glass captions */
.tiles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.tile {
  position: relative; grid-column: span 2; aspect-ratio: 4 / 5; border-radius: var(--r-xl); overflow: hidden;
  background: #111; isolation: isolate; color: var(--white); display: block;
  transform: translateZ(0);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.55);
  transition: transform .7s var(--ease-out), box-shadow .7s var(--ease-out);
}
.tile:hover { transform: translateY(-6px); box-shadow: 0 50px 80px -30px rgba(0,0,0,.6); }
.tile--hero { grid-column: span 4; grid-row: span 2; aspect-ratio: auto; }
.tile--half { grid-column: span 3; aspect-ratio: 16 / 10; }
.tile img, .tile video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.6s var(--ease-out), opacity .8s; }
.tile video { opacity: 0; }
.tile.is-playing video { opacity: 1; }
.tile:hover img, .tile:hover video { transform: scale(1.04); }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,0) 45%); }
.tile-copy { position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 18px 20px 20px; border-radius: 24px; display: block; }
.tile-copy .title { display: block; font-size: clamp(26px, 2.4vw, 34px); }
.tile--hero .tile-copy { padding: 24px 28px 26px; left: 16px; right: auto; bottom: 16px; min-width: 60%; }
.tile--hero .tile-copy .title { font-size: clamp(36px, 4vw, 58px); }
.tile-tag { display: block; margin-top: 4px; font-size: 14px; color: rgba(255,255,255,.8); }
.tile-copy .count { display: block; font-size: 12px; font-weight: 600; color: var(--gold); margin-bottom: 4px; letter-spacing: .02em; }
.tile--all { background: radial-gradient(90% 90% at 80% 10%, rgba(246,212,58,.22), transparent 60%), linear-gradient(160deg, #262626, #0c0c0c); }
.tile--all::before { display: none; }
.tile--all .mono { inset: 28px auto auto 28px; width: 76px; height: auto; object-fit: contain; z-index: 0; }
.tile--all:hover .mono { transform: none; }
@media (max-width: 833px) {
  .tiles { grid-template-columns: 1fr 1fr; gap: 12px; }
  .tile, .tile--half { grid-column: span 1; aspect-ratio: 3 / 4; border-radius: 24px; }
  .tile--hero { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 4 / 3; }
  .tile-copy, .tile--hero .tile-copy { left: 8px; right: 8px; bottom: 8px; padding: 12px 14px 14px; border-radius: 18px; min-width: 0; }
  .tile-copy .title { font-size: 22px; }
  .tile--hero .tile-copy .title { font-size: 32px; }
  .tile-tag { display: none; }
  .tile--all { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
  .tile--all .mono { top: 18px; left: 18px; width: 56px; }
}

/* Portfolio showcase — one phone per category */
.showcase { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(16px, 2.2vw, 36px); align-items: end; }
.show-phone { display: flex; flex-direction: column; align-items: center; text-align: center; color: var(--anthracite); }
.mini-phone {
  position: relative; display: block; width: 100%; max-width: 250px; aspect-ratio: 9 / 19.2; padding: 7px; border-radius: 40px;
  background: linear-gradient(150deg, #3b3b3b 0%, #141414 30%, #0a0a0a 55%, #262626 80%, #111 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.16), inset 0 1px 1px rgba(255,255,255,.3),
    0 0 0 1px #000, 0 50px 80px -40px rgba(26,26,26,.55), 0 22px 36px -22px rgba(26,26,26,.4);
  transition: transform .8s var(--spring), box-shadow .6s var(--ease);
}
.mini-screen { position: relative; display: block; height: 100%; border-radius: 33px; overflow: hidden; background: #000; transform: translateZ(0); }
.mini-screen img, .mini-screen video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mini-screen video { opacity: 0; transition: opacity .6s var(--ease); }
.show-phone.is-playing .mini-screen video { opacity: 1; }
.mini-island { position: absolute; top: 8px; left: 50%; width: 30%; height: 20px; margin-left: -15%; border-radius: 12px; background: #000; z-index: 2; }
.show-phone:hover .mini-phone { transform: translateY(-10px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2), inset 0 1px 1px rgba(255,255,255,.35), 0 0 0 1px #000, 0 70px 90px -40px rgba(26,26,26,.6), 0 26px 40px -22px rgba(26,26,26,.45); }
.show-label { display: grid; gap: 4px; margin-top: 22px; }
.show-name { font-family: var(--serif); font-weight: 500; font-size: clamp(22px, 1.9vw, 28px); line-height: 1.1; letter-spacing: -.01em; }
.show-count { font-size: 13px; font-weight: 600; color: var(--gold-print); letter-spacing: .01em; }
@media (max-width: 900px) {
  .showcase {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(170px, 46%);
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin: 0 calc(var(--gutter) * -1); padding: 6px var(--gutter) 24px; scroll-padding: 0 var(--gutter);
  }
  .showcase::-webkit-scrollbar { display: none; }
  .show-phone { scroll-snap-align: start; }
  .mini-phone { border-radius: 34px; padding: 6px; }
  .mini-screen { border-radius: 28px; }
}

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { padding: 34px 30px 36px; border-radius: var(--r-lg); min-height: 210px; display: flex; flex-direction: column; justify-content: flex-end; }
.feature h3 { font-family: var(--serif); font-size: 32px; font-weight: 500; margin: 0 0 10px; letter-spacing: -.01em; line-height: 1.05; }
.feature p { margin: 0; color: var(--ink-2); font-size: 16px; }
@media (max-width: 833px) { .features { grid-template-columns: 1fr; gap: 14px; } }

/* Pricing — glass plan cards */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.plan {
  display: flex; flex-direction: column; border-radius: var(--r-xl); padding: 30px 26px 26px; min-height: 460px;
  transition: transform .6s var(--ease-out);
}
.plan:hover { transform: translateY(-6px); }
/* Studio photo behind each plan, darkened so the text stays readable */
.plan--photo { overflow: hidden; }
.plan-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 52%; z-index: -2; transition: transform 1.4s var(--ease-out); }
.plan-shade { position: absolute; inset: 0; z-index: -2; background: linear-gradient(180deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.5) 34%, rgba(0,0,0,.78) 62%, rgba(0,0,0,.93) 100%); }
.plan--photo:hover .plan-bg { transform: scale(1.05); }
.plan-name { font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: rgba(255,255,255,.9); margin: 0 0 30px; }
.plan-videos { display: flex; align-items: flex-end; gap: 12px; margin: 0 0 18px; }
.plan-videos strong { font-family: var(--serif); font-weight: 500; font-size: 84px; line-height: .8; letter-spacing: -.03em; color: var(--white); }
.plan-videos span { font-size: 14px; line-height: 1.25; color: var(--ink-2); padding-bottom: 4px; }
.plan-details { list-style: none; margin: 0; padding: 16px 0 0; border-top: 1px solid rgba(255,255,255,.12); display: grid; gap: 8px; }
.plan-details li { font-size: 15px; color: rgba(255,255,255,.86); }
.plan-price { margin: auto 0 20px; padding-top: 30px; }
.plan-price .gold-text { display: block; font-family: var(--serif); font-weight: 600; font-size: clamp(44px, 4vw, 56px); line-height: 1; letter-spacing: -.02em; }
.plan-price small { display: block; margin-top: 6px; font-size: 13px; color: var(--ink-3); }
.plan .pill { width: 100%; }
@media (max-width: 1060px) { .plans { grid-template-columns: repeat(2, 1fr); } .plan { min-height: 400px; } }
/* Phones: 2x2 grid, all four plans visible */
@media (max-width: 560px) {
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .plan { min-height: 0; padding: 20px 14px 16px; border-radius: 24px; }
  .plan:hover { transform: none; }
  .plan-name { font-size: 11px; letter-spacing: .2em; margin-bottom: 18px; }
  .plan-videos { gap: 8px; margin-bottom: 12px; }
  .plan-videos strong { font-size: 52px; }
  .plan-videos span { font-size: 12px; }
  .plan-details { padding-top: 12px; gap: 6px; }
  .plan-details li { font-size: 13px; line-height: 1.3; }
  .plan-price { padding-top: 18px; margin-bottom: 14px; }
  .plan-price .gold-text { font-size: 34px; }
  .plan-price small { font-size: 11px; }
  .plan .pill { min-height: 42px; padding: 0 10px; font-size: 13px; }
}

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.review { margin: 0; display: flex; flex-direction: column; gap: 18px; padding: 28px 26px 24px; border-radius: var(--r-lg); }
.review .stars { color: var(--gold); font-size: 17px; letter-spacing: .18em; }
.review blockquote { margin: 0; flex: 1; font-family: var(--serif); font-size: clamp(21px, 1.8vw, 25px); line-height: 1.3; color: var(--white); text-wrap: pretty; }
.review figcaption { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.12); }
.review figcaption img, .review-initials { width: 40px; height: 40px; border-radius: 50%; flex: none; object-fit: cover; }
.review-initials { display: grid; place-items: center; background: rgba(246,212,58,.14); color: var(--gold); font-size: 13px; font-weight: 600; letter-spacing: .04em; }
.review figcaption b { display: block; font-size: 15px; font-weight: 600; }
.review figcaption small { display: block; font-size: 12px; color: var(--ink-3); }
@media (max-width: 1060px) { .reviews { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .reviews { gap: 10px; }
  .review { padding: 18px 14px 14px; gap: 12px; border-radius: 22px; }
  .review .stars { font-size: 12px; letter-spacing: .1em; }
  .review blockquote { font-size: 16px; line-height: 1.3; }
  .review figcaption { flex-direction: column; align-items: flex-start; gap: 8px; padding-top: 12px; }
  .review figcaption img, .review-initials { width: 30px; height: 30px; font-size: 11px; }
  .review figcaption b { font-size: 12px; line-height: 1.25; }
  .review figcaption small { font-size: 10px; }
}

.included { margin-top: 16px; border-radius: var(--r-xl); padding: clamp(24px, 3.5vw, 40px); }
.included-title { font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin: 0 0 26px; }
.included-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px 20px; }
.included-list li { font-size: 15px; line-height: 1.35; color: rgba(255,255,255,.88); padding-top: 14px; border-top: 1px solid rgba(255,255,255,.12); }
@media (max-width: 900px) { .included-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .included-list { grid-template-columns: 1fr; gap: 14px; } }

.addon { margin-top: 16px; border-radius: var(--r-xl); padding: 26px clamp(22px, 3.5vw, 36px); display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 28px; }
.addon-copy .eyebrow { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 4px; }
.addon-copy h3 { font-family: var(--serif); font-weight: 500; font-size: 30px; margin: 0 0 4px; line-height: 1.05; }
.addon-copy p { margin: 0; font-size: 15px; color: var(--ink-2); max-width: 56ch; }
.addon-price { margin: 0; text-align: right; }
.addon-price .gold-text { display: block; font-family: var(--serif); font-weight: 600; font-size: 44px; line-height: 1; }
.addon-price small { display: block; font-size: 12px; color: var(--ink-3); margin-top: 4px; }
@media (max-width: 900px) {
  .addon { grid-template-columns: 1fr; gap: 16px; }
  .addon-price { text-align: left; grid-column: 1 / -1; }
  .addon .pill { grid-column: 1 / -1; }
}
.plans-note { margin: 28px 0 0; text-align: center; font-size: 15px; color: var(--ink-3); }
.plans-note .more { font-size: 15px; }

.feature .eyebrow { font-size: 13px; letter-spacing: .02em; margin-bottom: 8px; }
.footer-tag { margin: 16px 0 0; font-size: 13px; line-height: 1.6; color: var(--ink-3); }

/* Roadmap — how we work */
.roadmap { position: relative; --node: 52px; }
.rm-rail {
  position: absolute; top: calc(var(--node) / 2 - 1.5px); left: 12.5%; right: 12.5%; height: 3px; border-radius: 3px;
  background: rgba(26,26,26,.1);
}
.rm-fill {
  position: absolute; inset: 0; border-radius: inherit; transform-origin: left center; transform: scaleX(var(--p, 0));
  background: linear-gradient(90deg, var(--gold-print), var(--gold));
  box-shadow: 0 0 16px rgba(246,212,58,.55);
}
.rm-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; position: relative; }
.rm-step { display: flex; flex-direction: column; align-items: center; }
.rm-node {
  position: relative; z-index: 1; width: var(--node); height: var(--node); border-radius: 50%; display: grid; place-items: center;
  font-family: var(--serif); font-size: 22px; font-weight: 600; color: rgba(26,26,26,.45);
  background: linear-gradient(160deg, #fff, #f1eee6);
  box-shadow: 0 10px 24px -12px rgba(26,26,26,.35), inset 0 0 0 1px rgba(26,26,26,.1), inset 0 1px 0 #fff;
  transition: color .4s var(--ease), background .5s var(--ease), box-shadow .5s var(--ease), transform .5s var(--spring);
}
.rm-node:hover { transform: scale(1.06); }
.rm-step.is-done .rm-node, .rm-step.is-active .rm-node {
  color: var(--anthracite);
  background: linear-gradient(180deg, #fde68a 0%, var(--gold) 50%, #e8c42a 100%);
  box-shadow: 0 10px 24px -10px rgba(152,131,26,.6), inset 0 1px 0 rgba(255,255,255,.8);
}
.rm-step.is-active .rm-node { transform: scale(1.12); box-shadow: 0 0 0 8px rgba(246,212,58,.2), 0 0 0 16px rgba(246,212,58,.08), 0 12px 28px -10px rgba(152,131,26,.6), inset 0 1px 0 rgba(255,255,255,.8); }
.rm-card {
  width: 100%; margin-top: 26px; padding: 26px 26px 28px; border-radius: var(--r-lg); cursor: pointer;
  opacity: .55; transform: translateY(0);
  transition: opacity .6s var(--ease), transform .7s var(--spring), box-shadow .6s var(--ease);
}
.rm-card { overflow: hidden; }
.rm-visual {
  position: relative; margin: -14px -14px 20px; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; background: #111;
  box-shadow: 0 14px 30px -18px rgba(26,26,26,.5), inset 0 0 0 1px rgba(255,255,255,.2);
}
.rm-visual img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(.7) brightness(.85); transform: scale(1.02); transition: filter .8s var(--ease), transform 1.4s var(--ease-out); }
.rm-visual::after { /* glass sheen */
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: linear-gradient(160deg, rgba(255,255,255,.22) 0%, rgba(255,255,255,0) 40%), linear-gradient(0deg, rgba(0,0,0,.18), transparent 40%);
}
.rm-step.is-done .rm-visual img { filter: saturate(.85) brightness(.97); }
.rm-step.is-active .rm-visual img { filter: none; transform: scale(1.07); }
.rm-card small { display: block; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-print); margin-bottom: 14px; }
.rm-card h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(26px, 2.2vw, 32px); line-height: 1.05; margin: 0 0 6px; letter-spacing: -.01em; }
.rm-card p { margin: 0; font-size: 15px; color: rgba(26,26,26,.62); }
.rm-card ul { list-style: none; margin: 18px 0 0; padding: 16px 0 0; border-top: 1px solid rgba(26,26,26,.1); display: grid; gap: 8px; }
.rm-card li { font-size: 14px; color: rgba(26,26,26,.75); }
.rm-step.is-done .rm-card { opacity: .8; }
.rm-step.is-active .rm-card {
  opacity: 1; transform: translateY(-8px);
  --lg-shadow: 0 34px 70px -30px rgba(26,26,26,.4), 0 0 0 1px rgba(246,212,58,.55);
}
@media (max-width: 900px) {
  .roadmap { --node: 44px; }
  .rm-steps { grid-template-columns: 1fr; gap: 18px; }
  .rm-step { display: grid; grid-template-columns: var(--node) 1fr; column-gap: 16px; align-items: start; }
  .rm-card { margin-top: 0; padding: 20px 20px 22px; }
  .rm-visual { margin: -10px -10px 16px; aspect-ratio: 16 / 10; border-radius: 16px; }
  .rm-step.is-active .rm-card { transform: translateX(4px); }

}
.roadmap.is-vertical .rm-fill { transform-origin: center top; transform: scaleY(var(--p, 0)); background: linear-gradient(180deg, var(--gold-print), var(--gold)); }
@media (prefers-reduced-motion: reduce) { .rm-card, .rm-node { transition: none; } }

/* Contact — glass form over the studio */
.contact-sec { isolation: isolate; overflow: hidden; }
.contact-bg { position: absolute; inset: 0; z-index: -1; }
.contact-bg img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.1); }
.contact-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #000 0%, rgba(0,0,0,.55) 30%, rgba(0,0,0,.6) 70%, #000 100%), radial-gradient(60% 50% at 80% 40%, rgba(246,212,58,.12), transparent 70%); }
.contact-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 90px); align-items: start; }
@media (max-width: 900px) { .contact-wrap { grid-template-columns: 1fr; } }
.contact-links { margin-top: 36px; display: grid; gap: 0; padding: 8px 22px; border-radius: var(--r-lg); }
.contact-links:empty { display: none; }
.contact-links a, .contact-links span { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; }
.contact-links > * + * { border-top: 1px solid rgba(255,255,255,.1); }
.contact-links small { font-size: 13px; color: var(--ink-3); }
.contact-links strong { font-weight: 500; font-size: 17px; color: var(--white); overflow-wrap: anywhere; text-align: right; transition: color .2s; }
.contact-links a:hover strong { color: var(--gold); }
@media (max-width: 560px) { .contact-links a, .contact-links span { flex-direction: column; align-items: flex-start; gap: 2px; } .contact-links strong { text-align: left; } }

.form { border-radius: var(--r-xl); padding: clamp(22px, 4vw, 44px); display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }
.field { position: relative; }
.field--full { grid-column: 1 / -1; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 17px; color: var(--white);
  background: rgba(0,0,0,.28); border: 0; border-radius: 16px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), inset 0 1px 2px rgba(0,0,0,.3);
  padding: 26px 16px 10px; transition: box-shadow .25s, background .25s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { min-height: 150px; resize: vertical; padding-top: 30px; display: block; }
.field label {
  position: absolute; left: 17px; top: 18px; font-size: 17px; color: var(--ink-3); pointer-events: none;
  transform-origin: left top; transition: transform .25s var(--ease), color .25s;
}
.field input:focus, .field textarea:focus { outline: none; background: rgba(0,0,0,.4); box-shadow: inset 0 0 0 1.5px var(--gold), 0 0 0 4px rgba(246,212,58,.14); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-10px) scale(.72); color: var(--ink-2); }
.field.has-error input, .field.has-error textarea { box-shadow: inset 0 0 0 1.5px #ff6b5a; }
.field-error { display: block; font-size: 13px; color: #ff9a8e; margin: 6px 4px 0; }
.field-error:empty { display: none; }
.choice { grid-column: 1 / -1; border: 0; margin: 12px 0 6px; padding: 0; min-width: 0; }
.choice legend { font-size: 14px; color: var(--ink-2); padding: 0; margin-bottom: 12px; }
.choice-set { display: flex; flex-wrap: wrap; gap: 8px; }
.choice label { position: relative; }
.choice input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; opacity: 0; }
.choice span {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px; border-radius: 980px;
  font-size: 14px; color: rgba(255,255,255,.82); cursor: pointer; user-select: none;
  background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14), inset 0 1px 0 rgba(255,255,255,.12);
  transition: background .25s, color .25s, box-shadow .25s, transform .35s var(--spring);
}
.choice span:hover { color: var(--white); background: rgba(255,255,255,.1); }
.choice input:checked + span { background: linear-gradient(180deg, #fde68a 0%, var(--gold) 46%, #e8c42a 100%); color: var(--black); font-weight: 600; box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 6px 18px -6px rgba(246,212,58,.6); transform: scale(1.03); }
.choice input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.form-foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 12px; }
.form-foot p { margin: 0; font-size: 13px; color: var(--ink-3); }
.form button[disabled] { opacity: .5; pointer-events: none; }
.form-status { grid-column: 1 / -1; margin: 0; font-size: 15px; padding: 14px 16px; border-radius: 16px; display: none; }
.form-status.is-ok { display: block; background: rgba(246,212,58,.12); color: var(--white); box-shadow: inset 0 0 0 1px rgba(246,212,58,.35); }
.form-status.is-err { display: block; background: rgba(255,107,90,.14); color: var(--white); }
.form-status a { color: var(--gold); }

/* Footer */
.footer { background: var(--black); color: var(--ink-2); font-size: 13px; padding: 56px 0 28px; border-top: 1px solid var(--hairline); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 32px; border-bottom: 1px solid var(--hairline); }
.footer-grid img { width: 190px; }
.footer-grid h4 { font-size: 13px; font-weight: 600; color: var(--white); margin: 0 0 12px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-grid a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 20px; color: var(--ink-3); }
@media (max-width: 833px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* Reveal */
.reveal { opacity: 0; transform: translate3d(0, 32px, 0) scale(.985); transition: opacity 1.2s var(--ease-out), transform 1.2s var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .card, .card img, .tile, .tile img, .tile video { transition: none; }
}
/* Graceful fallback where backdrop blur isn't available */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .lg, .glass, .pill--glass { background: rgba(28,28,28,.92); }
  .lg--light { background: rgba(255,255,255,.94); }
}

/* =========================================================
   PORTFOLIO PAGE
   ========================================================= */
.pf-intro { padding: calc(var(--nav-h) + var(--nav-top) + clamp(70px, 10vw, 130px)) 0 clamp(48px, 6vw, 72px); }

/* Filters — glass segmented control */
.pf-filters {
  display: inline-flex; gap: 2px; padding: 4px; border-radius: 980px; margin-top: 34px; max-width: 100%;
  overflow-x: auto; scrollbar-width: none;
}
.pf-filters::-webkit-scrollbar { display: none; }
.pf-filters button {
  flex: none; min-height: 40px; padding: 0 18px; border-radius: 980px; font-size: 14px; color: rgba(255,255,255,.84); white-space: nowrap;
  transition: background .3s var(--ease), color .3s, box-shadow .3s;
}
.pf-filters button:hover { background: rgba(255,255,255,.1); color: var(--white); }
.pf-filters button[aria-pressed="true"] { background: rgba(255,255,255,.95); color: var(--black); font-weight: 600; box-shadow: 0 4px 14px rgba(0,0,0,.3), inset 0 1px 0 #fff; }
.pf-sub-mob { display: none; }
.pf-body { padding-top: clamp(20px, 3vw, 40px); }
.pf-wrap { max-width: calc(var(--max) + var(--gutter) * 2); }

/* ---------- Desktop: the phone wall ---------- */
.phones { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 64px 40px; justify-items: center; }
.client-list { display: none; }
.phone-card { width: 100%; max-width: 280px; display: flex; flex-direction: column; align-items: center; transition: opacity .6s var(--ease), filter .6s var(--ease); }
.phones.has-active .phone-card:not(.is-active) { opacity: .38; filter: saturate(.5); }
.phone {
  position: relative; width: 100%; aspect-ratio: 9 / 19.2; padding: 9px; border-radius: 46px;
  background: linear-gradient(150deg, #3b3b3b 0%, #141414 30%, #0a0a0a 55%, #262626 80%, #111 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.16), inset 0 1px 1px rgba(255,255,255,.3), inset 0 -1px 1px rgba(255,255,255,.08),
    0 0 0 1px #000, 0 50px 90px -40px rgba(0,0,0,.95), 0 20px 40px -20px rgba(0,0,0,.7);
  transition: transform .8s var(--spring), box-shadow .6s var(--ease);
  cursor: pointer;
}
.phone::before, .phone::after { /* side buttons */
  content: ""; position: absolute; width: 3px; border-radius: 2px;
  background: linear-gradient(180deg, #444, #1a1a1a);
}
.phone::before { left: -3px; top: 20%; height: 12%; box-shadow: 0 90px 0 #2a2a2a; }
.phone::after { right: -3px; top: 26%; height: 16%; }
.phone:hover { transform: translateY(-6px); }
.phone-card.is-active .phone {
  transform: translateY(-10px) scale(1.035);
  box-shadow:
    inset 0 0 0 1px rgba(246,212,58,.5), inset 0 1px 1px rgba(255,255,255,.35),
    0 0 0 1.5px rgba(246,212,58,.55), 0 0 70px -12px rgba(246,212,58,.55), 0 60px 100px -40px rgba(0,0,0,.95);
  cursor: default;
}
.phone-screen { position: relative; height: 100%; border-radius: 38px; overflow: hidden; background: #000; isolation: isolate; transform: translateZ(0); }
.phone-island { position: absolute; top: 10px; left: 50%; width: 30%; height: 24px; margin-left: -15%; border-radius: 20px; background: #000; z-index: 6; box-shadow: inset 0 0 0 1px rgba(255,255,255,.04); }
.phone-feed { position: absolute; inset: 0; overflow: hidden; scroll-snap-type: y mandatory; scrollbar-width: none; overscroll-behavior: contain; outline: none; }
.phone-feed::-webkit-scrollbar { display: none; }
.is-active .phone-feed { overflow-y: auto; }
.pslide { position: relative; height: 100%; scroll-snap-align: start; scroll-snap-stop: always; overflow: hidden; background: #0a0a0a; }
.pslide video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pslide-grad { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, transparent 18%, transparent 58%, rgba(0,0,0,.75) 100%); }
.pslide-info { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 16px 22px; z-index: 2; pointer-events: none; }
.pslide-info .slide-cat { font-size: 10px; padding: 3px 8px; }
.pslide-info h4 { font-family: var(--serif); font-weight: 500; font-size: 22px; line-height: 1.05; margin: 8px 0 0; color: var(--white); text-shadow: 0 2px 16px rgba(0,0,0,.5); }
.pslide-progress { position: absolute; left: 14px; right: 14px; bottom: 10px; height: 2.5px; border-radius: 3px; background: rgba(255,255,255,.2); overflow: hidden; z-index: 3; }
.pslide-progress span { position: absolute; inset: 0; background: var(--white); transform-origin: left; transform: scaleX(0); }
.pslide .slide-state { width: 60px; height: 60px; margin: -30px 0 0 -30px; }
.pslide.is-paused .slide-state { opacity: 1; transform: none; }
.pslide--photos .ptrack { position: absolute; inset: 0; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.pslide--photos .ptrack::-webkit-scrollbar { display: none; }
.pslide--photos .ptrack img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: center; background: #111; }
.pslide--photos .shoot-dots { top: 44px; padding: 6px 8px; }
.pslide--photos .shoot-dots i { width: 5px; height: 5px; }
.pslide--photos .shoot-dots i.is-on { width: 14px; }
.pnav { position: absolute; top: 50%; z-index: 3; width: 34px; height: 34px; margin-top: -17px; opacity: 0; transition: opacity .3s; }
.pnav svg { width: 16px; height: 16px; }
.pnav--prev { left: 8px; } .pnav--next { right: 8px; }
.is-active .pslide--photos:hover .pnav:not([disabled]) { opacity: 1; }
.pnav[disabled] { pointer-events: none; }
.phone-count { position: absolute; top: 44px; right: 12px; z-index: 5; font-size: 11px; font-weight: 500; padding: 5px 10px; border-radius: 980px; font-variant-numeric: tabular-nums; color: rgba(255,255,255,.92); }
.phone-mute { position: absolute; right: 10px; bottom: 74px; z-index: 5; width: 36px; height: 36px; opacity: 0; pointer-events: none; transition: opacity .3s, transform .35s var(--spring); }
.phone-mute svg { width: 17px; height: 17px; }
.is-active .phone-mute { opacity: 1; pointer-events: auto; }
.phone-hint {
  position: absolute; left: 50%; bottom: 96px; z-index: 5; transform: translate(-50%, 10px);
  display: inline-flex; align-items: center; gap: 6px; font-size: 12px; padding: 7px 12px; border-radius: 980px; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity .4s, transform .5s var(--spring);
}
.phone-hint.is-on { opacity: 1; transform: translate(-50%, 0); }
.phone-play {
  position: absolute; inset: 0; z-index: 7; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  background: radial-gradient(60% 40% at 50% 50%, rgba(0,0,0,.28), transparent 70%);
  transition: opacity .4s var(--ease);
}
.phone-play-btn { width: 66px; height: 66px; transition: transform .45s var(--spring); }
.phone-play-btn svg { width: 26px; height: 26px; margin-left: 3px; }
.phone-play-label { font-size: 13px; font-weight: 500; padding: 7px 14px; border-radius: 980px; color: var(--white); opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .45s var(--spring); }
.phone:hover .phone-play-btn { transform: scale(1.08); }
.phone:hover .phone-play-label { opacity: 1; transform: none; }
.is-active .phone-play { opacity: 0; pointer-events: none; }
.phone-label { text-align: center; margin-top: 26px; }
.phone-label h3 { font-family: var(--serif); font-weight: 500; font-size: 30px; line-height: 1.05; margin: 0; letter-spacing: -.01em; }
.phone-label p { margin: 4px 0 0; font-size: 14px; color: var(--ink-2); }
.phone-meta { display: inline-block; margin-top: 10px; font-size: 12px; font-weight: 600; color: var(--gold); letter-spacing: .02em; }

/* ---------- Mobile: one card per client, full-screen feed on tap ---------- */
@media (max-width: 833px) {
  .phones { display: none; }
  .client-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .client-tile { grid-column: span 1; aspect-ratio: 3 / 4.4; }
  .client-list .client-tile:first-child { grid-column: 1 / -1; aspect-ratio: 4 / 3.6; }
  .client-list .client-tile:first-child .title { font-size: 32px; }
  .pf-sub-desk { display: none; }
  .pf-sub-mob { display: block; }
  .pf-filters { display: flex; margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); border-radius: 0; background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; padding: 4px var(--gutter); }
  .pf-filters::after, .pf-filters::before { display: none; }
  .pf-filters button { background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
}
/* Touch preview (YouTube-style): press feedback + a thin progress line */
.client-tile { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; }
.client-tile.is-pressed { transform: scale(.975); transition-duration: .25s; }
.client-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; z-index: 1; background: rgba(255,255,255,.18); opacity: 0; transition: opacity .3s; pointer-events: none; }
.client-progress span { position: absolute; inset: 0; background: var(--gold); transform-origin: left; transform: scaleX(0); }
.client-tile.is-playing .client-progress { opacity: 1; }
.client-count { position: absolute; top: 10px; right: 10px; min-width: 32px; height: 32px; padding: 0 10px; border-radius: 980px; display: grid; place-items: center; font-size: 13px; font-weight: 600; color: var(--white); }

/* ---------- Reel viewer ---------- */
.reel {
  position: fixed; inset: 0; z-index: 150; background: var(--black);
  opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
}
.reel.is-open { opacity: 1; visibility: visible; }
body.reel-open { overflow: hidden; }
body.reel-open .nav { visibility: hidden; }
.reel-feed { position: absolute; inset: 0; overflow-y: auto; overscroll-behavior: contain; scroll-snap-type: y mandatory; scrollbar-width: none; }
.reel-feed::-webkit-scrollbar { display: none; }
.reel-top {
  position: absolute; top: 0; left: 0; right: 0; z-index: 5; display: flex; align-items: center; gap: 10px;
  padding: max(12px, env(safe-area-inset-top)) 14px 30px;
  background: linear-gradient(180deg, rgba(0,0,0,.5), transparent); pointer-events: none;
}
.reel-top > * { pointer-events: auto; }
.reel-tabs {
  flex: 0 1 auto; min-width: 0; display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none;
  padding: 4px; border-radius: 980px; margin: 0 auto;
}
.reel-tabs::-webkit-scrollbar { display: none; }
.reel-tabs::before { opacity: .3; }
.reel-tabs a {
  flex: none; display: inline-flex; align-items: center; min-height: 36px; padding: 0 16px; border-radius: 980px;
  font-size: 14px; color: rgba(255,255,255,.86); white-space: nowrap;
  transition: background .3s var(--ease), color .3s, box-shadow .3s;
}
.reel-tabs a:hover { background: rgba(255,255,255,.1); }
.reel-tabs a[aria-current="true"] { background: rgba(255,255,255,.95); color: var(--black); font-weight: 600; box-shadow: 0 4px 14px rgba(0,0,0,.3), inset 0 1px 0 #fff; }
.reel-count { flex: none; font-size: 13px; color: rgba(255,255,255,.85); font-variant-numeric: tabular-nums; min-width: 60px; height: 36px; padding: 0 12px; border-radius: 980px; display: grid; place-items: center; }
.reel-nav { position: absolute; right: 28px; top: 50%; transform: translateY(-50%); z-index: 5; display: grid; gap: 12px; }
.reel-nav .glass { width: 54px; height: 54px; }
.reel-nav .glass[disabled] { opacity: .3; pointer-events: none; }
@media (max-width: 833px), (pointer: coarse) { .reel-nav { display: none; } }
@media (max-width: 600px) { .reel-count { display: none; } .reel-tabs { margin: 0; } }

.slide { position: relative; height: 100vh; height: 100dvh; scroll-snap-align: start; scroll-snap-stop: always; display: grid; place-items: center; overflow: hidden; }
.slide-bg { position: absolute; inset: -60px; background-size: cover; background-position: center; filter: blur(60px) brightness(.42) saturate(1.3); }
.slide-frame { position: relative; height: 100%; width: 100%; overflow: hidden; background: #050505; }
@media (min-width: 834px) {
  .slide { padding: 76px 0 22px; }
  .slide-frame {
    height: 100%; width: auto; aspect-ratio: 9 / 16; max-width: calc(100vw - 220px); border-radius: 30px;
    box-shadow: 0 50px 120px -20px rgba(0,0,0,.75), 0 0 0 1px rgba(255,255,255,.1), inset 0 1px 0 rgba(255,255,255,.2);
  }
}
.slide-media, .slide-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide-grad { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(0,0,0,.3) 0%, transparent 16%, transparent 58%, rgba(0,0,0,.7) 100%); }
.slide-info { position: absolute; left: 0; right: 72px; bottom: 0; z-index: 2; padding: 0 20px max(30px, calc(env(safe-area-inset-bottom) + 22px)); pointer-events: none; }
.slide-cat { display: inline-flex; font-size: 12px; font-weight: 600; color: var(--black); background: linear-gradient(180deg, #fde68a, var(--gold) 50%, #e8c42a); padding: 4px 10px; border-radius: 980px; box-shadow: inset 0 1px 0 rgba(255,255,255,.7); }
.slide-info h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 3.6vw, 40px); line-height: 1.02; margin: 10px 0 6px; letter-spacing: -.01em; text-shadow: 0 2px 20px rgba(0,0,0,.4); }
.slide-meta { font-size: 13px; color: rgba(255,255,255,.75); margin: 0 0 8px; }
.slide-desc { font-size: 15px; color: rgba(255,255,255,.88); margin: 0; max-width: 38ch; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.slide-rail { position: absolute; right: 12px; bottom: max(30px, calc(env(safe-area-inset-bottom) + 22px)); z-index: 3; display: grid; gap: 14px; justify-items: center; }
.slide-rail .glass { width: 48px; height: 48px; }
.slide-rail small { display: block; font-size: 11px; text-align: center; margin-top: 5px; color: rgba(255,255,255,.85); }
.slide-progress { position: absolute; left: 16px; right: 16px; bottom: 10px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.18); z-index: 3; overflow: hidden; }
.slide-progress span { position: absolute; inset: 0; background: var(--white); transform-origin: left; transform: scaleX(0); border-radius: 3px; }
.slide-tap { position: absolute; inset: 0; z-index: 1; }
.slide-state {
  position: absolute; left: 50%; top: 50%; z-index: 2; width: 80px; height: 80px; margin: -40px 0 0 -40px;
  opacity: 0; transform: scale(.8); transition: opacity .25s, transform .45s var(--spring); pointer-events: none;
}
.slide-state svg { width: 30px; height: 30px; }
.slide.is-paused .slide-state { opacity: 1; transform: none; }
.shoot { position: absolute; inset: 0; }
.shoot-track { position: absolute; inset: 0; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.shoot-track::-webkit-scrollbar { display: none; }
.shoot-track img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: center; }
.shoot-dots { position: absolute; top: max(80px, calc(env(safe-area-inset-top) + 72px)); left: 50%; transform: translateX(-50%); z-index: 2; display: flex; justify-content: center; gap: 6px; pointer-events: none; padding: 8px 10px; border-radius: 980px; }
@media (min-width: 834px) { .shoot-dots { top: 16px; } }
.shoot-dots i { width: 6px; height: 6px; border-radius: 3px; background: rgba(255,255,255,.45); transition: background .3s, width .4s var(--spring); }
.shoot-dots i.is-on { background: var(--white); width: 18px; }
.shoot-arrow { position: absolute; top: 50%; z-index: 2; margin-top: -22px; opacity: 0; transition: opacity .3s, transform .35s var(--spring); }
.shoot-arrow--prev { left: 14px; }
.shoot-arrow--next { right: 14px; }
.slide-frame:hover .shoot-arrow { opacity: 1; }
.shoot-arrow[disabled] { opacity: 0 !important; pointer-events: none; }
@media (pointer: coarse) { .shoot-arrow { display: none; } }
.swipe-hint {
  position: absolute; left: 50%; top: 50%; z-index: 2; transform: translate(-50%, -50%);
  font-size: 14px; color: var(--white); padding: 10px 18px; border-radius: 980px; pointer-events: none;
  animation: swipeHint 2.6s var(--ease) forwards;
}
@keyframes swipeHint { 0%, 70% { opacity: 1; } 100% { opacity: 0; } }
/* "Swipe up" coach — shown once per visit, before the first video plays */
.coach {
  position: absolute; inset: 0; z-index: 8; display: grid; place-items: center; padding: 20px;
  background: rgba(0,0,0,.4); -webkit-backdrop-filter: blur(8px) saturate(1.2); backdrop-filter: blur(8px) saturate(1.2);
  opacity: 0; transition: opacity .45s var(--ease); cursor: pointer; touch-action: none;
}
.reel > .coach { position: fixed; z-index: 4; }
.coach.is-on { opacity: 1; }
.coach-card {
  display: grid; justify-items: center; gap: 3px; padding: 22px 26px 20px; border-radius: 28px;
  color: var(--white); text-align: center; transform: scale(.9) translateY(8px); transition: transform .6s var(--spring);
}
.coach.is-on .coach-card { transform: none; }
.coach-card strong { font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.coach-card small { font-size: 13px; color: rgba(255,255,255,.72); }
.coach-track { position: relative; width: 56px; height: 86px; margin-bottom: 10px; }
.coach-trail {
  position: absolute; left: 26px; bottom: 38px; width: 4px; height: 46px; border-radius: 2px;
  background: linear-gradient(0deg, rgba(255,255,255,0), rgba(255,255,255,.8));
  transform-origin: bottom; animation: coachTrail 1.5s var(--ease) infinite;
}
.coach-hand { position: absolute; left: 15px; bottom: 0; width: 40px; height: 40px; animation: coachHand 1.5s var(--ease) infinite; filter: drop-shadow(0 4px 10px rgba(0,0,0,.35)); }
.coach-hand svg { width: 100%; height: 100%; }
@keyframes coachHand { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: 1; } 60% { transform: translateY(-46px); opacity: 1; } 100% { transform: translateY(-46px); opacity: 0; } }
@keyframes coachTrail { 0%, 15% { transform: scaleY(0); opacity: 0; } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
.phone-screen .coach-card { padding: 18px 20px 16px; border-radius: 24px; }
.phone-screen .coach-card strong { font-size: 15px; }
.phone-screen .coach-card small { font-size: 11.5px; }
@media (prefers-reduced-motion: reduce) {
  .coach-hand, .coach-trail { animation: none; }
  .coach-hand { transform: translateY(-23px); }
}
.slide--end .slide-frame { display: grid; place-items: center; text-align: center; padding: 32px; background: radial-gradient(80% 60% at 70% 10%, rgba(246,212,58,.16), transparent 60%), linear-gradient(160deg, #222, #0a0a0a); }
.slide--end .end-inner { display: grid; gap: 10px; justify-items: center; }
.slide--end img { width: 76px; margin-bottom: 14px; }
.slide--end .title { max-width: 12ch; }
.slide--end .actions { flex-direction: column; gap: 14px; margin-top: 22px; }
.toast {
  position: fixed; left: 50%; bottom: 32px; z-index: 300; transform: translate(-50%, 20px);
  color: var(--white); font-size: 14px; padding: 12px 20px; border-radius: 980px;
  opacity: 0; transition: opacity .3s, transform .5s var(--spring); pointer-events: none;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* 404 */
.notfound { min-height: 100vh; display: grid; align-items: center; }
.notfound .display { margin: 48px 0 0; }
.notfound-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* Cookie consent */
.consent [hidden] { display: none !important; }
.consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 400; display: flex; justify-content: center; padding: 0 16px max(16px, env(safe-area-inset-bottom)); pointer-events: none; opacity: 0; transform: translateY(16px); transition: opacity .35s var(--ease-out), transform .45s var(--ease-out); }
.consent.is-open { opacity: 1; transform: none; }
.consent-card:focus { outline: none; }
.consent-card { pointer-events: auto; width: min(760px, 100%); max-height: calc(100dvh - 32px); overflow-y: auto; padding: 22px 24px 20px; border-radius: 28px; --lg-fill: linear-gradient(155deg, rgba(30,30,30,.92) 0%, rgba(12,12,12,.94) 100%); }
.consent-title { margin: 0 0 6px; font-family: var(--serif); font-size: 26px; line-height: 1.1; }
.consent-text { margin: 0; font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.consent-text a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.consent-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px; margin-top: 16px; }
.consent-actions .pill { min-height: 44px; padding: 0 20px; font-size: 14px; }
.consent-link { margin-right: auto; font-size: 14px; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; padding: 8px 0; }
.consent-link:hover { color: var(--white); }
.consent-prefs { display: grid; gap: 8px; margin-top: 14px; }
.consent-cat { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 14px; border-radius: 16px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); cursor: pointer; }
.consent-cat b { display: block; font-size: 14px; font-weight: 600; }
.consent-cat small { display: block; font-size: 12px; line-height: 1.45; color: var(--ink-3); margin-top: 2px; }
.consent-switch { position: relative; flex: none; }
.consent-switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.consent-switch i { display: block; width: 44px; height: 26px; border-radius: 13px; background: rgba(255,255,255,.14); position: relative; transition: background .2s; }
.consent-switch i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .25s var(--ease-out); }
.consent-switch input:checked + i { background: var(--gold); }
.consent-switch input:checked + i::after { transform: translateX(18px); background: #000; }
.consent-switch input:disabled + i { opacity: .55; }
.consent-switch input:focus-visible + i { outline: 2px solid var(--gold); outline-offset: 3px; }
@media (max-width: 560px) {
  .consent { padding: 0 10px max(10px, env(safe-area-inset-bottom)); }
  .consent-card { padding: 18px 16px 16px; border-radius: 24px; }
  .consent-title { font-size: 22px; }
  .consent-text { font-size: 13px; }
  .consent-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .consent-actions .consent-link { grid-column: 1 / -1; justify-self: center; margin: 0; order: 3; }
  .consent-actions [data-consent="save"] { grid-column: 1 / -1; }
}

/* Footer legal links */
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-legal a, .footer-legal button { color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 3px; }
.footer-legal a:hover, .footer-legal button:hover { color: var(--white); }

/* Legal page */
.legal { padding: calc(var(--nav-h) + var(--nav-top) + 56px) 0 96px; }
.legal .wrap { max-width: calc(820px + var(--gutter) * 2); }
.legal h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(44px, 7vw, 76px); line-height: 1; letter-spacing: -.02em; margin: 0; }
.legal .updated { color: var(--ink-3); font-size: 14px; margin: 14px 0 40px; }
.legal h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 3.4vw, 36px); line-height: 1.1; margin: 48px 0 14px; }
.legal h3 { font-size: 16px; font-weight: 600; margin: 24px 0 8px; }
.legal p, .legal li { color: rgba(255,255,255,.8); font-size: 16px; line-height: 1.7; }
.legal ul { padding-left: 20px; }
.legal li { margin: 4px 0; }
.legal a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.legal .toc { padding: 20px 24px; border-radius: var(--r-md); margin: 0 0 8px; }
.legal .toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 32px; }
.legal .toc li { font-size: 15px; break-inside: avoid; }
.legal .toc a { color: var(--white); text-decoration: none; }
.legal .toc a:hover { color: var(--gold); }
.legal-table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 14px; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.8); }
.legal-table th { color: var(--ink-3); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.legal-table code { font-size: 13px; color: var(--white); }
.legal-scroll { overflow-x: auto; }
@media (max-width: 600px) { .legal .toc ol { columns: 1; } .legal p, .legal li { font-size: 15px; } }
.consent-inline { color: var(--gold); font: inherit; text-decoration: underline; text-underline-offset: 3px; }
.form-foot p a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
