/* Childlike Media — the page template
   Every page that is not the home. It opens as the home does: a full-bleed picture on the night
   with the haze's gradient and the title in the wordmark's stacked capitals. Then the ground
   turns to bone at once (no gradient between: the user cut the dawn), and the rest of the page is the
   home's own vocabulary set for light, without small-caps labels: titles in light Jost, pictures in the
   14 px rounded frame, hairline rows, the outlined capitals pill. Little motion: nothing is pinned
   or scrubbed; things fade up once as they arrive.

   The pieces:  .ph          the hero (night)
                .page__light the light part, from under the hero to the foot; carries data-light so the
                             mark and the menu ring go to ink over it (js/menu.js)
                .band        a section: the title above, the body (prose, pictures, lists) beneath it
                             across the full width (.body--split for two halves); bands alternate
                             bone and sage (.band--sage)
                .cycle       a frame that turns through photographs of the set (js/gn-page.js)
                .prose       running text, with .quote for a pulled line in the book's serif
                .vols        the three volumes as cloth covers in a row; under the pointer a cover turns
                             through stills from its part of the story; the text beneath
                .wall        a wall of stills that keeps changing (js/gn-page.js);  .eps  a grid of film episodes
                .cta         the closing ask, centred, with .btn
                .rv          anything that fades up as it arrives (.rv-group staggers its children) */

.page {
  /* the light part's tokens */
  --bone: #efe9dc;
  --ink: #1d2a22;
  --ink-soft: rgba(29, 42, 34, 0.76);
  --ink-dim: rgba(29, 42, 34, 0.5);
  --ink-rule: rgba(29, 42, 34, 0.14);
  --gold-deep: #9c7a46; /* the gold, deepened to read on bone */
  --frame: 14px;
  --sage-bg: #c3cdc5; /* the second volume's sage, lifted toward cream: the alternate ground */
  background: var(--night);
}
.page__main {
  position: relative;
  z-index: 1;
  font-family: Jost, system-ui, sans-serif;
  font-weight: 300;
}


/* ---------- the hero, on the night ---------- */
.ph {
  position: relative;
  isolation: isolate;
  min-height: 92svh;
  display: grid;
  align-content: end;
  padding: calc(clamp(20px, 2.6vw, 40px) + 80px) var(--gutter) clamp(56px, 9vh, 110px);
  overflow: hidden;
  color: var(--tan);
}
/* a page with no picture (the legal page): the title on the night, without the tall hero */
.ph.ph--plain { min-height: 0; padding-top: clamp(132px, 22vh, 240px); padding-bottom: clamp(36px, 6vh, 72px); }
.ph__img { position: absolute; inset: 0; z-index: -1; }
.ph__img img,
.ph__img video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
  filter: saturate(0.9) brightness(0.9);
}
.ph__img::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, var(--night) 0%, rgba(7, 17, 11, 0.62) 28%, rgba(7, 17, 11, 0) 60%),
    linear-gradient(to bottom, rgba(7, 17, 11, 0.45), rgba(7, 17, 11, 0) 28%);
}
.ph__title {
  margin: 0 0 clamp(18px, 2.6vh, 30px);
  font-weight: 200;
  font-size: clamp(2.1rem, 6.2vw, 6.2rem);
  line-height: 1.02;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
.ph__title span { display: block; margin-right: -0.3em; }
.ph__sub {
  max-width: 34em;
  margin: 0;
  font-size: clamp(1rem, 1.25vw, 1.2rem);
  line-height: 1.6;
  color: var(--tan-soft);
}

/* ---------- the light part ---------- */
.page__light { position: relative; background: var(--bone); color: var(--ink); }
.band {
  position: relative;
  padding: clamp(72px, 10vh, 130px) var(--gutter);
}
.band--sage { background: var(--sage-bg); }
.band__body > * + * { margin-top: clamp(36px, 5vh, 64px); }
.body--split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 96px);
  align-items: start;
}
.band__title {
  /* the hero's title treatment, at the band's scale: light Jost, wide-tracked capitals */
  margin: 0 0 clamp(28px, 4vh, 48px);
  font-weight: 200;
  font-size: clamp(1.4rem, 2.6vw, 2.4rem);
  line-height: 1.2;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
.band__title em { font-style: italic; }
.band__lead { margin: 0 0 28px; max-width: 30em; font-size: clamp(1.05rem, 1.3vw, 1.25rem); line-height: 1.6; color: var(--ink-soft); }

.prose p {
  margin: 0;
  max-width: 40em;
  font-size: clamp(1rem, 1.15vw, 1.125rem);
  line-height: 1.75;
  color: var(--ink-soft);
}
.prose p + p { margin-top: 1.3em; }
.prose strong { font-weight: 400; color: var(--ink); }
.prose--line p { max-width: none; } /* the film series intro: two sentences meant to sit on one line from laptop widths up */
.prose a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  text-decoration-color: rgba(156, 122, 70, 0.6);
  transition: text-decoration-color 0.3s;
}
.prose a:hover { text-decoration-color: var(--gold-deep); }
.quote {
  margin: clamp(28px, 4vh, 44px) 0;
  padding: 0 0 0 clamp(18px, 2vw, 28px);
  border-left: 1px solid var(--gold-deep);
  font-family: 'EB Garamond', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.25rem, 1.7vw, 1.6rem);
  line-height: 1.45;
  color: var(--ink);
  max-width: 30em;
}
.quote cite {
  display: block;
  margin-top: 0.7em;
  font-family: Jost, system-ui, sans-serif;
  font-style: normal;
  font-size: 0.95rem;
  color: var(--ink-dim);
}

/* ---------- the photographs of the set: one frame that turns through them ---------- */
.cycle {
  position: relative;
  aspect-ratio: 3 / 2;
  border-radius: var(--frame);
  overflow: hidden;
  background: var(--night);
  box-shadow: 0 24px 50px rgba(40, 30, 10, 0.14);
}
.cycle__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.4s ease;
}
.cycle__img.is-on { opacity: 1; }
.cycle__ticks { display: flex; gap: 8px; margin-top: 16px; }
.cycle__ticks span { width: 28px; height: 1px; background: var(--ink-rule); transition: background 0.6s; cursor: pointer; }
.cycle__ticks span.is-on { background: var(--gold-deep); }
.shots__row { margin-top: 28px; justify-content: flex-start; }

/* ---------- the three volumes: cloth covers in a row, each one's text beneath ---------- */
.vols {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.6vw, 44px);
}
/* the covers themselves, flat and as books (.vol--i/ii/iii, .vol__cover, .vols--books …), are in css/books.css,
   which the home page uses too (its Grand Narrative offer; 2026-11-21) */

/* hidden from sight, kept for assistive technology (and the contact form's honeypot). Every property
   that could give it a size is pinned: a form's own input rules (width, padding) are more specific
   than a single class and stretched the honeypot to the form's width, off the edge of the page */
.vh {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}
.vol__body { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--ink-rule); }
.vol__span { margin: 0 0 12px; font-family: 'EB Garamond', Georgia, serif; font-style: italic; font-size: 1.1rem; color: var(--ink-dim); }
.vol__desc { margin: 0; font-size: 0.98rem; line-height: 1.65; color: var(--ink-soft); }
.vol__avail { margin: 14px 0 0; font-size: 0.95rem; color: var(--gold-deep); }

/* ---------- pictures, in the home's frame ---------- */
.fig { margin: 0; }
.fig img { display: block; width: 100%; height: auto; border-radius: var(--frame); box-shadow: 0 24px 50px rgba(40, 30, 10, 0.14); }
.fig figcaption { margin-top: 14px; font-size: 0.95rem; color: var(--ink-dim); }
.fig--open { position: relative; display: block; color: inherit; text-decoration: none; }
.fig--open .fig__frame { position: relative; display: block; border-radius: var(--frame); overflow: hidden; box-shadow: 0 24px 50px rgba(40, 30, 10, 0.14); }
.fig--open img { border-radius: 0; box-shadow: none; transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1); }
.fig--open:hover img { transform: scale(1.025); }
.fig__open {
  /* the home's outlined capitals pill, over the picture */
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 13px 24px;
  border: 1px solid rgba(242, 232, 210, 0.7);
  border-radius: 999px;
  background: rgba(7, 17, 11, 0.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--tan);
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  transition: background 0.4s, border-color 0.4s;
}
.fig--open:hover .fig__open { background: rgba(7, 17, 11, 0.48); border-color: var(--tan); }
.fig__cap { display: block; margin-top: 14px; font-size: 0.95rem; color: var(--ink-dim); }

/* the reader (js/book.js, styled in site.css) rides along: its wrapper takes none of the home's night */
.page .gn { position: static; z-index: auto; background: none; color: inherit; }
.page .gn__stage { color: var(--tan); }
.strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}
.strip img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: calc(var(--frame) - 4px); filter: saturate(0.9); }

/* ---------- the illustrations: a wall of stills that keeps changing ---------- */
.wall {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.wall__tile {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: calc(var(--frame) - 4px);
  overflow: hidden;
  background: var(--night);
}
.wall__tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  filter: saturate(0.9);
  transition: opacity 1.1s ease;
}
.wall__tile img.is-on { opacity: 1; }

/* ---------- the illustrations as a row of plates ----------
   Everything here is behind .pics--row on the section (grand-narrative.html): with it, the wall is put away, a row
   of the book's own portrait plates runs edge to edge and is drawn sideways, and the two paragraphs sit beneath
   it side by side. Without it the row and its arrows are not shown and the section is the wall beside the text. */
.rail, .rail__nav { display: none; }
.pics:not(.pics--row) .band__body > .rail + * { margin-top: 0; } /* the hidden row leaves no gap above the wall */
.pics--row .wall { display: none; }
.pics--row .pics__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.pics--row .rail__nav { display: flex; gap: 10px; flex: none; margin-top: -4px; }
.rail__btn {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(29, 42, 34, 0.3);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 18px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: opacity 0.4s ease, border-color 0.4s ease, background-color 0.4s ease;
}
.rail__btn:hover { border-color: var(--ink); background: rgba(29, 42, 34, 0.06); }
.rail__btn:disabled { opacity: 0.25; pointer-events: none; }
.rail__btn span { display: block; transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.rail__btn--next:hover span { transform: translateX(3px); }
.rail__btn--prev:hover span { transform: translateX(-3px); }
.pics--row .rail {
  display: block;
  margin-inline: calc(-1 * var(--gutter)); /* out to both edges of the screen */
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  overscroll-behavior-x: contain; /* reaching the end does not turn into the browser's swipe back */
  cursor: grab;
}
.rail::-webkit-scrollbar { display: none; }
.rail.is-held { cursor: grabbing; }
/* with the script running the row is moved by a transform, not by scrolling, so it can drift smoothly and go round
   without end; sideways touches are the script's, up-and-down ones still scroll the page */
.rail.is-loop { overflow: hidden; touch-action: pan-y; -webkit-user-select: none; user-select: none; }
.rail.is-loop .rail__track { will-change: transform; }
.rail:focus-visible { outline: 1px solid var(--gold-deep); outline-offset: -1px; }
.rail__track {
  display: flex;
  gap: clamp(10px, 1.2vw, 18px);
  width: max-content;
  margin: 0;
  padding: 4px var(--gutter) 40px; /* the first plate starts on the page's margin; room beneath for the shadows */
  list-style: none;
}
.plate {
  flex: none;
  height: clamp(380px, 62vh, 640px);
  aspect-ratio: 3 / 4;
  border-radius: calc(var(--frame) - 4px);
  overflow: hidden;
  background: #26302a;
  box-shadow: 0 18px 34px rgba(40, 30, 10, 0.18);
}
.plate img { display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-select: none; user-select: none; -webkit-user-drag: none; }
.pics--row .band__body > .rail + * { margin-top: clamp(10px, 2vh, 26px); }
.pics--row .body--split { display: block; }
.pics--row .prose { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 5vw, 96px); align-items: start; }
.pics--row .prose p + p { margin-top: 0; }
@media (max-width: 900px) {
  .pics--row .rail__nav { display: none; }
  .pics--row .prose { grid-template-columns: 1fr; gap: 1.3em; }
  .plate { height: auto; width: 72vw; max-width: 340px; }
  .rail__track { padding-bottom: 32px; }
}
@media (hover: none) { .pics--row .rail__nav { display: none; } }
@media (prefers-reduced-motion: reduce) { .rail__btn, .rail__btn span { transition: none; } }

/* ---------- film episodes ---------- */
.eps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
}
/* (the grid's own margin: 0 cancelled the gap a band gives its parts, so the line that introduces
   the episodes sat on them: the gap is given back, a little closer than between unrelated parts) */
.band__body > * + .eps { margin-top: clamp(26px, 3.6vh, 40px); }
.ep a { display: block; color: inherit; text-decoration: none; }
.ep__thumb { position: relative; aspect-ratio: 16 / 9; border-radius: calc(var(--frame) - 4px); overflow: hidden; background: #0a1a10; }
.ep__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
}
.ep a:hover .ep__thumb img { transform: scale(1.035); filter: brightness(1.06); }
.ep__n { margin: 14px 0 4px; font-size: 0.9rem; color: var(--gold-deep); }
.ep__t { margin: 0; font-size: 1rem; line-height: 1.35; color: var(--ink); }
.ep__d { margin: 5px 0 0; font-size: 0.9rem; color: var(--ink-dim); }

/* ---------- the closing ask ---------- */
.cta { text-align: center; padding: clamp(80px, 12vh, 150px) var(--gutter); }
.cta__title {
  margin: 0 0 18px;
  font-weight: 200;
  font-size: clamp(1.4rem, 2.6vw, 2.4rem);
  line-height: 1.2;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
.cta__title em { font-style: italic; }
.cta__text { max-width: 36em; margin: 0 auto 34px; line-height: 1.7; color: var(--ink-soft); }
.cta__row { display: flex; gap: 14px 32px; justify-content: center; align-items: center; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: 15px 30px;
  border: 1px solid rgba(29, 42, 34, 0.45);
  border-radius: 999px;
  color: var(--ink);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  transition: border-color 0.4s, color 0.4s;
}
.btn:hover { border-color: var(--gold-deep); color: var(--gold-deep); }
/* the quiet button is a word with a short rule beneath it, which runs its full width on hover,
   as the home page's See inside does; no pill outline (the .btn hover's border stays off) */
.btn--quiet,
.btn--quiet:hover {
  border-color: transparent;
  color: var(--ink);
}
.btn--quiet {
  position: relative;
  padding-left: 0;
  padding-right: 0;
}
.btn--quiet::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0.3em; /* the tracking after the last letter */
  bottom: 11px;
  height: 1px;
  background: var(--gold-deep);
  transform: scaleX(0.35);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out);
}
.btn--quiet:hover::after { transform: scaleX(1); }

/* ---------- the foot, on the light ground ---------- */
.page .foot { background: var(--bone); color: var(--ink); border-top: 1px solid var(--ink-rule); }
.page .foot--sage { background: var(--sage-bg); } /* set by js/page.js when the last band is bone, so the foot never matches it */
.band__title[id], .cta__title[id] { scroll-margin-top: clamp(80px, 12vh, 120px); }
.page .foot a { color: var(--ink-soft); }
.page .foot a:hover { color: var(--gold-deep); }
.page .foot__head, .page .foot__values, .page .foot__base { color: var(--ink-dim); }
.page .foot__base a:hover { color: var(--gold-deep); }
/* the foot carries the kit's black logo file on the light pages, as the kit directs; a sage/bone
   tint was tried on 2026-11-08 and reverted the same day */

/* ---------- a creed: each article a row, its name at the left, its text at the right ---------- */
.creed { margin: 0; }
.creed__row {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
  gap: clamp(16px, 4vw, 72px);
  padding: clamp(22px, 3.2vh, 36px) 0;
  border-top: 1px solid var(--ink-rule);
}
.creed__row:first-child { border-top: 0; padding-top: 0; }
.creed__row:last-child { padding-bottom: 0; }
.creed__head {
  /* the article's name in the hero's capitals */
  margin: 0;
  padding-top: 0.15em;
  font-weight: 200;
  font-size: clamp(1.15rem, 1.9vw, 1.7rem);
  line-height: 1.25;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink);
}
.creed__credit { margin: clamp(28px, 4vh, 44px) 0 0; font-size: 0.95rem; color: var(--ink-dim); }
.creed__credit a { color: inherit; text-decoration: underline; text-underline-offset: 0.2em; text-decoration-color: rgba(156, 122, 70, 0.6); }

/* ---------- contact: the address large, the places to follow as hairline rows, the letter's form ---------- */
.band--contact { position: relative; }
.contact { max-width: 36em; margin: 0 auto; }
.contact__label { margin: 0 0 4px; font-size: 0.95rem; color: var(--ink-dim); }
.mail {
  display: inline-block;
  margin: 0 0 14px;
  font-weight: 300;
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  line-height: 1.2;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--gold-deep);
  transition: color 0.3s;
  word-break: break-word;
}
.mail:hover { color: var(--gold-deep); }
.links { list-style: none; margin: 0; padding: 0; }
.links li { border-top: 1px solid var(--ink-rule); }
.links li:first-child { border-top: 0; }
.links a {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  color: var(--ink);
  text-decoration: none;
  font-size: 1.05rem;
  transition: color 0.3s;
}
.links a span:last-child { color: var(--ink-dim); transition: color 0.3s; }
.links a:hover, .links a:hover span:last-child { color: var(--gold-deep); }
/* the contact form: underlined fields, the home's pill to send */
.form { margin-top: 10px; }
.form label { display: block; margin-top: 22px; font-size: 0.95rem; color: var(--ink-dim); }
.form label span { color: var(--gold-deep); margin-left: 2px; }
.form input, .form textarea {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin-top: 6px;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid rgba(29, 42, 34, 0.35);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 1.05rem;
  transition: border-color 0.3s;
}
.form textarea { resize: vertical; min-height: 7em; }
.form input:focus, .form textarea:focus { outline: none; border-bottom-color: var(--gold-deep); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.form .btn { margin-top: 30px; cursor: pointer; background: transparent; font-family: inherit; }
.form__thanks { margin: 0 0 8px; font-size: 1rem; color: var(--gold-deep); }
.icons { display: flex; flex-wrap: wrap; gap: 24px 34px; padding-top: 14px; }
.icons a { color: var(--ink); transition: color 0.3s, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
.icons a:hover { color: var(--gold-deep); transform: translateY(-2px); }
.icons svg { display: block; width: 30px; height: 30px; fill: currentColor; }
.icons--vert {
  /* a column halfway down the band and halfway across the space between the form's right edge
     (the centred 36em column ends at 50% + 18em) and the page's right edge */
  position: absolute;
  left: calc(75% + 9em);
  top: 50%;
  transform: translate(-50%, -50%);
  flex-direction: column;
  gap: 22px;
  padding-top: 0;
}
.icons--vert svg { width: 34px; height: 34px; }
.band--center { text-align: center; }
.band--center .band__title { margin-left: auto; margin-right: auto; font-size: clamp(0.95rem, 1.5vw, 1.3rem); }
.band--center .sub { max-width: 34em; margin: 0 auto; }
.sub__row { display: flex; gap: 12px; }
.sub input {
  flex: 1;
  min-width: 0;
  padding: 14px 20px;
  border: 1px solid rgba(29, 42, 34, 0.35);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.3s;
}
.sub input::placeholder { color: var(--ink-dim); }
.sub input:focus { outline: none; border-color: var(--gold-deep); }
.sub button.btn { cursor: pointer; background: transparent; font-family: inherit; }
.sub__note { margin: 14px 0 0; font-size: 0.95rem; line-height: 1.6; color: var(--ink-dim); }
.sub__note a { color: inherit; text-decoration: underline; text-underline-offset: 0.2em; text-decoration-color: rgba(156, 122, 70, 0.6); }

/* ---------- the Advent e-book (advent.html): its cover, and beside it the form that sends it ---------- */
.ebook { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 3.2vw, 48px); align-items: center; }
.ebook__cover { margin: 0; }
.ebook__cover img { display: block; width: 100%; height: auto; border-radius: 3px; box-shadow: 0 24px 50px rgba(40, 30, 10, 0.24), 0 2px 6px rgba(40, 30, 10, 0.18); }
.ebook__name { margin: 0; font-size: clamp(0.95rem, 1.15vw, 1.08rem); line-height: 1.5; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink); }
.ebook__line { margin: 10px 0 0; font-family: 'EB Garamond', Georgia, serif; font-style: italic; font-size: 1.15rem; line-height: 1.45; color: var(--ink-dim); }
.ebook__form { margin-top: 26px; }
.ebook .sub__row { flex-direction: column; align-items: stretch; } /* the address above its button: the column is narrow */
.ebook .sub__row .btn { align-self: flex-start; white-space: nowrap; }
.ebook__done { margin: 16px 0 0; font-size: 1rem; line-height: 1.6; color: var(--gold-deep); }
.ebook__done a { color: inherit; text-underline-offset: 0.2em; }
.ebook__alt { margin: 24px 0 0; }
/* where the column is too narrow for the cover and the form side by side (small laptops, where the button's words
   broke onto two lines; and phones), the cover stands above the form */
@media (min-width: 901px) and (max-width: 1260px), (max-width: 640px) {
  .ebook { grid-template-columns: 1fr; }
  .ebook__cover { max-width: 230px; }
}

/* ---------- the Advent page's collage (advent.html .nativity): a passage between two bands, with no title ----------
   The manger at the centre, four pictures at each side. The whole block keeps one shape (131 : 60), so the centre is
   a 3 : 4 plate and the eight at the sides come out close to it. */
.nativity__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.045fr) minmax(0, 1fr); /* THE CENTRE'S SHARE: the 1.045 */
  gap: clamp(8px, 1vw, 14px);
  aspect-ratio: 131 / 60;
}
.nativity__side { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: clamp(8px, 1vw, 14px); min-height: 0; }
.nativity__pic {
  position: relative;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border-radius: calc(var(--frame) - 4px);
  background: #26302a;
  box-shadow: 0 18px 34px rgba(40, 30, 10, 0.18);
}
.nativity__mid { box-shadow: 0 30px 60px rgba(40, 30, 10, 0.3); }
.nativity__pic img { display: block; width: 100%; height: 100%; object-fit: cover; transition: filter 1.1s ease, transform 1.2s cubic-bezier(0.16, 1, 0.3, 1); }
.nativity__pic:hover img { transform: scale(1.04); }
/* in shade until its turn (the script arms the section, then lights each picture; without the script all are lit) */
.nativity.is-armed .nativity__pic:not(.is-lit) img { filter: saturate(0.5) brightness(0.62); }
@media (max-width: 760px) {
  /* a phone: the four before as a row above the centre, the four after as a row beneath it */
  .nativity__grid { grid-template-columns: 1fr; aspect-ratio: auto; }
  .nativity__side { grid-template-columns: repeat(4, 1fr); grid-template-rows: auto; }
  .nativity__pic { aspect-ratio: 3 / 4; border-radius: 6px; box-shadow: 0 10px 20px rgba(40, 30, 10, 0.16); }
  .nativity__mid { border-radius: calc(var(--frame) - 4px); }
}
@media (prefers-reduced-motion: reduce) { .nativity__pic img { transition: none; } }

/* ---------- the legal disclosures (legal.html): small type, one column, conventional ---------- */
.legal { max-width: 62em; font-size: 0.8rem; line-height: 1.65; color: var(--ink-soft); }
.band__body.legal > * + * { margin-top: 0; }
.legal h2 { margin: 3.2em 0 0.3em; font-weight: 400; font-size: 0.82rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink); }
.legal h2:first-child { margin-top: 0; }
.legal h3 { margin: 1.5em 0 0.35em; font-weight: 400; font-size: 0.8rem; color: var(--ink); }
.legal p { margin: 0 0 0.75em; }
.legal__date { color: var(--ink-dim); }
.legal a { color: inherit; text-decoration: underline; text-underline-offset: 0.2em; text-decoration-color: rgba(156, 122, 70, 0.6); }

/* ---------- arrival ---------- */
.rv { opacity: 0; transform: translateY(16px); transition: opacity 1s ease, transform 1.1s cubic-bezier(0.16, 1, 0.3, 1); }
.rv.is-in { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .ph { min-height: 78svh; }
  .body--split { grid-template-columns: 1fr; gap: 28px; }
  .creed__row { grid-template-columns: 1fr; gap: 8px; }
  .sub__row { flex-direction: column; }
  .form__row { grid-template-columns: 1fr; }
  .icons { padding-top: 0; }
  .icons--vert { position: static; transform: none; flex-direction: row; justify-content: center; margin-top: 40px; }
  .body--split .shots, .body--split .wall { order: -1; } /* on a phone the picture still leads */
  .vols { grid-template-columns: 1fr; gap: 32px; }
  .vol { display: grid; grid-template-columns: 40% minmax(0, 1fr); gap: 18px; align-items: start; }
  .vol__body { margin-top: 0; padding-top: 0; border-top: 0; }
  .strip, .eps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  .ep__thumb img { transition: none; }
}

/* the cart drawer on the light pages: bone, ink, the deeper gold for the count */
.page .cart {
  --cart-bg: var(--bone);
  --cart-ink: var(--ink);
  --cart-soft: var(--ink-soft);
  --cart-dim: var(--ink-dim);
  --cart-rule: var(--ink-rule);
  --cart-btn: var(--ink);
  --cart-btn-ink: var(--bone);
}
.page .cart__scrim { background: rgba(29, 42, 34, 0.45); }
.page .cart__tab { border-color: rgba(29, 42, 34, 0.35); background: rgba(239, 233, 220, 0.75); color: var(--ink); }
.page .cart__tab:hover { border-color: var(--ink); }
.page .cart__count { background: var(--gold-deep); color: var(--bone); }
