@font-face { font-family: 'Atkinson Hyperlegible Next'; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/atkinson-hyperlegible-next-normal-400.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Atkinson Hyperlegible Next'; font-style: normal; font-weight: 700; font-display: swap; src: url("assets/fonts/atkinson-hyperlegible-next-normal-400.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Literata'; font-style: italic; font-weight: 400; font-display: swap; src: url("assets/fonts/literata-italic-400.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Schibsted Grotesk'; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/schibsted-grotesk-normal-600.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Schibsted Grotesk'; font-style: normal; font-weight: 800; font-display: swap; src: url("assets/fonts/schibsted-grotesk-normal-600.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Proverbs For Wisdom: series navy from the covers' title ink, the covers' sun gold for actions and verse numbers. */
:root {
  --navy-950: #0d1730;
  --navy-900: #15244a;
  --navy-800: #1c2f5c;
  --navy-700: #2a4278;
  --gold-500: #e2a73a;
  --gold-300: #f2cf86;
  --gold-wash: #fbf1dc;
  --gold-ink: #8a5d0f;
  --on-navy: #f6f2ea;
  --on-navy-2: #c3cce0;
  --ink: #14203d;
  --ink-2: #4a5570;
  --line: #dfe3ec;
  --line-strong: #c3cbdb;
  --ground: #ffffff;
  --ground-2: #f3f5f9;
  --paper: #fffdf8;
  --error: #b3261e;

  --f-display: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", "Segoe UI", system-ui, sans-serif;
  --f-scripture: "Literata", Georgia, "Times New Roman", serif;

  --step-0: 1.125rem;   /* 18px body */
  --step-1: 1.375rem;
  --step-2: 1.75rem;
  --step-3: clamp(1.9rem, 1.3rem + 1.8vw, 2.75rem);
  --step-4: clamp(2.2rem, 1.2rem + 2vw, 2.75rem);

  --gutter: clamp(16px, 4vw, 48px);
  --section: clamp(64px, 8vw, 112px);
  --radius: 6px;
  --lift: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; scrollbar-color: var(--navy-700) var(--ground-2); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--f-body); font-size: var(--step-0); line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; text-wrap: balance; margin: 0; }
h2 { font-size: var(--step-3); margin-bottom: 18px; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: .22em; }
::selection { background: var(--gold-300); color: var(--navy-950); }
input, textarea, select, button { font: inherit; color: inherit; }
input, textarea { caret-color: var(--navy-900); }
:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 3px; border-radius: 2px; }
.sprite { position: absolute; }
.ic { width: 1.1em; height: 1.1em; flex: none; }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--gold-500); color: var(--navy-950); padding: 10px 16px; font-weight: 700; z-index: 10; border-radius: var(--radius); }
.skip:focus { top: 12px; }
.wrap { max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; border: 0; border-radius: var(--radius); font-weight: 700; cursor: pointer; text-decoration: none; transition: background-color .2s, color .2s, transform .2s var(--lift); }
.btn:active { transform: translateY(1px); }
.btn-gold { background: var(--gold-500); color: var(--navy-950); }
.btn-gold:hover { background: var(--gold-300); }
.btn-navy { background: var(--navy-900); color: var(--on-navy); padding: 15px 26px; font-size: var(--step-0); }
.btn-navy:hover { background: var(--navy-700); }
.btn-quiet { background: transparent; color: var(--ink); border: 1.5px solid var(--line-strong); padding: 9px 14px; font-size: 1rem; }
.btn-quiet:hover { border-color: var(--navy-900); }
.btn-quiet[aria-expanded="true"] { background: var(--navy-900); border-color: var(--navy-900); color: var(--on-navy); }
.btn-small { padding: 9px 14px; font-size: 1rem; }

/* ---------- preview strip + masthead ---------- */
.preview-strip { background: var(--navy-950); color: var(--gold-300); text-align: center; font-size: .9375rem; padding: 6px var(--gutter); }
.masthead { background: var(--navy-900); color: var(--on-navy); }
.masthead-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px 32px; flex-wrap: wrap; padding-block: 18px; }
.wordmark { display: grid; text-decoration: none; line-height: 1.15; }
.wordmark-name { font-family: var(--f-display); font-weight: 800; font-size: 1.375rem; letter-spacing: -0.015em; }
.wordmark-by { font-size: .9375rem; color: var(--on-navy-2); }
.nav { display: flex; flex-wrap: wrap; gap: 4px 28px; }
.nav a { text-decoration: none; font-weight: 700; padding: 6px 0; border-bottom: 2px solid transparent; transition: border-color .2s; }
.nav a:hover { border-bottom-color: var(--gold-500); }

/* ---------- hero ---------- */
.hero { background: var(--navy-900); color: var(--on-navy); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 1fr);
  grid-template-areas: "copy finder" "shelf shelf";
  column-gap: clamp(32px, 5vw, 80px);
  padding-block: clamp(24px, 2.2vw, 30px) 0;
  align-items: start;
}
.hero-copy { grid-area: copy; }
.hero h1 { font-size: var(--step-4); line-height: 1.04; letter-spacing: -0.03em; max-width: 16ch; color: var(--on-navy); }
.hero-lede { margin-top: 14px; max-width: 44ch; color: var(--on-navy-2); font-size: 1.1875rem; }

/* finder: the signature interaction */
.finder { grid-area: finder; background: var(--navy-800); border: 1px solid rgba(242, 207, 134, .22); border-radius: 10px; padding: 20px 22px 18px; }
.finder-label { display: block; font-weight: 700; margin-bottom: 12px; }
.finder-row { display: flex; align-items: stretch; height: 62px; background: var(--ground); border-radius: var(--radius); overflow: hidden; box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .6); }
.finder-row:focus-within { outline: 3px solid var(--gold-500); outline-offset: 3px; }
.finder-prefix { display: flex; align-items: center; padding-left: 18px; color: var(--ink-2); font-weight: 700; }
.finder-input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--ink); padding: 0 10px; font-family: var(--f-display); font-weight: 800; font-size: 1.75rem; letter-spacing: .01em; font-variant-numeric: tabular-nums; }
.finder-input:focus { outline: none; }
.finder-input::placeholder { color: #8a93a8; opacity: 1; }
.finder-go { padding: 0 22px; font-size: 1.0625rem; border-radius: 0; background: var(--navy-700); color: var(--on-navy); }
.finder-go:hover { background: var(--navy-900); }
.finder-status { margin-top: 12px; font-size: 1rem; color: var(--on-navy-2); min-height: 69px; }
.finder-status[data-state="found"] { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.finder-status[data-state="missing"], .finder-status[data-state="invalid"] { color: var(--on-navy); }
.finder-result { margin-top: 12px; display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; align-items: center; height: 69px; box-sizing: border-box; background: rgba(255, 255, 255, .07); border-radius: 8px; padding: 8px 10px; animation: rise .45s var(--lift) both; }
.finder-result img, .finder-result .mini-placeholder { width: 40px; border-radius: 2px 3px 3px 2px; box-shadow: 0 6px 12px -6px rgba(0, 0, 0, .6); }
.mini-placeholder { aspect-ratio: 760 / 1005; background: var(--navy-700); }
.fr-text { min-width: 0; line-height: 1.3; }
.fr-ref { display: block; font-family: var(--f-display); font-weight: 800; font-size: 1.125rem; color: var(--gold-300); }
.fr-book { display: block; font-size: .875rem; color: var(--on-navy-2); }
.fr-book a { color: var(--on-navy); font-weight: 700; }
.fr-watch { background: var(--on-navy); color: var(--navy-950); padding: 9px 14px; font-size: .9375rem; }
.fr-watch:hover { background: var(--ground); }

/* shelf: the books are the hero */
.shelf { grid-area: shelf; list-style: none; margin: clamp(22px, 2.2vw, 30px) 0 0; padding: 0 0 clamp(36px, 4.5vw, 56px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: auto; }
.book { display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 0; padding-inline: clamp(8px, 2.2vw, 30px); }
.book-cover { align-self: end; position: relative; display: block; text-decoration: none; border-radius: 2px 5px 5px 2px; box-shadow: 0 22px 32px -16px rgba(0, 0, 0, .7), 0 4px 10px rgba(0, 0, 0, .28); transition: transform .45s var(--lift), box-shadow .45s var(--lift); }
.book-cover img { width: 100%; height: auto; border-radius: inherit; }
a.book-cover:hover { transform: translateY(-8px); box-shadow: 0 34px 40px -18px rgba(0, 0, 0, .75), 0 8px 16px rgba(0, 0, 0, .25); }
.cover-placeholder { aspect-ratio: 760 / 1005; background: var(--navy-700); border-radius: inherit; display: grid; align-content: center; justify-items: center; gap: 6px; text-align: center; padding: 12%; border: 1px solid rgba(242, 207, 134, .25); }
.cover-placeholder b { font-family: var(--f-display); font-weight: 800; font-size: clamp(.95rem, 1.6vw, 1.5rem); line-height: 1.05; text-transform: uppercase; letter-spacing: .02em; color: var(--on-navy); }
.cover-placeholder em { font-style: normal; font-family: var(--f-display); font-weight: 800; color: var(--gold-300); font-size: clamp(.9rem, 1.3vw, 1.2rem); }
.cover-placeholder small { font-size: .8125rem; color: var(--on-navy-2); margin-top: 8px; }
.book-ages { border-top: 1px solid rgba(226, 167, 58, .5); margin-top: 14px; padding-top: 12px; font-family: var(--f-display); font-weight: 800; font-size: var(--step-1); color: var(--gold-300); line-height: 1.2; font-variant-numeric: tabular-nums; }
.book-title { font-weight: 700; line-height: 1.3; margin-top: 4px; }
.book-facts { font-size: .9375rem; color: var(--on-navy-2); font-variant-numeric: tabular-nums; margin-top: 4px; }
.book-buy { display: inline-flex; align-items: center; gap: .45em; justify-self: start; align-self: start; margin-top: 12px; padding: 10px 16px; border-radius: var(--radius); background: var(--gold-500); color: var(--navy-950); font-weight: 700; font-size: 1rem; text-decoration: none; white-space: nowrap; transition: background-color .2s; }
.book-buy:hover { background: var(--gold-300); }

/* ---------- sections ---------- */
.section { padding-block: var(--section); }
.note { color: var(--ink-2); }
.sample-note { display: inline-block; font-size: .9375rem; color: var(--gold-ink); background: var(--gold-wash); padding: 4px 10px; border-radius: 4px; }

/* pick the right book */
.pick-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.65fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.pick-copy p { color: var(--ink-2); max-width: 46ch; }
.pick-copy .note a { color: var(--ink); font-weight: 700; }
.table-scroll { overflow-x: auto; }
.facts-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.facts-table th { text-align: left; font-size: .9375rem; color: var(--ink-2); font-weight: 700; padding: 0 12px 12px; border-bottom: 2px solid var(--navy-900); white-space: nowrap; }
.facts-table td { padding: 16px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.facts-table td:nth-child(2) { white-space: nowrap; }
.facts-table th:first-child, .facts-table td:first-child { padding-left: 0; }
.ft-book { display: flex; align-items: center; gap: 14px; min-width: 15rem; }
.ft-book img, .ft-book .mini-placeholder { width: 44px; border-radius: 2px 3px 3px 2px; box-shadow: 0 4px 8px -4px rgba(20, 32, 61, .5); flex: none; }
.ft-title { font-weight: 700; line-height: 1.3; }
.ft-sub { font-size: .9375rem; color: var(--ink-2); line-height: 1.35; }
.ft-isbn { font-size: .875rem; color: var(--ink-2); font-variant-numeric: tabular-nums; margin-top: 2px; }
.ft-muted { color: var(--ink-2); }
.facts-table td:last-child { text-align: right; white-space: nowrap; }
.facts-table a { font-weight: 700; display: inline-flex; align-items: center; gap: .35em; }

/* lessons */
.lessons { background: var(--ground-2); }
.lessons-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 12px 48px; align-items: end; }
.lessons-head p { color: var(--ink-2); max-width: 52ch; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.chip { background: var(--ground); border: 1.5px solid var(--line-strong); border-radius: var(--radius); padding: 10px 16px; font-weight: 700; font-size: 1rem; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.chip:hover { border-color: var(--navy-900); }
.chip[aria-pressed="true"] { background: var(--navy-900); border-color: var(--navy-900); color: var(--on-navy); }
.lessons .sample-note { margin-top: 20px; }
.library { margin-top: 28px; display: grid; gap: 40px; }
.lesson-group { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 16px 40px; }
.group-head { display: flex; gap: 14px; align-items: flex-start; }
.group-head img, .group-head .mini-placeholder { width: 64px; border-radius: 2px 4px 4px 2px; box-shadow: 0 8px 14px -8px rgba(20, 32, 61, .55); flex: none; }
.group-title { font-family: var(--f-display); font-weight: 800; font-size: 1.125rem; line-height: 1.2; letter-spacing: -0.01em; }
.group-ages { color: var(--ink-2); font-size: .9375rem; }
.lesson-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--navy-900); }
.lesson { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr) auto; gap: 8px 24px; align-items: center; padding: 20px 12px; margin-inline: -12px; border-bottom: 1px solid var(--line); border-radius: 4px; transition: background-color 1.2s ease-out; }
.lesson.is-found { background: var(--gold-wash); transition: none; }
.lesson-ref { font-family: var(--f-display); font-weight: 800; font-size: 2.25rem; line-height: 1; letter-spacing: -0.02em; color: var(--navy-900); font-variant-numeric: tabular-nums; }
.lesson-ref .colon { color: var(--gold-500); }
.lesson-verse { font-family: var(--f-scripture); font-style: italic; font-size: 1.125rem; line-height: 1.5; margin: 0; max-width: 60ch; }
.lesson-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.lesson-extra { grid-column: 2 / -1; display: flex; gap: 20px; align-items: center; flex-wrap: wrap; animation: rise .4s var(--lift) both; }
.lesson-extra img { width: 120px; height: 120px; background: var(--ground); padding: 6px; border-radius: 4px; border: 1px solid var(--line); }
.lesson-extra p { margin: 0; font-size: 1rem; color: var(--ink-2); max-width: 40ch; }
.lesson-extra .addr { display: block; font-family: var(--f-display); font-weight: 600; font-size: 1.125rem; color: var(--ink); }
.lesson-msg { grid-column: 2 / -1; margin: 0; font-size: 1rem; color: var(--gold-ink); }
.empty { padding: 20px 0; color: var(--ink-2); border-bottom: 1px solid var(--line); }

/* page to video */
.ptv-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 96px); align-items: center; }
.printed-page { margin: 0; justify-self: center; width: min(100%, 440px); background: var(--paper); padding: 36px 40px 28px; border-radius: 2px; box-shadow: 0 30px 50px -28px rgba(20, 32, 61, .45), 0 2px 6px rgba(20, 32, 61, .12); border: 1px solid var(--line); }
.pp-head { display: flex; justify-content: space-between; gap: 12px; font-size: .8125rem; color: var(--ink-2); border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.pp-ref { font-family: var(--f-display); font-weight: 800; font-size: 1.875rem; letter-spacing: -0.02em; color: var(--navy-900); margin: 24px 0 10px; }
.pp-verse { font-family: var(--f-scripture); font-style: italic; font-size: 1.1875rem; line-height: 1.55; margin: 0 0 28px; }
.pp-code { display: flex; align-items: center; gap: 18px; border-top: 1px dashed var(--line-strong); padding-top: 20px; }
.pp-code img { width: 96px; height: 96px; flex: none; }
.pp-code strong { display: block; line-height: 1.3; }
.pp-url { display: block; font-family: var(--f-display); font-weight: 600; font-size: 1rem; color: var(--navy-900); margin-top: 4px; }
.nowrap { white-space: nowrap; }
.printed-page figcaption { margin-top: 18px; font-size: .875rem; color: var(--ink-2); }
.ptv-copy p { color: var(--ink-2); max-width: 46ch; }
.steps { list-style: none; counter-reset: step; margin: 28px 0; padding: 0; display: grid; gap: 16px; }
.steps li { counter-increment: step; position: relative; padding-left: 3.25rem; min-height: 2.25rem; padding-top: .2rem; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: var(--navy-900); color: var(--gold-300); font-family: var(--f-display); font-weight: 800; font-size: 1.0625rem; }

/* about */
.about { background: var(--navy-900); color: var(--on-navy); }
.about-grid { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.portrait { aspect-ratio: 4 / 5; border-radius: 8px; border: 1.5px dashed rgba(195, 204, 224, .45); background: var(--navy-800); display: grid; place-items: center; color: var(--on-navy-2); font-size: 1rem; padding: 24px; text-align: center; }
.about-copy p { color: var(--on-navy-2); font-size: 1.1875rem; max-width: 56ch; }
.about-copy h2 { color: var(--on-navy); }
.about .sample-note { background: rgba(226, 167, 58, .16); color: var(--gold-300); }

/* contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact-copy p { color: var(--ink-2); max-width: 44ch; }
.social { list-style: none; margin: 24px 0 12px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-weight: 700; }
.social a { display: inline-flex; align-items: center; gap: .35em; }
.social span { color: var(--ink-2); font-weight: 400; }
.contact-form { display: grid; gap: 18px; background: var(--ground-2); padding: clamp(20px, 3vw, 32px); border-radius: 10px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: 1rem; }
.field input, .field select, .field textarea { width: 100%; background: var(--ground); border: 1.5px solid var(--line-strong); border-radius: var(--radius); padding: 13px 14px; font-size: var(--step-0); line-height: 1.4; transition: border-color .2s; }
.field textarea { resize: vertical; min-height: 8rem; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink-2); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--gold-500); outline-offset: 1px; border-color: var(--navy-900); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field-error { color: var(--error); font-size: .9375rem; }
.contact-form .btn-navy { justify-self: start; }
.contact-form .btn-navy[disabled] { opacity: .6; cursor: progress; }
.form-status { margin: 0; font-size: 1rem; min-height: 1.6em; }
.form-status[data-state="sent"] { color: var(--ink); font-weight: 700; display: flex; gap: .5em; align-items: center; }
.form-status[data-state="error"] { color: var(--error); }

/* footer */
.footer { background: var(--navy-950); color: var(--on-navy-2); padding-block: 48px; font-size: 1rem; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 24px 48px; justify-content: space-between; align-items: flex-start; }
.footer .wordmark-name { color: var(--on-navy); margin-bottom: 4px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 28px; font-weight: 700; color: var(--on-navy); }
.footer-links a { display: inline-flex; align-items: center; gap: .35em; }
.footer-fine { width: 100%; font-size: .875rem; margin: 8px 0 0; }

@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "finder" "shelf"; row-gap: 28px; }
  .finder { max-width: 560px; }
  .shelf { margin-top: 8px; }
  .pick-grid, .ptv-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .lessons-head { grid-template-columns: minmax(0, 1fr); }
  .lesson-group { grid-template-columns: minmax(0, 1fr); }
  .about-grid { grid-template-columns: minmax(0, 1fr); }
  .portrait { order: 2; max-width: 220px; aspect-ratio: 1; }
  .ptv-copy { order: -1; }
}
@media (max-width: 640px) {
  .hero-grid { grid-template-areas: "copy" "shelf" "finder"; padding-bottom: 40px; }
  .hero-lede { font-size: 1.0625rem; }
  .shelf { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; padding-bottom: 0; margin-top: 4px; }
  .book { padding-inline: 8px; }
  .book-ages { margin-top: 14px; padding-top: 10px; }
  .book-buy { padding: 9px 12px; }
  .book-ages { font-size: 1.1875rem; }
  .book-title, .book-facts { font-size: .9375rem; }
  .finder { padding: 16px; }
  .finder-row { height: 56px; }
  .finder-prefix { padding-left: 12px; font-size: 1rem; }
  .finder-input { font-size: 1.5rem; padding: 0 6px; }
  .finder-go { padding: 0 16px; }
  .lesson { grid-template-columns: minmax(0, 1fr); gap: 10px; padding-block: 18px; }
  .lesson-ref { font-size: 1.875rem; }
  .lesson-actions { justify-content: flex-start; }
  .lesson-extra, .lesson-msg { grid-column: 1; }
  .printed-page { padding: 28px 24px 22px; }
  .pp-code img { width: 80px; height: 80px; }
  .facts-table th:nth-child(3), .facts-table td:nth-child(3) { display: none; }
  .ft-book { min-width: 0; }
  .ft-book img, .ft-book .mini-placeholder { display: none; }
  .ft-sub { display: none; }
  .facts-table thead { display: none; }
  .facts-table, .facts-table tbody, .facts-table td { display: block; }
  .facts-table tbody { border-top: 2px solid var(--navy-900); }
  .facts-table tr { display: grid; grid-template-columns: auto auto minmax(0, 1fr); gap: 6px 18px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .facts-table td { border: 0; padding: 0; }
  .facts-table td:first-child { grid-column: 1 / -1; }
  .facts-table td:nth-child(2)::before { content: "Ages "; }
  .book-buy { font-size: .9375rem; }
  .nav { gap: 4px 20px; font-size: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; }
  a.book-cover:hover { transform: none; }
}

/* Contact form honeypot: hidden from people, bots fill it in. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
