/* ==========================================================================
   OPALOOK STUDIO — design system v2 (Apple-inspired)
   Change the tokens in :root to restyle the whole site.

   Principles baked in
   · System fonts (no font downloads, nothing sent to third parties)
   · Sizes in rem so the layout follows the visitor's text-size setting
   · Tracking and leading tuned per size: tight on display, open on body
   · Every text colour passes WCAG AA on its background
   · Feedback on press, motion from transform/opacity only
   · Honors reduced motion, reduced transparency and increased contrast
   ========================================================================== */

:root {
  /* Surfaces */
  --white: #ffffff;
  --gray-bg: #f5f5f7;
  --black: #000000;
  --tile-dark: #161617;

  /* Text (all AA on their intended surface) */
  --ink: #1d1d1f;
  --ink-2: #6e6e73;          /* secondary text on white / gray */
  --on-dark: #f5f5f7;
  --on-dark-2: #a1a1a6;      /* secondary text on black */
  --on-dark-3: #86868b;      /* large dim text on black only */

  /* Accent */
  --accent: #0071e3;
  --accent-hover: #0077ed;
  --link: #0066cc;
  --link-dark: #2997ff;
  --tag: #b64400;
  --success: #248a3d;
  --error: #d70015;

  /* Lines */
  --hairline: #d2d2d7;
  --hairline-soft: #e8e8ed;
  --hairline-dark: #424245;

  /* Type */
  --font: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI Variable Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Shape */
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 28px;
  --pill: 980px;

  /* Motion — critically damped feel, no overshoot */
  --ease: cubic-bezier(0.28, 0.11, 0.32, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --press: 100ms ease-out;

  /* Materials */
  --glass-light: rgba(251, 251, 253, 0.8);
  --glass-dark: rgba(22, 22, 23, 0.8);
  --blur: saturate(180%) blur(20px);

  --nav-h: 48px;
  --max: 1080px;
  --max-wide: 1260px;
  --gutter: max(22px, env(safe-area-inset-left), env(safe-area-inset-right));
  --section: clamp(5rem, 10vw, 8.75rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { font-size: 100%; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 24px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.47;
  letter-spacing: -0.014em;
  font-optical-sizing: auto;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
h1, h2, h3, h4, p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.bg-black :focus-visible, [data-nav="dark"] .gnav :focus-visible { outline-color: var(--link-dark); }
::selection { background: rgba(0, 113, 227, 0.22); }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--white); color: var(--link); padding: 10px 16px; border-radius: 10px; box-shadow: 0 4px 20px rgba(0,0,0,0.15); }
.skip:focus { left: 8px; }

/* Cross-page fade (browsers that support it) */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.25s; }
}

/* ---------- Layout ---------- */
.wrap { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }
.wrap-wide { width: min(var(--max-wide), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: var(--section); }
.bg-gray { background: var(--gray-bg); }
.bg-black { background: var(--black); color: var(--on-dark); }
.bg-black a:not(.btn) { color: var(--link-dark); }
.center { text-align: center; }
.stack-s > * + * { margin-top: 0.625rem; }
.head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.head.center .lede { margin-inline: auto; }

/* ---------- Typography ---------- */
.eyebrow { font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.01em; color: var(--ink-2); margin-bottom: 0.625rem; }
.bg-black .eyebrow { color: var(--on-dark-2); }
.headline-xl { font-size: clamp(2.75rem, 8.2vw, 6rem); line-height: 1.04; font-weight: 700; letter-spacing: -0.025em; text-wrap: balance; }
.headline-l  { font-size: clamp(2.25rem, 5.6vw, 4rem); line-height: 1.06; font-weight: 700; letter-spacing: -0.02em; text-wrap: balance; }
.headline-m  { font-size: clamp(1.875rem, 4vw, 3rem); line-height: 1.08; font-weight: 600; letter-spacing: -0.015em; text-wrap: balance; }
.headline-s  { font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.125; font-weight: 600; letter-spacing: -0.008em; }
.lede { font-size: clamp(1.1875rem, 2vw, 1.5rem); line-height: 1.34; font-weight: 500; letter-spacing: -0.005em; color: var(--ink-2); margin-top: 1.125rem; max-width: 44rem; text-wrap: pretty; }
.center > .lede, .center .lede { margin-inline: auto; }
.bg-black .lede { color: var(--on-dark-2); }
.lede strong { color: var(--ink); font-weight: 600; }
.bg-black .lede strong { color: var(--on-dark); }
.small { font-size: 0.875rem; line-height: 1.43; letter-spacing: -0.006em; color: var(--ink-2); }
.fine { font-size: 0.75rem; line-height: 1.4; letter-spacing: 0; color: var(--ink-2); }
.bg-black .small, .bg-black .fine { color: var(--on-dark-2); }
.gradient-text { background: linear-gradient(90deg, #ffb27a 0%, #ff6fae 45%, #a46bff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (forced-colors: active) { .gradient-text { color: CanvasText; background: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 44px; padding: 0.6875rem 1.375rem; border-radius: var(--pill);
  font-size: 1.0625rem; font-weight: 400; line-height: 1.1; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer; text-decoration: none !important;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform var(--press);
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-secondary { background: transparent; color: var(--link); border-color: var(--link); }
.btn-secondary:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.bg-black .btn-secondary { color: var(--link-dark); border-color: var(--link-dark); }
.bg-black .btn-secondary:hover { background: var(--link-dark); color: #000; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--hairline-soft); }
.btn-sm { min-height: 30px; padding: 0.3125rem 0.8125rem; font-size: 0.75rem; position: relative; }
.btn-sm::after { content: ""; position: absolute; inset: -8px -4px; }           /* 44px touch target */
.btn-row { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; }
.center .btn-row { justify-content: center; }
.link-arrow { display: inline-flex; align-items: center; min-height: 44px; font-size: 1.0625rem; }
.link-arrow::after { content: ""; width: 0.42em; height: 0.42em; margin-left: 0.4em; border-right: 1.5px solid; border-top: 1.5px solid; transform: rotate(45deg); transition: transform .25s var(--ease-out); }
.link-arrow:hover::after { transform: translateX(3px) rotate(45deg); }
.btn[disabled] { background: var(--hairline-soft); color: #86868b; cursor: not-allowed; transform: none; }

/* ---------- Global nav (translucent material; content scrolls beneath) ---------- */
.gnav {
  position: sticky; top: 0; z-index: 100; height: var(--nav-h);
  background: var(--glass-light); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
[data-nav="dark"] .gnav { background: var(--glass-dark); border-bottom-color: rgba(255, 255, 255, 0.08); }
.gnav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--ink); font-weight: 600; font-size: 1.1875rem; letter-spacing: -0.02em; text-decoration: none !important; }
[data-nav="dark"] .brand { color: var(--on-dark); }
.brand-mark { width: 22px; height: 22px; border-radius: 50%; position: relative; background: conic-gradient(from 210deg, #ffb27a, #ff6fae, #a46bff, #5ac8fa, #ffb27a); }
.brand-mark::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: #fbfbfd; }
[data-nav="dark"] .brand-mark::after { background: #161617; }
.gnav-links { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.gnav-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; font-size: 0.75rem; letter-spacing: -0.005em; color: rgba(0, 0, 0, 0.8); text-decoration: none; transition: color .2s; }
.gnav-links a:hover { color: #000; }
.gnav-links a[aria-current="page"] { color: #000; font-weight: 600; }
[data-nav="dark"] .gnav-links a { color: rgba(255, 255, 255, 0.8); }
[data-nav="dark"] .gnav-links a:hover, [data-nav="dark"] .gnav-links a[aria-current="page"] { color: #fff; }
.gnav-cta { display: flex; align-items: center; gap: 14px; }
[data-page="order"] .gnav-cta .btn { display: none; }
.menu-btn { display: none; width: 44px; height: 44px; margin-right: -12px; background: none; border: 0; cursor: pointer; position: relative; color: var(--ink); -webkit-tap-highlight-color: transparent; }
[data-nav="dark"] .menu-btn { color: #fff; }
.menu-btn span { position: absolute; left: 13px; width: 18px; height: 1.5px; border-radius: 1px; background: currentColor; transition: transform .3s var(--ease), top .3s var(--ease); }
.menu-btn span:nth-child(1) { top: 18px; } .menu-btn span:nth-child(2) { top: 25px; }
.menu-open .menu-btn span:nth-child(1) { top: 21.5px; transform: rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { top: 21.5px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: var(--nav-h) 0 0; z-index: 99; padding: 28px var(--gutter);
  background: rgba(251, 251, 253, 0.96); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s;
}
[data-nav="dark"] .mobile-menu { background: rgba(0, 0, 0, 0.94); }
.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.mobile-menu a { display: block; padding: 10px 0; font-size: 1.75rem; font-weight: 600; letter-spacing: -0.015em; color: var(--ink); text-decoration: none; transform: translateY(-8px); opacity: 0; transition: transform .45s var(--ease-out), opacity .35s; }
[data-nav="dark"] .mobile-menu a { color: var(--on-dark); }
.menu-open .mobile-menu a { transform: none; opacity: 1; }
.menu-open .mobile-menu a:nth-child(2) { transition-delay: .03s; } .menu-open .mobile-menu a:nth-child(3) { transition-delay: .06s; }
.menu-open .mobile-menu a:nth-child(4) { transition-delay: .09s; } .menu-open .mobile-menu a:nth-child(5) { transition-delay: .12s; }
html.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(3.5rem, 8vw, 6rem); text-align: center; overflow: clip; }
.hero .lede { margin-inline: auto; }
.hero .btn-row { margin-top: 2rem; justify-content: center; }
.hero-fine { margin-top: 1.25rem; }
.hero-stage { margin: clamp(3rem, 6vw, 4.5rem) auto 0; width: min(var(--max-wide), 100% - 2 * var(--gutter)); }
.hero-film {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--r-lg);
  overflow: hidden; background: #111; border: 0; padding: 0; cursor: pointer; color: #fff;
  transform-origin: 50% 0; will-change: transform;
  box-shadow: 0 40px 120px -40px rgba(255, 111, 174, 0.35);
  -webkit-tap-highlight-color: transparent;
}
.hero-film img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.hero-film:hover img { transform: scale(1.03); }
.hero-film::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,0.6) 100%); }
.hero-film-caption { position: absolute; left: 28px; bottom: 24px; z-index: 2; text-align: left; }
.hero-film-caption small { display: block; font-size: 0.75rem; color: rgba(255,255,255,0.8); }
.hero-film-caption strong { display: block; font-size: 1.3125rem; font-weight: 600; letter-spacing: -0.01em; }

.play {
  position: absolute; z-index: 2; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%;
  background: rgba(255,255,255,0.2); backdrop-filter: blur(16px) saturate(180%); -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.35); transition: transform .3s var(--ease-out), background .3s;
}
.play svg { width: 22px; height: 22px; fill: #fff; margin-left: 3px; }
.hero-film .play { right: 28px; bottom: 24px; }
.hero-film:hover .play, .film-card:hover .play { transform: scale(1.08); background: rgba(255,255,255,0.32); }
.hero-film:active .play, .film-card:active .play { transform: scale(0.94); transition-duration: .1s; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--hairline-dark); margin: clamp(3rem, 6vw, 4.5rem) 0 0; padding: 0; }
.stat { padding: 2rem 1.5rem 0 0; text-align: left; display: flex; flex-direction: column-reverse; justify-content: flex-end; }
.stat + .stat { padding-left: 1.5rem; border-left: 1px solid var(--hairline-dark); }
.stat dd { margin: 0; font-size: clamp(2rem, 4.2vw, 3.5rem); font-weight: 700; letter-spacing: -0.025em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.stat dt { margin-top: 6px; font-size: 0.875rem; color: var(--on-dark-2); }

/* ---------- Scroll-lit statement ---------- */
.statement { font-size: clamp(1.75rem, 3.7vw, 3rem); line-height: 1.17; font-weight: 600; letter-spacing: -0.015em; max-width: 61rem; text-wrap: pretty; }
.statement .w { opacity: 0.28; transition: opacity .35s linear; }
.statement .w.lit { opacity: 1; }
.statement .dim { color: var(--ink-2); }
.bg-black .statement .dim { color: var(--on-dark-3); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 5vw, 4rem); margin-top: clamp(2.5rem, 5vw, 4rem); }
.two-col p { color: var(--ink-2); font-size: 1.1875rem; line-height: 1.42; letter-spacing: -0.008em; }
.bg-black .two-col p { color: var(--on-dark-2); }
.two-col strong { color: var(--ink); font-weight: 600; }
.bg-black .two-col strong { color: var(--on-dark); }

/* ---------- Carousels (native scroll: momentum + rubber-banding for free) ---------- */
.rail-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 2.5rem; }
.rail {
  --edge: max(var(--gutter), calc((100vw - var(--max-wide)) / 2));
  display: grid; grid-auto-flow: column; grid-auto-columns: min(78vw, 720px); gap: 20px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  padding: 4px var(--edge) 24px; scroll-padding-inline: var(--edge); scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.rail-controls { display: flex; gap: 12px; justify-content: flex-end; width: min(var(--max-wide), 100% - 2 * var(--gutter)); margin: 4px auto 0; }
.round-btn {
  position: relative; width: 36px; height: 36px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center;
  background: rgba(210,210,215,0.64); color: rgba(0,0,0,0.6); transition: background .2s, opacity .2s, transform var(--press);
  -webkit-tap-highlight-color: transparent;
}
.round-btn::after { content: ""; position: absolute; inset: -4px; }
.round-btn:hover { background: rgba(200,200,205,0.8); }
.round-btn:active { transform: scale(0.92); }
.round-btn:disabled { opacity: 0.4; cursor: default; transform: none; }
.round-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Film cards ---------- */
.film-card {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 10; border-radius: var(--r-lg); overflow: hidden;
  background: #111; border: 0; padding: 0; cursor: pointer; text-align: left; color: #fff;
  transition: transform .5s var(--ease-out); -webkit-tap-highlight-color: transparent;
}
.film-card:active { transform: scale(0.985); transition-duration: .1s; }
.film-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-out); }
.film-card:hover img { transform: scale(1.04); }
.film-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.72) 100%); }
.film-card .info { position: absolute; z-index: 2; left: 28px; right: 100px; bottom: 26px; }
.film-card .info > span { display: block; }
.film-card .label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: rgba(255,255,255,0.82); }
.film-card .name { margin-top: 4px; font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 600; letter-spacing: -0.012em; line-height: 1.125; }
.film-card .meta { margin-top: 4px; font-size: 0.875rem; color: rgba(255,255,255,0.86); }
.film-card .play { right: 24px; bottom: 24px; width: 52px; height: 52px; }
.film-card .play svg { width: 18px; height: 18px; }

.film-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.film-grid .film-card.wide { grid-column: span 2; aspect-ratio: 21 / 9; }

/* ---------- Tiles & bento ---------- */
.tiles { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; }
.tiles > * { min-width: 0; }
.tile { grid-column: span 4; background: var(--white); border-radius: var(--r-lg); padding: clamp(1.75rem, 3vw, 2.5rem); position: relative; overflow: hidden; }
.tile.dark { background: var(--tile-dark); color: var(--on-dark); }
.tile.span-5 { grid-column: span 5; } .tile.span-6 { grid-column: span 6; } .tile.span-7 { grid-column: span 7; } .tile.span-12 { grid-column: span 12; }
.tile-num { font-size: 0.875rem; font-weight: 600; color: var(--ink-2); margin-bottom: 4rem; font-variant-numeric: tabular-nums; }
.tile h3 { font-size: clamp(1.375rem, 2.2vw, 1.75rem); line-height: 1.14; font-weight: 600; letter-spacing: -0.012em; margin-bottom: 0.625rem; }
.tile p { color: var(--ink-2); }
.tile.dark p { color: var(--on-dark-2); }
.tile.banner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; }
.tile.banner h3 { margin: 0 0 4px; }

.bento .tile { min-height: 320px; display: flex; flex-direction: column; justify-content: flex-end; }
.bento .tile.banner { min-height: 0; flex-direction: row; justify-content: space-between; align-items: center; }
.bento .viz { flex: 1; display: flex; align-items: center; justify-content: center; margin-bottom: 1.75rem; min-height: 130px; }
.wheels { display: flex; gap: clamp(14px, 3vw, 32px); }
.wheel { text-align: center; font-size: 0.75rem; color: var(--on-dark-2); }
.wheel i { display: block; width: clamp(72px, 9vw, 112px); aspect-ratio: 1; border-radius: 50%; margin-bottom: 10px; position: relative;
  background: radial-gradient(circle, rgba(22,22,23,0.92) 0 27%, transparent 28%), radial-gradient(circle, #fff 0, transparent 70%), conic-gradient(#ff453a, #ffd60a, #30d158, #64d2ff, #0a84ff, #bf5af2, #ff453a); }
.wheel i::after { content: ""; position: absolute; width: 9px; height: 9px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px rgba(0,0,0,0.5); left: var(--x, 50%); top: var(--y, 50%); transform: translate(-50%, -50%); }
.wave { display: flex; align-items: center; gap: 3px; height: 110px; width: 100%; max-width: 360px; }
.wave i { flex: 1; border-radius: 2px; background: linear-gradient(180deg, #ff6fae, #a46bff); height: calc(var(--h) * 1%); min-height: 4px; }
.frames { display: flex; align-items: flex-end; gap: 14px; }
.frames i { display: grid; place-items: center; border: 1.5px solid var(--ink); border-radius: 8px; font-style: normal; font-size: 0.75rem; font-weight: 600; color: var(--ink); }
.frames .f169 { width: 128px; height: 72px; } .frames .f916 { width: 54px; height: 96px; } .frames .f11 { width: 64px; height: 64px; }
.big-num { font-size: clamp(5rem, 11vw, 8.5rem); font-weight: 700; line-height: 0.9; letter-spacing: -0.04em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.chip { padding: 8px 16px; border-radius: var(--pill); background: var(--gray-bg); font-size: 0.875rem; font-weight: 500; }
.tile.dark .chip { background: rgba(255,255,255,0.1); }

/* ---------- Segmented control & tabs ---------- */
.segmented { display: inline-flex; gap: 2px; padding: 3px; background: rgba(118,118,128,0.12); border-radius: 11px; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.segmented::-webkit-scrollbar { display: none; }
.segmented button {
  border: 0; background: transparent; min-height: 38px; padding: 0 16px; border-radius: 8px; font-size: 0.875rem; font-weight: 500;
  color: var(--ink); cursor: pointer; white-space: nowrap; transition: background .25s var(--ease), box-shadow .25s var(--ease), transform var(--press);
  -webkit-tap-highlight-color: transparent;
}
.segmented button:active { transform: scale(0.97); }
.segmented button[aria-pressed="true"], .segmented button[aria-selected="true"] { background: #fff; box-shadow: 0 3px 8px rgba(0,0,0,0.12), 0 3px 1px rgba(0,0,0,0.04); }
.segmented .count { color: var(--ink-2); margin-left: 4px; font-variant-numeric: tabular-nums; }

.audience { margin-top: 2.5rem; background: var(--gray-bg); border-radius: var(--r-lg); display: grid; grid-template-columns: 1.05fr 1fr; overflow: hidden; }
.audience-copy { padding: clamp(2rem, 4.5vw, 4rem); display: flex; flex-direction: column; justify-content: center; }
.audience-copy h3 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); line-height: 1.1; font-weight: 600; letter-spacing: -0.015em; }
.audience-copy > p { margin-top: 0.875rem; color: var(--ink-2); font-size: 1.1875rem; line-height: 1.42; }
.ticks { list-style: none; margin: 1.5rem 0 1.75rem; padding: 0; }
.ticks li { position: relative; padding: 7px 0 7px 30px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 13px; height: 7px; border-left: 2px solid var(--success); border-bottom: 2px solid var(--success); transform: rotate(-45deg); }
.audience-media { position: relative; min-height: 340px; background: #111; }
.audience-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
[role="tabpanel"] { animation: panelIn .5s var(--ease-out); }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px); } }

/* ---------- Formats ---------- */
.formats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.format { background: var(--white); border-radius: var(--r-md); padding: 1.75rem 1.5rem 1.625rem; display: flex; flex-direction: column; gap: 6px; color: inherit; text-decoration: none !important; transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out); }
.format:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -18px rgba(0,0,0,0.18); }
.format:active { transform: scale(0.98); transition-duration: .1s; }
.format .tag, .pick .tag { font-size: 0.75rem; font-weight: 600; color: var(--ink-2); }
.format .tag.hot, .pick .tag.hot { color: var(--tag); }
.format h3 { font-size: 1.5rem; font-weight: 600; margin-top: 2px; letter-spacing: -0.012em; }
.format .len { font-size: 0.875rem; color: var(--ink-2); }
.format .price { margin-top: auto; padding-top: 1.375rem; font-weight: 600; }
.format .price span { font-weight: 400; color: var(--ink-2); font-size: 0.875rem; }

/* ---------- Testimonials ---------- */
.quotes { grid-auto-columns: min(84vw, 460px); }
.quote { background: var(--gray-bg); border-radius: var(--r-lg); padding: 2.5rem 2.25rem 2.125rem; display: flex; flex-direction: column; min-height: 340px; margin: 0; }
.quote blockquote { margin: 0; font-size: 1.3125rem; line-height: 1.38; font-weight: 500; letter-spacing: -0.008em; text-wrap: pretty; }
.quote figcaption { margin-top: auto; padding-top: 1.75rem; font-size: 0.875rem; color: var(--ink-2); }
.quote figcaption b { display: block; color: var(--ink); font-weight: 600; font-size: 1.0625rem; }

/* ---------- CTA ---------- */
.cta { text-align: center; }
.cta .btn-row { margin-top: 2rem; }

/* ---------- Page hero ---------- */
.page-hero { padding: clamp(3.5rem, 7vw, 5.5rem) 0 clamp(2.5rem, 5vw, 3.5rem); }

/* ---------- Film player (native <dialog>: focus trap + Esc built in) ---------- */
.player { border: 0; padding: 0; margin: 0; background: transparent; color: #f5f5f7; width: 100vw; height: 100dvh; max-width: none; max-height: none; overflow: hidden; }
.player[open] { display: grid; place-items: center; padding: 20px; }
.player::backdrop { background: rgba(0,0,0,0.88); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); opacity: 0; transition: opacity .3s var(--ease); }
.player.show::backdrop { opacity: 1; }
.player-inner { width: min(1200px, 100%, calc((100dvh - 150px) * 16 / 9)); opacity: 0; transform: scale(0.96); transition: opacity .3s var(--ease), transform .45s var(--ease-out); }
.player.show .player-inner { opacity: 1; transform: none; }
.player-frame { aspect-ratio: 16 / 9; border-radius: var(--r-md); overflow: hidden; background: #000; }
.player-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.player-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 14px; }
.player-title { font-weight: 600; }
.player-count { font-size: 0.875rem; color: var(--on-dark-2); font-variant-numeric: tabular-nums; }
.player-nav { display: flex; align-items: center; gap: 12px; }
.player .round-btn { background: rgba(255,255,255,0.16); color: #fff; }
.player .round-btn:hover { background: rgba(255,255,255,0.26); }
.player-close { position: fixed; top: max(16px, env(safe-area-inset-top)); right: max(16px, env(safe-area-inset-right)); width: 44px; height: 44px; }
.player-close svg { width: 14px; height: 14px; stroke-width: 2.4; }

/* ---------- Accordion ---------- */
.faq-layout { display: grid; grid-template-columns: 220px 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.faq-nav { position: sticky; top: calc(var(--nav-h) + 32px); }
.faq-nav p { margin-bottom: 12px; font-size: 0.75rem; font-weight: 600; color: var(--ink-2); text-transform: uppercase; letter-spacing: 0.05em; }
.faq-nav a { display: block; padding: 7px 0; font-size: 0.875rem; color: var(--ink-2); text-decoration: none; transition: color .2s; }
.faq-nav a:hover, .faq-nav a.active { color: var(--ink); }
.faq-nav a.active { font-weight: 600; }
.faq-group + .faq-group { margin-top: clamp(3.5rem, 7vw, 5.5rem); }
.faq-group > .small { margin: 8px 0 24px; max-width: 38rem; }
.acc { border-bottom: 1px solid var(--hairline); }
.acc:first-of-type { border-top: 1px solid var(--hairline); }
.acc summary { list-style: none; cursor: pointer; padding: 1.375rem 2.75rem 1.375rem 0; position: relative; font-size: 1.1875rem; font-weight: 600; letter-spacing: -0.008em; line-height: 1.3; -webkit-tap-highlight-color: transparent; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; margin-top: -7px; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: rotate(45deg); transition: transform .35s var(--ease), margin .35s var(--ease); }
.acc[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.acc summary:hover { color: var(--link); }
.acc-body { padding: 0 2.75rem 1.625rem 0; color: var(--ink-2); max-width: 46rem; }
.acc[open] .acc-body { animation: panelIn .4s var(--ease-out); }
.acc-body p + p, .acc-body ul + p, .acc-body p + ul { margin-top: 0.8em; }
.acc-body ul { margin: 0; padding-left: 1.1em; }
.acc-body li { margin: 0.25em 0; }
.acc-body strong { color: var(--ink); font-weight: 600; }

.search { position: relative; max-width: 30rem; margin-top: 2rem; }
.search input { width: 100%; min-height: 48px; padding: 0 16px 0 44px; border-radius: var(--r-sm); border: 1px solid transparent; background: var(--gray-bg); font-size: 1.0625rem; outline: none; transition: box-shadow .2s, border-color .2s, background .2s; -webkit-appearance: none; appearance: none; }
.search input:focus { border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px rgba(0,113,227,0.15); }
.search svg { position: absolute; left: 15px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); fill: none; stroke: var(--ink-2); stroke-width: 2; stroke-linecap: round; pointer-events: none; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.field { position: relative; }
.field input, .field select, .field textarea {
  width: 100%; font-size: 1.0625rem; color: var(--ink); background: var(--white);
  border: 1px solid #86868b; border-radius: var(--r-sm); padding: 1.5rem 1rem 0.5rem; min-height: 56px; outline: none;
  transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none;
}
.field textarea { min-height: 140px; resize: vertical; padding-top: 1.75rem; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%236e6e73' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.field label { position: absolute; left: 17px; top: 17px; right: 17px; font-size: 1.0625rem; color: var(--ink-2); pointer-events: none; transform-origin: 0 0; transition: transform .2s var(--ease); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(0,113,227,0.15); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select + label { transform: translateY(-9px) scale(0.72); right: -30%; }
.field.invalid input, .field.invalid textarea { border-color: var(--error); background: #fff5f6; }
.field-error { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 0.75rem; color: var(--error); }
.field-error::before { content: "!"; flex: none; width: 14px; height: 14px; border-radius: 50%; background: var(--error); color: #fff; font-weight: 700; font-size: 10px; display: grid; place-items: center; }
.hp { position: absolute; left: -9999px; }
.check-row { display: flex; gap: 12px; align-items: flex-start; font-size: 0.875rem; color: var(--ink-2); cursor: pointer; min-height: 44px; padding-top: 10px; }
.check-row input { width: 20px; height: 20px; accent-color: var(--accent); margin: 1px 0 0; flex: none; }
.form-status { margin-top: 14px; font-size: 0.875rem; color: var(--success); min-height: 1.4em; }
.form-status.error { color: var(--error); }

.switch { position: relative; width: 51px; height: 31px; flex: none; }
.switch input { position: absolute; inset: -7px; width: calc(100% + 14px); height: calc(100% + 14px); opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.switch span { position: absolute; inset: 0; border-radius: 31px; background: #e9e9eb; transition: background .25s var(--ease); }
.switch span::after { content: ""; position: absolute; top: 2px; left: 2px; width: 27px; height: 27px; border-radius: 50%; background: #fff; box-shadow: 0 3px 8px rgba(0,0,0,0.15), 0 3px 1px rgba(0,0,0,0.06); transition: transform .3s var(--ease-out), width .2s var(--ease); }
.switch input:active + span::after { width: 31px; }
.switch input:checked + span { background: #34c759; }
.switch input:checked + span::after { transform: translateX(20px); }
.switch input:checked:active + span::after { transform: translateX(16px); }
.switch input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: start; }
.panel { background: var(--white); border-radius: var(--r-lg); padding: clamp(1.75rem, 4vw, 2.75rem); }
.route { padding: 1.125rem 0; border-bottom: 1px solid var(--hairline); }
.route:last-child { border-bottom: 0; padding-bottom: 0; }
.route dt { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; color: var(--ink-2); }
.route dd { margin: 0; }
.route dd a, .route dd strong { display: inline-block; font-size: 1.1875rem; font-weight: 600; color: var(--ink); margin: 4px 0 2px; }
.route dd a:hover { color: var(--link); text-decoration: none; }

/* ---------- Order flow ---------- */
.steps { display: flex; justify-content: center; gap: 8px; margin: 2.25rem 0 0; padding: 0; list-style: none; }
.step-pill { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px 0 8px; border-radius: var(--pill); font-size: 0.875rem; font-weight: 500; color: var(--ink-2); background: transparent; border: 0; cursor: default; }
.step-pill b { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 0.75rem; background: var(--hairline-soft); color: var(--ink-2); transition: background .3s, color .3s; }
.step-pill.active { color: var(--ink); background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,0.06); }
.step-pill.active b { background: var(--accent); color: #fff; }
.step-pill.done { cursor: pointer; color: var(--ink); }
.step-pill.done b { background: #34c759; color: #fff; }
.order-layout { display: grid; grid-template-columns: 1fr 340px; gap: 32px; align-items: start; }
.order-layout.done { grid-template-columns: 1fr; }
.order-step { animation: panelIn .5s var(--ease-out); }
.order-step:focus { outline: none; }
.pick-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.pick {
  position: relative; display: flex; flex-direction: column; gap: 4px; text-align: left; cursor: pointer;
  background: #fff; border: 2px solid transparent; border-radius: var(--r-md); padding: 1.375rem 1.375rem 1.25rem;
  box-shadow: 0 0 0 1px var(--hairline) inset; transition: box-shadow .2s, border-color .2s, transform var(--press);
  -webkit-tap-highlight-color: transparent;
}
.pick:hover { box-shadow: 0 0 0 1px #86868b inset; }
.pick:active { transform: scale(0.985); }
.pick[aria-pressed="true"] { border-color: var(--accent); box-shadow: none; }
.pick h3 { font-size: 1.3125rem; font-weight: 600; letter-spacing: -0.01em; }
.pick .len { font-size: 0.875rem; color: var(--ink-2); }
.pick p { margin-top: 8px; font-size: 0.875rem; color: var(--ink-2); line-height: 1.43; }
.pick .row { display: flex; justify-content: space-between; align-items: baseline; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--hairline-soft); font-size: 0.875rem; color: var(--ink-2); }
.pick .row b { font-size: 1.0625rem; color: var(--ink); }
.pick .tick { position: absolute; top: 18px; right: 18px; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid #86868b; display: grid; place-items: center; transition: background .2s, border-color .2s, transform .3s var(--ease-out); }
.pick .tick svg { width: 12px; height: 12px; stroke: #fff; stroke-width: 3; fill: none; opacity: 0; }
.pick[aria-pressed="true"] .tick { background: var(--accent); border-color: var(--accent); animation: tickIn .3s var(--ease-out); }
.pick[aria-pressed="true"] .tick svg { opacity: 1; }
@keyframes tickIn { from { transform: scale(0.7); } }
.summary { position: sticky; top: calc(var(--nav-h) + 24px); background: #fff; border-radius: var(--r-lg); padding: 1.75rem 1.625rem; }
.summary h2 { font-size: 1.3125rem; font-weight: 600; margin-bottom: 1rem; }
.summary-lines { list-style: none; margin: 0; padding: 0; font-size: 0.875rem; }
.summary-lines li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--hairline-soft); }
.summary-lines li.empty { color: var(--ink-2); border: 0; }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 1rem; font-weight: 600; }
.summary-total span:last-child { font-size: 1.75rem; letter-spacing: -0.015em; font-variant-numeric: tabular-nums; }
.summary .btn { width: 100%; margin-top: 1.25rem; }
.summary .back { display: block; width: 100%; min-height: 44px; margin-top: 4px; text-align: center; font-size: 0.875rem; background: none; border: 0; color: var(--link); cursor: pointer; }
.summary .assure { list-style: none; padding: 1rem 0 0; margin: 1rem 0 0; border-top: 1px solid var(--hairline-soft); font-size: 0.75rem; color: var(--ink-2); }
.summary .assure li { padding: 3px 0 3px 20px; position: relative; }
.summary .assure li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 9px; height: 5px; border-left: 1.5px solid var(--success); border-bottom: 1.5px solid var(--success); transform: rotate(-45deg); }
.option-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; background: #fff; border-radius: var(--r-md); padding: 1.375rem 1.5rem; }
.option-row + .option-row { margin-top: 12px; }
.option-row h3 { font-size: 1.0625rem; font-weight: 600; }
.option-row p { margin-top: 4px; font-size: 0.875rem; color: var(--ink-2); }
.pay-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.toolbar { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 1.25rem; flex-wrap: wrap; }
.select-inline { font-size: 0.875rem; min-height: 36px; padding: 0 30px 0 12px; margin-left: 6px; border-radius: 8px; border: 1px solid #86868b; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%236e6e73' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 10px center; -webkit-appearance: none; appearance: none; }
.confirm { text-align: center; padding: clamp(3rem, 8vw, 5rem) 1.5rem; background: #fff; border-radius: var(--r-lg); }
.confirm .check { width: 64px; height: 64px; margin: 0 auto 1.25rem; border-radius: 50%; background: #34c759; display: grid; place-items: center; animation: tickIn .5s var(--ease-out); }
.confirm .check svg { width: 28px; height: 28px; stroke: #fff; stroke-width: 3; fill: none; }

/* ---------- About ---------- */
.beliefs { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.belief { background: var(--gray-bg); border-radius: var(--r-lg); padding: clamp(1.75rem, 4vw, 2.75rem); }
.belief .n { font-size: 3.5rem; font-weight: 700; line-height: 1; letter-spacing: -0.03em; margin-bottom: 2.5rem; display: inline-block; }
.belief h3 { margin-bottom: 0.625rem; font-size: 1.5rem; font-weight: 600; letter-spacing: -0.012em; }
.belief p { color: var(--ink-2); }
.mosaic { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 20px; aspect-ratio: 2.2 / 1; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-lg); }
.mosaic img:first-child { grid-row: span 2; }

/* ---------- Footer ---------- */
.gfooter { background: var(--gray-bg); color: var(--ink-2); font-size: 0.75rem; line-height: 1.4; letter-spacing: 0; padding: 20px 0 calc(22px + env(safe-area-inset-bottom)); }
.gfooter a { color: #424245; }
.gfooter a:hover { color: var(--ink); text-decoration: underline; }
.gfooter .note { padding: 16px 0 20px; border-bottom: 1px solid var(--hairline); }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 24px 0 28px; }
.footer-cols h2 { margin-bottom: 6px; font-size: 0.75rem; font-weight: 600; color: var(--ink); }
.footer-cols ul { list-style: none; margin: 0; padding: 0; }
.footer-cols li { padding: 5px 0; }
.footer-legal { display: flex; justify-content: space-between; gap: 12px 16px; flex-wrap: wrap; padding-top: 16px; border-top: 1px solid var(--hairline); }
.footer-legal nav a + a::before { content: ""; display: inline-block; height: 0.9em; border-left: 1px solid var(--hairline); margin: 0 9px; vertical-align: -1px; }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 80; display: none;
  align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 18px; border-radius: 22px;
  background: rgba(255,255,255,0.82); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur);
  border: 1px solid rgba(255,255,255,0.6); box-shadow: 0 12px 40px rgba(0,0,0,0.18), 0 0 0 0.5px rgba(0,0,0,0.08);
  transform: translateY(140%); transition: transform .5s var(--ease-out);
}
.sticky-cta.show { transform: none; }
.sticky-cta strong { display: block; font-size: 0.9375rem; font-weight: 600; }
.sticky-cta small { display: block; font-size: 0.75rem; color: var(--ink-2); }
[data-page="order"] .sticky-cta, [data-page="contact"] .sticky-cta { display: none !important; }

/* ---------- Scroll reveal (only when JS is running) ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.js .reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .07s; } .reveal.d2 { transition-delay: .14s; } .reveal.d3 { transition-delay: .21s; }

/* ---------- Accessibility preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
  .statement .w { opacity: 1; }
  .hero-film { transform: none !important; }
}
@media (prefers-reduced-transparency: reduce) {
  .gnav, .mobile-menu, .sticky-cta, .order-bar { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fbfbfd; }
  [data-nav="dark"] .gnav, [data-nav="dark"] .mobile-menu { background: #161617; }
  .player::backdrop { backdrop-filter: none; background: #000; }
  .play { backdrop-filter: none; background: rgba(0,0,0,0.6); }
}
@media (prefers-contrast: more) {
  :root { --ink-2: #424245; --on-dark-2: #d2d2d7; --on-dark-3: #d2d2d7; --hairline: #86868b; --link: #004f9e; }
  .gnav, .sticky-cta { background: #fff; border-color: #000; }
  [data-nav="dark"] .gnav { background: #000; border-color: #fff; }
  .tile, .format, .quote, .belief, .panel, .pick { outline: 1px solid var(--hairline); }
  .statement .w { opacity: 1; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1068px) {
  .formats { grid-template-columns: repeat(2, 1fr); }
  .order-layout { grid-template-columns: 1fr; }
  .summary { position: sticky; top: auto; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 50; padding: 12px 12px 12px 20px; border-radius: 22px;
    display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 14px;
    background: rgba(255,255,255,0.85); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur);
    box-shadow: 0 12px 40px rgba(0,0,0,0.16), 0 0 0 0.5px rgba(0,0,0,0.1); }
  .summary h2, .summary-lines, .summary .assure { display: none; }
  .summary-total { padding: 0; flex-direction: column; align-items: flex-start; font-size: 0.75rem; font-weight: 400; color: var(--ink-2); }
  .summary-total span:last-child { font-size: 1.3125rem; font-weight: 600; color: var(--ink); }
  .summary #dueNow { grid-column: 1; text-align: left !important; margin: 0 !important; }
  .summary .btn { grid-column: 2; grid-row: 1 / span 2; width: auto; margin: 0; }
  .summary .back { grid-column: 1 / -1; min-height: 36px; }
  .tile.span-5, .tile.span-7 { grid-column: span 6; }
}
@media (max-width: 833px) {
  .gnav-links, .gnav-cta .btn { display: none; }
  .menu-btn { display: block; }
  .sticky-cta { display: flex; }
  .tile, .tile.span-5, .tile.span-6, .tile.span-7 { grid-column: span 12; }
  .bento .tile { min-height: 0; }
  .two-col, .beliefs, .contact-layout, .faq-layout, .audience { grid-template-columns: 1fr; }
  .audience-media { min-height: 0; aspect-ratio: 16 / 10; order: -1; }
  .faq-nav { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat { padding-bottom: 1.75rem; }
  .film-grid { grid-template-columns: 1fr; }
  .film-grid .film-card.wide { grid-column: auto; aspect-ratio: 16 / 10; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: auto; aspect-ratio: auto; }
  .mosaic img { aspect-ratio: 16 / 10; }
  .mosaic img:first-child { grid-row: auto; grid-column: span 2; }
  .rail-head { flex-direction: column; align-items: flex-start; gap: 8px; }
}
@media (max-width: 600px) {
  .hero-film { border-radius: var(--r-md); aspect-ratio: 4 / 5; }
  .hero-film-caption { left: 20px; bottom: 20px; }
  .hero-film .play { right: 20px; bottom: 20px; width: 52px; height: 52px; }
  .formats, .pick-grid, .form-grid, .pay-choice { grid-template-columns: 1fr; }
  .film-card { aspect-ratio: 4 / 5; border-radius: var(--r-md); }
  .film-card .info { left: 20px; right: 84px; bottom: 20px; }
  .rail { grid-auto-columns: 84vw; gap: 12px; }
  .steps { gap: 2px; }
  .step-pill { padding: 0 8px 0 6px; gap: 6px; font-size: 0.75rem; white-space: nowrap; }
  .player[open] { padding: 0; }
  .player-frame { border-radius: 0; }
  .player-bar { padding: 0 16px; }
  .tile.banner .btn { width: 100%; }
}
@media print {
  .gnav, .sticky-cta, .rail-controls, .gfooter .footer-cols { display: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .acc-body { display: block !important; }
}

/* Legal pages (privacy, terms) */
.legal { max-width: 46rem; }
.legal h1 { margin-bottom: 1.5rem; }
.legal h2 { font-size: 1.375rem; letter-spacing: -0.01em; margin: 2.5rem 0 0.75rem; }
.legal p, .legal li { color: var(--ink-2, #424245); line-height: 1.6; }
.legal ul { padding-left: 1.2rem; }
.legal a { text-decoration: underline; text-underline-offset: 3px; }

/* ==========================================================================
   Sales features (features.js)
   ========================================================================== */
/* Film Finder */
.finder-wrap { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.card-finder { background: var(--white); border-radius: var(--r-lg); padding: clamp(1.5rem, 3.5vw, 2.5rem); box-shadow: 0 2px 24px rgba(0,0,0,0.05); min-height: 22rem; }
.finder-step { font-size: 0.8125rem; font-weight: 600; color: var(--tag); letter-spacing: 0; margin-bottom: 0.5rem; }
.finder-q { font-size: clamp(1.375rem, 2.4vw, 1.75rem); line-height: 1.15; font-weight: 600; letter-spacing: -0.012em; margin-bottom: 1.25rem; outline: none; }
.finder-opts { display: grid; gap: 10px; }
.finder-opt { text-align: left; min-height: 52px; padding: 0.8rem 1.1rem; border-radius: var(--r-sm); border: 1px solid var(--hairline); background: var(--white);
  font: inherit; font-size: 1.0625rem; color: var(--ink); cursor: pointer; transition: border-color .2s var(--ease), background .2s var(--ease), transform var(--press); }
.finder-opt:hover { border-color: var(--accent); background: #f5f9ff; }
.finder-opt:active { transform: scale(0.985); }
.finder-back { margin-top: 0.75rem; min-height: 44px; background: none; border: 0; padding: 0; font: inherit; font-size: 0.9375rem; color: var(--link); cursor: pointer; }
.btn-row .finder-back { margin-top: 0; }
.finder-meta { font-size: 1.0625rem; font-weight: 600; margin: -0.5rem 0 0.5rem; font-variant-numeric: tabular-nums; }
.finder-body { color: var(--ink-2); }
.finder-pair { margin-top: 1rem; padding: 0.875rem 1rem; border-radius: var(--r-sm); background: var(--gray-bg); font-size: 0.9375rem; }
.finder-pair a { font-weight: 600; white-space: nowrap; }
.finder-inline { margin-bottom: 18px; border-radius: var(--r-md); background: var(--white); border: 1px solid var(--hairline-soft); }
.finder-inline summary { cursor: pointer; padding: 1rem 1.25rem; font-weight: 600; color: var(--link); list-style: none; min-height: 44px; }
.finder-inline summary::-webkit-details-marker { display: none; }
.finder-inline summary::after { content: "+"; float: right; font-weight: 400; font-size: 1.25rem; line-height: 1; }
.finder-inline[open] summary::after { content: "−"; }
.finder-inline .finder { padding: 0 1.25rem 1.25rem; }

/* Delivery planner */
.planner { margin-top: 1rem; padding: 0.875rem 1rem; border-radius: var(--r-sm); background: var(--gray-bg); font-size: 0.875rem; }
.planner-need { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-weight: 600; margin-bottom: 8px; }
.planner-need input { font: inherit; font-size: 0.875rem; border: 1px solid var(--hairline); border-radius: 8px; padding: 6px 8px; background: #fff; color: var(--ink); min-height: 36px; }
.planner .eta { display: block; }
.planner .eta b { font-variant-numeric: tabular-nums; }
.plan-ok { margin-top: 6px; color: var(--success); font-weight: 600; }
.plan-warn { margin-top: 6px; color: var(--tag); font-weight: 600; }
.planner .btn-sm { margin-top: 8px; }

/* Email me this quote */
.save-quote { margin-top: 6px; text-align: center; }
.save-quote-toggle { min-height: 44px; background: none; border: 0; font: inherit; font-size: 0.875rem; color: var(--link); cursor: pointer; }
.save-quote form { margin-top: 10px; text-align: left; }
.save-quote-row { display: flex; gap: 8px; margin-top: 6px; align-items: center; }
.save-quote-row input { flex: 1; min-width: 0; font: inherit; font-size: 1rem; padding: 9px 12px; border: 1px solid var(--hairline); border-radius: 10px; min-height: 44px; }
.save-quote-row input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(0,113,227,0.15); }
.save-quote .form-status { margin-top: 8px; }

/* WhatsApp button */
.wa-fab { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 85; display: inline-flex; align-items: center; gap: 8px;
  min-height: 48px; padding: 0 18px 0 14px; border-radius: var(--pill); background: #25d366; color: #fff !important; font-size: 0.9375rem; font-weight: 600;
  box-shadow: 0 10px 30px rgba(0,0,0,0.18); transition: transform .4s var(--ease-out), bottom .4s var(--ease-out); text-decoration: none; }
.wa-fab:hover { transform: translateY(-2px); }
.wa-fab svg { width: 22px; height: 22px; fill: currentColor; flex: none; }
@media (max-width: 734px) {
  .wa-fab { right: 14px; width: 52px; height: 52px; padding: 0; justify-content: center; }
  .wa-fab span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  body:has(.sticky-cta.show) .wa-fab { bottom: calc(86px + env(safe-area-inset-bottom)); }
  [data-page="order"] .wa-fab { bottom: calc(14px + env(safe-area-inset-bottom)); }
}

/* Partner page */
.calc { display: grid; grid-template-columns: 1.1fr 1fr; gap: 20px; }
.calc-inputs, .calc-out { background: var(--gray-bg); border-radius: var(--r-lg); padding: clamp(1.5rem, 3vw, 2.25rem); }
.calc-out { background: var(--tile-dark); color: var(--on-dark); }
.calc-row { display: block; margin-bottom: 1.5rem; }
.calc-row span { display: flex; justify-content: space-between; font-weight: 600; margin-bottom: 10px; }
.calc-row b { font-variant-numeric: tabular-nums; color: var(--accent); }
.calc-row input[type=range] { width: 100%; accent-color: var(--accent); min-height: 32px; }
.calc-big b { display: block; font-size: clamp(3rem, 7vw, 4.5rem); line-height: 1; font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.calc-big span { color: var(--on-dark-2); font-weight: 600; }
.calc-sub { margin-top: 0.75rem; color: var(--on-dark-2); }
.calc-sub b { color: var(--on-dark); }
.calc-lines { margin: 1.5rem 0 1rem; padding: 0; }
.calc-lines div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--hairline-dark); }
.calc-lines dt { color: var(--on-dark-2); }
.calc-lines dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.calc-out .small { color: var(--on-dark-2); }
.calc-out .small b { color: var(--on-dark); }
.calc-out .fine { margin-top: 0.75rem; color: var(--on-dark-3); }
.partner-quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.partner-quotes .quote { background: var(--white); }

@media (max-width: 833px) {
  .finder-wrap, .calc, .partner-quotes { grid-template-columns: 1fr; }
  .card-finder { min-height: 0; }
}

/* ==========================================================================
   Premium layer (ideas from bridengroom.video / nobacklog, Opalook's own content)
   ========================================================================== */
/* Serif italic accent words */
em.serif { font-family: ui-serif, "New York", "Iowan Old Style", "Palatino Linotype", Georgia, serif; font-style: italic; font-weight: 400; letter-spacing: -0.02em; }
.gradient-text em.serif, .bg-black em.serif { font-weight: 400; }

/* Floating pill navigation on larger screens */
@media (min-width: 834px) {
  .gnav { top: 12px; width: min(1120px, calc(100% - 32px)); margin: 12px auto 0; border-radius: var(--pill);
    border: 1px solid rgba(0,0,0,0.08); box-shadow: 0 10px 40px -12px rgba(0,0,0,0.18); }
  [data-nav="dark"] .gnav { border-color: rgba(255,255,255,0.1); box-shadow: 0 10px 40px -12px rgba(0,0,0,0.6); }
  .gnav-inner { width: 100%; padding: 0 10px 0 22px; }
  body[data-nav="dark"] { background: var(--black); }
  body[data-nav="dark"] main { background: var(--white); }
}

/* Trust ticks under the hero buttons */
.trust-ticks { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin: 1.5rem 0 0; padding: 0; font-size: 0.8125rem; color: var(--on-dark-2); }
.trust-ticks li { position: relative; padding-left: 18px; }
.trust-ticks li::before { content: ""; position: absolute; left: 2px; top: 0.42em; width: 9px; height: 5px; border-left: 1.5px solid #30d158; border-bottom: 1.5px solid #30d158; transform: rotate(-45deg); }

/* Hero film inside an editing-app window */
.editor { border-radius: calc(var(--r-lg) + 6px); background: #1c1c1e; border: 1px solid rgba(255,255,255,0.1); padding: 0 8px 8px;
  box-shadow: 0 50px 140px -40px rgba(255,111,174,0.35), 0 0 0 1px rgba(0,0,0,0.6); transform-origin: 50% 0; will-change: transform; }
.editor .hero-film { border-radius: var(--r-md); box-shadow: none; transform: none !important; }
.editor-bar { display: flex; align-items: center; gap: 14px; height: 38px; padding: 0 8px; font: 500 0.75rem/1 ui-monospace, "SF Mono", Menlo, monospace; color: #8e8e93; }
.editor-bar .dots { display: flex; gap: 7px; }
.editor-bar .dots i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.editor-bar .dots i:nth-child(2) { background: #febc2e; } .editor-bar .dots i:nth-child(3) { background: #28c840; }
.editor-file { flex: 1; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.editor-tc { color: #ff453a; font-variant-numeric: tabular-nums; }
.editor-timeline { position: relative; margin-top: 8px; padding: 18px 8px 8px; border-radius: 12px; background: #111113; overflow: hidden; }
.tl-ruler { position: absolute; left: 0; right: 0; top: 0; height: 14px; background: repeating-linear-gradient(90deg, rgba(255,255,255,0.22) 0 1px, transparent 1px 12px); opacity: .7; }
.tl-track { display: grid; grid-template-columns: repeat(9, 1fr); gap: 3px; height: clamp(30px, 4.5vw, 54px); }
.tl-track span { border-radius: 4px; background: #2c2c2e center/cover no-repeat; outline: 1px solid rgba(164,107,255,0.45); outline-offset: -1px; }
.tl-audio { margin-top: 5px; height: 18px; border-radius: 4px; background: rgba(48,209,88,0.14); overflow: hidden; }
.tl-audio i { display: block; height: 100%; background: repeating-linear-gradient(90deg, rgba(48,209,88,0.75) 0 2px, transparent 2px 5px);
  -webkit-mask: radial-gradient(ellipse 70% 100% at 50% 50%, #000 40%, rgba(0,0,0,0.35) 100%); mask: radial-gradient(ellipse 70% 100% at 50% 50%, #000 40%, rgba(0,0,0,0.35) 100%); }
.tl-head { position: absolute; top: 0; bottom: 0; left: 12%; width: 2px; background: #ff453a; box-shadow: 0 0 10px rgba(255,69,58,0.7); }
.tl-head::before { content: ""; position: absolute; top: 0; left: -5px; border: 6px solid transparent; border-top: 8px solid #ff453a; }
@media (prefers-reduced-motion: no-preference) { .tl-head { animation: playhead 26s linear infinite; } }
@keyframes playhead { from { left: 2%; } to { left: 98%; } }
@media (max-width: 600px) { .editor { padding: 0 5px 5px; } .editor-file { display: none; } .editor-bar { justify-content: space-between; } .tl-track { grid-template-columns: repeat(6, 1fr); } .tl-track span:nth-child(n+7) { display: none; } }

/* Split FAQ */
.faq-split { display: grid; grid-template-columns: 0.9fr 1.3fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.faq-side { position: sticky; top: calc(var(--nav-h) + 48px); }
@media (max-width: 833px) { .faq-split { grid-template-columns: 1fr; } .faq-side { position: static; } }

/* Timecode ruler above the footer */
.tc-ruler { display: flex; justify-content: space-between; padding: 26px max(var(--gutter), calc((100% - var(--max-wide)) / 2)) 10px; background:
  linear-gradient(var(--gray-bg), var(--gray-bg)) bottom / 100% 1px no-repeat,
  repeating-linear-gradient(90deg, var(--hairline) 0 1px, transparent 1px 10px) left calc(100% - 1px) / 100% 8px no-repeat, var(--gray-bg);
  font: 500 0.6875rem/1 ui-monospace, "SF Mono", Menlo, monospace; color: #86868b; border-top: 1px solid var(--hairline-soft); }
.tc-ruler span { position: relative; padding-bottom: 14px; }
.tc-ruler span::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 1px; height: 12px; background: #86868b; }
@media (max-width: 734px) { .tc-ruler span:nth-child(even) { display: none; } }

/* Partner page: bento cards with small visuals */
.bento:not(.tiles) { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.bcard { background: var(--white); border-radius: var(--r-lg); padding: clamp(1.5rem, 3vw, 2.25rem); display: flex; flex-direction: column; gap: 1.25rem; overflow: hidden; }
.bcard.b-wide { grid-column: span 2; flex-direction: row; align-items: center; gap: clamp(1.5rem, 4vw, 3rem); }
.bcard h3 { font-size: clamp(1.375rem, 2.2vw, 1.75rem); line-height: 1.15; font-weight: 600; letter-spacing: -0.012em; margin-bottom: 0.5rem; }
.bcard p { color: var(--ink-2); }
.bviz { border-radius: var(--r-md); background: var(--gray-bg); flex: none; }
.viz-donut { position: relative; width: 190px; height: 190px; display: grid; place-items: center; background: none; }
.viz-donut svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.viz-donut circle { fill: none; stroke-width: 12; }
.viz-donut .ring-bg { stroke: var(--hairline-soft); }
.viz-donut .ring-fg { stroke: url(#none); stroke: #a46bff; stroke-linecap: round; transition: stroke-dashoffset .8s var(--ease-out); }
.viz-donut span { text-align: center; }
.viz-donut b { display: block; font-size: 2.25rem; font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.viz-donut small { color: var(--ink-2); font-size: 0.8125rem; }
.viz-grade { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 12px; }
.viz-grade span { aspect-ratio: 3/4; border-radius: 10px; background: linear-gradient(160deg, var(--c1), var(--c2)); display: flex; align-items: flex-end; justify-content: center; padding-bottom: 8px; font-size: 0.6875rem; font-weight: 600; color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,0.4); }
.viz-review { padding: 12px; }
.rv-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; font-size: 0.6875rem; }
.rv-logo { font-weight: 800; letter-spacing: 0.14em; }
.rv-chip { padding: 3px 8px; border-radius: var(--pill); background: #e8f8ec; color: var(--success); font-weight: 600; }
.rv-frame { aspect-ratio: 16/9; border-radius: 8px; background: #ccc center/cover; }
.rv-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 8px; font-size: 0.6875rem; }
.rv-actions span, .rv-actions b { padding: 5px 10px; border-radius: var(--pill); background: #fff; border: 1px solid var(--hairline); }
.rv-actions b { background: var(--accent); border-color: var(--accent); color: #fff; }
.viz-track { padding: 22px 18px; min-width: 300px; }
.trk { display: grid; grid-template-columns: repeat(4, 1fr); position: relative; font-size: 0.75rem; font-weight: 600; text-align: center; }
.trk::before { content: ""; position: absolute; top: 7px; left: 12%; right: 12%; height: 2px; background: linear-gradient(90deg, #a46bff, #ff6fae, #ffb27a); }
.trk span { position: relative; padding-top: 24px; }
.trk span::before { content: ""; position: absolute; top: 0; left: 50%; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: #fff; border: 2px solid #a46bff; }
.trk span.on::before { background: #a46bff; }
.trk small { display: block; font-weight: 400; color: var(--ink-2); margin-top: 2px; }
@media (max-width: 833px) { .bento:not(.tiles) { grid-template-columns: 1fr; } .bcard.b-wide { grid-column: auto; flex-direction: column; align-items: stretch; } .viz-donut { margin: 0 auto; } .viz-track { min-width: 0; } }

/* Partner page: 5-step flow */
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: none; }
.flow li { padding: 1.5rem 1.25rem; border-radius: var(--r-md); background: var(--gray-bg); position: relative; }
.flow b { display: inline-block; font: 600 0.75rem/1 ui-monospace, "SF Mono", Menlo, monospace; color: #a46bff; margin-bottom: 2.25rem; }
.flow h3 { font-size: 1.125rem; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 0.4rem; }
.flow p { font-size: 0.875rem; color: var(--ink-2); }
@media (max-width: 1068px) { .flow { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .flow { grid-template-columns: 1fr; } .flow b { margin-bottom: 1rem; } }

/* Partner page: style profile chips */
.profile { border: 1px solid var(--hairline); border-radius: var(--r-md); padding: 1.25rem 1.25rem 0.5rem; margin: 0; }
.profile legend { padding: 0 6px; font-weight: 600; }
.chip-group { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 14px; }
.chip-group > span { width: 100%; font-size: 0.8125rem; font-weight: 600; color: var(--ink-2); }
.chip-group label { position: relative; display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: var(--pill); border: 1px solid var(--hairline); font-size: 0.875rem; cursor: pointer; transition: all .2s var(--ease); }
.chip-group label:hover { border-color: var(--accent); }
.chip-group input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip-group label:has(input:checked) { background: var(--accent); border-color: var(--accent); color: #fff; }
.chip-group label:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Partner page: review wall */
.review-wall { columns: 3 300px; column-gap: 20px; }
.wall-card { break-inside: avoid; margin: 0 0 20px; background: var(--white); border-radius: var(--r-md); padding: 1.25rem 1.375rem; box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 8px 24px -12px rgba(0,0,0,0.12); }
.wall-top { display: flex; align-items: center; gap: 10px; margin-bottom: 0.75rem; }
.wall-top b { display: block; font-size: 0.9375rem; text-transform: capitalize; }
.wall-top small { display: block; font-size: 0.75rem; color: var(--ink-2); }
.wall-top .g-mark { width: 18px; height: 18px; margin-left: auto; flex: none; }
.avatar { width: 36px; height: 36px; flex: none; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; background: linear-gradient(135deg, #a46bff, #ff6fae); }
.wall-card blockquote { margin: 0; font-size: 0.9375rem; line-height: 1.5; }

/* Phone-width guards for the new pieces */
#orderLayout > * { min-width: 0; }
.planner-need input { min-width: 0; max-width: 62%; }
.calc-inputs, #partnerForm { overflow-x: clip; }
.order-extras { background: var(--white); border-radius: var(--r-lg); padding: 1rem 1.125rem 0.5rem; margin-bottom: 14px; }
.order-extras .planner { margin-top: 0; }
.done .order-extras { display: none; }

/* Footer currency switcher */
.cur-switch { display: inline-flex; align-items: center; gap: 6px; }
.cur-switch select { font: inherit; font-size: 0.75rem; color: var(--ink); background: transparent; border: 1px solid var(--hairline); border-radius: 8px; padding: 4px 6px; min-height: 30px; }

/* ---------- Wide screens: carousels use the extra width instead of leaving an empty margin ---------- */
@media (min-width: 1500px) {
  .section:has(> .rail) { --max-wide: min(1760px, 100vw - 2 * var(--gutter)); }
  #featuredRail { grid-auto-columns: min(46vw, 900px); gap: 24px; }
  #quoteRail { grid-auto-columns: min(26vw, 500px); }
}

/* ==========================================================================
   Build your film: edit-suite order builder (home, #studio)
   ========================================================================== */
.studio-sec { background: var(--black); color: var(--on-dark); padding-top: var(--section); }
.studio-head { text-align: center; }
.studio-head .eyebrow { color: var(--on-dark-2); }
.studio-head .lede { color: var(--on-dark-2); margin-inline: auto; max-width: 34em; }
.studio-stage { --st-split: 300px; padding: clamp(2rem, 5vw, 3.5rem) var(--gutter) var(--section);
  background: linear-gradient(var(--black) 0 var(--st-split), var(--white) var(--st-split)); }
.studio-folders { display: flex; justify-content: center; gap: clamp(10px, 2.4vw, 34px); height: 92px; margin-bottom: -40px; position: relative; z-index: 0; pointer-events: none; }
.folder { position: relative; flex: 0 0 auto; width: clamp(96px, 10vw, 150px); height: 104px; border-radius: 4px 12px 12px 12px;
  background: linear-gradient(180deg, #9cc9ff, #5b9be6 70%); box-shadow: 0 -1px 0 rgba(255,255,255,.35) inset, 0 12px 30px rgba(0,0,0,.45);
  transform: translateY(var(--y, 6px)) rotate(var(--r, 0deg)); opacity: 0; animation: st-drop .9s var(--ease-out) forwards; animation-delay: calc(var(--i) * 80ms + 200ms); }
.folder::before { content: ""; position: absolute; left: 0; top: -11px; width: 46%; height: 16px; border-radius: 8px 10px 0 0; background: #84b8f6; }
.folder em { position: absolute; left: 12px; right: 10px; top: 14px; font: 600 0.6875rem/1.2 ui-monospace, "SF Mono", Menlo, monospace; font-style: normal; color: rgba(10,30,70,.72); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.folder:nth-child(2) { --r: -6deg; --y: 14px; } .folder:nth-child(3) { --r: 4deg; --y: 2px; } .folder:nth-child(4) { --r: 14deg; --y: -8px; }
.folder:nth-child(5) { --r: -3deg; --y: 10px; } .folder:nth-child(6) { --r: 8deg; --y: 0px; } .folder:nth-child(7) { --r: 18deg; --y: -4px; } .folder:nth-child(1) { --r: 9deg; --y: 4px; }
@keyframes st-drop { from { opacity: 0; translate: 0 -40px; } to { opacity: 1; translate: 0 0; } }

.studio { --st-acc: #2997ff; --st-bg: #18181b; --st-field: #232327; --st-line: rgba(255,255,255,.08); --st-dim: #8e8e93;
  position: relative; z-index: 1; width: min(1400px, 100%); margin: 0 auto; color: #f5f5f7; font-size: 0.8125rem;
  display: grid; grid-template-columns: minmax(250px, 300px) minmax(0, 1fr) minmax(250px, 300px);
  grid-template-areas: "left center right" "tl tl tl"; gap: 8px; padding: 8px; border-radius: 24px;
  background: #0d0d0f; border: 1px solid rgba(255,255,255,.1); box-shadow: 0 40px 90px rgba(0,0,0,.35); }
.st-panel, .st-center { background: var(--st-bg); border-radius: 16px; padding: 16px; min-width: 0; }
.st-left { grid-area: left; } .st-center { grid-area: center; display: flex; flex-direction: column; gap: 12px; } .st-right { grid-area: right; display: flex; flex-direction: column; }
.st-label { display: block; font-weight: 600; font-size: 0.8125rem; margin: 14px 0 7px; color: #f5f5f7; }
.st-label:first-child { margin-top: 0; }
.st-h { font-size: 0.875rem; }
.st-sub { color: var(--st-dim); font-size: 0.75rem; margin: -4px 0 10px; }
.st-input { width: 100%; height: 38px; padding: 0 12px; border-radius: 10px; border: 1px solid transparent; background: var(--st-field); color: #f5f5f7; font: inherit; color-scheme: dark; }
.st-input::placeholder { color: #6e6e73; }
.st-input:focus { outline: none; border-color: var(--st-acc); }

.st-formats { display: grid; gap: 6px; }
.st-fmt { display: grid; grid-template-columns: 18px 20px 1fr auto auto; align-items: center; gap: 9px; min-height: 40px; padding: 0 10px; border-radius: 10px;
  background: var(--st-field); border: 1px solid transparent; cursor: pointer; transition: border-color .2s, background .2s; }
.st-fmt:hover { background: #2a2a2f; }
.st-fmt.on { border-color: rgba(41,151,255,.65); background: rgba(41,151,255,.12); }
.st-fmt input { position: absolute; opacity: 0; pointer-events: none; }
.st-box { width: 16px; height: 16px; border-radius: 5px; border: 1.5px solid #636366; display: grid; place-items: center; transition: background .15s, border-color .15s; }
.st-fmt.on .st-box { background: var(--st-acc); border-color: var(--st-acc); }
.st-fmt.on .st-box::after { content: ""; width: 8px; height: 4px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: translateY(-1px) rotate(-45deg); }
.st-fmt input:focus-visible ~ .st-box { outline: 2px solid var(--st-acc); outline-offset: 2px; }
.st-ic svg, .st-tool svg, .st-btn svg, .st-icon svg, .st-clip svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.st-ic { color: var(--st-dim); display: grid; } .st-fmt.on .st-ic { color: var(--st-acc); }
.st-name { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-name small { color: var(--st-dim); font-weight: 400; margin-left: 2px; }
.st-price { font-weight: 600; font-variant-numeric: tabular-nums; color: #d1d1d6; }
.st-badge { font: 600 0.625rem/1 var(--font); padding: 4px 5px; border-radius: 5px; border: 1px solid #48484a; color: var(--st-dim); }
.st-group { color: var(--st-dim); font-size: 0.6875rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin: 10px 2px 0; }

.st-slider { padding: 6px 4px 4px; transition: opacity .2s; }
.st-slider.off { opacity: .45; }
.st-stops, .st-ticks { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; }
.st-stops button { display: grid; gap: 2px; padding: 4px 0 8px; border: 0; background: none; color: var(--st-dim); font: inherit; cursor: pointer; border-left: 1px solid #3a3a3c; }
.st-stops button:first-child { border-left: 0; }
.st-stops b { font-size: 0.75rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.st-stops small { font-size: 0.625rem; }
.st-stops button.on { color: #fff; }
.st-ticks span { font-size: 0.625rem; color: #636366; padding-top: 6px; }
#stLen { --p: 0%; -webkit-appearance: none; appearance: none; width: calc(100% - 25%); margin: 0 12.5%; height: 4px; border-radius: 4px; display: block;
  background: linear-gradient(90deg, var(--st-acc) var(--p), #3a3a3c var(--p)); cursor: pointer; }
#stLen::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 5px solid var(--st-acc); box-shadow: 0 0 0 6px rgba(41,151,255,.22); }
#stLen::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 5px solid var(--st-acc); box-shadow: 0 0 0 6px rgba(41,151,255,.22); }
#stLen:focus-visible { outline: 2px solid var(--st-acc); outline-offset: 6px; }

.st-toolbar { display: flex; align-items: center; gap: 8px; }
.st-spacer { flex: 1; }
.st-btn { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 9px; border: 0; background: var(--st-field); color: #f5f5f7; font: inherit; font-weight: 500; cursor: pointer; }
.st-btn:disabled { color: #636366; cursor: default; }
.st-btn:not(:disabled):hover { background: #2c2c31; }
.st-seg { display: inline-flex; padding: 3px; border-radius: 9px; background: var(--st-field); }
.st-seg button { height: 26px; padding: 0 10px; border-radius: 7px; border: 0; background: none; color: var(--st-dim); font: inherit; font-weight: 600; font-size: 0.75rem; cursor: pointer; }
.st-seg button[aria-pressed="true"] { background: #3a3a3f; color: #fff; }
.st-viewer { flex: 1; display: grid; place-items: center; min-height: 0; border-radius: 12px; background: #000; overflow: hidden; }
.st-preview { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; background: #000; cursor: pointer; overflow: hidden; transition: width .45s var(--ease); }
.studio.tall .st-preview { width: auto; height: min(420px, 60vw); aspect-ratio: 9 / 16; }
.st-preview img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.st-preview:hover img { transform: scale(1.03); }
.st-lower { position: absolute; left: 6%; bottom: 9%; display: grid; gap: 2px; text-align: left; color: #fff; text-shadow: 0 1px 12px rgba(0,0,0,.6); opacity: .6; transition: opacity .3s; }
.st-lower.filled { opacity: 1; }
.st-lower b { font: italic 400 clamp(1rem, 2.2vw, 1.75rem)/1.1 ui-serif, Georgia, "Times New Roman", serif; }
.st-lower small { font-size: 0.6875rem; letter-spacing: .12em; text-transform: uppercase; opacity: .85; }
.studio.tall .st-lower b { font-size: 1.05rem; }
.st-play { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.18); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 0 0 8px rgba(255,255,255,.08); transition: transform .3s var(--ease); }
.st-play svg { width: 24px; height: 24px; fill: #fff; margin-left: 3px; }
.st-preview:hover .st-play { transform: scale(1.08); }
.st-watch { position: absolute; left: 0; right: 0; top: calc(50% + 44px); font-weight: 600; font-size: 0.75rem; color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.6); }
.st-transport { display: flex; align-items: center; gap: 12px; }
.st-tc { font: 500 0.8125rem/1 ui-monospace, "SF Mono", Menlo, monospace; color: #d1d1d6; font-variant-numeric: tabular-nums; white-space: nowrap; }
.st-tc b { color: var(--st-acc); font-weight: 500; }
.st-now { flex: 1; color: var(--st-dim); font-size: 0.75rem; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-skip { display: flex; gap: 6px; }
.st-icon { width: 32px; height: 32px; border-radius: 9px; border: 0; background: var(--st-field); color: #f5f5f7; display: grid; place-items: center; cursor: pointer; }
.st-icon:hover { background: #2c2c31; }

.st-radios { display: grid; gap: 6px; }
.st-radios button { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 12px; border-radius: 10px; border: 1px solid transparent; background: var(--st-field); color: #f5f5f7; font: inherit; font-weight: 500; text-align: left; cursor: pointer; }
.st-radios button span { display: grid; gap: 2px; }
.st-radios small { color: var(--st-dim); font-weight: 400; font-size: 0.6875rem; }
.st-radios i { width: 16px; height: 16px; flex: none; border-radius: 50%; border: 1.5px solid #636366; }
.st-radios button[aria-checked="true"] { border-color: rgba(41,151,255,.65); background: rgba(41,151,255,.12); }
.st-radios button[aria-checked="true"] i { border: 5px solid var(--st-acc); background: #fff; }
.st-radios button:disabled { opacity: .5; cursor: not-allowed; }
.st-included { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; color: #d1d1d6; }
.st-included li { position: relative; padding-left: 20px; }
.st-included li::before { content: ""; position: absolute; left: 2px; top: 4px; width: 8px; height: 4px; border: 2px solid var(--st-acc); border-top: 0; border-right: 0; transform: rotate(-45deg); }
.st-total { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--st-line); }
.st-total > div:first-child { display: flex; justify-content: space-between; align-items: baseline; }
.st-total > div:first-child span { color: var(--st-dim); }
.st-total b { font-size: 1.75rem; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.st-due { color: var(--st-acc); font-size: 0.75rem; min-height: 1.1em; text-align: right; }
.st-go { width: 100%; margin-top: 12px; justify-content: center; }
.st-go.is-disabled { opacity: .45; pointer-events: none; }
.st-fine { margin-top: 8px; text-align: center; color: var(--st-dim); font-size: 0.6875rem; }

.st-timeline { grid-area: tl; position: relative; padding: 10px 14px 14px; border-radius: 16px; background: var(--st-bg); overflow: hidden; }
.st-tl-tools { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; color: #d1d1d6; }
.st-tool { width: 30px; height: 30px; border-radius: 8px; background: var(--st-field); display: grid; place-items: center; }
.st-zoom { width: 90px; height: 4px; border-radius: 4px; background: #3a3a3c; position: relative; }
.st-zoom i { position: absolute; inset: 0 45% 0 0; border-radius: 4px; background: #f5f5f7; }
.st-fit { font-weight: 600; font-size: 0.75rem; }
.st-ruler { display: flex; justify-content: space-between; padding: 4px 0 8px; border-bottom: 1px solid var(--st-line);
  font: 500 0.625rem/1 ui-monospace, "SF Mono", Menlo, monospace; color: #636366;
  background: repeating-linear-gradient(90deg, #3a3a3c 0 1px, transparent 1px 12.5%) bottom / 100% 5px no-repeat; }
.st-tracks { display: grid; gap: 6px; padding-top: 8px; }
.st-track { display: flex; gap: 4px; min-height: 26px; }
.st-clip { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 7px; font-size: 0.6875rem; color: #d1d1d6; background: #2a2a2f; white-space: nowrap; overflow: hidden; }
.st-text { margin-left: 8%; min-width: 150px; max-width: 45%; }
.st-text span { overflow: hidden; text-overflow: ellipsis; }
.st-order { min-height: 40px; }
.st-film { flex: 1 1 0; min-width: 0; height: 40px; display: grid; align-content: center; justify-items: start; gap: 1px; border: 1px solid transparent; cursor: pointer; font: inherit;
  background: linear-gradient(180deg, rgba(41,151,255,.32), rgba(41,151,255,.18)); color: #fff; transition: border-color .2s, flex-grow .45s var(--ease); }
.st-film b { font-size: 0.75rem; font-weight: 600; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.st-film small { font-size: 0.625rem; color: #b8d8ff; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.st-film.on { border-color: var(--st-acc); }
.st-empty { color: var(--st-dim); font-size: 0.75rem; align-self: center; }
.st-strip { height: 48px; gap: 3px; }
.st-strip span { flex: 1; border-radius: 6px; background: #222 center / cover no-repeat; }
.st-audio .st-clip { width: 62%; margin-left: 14%; color: #c7f0d0;
  background: #1d3a26 repeating-linear-gradient(90deg, rgba(120,230,150,.55) 0 1px, transparent 1px 3px) center / 100% 40% no-repeat; }
.st-head { --p: 0; position: absolute; top: 44px; bottom: 8px; left: calc(14px + (100% - 28px) * var(--p)); width: 2px; background: #ffd60a; pointer-events: none; }
.st-head::before { content: ""; position: absolute; top: -2px; left: -5px; width: 12px; height: 12px; border-radius: 3px 3px 6px 6px; background: #ffd60a; }

@media (max-width: 1100px) {
  .studio { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "center center" "left right" "tl tl"; }
  .studio-stage { --st-split: 260px; }
}
@media (max-width: 720px) {
  .studio { grid-template-columns: minmax(0, 1fr); grid-template-areas: "center" "left" "right" "tl"; border-radius: 20px; padding: 6px; }
  .studio-stage { --st-split: 200px; }
  .studio-folders { height: 70px; margin-bottom: -30px; }
  .folder { height: 80px; } .folder:nth-child(n+5) { display: none; }
  .st-toolbar .st-btn { padding: 0 9px; }
  .st-now, .st-watch { display: none; } .st-transport { justify-content: space-between; }
  .st-play { width: 52px; height: 52px; margin: -26px 0 0 -26px; }
  .st-tl-tools, .st-strip, .st-text { display: none; }
  .st-order { flex-wrap: wrap; } .st-film { flex-basis: 40%; }
  .st-audio .st-clip { width: 80%; margin-left: 10%; }
  .st-head { top: 30px; }
}
@media (prefers-reduced-motion: reduce) { .folder { animation: none; opacity: 1; } }

/* ---------- Formats grid, refined: soft cards, price as the hero, popular film in black ---------- */
.formats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.format { background: var(--gray-bg); border-radius: var(--r-lg); padding: 1.75rem 1.75rem 1.5rem; gap: 4px; min-height: 248px; }
.format:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -24px rgba(0,0,0,.22); background: #fff; outline: 1px solid var(--hairline-soft); }
.format .tag { align-self: flex-start; font-size: 0.6875rem; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 10px; }
.format .tag.hot { color: #fff; background: var(--tag); padding: 4px 9px; border-radius: var(--pill); }
.format h3 { font-size: 1.625rem; line-height: 1.1; margin: 0; }
.format .len { font-size: 0.875rem; line-height: 1.45; color: var(--ink-2); margin-top: 6px; }
.format .price { display: flex; align-items: baseline; gap: 6px; margin-top: auto; padding-top: 1.5rem; border-top: 1px solid var(--hairline-soft); }
.format .price small { font-size: 0.8125rem; font-weight: 500; color: var(--ink-2); }
.format .price b { font-size: 1.75rem; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; color: var(--ink); }
.format .go { margin-left: auto; align-self: center; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--ink); transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease); }
.format .go svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.format:hover .go { background: var(--accent); color: #fff; transform: translateX(2px); }
.format.is-popular { background: var(--black); color: var(--on-dark); }
.format.is-popular:hover { background: #111; outline: 0; }
.format.is-popular .len, .format.is-popular .price small { color: var(--on-dark-2); }
.format.is-popular .price { border-top-color: var(--hairline-dark); }
.format.is-popular .price b { color: #fff; }
.format.is-popular .go { background: var(--accent); color: #fff; }
@media (max-width: 1068px) { .formats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 734px) { .formats { grid-template-columns: minmax(0, 1fr); } .format { min-height: 0; } }

/* ---------- Order page film picks, refined ---------- */
.pick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pick-group { grid-column: 1 / -1; margin: 18px 4px 2px; font-size: 0.75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.pick-group:first-child { margin-top: 0; }
.pick { border: 0; border-radius: 22px; background: var(--white); padding: 1.5rem 1.5rem 1.25rem; box-shadow: 0 0 0 1px var(--hairline-soft) inset;
  transition: box-shadow .25s var(--ease), background .25s var(--ease), transform .2s var(--ease-out); }
.pick:hover { box-shadow: 0 0 0 1px var(--hairline) inset, 0 16px 36px -22px rgba(0,0,0,.25); }
.pick[aria-pressed="true"] { background: #f3f8ff; box-shadow: 0 0 0 2px var(--accent) inset; }
.pick .tag { font-size: 0.6875rem; letter-spacing: .04em; text-transform: uppercase; }
.pick .tag.hot { display: inline-block; align-self: flex-start; justify-self: start; width: max-content; color: #fff; background: var(--tag); padding: 3px 8px; border-radius: var(--pill); }
.pick h3 { font-size: 1.375rem; margin-top: 8px; }
.pick .len { display: block; margin-top: 2px; }
.pick p { margin-top: 10px; }
.pick .row { align-items: center; margin-top: 18px; padding-top: 16px; }
.pick .row .from { color: var(--ink-2); font-size: 0.8125rem; }
.pick .row b { font-size: 1.5rem; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; margin-left: 4px; }
.pick .add { font-size: 0.8125rem; font-weight: 600; color: var(--accent); padding: 6px 12px; border-radius: var(--pill); background: rgba(0,113,227,.08); transition: background .2s, color .2s; }
.pick .add::before { content: "Add"; }
.pick[aria-pressed="true"] .add { background: var(--accent); color: #fff; }
.pick[aria-pressed="true"] .add::before { content: "Added"; }
.pick[aria-pressed="true"] .row { border-top-color: rgba(0,113,227,.18); }
.pick .tick { top: 20px; right: 20px; }
@media (max-width: 734px) { .pick-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Order summary: turnaround choice (replaces the "need it by" date box) ---------- */
.planner-h { font-weight: 600; margin-bottom: 8px; }
.turn-choice { display: grid; gap: 6px; }
.turn-choice button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border: 0; border-radius: 12px; background: #fff; color: var(--ink); font: inherit; text-align: left; cursor: pointer;
  box-shadow: 0 0 0 1px var(--hairline-soft) inset; transition: box-shadow .2s var(--ease), background .2s var(--ease); }
.turn-choice button:hover:not(:disabled) { box-shadow: 0 0 0 1px var(--hairline) inset; }
.turn-choice button[aria-checked="true"] { background: #f3f8ff; box-shadow: 0 0 0 2px var(--accent) inset; }
.turn-choice button:disabled { opacity: .55; cursor: not-allowed; }
.turn-choice i { flex: none; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid #86868b; background: #fff; transition: border .2s; }
.turn-choice button[aria-checked="true"] i { border: 5.5px solid var(--accent); }
.turn-choice span { display: grid; gap: 1px; flex: 1; min-width: 0; }
.turn-choice b { font-weight: 600; }
.turn-choice small { color: var(--ink-2); font-size: 0.75rem; font-variant-numeric: tabular-nums; }
.turn-choice em { font-style: normal; font-weight: 600; font-size: 0.8125rem; color: var(--ink-2); white-space: nowrap; }
.turn-choice button[aria-checked="true"] em { color: var(--accent); }
#plannerOut .fine { display: block; margin-top: 8px; }
.turn-choice button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Hero timeline: the clip under the playhead lights up */
.tl-track span { transition: outline-color .25s, filter .25s; filter: brightness(.75); }
.tl-track span.is-live { outline: 2px solid #ff453a; outline-offset: -2px; filter: none; }

/* ---------- Studio as a preliminary order menu (no timeline) ---------- */
.studio { grid-template-areas: "left center right"; }
.st-lines { list-style: none; margin: 0 0 6px; padding: 0; display: grid; gap: 4px; }
.st-lines li { display: flex; align-items: center; gap: 8px; padding: 8px 6px 8px 10px; border-radius: 10px; background: var(--st-field); transition: background .2s, box-shadow .2s; }
.st-lines li.on { box-shadow: 0 0 0 1px rgba(41,151,255,.55) inset; }
.st-line { flex: 1; min-width: 0; display: grid; gap: 1px; padding: 0; border: 0; background: none; color: #f5f5f7; font: inherit; text-align: left; cursor: pointer; }
span.st-line { cursor: default; }
.st-line b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-line small { color: var(--st-dim); font-size: 0.6875rem; }
.st-amt { font-weight: 600; font-variant-numeric: tabular-nums; }
.st-x { flex: none; width: 24px; height: 24px; border-radius: 50%; border: 0; background: none; color: #636366; display: grid; place-items: center; cursor: pointer; }
.st-x:hover { background: #3a3a3f; color: #fff; }
.st-x svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.st-rushline { background: rgba(255,214,10,.08) !important; }
.st-lines .st-empty { display: block; padding: 14px 12px; background: none; border: 1px dashed #3a3a3c; color: var(--st-dim); font-size: 0.75rem; text-align: center; }
.st-right .st-label:not(.st-h) { margin-top: 12px; }
.st-right .st-radios button { min-height: 40px; padding: 6px 12px; }
.st-total { padding-top: 14px; margin-top: 14px; }
@media (max-width: 1100px) { .studio { grid-template-areas: "center center" "left right"; } }
@media (max-width: 720px) { .studio { grid-template-areas: "center" "left" "right"; } }

/* Hero timeline clips are buttons */
.tl-track .tl-clip { padding: 0; border: 0; border-radius: 4px; background: #2c2c2e center/cover no-repeat; outline: 1px solid rgba(164,107,255,0.45); outline-offset: -1px;
  cursor: pointer; filter: brightness(.75); transition: filter .2s, outline-color .2s, transform .2s var(--ease-out); }
.tl-track .tl-clip:hover { filter: brightness(1); transform: translateY(-2px); }
.tl-track .tl-clip.is-live { outline: 2px solid #ff453a; outline-offset: -2px; filter: none; }
.tl-track .tl-clip:focus-visible { outline: 2px solid #fff; outline-offset: 1px; }
.tl-head { pointer-events: none; z-index: 2; }
@media (max-width: 600px) { .tl-track .tl-clip:nth-child(n+7) { display: none; } }

/* ---------- Studio refinements ---------- */
/* film rows: name over length, nothing cut off */
.st-fmt { min-height: 50px; padding: 6px 10px; }
.st-name { display: grid; gap: 1px; white-space: normal; overflow: visible; line-height: 1.2; }
.st-name > span { font-weight: 500; }
.st-name small { margin: 0; font-size: 0.6875rem; }
/* wedding length: four tiles instead of a slider */
.st-slider { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; padding: 2px 0 4px 28px; }
.st-slider button { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "n p" "l p"; align-items: center; column-gap: 6px; row-gap: 1px;
  padding: 8px 10px; border: 1px solid transparent; border-radius: 10px; background: var(--st-field); color: #f5f5f7; font: inherit; text-align: left; cursor: pointer; transition: border-color .2s, background .2s; }
.st-slider button span { grid-area: n; font-size: 0.75rem; font-weight: 600; }
.st-slider button small { grid-area: l; font-size: 0.625rem; color: var(--st-dim); }
.st-slider button b { grid-area: p; font-size: 0.75rem; font-weight: 600; font-variant-numeric: tabular-nums; color: #d1d1d6; }
.st-slider button:hover { background: #2a2a2f; }
.st-slider button.on { border-color: rgba(41,151,255,.65); background: rgba(41,151,255,.12); }
.st-slider button.on b { color: #fff; }
.st-slider.off button.on { border-color: transparent; background: var(--st-field); }
.st-slider button:focus-visible { outline: 2px solid var(--st-acc); outline-offset: 2px; }
/* preview fills its frame: no black bars */
.st-viewer { position: relative; min-height: 300px; }
.studio:not(.tall) .st-preview { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; }
.st-watch { display: none; }
.st-lower { bottom: 7%; }
.st-transport { padding: 0 2px; }
.st-now { text-align: left; }
@media (max-width: 720px) { .st-viewer { min-height: 0; aspect-ratio: 16 / 9; } .studio.tall .st-viewer { aspect-ratio: auto; } }
.st-slider { padding-left: 0; }
.st-slider button { grid-template-areas: "n n" "l p"; row-gap: 3px; padding: 8px 10px 7px; }
.st-slider button span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-slider button b { text-align: right; align-self: end; }

/* ---------- Studio: aspect ratio dropdown + framed crops ---------- */
.st-ratio { position: relative; display: inline-flex; align-items: center; height: 32px; padding: 0 8px; gap: 6px; border-radius: 9px; background: var(--st-field); color: #f5f5f7; cursor: pointer; }
.st-ratio:hover { background: #2c2c31; }
.st-ratio svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.st-ratio .st-chev { width: 12px; height: 12px; color: var(--st-dim); }
.st-ratio select { -webkit-appearance: none; appearance: none; border: 0; background: none; color: inherit; font: inherit; font-weight: 600; font-size: 0.75rem; padding: 0 2px; cursor: pointer; color-scheme: dark; }
.st-ratio select:focus { outline: none; }
.st-ratio:focus-within { box-shadow: 0 0 0 2px var(--st-acc); }
.st-ratio option { background: #1c1c1e; color: #f5f5f7; }
/* non-16:9: a centred frame of that shape, the film cropped inside it */
.studio.tall .st-viewer { background: #0a0a0b repeating-linear-gradient(135deg, rgba(255,255,255,.025) 0 10px, transparent 10px 20px); }
.studio.tall .st-preview { position: absolute; top: 12px; bottom: 12px; left: 50%; transform: translateX(-50%); height: auto; width: auto; aspect-ratio: var(--ar, 9 / 16);
  max-width: calc(100% - 24px); border-radius: 10px; box-shadow: 0 0 0 1px rgba(255,255,255,.14), 0 20px 50px rgba(0,0,0,.6); transition: aspect-ratio .4s var(--ease); }
.studio.tall .st-preview img { object-position: 50% 45%; }
.studio[data-aspect="9:16"] .st-lower b, .studio[data-aspect="4:5"] .st-lower b { font-size: 1.05rem; }
.studio[data-aspect="9:16"] .st-lower { left: 8%; right: 8%; bottom: 14%; }
@media (max-width: 720px) { .studio.tall .st-viewer { aspect-ratio: 4 / 5; } }

/* ---------- Studio: shaped by past orders (who, brief, most ordered, pairing) ---------- */
.st-seg button[role="radio"] { height: 28px; }
.st-seg button[aria-checked="true"] { background: #3a3a3f; color: #fff; }
.st-who { display: grid; grid-template-columns: 1fr 1fr; width: 100%; margin-bottom: 4px; }
.st-who button, .st-fill button { font-size: 0.75rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-fill { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; width: 100%; }
.st-slider button { position: relative; }
.st-slider button.is-top { padding-top: 16px; }
.st-top { position: absolute; top: -7px; left: 8px; padding: 2px 6px; border-radius: var(--pill); background: var(--st-acc); color: #fff; font: 600 0.5625rem/1.3 var(--font); font-style: normal; letter-spacing: .03em; text-transform: uppercase; }
.st-slider { padding-top: 8px; }
.st-pair { display: grid; grid-template-columns: 18px 1fr auto; align-items: center; gap: 8px; width: 100%; margin: 4px 0 2px; padding: 8px 10px; border-radius: 10px;
  border: 1px dashed rgba(41,151,255,.5); background: rgba(41,151,255,.06); color: #f5f5f7; font: inherit; text-align: left; cursor: pointer; transition: background .2s, border-color .2s; }
.st-pair:hover { background: rgba(41,151,255,.14); border-style: solid; }
.st-pair svg { width: 14px; height: 14px; fill: none; stroke: var(--st-acc); stroke-width: 1.8; stroke-linecap: round; }
.st-pair span { display: grid; gap: 1px; font-weight: 600; font-size: 0.75rem; }
.st-pair small { font-weight: 400; font-size: 0.625rem; color: var(--st-dim); }
.st-pair b { font-size: 0.75rem; font-variant-numeric: tabular-nums; color: #d1d1d6; }
.st-brief { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; padding-top: 12px; border-top: 1px solid var(--st-line); }
.st-brief .st-label { margin: 6px 0 6px; font-size: 0.75rem; }
.st-brief .st-label small { font-weight: 400; color: var(--st-dim); margin-left: 4px; }
.st-span { grid-column: 1 / -1; }
.st-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.st-chips button { height: 28px; padding: 0 11px; border-radius: var(--pill); border: 1px solid #3a3a3c; background: none; color: #d1d1d6; font: inherit; font-size: 0.75rem; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.st-chips button:hover { border-color: #636366; }
.st-chips button[aria-pressed="true"] { background: rgba(41,151,255,.16); border-color: var(--st-acc); color: #fff; }
.st-chips button[aria-pressed="true"]::before { content: "✓ "; }
.st-viewer { min-height: 260px; }
@media (max-width: 720px) { .st-brief { grid-template-columns: 1fr; } }

/* ---------- Studio: Teaser shape lives with the Teaser ---------- */
.st-ratios { display: none; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; margin: -2px 0 4px 28px; padding: 8px; border-radius: 10px;
  background: rgba(41,151,255,.07); border: 1px solid rgba(41,151,255,.28); position: relative; }
.st-ratios.open { display: grid; animation: st-open .25s var(--ease-out); }
.st-ratios::before { content: ""; position: absolute; left: 16px; top: -6px; width: 10px; height: 10px; background: #1b2230; border-left: 1px solid rgba(41,151,255,.28); border-top: 1px solid rgba(41,151,255,.28); transform: rotate(45deg); }
@keyframes st-open { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.st-ratios button { display: grid; justify-items: center; gap: 3px; padding: 7px 2px 6px; border: 1px solid transparent; border-radius: 8px; background: var(--st-field); color: #d1d1d6; font: inherit; cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.st-ratios button i { display: block; border: 1.5px solid currentColor; border-radius: 2px; margin-bottom: 2px; }
.st-ratios button span { font-size: 0.6875rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.st-ratios button small { font-size: 0.5625rem; color: var(--st-dim); white-space: nowrap; }
.st-ratios button:hover { background: #2a2a2f; }
.st-ratios button[aria-checked="true"] { border-color: var(--st-acc); background: rgba(41,151,255,.16); color: #fff; }
.st-ratios button[aria-checked="true"] i { border-color: var(--st-acc); background: rgba(41,151,255,.3); }
.st-ratios button:focus-visible { outline: 2px solid var(--st-acc); outline-offset: 2px; }
.st-fmt[data-row="teaser"].on .st-badge { border-color: var(--st-acc); color: #fff; background: rgba(41,151,255,.2); }
/* the same blue tag on the preview ties it back to the Teaser */
.st-tag { position: absolute; top: 12px; left: 12px; z-index: 3; padding: 4px 9px; border-radius: var(--pill); background: var(--st-acc); color: #fff; font-size: 0.6875rem; font-weight: 600; font-variant-numeric: tabular-nums; box-shadow: 0 4px 14px rgba(0,0,0,.35); }
.studio.tall .st-preview { box-shadow: 0 0 0 2px var(--st-acc), 0 20px 50px rgba(0,0,0,.6); }
.st-ratios { margin-left: 0; }
.st-ratios::before { left: 22px; }
#stSoft button { padding: 0 6px; }

/* ---------- Studio: Wedding / Commercial switch ---------- */
.st-mode-pane[hidden], .studio [data-pane][hidden] { display: none !important; }
.st-mode { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; padding: 3px; margin-bottom: 14px; border-radius: 11px; background: var(--st-field); }
.st-mode button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 34px; border: 0; border-radius: 8px; background: none; color: var(--st-dim); font: inherit; font-size: 0.8125rem; font-weight: 600; cursor: pointer; transition: background .2s, color .2s; }
.st-mode button svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.st-mode button:hover { color: #f5f5f7; }
.st-mode button[aria-checked="true"] { background: #f5f5f7; color: #111; }
.st-mode button:focus-visible { outline: 2px solid var(--st-acc); outline-offset: 2px; }
.st-kinds { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
.st-kinds button { min-height: 34px; padding: 6px 10px; border: 1px solid transparent; border-radius: 9px; background: var(--st-field); color: #d1d1d6; font: inherit; font-size: 0.75rem; font-weight: 600; text-align: left; line-height: 1.25; cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.st-kinds button:hover { background: #2a2a2f; }
.st-kinds button[aria-checked="true"] { border-color: var(--st-acc); background: rgba(41,151,255,.16); color: #fff; }
.st-row { display: flex; align-items: flex-end; gap: 12px; }
.st-row-note { margin: 0 0 6px; font-size: 0.6875rem; line-height: 1.35; }
.st-step { display: inline-flex; align-items: center; padding: 3px; border-radius: 9px; background: var(--st-field); }
.st-step button { width: 28px; height: 26px; border: 0; border-radius: 7px; background: #3a3a3f; color: #fff; font: inherit; font-size: 0.9375rem; line-height: 1; cursor: pointer; }
.st-step button:hover { background: #48484e; }
.st-step output { min-width: 30px; text-align: center; font-weight: 600; font-size: 0.8125rem; font-variant-numeric: tabular-nums; color: #f5f5f7; }
.st-ratios.st-multi { position: static; margin: 0 0 4px; padding: 0; background: none; border: 0; }
.st-ratios.st-multi::before { display: none; }
.st-ratios.st-multi button[aria-pressed="true"] { border-color: var(--st-acc); background: rgba(41,151,255,.16); color: #fff; }
.st-ratios.st-multi button[aria-pressed="true"] i { border-color: var(--st-acc); background: rgba(41,151,255,.3); }
.st-quote-note { margin: 6px 0 4px; padding: 10px 12px; border-radius: 10px; background: rgba(41,151,255,.1); color: #d1d1d6; font-size: 0.75rem; line-height: 1.45; }
#cmForm .st-lines li { cursor: default; }
#cmForm .st-line { cursor: default; }
#cmForm .st-line small { white-space: normal; }
#cmForm.is-sent input { opacity: .6; pointer-events: none; }
/* the brand sample still has cinema bars baked in: crop them out */
.studio.is-commercial .st-preview img { transform: scale(1.36); }
#cmLen button { padding: 0 2px; font-size: 0.6875rem; text-overflow: clip; }
.studio.is-commercial #stPrev, .studio.is-commercial #stNext { display: none; }

/* rail arrows: hide only on touch screens, keep them for mouse users at any width */
@media (hover: none) and (pointer: coarse) { .rail-controls { display: none; } }
/* commercial estimate */
.st-est { margin: 8px 0 4px; padding: 12px 14px; border-radius: 12px; background: var(--st-field); }
.st-est-h { margin: 0; font-size: 0.6875rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--st-dim); }
.st-est-range { margin: 2px 0 4px; font-size: 1.5rem; font-weight: 600; letter-spacing: -.01em; color: #f5f5f7; font-variant-numeric: tabular-nums; }
.st-est-cap { margin: 0; font-size: 0.75rem; line-height: 1.4; color: #d1d1d6; }

/* ---------- Order: "Tell us about the day" ---------- */
#detailsForm .headline-s { margin-bottom: .35rem; }
.details-lede { margin: 0 0 1.5rem; color: var(--ink-2); font-size: 0.9375rem; }
.details-card { margin: 0 0 14px; padding: 22px 22px 22px; border: 0; border-radius: 20px; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 8px 24px rgba(0,0,0,.04); min-width: 0; }
.details-card legend { float: left; width: 100%; display: flex; align-items: center; gap: 10px; margin: 0 0 14px; padding: 0; font-size: 1.0625rem; font-weight: 600; letter-spacing: -.01em; color: var(--ink); }
.details-card legend + * { clear: both; }
.details-n { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 0.75rem; font-weight: 600; }
.details-hint { margin: -6px 0 14px; font-size: 0.8125rem; color: var(--ink-2); }
.details-card .form-grid { gap: 12px; }
.details-card .field input, .details-card .field select, .details-card .field textarea { background-color: #f5f5f7; border-color: transparent; }
.details-card .field input:focus, .details-card .field select:focus, .details-card .field textarea:focus { background-color: #fff; border-color: var(--accent); }
.details-card .field textarea { min-height: 120px; }
.details-card .field input[type="date"] { padding-top: 1.5rem; line-height: 1.2; }
.details-card .field input[type="date"]::-webkit-date-and-time-value { text-align: left; }
.details-private { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 22px; border-radius: 20px; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 8px 24px rgba(0,0,0,.04); cursor: pointer; }
.details-private span { display: grid; gap: 2px; }
.details-private b { font-weight: 600; font-size: 0.9375rem; }
.details-private small { color: var(--ink-2); font-size: 0.8125rem; }
.details-private input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.details-private i { position: relative; flex: none; width: 46px; height: 28px; border-radius: 14px; background: #d1d1d6; transition: background .2s; }
.details-private i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .25s var(--ease); }
.details-private input:checked + i { background: #34c759; }
.details-private input:checked + i::after { transform: translateX(18px); }
.details-private input:focus-visible + i { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (max-width: 600px) {
  .details-card { padding: 18px 16px; border-radius: 18px; }
  .details-card .form-grid { grid-template-columns: 1fr; }
  .details-private { padding: 14px 16px; }
}

/* ---------- About: story chapters ---------- */
.story { list-style: none; margin: clamp(3rem, 7vw, 5.5rem) 0 0; padding: 0; position: relative; }
.story::before { content: ""; position: absolute; left: 7.5rem; top: .6rem; bottom: .6rem; width: 1px; background: linear-gradient(#3a3a3c, #3a3a3c 85%, transparent); }
.chapter { display: grid; grid-template-columns: 7.5rem 1fr; gap: 0 2.5rem; padding: 0 0 clamp(2.5rem, 5vw, 3.75rem); position: relative; }
.chapter:last-child { padding-bottom: 0; }
.chapter::after { content: ""; position: absolute; left: calc(7.5rem - 4px); top: .55rem; width: 9px; height: 9px; border-radius: 50%; background: #f5f5f7; box-shadow: 0 0 0 5px #000; }
.chapter-when { margin: .1rem 0 0; padding-right: 1.5rem; font-size: 0.8125rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #86868b; text-align: right; }
.chapter > div { padding-left: 2.5rem; max-width: 40rem; }
.chapter h2 { margin: 0 0 .6rem; font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.15; font-weight: 600; letter-spacing: -.015em; color: #f5f5f7; }
.chapter p { margin: 0; font-size: 1.125rem; line-height: 1.5; color: #a1a1a6; }
.chapter strong { color: #f5f5f7; font-weight: 600; }
.chapter:last-child::after { background: var(--accent, #0071e3); box-shadow: 0 0 0 5px #000, 0 0 0 9px rgba(0,113,227,.35); }
@media (max-width: 734px) {
  .story::before { left: 4px; }
  .chapter { grid-template-columns: 1fr; padding-left: 2rem; }
  .chapter::after { left: 0; }
  .chapter-when { text-align: left; padding: 0; margin-bottom: .4rem; }
  .chapter > div { padding-left: 0; }
  .chapter p { font-size: 1.0625rem; }
}

/* ---------- About: who you work with ---------- */
.handoff { list-style: none; counter-reset: h; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: clamp(2.5rem, 5vw, 3.5rem) 0 0; padding: 0; text-align: left; }
.handoff li { counter-increment: h; display: grid; gap: 6px; align-content: start; padding: 20px; border-radius: 18px; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 8px 24px rgba(0,0,0,.04); }
.handoff li::before { content: counter(h); display: grid; place-items: center; width: 26px; height: 26px; margin-bottom: 6px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 0.75rem; font-weight: 600; }
.handoff b { font-size: 1rem; font-weight: 600; letter-spacing: -.01em; }
.handoff span { font-size: 0.875rem; line-height: 1.4; color: var(--ink-2); }
@media (max-width: 900px) { .handoff { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .handoff { grid-template-columns: 1fr; } }

/* ---------- Home: works-with strip ---------- */
.works-with { margin-top: clamp(2.5rem, 5vw, 3.5rem); padding-top: clamp(2rem, 4vw, 2.75rem); border-top: 1px solid rgba(255,255,255,.12); text-align: center; }
.works-with-h { margin: 0 0 1.5rem; font-size: 0.8125rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #86868b; }
.works-with-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem 3.5rem; }
.ww-group { display: grid; gap: .75rem; justify-items: center; }
.ww-label { font-size: 0.75rem; color: #6e6e73; }
.ww-group ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 1.75rem; margin: 0; padding: 0; }
.ww-group li { font-size: clamp(1.0625rem, 1.6vw, 1.3125rem); font-weight: 600; letter-spacing: -.015em; color: #d1d1d6; white-space: nowrap; transition: color .2s; }
.ww-group li:hover { color: #fff; }
.ww-fine { margin: 1.5rem 0 0; font-size: 0.6875rem; color: #6e6e73; }
@media (max-width: 600px) { .ww-group ul { gap: .5rem 1.25rem; } }
/* decorative folders must not widen the page on phones */
.studio-sec { overflow-x: clip; }

/* Recent work: the first film starts near the left edge of the screen, not in line with the page column */
@media (min-width: 1100px) {
  #featuredRail { padding-left: min(var(--edge), max(var(--gutter), 3.5vw)); scroll-padding-inline: min(var(--edge), max(var(--gutter), 3.5vw)); }
}
