/* yvotermaat.com
   Layout: a 1120px frame with one left-aligned reading column (about 66ch). The home page breaks out
   into a two-column hero and one full-width ink band with the first sentence of the book.
   Palette from the cover: canal-water ink, overcast Amsterdam sky, and an orange accent. */

@font-face { font-family: "Literata"; font-style: normal; font-weight: 200 900; font-display: swap;
  src: url("../fonts/literata-latin-opsz-normal.woff2") format("woff2-variations"); }
@font-face { font-family: "Literata"; font-style: italic; font-weight: 200 900; font-display: swap;
  src: url("../fonts/literata-latin-wght-italic.woff2") format("woff2-variations"); }

:root {
  --mist: #f1f4f6;      /* page: overcast sky */
  --surface: #ffffff;   /* raised panels */
  --ink: #1a2735;       /* text: canal water at dusk */
  --ink-soft: #4b5b6b;  /* secondary text */
  --line: #d3dbe2;      /* separators */
  --band: #1a2735;      /* the tapping band */
  --band-fg: #eef2f5;
  --band-soft: #9fb0bf;
  --tap: #c4561a;       /* the knocks; links underline */
  --tap-text: #a8460f;  /* orange that reads as text on --mist */
  --tap-band: #f08a42;  /* orange on the dark band */
  --serif: "Literata", Georgia, "Times New Roman", serif;
  --sans: "Literata", Georgia, "Times New Roman", serif;
  --frame: 1120px;
  --measure: 66ch;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --mist: #0f161e; --surface: #17212c; --ink: #e6ecf0; --ink-soft: #a6b3bf; --line: #2b3846;
    --band: #18232f; --band-fg: #eef2f5; --band-soft: #93a5b5;
    --tap: #f08a42; --tap-text: #f6a066; --tap-band: #f39250;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --mist: #0f161e; --surface: #17212c; --ink: #e6ecf0; --ink-soft: #a6b3bf; --line: #2b3846;
  --band: #18232f; --band-fg: #eef2f5; --band-soft: #93a5b5;
  --tap: #f08a42; --tap-text: #f6a066; --tap-band: #f39250;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--mist); }
body {
  margin: 0; background: var(--mist); color: var(--ink);
  font: 400 1.0625rem/1.6 var(--sans);
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-color: var(--tap); text-decoration-thickness: 2px; text-underline-offset: 0.18em; }
a:hover { color: var(--tap-text); }
:focus-visible { outline: 3px solid var(--tap); outline-offset: 3px; border-radius: 2px; }
p { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; margin: 0; text-wrap: balance; letter-spacing: -0.005em; }
h1 { font-size: clamp(2.4rem, 4.6vw + 1rem, 4.4rem); line-height: 1.04; letter-spacing: -0.015em; }
h2 { font-size: clamp(1.6rem, 1.6vw + 1.1rem, 2.25rem); line-height: 1.15; }
h3 { font-size: 1.3rem; line-height: 1.25; }

.wrap {
  width: 100%; max-width: var(--frame); margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.section { padding-block: clamp(48px, 6vw, 88px); }
.section + .section { padding-top: 0; }
.section h2 + .muted { margin-top: 0.6rem; max-width: var(--measure); }
.stack { display: grid; gap: 1rem; }
.stack-lg { display: grid; gap: 1.5rem; }
.muted { color: var(--ink-soft); }
.small { font-size: 0.9375rem; }
.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: max(16px, env(safe-area-inset-left, 0px)); top: 8px; background: var(--surface); padding: 8px 12px; z-index: 20; }

/* Language hint */
.langhint { background: var(--band); color: var(--band-fg); font-size: 0.9375rem; }
.langhint .wrap { display: flex; gap: 12px 20px; align-items: center; justify-content: space-between; padding-block: 10px; flex-wrap: wrap; }
.langhint a { color: var(--band-fg); text-decoration-color: var(--tap-band); }
.langhint button { appearance: none; border: 1px solid var(--band-soft); background: transparent; color: var(--band-fg);
  font: inherit; border-radius: 6px; padding: 4px 10px; cursor: pointer; }

/* Header */
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding-block: 18px; }
.brand { font-family: var(--serif); font-weight: 600; font-size: 1.25rem; text-decoration: none; margin-right: auto; display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { display: inline-flex; gap: 4px; }
.brand-mark span { width: 6px; height: 6px; border-radius: 50%; background: var(--tap); }
.brand-mark span:nth-child(2) { margin-left: 3px; }
.mainnav ul, .langnav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 18px; }
.mainnav a { text-decoration: none; font-size: 0.98rem; padding-block: 6px; display: inline-block; }
.mainnav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--tap); text-decoration-thickness: 2px; text-underline-offset: 0.35em; }
.langnav ul { gap: 2px; border: 1.5px solid var(--line); border-radius: 8px; padding: 2px; }
.langnav a { display: inline-block; text-decoration: none; font-size: 0.875rem; font-weight: 600; letter-spacing: 0.04em; padding: 5px 9px; border-radius: 6px; }
.langnav a[aria-current="true"] { background: var(--ink); color: var(--mist); }
@media (max-width: 760px) {
  .site-header .wrap { gap: 8px 16px; }
  .mainnav { order: 3; width: 100%; }
  .mainnav ul { gap: 2px 16px; }
}

/* Buttons */
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 18px;
  border-radius: 8px; font: 600 1rem/1.2 var(--sans); text-decoration: none; border: 2px solid var(--ink); cursor: pointer; }
.btn-primary { background: var(--ink); color: var(--mist); }
.btn-primary:hover { background: var(--tap-text); border-color: var(--tap-text); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { border-color: var(--tap-text); color: var(--tap-text); }

/* Hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(32px, 6vw, 80px); align-items: center;
  padding-block: clamp(32px, 6vw, 80px) clamp(40px, 6vw, 88px); }
.hero-text { display: grid; gap: 1.25rem; min-width: 0; }
.hero-by { color: var(--ink-soft); font-size: 1.0625rem; }
.hero .sub { font-family: var(--serif); font-style: italic; font-size: clamp(1.15rem, 0.6vw + 1rem, 1.4rem); line-height: 1.4; color: var(--ink-soft); max-width: 34ch; }
.claim { font-family: var(--serif); font-size: clamp(1.35rem, 1vw + 1.05rem, 1.75rem); line-height: 1.3; max-width: 30ch; }
.claim span { display: block; }
.claim .them { color: var(--ink-soft); }
.formats { color: var(--ink-soft); }
.cover { justify-self: center; width: 100%; max-width: 380px; }
.cover img { width: 100%; border-radius: 3px; box-shadow: 0 1px 2px rgba(20, 30, 40, 0.18), 0 22px 48px -12px rgba(20, 30, 40, 0.38); }
@media (max-width: 760px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .cover { max-width: 250px; justify-self: start; order: -1; }
}

/* Figure */
.illu { margin: 0; display: grid; gap: 10px; }
.illu img { width: 100%; aspect-ratio: 1748 / 1000; object-fit: cover; border-radius: 6px; }
.illu figcaption { font-family: var(--serif); font-style: italic; color: var(--ink-soft); }

/* Two-column text block */
.split { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.5fr); gap: clamp(20px, 5vw, 64px); align-items: start; }
.split > * { min-width: 0; }
@media (max-width: 760px) { .split { grid-template-columns: minmax(0, 1fr); } }
.blurb { display: grid; gap: 1rem; max-width: var(--measure); font-family: var(--serif); font-size: 1.125rem; line-height: 1.7; }
.blurb .first { font-size: 1.375rem; line-height: 1.45; }

/* Parts */
.parts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 40px 48px; margin-top: 2rem; }
.part { display: grid; gap: 6px; align-content: start; }
.part .num { font-family: var(--serif); font-size: 1.05rem; color: var(--tap-text); font-weight: 600; }
.part .psub { font-family: var(--serif); font-style: italic; color: var(--ink-soft); }
.part ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 4px; font-size: 0.95rem; color: var(--ink-soft); }

/* Idea list */
.idealist { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; }
.idealist li { display: grid; grid-template-columns: minmax(0, 13rem) minmax(0, 1fr); gap: 6px 32px; padding-block: 22px; border-top: 1px solid var(--line); }
.idealist li:last-child { border-bottom: 1px solid var(--line); }
.idealist .from { color: var(--ink-soft); font-size: 0.9375rem; padding-top: 4px; }
.idealist h3, .idealist h2 { font-size: 1.35rem; }
.idealist h3 a, .idealist h2 a { text-decoration: none; }
.idealist h3 a:hover, .idealist h2 a:hover { text-decoration: underline; text-decoration-color: var(--tap); }
.idealist .teaser { margin-top: 6px; color: var(--ink-soft); max-width: 60ch; }
@media (max-width: 760px) { .idealist li { grid-template-columns: minmax(0, 1fr); } }

/* Author */
.author-quote { font-family: var(--serif); font-size: clamp(1.4rem, 1.2vw + 1.05rem, 1.9rem); line-height: 1.35; }

/* Call to action */
.cta { background: var(--surface); border-radius: 12px; padding: clamp(24px, 4vw, 48px); display: grid; gap: 1.25rem; }
.cta p { max-width: var(--measure); }
.mailline { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; }
.mailline .addr { font-weight: 700; user-select: all; }
.copybtn { appearance: none; border: 1.5px solid var(--line); background: transparent; color: var(--ink); font: 600 0.9rem/1 var(--sans);
  border-radius: 6px; padding: 7px 10px; cursor: pointer; }
.copybtn:hover { border-color: var(--tap); }

/* Page head for inner pages */
.pagehead { padding-block: clamp(28px, 5vw, 64px) clamp(16px, 3vw, 32px); display: grid; gap: 1rem; }
.pagehead h1 { font-size: clamp(2.1rem, 3vw + 1rem, 3.4rem); max-width: 22ch; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 0.9375rem; color: var(--ink-soft); }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--line); }
.crumbs a { text-decoration-thickness: 1px; }
.lede { font-family: var(--serif); font-size: clamp(1.2rem, 0.6vw + 1.05rem, 1.45rem); line-height: 1.45; color: var(--ink-soft); max-width: 46ch; }
.meta { color: var(--ink-soft); font-size: 0.9375rem; display: grid; gap: 2px; }

/* Long-form text */
.prose { font-family: var(--serif); font-size: 1.1875rem; line-height: 1.72; max-width: var(--measure); display: grid; gap: 1.05em; }
.prose h2 { font-size: 1.6rem; margin-top: 1.2em; }
.prose em { font-style: italic; }
.taps { display: flex; gap: 10px; justify-content: center; padding-block: 0.6em; }
.taps span { width: 7px; height: 7px; border-radius: 50%; background: var(--tap); }
.taps span:nth-child(2) { margin-left: 6px; }

/* Article end matter */
.after { display: grid; gap: clamp(28px, 4vw, 48px); padding-block: clamp(32px, 5vw, 64px); max-width: calc(var(--measure) + 120px); }
.nextbox { background: var(--surface); border-radius: 12px; padding: clamp(20px, 3vw, 32px); display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 20px; align-items: start; }
.nextbox img { width: 96px; border-radius: 2px; box-shadow: 0 8px 20px -8px rgba(20, 30, 40, 0.45); }
.nextbox .stack { gap: 0.8rem; }
.nextbox .discover { gap: 10px; margin-block: 0.2rem; }
.nextbox .discover li { font-size: 1.0625rem; }
.nextclose { font-weight: 600; }
.hook { display: grid; gap: 1.1rem; max-width: var(--measure); }
.hook p { font-family: var(--serif); font-style: italic; font-size: clamp(1.15rem, 0.5vw + 1.05rem, 1.35rem); line-height: 1.5; }
.quoteband .bandintro { font-family: var(--serif); font-size: clamp(1.05rem, 0.4vw + 1rem, 1.25rem); line-height: 1.5; color: var(--band-soft); max-width: 46ch; }
.quoteband blockquote { display: grid; gap: 0.6em; }
@media (max-width: 480px) { .nextbox { grid-template-columns: minmax(0, 1fr); } .nextbox img { width: 80px; } }
.sources { font-size: 0.9375rem; color: var(--ink-soft); display: grid; gap: 8px; max-width: var(--measure); }
.sources h2 { font-size: 1.2rem; color: var(--ink); }

/* Book page */
.bookhead { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 300px); gap: clamp(24px, 5vw, 64px); align-items: center; padding-block: clamp(28px, 5vw, 64px); }
.bookhead .cover { max-width: 300px; }
@media (max-width: 760px) { .bookhead { grid-template-columns: minmax(0, 1fr); } .bookhead .cover { max-width: 220px; order: -1; justify-self: start; } }
.laws { margin: 0; padding-left: 1.4em; display: grid; gap: 0.9em; font-family: var(--serif); font-size: 1.125rem; line-height: 1.6; max-width: var(--measure); }
.laws li::marker { color: var(--tap-text); font-weight: 600; }
.facts { display: grid; grid-template-columns: minmax(0, 11rem) minmax(0, 1fr); gap: 10px 24px; margin: 0; max-width: 54rem; }
.facts dt { font-weight: 700; }
.facts dd { margin: 0; color: var(--ink-soft); }
@media (max-width: 560px) { .facts { grid-template-columns: minmax(0, 1fr); gap: 2px; } .facts dd { margin-bottom: 10px; } }
.toc { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 28px 48px; margin-top: 1.5rem; }
.toc section { display: grid; gap: 6px; align-content: start; }
.toc h3 { font-size: 1.15rem; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; color: var(--ink-soft); }
.toc .solo { font-family: var(--serif); font-weight: 600; color: var(--ink); }

/* Press */
.bio { display: grid; gap: 0.9rem; max-width: var(--measure); }
.bio blockquote { margin: 0; padding: 18px 20px; background: var(--surface); border-radius: 10px; line-height: 1.6; }
.topics { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; max-width: var(--measure); }
.covers { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 24px; max-width: 46rem; }
.covers figure { margin: 0; display: grid; gap: 10px; }
.covers img { border-radius: 2px; box-shadow: 0 10px 24px -10px rgba(20, 30, 40, 0.45); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); margin-top: clamp(40px, 6vw, 80px); }
.site-footer .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 24px 40px; padding-block: 36px 44px; font-size: 0.95rem; }
.site-footer h2 { font-family: var(--sans); font-size: 0.95rem; font-weight: 600; margin-bottom: 6px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.site-footer .who { font-family: var(--serif); font-weight: 600; font-size: 1.15rem; }

/* Sales blocks (28 Oct) */
.pitch { font-family: var(--serif); font-size: clamp(1.15rem, 0.5vw + 1.05rem, 1.35rem); line-height: 1.5; max-width: 40ch; }
.discover { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; max-width: 52ch; }
.discover li { position: relative; padding-left: 26px; font-size: 1.125rem; line-height: 1.45; }
.discover li::before { content: ""; position: absolute; left: 3px; top: 0.5em; width: 9px; height: 9px; border-radius: 50%; background: var(--tap); }
.split h3 { font-size: 1.15rem; color: var(--ink-soft); font-weight: 600; }
.quoteband { background: var(--band); color: var(--band-fg); margin-block: clamp(8px, 2vw, 24px) clamp(48px, 6vw, 88px); }
.quoteband .wrap { padding-block: clamp(56px, 8vw, 112px); display: grid; gap: 26px; justify-items: start; }
.quoteband .label { font-family: var(--serif); font-size: 1.05rem; font-weight: 400; color: var(--band-soft); }
.quoteband .label::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--tap-band);
  box-shadow: 13px 0 0 var(--tap-band), 26px 0 0 var(--tap-band); margin-right: 40px; vertical-align: middle; }
.quoteband blockquote { margin: 0; }
.quoteband blockquote p { font-family: var(--serif); font-size: clamp(1.75rem, 2.8vw + 1rem, 3.1rem); line-height: 1.18; letter-spacing: -0.01em; max-width: 26ch; text-wrap: balance; color: var(--band-fg); }
.quoteband .btn { border-color: var(--tap-band); background: var(--tap-band); color: #1a1208; }
.quoteband .btn:hover { background: var(--band-fg); border-color: var(--band-fg); color: var(--band); }

/* Sign-up form (Kit) */
.signup { display: grid; gap: 8px; max-width: 40rem; }
.flabel { font-weight: 600; }
.frow { display: flex; flex-wrap: wrap; gap: 10px; }
.frow input { flex: 1 1 15rem; min-width: 0; min-height: 46px; padding: 10px 14px; font: 400 1.0625rem/1.3 var(--sans);
  color: var(--ink); background: var(--mist); border: 1.5px solid var(--line); border-radius: 8px; }
.frow input::placeholder { color: var(--ink-soft); opacity: 0.8; }
.frow input:focus { outline: 3px solid var(--tap); outline-offset: 2px; border-color: var(--tap); }
.frow .btn { flex: 0 0 auto; }
.contactline a { font-weight: 600; }

.signupbox { max-width: 44rem; margin-bottom: clamp(32px, 5vw, 64px); }
