/* ════════════════════════════════════════════════════════════════════════════
   BREAKTHROUGH PUBLISHING · THE PUBLIC SITE ("OPTION C": the power of B, the ease of A)
   B's voice at a controlled volume. A saturated field only where it earns its place:
   the home hero and one poster band, the opening of a book page, the call on Authors.
   Everything around them is white or quiet, with plain navigation, real buttons and
   links that look like links.
   TOKENS: the staff back office and author portal adopt the --color-* and --font-*
   names as they are. The --book-* set is for the public site only.
   ════════════════════════════════════════════════════════════════════════════ */
:root {
  /* house palette */
  --color-bg: #FFFFFF;            /* page */
  --color-surface: #F4F2EC;       /* quiet bands: In production, tiles */
  --color-panel: #FFFFFF;         /* inputs */
  --color-text: #141414;          /* headings and body */
  --color-text-muted: #55544E;    /* captions, labels, metadata */
  --color-rule: #141414;          /* section rules */
  --color-rule-soft: #DAD7CF;     /* hairlines */
  --color-accent: #141414;        /* Buy and other filled buttons */
  --color-accent-hover: #3A3A38;
  --color-accent-on: #FFFFFF;     /* text on the accent */
  --color-cta: #E7B24B;           /* the call to action: Free consultation, the hero field */
  --color-cta-hover: #D9A23A;
  --color-cta-on: #141414;        /* text on the call to action */
  --color-link: #0E5C95;          /* links on white: the logo's blue, darkened for text */
  --color-focus: #1376BC;         /* the logo's blue */

  /* fonts (Google Fonts) */
  --font-display: "League Gothic", "Arial Narrow", Impact, sans-serif;
  --font-body: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-label: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;

  /* layout */
  --gutter: clamp(16px, 2.9vw, 40px);
  --section: clamp(44px, 5vw, 72px);
}

/* A page without its own colours (a new title with no rich page yet) still opens in a house colour. */
.book-open, .feature, .shop-tile { --bg: var(--color-surface); --ink: var(--color-text); --accent: var(--color-text); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 104px; }
body { margin: 0; background: var(--color-bg); color: var(--color-text); font-family: var(--font-body); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--color-link); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--color-text); }
:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; background: #fff; padding: 8px 12px; z-index: 20; }
.wrap { padding-inline: var(--gutter); max-width: 1500px; margin-inline: auto; }

/* ─── buttons: gold is the call to action, black is Buy ─── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 9px 18px;
  border: 0; border-radius: 999px; font-family: var(--font-body); font-size: 15px; font-weight: 700; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
}
.btn-lg { min-height: 54px; padding: 13px 28px; font-size: 17px; }
.btn-cta { background: var(--color-cta); color: var(--color-cta-on); }
.btn-cta:hover { background: var(--color-cta-hover); color: var(--color-cta-on); }
.btn-dark, .btn-buy { background: var(--color-accent); color: var(--color-accent-on); }
.btn-dark:hover, .btn-buy:hover { background: var(--color-accent-hover); color: var(--color-accent-on); }
.btn-tone { background: var(--accent); color: var(--bg); }
.btn-tone:hover { background: var(--accent); color: var(--bg); filter: brightness(.92); }

/* ─── header: plain, the same on every page, always on screen ─── */
.site-head {
  position: sticky; top: 0; z-index: 10;
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; column-gap: clamp(20px, 3vw, 44px);
  padding: 10px var(--gutter); background: #fff; border-bottom: 1px solid var(--color-rule-soft);
}
.logo, .foot-brand > a { display: inline-flex; align-items: center; min-height: 44px; }
.logo img { width: 172px; height: auto; }
.main-nav { display: flex; gap: clamp(16px, 2vw, 30px); }
.main-nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--color-text); font-weight: 500; font-size: 16px; text-decoration: none; white-space: nowrap; }
.main-nav a:hover, .main-nav a[aria-current] { box-shadow: inset 0 -3px 0 var(--color-text); }

/* ─── jacket ─── */
.jacket { position: relative; display: block; box-shadow: 0 2px 4px rgba(0, 0, 0, .25), 0 16px 30px -12px rgba(0, 0, 0, .45); }
.jacket img { width: 100%; }
.jacket::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(255,255,255,.14) 0, rgba(255,255,255,0) 1.4%, rgba(0,0,0,.18) 2.4%, rgba(0,0,0,0) 4.6%); }

/* ─── hero: one field beside the books, on white ─── */
.hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.hero-publish { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.hero-cta { display: flex; flex-direction: column; justify-content: center; background: var(--color-cta); color: var(--color-cta-on); padding: clamp(28px, 3.4vw, 48px) clamp(20px, 2.6vw, 36px) clamp(28px, 3.4vw, 48px) var(--gutter); }
.hero-cta a:not(.btn) { color: inherit; }
.hero-who { font-size: 15px; font-weight: 500; }
.hero h1 span { display: block; }
.hero h1 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(5.5rem, 10.1vw, 11rem); line-height: .9; margin-block: 12px 18px; }
.hero-sent { font-size: clamp(1.05rem, 1.45vw, 1.3rem); line-height: 1.42; max-width: 30em; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 24px; }
.hero-how { font-weight: 700; font-size: 16px; text-decoration-thickness: 2px; }
.hero-books { padding: clamp(24px, 2.8vw, 40px) var(--gutter) clamp(26px, 3vw, 44px) clamp(24px, 3vw, 44px); }
.buy-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.buy-head h2, .sec-head h2, .sec-title { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(2.3rem, 3.5vw, 3.2rem); line-height: 1; }
.buy-head a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; font-size: 16px; }
.buy-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.2vw, 32px); margin-top: 20px; align-items: end; }
.buy-cover { display: block; }
.buy-card .jacket { transition: transform .2s ease; }
/* covers in a row match in height, whatever shape a new title's jacket is */
.buy-cover { aspect-ratio: .7169; display: flex; align-items: flex-end; }
.buy-cover .jacket { height: 100%; width: auto; max-width: 100%; }
.buy-cover .jacket img { height: 100%; width: auto; object-fit: contain; }
.buy-card:hover .jacket { transform: translateY(-4px); }
.buy-card h3 { margin-top: 14px; font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(1.45rem, 2.2vw, 2rem); line-height: 1.02; }
.buy-card h3 a { color: inherit; text-decoration: none; }
.buy-card h3 a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.buy-line { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 10px; margin-top: 8px; }
.price { font-weight: 700; font-size: 18px; }
.by { color: var(--color-text-muted); font-size: 15px; line-height: 1.35; }
.buy-row-calm { max-width: 900px; margin-top: 18px; }
.buy-row-calm.n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 600px; }

/* ─── In production: quiet, no price, no button ─── */
.prod-band { background: var(--color-surface); padding-block: clamp(28px, 3.4vw, 44px); }
.sec-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 18px; }
.sec-head p { color: var(--color-text-muted); font-size: 16px; }
.prod-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 36px); margin-top: 18px; }
.prod-card { display: grid; grid-template-columns: minmax(0, 104px) minmax(0, 1fr); gap: 16px; align-items: center; }
.prod-card h3 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(1.75rem, 2.5vw, 2.3rem); line-height: 1; }
.prod-card h3 a { color: inherit; text-decoration: none; }
.prod-card h3 a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.prod-card .by { margin-top: 4px; }
.prod-tag { margin-top: 6px; font-size: 14px; font-weight: 500; color: var(--color-text-muted); }

/* ─── one poster band: B's power, one dose, a book you can buy ─── */
/* The jacket is already in the row above, so this band leads with type and the photograph. */
.feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); background: var(--bg); color: var(--ink); }
.feature a:not(.btn) { color: inherit; }
.feature-text { align-self: center; padding: clamp(28px, 3.4vw, 48px) clamp(20px, 2.6vw, 36px) clamp(28px, 3.4vw, 48px) var(--gutter); }
.feature h2 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; color: var(--accent); font-size: clamp(5rem, 9.4vw, 9.6rem); line-height: .9; margin-block: 8px 12px; }
.feature h2 a { text-decoration: none; }
.feature h2 a:hover { text-decoration: underline; text-decoration-thickness: 4px; text-underline-offset: 6px; }
.feature-photo { position: relative; overflow: hidden; min-height: 400px; }
.feature-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature-photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 9px 14px; background: var(--bg); color: var(--ink); font-size: 14px; line-height: 1.3; }

/* ─── the offer ─── */
.offer-band { background: #141414; color: #fff; padding-block: clamp(32px, 4vw, 56px); }
.offer-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; }
.offer-head h2 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(3.4rem, 6vw, 5.6rem); line-height: .95; }
.offer-row { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 26px); margin-top: 26px; }
.offer-row li { border-top: 2px solid #fff; padding-top: 10px; }
.step-num { display: block; font-family: var(--font-display); font-size: clamp(2.6rem, 3.4vw, 3.2rem); line-height: 1; color: var(--color-cta); }
.offer-row p { margin-top: 6px; font-size: 16px; line-height: 1.35; }

/* ─── sections ─── */
.sec { margin-top: var(--section); }
.blog-sec { margin-top: var(--section); }
.posts { margin-top: 14px; border-top: 2px solid var(--color-rule); }
.posts li { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 2px 20px; padding-block: 12px; border-bottom: 1px solid var(--color-rule-soft); }
.posts time { font-size: 14px; color: var(--color-text-muted); padding-top: 3px; }
.page-head { padding-top: clamp(24px, 3vw, 40px); }
.page-head h1 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(5rem, 8.6vw, 8rem); line-height: .9; }
.lede { margin-top: 14px; max-width: 40em; font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.45; }
.note { max-width: 40em; }
.two { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 16px clamp(24px, 4vw, 64px); }
.two .posts { margin-top: 0; }
.two .note { margin-top: 10px; }

/* ─── catalogue: colour stays inside the tile ─── */
.filter-anchor { position: absolute; top: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chips a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px; border: 1px solid var(--color-text); border-radius: 999px; color: var(--color-text); font-weight: 500; font-size: 15px; text-decoration: none; }
.chips a:hover { background: #141414; color: #fff; }
.shop-sec { margin-top: clamp(24px, 3vw, 40px); }
.shop-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.2vw, 30px); margin-top: 16px; }
.shop-tile { display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1; background: var(--bg); }
.shop-tile .jacket { height: 76%; width: auto; transition: transform .2s ease; }
.shop-tile .jacket img { height: 100%; width: auto; }
.shop-tile:hover .jacket { transform: translateY(-4px); }
.shop-cat { margin-top: 14px; font-size: 14px; color: var(--color-text-muted); }
.shop-text h3 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(2.2rem, 3.4vw, 3rem); line-height: 1; margin-top: 2px; }
.shop-text h3 a { color: inherit; text-decoration: none; }
.shop-text h3 a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.prod-sec { margin-top: var(--section); }
#cookbook:target ~ .shop-sec .shop-card:not(.cat-cookbook), #business:target ~ .shop-sec .shop-card:not(.cat-business), #memoir:target ~ .shop-sec .shop-card:not(.cat-memoir) { display: none; }
#business:target ~ .prod-sec, #memoir:target ~ .prod-sec { display: none; }
#cookbook:target ~ .page-head .chips a[href="#cookbook"], #business:target ~ .page-head .chips a[href="#business"], #memoir:target ~ .page-head .chips a[href="#memoir"] { background: #141414; color: #fff; }

/* ─── book page: the jacket's colour opens the page, then it is quiet ─── */
.book-open { background: var(--bg); color: var(--ink); }
.book-open a { color: inherit; }
.book-open a.btn-tone, .book-open a.btn-tone:hover { color: var(--bg); }
.book-open-inner { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: clamp(28px, 4vw, 60px); max-width: 1500px; margin-inline: auto; padding: clamp(24px, 3vw, 40px) var(--gutter); }
.book-open-cover { margin-bottom: clamp(-96px, -5.6vw, -40px); position: relative; z-index: 1; }
.book-open-cover .jacket { width: min(100%, 370px); margin-left: auto; }
.book-open-text { align-self: center; }
.crumb { font-size: 15px; font-weight: 500; }
.book-open h1 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; color: var(--accent); font-size: clamp(5rem, 9vw, 9rem); line-height: .9; margin-block: 8px 12px; }
.book-sub { font-size: clamp(1.1rem, 1.6vw, 1.35rem); line-height: 1.3; }
.book-by { margin-top: 6px; font-weight: 700; }
.buybox { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 22px; }
.buybox-price { display: flex; align-items: baseline; gap: 12px; }
.price-big { font-family: var(--font-display); font-size: 3.2rem; line-height: 1; color: var(--accent); text-transform: uppercase; }
.fmt { font-size: 16px; }
.buybox-prod { display: block; }
.book-body { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: clamp(28px, 4vw, 60px); padding-top: clamp(28px, 3vw, 44px); }
.book-left { padding-top: clamp(50px, 6.6vw, 96px); }
.spec { font-size: 15px; border-top: 2px solid var(--color-rule); }
.spec div { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 12px; padding-block: 8px; border-bottom: 1px solid var(--color-rule-soft); }
.spec dt { color: var(--color-text-muted); }
.book-right blockquote { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(2.4rem, 3.6vw, 3.4rem); line-height: 1.02; max-width: 22em; }
.prose { margin-top: 18px; max-width: 40em; }
.prose p + p { margin-top: 12px; }
.plate-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 22px); margin-top: 16px; }
.plate-row img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.plate-row figcaption { margin-top: 8px; font-size: 15px; line-height: 1.35; }
.inside { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.6vw, 24px); margin-top: 16px; padding: clamp(12px, 2.4vw, 36px); background: var(--color-surface); }
.inside img { width: 100%; box-shadow: 0 2px 3px rgba(0, 0, 0, .18), 0 12px 22px -14px rgba(0, 0, 0, .45); }
.au { display: grid; grid-template-columns: minmax(0, 150px) minmax(0, 1fr); gap: clamp(16px, 2.4vw, 28px); margin-top: 16px; max-width: 860px; }
.au img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 15%; }
.au h3 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(2.2rem, 3.2vw, 3rem); line-height: 1; }
.au h3 a { color: inherit; text-decoration: none; display: inline-block; min-height: 44px; }
.au-role { font-weight: 500; font-size: 15px; color: var(--color-text-muted); margin-block: 2px 8px; }
.cta-inline { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; margin-top: var(--section); padding: clamp(20px, 2.6vw, 34px); background: var(--color-surface); border-left: 8px solid var(--color-cta); }
.cta-line { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(2.8rem, 4.4vw, 4.2rem); line-height: .95; }
.cta-sub { margin-top: 6px; max-width: 34em; }

/* ─── authors ─── */
.people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 3vw, 40px) clamp(24px, 3vw, 44px); margin-top: 20px; }
.person { display: grid; grid-template-columns: minmax(0, 170px) minmax(0, 1fr); gap: clamp(14px, 1.8vw, 24px); padding-top: 14px; border-top: 6px solid var(--rule-c, var(--color-text)); scroll-margin-top: 110px; }
.person-photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 15%; }
.person h2 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(2.6rem, 3.8vw, 3.5rem); line-height: .98; }
.person-books { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; }
.au-book { width: 84px; color: var(--color-text); font-size: 13.5px; line-height: 1.25; text-decoration: none; }
.au-book span:last-child { display: block; margin-top: 7px; font-weight: 500; }
.you-band { background: var(--color-cta); color: var(--color-cta-on); margin-top: var(--section); padding-block: clamp(26px, 3.4vw, 44px); }
.you-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.you-line { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(4rem, 7.4vw, 7rem); line-height: .92; }
.you-sub { margin-top: 6px; max-width: 34em; }

/* ─── publish with us ─── */
.made { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 22px); margin-top: 18px; align-items: end; max-width: 560px; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px clamp(20px, 2.4vw, 36px); margin-top: 18px; }
.steps li { border-top: 2px solid var(--color-rule); padding-top: 10px; }
.steps .step-num { color: var(--color-text); font-size: clamp(3rem, 4vw, 3.8rem); }
.steps h3 { margin-top: 4px; font-size: 20px; line-height: 1.22; }
.steps p { margin-top: 4px; }
.step-last { border-top-color: var(--color-cta) !important; border-top-width: 6px !important; padding-top: 6px !important; }
.aud { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px clamp(20px, 2.4vw, 36px); margin-top: 16px; }
.aud h3 { font-size: 19px; line-height: 1.25; }
.aud p { margin-top: 4px; }
.book-a-time { background: #141414; color: #fff; margin-top: var(--section); padding-block: clamp(28px, 3.6vw, 48px); scroll-margin-top: 90px; }
.book-a-time-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 40px; }
.book-a-time h2 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(3.2rem, 5.6vw, 5.4rem); line-height: .95; }
.book-a-time-inner > div:first-child p { margin-top: 8px; max-width: 36em; }
.book-a-time-actions p { margin-top: 10px; }
.book-a-time-actions a:not(.btn) { color: #fff; }
.intake { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px clamp(14px, 2vw, 24px); }
.field.wide { grid-column: 1 / -1; }
.field label { display: block; font-weight: 500; font-size: 15px; margin-bottom: 5px; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 10px 12px; font: 400 16px/1.4 var(--font-body); color: var(--color-text); background: #fff; border: 1px solid #8A887F; border-radius: 0; }
.field textarea { min-height: 96px; resize: vertical; }
.field label.consent { display: flex; font-weight: 400; margin: 0; }
.field input[type=checkbox] { width: auto; min-height: 0; flex: none; }
.about-contact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.about-contact.one { grid-template-columns: minmax(0, 1fr); align-content: start; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
.cf-turnstile { margin-bottom: 14px; max-width: 100%; }
.page-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.btn-ghost { background: transparent; color: var(--color-text); box-shadow: inset 0 0 0 1px var(--color-text); }
.btn-ghost:hover { background: var(--color-text); color: #fff; }
.blog-fallback { margin-top: 12px; }
.buybox-note { flex-basis: 100%; }
/* book pages: the buy box */
.was { text-decoration: line-through; font-weight: 400; opacity: .8; margin-left: 6px; }
.buybox .fmt a { color: inherit; }
.buy-now { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; flex-basis: 100%; }
.buy-now .qty { width: 84px; min-height: 54px; padding: 10px 12px; font: 400 16px var(--font-body); border: 1px solid currentColor; background: #fff; color: #141414; border-radius: 0; }
.formats { display: flex; flex-wrap: wrap; gap: 10px; flex-basis: 100%; }
.formats[hidden] { display: none; }
.formats label { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; border: 1px solid currentColor; cursor: pointer; }
.formats label.off { opacity: .6; cursor: not-allowed; }
.fmt-note { font-size: 14px; }
.buybox-closed { display: block; }
.buybox-note { max-width: 36em; margin-top: 10px; overflow-wrap: anywhere; }
.buybox-note a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.book-open-text #bs-msg { flex-basis: 100%; }
.book-open-text #bs-msg .notice { padding: 10px 12px; background: #fff; color: #141414; }
.book-open-text #bs-msg .notice a { color: #0E5C95; }
.chips a[aria-current] { background: #141414; color: #fff; }
.chips { margin-top: 0; }
/* app-rendered pages: the standard page body under the page head */
.btp-dyn { padding-block: clamp(18px, 2.4vw, 32px) 8px; }
.page-head-long h1 { font-size: clamp(3rem, 5.4vw, 5rem); line-height: .98; }
address { font-style: normal; }

/* ─── footer ─── */
.site-footer { margin-top: var(--section); }
.foot-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; padding: clamp(18px, 2.2vw, 28px) var(--gutter); background: var(--color-surface); border-top: 6px solid var(--color-cta); }
.foot-cta-line { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(2.4rem, 3.6vw, 3.2rem); line-height: 1; }
.foot-cta-sub { flex: 1 1 260px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 2fr) minmax(0, 2fr) minmax(0, 4fr); gap: 26px clamp(20px, 3vw, 44px); padding: 26px var(--gutter) 0; font-size: 15px; border-top: 1px solid var(--color-rule-soft); }
.foot-brand img { width: 170px; height: auto; margin-bottom: 12px; }
.site-footer h2 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.site-footer nav a { display: block; color: var(--color-text); text-decoration: none; padding-block: 5px; }
.site-footer nav a:hover { text-decoration: underline; }
.foot-news p { color: var(--color-text-muted); margin-bottom: 8px; }
.news-row { display: flex; }
.news-row input { flex: 1; min-width: 0; min-height: 48px; padding: 10px 12px; font: 400 16px var(--font-body); background: #fff; border: 1px solid #8A887F; border-right: 0; border-radius: 0; color: var(--color-text); }
.news-row button { min-height: 48px; padding-inline: 18px; background: #141414; color: #fff; border: 0; font: 700 15px var(--font-body); cursor: pointer; }
.consent { display: flex; gap: 8px; align-items: flex-start; margin-top: 10px; font-size: 14px; color: var(--color-text-muted); }
.consent input { margin-top: 4px; }
.foot-legal { padding: 20px var(--gutter) 24px; font-size: 14px; color: var(--color-text-muted); }
.foot-legal a { color: inherit; margin-left: 10px; }

/* ─── below desktop: the header takes two rows and never collapses into a menu ─── */
@media (max-width: 1000px) {
  .site-head { grid-template-columns: minmax(0, 1fr) auto; row-gap: 0; padding-block: 6px 0; }
  .logo { grid-column: 1; grid-row: 1; }
  .head-cta { grid-column: 2; grid-row: 1; }
  .main-nav { grid-column: 1 / -1; grid-row: 2; gap: 22px; overflow-x: auto; scrollbar-width: none; }
  .main-nav::-webkit-scrollbar { display: none; }
  .hero, .hero-publish { grid-template-columns: minmax(0, 1fr); }
  .hero h1 { font-size: clamp(5.5rem, 17vw, 11rem); }
  .about-contact { grid-template-columns: minmax(0, 1fr); }
  .feature { grid-template-columns: minmax(0, 1fr); }
  .feature-text { padding-right: var(--gutter); }
  .feature-photo { min-height: 0; aspect-ratio: 21 / 9; }
  .hero-cta { padding-right: var(--gutter); }
  .hero-books { padding-left: var(--gutter); }
  .made { max-width: none; grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .offer-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ─── phone ─── */
@media (max-width: 640px) {
  html { scroll-padding-top: 112px; }
  body { font-size: 16.5px; }
  .logo img { width: 134px; }
  .main-nav { justify-content: space-between; gap: 10px; }
  .main-nav a { font-size: 14px; }

  .hero-cta { padding: 16px var(--gutter) 18px; }
  .hero-who { font-size: 14px; }
  .hero h1 { font-size: 24.6vw; margin-block: 6px 10px; }
  .hero-sent { font-size: 16px; line-height: 1.36; }
  .hero-actions { margin-top: 14px; }
  .hero-actions .btn { width: 100%; min-height: 50px; }
  .hero-how { display: none; }
  .hero-books { padding: 14px var(--gutter) 22px; }
  .buy-head h2 { font-size: 1.95rem; }
  .buy-row { gap: 10px; margin-top: 10px; }
  .buy-card h3 { margin-top: 8px; font-size: 1.32rem; }
  .buy-line { margin-top: 3px; gap: 2px 4px; }
  .price { font-size: 15px; }
  .btn-buy { padding: 8px 13px; font-size: 14px; }

  .feature-text { padding: 18px var(--gutter) 20px; }
  .feature h2 { font-size: 23vw; margin-block: 4px 10px; }
  .feature .buybox { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; }
  .feature .buybox .btn { width: auto; min-width: 104px; margin-top: 0; }
  .feature-photo { aspect-ratio: 16 / 10; }
  .sec-head { display: block; }
  .prod-row { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .prod-card { grid-template-columns: 74px minmax(0, 1fr); gap: 14px; }

  .offer-row { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .offer-row li { display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: start; border-top: 1px solid #5a5a5a; padding-block: 10px; }
  .offer-row p { margin-top: 3px; }
  .offer-head .btn { width: 100%; }
  .posts li { grid-template-columns: minmax(0, 1fr); }
  .two { grid-template-columns: minmax(0, 1fr); }

  .shop-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .shop-card { display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 12fr); gap: 14px; align-items: center; }
  .shop-cat { margin-top: 0; }

  .book-open-inner { display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 12fr); column-gap: 14px; padding-block: 14px 20px; }
  .book-open-text { display: contents; }
  .crumb { grid-column: 1 / -1; grid-row: 1; }
  .book-open h1 { grid-column: 1 / -1; grid-row: 2; font-size: 23vw; margin-block: 4px 12px; }
  .book-open-cover { grid-column: 1; grid-row: 3 / span 3; margin-bottom: 0; }
  .book-open-cover .jacket { margin-left: 0; width: 100%; }
  .book-sub { grid-column: 2; grid-row: 3; font-size: 16px; }
  .book-by { grid-column: 2; grid-row: 4; font-size: 15.5px; }
  .buybox { grid-column: 2; grid-row: 5; margin-top: 10px; align-self: start; display: block; }
  .buybox-closed { grid-column: 1 / -1; grid-row: 6; margin-top: 14px; }
  .buybox-note { overflow-wrap: anywhere; }
  .buybox .btn { width: 100%; margin-top: 8px; min-height: 48px; padding-inline: 10px; font-size: 16px; }
  .price-big { font-size: 2.5rem; }
  .book-body { grid-template-columns: minmax(0, 1fr); padding-top: 22px; }
  .book-left { padding-top: 0; order: 2; margin-top: 22px; }
  .book-right { order: 1; }
  .book-right blockquote { font-size: 10.6vw; }
  .plate-row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .plate-row figcaption { font-size: 13px; }
  .inside { gap: 8px; padding: 10px; }
  .au { grid-template-columns: 104px minmax(0, 1fr); }
  .cta-inline .btn, .you-inner .btn, .foot-cta .btn { width: 100%; }
  .buy-row-calm, .buy-row-calm.n2 { max-width: none; }

  .people { grid-template-columns: minmax(0, 1fr); }
  .person { grid-template-columns: 104px minmax(0, 1fr); }
  .person-text { display: contents; }
  .person h2 { grid-column: 2; grid-row: 1; align-self: end; font-size: 2.5rem; }
  .person .au-role { grid-column: 1 / -1; margin: 0; }
  .person-text > p:not(.au-role) { grid-column: 1 / -1; }
  .person-books { grid-column: 1 / -1; margin-top: 0; }

  .made { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; margin-top: 10px; }
  .steps, .aud { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .steps li { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 4px; }
  .steps .step-num { grid-row: 1 / span 2; font-size: 2.8rem; }
  .book-a-time-actions .btn { width: 100%; }
  .book-a-time-actions { width: 100%; }
  .intake { grid-template-columns: minmax(0, 1fr); }
  .about-contact { grid-template-columns: minmax(0, 1fr); }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-brand, .foot-news { grid-column: 1 / -1; }
  .site-footer nav a { padding-block: 11px; }
  address a { display: inline-block; padding-block: 11px; }
}

/* ─── narrow phones: every link stays on one row, the covers stay level ─── */
@media (max-width: 380px) {
  .main-nav { gap: 6px; }
  .main-nav a { font-size: 13px; }
  .head-cta { padding-inline: 13px; font-size: 14px; }
  .buy-row { align-items: start; gap: 8px; }
  .buy-card h3 { font-size: 1.16rem; }
  .price { font-size: 14px; }
  .btn-buy { padding-inline: 10px; font-size: 13.5px; }
  .hero-sent { font-size: 15px; }
}
@media (max-width: 340px) {
  .main-nav { gap: 4px; }
  .main-nav a { font-size: 12.5px; }
  .buy-card h3 { font-size: 1rem; }
  .buy-line { flex-direction: column; align-items: stretch; }
  .btn-buy { width: 100%; }
}
