:root {
  --bg: #000;
  --band: #0D0D0D;
  --ink: #F2F1EE;
  --muted: #A9A8A4;
  --faint: #8E8D89;
  --line: #262626;
  --line-strong: #3A3A38;
  --accent: #E3A33B;
  --pad: clamp(20px, 5vw, 80px);
  --font: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --logo: 'Jost', Futura, 'Century Gothic', sans-serif;
}

* { box-sizing: border-box; }
html { color-scheme: dark; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); line-height: 1.5; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
h1, h2, h3, p { margin: 0; }
.skip { position: absolute; left: -9999px; top: 12px; }
.skip:focus { left: 12px; z-index: 20; background: #000; padding: 10px 14px; }

/* Header and footer */
.site-header { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 32px; padding: 16px var(--pad); }
.logo { font-family: var(--logo); font-weight: 300; font-size: 22px; letter-spacing: 0.32em; }
.nav { display: flex; flex-wrap: wrap; gap: 0 32px; font-size: 15px; font-weight: 500; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; }
.site-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding: 32px var(--pad); font-size: 14px; color: var(--faint); }
.site-footer .logo { font-size: 15px; color: var(--ink); }

/* Shared type */
.label { font-size: 14px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.h2 { font-size: clamp(34px, 3.8vw, 52px); font-weight: 800; line-height: 1.06; letter-spacing: -0.01em; }
.muted { color: var(--muted); }
.pill { display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 28px; border: 1px solid var(--ink); border-radius: 999px; background: transparent; color: var(--ink); font: inherit; font-size: 16px; font-weight: 500; cursor: pointer; }
.pill:hover { border-color: var(--accent); color: var(--accent); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 32px; border: 0; border-radius: 999px; background: var(--accent); color: #000; font: inherit; font-size: 17px; font-weight: 700; cursor: pointer; }
.button:hover { background: var(--ink); color: #000; }

/* Hero */
.hero-frame { position: relative; width: 100%; aspect-ratio: 2.35 / 1; overflow: hidden; background: #0b0b0b; }
.hero-frame > img { width: 100%; height: 100%; object-fit: cover; }
.bgvideo { position: absolute; inset: 0; opacity: 0; transition: opacity 0.8s ease; pointer-events: none; }
.bgvideo.is-on { opacity: 1; }
.bgvideo iframe { position: absolute; left: 0; top: 50%; width: 100%; height: auto; aspect-ratio: 16 / 9; transform: translateY(-50%); border: 0; }
.hero-band { background: var(--band); padding: 48px var(--pad) 64px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px; }
.hero-band .copy { display: flex; flex-direction: column; gap: 16px; max-width: 920px; }
.hero-band h1 { font-size: clamp(44px, 6.4vw, 96px); font-weight: 800; line-height: 0.98; letter-spacing: -0.02em; }
.lede { max-width: 640px; font-size: 20px; line-height: 1.5; color: var(--muted); }

/* Work */
.work { padding: 112px var(--pad); max-width: 1440px; margin: 0 auto; display: flex; flex-direction: column; gap: 32px; }
.work > h2 { font-size: 40px; font-weight: 800; letter-spacing: -0.01em; margin-bottom: 8px; }
.pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 32px; }
.card { display: flex; flex-direction: column; background: var(--band); }
.media { position: relative; aspect-ratio: 2.39 / 1; overflow: hidden; background: #0b0b0b; }
.media img, .media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.media video { opacity: 0; transition: opacity 0.4s ease; }
.media video.is-playing { opacity: 1; }
.playmark { position: absolute; left: 20px; bottom: 20px; width: 48px; height: 48px; border: 1px solid rgba(242, 241, 238, 0.75); border-radius: 50%; display: grid; place-items: center; background: rgba(0, 0, 0, 0.35); }
.card .body { padding: 28px 32px 36px; display: flex; flex-direction: column; gap: 10px; }
.card h3 { font-size: 34px; font-weight: 800; line-height: 1.1; }
.card .desc { font-size: 17px; line-height: 1.55; color: var(--muted); }
.card .meta { font-size: 15px; color: var(--faint); }
.card--feature .body { padding: 32px 40px 40px; }
.card--feature h3 { font-size: clamp(36px, 3.6vw, 52px); letter-spacing: -0.01em; }
.card--feature .desc { max-width: 720px; font-size: 18px; }
.card:hover h3 { color: var(--accent); }
.card:hover .playmark { border-color: var(--accent); color: var(--accent); }

/* Sections */
.section { border-top: 1px solid var(--line); padding: 112px var(--pad); display: flex; flex-direction: column; gap: 48px; max-width: 1440px; margin: 0 auto; }
.section-head { display: flex; flex-direction: column; gap: 14px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 40px 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 56px 40px; }
.point { display: flex; flex-direction: column; gap: 10px; padding-top: 20px; border-top: 1px solid var(--line-strong); }
.point h3 { font-size: 24px; font-weight: 800; }
.point p, .service > p { font-size: 17px; line-height: 1.6; color: var(--muted); }
.service { display: flex; flex-direction: column; gap: 18px; padding-top: 28px; border-top: 2px solid var(--accent); }
.service h3 { font-size: 32px; font-weight: 800; }
.list { margin: 8px 0 0; padding: 0; list-style: none; font-size: 17px; line-height: 1.5; }
.list li { padding: 13px 0; border-top: 1px solid var(--line); }
.list li:last-child { border-bottom: 1px solid var(--line); }
.plates { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.plates > span:first-child { font-size: 15px; color: var(--muted); margin-right: 4px; }
.tag { display: inline-flex; align-items: center; min-height: 34px; padding: 0 13px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 15px; }
.note { font-size: 17px; line-height: 1.6; color: var(--muted); }
.note a { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }

/* Studio */
.studio { border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: stretch; background: var(--band); }
.studio > img { flex: 1 1 560px; min-width: 0; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.studio-copy { flex: 1 1 440px; display: flex; flex-direction: column; justify-content: center; gap: 18px; padding: 64px var(--pad); }
.studio-copy p:not(.label) { max-width: 520px; font-size: 18px; line-height: 1.6; color: var(--muted); }
.studio-copy .place { font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); }

/* Contact */
.contact-frame { width: 100%; aspect-ratio: 2.35 / 1; object-fit: cover; }
.contact-band { background: var(--band); padding: 56px var(--pad) 96px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 40px; }
.contact-band h2 { font-size: clamp(40px, 5vw, 72px); font-weight: 800; line-height: 1; letter-spacing: -0.02em; }
.contact-lines { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; font-size: 18px; }
.contact-lines .who { font-size: 14px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); }
.contact-lines .button { margin-top: 10px; }

/* Showreel pop-up */
.reel { width: min(1280px, 94vw); padding: 0; border: 0; background: #000; color: var(--ink); }
.reel::backdrop { background: rgba(0, 0, 0, 0.88); }
.reel-top { display: flex; justify-content: flex-end; padding: 10px; }
.reel-close { min-height: 44px; padding: 0 20px; border: 1px solid var(--ink); border-radius: 999px; background: transparent; color: var(--ink); font: inherit; font-size: 15px; font-weight: 500; cursor: pointer; }
.reel-close:hover { border-color: var(--accent); color: var(--accent); }
.reel-frame { position: relative; aspect-ratio: 16 / 9; }
.reel-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Film page */
.backbar { padding: 4px var(--pad) 20px; }
.back { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px 0 16px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 15px; font-weight: 500; }
.back:hover { border-color: var(--accent); }
.player-wrap { padding: 0 var(--pad); }
.player { position: relative; width: 100%; max-width: 1440px; margin: 0 auto; aspect-ratio: 16 / 9; background: #000; }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: #000; cursor: pointer; color: var(--ink); }
.yt img { width: 100%; height: 100%; object-fit: contain; }
.yt .playbig { position: absolute; left: 50%; top: 50%; width: 88px; height: 88px; transform: translate(-50%, -50%); border: 1px solid rgba(242, 241, 238, 0.85); border-radius: 50%; display: grid; place-items: center; background: rgba(0, 0, 0, 0.4); }
.yt:hover .playbig, .yt:focus-visible .playbig { border-color: var(--accent); color: var(--accent); }
.film-info { max-width: 1440px; margin: 0 auto; padding: 48px var(--pad) 72px; display: flex; flex-wrap: wrap; gap: 40px 80px; }
.film-info .main { flex: 1 1 560px; display: flex; flex-direction: column; gap: 14px; }
.film-info h1 { font-size: clamp(40px, 4.6vw, 64px); font-weight: 800; line-height: 1.02; letter-spacing: -0.01em; }
.film-info .desc { max-width: 700px; font-size: 19px; line-height: 1.6; color: var(--muted); }
.facts { flex: 0 1 260px; margin: 0; display: flex; flex-direction: column; gap: 18px; }
.facts div { display: flex; flex-direction: column; gap: 4px; }
.facts dt { font-size: 13px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); }
.facts dd { margin: 0; font-size: 20px; }
.nextfilm { background: var(--band); padding: 48px var(--pad); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.nextfilm .next { display: flex; flex-direction: column; gap: 8px; }
.nextfilm .next strong { font-size: clamp(28px, 3vw, 40px); font-weight: 800; }

/* Brief form */
.brief { max-width: 1440px; margin: 0 auto; padding: 48px var(--pad) 112px; display: flex; flex-wrap: wrap; gap: 48px 96px; }
.brief-intro { flex: 1 1 340px; display: flex; flex-direction: column; gap: 16px; }
.brief-intro h1 { font-size: clamp(40px, 4.6vw, 64px); font-weight: 800; line-height: 1.02; letter-spacing: -0.01em; }
.brief-intro p:not(.label) { max-width: 400px; font-size: 18px; line-height: 1.6; color: var(--muted); }
.form { flex: 2 1 560px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 22px 24px; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 15px; font-weight: 500; }
.field--full { grid-column: 1 / -1; }
.field input, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 6px; background: var(--band); color: var(--ink); font: inherit; font-size: 16px; font-weight: 400; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--accent); outline: none; }
.phone { display: flex; border: 1px solid var(--line-strong); border-radius: 6px; background: var(--band); }
.phone:focus-within { border-color: var(--accent); }
.phone span { display: flex; align-items: center; padding: 0 14px; border-right: 1px solid var(--line-strong); font-size: 16px; font-weight: 400; }
.phone input { border: 0; background: transparent; }
.choices { margin: 0; padding: 0; border: 0; grid-column: 1 / -1; display: flex; flex-direction: column; gap: 10px; }
.choices legend { padding: 0 0 10px; font-size: 15px; font-weight: 500; }
.choices .opts { display: flex; flex-wrap: wrap; gap: 8px; }
.choices label { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 15px; cursor: pointer; }
.choices label:has(input:checked) { border-color: var(--accent); color: var(--accent); }
.choices input { accent-color: var(--accent); margin: 0; }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; padding-top: 6px; }
.form-foot small { font-size: 14px; color: var(--faint); }
.honey { position: absolute; left: -9999px; }

/* Simple pages */
.simple { min-height: 60vh; max-width: 1440px; margin: 0 auto; padding: 96px var(--pad); display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.simple h1 { font-size: clamp(40px, 4.6vw, 64px); font-weight: 800; line-height: 1.02; }
.simple p { max-width: 560px; font-size: 18px; line-height: 1.6; color: var(--muted); }

/* Phones: taller frames so films and the opening read properly on a narrow screen */
@media (max-width: 700px) {
  .hero-frame { aspect-ratio: 16 / 9; }
  .media { aspect-ratio: 16 / 9; }
  .card .body, .card--feature .body { padding: 24px 22px 30px; }
  .card h3 { font-size: 28px; }
  .hero-band { padding: 36px var(--pad) 48px; }
  .work, .section { padding-top: 80px; padding-bottom: 80px; }
}

/* Contact people */
.people { display: flex; flex-wrap: wrap; gap: 20px 48px; margin-bottom: 6px; }
.person { display: flex; flex-direction: column; gap: 4px; }

/* Last two films side by side, with a thin gap */
.pair { gap: 12px; }
.pair .media { aspect-ratio: 16 / 9; }

/* Thumbnail previews: the film plays silently inside its thumbnail */
.media img { transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1); }
.card:hover .media img { transform: scale(1.04); }
.pv { position: absolute; inset: 0; overflow: hidden; opacity: 0; transition: opacity 0.6s ease; pointer-events: none; }
.media.pv-on .pv { opacity: 1; }
.pv iframe { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); border: 0; max-width: none; }
.media .playmark { z-index: 1; transition: opacity 0.4s ease, border-color 0.3s ease, color 0.3s ease; }
.media.pv-on .playmark { opacity: 0; }

/* Custom cursor (computers only) */
.cursor { position: fixed; left: 0; top: 0; z-index: 100; pointer-events: none; opacity: 0; transition: opacity 0.3s ease; }
.cursor.is-visible { opacity: 1; }
.cursor-dot, .cursor-ring { position: fixed; left: 0; top: 0; border-radius: 50%; will-change: transform; }
.cursor-dot { width: 8px; height: 8px; margin: -4px 0 0 -4px; background: #fff; mix-blend-mode: difference; }
.cursor-ring { width: 40px; height: 40px; margin: -20px 0 0 -20px; border: 1px solid rgba(242, 241, 238, 0.55); display: grid; place-items: center;
  transition: width 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), height 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), margin 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), background-color 0.35s ease, border-color 0.35s ease; }
.cursor-ring span { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #000; opacity: 0; transition: opacity 0.2s ease; }
.cursor.is-link .cursor-ring { width: 60px; height: 60px; margin: -30px 0 0 -30px; border-color: var(--accent); }
.cursor.is-film .cursor-ring { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--accent); border-color: var(--accent); }
.cursor.is-film .cursor-ring span { opacity: 1; }
.cursor.is-film .cursor-dot { opacity: 0; }
html.has-cursor, html.has-cursor a, html.has-cursor button, html.has-cursor label { cursor: none; }
html.has-cursor input, html.has-cursor textarea { cursor: text; }

/* Gentle reveal as sections scroll into view */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .media img { transition: none; }
  .card:hover .media img { transform: none; }
}
