/* is amazing — landing page (index.html). Layout only: colours, type, radii and shadows come from site.css tokens.
   Two registers: a cinema hero (full-bleed photograph, title over it, a phone playing the mini film) and paper sections.
   Hard-coded colours below are only the phone itself and film gradients over photographs (design-system rule 7). */

.landing main { padding-bottom: 0; }
:where(.landing main) p, :where(.landing main) li { text-wrap: pretty; } /* no one-word last lines */

/* ============================================================ hero (cinema) */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid;
  grid-template-columns: var(--gutter) minmax(0, 1fr) var(--gutter);
  grid-template-rows: auto minmax(calc(100vh - 5.75rem - 4.5rem), auto) auto;
}
@supports (height: 100svh) {
  .hero { grid-template-rows: auto minmax(calc(100svh - 5.75rem - 4.5rem), auto) auto; }
}
.hero-media { grid-column: 1 / -1; grid-row: 1 / 3; position: relative; overflow: hidden; background: var(--film-black); }
.hero-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%;
  transform-origin: 60% 45%; animation: hero-drift 42s var(--ease-film) infinite alternate;
}
/* The bundled photograph fades up from black, like a film's first shot. If Rob has chosen a photograph, landing.js
   holds this fade (Web Animations pause, up to 1.6 s) while the chosen one loads, so nobody sees one picture dissolve into another. */
#hero-img { animation: hero-drift 42s var(--ease-film) infinite alternate, hero-up 1.2s var(--ease-film) 0.3s both; }
@keyframes hero-up { from { opacity: 0; } to { opacity: 1; } }
.hero-img.art-layer { opacity: 0; transition: opacity var(--d-film) var(--ease-film); }
.hero-img.art-layer.first { transition-duration: var(--d-4); } /* from black, not over another picture */
.hero-img.art-layer.on { opacity: 1; }
.hero-img.wide-on-tall { object-position: 66% 50%; }
@keyframes hero-drift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.13) translate3d(-1.6%, -1.1%, 0); }
}
/* a film grade over any photograph: keeps the title band dark and lets the frame fall to black at the foot */
.hero-shade {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(14, 12, 11, 0.6) 0%, rgba(14, 12, 11, 0) 20%),
    radial-gradient(130% 62% at 50% 50%, rgba(14, 12, 11, 0.66) 0%, rgba(14, 12, 11, 0.4) 58%, rgba(14, 12, 11, 0.16) 100%),
    linear-gradient(180deg, rgba(14, 12, 11, 0) 72%, rgba(14, 12, 11, 0.9) 94%, #0E0C0B 100%);
}
@media (max-width: 959px) { .hero-media.grain::after { -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent 100%); mask-image: linear-gradient(180deg, #000 78%, transparent 100%); } }
.hero-mast { grid-column: 2; grid-row: 1; position: relative; z-index: 3; }
.hero-mast .wordmark { color: var(--film-ivory); }
.hero-copy {
  grid-column: 2; grid-row: 2; align-self: center; position: relative; z-index: 3;
  max-width: 40rem; padding: var(--s-6) 0 var(--s-8);
}
.hero-copy .eyebrow { color: var(--film-highlight); text-wrap: balance; }
@media (max-width: 559px) { .hero-copy .eyebrow { letter-spacing: 0.14em; } .hero-copy .eyebrow::before { display: none; } }
.hero-copy h1 {
  margin-top: var(--s-4); font-size: var(--t-display); font-weight: 300; line-height: 1.02; letter-spacing: -0.012em;
  color: var(--film-ivory); text-shadow: 0 2px 28px rgba(14, 12, 11, 0.45);
}
.hero-lede {
  margin-top: var(--s-5); max-width: 29rem; font-size: var(--t-lede); line-height: 1.5; color: var(--film-ivory);
  text-shadow: 0 1px 18px rgba(14, 12, 11, 0.6);
}
.hero-ctas { margin-top: var(--s-6); gap: var(--s-4) var(--s-5); }
.hero-ctas .play-link .ring { box-shadow: inset 0 0 0 1px var(--film-line-strong); background: rgba(14, 12, 11, 0.28); }
.hero-ctas .play-link:hover .ring { box-shadow: inset 0 0 0 1px var(--film-ivory); }
.hero-price { text-wrap: balance; margin-top: var(--s-5); font-family: var(--font-ui); font-size: var(--t-small); letter-spacing: 0.01em; color: var(--film-soft); }
.hero-credit {
  grid-column: 2; grid-row: 2; justify-self: end; align-self: end; position: relative; z-index: 3; margin: 0 0 var(--s-4);
  font-family: var(--font-ui); font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--film-soft); opacity: 0.85;
}

/* the phone: in the hero on wide screens, just below the title on phones */
.hero-film {
  grid-column: 2; grid-row: 3; position: relative; z-index: 3;
  display: flex; flex-direction: column; align-items: center; padding: 0 0 var(--s-8);
}
.phone {
  position: relative; width: min(72vw, 17.5rem); aspect-ratio: 9 / 19.5; padding: 9px; border-radius: 46px;
  background: linear-gradient(150deg, #3d352f 0%, #1b1714 38%, #0b0a09 100%);
  box-shadow: 0 0 0 1px rgba(243, 234, 219, 0.14), inset 0 0 0 1px rgba(255, 255, 255, 0.05), 0 44px 90px -34px rgba(0, 0, 0, 0.95);
}
.phone-caption { margin-top: var(--s-5); font-family: var(--font-ui); font-size: var(--t-small); color: var(--film-soft); text-align: center; }
.phone-caption a { color: var(--film-ivory); }

.phone-screen {
  position: relative; height: 100%; border-radius: 37px; overflow: hidden; isolation: isolate; container-type: size; /* the film's frame */
  background: var(--film-black); color: var(--film-ivory);
}
.phone-screen::before { content: ''; position: absolute; top: 9px; left: 50%; width: 30%; height: 19px; transform: translateX(-50%); background: #050404; border-radius: 999px; z-index: 8; }
.phone-screen::after { /* a lens vignette over every scene */
  content: ''; position: absolute; inset: 0; z-index: 5; pointer-events: none;
  background: radial-gradient(120% 80% at 50% 45%, rgba(14, 12, 11, 0) 50%, rgba(14, 12, 11, 0.55) 100%);
}
/* the page's backdrop sits behind the title, the words and the poem, as in the film */
.ps-bd { position: absolute; inset: 0; z-index: 0; transition: opacity var(--d-4) var(--ease-film), filter var(--d-4) var(--ease-film); }
.ps-bd img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 7s linear, opacity var(--d-film) var(--ease-film); }
.ps-bd img.art-layer { opacity: 0; }
.ps-bd img.art-layer.on { opacity: 1; }
[data-scene='0'] .ps-bd { opacity: 0.3; filter: blur(3px); }
[data-scene='1'] .ps-bd { opacity: 1; }
[data-scene='1'] .ps-bd img { transform: scale(1.12); }
[data-scene='2'] .ps-bd { opacity: 0; }
[data-scene='3'] .ps-bd, [data-scene='4'] .ps-bd { opacity: 0.4; filter: blur(7px); }
[data-scene='5'] .ps-bd { opacity: 0.55; filter: blur(4px); }
[data-scene='6'] .ps-bd { opacity: 0.35; filter: blur(6px); }

.ps {
  position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 3.4rem 1.35rem 3.6rem; text-align: center; opacity: 0; transition: opacity 0.45s var(--ease);
}
/* the outgoing scene is gone before the next one arrives, so two blocks of type never overlap (as in the film);
   the backdrop underneath (.ps-bd) still cross-dissolves */
.ps.on { opacity: 1; transition: opacity 0.9s var(--ease) 0.5s; }
.ps p { text-wrap: balance; }
/* 0. the opening: a foil hairline, the whisper, the button in tracked capitals (as /p/demo) */
.ps .p-hair { display: block; width: 2.2rem; height: 1px; margin-bottom: 1.3rem; background: var(--foil-gradient); }
.ps .p-whisper { font-family: var(--font-display); font-style: italic; font-size: 1.4rem; line-height: 1.3; }
.ps .p-open {
  margin-top: 1.5rem; padding: 0.62rem 1.5rem; border-radius: var(--r-1);
  font-family: var(--font-ui); font-weight: 500; font-size: 0.62rem; letter-spacing: 0.3em; text-indent: 0.3em; text-transform: uppercase;
  color: var(--film-black); background: var(--film-ivory);
}
/* 1. the title card: the one title card component (site.css 13b), sized from the phone's screen exactly as the film is */
.ps-title { padding: 0; }
/* 2. a photo, with the film's caption in tracked capitals */
.ps-photo { padding: 0; justify-content: flex-end; }
.ps-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 6.5s var(--ease-film); }
.ps-photo.on img { transform: scale(1.14) translate(-2%, -1%); }
.ps-photo::after { content: ''; position: absolute; inset: 52% 0 0; z-index: 0; background: linear-gradient(rgba(14, 12, 11, 0), rgba(14, 12, 11, 0.8)); }
.ps-photo::before { content: ''; position: absolute; inset: 0 0 78%; z-index: 1; background: linear-gradient(rgba(14, 12, 11, 0.55), rgba(14, 12, 11, 0)); }
.ps .p-cap { position: relative; z-index: 1; margin-bottom: 3.6rem; font-family: var(--font-ui); font-weight: 500; font-size: 0.56rem; letter-spacing: 0.3em; text-indent: 0.3em; text-transform: uppercase; color: var(--film-highlight); text-shadow: 0 1px 8px rgba(14, 12, 11, 0.8); }
.ps .p-cap span { color: var(--film-ivory); }
/* "Painted by AI" on a painted photo, as the film labels it: the title card's own chip (site.css .tc-ai), under the camera */
.ps .p-ai, .ps-title .tc-ai { top: 2.2rem; right: 0.85rem; }
.ps .p-ai {
  position: absolute; z-index: 3; padding: 0.3em 0.6em; border-radius: var(--r-1); background: rgba(14, 12, 11, 0.66);
  font-family: var(--font-ui); font-size: 10px; line-height: 1.3; letter-spacing: 0.03em; color: var(--film-ivory);
}
/* 3 + 4. words, and a voice: the question in capitals under a short rule, their words, who wrote them */
.ps-words, .ps-voice { align-items: flex-start; text-align: left; }
.ps .p-q { margin-bottom: 0.75rem; font-family: var(--font-ui); font-size: 0.5rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--film-highlight); }
.ps .p-q::before { content: ''; display: block; width: 1.1rem; height: 1px; margin-bottom: 0.7rem; background: currentColor; opacity: 0.55; }
.ps .p-text { font-family: var(--font-read); font-size: 1.04rem; line-height: 1.45; }
.ps-voice .p-text { font-size: 0.98rem; }
.ps .p-by { margin-top: 0.8rem; font-family: var(--font-display); font-style: italic; font-size: 1.05rem; line-height: 1.2; color: var(--film-highlight); }
.ps .p-by span { display: block; margin-top: 0.15rem; font-family: var(--font-ui); font-style: normal; font-size: 0.58rem; color: var(--film-soft); }
/* the voice as fine hairlines about a gold baseline, as in the film */
.p-wave { position: relative; display: flex; align-items: center; justify-content: space-between; width: 100%; height: 2rem; margin: 1rem 0 0.4rem; }
.p-wave::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: linear-gradient(90deg, rgba(233, 211, 154, 0), rgba(233, 211, 154, 0.55), rgba(233, 211, 154, 0)); }
.p-wave i { display: block; width: 1px; height: 100%; background: var(--film-highlight); opacity: 0.85; transform: scaleY(0.12); }
.ps.on .p-wave i { animation: talk 1.2s ease-in-out infinite; }
.p-wave i:nth-child(2n) { animation-delay: -0.3s !important; }
.p-wave i:nth-child(3n) { animation-delay: -0.6s !important; }
.p-wave i:nth-child(5n) { animation-delay: -0.85s !important; }
.p-wave i:nth-child(-n+4), .p-wave i:nth-last-child(-n+4) { opacity: 0.4; }
@keyframes talk { 0%, 100% { transform: scaleY(0.12); } 30% { transform: scaleY(0.8); } 55% { transform: scaleY(0.35); } 75% { transform: scaleY(0.6); } }
.ps .p-small { font-family: var(--font-ui); font-size: 0.6rem; color: var(--film-highlight); }
/* 5. the poem */
.ps .p-kicker { margin-bottom: 0.9rem; font-family: var(--font-ui); font-size: 0.5rem; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: var(--film-highlight); }
.ps .p-poem p { font-family: var(--font-display); font-style: italic; font-size: 1.04rem; line-height: 1.45; }
/* 6. the keepsake: a paper card with an inner hairline frame and a foil name, as the film ends */
.ps .p-card {
  position: relative; width: 84%; aspect-ratio: 4 / 5; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1rem;
  border-radius: 2px; color: var(--ink); background-color: var(--card); background-image: var(--tex-paper); background-size: 256px 256px;
  box-shadow: inset 0 0 0 7px var(--card), inset 0 0 0 8px var(--hairline), 0 24px 44px -20px rgba(0, 0, 0, 0.9);
}
.ps .p-card-greet { font-family: var(--font-ui); font-weight: 500; font-size: 0.45rem; letter-spacing: 0.3em; text-indent: 0.3em; text-transform: uppercase; color: var(--ink-soft); }
.ps .p-card-name { margin-top: 0.5rem; font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: 2.7rem; line-height: 1; color: var(--foil-ink); }
.ps .p-card-is { font-family: var(--font-display); font-style: italic; font-size: 1rem; margin-top: 0.15rem; }
.ps .p-card-rule { display: block; width: 1.4rem; height: 1px; margin: 0.7rem auto; background: var(--hairline-strong); }
.ps .p-card-by { max-width: 86%; font-family: var(--font-display); font-style: italic; font-size: 0.7rem; line-height: 1.4; color: var(--ink-soft); }
.ps-music {
  position: absolute; top: 2.35rem; left: 0; right: 0; z-index: 6; display: flex; justify-content: center; align-items: flex-end; gap: 3px;
  font-family: var(--font-ui); font-size: 0.56rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--film-highlight);
  text-shadow: 0 1px 6px rgba(14, 12, 11, 0.9); transition: opacity var(--d-3) var(--ease);
}
.ps-music i { display: block; width: 2px; height: 8px; background: var(--foil-light); transform-origin: bottom; animation: eq 1s ease-in-out infinite; }
.ps-music i:nth-child(2) { animation-delay: -0.35s; } .ps-music i:nth-child(3) { animation-delay: -0.7s; }
.ps-music span { margin-left: 0.45rem; line-height: 8px; }
@keyframes eq { 0%, 100% { transform: scaleY(0.3); } 50% { transform: scaleY(1); } }
.phone-screen.photo-ai[data-scene='2'] .ps-music, .phone-screen.bd-ai[data-scene='1'] .ps-music { opacity: 0; } /* clear of the AI label */
/* the progress bar: each segment fills with a compositor animation (scaleX), timed per scene by --dur */
.ps-progress { position: absolute; left: 1.1rem; right: 1.1rem; bottom: 1.35rem; z-index: 6; display: flex; gap: 3px; }
.ps-progress i.skip { display: none; } /* Tom's photo scene, until the sample film has a painted photo */
.ps-progress i { position: relative; flex: 1; height: 2px; overflow: hidden; background: rgba(243, 234, 219, 0.2); }
.ps-progress i::after { content: ''; position: absolute; inset: 0; background: rgba(243, 234, 219, 0.75); transform: scaleX(0); transform-origin: 0 50%; }
.ps-progress i.done::after { transform: scaleX(1); }
.ps-progress i.now::after { animation: ps-fill var(--dur, 4s) linear forwards; }
@keyframes ps-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
/* off screen or in a background tab: everything in the phone holds still */
.phone-screen.paused .ps-progress i.now::after, .phone-screen.paused .ps-music i, .phone-screen.paused .p-wave i { animation-play-state: paused; }

/* wide screens: title on the left over the shadowed side of the photograph, the phone on the right */
@media (min-width: 960px) {
  .hero {
    grid-template-columns: minmax(var(--gutter), 1fr) minmax(0, 40rem) minmax(0, 32rem) minmax(var(--gutter), 1fr);
    grid-template-rows: auto minmax(calc(min(100vh, 72rem) - 5.75rem), auto);
  }
  .hero-media { grid-row: 1 / -1; }
  .hero-shade {
    background:
      linear-gradient(90deg, rgba(14, 12, 11, 0.82) 0%, rgba(14, 12, 11, 0.62) 30%, rgba(14, 12, 11, 0.18) 60%, rgba(14, 12, 11, 0.3) 100%),
      linear-gradient(180deg, rgba(14, 12, 11, 0.5) 0%, rgba(14, 12, 11, 0) 20%, rgba(14, 12, 11, 0) 78%, rgba(14, 12, 11, 0.55) 100%);
  }
  .hero-mast { grid-column: 2 / 4; }
  .hero-copy { grid-column: 2; padding: var(--s-6) var(--s-7) var(--s-8) 0; }
  .hero-film { grid-column: 3; grid-row: 2; align-self: center; padding: var(--s-5) 0 var(--s-7); }
  .phone { width: 18.5rem; }
  .hero-credit {
    grid-column: 4; grid-row: 1 / -1; justify-self: end; align-self: end; margin: 0 var(--s-4) var(--s-6) 0;
    writing-mode: vertical-rl; transform: rotate(180deg);
  }
}

/* ============================================================ paper sections */
.section { padding-top: clamp(4.5rem, 11vw, 8.5rem); }
.section-head { max-width: 46rem; }
.section-head h2 { margin-top: var(--s-4); }
.section-lede { margin-top: var(--s-5); max-width: 36rem; font-size: var(--t-lede); line-height: 1.55; color: var(--text-soft); }

/* how it works */
.steps { list-style: none; margin: var(--s-7) 0 0; padding: 0; display: grid; gap: var(--s-6); }
.steps li { padding-top: var(--s-5); border-top: 1px solid var(--line); }
.step-n {
  display: block; margin-bottom: var(--s-4); font-family: var(--font-display); font-style: italic; font-weight: 300; font-size: 3.75rem; line-height: 0.9;
  color: var(--gold); font-variant-numeric: oldstyle-nums;
}
.steps p { margin-top: var(--s-2); max-width: 30rem; color: var(--text-soft); }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2rem, 4vw, 3.5rem); margin-top: var(--s-8); }
  .steps li { padding-top: var(--s-6); }
  .step-n { font-size: 5.5rem; margin-bottom: var(--s-5); }
  .steps p { margin-top: var(--s-3); max-width: 21rem; }
}

/* occasions gallery: photographic tiles, the title over the image */
.occ-grid { list-style: none; margin: var(--s-7) 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3); }
@media (min-width: 900px) { .occ-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-4); margin-top: var(--s-8); } }
.occ {
  position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; isolation: isolate; border-radius: var(--r-3);
  color: var(--film-ivory); background: var(--film-black); text-decoration: none; box-shadow: var(--shadow-card);
}
@media (min-width: 900px) { .occ { aspect-ratio: 4 / 5; } }
.occ-media { position: absolute; inset: 0; }
.occ-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; transition: transform 1.8s var(--ease-film), opacity var(--d-film) var(--ease-film); }
.occ-media img.art-layer { opacity: 0; }
.occ-media img.art-layer.on { opacity: 1; }
.occ:hover .occ-media img { transform: scale(1.045); }
.occ::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(14, 12, 11, 0) 42%, rgba(14, 12, 11, 0.55) 72%, rgba(14, 12, 11, 0.85) 100%); }
.occ-text { position: absolute; left: var(--s-4); right: var(--s-4); bottom: var(--s-4); z-index: 2; display: flex; flex-direction: column; }
.occ-name { font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: clamp(1.55rem, 5.2vw, 2.4rem); line-height: 1.02; padding-right: 0.05em; }
.occ-line { margin-top: 0.4rem; font-family: var(--font-ui); font-size: 0.8125rem; line-height: 1.35; letter-spacing: 0.01em; color: var(--film-highlight); opacity: 0.86; }
@media (max-width: 899px) { .occ-line { min-height: 2.7em; } } /* one line or two, the names in a row line up */
.occ-note { margin-top: var(--s-4); font-family: var(--font-ui); font-size: 0.8125rem; letter-spacing: 0.02em; color: var(--text-soft); }
.occ-note::before { content: ''; display: inline-block; vertical-align: middle; width: 1.25rem; height: 1px; margin-right: 0.6rem; background: var(--line-strong); }
@media (min-width: 900px) {
  .occ-text { left: var(--s-5); right: var(--s-5); bottom: var(--s-5); }
  .occ-line { font-size: var(--t-small); }
}

/* what makes it special: four editorial rows, the picture and the words alternating */
.feat { display: grid; gap: var(--s-6); margin-top: var(--s-8); align-items: center; }
.feat:first-of-type { margin-top: var(--s-7); }
@media (min-width: 900px) {
  .feat { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(3rem, 7vw, 6.5rem); margin-top: clamp(5rem, 9vw, 7.5rem); }
  .feat-flip .feat-visual { order: 2; }
}
.feat-text { max-width: 30rem; }
.feat-text .label { color: var(--gold); }
.feat-text h3 { margin-top: var(--s-3); font-size: clamp(1.7rem, 3.4vw, 2.35rem); font-weight: 400; line-height: 1.12; }
.feat-text p:not(.label) { margin-top: var(--s-4); }
.feat-text .feat-small { font-family: var(--font-ui); font-size: var(--t-small); line-height: 1.55; color: var(--text-soft); }
.feat-visual { margin: 0; }

/* 1. the backdrop, shown as the sample film's title card: the one title card component (site.css .tc), phone-shaped,
   centred in its column. Once the sample's backdrop is painted, the line it was painted from sits on a slip of card
   tucked over the card's top edge (clear of the film's "Backdrop painted by AI" label at the top right). */
.feat-frame { position: relative; }
.ff-stack { position: relative; width: min(100%, 21rem); margin: 0 auto; }
.ff-card { width: 100%; }
.ff-world {
  position: relative; z-index: 7; width: min(88%, 18rem); margin: 0 0 calc(-1 * var(--s-3)) calc(-1 * var(--s-3)); padding: var(--s-4) var(--s-5) var(--s-5);
  border-radius: var(--r-2); background-color: var(--card); background-image: linear-gradient(var(--surface-wash), var(--surface-wash)), var(--tex-paper); background-size: auto, var(--tex-paper-size);
  box-shadow: var(--shadow-card), 0 0 0 1px var(--line); transform: rotate(-1.6deg); transform-origin: 0 100%;
}
.ff-world[hidden] { display: none; }
.ff-world .label { color: var(--gold); }
.ff-typed { display: block; margin-top: var(--s-2); font-family: var(--font-read); font-style: italic; font-size: 1.06rem; line-height: 1.42; color: var(--ink); text-wrap: pretty; }
@media (min-width: 900px) { .ff-world { margin-left: calc(-1 * var(--s-7)); } }
.ff-card .tc-img { transition: opacity var(--d-film) var(--ease-film); }
.ff-card .tc-img.art-layer { opacity: 0; }
.ff-card .tc-img.art-layer.on { opacity: 1; }
.feat-cap { max-width: 21rem; margin: var(--s-4) auto 0; font-family: var(--font-ui); font-size: 0.875rem; line-height: 1.5; color: var(--text-soft); text-wrap: balance; }

/* 2. the poem, set on a card */
.poem-card {
  position: relative; max-width: 30rem; margin: 0 auto; padding: clamp(2rem, 6vw, 3.25rem) clamp(1.5rem, 5vw, 3rem); text-align: center;
  border-radius: var(--r-3); background-color: var(--card);
  background-image: linear-gradient(var(--surface-wash), var(--surface-wash)), var(--tex-paper); background-size: auto, var(--tex-paper-size);
  box-shadow: var(--shadow-lift), inset 0 0 0 1px var(--line), inset 0 0 0 7px var(--card), inset 0 0 0 8px var(--line);
}
.poem-lines { margin-top: var(--s-5); }
.poem-lines p { font-family: var(--font-display); font-style: italic; font-size: clamp(1.2rem, 3.6vw, 1.42rem); line-height: 1.45; text-wrap: balance; }
.poem-lines p:nth-child(2n) { margin-bottom: 0.55em; }
.poem-by { margin-top: var(--s-5); font-family: var(--font-ui); font-size: 0.875rem; color: var(--text-soft); }

/* 3 + 4. music and voices: small pieces of the film, set on film black */
.feat-music, .feat-voice { background: none; }
.music-card, .voice-card {
  position: relative; overflow: hidden; border-radius: var(--r-3); padding: clamp(1.75rem, 6vw, 3rem);
  background: radial-gradient(120% 90% at 20% 0%, #2a211b 0%, #15110f 55%, #0E0C0B 100%);
  box-shadow: var(--shadow-lift); color: var(--film-ivory);
}
.music-card .label { color: var(--film-highlight); }
.music-name { margin-top: var(--s-3); font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: clamp(3rem, 11vw, 4.6rem); line-height: 1.02; color: var(--film-highlight); overflow-wrap: anywhere; padding-right: 0.05em; min-height: 1.02em; }
.stave { display: block; width: 100%; height: auto; margin: var(--s-4) 0 var(--s-5); overflow: visible; }
.stave line { stroke: var(--film-line-strong); stroke-width: 1; }
.stave .note { opacity: 0; transition: opacity var(--d-3) var(--ease); }
.stave .note.on { opacity: 1; }
.stave .head { fill: var(--foil-light); }
.stave .head.open { fill: none; stroke: var(--foil-light); stroke-width: 1.5; }
.stave .stem { stroke: var(--foil-light); stroke-width: 1.2; }
.stave .ledger { stroke: var(--film-line-strong); }
.stave .clef path { fill: none; stroke: var(--film-highlight); stroke-width: 1.5; stroke-linecap: round; }
.stave .clef circle { fill: var(--film-highlight); }
.stave line.bar { stroke: var(--film-highlight); stroke-opacity: 0.7; }
.stave line.bar.end { stroke-width: 3; }
.music-form { display: flex; gap: var(--s-2); }
.music-input { flex: 1; min-width: 0; }
.music-play { flex: none; min-width: 6.5rem; }
.music-status { margin-top: var(--s-3); font-family: var(--font-ui); font-size: var(--t-small); line-height: 1.5; color: var(--film-soft); min-height: 1.5em; }

.voice-card { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; min-height: 20rem; }
.voice-whisper { font-family: var(--font-display); font-style: italic; font-size: clamp(1.5rem, 4.6vw, 2rem); line-height: 1.3; max-width: 18rem; }
.voice-wave { display: block; width: 100%; max-width: 20rem; height: auto; margin: var(--s-6) 0 var(--s-4); overflow: visible; }
.voice-wave .vw-base { stroke: var(--foil-light); stroke-width: 1; opacity: 0.45; }
.voice-wave .vw-bars line { stroke: var(--film-highlight); stroke-width: 1.4; stroke-linecap: round; opacity: 0.8; }
.voice-meta { font-family: var(--font-ui); font-size: 0.8125rem; letter-spacing: 0.02em; color: var(--film-soft); }
.voice-note { text-wrap: balance; margin-top: var(--s-2); max-width: 17rem; font-family: var(--font-ui); font-size: 0.8125rem; line-height: 1.5; color: var(--film-soft); }

/* ============================================================ included + the price card */
.price { display: grid; gap: var(--s-7); align-items: center; }
@media (min-width: 900px) { .price { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(3rem, 7vw, 6rem); } }
.price-copy h2 { margin-top: var(--s-4); }
.included { list-style: none; margin: var(--s-6) 0 0; padding: 0; max-width: 34rem; }
.included li { position: relative; padding: 0.85rem 0 0.85rem 2rem; border-top: 1px solid var(--line); }
.included li:last-child { border-bottom: 1px solid var(--line); }
.included li::before { content: ''; position: absolute; left: 0.1rem; top: 1.3rem; width: 0.8rem; height: 0.42rem; border-left: 1px solid var(--gold); border-bottom: 1px solid var(--gold); transform: rotate(-45deg); }

/* letterpress: the words pressed into thick stock, one foil stamp (the price), a blind-debossed frame */
.price-card {
  position: relative; max-width: 27rem; width: 100%; margin: 0 auto; padding: 11px; border-radius: var(--r-3);
  background-color: var(--card); background-image: linear-gradient(var(--surface-wash), var(--surface-wash)), var(--tex-paper); background-size: auto, var(--tex-paper-size);
  box-shadow: var(--shadow-lift), 0 0 0 1px var(--line);
}
.price-inner {
  padding: clamp(2rem, 6vw, 2.9rem) clamp(1.4rem, 5vw, 2.4rem); text-align: center; border-radius: 2px;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 9%, transparent), inset 1px 1px 0 1px color-mix(in srgb, var(--ink) 5%, transparent),
    inset -1px -1px 0 1px color-mix(in srgb, var(--card) 80%, transparent);
}
.price-inner .label, .price-inner .per, .price-inner .price-note { text-shadow: 0 1px 0 color-mix(in srgb, var(--card) 80%, transparent); }
.price-card .amount { margin-top: var(--s-3); font-family: var(--font-display); font-weight: 400; font-size: clamp(4.6rem, 16vw, 6.6rem); line-height: 1; font-variant-numeric: lining-nums; letter-spacing: -0.01em; }
.price-card .per { text-wrap: balance; margin-top: var(--s-3); font-family: var(--font-ui); font-size: var(--t-small); color: var(--text-soft); }
.price-rule { display: block; width: 3rem; height: 1px; margin: var(--s-5) auto; background: var(--line-strong); }
.price-note { text-wrap: balance; font-size: 1.05rem; line-height: 1.55; color: var(--text-soft); }
.price-inner .btn { margin-top: var(--s-6); }

/* ============================================================ questions */
@media (min-width: 900px) {
  .faq-wrap { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(3rem, 7vw, 6rem); align-items: start; }
  .faq-wrap .section-head { position: sticky; top: var(--s-7); }
}
.faq-more { margin-top: var(--s-5); max-width: 22rem; font-family: var(--font-ui); font-size: var(--t-small); line-height: 1.6; color: var(--text-soft); }
.faq { margin-top: var(--s-6); max-width: 40rem; }
@media (min-width: 900px) { .faq { margin-top: 0; } }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  position: relative; cursor: pointer; list-style: none; min-height: 44px; padding: 1.15rem 2.75rem 1.15rem 0;
  font-family: var(--font-display); font-weight: 500; font-size: 1.35rem; line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ''; position: absolute; right: 0.4rem; top: 50%; width: 0.9rem; height: 1px; background: var(--text-soft); transition: transform var(--d-2) var(--ease); }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq summary:hover::before, .faq summary:hover::after { background: var(--text); }
.faq details p { padding: 0 2.75rem 1.35rem 0; color: var(--text-soft); }

/* ============================================================ closing (cinema) */
.closing { position: relative; margin-top: clamp(5rem, 12vw, 9rem); overflow: hidden; text-align: center; }
.closing::before { content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(52% 62% at 50% 46%, rgba(243, 227, 195, 0.11) 0%, rgba(243, 227, 195, 0.04) 45%, rgba(14, 12, 11, 0) 75%); }
.closing-inner { position: relative; z-index: 1; padding-top: clamp(5rem, 13vw, 9rem); padding-bottom: clamp(5rem, 13vw, 9rem); }
.closing h2 { max-width: 14ch; margin: 0 auto; font-size: clamp(2.7rem, 7.4vw, 4.8rem); color: var(--film-ivory); }
.closing .btn-row { justify-content: center; margin-top: var(--s-6); gap: var(--s-4) var(--s-5); }
.closing .play-link .ring { box-shadow: inset 0 0 0 1px var(--film-line-strong); }
.closing-price { margin-top: var(--s-5); font-family: var(--font-ui); font-size: var(--t-small); color: var(--film-soft); }

/* ============================================================ footer */
.landing-foot { margin-top: 0; }
.landing-foot .wrap { gap: var(--s-3) var(--s-5); align-items: center; }
.landing-foot .foot-mark { font-size: 1.35rem; color: var(--text); margin-right: auto; }
.landing-foot a:not(.foot-mark) { display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 559px) { .landing-foot .foot-mark { flex-basis: 100%; } }

/* A slot with a chosen picture holds on film-black (no bundled picture first) until the painted one fades up from
   black; the bundled one shows only if the painted one fails (landing.js awaitArt). */
.await-art .occ-media img:not(.art-layer), .await-art .ps-bd img:not(.art-layer), .await-art .tc-img:not(.art-layer) { opacity: 0; transition: none; }

/* ============================================================ motion */
@media (prefers-reduced-motion: reduce) {
  .hero-img { animation: none; transform: scale(1.04); }
  .ps-bd img, .ps-photo img, .occ-media img, .ff-card .tc-img { transition: none; }
  #hero-img { animation: none; }
  .p-wave i, .ps-music i { animation: none !important; transform: scaleY(0.5); }
  .ps-progress i.now::after { animation: none; transform: scaleX(0.5); }
}

/* ============================================================ performance
   Sections below the first screens are laid out (and their textures fetched) only as they come near. */
.occasions, .special, .pricing, .questions, .closing { content-visibility: auto; contain-intrinsic-size: auto 1100px; }
.hero-mast #your-pages { max-width: 62%; text-align: right; overflow-wrap: anywhere; }
/* phones held sideways: a shorter title so the buttons stay near */
@media (max-height: 520px) and (orientation: landscape) { .hero-copy h1 { font-size: 2.7rem; } .hero-copy { padding-top: var(--s-4); } }
.phone-caption #phone-cap { display: block; }
.ps-bd::after { content: ''; position: absolute; inset: 0 0 auto; height: 22%; background: linear-gradient(rgba(14, 12, 11, 0.55), rgba(14, 12, 11, 0)); }
