/* Layout concept: an evening programme. Full-bleed photographs as chapters of the day,
   set between quiet ivory-on-black typography, with gold kept for the brand word and the key. */
:root {
  --ink: #0b0a08;
  --ink-2: #14120e;
  --ink-3: #1d1a15;
  --ivory: #f2ece0;
  --muted: #a8a091;
  --gold: #b39a62;
  --gold-soft: #8d7848;
  --line: rgba(242, 236, 224, 0.14);
  --display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --sans: "Jost", "Futura", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --step--1: clamp(0.78rem, 0.76rem + 0.1vw, 0.84rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.1rem);
  --step-1: clamp(1.2rem, 1.1rem + 0.5vw, 1.45rem);
  --step-2: clamp(1.6rem, 1.35rem + 1.1vw, 2.2rem);
  --step-3: clamp(2.1rem, 1.6rem + 2.2vw, 3.4rem);
  --step-4: clamp(2.7rem, 1.8rem + 4vw, 5.4rem);
  --gutter: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  --wrap: 1180px;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0;
  background: var(--ink);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: var(--step-0);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration-color: var(--gold-soft); text-underline-offset: 0.25em; }
a:hover { color: var(--gold); }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.12; margin: 0; text-wrap: balance; letter-spacing: -0.005em; }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
p { margin: 0; max-width: 62ch; }
em { font-family: var(--display); font-style: italic; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }
.eyebrow { font-family: var(--sans); font-size: var(--step--1); letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); font-weight: 400; }
.lede { font-size: var(--step-1); color: var(--ivory); line-height: 1.6; }
.muted { color: var(--muted); }
.stack { display: grid; gap: 1.4rem; }
.stack-sm { display: grid; gap: 0.7rem; }

/* Header */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--ink); }
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(11, 10, 8, 0.86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.brand { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 1.3rem; }
.nav a { white-space: nowrap; text-decoration: none; font-size: 0.82rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ivory); }
.nav a[aria-current="page"] { color: var(--gold); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem; padding: 0.95rem 1.6rem; border: 1px solid var(--gold); color: var(--ivory); background: transparent; font-family: var(--sans); font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background 0.25s, color 0.25s; }
.btn:hover { background: var(--gold); color: var(--ink); }
.btn.solid { background: var(--gold); color: var(--ink); }
.btn.solid:hover { background: var(--ivory); border-color: var(--ivory); }
.nav .btn { padding: 0.7rem 1.1rem; }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); color: var(--ivory); font: inherit; font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; padding: 0.6rem 0.9rem; cursor: pointer; }
@media (max-width: 1320px) {
  .menu-toggle { display: inline-block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--ink); border-bottom: 1px solid var(--line); padding-left: var(--gutter); padding-right: var(--gutter-r); padding-block: 0.5rem 1.4rem; }
  .nav.open { display: flex; }
  .nav a { padding-block: 0.85rem; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 1rem; border-bottom: 1px solid var(--gold); }
  .brand img { height: 40px; }
}

/* Hero */
.hero { position: relative; min-height: min(86vh, 860px); display: grid; align-items: end; overflow: hidden; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,10,8,0.78) 0%, rgba(11,10,8,0.45) 45%, rgba(11,10,8,0.05) 75%), linear-gradient(180deg, rgba(11,10,8,0.2) 0%, rgba(11,10,8,0.1) 40%, rgba(11,10,8,0.9) 100%); }
.hero h1, .hero .lede { text-shadow: 0 2px 24px rgba(0,0,0,0.45); }
@media (max-width: 760px) { .hero::after { background: linear-gradient(180deg, rgba(11,10,8,0.25) 0%, rgba(11,10,8,0.55) 45%, rgba(11,10,8,0.95) 100%); } }
.hero .wrap { position: relative; z-index: 1; padding-block: 5rem 4rem; display: grid; gap: 1.4rem; width: 100%; }
.hero h1 { max-width: 16ch; }
.hero .lede { max-width: 46ch; }
.hero.short { min-height: min(62vh, 620px); }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 0.6rem; }

/* Sections */
.section { padding-block: clamp(4rem, 8vw, 7.5rem); }
.section.alt { background: var(--ink-2); }
.section-head { display: grid; gap: 1rem; margin-bottom: clamp(2rem, 4vw, 3.4rem); max-width: 760px; }
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split.reverse > :first-child { order: 2; }
.split > * { min-width: 0; }
.split figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.reverse > :first-child { order: 0; } .split figure img { aspect-ratio: 4 / 3; } }
figure { margin: 0; }
figcaption { margin-top: 0.7rem; font-size: var(--step--1); color: var(--muted); letter-spacing: 0.04em; }

/* The day: a real sequence, so it is numbered */
.day { display: grid; gap: 0; border-top: 1px solid var(--line); }
.moment { display: grid; grid-template-columns: 5.5rem 1fr minmax(0, 360px); gap: clamp(1rem, 3vw, 2.6rem); align-items: center; padding-block: 2rem; border-bottom: 1px solid var(--line); }
.moment > * { min-width: 0; }
.moment .when { font-family: var(--display); font-style: italic; color: var(--gold); font-size: var(--step-2); }
.moment h3 { font-size: var(--step-2); margin-bottom: 0.5rem; }
.moment img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.moment .fmt { margin-top: 0.8rem; font-size: var(--step--1); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 760px) { .moment { grid-template-columns: 3.2rem 1fr; } .moment img { grid-column: 1 / -1; } }

/* Format list */
.formats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.2rem, 2.4vw, 2rem); }
@media (max-width: 960px) { .formats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .formats { grid-template-columns: 1fr; } }
.format { display: grid; gap: 0.9rem; align-content: start; text-decoration: none; }
.format img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: opacity 0.3s; }
.format:hover img { opacity: 0.82; }
.format h3 { font-size: var(--step-2); }
.format .tag { font-size: var(--step--1); letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.format p { color: var(--muted); font-size: 0.98rem; }

/* Ensemble detail rows */
.ensemble { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(1.5rem, 4vw, 4rem); padding-block: clamp(2.5rem, 5vw, 4rem); border-top: 1px solid var(--line); align-items: start; }
.ensemble:last-child { border-bottom: 1px solid var(--line); }
.ensemble img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.ensemble .meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem 2rem; margin-top: 1.2rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.ensemble .meta h4 { margin: 0 0 0.4rem; font-size: var(--step--1); font-weight: 400; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.ensemble .meta ul { list-style: none; margin: 0; padding: 0; color: var(--muted); font-size: 0.95rem; line-height: 1.8; }
.ensemble .subtitle { font-family: var(--display); font-style: italic; color: var(--gold); font-size: var(--step-1); }
@media (max-width: 860px) { .ensemble { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .ensemble .meta { grid-template-columns: 1fr; } }

/* Quote */
.quote { display: grid; gap: 1.4rem; max-width: 880px; }
.quote blockquote { margin: 0; font-family: var(--display); font-size: var(--step-2); line-height: 1.35; }
.quote cite { font-style: normal; font-size: var(--step--1); letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.4rem, 3vw, 2.6rem); }
.quotes .quote blockquote { font-size: var(--step-1); }
@media (max-width: 860px) { .quotes { grid-template-columns: 1fr; } }

/* Video strip */
.videos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.videos figure video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; background: var(--ink-3); }
@media (max-width: 960px) { .videos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Places */
.places { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.place { background: var(--ink); padding: clamp(1.4rem, 3vw, 2.2rem); display: grid; gap: 0.6rem; align-content: start; text-decoration: none; }
.place h3 { font-size: var(--step-1); font-family: var(--display); }
.place p { color: var(--muted); font-size: 0.95rem; }
a.place:hover h3 { color: var(--gold); }
@media (max-width: 860px) { .places { grid-template-columns: 1fr; } }

/* Steps: a real process, so numbered */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.2rem, 3vw, 2.4rem); counter-reset: s; }
.steps li { counter-increment: s; display: grid; gap: 0.6rem; padding-top: 1.2rem; border-top: 1px solid var(--gold-soft); }
.steps li::before { content: counter(s, upper-roman); font-family: var(--display); font-style: italic; color: var(--gold); font-size: var(--step-1); }
.steps h3 { font-size: var(--step-1); font-family: var(--display); }
.steps p { color: var(--muted); font-size: 0.95rem; }
@media (max-width: 860px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }

/* Spec list for production */
.spec { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; color: var(--muted); }
.spec li { padding-left: 1.2rem; position: relative; }
.spec li::before { content: ""; position: absolute; left: 0; top: 0.8em; width: 0.5rem; height: 1px; background: var(--gold); }

/* Band of statement */
.statement { text-align: left; }
.statement p.big { font-family: var(--display); font-size: var(--step-3); line-height: 1.2; max-width: 22ch; }
.statement .gold { color: var(--gold); font-style: italic; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; }
.cta-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.35; }
.cta-band .wrap { position: relative; padding-block: clamp(5rem, 10vw, 8rem); display: grid; gap: 1.4rem; justify-items: start; }

/* Form */
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem 1.6rem; }
.form .full { grid-column: 1 / -1; }
.field { display: grid; gap: 0.45rem; min-width: 0; }
.field label, .field legend { font-size: var(--step--1); letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; background: var(--ink-2); color: var(--ivory); border: 1px solid var(--line); padding: 0.9rem 1rem; font: inherit; font-weight: 300; border-radius: 0; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
fieldset.field { border: 0; padding: 0; margin: 0; }
.checks { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.checks label { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.55rem 0.9rem; border: 1px solid var(--line); cursor: pointer; text-transform: none; letter-spacing: 0.02em; font-size: 0.92rem; color: var(--ivory); }
.checks input { accent-color: var(--gold); width: auto; }
.checks label:has(input:checked) { border-color: var(--gold); }
.form-note { font-size: var(--step--1); color: var(--muted); }
.form-status { padding: 1rem 1.2rem; border: 1px solid var(--gold-soft); }
.hp { position: absolute; left: -9999px; }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }
.contact-aside { display: grid; gap: 1.6rem; align-content: start; }
.contact-aside .line { display: grid; gap: 0.2rem; padding-bottom: 1.2rem; border-bottom: 1px solid var(--line); }
.contact-aside .line span:first-child { font-size: var(--step--1); letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 4rem 2.5rem; background: var(--ink); }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(3, minmax(0, 1fr)); gap: 2rem; }
.footer-grid h4 { margin: 0 0 0.9rem; font-size: var(--step--1); font-weight: 400; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; font-size: 0.95rem; color: var(--muted); }
.footer-grid a { text-decoration: none; }
.footer-brand img { height: 74px; width: auto; margin-bottom: 1rem; }
.footer-brand p { color: var(--muted); font-size: 0.95rem; max-width: 34ch; }
.legal { margin-top: 3rem; padding-top: 1.4rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: var(--step--1); color: var(--muted); letter-spacing: 0.04em; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* Floating WhatsApp */
.wa { position: fixed; right: calc(18px + env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 40; display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.8rem 1.1rem; background: var(--ink-3); border: 1px solid var(--gold-soft); color: var(--ivory); text-decoration: none; font-size: 0.76rem; letter-spacing: 0.18em; text-transform: uppercase; }
.wa:hover { background: var(--gold); color: var(--ink); }
.wa svg { width: 18px; height: 18px; fill: currentColor; }

.prose { display: grid; gap: 1.2rem; max-width: 70ch; }
.prose h2 { font-size: var(--step-2); margin-top: 1.4rem; }
.prose p, .prose li { color: var(--muted); }
.reveal { animation: rise 0.9s ease both; }
@keyframes rise { from { transform: translateY(12px); } to { transform: none; } }

/* Brand lockup: mirrors the logo (script "The", wide KEYS, tracked brand name) */
.lockup { display: inline-grid; justify-items: center; gap: 0.15rem; margin-bottom: 0.6rem; justify-self: start; }
.lockup .lk-the { font-family: var(--display); font-style: italic; font-size: 1.05rem; line-height: 1; color: var(--ivory); transform: translateX(-0.9rem); }
.lockup .lk-keys { font-family: var(--display); font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.6rem); letter-spacing: 0.22em; line-height: 1; color: var(--gold); padding-left: 0.22em; }
.lockup .lk-name { font-family: var(--sans); font-size: clamp(0.72rem, 0.68rem + 0.2vw, 0.86rem); letter-spacing: 0.42em; text-transform: uppercase; color: var(--ivory); padding-left: 0.42em; margin-top: 0.35rem; }
.lockup .lk-sub { font-family: var(--display); font-style: italic; color: var(--gold); font-size: 1rem; margin-top: 0.2rem; }
.lockup.small .lk-keys { font-size: 1.7rem; }
.lockup.small .lk-the { font-size: 0.85rem; }
.lockup.small .lk-name { font-size: 0.66rem; }
.houses { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.house { background: var(--ink); display: grid; justify-items: center; text-align: center; gap: 0.9rem; padding: clamp(2rem, 4vw, 3rem) 1.4rem; text-decoration: none; }
.house p { color: var(--muted); font-size: 0.95rem; max-width: 30ch; }
.house:hover .lk-keys { color: var(--ivory); }
.house .lockup { justify-self: center; margin: 0; }
@media (max-width: 860px) { .houses { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .houses { grid-template-columns: 1fr; } }

/* Repertoire */
.sets { display: grid; gap: 0; border-top: 1px solid var(--line); }
.set { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr); gap: clamp(1.4rem, 4vw, 4rem); padding-block: clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--line); }
.set h3 { font-size: var(--step-2); }
.songs { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 2.4rem; font-size: 0.97rem; }
.songs li { break-inside: avoid; padding-block: 0.35rem; border-bottom: 1px solid var(--line); }
.songs .by { color: var(--muted); font-size: 0.86rem; display: block; }
@media (max-width: 860px) { .set { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .songs { columns: 1; } }
.prose ul { margin: 0; padding-left: 1.2rem; display: grid; gap: 0.5rem; }
.prose h3 { font-size: var(--step-1); margin-top: 0.8rem; }
.prose a { color: var(--ivory); }
.set > .stack-sm { align-content: start; }

/* ---------- Long-scroll home ---------- */
.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.opening { position: relative; min-height: min(100svh, 980px); display: grid; align-items: end; overflow: hidden; margin-top: -73px; }
.opening-media { position: absolute; inset: 0; background: var(--ink-3); }
.opening-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,10,8,0.8) 0%, rgba(11,10,8,0.45) 50%, rgba(11,10,8,0.1) 80%), linear-gradient(180deg, rgba(11,10,8,0.5) 0%, rgba(11,10,8,0) 30%, rgba(11,10,8,0.2) 60%, rgba(11,10,8,0.96) 100%); }
.opening-body { position: relative; z-index: 1; padding-block: 9rem 6rem; display: grid; gap: 1.3rem; justify-items: start; }
.opening-title { font-size: var(--step-4); max-width: 15ch; text-shadow: 0 2px 30px rgba(0,0,0,0.5); }
.opening .lede { max-width: 48ch; text-shadow: 0 2px 20px rgba(0,0,0,0.5); }
.hero-lock .lk-keys { font-size: clamp(3rem, 2rem + 4vw, 5.4rem); }
.hero-lock .lk-the { font-size: 1.4rem; }
.scroll-cue { position: absolute; z-index: 2; left: 50%; bottom: calc(1.6rem + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); width: 26px; height: 42px; border: 1px solid var(--line); border-radius: 14px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 2px; height: 8px; margin-left: -1px; background: var(--gold); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }
.site-header { transition: background 0.3s; }

.manifesto .big { font-family: var(--display); font-size: var(--step-3); line-height: 1.25; max-width: 26ch; }
.manifesto .gold { color: var(--gold); font-style: italic; }

/* Chapters: the photograph or film stays pinned while the card scrolls over it */
.chapter { position: relative; min-height: 165vh; }
.chapter-media { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: var(--ink-3); }
.chapter-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,10,8,0.82) 0%, rgba(11,10,8,0.45) 50%, rgba(11,10,8,0.15) 100%), linear-gradient(180deg, rgba(11,10,8,0.35) 0%, rgba(11,10,8,0) 30%, rgba(11,10,8,0) 70%, rgba(11,10,8,0.85) 100%); }
.chapter-body { position: relative; z-index: 1; margin-top: -70vh; padding-bottom: 18vh; }
.chapter-card { display: grid; gap: 1.1rem; justify-items: start; max-width: 620px; padding: clamp(1.6rem, 3vw, 2.6rem); background: rgba(11, 10, 8, 0.62); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line); }
.chapter-card h2 { font-size: var(--step-3); }
.chapter-card .lockup { margin-bottom: 0.2rem; }
.chapter-count { font-family: var(--display); font-style: italic; color: var(--muted); font-size: var(--step--1); letter-spacing: 0.1em; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chips li { padding: 0.4rem 0.8rem; border: 1px solid var(--line); font-size: 0.8rem; letter-spacing: 0.08em; color: var(--ivory); }
@media (max-width: 760px) {
  .chapter { min-height: 150vh; }
  .chapter-media::after { background: linear-gradient(180deg, rgba(11,10,8,0.2) 0%, rgba(11,10,8,0.45) 50%, rgba(11,10,8,0.9) 100%); }
  .chapter-body { margin-top: -55vh; }
  .chapter-card { background: rgba(11, 10, 8, 0.72); }
}

/* Floating index of houses, visible while the chapters scroll */
.chapter-index { position: fixed; z-index: 45; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 140%); display: flex; gap: 0.2rem; padding: 0.35rem; background: rgba(20, 18, 14, 0.88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--line); transition: transform 0.4s ease; max-width: calc(100vw - 40px); overflow-x: auto; scrollbar-width: none; }
.chapter-index.show { transform: translate(-50%, 0); }
.chapter-index a { white-space: nowrap; text-decoration: none; padding: 0.55rem 0.8rem; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.chapter-index a.active { color: var(--ink); background: var(--gold); }
@media (max-width: 760px) { .chapter-index { left: 16px; right: 16px; transform: translateY(140%); max-width: none; } .chapter-index.show { transform: none; } }

/* Five movements */
.movements { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.movements li { background: var(--ink-2); padding: 1.6rem 1.3rem; display: grid; gap: 0.5rem; align-content: start; }
.movements .when { font-family: var(--display); font-style: italic; color: var(--gold); font-size: var(--step-2); }
.movements h3 { font-size: var(--step-1); }
.movements p { color: var(--muted); font-size: 0.95rem; }
@media (max-width: 960px) { .movements { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .movements { grid-template-columns: 1fr; } }

/* Reveal: visible at rest, gently lifts in when it enters the viewport */
[data-reveal] { transition: transform 0.9s cubic-bezier(.2,.7,.2,1); }
.js-reveal [data-reveal]:not(.in) { transform: translateY(28px); }
@media (prefers-reduced-motion: reduce) { .js-reveal [data-reveal]:not(.in) { transform: none; } .scroll-cue span { animation: none; } }
.hero .hero-video { z-index: 0; }
.hero > img { z-index: 0; }
.hero::after { z-index: 0; }

/* FAQ */
.faq { max-width: 860px; border-top: 1px solid rgba(179,154,98,.35); }
.faq-item { border-bottom: 1px solid rgba(179,154,98,.35); }
.faq-item summary { cursor: pointer; list-style: none; padding: 1.4rem 2.5rem 1.4rem 0; position: relative; font-family: "Bodoni Moda", serif; font-size: clamp(1.15rem, 2.2vw, 1.45rem); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: .25rem; top: 1.25rem; color: var(--gold); font-size: 1.5rem; transition: transform .3s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin: 0 0 1.5rem; max-width: 70ch; opacity: .85; }
