/* ==========================================================================
   anneebayeux.com · base.css  (owned by Agent 1)
   Tokens, type, layout primitives, nav, footer, forms.
   Page-specific CSS goes in css/pages/<page>.css and is concatenated after
   this file. REUSE the primitives below before inventing new ones.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Palette (from the cover). No other hues. */
  --green: #3E5C40;          /* brand green: buttons, links, eyebrow labels */
  --gold: #E8D27A;           /* gold: title on green, buttons on dark */
  --gold-pale: #F1E4A8;      /* pale gold: headings on dark */
  --cream: #F6F1E6;          /* page paper */
  --cream-deep: #EFE8D8;     /* alternate paper band */
  --rule: #DDD4C0;           /* hairline on cream */
  --ink-dark: #162318;       /* near-black green: dark sections, display text */
  --ink: #2B342A;            /* body ink */
  --ink-serif: #1F2A1F;      /* long-form serif text */
  --muted: #5B6656;          /* dates, meta */
  --muted-2: #4A5245;        /* captions, secondary lines */
  --on-dark: #DDE3D7;        /* body text on dark/green */
  /* Tints of the palette used by the designs */
  --on-green-muted: #C9D1C2; /* meta text on green */
  --on-dark-muted: #A9B5A4;  /* meta text on near-black */
  --rule-on-green: #5A7A5C;  /* hairline on green */
  --rule-on-dark: #3B4F3C;   /* hairline on near-black */
  --field-line: #BFB6A2;     /* boxed field border on cream */
  --field-bg: #FFFDF8;       /* boxed field fill on cream */

  /* Type */
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Be Vietnam Pro', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Layout (values from the designs) */
  --gutter: clamp(24px, 6vw, 80px);              /* side padding of every band */
  --space-section: clamp(72px, 10vw, 136px);     /* standard band padding */
  --space-section-m: clamp(64px, 9vw, 112px);    /* medium band padding */
  --space-section-s: clamp(56px, 8vw, 104px);    /* compact band padding */
  --space-page-top: clamp(64px, 10vw, 128px);    /* first band under the nav */
  --w-max: 1280px;   /* nav */
  --w-wide: 1200px;  /* Lan archive */
  --w-page: 1120px;  /* most bands */
  --w-narrow: 760px; /* lists: journal, questions */
  --w-text: 660px;   /* reading column */
  --tap: 44px;       /* minimum tap target */
}

/* ---------- Reset / document ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
img, video { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, p, figure, blockquote, ul, ol { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
strong, b { font-weight: 500; }
em { font-style: italic; }
button, input, textarea, select { font: inherit; color: inherit; }

/* Links: green, underlined, offset (design default) */
a { color: var(--green); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink-dark); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.on-dark :focus-visible, .section--dark :focus-visible, .section--green :focus-visible,
.site-nav--green :focus-visible, .site-footer :focus-visible { outline-color: var(--gold); }

/* Accessibility helpers */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--ink-dark); color: var(--gold-pale); padding: 12px 18px; font-size: 14px; }
.skip-link:focus { top: 12px; color: var(--gold-pale); }
[hidden] { display: none !important; }

/* ---------- Layout primitives ---------- */
/* .section: a full-width band with standard vertical + side padding. */
.section { padding: var(--space-section) var(--gutter); }
/* .section--m / --s: medium and compact vertical padding. */
.section--m { padding-block: var(--space-section-m); }
.section--s { padding-block: var(--space-section-s); }
/* .section--page-top: first band on an inner page (sits under the nav). */
.section--page-top { padding-top: var(--space-page-top); }
/* .section--flush-top: no top padding (continues the band above). */
.section--flush-top { padding-top: 0; }
/* .section--paper: deeper cream band with hairlines top and bottom. */
.section--paper { background: var(--cream-deep); border-block: 1px solid var(--rule); }
/* .section--ruled: plain band with a hairline on top. */
.section--ruled { border-top: 1px solid var(--rule); }
/* .section--dark: near-black green band; text, eyebrows, headings and buttons flip automatically. */
.section--dark { background: var(--ink-dark); color: var(--on-dark); }
/* .section--green: brand green band (hero, buy, signup band). Same flipping as dark. */
.section--green { background: var(--green); color: var(--cream); }

/* .container: centred column, 1120px. Variants set other widths. */
.container { width: 100%; max-width: var(--w-page); margin-inline: auto; }
.container--max { max-width: var(--w-max); }
.container--wide { max-width: var(--w-wide); }
.container--narrow { max-width: var(--w-narrow); }
.container--text { max-width: var(--w-text); }
.container--620 { max-width: 620px; }

/* .stack: vertical flow with a consistent gap. Set --gap or use a size modifier. */
.stack { display: flex; flex-direction: column; gap: var(--gap, 24px); }
.stack--xs { --gap: 6px; }
.stack--s { --gap: 12px; }
.stack--m { --gap: 20px; }
.stack--l { --gap: 28px; }
.stack--xl { --gap: clamp(36px, 5vw, 56px); }
.stack--xxl { --gap: clamp(40px, 6vw, 64px); }

/* .split: two columns, heading left and text right; stacks on phones. */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px 56px; align-items: end; }
.split--top { align-items: start; }
/* .grid-3: three equal columns that wrap (praise, journal strip, contacts, downloads). */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 48px 56px; }
.grid-3--tight { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 48px 40px; }
/* .media: image + text side by side, wrapping (author block, About bio, Buy). */
.media { display: flex; flex-wrap: wrap; gap: clamp(40px, 6vw, 96px); align-items: flex-start; }
.media--center { align-items: center; }
.media__aside { flex: 0 1 360px; width: 100%; max-width: 360px; }
.media__body { flex: 1 1 380px; min-width: 0; }

/* ---------- Type ---------- */
/* .eyebrow: small-caps label above headings. Green on light, gold on dark/green. */
.eyebrow { font-family: var(--sans); font-size: 12px; font-weight: 400; line-height: 1.5; letter-spacing: .2em; text-transform: uppercase; color: var(--green); }
.section--dark .eyebrow, .section--green .eyebrow, .on-dark .eyebrow { color: var(--gold); }

/* Display headings. Serif, weight 500, tight leading. */
/* .display: the big hero title (Home, Buy). */
.display { font-family: var(--serif); font-weight: 500; font-size: clamp(52px, 7.5vw, 96px); line-height: .95; color: var(--gold); }
/* .h1: inner-page title (Journal, Press, About). */
.h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(48px, 8vw, 88px); line-height: .96; color: var(--green); text-wrap: balance; }
/* .h2: section heading. */
.h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(36px, 4.5vw, 52px); line-height: 1.05; color: var(--ink-dark); text-wrap: balance; }
/* .h2--green: section heading in green (signup on light). */
.h2--green { color: var(--green); }
/* .h3: item heading (rows, cards). */
.h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(26px, 2.6vw, 30px); line-height: 1.15; color: var(--ink-dark); text-wrap: pretty; }
.section--dark .h1, .section--dark .h2, .section--dark .h3,
.section--green .h1, .section--green .h2, .section--green .h3 { color: var(--gold-pale); }

/* .subtitle: italic serif line under a title. */
.subtitle { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2.6vw, 32px); line-height: 1.2; color: var(--gold-pale); }
/* .lede: large serif paragraph that opens a page or section. */
.lede { font-family: var(--serif); font-size: clamp(22px, 2.4vw, 27px); line-height: 1.45; color: var(--ink-dark); text-wrap: pretty; }
/* .lede--xl: the biggest pulled paragraph (Home blurb opener). */
.lede--xl { font-size: clamp(28px, 3.4vw, 38px); line-height: 1.25; }
.section--dark .lede { color: var(--gold-pale); }
/* .body: standard body paragraph (17px light). .body--s for 16px, .body--xs for 15px. */
.body { font-size: 17px; line-height: 1.75; font-weight: 300; text-wrap: pretty; }
.body--s { font-size: 16px; line-height: 1.7; }
.body--xs { font-size: 15px; line-height: 1.65; }
.measure { max-width: 560px; }
.measure--wide { max-width: 600px; }
/* .meta: small muted line (dates, credits). */
.meta { font-size: 13px; line-height: 1.5; color: var(--muted); font-weight: 400; }
.section--dark .meta { color: var(--on-dark-muted); }
.section--green .meta { color: var(--on-green-muted); }
/* .title-em: italic serif book title inside sans body text. */
.title-em { font-family: var(--serif); font-style: italic; font-size: 1.15em; line-height: 1; color: var(--green); }
.section--dark .title-em { color: var(--gold-pale); }
/* .prose-serif: long-form serif reading text (excerpt, journal body). Spacing between paragraphs built in. */
.prose-serif { font-family: var(--serif); font-weight: 400; font-size: clamp(20px, 2vw, 22px); line-height: 1.62; color: var(--ink-serif); }
.prose-serif > * + * { margin-top: 1.1em; }
.prose-serif p { text-wrap: pretty; }
.prose-serif blockquote { padding-left: 24px; border-left: 1px solid var(--green); font-style: italic; font-size: 1.15em; line-height: 1.45; color: var(--green); margin-block: 1.4em; }
/* .dropcap: first letter of the first paragraph as a green drop cap. */
.dropcap > p:first-of-type::first-letter { float: left; font-size: 96px; line-height: .8; padding: 6px 12px 0 0; color: var(--green); font-weight: 500; }

/* ---------- Rules ---------- */
/* .rule: hairline divider. .rule--strong: green hairline (above items). */
.rule { border: 0; border-top: 1px solid var(--rule); margin: 0; }
.rule--strong { border-top-color: var(--green); }
/* .topline: puts a green hairline + padding on top of any item (praise, journal cards). */
.topline { border-top: 1px solid var(--green); padding-top: 28px; }
.section--dark .topline { border-top-color: var(--rule-on-dark); }

/* ---------- Ruled list rows (Buy retailers, Journal list, Speaking topics) ---------- */
/* .rows: a vertical list; each .row gets a hairline on top, the list a hairline at the bottom. */
.rows { display: flex; flex-direction: column; border-bottom: 1px solid var(--rule); list-style: none; margin: 0; padding: 0; }
.row { border-top: 1px solid var(--rule); padding: 32px 0; }
.row--compact { padding: 0; min-height: 60px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 16px; font-weight: 400; }
.section--dark .rows, .section--dark .row { border-color: var(--rule-on-dark); }
.section--green .rows, .section--green .row { border-color: var(--rule-on-green); }
/* .row--split: two-column row (heading left, text right) as in About > Speaking. */
.row--split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 12px 56px; }
/* a.row: a whole-row link with quiet hover. */
a.row { color: inherit; text-decoration: none; }
a.row:hover .h2, a.row:hover .h3, a.row:hover .row__title { color: var(--green); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }

/* ---------- Links ---------- */
/* .link-arrow: quiet text link with a trailing arrow ("All posts →"). Min tap height. */
.link-arrow { display: inline-flex; align-items: center; min-height: var(--tap); font-size: 15px; font-weight: 400; }
.link-arrow::after { content: "\2192"; margin-left: .45em; text-decoration: none; display: inline-block; }
.link-back::before { content: "\2190"; margin-right: .45em; display: inline-block; }
.link-back::after { content: none; }
.section--dark a, .section--green a { color: var(--gold); }
.section--dark a:hover, .section--green a:hover { color: var(--gold-pale); }
/* .link-plain: no underline until hover. */
.link-plain { text-decoration: none; }
.link-plain:hover { text-decoration: underline; }

/* ---------- Buttons ---------- */
/* .btn: primary button. Green on cream; gold on dark/green bands automatically. */
.btn { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; min-height: 52px; padding: 0 28px; border: 0; border-radius: 0; background: var(--green); color: var(--gold-pale); font-family: var(--sans); font-size: 15px; font-weight: 500; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background-color .15s ease; }
.btn:hover { background: var(--ink-dark); color: var(--gold-pale); }
.section--dark .btn, .section--green .btn, .on-dark .btn { background: var(--gold); color: var(--ink-dark); }
.section--dark .btn:hover, .section--green .btn:hover, .on-dark .btn:hover { background: var(--gold-pale); color: var(--ink-dark); }
.btn[disabled], .btn[aria-busy="true"] { opacity: .75; cursor: progress; }
/* .btn-text: a button that looks like a text link (copy buttons). */
.btn-text { background: none; border: 0; padding: 0 2px; min-height: var(--tap); color: var(--green); font-size: 14px; font-weight: 400; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.btn-text:hover { color: var(--ink-dark); }

/* ---------- Forms ---------- */
/* .field: boxed input for light backgrounds. */
.field { width: 100%; min-width: 0; min-height: 52px; padding: 0 16px; background: var(--field-bg); border: 1px solid var(--field-line); border-radius: 0; color: var(--ink-dark); font-size: 16px; font-weight: 400; }
.field::placeholder { color: #8A8F80; opacity: 1; }
.field:focus { outline: 2px solid var(--green); outline-offset: 0; border-color: var(--green); }
textarea.field { padding: 14px 16px; line-height: 1.6; min-height: 140px; resize: vertical; }
/* .field--line: underlined input for dark/green backgrounds (gold underline). */
.field--line { background: transparent; border: 0; border-bottom: 1px solid var(--gold); padding: 14px 0; color: var(--cream); }
.field--line::placeholder { color: #B9C2B2; }
.field--line:focus { outline: 0; border-bottom-width: 2px; padding-bottom: 13px; }
/* .field--outline-dark: boxed textarea on dark backgrounds. */
.field--outline-dark { background: transparent; border: 1px solid #4F6650; color: var(--cream); }
.field--outline-dark::placeholder { color: #8A9886; }
.field--outline-dark:focus { outline: 2px solid var(--gold); border-color: var(--gold); }
/* .form-row: inputs + button on one line that wraps on phones. */
.form-row { display: flex; flex-wrap: wrap; gap: 12px; }
.form-row > .field { flex: 1 1 220px; width: auto; }
/* .form-label: visible small label. */
.form-label { display: block; font-size: 13px; font-weight: 400; color: var(--muted); margin-bottom: 6px; }
.section--dark .form-label, .section--green .form-label { color: var(--on-dark-muted); }
/* .check: checkbox with label, 44px tall. */
.check { display: flex; align-items: flex-start; gap: 12px; min-height: var(--tap); padding-top: 10px; font-size: 14px; line-height: 1.5; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 0; flex: 0 0 auto; accent-color: var(--gold); }
/* .form-error: inline validation message. */
.form-error { font-size: 14px; font-weight: 400; color: var(--ink-dark); }
.section--dark .form-error, .section--green .form-error, .on-dark .form-error { color: var(--gold-pale); }
.form-note { font-size: 13px; line-height: 1.55; color: var(--muted); }
.section--dark .form-note { color: var(--on-dark-muted); }
.section--green .form-note { color: var(--on-green-muted); }
/* .form-done: the inline thank-you state shown after a successful submit. */
.form-done { display: flex; flex-direction: column; gap: 6px; border-top: 1px solid var(--green); padding-top: 16px; }
.form-done__title { font-family: var(--serif); font-size: 26px; line-height: 1.2; color: var(--green); }
.form-done__text { font-size: 14px; line-height: 1.6; }
.section--dark .form-done, .section--green .form-done { border-top-color: var(--gold); }
.section--dark .form-done__title, .section--green .form-done__title { color: var(--gold-pale); }
.form-done:focus { outline: none; }
.honeypot { display: none; }

/* ---------- Signup block (first-chapter form) ---------- */
/* .signup: heading-less form block rendered by {{fn:signup ...}}. Flips on dark bands. */
.signup { display: flex; flex-direction: column; gap: 12px; width: 100%; max-width: 520px; }
.signup__prompt { font-size: 14px; font-weight: 400; color: var(--gold-pale); }
.signup--center { margin-inline: auto; text-align: left; }
/* .signup-block: heading + line + signup on light pages (journal posts). */
.signup-block { border-top: 1px solid var(--green); padding-top: 40px; }
.signup-block .h2 { font-size: clamp(30px, 3.6vw, 40px); line-height: 1.08; color: var(--green); }

/* ---------- Figures ---------- */
/* .figure: image with an italic serif caption. Never crops. */
.figure { display: flex; flex-direction: column; gap: 12px; }
.figure img { width: 100%; height: auto; }
.figure figcaption, .caption { font-family: var(--serif); font-style: italic; font-size: 19px; line-height: 1.35; color: var(--ink); text-wrap: pretty; }
/* .cover-shadow: the only shadow allowed, under the book cover. */
.cover-shadow { box-shadow: 0 30px 60px -20px rgba(10, 20, 10, .55); }
/* .butterfly: the yellow butterfly marker. At most once per page. */
.butterfly { width: 30px; height: auto; }
.butterfly--s { width: 24px; }

/* ---------- Site nav ---------- */
.site-nav { background: var(--cream); border-bottom: 1px solid var(--rule); }
.site-nav__inner { max-width: var(--w-max); margin: 0 auto; padding: 24px var(--gutter); display: flex; justify-content: space-between; align-items: center; gap: 8px 24px; flex-wrap: wrap; }
.site-nav__mark { font-family: var(--serif); font-size: 22px; font-weight: 400; line-height: 1.2; color: var(--green); text-decoration: none; display: inline-flex; align-items: center; min-height: var(--tap); }
.site-nav__mark:hover { color: var(--ink-dark); }
.site-nav__links { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; font-size: 14px; font-weight: 400; }
.site-nav__links a { display: inline-flex; align-items: center; min-height: var(--tap); color: #3E4A3C; text-decoration: none; }
.site-nav__links a:hover { color: var(--green); text-decoration: underline; }
.site-nav__links a[aria-current="page"] { color: var(--green); font-weight: 500; }
/* Green nav (Home, Buy): sits on the green hero. */
.site-nav--green { background: var(--green); border-bottom-color: transparent; }
.site-nav--green .site-nav__mark { color: var(--gold-pale); }
.site-nav--green .site-nav__links a { color: var(--cream); }
.site-nav--green .site-nav__links a:hover, .site-nav--green .site-nav__links a[aria-current="page"] { color: var(--gold); }
@media (max-width: 599px) {
  .site-nav__inner { padding-block: 10px 4px; gap: 0; }
  .site-nav__mark { font-size: 21px; }
  .site-nav__links { width: 100%; justify-content: space-between; gap: 8px; font-size: 14px; border-top: 1px solid var(--rule); }
  .site-nav--green .site-nav__links { border-top-color: var(--rule-on-green); }
}

/* ---------- Site footer ---------- */
.site-footer { background: var(--green); color: var(--on-dark); padding: 0 var(--gutter); font-size: 13px; font-weight: 400; }
.site-footer__inner { max-width: var(--w-page); margin: 0 auto; padding: 28px 0 32px; display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 0 24px; list-style: none; margin: 0; padding: 0; }
.site-footer__links a { color: var(--gold-pale); display: inline-flex; align-items: center; min-height: var(--tap); }
.site-footer__links a:hover { color: var(--gold); }
/* When a page ends with the green signup band, the footer continues it with a hairline. */
main:has(> .signup-band:last-child) + .site-footer .site-footer__inner { border-top: 1px solid var(--rule-on-green); }

/* ---------- Signup band (closing green band with heading + form) ---------- */
.signup-band { text-align: center; padding-bottom: clamp(64px, 8vw, 96px); }
.signup-band .h2 { font-size: clamp(36px, 4.5vw, 52px); }
.signup-band__text { max-width: 480px; margin-inline: auto; font-size: 16px; line-height: 1.65; }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

/* ---------- Shared small components ---------- */
/* .section-head: eyebrow on the left, "All posts →" link on the right. */
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 4px 16px; flex-wrap: wrap; }
/* .post-card: linked card with green top rule (journal strip, more posts). */
.post-card { display: flex; flex-direction: column; gap: 12px; border-top: 1px solid var(--green); padding-top: 24px; color: inherit; text-decoration: none; }
.post-card .h3 { font-size: clamp(26px, 2.4vw, 28px); }
.post-card:hover { color: inherit; }
.post-card:hover .h3 { color: var(--green); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.post-card__lede { color: var(--ink); }
/* .contact-item: eyebrow + big serif line (About contact, Press publicity). */
.contact-item__big { font-family: var(--serif); font-size: 28px; line-height: 1.2; color: var(--ink-dark); font-weight: 400; }
.section--dark .contact-item__big { color: var(--gold-pale); font-size: 36px; line-height: 1.1; }
a.contact-item__big { color: var(--green); }
/* .plain-page: simple text pages (privacy, thanks, 404). */
.plain-page h2 { font-family: var(--serif); font-weight: 500; font-size: 30px; line-height: 1.15; color: var(--ink-dark); margin-top: 1.4em; }
.plain-page p + p, .plain-page ul, .plain-page h2 + p { margin-top: .6em; }
.plain-page p + p { margin-top: 1em; }
.plain-page ul { padding-left: 1.2em; }
.plain-page li + li { margin-top: .4em; }
/* .praise: a quote with name and role under a green top rule (Home praise; reuse on praise.html). */
.praise { display: flex; flex-direction: column; gap: 24px; padding-top: 32px; }
.praise__quote { font-family: var(--serif); font-size: clamp(24px, 2.4vw, 28px); line-height: 1.35; color: var(--ink-dark); text-wrap: pretty; }
.praise__by { display: flex; flex-direction: column; gap: 4px; }
.praise__name { font-size: 13px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--green); }
.praise__role { font-size: 14px; line-height: 1.5; color: var(--muted-2); font-weight: 300; }


/* ---- css/pages/about.css ---- */
/* About (pages/about.html) */
.about-bio { padding-top: var(--space-section-s); }
.about-bio .media__aside { flex-basis: 380px; max-width: 380px; aspect-ratio: 4 / 5; object-fit: cover; }
.about-bio__name { font-size: clamp(48px, 6vw, 76px); line-height: .98; }
.about-bio__pull { font-size: clamp(24px, 2.6vw, 30px); line-height: 1.3; }
.about-bio__pull em { color: var(--green); }
.about-elsewhere { list-style: none; margin: 0; padding: 0; font-size: 16px; font-weight: 400; }
.about-elsewhere a { display: inline-flex; align-items: center; min-height: var(--tap); }


/* ---- css/pages/book.css ---- */
/* The Book (pages/book.html) */

/* Opening: title on cream, the turning hardcover in a framed plate. */
.book-open { padding-bottom: clamp(64px, 9vw, 112px); }
.book-open__inner { display: flex; flex-wrap: wrap; gap: clamp(40px, 6vw, 88px); align-items: center; }
.book-open__text { flex: 1 1 380px; min-width: 0; }
.book-open__title { font-size: clamp(52px, 7vw, 92px); }
.book-open__subtitle { color: var(--ink-dark); font-size: clamp(22px, 2.4vw, 30px); }
.book-open__meta { font-size: 14px; }
.book-open__meta span { display: block; }
.book-open__object { flex: 1 1 420px; min-width: 0; max-width: 560px; margin-inline: auto; }
/* The video's studio ground is grey, so it sits on a mat like a plate in a book. */
.book-plate { background: var(--cream-deep); border: 1px solid var(--rule); padding: clamp(10px, 1.6vw, 18px); }
.book-plate__video { width: 100%; height: auto; aspect-ratio: 1 / 1; background: #B7B8B5; }

/* About: one pulled statement. */
.book-about__statement em { font-style: italic; color: var(--green); }

/* Inside: a quiet typeset contents page. */
.toc { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 48px 56px; }
.toc__part { border-top: 1px solid var(--green); padding-top: 24px; display: flex; flex-direction: column; gap: 20px; }
.toc__part-head { display: flex; flex-direction: column; gap: 6px; font-weight: 400; }
.toc__label { display: block; font-family: var(--sans); font-size: 12px; font-weight: 400; line-height: 1.5; letter-spacing: .2em; text-transform: uppercase; color: var(--green); }
.toc__part-title { font-family: var(--serif); font-weight: 500; font-size: clamp(34px, 3.4vw, 42px); line-height: 1.05; color: var(--ink-dark); }
.toc__list { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--rule); }
.toc__item { border-top: 1px solid var(--rule); padding: 14px 0 16px; display: flex; flex-direction: column; gap: 2px; }
.toc__item .toc__label { color: var(--muted); letter-spacing: .16em; font-size: 11px; }
.toc__title { font-family: var(--serif); font-size: clamp(22px, 2vw, 24px); line-height: 1.25; color: var(--ink-serif); text-wrap: balance; }
.toc__epilogue { grid-column: 1 / -1; border-top: 1px solid var(--green); padding-top: 24px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 20px; }
.toc__epilogue .toc__title { font-size: clamp(30px, 3vw, 38px); font-weight: 500; color: var(--ink-dark); }
.book-inside__rhythm { max-width: 560px; color: var(--muted-2); }

/* The jacket: full wrap on near-black green. On phones it scrolls sideways in its own box. */
.jacket-scroll { overflow-x: auto; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; scrollbar-color: var(--rule-on-dark) transparent; }
.jacket-scroll:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.jacket-scroll__img { width: 100%; height: auto; max-width: none; }
.book-jacket__hint { display: none; }
@media (max-width: 699px) {
  .book-jacket .container { margin-right: calc(-1 * var(--gutter)); width: auto; }
  .jacket-scroll { padding-bottom: 10px; }
  .jacket-scroll__img { width: 880px; }
  .book-jacket__hint { display: block; padding-right: var(--gutter); }
  .book-jacket__hint::after { content: " \2192"; }
  .book-jacket .section-head { padding-right: var(--gutter); }
}

/* Details: ruled spec list. */
.specs { margin: 0; border-bottom: 1px solid var(--rule); }
.specs__row { display: grid; grid-template-columns: minmax(110px, 160px) 1fr; gap: 4px 24px; border-top: 1px solid var(--rule); padding: 16px 0; font-size: 16px; line-height: 1.55; }
.specs__row dt { font-size: 12px; font-weight: 400; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.specs__row dd { margin: 0; font-weight: 400; color: var(--ink); }
@media (max-width: 420px) { .specs__row { grid-template-columns: 1fr; } }

/* Chapter one signup and the two quiet links under it. */
.book-signup .h2 { font-style: italic; font-weight: 400; }
.book-signup__links { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 0 32px; }


/* ---- css/pages/buy.css ---- */
/* Buy (pages/buy.html) */
.buy-main { padding: clamp(32px, 6vw, 72px) var(--gutter) clamp(72px, 10vw, 128px); }
.buy-main__inner { gap: clamp(40px, 7vw, 104px); }
.buy-main__cover { flex: 0 1 340px; width: 100%; max-width: 340px; margin: 0 auto; }
@media (max-width: 599px) { .buy-main__cover { max-width: 220px; } }
.buy-main__title { font-size: clamp(48px, 6.5vw, 80px); }
.buy-main__subtitle { font-size: clamp(21px, 2.4vw, 28px); }
.buy-main__meta { font-size: 14px; padding-top: 6px; }
/* Format switcher: radio buttons styled as tabs; works without JS. */
.formats { border: 0; margin: 0; padding: 0; min-width: 0; }
.format-tabs { display: flex; flex-wrap: wrap; gap: 0 32px; border-bottom: 1px solid var(--rule-on-green); }
.format-tab { display: inline-flex; align-items: center; min-height: 52px; padding: 0; margin-bottom: -1px; border-bottom: 2px solid transparent; color: var(--on-green-muted); font-size: 15px; font-weight: 500; cursor: pointer; }
@media (max-width: 599px) { .format-tabs { gap: 0 18px; } .format-tab { font-size: 14px; } }
.format-tab:hover { color: var(--gold-pale); }
.format-panels { padding-top: 32px; }
.format-panel { display: none; }
.format-panel__head { display: flex; justify-content: space-between; align-items: baseline; gap: 4px 16px; flex-wrap: wrap; margin-bottom: 24px; }
.format-panel__name { font-family: var(--serif); font-size: 30px; line-height: 1.2; color: var(--gold-pale); }
.format-panel__head .meta { font-size: 14px; }
.format-soon { border-top: 1px solid var(--rule-on-green); padding-top: 20px; }
#fmt-hardcover:checked ~ .format-tabs [for="fmt-hardcover"],
#fmt-paperback:checked ~ .format-tabs [for="fmt-paperback"],
#fmt-ebook:checked ~ .format-tabs [for="fmt-ebook"],
#fmt-audiobook:checked ~ .format-tabs [for="fmt-audiobook"] { color: var(--gold-pale); border-bottom-color: var(--gold); }
#fmt-hardcover:checked ~ .format-panels [data-format="hardcover"],
#fmt-paperback:checked ~ .format-panels [data-format="paperback"],
#fmt-ebook:checked ~ .format-panels [data-format="ebook"],
#fmt-audiobook:checked ~ .format-panels [data-format="audiobook"] { display: block; }
.format-radio:focus-visible ~ .format-tabs .format-tab { outline: 0; }
#fmt-hardcover:focus-visible ~ .format-tabs [for="fmt-hardcover"],
#fmt-paperback:focus-visible ~ .format-tabs [for="fmt-paperback"],
#fmt-ebook:focus-visible ~ .format-tabs [for="fmt-ebook"],
#fmt-audiobook:focus-visible ~ .format-tabs [for="fmt-audiobook"] { outline: 2px solid var(--gold); outline-offset: -2px; }
.retailers { border-top: 1px solid var(--rule-on-green); }
.retailer { color: var(--cream); }
.retailer__region { font-size: 13px; color: var(--on-green-muted); margin-left: 8px; font-weight: 300; }
.retailer__status { font-size: 13px; color: var(--on-green-muted); text-align: right; font-weight: 400; }
a.retailer:hover { color: var(--gold); }
.buy-signup { padding-top: 8px; }
.buy-signup__title { font-family: var(--serif); font-size: 24px; line-height: 1.2; color: var(--gold-pale); }


/* ---- css/pages/events.css ---- */
/* Events and speaking (pages/events.html) */
.events-intro { padding-bottom: clamp(48px, 6vw, 72px); }
.events-intro__lede { max-width: 640px; }

/* Upcoming: ruled list of events (date block + body). */
.events-upcoming { padding-bottom: var(--space-section-m); }
.event { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 8px 32px; align-items: start; }
.event__date { display: flex; flex-direction: column; gap: 6px; padding-top: 2px; }
.event__day { font-family: var(--serif); font-weight: 500; font-size: clamp(48px, 5vw, 60px); line-height: .9; color: var(--green); font-variant-numeric: lining-nums; }
.event__month { font-size: 12px; font-weight: 400; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.event__place { font-size: 14px; }
.event__link { align-self: flex-start; }
.events-list--past .event__day { color: var(--muted); }
@media (max-width: 479px) {
  .event { grid-template-columns: 64px minmax(0, 1fr); gap: 8px 20px; }
}
/* Empty state: one calm line under a green hairline. */
.events-empty { display: flex; align-items: baseline; gap: 16px; border-top: 1px solid var(--green); padding-top: 28px; font-family: var(--serif); font-size: clamp(22px, 2.4vw, 27px); line-height: 1.45; color: var(--ink-dark); max-width: 760px; text-wrap: pretty; }
.events-empty .butterfly { flex: 0 0 auto; position: relative; top: 2px; }

/* Talks: formats line under each title. */
.talk__formats { font-size: 12px; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; line-height: 1.6; color: var(--on-dark-muted); }

/* Practical: label + text pairs, ruled. */
.events-facts { margin: 0; border-bottom: 1px solid var(--rule); }
.events-fact { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 6px 24px; padding: 20px 0; border-top: 1px solid var(--rule); align-items: baseline; }
.events-fact dt { line-height: 1.6; }
.events-fact dd { margin: 0; font-size: 16px; line-height: 1.65; }
@media (max-width: 479px) {
  .events-fact { grid-template-columns: 1fr; }
}

/* Enquiry form. */
.events-enquire__grid { gap: 40px clamp(56px, 7vw, 96px); }
.events-enquire__formwrap { min-width: 0; }
@media (min-width: 900px) {
  .events-enquire__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
}
.events-form__pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 20px 16px; }
.events-form__opt { color: var(--muted); font-weight: 300; }
.events-form .form-label { color: var(--ink); font-size: 14px; }
.events-form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; padding-top: 4px; }
.events-form__foot .form-note { flex: 1 1 220px; }
.events-form .field[aria-invalid="true"] { border-color: var(--ink-dark); outline: 1px solid var(--ink-dark); outline-offset: 0; }


/* ---- css/pages/home.css ---- */
/* Home (pages/index.html) */
.home-hero { color: var(--cream); }
.home-hero__inner { max-width: var(--w-max); margin: 0 auto; padding: clamp(24px, 4vw, 56px) var(--gutter) clamp(56px, 8vw, 112px); display: flex; flex-wrap: wrap-reverse; gap: clamp(40px, 6vw, 80px); align-items: center; }
.home-hero__text { flex: 1 1 420px; min-width: 0; }
.home-hero__hook { max-width: 520px; color: var(--cream); }
.home-hero__signup { padding-top: 8px; }
.home-hero__cover { flex: 1 1 300px; display: flex; justify-content: center; }
.home-hero__cover img { width: 100%; max-width: 400px; }
@media (max-width: 599px) {
  .home-hero__inner { padding-top: 28px; gap: 36px; }
  .home-hero__cover img { max-width: 190px; }
}
.home-excerpt__butterfly { align-self: center; margin-top: 24px; }
.page-home .section--dark .media__aside { aspect-ratio: 4 / 5; object-fit: cover; }
.home-author__name { font-size: clamp(40px, 4.5vw, 56px); line-height: 1; }


/* ---- css/pages/journal.css ---- */
/* Journal list (pages/journal.html) and post pages (templates/post.html) */
.journal-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 10px 40px; padding: 36px 0; }
.journal-row__meta { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 400; color: var(--muted); padding-top: 8px; }
.journal-row__kind { color: var(--green); letter-spacing: .12em; text-transform: uppercase; font-size: 11px; }
.journal-row__main { grid-column: span 3; min-width: min(100%, 360px); display: flex; flex-direction: column; gap: 10px; }
.journal-row__title { font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 3.2vw, 34px); line-height: 1.12; color: var(--ink-dark); text-wrap: pretty; }
@media (max-width: 599px) {
  .journal-row { padding: 28px 0; grid-template-columns: 1fr; }
  .journal-row__meta { flex-direction: row; gap: 12px; align-items: baseline; padding-top: 0; }
  .journal-row__main { grid-column: auto; }
}
.post { padding-bottom: clamp(56px, 8vw, 96px); }
.post__title { font-family: var(--serif); font-weight: 500; font-size: clamp(40px, 6vw, 64px); line-height: 1.04; color: var(--ink-dark); text-wrap: balance; }
.post__figure { margin-inline: calc(-1 * clamp(0px, 4vw, 60px)); }
.post__figure figcaption { font-size: 18px; color: var(--muted-2); padding-inline: clamp(0px, 4vw, 60px); }
.post__source { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 14px; }
@media (max-width: 599px) { .post__figure { margin-inline: calc(-1 * var(--gutter)); } .post__figure figcaption { padding-inline: var(--gutter); } }


/* ---- css/pages/lan.css ---- */
/* Lan (pages/lan.html): archive, masonry, lightbox, lesson form */
.lan-intro { padding-bottom: clamp(48px, 6vw, 80px); }
.lan-intro__title { font-size: clamp(56px, 9vw, 104px); line-height: .92; }
.lan-toc { border-top: 1px solid var(--rule); padding-top: 14px; margin-top: 4px; }
.lan-toc ul { display: flex; flex-wrap: wrap; gap: 0 22px; list-style: none; margin: 0; padding: 0; font-size: 14px; font-weight: 400; }
.lan-toc a { display: inline-flex; align-items: center; min-height: var(--tap); text-decoration: none; }
.lan-toc a:hover { text-decoration: underline; }
.lan-chapter { scroll-margin-top: 8px; }
.lan-chapter__title { font-family: var(--serif); font-weight: 500; font-size: clamp(40px, 5.5vw, 64px); line-height: 1; color: var(--ink-dark); }
/* Masonry: CSS columns keep every photo at its own aspect ratio. */
.lan-masonry { columns: 3 280px; column-gap: clamp(24px, 3vw, 40px); }
.lan-photo { break-inside: avoid; margin: 0 0 clamp(32px, 4vw, 48px); }
.lan-photo__link { display: block; cursor: zoom-in; }
.lan-photo__link img { width: 100%; height: auto; transition: opacity .2s ease; }
.lan-photo__link:hover img { opacity: .92; }
.lan-empty { font-family: var(--serif); font-style: italic; font-size: 21px; line-height: 1.4; color: var(--muted-2); }
/* Lesson form */
.lan-teach__title { font-size: clamp(40px, 5.5vw, 60px); line-height: 1; }
.lan-teach__form { margin-top: 8px; }
.lan-teach__form .form-row > .field { flex-basis: 200px; }
.lan-teach__foot { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; padding-top: 8px; }
.lan-teach__foot .form-note { max-width: 340px; }
/* Lightbox (native <dialog>, see js/pages/lan.js) */
.lightbox { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(14, 22, 15, .96); color: var(--on-dark); }
.lightbox[open] { display: flex; flex-direction: column; }
.lightbox::backdrop { background: rgba(14, 22, 15, .96); }
.lightbox__bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px clamp(16px, 4vw, 40px); font-size: 13px; }
.lightbox__pos { color: var(--on-dark-muted); }
.lightbox__btn { background: transparent; border: 0; color: var(--gold-pale); min-width: var(--tap); min-height: var(--tap); padding: 0 4px; cursor: pointer; font-size: 14px; font-weight: 400; }
.lightbox__btn:hover { color: var(--gold); }
.lightbox__btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.lightbox__arrow { font-size: 22px; flex: 0 0 auto; }
.lightbox__stage { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 0 clamp(12px, 4vw, 40px); }
.lightbox__img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.lightbox__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; max-width: 1000px; margin: 0 auto; padding: 16px clamp(16px, 4vw, 40px) 24px; }
.lightbox__caption { flex: 1; text-align: center; font-family: var(--serif); font-style: italic; font-size: clamp(18px, 2.2vw, 22px); line-height: 1.35; color: var(--cream); text-wrap: pretty; min-height: 1.35em; }
body.has-lightbox { overflow: hidden; }


/* ---- css/pages/praise.css ---- */
/* Praise and press (pages/praise.html). Reuses .praise from base.css, scaled up for this page. */
.praise-intro { padding-bottom: clamp(48px, 6vw, 80px); }
.praise-intro__lede { max-width: 560px; }

/* Early praise: one column, big pulled text, hairlines and air. */
.praise-early { padding-bottom: clamp(80px, 11vw, 144px); }
.praise-early__label { padding-bottom: 20px; border-bottom: 1px solid var(--rule); }

/* Display line: an exact fragment of one endorsement, given real scale. */
.praise-pull { display: flex; flex-direction: column; gap: 20px; padding-block: clamp(56px, 8vw, 104px); }
.praise-pull__line { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(38px, 5.6vw, 66px); line-height: 1.08; color: var(--green); text-wrap: balance; max-width: 19ch; }
.praise-pull__by { font-size: 13px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); }

.praise-list { display: flex; flex-direction: column; gap: clamp(64px, 8vw, 104px); }
.praise--page { gap: 28px; padding-top: clamp(36px, 4vw, 48px); }
.praise--page .praise__quote { font-size: clamp(25px, 2.9vw, 34px); line-height: 1.36; }
.praise--page .praise__role { font-size: 15px; max-width: 460px; }

/* Shared quiet empty state (press, readers). Hides itself once its list has an entry. */
.praise-empty__line { font-family: var(--serif); font-style: italic; font-size: clamp(24px, 2.6vw, 30px); line-height: 1.3; color: var(--ink-dark); text-wrap: pretty; padding-top: 28px; border-top: 1px solid var(--green); }
.coverage:not(:has(li)), .reviews:not(:has(li)) { display: none; }
.coverage:has(li) ~ .praise-empty :is(.praise-empty__line, .praise-empty__only),
.reviews:has(li) ~ .praise-empty :is(.praise-empty__line, .praise-empty__only) { display: none; }

/* In the press: ruled list. Outlet, date and type on one line; headline links out. */
.coverage { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--rule); }
.coverage__item { border-top: 1px solid var(--rule); padding: 28px 0; display: flex; flex-direction: column; gap: 8px; }
.coverage__meta { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 13px; font-weight: 400; color: var(--muted); }
.coverage__outlet { font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--green); }
.coverage__title { font-family: var(--serif); font-weight: 500; font-size: clamp(24px, 2.4vw, 28px); line-height: 1.2; color: var(--ink-dark); text-decoration: none; display: inline-block; padding-block: 4px; }
.coverage__title:hover { color: var(--green); text-decoration: underline; }
.coverage__title::after { content: "\2197"; font-family: var(--sans); font-size: .55em; margin-left: .4em; vertical-align: .35em; color: var(--green); }

/* From readers: short reviews under green hairlines, two across on wide screens. */
.reviews { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 48px 56px; }
.review__figure { display: flex; flex-direction: column; gap: 18px; border-top: 1px solid var(--green); padding-top: 24px; }
.review__text { font-family: var(--serif); font-size: clamp(21px, 2.2vw, 24px); line-height: 1.4; color: var(--ink-serif); text-wrap: pretty; }
.review__by { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline; font-size: 14px; }
.review__name { font-weight: 500; color: var(--ink-dark); }
.review__source { color: var(--muted); }
.review__source a { display: inline-flex; align-items: center; min-height: var(--tap); }


/* ---- css/pages/press.css ---- */
/* Press kit (pages/press.html) */
.press-intro { padding-bottom: clamp(48px, 6vw, 72px); }
.press-downloads { padding-top: 40px; }
.press-dl { display: flex; flex-direction: column; gap: 14px; }
.press-dl__frame { aspect-ratio: 4 / 5; overflow: hidden; background: #ECE5D5; display: flex; align-items: center; justify-content: center; padding: 24px; }
.press-dl__frame img { max-width: 100%; max-height: 100%; width: auto; height: auto; }
.press-dl__frame--photo { padding: 0; overflow: hidden; }
.press-dl__frame--photo img { width: 100%; height: 100%; object-fit: cover; }
.press-dl__name { font-family: var(--serif); font-size: 22px; line-height: 1.2; color: var(--ink-dark); }
.press-dl__link { font-size: 14px; }
.press-dl__link::after { content: "\2193"; }
.press-bios { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 56px 72px; align-items: start; }
.press-bio__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.press-bio__title { font-family: var(--serif); font-weight: 500; font-size: 34px; line-height: 1.1; color: var(--ink-dark); }
.questions .question { display: flex; gap: 24px; align-items: baseline; padding: 24px 0; }
.question__n { flex: 0 0 24px; font-family: var(--serif); font-size: 28px; line-height: 1; color: var(--green); }
.question__text { font-family: var(--serif); font-size: clamp(21px, 2.3vw, 25px); line-height: 1.35; color: var(--ink-serif); text-wrap: pretty; }
.press-contacts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 48px 72px; }
.press-facts { margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; line-height: 1.55; }
.press-facts div { display: flex; flex-direction: column; }
.press-facts dt { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-muted); }
.press-facts dd { margin: 0; }
