/* =========================================================================
   DAILY PERSEVERANCE -- /books/daily-perseverance/
   Rides on home.css (tokens, titles, reveal grammar, pp-cream); this
   sheet carries only the pbd-* chapters.
   ========================================================================= */

/* =========================================================================
   01 . HERO . the practice, opened
   ========================================================================= */
.pbd-hero {
  background: #0A0807;
  min-height: 92svh;
  padding-block: clamp(150px, 19vh, 210px) clamp(90px, 12vh, 150px);
  position: relative; overflow: clip;
}
.pbd-hero::before {
  content: ''; position: absolute; inset: auto -20% -35%; height: 80%;
  pointer-events: none;
  background: radial-gradient(50% 60% at 50% 100%, rgba(193, 154, 75, 0.12) 0%, transparent 70%);
  animation: pp-halo-breathe 8s ease-in-out infinite;
}
.pbd-hero__inner {
  position: relative; z-index: 1;
  display: grid; align-items: center;
  grid-template-columns: minmax(0, 1.1fr) minmax(270px, 0.76fr);
  gap: clamp(24px, 3.2vw, 52px);
  translate: calc((var(--gx, 50vw) - 50vw) * 0.008) 0;
}
.pbd-hero__title {
  margin: var(--s-sm) 0 0;
  font-size: clamp(2.2rem, 4.9vw, 4.7rem); font-weight: 800; line-height: 1.05;
  letter-spacing: 0.01em; text-transform: uppercase;
  color: var(--cream, #F4E8DA);
}
/* Trava: o titulo nunca passa da largura da propria coluna, entao
   mudar o grid nao consegue mais cortar a ultima letra. */
.pbd-hero__lead { container-type: inline-size; }
@supports (container-type: inline-size) {
  .pbd-hero__title { font-size: min(clamp(2.2rem, 4.9vw, 4.7rem), 13cqw); }
}
.pbd-hero__l { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.pbd-hero__l i {
  display: inline-block; font-style: normal;
  background: linear-gradient(110deg, #F4E8DA 34%, var(--light-gold, #F3D88E) 47%, var(--gold, #C19A4B) 53%, #F4E8DA 66%);
  background-size: 240% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: pbd-sheen 6.4s ease-in-out infinite 1.2s;
}
.pbd-hero__l:nth-child(2) i { animation-delay: 1.5s; }
@keyframes pbd-sheen {
  0% { background-position: 130% 0; }
  46%, 100% { background-position: -40% 0; }
}
.js .pbd-hero__title.reveal .pbd-hero__l i {
  translate: 0 112%;
  transition: translate 750ms var(--ease);
}
.js .pbd-hero__title.reveal.is-in .pbd-hero__l i { translate: 0 0; }
.js .pbd-hero__title.reveal.is-in .pbd-hero__l:nth-child(2) i { transition-delay: 150ms; }
.pbd-hero__sub {
  margin: var(--s-sm) 0 0;
  font-size: clamp(1.1rem, 1.7vw, 1.45rem); font-weight: 300; font-style: italic;
  color: var(--gold); text-wrap: pretty;
}
.pbd-hero__copy { margin-top: var(--s-md); display: grid; gap: 12px; }
.pbd-hero__copy p {
  margin: 0; max-width: min(58ch, 100%);
  font-size: clamp(1rem, 1.3vw, 1.15rem); line-height: 1.7;
  color: var(--ink-muted, #A79B8C); text-wrap: pretty;
}
.pbd-hero__copy i { font-style: italic; color: var(--cream, #F4E8DA); }
.pbd-hero__actions { margin-top: var(--s-md); }
.pbd-hero__meta {
  margin: var(--s-md) 0 0;
  font-size: 0.6875rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(167, 155, 140, 0.75);
}

/* the drawn daily page, under a ghost 365 */
.pbd-hero__art {
  position: relative; min-height: 320px;
  translate: calc((var(--gx, 50vw) - 50vw) * -0.018) 0;
}
.pbd-hero__num {
  position: absolute; top: 50%; left: 50%;
  translate: -50% -54%;
  font-size: clamp(9rem, 18vw, 15rem); font-weight: 800; font-style: italic;
  line-height: 1; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1.5px rgba(193, 154, 75, 0.16);
  pointer-events: none; user-select: none;
}
.pbd-hero__art svg { position: relative; width: 100%; height: auto; overflow: visible; }
.pbd-b {
  fill: none;
  stroke: rgba(193, 154, 75, 0.65); stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 100; stroke-dashoffset: 100;
  animation: pbd-draw 1100ms var(--ease) forwards;
  animation-delay: var(--d, 0ms);
}
.pbd-b--thin { stroke-width: 1.2; stroke: rgba(193, 154, 75, 0.4); }
.pbd-b--gold {
  stroke: var(--light-gold, #F3D88E); stroke-width: 2.2;
  filter: drop-shadow(0 0 6px rgba(243, 216, 142, 0.5));
}
@keyframes pbd-draw { to { stroke-dashoffset: 0; } }

/* the cover itself: it stands in front of the page it opens */
.pbd-hero__art { display: grid; place-items: center; }
.pbd-hero__art > * { grid-area: 1 / 1; }
.pbd-hero__blueprint { opacity: 0.34; translate: 30% -6%; scale: 0.82; }
.pbd-hero__cover {
  position: relative; z-index: 2;
  margin: 0; width: min(124%, 470px);
  translate: -10% 0;
  animation: pbd-cover-in 900ms var(--ease) 400ms backwards,
             pbd-float 9s ease-in-out 1.3s infinite;
}
@keyframes pbd-cover-in {
  from { opacity: 0; transform: translate3d(0, 26px, 0) scale(0.96); }
  to { opacity: 1; transform: none; }
}
.pbd-hero__cover img {
  display: block; width: 100%; height: auto;
  filter: drop-shadow(0 26px 46px rgba(0, 0, 0, 0.65));
}
.pbd-hero__cover::after {
  content: ''; position: absolute; inset: -12% -18%;
  z-index: -1; pointer-events: none;
  background: radial-gradient(50% 50% at 50% 50%, rgba(193, 154, 75, 0.2), transparent 70%);
}
@keyframes pbd-float {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-0.6deg); }
  50% { transform: translate3d(0, -14px, 0) rotate(0.6deg); }
}

/* the book beside its own release date */
.pbd-preorder__cover {
  margin: var(--s-md) 0 0; position: relative;
  width: min(48vw, 220px);
}
.pbd-preorder__cover img {
  display: block; width: 100%; height: auto;
  rotate: -2.5deg;
  filter: drop-shadow(0 22px 40px rgba(0, 0, 0, 0.55));
  transition: rotate 600ms var(--ease), scale 600ms var(--ease);
}
.pbd-preorder__cover:hover img { rotate: 0deg; scale: 1.03; }
.pbd-preorder__cover::after {
  content: ''; position: absolute; inset: -12% -16%;
  z-index: -1; pointer-events: none;
  background: radial-gradient(50% 50% at 50% 50%, rgba(243, 216, 142, 0.18), transparent 70%);
}

/* =========================================================================
   02 . RETURN . the distance between knowing and living
   ========================================================================= */
.pbd-return { padding-block: var(--s-xxl); position: relative; overflow: clip; }
.pbd-return__ghost {
  position: absolute; top: clamp(16px, 4vh, 48px); right: -0.05em;
  font-size: clamp(6rem, 15vw, 14rem); font-weight: 800; font-style: italic;
  line-height: 1; letter-spacing: -0.02em;
  color: transparent; -webkit-text-stroke: 1px rgba(122, 94, 32, 0.13);
  pointer-events: none; user-select: none;
}
.pbd-return__inner {
  position: relative;
  display: grid; align-items: start;
  grid-template-columns: minmax(240px, 0.52fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 100px);
}
.pbd-return__rail { position: sticky; top: 110px; min-width: 0; }
.pbd-return__rail .pp-h2 { font-size: clamp(1.7rem, 2.8vw, 2.8rem); }

/* the loop: what the book asks you to do, drawn once and repeated forever */
.pbd-loop { margin-top: var(--s-md); width: min(100%, 190px); }
.pbd-loop svg { display: block; width: 100%; height: auto; overflow: visible; }
.pbd-loop__ring, .pbd-loop__tip {
  fill: none;
  stroke: var(--gold-deep, #7A5E20); stroke-width: 2.4;
  stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 100; stroke-dashoffset: 0;
}
.pbd-return.is-ride .pbd-loop__ring {
  stroke-dashoffset: calc((1 - clamp(0, calc((var(--rp, 0) - 0.04) * 2.4), 1)) * 100);
}
.pbd-return.is-ride .pbd-loop__tip {
  stroke-dashoffset: calc((1 - clamp(0, calc((var(--rp, 0) - 0.3) * 6), 1)) * 100);
}
/* the light that keeps going round */
.pbd-loop__run {
  fill: var(--gold, #C19A4B);
  filter: drop-shadow(0 0 6px rgba(193, 154, 75, 0.6));
  offset-path: path('M100 30 A 70 70 0 1 1 39.4 65');
  animation: pbd-loop-run 5.5s linear infinite 1.2s;
  opacity: 0;
}
@keyframes pbd-loop-run {
  0%   { offset-distance: 0%;   opacity: 0; }
  8%   { opacity: 1; }
  88%  { opacity: 1; }
  100% { offset-distance: 100%; opacity: 0; }
}

.pbd-return__body { display: grid; gap: clamp(18px, 2.6vh, 26px); }
.pbd-return__body p {
  margin: 0; max-width: min(58ch, 100%);
  font-size: clamp(1rem, 1.3vw, 1.18rem); line-height: 1.75;
  color: #5C5044; text-wrap: pretty;
}
.pbd-return__body i { font-style: italic; color: var(--ink); }
.pbd-return__open { font-size: clamp(1.1rem, 1.6vw, 1.4rem); color: var(--ink); }

/* four things already known */
.pbd-knows { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(9px, 1.4vh, 14px); }
.pbd-knows li {
  position: relative; padding-left: clamp(18px, 2.2vw, 26px);
  font-size: clamp(1rem, 1.3vw, 1.15rem); line-height: 1.6;
  color: #5C5044; text-wrap: pretty;
  --p: clamp(0, calc((var(--rp, 0) - var(--t, 0)) * 7), 1);
  opacity: calc(0.24 + 0.76 * var(--p));
  transform: translateX(calc((1 - var(--p)) * 12px));
}
.pbd-knows li::before {
  content: ''; position: absolute; left: 0; top: 0.72em;
  width: clamp(9px, 1.2vw, 13px); height: 1.5px;
  background: var(--gold, #C19A4B);
  transform: scaleX(var(--p, 1)); transform-origin: left center;
}
.pbd-knows em { font-style: normal; font-weight: 700; color: var(--gold-deep, #7A5E20); }

/* the hinge of the section */
.pbd-return__pull em {
  font-style: italic; font-weight: 500;
  font-size: clamp(1.3rem, 2.1vw, 1.85rem); line-height: 1.4;
  color: var(--gold-deep, #7A5E20);
}
.pbd-return__pull i {
  font-style: italic; color: var(--gold, #C19A4B);
  position: relative;
}
.pbd-return__pull i::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  border-radius: 1px;
  background: linear-gradient(90deg, var(--gold, #C19A4B), rgba(193, 154, 75, 0.3));
  transform: scaleX(var(--rp2, 1)); transform-origin: left center;
}
.pbd-return.is-ride .pbd-return__pull i { --rp2: clamp(0, calc((var(--rp, 0) - 0.3) * 6), 1); }

/* four moments when returning is hardest */
.pbd-asks {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: clamp(12px, 1.9vh, 18px);
  border-left: 1px solid var(--hairline, #DCCBB4);
  padding-left: clamp(20px, 2.6vw, 32px);
}
.pbd-asks li {
  display: grid; grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(10px, 1.4vw, 16px); align-items: baseline;
  --p: clamp(0, calc((var(--rp, 0) - var(--t, 0)) * 7), 1);
  opacity: calc(0.22 + 0.78 * var(--p));
  transform: translateX(calc((1 - var(--p)) * 14px));
  transition: opacity 320ms var(--ease);
}
.pbd-asks b {
  font-size: clamp(1rem, 1.4vw, 1.25rem); font-weight: 800; font-style: italic;
  line-height: 1;
  color: rgba(193, 154, 75, calc(0.3 + 0.7 * var(--p, 1)));
}
.pbd-asks span {
  font-size: clamp(1.02rem, 1.4vw, 1.22rem); line-height: 1.55;
  color: var(--ink); text-wrap: pretty;
}
.pbd-asks:has(li:hover) li:not(:hover) { opacity: 0.42; }

.pbd-return.is-ride .pbd-return__body > p {
  --p: clamp(0, calc((var(--rp, 0) - var(--t, 0)) * 5), 1);
  opacity: calc(0.22 + 0.78 * var(--p));
  transform: translateY(calc((1 - var(--p)) * 14px));
  filter: blur(calc((1 - var(--p)) * 4px));
}

@media (prefers-reduced-motion: reduce) {
  .pbd-loop__run { animation: none; opacity: 0; }
}

/* =========================================================================
   03 . INSIDE . the shape of the year
   ========================================================================= */
.pbd-inside { background: var(--bg); padding-block: var(--s-xxl); overflow: clip; }
.pbd-inside__inner {
  display: grid; align-items: start;
  grid-template-columns: minmax(240px, 0.52fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 100px);
}
.pbd-inside__rail { position: sticky; top: 110px; min-width: 0; }
.pbd-inside__rail .pp-h2 { font-size: clamp(1.8rem, 3vw, 3rem); }

/* the year as a dial */
.pbd-ring { margin: var(--s-md) 0 0; width: min(100%, 300px); }
.pbd-ring svg { display: block; width: 100%; height: auto; overflow: visible; }
.pbd-ring__base {
  fill: none; stroke: rgba(193, 154, 75, 0.2); stroke-width: 1.2;
  stroke-dasharray: 100;
  stroke-dashoffset: calc((1 - clamp(0, calc((var(--rp, 0) - 0.02) * 2.4), 1)) * 100);
}
/* fifty-two marks: one for every week of the year */
.pbd-ring__weeks line {
  stroke: var(--gold, #C19A4B); stroke-width: 2; stroke-linecap: round;
  --p: clamp(0, calc((var(--rp, 0) - var(--i) * 0.0038 - 0.04) * 16), 1);
  opacity: calc(0.12 + 0.88 * var(--p));
}
/* seven divisions: the themes the year is built on */
.pbd-ring__themes line {
  stroke: rgba(243, 216, 142, 0.85); stroke-width: 1.4; stroke-linecap: round;
  --p: clamp(0, calc((var(--rp, 0) - 0.24 - var(--i) * 0.022) * 12), 1);
  opacity: calc(0.06 + 0.74 * var(--p));
}
/* the light that goes round once a year, forever */
.pbd-ring__run {
  fill: var(--light-gold, #F3D88E);
  filter: drop-shadow(0 0 7px rgba(243, 216, 142, 0.85));
  offset-path: path('M200 43 A 157 157 0 1 1 199.9 43 Z');
  animation: pbd-ring-run 9s linear infinite 1s;
}
@keyframes pbd-ring-run {
  from { offset-distance: 0%; }
  to   { offset-distance: 100%; }
}
.pbd-ring__n {
  text-anchor: middle;
  font-size: 74px; font-weight: 800; font-style: italic;
  fill: transparent; stroke: rgba(193, 154, 75, 0.75); stroke-width: 1.2;
}
.pbd-ring__l {
  text-anchor: middle;
  font-size: 15px; font-weight: 700;
  letter-spacing: 4px; text-transform: uppercase;
  fill: var(--ink-muted, #A79B8C);
}
.pbd-ring__key {
  margin-top: clamp(12px, 2vh, 18px);
  display: flex; flex-wrap: wrap; gap: 8px 22px;
  font-size: 0.625rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-muted, #A79B8C);
}
.pbd-ring__key span { display: inline-flex; align-items: center; gap: 8px; }
.pbd-ring__kw, .pbd-ring__kt { width: 12px; height: 2px; border-radius: 1px; }
.pbd-ring__kw { background: var(--gold, #C19A4B); }
.pbd-ring__kt { background: rgba(243, 216, 142, 0.85); height: 1.4px; width: 16px; }

/* the five parts */
.pbd-inside__blocks { display: grid; gap: clamp(26px, 4.2vh, 44px); }
.pbd-inside__block {
  padding-top: clamp(18px, 2.6vh, 26px);
  border-top: 1px solid rgba(220, 203, 180, 0.14);
  transition: opacity 320ms var(--ease);
}
/* the scroll fade lives only where the ride runs; below 901px the text stands plain (v12.10.1) */
.pbd-inside.is-ride .pbd-inside__block {
  --p: clamp(0, calc((var(--rp, 0) - var(--t, 0)) * 5), 1);
  opacity: calc(0.22 + 0.78 * var(--p));
  transform: translateY(calc((1 - var(--p)) * 16px));
  filter: blur(calc((1 - var(--p)) * 4px));
}
.pbd-inside__block:first-child { border-top: 0; padding-top: 0; }
.pbd-inside__block h3 {
  margin: 0;
  font-size: clamp(1.2rem, 1.8vw, 1.6rem); font-weight: 700;
  color: var(--cream, #F4E8DA);
}
.pbd-inside__block p {
  margin: 10px 0 0; max-width: min(56ch, 100%);
  font-size: clamp(0.98rem, 1.2vw, 1.08rem); line-height: 1.7;
  color: var(--ink-muted, #A79B8C); text-wrap: pretty;
}
.pbd-inside__block i { font-style: italic; color: var(--cream, #F4E8DA); }
.pbd-inside__block em { font-style: italic; color: var(--gold); }
.pbd-inside__blocks:has(.pbd-inside__block:hover) .pbd-inside__block:not(:hover) { opacity: 0.42; }

@media (prefers-reduced-motion: reduce) {
  .pbd-ring__run { animation: none; opacity: 0; }
}

/* =========================================================================
   04 . THE ENTRY . the anatomy of one day
   ========================================================================= */
.pbd-entry { padding-block: var(--s-xxl); overflow: clip; }
.pbd-entry__head { max-width: min(56ch, 100%); }
.pbd-entry__goal {
  margin: var(--s-md) 0 0;
  font-size: clamp(1.08rem, 1.6vw, 1.4rem); line-height: 1.6; font-weight: 300;
  color: #5C5044; text-wrap: pretty;
  --p: clamp(0, calc((var(--rp, 0) - var(--t, 0)) * 5), 1);
  opacity: calc(0.25 + 0.75 * var(--p));
  transform: translateY(calc((1 - var(--p)) * 12px));
}
.pbd-entry__goal em { font-style: italic; font-weight: 500; color: var(--gold-deep, #7A5E20); }

/* the page, quartered */
.pbd-quad {
  position: relative;
  margin-top: clamp(34px, 5.5vh, 60px);
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
}
/* the fold lines, drawn from the middle out */
.pbd-quad__v, .pbd-quad__h {
  position: absolute; background: var(--hairline, #DCCBB4);
  pointer-events: none;
}
.pbd-quad__v {
  left: 50%; top: 0; bottom: 0; width: 1px;
  transform: scaleY(clamp(0, calc((var(--rp, 0) - 0.06) * 3), 1));
  transform-origin: top center;
}
.pbd-quad__h {
  top: 50%; left: 0; right: 0; height: 1px;
  transform: scaleX(clamp(0, calc((var(--rp, 0) - 0.1) * 3), 1));
  transform-origin: left center;
}
.pbd-q {
  position: relative;
  padding: clamp(26px, 4vh, 44px) clamp(26px, 3.4vw, 50px);
  transition: opacity 320ms var(--ease);
  --p: clamp(0, calc((var(--rp, 0) - var(--t, 0)) * 6), 1);
  opacity: calc(0.22 + 0.78 * var(--p));
  transform: translateY(calc((1 - var(--p)) * 14px));
}
.pbd-q:nth-child(odd) { padding-left: 0; }
/* the numeral, ghosted into the corner of its quarter */
.pbd-q::before {
  content: attr(data-n);
  position: absolute; right: clamp(18px, 2.4vw, 34px); top: clamp(14px, 2vh, 24px);
  font-size: clamp(3.4rem, 6vw, 5.4rem); font-weight: 800; font-style: italic;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(122, 94, 32, calc(0.12 + 0.4 * var(--p, 1)));
  pointer-events: none;
}
.pbd-q h3 {
  margin: 0; position: relative;
  font-size: clamp(1.25rem, 2vw, 1.75rem); font-weight: 700; line-height: 1.25;
  color: var(--ink); text-wrap: balance;
}
.pbd-q p {
  margin: 12px 0 0; max-width: min(38ch, 100%); position: relative;
  font-size: clamp(1rem, 1.3vw, 1.15rem); line-height: 1.6;
  color: #5C5044; text-wrap: pretty;
}
/* the question mark that opens every prompt */
.pbd-q p::before {
  content: '?'; float: left;
  margin: 0 10px 0 0;
  font-size: 1.15em; font-weight: 800; font-style: italic;
  color: rgba(193, 154, 75, calc(0.35 + 0.65 * var(--p, 1)));
}
.pbd-quad:has(.pbd-q:hover) .pbd-q:not(:hover) { opacity: 0.42; }

@media (max-width: 760px) {
  .pbd-quad { grid-template-columns: minmax(0, 1fr); }
  .pbd-quad__v { display: none; }
  .pbd-quad__h { top: auto; bottom: 0; }
  .pbd-q { padding-inline: 0 !important; border-top: 1px solid var(--hairline, #DCCBB4); }
  .pbd-q:first-of-type { border-top: 0; }
}

/* =========================================================================
   05 . WHO FOR . the reader this year is for
   ========================================================================= */
.pbd-who {
  background: var(--bg); padding-block: var(--s-xxl);
  position: relative; overflow: clip;
}
/* the question the section answers seven times */
.pbd-who__ghost {
  position: absolute; top: 50%; left: 50%;
  translate: calc(-50% + (var(--gx, 50vw) - 50vw) * 0.02) -50%;
  font-size: clamp(11rem, 34vw, 30rem);
  font-weight: 800; font-style: italic; line-height: 0.78;
  letter-spacing: -0.05em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(193, 154, 75, 0.075);
  pointer-events: none; user-select: none;
}
.pbd-who__inner { position: relative; }

/* the definition, before the qualifications */
.pbd-who__lead {
  margin: var(--s-md) 0 0; max-width: min(30ch, 100%);
  font-size: clamp(1.5rem, 3.2vw, 2.9rem);
  line-height: 1.28; font-weight: 300;
  color: var(--cream, #F4E8DA); text-wrap: balance;
  --p: clamp(0, calc((var(--rp, 0) - var(--t, 0)) * 5), 1);
  opacity: calc(0.24 + 0.76 * var(--p));
  transform: translateY(calc((1 - var(--p)) * 14px));
}
.pbd-who__lead em {
  font-style: normal; font-weight: 600;
  color: var(--gold, #C19A4B);
  position: relative;
}
.pbd-who__lead em::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px;
  border-radius: 1px;
  background: linear-gradient(90deg, var(--gold, #C19A4B), rgba(193, 154, 75, 0.25));
  transform: scaleX(var(--p, 1)); transform-origin: left center;
}

/* six more, in two columns */
.pbd-who__rows {
  list-style: none;
  margin: clamp(34px, 5.5vh, 60px) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(36px, 6vw, 92px);
}
.pbd-who__rows li {
  padding: clamp(18px, 2.8vh, 28px) 0;
  border-top: 1px solid rgba(220, 203, 180, 0.14);
  font-size: clamp(1.02rem, 1.4vw, 1.22rem); line-height: 1.55;
  color: rgba(244, 232, 218, 0.82); text-wrap: pretty;
  transition: opacity 320ms var(--ease), color 320ms var(--ease);
  --p: clamp(0, calc((var(--rp, 0) - var(--t, 0)) * 6), 1);
  opacity: calc(0.2 + 0.8 * var(--p));
  transform: translateY(calc((1 - var(--p)) * 12px));
}
/* the anaphora the whole passage is built on */
.pbd-who__rows b {
  font-weight: 700;
  color: var(--gold, #C19A4B);
  margin-right: 2px;
}
.pbd-who__rows i { font-style: italic; color: var(--cream, #F4E8DA); }
.pbd-who__rows:has(li:hover) li:not(:hover) { opacity: 0.34; }
.pbd-who__rows li:hover { color: var(--cream, #F4E8DA); }

@media (max-width: 760px) {
  .pbd-who__rows { grid-template-columns: minmax(0, 1fr); }
  .pbd-who__ghost { font-size: clamp(8rem, 46vw, 14rem); }
}
@media (prefers-reduced-motion: reduce) {
  .pbd-who__ghost { translate: -50% -50%; }
}

/* =========================================================================
   06 . RHYTHM . the arc of one day, and the week that closes
   ========================================================================= */
.pbd-rhythm { padding-block: var(--s-xxl); overflow: clip; }

/* the day, drawn as the arc it is */
.pbd-arc { margin-top: clamp(30px, 5vh, 54px); }
.pbd-arc svg { display: block; width: 100%; height: auto; overflow: visible; }
.pbd-arc__ground {
  stroke: rgba(122, 94, 32, 0.25); stroke-width: 1.4; stroke-linecap: round;
}
.pbd-arc__path {
  stroke: var(--gold, #C19A4B); stroke-width: 1.8; stroke-linecap: round;
  filter: drop-shadow(0 0 5px rgba(193, 154, 75, 0.3));
  stroke-dasharray: 100;
  stroke-dashoffset: calc((1 - clamp(0, calc((var(--rp, 0) - 0.04) * 2.6), 1)) * 100);
}
.pbd-arc__stop {
  fill: var(--paper, #FBF4E9);
  stroke: var(--gold-deep, #7A5E20); stroke-width: 1.6;
  --p: clamp(0, calc((var(--rp, 0) - var(--t, 0)) * 6), 1);
  opacity: calc(0.15 + 0.85 * var(--p));
}
/* the sun that crosses it, every day, forever */
.pbd-arc__sun {
  fill: var(--light-gold, #F3D88E);
  filter: drop-shadow(0 0 8px rgba(243, 216, 142, 0.9));
  offset-path: path('M150 130 C 330 10, 570 10, 750 130');
  animation: pbd-arc-sun 7s ease-in-out infinite 1.2s;
  opacity: 0;
}
@keyframes pbd-arc-sun {
  0%   { offset-distance: 0%;   opacity: 0; }
  10%  { opacity: 1; }
  88%  { opacity: 1; }
  100% { offset-distance: 100%; opacity: 0; }
}

/* three moments, each under its own stop on the arc */
.pbd-rhythm__day {
  margin-top: clamp(14px, 2.4vh, 22px);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 54px);
}
.pbd-hour {
  text-align: center;
  transition: opacity 320ms var(--ease);
  --p: clamp(0, calc((var(--rp, 0) - var(--t, 0)) * 6), 1);
  opacity: calc(0.22 + 0.78 * var(--p));
  transform: translateY(calc((1 - var(--p)) * 12px));
}
.pbd-hour h3 {
  margin: 0;
  font-size: 0.6875rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold-deep, #7A5E20);
}
.pbd-hour p {
  margin: 12px auto 0; max-width: min(36ch, 100%);
  font-size: clamp(0.95rem, 1.2vw, 1.06rem); line-height: 1.65;
  color: #5C5044; text-wrap: pretty;
}
.pbd-rhythm__day:has(.pbd-hour:hover) .pbd-hour:not(:hover) { opacity: 0.4; }

/* the week is not a fourth hour: it closes the three */
.pbd-week {
  margin-top: clamp(36px, 6vh, 64px);
  display: grid; grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(20px, 3vw, 40px); align-items: center;
  padding: clamp(22px, 3.4vh, 34px) clamp(22px, 3vw, 38px);
  border-left: 2px solid var(--gold-deep, #7A5E20);
  background: rgba(122, 94, 32, 0.05);
  --p: clamp(0, calc((var(--rp, 0) - var(--t, 0)) * 5), 1);
  opacity: calc(0.24 + 0.76 * var(--p));
  transform: translateY(calc((1 - var(--p)) * 14px));
}
/* seven marks: the week the prompts close */
.pbd-week__marks { display: flex; align-items: flex-end; gap: 5px; }
.pbd-week__marks i {
  display: block; width: 3px; border-radius: 2px;
  height: calc(14px + 3px * var(--i));
  background: var(--gold, #C19A4B);
  opacity: clamp(0, calc((var(--rp, 0) - 0.36 - var(--i) * 0.012) * 14), 1);
}
.pbd-week__body h3 {
  margin: 0;
  font-size: clamp(1.15rem, 1.7vw, 1.5rem); font-weight: 700;
  color: var(--ink);
}
.pbd-week__body p {
  margin: 8px 0 0; max-width: min(58ch, 100%);
  font-size: clamp(1rem, 1.3vw, 1.15rem); line-height: 1.65;
  color: #5C5044; text-wrap: pretty;
}

@media (max-width: 760px) {
  .pbd-rhythm__day { grid-template-columns: minmax(0, 1fr); gap: clamp(20px, 4vh, 30px); }
  .pbd-hour { text-align: left; }
  .pbd-hour p { margin-inline: 0; }
  .pbd-week { grid-template-columns: minmax(0, 1fr); gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .pbd-arc__sun { animation: none; opacity: 0; }
}

/* =========================================================================
   07 . FAITH . the private practice under the public day
   ========================================================================= */
.pbd-faith { background: var(--bg); padding-block: var(--s-xxl); position: relative; overflow: clip; }
.pbd-faith::before {
  content: ''; position: absolute; inset: auto -20% -35%; height: 80%;
  pointer-events: none;
  background: radial-gradient(50% 60% at 50% 100%, rgba(193, 154, 75, 0.1) 0%, transparent 70%);
  animation: pp-halo-breathe 9s ease-in-out infinite;
}
.pbd-faith__inner {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr);
  justify-items: center; text-align: center;
}
.pbd-faith__inner > * { max-width: 100%; }
.pbd-faith__body {
  margin-top: var(--s-md); max-width: min(56ch, 100%);
  font-size: clamp(1.02rem, 1.35vw, 1.2rem); line-height: 1.7;
  color: var(--ink-muted, #A79B8C); text-wrap: pretty;
}
.pbd-faith__body em { font-style: italic; color: var(--cream, #F4E8DA); }

/* three things faith does not do */
.pbd-denies {
  margin-top: clamp(34px, 5.5vh, 58px);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3.4vw, 44px);
  width: min(880px, 100%);
}
.pbd-deny {
  display: grid; gap: 8px; justify-items: center;
  transition: opacity 320ms var(--ease);
  --p: clamp(0, calc((var(--rp, 0) - var(--t, 0)) * 7), 1);
  opacity: calc(0.2 + 0.8 * var(--p));
  transform: translateY(calc((1 - var(--p)) * 12px));
}
.pbd-deny b {
  font-size: clamp(1.15rem, 1.9vw, 1.6rem); font-weight: 700;
  color: var(--gold, #C19A4B);
}
.pbd-deny span {
  font-size: clamp(0.95rem, 1.2vw, 1.06rem); line-height: 1.55;
  color: rgba(167, 155, 140, 0.9); text-wrap: pretty;
}
.pbd-denies:has(.pbd-deny:hover) .pbd-deny:not(:hover) { opacity: 0.4; }

/* the three converge into one */
.pbd-join { width: min(880px, 100%); margin-top: clamp(8px, 1.6vh, 16px); }
.pbd-join svg { display: block; width: 100%; height: auto; overflow: visible; }
.pbd-join__l {
  stroke: rgba(193, 154, 75, 0.45); stroke-width: 1.4; stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: calc((1 - clamp(0, calc((var(--rp, 0) - var(--t, 0)) * 6), 1)) * 100);
}
.pbd-join__node {
  fill: var(--gold, #C19A4B);
  filter: drop-shadow(0 0 6px rgba(193, 154, 75, 0.6));
  transform-box: fill-box; transform-origin: center;
  transform: scale(clamp(0, calc((var(--rp, 0) - 0.34) * 8), 1));
}

/* and the one thing it does */
.pbd-faith__gives {
  margin-top: clamp(14px, 2.4vh, 24px); max-width: min(46ch, 100%);
  font-size: clamp(1.2rem, 2vw, 1.7rem); line-height: 1.45; font-weight: 300;
  color: rgba(244, 232, 218, 0.9); text-wrap: pretty;
}
.pbd-faith__gives em {
  font-style: normal; font-weight: 600;
  color: var(--gold, #C19A4B);
}

/* the testimony that closes it */
.pbd-faith__verse {
  margin-top: clamp(32px, 5vh, 54px); max-width: min(48ch, 100%);
  padding-top: clamp(24px, 3.6vh, 36px);
  border-top: 1px solid rgba(220, 203, 180, 0.16);
}
.pbd-faith__verse em {
  font-style: italic; font-weight: 300;
  font-size: clamp(1.15rem, 1.75vw, 1.55rem); line-height: 1.55;
  color: var(--light-gold, #F3D88E); text-wrap: pretty;
}
.pbd-faith__verse i { font-style: italic; font-weight: 600; color: var(--cream, #F4E8DA); }

.pbd-faith.is-ride :is(.pbd-faith__body, .pbd-faith__gives, .pbd-faith__verse) {
  --p: clamp(0, calc((var(--rp, 0) - var(--t, 0)) * 5), 1);
  opacity: calc(0.22 + 0.78 * var(--p));
  transform: translateY(calc((1 - var(--p)) * 14px));
  filter: blur(calc((1 - var(--p)) * 4px));
}

@media (max-width: 900px) {
  .pbd-deny { opacity: 1; transform: none; }
  .pbd-join__l { stroke-dashoffset: 0; }
  .pbd-join__node { transform: scale(1); }
}
@media (max-width: 760px) {
  .pbd-denies { grid-template-columns: minmax(0, 1fr); gap: clamp(18px, 3.4vh, 26px); }
  .pbd-join { display: none; }
  .pbd-faith__gives { margin-top: clamp(26px, 4vh, 36px); }
}
@media (prefers-reduced-motion: reduce) {
  .pbd-faith::before { animation: none; }
}

/* =========================================================================
   08 . THE PATH . two books held on one rail
   ========================================================================= */
.pbd-path { background: var(--bg); padding-block: var(--s-xxl); overflow: clip; }
.pbd-path__inner { position: relative; }

.pbd-path__pair {
  margin-top: clamp(34px, 5.5vh, 62px);
  display: grid; align-items: start;
  grid-template-columns: minmax(0, 1fr) clamp(96px, 11vw, 150px) minmax(0, 1fr);
}

/* each book: a heading on a drawn rule, then the work it asks of you */
.pbd-path__book { transition: opacity 300ms var(--ease); }
.pbd-path__book h3 {
  margin: 0;
  font-size: clamp(1.25rem, 2vw, 1.75rem); font-weight: 700;
  letter-spacing: -0.01em; color: var(--cream, #F4E8DA);
}
.pbd-path__book h3::after {
  content: ''; display: block; height: 1px; margin-top: 14px;
  background: linear-gradient(90deg, var(--gold, #C19A4B) 0%, rgba(193, 154, 75, 0) 100%);
  transform: scaleX(var(--u, 1)); transform-origin: left;
}
.pbd-path__book ul {
  list-style: none; margin: clamp(16px, 2.4vh, 22px) 0 0; padding: 0;
  display: grid; gap: clamp(10px, 1.5vh, 15px);
}
.pbd-path__book li {
  position: relative; padding-left: 28px;
  font-size: clamp(0.98rem, 1.2vw, 1.08rem); line-height: 1.6;
  color: var(--ink-muted, #A79B8C); text-wrap: pretty;
  transition: color 260ms var(--ease);
}
.pbd-path__book li::before {
  content: ''; position: absolute; left: 0; top: 0.74em;
  width: 15px; height: 1px; background: var(--gold, #C19A4B);
  transform: scaleX(var(--u, 1)); transform-origin: left;
}

/* the tie: one rail between them, pointing both ways */
.pbd-path__tie { position: relative; align-self: stretch; min-height: 120px; }
.pbd-path__rail {
  position: absolute; left: 50%; top: 0; bottom: 0; width: 1px;
  transform: translateX(-50%) scaleY(var(--u, 1)); transform-origin: top;
  background: linear-gradient(180deg,
    rgba(220, 203, 180, 0) 0%, rgba(220, 203, 180, 0.26) 14%,
    rgba(220, 203, 180, 0.26) 86%, rgba(220, 203, 180, 0) 100%);
}
.pbd-path__both {
  position: absolute; left: 50%; top: 50%;
  width: min(100%, 132px); height: auto; overflow: visible;
  transform: translate(-50%, -50%);
}
.pbd-path__both path {
  fill: none; stroke: var(--gold, #C19A4B); stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
}
.pbd-path__both-line { stroke-dasharray: 100; stroke-dashoffset: 0; }
.pbd-path__spark {
  fill: var(--gold, #C19A4B); transform-box: view-box;
  filter: drop-shadow(0 0 5px rgba(193, 154, 75, 0.75));
  animation: pbd-path-shuttle 4.4s ease-in-out infinite alternate;
}
@keyframes pbd-path-shuttle { from { transform: translateX(0); } to { transform: translateX(88px); } }

/* the rail carries on past both books and lands on the statement */
.pbd-path__drop { position: relative; height: clamp(42px, 6.5vh, 76px); }
.pbd-path__drop::before {
  content: ''; position: absolute; left: 50%; top: 0; width: 1px; height: 100%;
  transform: translateX(-50%) scaleY(var(--u, 1)); transform-origin: top;
  background: linear-gradient(180deg, rgba(220, 203, 180, 0.26), rgba(193, 154, 75, 0.55));
}
.pbd-path__drop::after {
  content: ''; position: absolute; left: 50%; bottom: -5px; width: 9px; height: 9px;
  background: var(--gold, #C19A4B); box-shadow: 0 0 14px rgba(193, 154, 75, 0.5);
  transform: translateX(-50%) rotate(45deg) scale(var(--s, 1));
}

.pbd-path__line {
  position: relative; z-index: 1;
  margin: clamp(26px, 3.6vh, 38px) auto 0; max-width: min(54ch, 100%);
  text-align: center;
  font-size: clamp(1.1rem, 1.7vw, 1.45rem); line-height: 1.55; font-weight: 300;
  color: rgba(244, 232, 218, 0.88); text-wrap: pretty;
}
.pbd-path__line b { position: relative; font-weight: 600; color: var(--cream, #F4E8DA); }
.pbd-path__line b::after {
  content: ''; position: absolute; left: -0.05em; right: -0.05em; bottom: -0.16em; height: 2px;
  background: linear-gradient(90deg, var(--gold, #C19A4B), rgba(193, 154, 75, 0.3));
  transform: scaleX(var(--u, 1)); transform-origin: left;
}
.pbd-path__line em { font-style: normal; font-weight: 600; color: var(--gold, #C19A4B); }
.pbd-path__cta { margin: clamp(20px, 2.8vh, 30px) 0 0; text-align: center; }

/* scroll grammar, desktop only */
.pbd-path.is-ride .pbd-path__book h3::after { --u: clamp(0, calc((var(--rp, 0) - var(--t, 0)) * 4), 1); }
.pbd-path.is-ride .pbd-path__book li {
  --p: clamp(0, calc((var(--rp, 0) - var(--t, 0) - var(--i, 0) * 0.02) * 7), 1);
  --u: var(--p);
  opacity: calc(0.16 + 0.84 * var(--p));
  transform: translateY(calc((1 - var(--p)) * 9px));
}
.pbd-path.is-ride .pbd-path__rail { --u: clamp(0, calc((var(--rp, 0) - 0.06) * 3), 1); }
.pbd-path.is-ride .pbd-path__both-line {
  stroke-dashoffset: calc((1 - clamp(0, calc((var(--rp, 0) - 0.14) * 4), 1)) * 100);
}
.pbd-path.is-ride .pbd-path__both-tip,
.pbd-path.is-ride .pbd-path__spark { opacity: clamp(0, calc((var(--rp, 0) - 0.24) * 6), 1); }
.pbd-path.is-ride .pbd-path__drop::before { --u: clamp(0, calc((var(--rp, 0) - 0.28) * 5), 1); }
.pbd-path.is-ride .pbd-path__drop::after { --s: clamp(0, calc((var(--rp, 0) - 0.36) * 8), 1); }
.pbd-path.is-ride .pbd-path__line b::after { --u: clamp(0, calc((var(--rp, 0) - 0.42) * 6), 1); }
.pbd-path.is-ride :is(.pbd-path__line, .pbd-path__cta) {
  --p: clamp(0, calc((var(--rp, 0) - var(--t, 0)) * 5), 1);
  opacity: calc(0.2 + 0.8 * var(--p));
  transform: translateY(calc((1 - var(--p)) * 12px));
}

/* hover focus - declared after the reveal rules so it wins */
.pbd-path__pair:has(.pbd-path__book:hover) .pbd-path__book:not(:hover) { opacity: 0.4; }
.pbd-path__book:hover li { color: rgba(244, 232, 218, 0.92); }

@media (max-width: 860px) {
  .pbd-path__pair { grid-template-columns: minmax(0, 1fr); }
  .pbd-path__tie { align-self: center; min-height: 0; height: clamp(64px, 10vh, 86px); }
  .pbd-path__rail { display: none; }
  .pbd-path__both { width: 78px; transform: translate(-50%, -50%) rotate(90deg); }
}
@media (prefers-reduced-motion: reduce) {
  .pbd-path__spark { animation: none; }
}

/* =========================================================================
   09 . GROUPS . one, four times, every week
   ========================================================================= */
.pbd-groups { padding-block: var(--s-xxl); overflow: clip; }
.pbd-groups__inner {
  display: grid; align-items: start;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(40px, 6vw, 108px);
}

/* the case, on the left */
.pbd-groups__lead {
  margin: var(--s-md) 0 0; max-width: min(22ch, 100%);
  font-size: clamp(1.4rem, 2.3vw, 2rem); line-height: 1.3; font-weight: 300;
  color: var(--ink, #14100F); text-wrap: pretty;
}
.pbd-groups__lead em {
  position: relative; font-style: normal; font-weight: 600;
  color: var(--gold-deep, #7A5E20);
}
.pbd-groups__lead em::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -0.14em; height: 2px;
  background: linear-gradient(90deg, var(--gold, #C19A4B), rgba(122, 94, 32, 0.25));
  transform: scaleX(var(--u, 1)); transform-origin: left;
}
.pbd-groups__body {
  margin: clamp(18px, 2.6vh, 26px) 0 0; max-width: min(44ch, 100%);
  font-size: clamp(1rem, 1.28vw, 1.12rem); line-height: 1.7;
  color: #5C5044; text-wrap: pretty;
}
.pbd-groups__body b { font-weight: 600; color: var(--ink, #14100F); }
.pbd-groups__actions {
  grid-column: 1 / -1;
  margin-top: clamp(34px, 5vh, 58px);
  padding-top: clamp(24px, 3.4vh, 36px);
  border-top: 1px solid var(--hairline, #DCCBB4);
}

/* the model, on the right */
.pbd-groups__label {
  margin: 0.4em 0 0;
  font-size: 0.6875rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-deep, #7A5E20);
}
.pbd-groups__label::after {
  content: ''; display: block; height: 1px; margin-top: 14px;
  background: linear-gradient(90deg, rgba(122, 94, 32, 0.55) 0%, rgba(220, 203, 180, 0) 100%);
  transform: scaleX(var(--u, 1)); transform-origin: left;
}

.pbd-groups__list { position: relative; padding-left: clamp(28px, 3.2vw, 44px); margin-top: clamp(22px, 3vh, 32px); }
.pbd-groups__cycle {
  position: absolute; left: 0; top: 0.4em; bottom: -10px;
  width: clamp(17px, 1.9vw, 25px);
  border-left: 1px solid rgba(122, 94, 32, 0.45);
  border-bottom: 1px solid rgba(122, 94, 32, 0.45);
  border-bottom-left-radius: 15px;
  transform: scaleY(var(--u, 1)); transform-origin: bottom;
}
.pbd-groups__list::before {
  content: ''; position: absolute; left: -3.5px; top: calc(0.4em - 3px);
  width: 7px; height: 7px;
  border-left: 1px solid rgba(122, 94, 32, 0.6);
  border-top: 1px solid rgba(122, 94, 32, 0.6);
  transform: rotate(45deg) scale(var(--s, 1));
}

.pbd-groups__model ul {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: clamp(22px, 3.3vh, 38px);
}
.pbd-groups__model li {
  display: grid; align-items: baseline;
  grid-template-columns: clamp(50px, 5.4vw, 76px) minmax(0, 1fr);
  gap: clamp(8px, 1.2vw, 16px);
  transition: opacity 280ms var(--ease);
}
.pbd-groups__model li b {
  font-size: clamp(1.5rem, 2.4vw, 2.15rem); font-weight: 300; font-style: italic;
  line-height: 1; color: var(--gold-deep, #7A5E20);
  transition: color 260ms var(--ease);
}
.pbd-groups__model li span {
  font-size: clamp(1.02rem, 1.35vw, 1.18rem); line-height: 1.55;
  color: var(--ink, #14100F); text-wrap: pretty;
}

/* scroll grammar, desktop only */
.pbd-groups.is-ride .pbd-groups__label::after { --u: clamp(0, calc((var(--rp, 0) - 0.04) * 5), 1); }
.pbd-groups.is-ride .pbd-groups__lead em::after { --u: clamp(0, calc((var(--rp, 0) - 0.02) * 5), 1); }
.pbd-groups.is-ride .pbd-groups__cycle { --u: clamp(0, calc((var(--rp, 0) - 0.1) * 3), 1); }
.pbd-groups.is-ride .pbd-groups__list::before { --s: clamp(0, calc((var(--rp, 0) - 0.4) * 8), 1); }
.pbd-groups.is-ride .pbd-groups__model li {
  --p: clamp(0, calc((var(--rp, 0) - var(--t, 0)) * 6), 1);
  opacity: calc(0.26 + 0.74 * var(--p));
  transform: translateX(calc((1 - var(--p)) * 16px));
}

/* hover focus - declared after the reveal rules so it wins */
.pbd-groups__model ul:has(li:hover) li:not(:hover) { opacity: 0.42; }
.pbd-groups__model li:hover b { color: var(--gold, #C19A4B); }

@media (max-width: 900px) {
  .pbd-groups__inner { grid-template-columns: minmax(0, 1fr); gap: clamp(38px, 6vh, 58px); }
  .pbd-groups__lead { max-width: min(26ch, 100%); }
}
@media (max-width: 560px) {
  .pbd-groups__model li { grid-template-columns: clamp(42px, 12vw, 58px) minmax(0, 1fr); }
}

/* =========================================================================
   10 . PREORDER . the date, stamped
   ========================================================================= */
.pbd-preorder { background: #5F241C; padding-block: var(--s-xxl); position: relative; overflow: clip; }
.pbd-preorder::before {
  content: ''; position: absolute; inset: auto -20% -35%; height: 80%;
  pointer-events: none;
  background: radial-gradient(50% 60% at 50% 100%, rgba(243, 216, 142, 0.14) 0%, transparent 70%);
  animation: pp-halo-breathe 8s ease-in-out infinite;
}
.pbd-preorder__inner { position: relative; display: grid; justify-items: center; text-align: center; }
.pbd-preorder .pp-eyebrow { color: #F3D88E; }
.pbd-preorder .pp-h2 { color: #F4E8DA; max-width: min(24ch, 100%); }
.pbd-preorder__line {
  margin: var(--s-md) 0 0; max-width: min(44ch, 100%);
  font-size: clamp(1.05rem, 1.5vw, 1.3rem); line-height: 1.6; font-weight: 300;
  color: rgba(244, 232, 218, 0.85); text-wrap: pretty;
}
.pbd-preorder__line em { font-style: normal; font-weight: 500; color: #F3D88E; }

/* the plate: corner ticks, the date, the book */
.pbd-preorder__plate {
  --tick: rgba(243, 216, 142, 0.42);
  position: relative; z-index: 1; isolation: isolate;
  margin-top: clamp(32px, 5vh, 58px);
  width: min(820px, 100%);
  display: grid; align-items: center;
  grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr);
  gap: clamp(22px, 4vw, 54px);
  padding: clamp(26px, 4vh, 46px) clamp(18px, 3vw, 42px);
}
.pbd-preorder__plate::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(var(--tick), var(--tick)) 0 0 / 20px 1px no-repeat,
    linear-gradient(var(--tick), var(--tick)) 0 0 / 1px 20px no-repeat,
    linear-gradient(var(--tick), var(--tick)) 100% 0 / 20px 1px no-repeat,
    linear-gradient(var(--tick), var(--tick)) 100% 0 / 1px 20px no-repeat,
    linear-gradient(var(--tick), var(--tick)) 0 100% / 20px 1px no-repeat,
    linear-gradient(var(--tick), var(--tick)) 0 100% / 1px 20px no-repeat,
    linear-gradient(var(--tick), var(--tick)) 100% 100% / 20px 1px no-repeat,
    linear-gradient(var(--tick), var(--tick)) 100% 100% / 1px 20px no-repeat;
}

.pbd-preorder__date { display: grid; justify-items: center; gap: 4px; }
.pbd-preorder__m, .pbd-preorder__y {
  font-size: clamp(0.7rem, 0.92vw, 0.82rem); font-weight: 700;
  letter-spacing: 0.3em; text-indent: 0.3em; text-transform: uppercase;
  color: rgba(243, 216, 142, 0.82);
}
.pbd-preorder__d {
  font-size: clamp(5rem, 11vw, 9.5rem); font-weight: 700; line-height: 0.9;
  letter-spacing: -0.03em;
  background: linear-gradient(100deg, #F3D88E 0%, #FBF4E9 40%, #C19A4B 56%, #F3D88E 100%);
  background-size: 260% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: pbd-preorder-sheen 7s linear infinite;
}
@keyframes pbd-preorder-sheen {
  from { background-position: 0% 50%; }
  to { background-position: -260% 50%; }
}

.pbd-preorder__rule {
  justify-self: center; align-self: center;
  width: 1px; height: min(78%, 190px);
  background: linear-gradient(180deg, rgba(243, 216, 142, 0) 0%, rgba(243, 216, 142, 0.34) 50%, rgba(243, 216, 142, 0) 100%);
}

.pbd-preorder__cover { position: relative; margin: 0; justify-self: center; width: min(232px, 100%); }
.pbd-preorder__cover img {
  display: block; width: 100%; height: auto;
  filter: drop-shadow(0 22px 44px rgba(0, 0, 0, 0.6));
  transform: rotate(-2.5deg);
  transition: transform 420ms var(--ease), filter 420ms var(--ease);
}
.pbd-preorder__cover:hover img {
  transform: rotate(0deg) translateY(-8px) scale(1.03);
  filter: drop-shadow(0 30px 56px rgba(0, 0, 0, 0.68));
}
.pbd-preorder__cover::after {
  content: ''; position: absolute; inset: -14% -20%; z-index: -1; pointer-events: none;
  background: radial-gradient(50% 50% at 50% 50%, rgba(243, 216, 142, 0.16), transparent 70%);
}

.pbd-preorder__actions { margin-top: clamp(30px, 4.4vh, 48px); justify-content: center; }
.pbd-preorder .btn--ghost { border-color: rgba(243, 216, 142, 0.4); color: #F4E8DA; }
.pbd-preorder .btn--ghost:hover { border-color: #F3D88E; color: #F3D88E; }
.pbd-preorder__helper {
  margin: var(--s-md) auto 0; max-width: min(62ch, 100%);
  font-size: clamp(0.82rem, 0.95vw, 0.9rem); line-height: 1.6;
  color: rgba(244, 232, 218, 0.55); text-wrap: pretty;
}

@media (max-width: 720px) {
  .pbd-preorder__plate {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(22px, 3.6vh, 32px);
    padding: clamp(24px, 3.6vh, 34px) clamp(16px, 4vw, 28px);
  }
  .pbd-preorder__rule {
    width: min(58%, 220px); height: 1px;
    background: linear-gradient(90deg, rgba(243, 216, 142, 0) 0%, rgba(243, 216, 142, 0.34) 50%, rgba(243, 216, 142, 0) 100%);
  }
  .pbd-preorder__cover { width: min(190px, 60%); }
}
@media (prefers-reduced-motion: reduce) {
  .pbd-preorder__d { animation: none; }
  .pbd-preorder::before { animation: none; }
}

/* =========================================================================
   11 . LAUNCH LIST . a line to sign
   ========================================================================= */
.pbd-launch { padding-block: var(--s-xxl); overflow: clip; }
.pbd-launch__inner { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
.pbd-launch__inner > * { max-width: 100%; }
.pbd-launch__sub {
  margin: var(--s-md) 0 0; max-width: min(50ch, 100%);
  font-size: clamp(1rem, 1.3vw, 1.15rem); line-height: 1.7;
  color: #5C5044; text-wrap: pretty;
}
.pbd-launch__sub b { font-weight: 500; color: var(--ink, #14100F); }

/* the field is a line, not a box */
.pbd-launch__form {
  margin-top: clamp(32px, 5vh, 54px);
  display: flex; align-items: center; gap: clamp(12px, 2vw, 22px);
  width: min(620px, 100%);
}
.pbd-launch__form .screen-reader-text {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  padding: 0; border: 0; overflow: hidden; white-space: nowrap;
  clip-path: inset(50%);
}
.pbd-launch__field {
  position: relative; flex: 1 1 auto; min-width: 0;
  display: flex; align-items: center; gap: clamp(10px, 1.4vw, 16px);
  padding: 0 0 14px;
}
.pbd-launch__field::before {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: rgba(122, 94, 32, 0.34);
}
.pbd-launch__field::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: linear-gradient(90deg, var(--gold-deep, #7A5E20), var(--gold, #C19A4B));
  transform: scaleX(0); transform-origin: left;
  transition: transform 460ms var(--ease);
}
.pbd-launch__form:focus-within .pbd-launch__field::after { transform: scaleX(1); }
.pbd-launch__tick { flex: 0 0 auto; width: 16px; height: 1px; background: var(--gold-deep, #7A5E20); }
.pbd-launch__form input {
  flex: 1 1 auto; min-width: 0;
  border: 0; outline: 0; background: none;
  font: inherit; font-size: clamp(1.02rem, 1.5vw, 1.22rem);
  color: var(--ink, #14100F);
  padding: 6px 0;
}
.pbd-launch__form input::placeholder { color: #8A7C6B; }
.pbd-launch__form .btn { flex: 0 0 auto; }
.pbd-launch__helper {
  margin: 16px 0 0;
  font-size: clamp(0.8rem, 0.95vw, 0.88rem);
  color: #8A7C6B;
}

/* =========================================================================
   12 . CLOSING . days that look the same
   ========================================================================= */
.pbd-close { background: #0A0807; padding-block: var(--s-xxl); position: relative; overflow: clip; }
.pbd-close::before {
  content: ''; position: absolute; inset: auto -20% -35%; height: 80%;
  pointer-events: none;
  background: radial-gradient(50% 60% at 50% 100%, rgba(193, 154, 75, 0.13) 0%, transparent 70%);
  animation: pp-halo-breathe 8s ease-in-out infinite;
}
.pbd-close__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
.pbd-close__inner > * { max-width: 100%; }
.pbd-close .pp-h2 { max-width: min(24ch, 100%); }

/* a run of identical days, with today moving through them */
.pbd-close__days {
  position: relative; overflow: hidden;
  margin-top: clamp(30px, 4.6vh, 50px);
  width: min(720px, 100%); height: 30px;
  background: repeating-linear-gradient(90deg, rgba(244, 232, 218, 0.17) 0 1px, transparent 1px 20px);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
}
.pbd-close__days::after {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(90deg, rgba(193, 154, 75, 0.95) 0 1px, transparent 1px 20px);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 50%, transparent 100%);
  -webkit-mask-size: 28% 100%; -webkit-mask-repeat: no-repeat;
          mask-image: linear-gradient(90deg, transparent 0%, #000 50%, transparent 100%);
          mask-size: 28% 100%; mask-repeat: no-repeat;
  animation: pbd-close-today 9s linear infinite;
}
@keyframes pbd-close-today {
  from { -webkit-mask-position: -32% 0; mask-position: -32% 0; }
  to   { -webkit-mask-position: 132% 0; mask-position: 132% 0; }
}

.pbd-close__body {
  margin: clamp(28px, 4.2vh, 44px) 0 0; max-width: min(48ch, 100%);
  font-size: clamp(1.02rem, 1.35vw, 1.2rem); line-height: 1.75;
  color: var(--ink-muted, #A79B8C); text-wrap: pretty;
}
.pbd-close__body em { font-style: normal; font-weight: 500; color: var(--light-gold, #F3D88E); }
.pbd-close__actions { margin-top: var(--s-lg); justify-content: center; }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 900px) {
  .pbd-hero__inner { grid-template-columns: 1fr; }
  .pbd-hero__blueprint { display: none; }
  .pbd-hero__art { min-height: 0; margin-top: var(--s-md); }
  .pbd-hero__cover { width: min(76%, 320px); translate: 0 0; }
  .pbd-hero__num { font-size: clamp(7rem, 34vw, 12rem); }
  .pbd-return__inner, .pbd-groups__inner { grid-template-columns: 1fr; gap: var(--s-lg); }
  .pbd-return__rail { position: static; }
  .pbd-loop { width: min(52%, 150px); }
  .pbd-inside__inner { grid-template-columns: 1fr; gap: var(--s-lg); }
  .pbd-inside__rail { position: static; }
  .pbd-ring { width: min(72%, 250px); }
  .pbd-rhythm__cols { grid-template-columns: 1fr 1fr; }
  .pbd-rhythm__stop text { font-size: 18px; letter-spacing: 0.08em; }
}
@media (max-width: 560px) {
  .pbd-rhythm__cols { grid-template-columns: 1fr; }
  .pbd-launch__form { flex-direction: column; align-items: stretch; gap: 18px; }
  .pbd-launch__field { width: 100%; padding-bottom: 12px; }
  .pbd-launch__form input { width: 100%; padding: 8px 0; }
  .pbd-launch__form .btn { width: 100%; }
}

/* =========================================================================
   REDUCED MOTION
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
  .pbd-hero::before, .pbd-faith::before, .pbd-preorder::before, .pbd-close::before { animation: none; }
  .pbd-hero__l i { animation: none; }
  .pbd-b { animation: none; stroke-dashoffset: 0; }
  .pbd-hero__cover { animation: none; }
  .pbd-preorder__cover img { transition: none; }
  .pbd-close__days::after { animation: none; }
  .pbd-hero__inner, .pbd-hero__art { translate: none; }
  .js .pbd-hero__title.reveal .pbd-hero__l i { translate: none; transition: none; }
}

/* pf-hero-title-mobile: the single long word must fit a phone */
@media (max-width: 640px) {
  .pbd-hero__title { font-size: clamp(1.85rem, 8.6vw, 2.7rem); }
}
