/* ==========================================================================
   CUJI ART — Shared stylesheet
   Art direction: "Opening titles". Dark screening-room chapters for film,
   warm ivory chapters for words. The page fades between the two as you scroll.
   --------------------------------------------------------------------------
   1. Fonts            6. Buttons & links       11. Collections
   2. Tokens & tones   7. Intro (preloader)     12. Planners
   3. Base             8. Navigation            13. Credits & footer
   4. Utilities        9. Hero                  14. Overlays (cursor, reel, curtain)
   5. Chapters        10. Films / Studio        15. Motion & reduced motion
   ========================================================================== */

/* 1. FONTS — self-hosted, latin subset, woff2 ------------------------------ */
@font-face {
  font-family: "Bodoni Moda";
  src: url("../fonts/bodoni-moda-opsz.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Bodoni Moda";
  src: url("../fonts/bodoni-moda-opsz-italic.woff2") format("woff2");
  font-weight: 400 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("../fonts/jost-300.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("../fonts/jost-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("../fonts/jost-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* 2. TOKENS & TONES --------------------------------------------------------
   Tone colours are registered so the whole page can cross-fade between
   the dark and ivory "acts". Browsers without @property simply switch.     */
@property --bg      { syntax: "<color>"; inherits: true; initial-value: #0B0A09; }
@property --surface { syntax: "<color>"; inherits: true; initial-value: #14120F; }
@property --fg      { syntax: "<color>"; inherits: true; initial-value: #EDE6DA; }
@property --fg-soft { syntax: "<color>"; inherits: true; initial-value: #B9B0A2; }
@property --accent  { syntax: "<color>"; inherits: true; initial-value: #B39A74; }
@property --line    { syntax: "<color>"; inherits: true; initial-value: rgba(237, 230, 218, 0.14); }
@property --logo    { syntax: "<color>"; inherits: true; initial-value: #F4F4F4; }

:root {
  /* Brand */
  --gold: #8B7355;          /* official antique gold — logo, rules, large type */
  --gold-light: #B39A74;    /* small gold text on dark (7.3:1)               */
  --gold-deep: #6F5B43;     /* small gold text on ivory (5.5:1)              */
  --ink: #0B0A09;
  --ivory: #F2EDE4;
  --char: #1C1C1C;          /* same black as the official logo               */

  /* Dark act (default) */
  --bg: #0B0A09;
  --surface: #14120F;
  --fg: #EDE6DA;
  --fg-soft: #B9B0A2;
  --accent: var(--gold-light);
  --line: rgba(237, 230, 218, 0.14);
  --logo: #F4F4F4;

  /* Type */
  --serif: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --fs-hero: clamp(2.7rem, 7.4vw, 7.8rem);
  --fs-display: clamp(2.1rem, 4.8vw, 4.6rem);
  --fs-display-s: clamp(1.6rem, 2.9vw, 2.7rem);
  --fs-body: 1.0625rem;
  --fs-mark: 0.72rem;

  /* Space */
  --gutter: clamp(20px, 5vw, 72px);
  --max: 1440px;
  --chapter-y: clamp(88px, 13vh, 168px);

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-film: cubic-bezier(0.65, 0.05, 0.36, 1);
  --tone-fade: 1.3s;
}

html[data-tone="light"] {
  --bg: #F2EDE4;
  --surface: #EAE3D7;
  --fg: #1C1C1C;
  --fg-soft: #5A534A;
  --accent: var(--gold-deep);
  --line: rgba(28, 28, 28, 0.14);
  --logo: #1C1C1C;
}

html {
  transition:
    --bg var(--tone-fade) var(--ease),
    --surface var(--tone-fade) var(--ease),
    --fg var(--tone-fade) var(--ease),
    --fg-soft var(--tone-fade) var(--ease),
    --accent var(--tone-fade) var(--ease),
    --line var(--tone-fade) var(--ease),
    --logo var(--tone-fade) var(--ease);
}

/* 3. BASE ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-weight: 300;
  font-size: var(--fs-body);
  line-height: 1.75;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
em { font-style: italic; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: 72px; }

::selection { background: var(--gold); color: #fff; }

:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 5px;
}

/* 4. UTILITIES ------------------------------------------------------------- */
.wrap {
  width: min(100% - 2 * var(--gutter), var(--max));
  margin-inline: auto;
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

.skip {
  position: fixed;
  top: 12px; left: 12px;
  z-index: 200;
  padding: 12px 18px;
  background: var(--ivory);
  color: var(--ink);
  font-size: 0.8rem;
  transform: translateY(-160%);
  transition: transform 0.3s var(--ease);
}
.skip:focus { transform: none; }

/* Logo (inline SVG built from the official artwork) */
.logo { height: auto; overflow: visible; }
.logo .lg-cuji { fill: var(--logo); }
.logo .lg-art  { fill: var(--gold); }

.display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: var(--fs-display);
  line-height: 1.08;
  letter-spacing: -0.012em;
  color: var(--fg);
}
.display em, .display-s em { color: var(--gold); }
.display-s {
  font-family: var(--serif);
  font-weight: 400;
  font-size: var(--fs-display-s);
  line-height: 1.2;
  letter-spacing: -0.005em;
  color: var(--fg);
}

.mark,
.chapter__mark {
  display: flex;
  align-items: center;
  font-family: var(--sans);
  font-weight: 400;
  font-size: var(--fs-mark);
  line-height: 1;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
}

/* 5. CHAPTERS — numbered like the intertitles of a film -------------------- */
main { counter-reset: chapter; }
.chapter { position: relative; padding-block: var(--chapter-y); counter-increment: chapter; }

.chapter__mark { margin-bottom: clamp(28px, 4vw, 52px); }
.chapter__mark::before {
  content: counter(chapter, upper-roman);
  padding-right: 58px;
  margin-right: 16px;
  font-family: var(--serif);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: var(--gold);
  background: linear-gradient(var(--gold), var(--gold)) right center / 40px 1px no-repeat;
}

.chapter__head { margin-bottom: clamp(56px, 8vw, 110px); max-width: 60rem; }

/* Manifesto (Chapter I) */
.manifesto__text {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.85rem, 4.1vw, 4.1rem);
  line-height: 1.17;
  letter-spacing: -0.012em;
  max-width: 25ch;
  color: var(--fg);
}
.manifesto__text em { color: var(--gold-light); }
html[data-tone="light"] .manifesto__text em { color: var(--gold); }

.manifesto__foot {
  display: grid;
  gap: 18px;
  margin-top: clamp(56px, 8vw, 120px);
  max-width: 30rem;
}
.manifesto__scarcity {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  line-height: 1.3;
  color: var(--fg);
}
.manifesto__foot p:last-child { color: var(--fg-soft); }

@media (min-width: 900px) {
  .manifesto__foot { margin-left: 50%; }
}

/* 6. BUTTONS & LINKS ------------------------------------------------------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 56px;
  padding: 18px 36px;
  border: 1px solid currentColor;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.74rem;
  line-height: 1;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--fg);
  overflow: hidden;
  isolation: isolate;
  transition: color 0.6s var(--ease), border-color 0.6s var(--ease);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--fg);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.65s var(--ease-film);
}
.btn:hover, .btn:focus-visible { color: var(--bg); }
.btn:hover::before, .btn:focus-visible::before { transform: scaleY(1); }

.btn--gold { border-color: var(--gold); }
.btn--gold::before { background: var(--gold-light); }
.btn--gold:hover, .btn--gold:focus-visible { color: var(--ink); border-color: var(--gold-light); }

.link-line {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 6px;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.74rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--fg);
  background: linear-gradient(var(--gold), var(--gold)) left bottom / 100% 1px no-repeat;
  transition: background-size 0.6s var(--ease-film);
}
.link-line::after {
  content: "";
  width: 28px; height: 1px;
  background: currentColor;
  transition: width 0.6s var(--ease-film);
}
.link-line:hover::after, .link-line:focus-visible::after { width: 44px; }

.text-link {
  background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat;
  transition: color 0.4s var(--ease);
}
.text-link:hover { color: var(--accent); }

/* 7. INTRO — first visit of the session only ------------------------------- */
.intro {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: var(--ink);
  transition: opacity 1s var(--ease), visibility 1s;
  /* Failsafe: the intro always leaves, even if a script fails. */
  animation: intro-failsafe 0s 5.5s forwards;
}
.intro-seen .intro, .no-js .intro { display: none; }
.is-ready .intro { opacity: 0; visibility: hidden; }

.intro__inner {
  width: min(70vw, 520px);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.intro__logo { width: 100%; }
.intro__cuji, .intro__art {
  opacity: 0;
  transform-box: fill-box;
  animation: intro-rise 1.4s var(--ease) forwards;
}
.intro__cuji { fill: #F4F4F4; animation-delay: 0.2s; }
.intro__art  { fill: var(--gold); animation-delay: 0.6s; }
.intro__rule {
  width: 100%;
  height: 1px;
  margin-top: clamp(18px, 3vw, 28px);
  background: var(--gold);
  transform: scaleX(0);
  animation: intro-grow 1.2s var(--ease-film) 1.1s forwards;
}
.intro__tag {
  margin-top: 18px;
  font-size: 0.64rem;
  font-weight: 400;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--fg-soft);
  opacity: 0;
  animation: intro-fade 1.2s var(--ease) 1.5s forwards;
}

@keyframes intro-rise { from { opacity: 0; transform: translateY(14%); } to { opacity: 1; transform: none; } }
@keyframes intro-grow { to { transform: scaleX(1); } }
@keyframes intro-fade { to { opacity: 1; } }
@keyframes intro-failsafe { to { opacity: 0; visibility: hidden; } }

/* 8. NAVIGATION ------------------------------------------------------------ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px var(--gutter);
  color: var(--fg);
  border-bottom: 1px solid transparent;
  transition:
    transform 0.7s var(--ease),
    background-color 0.6s var(--ease),
    border-color 0.6s var(--ease),
    padding 0.6s var(--ease);
}
.nav.is-solid {
  padding-block: 14px;
  background: var(--bg);
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.nav.is-hidden { transform: translateY(-101%); }

.nav__logo { position: relative; z-index: 3; display: block; }
.nav__logo .logo { width: clamp(118px, 11vw, 150px); }

.nav__toggle {
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 44px;
  padding-left: 8px;
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
.nav__toggle-lines { position: relative; width: 28px; height: 8px; }
.nav__toggle-lines::before, .nav__toggle-lines::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: currentColor;
  transition: transform 0.6s var(--ease-film), top 0.6s var(--ease-film);
}
.nav__toggle-lines::before { top: 0; }
.nav__toggle-lines::after  { top: 7px; }
.menu-open .nav__toggle-lines::before { top: 4px; transform: rotate(45deg); }
.menu-open .nav__toggle-lines::after  { top: 4px; transform: rotate(-45deg); }

/* Mobile menu — a full-screen title card */
.nav__menu {
  position: fixed;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 110px var(--gutter) 48px;
  background: var(--bg);
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.6s var(--ease), visibility 0.6s;
}
.menu-open .nav__menu { visibility: visible; opacity: 1; }
.menu-open, .menu-open body { overflow: hidden; }
/* A transformed or blurred parent would trap the fixed overlay — reset both while open. */
.menu-open .nav { transform: none; background: transparent; border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }

.nav__list { display: grid; gap: 6px; }
.nav__list a {
  display: inline-block;
  font-family: var(--serif);
  font-size: clamp(2.3rem, 9vw, 3.4rem);
  line-height: 1.2;
  color: var(--fg);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease), color 0.4s var(--ease);
}
.menu-open .nav__list a { opacity: 1; transform: none; }
.menu-open .nav__list li:nth-child(1) a { transition-delay: 0.10s; }
.menu-open .nav__list li:nth-child(2) a { transition-delay: 0.16s; }
.menu-open .nav__list li:nth-child(3) a { transition-delay: 0.22s; }
.menu-open .nav__list li:nth-child(4) a { transition-delay: 0.28s; }
.menu-open .nav__list li:nth-child(5) a { transition-delay: 0.34s; }
.nav__list a:hover { color: var(--accent); }

.nav__lang {
  display: flex;
  gap: 18px;
  margin-top: 48px;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--fg-soft);
}
.nav__lang a { transition: color 0.4s var(--ease); }
.nav__lang a:hover { color: var(--fg); }
.nav__lang [aria-current] { color: var(--fg); }

@media (min-width: 1100px) {
  .nav__toggle { display: none; }
  .nav__menu {
    position: static;
    flex-direction: row;
    align-items: center;
    gap: clamp(28px, 3vw, 44px);
    padding: 0;
    background: none;
    visibility: visible;
    opacity: 1;
  }
  .nav__list { display: flex; gap: clamp(22px, 2.3vw, 42px); }
  .nav__list a {
    font-family: var(--sans);
    font-weight: 400;
    font-size: 0.7rem;
    line-height: 1;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    padding-block: 8px;
    opacity: 1;
    transform: none;
    background: linear-gradient(var(--gold), var(--gold)) left bottom / 0 1px no-repeat;
    transition: background-size 0.6s var(--ease-film), color 0.4s var(--ease);
  }
  .nav__list a:hover { color: var(--fg); background-size: 100% 1px; }
  .nav__lang { margin: 0; padding-left: clamp(24px, 2.8vw, 40px); border-left: 1px solid var(--line); font-size: 0.66rem; gap: 14px; }
}

/* Staging — content below the opening titles waits for them (see cuji.js, 1) */
.js main > * + * { transition: opacity 1.4s var(--ease); }
.js main > * + *:not(.is-staged) { opacity: 0; }

/* 9. HERO ------------------------------------------------------------------ */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 580px;
  overflow: hidden;
  isolation: isolate;
  background: #000;
  color: #F4EFE6;
}
.hero__media {
  position: absolute;
  inset: -8% 0 -8% 0;
  will-change: transform;
}
.hero__video { width: 100%; height: 100%; object-fit: cover; }
.hero__shade {
  position: absolute;
  inset: 0;
  /* Functional shading: keeps nav and title legible over any footage. */
  background:
    linear-gradient(180deg, rgba(11, 10, 9, 0.6) 0%, rgba(11, 10, 9, 0) 26%),
    linear-gradient(0deg, rgba(11, 10, 9, 0.88) 0%, rgba(11, 10, 9, 0.25) 42%, rgba(11, 10, 9, 0) 64%);
}

/* Letterbox bars open onto the first frame */
.letterbox { display: none; }
.js .letterbox {
  display: block;
  position: absolute;
  left: 0; right: 0;
  z-index: 4;
  height: 50.5%;
  background: var(--ink);
  transition: transform 1.8s var(--ease-film) 0.15s;
}
.letterbox--top { top: 0; }
.letterbox--bottom { bottom: 0; }
.is-ready .letterbox--top { transform: translateY(-100%); }
.is-ready .letterbox--bottom { transform: translateY(100%); }

.hero__content {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: clamp(118px, 17vh, 190px);
  z-index: 2;
  max-width: 1200px;
}
.hero__eyebrow {
  display: block;
  margin-bottom: clamp(18px, 2.4vw, 30px);
  font-family: var(--sans);
  font-weight: 400;
  font-size: var(--fs-mark);
  line-height: 1.6;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(244, 239, 230, 0.82);
}
.hero__line {
  display: block;
  font-variation-settings: "opsz" 72; /* slightly sturdier hairlines over moving footage */
  overflow: hidden;
  padding-bottom: 0.08em;
  font-family: var(--serif);
  font-weight: 400;
  font-size: var(--fs-hero);
  line-height: 1.02;
  letter-spacing: -0.015em;
}
.hero__line > span { display: block; }
.hero__line em { color: #E4D7C1; }

/* Title lines rise from behind a mask once the film "starts" */
.js .hero__line > span,
.js .hero__eyebrow { transition: transform 1.5s var(--ease-film), opacity 1.5s var(--ease); }
.js:not(.is-ready) .hero__line > span { transform: translateY(108%); }
.js:not(.is-ready) .hero__eyebrow { opacity: 0; transform: translateY(12px); }
.js .hero__eyebrow { transition-delay: 0.9s; }
.js .hero__line:nth-of-type(2) > span { transition-delay: 0.55s; }
.js .hero__line:nth-of-type(3) > span { transition-delay: 0.7s; }

.hero__bar {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px var(--gutter);
  border-top: 1px solid rgba(244, 239, 230, 0.16);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.66rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(244, 239, 230, 0.86);
}
.js .hero__bar { transition: opacity 1.4s var(--ease) 1.3s; }
.js:not(.is-ready) .hero__bar { opacity: 0; }

.hero__place { display: none; }
.hero__bar:not(:has(.hero__controls)) .hero__place { display: block; }   /* home: the place line stands alone */
.hero__controls { display: flex; align-items: center; gap: clamp(18px, 3vw, 40px); margin-left: auto; }

.ctl {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  font-size: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  transition: color 0.4s var(--ease);
}
.ctl:hover { color: #fff; }

/* Sound: four hairline bars, still when muted, breathing when on */
.ctl__eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; }
.ctl__eq i {
  display: block;
  width: 1px;
  height: 3px;
  background: currentColor;
  transition: height 0.4s var(--ease);
}
.ctl[aria-pressed="true"] .ctl__eq i { animation: eq 1.1s ease-in-out infinite alternate; }
.ctl[aria-pressed="true"] .ctl__eq i:nth-child(2) { animation-delay: -0.4s; }
.ctl[aria-pressed="true"] .ctl__eq i:nth-child(3) { animation-delay: -0.8s; }
.ctl[aria-pressed="true"] .ctl__eq i:nth-child(4) { animation-delay: -0.2s; }
@keyframes eq { from { height: 3px; } to { height: 12px; } }

.ctl__play {
  position: relative;
  width: 34px; height: 34px;
  border: 1px solid rgba(244, 239, 230, 0.5);
  border-radius: 50%;
  transition: border-color 0.4s var(--ease), transform 0.6s var(--ease-film);
}
.ctl__play::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  margin: -4px 0 0 -2px;
  border-left: 7px solid currentColor;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
}
.ctl:hover .ctl__play { border-color: var(--gold-light); transform: scale(1.08); }

.hero__scroll { display: none; }

@media (min-width: 760px) {
  .hero__place { display: block; }
  .hero__controls { margin-left: 0; }
  .hero__scroll {
    display: block;
    position: absolute;
    left: 50%;
    bottom: 100%;
    width: 1px;
    height: 56px;
    margin-bottom: -1px;
    overflow: hidden;
    background: rgba(244, 239, 230, 0.16);
  }
  .hero__scroll::after {
    content: "";
    position: absolute;
    left: 0; top: 0;
    width: 1px; height: 100%;
    background: var(--gold-light);
    animation: scroll-cue 2.4s var(--ease-film) infinite;
  }
}
@keyframes scroll-cue {
  0%   { transform: translateY(-100%); }
  60%  { transform: translateY(100%); }
  100% { transform: translateY(100%); }
}

/* 10. FILMS ---------------------------------------------------------------- */
.films__grid { display: grid; gap: clamp(64px, 9vw, 132px); }

.film__link { display: block; color: inherit; }
.film__frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background: var(--surface);
}
.film__frame img,
.film__frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--pos, 50% 50%);
}
.film__frame img { z-index: 0; transition: transform 1.8s var(--ease); }
.film__frame video { z-index: 1; opacity: 0; transition: opacity 0.9s var(--ease); }
.film.is-playing .film__frame video { opacity: 1; }
/* Poster fades out too: some browsers composite a scaled image above video. */
.film.is-playing .film__frame img { opacity: 0; transition: opacity 0.9s var(--ease), transform 1.8s var(--ease); }
.film__link:hover .film__frame img { transform: scale(1.035); }

.film__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 20px;
  row-gap: 6px;
  margin-top: 22px;
}
.film__index {
  font-family: var(--serif);
  font-size: 0.95rem;
  color: var(--gold);
}
.film__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.7rem, 2.7vw, 2.7rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  background: linear-gradient(var(--gold), var(--gold)) left 100% / 0 1px no-repeat;
  transition: background-size 0.8s var(--ease-film);
}
.film__link:hover .film__title,
.film__link:focus-visible .film__title { background-size: 100% 1px; }
.film__place {
  flex-basis: 100%;
  font-weight: 400;
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--fg-soft);
}

@media (min-width: 900px) {
  .films__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: clamp(24px, 3vw, 48px);
  }
  .film--1 { grid-column: 1 / -1; }
  .film--1 .film__frame { aspect-ratio: 2.39 / 1; }
  .film--2 { grid-column: 1 / 8; }
  .film--3 { grid-column: 9 / 13; margin-top: clamp(120px, 16vw, 260px); }
  .film--3 .film__frame { aspect-ratio: 5 / 4; }
  .film--4 { grid-column: 3 / 11; }
  .film--4 .film__frame { aspect-ratio: 2.39 / 1; }
  .film__place { flex-basis: auto; margin-left: auto; }
}

/* STUDIO */
.studio__grid { display: grid; gap: clamp(48px, 7vw, 96px); align-items: center; }
.studio__portrait { position: relative; overflow: hidden; background: var(--surface); }
.studio__portrait img { width: 100%; transform: scale(1.1); will-change: transform; }
.studio__text .display { margin-bottom: clamp(28px, 3.4vw, 44px); }
.studio__text p:not(.display):not(.chapter__mark):not(.studio__sign) {
  max-width: 44ch;
  color: var(--fg-soft);
}
.studio__text p + p { margin-top: 1.2em; }
.studio__sign {
  margin-top: clamp(32px, 4vw, 48px) !important;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.6rem;
  line-height: 1.2;
  color: var(--gold);
}

@media (min-width: 900px) {
  .studio__grid { grid-template-columns: 5fr 1fr 6fr; }
  .studio__portrait { grid-column: 1; }
  .studio__text { grid-column: 3; }
}

/* 11. COLLECTIONS ---------------------------------------------------------- */
.collections__list { display: grid; border-top: 1px solid var(--line); }
.collection {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 44px 0 52px;
  border-bottom: 1px solid var(--line);
}
.collection__num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--gold);
}
.collection__name {
  margin-top: 14px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.3rem, 3.4vw, 3.3rem);
  line-height: 1;
  letter-spacing: -0.01em;
}
.collection__where {
  margin-top: 18px;
  font-weight: 400;
  font-size: 0.68rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent);
}
.collection__desc { margin-top: 24px; max-width: 38ch; color: var(--fg-soft); }
.collection__includes { margin-top: 28px; }
.collection__includes li {
  display: flex;
  gap: 14px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
  line-height: 1.55;
}
.collection__includes li::before {
  content: "";
  flex: 0 0 14px;
  height: 1px;
  margin-top: 0.8em;
  background: var(--gold);
}
.collection__note {
  margin-top: 14px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--fg-soft);
}

.collections__extras {
  margin-top: clamp(40px, 5vw, 64px);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.5;
  color: var(--fg-soft);
  text-align: center;
}

.collections__cta {
  display: grid;
  justify-items: center;
  gap: 32px;
  margin-top: clamp(64px, 8vw, 104px);
  text-align: center;
}
.collections__cta p {
  max-width: 34ch;
  font-family: var(--serif);
  font-size: var(--fs-display-s);
  line-height: 1.25;
  color: var(--fg);
}

@media (min-width: 900px) {
  .collections__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .collection { padding: 52px clamp(28px, 3vw, 48px) 60px; border-bottom: 0; }
  .collection:first-child { padding-left: 0; }
  .collection:last-child { padding-right: 0; }
  .collection + .collection { border-left: 1px solid var(--line); }
}

/* Signature — the fullest collection, marked quietly */
.collection--signature::before {
  content: "";
  position: absolute;
  top: -1px; left: 0;
  width: 64px; height: 1px;
  background: var(--gold);
}
@media (min-width: 900px) {
  .collection--signature::before { left: clamp(28px, 3vw, 48px); }
}
.collection__flag {
  position: absolute;
  top: 44px; right: 0;
  font-weight: 400;
  font-size: 0.6rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent);
}
@media (min-width: 900px) {
  .collection__flag { top: 54px; right: clamp(28px, 3vw, 48px); }
}

/* KIND WORDS (kept hidden until real testimonials are added) */
.words__list { display: grid; gap: clamp(56px, 7vw, 96px); }
.words__item blockquote p {
  font-family: var(--serif);
  font-size: var(--fs-display-s);
  line-height: 1.3;
  max-width: 34ch;
}
.words__item figcaption {
  margin-top: 22px;
  font-weight: 400;
  font-size: 0.68rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent);
}

/* 12. PLANNERS ------------------------------------------------------------- */
.planners { padding-block: clamp(80px, 11vw, 150px); }
.planners__grid { display: grid; gap: 28px; padding-top: clamp(48px, 6vw, 80px); border-top: 1px solid var(--line); }
.planners__grid .chapter__mark { margin-bottom: 0; }
.planners__body p:not(.display-s) { max-width: 46ch; margin-top: 24px; color: var(--fg-soft); }
.planners__body .link-line { margin-top: 36px; }

@media (min-width: 900px) {
  .planners__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .planners__grid .chapter__mark { grid-column: 1 / 5; align-self: start; padding-top: 0.9em; }
  .planners__body { grid-column: 6 / 13; }
}

/* 13. CREDITS & FOOTER ----------------------------------------------------- */
.credits {
  padding-block: clamp(130px, 22vh, 250px) clamp(96px, 14vh, 160px);
  text-align: center;
}
.credits .mark { justify-content: center; margin-bottom: clamp(28px, 4vw, 48px); }
.credits__title {
  font-variation-settings: "opsz" 72;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.8rem, 7.6vw, 7rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.credits__title em { color: var(--gold-light); }
.credits__text { max-width: 44ch; margin: clamp(28px, 3vw, 40px) auto 0; color: var(--fg-soft); }
.credits .btn { margin-top: clamp(40px, 5vw, 56px); }
.credits__alt {
  margin-top: 36px;
  font-size: 0.95rem;
  color: var(--fg-soft);
}
.credits__alt a { color: var(--fg); }

.footer {
  /* The footer is always "end credits" dark, whatever chapter precedes it. */
  --bg: #0B0A09; --surface: #14120F; --fg: #EDE6DA; --fg-soft: #B9B0A2;
  --accent: #B39A74; --line: rgba(237, 230, 218, 0.14); --logo: #F4F4F4;
  background: var(--bg);
  padding: clamp(56px, 7vw, 88px) 0 32px;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--fg-soft);
}
.footer__grid { display: grid; gap: 40px; }
.footer .logo { width: 168px; }
.footer__tag { margin-top: 18px; max-width: 30ch; }
.footer__head {
  margin-bottom: 14px;
  font-weight: 400;
  font-size: 0.64rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
}
.footer__links { display: grid; gap: 6px; }
.footer__links a { color: var(--fg); transition: color 0.4s var(--ease); }
.footer__links a:hover { color: var(--accent); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 32px;
  margin-top: clamp(48px, 6vw, 80px);
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}
.footer__bottom a:hover { color: var(--fg); }

@media (min-width: 760px) {
  .footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

/* 14. OVERLAYS -------------------------------------------------------------- */
/* Film grain — barely there; gives dark chapters depth and ivory a paper feel.
   Static (a moving grain read as a jitter) and placed BENEATH the content:
   it textures the page surfaces but never sits on top of photos or playing films.
   Opaque surfaces (footer, mobile menu, Voyage card) carry their own copy. */
.grain {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: url("../img/grain.png") repeat;
  opacity: 0.045;
}
main, .footer { position: relative; z-index: 1; }
.footer, .voyage { isolation: isolate; }
.footer::after, .voyage::after, .nav__menu::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: url("../img/grain.png") repeat;
  opacity: 0.045;
}
@media (min-width: 1100px) { .nav__menu::after { content: none; } }

/* Cursor — only over films, only on devices with a fine pointer */
.cursor { display: none; }
.has-cursor .cursor {
  display: block;
  position: fixed;
  top: 0; left: 0;
  z-index: 70;
  pointer-events: none;
  will-change: transform;
}
.cursor__dot {
  display: grid;
  place-items: center;
  width: 92px; height: 92px;
  margin: -46px 0 0 -46px;
  border-radius: 50%;
  background: rgba(244, 239, 230, 0.94);
  color: var(--ink);
  font-weight: 400;
  font-size: 0.6rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-indent: 0.24em;
  transform: scale(0);
  transition: transform 0.55s var(--ease-film);
}
.cursor.is-on .cursor__dot { transform: scale(1); }
.has-cursor [data-cursor], .has-cursor [data-cursor] * { cursor: none; }

/* Reel — full-screen screening */
.reel {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #F4EFE6;
}
.reel::backdrop { background: rgba(6, 5, 4, 0.96); }
.reel[open] { animation: intro-fade 0.6s var(--ease) both; opacity: 0; }
.reel__stage {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 72px var(--gutter) 40px;
}
.reel__video {
  width: min(100%, 1600px);
  max-height: calc(100vh - 140px);
  aspect-ratio: 16 / 9;
  background: #000;
}
.reel__close {
  position: absolute;
  top: 18px; right: var(--gutter);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 44px;
  font-weight: 400;
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
.reel__close span[aria-hidden] { position: relative; width: 22px; height: 22px; }
.reel__close span[aria-hidden]::before,
.reel__close span[aria-hidden]::after {
  content: "";
  position: absolute;
  top: 50%; left: 0; right: 0;
  height: 1px;
  background: currentColor;
  transform: rotate(45deg);
}
.reel__close span[aria-hidden]::after { transform: rotate(-45deg); }

/* Curtain — soft fade to black between pages */
.curtain {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--ink);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.55s var(--ease);
}
.is-leaving .curtain { opacity: 1; pointer-events: auto; }

/* 15. MOTION — scroll reveals (enabled by script only) ---------------------- */
.reveal-on .reveal:not(.is-in) { opacity: 0; transform: translateY(28px); }
.reveal-on .reveal {
  transition: opacity 1.3s var(--ease) var(--d, 0s), transform 1.3s var(--ease) var(--d, 0s);
}
.reveal-on .reveal-frame .film__frame { clip-path: inset(0 0 0 0); transition: clip-path 1.6s var(--ease-film); }
.reveal-on .reveal-frame:not(.is-in) .film__frame { clip-path: inset(10% 6% 10% 6%); }
.reveal-on .reveal-frame .film__frame img { transition: transform 1.8s var(--ease); }
.reveal-on .reveal-frame:not(.is-in) .film__frame img { transform: scale(1.12); }
.reveal-on .reveal-frame .film__meta { transition: opacity 1.2s var(--ease) 0.35s; }
.reveal-on .reveal-frame:not(.is-in) .film__meta { opacity: 0; }

/* ==========================================================================
   16. INNER PAGES — title cards, film pages, collections, forms, journal
   ========================================================================== */

.films__more, .studio__more { margin-top: clamp(48px, 6vw, 80px); }
.films__more { text-align: center; }
.studio__more { margin-top: 32px !important; }
.collections__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 24px 40px; }

/* Title card — hero for inner pages */
.titlecard {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 72vh;
  min-height: 72svh;
  padding: 140px 0 clamp(56px, 9vh, 110px);
  overflow: hidden;
  isolation: isolate;
  color: var(--fg);
}
.titlecard--image { min-height: 86vh; min-height: 86svh; color: #F4EFE6; background: #000; }
.titlecard--404 { min-height: 100vh; min-height: 100svh; align-items: center; }
.titlecard__media { position: absolute; inset: -8% 0; z-index: -1; will-change: transform; }
.titlecard__media img { width: 100%; height: 100%; object-fit: cover; }
.titlecard .hero__shade { z-index: -1; }
.titlecard__content { position: relative; }
.titlecard__lede {
  max-width: 40ch;
  margin-top: clamp(24px, 3vw, 36px);
  font-size: clamp(1.02rem, 1.3vw, 1.15rem);
  color: var(--fg-soft);
}
.titlecard--image .titlecard__lede { color: rgba(244, 239, 230, 0.86); }
.js .titlecard__lede { transition: opacity 1.4s var(--ease) 1s, transform 1.4s var(--ease) 1s; }
.js:not(.is-ready) .titlecard__lede { opacity: 0; transform: translateY(12px); }
.titlecard .hero__eyebrow { color: var(--accent); }
.titlecard--image .hero__eyebrow { color: rgba(244, 239, 230, 0.82); }
.notfound__links { display: flex; flex-wrap: wrap; gap: 20px 40px; margin-top: 40px; }

/* Film page hero */
.hero__meta {
  margin-top: clamp(18px, 2.4vw, 28px);
  font-weight: 400;
  font-size: var(--fs-mark);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(244, 239, 230, 0.86);
}
.js .hero__meta { transition: opacity 1.4s var(--ease) 1.1s; }
.js:not(.is-ready) .hero__meta { opacity: 0; }
.hero__place a { transition: color 0.4s var(--ease); }
.hero__place a:hover { color: #fff; }

/* Player */
.player {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}
.player__video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.player__play { display: none; }
.js .player__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  background: linear-gradient(0deg, rgba(11, 10, 9, 0.45), rgba(11, 10, 9, 0.1));
  color: #F4EFE6;
  font-weight: 400;
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  transition: opacity 0.6s var(--ease), visibility 0.6s;
}
.player__play .ctl__play { width: 64px; height: 64px; }
.player__play .ctl__play::after { margin: -6px 0 0 -3px; border-left-width: 11px; border-top-width: 6px; border-bottom-width: 6px; }
.player__play:hover .ctl__play { border-color: var(--gold-light); transform: scale(1.06); }
.player.is-started .player__play { opacity: 0; visibility: hidden; }

/* Facts under the film */
.facts {
  display: grid;
  gap: 0;
  margin-top: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--line);
}
.facts > div { padding: 20px 0; border-bottom: 1px solid var(--line); }
.facts dt {
  font-weight: 400;
  font-size: 0.64rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
}
.facts dd { margin-top: 8px; font-family: var(--serif); font-size: 1.2rem; line-height: 1.35; color: var(--fg); }
@media (min-width: 760px) {
  .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
  .facts > div { padding: 24px 24px 28px 0; border-bottom: 0; }
  .facts > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
}

/* The day — acts */
.act { display: grid; gap: 28px; margin-top: clamp(64px, 9vw, 130px); }
.act:first-of-type { margin-top: 0; }
.act__media { overflow: hidden; background: var(--surface); }
.act__media img { width: 100%; }
.act__num { font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--gold); }
.act__title {
  margin: 10px 0 18px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.9rem, 3.2vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
}
.act__text p:not(.act__num) { max-width: 40ch; color: var(--fg-soft); }
@media (min-width: 900px) {
  .act { grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: end; column-gap: clamp(24px, 3vw, 48px); }
  .act--a .act__media { grid-column: 1 / 8; }
  .act--a .act__text  { grid-column: 9 / 13; padding-bottom: 12px; }
  .act--b .act__media { grid-column: 6 / 13; grid-row: 1; }
  .act--b .act__text  { grid-column: 1 / 5; grid-row: 1; padding-bottom: 12px; }
  .act--wide .act__media { grid-column: 1 / -1; }
  .act--wide .act__text  { grid-column: 1 / 7; }
}

/* Credits roll — like the end of a film */
.rollcredits { padding-block: clamp(100px, 16vh, 180px); text-align: center; }
.rollcredits .mark { justify-content: center; margin-bottom: clamp(40px, 5vw, 64px); }
.roll { display: grid; gap: 18px; max-width: 760px; margin: 0 auto; }
.roll > div { display: grid; gap: 4px; }
.roll dt {
  font-weight: 400;
  font-size: 0.64rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
}
.roll dd { font-family: var(--serif); font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.3; }
.roll a { background: linear-gradient(var(--gold), var(--gold)) left bottom / 0 1px no-repeat; transition: background-size 0.6s var(--ease-film); }
.roll a:hover { background-size: 100% 1px; }
@media (min-width: 760px) {
  .roll > div { grid-template-columns: 1fr 1fr; gap: 40px; align-items: baseline; }
  .roll dt { text-align: right; }
  .roll dd { text-align: left; }
}

/* Next film */
.nextfilm__link {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 72vh;
  min-height: 72svh;
  overflow: hidden;
  isolation: isolate;
  color: #F4EFE6;
  text-align: center;
}
.nextfilm__media { position: absolute; inset: 0; z-index: -2; }
.nextfilm__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 2s var(--ease); }
.nextfilm__link::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(11, 10, 9, 0.55); transition: background-color 1s var(--ease); }
.nextfilm__link:hover .nextfilm__media img { transform: scale(1.07); }
.nextfilm__link:hover::before { background: rgba(11, 10, 9, 0.4); }
.nextfilm__text { padding: 0 var(--gutter); }
.nextfilm__text .mark { justify-content: center; color: rgba(244, 239, 230, 0.86); }
.nextfilm__title {
  margin: 20px 0 16px;
  font-family: var(--serif);
  font-size: clamp(2.6rem, 7vw, 6.4rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.nextfilm .film__place { color: rgba(244, 239, 230, 0.8); }

/* Collections page */
.collection__for { margin-top: 16px; font-family: var(--serif); font-style: italic; font-size: 1.05rem; line-height: 1.5; color: var(--fg); max-width: 38ch; }
.extras {
  display: grid;
  gap: 24px;
  margin-top: clamp(64px, 8vw, 104px);
  padding-top: clamp(40px, 5vw, 56px);
  border-top: 1px solid var(--line);
}
.extras__title { font-family: var(--serif); font-weight: 400; font-size: var(--fs-display-s); line-height: 1.2; }
.extras__list li { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
.extras__list small { display: block; margin-top: 4px; font-size: 0.85rem; color: var(--fg-soft); }
@media (min-width: 900px) {
  .extras { grid-template-columns: 4fr 8fr; column-gap: clamp(24px, 3vw, 48px); }
  .extras__list { columns: 2; column-gap: clamp(24px, 3vw, 48px); }
  .extras__list li { break-inside: avoid; }
}

/* Steps (process, planners) */
.steps { display: grid; gap: 0; counter-reset: none; border-top: 1px solid var(--line); }
.step { padding: 32px 0 36px; border-bottom: 1px solid var(--line); }
.step__num { font-family: var(--serif); font-size: 0.95rem; color: var(--gold); }
.step__title { margin: 12px 0 12px; font-family: var(--serif); font-weight: 400; font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1.15; }
.step p:not(.step__num) { max-width: 36ch; color: var(--fg-soft); }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(24px, 3vw, 48px); }
  .step { padding: 40px 0 48px; }
}

/* FAQ */
.faq__grid { display: grid; gap: 28px; }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  line-height: 1.3;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary i { position: relative; flex: 0 0 16px; height: 16px; }
.faq__item summary i::before, .faq__item summary i::after {
  content: ""; position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: var(--gold);
  transition: transform 0.5s var(--ease-film);
}
.faq__item summary i::after { transform: rotate(90deg); }
.faq__item[open] summary i::after { transform: rotate(0deg); }
.faq__item summary:hover { color: var(--accent); }
.faq__a { padding: 0 0 30px; }
.faq__a p { max-width: 62ch; color: var(--fg-soft); }
@media (min-width: 900px) {
  .faq__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(24px, 3vw, 48px); }
  .faq__grid .chapter__mark { grid-column: 1 / 5; align-self: start; padding-top: 1.9em; }
  .faq__list { grid-column: 5 / 13; }
}

/* Studio principles & where */
.principles__list { display: grid; gap: clamp(40px, 5vw, 64px); }
.principle__num { font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--gold); }
.principle__title { margin: 12px 0 14px; font-family: var(--serif); font-weight: 400; font-size: clamp(1.7rem, 2.6vw, 2.4rem); line-height: 1.1; }
.principle p:not(.principle__num) { max-width: 36ch; color: var(--fg-soft); }
@media (min-width: 900px) {
  .principles__list { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(24px, 3vw, 48px); }
}
.where__grid { display: grid; gap: 28px; }
.where__grid .display-s a, .display-s a { background: linear-gradient(var(--gold), var(--gold)) left bottom / 100% 1px no-repeat; transition: color 0.4s var(--ease); }
.where__grid .display-s a:hover { color: var(--accent); }
.where__grid p + p { margin-top: 24px; color: var(--fg-soft); max-width: 46ch; }
.where__links { display: flex; flex-wrap: wrap; gap: 20px 40px; margin-top: 36px !important; }
@media (min-width: 900px) {
  .where__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(24px, 3vw, 48px); }
  .where__grid .chapter__mark { grid-column: 1 / 5; align-self: start; padding-top: 0.9em; }
  .where__grid > div { grid-column: 6 / 13; }
}

/* Planners collaborations */
.collabs { padding-top: 0; }
.collabs__list li { display: grid; gap: 4px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.collabs__list li:first-child { border-top: 1px solid var(--line); }
.collabs__list li > a { font-family: var(--serif); font-size: clamp(1.4rem, 2.2vw, 1.9rem); line-height: 1.2; }
.collabs__list li > a:hover { color: var(--accent); }
.collabs__list span { color: var(--fg-soft); font-size: 0.95rem; }

/* ENQUIRY FORM ----------------------------------------------------------- */
.enquiry__grid { display: grid; gap: clamp(48px, 6vw, 80px); }
.enquiry__aside .display-s { margin-bottom: 24px; }
.enquiry__aside > p:not(.display-s):not(.chapter__mark) { color: var(--fg-soft); max-width: 38ch; }
.enquiry__details { margin-top: 36px; border-top: 1px solid var(--line); }
.enquiry__details > div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.enquiry__details dt { font-weight: 400; font-size: 0.64rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--accent); }
.enquiry__details dd { margin-top: 6px; }
@media (min-width: 1000px) {
  .enquiry__grid { grid-template-columns: 4fr 7fr; column-gap: clamp(40px, 6vw, 110px); align-items: start; }
  .enquiry__aside { position: sticky; top: 110px; }
}

.form { display: grid; gap: clamp(28px, 3.4vw, 40px); }
.form__grid { display: grid; gap: clamp(24px, 3vw, 36px) clamp(24px, 3vw, 40px); }
@media (min-width: 700px) {
  .form__grid { grid-template-columns: 1fr 1fr; }
  .field--wide { grid-column: 1 / -1; }
}
.form__row { border: 0; min-width: 0; }
.form__label {
  display: block;
  margin-bottom: 12px;
  font-weight: 400;
  font-size: 0.66rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent);
}
.field { display: block; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 10px 0 12px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--fg);
  font: inherit;
  font-size: 1.05rem;
  line-height: 1.5;
  transition: border-color 0.4s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select {
  cursor: pointer;
  background: linear-gradient(45deg, transparent 50%, var(--gold) 50%) right 6px center / 6px 6px no-repeat,
              linear-gradient(135deg, var(--gold) 50%, transparent 50%) right 0 center / 6px 6px no-repeat;
  padding-right: 24px;
}
.field input::placeholder, .field textarea::placeholder { color: var(--fg-soft); opacity: 0.6; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--gold); }
.field.is-invalid input, .field.is-invalid select { border-bottom-color: #A2463B; }
.check.is-invalid span { color: #A2463B; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 20px;
  border: 1px solid var(--line);
  font-size: 0.92rem;
  transition: border-color 0.4s var(--ease), background-color 0.4s var(--ease), color 0.4s var(--ease);
}
.chip:hover span { border-color: var(--gold); }
.chip input:checked + span { border-color: var(--fg); background: var(--fg); color: var(--bg); }
.chip input:focus-visible + span { outline: 1px solid var(--accent); outline-offset: 3px; }

.checks { display: grid; gap: 14px; }
.check { display: flex; align-items: flex-start; gap: 14px; cursor: pointer; line-height: 1.5; }
.check input {
  flex: 0 0 18px;
  width: 18px; height: 18px;
  margin-top: 3px;
  border: 1px solid var(--fg-soft);
  border-radius: 0;
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  display: grid;
  place-content: center;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.check input::after {
  content: "";
  width: 9px; height: 5px;
  border-left: 1px solid var(--bg);
  border-bottom: 1px solid var(--bg);
  transform: rotate(-45deg) translate(1px, -1px) scale(0);
  transition: transform 0.3s var(--ease);
}
.check input:checked { background: var(--fg); border-color: var(--fg); }
.check input:checked::after { transform: rotate(-45deg) translate(1px, -1px) scale(1); }
.check input:focus-visible { outline: 1px solid var(--accent); outline-offset: 3px; }
.check--gold input:checked { background: var(--gold); border-color: var(--gold); }
.check--gold span { font-family: var(--serif); font-size: 1.15rem; }

.form__trap { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__status { min-height: 1.5em; color: #A2463B; font-size: 0.95rem; }
.form__status:empty { display: none; }
.btn--solid { justify-self: start; border-color: var(--fg); background: var(--fg); color: var(--bg); }
.btn--solid::before { background: var(--gold); }
.btn--solid:hover, .btn--solid:focus-visible { color: #fff; border-color: var(--gold); }
.btn[disabled] { opacity: 0.6; pointer-events: none; }
.form__done { padding: clamp(40px, 5vw, 64px) 0; border-top: 1px solid var(--gold); }
.form__done .display-s { margin: 20px 0 24px; }
.form__done p:last-child { color: var(--fg-soft); max-width: 46ch; }
.form__done:focus { outline: none; }

/* JOURNAL ------------------------------------------------------------------ */
.article-card { display: grid; gap: 28px; color: inherit; }
.article-card__media { overflow: hidden; background: var(--surface); aspect-ratio: 16 / 10; }
.article-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.8s var(--ease); }
.article-card:hover .article-card__media img { transform: scale(1.04); }
.article-card__title {
  margin: 18px 0 18px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.8rem, 3.2vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.article-card__title em { color: var(--gold); }
.article-card__text > p:not(.mark) { max-width: 44ch; margin-bottom: 28px; color: var(--fg-soft); }
@media (min-width: 900px) {
  .article-card { grid-template-columns: 7fr 5fr; column-gap: clamp(32px, 4vw, 64px); align-items: center; }
}

.article { padding-bottom: clamp(80px, 12vw, 160px); }
.article__head { padding-top: clamp(140px, 20vh, 200px); padding-bottom: clamp(40px, 6vw, 72px); max-width: 60rem; margin-left: auto; margin-right: auto; }
.article__head .mark a:hover { color: var(--fg); }
.article__title {
  margin: 24px 0 28px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.4rem, 5.6vw, 5rem);
  line-height: 1.04;
  letter-spacing: -0.015em;
}
.article__title em { color: var(--gold); }
.article__standfirst { font-family: var(--serif); font-size: clamp(1.2rem, 1.8vw, 1.5rem); line-height: 1.45; max-width: 42ch; }
.article__byline { margin-top: 28px; font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--fg-soft); }
.article__hero { width: min(100% - 2 * var(--gutter), var(--max)); margin: 0 auto clamp(56px, 7vw, 96px); overflow: hidden; }
.article__hero img { width: 100%; max-height: 78vh; object-fit: cover; }
.prose { max-width: 44rem; margin-inline: auto; }
.article .prose.wrap { width: min(100% - 2 * var(--gutter), 44rem); }
.prose h2 {
  margin: clamp(48px, 6vw, 72px) 0 18px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  line-height: 1.15;
}
.prose h2:first-child { margin-top: 0; }
.prose p { margin-top: 1.1em; color: var(--fg-soft); }
.prose p .text-link, .prose p a { color: var(--fg); }
.prose__note { font-size: 0.9rem; }
.table-wrap { margin-top: 24px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.light-table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 0.98rem; }
.light-table caption { caption-side: bottom; padding-top: 14px; text-align: left; font-size: 0.85rem; color: var(--fg-soft); }
.light-table th, .light-table td { padding: 14px 12px 14px 0; border-bottom: 1px solid var(--line); text-align: left; }
.light-table thead th { font-weight: 400; font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); vertical-align: bottom; }
.light-table tbody th { font-family: var(--serif); font-weight: 400; font-size: 1.1rem; }
.light-table td { font-variant-numeric: tabular-nums; }
.article__cta { margin-top: clamp(56px, 7vw, 88px); padding-top: clamp(40px, 5vw, 56px); border-top: 1px solid var(--gold); display: grid; gap: 28px; justify-items: start; }
.article--legal .prose p { color: var(--fg); }

/* ==========================================================================
   17. MOBILE HARDENING — touch targets, breathing room, older-iOS fallbacks
   ========================================================================== */

/* Long words never push past the screen edge */
h1, h2, h3, .display, .display-s, .hero__line, .credits__title, .nextfilm__title,
.article__title, .film__title, .collection__name, .act__title { overflow-wrap: break-word; hyphens: manual; }

/* Touch targets: at least 44px tall, without moving the visual design */
.nav__logo { display: flex; align-items: center; min-height: 44px; }
.link-line { min-height: 44px; padding-top: 14px; }
.text-link { padding-block: 4px; }
.faq__item summary { min-height: 56px; }

/* aspect-ratio fallback (iOS 14 and older): frames keep their height */
@supports not (aspect-ratio: 1 / 1) {
  .film__frame, .player, .article-card__media { height: 0; padding-top: 62.5%; }
  .player { padding-top: 56.25%; }
  .player__video { position: absolute; inset: 0; }
  .film--1 .film__frame, .film--4 .film__frame { padding-top: 41.8%; }
}

@media (max-width: 699px) {
  :root {
    --fs-hero: clamp(2.35rem, 10.4vw, 3.4rem);
    --fs-display: clamp(1.9rem, 8.2vw, 2.6rem);
    --fs-display-s: clamp(1.45rem, 6.2vw, 1.9rem);
    --chapter-y: clamp(80px, 14vh, 120px);
  }
  /* More air between lines of large serif type */
  .hero__line { line-height: 1.1; padding-bottom: 0.1em; }
  .display { line-height: 1.16; }
  .display-s { line-height: 1.3; }
  .manifesto__text { font-size: clamp(1.65rem, 7.2vw, 2.2rem); line-height: 1.26; }
  .credits__title { font-size: clamp(2.4rem, 11vw, 3.4rem); line-height: 1.1; }
  .nextfilm__title { font-size: clamp(2.3rem, 10.5vw, 3.2rem); line-height: 1.1; }
  .article__title { font-size: clamp(2.1rem, 9.6vw, 2.9rem); line-height: 1.12; }
  .collections__cta p { font-size: clamp(1.35rem, 5.8vw, 1.7rem); line-height: 1.35; }
  .act__title, .collection__name { line-height: 1.12; }
  .hero__eyebrow { line-height: 1.8; letter-spacing: 0.26em; margin-bottom: 20px; }
  .chapter__mark { letter-spacing: 0.26em; }

  /* Hero: title sits clearly above the control bar */
  .hero__content { bottom: 104px; }
  .hero__bar { padding-block: 14px; }
  .hero__controls { gap: 22px; }
  .ctl { padding-block: 4px; }
  .hero__meta { line-height: 1.8; letter-spacing: 0.22em; }

  /* Title cards: comfortable top spacing under the nav */
  .titlecard { padding-top: 120px; min-height: 68vh; min-height: 68svh; }
  .titlecard--image { min-height: 78vh; min-height: 78svh; }
  .titlecard__lede { margin-top: 22px; }

  /* Films */
  .film__meta { margin-top: 18px; column-gap: 14px; row-gap: 8px; }
  .film__title { font-size: clamp(1.6rem, 7vw, 2rem); }
  .films__grid { gap: 72px; }

  /* Wedding pages */
  .act { gap: 22px; margin-top: 72px; }
  .act__title { margin: 8px 0 14px; }
  .facts dd { font-size: 1.12rem; }
  .roll { gap: 26px; }
  .nextfilm__link { min-height: 60vh; min-height: 60svh; }

  /* Collections and steps */
  .collection { padding: 40px 0 44px; }
  .collection__flag { position: static; order: -1; margin-bottom: 10px; }
  .collection--signature { padding-top: 44px; }
  .step { padding: 28px 0 32px; }

  /* Enquiry form: fields and choices clearly separated */
  .form { gap: 36px; }
  .form__grid { gap: 30px; }
  .form__label { margin-bottom: 14px; line-height: 1.6; }
  .field input, .field select, .field textarea { font-size: 16px; padding: 12px 0 14px; } /* 16px: no zoom on iOS */
  .chips { gap: 12px; }
  .chip span { min-height: 48px; padding: 12px 18px; }
  .checks { gap: 18px; }
  .check { min-height: 32px; }
  .btn, .btn--solid { width: 100%; justify-self: stretch; }
  .collections__actions { flex-direction: column; gap: 18px; }
  .collections__actions .btn { width: 100%; }
  .enquiry__details > div { padding: 18px 0; }
  .enquiry__details dd { line-height: 2; }

  /* Footer: every link is a comfortable tap */
  .footer__grid { gap: 44px; }
  .footer__links { gap: 0; }
  .footer__links a, .footer__links span { display: flex; align-items: center; min-height: 44px; }
  .enquiry__details dd a { display: inline-flex; align-items: center; min-height: 44px; }
  .collabs__list li > a { display: inline-flex; align-items: center; min-height: 44px; }
  .light-table { min-width: 0; font-size: 0.86rem; }
  .light-table th, .light-table td { padding: 12px 8px 12px 0; }
  .light-table thead th { font-size: 0.56rem; letter-spacing: 0.14em; line-height: 1.5; }
  .light-table tbody th { font-size: 0.98rem; }
  .footer__bottom { flex-direction: column; gap: 10px; }
  .footer__bottom a { display: inline-block; padding: 8px 0; }

  /* Journal */
  .light-table { font-size: 0.92rem; }
  .article__head { padding-top: 120px; }
}

@media (max-width: 359px) {
  :root { --gutter: 18px; }
  .nav__toggle-label { display: none; }
  .hero__place { display: none; }
  .hero__controls { gap: 16px; }
  .ctl { font-size: 0.6rem; }
  .chip span { padding: 12px 14px; font-size: 0.88rem; }
}

.ctl { white-space: nowrap; }
@media (max-width: 699px) { .ctl { letter-spacing: 0.18em; gap: 10px; } .hero__controls { gap: 18px; } }

@media (max-width: 389px) {
  #soundToggle .ctl__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  #soundToggle { min-width: 44px; justify-content: center; }
}

/* Short landscape phones: hero content must not collide with nav or bar */
@media (max-height: 500px) and (orientation: landscape) {
  .hero, .titlecard--image { min-height: 460px; }
  .hero__content { bottom: 88px; }
  :root { --fs-hero: clamp(2rem, 6vw, 3rem); }
}

/* Any touch screen (phones in landscape, tablets): finger-sized targets */
@media (pointer: coarse) {
  .footer__links a, .footer__links span { display: flex; align-items: center; min-height: 44px; }
  .footer__links { gap: 0; }
  .enquiry__details dd a, .collabs__list li > a { display: inline-flex; align-items: center; min-height: 44px; }
  .enquiry__details dd a + br { display: none; }
  .enquiry__details dd { display: flex; flex-direction: column; align-items: flex-start; }
  .check { min-height: 44px; align-items: center; }
  .check input { margin-top: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  .reveal-on .reveal:not(.is-in) { transform: none; }
  .reveal-on .reveal-frame:not(.is-in) .film__frame { clip-path: none; }
  .reveal-on .reveal-frame:not(.is-in) .film__frame img { transform: none; }
}

@media print {
  .grain, .cursor, .curtain, .intro, .nav, .hero__bar, .letterbox { display: none !important; }
  body { background: #fff; color: #000; }
}

/* 18. CRAFT — DaVinci screenshot and the before / after of the grade -------- */
.craft__grid { display: grid; gap: clamp(40px, 6vw, 80px); align-items: center; }
@media (min-width: 1000px) {
  .craft__grid { grid-template-columns: 4fr 7fr; }
}
.craft__text .display-s { margin-bottom: clamp(22px, 3vw, 36px); }
.craft__text p:not(.display-s):not(.chapter__mark) { max-width: 42ch; color: var(--fg-soft); }
.craft__text p + p { margin-top: 1.2em; }
.craft__cols { display: grid; gap: 1.4em; max-width: 64rem; color: var(--fg-soft); }
@media (min-width: 900px) { .craft__cols { grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); } }
.craft__shot { margin-top: clamp(56px, 8vw, 110px); }
.craft__shot img { width: 100%; height: auto; display: block; background: var(--surface); border: 1px solid var(--line); }
.craft__shot figcaption, .compare__cap {
  margin-top: 14px;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-soft);
}
.craft__compare { margin-top: clamp(64px, 9vw, 130px); }
.craft__sub { font-family: var(--serif); font-weight: 400; font-size: var(--fs-display-s); line-height: 1.2; }
.craft__compare > p { margin: 12px 0 clamp(24px, 3vw, 36px); color: var(--fg-soft); max-width: 46ch; }

.compare { margin: 0; }
.compare__stage {
  --pos: 50%;
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #050505;
  border: 1px solid var(--line);
  touch-action: pan-y;               /* vertical scrolling stays free, horizontal drags compare */
  -webkit-user-select: none; user-select: none;
  cursor: ew-resize;
}
.compare__v { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.compare__v--color { clip-path: inset(0 0 0 var(--pos)); }
.compare__label {
  position: absolute; top: 14px; z-index: 2;
  font-size: 0.62rem; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase;
  color: #EDE6DA; padding: 7px 10px; background: rgba(11, 10, 9, 0.55);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: opacity 0.4s var(--ease);
}
.compare__label--l { left: 14px; }
.compare__label--r { right: 14px; }
.compare__handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); z-index: 3;
  width: 44px; margin-left: -22px;      /* finger-sized hit area around a 1px line */
  display: grid; place-items: center;
  outline: none;
}
.compare__handle::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; margin-left: -0.5px;
  background: rgba(244, 244, 244, 0.9);
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.35);
}
.compare__knob {
  position: relative; width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: rgba(11, 10, 9, 0.5);
  border: 1px solid rgba(244, 244, 244, 0.85);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: transform 0.4s var(--ease), background 0.4s var(--ease);
}
.compare__knob i { width: 0; height: 0; border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.compare__knob i:first-child { border-right: 6px solid #F4F4F4; }
.compare__knob i:last-child { border-left: 6px solid #F4F4F4; }
.compare.is-dragging .compare__knob, .compare__handle:focus-visible .compare__knob { transform: scale(1.12); background: rgba(139, 115, 85, 0.75); }
.compare__handle:focus-visible::before { background: var(--gold); }
.compare__play {
  position: absolute; inset: 0; z-index: 4; margin: auto; width: 76px; height: 76px; border-radius: 50%;
  border: 1px solid rgba(244, 244, 244, 0.85); background: rgba(11, 10, 9, 0.5); cursor: pointer;
}
.compare__play span { display: block; margin: 0 auto 0 30px; width: 0; height: 0; border-top: 11px solid transparent; border-bottom: 11px solid transparent; border-left: 17px solid #F4F4F4; }
.compare__cap { text-align: center; }
.compare.is-touched .compare__cap { opacity: 0; transition: opacity 0.6s var(--ease); }
@media (max-width: 699px) {
  .compare--home, .craft__compare .compare { margin-inline: calc(var(--gutter, 20px) * -1); }
  .compare--home .compare__stage, .craft__compare .compare__stage { border-left: 0; border-right: 0; }
  .compare__label { top: 10px; font-size: 0.56rem; padding: 6px 8px; }
  .compare__label--l { left: 10px; } .compare__label--r { right: 10px; }
}

/* 19. VOYAGE — destination weddings, set apart from the Sicily collections -- */
@media (min-width: 900px) {
  .collections__list--sicily { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.voyage {
  /* A dark "screening room" card inside the ivory chapter: same family, clearly its own thing */
  --fg: #EDE6DA; --fg-soft: #B9B0A2; --accent: #B39A74; --line: rgba(237, 230, 218, 0.14);
  position: relative;
  margin-top: clamp(48px, 7vw, 96px);
  padding: clamp(40px, 6vw, 80px) clamp(24px, 5vw, 72px);
  background: #0B0A09;
  color: var(--fg);
  display: grid;
  gap: clamp(40px, 6vw, 80px);
  overflow: hidden;
}
.voyage::before {           /* a thin gold frame, inset like a film gate */
  content: ""; position: absolute; inset: 12px; border: 1px solid rgba(139, 115, 85, 0.45); pointer-events: none;
}
@media (min-width: 900px) { .voyage { grid-template-columns: 5fr 6fr; align-items: start; } }
.voyage__eyebrow {
  font-size: 0.66rem; font-weight: 500; letter-spacing: 0.3em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 26px;
}
.voyage__name {
  margin-top: 10px;
  font-family: var(--serif); font-weight: 400; font-style: italic;
  font-size: clamp(3rem, 6vw, 5rem); line-height: 1; letter-spacing: -0.01em;
  color: #F2EDE4;
}
.voyage__desc { margin-top: 24px; max-width: 40ch; color: var(--fg-soft); }
.voyage__label {
  font-size: 0.66rem; font-weight: 500; letter-spacing: 0.3em; text-transform: uppercase; color: var(--fg-soft);
  margin-bottom: 18px;
}
.voyage__days { counter-reset: none; }
.voyage__day {
  position: relative;
  display: grid; grid-template-columns: 44px 1fr; gap: 18px; align-items: start;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.voyage__day:not(:last-child)::after {   /* the line of the journey, from one day to the next */
  content: ""; position: absolute; left: 21px; top: 62px; bottom: -18px; width: 1px; background: rgba(139, 115, 85, 0.5);
}
.voyage__n {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--gold); color: var(--accent);
  font-family: var(--serif); font-style: italic; font-size: 1.1rem;
  background: #0B0A09; position: relative; z-index: 1;
}
.voyage__dt { font-family: var(--serif); font-size: 1.35rem; line-height: 1.2; color: var(--fg); }
.voyage__day p + p, .voyage__day div > p:only-child { color: var(--fg-soft); margin-top: 4px; }
.voyage__day div > p:only-child { margin-top: 10px; }
.voyage__day--more .voyage__n { border-style: dashed; }
.voyage .collection__note { margin-top: 26px; color: var(--fg); }
@media (max-width: 699px) {
  .voyage { margin-inline: calc(var(--gutter) * -1); padding: 52px var(--gutter) 56px; }
  .voyage::before { inset: 8px; }
  .voyage__dt { font-size: 1.2rem; }
}
.form__hint { margin-top: 12px; font-family: var(--serif); font-style: italic; font-size: 1rem; color: var(--fg-soft); max-width: 46ch; }

.chip.is-disabled, .check.is-disabled { cursor: not-allowed; }
.chip.is-disabled span { opacity: 0.32; }
.check.is-disabled span { color: color-mix(in srgb, var(--fg) 38%, transparent); }
.check.is-disabled input { opacity: 0.4; }
.form__row.is-invalid > .form__label { color: #A2463B; }
.form__row.is-invalid .chip span { border-color: #A2463B; }
.check small { font-size: 0.82em; color: var(--fg-soft); }
/* The reason an extra can't be ticked, or why it is already ticked */
.check__note { display: block; margin-top: 2px; font-family: var(--serif); font-style: italic; font-size: 0.95rem !important; letter-spacing: 0; }
.check__note:empty { display: none; }
.check.is-included { cursor: default; }
.check.is-included input:checked { background: var(--gold); border-color: var(--gold); opacity: 1; }
.check.is-included .check__note { color: var(--accent); }
.check.is-disabled .check__note { color: var(--fg-soft); }
.voyage__cta { margin-top: 28px; }

/* 20. HOME — collections as names only ------------------------------------- */
.collections__compact { display: grid; border-top: 1px solid var(--line); }
.collections__item {
  display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto; column-gap: 18px; row-gap: 8px;
  align-items: baseline;
  padding: 28px 0; border-bottom: 1px solid var(--line);
  text-decoration: none; color: inherit;
  transition: padding-left 0.6s var(--ease);
}
.collections__item .collection__num { grid-row: 1 / span 2; }
.collections__name { font-family: var(--serif); font-size: clamp(2rem, 4vw, 3rem); line-height: 1; }
.collections__item .collection__where { margin-top: 0; grid-column: 2; }
.collections__item--voyage .collections__name { font-style: italic; }
.collections__item--voyage .collection__where { color: var(--gold); }
@media (hover: hover) { .collections__item:hover { padding-left: 14px; } .collections__item:hover .collections__name { color: var(--accent); } }
@media (min-width: 900px) {
  .collections__compact { grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
  .collections__item { border-bottom: 0; padding: 40px clamp(20px, 3vw, 44px); grid-template-columns: 1fr; }
  .collections__item:first-child { padding-left: 0; }
  .collections__item + .collections__item { border-left: 1px solid var(--line); }
  .collections__item .collection__num { grid-row: auto; }
  .collections__item .collection__where { grid-column: 1; }
  .collections__item:hover { padding-left: clamp(20px, 3vw, 44px); }
  .collections__item:first-child:hover { padding-left: 0; }
}
