/* ClipBoost Spain — site styles. No framework. Tokens first, then components top to bottom of the page. */

/* ---------- Tokens ---------- */
:root {
  --paper: #F1F1EE;
  --paper-2: #E6E6E1;
  --ink: #121213;
  --ink-2: #4F5054;
  --ink-3: #66676B;
  --line: rgba(18, 18, 19, .14);
  --line-strong: rgba(18, 18, 19, .4);
  --accent: #D62D17;          /* tally red: the light on a camera that is rolling */
  --accent-hover: #B8240F;
  --accent-ink: #B4230F;      /* accent for small text on paper (5.8:1) */
  --on-accent: #FFFFFF;
  --offer-hot: #FF5A3C;       /* accent on the inverted offer strip */
  --screen: #0B0C0D;          /* the screening room behind the samples */
  --tick: rgba(18, 18, 19, .25);
  --tick-strong: rgba(18, 18, 19, .6);

  --f-display: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-mono: "Martian Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --gutter: 16px;
  --maxw: 1240px;
  --bar-h: 60px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0E0F10;
    --paper-2: #16181A;
    --ink: #ECEBE7;
    --ink-2: #A6A8AD;
    --ink-3: #8C8E93;
    --line: rgba(236, 235, 231, .13);
    --line-strong: rgba(236, 235, 231, .38);
    --accent: #FF4B2F;
    --accent-hover: #FF6A52;
    --accent-ink: #FF6A52;
    --on-accent: #0E0F10;
    --offer-hot: #B4230F;
    --screen: #060708;
    --tick: rgba(236, 235, 231, .22);
    --tick-strong: rgba(236, 235, 231, .55);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0E0F10;
  --paper-2: #16181A;
  --ink: #ECEBE7;
  --ink-2: #A6A8AD;
  --ink-3: #8C8E93;
  --line: rgba(236, 235, 231, .13);
  --line-strong: rgba(236, 235, 231, .38);
  --accent: #FF4B2F;
  --accent-hover: #FF6A52;
  --accent-ink: #FF6A52;
  --on-accent: #0E0F10;
  --offer-hot: #B4230F;
  --screen: #060708;
  --tick: rgba(236, 235, 231, .22);
  --tick-strong: rgba(236, 235, 231, .55);
  color-scheme: dark;
}

@media (min-width: 768px) { :root { --gutter: 32px; --bar-h: 64px; } }
@media (min-width: 1200px) { :root { --gutter: 48px; } }

/* ---------- Language switch: every line exists in both languages; the other one is hidden ---------- */
html[lang="es"] [lang="en"],
html[lang="en"] [lang="es"] { display: none !important; }

/* ---------- Contact route: until the WhatsApp number is set (site.js adds .no-wa), the buttons say
   "email me" and open a ready-made email instead ---------- */
html.no-wa .wa-only,
html:not(.no-wa) .mail-only { display: none !important; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--bar-h) + 24px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.55;
  font-stretch: 100%;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video, svg { max-width: 100%; }
img { display: block; height: auto; }
p { margin: 0 0 1em; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.wrap { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }
.mono { font-family: var(--f-mono); font-stretch: 87.5%; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip {
  position: absolute; left: 8px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 10px 14px; text-decoration: none; font-weight: 600;
}
.skip:focus { top: 8px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 12px 18px;
  font-family: var(--f-body); font-weight: 650; font-size: 1rem; line-height: 1.15; letter-spacing: .005em;
  text-decoration: none; text-align: center;
  border: 1.5px solid transparent; border-radius: 2px; cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn svg { flex: none; }
.btn--accent { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn--accent:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn--line { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--paper); }
.btn--sm { min-height: 40px; padding: 8px 13px; font-size: .92rem; }
.btn--lg { min-height: 52px; padding: 14px 22px; font-size: 1.05rem; }
.btn--xl { min-height: 64px; padding: 14px 24px; font-size: 1.125rem; justify-content: flex-start; }
.btn--block { width: 100%; }
.btn__stack { display: grid; text-align: left; gap: 2px; }
.btn__sub { font-family: var(--f-mono); font-stretch: 87.5%; font-size: .75rem; font-weight: 500; letter-spacing: .02em; opacity: .9; }
.btn__sub[hidden] { display: none; }

/* ---------- Header ---------- */
.bar { position: sticky; top: 0; z-index: 50; background: var(--paper); }
.bar__in { display: flex; align-items: center; gap: 12px; height: var(--bar-h); }
.brand {
  display: inline-flex; align-items: center;
  font-family: var(--f-display); font-stretch: 72%; font-weight: 850; font-size: 1.45rem; line-height: 1;
  text-transform: uppercase; letter-spacing: .01em; text-decoration: none; color: var(--ink);
}
.brand__cut { display: inline-block; width: 3px; height: 1.05em; background: var(--accent); margin: 0 .12em; transform: translateY(-.02em); }
.brand__es {
  margin-left: 9px; padding: 3px 5px 2px; border: 1px solid var(--line-strong);
  font-family: var(--f-mono); font-stretch: 87.5%; font-size: .65rem; font-weight: 500; letter-spacing: .06em; color: var(--ink-2);
}
.nav { display: none; }
.bar__tools { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.seg { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 2px; }
.seg__btn {
  min-width: 36px; min-height: 36px; padding: 0 8px; border: 0; background: transparent; cursor: pointer;
  font-family: var(--f-mono); font-stretch: 87.5%; font-size: .75rem; font-weight: 500; letter-spacing: .04em; color: var(--ink-2);
}
.seg__btn[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.iconbtn {
  display: grid; place-items: center; width: 38px; height: 38px; padding: 0; cursor: pointer;
  background: transparent; border: 1px solid var(--line-strong); border-radius: 2px; color: var(--ink);
}
.iconbtn:hover, .seg__btn:hover { border-color: var(--ink); }
.i-sun { display: none; }
html.is-dark .i-sun { display: block; }
html.is-dark .i-moon { display: none; }
.bar__wa { display: none; }

@media (min-width: 560px) { .bar__wa { display: inline-flex; } }
@media (min-width: 1000px) {
  .nav { display: flex; gap: 2px; margin-left: auto; }
  .nav a {
    padding: 8px 10px; text-decoration: none; color: var(--ink-2);
    font-size: .95rem; font-weight: 560;
  }
  .nav a:hover { color: var(--ink); }
  .nav a[aria-current="true"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--accent); }
  .bar__tools { margin-left: 18px; }
}

/* Timeline ruler under the header; the red playhead follows the scroll position */
.ruler {
  position: relative; height: 10px; border-bottom: 1px solid var(--line);
  background:
    repeating-linear-gradient(to right, var(--tick-strong) 0 1px, transparent 1px 100px) left bottom / 100% 9px no-repeat,
    repeating-linear-gradient(to right, var(--tick) 0 1px, transparent 1px 10px) left bottom / 100% 4px no-repeat;
}
.ruler__head { position: absolute; top: 0; bottom: -1px; left: calc(var(--p, 0) * (100% - 2px)); width: 2px; background: var(--accent); }
.ruler__head::before {
  content: ""; position: absolute; top: 0; left: -4px;
  border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 6px solid var(--accent);
}

/* ---------- Shared type ----------
   The mono face is kept for things that are data on an edit timeline: timecodes, ratios, durations,
   per-video prices, clip names. Everything else is set in Archivo, sentence case.
   Nothing that carries information is smaller than 12 px (.75rem). */
.marker, .hud, .film figcaption, .slate dt, .foot .mono, .viewer__cap .mono, .eyebrow__tc {
  font-family: var(--f-mono); font-stretch: 87.5%; letter-spacing: .04em; text-transform: uppercase;
}
.each, .offer__small, .clip__head, .player__label, .fmt__group button, .sample__meta b, .clipfig__cap b {
  font-family: var(--f-mono); font-stretch: 87.5%; letter-spacing: .02em;
}
.h2 {
  font-family: var(--f-display); font-stretch: 68%; font-weight: 820; text-transform: uppercase;
  font-size: clamp(2.35rem, 9.5vw, 4.4rem); line-height: .92; letter-spacing: -.003em;
  margin: 0 0 20px; max-width: 17ch; text-wrap: balance;
}
/* A plain, sentence-case heading for the personal sections (About, Contact) */
.h2--plain {
  font-stretch: 88%; font-weight: 760; text-transform: none;
  font-size: clamp(2rem, 7.2vw, 3.3rem); line-height: 1.02; letter-spacing: -.018em; max-width: 20ch;
}
.h3 { font-family: var(--f-body); font-weight: 720; font-size: 1.25rem; line-height: 1.2; letter-spacing: -.01em; margin: 0 0 8px; }
.sub { color: var(--ink-2); max-width: 52ch; font-size: 1.0625rem; }
.kicker { font-size: .875rem; font-weight: 650; letter-spacing: .005em; color: var(--accent-ink); margin: 0 0 8px; }
.fine { font-size: .86rem; color: var(--ink-2); max-width: 58ch; margin: 18px 0 0; }

/* Section marker: number, name, a hairline and the marker's timecode (like a marker on an edit timeline) */
.marker { display: flex; align-items: center; gap: 12px; font-size: .75rem; font-weight: 500; color: var(--ink-2); margin: 0 0 22px; }
.marker__no { color: var(--accent-ink); font-weight: 600; }
.marker__name { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; }
.marker__name::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.marker__tc { color: var(--ink-3); font-variant-numeric: tabular-nums; }

/* ---------- Hero ---------- */
.hero { padding: 26px 0 36px; }
.hero__grid { display: grid; gap: 30px; }
.eyebrow { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; font-size: .95rem; font-weight: 600; color: var(--ink-2); margin: 0; }
.eyebrow__tc { font-size: .75rem; font-weight: 500; color: var(--accent-ink); font-variant-numeric: tabular-nums; }
.hero__title {
  font-family: var(--f-display); font-stretch: 62%; font-weight: 880; text-transform: uppercase;
  font-size: clamp(3.9rem, 19.5vw, 6.6rem); line-height: .84; letter-spacing: -.006em;
  margin: 16px 0 20px;
}
.hero__lead { font-size: 1.1rem; line-height: 1.5; max-width: 38ch; margin: 0; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hero__cta .btn { flex: 1 1 100%; }
.hero__sample { margin: 16px 0 0; font-size: .95rem; color: var(--ink-2); }
.hero__sample a { color: var(--accent-ink); font-weight: 600; text-underline-offset: 3px; }
.spec { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; margin: 28px 0 0; border-top: 1px solid var(--line); }
.spec > div { padding: 12px 14px 0 0; margin-right: 14px; border-right: 1px solid var(--line); }
.spec > div:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.spec dt { font-size: .8rem; font-weight: 600; color: var(--ink-3); white-space: nowrap; line-height: 1.25; }
.spec dd { margin: 4px 0 0; font-family: var(--f-display); font-stretch: 75%; font-weight: 750; font-size: 1.25rem; line-height: 1.1; font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 359px) {
  .spec > div { padding-right: 10px; margin-right: 10px; }
  .spec dt { white-space: normal; }
}
@media (min-width: 400px) {
  .spec > div { padding-right: 22px; margin-right: 22px; }
  .spec dt { font-size: .82rem; }
  .spec dd { font-size: 1.4rem; }
}

.hero__media { margin: 0; }
.viewer { position: relative; aspect-ratio: 16 / 9; background: #000; color: #fff; overflow: hidden; margin-inline: calc(-1 * var(--gutter)); }
.viewer__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; background: #000; }
.viewer__hud {
  --m: rgba(255, 255, 255, .8);
  position: absolute; inset: 10px; pointer-events: none;
  background:
    linear-gradient(var(--m) 0 0) top left / 16px 1.5px, linear-gradient(var(--m) 0 0) top left / 1.5px 16px,
    linear-gradient(var(--m) 0 0) top right / 16px 1.5px, linear-gradient(var(--m) 0 0) top right / 1.5px 16px,
    linear-gradient(var(--m) 0 0) bottom left / 16px 1.5px, linear-gradient(var(--m) 0 0) bottom left / 1.5px 16px,
    linear-gradient(var(--m) 0 0) bottom right / 16px 1.5px, linear-gradient(var(--m) 0 0) bottom right / 1.5px 16px;
  background-repeat: no-repeat;
}
.hud { position: absolute; font-size: .75rem; font-weight: 500; text-shadow: 0 1px 2px rgba(0, 0, 0, .7); white-space: nowrap; }
.hud--tc { top: 7px; left: 10px; font-variant-numeric: tabular-nums; display: inline-flex; align-items: center; gap: 6px; }
.hud--tc::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .45); }
.viewer[data-state="playing"] .hud--tc::before { background: #FF4B2F; }
.hud--fmt { top: 7px; right: 10px; }
.hud--tag { bottom: 9px; right: 10px; }
.viewer__ctl { position: absolute; left: 14px; bottom: 12px; display: flex; gap: 6px; }
.vbtn {
  display: inline-flex; align-items: center; gap: 6px; height: 36px; min-width: 36px; padding: 0 10px; cursor: pointer;
  background: rgba(0, 0, 0, .55); color: #fff; border: 1px solid rgba(255, 255, 255, .35); border-radius: 2px;
  font-size: .8rem; font-weight: 600;
}
.vbtn:hover { background: rgba(0, 0, 0, .8); border-color: #fff; }
.viewer[data-state="playing"] .i-play, .viewer:not([data-state="playing"]) .i-pause { display: none; }
[data-hero-sound][aria-pressed="false"] .i-wave, [data-hero-sound][aria-pressed="true"] .i-x { display: none; }
[data-hero-sound][aria-pressed="true"] { background: #fff; color: #000; border-color: #fff; }
.viewer[data-state="empty"] .viewer__ctl, .viewer[data-state="empty"] .hud--tc { display: none; }
.viewer__cap { display: flex; gap: 10px; align-items: baseline; margin-top: 12px; font-size: .85rem; color: var(--ink-2); line-height: 1.45; }
.viewer__cap .mono { flex: none; font-size: .75rem; padding: 2px 6px; border: 1px solid var(--line-strong); color: var(--ink); }
.viewer__cap .mono[hidden] { display: none; }

@media (min-width: 560px) {
  .hero__cta .btn { flex: 0 1 auto; }
}
@media (min-width: 760px) {
  .viewer { margin-inline: 0; }
  .viewer__hud { inset: 16px; }
}
@media (min-width: 1000px) {
  .hero { padding: 56px 0 64px; }
  .hero__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
  .hero__title { font-size: clamp(5rem, 7.6vw, 7.4rem); }
}

/* ---------- Sections ---------- */
.sec { padding: 64px 0; }
.sec--tint { background: var(--paper-2); }
.sec__head { display: grid; gap: 4px 48px; margin-bottom: 36px; }
.sec__head .h2 { margin-bottom: 12px; }
@media (min-width: 1000px) {
  .sec { padding: 104px 0; }
  .sec__head { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: end; }
  .sec__head .h2 { margin-bottom: 0; }
  .sec__head > p { margin-bottom: 4px; }
}

/* The screening room: the samples always sit on a dark screen, whatever the theme */
.sec--dark {
  --paper: var(--screen);
  --paper-2: #141618;
  --ink: #ECEBE7;
  --ink-2: #A6A8AD;
  --ink-3: #8C8E93;
  --line: rgba(236, 235, 231, .14);
  --line-strong: rgba(236, 235, 231, .4);
  --accent: #FF4B2F;
  --accent-hover: #FF6A52;
  --accent-ink: #FF6A52;
  --on-accent: #0E0F10;
  background: var(--paper); color: var(--ink);
  border-block: 1px solid var(--line);
}
.note { color: var(--ink-2); max-width: 54ch; margin: 0; }
.note strong { color: var(--ink); font-weight: 650; }

/* ---------- Services ---------- */
.services { display: grid; border-top: 1px solid var(--line); margin-top: 30px; }
.service { padding: 28px 0 32px; border-bottom: 1px solid var(--line); }
.service__frames { display: flex; align-items: flex-end; gap: 8px; margin-bottom: 20px; }
/* A still from a sample in each format, framed like a camera viewfinder: corner marks, a centre
   cross and the aspect ratio */
.aframe {
  --m: rgba(255, 255, 255, .85);
  position: relative; overflow: hidden; background: #000; color: #fff;
  border: 1.5px solid var(--ink);
  font-family: var(--f-mono); font-stretch: 87.5%; font-size: .75rem; font-weight: 500; letter-spacing: .02em;
}
.aframe img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.aframe::before {
  content: ""; position: absolute; inset: 6px; z-index: 1; pointer-events: none;
  background:
    linear-gradient(var(--m) 0 0) top left / 8px 1.5px, linear-gradient(var(--m) 0 0) top left / 1.5px 8px,
    linear-gradient(var(--m) 0 0) top right / 8px 1.5px, linear-gradient(var(--m) 0 0) top right / 1.5px 8px,
    linear-gradient(var(--m) 0 0) bottom left / 8px 1.5px, linear-gradient(var(--m) 0 0) bottom left / 1.5px 8px,
    linear-gradient(var(--m) 0 0) bottom right / 8px 1.5px, linear-gradient(var(--m) 0 0) bottom right / 1.5px 8px;
  background-repeat: no-repeat;
}
.aframe::after { content: ""; position: absolute; z-index: 1; left: 50%; top: 50%; width: 11px; height: 11px; margin: -6px 0 0 -6px;
  background: linear-gradient(#FF4B2F 0 0) center / 100% 1.5px no-repeat, linear-gradient(#FF4B2F 0 0) center / 1.5px 100% no-repeat; }
.aframe span { position: absolute; z-index: 1; left: 9px; bottom: 7px; line-height: 1; text-shadow: 0 1px 3px rgba(0, 0, 0, .9); }
.aframe--v { height: 120px; aspect-ratio: 9 / 16; }
.aframe--h { width: 190px; aspect-ratio: 16 / 9; }
.aframe--small { height: 107px; }
.aframe--small span { left: 7px; bottom: 6px; }
.ticks { list-style: none; padding: 0; margin: 16px 0 0; }
.ticks li { position: relative; padding: 7px 0 7px 22px; border-top: 1px solid var(--line); font-size: .98rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 19px; width: 11px; height: 2px; background: var(--accent); }
.service__price { margin: 18px 0 0; font-weight: 650; }
.service__price a { display: inline-block; margin-top: 4px; color: var(--accent-ink); font-weight: 600; text-underline-offset: 3px; white-space: nowrap; }
@media (min-width: 900px) {
  .services { grid-template-columns: 1fr 1fr; }
  .service { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 28px; padding: 40px 36px 44px 0; }
  .service + .service { border-left: 1px solid var(--line); padding-left: 36px; padding-right: 0; }
  .service__frames { flex-direction: column; align-items: flex-start; height: auto; margin: 6px 0 0; gap: 10px; }
  .aframe--v { height: 200px; }
  .aframe--h { width: 160px; }
  .aframe--small { height: 120px; }
}

/* ---------- Samples ---------- */
.samples { display: grid; gap: 56px; }
.sample { display: grid; gap: 18px; grid-template-areas: "head" "stage" "raw"; }
.sample__head { grid-area: head; }
.sample__stage { grid-area: stage; min-width: 0; }
.sample__raw { grid-area: raw; min-width: 0; }
.sample__type { font-size: .875rem; font-weight: 650; color: var(--accent-ink); margin: 0; }
.sample__title {
  font-family: var(--f-display); font-stretch: 70%; font-weight: 820; text-transform: uppercase;
  font-size: clamp(2.2rem, 9vw, 3.4rem); line-height: .92; margin: 8px 0 12px;
}
.sample__flag { display: inline-block; margin: 0; padding: 4px 9px; border: 1px solid var(--line-strong); font-size: .82rem; font-weight: 500; line-height: 1.35; color: var(--ink-2); }
.sample__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 14px 0 0; padding: 0; list-style: none; font-size: .875rem; color: var(--ink-2); }
.sample__meta b { color: var(--ink); font-weight: 600; font-size: .8rem; margin-left: 4px; }

.pair { display: grid; gap: 14px; }
.clipfig { margin: 0; min-width: 0; }
.clipfig--side { display: none; }
.clipfig__cap { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-top: 9px; font-size: .875rem; color: var(--ink-2); }
.clipfig__cap b { color: var(--ink); font-weight: 600; font-size: .8rem; }
.player { position: relative; background: #000; aspect-ratio: 16 / 9; width: 100%; margin-inline: auto; overflow: hidden; }
.player[data-format="9x16"] { aspect-ratio: 9 / 16; width: min(100%, calc(min(78vh, 700px) * 9 / 16)); }
.player video, .player > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: block; background: #000; }
@media (min-width: 1000px) {
  .sample--featured .pair--two { grid-template-columns: minmax(0, 256fr) minmax(0, 81fr); gap: 12px; align-items: start; }
  .sample--featured .pair--two .clipfig--side { display: block; }
  .sample--featured .pair--two .clipfig--side .player { width: 100%; }
  .sample--featured .pair--two .clipfig--main .player { aspect-ratio: 16 / 9; width: 100%; }
  .sample--featured .pair--two + .fmt { display: none; }
  .clipfig--side .pp { width: 52px; height: 52px; }
}
.player__play {
  position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  border: 0; padding: 0; cursor: pointer; color: #fff;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, .55));
}
.player__play::before {
  --m: rgba(255, 255, 255, .75);
  content: ""; position: absolute; inset: 12px; pointer-events: none;
  background:
    linear-gradient(var(--m) 0 0) top left / 14px 1.5px, linear-gradient(var(--m) 0 0) top left / 1.5px 14px,
    linear-gradient(var(--m) 0 0) top right / 14px 1.5px, linear-gradient(var(--m) 0 0) top right / 1.5px 14px,
    linear-gradient(var(--m) 0 0) bottom left / 14px 1.5px, linear-gradient(var(--m) 0 0) bottom left / 1.5px 14px,
    linear-gradient(var(--m) 0 0) bottom right / 14px 1.5px, linear-gradient(var(--m) 0 0) bottom right / 1.5px 14px;
  background-repeat: no-repeat;
}
.pp { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; border: 1.5px solid #fff; background: rgba(0, 0, 0, .35); transition: background-color .15s, border-color .15s; }
.pp svg { margin-left: 4px; }
.player__play:hover .pp, .player__play:focus-visible .pp { background: #FF4B2F; border-color: #FF4B2F; }
.player__label { position: absolute; left: 30px; bottom: 16px; font-size: .75rem; font-weight: 500; text-shadow: 0 1px 2px rgba(0, 0, 0, .7); }
.player[data-state="playing"] .player__play,
.player[data-state="paused"] .player__play { display: none; }
.player[data-state="preview"] .player__play { background: transparent; }
.player[data-state="preview"] .pp { opacity: .85; }

.fmt { display: flex; align-items: center; gap: 10px; margin-top: 12px; font-size: .875rem; font-weight: 500; color: var(--ink-2); }
.fmt__group { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 2px; }
.fmt__group button {
  min-height: 40px; padding: 0 14px; border: 0; background: transparent; cursor: pointer; color: var(--ink-2);
  font-size: .8rem; font-weight: 500;
}
.fmt__group button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }

.raw__label { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: .9rem; font-weight: 600; color: var(--ink-2); }
.raw__label .arrow { color: var(--accent-ink); flex: none; }
.film {
  position: relative; display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 3px;
  margin: 0; padding: 11px 3px; list-style: none; background: #000;
}
.film::before, .film::after {
  content: ""; position: absolute; left: 0; right: 0; height: 4px;
  background: repeating-linear-gradient(to right, transparent 0 5px, rgba(255, 255, 255, .28) 5px 11px);
}
.film::before { top: 4px; }
.film::after { bottom: 4px; }
.film li { position: relative; margin: 0; }
.film figure { margin: 0; }
.film img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #1a1a1a; }
.film figcaption { position: absolute; left: 5px; bottom: 3px; font-size: .65rem; font-weight: 500; color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, .9); }
.film__final { display: none; }
.film__final img { outline: 2px solid #FF4B2F; outline-offset: -2px; }
.raw__cap { color: var(--ink-2); font-size: .9rem; margin: 12px 0 0; max-width: 52ch; }

@media (min-width: 600px) {
  .film.has-final { grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)) 18px minmax(0, 1fr); }
  .film__arrow { display: grid; place-items: center; color: #FF4B2F; }
  .film__final { display: block; }
}
.film__arrow { display: none; }
.film__arrow .arrow { width: 14px; height: auto; }
@media (min-width: 600px) { .film.has-final .film__arrow { display: grid; } }

@media (min-width: 1000px) {
  .sample--featured {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    grid-template-areas: "head raw" "stage stage";
    gap: 32px 56px; align-items: end;
  }
  .sample--featured .raw__cap { margin-bottom: 0; }
  .samples--rest { grid-template-columns: 1fr 1fr; gap: 56px 40px; }
}

.samples[hidden], .note[hidden], .credit[hidden] { display: none; }
.more { margin: 56px 0 0; padding-top: 20px; border-top: 1px solid var(--line); color: var(--ink-2); max-width: 60ch; }
.more a { color: var(--accent-ink); font-weight: 650; text-underline-offset: 3px; }
.credit { margin: 18px 0 0; font-size: .8rem; color: var(--ink-3); line-height: 1.6; max-width: 70ch; }

/* ---------- Prices ---------- */
.offer {
  display: grid; grid-template-columns: minmax(0, 1fr); margin: 0 0 44px;
  background: var(--ink); color: var(--paper);
}
.offer__slate { height: 14px; background: repeating-linear-gradient(-55deg, var(--paper) 0 13px, var(--ink) 13px 26px); }
.offer__body { padding: 20px 20px 4px; }
.offer__kicker { margin: 0 0 8px; font-size: .95rem; font-weight: 650; color: var(--offer-hot); }
.offer__deal {
  margin: 0; font-family: var(--f-display); font-stretch: 68%; font-weight: 840; text-transform: uppercase;
  font-size: clamp(2.3rem, 10vw, 3.6rem); line-height: .92;
}
.offer__deal b { color: var(--offer-hot); font-weight: 880; }
.offer__small { margin: 10px 0 0; font-size: .8rem; opacity: .8; }
.offer .btn { margin: 16px 20px 20px; justify-self: start; }
@media (min-width: 760px) {
  .offer { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
  .offer__slate { grid-column: 1 / -1; }
  .offer__body { padding: 26px 28px; }
  .offer .btn { margin: 0 28px 0 0; }
}

.rates { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--ink); }
.rate { display: grid; gap: 12px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.rate__name .h3 { font-size: 1.35rem; }
.rate__name p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.rate__qty { display: flex; align-items: baseline; gap: 8px; }
.num { font-family: var(--f-display); font-stretch: 68%; font-weight: 820; font-size: 2.6rem; line-height: .9; font-variant-numeric: tabular-nums; }
.unit { font-size: .875rem; font-weight: 500; color: var(--ink-2); }
.rate__inc { list-style: none; margin: 0; padding: 0; }
.rate__inc li { position: relative; padding: 4px 0 4px 20px; font-size: .95rem; }
.rate__inc li::before { content: ""; position: absolute; left: 0; top: 15px; width: 10px; height: 2px; background: var(--accent); }
.rate__price { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 14px; margin-top: 4px; }
.rate__price .price, .rate__price .each { grid-column: 1; }
.rate__price .btn { grid-column: 2; grid-row: 1 / span 2; }
.price { margin: 0; font-family: var(--f-display); font-stretch: 75%; font-weight: 800; font-size: 2rem; line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.price small { font-family: var(--f-body); font-stretch: 100%; font-size: .9rem; font-weight: 500; color: var(--ink-2); margin-left: 3px; }
.price--quote { font-size: 1.45rem; white-space: normal; }
.each { margin: 0; font-size: .75rem; color: var(--ink-3); }
@media (min-width: 900px) {
  .rate {
    grid-template-columns: minmax(0, 3fr) minmax(0, 1.25fr) minmax(0, 3.3fr) minmax(0, 2.3fr);
    gap: 28px; padding: 30px 0; align-items: start;
  }
  .rate__qty { flex-direction: column; gap: 4px; }
  .rate__price { grid-template-columns: minmax(0, 1fr); justify-items: end; text-align: right; gap: 8px; margin-top: 0; }
  .rate__price .btn { grid-column: 1; grid-row: auto; margin: 6px 0 0; }
}

/* ---------- Process: three clips on a timeline track ---------- */
.track { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 10px; }
.clip { background: var(--paper); border: 1px solid var(--line); padding: 0 20px 22px; }
.clip__head {
  display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; margin: 0 -20px 18px; padding: 7px 12px;
  background: var(--ink); color: var(--paper); font-size: .75rem; font-weight: 500;
}
.clip__head > span:first-child { padding: 1px 5px; border: 1px solid currentColor; opacity: .75; }
.clip:nth-child(2) .clip__head { background: var(--accent); color: var(--on-accent); }
.clip p:last-child { margin: 0; color: var(--ink-2); }
@media (min-width: 900px) {
  .track { grid-template-columns: 3fr 4fr 3fr; gap: 4px; }
}

/* ---------- Shot list ---------- */
.shots { display: grid; border-top: 1px solid var(--line); }
.shotlist { padding: 22px 0 26px; border-bottom: 1px solid var(--line); }
.shotlist__title { font-family: var(--f-body); font-weight: 720; font-size: 1.1rem; margin: 0 0 12px; }
.shotlist ol { list-style: none; margin: 0; padding: 0; counter-reset: shot; }
.shotlist li { counter-increment: shot; display: grid; grid-template-columns: 2.2em minmax(0, 1fr); padding: 8px 0; border-top: 1px dashed var(--line); font-size: .98rem; }
.shotlist li::before { content: counter(shot, decimal-leading-zero); font-size: .85rem; font-weight: 600; color: var(--ink-3); font-variant-numeric: tabular-nums; padding-top: .1em; }
@media (min-width: 640px) {
  .shots { grid-template-columns: 1fr 1fr; column-gap: 32px; }
}
@media (min-width: 1100px) {
  .shots { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ---------- About: a film slate instead of a photo ---------- */
.about__grid { display: grid; gap: 36px; }
.slate { width: 100%; max-width: 440px; background: #121213; color: #ECEBE7; border-radius: 3px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
/* closed clapper: two striped sticks, stripes leaning opposite ways, a hinge pin on the left */
.slate__sticks { position: relative; height: 42px; border-bottom: 2px solid #121213; }
.slate__sticks::before, .slate__sticks::after {
  content: ""; position: absolute; left: 0; right: 0; height: 19px;
  background: repeating-linear-gradient(-55deg, #ECEBE7 0 15px, #121213 15px 30px);
}
.slate__sticks::before { top: 0; }
.slate__sticks::after { bottom: 0; background: repeating-linear-gradient(55deg, #ECEBE7 0 15px, #121213 15px 30px); }
.slate__board { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px; padding: 22px; }
.slate__mono {
  font-family: var(--f-display); font-stretch: 62%; font-weight: 900; font-size: 7.5rem; line-height: .78;
  color: #FF4B2F; padding-right: 20px; border-right: 1px solid rgba(236, 235, 231, .2);
}
.slate__fields { margin: 0; align-self: center; }
.slate__fields > div { display: grid; grid-template-columns: 6.4em minmax(0, 1fr); gap: 8px; padding: 7px 0; border-bottom: 1px solid rgba(236, 235, 231, .16); }
.slate__fields > div:last-child { border-bottom: 0; }
.slate dt { font-size: .75rem; font-weight: 500; line-height: 1.25; opacity: .72; padding-top: .2em; }
.slate dd { margin: 0; font-weight: 600; font-size: .95rem; }
.about__title { max-width: 18ch; }
@media (min-width: 900px) {
  .about__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; }
}

/* ---------- Contact ---------- */
.contact { display: grid; gap: 44px; }
.contact__direct .btn--xl { width: 100%; margin-top: 10px; }
.mail { margin-top: 30px; padding-top: 16px; border-top: 1px solid var(--line); }
.mail__label { margin: 0 0 8px; font-size: .9rem; font-weight: 650; color: var(--ink-2); }
.mail__row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 0; }
.mail__addr { font-size: 1.2rem; font-weight: 650; color: var(--ink); text-underline-offset: 5px; text-decoration-thickness: 1px; overflow-wrap: anywhere; }
.copy__done { display: none; }
[data-copied] .copy__idle { display: none; }
[data-copied] .copy__done { display: inline; }

.form { background: var(--paper-2); border: 1px solid var(--line); padding: 22px 18px; }
.form__title { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; font-size: 1.05rem; font-weight: 700; color: var(--ink); }
.form__title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.field { margin: 0 0 16px; }
.field label { display: block; font-weight: 650; font-size: .95rem; margin: 0 0 6px; }
.opt { font-weight: 400; color: var(--ink-3); }
.field input, .field select, .field textarea {
  display: block; width: 100%; min-height: 48px; padding: 11px 12px;
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper);
  border: 1px solid var(--line-strong); border-radius: 2px;
}
.field textarea { resize: vertical; min-height: 110px; line-height: 1.45; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%;
  background-size: 5px 5px, 5px 5px; background-repeat: no-repeat;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
.field__err { display: none; margin: 6px 0 0; color: var(--accent-ink); font-size: .86rem; font-weight: 600; }
.field.is-invalid .field__err { display: block; }
.field.is-invalid input { border-color: var(--accent); }
.form__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.form__actions .btn { flex: 1 1 200px; }
@media (min-width: 768px) { .form { padding: 30px; } }
@media (min-width: 1000px) {
  .contact { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; align-items: start; }
  .contact__direct .btn--xl { width: auto; min-width: 360px; }
}

/* ---------- Footer ---------- */
.foot { padding: 56px 0 28px; border-top: 1px solid var(--line); }
.foot__mark {
  display: flex; align-items: center; margin: 0 0 26px;
  font-family: var(--f-display); font-stretch: 62%; font-weight: 900; text-transform: uppercase;
  font-size: clamp(2.75rem, 12vw, 7rem); line-height: .8; letter-spacing: -.01em; color: var(--ink);
}
.foot__mark .brand__cut { width: .045em; height: .82em; margin: 0 .07em; }
.foot__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; padding: 14px 0; border-top: 1px solid var(--line); color: var(--ink-2); font-size: .92rem; }
.foot__row p { margin: 0; }
.foot__row a { color: var(--ink); text-underline-offset: 3px; }
.foot__row--small { font-size: .8rem; }
.foot .mono { font-size: .75rem; font-weight: 500; color: var(--ink-3); }

/* ---------- Mobile WhatsApp dock (appears after the hero, hides at the contact section) ---------- */
.dock { display: none; }
@media (max-width: 759px) {
  .dock {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
    background: var(--paper); border-top: 1px solid var(--line);
    transform: translateY(110%); transition: transform .25s ease; visibility: hidden;
  }
  .dock[data-show] { transform: none; visibility: visible; }
  .foot { padding-bottom: 96px; }
}
