/* Brief & Design — studio homepage
   Brand: pool aqua #3ED6D2 as the signature accent on near-black #121212 and
   off-white #F5F3EF. Anton (uppercase, condensed) for headlines, Inter for
   everything else. The ampersand is set in Anton (the logo files carry the aqua "&").
   Aqua is never body text on off-white; where it must be read on a light
   ground it becomes --teal. Printer's crop marks frame the work.
   Everything reads without JavaScript; main.js adds the ring and reveals. */

@font-face {
  font-family: "Anton";
  src: url("/fonts/anton-latin.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-latin-var.woff") format("woff");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  /* concept artwork only (the Kerrow brand book) */
  font-family: "Instrument Serif";
  src: url("/fonts/instrument-serif-latin.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --aqua: #3ED6D2;
  --teal: #0E7E7B;          /* aqua deep enough to read on off-white */
  --ink: #121212;
  --paper: #F5F3EF;
  --panel: #EAE6DE;
  --stone: #5F5B54;         /* secondary text on off-white */
  --hair: rgba(18, 18, 18, 0.16);
  --on-dark-muted: rgba(245, 243, 239, 0.74);

  --font-display: "Anton", "Arial Narrow", "Helvetica Neue Condensed", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-amp: var(--font-display);

  --gutter: 20px;
  --measure: 1280px;
  --mark: 12px;
  --mark-gap: 5px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}
@media (min-width: 48em) { :root { --gutter: 40px; } }
@media (min-width: 80em) { :root { --gutter: 64px; } }

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "cv11", "ss01";
  overflow-x: clip;
}

h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
main:focus { outline: none; }
::selection { background: var(--aqua); color: var(--ink); }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }

/* Display type: big, bold, condensed */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.9;
  letter-spacing: -0.01em;
}
/* The aqua highlight block used on key words */
.hl {
  font-style: normal;
  color: var(--ink);
  /* a block sized to the capitals, so it never covers the line above */
  background: linear-gradient(var(--aqua), var(--aqua)) 0 56% / 100% 0.86em no-repeat;
  padding: 0 0.08em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* The signature ampersand */
.amp { font-weight: inherit; text-transform: none; letter-spacing: 0; }

.skip-link {
  position: absolute; left: var(--gutter); top: 0; z-index: 200;
  padding: 0.75rem 1rem; background: var(--ink); color: var(--paper);
  font-size: 0.875rem; text-decoration: none; transform: translateY(-120%);
}
.skip-link:focus { transform: translateY(0.75rem); }

.wrap {
  width: 100%;
  max-width: calc(var(--measure) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Shared bits ---------- */

.label {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.4;
}
.label--muted { font-weight: 500; color: var(--stone); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
  padding: 0.95rem 1.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.005em;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.btn .arrow { color: var(--aqua); transition: transform 0.35s var(--ease-out), color 0.25s ease; }
.btn:hover { background: var(--aqua); border-color: var(--aqua); color: var(--ink); }
.btn:hover .arrow { color: var(--ink); transform: translateX(0.25em); }
.btn--small { padding: 0.6rem 0.95rem; font-size: 0.8125rem; }
.btn--big { padding: 1.15rem 1.7rem; font-size: 1rem; }
.btn--line { background: transparent; color: var(--ink); }
.btn--line .arrow { color: var(--ink); }
@media (max-width: 30em) { .contact__ways .btn { width: 100%; justify-content: space-between; } }

.link {
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid var(--aqua);
  padding-bottom: 2px;
  transition: border-color 0.25s ease;
}
.link:hover { border-bottom-color: var(--ink); }

.tag {
  display: inline-block;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--aqua);
  color: var(--ink);
  padding: 0.3rem 0.55rem 0.25rem;
  line-height: 1.2;
}

/* ---------- Crop marks ---------- */

.frame { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.crop { position: absolute; width: 0; height: 0; }
.crop::before, .crop::after { content: ""; position: absolute; background: currentColor; }
.crop::before { width: var(--mark); height: 1px; }
.crop::after  { width: 1px; height: var(--mark); }
.crop--tl { top: 0; left: 0; }
.crop--tl::before { top: 0; right: calc(100% + var(--mark-gap)); }
.crop--tl::after  { left: 0; bottom: calc(100% + var(--mark-gap)); }
.crop--tr { top: 0; right: 0; }
.crop--tr::before { top: 0; left: calc(100% + var(--mark-gap)); }
.crop--tr::after  { right: 0; bottom: calc(100% + var(--mark-gap)); }
.crop--bl { bottom: 0; left: 0; }
.crop--bl::before { bottom: 0; right: calc(100% + var(--mark-gap)); }
.crop--bl::after  { left: 0; top: calc(100% + var(--mark-gap)); }
.crop--br { bottom: 0; right: 0; }
.crop--br::before { bottom: 0; left: calc(100% + var(--mark-gap)); }
.crop--br::after  { right: 0; top: calc(100% + var(--mark-gap)); }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 243, 239, 0.9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--hair); }
.site-header__in {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 4.25rem;
}

.wordmark {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.1875rem;
  line-height: 1;
  letter-spacing: -0.025em;
  text-decoration: none;
  margin-right: auto;
  white-space: nowrap;
}
.wordmark .amp { color: var(--teal); }
.monogram { display: block; margin-right: auto; line-height: 0; }
.monogram img { display: block; height: 3rem; width: auto; }
.wordmark--small { font-size: 1.0625rem; margin-right: 0; }

.nav { display: none; gap: 2rem; font-size: 0.875rem; font-weight: 500; }
.nav a { text-decoration: none; position: relative; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px;
  background: var(--aqua); transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}
.nav a:hover::after { transform: scaleX(1); }

@media (min-width: 48em) {
  .nav { display: flex; }
  .site-header__in { gap: 2.5rem; min-height: 5rem; }
}

/* ---------- Hero ---------- */

.hero {
  display: grid;
  gap: 2.75rem;
  padding-block: 2.5rem 3.5rem;
}

.hero__copy { display: grid; gap: 1.5rem; align-content: center; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; flex: none; width: 1.75rem; height: 2px; background: var(--aqua); }
.eyebrow .slash { color: var(--stone); padding: 0 0.3em; font-weight: 400; }

.hero__title {
  font-size: clamp(3.4rem, 15vw, 7.25rem);
  max-width: 11ch;
  text-wrap: balance;
}

.hero__lede {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--stone);
  max-width: 38ch;
}

.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; padding-top: 0.5rem; }

.hero__media { display: grid; gap: 0.9rem; min-width: 0; }
.framed { position: relative; margin: 18px; }
@media (min-width: 64em) { .framed { margin: 22px; } }

.caption {
  display: flex; gap: 0.75rem; align-items: baseline;
  font-size: 0.75rem; color: var(--stone);
  padding-inline: 18px;
}
.caption span {
  font-size: 0.625rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink);
}

/* Drawn hero image: a linen-bound brand book on a soft set */
.book-scene {
  position: relative;
  aspect-ratio: 5 / 5.4;
  max-width: 100%;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 70% at 70% 30%, #FBFAF6 0%, rgba(251, 250, 246, 0) 60%),
    linear-gradient(160deg, #E7E3DA 0%, #D5CFC3 100%);
}
.book-scene::after {
  content: ""; position: absolute; inset: -20%;
  background: repeating-linear-gradient(115deg, rgba(255,255,255,0) 0 9%, rgba(255,255,255,0.22) 9% 13%, rgba(255,255,255,0) 13% 22%);
  mix-blend-mode: soft-light;
  pointer-events: none;
}
.book-scene__card {
  position: absolute;
  left: 9%; bottom: 10%;
  width: 34%; aspect-ratio: 3 / 4.2;
  background: #F7F4EE;
  box-shadow: 0 1px 1px rgba(0,0,0,0.06), 0 14px 30px -10px rgba(40, 32, 20, 0.35);
  transform: rotate(-7deg);
  display: grid; place-items: center;
}
.book-scene__k { font-family: "Instrument Serif", Georgia, serif; font-size: clamp(2rem, 6vw, 3.4rem); color: #1F2A1E; line-height: 1; }
.book {
  position: absolute;
  right: 8%; top: 9%;
  width: 62%; aspect-ratio: 3 / 4.1;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.28) 0, rgba(0,0,0,0) 4%, rgba(255,255,255,0.05) 5%, rgba(0,0,0,0) 7%),
    linear-gradient(170deg, #2C3A2A 0%, #1C261B 100%);
  box-shadow:
    1px 1px 0 rgba(255,255,255,0.05) inset,
    0 2px 2px rgba(0,0,0,0.12),
    0 30px 60px -20px rgba(20, 24, 16, 0.6),
    0 50px 80px -40px rgba(20, 24, 16, 0.5);
  transform: rotate(4deg);
  color: #CDB88E;
  display: grid;
  align-content: start;
  justify-items: center;
  padding-top: 34%;
  gap: 0.6rem;
  overflow: hidden;
}
.book__name { font-family: "Instrument Serif", Georgia, serif; font-size: clamp(2rem, 7vw, 3.75rem); line-height: 1; letter-spacing: 0.01em; }
.book__tag { font-size: clamp(0.45rem, 1.2vw, 0.625rem); letter-spacing: 0.32em; text-transform: uppercase; font-weight: 500; }
.book__lines { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 55%; }
.book__lines path { fill: none; stroke: #CDB88E; stroke-opacity: 0.45; stroke-width: 0.7; vector-effect: non-scaling-stroke; }

.hero__foot {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone);
}
.hero__rule { flex: 0 0 3rem; height: 2px; background: var(--aqua); }
.hero__foot p { flex: 1; min-width: 0; }

.seal { flex: none; width: 5.5rem; height: 5.5rem; color: var(--ink); }
.seal text { fill: currentColor; font-family: var(--font-body); font-size: 8.2px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.seal .seal__amp { font-family: var(--font-amp); font-size: 40px; font-weight: 400; letter-spacing: 0; text-transform: none; fill: var(--teal); }
.seal__spin { transform-origin: 60px 60px; }

@media (min-width: 64em) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 2rem 4rem;
    padding-block: 4rem 4rem;
    align-items: center;
  }
  .hero__title { font-size: clamp(5rem, 7vw, 7rem); max-width: 12ch; }
  .hero__foot { grid-column: 1 / -1; }
}

/* ---------- Sections ---------- */

.section { padding-block: clamp(3.5rem, 9vw, 7rem); }
.section__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem 2rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--ink);
  margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
}

/* ---------- Work ---------- */

.work { display: grid; gap: 1.25rem; }
@media (min-width: 48em) {
  .work { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
}

.work__card {
  position: relative;
  display: grid;
  max-width: 100%;
  color: var(--paper);
  text-decoration: none;
  background: var(--ink);
}
/* the film: 4:5, shown whole (nothing cropped, nothing laid over it) */
.work__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #0a0a0a;
}
.work__video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 1.1s var(--ease-out);
}
.work__frame { position: absolute; inset: 14px; pointer-events: none; z-index: 2; color: var(--paper); opacity: 0.55; --mark: 14px; --mark-gap: 0px; }
.work__text {
  position: relative;
  display: grid; justify-items: start; gap: 0.3rem;
  padding: clamp(1.1rem, 3vw, 1.75rem);
  padding-right: 4.5rem;
}
.work__text .tag { margin-bottom: 0.7rem; }
.work__title { font-size: clamp(2.25rem, 4.4vw, 3.25rem); }
.work__kind { font-size: 0.875rem; font-weight: 500; }
.work__desc { font-size: 0.8125rem; line-height: 1.5; color: var(--on-dark-muted); max-width: 40ch; margin-top: 0.35rem; }
.work__go {
  position: absolute; right: clamp(1.1rem, 3vw, 1.75rem); bottom: clamp(1.1rem, 3vw, 1.75rem); z-index: 2;
  width: 2.5rem; height: 2.5rem; display: grid; place-items: center;
  border-radius: 50%;
  background: var(--aqua); color: var(--ink); font-weight: 600;
  transition: transform 0.4s var(--ease-out), background 0.25s ease;
}
@media (hover: hover) {
  .work__card:hover .work__video { transform: scale(1.02); }
  .work__card:hover .work__go { transform: translateX(4px); background: var(--paper); }
}
.svg-serif { font-family: "Instrument Serif", Georgia, serif; }

/* ---------- Services ---------- */

.tiers { display: grid; border-top: 1px solid var(--hair); }
.tier {
  display: grid;
  gap: 0.9rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--hair);
}
.tier__name { font-size: clamp(2.75rem, 6vw, 4rem); }
.tier__what { font-size: 1rem; font-weight: 500; max-width: 30ch; }
.tier__list { display: grid; gap: 0.35rem; font-size: 0.875rem; color: var(--stone); }
.tier__list li { padding-left: 1.1rem; position: relative; }
.tier__list li::before { content: "→"; position: absolute; left: 0; color: var(--teal); }
.tier__price { display: flex; align-items: baseline; gap: 0.5rem; margin-top: 0.4rem; }
.tier__price strong { font-family: var(--font-display); font-weight: 400; font-size: 2.25rem; line-height: 1; }
.tier__price span { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--stone); }

@media (min-width: 48em) {
  .tiers { grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 0; }
  .tier {
    border-bottom: 0;
    border-left: 1px solid var(--hair);
    padding: 0.25rem clamp(1.25rem, 3vw, 2.5rem) 0.5rem;
    grid-template-rows: auto auto 1fr auto;
  }
  .tier:first-child { border-left: 0; padding-left: 0; }
}

/* ---------- Process ---------- */

.process { display: grid; gap: 1.75rem; counter-reset: step; }
.process__step { display: grid; gap: 0.6rem; counter-increment: step; position: relative; }
.process__name {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  display: flex; align-items: baseline; gap: 0.75rem;
}
.process__name::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-body); font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.1em; color: var(--teal);
}
.process__step p { font-size: 0.9375rem; color: var(--stone); max-width: 30ch; }

@media (min-width: 48em) {
  .process { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; }
  .process__step:not(:last-child)::after {
    content: "→";
    position: absolute; right: -1.4rem; top: 0.5rem;
    font-size: 1.5rem; line-height: 1; color: var(--teal); font-weight: 500;
  }
}

/* ---------- Statement band (with the ring) ---------- */

.band {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
  padding-block: clamp(4rem, 12vw, 8rem);
  isolation: isolate;
}
.band__in {
  display: grid;
  gap: 1rem;
  align-items: center;
}
@media (min-width: 64em) {
  .band__in { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 2rem; }
}
.band__text {
  font-size: clamp(2.75rem, 7.6vw, 5.75rem);
  max-width: 12ch;
  text-wrap: balance;
}
.band__text em { font-style: normal; color: var(--aqua); }

.orbit-stage {
  position: relative;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 1 / 0.72;
  display: grid;
  place-items: center;
}
.band__amp {
  grid-area: 1 / 1;
  font-family: var(--font-amp);
  font-size: clamp(14rem, 62vw, 30rem); line-height: 1;
  transform: translateY(3%);
  color: transparent;
  -webkit-text-stroke: 1px rgba(62, 214, 210, 0.45);
  user-select: none;
}
.orbit {
  grid-area: 1 / 1;
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  pointer-events: none;
  perspective: 1600px;
}
.orbit__tilt,
.orbit__ring {
  position: relative;
  width: 0;
  height: 0;
  transform-style: preserve-3d;
}
.orbit__ring > span {
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1;
  white-space: pre;
  color: var(--aqua);
  transform-origin: 0 0;
  will-change: transform, opacity;
}
.orbit:not(.is-ready) { visibility: hidden; }

/* ---------- Contact ---------- */

.contact__lead {
  font-size: clamp(3rem, 8.4vw, 6.25rem);
  max-width: 12ch;
  text-wrap: balance;
  margin-bottom: 2rem;
}
.contact__ways { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; }
.contact__handle { font-size: 0.9375rem; font-weight: 500; color: var(--stone); }
.contact__emails {
  display: grid; gap: 0; margin-top: 2.75rem;
  border-top: 1px solid var(--hair);
}
.contact__row {
  display: grid; gap: 0.35rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--hair);
}
@media (min-width: 48em) {
  .contact__row { grid-template-columns: 16rem 1fr; align-items: baseline; gap: 2rem; }
}
.contact__row dt { color: var(--stone); }
.contact__row dd { margin: 0; }
.contact__mail {
  font-size: clamp(1.125rem, 2.4vw, 1.5rem); font-weight: 500; letter-spacing: -0.01em;
  color: var(--ink); text-decoration: none;
  background-image: linear-gradient(var(--aqua), var(--aqua));
  background-size: 0% 2px; background-position: 0 100%; background-repeat: no-repeat;
  transition: background-size 0.35s var(--ease-out);
  overflow-wrap: anywhere;
}
.contact__mail:hover, .contact__mail:focus-visible { background-size: 100% 2px; }
.site-footer__mail { color: inherit; text-decoration: none; }
.site-footer__mail:hover, .site-footer__mail:focus-visible { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Footer ---------- */

.site-footer { border-top: 1px solid var(--hair); }
.site-footer__in {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  gap: 0.75rem 2rem;
  padding-block: 2rem 2.5rem;
  font-size: 0.75rem; letter-spacing: 0.04em; color: var(--stone);
}
.site-footer .wordmark { color: var(--ink); }

/* ---------- Project pages ----------
   One shared structure: title, film, idea, stills, construction, CTA,
   next project. The project's own typeface only appears in its title. */

@font-face {
  /* Kerrow's wordmark face, subset to its own name */
  font-family: "Schibsted Grotesk";
  src: url("/fonts/schibsted-kerrow.woff") format("woff");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  /* Kerrow's cut-list face */
  font-family: "IBM Plex Mono";
  src: url("/fonts/plex-mono-kerrow.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

.project-head { padding-block: clamp(2rem, 6vw, 4.5rem) clamp(1.75rem, 4vw, 3rem); display: grid; gap: 1rem; }
.project-back {
  justify-self: start; font-size: 0.8125rem; font-weight: 500; color: var(--stone);
  text-decoration: none; margin-bottom: clamp(0.5rem, 3vw, 1.75rem);
}
.project-back:hover { color: var(--ink); }
.project-head__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; }
.project-head__kind { font-size: 0.875rem; font-weight: 500; }
.project-title { font-size: clamp(3.5rem, 13vw, 10rem); line-height: 0.92; margin: 0.25rem 0 0.4rem; }
.project-head__lede { font-size: clamp(1.0625rem, 2vw, 1.375rem); line-height: 1.45; max-width: 34ch; color: var(--stone); }
@media (min-width: 64em) {
  .project-head { grid-template-columns: minmax(0, 1fr) minmax(0, 24rem); column-gap: 3rem; align-items: end; }
  .project-back, .project-head__meta, .project-title { grid-column: 1 / -1; }
  .project-head__lede { grid-column: 2; grid-row: 3; padding-bottom: 1.2rem; }
  .project-title { grid-column: 1; grid-row: 3; }
}

/* Kerrow's own type, used only for its name */
.kerrow-type {
  font-family: "Schibsted Grotesk", var(--font-body);
  font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: #1F1F1E;
}

/* The film sits on the project's own ground, at a height that fits the screen */
.project-film { position: relative; display: grid; place-items: center; padding: clamp(1.5rem, 5vw, 4.5rem) clamp(1rem, 4vw, 3rem); background: var(--panel); }
.project-film--kerrow { background: #E7E3DB; }
.project-film__media {
  position: relative; width: min(100%, calc((100svh - 9rem) * 0.8)); min-width: min(100%, 18rem);
  aspect-ratio: 4 / 5; overflow: hidden; background: #E7E3DB;
}
.film__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.project-film .work__frame { color: #1F1F1E; opacity: 0.35; }

.project-block { padding-block: clamp(2.75rem, 7vw, 5.5rem) 0; display: grid; gap: 1.25rem; }
.project-block > .label { padding-top: 1.1rem; border-top: 1px solid var(--ink); }
@media (min-width: 64em) {
  .project-block { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); column-gap: 3rem; }
  .project-block > .label { grid-column: 1 / -1; }
  .project-block > :not(.label) { grid-column: 2; }
  .project-block--wide > * { grid-column: 1 / -1 !important; }
}
.project-idea { font-size: clamp(1.375rem, 3vw, 2.125rem); line-height: 1.3; letter-spacing: -0.015em; font-weight: 500; max-width: 30ch; text-wrap: pretty; }

.stills { display: grid; gap: clamp(1rem, 2.5vw, 1.5rem); }
@media (min-width: 48em) { .stills { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.still figure { display: grid; gap: 0.7rem; }
.still img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; background: #E7E3DB; }
.still figcaption, .build__note { font-size: 0.875rem; line-height: 1.5; color: var(--stone); max-width: 44ch; }

.build { display: grid; gap: 1.25rem; }
.build__steps { display: grid; gap: clamp(0.75rem, 2vw, 1rem); }
@media (min-width: 40em) { .build__steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.build__step { display: grid; gap: 0.6rem; }
.build__step img { display: block; width: 100%; height: auto; aspect-ratio: 1; background: #E7E3DB; }
.build__cap { font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 0.8125rem; color: var(--ink); }
.build__cap span { color: var(--stone); margin-right: 0.6em; }

.project-cta { padding-block: clamp(4rem, 10vw, 7.5rem) clamp(3rem, 8vw, 6rem); }
.project-cta__lead { font-size: clamp(2.5rem, 7vw, 5.25rem); max-width: 15ch; text-wrap: balance; margin-bottom: 2rem; }

.project-next { display: grid; gap: 1.5rem; justify-items: start; padding-bottom: clamp(3rem, 8vw, 5rem); }
.project-next__card {
  display: grid; grid-template-columns: 6.5rem 1fr; align-items: center; gap: 1.25rem;
  width: 100%; padding-top: 1.25rem; border-top: 1px solid var(--ink); text-decoration: none;
}
.project-next__card img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; background: var(--ink); }
.project-next__text { display: grid; gap: 0.4rem; }
.project-next__title { font-size: clamp(2.5rem, 7vw, 4.5rem); }
.project-next__title .arrow { font-family: var(--font-body); font-weight: 400; font-size: 0.6em; vertical-align: 0.2em; margin-left: 0.15em; color: var(--teal); display: inline-block; transition: transform 0.35s var(--ease-out); }
@media (hover: hover) { .project-next__card:hover .project-next__title .arrow { transform: translateX(0.15em); } }
@media (min-width: 48em) { .project-next__card { grid-template-columns: 9rem 1fr; gap: 2rem; } }

/* ---------- Project pages: each project's own type and signature section ---------- */

@font-face { font-family: "Geist"; src: url("/fonts/geist-tarn.woff") format("woff"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/fonts/geist-mono-tarn.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Bricolage Grotesque"; src: url("/fonts/bricolage-halflight.woff") format("woff"); font-weight: 200 800; font-stretch: 75% 100%; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Mono"; src: url("/fonts/dm-mono-halflight.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("/fonts/cormorant-maren.woff") format("woff"); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Jost"; src: url("/fonts/jost-maren.woff") format("woff"); font-weight: 500; font-style: normal; font-display: swap; }

/* titles, set in each client's own wordmark style */
.title-tarn { font-family: "Geist", var(--font-body); font-weight: 500; letter-spacing: -0.05em; color: #0D0E10; }
.title-halflight {
  font-family: "Bricolage Grotesque", var(--font-body); text-transform: uppercase; letter-spacing: -0.01em; color: #120D1F;
  font-variation-settings: "wdth" 75, "wght" 800;
}
.title-maren { font-family: "Cormorant Garamond", Georgia, serif; font-style: italic; font-weight: 500; letter-spacing: -0.01em; color: #1B1B19; line-height: 1; }

/* the film's ground is the project's own colour */
.project-film--tarn { background: #5E6B73; }
.project-film--halflight { background: #120D1F; }
.project-film--maren { background: #2E3B34; }
.project-film--dark .project-film__media { background: transparent; }
.project-film--dark .work__frame { color: #F5F3EF; opacity: 0.45; }

/* signature section */
.sig { display: grid; gap: 1.25rem; }
.sig__grid { display: grid; gap: clamp(0.75rem, 2vw, 1rem); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 48em) {
  .sig__grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sig__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.sig__item { display: grid; gap: 0.6rem; align-content: start; }
.sig__item img, .sig__figure img { display: block; width: 100%; height: auto; }
.sig__cap { font-size: 0.8125rem; line-height: 1.45; color: var(--ink); }
.sig__cap span { color: var(--stone); margin-right: 0.6em; }
.sig__note { font-size: 0.875rem; line-height: 1.5; color: var(--stone); max-width: 52ch; }
.sig__figure { display: grid; gap: 0.7rem; }
@media (min-width: 48em) { .sig__figure { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; column-gap: clamp(1rem, 2.5vw, 1.5rem); } }
.p-tarn .sig__cap { font-family: "Geist Mono", ui-monospace, monospace; font-size: 0.75rem; }
.p-halflight .sig__cap { font-family: "DM Mono", ui-monospace, monospace; font-size: 0.75rem; }
.p-maren .sig__cap { font-family: "Jost", var(--font-body); font-weight: 500; font-size: 0.6875rem; letter-spacing: 0.16em; text-transform: uppercase; }

/* Halflight: the hour system, set live in the campaign's variable font */
.hours { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(0.75rem, 2vw, 1rem); }
@media (min-width: 48em) { .hours { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.hour {
  aspect-ratio: 4 / 5; display: flex; flex-direction: column; justify-content: space-between;
  padding: clamp(0.8rem, 2vw, 1.25rem); color: #F4F0FF;
}
.hour__word { font-family: "Bricolage Grotesque", var(--font-body); text-transform: uppercase; font-size: clamp(2rem, 5.4vw, 4.4rem); line-height: 0.86; letter-spacing: -0.01em; }
.hour__time { display: flex; justify-content: space-between; gap: 0.5rem; font-family: "DM Mono", ui-monospace, monospace; font-size: 0.75rem; }
.hour--21 { background: #5B2BFF; }
.hour--21 .hour__word { font-variation-settings: "wdth" 100, "wght" 300; }
.hour--00 { background: #FF3D8B; }
.hour--00 .hour__word { font-variation-settings: "wdth" 87.5, "wght" 550; }
.hour--03 { background: #FF6A13; }
.hour--03 .hour__word { font-variation-settings: "wdth" 75, "wght" 800; }
.hour--06 { background: #FFD84A; color: #120D1F; }
.hour--06 .hour__word { font-variation-settings: "wdth" 87.5, "wght" 550; }

/* ---------- 404 page ---------- */

.lost { min-height: 70vh; display: grid; align-content: center; gap: 1.5rem; padding-block: 4rem; }

/* ---------- Motion ---------- */

@media (prefers-reduced-motion: no-preference) {
  .seal__spin { animation: spin 22s linear infinite; }
  @keyframes spin { to { transform: rotate(360deg); } }

  .hero__copy > *, .hero__media, .hero__foot { animation: rise 1s var(--ease-out) both; }
  .hero__copy > :nth-child(2) { animation-delay: 0.08s; }
  .hero__copy > :nth-child(3) { animation-delay: 0.16s; }
  .hero__copy > :nth-child(4) { animation-delay: 0.24s; }
  .hero__media { animation-delay: 0.2s; }
  .hero__foot { animation-delay: 0.4s; }
  @keyframes rise { from { opacity: 0; transform: translate3d(0, 18px, 0); } }

  .js-reveal [data-reveal] { opacity: 0; transform: translate3d(0, 24px, 0); transition: opacity 0.9s ease, transform 1s var(--ease-out); }
  .js-reveal [data-reveal].is-in { opacity: 1; transform: none; }
}

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

@media print {
  .site-header { position: static; }
  .band { background: none; color: var(--ink); }
}
