/* Inspirations Given (development draft), set in the style of the Penyiar radio and podcast template kit (used here
   only as a visual reference; none of its files are used). Sections alternate between white and Penyiar's cream. Titles are
   Montserrat, bold, with every word capitalised on English pages; text is Noto Sans. The colours are the book cover's:
   the navy of its title and its bottom band, the gold of its "Given", and the cream. Buttons, play buttons, tags and
   round icons are filled navy, as the cover's band; on the navy bands they are the light gold, with navy words. Words
   are navy, cream or gold, and nothing else: no greys. The logo is the IG square beside "Inspirations Given".
   Page openings and two bands sit navy over a golden studio microphone. Reading pages (a vignette, a new inspiration)
   open instead on the cream, quieter, with their titles in Newsreader, a serif, as the book sets its titles. The vignettes are episode cards with a round
   play button, eight to a page on the long lists; the footer is cream, with the ways to read and hear the book on a
   white card above it.
   Breakpoints are in em and the page width in rem, so a reader who sets a larger text size in the browser gets the
   layout the page has when zoomed: 75em is 1200 px at the usual 16 px text, and 1500 px with 20 px text. */

:root {
  --paper: #FFFFFF;        /* the page */
  --paper-deep: #FFFBF2;   /* Penyiar's cream: every other section, the header and the footer */
  --card: #FFFFFF;         /* cards and form fields */
  --card-soft: #FFFDF9;    /* the footer's card, a shade warmer than white */
  --wave-ink: rgba(12, 25, 48, 0.1);   /* the contour lines on that card */
  /* The book cover's colours */
  --navy: #0C1930;         /* the cover's title */
  --navy-band: #071E36;    /* the cover's bottom band */
  --gold: #8B6B2E;         /* the cover's gold, a shade deeper so small words in it are easy to read on the white and the cream */
  --gold-light: #D4B06A;   /* the cover's gold as it is, on the navy */
  /* Words come in three colours only: the navy, the cream, and the gold (--accent, or --accent-on-dark on the navy). */
  --text-dark: var(--navy);   /* on the white and the cream: 17:1 */
  --text-light: #FFFBF2;   /* the cream: on the navy bands, bars and buttons (16:1 or more) */
  --ink: var(--text-dark); /* the page's words, and dark buttons (light in dark mode) */
  --on-ink: var(--text-light);   /* words on something filled with --ink */
  --rule: #ECE5DA;         /* card edges and thin rules */
  --rule-ink: #CFC6B8;     /* the rule over a list or along the timeline */
  --field: #8C8378;        /* edges of form fields: 3.7:1 */
  --accent: var(--gold);   /* the gold: as words, 4.8:1 on the cream and 5:1 on the white; lines, underlines, the drop capital */
  --accent-deep: #6E5422;
  --accent-tint: #F2E8D3;
  --sand: #F3E6CF;         /* New Inspirations: the panel behind the phone that shows the email */
  --on-accent: var(--text-light);
  /* Buttons, play buttons, tags and round icons: filled navy, as the cover's band (the cream on it: 17:1); a step lighter
     when pointed at. On the navy bands and bars they turn the light gold with navy words (just below). */
  --fill: var(--navy);
  --fill-deep: #1E3A6A;
  --on-fill: var(--text-light);
  --dark: var(--navy-band);   /* the navy bands */
  --on-dark: var(--text-light);
  --accent-on-dark: var(--gold-light);   /* the gold on the navy bands: 8.2:1 */
  --display: "Montserrat", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --sans: "Noto Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;   /* reading pages: titles, the drop capital, the pull quote */
  --rr-width: 64rem;       /* reading pages: the text and the column beside it */
  --rr-radius: 12px;       /* reading pages: the photos and the panel of cards */
  --wide: 77.5rem;         /* Penyiar's page width: 1240 px at the usual text size, and wider with larger text */
  --measure: 42rem;
  --pad-band: 4.5rem;      /* 72 px between sections; 96 px from 768 px wide, 104 px from 1024 px */
  --radius: 6px;
  --studio: url("../img/studio-dark.jpg");
  --studio-at: 78% 30%;    /* where the dark bands' picture is held: the microphone stays in view on a phone */
  color-scheme: light;
}
/* on the navy bands and bars, the fills are the light gold with navy words (8.5:1), as on the cover's band */
.page-hero, .cta-i, .signup-i, .photo-quote, .now-bar, .notice-bar, .draft-banner {
  --fill: var(--gold-light); --fill-deep: #E5CB93; --on-fill: var(--navy); }

@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Noto Sans"; src: url("../fonts/noto-sans-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Noto Sans"; src: url("../fonts/noto-sans-latin-wght-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("../fonts/newsreader-latin-opsz-normal.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 6.5rem; font-synthesis-weight: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 1rem; line-height: 1.65; }
@media (min-width: 43.75em) { body { font-size: 1.0625rem; } }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration-color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--accent); }
:is(.page-hero, .cta-i, .signup-i, .photo-quote, .blue-band, .now-bar, .draft-banner, .notice-bar) a:not([class]):hover,
.now-error a:hover { color: var(--text-light); text-decoration: underline; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px; }
.cta-i :focus-visible, .signup-i :focus-visible, .page-hero :focus-visible, .photo-quote :focus-visible,
.blue-band :focus-visible, .now-bar :focus-visible, .draft-banner :focus-visible, .notice-bar :focus-visible,
.stat-card :focus-visible { outline-color: #FFFFFF; }
p { margin: 0 0 1em; text-wrap: pretty; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.2; letter-spacing: -0.005em; color: var(--ink); margin: 0 0 0.5em; text-wrap: balance; overflow-wrap: break-word; }
h1:lang(en), h2:lang(en), h3:lang(en), h4:lang(en) { text-transform: capitalize; }   /* Penyiar capitalises every word of a title */
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.85rem, 3.5vw, 3rem); }
h3, h4 { font-size: 1.25rem; line-height: 1.3; }
cite { font-style: italic; }
strong { font-weight: 650; color: var(--ink); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--ink); color: var(--on-ink); padding: 0.6rem 1rem; font-weight: 600; border-radius: var(--radius); }
.skip-link:focus { top: 1rem; color: var(--on-ink); }
.skip-link:hover { color: var(--on-ink); }
.wrap { max-width: calc(var(--wide) + 2 * clamp(1.25rem, 4vw, 2rem)); margin: 0 auto; padding-inline: clamp(1.25rem, 4vw, 2rem); }
.prose { max-width: var(--measure); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); line-height: 1.6; color: var(--ink); max-width: 42rem; }
.text-link { font-family: var(--display); font-weight: 600; font-size: 0.95rem; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem 1.6rem; margin: 2rem 0 0; }
.actions-center { justify-content: center; margin-top: 3rem; }

/* Small labels: Penyiar's Montserrat line over each title, in the gold, in ordinary case */
.kicker, .label { margin: 0 0 0.75rem; font-family: var(--display); font-size: 1rem; font-weight: 600; line-height: 1.35; color: var(--accent); }
.label-gold, .label-light { color: var(--accent); }
.role { margin: -0.2rem 0 1.25rem; font-family: var(--display); font-weight: 600; font-size: 1rem; color: var(--accent); }

/* ---------- Draft banner (remove at launch) ---------- */
.draft-banner { background: #050F1D; color: var(--text-light); font-size: 0.875rem; line-height: 1.4; text-align: center; padding: 0.45rem 1rem; }

/* ---------- Buttons: filled navy (light gold on the navy bands), with Penyiar's slightly rounded corners ---------- */
.btn, .pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem; min-height: 52px; padding: 0.7rem 1.9rem;
  font-family: var(--display); font-size: 0.95rem; font-weight: 600; line-height: 1.2; text-decoration: none; text-align: center;
  border: 1.5px solid transparent; border-radius: 5px; cursor: pointer; transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.btn svg, .pill svg { width: 0.8rem; height: 0.8rem; flex: none; }
.btn-accent, .btn-ink, .btn-night, .pill-ink { background: var(--fill); border-color: var(--fill); color: var(--on-fill); }
.btn-accent:hover, .btn-ink:hover, .btn-night:hover, .pill-ink:hover { background: var(--fill-deep); border-color: var(--fill-deep); color: var(--on-fill); }
.btn-line, .pill-line { background: transparent; border-color: var(--fill); color: var(--fill); }
.btn-line:hover, .pill-line:hover { background: var(--fill); color: var(--on-fill); }
/* a white button belongs on the navy bands only; on the white and the cream the same class is an outline */
.pill-light { background: transparent; border-color: var(--fill); color: var(--fill); }
.pill-light:hover { background: var(--fill); color: var(--on-fill); }
.btn-light, .blue-band .pill-light { background: #FFFFFF; border-color: #FFFFFF; color: var(--text-dark); }
.btn-light:hover, .blue-band .pill-light:hover { background: #F2E8D3; border-color: #F2E8D3; color: var(--text-dark); }
.pill-outline-light { background: transparent; border-color: rgba(255, 255, 255, 0.85); color: var(--text-light); }
.pill-outline-light:hover { background: #FFFFFF; color: var(--text-dark); }
/* Penyiar's "Read More" arrow, drawn from one shape so it takes the link's color */
.arrow::after, .text-link::after, .shelf-more::after, .notice-go::after, .author-g-go a::after {
  content: ""; display: inline-block; flex: none; width: 0.95em; height: 0.95em; margin-left: 0.45em; vertical-align: -0.14em; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 8h11.5M9 3.5 13.5 8 9 12.5' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 8h11.5M9 3.5 13.5 8 9 12.5' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3C/svg%3E") center / contain no-repeat;
}
.btn.arrow::after { margin-left: 0; }
/* the round play button beside a link, as Penyiar's "Listening Now" */
.play-link { display: inline-flex; align-items: center; gap: 0.8rem; min-height: 52px; font-family: var(--display); font-weight: 600; font-size: 0.95rem; color: var(--accent); text-decoration: none; }
.play-disc { display: grid; place-items: center; width: 3.25rem; height: 3.25rem; border-radius: 50%; background: var(--fill); color: var(--on-fill); }
.play-disc svg { width: 1.05rem; height: 1.05rem; margin-left: 0.2rem; }
.play-link:hover { color: var(--ink); }
.play-link:hover .play-disc { background: var(--fill-deep); }
.play-link:hover span + * , .play-link:hover { text-decoration: underline; text-underline-offset: 0.2em; }

/* ---------- Notice bar and header ---------- */
.notice-bar { background: var(--ink); color: var(--text-light); font-size: 0.9rem; line-height: 1.35; }
.notice-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.4rem 1.25rem; min-height: 46px; padding-block: 0.35rem; }
.notice-row p { margin: 0; }
.notice-go { display: inline-flex; align-items: center; min-height: 34px; padding: 0.3rem 0.85rem; border-radius: 4px; background: var(--fill); color: var(--on-fill); font-family: var(--display); font-size: 0.85rem; font-weight: 600; text-decoration: none; }
.notice-go:hover { background: var(--fill-deep); color: var(--on-fill); }
.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper-deep); border-bottom: 1px solid rgba(12, 25, 48, 0.14); }
.header-row { display: flex; align-items: center; gap: 0.5rem 2rem; min-height: 88px; }
/* The logo: the IG square beside "Inspirations Given", in one colour, the navy (cream in dark mode). The I and the G are
   cut out of the square, so they show the colour behind it: the cream, in dark mode the navy. It keeps its colour when
   pointed at. Drawn once, in the header; the footer and the email preview reuse it. Sized by its height. */
.wordmark { flex: 0 1 auto; min-width: 0; display: inline-flex; align-items: center; text-decoration: none; color: var(--ink); line-height: 1; }
.wordmark:hover, .site-footer .wordmark:hover { color: var(--ink); text-decoration: none; }
.logo, .mail-logo { --h: 3.2rem; display: block; flex: none; width: calc(var(--h) * 1853 / 501); height: var(--h); fill: currentColor; }
.footer-logo .logo { --h: 3.6rem; }
.mail-logo { --h: 2.4rem; }
.site-nav { flex: 1; display: flex; align-items: center; gap: 1.25rem; }
.site-nav ul { list-style: none; margin: 0 auto; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.25rem 1.9rem; }
.site-nav ul a { display: inline-block; padding: 0.5rem 0; font-family: var(--display); font-size: 0.95rem; font-weight: 500; color: var(--ink); text-decoration: none; }
.site-nav ul a:hover { color: var(--accent); }
.site-nav ul a[aria-current="page"] { color: var(--accent); font-weight: 600; }
.nav-tools { flex: none; display: flex; align-items: center; gap: 0.55rem; }
/* six names fit on one line beside the tools: a little closer together until the window is wide */
@media (min-width: 75em) and (max-width: 84.9375em) { .site-nav ul { column-gap: 1rem; } .site-nav ul a { font-size: 0.88rem; } }
@media (min-width: 85em) { .site-nav ul { column-gap: 1.6rem; } }
@media (min-width: 75em) { .site-nav ul a { white-space: nowrap; } }
.nav-tools .btn { min-height: 46px; margin-left: 0.4rem; padding: 0.5rem 1.3rem; font-size: 0.9rem; }
.nav-toggle, .nav-close, .round-tool {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem; min-height: 44px; padding: 0.4rem 1rem;
  font-family: var(--display); font-size: 0.9rem; font-weight: 600; line-height: 1.2; color: var(--ink);
  background: transparent; border: 1.5px solid var(--field); border-radius: 999px; cursor: pointer;
}
.nav-toggle:hover, .nav-close:hover, .round-tool:hover { border-color: var(--accent); color: var(--accent); }
.nav-toggle { display: none; }
.nav-toggle svg, .nav-close svg { width: 1.1rem; height: 1.1rem; flex: none; }
/* the phone menu's own top row and search field: shown only while it is open as a page (below) */
.nav-top, .nav-search { display: none; }
.round-tool svg { width: 1.1rem; height: 1.1rem; flex: none; }
.theme-toggle svg + svg, .theme-toggle[aria-pressed="true"] svg:first-child { display: none; }
.theme-toggle[aria-pressed="true"] svg + svg { display: block; }
.round-tool[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
/* On wide screens the two tools are Penyiar's round icons, filled with the accent: the magnifier and the moon (or the
   sun while dark mode is on). Their names are read out, and shown on hover; in the phone menu they show them too. */
@media (min-width: 75em) {
  .round-tool { width: 42px; min-height: 42px; height: 42px; padding: 0; background: var(--fill); border-color: var(--fill); color: var(--on-fill); }
  .round-tool:hover { background: var(--fill-deep); border-color: var(--fill-deep); color: var(--on-fill); }
  .round-tool[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
  .tool-label, .theme-label { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
/* Reading pages: how far the story has gone, as a thin line along the foot of the header (only with scripts) */
.read-progress { display: none; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; pointer-events: none; }
.js .read-progress { display: block; }
html:not(.js) [data-night] { display: none; }   /* it needs scripts to work */
.read-progress span { display: block; height: 100%; background: var(--fill); transform: scaleX(0); transform-origin: 0 50%; }
@media (max-width: 74.9375em) {
  .header-row { flex-wrap: wrap; min-height: 76px; }
  .js .nav-toggle { display: inline-flex; }
  /* without scripts the menu is a plain list under the header row */
  .site-nav { flex-basis: 100%; flex-direction: column; align-items: stretch; padding-bottom: 1.1rem; }
  .site-nav ul { flex-direction: column; flex-wrap: nowrap; gap: 0; margin: 0; }
  .site-nav ul a { display: block; padding: 0.85rem 0; border-bottom: 1px solid var(--rule); }
  .site-nav ul a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--accent); padding-left: 0.9rem; }
  .nav-tools { flex-wrap: wrap; padding-top: 1rem; }
  .nav-tools .btn { margin-left: 0; }
  /* the magnifier leaves the folded menu for the header row, beside Menu; the two keep together if the row wraps */
  .header-quick { display: flex; align-items: center; gap: 0.55rem; margin-left: auto; }
  .search-quick { width: 44px; padding: 0; }
  .search-quick[aria-current="page"] { border-color: var(--accent); color: var(--accent); }
  .nav-tools .search-tool { display: none; }

  /* With scripts, Menu opens the menu as a page of its own over the whole window, in the cover's navy (in dark mode
     too). Along the top, the logo and Close, where the header's own logo and Menu sit; then the six names, large, the
     page you are on in the light gold with a bar beside it; at the foot, in reach of a thumb, a field to search the
     book, Dark mode and Buy the book.
     While it is open the page behind it can't be reached or scrolled; Close, the Escape key or a wider window closes
     it (site.js). The names and the tools rise into place as it opens, unless the device asks for less motion. */
  .js .site-nav { display: none; }
  .js .site-nav.is-open {
    --ink: var(--text-light); --on-ink: var(--navy); --accent: var(--gold-light); --accent-tint: rgba(212, 176, 106, 0.3);
    --field: rgba(255, 251, 242, 0.6); --fill: var(--gold-light); --fill-deep: #E5CB93; --on-fill: var(--navy);
    position: fixed; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: stretch; gap: 0;
    padding: 0 clamp(1.25rem, 4vw, 2rem) calc(2.25rem + env(safe-area-inset-bottom, 0px));
    overflow-y: auto; overscroll-behavior: contain; background: var(--navy); color: var(--ink);
    animation: menu-in 0.2s ease-out;
  }
  .js .site-nav.is-open .nav-top {
    display: flex; flex: none; align-items: center; justify-content: space-between; gap: 0.75rem; min-height: 76px;
    border-bottom: 1px solid rgba(255, 251, 242, 0.16);
  }
  .nav-home, .nav-home:hover { display: inline-flex; min-width: 0; color: var(--text-light); text-decoration: none; }
  .js .site-nav.is-open ul { margin: clamp(1.25rem, 4.5vh, 2.5rem) 0 clamp(1.5rem, 4.5vh, 2.5rem); animation: menu-rise 0.32s ease-out both; }
  .js .site-nav.is-open ul a {
    padding: 0.5rem 0; border: 0; font-size: clamp(1.65rem, 7.6vw, 2.4rem); font-weight: 600; line-height: 1.2;
    letter-spacing: -0.01em; color: var(--ink); overflow-wrap: break-word;
  }
  .js .site-nav.is-open ul a[aria-current="page"] { color: var(--accent); box-shadow: inset 3px 0 0 var(--accent); padding-left: 1rem; }
  .js .site-nav.is-open .nav-search {
    display: block; flex: none; max-width: 30rem; margin-top: auto; animation: menu-rise 0.32s 0.04s ease-out both; }
  .nav-search .search-row { padding-left: 1.25rem; background: transparent; }
  .nav-search .search-row input { min-height: 2.75rem; font-size: 1.05rem; }
  .nav-search .search-row input::placeholder { color: var(--accent); opacity: 1; }   /* the light gold: the words typed are the cream */
  .nav-search .search-go { width: 2.75rem; height: 2.75rem; }
  .js .site-nav.is-open .nav-tools { flex: none; gap: 0.75rem; padding-top: 1.25rem; animation: menu-rise 0.32s 0.08s ease-out both; }
  .js .site-nav.is-open :focus-visible { outline-color: #FFFFFF; }
  .site-header.menu-open { z-index: 100000; }   /* over the player bar on Listen, and over WordPress's own bar when signed in */
  html.menu-locked { overflow: hidden; }
}
/* pointed at with a mouse, a name turns gold (not on touch screens, where the tap that opened the menu would leave
   the name under the finger gold) */
@media (max-width: 74.9375em) and (hover: hover) { .js .site-nav.is-open ul a:hover { color: var(--accent); } }
/* the narrowest phones: Dark mode and Buy the book keep to one row */
@media (max-width: 22em) {
  .js .site-nav.is-open .nav-tools { gap: 0.5rem; }
  .js .site-nav.is-open .nav-tools .theme-toggle { padding-inline: 0.8rem; }
  .js .site-nav.is-open .nav-tools .btn { padding-inline: 0.9rem; }
}
/* a window too short for the large names: they come a little smaller and closer, and the page still scrolls */
@media (max-width: 74.9375em) and (max-height: 37.5em) {
  .js .site-nav.is-open ul { margin-top: 1rem; }
  .js .site-nav.is-open ul a { padding-block: 0.3rem; font-size: 1.4rem; }
  .js .site-nav.is-open ul { margin-bottom: 1.25rem; }
}
@keyframes menu-in { from { opacity: 0; } }
@keyframes menu-rise { from { opacity: 0; transform: translateY(0.75rem); } }
@media (min-width: 75em) { .header-quick { display: none; } }
.search-quick .tool-label { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* On phones the logo shares one row with Search and Menu: a step smaller, and on the narrowest phones (320 pixels) the
   square alone, as tall as the buttons beside it (the header's drawing is cut to the square there: it is drawn "slice") */
@media (max-width: 26.25em) { .logo { --h: 2.6rem; } .footer-logo .logo { --h: 3.1rem; } .header-row { column-gap: 0.75rem; } }
@media (max-width: 23.4375em) { .logo { --h: 2.4rem; } }
@media (max-width: 22em) { .site-header .logo { --h: 2.75rem; width: var(--h); } }

/* ---------- The photos: Envato stock, licensed to InspirationsGiven.com (the README lists them). A class ph-KEY gives
   an element its photo for a background (--photo, 480 px wide) and the point to keep in view when a frame crops the
   photo further (--focus): a square on a phone, a small circle. ---------- */
.ph-cross  { --photo: url("../img/photos/cross-s.jpg");  --focus: 50% 45%; }
.ph-book   { --photo: url("../img/photos/book-s.jpg");   --focus: 50% 60%; }
.ph-lake   { --photo: url("../img/photos/lake-s.jpg");   --focus: 62% 50%; }
.ph-fields { --photo: url("../img/photos/fields-s.jpg"); --focus: 45% 40%; }
.ph-prayer { --photo: url("../img/photos/prayer-s.jpg"); --focus: 64% 45%; }
.ph-path   { --photo: url("../img/photos/path-s.jpg");   --focus: 45% 55%; }
.ph-window { --photo: url("../img/photos/window-s.jpg"); --focus: 48% 45%; }
.ph-father { --photo: url("../img/photos/father-s.jpg"); --focus: 62% 55%; }
.ph-bread  { --photo: url("../img/photos/bread-s.jpg");  --focus: 40% 50%; }
.ph-tomb   { --photo: url("../img/photos/tomb-s.jpg");   --focus: 30% 60%; }
.ph-bible  { --photo: url("../img/photos/bible-s.jpg");  --focus: 80% 50%; }
.ph-hill   { --photo: url("../img/photos/hill-s.jpg");   --focus: 62% 50%; }
.ph-tools  { --photo: url("../img/photos/tools-s.jpg");  --focus: 45% 45%; }
.ph-basin  { --photo: url("../img/photos/basin-s.jpg");  --focus: 45% 60%; }
.ph-door   { --photo: url("../img/photos/door-s.jpg");   --focus: 50% 50%; }

/* ---------- Sections: white and cream, by turns ---------- */
.band { padding-block: var(--pad-band); }
@media (min-width: 48em) { :root { --pad-band: 6rem; } }
@media (min-width: 64em) { :root { --pad-band: 6.5rem; } }
main > .band + .band:not(.band-deep), main > .band-deep + .band-deep { border-top: 1px solid var(--rule); }
.band-deep, .band-cards { background: var(--paper-deep); }
.panel { background: none; padding: 0; border: 0; }
/* A section's opening, centred, as Penyiar's: the gold label, the title, a line, and a button under them */
.sec-head { max-width: 46rem; margin: 0 auto clamp(2.5rem, 5vw, 3.5rem); text-align: center; }
.sec-head h2 { margin: 0; }
.sec-side { display: flex; flex-direction: column; align-items: center; gap: 1.25rem; margin-top: 1rem; }
.sec-text { margin: 0; color: var(--ink); }
.shelf-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 0 2rem; margin: 0 0 clamp(2rem, 4vw, 3rem); }
.shelf-head .kicker, .shelf-head h2 { grid-column: 1; }
.shelf-head h2 { margin: 0; }
.shelf-more { grid-column: 2; grid-row: 1 / span 2; align-self: end; display: inline-flex; align-items: center; min-height: 48px; padding: 0.6rem 1.4rem; border: 1.5px solid var(--accent); border-radius: 5px; font-family: var(--display); font-size: 0.9rem; font-weight: 600; color: var(--accent); text-decoration: none; white-space: nowrap; }
.shelf-more:hover { background: var(--fill); color: var(--on-fill); }
@media (max-width: 37.4375em) { .shelf-head { grid-template-columns: minmax(0, 1fr); } .shelf-more { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 1.25rem; white-space: normal; } }
.split-head { display: grid; gap: 1rem 3rem; margin: 0 0 clamp(2rem, 4vw, 3rem); }
@media (min-width: 53.75em) { .split-head { grid-template-columns: minmax(0, 1fr) minmax(0, 25rem); align-items: end; } }
.split-head h2 { margin: 0; }
.split-head p { margin: 0; }

/* ---------- Page openings: Penyiar's dark band, in the cover's navy, over the golden microphone, the title and the trail centred ---------- */
.page-hero, .cta-i, .signup-i, .photo-quote {
  position: relative; isolation: isolate; color: var(--on-dark);
  background: linear-gradient(rgba(7, 30, 54, 0.86), rgba(7, 30, 54, 0.86)), var(--studio) var(--studio-at) / cover no-repeat, var(--dark);
}
/* Every inner page opens on this same band, one height everywhere, as Penyiar's page headers: the page's title and,
   under it, the trail. Nothing else: what the openings used to hold is at the top of each page's first section. */
.page-hero { display: grid; align-items: center; min-height: clamp(15rem, 27vw, 21rem); padding: clamp(2.75rem, 6vw, 4rem) 0; text-align: center; }
.page-hero .wrap { display: flex; flex-direction: column; align-items: center; width: 100%; }
.page-hero h1 { margin: 0; max-width: 22ch; color: var(--text-light); font-size: clamp(min(2.2rem, 11vw), 4.8vw, 3.5rem); }
.page-hero .crumbs { margin-top: 1.15rem; }
.page-hero a { color: var(--text-light); }
/* what the openings used to hold, now at the top of the first section */
.lang-switch { margin: 0.25rem 0 1.25rem; font-family: var(--display); font-size: 0.92rem; font-weight: 600; }
.page-intro { margin-bottom: clamp(2rem, 4vw, 2.75rem); }
.page-intro-lead { margin: 0; max-width: 46rem; font-family: var(--display); font-weight: 600; font-size: clamp(1.2rem, 2vw, 1.45rem); line-height: 1.45; color: var(--ink); }
.product-sub { margin: 0 0 1.25rem; font-family: var(--display); font-weight: 700; font-size: clamp(1.35rem, 2.4vw, 1.75rem); line-height: 1.35; color: var(--ink); text-wrap: balance; }
.write-lead { margin: -0.15rem 0 1.5rem; }
/* The breadcrumb trail, as Penyiar's "Home - Program Detail", the page itself in the accent */
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.3rem 0.55rem; font-family: var(--display); font-size: 0.92rem; font-weight: 500; line-height: 1.4; color: var(--on-dark); }
.crumbs li + li::before { content: "-"; margin-right: 0.55rem; }
.crumbs a { color: var(--text-light); text-decoration: none; }
.crumbs a:hover { color: var(--text-light); text-decoration: underline; }
.crumbs [aria-current] { color: var(--accent-on-dark); }

/* ---------- Home: the title beside the cover, with Penyiar's card, in navy, over the cover's edge ---------- */
.hero-i { background: var(--paper-deep); padding: clamp(3rem, 7vw, 6rem) 0 clamp(4rem, 8vw, 6.5rem); }
.hero-i-grid { display: grid; gap: 3.5rem; }
@media (min-width: 60em) { .hero-i-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr); align-items: center; gap: clamp(3rem, 6vw, 6rem); } }
.hero-i h1 { margin: 0; max-width: 15ch; font-size: clamp(2.6rem, 5.4vw, 3.9rem); line-height: 1.16; }
.hero-i-lead { margin: 1.4rem 0 0; max-width: 38rem; font-size: 1.05rem; }
.hero-ways { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.hero-ways-label { margin: 0 0 0.9rem; font-family: var(--display); font-weight: 600; font-size: 1.15rem; color: var(--ink); }
/* the same round icons as the footer's card, in a row of five that narrows on small phones (long names wrap) */
.hero-ways-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 4.75rem)); gap: 1rem clamp(0.3rem, 1.6vw, 0.85rem); }
.hero-ways-list .way { width: auto; font-size: clamp(0.72rem, 0.6rem + 0.6vw, 0.82rem); }
.hero-ways-list .way-disc { width: min(3.25rem, 86%); height: auto; aspect-ratio: 1; }
@media (max-width: 22.4375em) { .hero-ways-list { grid-template-columns: repeat(3, minmax(0, 4.75rem)); } }   /* three over two on the smallest phones */
.hero-i-art { position: relative; justify-self: end; width: min(100%, 25rem); }
.hero-i-cover { width: 100%; border-radius: var(--radius); box-shadow: 0 1.75rem 3.5rem -1.75rem rgba(12, 25, 48, 0.5); }
.stat-card { position: absolute; left: -5.5rem; top: 54%; display: grid; grid-template-columns: auto auto; align-items: center; gap: 0.2rem 0.85rem; margin: 0; padding: 1.15rem 1.4rem; background: var(--fill); color: var(--on-fill); border-radius: 4px; box-shadow: 0 1.25rem 2.5rem -1.25rem rgba(12, 25, 48, 0.55); }
.stat-card-n { grid-row: span 2; font-family: var(--display); font-weight: 700; font-size: 2.9rem; line-height: 1; }
.stat-card-t { max-width: 6.5rem; font-family: var(--display); font-weight: 600; font-size: 0.92rem; line-height: 1.25; }
.stat-faces { display: flex; }
.face { width: 1.9rem; height: 1.9rem; border-radius: 50%; border: 2px solid var(--on-accent); background: #6A4B33 var(--photo) var(--focus, 50% 50%) / cover no-repeat; }
.face + .face { margin-left: -0.55rem; }
@media (max-width: 59.9375em) {
  .hero-i-art { justify-self: start; width: min(78%, 20rem); margin-left: 3.5rem; }
  .stat-card { left: -3.5rem; top: auto; bottom: 1.5rem; }
}
@media (max-width: 29.9375em) { .hero-i-art { margin-left: 2.5rem; } .stat-card { left: -2.5rem; padding: 0.9rem 1.1rem; } .stat-card-n { font-size: 2.3rem; } }

/* Mark's section, after Penyiar's "About": his photo with a navy bar at one edge beside his story, then his first story
   on a cream strip after a radio player: the round play button, the title, how long it takes, and Read it */
.split-i { display: grid; gap: 2.75rem; }
@media (min-width: 56.25em) { .split-i { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(3rem, 6vw, 5.5rem); } }
.split-i-art img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 4px; }
.bar-left { position: relative; padding-left: 0.9rem; }
.bar-left::before { content: ""; position: absolute; left: 0; top: 0.9rem; bottom: -0.9rem; width: 0.9rem; background: var(--fill); border-radius: 3px 0 0 3px; }
.split-i-words h2 { margin-bottom: 0.6em; }
.split-i-words > p:not(.kicker) { max-width: 36rem; }
.first-strip { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 1.25rem clamp(1.25rem, 3vw, 2.25rem); margin-top: clamp(3.5rem, 7vw, 5rem); padding: clamp(1.25rem, 3vw, 1.9rem) clamp(1.25rem, 3.5vw, 2.4rem); background: var(--paper-deep); border: 1px solid var(--rule-ink); border-radius: var(--radius); }
.first-strip-player { grid-template-columns: minmax(0, 1fr) auto; }
.first-strip .kicker { margin-bottom: 0.35rem; }
.first-strip-play { display: grid; place-items: center; width: 4rem; height: 4rem; border-radius: 50%; background: var(--fill); color: var(--on-fill); box-shadow: 0 0 0 8px rgba(12, 25, 48, 0.14); transition: transform 0.15s, background-color 0.15s; }
.first-strip-play:hover { background: var(--fill-deep); color: var(--on-fill); transform: scale(1.06); }
.first-strip-play svg { width: 1.25rem; height: 1.25rem; margin-left: 0.2rem; }
.first-strip-title { margin: 0; font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.6rem); line-height: 1.25; text-wrap: balance; }
.first-strip-title a { color: inherit; text-decoration: none; }
.first-strip-title a:hover { color: var(--accent); }
.first-strip-time { margin: 0.45rem 0 0; font-family: var(--display); font-size: 0.9rem; font-weight: 600; color: var(--ink); }
.first-strip .player { margin-top: 1.1rem; }
@media (max-width: 37.4375em) {
  .first-strip, .first-strip-player { grid-template-columns: auto minmax(0, 1fr); }
  .first-strip-player .first-strip-words { grid-column: 1 / -1; }
  .first-strip-go { grid-column: 1 / -1; justify-self: start; }
}


/* a dark band to hear the whole book, Penyiar's "Our Voice" */
.cta-i { padding-block: clamp(4.5rem, 9vw, 7rem); text-align: center; }
.cta-i .wrap > * { max-width: 46rem; margin-inline: auto; }
.cta-i .kicker, .signup-i .kicker, .photo-quote .kicker, .cta-i .label, .signup-i .label { color: var(--accent-on-dark); }
.cta-i h2, .signup-i h2 { color: var(--text-light); }
.cta-i p:not(.kicker) { color: var(--on-dark); }

/* the book in four numbers, Penyiar's counters: a gold icon, the number, a line, with thin rules between */
.stats-i { background: var(--paper-deep); padding-block: clamp(3rem, 6vw, 4.5rem); }
main > .stats-i { border-top: 1px solid var(--rule); }
.stats-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stats-list li { display: grid; justify-items: center; align-content: start; gap: 0.35rem; padding: 0.5rem 1.25rem; text-align: center; border-left: 1px solid var(--rule-ink); }
.stats-list li:first-child { border-left: 0; }
.stats-icon { color: var(--accent); }
.stats-icon .way-icon { width: 2.6rem; height: 2.6rem; stroke-width: 1.6; }
.stats-n { margin-top: 0.4rem; font-family: var(--display); font-weight: 700; font-size: clamp(2.2rem, 4vw, 2.75rem); line-height: 1.05; color: var(--ink); }
.stats-t { max-width: 13rem; font-size: 0.95rem; line-height: 1.45; }
@media (max-width: 47.4375em) {
  .stats-list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1.75rem; }
  .stats-list li:nth-child(odd) { border-left: 0; }
}
/* one to a row when the browser's text is so large that two no longer fit (never at the usual text size: 19.9375em is
   319 px then, and 478 px with 24 px text) */
@media (max-width: 19.9375em) {
  .stats-list { grid-template-columns: minmax(0, 1fr); }
  .stats-list li { border-left: 0; }
}

/* what is inside the book, Penyiar's "Why Choose Us": a list with round navy icons beside two pictures and a navy card */
.why-i { display: grid; gap: 3.5rem; }
@media (min-width: 60em) { .why-i { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(3rem, 6vw, 6rem); } }
.why-i-words > p:not(.kicker) { max-width: 34rem; }
.why-list { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1.6rem; }
.why-list li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.1rem; align-items: start; }
.why-icon { display: grid; place-items: center; width: 3.1rem; height: 3.1rem; border-radius: 50%; background: var(--fill); color: var(--on-fill); }
.why-icon .way-icon { width: 1.45rem; height: 1.45rem; stroke-width: 1.7; }
.why-title { margin: 0.2rem 0 0.25rem; font-size: 1.15rem; }
.why-list p { margin: 0; font-size: 0.98rem; }
.why-i-art { position: relative; padding: 4.5rem 0 3rem 3rem; }
.why-main { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; box-shadow: 0.9rem 0.9rem 0 var(--accent); }
.why-small { position: absolute; left: 0; bottom: 0; width: 32%; border: 6px solid var(--paper-deep); border-radius: 6px; }
.why-badge { position: absolute; right: -0.9rem; top: 0; display: grid; justify-items: center; gap: 0.15rem; width: 10.5rem; margin: 0; padding: 1.4rem 1rem; background: var(--fill); color: var(--on-fill); border-radius: 4px; text-align: center; }
.why-badge .way-icon { width: 2.2rem; height: 2.2rem; stroke-width: 1.7; }
.why-badge-n { font-family: var(--display); font-weight: 700; font-size: 2.2rem; line-height: 1.1; }
.why-badge-t { font-family: var(--display); font-weight: 600; font-size: 0.85rem; line-height: 1.3; }
@media (max-width: 34.9375em) { .why-i-art { padding: 3.75rem 0 2.5rem 1.5rem; } .why-badge { right: 0; width: 8.5rem; padding: 1rem 0.75rem; } .why-badge-n { font-size: 1.8rem; } }

/* Mark's small round photo beside his name (the cards on New Inspirations) */

/* ---------- Questions and answers: Penyiar's accordion ---------- */
.faq-i { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
@media (min-width: 60em) { .faq-i { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(3rem, 6vw, 5.5rem); align-items: start; } }
.faq-i-head > p:not(.kicker) { max-width: 30rem; }
.faq-i-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.9rem; }
.faq-i-item { background: var(--card); border: 1px solid var(--rule-ink); border-radius: var(--radius); overflow-wrap: break-word; }
.faq-i-item summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 60px; padding: 0.85rem 1.25rem; font-family: var(--display); font-weight: 600; font-size: 1.02rem; line-height: 1.35; color: var(--ink); list-style: none; cursor: pointer; }
.faq-i-item summary::-webkit-details-marker { display: none; }
.faq-i-item summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--fill); color: var(--on-fill); font-size: 1.3rem; font-weight: 500; line-height: 1; }
.faq-i-item[open] summary::after { content: "\2212"; }
.faq-i-item[open] summary { color: var(--accent); }
.faq-i-answer { padding: 0 1.25rem 1.15rem; }
.faq-i-answer p { margin: 0; }

/* ---------- About: the timeline, the years in gold along one rule ---------- */
.years-g { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule-ink); }
.years-g li { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: 1.25rem; align-items: baseline; padding: 1.4rem 0; border-bottom: 1px solid var(--rule); }
.years-g .tl-year { font-family: var(--display); font-weight: 700; font-size: clamp(1.8rem, 3.2vw, 2.4rem); line-height: 1; color: var(--accent); }
.years-g .tl-text { font-size: 0.98rem; line-height: 1.55; color: var(--ink); }
@media (max-width: 22.4375em) { .years-g li { grid-template-columns: minmax(0, 1fr); gap: 0.45rem; } }
@media (min-width: 43.75em) {
  .years-g { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 2.75rem; border-top: 0; }
  .years-g li { position: relative; display: block; padding: 1.9rem clamp(1.25rem, 2.5vw, 2.25rem) 0 0; border-bottom: 0; border-top: 2px solid var(--rule-ink); }
  .years-g li::before { content: ""; position: absolute; top: -8px; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--fill); box-shadow: 0 0 0 4px var(--paper-deep); }
  .years-g .tl-text { display: block; max-width: 21rem; margin-top: 0.9rem; }
}
@media (min-width: 75em) { .years-g { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

/* ---------- The vignettes as Penyiar's episode cards: the photo with a round play button, then under it the title,
   one sentence from that part in Mark's words, and the ways to it. Three across on a computer, two on a tablet, one on
   a phone. Each card takes four rows of the list, so the titles, the sentences and the ways line up. ---------- */
.cards-lead { max-width: 44rem; margin: 0 0 1rem; font-size: 1.05rem; }
.cards-foot { margin: 2.25rem 0 0; }
.vcards-head { margin: 3rem 0 0; padding: 0 0 0.85rem; font-family: var(--display); font-size: 1.15rem; font-weight: 700; color: var(--ink); border-bottom: 1px solid var(--rule-ink); background: linear-gradient(var(--accent), var(--accent)) left bottom / 3rem 2px no-repeat; }
.vgrid { list-style: none; margin: 1.75rem 0 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
@media (min-width: 35em) { .vgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem 1.4rem; } }
@media (min-width: 60em) { .vgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem 1.75rem; } }
.vgrid-shelf { margin-top: 0; }
.vtile { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; min-width: 0; padding: 0.7rem 0.7rem 0; background: var(--card); border: 1px solid var(--rule-ink); border-radius: var(--radius); scroll-margin-top: 7rem; }
.vtile-words { display: contents; }
.vtile-art {
  grid-row: 1; grid-column: 1; position: relative; isolation: isolate; display: grid; place-items: center; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 4px; color: var(--text-light); text-decoration: none;
  background-color: #4A3424;
}
.vtile-img { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; object-position: var(--focus, 50% 50%); }
.vtile-num { position: absolute; left: 0.75rem; top: 0.75rem; padding: 0.3rem 0.65rem; border-radius: 3px; background: var(--fill); color: var(--on-fill); font-family: var(--display); font-size: 0.76rem; font-weight: 600; line-height: 1.2; }
.vtile-play { position: relative; display: grid; place-items: center; width: 3.6rem; height: 3.6rem; border-radius: 50%; background: var(--fill); color: var(--on-fill); box-shadow: 0 0 0 7px rgba(255, 255, 255, 0.22); transition: transform 0.15s, background-color 0.15s; }
.vtile-play:hover { background: var(--fill-deep); color: var(--on-fill); transform: scale(1.06); }
.vtile-play-disc { display: grid; place-items: center; }
.vtile-play svg { width: 1.15rem; height: 1.15rem; margin-left: 0.2rem; }
.vtile-play svg + svg { display: none; margin-left: 0; }
.vtile.is-playing .vtile-play svg:first-child { display: none; }
.vtile.is-playing .vtile-play svg + svg { display: block; }
.vtile-title { grid-row: 2; margin: 0; padding: 1rem 0.3rem 0; font-size: 1.08rem; font-weight: 700; line-height: 1.3; color: var(--ink); text-wrap: balance; overflow-wrap: break-word; }
.vtile-title a { color: inherit; text-decoration: none; }
.vtile-title a:hover { text-decoration: underline; text-decoration-thickness: 1px; }
.vtile-line { grid-row: 3; margin: 0; padding: 0.45rem 0.3rem 0; font-size: 0.93rem; line-height: 1.55; text-wrap: pretty; overflow-wrap: break-word; }
.vtile-links { grid-row: 4; align-self: start; list-style: none; margin: 0.95rem 0 0; padding: 0.35rem 0.3rem 0.45rem; border-top: 1px solid var(--rule); display: flex; flex-wrap: wrap; gap: 0 1.1rem; }
.vtile-links a { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 2.6rem; font-family: var(--display); font-size: 0.85rem; font-weight: 600; color: var(--ink); text-decoration: none; }
.vtile-links a:hover { color: var(--accent); text-decoration: underline; }
.vtile-links .vtile-listen { color: var(--accent); }
.vtile-none { display: inline-flex; align-items: center; min-height: 2.6rem; font-size: 0.88rem; font-style: italic; color: var(--ink); }   /* a note, not a link: the reading face, in italic */
.vtile-listen svg { width: 0.75rem; height: 0.75rem; flex: none; }
.vtile-listen svg + svg, .vtile-listen .when-playing { display: none; }
.vtile.is-playing .vtile-listen svg:first-child, .vtile.is-playing .vtile-listen .when-idle { display: none; }
.vtile.is-playing .vtile-listen svg + svg, .vtile.is-playing .vtile-listen .when-playing { display: inline-block; }
.vtile.is-current, .vtile:target { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
@media (max-width: 34.9375em) { .vtile-title { font-size: 1.05rem; } }
/* On a phone the long lists (Listen, The Book's contents, the Spanish page) become a podcast app's episode list: the
   photo small on the left with its play button, the title and the line beside it, so each page stays a short scroll.
   The shelves of a few cards keep the large cards. */
@media (max-width: 34.9375em) {
  .vgrid:not(.vgrid-shelf) { gap: 0.9rem; }
  .vgrid:not(.vgrid-shelf) .vtile { grid-row: auto; grid-template-rows: none; grid-template-columns: min(6.25rem, 31.25vw) minmax(0, 1fr); column-gap: 0.9rem; align-items: start; padding: 0.6rem 0.75rem 0 0.6rem; }
  .vgrid:not(.vgrid-shelf) .vtile-art { grid-column: 1; grid-row: 1 / span 3; aspect-ratio: 1; }
  .vgrid:not(.vgrid-shelf) .vtile-num { left: 0.35rem; top: 0.35rem; padding: 0.15rem 0.4rem; font-size: 0.68rem; }
  .vgrid:not(.vgrid-shelf) .vtile-play { top: 0.5rem; width: 2.6rem; height: 2.6rem; box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.25); }
  .vgrid:not(.vgrid-shelf) .vtile-play svg { width: 0.85rem; height: 0.85rem; }
  .vgrid:not(.vgrid-shelf) .vtile-title { grid-column: 2; grid-row: 1; padding: 0.15rem 0 0; font-size: 1rem; }
  .vgrid:not(.vgrid-shelf) .vtile-line { grid-column: 2; grid-row: 2; padding: 0.3rem 0 0; font-size: 0.88rem; }
  .vgrid:not(.vgrid-shelf) .vtile-links { grid-column: 2; grid-row: 3; margin-top: 0.4rem; padding: 0 0 0.3rem; border-top: 0; gap: 0 0.9rem; }
  .vgrid:not(.vgrid-shelf) .vtile-links a { min-height: 2.5rem; }
}
/* The long lists, eight vignettes to a page (site.js): the page buttons above the cards, navy for the page on view, and
   below them Previous and Next, each beside a round navy arrow. Without scripts neither row shows and every page is
   listed. Until site.js has opened a page, only the first shows, so the list does not jump. */
.pager, .pager-foot { display: none; }
.js .pager { display: block; margin: 1.75rem 0 0; }
.js .vpages:not(.is-ready) > .vpage ~ .vpage { display: none; }
.pager-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.pager-link { display: inline-flex; align-items: center; justify-content: center; min-width: 5.5rem; min-height: 2.9rem; padding: 0.35rem 1.15rem; border: 1px solid var(--rule-ink); border-radius: 999px; background: var(--card); color: var(--ink); font-family: var(--display); font-size: 0.95rem; font-weight: 600; font-variant-numeric: tabular-nums; text-decoration: none; transition: background-color 0.15s, border-color 0.15s, color 0.15s; }
.pager-link:hover { border-color: var(--accent); color: var(--accent); }
.pager-link[aria-current] { background: var(--fill); border-color: var(--fill); color: var(--on-fill); }
.pager-link[aria-current]:hover { background: var(--fill-deep); border-color: var(--fill-deep); color: var(--on-fill); }
.pager-link:focus-visible { border-radius: 999px; }
.vpage > .vcards-head:first-child { margin-top: 2.25rem; }
.js .pager-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2rem; margin: 3rem 0 0; padding: 1.75rem 0 0; border-top: 1px solid var(--rule-ink); }
.pager-step { display: inline-flex; align-items: center; gap: 0.95rem; min-height: 3rem; color: var(--ink); text-decoration: none; }
.pager-next { margin-left: auto; text-align: right; }
.pager-disc { display: grid; place-items: center; flex: none; width: 3rem; height: 3rem; border-radius: 50%; background: var(--fill); color: var(--on-fill); transition: transform 0.15s, background-color 0.15s; }
.pager-disc svg { width: 1.05rem; height: 1.05rem; }
.pager-words { display: grid; gap: 0.15rem; }
.pager-dir { font-family: var(--display); font-size: 0.82rem; font-weight: 600; line-height: 1.3; color: var(--accent); }
.pager-range { font-family: var(--display); font-size: 1.1rem; font-weight: 700; line-height: 1.25; color: var(--ink); }
.pager-step:hover { color: var(--ink); }
.pager-step:hover .pager-disc { background: var(--fill-deep); transform: scale(1.06); }
.pager-step:hover .pager-range { color: var(--accent); }
@media (max-width: 34.9375em) {
  .pager-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.5rem; }
  .pager-link { display: flex; width: 100%; min-width: 0; padding-inline: 0.35rem; }
  .js .pager-foot { flex-direction: column; align-items: stretch; gap: 0.9rem; }
  .pager-next { margin-left: 0; flex-direction: row-reverse; justify-content: flex-end; text-align: left; }
}

/* ---------- Search and Buscar: one field with a round navy button, the topics as pills, then the results as a ruled
   list: the vignette's number on its navy tag, its title, the passage where the words come with them marked, and the
   ways to it. Without scripts only the note shows. ---------- */
.search-tool { text-decoration: none; }
.search-wrap { max-width: calc(50rem + 2 * clamp(1.25rem, 4vw, 2rem)); }
.search-label { display: block; margin: 0 0 0.75rem; font-family: var(--display); font-size: 1.15rem; font-weight: 700; color: var(--ink); }
.search-row { display: flex; align-items: center; gap: 0.6rem; padding: 0.35rem 0.35rem 0.35rem 1.35rem; background: var(--card); border: 1.5px solid var(--field); border-radius: 999px; }
.search-row:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint); }
.search-row input { flex: 1; min-width: 0; min-height: 3rem; padding: 0; border: 0; background: transparent; font: inherit; font-size: 1.1rem; color: var(--ink); }
.search-row input:focus-visible { outline: none; }   /* the whole field shows focus (above) */
.search-go { display: grid; place-items: center; flex: none; width: 3.1rem; height: 3.1rem; padding: 0; border: 0; border-radius: 50%; background: var(--fill); color: var(--on-fill); font: inherit; cursor: pointer; transition: background-color 0.15s; }
.search-go:hover { background: var(--fill-deep); }
.search-go:focus-visible { border-radius: 50%; }
.search-go svg { width: 1.2rem; height: 1.2rem; }
.search-topics { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 0.9rem; margin: 1.4rem 0 0; }
.search-topics-label { margin: 0; font-family: var(--display); font-size: 0.9rem; font-weight: 600; color: var(--ink); }
.search-topic-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.search-topic { display: inline-flex; align-items: center; min-height: 2.5rem; padding: 0.3rem 1rem; border: 1px solid var(--rule-ink); border-radius: 999px; background: var(--card); color: var(--ink); font-family: var(--display); font-size: 0.88rem; font-weight: 600; text-decoration: none; }
.search-topic:hover { border-color: var(--accent); color: var(--accent); }
.search-topic:focus-visible { border-radius: 999px; }
html:not(.js) .search-form, html:not(.js) .search-topics { display: none; }
.search-note { margin: 0; padding: 1rem 1.25rem; border-left: 3px solid var(--accent); background: var(--paper-deep); }
.search-status { margin: 2.6rem 0 0; font-family: var(--display); font-size: 1.05rem; font-weight: 700; line-height: 1.4; color: var(--ink); }
.search-status:empty { display: none; }
.results { list-style: none; margin: 1.1rem 0 0; padding: 0; }
.results:empty { display: none; }
.results:not(:empty) { border-bottom: 1px solid var(--rule-ink); }
.result { padding: 1.45rem 0 1.2rem; border-top: 1px solid var(--rule-ink); }
.result-tag { display: inline-block; margin: 0 0 0.55rem; padding: 0.25rem 0.6rem; border-radius: 3px; background: var(--fill); color: var(--on-fill); font-family: var(--display); font-size: 0.74rem; font-weight: 600; line-height: 1.2; }
.result-title { margin: 0; font-size: 1.25rem; line-height: 1.3; text-wrap: balance; }
.result-title a { display: block; color: var(--ink); text-decoration: none; }   /* a block, so a tap between the lines of a long title still lands on it */
.result-title a:hover { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; }
.result-passage { max-width: 44rem; margin: 0.55rem 0 0; line-height: 1.65; overflow-wrap: break-word; }
.result mark { padding: 0 0.12em; border-radius: 2px; background: var(--accent-tint); color: var(--ink); }
.result-links { list-style: none; margin: 0.65rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 1.3rem; }
.result-links a { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 2.5rem; font-family: var(--display); font-size: 0.86rem; font-weight: 600; color: var(--ink); text-decoration: none; }
.result-links a:hover { color: var(--accent); text-decoration: underline; }
.result-links .result-listen { color: var(--accent); }
.result-where { display: flex; flex-wrap: wrap; column-gap: 1.3rem; }   /* the two page numbers wrap as one */
.result-page { display: inline-flex; align-items: center; min-height: 2.5rem; font-size: 0.92rem; color: var(--ink); }   /* where it starts in the book: words, not a link */
.result-listen svg { width: 0.75rem; height: 0.75rem; flex: none; }
@media (max-width: 34.9375em) { .search-row { padding-left: 1.1rem; } .search-label { font-size: 1.05rem; } .result-title { font-size: 1.12rem; } }

/* ---------- The book: the cover beside its description and every format ---------- */
.product { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
@media (min-width: 53.75em) { .product { grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr); gap: clamp(3rem, 6vw, 5.5rem); align-items: start; } }
.product-art { position: relative; }
.product-art img { width: 100%; max-width: 21rem; border-radius: var(--radius); box-shadow: 0.9rem 0.9rem 0 var(--accent); }
.art-es-lg { display: grid; place-items: center; width: 100%; max-width: 21rem; aspect-ratio: 2 / 3; padding: 1.5rem; border-radius: var(--radius); background: var(--navy); color: var(--text-light); font-family: var(--display); font-weight: 700; font-size: clamp(min(1.5rem, 7.5vw), 7vw, 2.6rem); line-height: 1.1; text-align: center; box-shadow: 0.9rem 0.9rem 0 var(--accent); }
.formats-block { margin-top: clamp(2rem, 4vw, 3rem); }
.formats-block h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 0 0 1rem; }
.formats { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.formats li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 0.35rem 1.25rem; padding: 0.8rem 0.8rem 0.8rem 1.25rem; background: var(--card); border: 1px solid var(--rule-ink); border-radius: var(--radius); }
.format-name { font-family: var(--display); font-weight: 600; font-size: 1.05rem; line-height: 1.3; color: var(--ink); }
.format-note { justify-self: start; padding: 0.25rem 0.65rem; border-radius: 3px; background: var(--paper-deep); font-family: var(--display); font-size: 0.78rem; font-weight: 600; line-height: 1.3; color: var(--ink); white-space: nowrap; }
.formats .pill { min-height: 44px; min-width: 6.25rem; padding: 0.45rem 1rem; font-size: 0.88rem; }
@media (max-width: 19.9375em) { .format-note { white-space: normal; } }   /* two lines when the browser's text is very large (never at the usual size) */
@media (max-width: 29.9375em) { .formats li { grid-template-columns: minmax(0, 1fr) auto; } .format-note { grid-column: 1; grid-row: 2; } .formats .pill { grid-row: 1 / span 2; grid-column: 2; } }
.product-es { margin: 1.1rem 0 0; }

/* ---------- The Book: the 2nd edition, what is new in it beside its cover, as a ruled list with round navy marks; the
   cover leads on a phone. What readers say returns as Penyiar's testimonial cards once there are comments. ---------- */
.edition-i-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 56.25em) { .edition-i-grid { grid-template-columns: minmax(0, 1fr) minmax(14rem, 19rem); gap: clamp(3rem, 7vw, 6.5rem); } }
.edition-i-words h2 { margin-bottom: 0.45em; }
.edition-i-lead { max-width: 36rem; margin: 0 0 1.6rem; font-size: 1.08rem; }
.edition-i-list { list-style: none; margin: 0 0 2rem; padding: 0; border-bottom: 1px solid var(--rule-ink); }
.edition-i-list li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.1rem; align-items: start; padding: 1.05rem 0; border-top: 1px solid var(--rule-ink); }
.edition-i-mark { display: grid; place-items: center; width: 2.1rem; height: 2.1rem; margin-top: 0.05rem; border-radius: 50%; background: var(--fill); color: var(--on-fill); }
.edition-i-mark svg { width: 0.9rem; height: 0.9rem; }
.edition-i-title { margin: 0 0 0.2rem; font-size: 1.1rem; line-height: 1.3; }
.edition-i-list p { max-width: 34rem; margin: 0; overflow-wrap: break-word; }
.edition-i-art { margin: 0; justify-self: center; width: 100%; max-width: 19rem; }
.edition-i-art img { display: block; width: 100%; height: auto; border-radius: 3px; box-shadow: 0.9rem 0.9rem 0 var(--accent); }
@media (max-width: 56.1875em) { .edition-i-art { order: -1; justify-self: start; max-width: 11rem; } }
.quotes-i { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1.5rem; }
@media (min-width: 56.25em) { .quotes-i { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.quotes-i li { padding: 1.6rem 1.75rem; background: var(--card); border: 1px solid var(--rule-ink); border-radius: var(--radius); }
.quotes-i blockquote { margin: 0; font-size: 1.05rem; line-height: 1.6; }
.quotes-i-name { margin: 1rem 0 0; font-family: var(--display); font-weight: 700; color: var(--ink); }

/* ---------- A line from the book, on a dark band over the studio ---------- */
.photo-quote { padding-block: clamp(4.5rem, 9vw, 7rem); text-align: center; }
.photo-quote figure { margin: 0 auto; max-width: 54rem; }
.photo-quote blockquote { margin: 0; }
.photo-quote p { margin: 0; font-family: var(--display); font-weight: 600; font-size: clamp(1.5rem, 3.2vw, 2.35rem); line-height: 1.35; color: var(--text-light); text-wrap: balance; }
.photo-quote figcaption { margin-top: 1.5rem; font-family: var(--display); font-size: 0.95rem; font-weight: 600; line-height: 1.5; color: var(--accent-on-dark); }
.photo-quote cite { font-style: normal; }
.photo-quote .pill { margin-top: 2.25rem; }

/* ---------- The Spanish edition, on a navy band, as the cover's ---------- */
.blue-band { background: var(--navy); color: var(--text-light); padding-block: clamp(3rem, 6vw, 4.25rem); }
.blue-band .wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem 3rem; align-items: center; }
@media (min-width: 53.75em) { .blue-band .wrap { grid-template-columns: auto minmax(0, 1fr) auto; } }
.blue-band h2 { margin: 0; color: var(--text-light); font-size: clamp(min(1.9rem, 9.5vw), 3.4vw, 2.6rem); }
.blue-band p { margin: 0; max-width: 30rem; color: var(--text-light); }
.blue-band .pill-light { justify-self: start; }
.blue-band :focus-visible { outline-color: #FFFFFF; }

/* ---------- Sign-up: Penyiar's "Subscribe Now" band ---------- */
.signup-i { padding-block: clamp(4.5rem, 8vw, 6.5rem); }
.signup-i-head { display: grid; gap: 1.25rem 3rem; }
@media (min-width: 56.25em) { .signup-i-head { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(3rem, 6vw, 6rem); } }
.signup-i h2 { margin: 0; }
.signup-i-words { color: var(--on-dark); }
.signup-i-words p { color: var(--on-dark); }
.signup-i-words > :last-child { margin-bottom: 0; }
.signup-i-form { margin-top: clamp(2rem, 4vw, 2.75rem); }
.signup-i .signup { margin-top: 0; max-width: none; }
.signup-i label { color: var(--text-light); }
.signup-i .optional { color: var(--on-dark); }
.signup-i .form-note { color: var(--on-dark); }
.signup-i input { border-color: transparent; background: #FFFDF9; }
@media (min-width: 40em) {
  .signup-i .signup { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.3fr) auto; align-items: end; gap: 0.85rem; }
  .signup-i .fields { display: contents; }
  .signup-i .form-actions { margin: 0; }
  .signup-i .form-note, .signup-i .form-status { grid-column: 1 / -1; }
  .signup-i .btn { min-height: 54px; }
}

/* ---------- Forms ---------- */
.signup { max-width: 40rem; margin-top: 1.25rem; }
.fields { display: grid; gap: 1rem; }
@media (min-width: 40em) { .signup .fields { grid-template-columns: 1fr 1.35fr; } }
.field { display: grid; gap: 0.4rem; }
label { font-family: var(--display); font-size: 0.92rem; font-weight: 600; color: var(--ink); }
.optional { font-family: var(--sans); font-weight: 400; color: var(--ink); }
input[type="text"], input[type="email"], textarea {
  width: 100%; min-height: 54px; padding: 0.75rem 1rem; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--card); border: 1px solid var(--field); border-radius: 5px;
}
textarea { min-height: 11rem; resize: vertical; }
input:focus-visible, textarea:focus-visible { border-color: var(--accent); outline: 2px solid var(--accent); outline-offset: 2px; }
.form-actions { margin-top: 1.1rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.form-note { margin: 0.8rem 0 0; font-size: 0.9rem; color: var(--ink); }
.form-status { margin: 1rem 0 0; padding: 0.75rem 1rem; font-size: 1rem; background: var(--paper-deep); border-left: 3px solid var(--accent); border-radius: 4px; color: var(--ink); }
.check { display: flex; align-items: center; gap: 0.65rem; }
.check input { width: 1.3rem; height: 1.3rem; margin: 0; accent-color: var(--accent); }
.check label { font-family: var(--sans); font-weight: 400; font-size: 1rem; }
.contact { display: grid; gap: 1.2rem; max-width: 42rem; }

/* ---------- Listen: three ways to listen, as Penyiar's cards ---------- */
.listen-ways { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
@media (min-width: 56.25em) { .listen-ways { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.listen-card { display: flex; flex-direction: column; gap: 1.25rem; padding: 0.7rem 0.7rem 1.5rem; background: var(--card); border: 1px solid var(--rule-ink); border-radius: var(--radius); }
.listen-card-media { position: relative; display: grid; place-items: center; overflow: hidden; aspect-ratio: 16 / 10; border-radius: 4px; background: var(--paper-deep); }
.listen-card-cover { position: absolute; top: 8%; left: 50%; height: 84%; width: auto; max-width: none; transform: translateX(-50%); border-radius: 3px; box-shadow: 0 0.75rem 1.5rem -0.75rem rgba(12, 25, 48, 0.6); }
.listen-card-img { width: 100%; height: 100%; object-fit: cover; object-position: var(--focus, 50% 50%); }
.listen-card-blue .listen-card-media, .listen-card-dark .listen-card-media { background: var(--navy); }   /* the Spanish edition's stand-in cover stays dark */
.media-es { font-family: var(--display); font-weight: 700; font-size: clamp(min(1.6rem, 8vw), 2.6vw, 2.1rem); line-height: 1.1; text-align: center; color: var(--text-light); }
.listen-card-words { display: flex; flex-direction: column; align-items: flex-start; flex: 1; padding-inline: 0.8rem; }
.listen-card-words h2 { margin: 0 0 0.5rem; font-size: clamp(1.35rem, 2vw, 1.6rem); }
.listen-card-words .label { margin-bottom: 0.4rem; color: var(--accent); }
.listen-card-words .pill { margin-top: auto; }

/* ---------- New Inspirations, after In Touch's Read page: the newest first, large, as the reading pages show the next
   part of the book, with any earlier ones under it as cards; then the sign-up; then three vignettes to start the book.
   As wide as the reading pages' text and the column beside it. ---------- */
.wrap-read { max-width: calc(var(--rr-width) + 2 * clamp(1.25rem, 4vw, 2rem)); }
.insp-latest .rr-by { margin-top: 1.1rem; }
.insp-latest .actions { margin-top: 1.6rem; }
.insp-earlier { margin-top: clamp(3.5rem, 7vw, 5rem); }
.insp-earlier .rr-title-3 { margin-bottom: 1.75rem; }
.rr-card-when { margin: 0.5rem 0 0; font-size: 0.88rem; line-height: 1.45; }

/* The sign-up, after In Touch's daily email page: Mark's own words as the headline, the form in a white card, and the
   email itself on a phone, on a sand panel. On a computer the phone sits over the words and the card beside them; on a
   phone the words come first, then the form, then the email. */
.insp-signup-grid { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "words" "card" "preview"; gap: 2rem; }
@media (min-width: 56.25em) {
  .insp-signup-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); grid-template-areas: "preview card" "words card"; column-gap: clamp(2.5rem, 4.5vw, 3.75rem); row-gap: 2.25rem; }
}
.insp-words { grid-area: words; }
.insp-quote { margin: 0; }
.insp-quote p { margin: 0; font-family: var(--serif); font-weight: 450; font-size: clamp(1.75rem, 3.1vw, 2.4rem); line-height: 1.2; letter-spacing: -0.008em; color: var(--ink); text-wrap: balance; }
.insp-quote footer { margin-top: 0.9rem; font-family: var(--display); font-size: 0.95rem; font-weight: 600; color: var(--accent); }
.insp-lead { margin: 1.25rem 0 0; max-width: 34rem; font-size: 1.05rem; line-height: 1.65; color: var(--ink); }
.insp-card { grid-area: card; align-self: start; padding: clamp(1.5rem, 3vw, 2rem); background: var(--card); border: 1px solid var(--rule); border-radius: var(--rr-radius); }
.insp-card-title { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(1.6rem, 2.6vw, 1.9rem); line-height: 1.15; }
.insp-card-title:lang(en) { text-transform: none; }
.insp-card .signup { margin-top: 1.4rem; max-width: none; }
.insp-card .signup .fields { grid-template-columns: minmax(0, 1fr); }
/* the email on a phone: drawn 22.5rem wide, as an email is, and scaled to the phone's screen (13.9rem; 10.9rem on the
   narrowest screens, and not shown where even that would not fit). The panel shows the phone's upper part. */
.mail-preview { grid-area: preview; position: relative; height: 27rem; margin: 0; overflow: hidden; background: var(--sand); border-radius: var(--rr-radius); }
.phone { position: absolute; top: 2.25rem; left: 50%; width: 15rem; height: 31rem; margin-left: -7.5rem; padding: 0.55rem; background: var(--navy); border-radius: 2.4rem; box-shadow: 0 1.5rem 3rem -1.75rem rgba(12, 25, 48, 0.6); }
.phone::before { content: ""; position: absolute; z-index: 1; top: 1.1rem; left: 50%; width: 4.2rem; height: 1.15rem; margin-left: -2.1rem; border-radius: 999px; background: var(--navy); }
.phone-screen { height: 100%; overflow: hidden; background: var(--card); border-radius: 1.9rem; }
.mail { width: 22.5rem; padding-top: 2.6rem; transform: scale(0.6178); transform-origin: 0 0; }
@media (max-width: 21.25em) {
  .mail-preview { height: 22rem; }
  .phone { width: 12rem; height: 25rem; margin-left: -6rem; border-radius: 2rem; }
  .phone-screen { border-radius: 1.55rem; }
  .mail { transform: scale(0.4844); }
}
@media (max-width: 17.5em) { .mail-preview { display: none; } }
.mail p { margin: 0; }
.mail-top { display: flex; align-items: center; padding: 0.4rem 1.2rem 0.85rem; color: var(--ink); }
.mail-head { display: flex; align-items: center; gap: 0.9rem; padding: 1rem 1.2rem; background: var(--paper-deep); border-block: 1px solid var(--rule); }
.mail-head img { flex: none; width: 3.5rem; height: 3.5rem; border-radius: 50%; object-fit: cover; object-position: 50% 25%; }
.mail-head p { display: grid; gap: 0.15rem; line-height: 1.25; }
.mail-kicker { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; line-height: 1.1; color: var(--ink); }
.mail-from { font-size: 0.88rem; color: var(--ink); }
.mail-body { padding: 1.2rem 1.2rem 2rem; }
.mail .mail-date { margin-bottom: 0.45rem; font-family: var(--display); font-size: 0.82rem; font-weight: 600; line-height: 1.4; color: var(--accent); }
.mail-title { font-family: var(--serif); font-size: 1.9rem; font-weight: 500; line-height: 1.1; color: var(--ink); }
.mail .mail-deck { margin-top: 0.65rem; font-family: var(--serif); font-size: 1.1rem; line-height: 1.4; color: var(--ink); }
.mail .mail-ref { margin-top: 1.2rem; font-family: var(--display); font-size: 0.85rem; font-weight: 700; color: var(--accent); }
.mail .mail-verse { margin-top: 0.3rem; font-style: italic; font-size: 1rem; line-height: 1.5; color: var(--ink); }
.mail .mail-text { margin-top: 0.9rem; font-size: 1rem; line-height: 1.6; color: var(--ink); }
.mail-btn { display: inline-block; margin-top: 1.2rem; padding: 0.75rem 1.25rem; border-radius: 5px; background: var(--fill); font-family: var(--display); font-size: 0.9rem; font-weight: 600; color: var(--on-fill); }

/* ---------- More from Mark, More ways in: cards with a round navy icon, as Penyiar's contact details ---------- */
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.tiles-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tile a { display: grid; align-content: start; gap: 0.5rem; height: 100%; padding: 1.6rem 1.5rem 1.7rem; background: var(--card); border: 1px solid var(--rule-ink); border-radius: var(--radius); color: var(--ink); text-decoration: none; }
.tile a:hover { border-color: var(--accent); }
.tile-art { display: grid; place-items: center; width: 3.25rem; height: 3.25rem; margin-bottom: 0.5rem; border-radius: 50%; background: var(--fill); color: var(--on-fill); }
.tile-art:has(> img) { width: auto; height: auto; place-items: start; background: none; border-radius: 0; }
.tile-icon { width: 1.5rem; height: 1.5rem; }
.tile-icon.way-icon, .tile-icon { stroke-width: 1.7; }
.tile-title { font-family: var(--display); font-weight: 700; font-size: 1.15rem; line-height: 1.3; }
.tile-title:lang(en) { text-transform: capitalize; }
.tile-text { font-size: 0.95rem; color: var(--ink); }
.tile a:hover .tile-title { color: var(--accent); }
@media (max-width: 59.9375em) { .tiles, .tiles-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 34.9375em) { .tiles, .tiles-3 { grid-template-columns: minmax(0, 1fr); } }

/* ---------- About: Mark, his story and a timeline ---------- */
.pastor { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 47.5em) { .pastor { grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: clamp(2.5rem, 5vw, 4.5rem); } }
.round-photo { width: 100%; max-width: 15rem; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }
.pastor-lg .round-photo { max-width: 19rem; }
@media (min-width: 47.5em) { .pastor-lg { grid-template-columns: minmax(0, 19rem) minmax(0, 1fr); } }
.pastor-words h2 { margin-bottom: 0.6rem; }
.pastor-words > p:not(.lead) { max-width: 40rem; }
.bio-grid { display: grid; gap: 3rem; }
.bio p { color: var(--ink); }
.photo-figure { margin: 2.25rem 0; }
.photo-figure img { width: 100%; border-radius: var(--radius); }
.about-intro { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 47.5em) { .about-intro { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(3rem, 6vw, 6rem); } }
.about-portrait { width: calc(100% - 0.9rem); max-width: 29rem; margin-left: 0.9rem; aspect-ratio: 1; object-fit: cover; border-radius: 4px; box-shadow: -0.9rem 0.9rem 0 var(--accent); }
@media (max-width: 47.4375em) { .about-portrait { max-width: 21rem; } }
.about-intro .lead { margin: 0; max-width: 32ch; font-family: var(--display); font-weight: 600; font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.4; color: var(--ink); text-wrap: pretty; }
.about-intro .actions { margin-top: 2.25rem; }
.bio-g > .bio-head > h2 { margin-top: 0; }
@media (min-width: 60em) {
  .bio-g { max-width: none; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); column-gap: clamp(3rem, 6vw, 6rem); align-items: start; }
  .bio-g > * { grid-column: 1; }
  .bio-g > .photo-figure { grid-column: 2; grid-row: 2 / span 3; position: sticky; top: 7.5rem; margin: 0.4rem 0 0; }
}
@media (min-width: 75em) { .bio-g { grid-template-columns: minmax(0, var(--measure)) minmax(16rem, 1fr); } }
figcaption { margin-top: 0.7rem; font-size: 0.88rem; line-height: 1.5; color: var(--ink); }

/* ---------- Write to Mark: Penyiar's contact page, the details on the left and the form in a card ---------- */
.write-grid { display: grid; gap: 3rem; }
@media (min-width: 56.25em) { .write-grid { grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.5fr); gap: clamp(3rem, 6vw, 5rem); align-items: start; } .write-aside { order: -1; } }
.write-main { padding: clamp(1.5rem, 3vw, 2.5rem); background: var(--card); border: 1px solid var(--rule-ink); border-radius: var(--radius); }
.write-main h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.write-aside .round-photo { max-width: 10rem; margin-bottom: 1.25rem; box-shadow: -0.6rem 0.6rem 0 var(--accent); margin-left: 0.6rem; }
.write-name { margin: 0 0 0.35rem; font-family: var(--display); font-weight: 700; font-size: 1.5rem; line-height: 1.2; color: var(--ink); }
.write-name a { color: inherit; text-decoration: none; }
.write-aside p:not(.write-name) { font-size: 1rem; }

/* ---------- Reading pages (a vignette, a new inspiration), after In Touch's daily devotions and the book's own pages.
   A quiet opening on the cream: the photo, the number, the title in Newsreader as the book sets its titles, the line
   under it, who wrote it and how long it takes, and the recording. The text on the white, its verses set as the book
   sets them (an indented epigraph) and a drop capital; the verses, dark mode and sharing beside it on a computer and
   after it on a phone. Then the next part of the book large and three more as cards, on the cream. ---------- */
/* titles from the book keep the book's capitals: "It's not a religion, it's a relationship" */
.rr-title:lang(en), .rr-title-2:lang(en), .rr-title-3:lang(en), .rr-card-title:lang(en), .rr-side-label:lang(en) { text-transform: none; }

/* ---------- The opening, on the cream ---------- */
.rr-head { background: var(--paper-deep); padding-block: clamp(1rem, 2.5vw, 1.75rem) clamp(3rem, 6vw, 4.5rem); }
.rr-head-inner { max-width: calc(var(--rr-width) + 2 * clamp(1.25rem, 4vw, 2rem)); }
.rr-back { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; font-family: var(--display); font-size: 0.92rem; font-weight: 600; color: var(--ink); text-decoration: none; }
.rr-back svg { width: 1rem; height: 1rem; }
.rr-back:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 0.2em; }
.rr-figure { margin: 0.5rem 0 0; }
.rr-figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: var(--focus, 50% 50%); border-radius: var(--rr-radius); }
@media (min-width: 48em) { .rr-figure img { aspect-ratio: 21 / 9; } }
.rr-titles { max-width: 46rem; margin: clamp(2rem, 4.5vw, 3rem) auto 0; text-align: center; }
.rr-num { margin: 0 0 0.85rem; font-family: var(--display); font-size: 0.95rem; font-weight: 600; line-height: 1.35; color: var(--accent); }
.rr-title { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(2.35rem, 5.4vw, 3.75rem); line-height: 1.06; letter-spacing: -0.012em; text-wrap: balance; }
.rr-deck { max-width: 36rem; margin: 1.15rem auto 0; font-size: clamp(1.1rem, 1.9vw, 1.28rem); line-height: 1.55; text-wrap: balance; }
/* two short sentences; on a phone the second moves to its own line whole, never starting with the full stop */
.rr-by { margin: 1.35rem 0 0; font-size: 0.95rem; line-height: 1.5; }
.rr-by-part { display: inline-block; }
.rr-by a { color: var(--ink); }
.rr-avatar { display: inline-block; width: 2rem; height: 2rem; margin: -0.15rem 0.6rem 0 0; vertical-align: middle; border-radius: 50%; object-fit: cover; object-position: 50% 25%; }
.rr-listen { max-width: 34rem; margin: 1.9rem auto 0; padding: 0.7rem 1.25rem 0.85rem 0.7rem; background: var(--card); border: 1px solid var(--rule); border-radius: 18px; text-align: left; }
.rr-listen .player-note { margin: 0.35rem 0 0 0.5rem; font-size: 0.88rem; }
.rr-listen .player-error { margin: 0.4rem 0 0 0.5rem; }

/* ---------- The text, on the white ---------- */
.rr-body { background: var(--paper); }
.rr-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem; max-width: calc(var(--rr-width) + 2 * clamp(1.25rem, 4vw, 2rem)); padding-block: clamp(3rem, 6vw, 4.5rem) clamp(4rem, 8vw, 6rem); }
.rr-text { max-width: 40rem; }
@media (min-width: 60em) {
  .rr-grid { grid-template-columns: 14rem minmax(0, 1fr); column-gap: clamp(3rem, 5vw, 5rem); }
  .rr-side { grid-column: 1; grid-row: 1; align-self: start; position: sticky; top: 7.5rem; }
  .rr-text { grid-column: 2; }
}

/* the verses that open and close each vignette, set as the book sets them: indented, in italic, the reference under them */
.rr-epigraph { margin: 0 0 2.5rem; padding: 0 clamp(0rem, 5vw, 2.75rem); }
.rr-epigraph p { margin: 0; font-style: italic; font-size: 1.1em; line-height: 1.6; }
.rr-epigraph footer { margin-top: 0.65rem; font-family: var(--display); font-size: 0.88rem; font-weight: 700; color: var(--accent); }
.rr-epigraph-close { margin: 2.75rem 0 2.5rem; }
/* the book opens each vignette with a drop capital, two lines deep: its top meets the first line's capitals and it sits
   on the second line's baseline, so the third line runs full width. Chrome, Edge and Safari fit it exactly with
   initial-letter; other browsers float it, sized from the two typefaces' cap heights (Newsreader 0.67, Noto Sans 0.714). */
.rr-first::first-letter { float: left; margin: 0.24em 0.1em 0 0; font-family: var(--serif); font-weight: 500; font-size: 3.75em; line-height: 0.66; color: var(--accent); }
@supports (initial-letter: 2) or (-webkit-initial-letter: 2) {
  .rr-first::first-letter { float: none; margin: 0 0.4rem 0 0; font-size: 1em; line-height: inherit; -webkit-initial-letter: 2; initial-letter: 2; }
}
/* a line from the text, repeated larger beside it */
.rr-pull { margin: 2.75rem 0; text-align: center; }
.rr-pull::before { content: ""; display: block; width: 3rem; height: 3px; margin: 0 auto 1.35rem; background: var(--fill); }
.rr-pull p { max-width: 30rem; margin: 0 auto; font-family: var(--serif); font-weight: 450; font-size: clamp(1.5rem, 3vw, 1.95rem); line-height: 1.3; text-wrap: balance; }
/* the rest of the text as the book sets it: verses within it set like the opening verse (the words the book sets
   upright for emphasis stay upright), Scripture quoted within a sentence in italic, headings in the titles' serif and
   keeping the book's capitals, a passage in italic (a prayer), lists, and long web addresses that may break anywhere */
.rr-verse { margin: 2.25rem 0; }
.rr-epigraph strong { font-style: normal; font-weight: 700; }
.rr-text em.sc { font-style: italic; font-weight: 550; }
.rr-sub { margin: 2.5rem 0 1rem; font-family: var(--serif); font-weight: 600; font-size: 1.45rem; line-height: 1.25; letter-spacing: 0; }
.rr-sub:lang(en) { text-transform: none; }
.rr-italic { font-style: italic; }
.rr-list { margin: 0 0 1em; padding-left: 1.35rem; }
.rr-list li { margin: 0 0 0.6em; padding-left: 0.2rem; }
.rr-list li::marker { color: var(--accent); }
.rr-list-plain { list-style: none; padding-left: 0; }
.rr-list-plain li { margin: 0 0 0.35em; padding-left: 0; }
.rr-url, .rr-link a { overflow-wrap: anywhere; }
.rr-text { overflow-wrap: break-word; }   /* a long word ("Protestant/evangelical") breaks rather than run off a narrow screen */
.about-author a:lang(es) { white-space: normal; }   /* the Spanish link is long: it may wrap */
/* under the byline: the same vignette in the other book */
.rr-lang { margin: 0.65rem 0 0; font-family: var(--display); font-size: 0.92rem; font-weight: 600; }
/* after the note about Mark: the vignettes before and after this one, as the long lists' Previous and Next */
.rr-steps { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 1.25rem 2rem; margin: 2.5rem 0 0; padding: 1.75rem 0 0; border-top: 1px solid var(--rule-ink); }
.rr-steps .pager-step { flex: 1 1 14rem; max-width: 22rem; }
.rr-steps .pager-next { justify-content: flex-end; }
.rr-step-title { font-family: var(--serif); font-size: 1.02rem; line-height: 1.35; color: var(--ink); }
.rr-steps .pager-step:hover .rr-step-title { color: var(--accent); }
@media (max-width: 37.4375em) {
  .rr-steps { flex-direction: column; align-items: stretch; gap: 1rem; }
  .rr-steps .pager-step { max-width: none; flex-basis: auto; }
  .rr-steps .pager-next { margin-left: 0; flex-direction: row-reverse; justify-content: flex-end; text-align: left; }
}

/* beside the text: the verses it quotes, dark mode, sharing */
.rr-side-label { margin: 0 0 0.75rem; font-family: var(--display); font-size: 0.95rem; font-weight: 600; line-height: 1.35; color: var(--accent); }
.rr-side-group + .rr-side-group { margin-top: 2rem; }
html:not(.js) .rr-side-night { display: none; }   /* its one button, dark mode, needs scripts */
.rr-verses { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule-ink); }
.rr-verses li { border-bottom: 1px solid var(--rule-ink); }
.rr-verses summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 48px; cursor: pointer; list-style: none; font-family: var(--serif); font-size: 1.15rem; font-weight: 500; }
.rr-verses summary::-webkit-details-marker { display: none; }
.rr-verses summary::after { content: ""; flex: none; width: 0.5rem; height: 0.5rem; margin-right: 0.25rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-0.15rem) rotate(45deg); transition: transform 0.15s; }
.rr-verses details[open] summary::after { transform: translateY(0.15rem) rotate(225deg); }
.rr-verses summary:hover { color: var(--accent); }
.rr-verses details p { margin: 0 0 1rem; font-style: italic; font-size: 0.95rem; line-height: 1.6; }
.rr-side .post-actions { display: flex; flex-direction: column; align-items: stretch; gap: 0; margin: 0; border-top: 1px solid var(--rule-ink); }
.rr-side .post-actions .btn { justify-content: flex-start; min-height: 44px; margin: 0; padding: 0; background: none; border: 0; border-bottom: 1px solid var(--rule-ink); border-radius: 0; font-size: 0.92rem; color: var(--ink); }
.rr-side .post-actions .btn:hover { background: none; color: var(--accent); }
.rr-side .action-status { margin: 0.75rem 0 0; }

/* ---------- Next in the book, and three more, on the cream ---------- */
.rr-next { padding-block: clamp(3.5rem, 7vw, 5.5rem); background: var(--paper-deep); }
.rr-next-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.75rem 3.5rem; align-items: center; max-width: calc(var(--rr-width) + 2 * clamp(1.25rem, 4vw, 2rem)); }
@media (min-width: 48em) { .rr-next-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); } }
.rr-next-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--rr-radius); }
.rr-title-2 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1.1; letter-spacing: -0.01em; }
.rr-title-2 a { color: var(--ink); text-decoration: none; }
.rr-title-2 a:hover { color: var(--accent); }
.rr-teaser { margin: 1rem 0 0; font-size: 1.12rem; line-height: 1.55; }
.rr-next .actions { margin-top: 1.6rem; }
.rr-more { max-width: calc(var(--rr-width) + 2 * clamp(1.25rem, 4vw, 2rem)); margin-top: clamp(3rem, 6vw, 4.5rem); }
.rr-more-panel { padding: clamp(1.5rem, 3.5vw, 2.5rem); background: var(--card); border-radius: var(--rr-radius); }
.rr-more-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.5rem 1.5rem; margin-bottom: 1.75rem; }
.rr-title-3 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(1.65rem, 3vw, 2.15rem); line-height: 1.15; }
.rr-cards { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15.5rem), 1fr)); gap: 2rem 1.75rem; margin: 0; padding: 0; }
.rr-card-photo { display: block; }
.rr-card-img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--rr-radius); }
.rr-card .rr-num { margin: 1rem 0 0.35rem; font-size: 0.88rem; }
.rr-card-title { margin: 0 0 0.45rem; font-family: var(--serif); font-weight: 500; font-size: 1.45rem; line-height: 1.2; }
.rr-card-title a { color: var(--ink); text-decoration: none; }
.rr-card-title a:hover { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
.rr-card-line { margin: 0; font-size: 0.95rem; line-height: 1.55; }

/* the text, as on every reading page */
main > article { border-top: 0; }
article .prose { font-size: 1.0625rem; line-height: 1.75; color: var(--ink); }
@media (min-width: 43.75em) { article .prose { font-size: 1.125rem; line-height: 1.8; } }
article .prose h2, article .prose h3 { color: var(--ink); }
.tool {
  display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; padding: 0.4rem 1rem;
  font-family: var(--display); font-size: 0.88rem; font-weight: 600; line-height: 1.2; color: var(--ink);
  background: var(--card); border: 1.5px solid var(--field); border-radius: 999px; cursor: pointer;
}
.tool:hover { border-color: var(--accent); color: var(--accent); }
.tool[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
.tool svg { width: 1rem; height: 1rem; flex: none; }
.vn { font-style: normal; font-family: var(--display); font-weight: 700; font-size: 0.55em; line-height: 0; color: var(--accent); margin: 0 0.15em 0 0.2em; }
.about-author { margin: 2.5rem 0 0; padding: 1.25rem 0 0; border-top: 1px solid var(--rule); font-size: 0.95em; color: var(--ink); }
.about-author a { font-weight: 600; white-space: nowrap; }
.post-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1.5rem 0 0; }
.post-actions .btn { min-height: 44px; padding: 0.45rem 1rem; font-size: 0.88rem; }
.action-status { font-size: 0.95rem; color: var(--ink); }

/* ---------- The player: a round navy button and a line that fills as it plays ----------
   Without scripts the browser's own controls show instead. Sizes are in em, so they grow with the text. */
.player { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; column-gap: 1rem; scroll-margin-top: 7rem; }
.player audio { grid-column: 1 / -1; width: 100%; }
.player-ui { display: contents; }
.player-ui[hidden] { display: none; }
.player-play { display: inline-flex; align-items: center; gap: 0.75rem; min-height: 52px; margin: 0; padding: 0 0.5rem 0 0; font-family: var(--display); font-size: 0.95em; font-weight: 600; color: var(--ink); background: none; border: 0; border-radius: 999px; cursor: pointer; }
.player-disc { display: grid; place-items: center; flex: none; width: 3.25rem; height: 3.25rem; border-radius: 50%; background: var(--fill); color: var(--on-fill); }
.player-disc svg { width: 1rem; height: 1rem; margin-left: 0.15rem; }
.player-disc svg + svg, .is-playing .player-disc svg:first-child { display: none; }
.is-playing .player-disc svg + svg { display: block; margin-left: 0; }
.player-play:hover .player-disc { background: var(--fill-deep); }
.player-play:hover .player-word { text-decoration: underline; text-underline-offset: 0.2em; }
.player-word { min-width: 3.9em; text-align: left; }
.player-seek { --p: 0%; -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 2.75rem; margin: 0; padding: 0; background: transparent; cursor: pointer; }
.player-seek:disabled { cursor: default; }
.player-seek::-webkit-slider-runnable-track { height: 0.3rem; border-radius: 999px; background-color: var(--rule-ink); background-image: linear-gradient(90deg, var(--accent) var(--p), transparent var(--p)); }
.player-seek::-moz-range-track { height: 0.3rem; border-radius: 999px; background-color: var(--rule-ink); background-image: linear-gradient(90deg, var(--accent) var(--p), transparent var(--p)); }
.player-seek::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 1rem; height: 1rem; margin-top: -0.35rem; border: 0; border-radius: 50%; background: var(--fill); box-shadow: 0 0 0 3px var(--paper); }
.player-seek::-moz-range-thumb { width: 1rem; height: 1rem; border: 0; border-radius: 50%; background: var(--fill); box-shadow: 0 0 0 3px var(--paper); }
.player-seek:disabled::-webkit-slider-thumb { visibility: hidden; }
.player-seek:disabled::-moz-range-thumb { visibility: hidden; }
.player-time { font-family: var(--display); font-size: 0.85em; font-weight: 500; font-variant-numeric: tabular-nums; color: var(--ink); white-space: nowrap; }
.player-error { grid-column: 1 / -1; margin: 0; padding: 0.75rem 1rem; font-size: 1rem; background: var(--paper-deep); border-left: 3px solid var(--accent); border-radius: 4px; }
.player-note { grid-column: 1 / -1; margin: 0.5rem 0 0; font-size: 0.88em; color: var(--ink); }
.player.is-custom .player-note { grid-column: 2 / -1; margin-top: -0.2rem; }
.player-note a { white-space: nowrap; font-weight: 600; }
@media (max-width: 35em) {
  .player { grid-template-columns: auto minmax(0, 1fr); }
  .player-time { justify-self: end; }
  .player-seek { grid-column: 1 / -1; grid-row: 2; }
  .player.is-custom .player-note { grid-column: 1 / -1; margin-top: 0; }
}

/* the bar that plays the parts on this page, once their MP3s are in the site */
.now-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--ink); color: var(--text-light); border-top: 3px solid var(--accent); }
.now-bar[hidden] { display: none; }
.has-now-bar { padding-bottom: var(--now-h, 6.5rem); }   /* scripts set --now-h to the bar's height */
.now-inner { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 0.5rem 1rem; padding-block: 0.7rem; }
.now-play { padding: 0; background: none; border: 0; border-radius: 50%; cursor: pointer; }
.now-bar.is-playing .player-disc svg:first-child { display: none; }
.now-bar.is-playing .player-disc svg + svg { display: block; margin-left: 0; }
.now-title { margin: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-family: var(--display); font-weight: 600; line-height: 1.3; }
.now-label { margin-right: 0.5rem; font-family: var(--display); font-size: 0.8rem; font-weight: 600; color: var(--accent-on-dark); }
.now-line { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 0.85rem; }
.now-line .player-seek { height: 1.9rem; grid-column: auto; grid-row: auto; }
.now-line .player-seek::-webkit-slider-runnable-track { background-color: rgba(255, 255, 255, 0.24); background-image: linear-gradient(90deg, var(--gold-light) var(--p), transparent var(--p)); }
.now-line .player-seek::-moz-range-track { background-color: rgba(255, 255, 255, 0.24); background-image: linear-gradient(90deg, var(--gold-light) var(--p), transparent var(--p)); }
.now-line .player-seek::-webkit-slider-thumb { background: #FFFFFF; box-shadow: none; }
.now-line .player-seek::-moz-range-thumb { background: #FFFFFF; box-shadow: none; }
.now-line .player-time { justify-self: auto; color: var(--text-light); }
.now-error { margin: 0.2rem 0 0; font-size: 0.95rem; color: var(--text-light); }
.now-error a { color: var(--text-light); }
.now-close { width: 44px; height: 44px; padding: 0; font: inherit; font-size: 1.6rem; line-height: 1; color: var(--text-light); background: transparent; border: 1px solid rgba(255, 255, 255, 0.45); border-radius: 50%; cursor: pointer; }
.now-close:hover { border-color: #FFFFFF; }
@media (max-width: 37.4375em) {
  .now-inner { gap: 0.25rem 0.75rem; padding-block: 0.6rem; }
  .now-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }   /* the bar is already named "Now playing" */
  .now-title { font-size: 0.95rem; }
  .now-line { gap: 0.6rem; }
  .now-line .player-time { font-size: 0.85rem; }
  .now-play .player-disc { width: 2.75rem; height: 2.75rem; }
}

/* ---------- Footer, after Penyiar's: a card across the edge where the white meets the cream ("Listening Our Radio &
   Podcast On"), with a large title and the ways to buy, read and hear the book as round icons, each in its own colour;
   then the name centred on the cream, the menu between thin bars, the verse, and the small print ---------- */
.site-footer { position: relative; background: var(--paper-deep); color: var(--ink); padding-block: 0 2rem; font-size: 0.96rem; }
main > :last-child { margin-bottom: 0; }
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { color: var(--accent); text-decoration: underline; }
/* the page's white gives way to the footer's cream at the card's middle */
.ways-band { --ways-above: clamp(2rem, 4vw, 3rem); padding-top: var(--ways-above); background: linear-gradient(var(--paper) calc(50% + var(--ways-above) / 2), var(--paper-deep) 0); }
.ways-card { position: relative; isolation: isolate; overflow: hidden; display: grid; gap: 1.75rem 3rem; align-items: center; justify-items: center; min-height: 15rem;
  padding: clamp(2.25rem, 5vw, 3.5rem) clamp(1rem, 5vw, 4rem); background: var(--card-soft); box-shadow: 0 0.4rem 2.5rem rgba(12, 25, 48, 0.08); text-align: center; }
.ways-card::after { content: ""; position: absolute; z-index: -1; right: 0; bottom: 0; width: min(26rem, 80%); aspect-ratio: 2 / 1; background: var(--wave-ink); pointer-events: none;
  -webkit-mask: url("../img/waves.svg") center / 100% 100% no-repeat; mask: url("../img/waves.svg") center / 100% 100% no-repeat; }
.ways-card-title { margin: 0; font-size: clamp(2rem, 1.1rem + 2.9vw, 3.4rem); line-height: 1.08; letter-spacing: -0.01em; }
.ways-line { display: block; }
.ways-card-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 1.1rem 0.4rem; max-width: 16rem; }
@media (min-width: 35em) { .ways-card-list { max-width: none; column-gap: 0.85rem; } }
@media (min-width: 75em) {   /* side by side once the title fits on two lines beside the icons */
  .ways-card { grid-template-columns: minmax(0, 1fr) auto; justify-items: start; text-align: left; }
  .ways-card-list { justify-content: flex-end; margin-right: clamp(0rem, 6vw - 3rem, 4.5rem); }
}
.way { color: var(--ink); text-decoration: none; display: flex; flex-direction: column; align-items: center; gap: 0.55rem; width: 4.75rem; padding: 0.3rem 0; font-family: var(--display); font-size: 0.82rem; font-weight: 600; line-height: 1.25; text-align: center; }
.way-disc { display: grid; place-items: center; width: 3.25rem; height: 3.25rem; border-radius: 50%; background: var(--way); color: var(--text-light);
  box-shadow: 0 0.45rem 1rem -0.45rem rgba(12, 25, 48, 0.55); transition: transform 0.2s ease; }
.way-disc .way-icon { width: 1.45rem; height: 1.45rem; stroke-width: 1.8; }
.way:hover { color: var(--accent); }
.way:hover .way-name { text-decoration: underline; text-underline-offset: 0.18em; }
.way:hover .way-disc { transform: translateY(-3px); }
.way-amazon { --way: #B4690C; }    /* white on each of these: 4.2:1 or more */
.way-pdf { --way: #2D63A6; }
.way-listen { --way: var(--gold); }
.way-youtube { --way: #7E3F98; }
.way-spanish { --way: #2E7C4E; }
.footer-center { display: flex; flex-direction: column; align-items: center; gap: 1.25rem; text-align: center; padding-top: clamp(2.75rem, 6vw, 4rem); }
.footer-logo { margin-bottom: 0.25rem; }
.site-footer .footer-logo:hover { text-decoration: none; }
.footer-nav { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem 0; }
.footer-nav li { display: flex; align-items: center; }
.footer-nav li + li::before { content: ""; width: 1px; height: 1.1rem; margin-inline: 1.15rem; background: var(--rule-ink); }
.footer-nav a { display: inline-block; padding: 0.35rem 0; font-family: var(--display); font-size: 0.92rem; font-weight: 600; }
.footer-text { margin: 0; max-width: 34rem; }
.footer-verse { margin: 0.25rem 0 0; max-width: 34rem; }
.footer-verse blockquote { margin: 0; }
.footer-verse p { margin: 0; font-style: italic; font-size: 1.05rem; line-height: 1.5; color: var(--ink); }
.footer-verse figcaption { margin-top: 0.4rem; font-family: var(--display); font-size: 0.85rem; font-weight: 600; color: var(--accent); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 2rem; margin-top: clamp(2.5rem, 5vw, 3.5rem); padding-top: 1.4rem; border-top: 1px solid var(--rule-ink); }
.fine { margin: 0; font-size: 0.88rem; color: var(--ink); }
.footer-fine { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem 1.75rem; font-family: var(--display); font-size: 0.88rem; font-weight: 600; }
@media (max-width: 37.4375em) { .footer-bottom { flex-direction: column; align-items: flex-start; } .footer-nav { gap: 0.2rem 1.4rem; } .footer-nav li + li::before { display: none; } }

/* ---------- Dark mode (every page): the white and the cream turn dark, and stay easy on the eyes ---------- */
@media screen {
  .night { color-scheme: dark; }
  .night body {
    --paper: #08121F; --paper-deep: #0C1828; --card: #102035; --ink: var(--text-light); --on-ink: var(--text-dark);
    --rule: #22344D; --rule-ink: #3D5373; --field: #8B9BB4; --accent: var(--gold-light); --accent-deep: #E5CB93; --accent-tint: rgba(212, 176, 106, 0.18); --sand: #16263D;
    --on-accent: var(--navy); --fill: var(--gold-light); --fill-deep: #E5CB93; --on-fill: var(--navy);
    --card-soft: #102035; --wave-ink: rgba(255, 251, 242, 0.08);
    background: var(--paper); color: var(--ink);
  }
  .night .ways-card { box-shadow: inset 0 0 0 1px var(--rule), 0 0.4rem 2.5rem rgba(0, 0, 0, 0.45); }
  .night .way-disc { box-shadow: 0 0.45rem 1rem -0.45rem rgba(0, 0, 0, 0.8); }
  .night .draft-banner, .night .notice-bar { background: #040C18; color: var(--text-light); }
  .night .page-hero, .night .cta-i, .night .signup-i, .night .photo-quote {
    background: linear-gradient(rgba(4, 12, 24, 0.86), rgba(4, 12, 24, 0.86)), var(--studio) var(--studio-at) / cover no-repeat, #040C18; }
  .night .blue-band { background: #0E2440; }
  .night .blue-band .pill-light { background: #FFFFFF; border-color: #FFFFFF; color: var(--text-dark); }
  .night .rr-figure img, .night .rr-next-img, .night .rr-card-img, .night .vtile-art, .night .why-main { filter: brightness(0.88); }
  .night .hero-i-cover, .night .product-art img { box-shadow: none; }
  .night .product-art img, .night .art-es-lg, .night .edition-i-art img { box-shadow: 0.9rem 0.9rem 0 #5C4A26; }
  .night .now-bar { background: #040C18; }
  .night .phone, .night .phone::before { background: #040C18; }
  .night .phone { box-shadow: 0 0 0 1px var(--rule-ink); }
  .night .art-es-lg, .night .listen-card-blue .listen-card-media, .night .listen-card-dark .listen-card-media { background: #16263D; }
  .night .signup-i input { background: #FFFDF9; color: var(--text-dark); }
}

/* ---------- Print ---------- */
@media print {
  .draft-banner, .notice-bar, .skip-link, .site-header, .site-footer, .post-actions, .action-status, .band-signup,
  .photo-quote, .blue-band, .tiles, .band:has(.tiles), .band:has(.vgrid-shelf), .now-bar, .listen-ways, .vtile-art, .vtile-listen,
  .crumbs, .cta-i, .pager, .pager-foot, .insp-signup, .rr-back, .rr-figure, .rr-avatar, .rr-listen, .rr-pull, .rr-side, .rr-next,
  .rr-steps, .rr-lang { display: none !important; }
  .vpage { display: block !important; content-visibility: visible !important; }   /* every page of a long list */
  body { background: #fff; color: #000; font-size: 12pt; }
  .page-hero { background: none; color: #000; min-height: 0; padding: 0 0 1rem; }
  .page-hero h1 { color: #000; }
  .rr-head { background: none; padding-block: 0 1rem; }
  .rr-titles { margin-top: 0; }
  .rr-grid { display: block; padding: 0; }
  main > * + * { border-top: 0; }
  a { color: #000; text-decoration: none; }
}
