/* Camera Left — scroll is a timeline scrubber. Flat page by default; html.motion pins the reel and scrubs it. */

@font-face { font-family: "Bebas Neue"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/bebas-neue.woff2") format("woff2"); }
@font-face { font-family: "Inter Tight"; font-weight: 100 900; font-style: normal; font-display: swap; src: url("fonts/inter-tight.woff2") format("woff2"); }

:root {
  --ink: #0b0b0a;
  --bone: #f3ead9;
  --red: #e2432b;
  --mute: rgba(243, 234, 217, 0.55);
  --line: rgba(243, 234, 217, 0.16);
  --display: "Bebas Neue", Impact, "Arial Narrow", sans-serif;
  --body: "Inter Tight", system-ui, -apple-system, sans-serif;
  --pad: clamp(16px, 5vw, 72px);
  --len: 4800px;   /* reel scroll length = 30 s × 160 px; main.js overrides from the real duration */
}
@media (max-width: 768px) { :root { --len: 3300px; } }

* { box-sizing: border-box; }
html { background: var(--ink); color: var(--bone); font-family: var(--body); -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; }
a { color: inherit; }
img, video { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }
.skip { position: fixed; top: 12px; left: 12px; z-index: 30; padding: 8px 12px; background: var(--ink); color: var(--bone); font-size: 13px; text-decoration: none; border: 1px solid var(--line); transform: translateY(-200%); }
.skip:focus-visible { transform: none; }

/* film grain: a tiled SVG noise, stepped across the screen in motion mode, still otherwise */
.grain { position: fixed; inset: -25%; width: 150%; height: 150%; z-index: 20; pointer-events: none; opacity: 0.085;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 0.95 0 0 0 0 0.85 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 220px 220px; }
.motion .grain { animation: grain 0.6s steps(6) infinite; will-change: transform; }
@keyframes grain {
  0% { transform: translate(0, 0); } 17% { transform: translate(-3%, 2%); } 34% { transform: translate(2%, -4%); }
  51% { transform: translate(-4%, -1%); } 68% { transform: translate(3%, 3%); } 85% { transform: translate(-1%, 4%); } 100% { transform: translate(0, 0); }
}

/* ---------- chrome ---------- */
.top { position: fixed; top: 0; left: 0; right: 0; z-index: 12; display: flex; justify-content: space-between; align-items: baseline; padding: 14px var(--pad); pointer-events: none; mix-blend-mode: difference; }
.brand { pointer-events: auto; font-family: var(--display); font-size: 24px; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; line-height: 1; }
.top__meta { margin: 0; font-size: 13px; letter-spacing: 0.02em; color: var(--bone); opacity: 0.8; }
.tc { position: fixed; left: var(--pad); bottom: 14px; z-index: 12; margin: 0; font-size: 12px; letter-spacing: 0.08em; font-variant-numeric: tabular-nums; color: var(--mute); display: none; }
.tc__k { color: var(--red); margin-right: 4px; }
.motion .tc { display: block; }

/* ---------- type ---------- */
.h2 { margin: 0 0 0.3em; font-family: var(--display); font-weight: 400; font-size: clamp(56px, 13vw, 190px); line-height: 0.88; letter-spacing: 0.01em; text-transform: uppercase; }

/* ---------- the reel, flat ---------- */
.reel { padding: calc(64px + 6vh) 0 0; }
.reel__stage { position: relative; }
.reel__title { padding: 0 var(--pad) 28px; }
.reel__h { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(76px, 19vw, 300px); line-height: 0.86; letter-spacing: 0.01em; text-transform: uppercase; }
.reel__sub { margin: 14px 0 0; max-width: 34ch; font-size: clamp(16px, 2vw, 22px); line-height: 1.35; color: var(--bone); }
.reel__hint { display: none; }
.reel__video { width: 100%; aspect-ratio: 16 / 9; background: #000; object-fit: cover; }
.slates { list-style: none; margin: 0; padding: 20px var(--pad) 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.slate { position: relative; display: grid; gap: 2px; padding: 12px 14px 12px; background: var(--bone); color: var(--ink); }
.slate__clap { display: block; height: 10px; margin: -12px -14px 10px; background: repeating-linear-gradient(135deg, var(--ink) 0 10px, var(--bone) 10px 20px); transform-origin: left bottom; }
.slate__n { font-size: 11px; letter-spacing: 0.12em; font-variant-numeric: tabular-nums; opacity: 0.7; }
.slate__name { font-family: var(--display); font-size: 30px; line-height: 0.95; text-transform: uppercase; }
.slate__meta { font-size: 13px; color: rgba(11, 11, 10, 0.7); }
.bar { display: none; }

/* ---------- the reel, motion ---------- */
.motion .reel { padding: 0; height: calc(100vh + var(--len)); height: calc(100svh + var(--len)); }
.motion .reel__video::-webkit-media-controls { display: none; }
.motion .reel__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: #000; }
.motion .reel__video { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; }
.motion .reel__stage::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, rgba(11, 11, 10, 0.72), rgba(11, 11, 10, 0) 38%), linear-gradient(to bottom, rgba(11, 11, 10, 0.45), rgba(11, 11, 10, 0) 25%); }
.motion .reel__title { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); z-index: 3; padding: 0 var(--pad); pointer-events: none; will-change: opacity; }
.motion .reel__hint { display: block; margin: 22px 0 0; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute); }
.reel__arrow { display: inline-block; animation: nudge 1.4s ease-in-out infinite; }
@keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
.motion .slates { position: absolute; left: var(--pad); right: var(--pad); bottom: 54px; z-index: 3; display: block; padding: 0; pointer-events: none; }
.motion .slate { position: absolute; left: 0; bottom: 0; width: max-content; max-width: min(78vw, 360px); visibility: hidden; box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35); will-change: transform, opacity; }
.motion .slate.is-on { visibility: visible; }
.motion .bar { display: block; position: absolute; left: var(--pad); right: var(--pad); bottom: 22px; height: 14px; z-index: 3; }
.bar__line { position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: rgba(243, 234, 217, 0.35); }
.bar__tick { position: absolute; top: 3px; width: 1px; height: 9px; background: var(--bone); }
.bar__fill { position: absolute; left: 0; top: 7px; width: 100%; height: 1px; background: var(--red); transform-origin: left center; transform: scaleX(0); }
.bar__head { position: absolute; left: 0; top: 0; width: 2px; height: 14px; margin-left: -1px; background: var(--red); }
.bar__t { position: absolute; top: -18px; transform: translateX(-50%); font-size: 10px; letter-spacing: 0.08em; color: var(--mute); font-variant-numeric: tabular-nums; }

/* ---------- what we shoot ---------- */
.shoot { padding: clamp(80px, 16vh, 180px) var(--pad) clamp(60px, 10vh, 120px); }
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: 3ch 1fr; grid-template-areas: "k name" "k desc" "k go"; column-gap: 12px; row-gap: 4px; padding: 18px 0 20px; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; transition: background-color 0.15s, color 0.15s; }
.row__k { grid-area: k; font-size: 12px; letter-spacing: 0.1em; color: var(--mute); padding-top: 10px; font-variant-numeric: tabular-nums; }
.row__name { grid-area: name; font-family: var(--display); font-size: clamp(40px, 7vw, 96px); line-height: 0.95; text-transform: uppercase; }
.row__desc { grid-area: desc; max-width: 52ch; font-size: 15px; line-height: 1.45; color: var(--mute); }
.row__go { grid-area: go; margin-top: 4px; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red); }
.row__go::after { content: " →"; }
@media (min-width: 760px) {
  .row { grid-template-columns: 4ch 1fr 1.2fr auto; grid-template-areas: "k name desc go"; align-items: baseline; column-gap: 28px; }
  .row__go { margin: 0; }
}
@media (hover: hover) {
  .row:hover, .row:focus-visible { background: var(--bone); color: var(--ink); box-shadow: 0 0 0 var(--pad) var(--bone); clip-path: inset(0 calc(-1 * var(--pad))); }
  .row:hover .row__desc, .row:hover .row__k, .row:focus-visible .row__desc, .row:focus-visible .row__k { color: rgba(11, 11, 10, 0.7); }
}

/* ---------- crew in numbers ---------- */
.crew { padding: clamp(60px, 10vh, 120px) var(--pad); }
.crew__note { margin: 0 0 36px; max-width: 48ch; font-size: 15px; line-height: 1.45; color: var(--mute); }
.nums { margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
.num { display: grid; gap: 4px; padding-top: 14px; border-top: 1px solid var(--line); }
.num__v { margin: 0; font-family: var(--display); font-size: clamp(64px, 12vw, 150px); line-height: 0.9; font-variant-numeric: tabular-nums; }
.num__k { font-size: 13px; letter-spacing: 0.04em; color: var(--mute); }
@media (min-width: 760px) { .nums { grid-template-columns: repeat(5, 1fr); } }

/* ---------- contact ---------- */
.contact { padding: clamp(80px, 16vh, 200px) var(--pad) clamp(60px, 12vh, 140px); border-top: 1px solid var(--line); }
.contact__h { font-size: clamp(64px, 16vw, 240px); }
.contact__p { margin: 0 0 32px; max-width: 44ch; font-size: clamp(16px, 2vw, 20px); line-height: 1.4; }
.mail, .tel { display: block; width: max-content; max-width: 100%; font-family: var(--display); line-height: 1; text-decoration: none; text-transform: none; word-break: break-all; }
.mail { font-size: clamp(34px, 8vw, 110px); color: var(--bone); border-bottom: 2px solid var(--red); }
.mail:hover, .mail:focus-visible { color: var(--red); }
.tel { margin-top: 22px; font-size: clamp(26px, 5vw, 56px); color: var(--mute); }
.tel:hover, .tel:focus-visible { color: var(--bone); }
.contact__addr { margin: 28px 0 0; font-size: 14px; color: var(--mute); }

/* ---------- footer ---------- */
.foot { padding: 32px var(--pad) 40px; border-top: 1px solid var(--line); font-size: 13px; color: var(--mute); }
.foot p { margin: 0 0 6px; }
.foot a { color: var(--bone); }
.foot__src { font-size: 12px; }

/* ---------- reveals (motion only) ---------- */
.motion .shoot, .motion .crew, .motion .contact { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1); }
.motion .shoot.in, .motion .crew.in, .motion .contact.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reel__arrow, .motion .grain { animation: none; }
}
