/* THONISCAPE site styles
   Brand colours carried over from Soni+AI: indigo #2D2E83 and orange #FF5A36. */

:root {
  color-scheme: dark;
  --ground: #14154a;      /* page background, a deeper cut of the brand indigo */
  --indigo: #2d2e83;      /* brand indigo */
  --indigo-2: #1d1e5e;    /* raised surfaces */
  --dusk: #4a4cb0;        /* lighter indigo for variety on title cards */
  --orange: #ff5a36;      /* brand orange */
  --orange-soft: #ff7a5c;
  --text: #f3f2fb;
  --muted: #b3b5de;
  --line: rgba(243, 242, 251, 0.34);
  --on-orange: #14154a;

  --display: "Archivo", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --body: "Newsreader", Georgia, "Times New Roman", serif;
  --ui: "Archivo", "Helvetica Neue", Arial, sans-serif;

  --radius: 18px;
  --gutter: clamp(16px, 3vw, 32px);
  --max: 1320px;
  --header-h: 64px;
}

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

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

body {
  margin: 0;
  background: var(--ground);
  color: var(--text);
  font-family: var(--ui);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img, video, iframe { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--orange); color: var(--on-orange); padding: 8px 14px; z-index: 100; font-weight: 700; }
.skip:focus { left: 8px; }

/* ---------- Type ---------- */
.display {
  font-family: var(--display);
  font-stretch: 125%;
  font-weight: 850;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: -0.01em;
  text-wrap: balance;
  margin: 0;
}
.label {
  font-family: var(--ui);
  font-stretch: 112%;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}
.prose { font-family: var(--body); font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.55; max-width: 62ch; }
.prose p { margin: 0 0 1em; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
main { padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); }
.stack { display: grid; gap: clamp(20px, 3vw, 28px); padding-block: clamp(16px, 2vw, 24px) 0; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  background: var(--ground);
}
.site-header .wrap { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 19px; height: 27px; flex: none; }
.brand-word { font-family: var(--display); font-stretch: 125%; font-weight: 800; font-size: 1.3rem; letter-spacing: 0.06em; display: inline-flex; align-items: center; line-height: 1; }
.brand-word .o, .footer-word .o { height: .74em; width: auto; margin: 0 .06em; color: var(--orange); flex: none; }
.brand-word .o path, .footer-word .o path { fill: currentColor; }
.brand-word .o path + path, .footer-word .o path + path { fill: none; stroke: currentColor; }
.menu .brand-word .o { color: var(--on-orange); }
.header-actions { display: flex; align-items: center; gap: 18px; }
.header-cta { display: none; text-decoration: none; border: 1.5px dashed var(--orange); color: var(--orange); padding: 8px 14px; border-radius: 4px; }
.header-cta:hover { background: var(--orange); color: var(--on-orange); border-style: solid; }
@media (min-width: 760px) { .header-cta { display: inline-block; } }
.menu-btn { background: none; border: 0; cursor: pointer; padding: 8px 0; font-family: var(--display); font-stretch: 125%; font-weight: 800; font-size: 1.05rem; letter-spacing: 0.02em; }

/* ---------- Menu overlay ---------- */
.menu {
  position: fixed; inset: 0; z-index: 60;
  background: var(--orange); color: var(--on-orange);
  display: flex; flex-direction: column;
  padding: calc(env(safe-area-inset-top, 0px)) 0 calc(24px + env(safe-area-inset-bottom, 0px));
  transform: translateY(-100%); visibility: hidden;
  transition: transform 0.45s cubic-bezier(.7,0,.2,1), visibility 0s linear 0.45s;
}
body.menu-open .menu { transform: none; visibility: visible; transition: transform 0.45s cubic-bezier(.7,0,.2,1); }
body.menu-open { overflow: hidden; }
.menu .wrap:first-child { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; }
.menu nav { flex: 1; display: flex; align-items: center; }
.menu ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.menu nav a { text-decoration: none; font-size: clamp(2.6rem, 10vw, 7rem); display: inline-block; }
.menu nav a:hover, .menu nav a[aria-current="page"] { -webkit-text-stroke: 2px var(--on-orange); color: transparent; }
.menu-foot { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.menu-foot a { text-decoration: none; }
.menu-foot a:hover { text-decoration: underline; }

/* ---------- Feature (hero) ---------- */
.feature {
  background: var(--orange); color: var(--on-orange);
  border-radius: var(--radius);
  padding: clamp(36px, 6vw, 84px) clamp(20px, 5vw, 64px);
  display: grid; justify-items: center; text-align: center; gap: clamp(16px, 2.4vw, 26px);
}
.feature h1 { font-size: clamp(3.2rem, 13vw, 10.5rem); }
.feature .native { font-family: var(--body); font-style: italic; font-size: clamp(1.6rem, 4vw, 3rem); line-height: 1; margin-top: -0.2em; }
.feature .badge { border: 2px solid var(--on-orange); border-radius: 999px; padding: 6px 16px; }
.feature .logline { font-family: var(--display); font-stretch: 100%; font-weight: 700; font-size: clamp(1.05rem, 2vw, 1.45rem); line-height: 1.3; max-width: 44ch; margin: 0; text-wrap: balance; }
.feature .tagline { font-family: var(--body); font-style: italic; font-size: clamp(1.05rem, 1.8vw, 1.3rem); margin: 0; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display); font-stretch: 112%; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em;
  font-size: 1rem; text-decoration: none; cursor: pointer;
  padding: 16px 26px; border-radius: 4px; background: transparent;
  border: 2px dashed currentColor;
  transition: background .2s, color .2s;
}
.feature .btn:hover { background: var(--on-orange); color: var(--orange); border-style: solid; }
.btn-solid { background: var(--orange); color: var(--on-orange); border: 2px solid var(--orange); }
.btn-solid:hover { background: transparent; color: var(--orange); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* ---------- Reel ---------- */
.reel {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 16 / 9; max-width: 100%;
  background:
    radial-gradient(120% 90% at 20% 110%, rgba(255,90,54,.55), transparent 55%),
    radial-gradient(90% 80% at 90% -10%, rgba(74,76,176,.9), transparent 60%),
    var(--indigo);
}
.reel video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20,21,74,.85), rgba(20,21,74,0) 55%); }
.reel-copy { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: clamp(18px, 4vw, 48px); display: grid; gap: 10px; }
.reel-copy .display { font-size: clamp(1.8rem, 6.5vw, 5.6rem); }
.reel-copy .display span { display: block; }
.reel-copy .display span:nth-child(2) { color: var(--orange); }

/* ---------- Sections ---------- */
.section { padding-block: clamp(56px, 8vw, 110px) 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-bottom: clamp(18px, 2.4vw, 28px); border-bottom: 1.5px dashed var(--line); margin-bottom: clamp(22px, 3vw, 36px); }
.section-head h2 { font-size: clamp(2.4rem, 8vw, 6rem); }
.section-head .count { color: var(--muted); }
.section-intro { color: var(--muted); margin: 0 0 clamp(22px, 3vw, 36px); }

/* Coming soon list */
.soon { list-style: none; margin: 0; padding: 0; }
.soon li { border-bottom: 1.5px dashed var(--line); }
.soon a, .soon .row {
  display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 6px 24px;
  padding-block: clamp(16px, 2.4vw, 26px); text-decoration: none;
}
.soon .title { font-size: clamp(1.8rem, 5.4vw, 4.2rem); }
.soon .title small { display: block; font-family: var(--body); font-style: italic; font-weight: 400; text-transform: none; font-stretch: 100%; font-size: 0.42em; letter-spacing: 0; color: var(--orange); margin-top: 0.35em; }
.soon .meta { color: var(--muted); text-align: right; }
.soon a:hover .title { color: var(--orange); }
@media (max-width: 560px) { .soon a, .soon .row { grid-template-columns: 1fr; } .soon .meta { text-align: left; } }

/* Filter chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(22px, 3vw, 32px); }
.chip { background: transparent; border: 1.5px solid var(--line); border-radius: 999px; padding: 8px 16px; cursor: pointer; }
.chip:hover { border-color: var(--text); }
.chip[aria-pressed="true"] { background: var(--text); color: var(--ground); border-color: var(--text); }

/* Cards */
.grid { display: grid; gap: clamp(28px, 4vw, 48px) clamp(20px, 3vw, 36px); grid-template-columns: 1fr; }
@media (min-width: 820px) { .grid { grid-template-columns: 1fr 1fr; } }
.card {
  display: grid; gap: 16px; text-align: center;
  background: none; border: 0; padding: 0 0 clamp(20px, 2.6vw, 28px); cursor: pointer;
  border-bottom: 1.5px dashed var(--line); width: 100%;
}
.card .frame { position: relative; border-radius: calc(var(--radius) - 4px); overflow: hidden; aspect-ratio: 16 / 9; max-width: 100%; outline: 3px solid transparent; outline-offset: 0; transition: outline-color .2s; }
.card .frame > * { transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.card:hover .frame, .card:focus-visible .frame { outline-color: var(--orange); }
.card:hover .frame > *, .card:focus-visible .frame > * { transform: scale(1.035); }
.card:focus-visible { outline: none; }
.card .cap { display: grid; gap: 4px; justify-items: center; }
.card .cap .name { font-family: var(--display); font-stretch: 125%; font-weight: 800; text-transform: uppercase; font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.05; text-wrap: balance; }
.card .cap .meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; }
.card .cap .meta .client { color: var(--orange); }
.card .count { position: absolute; top: 12px; right: 12px; z-index: 2; background: var(--ground); color: var(--text); border-radius: 999px; padding: 5px 11px; font-size: .7rem; }

a.card { text-decoration: none; color: inherit; }
.cta-frame { border: 2px dashed var(--orange); display: grid; }
.cta-inner { display: grid; align-content: center; justify-items: center; gap: 10px; padding: 20px; color: var(--orange); }
.cta-inner .ptitle { font-family: var(--display); font-stretch: 125%; font-weight: 900; text-transform: uppercase; line-height: .9; font-size: clamp(1.7rem, 4.6vw, 3.2rem); }
.card:hover .cta-frame { background: rgba(255, 90, 54, .1); }

/* Poster: image or typographic title card */
.poster-img { width: 100%; height: 100%; object-fit: cover; }
.poster {
  --tc: var(--indigo); --tt: var(--text); --tk: var(--orange);
  position: absolute; inset: 0; background: var(--tc); color: var(--tt);
  display: grid; grid-template-rows: auto 1fr auto; padding: clamp(14px, 2.6vw, 26px); text-align: left;
  isolation: isolate; overflow: hidden;
}
.poster::before {
  content: ""; position: absolute; inset: -20%; z-index: -1;
  background:
    radial-gradient(60% 70% at 85% 15%, color-mix(in srgb, var(--tk) 55%, transparent), transparent 70%),
    radial-gradient(70% 60% at 0% 100%, rgba(0,0,0,.35), transparent 70%);
}
.poster::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .18; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.poster .top { display: flex; justify-content: space-between; gap: 12px; font-size: clamp(.6rem, 1.1vw, .72rem); opacity: .85; }
.poster .horizon { align-self: center; justify-self: end; width: clamp(24px, 4.4vw, 50px); opacity: .95; color: var(--tk); }
.poster .ptitle { font-family: var(--display); font-stretch: 125%; font-weight: 900; text-transform: uppercase; line-height: .9; font-size: clamp(1.7rem, 5.2vw, 3.6rem); letter-spacing: -0.015em; text-wrap: balance; }
.poster .pnative { font-family: var(--body); font-style: italic; font-size: clamp(.95rem, 1.8vw, 1.25rem); margin-top: .35em; color: var(--tk); }
.poster.tone-orange { --tc: var(--orange); --tt: var(--on-orange); --tk: #fff4ec; }
.poster.tone-ink { --tc: #0c0d33; --tk: var(--orange); }
.poster.tone-dusk { --tc: var(--dusk); --tk: #ffb39f; }
.poster.tone-blue { --tc: var(--indigo); --tk: var(--orange); }
.grid.small .poster .ptitle { font-size: clamp(1.5rem, 3.8vw, 2.6rem); }

/* ---------- Split panels (commissioned teaser, about) ---------- */
.panel { background: var(--indigo); border-radius: var(--radius); padding: clamp(24px, 5vw, 64px); display: grid; gap: clamp(24px, 4vw, 48px); }
@media (min-width: 900px) { .panel.split { grid-template-columns: 1.1fr 1fr; align-items: center; } }
.panel h2 { font-size: clamp(2.2rem, 6vw, 4.6rem); }
.panel p { margin: 0; }
.panel .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.panel .btn { color: var(--text); }
.panel .btn:hover { background: var(--text); color: var(--indigo); border-style: solid; }

.founder { display: grid; gap: clamp(24px, 4vw, 56px); }
@media (min-width: 900px) { .founder { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; } }
.portrait { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; max-width: 100%; background: var(--indigo); }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait .initials { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--display); font-stretch: 125%; font-weight: 900; font-size: clamp(4rem, 12vw, 8rem); color: var(--orange); }
.portrait img + .initials { display: none; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 0; border-top: 1.5px dashed var(--line); }
.facts li { padding: 18px 16px 18px 0; border-bottom: 1.5px dashed var(--line); display: grid; gap: 4px; }
.facts .v { font-family: var(--display); font-stretch: 125%; font-weight: 850; font-size: clamp(1.6rem, 3.4vw, 2.4rem); line-height: 1; font-variant-numeric: tabular-nums; }
.facts .k { color: var(--muted); }

/* Offer columns + process */
.offers { display: grid; gap: clamp(16px, 2vw, 24px); grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.offer { border: 1.5px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); display: grid; gap: 12px; align-content: start; }
.offer h3 { font-size: clamp(1.3rem, 2.4vw, 1.8rem); }
.offer p { margin: 0; font-family: var(--body); font-size: 1.12rem; color: var(--muted); }
.offer .for { color: var(--orange); }

.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; }
.steps li { counter-increment: step; display: grid; grid-template-columns: clamp(56px, 9vw, 120px) 1fr; gap: 8px 20px; padding-block: clamp(18px, 2.6vw, 28px); border-bottom: 1.5px dashed var(--line); }
.steps li::before { content: counter(step, decimal-leading-zero); font-family: var(--display); font-stretch: 125%; font-weight: 900; font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1; color: var(--orange); font-variant-numeric: tabular-nums; }
.steps h3 { font-size: clamp(1.25rem, 2.6vw, 2rem); }
.steps p { margin: 6px 0 0; color: var(--muted); font-family: var(--body); font-size: 1.12rem; max-width: 60ch; }

.page-hero { padding-block: clamp(28px, 5vw, 64px) clamp(8px, 2vw, 16px); display: grid; gap: 20px; }
.page-hero h1 { font-size: clamp(3rem, 12vw, 10rem); }
.page-hero h1 em { font-style: normal; color: var(--orange); }

/* ---------- Contact form ---------- */
.contact { display: grid; gap: clamp(28px, 4vw, 56px); }
@media (min-width: 900px) { .contact { grid-template-columns: 1fr 1.2fr; } }
.contact .direct { display: grid; gap: 22px; align-content: start; }
.contact .direct a { font-family: var(--display); font-stretch: 112%; font-weight: 800; font-size: clamp(1.2rem, 2.6vw, 1.8rem); text-decoration-color: var(--orange); text-underline-offset: 6px; word-break: break-word; }
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
.field input, .field select, .field textarea {
  width: 100%; background: transparent; color: var(--text);
  border: 0; border-bottom: 1.5px solid var(--line); border-radius: 0;
  padding: 10px 0; font-family: var(--body); font-size: 1.2rem;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--text) 50%), linear-gradient(135deg, var(--text) 50%, transparent 50%); background-position: calc(100% - 14px) 55%, calc(100% - 8px) 55%; background-size: 6px 6px; background-repeat: no-repeat; }
.field select option { background: var(--ground); color: var(--text); }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--orange); }
.form-status { min-height: 1.5em; margin: 0; font-family: var(--body); font-size: 1.1rem; }
.form-status.ok { color: var(--orange); }
.privacy { color: var(--muted); font-size: .9rem; margin: 0; }

/* ---------- Footer ---------- */
.site-footer { margin-top: clamp(80px, 10vw, 140px); padding-bottom: calc(32px + env(safe-area-inset-bottom, 0px)); }
.footer-cta { display: block; text-decoration: none; background: var(--orange); color: var(--on-orange); border-radius: var(--radius); padding: clamp(28px, 5vw, 56px) clamp(20px, 4vw, 48px); }
.footer-cta .display { font-size: clamp(2.2rem, 8.5vw, 7.4rem); }
.footer-cta .display span { display: inline-block; transition: transform .3s; }
.footer-cta:hover .display span { transform: translateX(10px); }
.footer-grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); padding-block: clamp(32px, 4vw, 48px); border-bottom: 1.5px dashed var(--line); }
.footer-grid h3 { margin: 0 0 10px; color: var(--muted); }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { color: var(--orange); }
.footer-word { display: flex; align-items: center; font-family: var(--display); font-stretch: 125%; font-weight: 800; text-transform: uppercase; font-size: clamp(1.8rem, 9.6vw, 8.8rem); line-height: .8; letter-spacing: 0.05em; margin: clamp(24px, 4vw, 40px) 0 16px; color: var(--indigo); white-space: nowrap; overflow: hidden; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; color: var(--muted); font-size: .85rem; }

/* ---------- Player dialog ---------- */
.player {
  width: min(1040px, calc(100% - 24px)); max-height: calc(100% - 24px);
  padding: 0; border: 0; border-radius: var(--radius);
  background: var(--indigo-2); color: var(--text); overflow: auto;
}
.player::backdrop { background: rgba(8, 8, 32, .82); backdrop-filter: blur(4px); }
.player-media { position: relative; aspect-ratio: 16 / 9; background: #000; max-width: 100%; }
.player-media iframe, .player-media video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player-media.is-poster { aspect-ratio: 21 / 9; }
@media (max-width: 560px) { .player-media.is-poster { aspect-ratio: 16 / 7; } }
.player-media.is-poster .ptitle, .player-media.is-poster .pnative { display: none; }
.player-close { position: absolute; top: 12px; right: 12px; z-index: 3; background: var(--ground); color: var(--text); border: 0; border-radius: 999px; padding: 10px 16px; cursor: pointer; }
.player-close:hover { background: var(--orange); color: var(--on-orange); }
.player-body { padding: clamp(20px, 4vw, 40px); display: grid; gap: 16px; }
.player-body h2 { font-size: clamp(2rem, 5.4vw, 4rem); }
.player-body .native { font-family: var(--body); font-style: italic; font-size: clamp(1.1rem, 2.2vw, 1.5rem); color: var(--orange); margin-top: -6px; }
.player-body .meta { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--muted); }
.player-body .logline { font-family: var(--body); font-size: clamp(1.1rem, 1.8vw, 1.3rem); margin: 0; max-width: 62ch; }
.player-body .tagline { font-family: var(--body); font-style: italic; color: var(--muted); margin: 0; }
.eps { list-style: none; margin: 8px 0 0; padding: 0; border-top: 1.5px dashed var(--line); }
.eps li { border-bottom: 1.5px dashed var(--line); }
.ep { width: 100%; display: grid; grid-template-columns: 84px 1fr auto; align-items: center; gap: 4px 16px; padding: 14px 4px; background: none; border: 0; text-align: left; cursor: pointer; text-decoration: none; }
.ep .n { color: var(--muted); }
.ep .t { font-family: var(--display); font-stretch: 112%; font-weight: 800; font-size: 1.05rem; line-height: 1.2; }
.ep .t i { font-family: var(--body); font-weight: 400; color: var(--orange); }
.ep .d { grid-column: 2; font-family: var(--body); color: var(--muted); font-size: 1rem; }
.ep .s { grid-row: 1 / span 2; grid-column: 3; white-space: nowrap; }
.ep .s.play { color: var(--orange); }
.ep:hover:not([disabled]) .t { color: var(--orange); }
.ep[aria-current="true"] { background: rgba(255, 90, 54, .12); }
.ep[disabled] { cursor: default; }
.ep[disabled] .s { color: var(--muted); }
@media (max-width: 560px) { .ep { grid-template-columns: 1fr auto; } .ep .n { grid-column: 1; } .ep .d { grid-column: 1; } .ep .s { grid-row: 1 / span 3; grid-column: 2; } }

.fade-up { animation: fadeUp .7s cubic-bezier(.2,.7,.2,1) both; }
@keyframes fadeUp { from { transform: translateY(14px); opacity: .001; } to { transform: none; opacity: 1; } }

/* ---------- Video hero (home) ---------- */
.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; }
.hero {
  position: relative; border-radius: var(--radius); overflow: hidden; isolation: isolate;
  min-height: clamp(460px, 76vh, 820px); display: grid; place-items: center; text-align: center;
  padding: clamp(40px, 7vw, 96px) clamp(18px, 4vw, 48px);
  background:
    radial-gradient(120% 90% at 20% 110%, rgba(255,90,54,.5), transparent 55%),
    radial-gradient(90% 80% at 90% -10%, rgba(74,76,176,.9), transparent 60%),
    var(--indigo);
}
.hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, rgba(12,13,51,.35), rgba(12,13,51,.55) 60%, rgba(12,13,51,.8)); }
.hero-copy { display: grid; justify-items: center; gap: clamp(14px, 2vw, 22px); max-width: 1000px; }
.hero h1 { margin: 0; }
.hero-word { display: inline-flex; align-items: center; font-family: var(--display); font-stretch: 125%; font-weight: 800; letter-spacing: .06em; line-height: 1; font-size: clamp(2.1rem, 8.8vw, 7.2rem); text-shadow: 0 2px 24px rgba(0,0,0,.35); }
.hero-word .o { height: .74em; width: auto; margin: 0 .06em; color: var(--orange); flex: none; }
.hero-word .o path { fill: currentColor; }
.hero-word .o path + path { fill: none; stroke: currentColor; }
.hero-tag { font-size: clamp(1.2rem, 3vw, 2.2rem); letter-spacing: .02em; }
.hero-sub { margin: 0; font-family: var(--body); font-size: clamp(1.05rem, 1.8vw, 1.35rem); max-width: 46ch; color: var(--text); }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 6px; }
.btn-light { color: var(--text); }
.btn-light:hover { background: var(--text); color: var(--ground); border-style: solid; }
#latest .soon .meta { color: var(--orange); }

/* ---------- Player actions ---------- */
.player-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-line { color: var(--text); }
.btn-line:hover { background: var(--text); color: var(--indigo-2); border-style: solid; }

/* ---------- Floating Get a quote / Email us ---------- */
.float-cta {
  position: fixed; z-index: 40; right: calc(16px + env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  display: flex; flex-direction: column; align-items: stretch; gap: 10px;
}
.fab {
  font-family: var(--display); font-stretch: 112%; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; font-size: .9rem;
  text-decoration: none; text-align: center; padding: 15px 22px; border-radius: 999px;
  box-shadow: 0 10px 30px rgba(6, 6, 30, .45); transition: transform .2s, background .2s, color .2s;
}
.fab:hover { transform: translateY(-2px); }
.fab-quote { background: var(--orange); color: var(--on-orange); }
.fab-mail { background: #0c0d33; color: var(--text); border: 1.5px solid var(--line); }
.fab-mail:hover { border-color: var(--text); }
body.menu-open .float-cta { display: none; }
.float-cta { transition: opacity .3s, transform .3s; }
body.has-hero:not(.past-hero) .float-cta { opacity: 0; transform: translateY(12px); pointer-events: none; }
.site-footer { padding-bottom: calc(140px + env(safe-area-inset-bottom, 0px)); }
@media (max-width: 640px) {
  .float-cta { flex-direction: row; left: 16px; right: 16px; justify-content: center; }
  .fab { flex: 1; padding: 13px 12px; font-size: .8rem; }
  .site-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
}

/* ---------- Latest releases: big thumbnail cards ---------- */
.vgrid { display: grid; gap: clamp(22px, 3vw, 36px) clamp(16px, 2.4vw, 28px); grid-template-columns: 1fr; }
@media (min-width: 640px) { .vgrid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .vgrid { grid-template-columns: repeat(3, 1fr); } }
.vcard { display: grid; gap: 12px; background: none; border: 0; padding: 0; text-align: left; cursor: pointer; color: inherit; }
.vframe { position: relative; aspect-ratio: 16 / 9; max-width: 100%; border-radius: calc(var(--radius) - 4px); overflow: hidden; background: var(--indigo); outline: 3px solid transparent; transition: outline-color .2s; }
.vframe > .poster-img, .vframe > .poster { transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.vframe::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(12,13,51,.55), rgba(12,13,51,0) 45%); pointer-events: none; }
.vchip { position: absolute; left: 12px; top: 12px; z-index: 2; background: rgba(12,13,51,.82); color: var(--text); padding: 6px 10px; border-radius: 999px; font-size: .68rem; max-width: calc(100% - 24px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vplay { position: absolute; z-index: 2; left: 50%; top: 50%; width: clamp(54px, 7vw, 72px); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: var(--orange); color: var(--on-orange); display: grid; place-items: center; box-shadow: 0 8px 28px rgba(0,0,0,.45); transition: transform .25s; }
.vplay svg { width: 42%; height: 42%; margin-left: 6%; }
.vcard:hover .vframe, .vcard:focus-visible .vframe { outline-color: var(--orange); }
.vcard:hover .vframe > .poster-img, .vcard:hover .vframe > .poster { transform: scale(1.04); }
.vcard:hover .vplay, .vcard:focus-visible .vplay { transform: translate(-50%, -50%) scale(1.1); }
.vcard:focus-visible { outline: none; }
.vcap { display: grid; gap: 4px; }
.vtitle { font-family: var(--display); font-stretch: 112%; font-weight: 800; text-transform: uppercase; font-size: clamp(1.05rem, 1.6vw, 1.3rem); line-height: 1.1; }
.vsub { font-family: var(--body); font-style: italic; color: var(--orange); font-size: 1.05rem; }
.vframe .poster .ptitle { font-size: clamp(1.4rem, 3vw, 2.2rem); }

/* ---------- White forms: Get a quote pop-up + contact page ---------- */
.form-light { background: #ffffff; color: #1b1c3f; }
.form-light .label { color: #3a3c63; letter-spacing: .06em; }
.form-light .field input, .form-light .field select, .form-light .field textarea {
  background: #ffffff; color: #14154a; border: 1px solid #dcdce8; border-radius: 8px; padding: 12px 14px;
  font-family: var(--ui); font-size: 1rem;
}
.form-light .field input::placeholder, .form-light .field textarea::placeholder { color: #8b8da8; }
.form-light .field input:focus, .form-light .field select:focus, .form-light .field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255,90,54,.18); }
.form-light .field select { background-image: linear-gradient(45deg, transparent 50%, #14154a 50%), linear-gradient(135deg, #14154a 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 36px; }
.form-light .field select option { background: #fff; color: #14154a; }
.form-light .privacy { color: #6b6d8a; }
.form-light .form-status { color: #14154a; }
.form-light .form-status.ok { color: #c2361a; }
.form-light .form-status.err { color: #b3261e; }
.form-card { border-radius: var(--radius); padding: clamp(22px, 4vw, 40px); }

.quote { width: min(560px, calc(100% - 24px)); max-height: calc(100% - 24px); padding: 0; border: 0; border-radius: var(--radius); background: #fff; overflow: auto; color-scheme: light; }
.quote::backdrop { background: rgba(8, 8, 32, .78); backdrop-filter: blur(4px); }
.quote .form { padding: clamp(24px, 5vw, 44px); gap: 16px; }
.quote h2 { font-size: clamp(1.8rem, 5vw, 2.6rem); color: #14154a; }
.quote-lede { margin: -4px 0 4px; font-family: var(--body); font-size: 1.12rem; color: #3a3c63; }
.quote-close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #f1f1f6; color: #14154a; font-size: 1rem; cursor: pointer; }
.quote-close:hover { background: var(--orange); color: #fff; }
.vframe .poster .top { visibility: hidden; }
.vframe .poster .ptitle { font-size: clamp(1.05rem, 1.9vw, 1.5rem); }
.vframe .poster .pnative { font-size: .95rem; }
.quote h2 { padding-right: 44px; }
.form-light .form-status:empty { display: none; }

.foot-k { display: block; color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; margin-top: 6px; }
.footer-grid li a { word-break: break-word; }

/* ---------- Proof strip under the banner ---------- */
.proof { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1.5px dashed var(--line); border-bottom: 1.5px dashed var(--line); }
.proof li { display: grid; gap: 6px; justify-items: center; text-align: center; padding: clamp(16px, 2.4vw, 26px) 12px; }
.proof li + li { border-left: 1.5px dashed var(--line); }
.proof .pv { font-family: var(--display); font-stretch: 125%; font-weight: 850; text-transform: uppercase; font-size: clamp(1.3rem, 3vw, 2.4rem); line-height: 1; font-variant-numeric: tabular-nums; }
.proof li:last-child .pv { font-size: clamp(1.05rem, 2.2vw, 1.7rem); }
.proof .pk { color: var(--muted); }
.proof li:last-child .pk { color: var(--orange); }
@media (max-width: 640px) {
  .proof { grid-template-columns: 1fr; }
  .proof li + li { border-left: 0; border-top: 1.5px dashed var(--line); }
}

/* ---------- Email sign-up ---------- */
.signup { display: grid; gap: 10px; }
.signup-row { display: flex; flex-wrap: wrap; gap: 10px; }
.signup input[type="email"] {
  flex: 1 1 220px; min-width: 0; background: #fff; color: #14154a; border: 1px solid #dcdce8; border-radius: 8px;
  padding: 14px 16px; font-family: var(--ui); font-size: 1rem;
}
.signup input[type="email"]::placeholder { color: #8b8da8; }
.signup input[type="email"]:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255,90,54,.25); }
.signup .btn { padding: 14px 22px; }
.signup .form-status { margin: 0; font-size: 1rem; }
.signup .form-status:empty { display: none; }
.signup-band { background: var(--indigo); border-radius: var(--radius); padding: clamp(24px, 5vw, 56px); display: grid; gap: clamp(20px, 3vw, 36px); align-items: center; }
@media (min-width: 900px) { .signup-band { grid-template-columns: 1.1fr 1fr; } }
.signup-band h2 { font-size: clamp(2rem, 5.4vw, 4rem); }
.signup-band .prose { margin: 14px 0 0; color: var(--muted); }
.signup-compact input[type="email"] { padding: 11px 13px; font-size: .95rem; flex-basis: 160px; }
.signup-compact .btn { padding: 11px 16px; font-size: .85rem; }
.foot-signup .form-status { color: var(--orange); font-size: .95rem; }

/* ---------- How we make films ---------- */
.principles .offer h3 { font-size: clamp(1.2rem, 2.2vw, 1.6rem); }

/* Banner video fades in; the still is only a fallback */
.hero video { opacity: 0; transition: opacity .9s ease; }
.hero.is-playing video { opacity: 1; }
/* The still shows straight away, then the video fades in over it once it plays */
.hero { background: url("hero-banner.jpg") 50% 40% / cover no-repeat, var(--indigo); }
/* Phones: keep Nyambura in frame */
@media (max-width: 700px) { .hero { background-position: 27% 40%; } }
@media (prefers-reduced-motion: reduce) { .hero video { transition: none; } }
