/* Ayton Press: one design system for every page.
   Tokens first, then a theme per line (body class), then the shared parts of the listicle template.
   Slab headings (Zilla Slab) and Atkinson Hyperlegible body type on every page; senior pages set 21px body type. */
:root {
  --bg: #f6f4ef;
  --surface: #ffffff;
  --ink: #1f1a14;
  --ink-soft: #4a4037;
  --accent: #3f7255;          /* text-safe accent: 5.3:1 on --bg */
  --accent-ink: #ffffff;      /* text on a filled accent */
  --accent-tint: #dfeae2;
  --ring: #b98a5e;
  --line: #cfd6cf;
  --focus: #1f5fbf;
  --display: "Zilla Slab", Rockwell, "Roboto Slab", Georgia, serif;
  --body: "Atkinson Hyperlegible", "Segoe UI", Verdana, sans-serif;
  --base: 19px;
  --radius: 14px;
  --wrap: 1080px;
}
/* Puzzle Over Coffee: diner-mug green on jadeite white */
.line-senior { --bg: #f3f6f2; --ink: #23180f; --ink-soft: #4d4036; --accent: #3f7255; --accent-tint: #d9e8dd;
  --line: #c9d3cb; --base: 21px; }
/* the kids' science line: lab-notebook blue and signal orange */
.line-kids { --bg: #f4f6fa; --ink: #141b2b; --ink-soft: #3f4a5e; --accent: #1d5fa8; --accent-tint: #dbe7f5;
  --ring: #d9822b; --line: #cdd5e2; }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) body { --bg: #17130f; --surface: #221c16; --ink: #f4ede4; --ink-soft: #d2c6b8;
    --accent: #8cc7a2; --accent-ink: #10140f; --accent-tint: #24392c; --ring: #c79a6c; --line: #3e352c;
    --focus: #8db8ff; color-scheme: dark; }
  :root:not([data-theme="light"]) body.line-kids { --bg: #10141d; --surface: #182031; --ink: #eef2f9;
    --ink-soft: #c4cde0; --accent: #8fbcf0; --accent-ink: #0b1220; --accent-tint: #1f3352; --line: #2e3a52; }
}
:root[data-theme="dark"] body { --bg: #17130f; --surface: #221c16; --ink: #f4ede4; --ink-soft: #d2c6b8;
  --accent: #8cc7a2; --accent-ink: #10140f; --accent-tint: #24392c; --ring: #c79a6c; --line: #3e352c;
  --focus: #8db8ff; color-scheme: dark; }
:root[data-theme="dark"] body.line-kids { --bg: #10141d; --surface: #182031; --ink: #eef2f9; --ink-soft: #c4cde0;
  --accent: #8fbcf0; --accent-ink: #0b1220; --accent-tint: #1f3352; --line: #2e3a52; }

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: auto; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: var(--base);
  line-height: 1.55; padding: 0 max(16px, env(safe-area-inset-right, 0px)) 56px max(16px, env(safe-area-inset-left, 0px)); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--display); line-height: 1.15; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(34px, 6vw, 56px); }
h2 { font-size: clamp(28px, 4vw, 38px); }
h3 { font-size: clamp(24px, 3vw, 28px); }
p { margin: 0; max-width: 64ch; }
/* Lines break between phrases, never leaving one word alone; a short sentence wrapped by the `keep` filter stays on
   one line wherever it fits ("US coins and aluminum foil do not stick" must be one row). */
p, li, figcaption, summary, blockquote, dd { text-wrap: pretty; }
.keep { display: inline-block; }
a { color: var(--accent); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.wrap { max-width: var(--wrap); margin: 0 auto; display: grid; gap: 56px; }
.stack { display: grid; gap: 16px; align-content: start; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; background: var(--surface); padding: 10px 14px; z-index: 5; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.preview-note { background: var(--accent-tint); color: var(--ink); border-radius: 0 0 10px 10px; padding: 10px 16px;
  font-size: 17px; }

/* header */
header.top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  padding-top: 18px; }
.brand { display: flex; align-items: center; gap: 14px; color: var(--ink); text-decoration: none; }
.brand svg { width: 56px; height: 56px; flex: none; }
.brand b { font-family: var(--display); font-size: 30px; display: block; line-height: 1; }
.brand small { display: block; color: var(--ink-soft); font-size: 16px; text-wrap: balance; }   /* no lone word on its own row (Alon, 2026-11-28) */
.top nav a { font-size: 17px; color: var(--ink-soft); }

/* buyer switch: plain links, one address per version */
.who { display: grid; gap: 10px; }
.who p { font-weight: 700; }
.who ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.who a { display: inline-flex; align-items: center; min-height: 56px; padding: 10px 18px; border-radius: 999px;
  border: 2px solid var(--accent); background: var(--surface); color: var(--ink); text-decoration: none; font-size: 0.92em; }
.who a[aria-current="page"] { background: var(--accent); color: var(--accent-ink); font-weight: 700; }

/* hero */
.hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: start; }
.hero > * { min-width: 0; }
.kicker { font-size: 16px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.lede { font-size: 1.1em; color: var(--ink-soft); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn { font: inherit; font-weight: 700; font-size: 20px; min-height: 58px; padding: 12px 24px; border-radius: 12px;
  border: 2px solid var(--ink); background: var(--ink); color: var(--bg); cursor: pointer; text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center; text-align: center; }
.btn.alt { background: transparent; color: var(--ink); }
.btn.accent { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.note { font-size: 17px; color: var(--ink-soft); }

/* the puzzle of the day: a saucer with a coffee ring */
.today { position: relative; background: var(--surface); border: 2px solid var(--line); border-radius: 18px;
  padding: 26px; display: grid; gap: 16px; overflow: hidden; }
.today::after { content: ""; position: absolute; right: -46px; top: -46px; width: 150px; height: 150px;
  border-radius: 50%; border: 9px solid var(--ring); opacity: .22; pointer-events: none; }
.tiles { display: flex; flex-wrap: wrap; gap: 8px; min-height: 60px; }
.tiles span { width: 54px; height: 60px; display: grid; place-items: center; font-family: var(--display);
  font-size: 32px; background: var(--accent-tint); border-radius: 8px; }
.clue { color: var(--ink-soft); }
label { font-weight: 700; }
input[type="text"], input[type="email"] { font: inherit; width: 100%; min-height: 58px; padding: 8px 14px;
  border-radius: 10px; border: 2px solid var(--ink-soft); background: var(--bg); color: var(--ink); }
#guess { font-size: 24px; letter-spacing: .08em; text-transform: uppercase; }
.row { display: flex; flex-wrap: wrap; gap: 10px; }
.result { min-height: 1.6em; font-weight: 700; }

/* the listicle */
.reasons { display: grid; gap: 28px; counter-reset: reason; }
.reasons > h2 { max-width: 24ch; }
.reason { display: grid; grid-template-columns: 72px 1fr; gap: 6px 22px; padding-top: 26px;
  border-top: 2px solid var(--line); }
.reason::before { counter-increment: reason; content: counter(reason); grid-row: span 3; font-family: var(--display);
  font-size: 54px; line-height: 1; color: var(--accent); font-weight: 700; }
.reason .body { display: grid; gap: 12px; min-width: 0; }
.reason ul.facts { margin: 0; padding-left: 1.1em; display: grid; gap: 4px; }
.reason figure { margin: 6px 0 0; max-width: 460px; }
.reason figure img { border: 2px solid var(--line); border-radius: 8px; background: #fff; }
figcaption { font-size: 16px; color: var(--ink-soft); margin-top: 6px; }
.jump { font-weight: 700; }

.counts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; max-width: 720px; }
.counts div { border-top: 3px solid var(--accent); padding-top: 8px; font-size: 18px; }
.counts b { font-family: var(--display); font-size: 34px; display: block; }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery figure { margin: 0; }
.gallery img { border: 2px solid var(--line); border-radius: 8px; background: #fff; }

/* the offer: every button on the page scrolls here */
.offer { background: var(--surface); border: 3px solid var(--accent); border-radius: 22px; padding: clamp(20px, 4vw, 40px);
  display: grid; gap: 24px; scroll-margin-top: 16px; }
.menu { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.menu > article { background: var(--bg); border: 2px solid var(--line); border-radius: var(--radius); padding: 22px;
  display: grid; gap: 12px; align-content: start; min-width: 0; }
.menu > article.best { border-color: var(--accent); }
.price { font-family: var(--display); font-size: 34px; }
.price small { font-family: var(--body); font-size: 17px; color: var(--ink-soft); }
.tag { justify-self: start; font-size: 15px; font-weight: 700; padding: 3px 12px; border-radius: 999px;
  background: var(--accent-tint); color: var(--ink); }
.guarantee { border-left: 6px solid var(--accent); padding: 6px 0 6px 18px; }

.faq { display: grid; gap: 10px; }
details { background: var(--surface); border: 2px solid var(--line); border-radius: 12px; padding: 14px 18px; }
summary { font-weight: 700; cursor: pointer; min-height: 32px; }
details p { margin-top: 10px; }

/* home: the press's own page, set like a printer's colophon (ink on paper, the three lines in their own colours) */
.lines { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.lines.two { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 880px; }
.line-card { display: grid; gap: 10px; align-content: start; padding: 22px; background: var(--surface);
  border: 2px solid var(--line); border-radius: 14px; color: var(--ink); text-decoration: none; }
.line-card:hover { border-color: var(--ink); }
.line-card h2 { margin: 0; } .line-card p { margin: 0; }
.line-card img { width: 100%; max-width: 320px; height: auto; border-radius: 6px; }
.line-card .facts { margin: 0; padding-left: 20px; color: var(--ink-soft); }
.line-card .btn { justify-self: start; }
.press { --red: #b8322f; --green: #3f7255; --blue: #1d5fa8; --violet: #6b3fa0; }
.press ::selection { background: var(--ink); color: var(--bg); }
.masthead { display: grid; justify-items: center; text-align: center; gap: 6px; padding: 40px 0 8px; }
.mast-roundel { width: clamp(120px, 22vw, 168px); height: auto; margin-bottom: 10px; }
.masthead h1 { font-family: var(--display); font-weight: 700; font-size: clamp(44px, 8vw, 84px); line-height: 1;
  letter-spacing: -0.01em; max-width: none; }
.mast-line { font-size: 17px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft);
  border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); padding: 6px 18px; max-width: none;
  box-shadow: 0 -4px 0 -2px var(--bg), 0 -5px 0 -2px var(--ink), 0 4px 0 -2px var(--bg), 0 5px 0 -2px var(--ink); }
.about { justify-self: center; max-width: 34em; text-align: center; }
.about p { font-family: var(--display); font-weight: 600; font-size: clamp(25px, 3.4vw, 36px); line-height: 1.3;
  max-width: none; }
.rule-head { display: flex; align-items: center; gap: 18px; font-size: clamp(26px, 3.4vw, 34px); margin-bottom: 30px; }
.rule-head::after { content: ""; flex: 1; border-top: 1px solid var(--ink); }
.shelf { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 36px 34px; }
.book { display: grid; grid-template-rows: auto 1fr; gap: 22px; min-width: 0; }
.book .cover { display: flex; align-items: flex-end; justify-content: center; height: 290px; padding: 0 8%;
  border-bottom: 6px solid var(--ink); }
.book .cover img { max-height: 262px; width: auto; border-radius: 2px 5px 5px 2px;
  box-shadow: 0 2px 3px rgba(31, 26, 20, .25), 0 14px 26px -8px rgba(31, 26, 20, .35); }
.book-text { display: grid; gap: 10px; align-content: start; }
.book h3 { font-size: clamp(25px, 2.6vw, 30px); }
.book h3 a { color: var(--ink); text-decoration: none; }
.book .for { font-weight: 700; color: var(--line-c); }
.book.senior { --line-c: var(--green); } .book.kids { --line-c: var(--blue); } .book.escape { --line-c: var(--violet); } .book.etb { --line-c: var(--red); }
.book .facts { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; font-size: 17px; color: var(--ink-soft); }
.book .facts li { padding-left: 16px; position: relative; }
.book .facts li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px;
  background: var(--line-c); border-radius: 50%; }
.visit { justify-self: start; margin-top: 6px; font-weight: 700; color: var(--ink); text-decoration-color: var(--line-c);
  text-decoration-thickness: 3px; text-underline-offset: 6px; min-height: 44px; display: inline-flex; align-items: center; }
.visit:hover, .book h3 a:hover { color: var(--line-c); }
.press .how { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px; }
.press .how div { border-top: 3px double var(--ink); padding-top: 16px; display: grid; gap: 8px; align-content: start; }
.press .how dt { font-family: var(--display); font-weight: 700; font-size: 26px; }
.press .how dd { margin: 0; color: var(--ink-soft); }
.write { justify-self: center; text-align: center; display: grid; justify-items: center; gap: 12px;
  padding: 44px clamp(16px, 5vw, 64px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  width: 100%; }
.write .mail { font-family: var(--display); font-weight: 700; font-size: clamp(24px, 4vw, 36px); }
.write .mail a { color: var(--ink); text-decoration-thickness: 2px; overflow-wrap: anywhere; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .press { --red: #f08a86; --green: #8cc7a2; --blue: #8fbcf0; --violet: #c4a6ef; } }
:root[data-theme="dark"] .press { --red: #f08a86; --green: #8cc7a2; --blue: #8fbcf0; --violet: #c4a6ef; }
@media (prefers-reduced-motion: no-preference) {
  .book .cover img { transition: transform .45s cubic-bezier(.16, 1, .3, 1), box-shadow .45s cubic-bezier(.16, 1, .3, 1); }
  .book:hover .cover img { transform: translateY(-8px) rotate(-1deg);
    box-shadow: 0 4px 6px rgba(31, 26, 20, .2), 0 26px 36px -10px rgba(31, 26, 20, .4); }
}
@media (max-width: 1060px) { .shelf { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 820px) {
  .shelf, .press .how { grid-template-columns: 1fr; }
  .book { grid-template-columns: 38% 1fr; grid-template-rows: none; gap: 18px; align-items: start; }
  .book .cover { height: auto; padding: 0 0 0; border-bottom-width: 4px; }
  .book .cover img { max-height: none; }
}
@media (max-width: 480px) { .book { grid-template-columns: 1fr; } .book .cover { padding: 0 18%; } }

footer.foot { color: var(--ink-soft); font-size: 16px; border-top: 2px solid var(--line); padding-top: 20px;
  display: grid; gap: 10px; }
footer.foot ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }

.legal { max-width: 760px; }
.legal h2 { margin-top: 18px; font-size: 28px; }
.legal p, .legal li { max-width: 70ch; }

@media (max-width: 820px) {
  .hero, .menu, .lines, .lines.two { grid-template-columns: 1fr; }
  /* on a phone the pages sit in a swipeable row, each big enough to read */
  .gallery { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 82%; overflow-x: auto;
    scroll-snap-type: x mandatory; padding-bottom: 8px; -webkit-overflow-scrolling: touch; }
  .gallery figure { scroll-snap-align: start; }
  .counts { grid-template-columns: repeat(2, 1fr); }
  .reason { grid-template-columns: 1fr; }
  .reason::before { grid-row: auto; font-size: 40px; }
  .tiles span { width: 44px; height: 52px; font-size: 26px; }
}
@media (prefers-reduced-motion: no-preference) { .btn, .who a { transition: background .15s, color .15s; } }

/* the Ayton Press roundel (art/brand/): in the home header and the footer of every page */
.brand .roundel { width: 64px; height: 64px; flex: none; }
.foot-mark { display: inline-block; margin-bottom: 10px; }
.foot-mark img { width: 72px; height: 72px; display: block; }

/* the shop: one form, every pack and book, one checkout */
.to-shop { margin-top: 34px; text-align: center; max-width: none; }
.shop-intro { justify-items: start; padding-top: 12px; }
.shop-form { display: grid; gap: 56px; }
.shop-group .rule-head { margin-bottom: 6px; }
.shop-group .rule-head a { color: var(--ink); text-decoration: none; }
.shop-group .rule-head a:hover { color: var(--line-c); }
.items { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 26px 30px; }
.item { display: grid; grid-template-columns: 96px 1fr; gap: 18px; align-items: start; padding-top: 18px;
  border-top: 1px solid var(--line); }
.item img { width: 96px; border-radius: 2px 4px 4px 2px; box-shadow: 0 2px 3px rgba(31, 26, 20, .2), 0 10px 18px -8px rgba(31, 26, 20, .35); }
.item-text { display: grid; gap: 8px; align-content: start; min-width: 0; }
.item h3 { font-size: 21px; line-height: 1.25; }
.item-price { font-family: var(--display); font-weight: 700; font-size: 24px; }
.item-price small { font-family: var(--body); font-weight: 400; font-size: 16px; color: var(--ink-soft); }
.pick { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 6px 16px 6px 12px;
  border: 2px solid var(--line-c); border-radius: 999px; cursor: pointer; justify-self: start; font-size: 18px; }
.pick input { width: 22px; height: 22px; accent-color: var(--line-c); margin: 0; }
.pick:has(input:checked) { background: var(--line-c); color: #fff; }
.pick:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 3px; }
.basket { position: sticky; bottom: 12px; z-index: 3; display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 12px 20px; padding: 14px 16px 14px 24px; background: var(--surface);
  border: 2px solid var(--ink); border-radius: var(--radius); box-shadow: 0 10px 30px -10px rgba(31, 26, 20, .35); }
.basket-sum { font-weight: 700; font-size: 20px; }
.basket .btn:disabled { opacity: .45; cursor: not-allowed; }
.shop .guarantee { max-width: 760px; display: flex; gap: 18px; align-items: center; border-left: 0; padding: 0; }
.shop .seal { width: 76px; height: 76px; flex: none; }

/* who we are, on the home page */
.people-text { display: grid; gap: 16px; max-width: 46em; }
.people-text p { font-size: 1.08em; max-width: none; }
.people-text p:first-child { font-family: var(--display); font-weight: 600; font-size: clamp(22px, 2.6vw, 28px); line-height: 1.35; }
.how-link { margin-top: 22px; font-weight: 700; max-width: none; }
.how-link a { color: var(--ink); text-decoration-thickness: 2px; text-underline-offset: 5px; }

/* the shop: real pages from inside each product */
.inside { grid-column: 1 / -1; margin-top: 4px; }
.inside summary { cursor: pointer; font-weight: 700; color: var(--ink); min-height: 44px; display: flex; align-items: center; }
.inside-pages { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 8px; }
.inside-pages img { border: 1px solid var(--line); border-radius: 4px; background: #fff; box-shadow: 0 6px 14px -8px rgba(31, 26, 20, .35); }

/* the early readers form */
.early-form { max-width: 640px; }
.early-form fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; display: grid; gap: 6px; margin: 0; }
.early-form legend { font-weight: 700; padding: 0 6px; }
.early-form .choice { font-weight: 400; display: flex; gap: 10px; align-items: center; min-height: 40px; }
.early-form .choice input { width: 20px; height: 20px; accent-color: var(--accent); }
.early-form label .note { display: block; font-weight: 400; }

/* picture credits: complete, one tap away (L118) */
footer.foot details.credits { background: none; border: 0; padding: 0; }
footer.foot details.credits summary { font-weight: 400; min-height: 32px; }
footer.foot details.credits p { margin-top: 6px; font-size: 14px; }

.standards-line { font-size: 14px; color: var(--ink-soft); font-family: ui-monospace, monospace; }
/* The sign-up reward (2026-10-26) */
.reward { font-weight: 700; margin: 0; }
.price.soon { font-size: 26px; line-height: 1.15; }
.price.soon small { display: block; margin-top: 4px; }

/* The cart (2026-11-02): a button that follows the page, and a drawer from the right (full width on a phone) */
.cart-open { position: fixed; z-index: 60; top: max(12px, env(safe-area-inset-top, 0px)); right: max(12px, env(safe-area-inset-right, 0px));
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 8px 14px; border-radius: 999px;
  border: 2px solid var(--ink); background: var(--surface); color: var(--ink); font: 700 17px var(--body); cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .18); }
.cart-count { min-width: 26px; height: 26px; padding: 0 7px; border-radius: 999px; background: var(--accent); color: var(--accent-ink);
  font-size: 15px; line-height: 26px; text-align: center; }
.cart-shade { position: fixed; inset: 0; z-index: 70; background: rgba(10, 8, 6, .45); }
.cart-drawer { position: fixed; z-index: 80; top: 0; right: 0; bottom: 0; width: min(440px, 100vw); overflow-y: auto;
  background: var(--surface); color: var(--ink); padding: max(16px, env(safe-area-inset-top, 0px)) 20px 32px;
  box-shadow: -12px 0 40px rgba(0, 0, 0, .25); font-size: 18px; display: grid; align-content: start; gap: 14px; }
@media (prefers-reduced-motion: no-preference) {
  .cart-drawer:not([hidden]) { animation: cart-in .22s ease-out; }
  @keyframes cart-in { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
}
body.cart-is-open { overflow: hidden; }
.cart-drawer header { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.cart-drawer h2 { font-size: 28px; }
.cart-close { font: 700 30px/1 var(--body); width: 48px; height: 48px; border-radius: 12px; border: 2px solid var(--line);
  background: transparent; color: var(--ink); cursor: pointer; }
.cart-body { display: grid; gap: 14px; }
.cart-body .btn { font-size: 18px; min-height: 52px; }
.cart-body .btn.small { font-size: 16px; min-height: 44px; padding: 8px 14px; }
.cart-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cart-line { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cart-line.more { border-top: 0; padding-top: 0; margin-top: -8px; color: var(--ink-soft); font-size: 16px; }
.cart-name b { font-weight: 700; }
.cart-line.more .cart-name b { font-weight: 400; }
.cart-was { color: var(--ink-soft); font-size: 15px; }
.cart-right { display: grid; justify-items: end; gap: 6px; }
.cart-amt { font-weight: 700; white-space: nowrap; }
.cart-qty { display: flex; align-items: center; gap: 6px; }
.cart-qty button { min-width: 40px; min-height: 40px; border-radius: 10px; border: 2px solid var(--line); background: var(--bg);
  color: var(--ink); font: 700 18px var(--body); cursor: pointer; }
.cart-qty button:disabled { opacity: .4; cursor: default; }
.cart-n { min-width: 22px; text-align: center; font-weight: 700; }
.cart-qty .cart-remove, .cart-right > .cart-remove { border: 0; background: none; color: var(--accent); text-decoration: underline;
  font-size: 15px; min-width: 0; padding: 4px; }
.cart-free { background: var(--accent-tint); border-radius: 12px; padding: 12px 14px; display: grid; gap: 8px; font-size: 17px; }
.cart-free-track { height: 10px; border-radius: 999px; background: var(--surface); overflow: hidden; }
.cart-free-track span { display: block; height: 100%; background: var(--accent); border-radius: inherit; transition: width .3s; }
.cart-offer { border: 2px dashed var(--line); border-radius: 12px; padding: 12px 14px; display: grid; gap: 10px; font-size: 17px; }
.cart-bump { border-style: solid; border-color: var(--accent); background: var(--accent-tint); }
.cart-bump label { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; font-weight: 700; }
.cart-bump input { width: 24px; height: 24px; margin-top: 2px; accent-color: var(--accent); flex: none; }
.cart-ship { border: 2px solid var(--line); border-radius: 12px; padding: 12px 14px; display: grid; gap: 10px; margin: 0; }
.cart-ship legend { font-weight: 700; padding: 0 6px; }
.cart-ship .row { display: grid; grid-template-columns: 1fr; gap: 8px; }
.cart-ship select, .cart-ship input[type=text] { font: inherit; font-size: 17px; min-height: 48px; padding: 8px 10px; border-radius: 10px;
  border: 2px solid var(--ink-soft); background: var(--bg); color: var(--ink); width: 100%; }
.cart-level { display: flex; gap: 10px; align-items: flex-start; font-size: 17px; cursor: pointer; }
.cart-level input { width: 22px; height: 22px; margin-top: 3px; accent-color: var(--accent); flex: none; }
.cart-total { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; margin: 0; }
.cart-total dd { margin: 0; text-align: right; font-weight: 700; }
.cart-total dt:last-of-type, .cart-total dd:last-of-type { font-size: 22px; padding-top: 6px; border-top: 2px solid var(--line); }
.cart-pay { width: 100%; }
.cart-pay:disabled { opacity: .6; cursor: progress; }
.cart-empty { font-size: 20px; }
/* Stripe's checkout in a panel on our page (2026-11-02): full screen on a phone, a centred sheet on a desktop */
.pay-sheet { position: fixed; inset: 0; z-index: 90; background: rgba(10, 8, 6, .55); display: grid; place-items: center;
  padding: max(0px, env(safe-area-inset-top, 0px)) 0 0; }
.pay-box { width: min(560px, 100vw); height: min(92vh, 100%); overflow-y: auto; background: #fff; color: #1f1a14;
  border-radius: 18px; display: grid; grid-template-rows: auto 1fr; box-shadow: 0 20px 60px rgba(0, 0, 0, .35); }
.pay-box header { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px 6px 20px;
  position: sticky; top: 0; background: #fff; z-index: 1; font-size: 18px; }
.pay-box .cart-close { color: #1f1a14; border-color: #d8d2c8; }
.pay-mount { padding: 0 6px 16px; }
.pay-ship { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 4px 20px 10px; font-size: 16px; }
.pay-ship label { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.pay-ship select { font: inherit; min-height: 40px; padding: 4px 8px; border-radius: 8px; border: 2px solid #b8b0a4; background: #fff; color: #1f1a14; }
.pay-ship .note { color: #4a4037; font-size: 14px; }
.pay-wait { padding: 48px 20px; text-align: center; color: #4a4037; font-size: 18px; }
@media (max-width: 600px) { .pay-box { height: 100%; border-radius: 0; } }

/* the printed book offered on the order page after its PDF (2026-11-02) */
.after-offer { border: 3px solid var(--accent); border-radius: 18px; padding: 18px; display: grid; gap: 16px; background: var(--surface);
  grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 720px) { .after-offer { grid-template-columns: 220px 1fr; } }
.after-offer #offer-img img { width: 100%; max-width: 260px; border-radius: 10px; justify-self: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .2); }
.after-offer h2 { font-size: clamp(30px, 5vw, 44px); }
.paid-ok { font-weight: 700; background: var(--accent-tint); border-radius: 12px; padding: 12px 16px; }
h1.paid-ok { font-size: 22px; line-height: 1.3; margin: 0; font-family: inherit; }
.paid-ok span { color: var(--accent); margin-right: 6px; }

/* Buy now beside Add to cart (2026-11-02) */
.buy-row { display: flex; flex-wrap: wrap; gap: 10px; }
.buy-row .btn.accent { flex: 1 1 auto; }
.buy-row .btn.alt { flex: 0 1 auto; }
.ship-deal { font-weight: 700; font-size: 17px; }

[dir="rtl"] .skip { left: auto; right: -9999px; }
[dir="rtl"] .skip:focus { right: 16px; }
/* ---- No small print (2026-11-10: "a whole page touting books without small print has a ton of small print").
   Every sentence a buyer needs is at least 17 px on a phone; side notes that do not earn that size are gone: the small
   spaced-out labels above headings, the "Instant download . Prints at home" strips. tools/small_print.mjs measures
   every page at 390 px and tests/test_sites.py fails on anything smaller. */
.kicker, .glow .kicker, .trust, .glow .trust, .trust-line, .glow .trust-line, .scene figcaption span { display: none !important; }
figcaption, small, td, th, .tag, .note, .lede, .standards-line, .early-line, .source-line, .lang-switch,
.price small, .item-price small, .brand small, .compact p:not(.price), .menu p:not(.price), .shot-wrap figcaption, .film-wrap figcaption,
.fan figcaption { font-size: 17px !important; }
.glow .hero-product .fan figcaption { display: block; }
.mosaic .tile-text span, .line-kiosk li > span, .tug-pick button { font-size: 17px !important; }
.counts-strip span, .row-text span, .journey span, .journey li.count a, .voice-row footer, .proof li, .ev-badge span,
.ev-steps span, .bar-value, .topic-wall b, .reason .plates figcaption, .facts li, .facts li .keep { font-size: 17px !important; }

/* home: one wide spread per product, each in its own world (2026-11-23: larger images, wider spreads,
   less text, clear messages) */
.home-intro h1 { font-size: clamp(34px, 5vw, 56px); max-width: none; }
.spreads { width: 100vw; margin-inline: calc(50% - 50vw); display: grid; gap: 0; }
.spread { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  align-items: center; gap: clamp(24px, 4vw, 64px); padding: clamp(32px, 5vw, 72px) max(24px, calc((100vw - 1320px) / 2));
  box-sizing: border-box; background: var(--sp-bg); color: var(--sp-ink); }
.spread.flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); }
.spread.flip .spread-pic { order: 2; }
.spread-pic img { width: 100%; height: auto; border-radius: 14px; box-shadow: 0 18px 50px rgba(0, 0, 0, .35); }
.spread-text { display: grid; gap: 18px; align-content: center; }
.spread-name { font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: 17px; color: var(--sp-accent); }
.spread h2 { font-size: clamp(32px, 4.2vw, 54px); line-height: 1.05; margin: 0; max-width: 14ch; color: var(--sp-ink); }
.spread-text > p:not(.spread-name) { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.45; max-width: 30ch; }
.spread-btn { justify-self: start; background: var(--sp-accent); color: var(--sp-btn-ink); border-color: var(--sp-accent);
  font-size: 19px; padding: 14px 26px; }
.w-etb { --sp-bg: #141012; --sp-ink: #f4ede4; --sp-accent: #e0544e; --sp-btn-ink: #fff; }
.w-tb { --sp-bg: #0f0f12; --sp-ink: #f5f0e6; --sp-accent: #f2c230; --sp-btn-ink: #15130f; }
.w-nm { --sp-bg: #f3ead2; --sp-ink: #1f2a22; --sp-accent: #2d6b45; --sp-btn-ink: #fff; }
.home-about p { font-size: 19px; }
.spread-text > p.spread-more { font-size: 18px; max-width: 40ch; }
.spread-link { margin: 0; }
.spread-link a { color: inherit; text-underline-offset: 3px; }
.home-links { display: flex; flex-wrap: wrap; gap: 10px 28px; padding: 0; margin: 0; list-style: none; font-size: 19px; }
.shop-lede { font-size: clamp(19px, 1.6vw, 22px); max-width: 60ch; }
.shop-how h3 { font-size: 22px; margin: 10px 0 0; }
@media (max-width: 760px) {
  .spread, .spread.flip { grid-template-columns: minmax(0, 1fr); padding: 28px 16px 36px; }
  .spread.flip .spread-pic { order: 0; }
  .spread h2 { max-width: none; }
}

/* the shop: the home page's wide bands, one per line, every item a large picture, its name, its price, a button */
.shop-band { padding: clamp(32px, 5vw, 72px) max(24px, calc((100vw - 1320px) / 2)); background: var(--sp-bg); color: var(--sp-ink);
  display: grid; gap: clamp(20px, 3vw, 36px); }
.band-head { display: grid; gap: 8px; }
.band-head h2 { font-size: clamp(32px, 4.2vw, 54px); line-height: 1.05; margin: 0; }
.band-head h2 a { color: var(--sp-ink); text-decoration: none; }
.band-head p { font-size: clamp(19px, 1.6vw, 22px); }
.shop-items { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(16px, 2.4vw, 32px);
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.shop-items.n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.shop-item { display: grid; gap: 12px; align-content: start; }
.shop-pic { display: block; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: rgba(255, 255, 255, .06); }
.w-nm .shop-pic { background: #fffaf0; }
.shop-pic img { width: 100%; height: 100%; object-fit: contain; }
.shop-item h3 { font-size: clamp(22px, 2vw, 28px); margin: 0; color: var(--sp-ink); }
.shop-item .item-price { font-size: 19px; }
.shop-item .buy-row { display: flex; gap: 10px; flex-wrap: wrap; }
.shop-item .btn.alt { color: var(--sp-ink); border-color: var(--sp-ink); }
.item-body { display: grid; gap: 12px; align-content: start; }
.shop-item p.item-price { font-size: 20px; font-weight: 600; margin: 0; }
.shop-items.n1 .shop-item { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); column-gap: clamp(24px, 4vw, 64px);
  align-items: center; }
.shop-items.n1 .shop-pic { aspect-ratio: auto; background: none; }
.shop-items.n1 .shop-pic img { height: auto; object-fit: cover; box-shadow: 0 18px 50px rgba(0, 0, 0, .35); }
.shop-items.n1 .item-body { justify-items: start; }
.shop-item .spread-btn, .shop-item .buy-row { justify-self: start; }
@media (max-width: 760px) {
  .shop-band { padding: 28px 16px 36px; }
  .shop-items, .shop-items.n2 { grid-template-columns: 1fr 1fr; gap: 14px; }
  .shop-items.n1 { grid-template-columns: 1fr; }
  .shop-items.n1 .shop-item { grid-template-columns: 1fr; }
  .shop-item h3 { font-size: 19px; }
  .shop-item p.item-price { font-size: 17px; }
  .shop-item .spread-btn { font-size: 17px; padding: 10px 14px; min-height: 48px; }
}

/* The cookie banner (sites/TAGS.md): only on a site with a gtm_id. Fixed to the bottom, never wider than the screen.
   It keeps its own colours, so a line's theme (Tech Barons' dark glow) cannot make it unreadable. */
.consent { --surface: #ffffff; --ink: #1f1a14; --bg: #ffffff; --accent: #3f7255; --accent-ink: #ffffff; --line: #cfd6cf; position: fixed; z-index: 50; left: 12px; right: 12px; bottom: 12px; max-width: 760px; margin: 0 auto;
  background: var(--surface); color: var(--ink); border: 2px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 6px 28px rgba(0, 0, 0, .18); padding: 16px 18px; font-family: var(--body); font-size: 17px;
  display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; }
.consent[hidden] { display: none; }
.consent p { margin: 0; flex: 1 1 320px; line-height: 1.45; color: var(--ink); }
/* by id: the lines' own button rules (.glow.line-etb .btn.accent and others) must not reach the banner */
#consent .btn.accent { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); box-shadow: none; }
#consent .btn.alt { background: transparent; color: var(--ink); border-color: var(--ink); box-shadow: none; }
.consent a { color: var(--accent); }
.consent-buttons { display: flex; gap: 10px; flex-wrap: wrap; }
.consent .btn { min-height: 48px; font-size: 18px; padding: 8px 20px; }
footer.foot .linkish { font: inherit; color: inherit; background: none; border: 0; padding: 0; text-decoration: underline;
  cursor: pointer; min-height: 32px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .consent { --surface: #221c16; --ink: #f4ede4;
  --bg: #221c16; --accent: #8cc7a2; --accent-ink: #10140f; --line: #3e352c; } }
:root[data-theme="dark"] .consent { --surface: #221c16; --ink: #f4ede4; --bg: #221c16; --accent: #8cc7a2;
  --accent-ink: #10140f; --line: #3e352c; }
/* on a phone the banner is a slim edge-to-edge bar, its two buttons side by side (2026-12-03: it covered 45%, then 23%, of the first screen) */
@media (max-width: 600px) {
  .consent { left: 0; right: 0; bottom: 0; border-width: 2px 0 0; border-radius: 0; padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    gap: 8px; font-size: 17px; box-shadow: 0 -4px 18px rgba(0, 0, 0, .16); }
  .consent p { flex-basis: 100%; line-height: 1.3; }
  .consent-buttons { width: 100%; flex-wrap: nowrap; }
  .consent-buttons .btn { flex: 1 1 0; min-height: 44px; font-size: 17px; padding: 6px 10px; }
}

/* House rule (Alon, 2026-11-28): no fragment of a sentence alone on a row, no short link split across rows, on every
   page of every line. Test: tests/test_sites.py::test_text_never_breaks_into_fragments. */
h1, h2, h3, h4, figcaption, summary, blockquote, .note, .lede, .kicker { text-wrap: balance; }
p a, li a, dd a { white-space: nowrap; }
p a.lw, li a.lw, dd a.lw { white-space: normal; }   /* a long link may wrap (tools/build_sites.py long_links) */

/* moving between pages: the old page lifts away, the new one settles in (2026-12-03; browsers without cross-document
   view transitions simply load the page) */
@view-transition { navigation: auto; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-14px) scale(.985); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(14px); } }
::view-transition-old(root) { animation: vt-out .28s cubic-bezier(.4, 0, 1, 1) both; }
::view-transition-new(root) { animation: vt-in .34s cubic-bezier(0, 0, .2, 1) .05s both; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }
.back-bar { display: inline-flex; align-items: center; min-height: 44px; margin-left: auto; padding: 8px 16px; border-radius: 999px;
  background: #1d1712; color: #f4efe4; font-weight: 700; text-decoration: none; white-space: nowrap; }
.back-bar[hidden] { display: none; }
.back-bar:hover { background: #c3262c; color: #fff; }

/* the cookie bar is light on every site: its focus ring is ink, never the line's pale ring (2026-12-04) */
#consent :focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

/* The home page as a shelf (Alon, 2026-12-03: "B: shelf + trailer"; sites/content/home/LP-EVAL.md). The first phone
   screen holds the trailer of the one product on sale, the other lines as tiles and one buy button. Scoped to
   body.front so no other page changes. */
body.front, body.shop { overflow-x: clip; }
.front .front-top, .shop .front-top { padding-top: 10px; gap: 12px; flex-wrap: nowrap; }
.front .front-top .brand, .shop .front-top .brand { gap: 10px; min-height: 44px; }
.front .front-top .roundel, .shop .front-top .roundel { width: 44px; height: 44px; }
.front .front-top .brand b, .shop .front-top .brand b { font-size: 24px; }
.front-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px; border-radius: 10px;
  font-weight: 700; font-size: 19px; color: var(--ink); text-decoration: none; }
.front-nav a:hover { background: var(--accent-tint); }
.front .wrap, .shop .wrap { gap: 28px; }
.front main.wrap { gap: 48px; }
.front-shelf { display: grid; gap: 12px; }
.front-shelf h1 { font-size: clamp(28px, 4vw, 48px); line-height: 1.08; max-width: 22ch; }
.shelf-row { display: grid; gap: 12px; }
.front .tile-side { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.front .tile { display: grid; grid-template-rows: auto 1fr; border-radius: 14px; overflow: hidden; text-decoration: none;
  background: var(--sp-bg); color: var(--sp-ink); }
.front .tile-media { display: block; aspect-ratio: 16 / 11; overflow: hidden; background: var(--sp-bg); }
.front .tile-lead .tile-media { aspect-ratio: 16 / 9; }
.front .tile-media img, .front .tile-media video { display: block; width: 100%; height: 100%; object-fit: cover; }
.front .tile.w-nm .tile-media img { object-fit: contain; background: var(--sp-accent); }
.front .tile-cap { display: grid; gap: 0; padding: 8px 14px 12px; line-height: 1.4; }
.front .tile-cap b { font-family: var(--display); font-size: 22px; line-height: 1.15; }
.front .tile-cap span { font-size: 17px; }
.front .tile-side .tile-cap span { white-space: nowrap; }
.shelf-buy { width: 100%; min-height: 56px; background: var(--etb-red, #e0544e); border-color: var(--etb-red, #e0544e); color: #fff; }
.front .spread { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.front .spread-text { gap: 16px; }
.front .spread-text > p { max-width: 34ch; }
.front .spread.w-nm .spread-pic img { aspect-ratio: 4 / 3; object-fit: cover; object-position: center 20%; }
.front .home-about { max-width: 760px; }
.front .home-links, .shop .home-links { gap: 8px; }
.front .home-links a, .shop .home-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px;
  border: 2px solid var(--accent); border-radius: 10px; font-weight: 700; text-decoration: none; }
/* every link in the home and shop footers is a 44 px target */
.front footer.foot ul a, .shop footer.foot ul a { display: inline-flex; align-items: center; min-height: 44px; }
/* a focus ring that shows on the dark bands */
.w-etb, .w-tb { --focus: #8db8ff; }
/* hover and press: a small lift on pictures, tiles and buttons; nothing moves under reduced motion */
.front .tile, .spread-pic img, .spread-btn, .shelf-buy, .shop-pic img { transition: transform .18s ease, filter .18s ease, box-shadow .18s ease; }
.front .tile:hover, .spread-pic:hover img, .shop-pic:hover img { transform: translateY(-3px); filter: brightness(1.05); }
.spread-btn:hover, .shelf-buy:hover { transform: translateY(-2px); filter: brightness(1.08); }
.front .tile:active, .spread-btn:active, .shelf-buy:active { transform: translateY(0); filter: brightness(.95); }
@media (prefers-reduced-motion: reduce) {
  .front .tile, .spread-pic img, .spread-btn, .shelf-buy, .shop-pic img { transition: none; }
  .front .tile:hover, .spread-pic:hover img, .shop-pic:hover img, .spread-btn:hover, .shelf-buy:hover { transform: none; }
}
@media (min-width: 761px) {
  .shelf-row { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
  .front .tile-side { grid-template-columns: minmax(0, 1fr); }
  .front .tile-side .tile { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); grid-template-rows: none; }
  .front .tile-side .tile-media { aspect-ratio: auto; height: 100%; }
  .front .tile-cap { align-content: end; }
  .shelf-buy { width: auto; justify-self: start; }
}
@media (max-width: 760px) {
  .front .spread, .front .spread.flip { grid-template-columns: minmax(0, 1fr); }
}
/* the shop shows Et Tu, Brad?'s current cover (Alon, 2026-11-28: the desk photo is "more table than book") */
.shop .shop-items.n1 .shop-pic { width: min(100%, 380px); justify-self: center; }
.shop .shop-items.n1 .shop-pic img { border-radius: 6px; }
@media (max-width: 760px) { .shop .shop-items.n1 .shop-pic { width: min(72%, 300px); } }
@media (max-width: 360px) { .shop .shop-item h3 { font-size: 17px; } }
/* a tile's ring is drawn on the light page around it, so it keeps the page's own focus colour */
.front .tile.w-etb, .front .tile.w-tb { --focus: #1f5fbf; }
/* the trailer's pause button sits over the film, outside the tile's link */
.front .tile-lead-wrap { position: relative; display: grid; }
.film-toggle { position: absolute; z-index: 2; bottom: 14px; right: 14px; min-height: 44px; min-width: 64px; padding: 6px 14px;
  border-radius: 10px; border: 2px solid #fff; background: rgba(20, 16, 18, .72); color: #fff; font: inherit;
  font-weight: 700; font-size: 17px; cursor: pointer; }
.film-toggle[hidden] { display: none; }
.film-toggle:hover { background: rgba(20, 16, 18, .9); }
.front-shelf { padding-bottom: 8px; }
.shop .w-etb .spread-btn { font-size: 19px; }
.front .home-links a:hover { background: var(--accent-tint); }
.shop .band-head h2 a:hover { text-decoration: underline; text-underline-offset: 6px; }
.shop .shop-intro { padding-top: 0; padding-bottom: 8px; }

/* every page fades into the next (2026-12-03): a page fade only runs when both pages opt in, so it is here, on every
   page; off for reduced motion */
@media (prefers-reduced-motion: no-preference) { @view-transition { navigation: auto; } }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .25s; }
/* the cookie buttons answer the pointer (jury, 2026-12-04) */
.consent .btn { transition: transform .15s, box-shadow .15s, background .15s; }
.consent .btn:hover { transform: translateY(-2px); box-shadow: 0 8px 16px -10px rgba(0,0,0,.5); }
/* The cookie banner as a slim bar (Alon, 2026-12-04: "change it all"): one short question and two buttons along the
   bottom edge, about a tenth of a phone screen instead of a third. Nothing loads before Accept, as before. */
.consent { left: 0; right: 0; bottom: 0; max-width: none; border-radius: 0; border-width: 2px 0 0; padding: 8px 16px;
  padding-bottom: max(8px, env(safe-area-inset-bottom)); gap: 6px 14px; flex-wrap: nowrap; box-shadow: 0 -4px 18px rgba(0, 0, 0, .12); }
.consent p { flex: 1 1 auto; line-height: 1.3; font-size: 17px; }
.consent-buttons { flex: 0 0 auto; gap: 8px; flex-wrap: nowrap; }
.consent .btn { min-height: 44px; padding: 6px 14px; font-size: 17px; }
@media (max-width: 560px) {
  .consent { flex-wrap: wrap; }
  .consent p { flex-basis: 100%; }
  .consent-buttons { width: 100%; }
  .consent-buttons .btn { flex: 1 1 0; }
}
