/* =========================================================
   Ruby Sara Haas — shared styles
   Design system from the "Stay in the Collection" prompt:
   Instrument Serif + Manrope, white + black, blur-up reveals.
   Link this file from every page to keep the site consistent.
   ========================================================= */

:root {
  --bg: #F6F4F0;          /* Bone */
  --mist: #F0EFEC;        /* alternate sections + cards on Bone */
  --paper: #FAF9F6;       /* off-white, the lightest step */
  --ink: #262320;                   /* warm charcoal: headlines, text, buttons, dark blocks */
  --body: rgba(38, 35, 32, .78);
  --muted: rgba(38, 35, 32, .40);
  --rule: rgba(38, 35, 32, .40);
  --tint: rgba(38, 35, 32, .06);
  --on-dark: #F6F4F0;                /* Bone, for text + buttons on charcoal */
  --on-dark-body: rgba(246, 244, 240, .78);
  --on-dark-muted: rgba(246, 244, 240, .55);
  --on-dark-rule: rgba(246, 244, 240, .22);
  --stone: #7A736B;                  /* warm stone grey from the ink family: small labels above headlines */

  --serif: "Instrument Serif", serif;
  --sans: "Manrope", sans-serif;

  --gutter: clamp(32px, 5vw, 64px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 15px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
p { text-wrap: pretty; }   /* no single word left alone on the last line */
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; padding: 12px 18px; border-radius: 999px; background: var(--ink); color: var(--on-dark); font-size: 14px; text-decoration: none; }
.skip:focus { top: 12px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Blur-up reveal (from the prompt, sped up: 0.6s, y 24, blur 12px, starts at 15% visible) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  filter: blur(12px);
  transition: opacity .6s ease-out, transform .6s ease-out, filter .6s ease-out;
  transition-delay: var(--delay, 0s);
}
.reveal.is-in { opacity: 1; transform: none; filter: blur(0); }

/* ---------- Type ---------- */
.eyebrow {
  margin-bottom: 14px;
  font: 400 14px/1.3 var(--sans);   /* same as the hero paragraph: Manrope Regular */
  color: var(--stone);
  text-align: center;
}
.center { text-align: center; }

/* Two-line headline: Instrument Serif (one italic word) over Manrope Regular */
.split { font-weight: 400; color: var(--ink); }
.split .l1 { display: block; font-family: var(--serif); line-height: .95; }
.split .l1 em { font-style: italic; }
.split .l2 {
  display: block;
  font-family: var(--sans);
  font-weight: 400;
  line-height: .95;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
/* every headline sits in the middle (the desktop hero stays left, beside the video) */
.split { text-align: center; }
.split .l2 { margin-left: auto; margin-right: auto; }
.h2.split { font-size: clamp(56px, 15vw, 112px); }
.h2.split .l2 { font-size: clamp(26px, 6.4vw, 44px); margin-top: .2em; }
.split.center .l2 { max-width: 16em; margin-left: auto; margin-right: auto; }

.lede { font-size: 15px; line-height: 1.55; color: var(--body); }

/* ---------- Buttons + links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 56px;
  padding: 0 32px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--on-dark);
  font: 500 11px/1 var(--sans);
  letter-spacing: .25em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .35s var(--ease), background .35s ease;
}
.btn:hover { transform: translateY(-2px); background: #3a3632; }
.btn:active { transform: scale(.98); transition-duration: .1s; }
.btn--light { background: var(--on-dark); color: var(--ink); }
.btn--light:hover { background: #FAF9F6; }
.btn--sm { min-height: 40px; padding: 0 20px; }
.btn--block { width: 100%; }
@media (max-width: 899px) { .btn--block-mobile { width: 100%; } }

.link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--rule);
  font: 500 11px/1 var(--sans);
  letter-spacing: .25em;
  text-transform: uppercase;
  text-decoration: none;
  transition: border-color .3s ease;
}
.link:hover { border-bottom-color: var(--ink); }
.arr { display: inline-block; letter-spacing: 0; transition: transform .35s var(--ease); }
.btn:hover .arr, .link:hover .arr { transform: translateX(4px); }
.btn:focus-visible, .link:focus-visible, .faq summary:focus-visible { outline: 1.5px solid var(--ink); outline-offset: 4px; }

.meta { font-size: 13px; color: var(--muted); }
.meta span + span::before { content: "·"; margin: 0 8px; }

/* ---------- Layout ---------- */
.section { padding: clamp(80px, 10vw, 140px) var(--gutter); background: var(--bg); }
.wrap { max-width: 1120px; margin: 0 auto; }
.bg-bone { background: var(--bg); }
.bg-mist { background: var(--mist); }
.bg-paper { background: var(--paper); }
.narrow { max-width: 640px; margin: 0 auto; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px var(--gutter);
  background: rgba(246, 244, 240, .88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease;
}
.site-header.is-scrolled { border-bottom-color: rgba(38, 35, 32, .12); }
.logo { font: italic 400 26px/1 var(--serif); text-decoration: none; }

/* ---------- Hero (prompt structure: video pinned bottom, content container above) ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; background: var(--bg); overflow: hidden; }
.hero__video,
.hero__fallback {
  position: absolute; left: 0; right: 0; bottom: 0;
  width: 100%;
  pointer-events: none;
}
/* multiply blends the video's near-white backdrop into the page colour, so no visible edge */
.hero__video { object-fit: cover; object-position: bottom; mix-blend-mode: multiply; }
.hero__fallback svg { display: block; width: 100%; height: auto; }
.hero__content {
  position: relative;
  max-width: 1480px;
  min-height: 100vh; min-height: 100svh;
  margin: 0 auto;
  padding: 80px 32px 80px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.hero__title .l1 { font-size: clamp(60px, 11vw, 160px); }
.hero__title .l2 { font-size: clamp(40px, 11vw, 64px); margin-top: .08em; }
.hero__body { max-width: 28rem; }       /* max-w-md */
.hero .lede { margin-bottom: 24px; }
.hero .btn { margin-bottom: 14px; }

@media (min-width: 768px) {
  .hero__content { padding: 96px 64px 96px; }
}
/* Phones: show the video larger and centred on the product, below the text */
@media (max-width: 767px) {
  .hero__video, .hero__fallback { width: 190%; left: -83%; right: auto; }
  .hero__content { min-height: 0; padding-bottom: calc(107vw + 24px); }
  .hero__title .l1 { font-size: calc((100vw - 64px) / 5.45); white-space: nowrap; }   /* "Prayers written" always fits one line */
  .hero__fallback { width: 100%; left: 0; }
}

/* ---------- Hero: Ruby's video with rising flowers on either side ----------
   Each side window shows a crop of the purchased scene (left: pale rose + bud stem,
   right: deep rose + butterfly). Crops are in % of the 3828×2164 footage. */
.hv { min-height: 0; }
.hv__inner {
  position: relative;
  max-width: 1480px;
  margin: 0 auto;
  padding: 56px 32px 56px;
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.hv__copy { position: relative; z-index: 3; }   /* text always above the flowers */
.hero__meta { margin: -2px 0 0; font: 500 11px/1.4 var(--sans); letter-spacing: .25em; text-transform: uppercase; color: var(--body); }
@media (max-width: 899px) {
  .hero__meta { text-align: center; }   /* centred under the full-width button */
  .hv .lede { text-align: center; margin-left: auto; margin-right: auto; }
}
@media (min-width: 900px) { .hv .hero__title { text-align: left; } }
.hv .lede { margin: 28px 0 48px; font-size: 14px; line-height: 1.6; max-width: 26rem; }   /* room for the butterfly to perch on the button */
.hv__stage { position: relative; margin: 0 -32px; padding: 0 0 8px; overflow: hidden; }
.hv__frame { position: relative; width: min(68vw, 380px); margin: 0 auto; }
.hv__card {
  position: relative; z-index: 1;
  aspect-ratio: 4 / 5;
  border-radius: 16px;
  overflow: hidden;
  background: var(--mist);
  box-shadow: 0 30px 60px -36px rgba(38, 35, 32, .5);
}
.hv__card video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hv__tag {
  position: absolute; left: 10px; bottom: 10px;
  padding: 6px 10px; border-radius: 999px;
  background: rgba(38, 35, 32, .72); color: var(--on-dark);
  font-size: 11px;
}
.hv__side {
  position: absolute; bottom: 0; height: 104%;
  overflow: hidden;
  background: var(--bg);                          /* lets multiply melt the footage's white into Bone */
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 14%, #000 70%, transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0, #000 14%, #000 70%, transparent 100%);
}
.hv__side video { position: absolute; max-width: none; mix-blend-mode: multiply; }
/* left crop: x 50–64.3%, y 30–78% of the footage */
.hv__side--l { right: 100%; aspect-ratio: .527; }
.hv__side--l video { width: 699.3%; height: 208.33%; left: -349.65%; top: -62.5%; }
/* right crop: x 75.2–93%, y 44–66% — the deep rose and grass only (the footage's butterfly is cropped out;
   a separate butterfly lands on the button instead). Same scale as the left window, so it's shorter. */
.hv__side--r { left: 100%; height: 49.6%; aspect-ratio: 1.43; }
.hv__side--r video { width: 561.8%; height: 454.5%; left: -422.47%; top: -200%; }

@media (min-width: 900px) {
  .hv { min-height: calc(100vh - 69px); min-height: calc(100svh - 69px); }
  .hv__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 64px;
    min-height: calc(100vh - 69px); min-height: calc(100svh - 69px);
    padding: 64px 64px 72px;
  }
  .hv .hero__title .l1 { font-size: clamp(72px, 8.4vw, 150px); }
  .hv .hero__title .l2 { font-size: clamp(40px, 3.9vw, 70px); }
  .hv__stage { margin: 0; overflow: visible; }
  .hv__frame { width: min(26vw, 410px); margin: 0 clamp(60px, 9vw, 170px) 0 auto; }   /* sits right, so the left flowers stay clear of the headline */
}

/* ---------- Stats ---------- */
.stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  padding: 36px var(--gutter);
  background: var(--mist);
  text-align: center;
}
.stat + .stat { border-left: 1px solid var(--rule); }
.stat__num { font: italic 400 clamp(36px, 9vw, 64px)/1 var(--serif); }
.stat__label { margin-top: 8px; padding: 0 6px; font-size: 12px; line-height: 1.35; color: var(--body); }

/* ---------- Inside the prayerbook ---------- */
/* Book: cover image dressed as a real hardback (spine crease, page block, soft shadow); hops up on hover */
.book {
  width: min(230px, 58vw);
  margin: 48px auto 8px;
  perspective: 1200px;
}
.book__body {
  position: relative;
  transform: rotate(-2deg);
  transition: transform .55s cubic-bezier(.34, 1.56, .64, 1), filter .55s ease;
  filter: drop-shadow(0 26px 22px rgba(38, 35, 32, .28)) drop-shadow(0 6px 6px rgba(38, 35, 32, .14));
}
.book:hover .book__body { transform: rotate(0) translateY(-12px); filter: drop-shadow(0 38px 28px rgba(38, 35, 32, .3)) drop-shadow(0 8px 8px rgba(38, 35, 32, .14)); }
.book__body img {
  position: relative; z-index: 1;
  display: block; width: 100%; height: auto;
  border-radius: 3px 10px 10px 3px;
}
/* spine crease and a soft highlight along the hinge */
.book__body::before {
  content: ""; position: absolute; z-index: 2; inset: 0;
  border-radius: 3px 10px 10px 3px;
  background:
    linear-gradient(to right, rgba(0,0,0,.38) 0, rgba(0,0,0,.12) 3%, rgba(255,255,255,.14) 5%, rgba(255,255,255,0) 9%, rgba(0,0,0,.08) 10.5%, rgba(0,0,0,0) 13%),
    linear-gradient(160deg, rgba(255,255,255,.10), rgba(255,255,255,0) 40%);
  pointer-events: none;
}
/* page block peeking out on the right and bottom */
.book__body::after {
  content: ""; position: absolute; z-index: 0;
  top: 6px; right: -7px; bottom: -5px; left: 10px;
  border-radius: 2px 9px 9px 2px;
  background:
    repeating-linear-gradient(to right, #f4efe6 0 1.5px, #e4ddd0 1.5px 2.5px) right / 8px 100% no-repeat,
    repeating-linear-gradient(to bottom, #f4efe6 0 1.5px, #e4ddd0 1.5px 2.5px) bottom / 100% 6px no-repeat,
    #efe9df;
}
@media (prefers-reduced-motion: reduce) { .book__body { transition: none; } }

/* ---------- Tablet mockup (iPad mini proportions) with sliding pages ---------- */
.tablet { width: min(250px, 64vw); margin: 48px auto 8px; }
.tablet__body {
  position: relative;
  padding: 9px;
  border-radius: 26px;
  background: linear-gradient(145deg, #3a3633, #1f1d1b 55%, #2c2926);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 30px 40px -22px rgba(38, 35, 32, .45), 0 8px 14px rgba(38, 35, 32, .14);
  transform: rotate(-2deg);
  transition: transform .55s cubic-bezier(.34, 1.56, .64, 1), box-shadow .55s ease;
}
.tablet:hover .tablet__body { transform: rotate(0) translateY(-12px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 42px 50px -24px rgba(38, 35, 32, .45), 0 10px 16px rgba(38, 35, 32, .14); }
.tablet__screen {
  position: relative;
  aspect-ratio: 2 / 3;
  border-radius: 17px;
  overflow: hidden;
  background: #fbfaf6;
  touch-action: pan-y;
  cursor: grab;
}
.tablet__screen::after {            /* soft glass sheen */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(125deg, rgba(255,255,255,.16), rgba(255,255,255,0) 38%);
}
.tablet__track { display: flex; height: 100%; transition: transform .7s cubic-bezier(.65, 0, .35, 1); }
.tablet__track.is-dragging { transition: none; }
.tablet__slide { flex: 0 0 100%; margin: 0; height: 100%; }
.tablet__slide img { display: block; width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-drag: none; }
.tablet__slide { position: relative; }
.tablet__preview-tag {
  position: absolute; left: 50%; top: 58%; transform: translate(-50%, -50%);
  padding: 9px 18px; border-radius: 999px;
  background: var(--ink); color: var(--on-dark);
  font: 600 10px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase;
  box-shadow: 0 10px 20px -10px rgba(38, 35, 32, .5);
}
/* third slide: a page in the prayerbook's own style */
.tablet__note {
  position: absolute; inset: 6%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  padding: 0 10%;
  border: 1px dotted rgba(38, 35, 32, .55);
  background: #fdfcf8;
  text-align: center;
}
.tablet__slide--note { background: #ece6dc; }
.tablet__note-label { margin: 0; font: 500 8px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--body); }
.tablet__note-label::before, .tablet__note-label::after { content: "·"; margin: 0 .6em; }
.tablet__note-text { margin: 0; font: 400 clamp(19px, 5.4vw, 23px)/1.2 var(--serif); color: var(--ink); text-wrap: balance; }
.tablet__note-text em { font-style: italic; }
.tablet__note-mark { --bf: 34px; display: block; width: var(--bf); height: var(--bf); margin: 0 auto; background: url("../butterfly/butterfly-sprite.png") calc(var(--bf) * -2) calc(var(--bf) * -4) / calc(var(--bf) * 6) calc(var(--bf) * 5) no-repeat; }
.tablet__dots { display: flex; justify-content: center; gap: 8px; margin-top: 22px; }
.tablet__dots button {
  width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%;
  background: var(--rule); cursor: pointer;
  transition: background .3s ease, transform .3s ease;
}
.tablet__dots button[aria-selected="true"] { background: var(--ink); transform: scale(1.25); }
.tablet__dots button:focus-visible { outline: 1.5px solid var(--ink); outline-offset: 3px; }
@media (min-width: 900px) { .tablet { width: 280px; } }
@media (prefers-reduced-motion: reduce) { .tablet__body, .tablet__track { transition: none; } }

/* Real butterfly (cut from the scene footage) that lands on the top edge of the book */
.bf-sprite {
  --bf: 68px;
  position: absolute; left: 0; top: 0; z-index: 6;
  width: var(--bf); height: var(--bf);
  background: url("../butterfly/butterfly-sprite.png") 0 0 / calc(var(--bf) * 6) calc(var(--bf) * 5) no-repeat;
  pointer-events: none;
  opacity: 0;
  will-change: transform, background-position;
}
@media (min-width: 900px) { .bf-sprite { --bf: 80px; } }

.features { list-style: none; margin: 48px 0; padding: 0; border-top: 1px solid var(--rule); }
.feature { display: grid; grid-template-columns: 44px 1fr; gap: 0 12px; padding: 26px 0; border-bottom: 1px solid var(--rule); }
.feature__n { font: italic 400 22px/1.2 var(--serif); color: var(--muted); }
.feature h3 { font: 400 clamp(23px, 6vw, 28px)/1.1 var(--sans); letter-spacing: -0.02em; margin-bottom: 8px; text-wrap: balance; }
.feature p { color: var(--body); }

/* ---------- Steps: soft cards with a clear title (matches the Inside cards) ---------- */
.steps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 14px; }
.step {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  grid-template-areas: "n title" "text text";
  gap: 0 14px;
  align-items: center;
  padding: 24px 22px;
  border-radius: 20px;
  background: var(--mist);
}
.step > div { display: contents; }      /* lets the title sit beside the number and the text run full width */
.step__n {
  grid-area: n;
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--ink); color: var(--on-dark);
  font: italic 400 22px/1 var(--serif);
}
.step__title { grid-area: title; margin: 0; font: 500 21px/1.25 var(--sans); letter-spacing: -0.01em; color: var(--ink); }
.step__title.pill { justify-self: start; margin: 0; padding: 11px 16px; letter-spacing: .2em; white-space: nowrap; }   /* same highlighted label as the Inside cards */
.step p { grid-area: text; margin-top: 14px !important; }
/* Step 2: photo of Ruby writing (a butterfly lands on its top edge) */
.step__photo { grid-column: 1 / -1; position: relative; margin-top: 20px; }
.step__photo-frame { border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--paper); }
.step__photo-frame img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 14%; }
.step__photo-frame--empty { display: grid; place-items: center; border: 1px dashed var(--rule); background: transparent; }
.step__photo-frame--empty span { font-size: 12px; color: var(--muted); }
.step p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--body); }

/* ---------- About ---------- */
.about__photo { position: relative; margin: 0; border-radius: 6px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--tint); }
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.chip {
  position: absolute; left: 12px; bottom: 12px;
  padding: 9px 14px; border-radius: 999px;
  background: rgba(250,249,246,.92); backdrop-filter: blur(6px);
  font-size: 13px; color: var(--ink);
}
.about__copy { margin-top: 36px; }
.about__copy .h2 { margin-bottom: 22px; }
.about__links { display: flex; flex-wrap: wrap; gap: 22px 36px; margin-top: 30px; }
@media (min-width: 900px) {
  .about { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: center; }
  .about__copy { margin-top: 0; }
}

/* ---------- Testimonials ---------- */
.quotes { display: grid; gap: 16px; margin-top: 40px; }
@media (min-width: 900px) { .quotes { grid-template-columns: repeat(3, 1fr); } }
.quote { margin: 0; padding: 28px 24px 24px; border-radius: 6px; background: var(--mist); }
.stars { letter-spacing: .25em; font-size: 14px; margin-bottom: 14px; }
.quote blockquote { margin: 0 0 22px; font: italic 400 clamp(23px, 6vw, 26px)/1.28 var(--serif); }
.who { display: flex; align-items: center; gap: 12px; }
.who__avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--tint); flex: none; }
.who__name { font-size: 14px; line-height: 1.2; }
.who__ctx { font-size: 12px; color: var(--muted); }

/* ---------- Offer ---------- */
.offer { margin-top: 32px; padding: 32px 26px 24px; border-radius: 8px; background: var(--ink); color: var(--on-dark); }
.offer__price { font: italic 400 clamp(56px, 16vw, 76px)/1 var(--serif); margin-bottom: 22px; }
.offer__addon { margin: -8px 0 22px; font-size: 14px; color: var(--on-dark-body); }
.checks { list-style: none; margin: 0 0 30px; padding: 0; }
.checks li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; padding: 9px 0; font-size: 15px; line-height: 1.45; color: var(--on-dark-body); }
.checks li + li { border-top: 1px solid var(--on-dark-rule); }
.checks svg { width: 16px; height: 16px; margin-top: 3px; color: var(--on-dark); }
.offer .btn { padding: 0 18px; letter-spacing: .2em; }
.offer .meta { color: var(--on-dark-muted); text-align: center; margin-top: 14px; }

/* ---------- FAQ ---------- */
.faq { margin-top: 32px; border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 24px 0;
  font: 400 clamp(21px, 5.6vw, 25px)/1.15 var(--sans); letter-spacing: -0.02em;
  list-style: none; cursor: pointer; text-wrap: balance;
}
.faq summary::-webkit-details-marker { display: none; }
.plus { position: relative; width: 28px; height: 28px; flex: none; border: 1px solid var(--ink); border-radius: 50%; transition: transform .4s var(--ease); }
.plus::before, .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1px; background: var(--ink); transform: translate(-50%, -50%); }
.plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] .plus { transform: rotate(45deg); }
.faq details p { padding: 0 48px 24px 0; margin-top: -8px; color: var(--body); }

/* ---------- Final CTA + footer ---------- */
.final {
  position: relative; overflow: hidden;
  background: var(--ink); color: var(--on-dark);
  text-align: center;
  padding: clamp(80px, 11vw, 150px) var(--gutter) 40px;
}
.final .eyebrow { color: var(--on-dark-muted); }
.final .split { color: var(--on-dark); margin-bottom: 24px; }
.final .split .l1 { font-size: clamp(64px, 17vw, 140px); }
.final .lede { color: var(--on-dark-body); margin-bottom: 32px; }
.final .meta { color: var(--on-dark-muted); margin-top: 14px; }

.footer { margin-top: clamp(140px, 22vw, 260px); padding-top: 36px; border-top: 1px solid var(--on-dark-rule); }
.footer .logo { display: inline-block; font-size: 28px; margin-bottom: 26px; }
.footer nav { display: flex; justify-content: center; gap: 24px; margin-bottom: 20px; }
.footer nav a { font: 500 11px/1 var(--sans); letter-spacing: .25em; text-transform: uppercase; text-decoration: none; }
.footer nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.footer small { font-size: 12px; color: var(--on-dark-muted); }

/* ---------- Small uppercase label (cards, steps) ---------- */
.label {
  margin: 0 0 8px;
  font: 600 11px/1.3 var(--sans);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink);
}

/* Three-tier headline: quiet sans lead-in, big serif line, small sans line */
/* lead-in uses the original label style (small, spaced capitals); the serif line is sized to stay on one line */
.split .lead {
  display: block;
  margin-bottom: 14px;
  font: 400 14px/1.3 var(--sans);   /* same as the hero paragraph: Manrope Regular */
  color: var(--stone);
}
/* longer serif headline that wraps over a few lines */
.h2--long.split .l1 { font-size: clamp(42px, 10.5vw, 76px); line-height: 1; text-wrap: balance; }
.split.tiered .l1 { font-size: min(calc((100vw - 64px) / 5.7), 108px); white-space: nowrap; }
.split.tiered .l2 { font-size: clamp(20px, 5.4vw, 30px); margin-top: .5em; }

/* ---------- Inside: five cards, centred, with a highlighted label ---------- */
.cards { list-style: none; margin: 48px 0; padding: 0; display: grid; gap: 14px; }
.card {
  padding: 34px 24px 32px;
  border-radius: 20px;
  background: var(--mist);
  text-align: center;
}
.card p:last-child { margin: 0 auto; max-width: 30rem; font-size: 16px; line-height: 1.6; color: var(--body); }
.pill {
  white-space: nowrap;
  display: inline-block;
  margin: 0 0 18px;
  padding: 11px 24px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--on-dark);
  font: 600 11px/1 var(--sans);
  letter-spacing: .24em;
  text-transform: uppercase;
}
@media (min-width: 900px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .card:last-child { grid-column: 1 / -1; }
}

/* ---------- Video: paused until clicked ---------- */
.vplayer {
  position: relative;
  width: 100%;
  max-width: 440px;
  margin: 36px auto 0;
  aspect-ratio: 4 / 5;
  border-radius: 16px;
  overflow: hidden;
  background: var(--ink);
  box-shadow: 0 30px 60px -36px rgba(38, 35, 32, .5);
}
.vplayer video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.vplayer__play {
  position: absolute; left: 50%; top: 50%;
  width: 76px; height: 76px; margin: -38px 0 0 -38px;
  display: grid; place-items: center;
  border: 0; border-radius: 50%;
  background: rgba(250, 249, 246, .92); backdrop-filter: blur(6px);
  color: var(--ink);
  cursor: pointer;
  transition: transform .3s var(--ease), background .3s ease;
}
.vplayer__play svg { width: 26px; height: 26px; margin-left: 4px; }
.vplayer__play:hover { transform: scale(1.06); background: #fff; }
.vplayer__play:focus-visible { outline: 1.5px solid var(--on-dark); outline-offset: 4px; }
.vplayer.is-playing .vplayer__play, [data-player].is-playing .vplayer__play, [data-player].is-playing .hv__tag { opacity: 0; pointer-events: none; }
.vplayer__tag {
  position: absolute; left: 12px; bottom: 12px;
  padding: 7px 12px; border-radius: 999px;
  background: rgba(38, 35, 32, .72); color: var(--on-dark);
  font-size: 11px;
}

/* ---------- About: letter ---------- */
.letter p { margin: 0 0 16px; font-size: 15px; line-height: 1.7; color: var(--body); max-width: 34rem; }
.letter .signature { margin: 22px 0 0; font: italic 400 44px/1 var(--serif); color: var(--ink); }

/* ---------- Testimonials: screenshot placeholders ---------- */
.shots {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 72%;
  gap: 14px;
  margin: 40px calc(var(--gutter) * -1) 0;
  padding: 0 var(--gutter) 6px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.shots::-webkit-scrollbar { display: none; }
.shot { margin: 0; scroll-snap-align: center; border-radius: 12px; overflow: hidden; background: var(--mist); aspect-ratio: 9 / 16; }
.shot img { display: block; width: 100%; height: 100%; object-fit: cover; }
.shot--empty { display: grid; place-items: center; border: 1px dashed var(--rule); background: transparent; }
.shot--empty span { font-size: 12px; letter-spacing: .04em; color: var(--muted); }
@media (min-width: 900px) {
  .shots { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); grid-auto-columns: auto; margin: 40px 0 0; padding: 0; overflow: visible; }
}

/* Offer: price now sits under the list */
.offer .checks { margin-bottom: 22px; }
.offer .offer__price { margin-bottom: 20px; }

/* very small phones: tighten the pill labels so they always stay on one line */
@media (max-width: 360px) {
  .pill, .step__title.pill { letter-spacing: .14em; padding-left: 14px; padding-right: 14px; }
}
.h2--long.split .l2, .final .split .l2, #offer-title .l2 { font-size: clamp(18px, 4.8vw, 26px); margin-top: .6em; color: var(--body); }
.final .split .l2 { color: var(--on-dark-body); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; filter: none; transition: none; }
}
