/* Tallylight template: editorial layout on a visible 4-column grid.
   Colours and fonts come from content.json (theme), injected as CSS variables. */

*,
*::before,
*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.5 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, dl, dd, figure { margin: 0; }
ul { padding: 0; list-style: none; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
/* on the dark sections the accent flips to cream so it stays visible */
.contact ::selection, .ftr ::selection, .p-next ::selection, .egg ::selection { background: var(--on-dark); color: var(--ink); }
.contact :focus-visible, .ftr :focus-visible, .p-next:focus-visible { outline-color: var(--on-dark); }

:root {
  --gutter: max(20px, min(4vw, 40px));
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --spring: cubic-bezier(0.2, 0.9, 0.25, 1);
}
.skip {
  position: fixed; z-index: 100; left: var(--gutter); top: 12px;
  padding: 10px 16px; background: var(--ink); color: var(--bg); font-weight: 600;
  translate: 0 -200%; transition: translate 0.3s var(--spring);
}
.skip:focus { translate: 0 0; }

/* the visible grid the layout sits on */
.grid-lines {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin: 0 var(--gutter);
}
.grid-lines span { border-left: 1px solid var(--line); }
.grid-lines span:last-child { border-right: 1px solid var(--line); position: absolute; right: 0; top: 0; bottom: 0; border-left: 0; }
main, footer, header { position: relative; z-index: 1; }

/* ---------- header ---------- */
.hdr {
  position: fixed; z-index: 40; left: 0; right: 0; top: 0;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  padding: calc(18px + env(safe-area-inset-top, 0px)) var(--gutter) 18px;
  color: #fff; mix-blend-mode: difference;
  font-size: 0.9375rem; font-weight: 500;
}
.hdr-logo { font-family: var(--font-display); font-weight: var(--display-weight); text-transform: var(--display-case); letter-spacing: -0.02em; font-size: 1.125rem; justify-self: start; }
.hdr-time { justify-self: center; font-variant-numeric: tabular-nums; opacity: 0.85; }
.hdr-nav { justify-self: end; display: flex; gap: clamp(16px, 2.4vw, 32px); }
.hdr-nav a { position: relative; padding-block: 6px; }
.hdr-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform 0.45s var(--ease-out);
}
.hdr-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
@media (max-width: 640px) { .hdr { grid-template-columns: 1fr auto; } .hdr-time { display: none; } }

/* ---------- type ---------- */
.hero-title, .h2, .contact-title, .ftr-word, .p-next-title, .curtain-mark, .egg-title, .marquee-track span, .hdr-logo {
  font-family: var(--font-display); font-weight: var(--display-weight); text-transform: var(--display-case); font-stretch: var(--display-stretch, normal);
}
.card-title, .svc-name, .band-text, .p-summary { font-stretch: var(--display-stretch, normal); }
/* a long word in a big heading wraps instead of pushing the page sideways */
.hero-title, .h2, .contact-title, .p-next-title, .egg-title, .svc-name, .card-title { overflow-wrap: break-word; }
.hero-title { font-size: var(--hero-size, clamp(3.1rem, 11.2vw, 12.5rem)); line-height: 0.86; letter-spacing: -0.045em; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: 0.04em; margin-bottom: -0.04em; }
.hero-title .line > span { display: block; }
.h2 { font-size: clamp(2.4rem, 6vw, 5.75rem); line-height: 0.9; letter-spacing: -0.04em; }

/* ---------- hero ---------- */
.hero { padding: calc(130px + env(safe-area-inset-top, 0px)) var(--gutter) clamp(40px, 7vh, 80px); }
.hero-row {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; align-items: end;
  margin-top: clamp(32px, 6vh, 64px);
}
.hero-intro { grid-column: 1 / span 2; max-width: 34ch; font-size: clamp(1.0625rem, 1.5vw, 1.375rem); line-height: 1.4; }
.hero-actions { grid-column: 3 / span 2; justify-self: end; display: flex; align-items: center; gap: clamp(16px, 3vw, 40px); }
@media (max-width: 760px) {
  .hero-row { grid-template-columns: minmax(0, 1fr); }
  .hero-intro, .hero-actions { grid-column: 1; justify-self: start; }
}

/* buttons and the badge */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  min-height: 56px; padding: 0 28px; border-radius: 999px;
  background: var(--ink); color: var(--bg); font-weight: 600; font-size: 1rem;
  will-change: transform; transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}
.btn > span { display: block; will-change: transform; }
/* the button is already black, so hovering turns it inside out: cream with a black ring */
.btn:hover { background: var(--bg); color: var(--accent); box-shadow: inset 0 0 0 1.5px var(--accent); }
/* the big round button sits on the dark contact section: cream with black text, a cream ring on hover */
.btn--big { width: clamp(136px, 14vw, 196px); height: clamp(136px, 14vw, 196px); padding: 0 18px; text-align: center; line-height: 1.15; font-size: clamp(1.0625rem, 1.5vw, 1.375rem); background: var(--on-dark); color: var(--ink); }
.btn--big:hover { background: transparent; color: var(--on-dark); box-shadow: inset 0 0 0 1.5px var(--on-dark); }
.badge { position: relative; display: block; width: clamp(112px, 11vw, 150px); aspect-ratio: 1; color: var(--ink); will-change: transform; }
.badge svg:first-child { width: 100%; height: 100%; animation: spin 16s linear infinite; }
.badge text { font: 600 15.5px var(--font-body); letter-spacing: 0.18em; text-transform: uppercase; fill: currentColor; }
.badge-core {
  position: absolute; inset: 30%; border-radius: 50%; background: var(--accent); color: var(--on-accent);
  display: grid; place-items: center; transition: transform 0.5s var(--spring);
}
.badge-core svg { width: 40%; }
.badge:hover .badge-core { transform: scale(1.12); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- media frames + parallax ---------- */
.hero-media, .frame { position: relative; overflow: hidden; background: var(--surface); }
.hero-media { height: clamp(380px, 82vh, 900px); margin: 0 var(--gutter); }
.hero-media img, .frame img, .band > img, .hero-media video, .frame video {
  width: 100%; height: 100%; object-fit: cover; transform: scale(1.16); will-change: transform;
}
.hero-media video { display: block; background: var(--surface); }

/* hover previews on project cards (mouse only; phones keep the still) */
.card-video { position: absolute; inset: 0; opacity: 0; transition: opacity 0.5s ease; pointer-events: none; }
.card-video.is-playing { opacity: 1; }

/* pause / play for autoplaying video */
.vid-toggle {
  position: absolute; z-index: 2; right: clamp(12px, 2vw, 24px); bottom: clamp(12px, 2vw, 24px);
  width: 48px; height: 48px; border: 0; border-radius: 50%; padding: 0; cursor: pointer;
  background: color-mix(in srgb, var(--bg) 82%, transparent); color: var(--ink);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  display: grid; place-items: center; transition: transform 0.4s var(--spring), background-color 0.3s ease;
}
.vid-toggle:hover { transform: scale(1.08); background: var(--accent); color: var(--on-accent); }
.vid-toggle-icon { width: 14px; height: 16px; border-inline: 4px solid currentColor; }
.vid-toggle.is-paused .vid-toggle-icon { width: 0; height: 0; border-inline: 0; border-block: 8px solid transparent; border-left: 13px solid currentColor; margin-left: 4px; }
html.no-js .vid-toggle { display: none; }

/* ---------- work ---------- */
.work { padding: clamp(80px, 14vh, 160px) var(--gutter) clamp(40px, 8vh, 100px); }
.section-head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: clamp(36px, 7vh, 80px); }
.count { font-weight: 600; font-variant-numeric: tabular-nums; padding-top: 0.3em; color: var(--muted); }
/* every card is 16:9, the shape of Kyle's footage: the first one full width, then two per row */
.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; row-gap: clamp(48px, 9vh, 104px); }
.card a { display: block; }
.card .frame { aspect-ratio: 16 / 9; }
.card:first-child, .card:last-child:nth-child(even) { grid-column: 1 / -1; }
.card .frame img, .card .frame video { transform: scale(1.06); }
.card-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-top: 14px; }
.card-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.25rem, 2vw, 1.75rem); letter-spacing: -0.02em; }
.card-sub { color: var(--muted); font-size: 0.9375rem; white-space: nowrap; }
.card .frame img { transition: filter 0.6s ease; }
.card a:hover .frame img { filter: brightness(0.92); }
@media (max-width: 760px) {
  .work-grid { grid-template-columns: minmax(0, 1fr); row-gap: 44px; }
  .card:nth-child(n) { grid-column: 1; }
}

/* ---------- band ---------- */
.band { position: relative; overflow: hidden; min-height: clamp(420px, 90vh, 980px); margin-top: clamp(60px, 10vh, 120px); display: grid; align-items: end; }
.band > img { position: absolute; inset: 0; }
.band-inner { position: relative; padding: var(--gutter); }
.band-text {
  max-width: 22ch; padding: clamp(20px, 3vw, 36px); background: var(--bg); color: var(--ink);
  font-family: var(--font-display); font-weight: 700; font-size: clamp(1.5rem, 2.8vw, 2.5rem); line-height: 1.08; letter-spacing: -0.02em;
}

/* ---------- services ---------- */
.services { padding: clamp(90px, 16vh, 180px) var(--gutter) clamp(60px, 10vh, 120px); }
.svc-list { margin-top: clamp(32px, 6vh, 64px); border-top: 1px solid var(--ink); }
.svc {
  position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; align-items: baseline;
  padding: clamp(20px, 3.4vh, 34px) 0; border-bottom: 1px solid var(--line);
}
.svc::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; bottom: 0; background: var(--accent);
  transform: scaleY(0); transform-origin: bottom; transition: transform 0.5s var(--ease-out); z-index: -1;
}
.svc:hover::before { transform: scaleY(1); }
.svc-name { grid-column: 1 / span 2; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.75rem, 4vw, 3.5rem); letter-spacing: -0.03em; line-height: 1; }
.svc-text { grid-column: 3 / span 2; max-width: 36ch; color: var(--ink); }
/* the row fills black on hover, so its words turn cream and the name steps in from the edge */
.svc-name, .svc-text { transition: color 0.35s ease, translate 0.5s var(--ease-out); }
.svc:hover .svc-name, .svc:hover .svc-text { color: var(--on-accent); }
.svc:hover .svc-name { translate: clamp(10px, 1.4vw, 20px) 0; }
@media (max-width: 760px) { .svc { grid-template-columns: minmax(0, 1fr); gap: 8px; } .svc-name, .svc-text { grid-column: 1; } }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding-block: clamp(18px, 3vh, 30px); }
.marquee-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee-track span {
  padding-right: clamp(36px, 5vw, 72px); white-space: nowrap;
  font-family: var(--font-display); font-weight: var(--display-weight); font-size: clamp(1.75rem, 4.4vw, 4rem); letter-spacing: -0.03em; text-transform: var(--display-case);
}
.marquee-track span:nth-child(even) { color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- trusted by: a moving strip of logos, all in black ---------- */
.trusted { padding: 0 0 clamp(80px, 14vh, 160px); }
.trusted-head { padding: 0 var(--gutter); margin-bottom: clamp(28px, 5vh, 56px); }
.logos { overflow: hidden; border-block: 1px solid var(--line); padding-block: clamp(26px, 4.5vh, 44px); }
/* four copies of the list in one track; moving it by half (two copies) loops without a seam */
.logos-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.logos:hover .logos-track { animation-play-state: paused; }
.logos-set { display: flex; align-items: center; flex: none; }
.logo {
  --logo: clamp(56px, 5.8vw, 86px); /* a square logo's height; wide and tall ones are evened out by --s */
  flex: none; display: grid; place-items: center; height: calc(var(--logo) * 1.3);
  padding-inline: clamp(26px, 3.4vw, 56px);
}
.logo img { height: calc(var(--logo) * var(--s, 1)); width: auto; max-width: none; }
.logo-word { display: grid; justify-items: center; gap: 0.3em; line-height: 0.9; text-align: center; white-space: nowrap; color: var(--ink); }
.logo-word span:first-child { font-family: var(--font-display); font-weight: var(--display-weight); font-stretch: var(--display-stretch, normal); text-transform: uppercase; letter-spacing: -0.02em; font-size: calc(var(--logo) * 0.27); }
.logo-word span + span { font-weight: 600; text-transform: uppercase; letter-spacing: 0.32em; margin-right: -0.32em; font-size: calc(var(--logo) * 0.125); }

/* ---------- studio ---------- */
.studio {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; align-items: center;
  padding: clamp(90px, 16vh, 180px) var(--gutter);
}
.studio-copy { grid-column: 1 / span 2; display: grid; gap: 20px; max-width: 46ch; }
.studio-copy p { font-size: clamp(1.0625rem, 1.4vw, 1.25rem); line-height: 1.5; }
.studio-media { grid-column: 3 / span 2; aspect-ratio: 4 / 5; }
@media (max-width: 760px) { .studio { grid-template-columns: minmax(0, 1fr); } .studio-copy, .studio-media { grid-column: 1; } }

/* ---------- contact ---------- */
.contact { background: var(--dark); color: var(--on-dark); padding: clamp(90px, 16vh, 180px) var(--gutter); }
.contact-title { font-size: clamp(3rem, 10vw, 11rem); line-height: 0.88; letter-spacing: -0.045em; max-width: 12ch; }
.contact-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 40px; margin-top: clamp(40px, 8vh, 90px); }
.contact-lines { display: grid; gap: 14px; min-width: min(100%, 320px); }
.contact-lines li { display: flex; justify-content: space-between; gap: 24px; padding-bottom: 12px; border-bottom: 1px solid color-mix(in srgb, var(--on-dark) 25%, transparent); font-size: 1.125rem; }
.c-label { color: color-mix(in srgb, var(--on-dark) 60%, transparent); }
.contact-lines a, .ftr-row a { text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 1px; text-underline-offset: 0.3em; transition: color 0.3s ease, text-decoration-color 0.3s ease; }
.contact-lines a:hover { text-decoration-color: currentColor; }

/* ---------- footer ---------- */
.ftr { background: var(--dark); color: var(--on-dark); padding: 0 var(--gutter) calc(24px + env(safe-area-inset-bottom, 0px)); overflow: hidden; }
.ftr-word { font-size: clamp(4rem, 21vw, 24rem); line-height: 0.8; letter-spacing: -0.06em; white-space: nowrap; margin-left: -0.04em; }
.ftr-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 24px; font-size: 0.875rem; color: color-mix(in srgb, var(--on-dark) 65%, transparent); }
.ftr-row a:hover { color: var(--on-dark); text-decoration-color: currentColor; }

/* ---------- project page ---------- */
.p-hero { padding: calc(130px + env(safe-area-inset-top, 0px)) var(--gutter) clamp(36px, 6vh, 64px); }
.p-back { margin-bottom: clamp(24px, 5vh, 48px); font-weight: 600; }
.p-back a { border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.p-meta { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: clamp(28px, 5vh, 56px); border-top: 1px solid var(--ink); padding-top: 16px; }
.p-meta dt { color: var(--muted); font-size: 0.875rem; margin-bottom: 4px; }
.p-meta dd { font-weight: 600; }
.p-meta div:last-child { grid-column: span 2; }
@media (max-width: 760px) { .p-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); } .p-meta div:last-child { grid-column: 1 / -1; } }
.p-body { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding: clamp(70px, 12vh, 140px) var(--gutter); }
.p-summary { grid-column: 1 / span 2; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.5rem, 2.8vw, 2.5rem); line-height: 1.1; letter-spacing: -0.02em; }
.p-text { grid-column: 3 / span 2; display: grid; gap: 18px; max-width: 46ch; font-size: 1.125rem; }
@media (max-width: 760px) { .p-body { grid-template-columns: minmax(0, 1fr); } .p-summary, .p-text { grid-column: 1; } }
.p-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; padding: 0 var(--gutter); }
.g-item { aspect-ratio: 16 / 9; }
.g-item > div { height: 100%; }
.g-item:nth-child(even) { margin-top: 18vh; }
@media (max-width: 760px) { .p-gallery { grid-template-columns: minmax(0, 1fr); } .g-item:nth-child(even) { margin-top: 0; } }
.p-next {
  display: block; margin-top: clamp(90px, 16vh, 180px); padding: clamp(60px, 10vh, 120px) var(--gutter);
  background: var(--dark); color: var(--on-dark);
}
.p-next-label { display: block; color: color-mix(in srgb, var(--on-dark) 60%, transparent); font-weight: 600; margin-bottom: 12px; }
.p-next-title {
  display: block; font-size: clamp(2.2rem, 10vw, 11rem); line-height: 0.88; letter-spacing: -0.045em;
  text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 0.06em; text-underline-offset: 0.1em;
  transition: text-decoration-color 0.4s ease;
}
/* on the dark band a thick cream underline draws in on hover */
.p-next:hover .p-next-title { text-decoration-color: var(--on-dark); }
.p-next + .ftr { padding-top: 0; }

/* ---------- page transition curtain ---------- */
.curtain {
  position: fixed; inset: 0; z-index: 90; pointer-events: none;
  background: var(--dark); color: var(--on-dark);
  display: grid; place-items: center;
  transform: translateY(100%);
}
.curtain-mark { font-size: clamp(2.5rem, 8vw, 7rem); letter-spacing: -0.04em; opacity: 0; transition: opacity 0.3s ease; }
html.is-arriving .curtain { transform: translateY(0); }
html.is-arriving .curtain-mark { opacity: 1; }
html.is-arrived .curtain { transform: translateY(-100%); transition: transform 0.75s var(--ease-io) 0.1s; }
html.is-arrived .curtain-mark { opacity: 0; }
html.is-leaving .curtain { transform: translateY(0); transition: transform 0.6s var(--ease-io); }
html.is-leaving .curtain-mark { opacity: 1; transition-delay: 0.3s; }

/* ---------- staggered reveal (only when JS runs; content is visible without it) ---------- */
html.js.motion [data-reveal] [data-ri] {
  opacity: 0; transform: translateY(48px);
  transition: opacity 0.9s var(--ease-out), transform 1.1s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 90ms);
}
html.js.motion [data-reveal].is-in [data-ri] { opacity: 1; transform: none; }
html.js.motion .hero-title .line > span { transform: translateY(105%); transition: transform 1.1s var(--ease-out); }
html.js.motion.is-loaded .hero-title .line > span { transform: none; }
html.js.motion.is-loaded .hero-title .line:nth-child(2) > span { transition-delay: 0.09s; }
html.js.motion.is-loaded .hero-title .line:nth-child(3) > span { transition-delay: 0.18s; }
html.js.motion.is-loaded .hero-title .line:nth-child(4) > span { transition-delay: 0.27s; }

/* ---------- context cursor (mouse only) ---------- */
.cursor { display: none; }
html.has-cursor, html.has-cursor a, html.has-cursor button { cursor: none; }
html.has-cursor .cursor { display: block; position: fixed; z-index: 95; left: 0; top: 0; pointer-events: none; }
.cursor-dot {
  position: absolute; left: -6px; top: -6px; width: 12px; height: 12px; border-radius: 50%;
  background: #fff; mix-blend-mode: difference; transition: transform 0.35s var(--spring), opacity 0.2s ease;
}
.cursor-label {
  position: absolute; left: -46px; top: -46px; width: 92px; height: 92px; border-radius: 50%;
  display: grid; place-items: center; text-align: center;
  background: var(--accent); color: var(--on-accent); font-weight: 700; font-size: 0.875rem; line-height: 1.1;
  transform: scale(0); transition: transform 0.4s var(--spring);
}
.cursor.is-on-dark .cursor-label { background: var(--on-dark); color: var(--ink); }
.cursor.is-label .cursor-label { transform: scale(1); }
.cursor.is-label .cursor-dot { transform: scale(0); }
.cursor.is-link .cursor-dot { transform: scale(3); }
.cursor.is-hidden .cursor-dot, .cursor.is-hidden .cursor-label { opacity: 0; }

/* ---------- easter egg ---------- */
.egg {
  position: fixed; inset: 0; z-index: 80; pointer-events: none;
  background: var(--accent); color: var(--on-accent);
  display: grid; place-items: center; padding: var(--gutter); text-align: center;
  clip-path: inset(100% 0 0 0); transition: clip-path 0.8s var(--ease-io);
}
.egg.is-on { clip-path: inset(0 0 0 0); pointer-events: auto; }
.egg-title { font-family: var(--font-display); font-weight: var(--display-weight); text-transform: var(--display-case); font-size: clamp(2.5rem, 9vw, 9rem); line-height: 0.9; letter-spacing: -0.045em; }
.egg-text { margin-top: 20px; font-size: clamp(1.0625rem, 1.6vw, 1.375rem); max-width: 34ch; margin-inline: auto; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .badge svg:first-child, .marquee-track { animation: none; }
  /* the logo strip stands still and wraps onto as many lines as it needs */
  .logos-track { animation: none; width: auto; justify-content: center; }
  .logos-set { flex: 1 1 100%; min-width: 0; flex-wrap: wrap; justify-content: center; row-gap: 12px; }
  .logos-set[aria-hidden] { display: none; }
  .hero-media img, .frame img, .band > img, .hero-media video, .frame video, .card .frame img, .card .frame video { transform: none; }
  .curtain { display: none; }
  .egg { transition: none; }
}

/* ---------- project film: the full piece, with sound and controls ---------- */
.p-film { padding: clamp(40px, 8vh, 100px) var(--gutter) clamp(60px, 10vh, 120px); }
.p-film .h2 { margin-bottom: clamp(20px, 3vh, 36px); }
.p-film-frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #000; border-radius: 6px; }
.p-film-frame video { display: block; width: 100%; height: 100%; object-fit: contain; background: #000; }
.p-film-credit { margin-top: 14px; color: var(--muted); font-size: 0.9375rem; }
html.has-cursor .p-film-frame, html.has-cursor .p-film-frame * { cursor: auto; }
