/* The Nordic Home Reset: book sales page, presented by Erik, your home guide.
   Palette: cool paper and white surfaces, blue-black ink, deep midnight for the one dark book
   offer and the footer, burgundy as the single accent for actions and prices, and a copper tint
   used only for emphasis on midnight. Book jackets keep their own forest and ivory.
   Type: Libre Baskerville (variable 400 to 700, with italic) for headings, Instrument Sans for text.
   Shapes: 3px radius on controls, 6px on panels; full rounding only on portraits and the badge.
   No scroll animations: all content is visible without JavaScript. */

@font-face {
  font-family: "Libre Baskerville";
  src: url("../fonts/LibreBaskerville-VF-latin.ttf") format("truetype");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Libre Baskerville";
  src: url("../fonts/LibreBaskerville-Italic-VF-latin.ttf") format("truetype");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/InstrumentSans-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/InstrumentSans-Bold.ttf") format("truetype");
  font-weight: 600 700;
  font-display: swap;
}

:root {
  --paper: #EEF0F1;
  --paper-2: #E2E6EA;
  --white: #FFFFFF;
  --ink: #151A24;
  --ink-soft: #4A5262;
  --midnight: #172238;
  --midnight-2: #22304B;
  --burgundy: #8B2433;
  --burgundy-deep: #6E1A28;
  --burgundy-wash: #F8EEEF;
  --copper: #E3B48A;
  --on-dark: #F4F1EA;
  --on-dark-soft: rgba(244, 241, 234, .78);
  --line: rgba(21, 26, 36, .14);
  --line-strong: rgba(21, 26, 36, .28);
  --line-dark: rgba(244, 241, 234, .18);
  --shadow: 0 22px 44px -28px rgba(23, 34, 56, .55);
  --serif: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --sans: "Instrument Sans", Inter, Arial, Helvetica, sans-serif;
  --radius: 3px;
  --radius-panel: 6px;
  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
@media (min-width: 960px) { body { font-size: 18px; } }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; margin: 0; line-height: 1.15; color: var(--ink); text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--burgundy); outline-offset: 3px; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

.skip-link { position: absolute; left: 12px; top: -80px; z-index: 50; background: var(--ink); color: var(--white); padding: 10px 16px; text-decoration: none; }
.skip-link:focus { top: 12px; }

/* Buttons: rectangles. Burgundy is the action colour on light surfaces, ivory on midnight. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 12px 24px;
  border: 1.5px solid var(--burgundy); border-radius: var(--radius);
  font: 700 1rem/1.2 var(--sans); letter-spacing: .01em; text-decoration: none; text-align: center; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s;
}
.btn-solid { background: var(--burgundy); color: var(--white); box-shadow: 0 10px 20px -14px rgba(110, 26, 40, .9); }
.btn-solid:hover { background: var(--burgundy-deep); border-color: var(--burgundy-deep); }
.btn-line { background: var(--white); color: var(--burgundy); }
.btn-line:hover { background: var(--burgundy); color: var(--white); }
.btn-light { background: var(--on-dark); color: var(--midnight); border-color: var(--on-dark); }
.btn-light:hover { background: var(--white); border-color: var(--white); }
.btn-ghost-light { background: transparent; color: var(--on-dark); border-color: rgba(244, 241, 234, .55); }
.btn-ghost-light:hover { border-color: var(--on-dark); background: rgba(244, 241, 234, .08); }
.btn-ticket { background: var(--burgundy-wash); color: var(--burgundy); border-style: dashed; }
.btn-ticket:hover { background: var(--white); }
.btn-sm { min-height: 44px; padding: 9px 16px; font-size: .95rem; }
.btn:active { transform: translateY(1px); }

.kicker { font: 700 .92rem/1.3 var(--sans); color: var(--burgundy); margin-bottom: 6px; }

/* Offer bar (only while a collection window is open) */
.offer-bar { background: var(--midnight); color: var(--on-dark); font-size: .92rem; }
.offer-bar-inner { display: flex; align-items: center; justify-content: center; gap: 8px 20px; flex-wrap: wrap; min-height: 44px; padding-block: 6px; }
.offer-bar-text { margin: 0; text-align: center; }
.offer-bar-text strong { color: var(--copper); font-weight: 700; }
.offer-bar-sep { display: inline-block; width: 4px; height: 4px; margin: 0 8px 3px; border-radius: 50%; background: var(--on-dark-soft); }
.countdown { font-variant-numeric: tabular-nums; font-weight: 700; }
.offer-bar-btn { min-height: 34px; padding: 4px 12px; border: 1.5px solid var(--copper); border-radius: var(--radius); background: transparent; color: var(--copper); font: 700 .88rem var(--sans); cursor: pointer; }
.offer-bar-btn:hover { background: var(--copper); color: var(--midnight); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(238, 240, 241, .97); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; position: relative; }
/* Wordmark: live text in the editorial serif, one line, with the presenter credited beneath. */
.brand { display: inline-flex; flex-direction: column; gap: 5px; text-decoration: none; padding-block: 8px; }
.wordmark { margin: 0; font: 500 1.36rem/1 var(--serif); letter-spacing: -.012em; color: var(--ink); white-space: nowrap; }
.brand-line { font: 400 .8rem/1.2 var(--sans); color: var(--ink-soft); white-space: nowrap; }
.brand-line b { font-weight: 700; color: var(--burgundy); }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { list-style: none; display: flex; gap: 24px; }
.site-nav ul a { font-size: .95rem; font-weight: 400; text-decoration: none; padding: 6px 0; }
.site-nav ul a:hover { text-decoration: underline; text-underline-offset: 5px; }
/* Full book names from 1180px; short names between the collapse point (960px) and 1180px. */
.nav-short { display: none; }
@media (min-width: 960px) and (max-width: 1179px) {
  .nav-full { display: none; }
  .nav-short { display: inline; }
}
.menu-toggle { display: none; min-height: 44px; padding: 8px 16px; border: 1.5px solid var(--ink); border-radius: var(--radius); background: var(--white); font: 700 .95rem var(--sans); color: var(--ink); cursor: pointer; }

@media (max-width: 959px) {
  .js .menu-toggle { display: inline-flex; align-items: center; }
  .js .site-nav {
    position: absolute; top: 100%; left: calc(-1 * var(--gutter)); right: calc(-1 * var(--gutter));
    flex-direction: column; align-items: stretch; gap: 16px;
    padding: 8px var(--gutter) 20px; background: var(--paper); border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 30px -18px rgba(23, 34, 56, .4);
  }
  .js .site-nav[hidden] { display: none !important; }
  .js .site-nav ul { flex-direction: column; gap: 0; }
  .js .site-nav ul a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .js .site-nav .nav-full { display: inline; }
  .js .site-nav .nav-short { display: none; }
  html:not(.js) .header-inner { flex-wrap: wrap; padding-block: 10px; }
  html:not(.js) .site-nav, html:not(.js) .site-nav ul { flex-wrap: wrap; gap: 12px 18px; }
}

/* Books: flat jackets dressed with a spine shade, page block and a midnight-tinted shadow */
.book {
  position: relative; display: block; aspect-ratio: 800 / 1100;
  border-radius: 1px 3px 3px 1px;
  box-shadow:
    2px 1px 0 0 #FDFDFC, 3px 2px 0 0 #D5D9DE,
    5px 3px 0 0 #FBFBFA, 6px 4px 0 0 #CDD2D8,
    8px 5px 0 0 #F9F9F8, 9px 6px 0 0 #C3C9D0,
    20px 26px 36px -14px rgba(23, 34, 56, .45);
}
.book img { width: 100%; height: 100%; border-radius: inherit; }
.book::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(90deg, rgba(0,0,0,.28) 0, rgba(0,0,0,.08) 2.2%, rgba(255,255,255,.16) 3.4%, rgba(255,255,255,0) 7%, rgba(0,0,0,0) 94%, rgba(0,0,0,.05) 100%);
}
.book-ivory::before { content: ""; position: absolute; inset: 0; border: 1px solid rgba(21, 26, 36, .14); border-radius: inherit; pointer-events: none; z-index: 1; }
/* A midnight jacket on the midnight sections: a fine light edge keeps its outline. */
.book-offer-dark .book-dark-jacket::before, .offer-dialog-art .book-dark-jacket::before { content: ""; position: absolute; inset: 0; border: 1px solid rgba(238, 240, 241, .3); border-radius: inherit; pointer-events: none; z-index: 1; }

/* Hero */
.hero { padding: clamp(28px, 4vw, 48px) 0 clamp(36px, 4vw, 56px); text-align: center; }
/* Presenter byline above the headline: Erik introduces the books. */
.presenter { display: inline-flex; align-items: center; gap: 14px; margin: 0 0 18px; text-decoration: none; text-align: left; }
.presenter-face { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex-shrink: 0; background: var(--paper-2); box-shadow: 0 0 0 1px rgba(21, 26, 36, .12), 0 10px 20px -12px rgba(23, 34, 56, .6); }
.presenter-text { display: grid; gap: 2px; }
.presenter-name { font: 600 1.08rem/1.25 var(--serif); color: var(--ink); }
.presenter-note { font-size: .9rem; line-height: 1.3; color: var(--ink-soft); }
.presenter:hover .presenter-name { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(139, 36, 51, .5); }
.hero h1 { font-size: clamp(2.4rem, 1.5rem + 3.2vw, 4.1rem); line-height: 1.06; letter-spacing: -.022em; }
.hero h1 span { display: block; }
.hero h1 .accent, .book-offer h2 .accent { font-style: italic; font-weight: 500; color: var(--burgundy); letter-spacing: -.01em; }
.hero-sub { max-width: 40em; margin: 18px auto 0; color: var(--ink-soft); font-size: clamp(1rem, .95rem + .3vw, 1.14rem); }

.offers { display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: clamp(16px, 2vw, 28px); align-items: start; margin-top: clamp(32px, 3.4vw, 44px); text-align: left; }
.offer { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-panel); padding: 20px 20px 22px; display: flex; flex-direction: column; box-shadow: 0 16px 30px -26px rgba(23, 34, 56, .5); }
.offer-single { margin-top: 32px; align-self: stretch; } /* side cards share one height, so their buttons line up */
.offer-bundle { border: 2px solid var(--burgundy); padding: 32px 24px 26px; box-shadow: var(--shadow); }
.badge { position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); margin: 0; white-space: nowrap; background: var(--burgundy); color: var(--white); padding: 7px 16px; border-radius: 999px; font: 700 .76rem/1.2 var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.offer-art { display: grid; place-items: center; background: var(--paper-2); border-radius: var(--radius); padding: 26px 0 30px; margin-bottom: 20px; }
.offer-art .book { width: 62%; }
.offer-bundle .bundle-art { display: flex; justify-content: center; align-items: flex-end; gap: 6%; padding-inline: 4%; }
.offer-bundle .bundle-art .book { width: 44%; }
.offer-title { font-size: clamp(1.3rem, 1.1rem + .5vw, 1.6rem); margin-bottom: 8px; }
.offer-desc { color: var(--ink-soft); font-size: .95rem; line-height: 1.5; }
.offer-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 4px 0 12px; }
.offer-price .amount { font: 700 2.3rem/1 var(--serif); color: var(--ink); letter-spacing: -.01em; }
.offer-bundle .offer-price .amount, .collection .offer-price .amount { color: var(--burgundy); font-size: 2.8rem; }
.offer-price .was { font-size: 1.05rem; color: var(--ink-soft); }
.price-block .offer-price { margin-bottom: 4px; }
.save { font-size: .92rem; font-weight: 700; color: var(--burgundy); margin: 0 0 14px; }
.specs { list-style: none; display: grid; gap: 7px; margin: 0 0 18px; font-size: .92rem; }
.specs li, .ticks li { position: relative; padding-left: 24px; line-height: 1.45; }
.specs li::before, .ticks li::before { content: ""; position: absolute; left: 3px; top: .4em; width: 9px; height: 5px; border: solid var(--burgundy); border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.offer-actions { display: grid; gap: 10px; margin-top: auto; }
.offer .btn { width: 100%; }
.sample-link { display: block; margin-top: 12px; text-align: center; font-weight: 700; font-size: .95rem; color: var(--burgundy); text-underline-offset: 4px; }
.availability { margin: 18px auto 0; font-size: .9rem; color: var(--ink-soft); }
.hero > .wrap > .availability { text-align: center; }

/* Facts strip */
.strip { border-block: 1px solid var(--line); background: var(--white); }
.facts { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); }
.facts li { padding: 18px 16px; text-align: center; font-size: .92rem; color: var(--ink-soft); line-height: 1.35; }
.facts li + li { border-left: 1px solid var(--line); }
.facts strong { display: block; font: 700 1.7rem/1.2 var(--serif); color: var(--midnight); margin-bottom: 2px; }

/* Erik's note */
.note { padding: clamp(48px, 6vw, 84px) 0; }
.note-panel { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 8fr); gap: clamp(24px, 4vw, 56px); padding: clamp(20px, 3vw, 40px); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-panel); box-shadow: var(--shadow); }
.note-photos { display: grid; gap: 14px; align-content: start; }
.note-photo { width: 100%; border-radius: var(--radius); object-fit: cover; background: var(--paper-2); }
.note-photo-main { aspect-ratio: 4 / 5; object-position: 50% 30%; }
.note-photo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.note-photo-grid .note-photo { aspect-ratio: 1 / 1; object-position: 50% 25%; }
.note-copy .note-kicker { display: flex; align-items: center; gap: 12px; font: 700 .8rem/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--burgundy); margin-bottom: 14px; }
.note-kicker::before { content: ""; width: 36px; height: 2px; background: var(--burgundy); }
.note h2 { font-size: clamp(1.65rem, 1.2rem + 1.6vw, 2.55rem); line-height: 1.18; margin-bottom: 22px; letter-spacing: -.01em; }
.note-copy p { color: var(--ink-soft); max-width: 40em; }
.note-copy strong { color: var(--ink); }
.note-copy .signature { font: italic 600 1.7rem/1.1 var(--serif); color: var(--burgundy); margin: 22px 0 2px; }
.note-copy .signature-role { font-size: .92rem; color: var(--ink-soft); margin-bottom: 14px; }
.note-copy .disclosure { margin: 0; padding-top: 12px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--ink-soft); }
.proof { margin-top: clamp(28px, 3vw, 40px); }
.proof-title { font: 700 1rem/1.3 var(--sans); margin-bottom: 12px; }
.proof-list { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.step { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 14px; align-items: center; height: 100%; padding: 14px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-panel); text-decoration: none; transition: border-color .2s; }
.step:hover { border-color: var(--burgundy); }
.step img { width: 48px; border: 1px solid var(--line); background: var(--white); box-shadow: 0 6px 12px -8px rgba(23, 34, 56, .5); }
.step-text { display: grid; gap: 3px; }
.step-title { font: 700 .98rem/1.35 var(--serif); }
.step-ref { font-size: .86rem; font-weight: 700; color: var(--burgundy); }
.step-tag { display: none; }

/* Book offers */
.book-offer { padding: clamp(52px, 6vw, 92px) 0; }
.book-offer-dark { background: var(--midnight); color: var(--on-dark); }
.book-offer-light { background: var(--white); border-block: 1px solid var(--line); }
.book-offer-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.book-offer-grid-flip { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.book-offer-grid-flip .book-offer-art { order: -1; }
.book-offer-kicker { font: 700 .8rem/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--burgundy); margin-bottom: 14px; }
.book-offer-dark .book-offer-kicker { color: var(--copper); }
.book-offer h2 { font-size: clamp(2rem, 1.3rem + 2.4vw, 3.3rem); line-height: 1.08; letter-spacing: -.02em; margin-bottom: 20px; }
.book-offer h2 span { display: block; }
.book-offer-dark h2 { color: var(--on-dark); }
.book-offer-dark h2 .accent { color: var(--copper); }
.book-offer .lede { max-width: 36em; color: var(--ink-soft); font-size: 1.05rem; }
.book-offer-dark .lede { color: var(--on-dark-soft); }
.buy-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 26px; }
.buy-row .offer-price { margin: 0; }
.book-offer .offer-price .amount { font-size: 3rem; }
.book-offer-dark .offer-price .amount { color: var(--on-dark); }
.buy-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chips li { padding: 6px 14px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: .86rem; font-weight: 700; color: var(--ink-soft); }
.book-offer-dark .chips li { border-color: var(--line-dark); color: var(--on-dark-soft); }
.book-offer-art { margin: 0; display: grid; justify-items: center; gap: 18px; }
.book-lg { width: min(100%, 340px); }
.book-offer-dark .book { box-shadow: 2px 1px 0 0 #FDFDFC, 3px 2px 0 0 #C3C9D0, 5px 3px 0 0 #FBFBFA, 6px 4px 0 0 #B7BEC7, 8px 5px 0 0 #F9F9F8, 9px 6px 0 0 #A9B1BC, 22px 30px 44px -12px rgba(0, 0, 0, .6); }
.book-offer-art figcaption { font-size: .85rem; color: var(--ink-soft); }
.book-offer-dark figcaption { color: var(--on-dark-soft); }
.book-offer-toc { grid-column: 1 / -1; }
.book-offer-toc h3 { font: 700 .95rem/1.3 var(--sans); margin: 0 0 10px; }
.book-offer-dark .book-offer-toc h3 { color: var(--on-dark); }
.toc { list-style: none; counter-reset: t; columns: 2; column-gap: 40px; border-top: 1px solid var(--line); }
.toc li { counter-increment: t; break-inside: avoid; display: grid; grid-template-columns: 1.8em 1fr auto; gap: 0 10px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .95rem; line-height: 1.4; }
.toc li::before { content: counter(t); font: 700 .95rem/1.4 var(--serif); color: var(--burgundy); }
.book-offer-dark .toc { border-color: var(--line-dark); }
.book-offer-dark .toc li { border-color: var(--line-dark); color: var(--on-dark); }
.book-offer-dark .toc li::before { color: var(--copper); }
.pg { color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.book-offer-dark .pg { color: var(--on-dark-soft); }

/* Collection offer */
.collection { padding: clamp(52px, 6vw, 92px) 0; }
.collection-card { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 56px); align-items: center; padding: clamp(20px, 3vw, 40px); background: var(--white); border: 2px solid var(--burgundy); border-radius: var(--radius-panel); box-shadow: var(--shadow); }
.collection-art { display: flex; justify-content: center; align-items: flex-end; gap: 7%; padding: 40px 6%; background: var(--paper-2); border-radius: var(--radius); }
.collection-art .book { width: 44%; }
.collection h2 { font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.5rem); letter-spacing: -.015em; margin-bottom: 18px; }
.ticks { list-style: none; display: grid; gap: 8px; margin-bottom: 20px; }
.window { margin: 0 0 18px; padding: 12px 16px; border-left: 3px solid var(--line-strong); background: var(--paper); border-radius: 0 var(--radius) var(--radius) 0; font-size: .95rem; }
.window.is-open { border-left-color: var(--burgundy); background: var(--burgundy-wash); }
.window p { margin: 0; }
.window-state { font-weight: 700; color: var(--ink); }
.window.is-open .window-state { color: var(--burgundy); }
.window-when { color: var(--ink-soft); }
.window-noscript { margin: 0 0 18px; font-size: .95rem; color: var(--ink-soft); }
.collection .availability { margin-top: 14px; }

/* Samples */
.samples { padding: clamp(44px, 5vw, 68px) 0 8px; }
.samples h2, .faq h2 { font-size: clamp(1.7rem, 1.2rem + 1.3vw, 2.4rem); margin-bottom: 18px; letter-spacing: -.01em; }
.sample-list { list-style: none; border-top: 1px solid var(--line); }
.sample-list li { display: grid; grid-template-columns: minmax(0, 15em) minmax(0, 1fr) auto; gap: 6px 24px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.sample-name { font: 700 1.05rem var(--serif); }
.sample-meta { color: var(--ink-soft); font-size: .93rem; }

/* FAQ */
.faq { padding: clamp(44px, 5vw, 68px) 0 clamp(56px, 6vw, 88px); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 24px clamp(28px, 5vw, 72px); align-items: start; }
.faq-head p { color: var(--ink-soft); max-width: 22em; }
.accordion { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-item h3 { font-size: inherit; }
.acc-item button {
  width: 100%; min-height: 58px; padding: 16px 0; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  background: none; border: 0; cursor: pointer; text-align: left; color: var(--ink);
  font: 600 clamp(1.02rem, .98rem + .25vw, 1.15rem)/1.4 var(--serif);
}
.acc-item button::after { content: "+"; font: 400 1.5rem/1 var(--sans); color: var(--burgundy); width: 1em; text-align: center; flex-shrink: 0; }
.acc-item button[aria-expanded="true"]::after { content: "\2212"; }
.acc-panel { padding: 0 40px 18px 0; color: var(--ink-soft); }
.acc-panel p { margin: 0; }
.js .acc-panel[hidden] { display: none !important; }
html:not(.js) .acc-panel[hidden] { display: block !important; }

/* Footer */
.site-footer { background: var(--midnight); color: var(--on-dark); padding: 36px 0 28px; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 18px 40px; align-items: start; }
.footer-wordmark { font-size: 1.25rem; color: var(--on-dark); }
.footer-line { margin: 8px 0 0; color: var(--on-dark-soft); font-size: .92rem; }
.footer-links { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .95rem; }
.footer-links a { text-underline-offset: 4px; }
.copyright { grid-column: 1 / -1; margin: 0; padding-top: 16px; border-top: 1px solid var(--line-dark); font-size: .85rem; color: var(--on-dark-soft); }

/* Dialogs */
.modal { width: min(880px, calc(100% - 24px)); max-height: min(90dvh, 980px); padding: 0; border: 1px solid var(--line); border-radius: var(--radius-panel); background: var(--white); color: var(--ink); box-shadow: 0 30px 70px -20px rgba(23, 34, 56, .55); }
.modal::backdrop { background: rgba(15, 22, 37, .62); }
.modal-head { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 20px; background: var(--white); border-bottom: 1px solid var(--line); }
.modal-head h2 { font-size: 1.15rem; }
.modal h2:focus { outline: none; }
.modal-close { min-height: 44px; padding: 8px 16px; border: 1.5px solid var(--ink); border-radius: var(--radius); background: var(--white); font: 700 .95rem var(--sans); cursor: pointer; color: var(--ink); }
.modal-close:hover { background: var(--ink); color: var(--white); }
.modal-body { padding: 22px 24px 26px; }
.modal-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.look-pages { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0 0 20px; }
.look-pages figure { margin: 0; }
.look-pages img { border: 1px solid var(--line); background: var(--white); box-shadow: 0 10px 22px -16px rgba(23, 34, 56, .5); }
.look-pages figcaption { font-size: .82rem; color: var(--ink-soft); margin-top: 6px; }
.look-toc { list-style: none; counter-reset: t; columns: 2; column-gap: 28px; font-size: .93rem; border-top: 1px solid var(--line); margin-bottom: 18px; }
.look-toc li { counter-increment: t; break-inside: avoid; display: grid; grid-template-columns: 1.8em 1fr auto; gap: 0 10px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.look-toc li::before { content: counter(t); font: 700 .93rem/1.4 var(--serif); color: var(--burgundy); }
body.modal-open { overflow: hidden; }

/* Collection offer dialog with the pull-tab code */
.modal-offer { width: min(860px, calc(100% - 24px)); overflow: auto; }
.offer-dialog { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); min-height: 100%; }
.offer-dialog-art { display: flex; justify-content: center; align-items: center; gap: 8%; padding: 40px 7%; background: var(--midnight); }
.offer-dialog-art .book { width: 44%; box-shadow: 2px 1px 0 0 #FDFDFC, 3px 2px 0 0 #C3C9D0, 5px 3px 0 0 #FBFBFA, 6px 4px 0 0 #B7BEC7, 20px 26px 36px -12px rgba(0, 0, 0, .6); }
.offer-dialog-art .book-ivory { transform: translateY(18px); }
.offer-dialog-body { position: relative; padding: 30px 30px 28px; }
.offer-close { position: absolute; top: 14px; right: 14px; }
.offer-dialog-body h2 { font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.6rem); line-height: 1.08; letter-spacing: -.02em; margin: 2px 90px 14px 0; }
.offer-dialog-lede { color: var(--ink-soft); }
.offer-dialog-lede strong { color: var(--burgundy); }
.offer-dialog-when { font-size: .92rem; font-weight: 700; color: var(--ink); margin-bottom: 16px; }
.offer-dialog-when:empty { display: none; }

.ticket { position: relative; height: 104px; border: 2px dashed rgba(139, 36, 51, .45); border-radius: var(--radius-panel); background: var(--burgundy-wash); overflow: hidden; }
.ticket-code { display: grid; place-content: center; justify-items: center; gap: 2px; height: 100%; }
.ticket-label { font: 700 .74rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.ticket-value { font: 700 2.1rem/1.1 var(--serif); letter-spacing: .14em; color: var(--burgundy); user-select: all; }
/* The flap covers the code and slides away to the left, like pulling a tab off a card. */
.ticket-flap {
  position: absolute; inset: 0; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 0 0 24px; border: 0; background: var(--burgundy); color: var(--white); cursor: pointer; text-align: left;
  font: 700 1.02rem/1.3 var(--sans);
  transition: transform .46s cubic-bezier(.3, .7, .2, 1);
}
.ticket-flap:hover { background: var(--burgundy-deep); }
.ticket-flap:focus-visible { outline: 3px solid var(--ink); outline-offset: -6px; }
.ticket-tab { align-self: stretch; display: grid; place-items: center; width: 74px; border-left: 2px dashed rgba(255, 255, 255, .55); background: rgba(255, 255, 255, .1); font: 700 .78rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.ticket.is-open .ticket-flap { transform: translateX(-101%); }
@media (prefers-reduced-motion: reduce) { .ticket-flap { transition: none; } }
.ticket-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; margin-top: 12px; }
.copy-status { margin: 0; font-size: .9rem; font-weight: 700; color: var(--burgundy); }
.ticket-terms { margin: 16px 0 14px; font-size: .88rem; color: var(--ink-soft); }
.offer-dialog-cta .btn { width: 100%; }
.offer-dialog-note { display: flex; align-items: center; gap: 10px 16px; flex-wrap: wrap; padding: 12px 14px; background: var(--paper); border-radius: var(--radius); font-size: .88rem; color: var(--ink-soft); }
.offer-dialog-note p { flex: 1 1 16em; margin: 0; }

/* Tablet: collection on top, two single books below */
@media (max-width: 1023px) {
  .offers { grid-template-columns: 1fr 1fr; }
  .offer-bundle { grid-column: 1 / -1; order: -1; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); column-gap: 28px; }
  .offer-bundle > * { grid-column: 2; }
  .offer-bundle > .badge { grid-column: auto; }
  .offer-bundle .bundle-art { grid-column: 1; grid-row: 1 / span 9; align-self: start; margin-bottom: 0; }
  .offer-single { margin-top: 0; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .facts li:nth-child(3) { border-left: 0; }
  .facts li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .proof-list { grid-template-columns: 1fr; }
}

/* Mobile: collection first, then compact single-book rows */
@media (max-width: 719px) {
  .hero { padding-top: 22px; }
  .hero h1 { font-size: clamp(1.95rem, 8.8vw, 2.3rem); }
  .presenter { gap: 12px; margin-bottom: 14px; }
  .presenter-face { width: 56px; height: 56px; }
  .presenter-name { font-size: 1rem; }
  .presenter-note { font-size: .85rem; }
  .wordmark { font-size: 1.12rem; }
  .brand-line { font-size: .76rem; }
  .offer-bar { font-size: .85rem; }
  .offer-bar-inner { gap: 4px 12px; }
  .offers { grid-template-columns: 1fr; gap: 14px; margin-top: 28px; }
  .offer-bundle { display: flex; padding: 28px 16px 20px; }
  .offer-bundle .bundle-art { padding: 18px 10% 22px; margin-bottom: 16px; }
  .offer-single { display: grid; grid-template-columns: 96px minmax(0, 1fr); column-gap: 16px; padding: 16px; }
  .offer-single > * { grid-column: 2; }
  .offer-single .offer-art { grid-column: 1; grid-row: 1 / span 4; background: none; padding: 4px 6px 0 0; margin: 0; align-self: start; }
  .offer-single .offer-art .book { width: 100%; }
  .offer-single .offer-desc { font-size: .9rem; margin-bottom: 6px; }
  .offer-single .offer-price .amount { font-size: 1.8rem; }
  .offer-single .specs { display: none; }
  .offer-single .offer-actions, .offer-single .sample-link { grid-column: 1 / -1; }
  .offer-single .offer-actions { margin-top: 12px; }
  .facts li { padding: 14px 8px; font-size: .85rem; }
  .facts strong { font-size: 1.4rem; }
  .note-panel { grid-template-columns: 1fr; padding: 16px; }
  .note-photo-main { aspect-ratio: 4 / 4.5; }
  .note-photo-grid { gap: 10px; }
  .book-offer-grid, .book-offer-grid-flip { grid-template-columns: 1fr; }
  .book-offer-art { order: -1; justify-items: start; }
  .book-lg { width: 170px; }
  .book-offer .offer-price .amount { font-size: 2.5rem; }
  /* On phones the full contents live in the Look inside dialog, with real pages beside them. */
  .book-offer-toc { display: none; }
  .buy-actions, .buy-actions .btn { width: 100%; }
  .collection-card { grid-template-columns: 1fr; padding: 16px; }
  .collection-art { padding: 26px 12%; }
  .sample-list li { grid-template-columns: 1fr; }
  .sample-list .btn { justify-self: start; }
  .faq-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .look-pages { gap: 8px; }
  .look-toc { columns: 1; }
  .modal-body { padding: 18px 16px 22px; }
  .offer-dialog { grid-template-columns: 1fr; }
  .offer-dialog-art { padding: 22px 22% 30px; }
  .offer-dialog-body { padding: 22px 18px 22px; }
  .offer-dialog-body h2 { margin-right: 84px; }
  .ticket-value { font-size: 1.7rem; }
}

/* Order page (/order/) and the order API's own notices: one quiet white sheet on paper,
   the books' covers beside their download buttons. Same tokens, type and buttons as the sales page. */
.order-body { min-height: 100vh; display: flex; flex-direction: column; }
.order-header { padding: 22px 0; border-bottom: 1px solid var(--line); background: var(--paper); }
.order-header .wordmark { text-decoration: none; }
.order-main { flex: 1; padding: clamp(32px, 6vw, 72px) 0; }
.order-wrap { max-width: 760px; }
.order-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-panel); padding: clamp(24px, 5vw, 48px); }
.order-card h1 { font-size: clamp(1.75rem, 4vw, 2.4rem); margin-bottom: 14px; }
.order-card h1:focus { outline: none; }
.order-lede { color: var(--ink-soft); max-width: 56ch; }
.order-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.order-files { list-style: none; display: grid; gap: 18px; margin: 28px 0 8px; }
.order-file { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 22px; align-items: center; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-panel); background: var(--paper); }
.order-file-art .book { width: 100%; box-shadow: 2px 1px 0 0 #FDFDFC, 3px 2px 0 0 #D5D9DE, 10px 14px 22px -12px rgba(23, 34, 56, .45); }
.order-file h2 { font-size: 1.2rem; margin-bottom: 4px; }
.order-file-meta { font-size: .95rem; color: var(--ink-soft); margin-bottom: 14px; }
.order-note { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.order-note h2 { font: 700 1rem/1.3 var(--sans); margin-bottom: 6px; }
.order-note p { margin: 0; color: var(--ink-soft); font-size: .95rem; }
.order-footer { padding: 24px 0 32px; font-size: .92rem; color: var(--ink-soft); }
.order-footer p { margin: 0; }
@media (max-width: 520px) {
  .order-file { grid-template-columns: 72px minmax(0, 1fr); gap: 16px; padding: 16px; }
  .order-file .btn { width: 100%; }
}

@media print {
  .site-header, .offer-bar, .modal, .skip-link, .order-actions { display: none !important; }
  .book-offer-dark, .site-footer { background: none; color: var(--ink); }
}
