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

:root {
  --paper: #FAFAF8;
  --ink: #0C0C0C;
  --blue: #1A4BFF;
  --mid: #5E5E5E;
  --rule: #E3E3E0;
  --px: clamp(20px, 5vw, 80px);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Plus Jakarta Sans', system-ui, sans-serif;
  --mono: 'DM Mono', ui-monospace, monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --section: clamp(80px, 11vw, 160px);
}

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

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, video { display: block; max-width: 100%; }
a { color: inherit; }
ul, ol { list-style: none; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.skip-link {
  position: absolute; left: -9999px; top: 12px; z-index: 100;
  padding: 12px 16px; background: var(--ink); color: var(--paper);
  font-size: 16px; text-decoration: none;
}
.skip-link:focus { left: 12px; }

/* ── Header ─────────────────────────────── */
/* Header lives in the paper column so the reel pane stays clear. */
.site-head {
  position: absolute; top: 0; left: 0; right: 42%; z-index: 10;
  display: flex; align-items: center; gap: 24px;
  padding: 20px var(--px);
}

.wordmark {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: 30px; line-height: 1; letter-spacing: -0.01em;
  text-decoration: none; margin-right: auto;
  padding: 8px 0;
}
.wordmark-small { font-size: 24px; margin-right: 0; padding: 0; }

.nav-list { display: flex; gap: 4px; }
.nav-list a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
  font-size: 15px; font-weight: 500; text-decoration: none; white-space: nowrap;
}
.nav-list a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ── Buttons ────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 24px;
  font-family: var(--sans); font-size: 15px; font-weight: 600;
  text-decoration: none; border: 0; cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--blue); }
.btn-paper { background: var(--paper); color: var(--ink); }
.btn-paper:hover { background: var(--blue); color: #fff; }

.btn-link {
  display: inline-flex; align-items: center; min-height: 48px;
  font-size: 15px; font-weight: 600; text-underline-offset: 5px;
}
.btn-link:hover { color: var(--blue); }

.nav-cta { min-height: 44px; padding: 0 18px; white-space: nowrap; }

/* The home header shares the 58% paper column with the hero; below 1280px it can't fit the
   button too, and the hero's own "Book a free discovery call" sits right beneath it. */
@media (max-width: 1279px) {
  .site-head:not(.site-head-full) .nav-cta { display: none; }
}
@media (max-width: 1100px) {
  .nav-list a { padding: 0 8px; }
}

/* ── Hero ───────────────────────────────── */
/* The reel is 4:5 with a safe margin for crops between about 2:3 and 6:7. Height tracks width
   on narrow screens and the pane's width is capped by height on wide ones, to stay in that band. */
.hero {
  display: grid;
  grid-template-columns: 1fr min(42vw, 85vh);
  grid-template-columns: 1fr min(42vw, 85svh);
  min-height: min(100vh, 62vw);
  min-height: min(100svh, 62vw);
}

.hero-copy {
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 140px var(--px) clamp(56px, 9vh, 104px);
}

.hero-title {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(52px, 7.4vw, 124px);
  line-height: 0.95; letter-spacing: -0.015em;
  margin-bottom: 36px;
}
.hero-title .line { display: block; overflow: hidden; padding: 0 0.12em 0.08em 0.04em; margin: 0 -0.12em -0.08em -0.04em; }
.hero-title .word { display: inline-block; }

.hero-sub {
  max-width: 34em; color: var(--mid);
  font-size: clamp(17px, 1.25vw, 19px);
  margin-bottom: 40px;
}

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

.hero-reel { position: relative; background: #0F1923; overflow: hidden; }
.hero-reel video { width: 100%; height: 100%; object-fit: cover; }

.reel-toggle {
  position: absolute; right: 16px; bottom: 16px;
  width: 44px; height: 44px; display: grid; place-items: center;
  border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(12, 12, 12, 0.55); color: #fff;
}
.reel-toggle:focus-visible { outline-color: #fff; }
.reel-toggle svg { width: 18px; height: 18px; }
.reel-toggle .i-play { display: none; }
.reel-toggle.paused .i-pause { display: none; }
.reel-toggle.paused .i-play { display: block; }

/* One orchestrated opening: the headline rises word by word, then the reel wipes in the way worlds do in the reel. */
.w0 { --i: 0; } .w1 { --i: 1; } .w2 { --i: 2; } .w3 { --i: 3; } .w4 { --i: 4; } .w5 { --i: 5; }

@media (prefers-reduced-motion: no-preference) {
  .hero-title .word { animation: rise 1s var(--ease) both; animation-delay: calc(0.15s + var(--i) * 0.09s); }
  .hero .hero-sub, .hero .hero-actions { animation: fade 0.9s ease both 0.85s; }
  .hero-reel { animation: wipe 1.1s cubic-bezier(0.65, 0, 0.35, 1) both 0.35s; }
}
@keyframes rise { from { transform: translateY(110%); } to { transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes wipe { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0 0 0 0); } }

/* ── Sections ───────────────────────────── */
.section-title {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(40px, 5vw, 76px); line-height: 1; letter-spacing: -0.01em;
  margin-bottom: clamp(36px, 5vw, 64px);
}

.intro { padding: var(--section) var(--px); border-top: 1px solid var(--rule); }
.intro-text {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(30px, 3.8vw, 58px); line-height: 1.12; letter-spacing: -0.01em;
  max-width: 24em;
}

.services { padding: 0 var(--px) var(--section); }
.service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); }
.service { border-top: 1px solid var(--ink); padding-top: 28px; display: flex; flex-direction: column; }
.service-name { font-family: var(--serif); font-weight: 300; font-size: clamp(32px, 3vw, 46px); line-height: 1.05; margin-bottom: 14px; }
.service-lede { font-size: 19px; max-width: 28em; margin-bottom: 24px; }
.service-list { color: var(--mid); margin-bottom: 32px; }
.service-list li { padding: 10px 0; border-bottom: 1px solid var(--rule); }
.service-more { margin: -12px 0 24px; }
.service-price { margin-top: auto; font-family: var(--serif); font-style: italic; font-size: 30px; line-height: 1.2; }

.work { padding: 0 var(--px) var(--section); }
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
/* Each card wears its client's own colours, as in the reel. */
.c-arizen { --bg: #0F1923; --fg: #FFFFFF; }
.c-diaspora { --bg: #F7F0E3; --fg: #173C35; }
.c-mauradio { --bg: #100C0D; --fg: #FFF9ED; }
.c-aiunit { --bg: #F4F5FB; --fg: #1B2559; }
.c-nextalent { --bg: #0F1729; --fg: #FFFFFF; }
.c-awi { --bg: #0E0D0A; --fg: #F3EDE2; }
.work-link { display: flex; flex-direction: column; height: 100%; text-decoration: none; background: var(--bg); color: var(--fg); }
.work-link img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.work-caption { display: grid; gap: 2px; padding: 20px 22px 24px; flex: 1; }
.work-name { font-family: var(--serif); font-size: 28px; line-height: 1.1; font-weight: 300; }
.work-desc { font-size: 15px; opacity: 0.82; }
.work-url { font-family: var(--mono); font-size: 14px; margin-top: 10px; opacity: 0.82; }
.work-link:hover .work-url, .work-link:focus-visible .work-url { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }

.process { padding: var(--section) var(--px); border-top: 1px solid var(--rule); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(24px, 3vw, 48px); counter-reset: step; }
.step { counter-increment: step; border-top: 1px solid var(--ink); padding-top: 20px; }
.step::before { content: counter(step); display: block; font-family: var(--serif); font-style: italic; font-size: 44px; line-height: 1; margin-bottom: 18px; color: var(--blue); }
.step-name { font-size: 19px; font-weight: 600; margin-bottom: 8px; }
.step p { color: var(--mid); }

.studio {
  padding: 0 var(--px) var(--section);
  display: grid; grid-template-columns: minmax(240px, 5fr) 7fr; gap: clamp(32px, 6vw, 96px); align-items: end;
}
.studio-photo img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; background: #ECEBE7; }
.studio-copy p { font-size: clamp(19px, 1.5vw, 22px); max-width: 30em; margin-bottom: 18px; }

/* ── Contact ────────────────────────────── */
.contact {
  background: var(--ink); color: var(--paper);
  padding: var(--section) var(--px);
  display: grid; grid-template-columns: 5fr 6fr; gap: clamp(40px, 7vw, 120px);
}
.contact :focus-visible { outline-color: var(--paper); }
.contact-title { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(44px, 5.4vw, 84px); line-height: 1; margin-bottom: 24px; }
.contact-intro > p { color: rgba(250, 250, 248, 0.75); max-width: 26em; }
.book { margin-top: 56px; padding-top: 28px; border-top: 1px solid rgba(250, 250, 248, 0.2); }
.book-lead { font-family: var(--serif); font-style: italic; font-size: 30px; margin-bottom: 16px; }
.book-alt { margin-top: 18px; color: rgba(250, 250, 248, 0.75); }
.book-alt a { text-underline-offset: 4px; }

.enquiry { display: grid; gap: 22px; align-content: start; }
.field { display: grid; gap: 8px; border: 0; }
.field label, .field legend { font-size: 15px; font-weight: 500; }
.optional { font-weight: 400; color: rgba(250, 250, 248, 0.7); }
.field input:not([type="radio"]), .field textarea {
  width: 100%; font: inherit; color: var(--paper);
  background: transparent; border: 0; border-bottom: 1px solid rgba(250, 250, 248, 0.45);
  padding: 10px 0; border-radius: 0;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus { border-bottom-color: var(--paper); outline: none; }
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--paper); outline-offset: 4px; }
.field [aria-invalid="true"] { border-bottom-color: #FF8A80; }
.field-error { color: #FFB4AB; font-size: 15px; }

.choices { display: flex; flex-wrap: wrap; gap: 8px 10px; }
.choices legend { margin-bottom: 8px; width: 100%; }
.choices { position: relative; }
.choice-input { position: absolute; left: 0; top: 0; opacity: 0; width: 1px; height: 1px; margin: 0; }
.choice {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
  padding: 0 16px; border: 1px solid rgba(250, 250, 248, 0.35); cursor: pointer;
  font-weight: 400;
}
.choice::before {
  content: ''; width: 14px; height: 14px; border-radius: 50%;
  border: 1px solid rgba(250, 250, 248, 0.7); flex: none;
}
.choice-input:checked + .choice { border-color: var(--paper); background: rgba(250, 250, 248, 0.08); }
.choice-input:checked + .choice::before { background: var(--paper); box-shadow: inset 0 0 0 3px var(--ink); border-color: var(--paper); }
.choice-input:focus-visible + .choice { outline: 2px solid var(--paper); outline-offset: 3px; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.enquiry .btn { justify-self: start; }
.form-status { min-height: 1.6em; font-weight: 500; }
.form-status.is-error { color: #FFB4AB; }
.form-note { font-size: 15px; color: rgba(250, 250, 248, 0.7); }
.form-note a { text-underline-offset: 4px; }

/* ── AI video page ──────────────────────── */
.site-head-full { position: relative; right: 0; }
.nav-list a[aria-current="page"] { text-decoration: underline; text-underline-offset: 4px; }

.page-hero { padding: clamp(48px, 8vw, 120px) var(--px) var(--section); max-width: 1200px; }
.page-title {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(48px, 7vw, 112px); line-height: 0.98; letter-spacing: -0.015em;
  margin-bottom: 32px; max-width: 14em;
}

.samples { padding: 0 var(--px) var(--section); }
.samples .section-title { margin-bottom: 12px; }
.samples-note { color: var(--mid); margin-bottom: clamp(32px, 4vw, 56px); }
.sample-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 48px); }
.phone {
  position: relative; aspect-ratio: 9 / 16; max-width: 340px;
  border-radius: 28px; overflow: hidden; background: var(--ink);
  box-shadow: 0 40px 80px -40px rgba(12, 12, 12, 0.45);
  margin-bottom: 20px;
}
.phone video { width: 100%; height: 100%; object-fit: cover; cursor: pointer; }
/* On the poster, play is the obvious action: a large centred button. */
.phone .reel-toggle.paused { right: 50%; bottom: 50%; transform: translate(50%, 50%); width: 76px; height: 76px; background: rgba(12, 12, 12, 0.72); }
.phone .reel-toggle.paused svg { width: 28px; height: 28px; margin-left: 3px; }
.sample-name { font-family: var(--serif); font-weight: 300; font-size: 30px; line-height: 1.1; }
.sample-desc { color: var(--mid); max-width: 26em; }

.demo {
  padding: var(--section) var(--px); border-top: 1px solid var(--rule);
  display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 96px); align-items: start;
}
.demo-copy > p { max-width: 30em; margin-bottom: 32px; color: var(--mid); }
.demo-controls { display: grid; gap: 22px; }
.demo-controls .field input:not([type="radio"]) {
  width: 100%; font: inherit; color: var(--ink); background: transparent;
  border: 0; border-bottom: 1px solid var(--mid); padding: 10px 0; border-radius: 0;
}
.demo-controls .field input:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.demo-controls .choice { border-color: var(--rule); }
.demo-controls .choice::before { border-color: var(--mid); }
.demo-controls .choice-input:checked + .choice { border-color: var(--ink); background: #EFEFEC; }
.demo-controls .choice-input:checked + .choice::before { background: var(--ink); box-shadow: inset 0 0 0 3px #EFEFEC; border-color: var(--ink); }
.demo-controls .choice-input:focus-visible + .choice { outline: 2px solid var(--blue); outline-offset: 3px; }
.demo-stage { position: sticky; top: 24px; }
.demo-player {
  margin: 0 auto; border-radius: 20px; overflow: hidden; background: var(--ink);
  box-shadow: 0 40px 80px -40px rgba(12, 12, 12, 0.45);
  aspect-ratio: 9 / 16; max-height: 78svh;
}
.demo-player[data-format="feed"] { aspect-ratio: 4 / 5; }
.demo-player[data-format="wide"] { aspect-ratio: 16 / 9; max-height: none; width: 100%; }
.demo-player img { width: 100%; height: 100%; object-fit: cover; }
.demo-status { margin-top: 12px; color: var(--mid); font-size: 15px; min-height: 1.6em; text-align: center; }

.faq { padding: var(--section) var(--px); border-top: 1px solid var(--rule); max-width: 980px; }
.faq details { border-top: 1px solid var(--rule); }
.faq details:last-of-type { border-bottom: 1px solid var(--rule); }
.faq summary {
  cursor: pointer; list-style: none; min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  font-family: var(--serif); font-size: clamp(22px, 2vw, 28px); line-height: 1.2;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--sans); font-size: 24px; flex: none; }
.faq details[open] summary::after { content: '\2212'; }
.faq details p { color: var(--mid); max-width: 40em; padding-bottom: 24px; }

.contact-band { align-items: end; }

/* Plain pages: privacy notice and the no-JavaScript form replies. */
.notice { max-width: 760px; padding: clamp(96px, 12vw, 160px) var(--px) var(--section); }
.notice h2 { font-family: var(--serif); font-weight: 300; font-size: 32px; margin: 40px 0 12px; }
.notice p, .notice li { margin-bottom: 14px; max-width: 38em; }
.notice ul { list-style: disc; padding-left: 1.2em; }
.notice .wordmark { display: inline-block; margin-bottom: 48px; }

/* ── Footer ─────────────────────────────── */
.site-foot {
  background: var(--ink); color: rgba(250, 250, 248, 0.75);
  border-top: 1px solid rgba(250, 250, 248, 0.14);
  padding: 28px var(--px);
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px;
  font-size: 15px;
}
.site-foot .wordmark { color: var(--paper); margin-right: auto; }
.site-foot a { display: inline-flex; align-items: center; min-height: 44px; text-underline-offset: 4px; }
.site-foot :focus-visible { outline-color: var(--paper); }

/* ── Responsive ─────────────────────────── */
@media (max-width: 1080px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .work-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .site-head { right: 0; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding-top: 120px; }
  .hero-reel { aspect-ratio: 4 / 5; max-height: 85svh; }
  .service-grid, .contact, .studio, .demo { grid-template-columns: 1fr; }
  .sample-grid { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .sample-desc { margin: 0 auto; }
  .demo-stage { position: static; }
  .studio-photo { max-width: 420px; }
  .nav-list { display: none; }
}

@media (max-width: 640px) {
  .work-grid, .steps { grid-template-columns: 1fr; }
  .nav-cta { display: none; }
}
