/* Prebrief. A dark screening room, one serif, and a sheet of paper for the brief. */

:root {
  --room: #0C0B09;
  --room-2: #141210;
  --cream: #EFEADF;
  --soft: #9C968A;
  --rule: rgba(239, 234, 223, 0.15);
  --gold: #EFEADF;   /* was gold; the films are now the only colour on the page */
  --paper: #EDE7D9;
  --ink: #1B1915;
  --ink-soft: #5D584E;

  --serif: "Cormorant Garamond", "Garamond", "Times New Roman", serif;
  --sans: "Inter", system-ui, sans-serif;
  --type: "Courier Prime", "Courier New", monospace;

  --gutter: clamp(20px, 5vw, 88px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--room);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, dt, figure { margin: 0; padding: 0; font-weight: inherit; }
ul, ol { list-style: none; }
em { font-style: italic; }
::selection { background: var(--gold); color: var(--room); }
a:focus-visible, button:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; }

/* small capitals used for labels everywhere */
.small {
  font-family: var(--sans); font-size: 11px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--soft);
}

.link {
  font-family: var(--serif); font-size: clamp(22px, 2vw, 28px); font-style: italic;
  text-decoration: none; color: var(--gold);
  border-bottom: 1px solid currentColor; padding-bottom: 3px;
  transition: color 0.3s var(--ease), letter-spacing 0.5s var(--ease);
}
.link:hover { color: var(--cream); letter-spacing: 0.01em; }

/* ---------- top bar ---------- */

.bar {
  position: fixed; z-index: 30; top: 0; left: 0; right: 0;
  display: flex; align-items: baseline; justify-content: space-between; gap: 20px;
  padding: 20px var(--gutter) 18px;
  background: linear-gradient(180deg, rgba(12, 11, 9, 0.92) 0%, rgba(12, 11, 9, 0.6) 70%, rgba(12, 11, 9, 0) 100%);
}
.bar__mark { font-family: var(--serif); font-size: 26px; letter-spacing: 0.01em; text-decoration: none; line-height: 1; }
.bar__links { display: flex; align-items: baseline; gap: clamp(16px, 2.6vw, 38px); }
.bar__links a {
  font-size: 11px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
  text-decoration: none; color: var(--soft); transition: color 0.25s;
}
.bar__links a:hover { color: var(--cream); }
.bar__links a:not(.bar__cta) { display: none; }
.bar__links .bar__cta { color: var(--gold); border-bottom: 1px solid currentColor; padding-bottom: 3px; }
@media (min-width: 760px) { .bar__links a:not(.bar__cta) { display: inline; } }

/* ---------- hero: the line on the left, the film on the right ---------- */

.hero {
  display: grid; gap: 54px; align-items: center;
  min-height: 100svh;
  padding: 120px var(--gutter) 70px;
}
@media (min-width: 980px) {
  .hero { grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr); gap: clamp(40px, 6vw, 110px); }
}
.hero__line {
  margin-top: 26px;
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(58px, 9.2vw, 168px); line-height: 0.92; letter-spacing: -0.028em;
}
.hero__line em { display: block; }
.hero__say { margin-top: clamp(28px, 3vw, 44px); max-width: 31em; font-size: clamp(16px, 1.25vw, 19px); color: #CFC9BC; }
.hero__go { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 16px 30px; }
.hero__go span { font-size: 11px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--soft); }

.film { justify-self: center; width: min(100%, 420px); }
@media (min-width: 980px) { .film { justify-self: end; width: min(100%, 46svh, 460px); } }
.film__frame { position: relative; aspect-ratio: 9 / 16; overflow: hidden; border-radius: 2px; background: #050505; }
.film__frame video { width: 100%; height: 100%; object-fit: cover; }
.film__sound {
  position: absolute; left: 12px; bottom: 12px; cursor: pointer;
  font-family: var(--sans); font-size: 10px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--cream); background: rgba(12, 11, 9, 0.5); padding: 8px 11px; border: 1px solid rgba(239, 234, 223, 0.25); border-radius: 2px;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.film__sound[aria-pressed="true"] { color: var(--room); background: var(--cream); }
.film figcaption { display: flex; align-items: baseline; gap: 14px; margin-top: 14px; }
.film figcaption strong { font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 1; }
.film figcaption span { font-size: 10.5px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--soft); white-space: nowrap; }
.film figcaption span:nth-child(2) { font-family: var(--serif); font-style: italic; font-size: 18px; letter-spacing: 0; text-transform: none; flex: 1; }

/* the film laid out as five frames */
.strip img { width: 100%; height: auto; border-radius: 2px; }
.strip__notes { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 10px; margin-top: 16px; }
.strip__notes li { font-family: var(--serif); font-size: clamp(14px, 1.45vw, 21px); line-height: 1.2; color: #CFC9BC; }
.strip__notes span { display: block; margin-bottom: 6px; font-family: var(--sans); font-size: 10px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--soft); }
@media (max-width: 640px) { .strip__notes li { font-size: 0; } .strip__notes span { font-size: 9px; letter-spacing: 0.12em; margin: 0; } }

/* ---------- blocks ---------- */

.block { padding: clamp(96px, 12vw, 190px) var(--gutter) 0; }
.block__head { max-width: 1200px; margin-bottom: clamp(44px, 6vw, 92px); }
.head {
  margin-top: 22px;
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(42px, 6.6vw, 112px); line-height: 0.98; letter-spacing: -0.02em;
}
.head em { color: var(--gold); }
.block__say { margin-top: 26px; max-width: 34em; color: #CFC9BC; font-size: 17px; }

/* method, set like a printed programme */
.programme { border-top: 1px solid var(--rule); }
.programme li { display: grid; gap: 10px 40px; padding: clamp(26px, 3vw, 44px) 0; border-bottom: 1px solid var(--rule); }
.programme__n { font-family: var(--serif); font-style: italic; font-size: 30px; line-height: 1; color: var(--gold); }
.programme h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3.3vw, 52px); line-height: 1.04; letter-spacing: -0.012em; }
.programme p { color: #BDB7AA; max-width: 32em; }
@media (min-width: 900px) {
  .programme li { grid-template-columns: 90px minmax(0, 1.05fr) minmax(0, 0.95fr); align-items: baseline; }
}

/* the brief: one sheet of paper, set straight */
.block--desk { background: linear-gradient(180deg, var(--room) 0%, #15130F 45%, var(--room) 100%); }
.sheet {
  max-width: 1120px;
  background: var(--paper); color: var(--ink);
  padding: clamp(24px, 3.4vw, 52px);
  font-family: var(--type); font-size: 14px; line-height: 1.55;
  box-shadow: 0 60px 100px -50px rgba(0, 0, 0, 0.9);
}
.sheet__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 18px; padding-bottom: 14px; border-bottom: 1px solid rgba(27, 25, 21, 0.55); font-weight: 700; letter-spacing: 0.08em; }
.sheet__cols { display: grid; gap: 30px clamp(30px, 5vw, 70px); margin-top: 6px; }
@media (min-width: 900px) { .sheet__cols { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); } }
.sheet__lines dt { margin-top: 18px; font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); }
.sheet__lines dd { margin-top: 3px; }
.sheet__big { font-family: var(--serif); font-size: clamp(26px, 2.6vw, 36px); line-height: 1.06; letter-spacing: -0.01em; }
.sheet mark { background: none; color: inherit; font-weight: 700; border-bottom: 2px solid var(--ink); padding-bottom: 1px; }
.sheet__shots { width: 100%; margin-top: 18px; border-collapse: collapse; align-self: start; }
.sheet__shots caption { text-align: left; font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); padding-bottom: 8px; }
.sheet__shots th, .sheet__shots td { text-align: left; vertical-align: top; padding: 9px 12px 9px 0; border-top: 1px dashed rgba(27, 25, 21, 0.3); font-weight: 400; }
.sheet__shots th { font-weight: 700; white-space: nowrap; }
.sheet__shots td:nth-child(2) { white-space: nowrap; color: var(--ink-soft); }

/* work */
.piece { display: grid; gap: 10px 40px; padding: clamp(26px, 3vw, 46px) 0; border-top: 1px solid var(--rule); align-items: start; }
.piece:last-of-type { border-bottom: 1px solid var(--rule); }
.piece__n { font-family: var(--serif); font-style: italic; font-size: 30px; line-height: 1; color: var(--gold); }
.piece h3 { font-family: var(--serif); font-weight: 300; font-size: clamp(48px, 6.6vw, 110px); line-height: 0.92; letter-spacing: -0.025em; transition: letter-spacing 0.6s var(--ease), color 0.4s; }
.piece:hover h3 { color: var(--gold); letter-spacing: -0.015em; }
.piece__kind { margin-top: 14px; font-size: 11px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--soft); }
.piece__idea { margin-top: 18px; max-width: 26em; font-family: var(--serif); font-size: clamp(22px, 1.9vw, 28px); line-height: 1.2; }
.piece__line { margin-top: 8px; font-family: var(--serif); font-style: italic; font-size: clamp(20px, 1.7vw, 25px); color: var(--soft); }
.piece__state { font-size: 11px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--cream); }
.piece__state--soon { color: var(--soft); }
@media (min-width: 900px) {
  .piece { grid-template-columns: 90px minmax(0, 1fr) auto; }
  .piece__state { padding-top: 12px; }
}

/* pricing */
.rates { border-top: 1px solid var(--rule); }
.rate { display: grid; gap: 12px 40px; padding: clamp(28px, 3.2vw, 50px) 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.rate h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3.1vw, 46px); line-height: 1.05; letter-spacing: -0.012em; }
.rate__what { color: #BDB7AA; max-width: 34em; }
.rate__price { font-family: var(--serif); font-weight: 300; font-size: clamp(54px, 6vw, 96px); line-height: 0.95; letter-spacing: -0.03em; white-space: nowrap; }
.rate__price small, .rate__price span { font-family: var(--sans); font-size: 11px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--soft); }
.rate__price small { margin-right: 12px; }
.rate__price span { margin-left: 12px; }
@media (min-width: 980px) {
  .rate { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr) auto; }
  .rate__price { text-align: right; min-width: 6.2em; }
}

/* plain statements */
.plain { border-top: 1px solid var(--rule); max-width: 1180px; }
.plain li { padding: clamp(22px, 2.6vw, 36px) 0; border-bottom: 1px solid var(--rule); font-family: var(--serif); font-weight: 300; font-size: clamp(26px, 3vw, 46px); line-height: 1.1; letter-spacing: -0.012em; }
.plain--small li { font-size: clamp(21px, 2.1vw, 30px); line-height: 1.2; }
.founder { margin-top: 44px; max-width: 38em; color: var(--soft); }
.founder strong { color: var(--cream); font-weight: 500; }
.founder a { text-underline-offset: 3px; text-decoration-thickness: 1px; }
.founder a:hover { color: var(--gold); }

/* ---------- the other films: three quiet cards ---------- */
.reel { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.6vw, 44px); max-width: 1320px; }
.reel .film { width: 100%; justify-self: stretch; }
.film--card .film__frame { cursor: pointer; }
.film--card video { transition: opacity 0.5s var(--ease); }
.film--card figcaption { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 6px 14px; margin-top: 16px; }
.film--card figcaption strong { font-size: clamp(26px, 2.4vw, 36px); }
.film--card figcaption span:nth-child(2) { justify-self: end; font-family: var(--sans); font-style: normal; font-size: 10.5px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; }
.film--card figcaption em { grid-column: 1 / -1; font-family: var(--serif); font-size: clamp(19px, 1.6vw, 23px); line-height: 1.2; color: #CFC9BC; }
.film--card figcaption p { grid-column: 1 / -1; margin-top: 6px; font-size: 14.5px; line-height: 1.55; color: var(--soft); max-width: 30em; }
@media (max-width: 760px) {
  .reel { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 6px; scrollbar-width: none; }
  .reel::-webkit-scrollbar { display: none; }
  .reel .film { flex: 0 0 74vw; scroll-snap-align: center; }
}

/* one sentence on its own, between sections */
.aside { padding: clamp(110px, 14vw, 220px) var(--gutter) 0; text-align: center; font-family: var(--serif); font-weight: 300; font-style: italic; font-size: clamp(28px, 3.6vw, 56px); line-height: 1.1; letter-spacing: -0.01em; color: #CFC9BC; }

/* prices, set like a short printed tariff */
.tariff { border-top: 1px solid var(--rule); max-width: 1180px; }
.tariff li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px 40px; padding: clamp(22px, 2.6vw, 36px) 0; border-bottom: 1px solid var(--rule); }
.tariff h3 { font-family: var(--serif); font-weight: 300; font-size: clamp(26px, 3vw, 46px); line-height: 1.1; letter-spacing: -0.012em; }
.tariff p { margin-top: 8px; max-width: 34em; font-size: 15px; color: var(--soft); }
.tariff strong { font-family: var(--serif); font-weight: 300; font-size: clamp(26px, 3vw, 46px); line-height: 1.1; letter-spacing: -0.012em; white-space: nowrap; }
.tariff strong small { margin-right: 10px; font-family: var(--sans); font-size: 11px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--soft); }
.tariff__note { margin-top: 26px; max-width: 40em; font-size: 14px; color: var(--soft); }

/* how a film is made */
.made { max-width: 1180px; }
.made__lead { max-width: 24em; font-family: var(--serif); font-weight: 300; font-size: clamp(26px, 3vw, 46px); line-height: 1.12; letter-spacing: -0.012em; }
.made__notes { margin-top: clamp(30px, 4vw, 56px); border-top: 1px solid var(--rule); max-width: 760px; }
.made__notes li { padding: 16px 0; border-bottom: 1px solid var(--rule); color: #BDB7AA; }

/* closing */
.closing { padding: clamp(120px, 16vw, 250px) var(--gutter) clamp(90px, 11vw, 170px); text-align: center; }
.closing__line { margin: 26px 0 40px; font-family: var(--serif); font-weight: 300; font-size: clamp(52px, 9.4vw, 170px); line-height: 0.92; letter-spacing: -0.03em; }
.closing__line em { display: block; color: var(--gold); }
.closing__mail {
  font-family: var(--serif); font-style: italic; font-size: clamp(28px, 3.2vw, 46px);
  text-decoration: none; border-bottom: 1px solid var(--gold); padding-bottom: 4px;
  transition: color 0.3s;
}
.closing__mail:hover { color: var(--gold); }

/* footer */
.foot { padding: 0 var(--gutter) 28px; overflow: hidden; border-top: 1px solid var(--rule); }
.foot__word { display: flex; justify-content: center; user-select: none; font-family: var(--serif); font-weight: 300; font-size: clamp(110px, 27vw, 500px); letter-spacing: -0.045em; padding: 0.08em 0 0.12em; }
/* Each letter's box is made tall and wide enough to hold the whole glyph, then pulled
   back with negative margins so the spacing is unchanged. With a box smaller than the
   glyph (the old line-height of 0.8), some browsers repainted only the box on hover
   and left the top of the "f" unlit. */
.foot__word span { display: block; line-height: 1.3; margin: -0.25em -0.12em; padding: 0 0.12em; color: transparent; -webkit-text-stroke: 1px rgba(239, 234, 223, 0.36); transition: color 0.7s var(--ease), -webkit-text-stroke-color 0.7s var(--ease); }
/* The hook of the f reaches well past its own width. Nothing follows it, so its box can simply be made wider. */
.foot__word span:last-child { padding-right: 0.34em; margin-right: -0.34em; }
.foot__word span:hover { color: var(--gold); -webkit-text-stroke-color: var(--gold); transition-duration: 0.08s; }
.foot__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 30px; padding-top: 18px; border-top: 1px solid var(--rule); font-size: 12px; letter-spacing: 0.06em; color: var(--soft); }
.foot__row nav { display: flex; flex-wrap: wrap; gap: 8px 26px; }
.foot__row a { text-decoration: none; }
.foot__row a:hover { color: var(--cream); }

/* ---------- reveal on scroll ---------- */

.reveal { opacity: 0; transform: translateY(20px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .foot__word span, .link { transition: none; }
}

/* ---------- plain document pages (terms, privacy, refunds) ---------- */

.doc { max-width: 900px; padding: 160px var(--gutter) 110px; }
.doc .head { font-size: clamp(42px, 6vw, 88px); }
.doc__draft { margin-top: 22px; font-size: 11px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.doc h2 { margin-top: 50px; padding-top: 22px; border-top: 1px solid var(--rule); font-family: var(--serif); font-weight: 400; font-size: 32px; line-height: 1.1; }
.doc h2 + p { margin-top: 12px; }
.doc p + p { margin-top: 12px; }
.doc p { max-width: 40em; color: #BDB7AA; }
.doc__lead { margin-top: 30px; max-width: 34em; font-family: var(--serif); font-size: clamp(22px, 2vw, 28px); line-height: 1.25; color: var(--cream); }
.doc__list { margin-top: 12px; max-width: 42em; }
.doc__list li { position: relative; padding: 9px 0 9px 22px; color: #BDB7AA; border-top: 1px solid var(--rule); }
.doc__list li::before { content: ""; position: absolute; left: 0; top: 20px; width: 8px; height: 1px; background: var(--soft); }
.doc strong { color: var(--cream); font-weight: 500; }
.doc a { text-underline-offset: 3px; text-decoration-thickness: 1px; }
