/* ============================================================
   THE SPEAKING SHEPHERD — the box, unfolded.
   Source of truth: packaging/panels/D3 (Warmed Burgundy) and
   packaging/make_panel_images.py. Palette is locked by the box.
   Shared by index.html, reserve.html, details.html.

   Grammar (what makes it the box and not a landing page):
     - poster titles, no eyebrow smallcaps
     - dialogue in BOLD upright Baskerville, thick bubble strokes,
       fin up = you, fin down = Him, verse->reply conjoined
     - the scalloped band separates AND carries content
     - photos run big and unframed; bubbles may overlap them
     - buttons are burgundy tickets with a gold hairline
   ============================================================ */
/* Served from this origin so that loading a page contacts no third party.
   One variable file per style; the italic range stops at 700 so italics
   inside 800-weight text stay bold rather than extra-bold. */
@font-face {
  font-family: "Nunito Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/static/fonts/nunito-sans-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Nunito Sans";
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url("/static/fonts/nunito-sans-latin-italic.woff2") format("woff2");
}

:root {
  --paper: #ffffff; /* page: white (Oct 29 — cream retired as a background; it survives as text on burgundy) */
  --card: #f6f3ed; /* photo fields, cards, thumbs: light warm gray so they read against white */
  --bubble: #ffffff; /* box BUBBLE_BG, on white */
  --ink: #2e2a24; /* box INK */
  --ink-soft: #6e6659; /* box GRAY — fine print ONLY */
  --line: #e0d5be; /* hairline rules */
  --accent: #66302c; /* box OXBLOOD — the brand */
  --accent-deep: #552724;
  --error: #d00; /* plain red, not the brand burgundy, so errors stand out; 5:1 on white */
  --gold: #a8853f; /* gold on cream */
  --gold-l: #d9a94a; /* butter gold on burgundy */
  --cream-txt: #f6f0e4; /* text on burgundy */

  /* Oct 30: one warm, big-x-height sans for everything — sized for older readers */
  --display: "Nunito Sans", "Avenir Next", "Segoe UI", sans-serif;
  --text: "Nunito Sans", "Avenir Next", "Segoe UI", sans-serif;
  --sans: "Nunito Sans", "Avenir Next", "Segoe UI", sans-serif;

  --scallop-r: 16px; /* box scallop (r ~ trim/72), web scale */
  --bub-stroke: 3.5px; /* box 2.8pt at web scale */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--text);
  font-size: 21px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ---------- layout ---------- */
.shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 36px;
}
.medium {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 36px;
}
.narrow {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 36px;
}
section {
  padding: 56px 0;
}
.center {
  text-align: center;
}

.catalog {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.catalog > *,
.exchange > * {
  min-width: 0;
} /* grid items may shrink; scrollers inside scroll instead of widening the page */
.catalog.wide-art {
  grid-template-columns: 1.15fr 1fr;
}
@media (max-width: 880px) {
  .catalog,
  .catalog.wide-art {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .catalog .art {
    order: -1;
  }
  section {
    padding: 44px 0;
  }
  .shell,
  .medium,
  .narrow {
    padding: 0 22px;
  }
}

/* ---------- type ---------- */
h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
p {
  margin-bottom: 1em;
}
a {
  color: var(--accent);
  text-decoration-color: rgba(102, 48, 44, 0.4);
  text-underline-offset: 3px;
}
em {
  font-style: italic;
}

/* poster title — the back panel's "Three steps. No manual." proportion */
.title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.3rem, 4.8vw, 3.8rem);
  line-height: 1.08;
  margin-bottom: 0.45em;
}
.headline {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  line-height: 1.15;
  margin-bottom: 0.5em;
}
.lead {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.25rem, 1.9vw, 1.5rem);
  line-height: 1.5;
}
.fine {
  font-size: 1.05rem;
  color: var(--ink-soft);
  line-height: 1.5;
}
.fine.i {
  font-style: italic;
}

/* tracked sans caps: band callouts + the box's list headers ("IN THE BOX") — never eyebrows */
.caps {
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.listhead {
  display: block;
  font-family: var(--sans);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.boxlist {
  list-style: none;
  font-family: var(--display);
  font-size: 1.4rem;
  line-height: 1.5;
  margin-bottom: 26px;
}

/* gold rule, straight from the wordmark */
.goldrule {
  width: 240px;
  height: 2px;
  background: var(--gold);
  opacity: 0.9;
  border: none;
  margin: 18px auto;
}
.goldrule.left {
  margin-left: 0;
}

/* ---------- wordmark ---------- */
.wordmark {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  line-height: 1.1;
  font-size: clamp(1.7rem, 4.6vw, 3.2rem);
}

/* ---------- tickets (buttons) ---------- */
.ticket {
  /* a <button> ticket (the cart form) must match the <a> tickets: drop the UA button font and look */
  font: inherit;
  appearance: none;
  display: inline-block;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.3rem;
  padding: 18px 40px;
  border-radius: 3px;
  border: none;
  cursor: pointer;
  text-align: center;
  background: var(--accent);
  color: var(--cream-txt);
  text-decoration: none;
  line-height: 1.2;
  box-shadow:
    inset 0 0 0 3px var(--accent),
    inset 0 0 0 4.5px var(--gold-l);
}
.ticket:hover {
  background: var(--accent-deep);
  box-shadow:
    inset 0 0 0 3px var(--accent-deep),
    inset 0 0 0 4.5px var(--gold-l);
}
.ticket.big {
  font-size: 1.55rem;
  padding: 22px 54px;
}
.ticket.block {
  display: block;
  width: 100%;
}
.ticket.cream {
  background: var(--cream-txt);
  color: var(--accent);
  box-shadow:
    inset 0 0 0 3px var(--cream-txt),
    inset 0 0 0 4.5px var(--gold);
}
.ticket.cream:hover {
  background: #fffef8;
}
.trust {
  font-size: 1.12rem;
  font-style: italic;
  margin-top: 14px;
}

/* ---------- quantity stepper (/reserve/ and /checkout/) ---------- */
.qty {
  display: flex;
  align-items: stretch;
  border: 2px solid var(--accent);
  border-radius: 3px;
  background: var(--card);
  flex: 0 0 auto;
}
.qty button {
  width: 40px;
  border: none;
  background: none;
  cursor: pointer;
  color: var(--accent);
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.6rem;
  line-height: 1;
}
.qty button:hover {
  background: rgba(102, 48, 44, 0.07);
}
.qty output {
  width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.35rem;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}
.ctarow {
  text-align: center;
  padding: 34px 0 44px;
}

/* ---------- speech bubbles (box bubble(); fin up = you, fin down = Him) ---------- */
.bub {
  position: relative;
  display: inline-block;
  background: var(--bubble);
  border: var(--bub-stroke) solid var(--accent);
  border-radius: 22px;
  padding: 15px 26px 16px;
  max-width: 24em;
  font-family: var(--display);
  font-weight: 700;
  font-style: normal;
  font-size: 1.3rem;
  line-height: 1.3;
  color: var(--ink);
  text-align: center;
  rotate: -1.4deg;
}
.bub.l {
  text-align: left;
}
.bub cite {
  display: block;
  font-weight: 400;
  font-style: italic;
  font-size: 0.78em;
  margin-top: 0.4em;
}
.bub .tail {
  position: absolute;
  width: 36px;
  height: 46px;
  pointer-events: none;
}
.bub.up .tail {
  top: -39px;
  left: 16%;
} /* box "ul" */
.bub.down .tail {
  bottom: -39px;
  right: 30px;
  transform: rotate(180deg);
} /* box "dr" */
.bub.downl .tail {
  bottom: -39px;
  left: 16%;
  transform: scaleY(-1);
} /* box "dl" */
.bub.gold {
  border-color: var(--gold-l);
}
.bub .tail {
  fill: var(--bubble);
  stroke: var(--accent);
} /* inherited into the <use> tree */
.bub.gold .tail {
  stroke: var(--gold-l);
}

/* conjoined verse -> reply (box bubble_join): the verse's fin flows through a
   gap opened in the reply's top border. Both right-aligned so px offsets match. */
.pair {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 28px;
}
.pair .verse {
  rotate: 1.2deg;
  z-index: 2;
}
.pair .reply {
  rotate: -0.8deg;
  z-index: 1;
}
.pair .reply::before {
  content: "";
  position: absolute;
  top: calc(-1 * var(--bub-stroke) - 1px);
  right: 22px;
  width: 24px;
  height: calc(var(--bub-stroke) + 3px);
  background: var(--bubble);
}
.exchange {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 40px;
  align-items: start;
}
.exchange .you {
  padding-top: 46px;
}
@media (max-width: 880px) {
  .exchange {
    grid-template-columns: 1fr;
    gap: 52px;
  }
  .exchange .you {
    padding-top: 40px;
  }
}

/* ---------- the capabilities seal (box burst_badge) ---------- */
.seal {
  display: block;
  width: 220px;
  height: 220px;
  rotate: -6deg;
}
.seal text {
  font-family: var(--display);
  font-weight: 700;
  fill: var(--cream-txt);
  font-size: 17.5px;
  text-anchor: middle;
}

/* ---------- scalloped band (box scallop_band): separator + content carrier ---------- */
.band {
  --band-bg: var(--accent);
  --band-fg: var(--cream-txt);
  position: relative;
  background: var(--band-bg);
  color: var(--band-fg);
  margin-top: var(--scallop-r);
}
.band::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: calc(-1 * var(--scallop-r));
  height: var(--scallop-r);
  background-image: radial-gradient(
    circle at var(--scallop-r) var(--scallop-r),
    var(--band-bg) var(--scallop-r),
    transparent calc(var(--scallop-r) + 0.6px)
  );
  background-size: calc(var(--scallop-r) * 2) var(--scallop-r);
  background-position: 50% 0;
}
.band.flip {
  margin-top: 0;
  margin-bottom: var(--scallop-r);
}
.band.flip::before {
  display: none;
}
.band.flip::after,
.band.both::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(-1 * var(--scallop-r));
  height: var(--scallop-r);
  background-image: radial-gradient(
    circle at var(--scallop-r) 0px,
    var(--band-bg) var(--scallop-r),
    transparent calc(var(--scallop-r) + 0.6px)
  );
  background-size: calc(var(--scallop-r) * 2) var(--scallop-r);
  background-position: 50% 0;
}
.band.both {
  margin-bottom: var(--scallop-r);
}
.band.cream {
  --band-bg: var(--paper);
  --band-fg: var(--accent);
}
.band a {
  color: inherit;
}
.band .strip {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 36px 18px;
  min-height: 92px;
}
.band .callout {
  align-self: center;
  text-align: center;
  font-family: var(--sans);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.band .callout.serif {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.1rem, 2.3vw, 1.6rem);
  letter-spacing: 0;
  text-transform: none;
}
.band .flock,
.band .sheepr {
  flex: 0 0 auto;
  color: var(--band-fg);
}
@media (max-width: 640px) {
  .band .strip {
    padding: 12px 18px 14px;
    gap: 12px;
  }
  .band .callout {
    font-size: 0.78rem;
    letter-spacing: 0.18em;
  }
  .band .sheepr {
    display: none;
  }
}

/* ---------- header ---------- */
header.top {
  background: var(--accent);
  color: var(--cream-txt);
  position: relative;
  margin-bottom: var(--scallop-r);
}
header.top::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(-1 * var(--scallop-r));
  height: var(--scallop-r);
  background-image: radial-gradient(
    circle at var(--scallop-r) 0px,
    var(--accent) var(--scallop-r),
    transparent calc(var(--scallop-r) + 0.6px)
  );
  background-size: calc(var(--scallop-r) * 2) var(--scallop-r);
  background-position: 50% 0;
}
header.top .inner {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 36px;
  height: 64px;
}
.brandmark {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  margin-right: auto;
}
.brandmark span {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: 0.01em;
}
.topnav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.topnav a {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: inherit;
  text-decoration: none;
}
.topnav a:hover {
  color: var(--gold-l);
}
.topnav a.ticket {
  font-family: var(--display);
  font-size: 1.05rem;
  letter-spacing: 0;
  text-transform: none;
  padding: 8px 20px;
  white-space: nowrap;
}
@media (max-width: 640px) {
  header.top .inner {
    padding: 0 18px;
    gap: 10px;
    height: 56px;
  }
  .brandmark span {
    font-size: 0.86rem;
    white-space: nowrap;
  }
  .topnav {
    gap: 14px;
  }
  .topnav a {
    letter-spacing: 0.08em;
  }
  .topnav a.ticket {
    padding: 8px 12px;
    font-size: 0.82rem;
  }
  .topnav .hide-m {
    display: none;
  }
}

/* ============================================================
   PANELS — the lid and the front, reproduced from the generator's
   coordinates (711 x 414 and 711 x 549 pt trims). Positions are % of the
   panel; type is in container-width units so the composition scales as one
   piece. Below 880px the same markup falls into normal flow.
   ============================================================ */
.panel {
  container-type: inline-size;
  position: relative;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
}
.panel .halo {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.panel .unit {
  position: absolute;
  z-index: 2;
}
.panel .unit img {
  width: 100%;
  height: auto;
}
.panel .bub {
  position: absolute;
  z-index: 3;
}
.panel .pair {
  position: absolute;
  z-index: 3;
}
.panel .pair .bub {
  position: relative;
  left: auto;
  top: auto;
}
.panel .pband {
  position: absolute;
  left: 50%;
  right: auto;
  bottom: 0;
  width: 100vw;
  transform: translateX(-50%);
  z-index: 1;
  margin: 0;
}
.panel .pband .strip {
  min-height: 0;
}

/* --- the lid (hero): 711 x 414 --- */
.lid {
  aspect-ratio: 711 / 414;
  max-width: 1400px;
  color: var(--cream-txt);
}
.lid .wordmark {
  position: absolute;
  left: 0;
  right: 0;
  top: 2.8%;
  text-align: center;
  font-size: 4.6cqw;
  letter-spacing: 0.08em;
  z-index: 3;
}
.lid .goldrule {
  position: absolute;
  left: 50%;
  top: 14.3%;
  width: 46.4%;
  margin: 0;
  transform: translateX(-50%);
  background: var(--gold-l);
  z-index: 3;
}
.lid .unit {
  left: 23.35%;
  top: 12.3%;
  width: 53.3%;
}
.lid .bub {
  font-size: 2.25cqw;
  line-height: 1.25;
  padding: 1.5cqw 2.1cqw 1.6cqw;
  border-radius: 2.6cqw;
  border-width: 0.39cqw;
}
.lid .bub .tail {
  width: 4.6cqw;
  height: 5.9cqw;
}
.lid .bub.up .tail {
  top: -5cqw;
}
.lid .bub.down .tail {
  bottom: -5cqw;
  right: 3.2cqw;
}
.lid .bub.downl .tail {
  bottom: -5cqw;
}
.lid .bub cite {
  font-size: 0.8em;
}
.lid .you {
  left: 0.4%;
  top: 25%;
  width: 28.5%;
  rotate: -2deg;
}
.lid .pair {
  right: 0.4%;
  top: 23.7%;
  width: 36%;
  gap: 2.9cqw;
}
.lid .pair .verse {
  width: 100%;
}
.lid .pair .reply {
  width: 76%;
  font-size: 2.1cqw;
}
.lid .pair .reply::before {
  right: 2.4cqw;
  width: 3cqw;
  top: calc(-0.39cqw - 1px);
  height: calc(0.39cqw + 3px);
}
.lid .seal {
  position: absolute;
  left: 5.2%;
  top: 54%;
  width: 17%;
  height: auto;
  z-index: 3;
}
.lid .pband {
  --band-bg: var(--paper);
  --band-fg: var(--accent);
  height: 14.3%;
}
.lid .pband .strip {
  height: 100%;
  padding: 0 36px 0.6cqw;
}
.lid .pband .callout.serif {
  font-size: 2.8cqw;
  align-self: flex-end;
  line-height: 1;
  padding-bottom: 1.4cqw;
}
.lid .pband .flock {
  width: 15cqw;
  height: auto;
}
.lid .pband .sheepr {
  width: 6cqw;
  height: auto;
}

/* --- the front (closing composition): 711 x 549 --- */
.front {
  aspect-ratio: 711 / 549;
}
.front .title {
  position: absolute;
  left: 0;
  right: 0;
  top: 2.6%;
  text-align: center;
  font-size: 5.3cqw;
  margin: 0;
  z-index: 3;
}
.front .headline {
  position: absolute;
  left: 0;
  right: 0;
  top: 11.6%;
  text-align: center;
  font-size: 3.6cqw;
  margin: 0;
  z-index: 3;
}
.front .unit {
  left: 14.1%;
  top: 16.4%;
  width: 71.8%;
}
.front .bub {
  font-size: 2.4cqw;
  line-height: 1.25;
  padding: 1.5cqw 2.1cqw 1.6cqw;
  border-radius: 2.6cqw;
  border-width: 0.39cqw;
}
.front .bub .tail {
  width: 4.6cqw;
  height: 5.9cqw;
}
.front .bub.up .tail {
  top: -5cqw;
}
.front .bub.down .tail {
  bottom: -5cqw;
  right: 3.2cqw;
}
.front .bub.downl .tail {
  bottom: -5cqw;
}
.front .bub cite {
  font-size: 0.78em;
}
.front .you {
  left: 3.5%;
  top: 21.3%;
  width: 34%;
  rotate: -1.5deg;
  font-size: 2.3cqw;
}
.front .pair {
  right: 3.4%;
  top: 24.6%;
  width: 33.4%;
  gap: 3.2cqw;
}
.front .pair .verse {
  width: 100%;
}
.front .pair .reply {
  width: 92%;
  font-size: 2.25cqw;
}
.front .pair .reply::before {
  right: 2.4cqw;
  width: 3cqw;
  top: calc(-0.39cqw - 1px);
  height: calc(0.39cqw + 3px);
}
.front .seal {
  position: absolute;
  left: 4.1%;
  top: 34.4%;
  width: 25.9%;
  height: auto;
  z-index: 3;
}
.front .pband {
  height: 10%;
}
.front .pband .strip {
  height: 100%;
  padding: 0 36px 0.8cqw;
}
.front .pband .callout {
  font-size: 2cqw;
  letter-spacing: 0.18em;
  line-height: 1.35;
}
.front .pband .flock {
  width: 15cqw;
  height: auto;
}

@media (max-width: 880px) {
  .panel,
  .lid,
  .front {
    aspect-ratio: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
  }
  .panel .wordmark,
  .panel .title,
  .panel .headline,
  .panel .goldrule,
  .panel .unit,
  .panel .bub,
  .panel .pair,
  .panel .seal,
  .panel .pband {
    position: static;
    transform: none;
  }
  .panel .halo {
    display: none;
  }
  .lid .wordmark,
  .front .title {
    font-size: clamp(1.6rem, 7.5vw, 2.4rem);
    margin: 28px 22px 0;
  }
  .front .headline {
    font-size: clamp(1.25rem, 5vw, 1.7rem);
    margin: 12px 22px 0;
  }
  .lid .goldrule {
    width: 180px;
    margin: 14px auto 0;
  }
  .panel .bub {
    font-size: 1.2rem;
    padding: 14px 22px;
    border-radius: 20px;
    border-width: var(--bub-stroke);
  }
  .panel .bub .tail {
    width: 36px;
    height: 46px;
  }
  .panel .bub.up .tail {
    top: -39px;
  }
  .panel .bub.down .tail {
    bottom: -39px;
    right: 30px;
  }
  .panel .bub.downl .tail {
    bottom: -39px;
  }
  .panel .you {
    width: auto;
    max-width: 78%;
    align-self: flex-start;
    margin: 56px 0 0 8%;
  }
  .panel .unit {
    width: 88%;
    max-width: 440px;
    margin: 10px 0 -8%;
    z-index: 2;
  }
  .panel .pair {
    width: auto;
    max-width: 84%;
    align-self: flex-end;
    margin: 10% 6% 0 0;
    gap: 30px;
  }
  .panel .pair .verse,
  .panel .pair .reply {
    width: auto;
    font-size: 1.2rem;
  }
  .panel .pair .reply::before {
    right: 22px;
    width: 24px;
    top: calc(-1 * var(--bub-stroke) - 1px);
    height: calc(var(--bub-stroke) + 3px);
  }
  .front .seal {
    width: 170px;
    height: 170px;
    margin: 36px 0 0;
  }
  .lid .seal {
    width: 150px;
    height: 150px;
    margin: 34px 0 0;
  }
  .panel .pband {
    position: relative;
    width: 100%;
    left: auto;
    margin-top: 44px;
    height: auto;
  }
  .panel .pband .strip {
    height: auto;
    padding: 14px 18px 16px;
  }
  .lid .pband .callout.serif {
    font-size: 1.15rem;
  }
  .front .pband .callout {
    font-size: 0.8rem;
  }
  .lid .pband .flock,
  .front .pband .flock {
    width: 140px;
  }
  .lid .pband .sheepr {
    width: 54px;
  }
}

/* ---------- hero: one-line headline across the top, the product filling the height on the right ---------- */
.hero {
  --hdr: 80px;
  --strip: 104px;
  padding: 0;
  min-height: calc(100vh - var(--hdr));
  display: flex;
  flex-direction: column;
} /* fills the window on load: header 64 + scallop 16 */
.hero .main {
  flex: 1;
  display: flex;
  align-items: stretch;
  padding: 0;
}
.hero .main .shell {
  width: 100%;
  max-width: 1600px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  column-gap: 24px;
}
/* the H1 sits right above the sub line; one line, allowed to run past its column over the cutout's empty air (clears the hair at 1280+) */
.hero h1 {
  position: relative;
  z-index: 2;
  white-space: nowrap;
  font-size: clamp(2.2rem, 3.9vw, 4rem);
  line-height: 1.1;
  margin: 0 0 0.35em;
}
.hero .copy {
  grid-column: 1;
  align-self: center;
  padding: 0 0 24px;
}
.hero .sub {
  font-size: clamp(1.25rem, 1.75vw, 1.6rem);
  line-height: 1.45;
  max-width: 24em;
  margin-bottom: 1.1em;
}
.hero .art {
  grid-column: 2;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  min-height: 0;
}
.hero .art img {
  width: 100%;
  max-width: none;
  height: calc(100vh - var(--hdr) - var(--strip));
  object-fit: contain;
  object-position: right bottom;
  margin: 0;
}
/* proof strip: four trust marks along the bottom of the first screen (their press-logo row) */
.proof {
  border-top: 1px solid var(--line);
  height: 104px;
  padding: 15px 0 0;
} /* = --strip */
.proof ul {
  list-style: none;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  gap: 20px;
}
.proof li {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--ink);
}
.proof svg {
  width: 72px;
  height: 72px;
  flex: 0 0 auto;
}
.proof span {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 1.15rem;
  line-height: 1.2;
  max-width: 9.5em;
}
@media (max-width: 1100px) {
  .hero h1 {
    white-space: normal;
  }
}
@media (max-width: 880px) {
  .hero {
    min-height: 0;
  }
  .hero {
    padding: 0 0 10px;
  }
  .hero .main .shell {
    display: block;
  }
  .proof {
    height: auto;
    padding: 16px 0 18px;
  }
  .hero h1 {
    white-space: normal;
    font-size: clamp(1.9rem, 8vw, 2.6rem);
    margin: 18px 0 10px;
  }
  .hero .copy {
    order: 1;
  }
  .hero .art {
    display: block;
  }
  .hero .art img {
    height: auto;
    max-width: 460px;
    margin: 0 auto;
    object-position: center;
  }
  .hero .copy {
    padding: 14px 0 24px;
  }
  .proof ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px 24px;
  }
  .proof li {
    width: calc(50% - 12px);
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
  .proof svg {
    width: 56px;
    height: 56px;
  }
  .proof span {
    font-size: 1rem;
    max-width: none;
  }
}

/* ---------- claim band: one sentence + a button on one row, burgundy, scalloped both edges ---------- */
.claim {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 26px 36px 28px;
}
.claim p {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.35rem, 2.1vw, 1.9rem);
  line-height: 1.3;
  max-width: 28em;
  margin: 0;
}
.claim p em {
  font-weight: 600;
}
.claim .ticket {
  flex: 0 0 auto;
}
@media (max-width: 880px) {
  .claim {
    flex-direction: column;
    gap: 18px;
    text-align: center;
    padding: 28px 22px 30px;
  }
}

/* ---------- sell blocks: photo | headline + two lines + button, sides alternating ---------- */
.sell {
  padding: 44px 0;
}
.sell .catalog {
  gap: 64px;
}
.sell:nth-of-type(even) .art {
  order: 2;
}
.sell .art img {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  background: var(--card);
}
.sell .art .box3d {
  max-width: 460px;
}
.sell h2 {
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.1;
  margin-bottom: 0.5em;
}
.sell p {
  font-size: 1.3rem;
  max-width: 26em;
  margin-bottom: 1.3em;
}
@media (max-width: 880px) {
  .sell {
    padding: 32px 0;
  }
  .sell .catalog {
    gap: 28px;
  }
  .sell:nth-of-type(even) .art {
    order: -1;
  }
  .sell .art img {
    max-width: 420px;
  }
}

/* ---------- a review, pulled out ---------- */
.review {
  background: var(--card);
  padding: 48px 48px 44px;
  position: relative;
}
.review .stars {
  color: var(--gold);
  font-size: 1.6rem;
  letter-spacing: 0.12em;
  margin-bottom: 10px;
}
.review h3 {
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  line-height: 1.15;
  margin-bottom: 0.5em;
}
.review p {
  font-size: 1.25rem;
  max-width: 40em;
}
.review .who {
  font-family: var(--display);
  font-style: italic;
  margin: 0;
}
@media (max-width: 560px) {
  .review {
    padding: 30px 22px;
  }
}

/* ---------- product pairs: photo | copy, ruled, sides alternating ---------- */
.pairs {
  list-style: none;
}
.pairs li {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 36px 0;
  border-top: 1px solid var(--line);
}
.pairs li:last-child {
  border-bottom: 1px solid var(--line);
}
.pairs li:nth-child(even) .pic {
  order: 2;
}
.pairs .pic img {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  background: var(--card);
}
.pairs .pic .box3d {
  max-width: 400px;
}
.pairs h3 {
  font-size: clamp(1.7rem, 2.8vw, 2.3rem);
  line-height: 1.12;
  margin-bottom: 0.4em;
}
.pairs p {
  font-size: 1.25rem;
  margin: 0;
  max-width: 26em;
}
@media (max-width: 880px) {
  .pairs li {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .pairs li:nth-child(even) .pic {
    order: -1;
  }
  .pairs .pic img {
    max-width: 360px;
  }
}

/* ---------- the back panel on the page ("Three steps. No manual.") ---------- */
.steps {
  list-style: none;
  counter-reset: n;
  max-width: 760px;
  margin: 10px auto 0;
}
.steps li {
  counter-increment: n;
  position: relative;
  padding: 10px 0 10px 76px;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  line-height: 1.45;
}
.steps li::before {
  content: counter(n);
  position: absolute;
  left: 6px;
  top: 12px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--cream-txt);
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.plainfacts {
  font-family: var(--display);
  font-size: 1.1rem;
  text-align: center;
  max-width: 42em;
  margin: 30px auto 0;
}
.footnote {
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin: 26px auto 0;
  max-width: 46em;
  text-align: center;
}

/* ---------- the play seal (hear it) ---------- */
.playseal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: var(--accent);
  color: var(--cream-txt);
  box-shadow:
    inset 0 0 0 4px var(--accent),
    inset 0 0 0 6px var(--gold-l);
}
.playseal:hover {
  background: var(--accent-deep);
  box-shadow:
    inset 0 0 0 4px var(--accent-deep),
    inset 0 0 0 6px var(--gold-l);
}
.playseal svg {
  width: 40px;
  height: 40px;
}
.playseal .pause {
  display: none;
}
.playseal.playing .play {
  display: none;
}
.playseal.playing .pause {
  display: block;
}

/* ---------- spec list (left end of the box) ---------- */
.specs {
  list-style: none;
  margin: 22px 0 28px;
  font-family: var(--display);
  font-size: 1.2rem;
  line-height: 1.5;
}
.specs li {
  padding: 9px 0;
  border-top: 1px solid var(--line);
}
.specs li:last-child {
  border-bottom: 1px solid var(--line);
}
.specs b {
  font-weight: 700;
}

/* ---------- the box itself (CSS 3D from the panel textures) ---------- */
.box3d {
  perspective: 1600px;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 1;
  margin: 0 auto;
}
.box3d .cube {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transform: translateZ(-120px) rotateX(-20deg) rotateY(-34deg);
  transition: transform 1.2s ease;
}
.box3d:hover .cube {
  transform: translateZ(-120px) rotateX(-16deg) rotateY(-22deg);
}
.box3d.turned .cube {
  transform: translateZ(-120px) rotateX(-20deg) rotateY(34deg);
}
.box3d.turned:hover .cube {
  transform: translateZ(-120px) rotateX(-16deg) rotateY(22deg);
}
.box3d.large {
  max-width: 680px;
}
.box3d.large .cube {
  transform: scale(1.4) translateZ(-120px) rotateX(-20deg) rotateY(34deg);
}
.box3d.large:hover .cube {
  transform: scale(1.4) translateZ(-120px) rotateX(-16deg) rotateY(22deg);
}
.box3d .face {
  position: absolute;
  left: 50%;
  top: 50%;
  background-size: 100% 100%;
  backface-visibility: hidden;
}
/* floor shadow: a gradient plane INSIDE the 3D scene, 2px under the bottom face — rotates with
   the box and needs no filter (a drop-shadow filter on the perspective container forced a
   per-frame re-rasterization during the hover transition: flicker in Safari, stutter in Chrome) */
.box3d .cube::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 540px;
  height: 400px;
  margin: -200px 0 0 -270px;
  transform: rotateX(-90deg) translateZ(139px);
  backface-visibility: visible;
  background: radial-gradient(
    ellipse at 50% 50%,
    rgba(46, 42, 36, 0.5) 0%,
    rgba(46, 42, 36, 0.34) 30%,
    rgba(46, 42, 36, 0.13) 52%,
    rgba(46, 42, 36, 0) 70%
  );
}
/* a little light: the ends sit in shade, the front catches it */
.box3d .f-right::after,
.box3d .f-left::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(46, 42, 36, 0.14);
}
.box3d .f-top::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.05);
}
/* trims (pt): W 711, D 414, H 549 at 0.5px/pt */
.box3d .f-front {
  width: 355px;
  height: 274px;
  margin: -137px 0 0 -177px;
  transform: translateZ(103px);
  background-image: url(box/front.jpg);
}
.box3d .f-right {
  width: 207px;
  height: 274px;
  margin: -137px 0 0 -103px;
  transform: rotateY(90deg) translateZ(178px);
  background-image: url(box/right.jpg);
}
.box3d .f-top {
  width: 355px;
  height: 207px;
  margin: -103px 0 0 -177px;
  transform: rotateX(90deg) translateZ(137px);
  background-image: url(box/top.jpg);
}
.box3d .f-left {
  width: 207px;
  height: 274px;
  margin: -137px 0 0 -103px;
  transform: rotateY(-90deg) translateZ(178px);
  background-image: url(box/left.jpg);
}
.box3d .f-back {
  width: 355px;
  height: 274px;
  margin: -137px 0 0 -177px;
  transform: rotateY(180deg) translateZ(103px);
  background-image: url(box/back.jpg);
}
.box3d .f-bottom {
  width: 355px;
  height: 207px;
  margin: -103px 0 0 -177px;
  transform: rotateX(-90deg) translateZ(137px);
  background: var(--accent);
}
@media (max-width: 560px) {
  .box3d {
    max-width: 340px;
  }
  .box3d .cube,
  .box3d:hover .cube {
    transform: scale(0.68) translateZ(-120px) rotateX(-20deg) rotateY(-34deg);
  }
  .box3d.turned .cube,
  .box3d.turned:hover .cube,
  .box3d.large .cube,
  .box3d.large:hover .cube {
    transform: scale(0.68) translateZ(-120px) rotateX(-20deg) rotateY(34deg);
  }
}

.badges {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}
.badges img {
  height: 44px;
  width: auto;
}
.card-shot {
  width: min(100%, 420px);
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(46, 42, 36, 0.14);
  rotate: -1.5deg;
}

/* ---------- scripture (the bottom of the box: burgundy field, gold + cream) ---------- */
.scripture {
  text-align: center;
  padding: 38px 0 42px;
  background: var(--accent);
  color: var(--cream-txt);
}
.scripture .line {
  font-family: var(--display);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  line-height: 1.4;
  max-width: 24em;
  margin: 0 auto 12px;
}
.scripture .ref {
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-l);
}
.scripture .orn {
  margin-bottom: 10px;
}
.scripture .orn svg {
  height: 48px;
  width: auto;
}

/* ---------- founder letter ---------- */
.letter {
  border: 2px solid var(--accent);
  background: var(--card);
  padding: 44px 52px 40px;
  position: relative;
}
.letter::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid var(--gold);
  pointer-events: none;
}
.letter p {
  font-size: 1.08rem;
}
.letter .salut {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.15rem;
}
.letter .sig {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.35rem;
  margin: 26px 0 0;
}
.letter .sigmeta {
  font-family: var(--sans);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 6px;
}
@media (max-width: 560px) {
  .letter {
    padding: 30px 24px;
  }
}

/* ---------- FAQ ---------- */
details {
  border-top: 1px solid var(--line);
}
details:last-of-type {
  border-bottom: 1px solid var(--line);
}
summary {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.45rem;
  padding: 22px 48px 22px 2px;
  cursor: pointer;
  list-style: none;
  position: relative;
  line-height: 1.3;
}
summary::-webkit-details-marker {
  display: none;
}
summary::after {
  content: "+";
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.9rem;
}
details[open] > summary::after {
  content: "–";
}
details .a {
  padding: 0 2px 26px;
  font-size: 1.18rem;
  max-width: 46em;
}
details.more > summary {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}
details.more > .a {
  padding: 0 0 10px 22px;
  max-width: none;
}
details.more details:first-of-type {
  border-top: 1px solid var(--line);
}
details.more details:last-of-type {
  border-bottom: none;
}
details.more details summary {
  font-size: 1.3rem;
  padding: 18px 48px 18px 2px;
}

/* ---------- footer (box back band) ---------- */
footer.band .strip {
  display: block;
  max-width: 1180px;
  margin: 0 auto;
  padding: 40px 36px 54px;
}
footer .row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 30px;
  font-size: 1.1rem;
}
footer .row + .row {
  margin-top: 18px;
}
footer a {
  color: var(--cream-txt);
  text-decoration-color: rgba(246, 240, 228, 0.5);
}
footer .brandmark {
  margin-right: 0;
}
footer .flockslot {
  margin-left: auto;
}
