@import url("../fonts/fonts.css");

/* Print Bookmarks v5: paper, ink and one set colour per product line. */
:root {
  --paper: #F6F3EE;
  --paper-2: #EDE8E0;
  --stone: #ECE7DF;
  --ink: #1E1C19;
  --ink-2: #4A453F;
  --muted: #67615A; /* WCAG AA (>= 4.5:1) on paper, paper-2 and stone */
  --rule: #D8D1C6;
  --slate: #3E4A56;
  --olive: #5E6450;
  --claret: #6B2D2B;
  --accent: var(--claret);
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --page: 1280px;
  --gutter: clamp(16px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
main { flex: 1 0 auto; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 50; background: var(--ink); color: var(--paper); padding: 10px 14px; }
.skip:focus { top: 8px; }

.wrap { width: min(var(--page), calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.small { font-size: 14px; color: var(--muted); }
.muted { color: var(--muted); }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; line-height: 1.05; margin: 0 0 16px; }
h1 { font-size: clamp(40px, 5.6vw, 76px); }
h2 { font-size: clamp(30px, 3.4vw, 46px); }
h3 { font-size: 26px; }
.h-small { font-size: 30px; }
p { margin: 0 0 14px; }
.lede { font-size: 18px; color: var(--ink-2); max-width: 56ch; }
.center.lede, .center .lede { margin-inline: auto; }
.eyebrow {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- buttons and links ---------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 50px;
  padding: 0 26px;
  border: 1px solid var(--ink);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, color .2s;
}
.button-solid { background: var(--ink); color: var(--paper); }
.button-solid:hover { background: #000; }
.button-line { background: transparent; color: var(--ink); }
.button-line:hover { background: var(--ink); color: var(--paper); }
.button-ghost { background: rgba(246, 243, 238, 0.12); color: #fff; border-color: rgba(255, 255, 255, .7); backdrop-filter: blur(4px); }
.button-ghost:hover { background: #fff; color: var(--ink); }
.button-disabled { background: var(--paper-2); color: var(--muted); border-color: var(--rule); cursor: not-allowed; }
.button .price { font-weight: 500; letter-spacing: 0.06em; }
.button .price::before { content: "·"; margin-right: 14px; opacity: .6; }
.link { background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; }
.link-arrow {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
  white-space: nowrap;
}
.link-arrow::after { content: " \2192"; }

.buy-form { margin: 26px 0 8px; }
.buy-form .button { width: 100%; }

/* ---------- header ---------- */
.announce { background: var(--ink); color: var(--paper); text-align: center; font-size: 13px; letter-spacing: .02em; }
.announce p { margin: 0; padding: 9px var(--gutter); }
.announce a { color: inherit; }
.site-header { background: var(--paper); border-bottom: 1px solid var(--rule); position: sticky; top: 0; z-index: 20; }
.header-bar {
  width: min(var(--page), calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 72px;
}
.wordmark { font-family: var(--serif); font-size: 28px; letter-spacing: -0.01em; text-decoration: none; line-height: 1; white-space: nowrap; }
.nav-primary, .nav-secondary { display: flex; gap: 28px; }
.nav-secondary { justify-content: flex-end; }
.nav-primary a, .nav-secondary a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
}
.nav-primary a:hover, .nav-secondary a:hover, .header-bar [aria-current="page"] { border-bottom-color: currentColor; }
.nav-mobile { display: none; }

/* ---------- consent: a slim bar in the page flow, above the header ----------
   In flow, not fixed: a floating card covers product images in the fold, which
   the launch gate reads as blank visuals (`pages`). */
.consent { background: var(--paper-2); border-bottom: 1px solid var(--rule); font-size: 13px; }
.consent[hidden], .consent-pending [data-consent-bar] { display: none; }
.consent-inner { width: min(var(--page), calc(100% - 2 * var(--gutter))); margin-inline: auto; display: flex; align-items: center; gap: 16px; padding: 8px 0; }
.consent p { margin: 0; flex: 1; }
.consent-actions { display: flex; gap: 8px; flex: none; }
.consent-actions button {
  min-height: 34px; padding: 0 14px; border: 1px solid var(--ink); background: transparent;
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase; cursor: pointer;
}
.consent-actions [data-consent-accept] { background: var(--ink); color: var(--paper); }
.consent .short { display: none; }

/* ---------- hero ---------- */
/* Dark base colour behind the photo: it is what a contrast check resolves for
   the white hero text (launch gate `text-contrast`), and what shows if the photo fails. */
.hero { position: relative; min-height: min(86vh, 820px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: #2E2A25; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 18, 15, .55) 0%, rgba(20, 18, 15, .25) 45%, rgba(20, 18, 15, 0) 70%); }
.hero-copy { position: relative; z-index: 1; padding: 56px 0 clamp(48px, 9vh, 96px); }
.hero-copy .eyebrow { color: rgba(255, 255, 255, .85); }
.hero-copy h1 { max-width: 12ch; }
.hero-copy .lede { color: rgba(255, 255, 255, .92); max-width: 44ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-actions { align-items: center; }
.hero-actions .buy-form { margin: 0; }
.hero-actions .buy-form .button { width: auto; }
.hero .button-solid { background: #fff; color: var(--ink); border-color: #fff; }
.hero .button-solid:hover { background: var(--paper-2); }
.hero-note { margin: 16px 0 0; font-size: 13px; color: rgba(255, 255, 255, .8); }

/* ---------- sections ---------- */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section + .section { padding-top: 0; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px 16px; flex-wrap: wrap; margin-bottom: 32px; }
.section-head h2 { margin: 0; }

/* ---------- product cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 24px; }
.product-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.product-card { display: flex; flex-direction: column; text-decoration: none; }
.product-media { position: relative; display: block; background: var(--stone); aspect-ratio: 4 / 5; overflow: hidden; margin-bottom: 16px; }
.product-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .35s ease, transform .6s ease; }
.product-media .hover { opacity: 0; visibility: hidden; }
.product-card:hover .product-media .hover { opacity: 1; visibility: visible; }
.product-card:hover .product-media img:not(.hover) { transform: scale(1.02); }
.badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  background: var(--paper); padding: 5px 9px;
}
.product-name { font-family: var(--serif); font-size: 24px; line-height: 1.1; }
.product-meta { font-size: 13px; color: var(--muted); margin-top: 4px; }
.product-price { font-size: 14px; margin-top: 8px; letter-spacing: .04em; }
.product-price s { color: var(--muted); margin-left: 6px; }

/* ---------- bundles ---------- */
.bundles { padding: clamp(56px, 8vw, 104px) 0; background: var(--paper-2); }
.bundles .section-head { align-items: flex-end; }
.badge-save { background: var(--claret); color: #fff; }
.badge-inline { position: static; display: inline-block; margin-bottom: 14px; }
.price-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px 14px; margin: 18px 0 4px; }
.price-now { font-family: var(--serif); font-size: 40px; line-height: 1; }
.price-was { color: var(--muted); font-size: 18px; }
.save { background: var(--claret); color: #fff; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; padding: 5px 9px; align-self: center; }
.bundle-kind { color: var(--muted); font-size: 14px; margin: 0 0 16px; }
.bundle-feature { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); background: var(--paper); }
.bundle-feature-media { display: block; overflow: hidden; }
.bundle-feature-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.bundle-feature-media:hover img { transform: scale(1.02); }
.bundle-feature-copy { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; }
.bundle-feature-copy h3, .bundle-tile h3 { font-size: clamp(32px, 3vw, 44px); margin-bottom: 6px; }
.bundle-feature-copy h3 a, .bundle-tile h3 a { text-decoration: none; }
.bundle-feature-copy .buy-form { margin-top: 20px; }
.bundle-items { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); columns: 2; column-gap: 28px; }
.bundle-items li { break-inside: avoid; }
.bundle-items a { display: flex; justify-content: space-between; gap: 8px; padding: 9px 0; border-bottom: 1px solid var(--rule); text-decoration: none; font-size: 15px; }
.bundle-items a span:last-child { color: var(--muted); }
.bundle-items a:hover span:first-child { text-decoration: underline; }
.bundle-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.bundle-feature + .bundle-pair { margin-top: 24px; }
.bundle-tile { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr); gap: 28px; align-items: center; background: var(--paper); padding: 20px; }
.bundle-tile-media { position: relative; display: block; background: var(--stone); aspect-ratio: 4 / 5; overflow: hidden; }
.bundle-tile-media img { width: 100%; height: 100%; object-fit: cover; }
.bundle-tile h3 { font-size: 30px; }
.bundle-tile .price-now { font-size: 32px; }
.bundle-tile .buy-form { margin: 14px 0 14px; }
.inside-head { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 8px 0 4px; }
.tracker-list.compact li { grid-template-columns: 34px 1fr; }
.tracker-list.compact a { text-decoration: none; font-weight: 500; }
.tracker-list.compact a:hover { text-decoration: underline; }
.bundle-compare td { text-align: center; }
.bundle-compare thead th { text-align: center; }
.bundle-compare tbody th { font-family: var(--sans); font-style: normal; color: var(--ink); width: auto; }
.bundle-compare tbody th a { text-decoration: none; }
.tick { font-size: 18px; }
.dash { color: var(--rule); font-size: 22px; }
.product-grid.bundle-others { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 820px; margin-inline: auto; }

/* ---------- carousel ---------- */
.carousel-nav { display: flex; align-items: center; gap: 12px; }
.carousel-nav .link-arrow { margin-right: 12px; }
.arrow {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--ink); background: transparent;
  font-size: 18px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
  transition: background-color .2s, color .2s;
}
.arrow:hover:not(:disabled) { background: var(--ink); color: var(--paper); }
.arrow:disabled { color: var(--muted); border-color: var(--rule); cursor: default; }
.carousel-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 24px) / 4); gap: 24px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track > * { scroll-snap-align: start; }

/* ---------- editorial split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; background: var(--paper-2); }
.split + .split { background: var(--paper); }
.split-media img { width: 100%; height: 100%; max-height: 760px; object-fit: cover; }
.split-copy { padding: clamp(40px, 7vw, 112px); max-width: 620px; }
.split-reverse .split-media { order: 2; }
.split-copy p { color: var(--ink-2); font-size: 17px; margin-bottom: 24px; }

/* ---------- starter set ---------- */
.starter { padding: clamp(56px, 8vw, 104px) 0; }
.starter-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.starter-copy p { color: var(--ink-2); }
.includes { list-style: none; margin: 24px 0 0; padding: 0; border-top: 1px solid var(--ink); }
.includes a { display: flex; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--rule); text-decoration: none; }
.includes a span:first-child { font-family: var(--serif); font-size: 22px; }
.includes a span:last-child { color: var(--muted); font-size: 14px; }
.includes a:hover span:first-child { text-decoration: underline; }

/* ---------- categories ---------- */
.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 32px; }
.category-card { position: relative; display: block; text-decoration: none; overflow: hidden; aspect-ratio: 4 / 5; background: var(--stone); }
.category-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.category-card:hover img { transform: scale(1.03); }
.category-card span {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 60px 24px 22px; color: #fff; font-family: var(--serif); font-size: 30px;
  background: linear-gradient(0deg, rgba(20, 18, 15, .55), rgba(20, 18, 15, 0));
}
.category-card span::after { content: " \2192"; font-family: var(--sans); font-size: 18px; }

/* ---------- quiz ---------- */
.quiz-band { background: var(--stone); padding: clamp(56px, 8vw, 96px) 0; text-align: center; }
.quiz { max-width: 820px; }
.quiz-q { font-family: var(--serif); font-size: 26px; margin: 12px 0 22px; }
.quiz-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.quiz-options button {
  min-height: 60px; padding: 12px 18px; border: 1px solid var(--ink); background: var(--paper);
  cursor: pointer; font-size: 15px; transition: background-color .2s, color .2s;
}
.quiz-options button:hover { background: var(--ink); color: var(--paper); }
.quiz-actions { display: flex; justify-content: center; align-items: center; gap: 20px; }

/* ---------- steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.steps figure { margin: 0 0 18px; aspect-ratio: 3 / 2; overflow: hidden; background: var(--stone); }
.steps figure img { width: 100%; height: 100%; object-fit: cover; }
.step-num { font-family: var(--serif); font-style: italic; color: var(--muted); font-size: 18px; margin: 0 0 4px; }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--ink-2); }

/* ---------- facts ---------- */
.facts { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 40px 0; }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.fact-title { font-family: var(--serif); font-size: 22px; margin-bottom: 6px; }
.facts-grid p:not(.fact-title) { font-size: 14px; color: var(--muted); margin: 0; }

/* ---------- journal ---------- */
.journal-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 24px; }
.journal-card { display: flex; flex-direction: column; text-decoration: none; }
.journal-media { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: #fff; border: 1px solid var(--rule); margin-bottom: 16px; }
.journal-media img { width: 100%; height: 100%; object-fit: contain; padding: 12px; }
.journal-media.is-photo { border: 0; background: var(--stone); }
.journal-media.is-photo img { object-fit: cover; padding: 0; transition: transform .8s ease; }
.journal-card:hover .journal-media.is-photo img { transform: scale(1.03); }
.article .article-lead { margin: 8px 0 36px; }
.article .article-lead img { width: 100%; height: auto; border: 0; background: none; }
.journal-title { font-family: var(--serif); font-size: 24px; line-height: 1.15; }
.journal-desc { font-size: 14px; color: var(--muted); margin-top: 8px; }
.journal-card .eyebrow { margin-bottom: 8px; }
.journal-card:hover .journal-title { text-decoration: underline; text-decoration-thickness: 1px; }

/* ---------- collection head ---------- */
.collection-head { padding: clamp(40px, 6vw, 80px) 0 clamp(24px, 4vw, 48px); border-bottom: 1px solid var(--rule); }
.collection-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; }
.collection-head .buy-form { max-width: 420px; margin-top: 20px; }
.collection-grid > div:only-child { grid-column: 1 / -1; }
.collection-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--stone); }
.collection-media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- compare ---------- */
.table-scroll { overflow-x: auto; margin: 24px 0 16px; }
.compare { width: 100%; border-collapse: collapse; min-width: 720px; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 16px 14px; border-bottom: 1px solid var(--rule); }
.compare thead th { border-bottom: 1px solid var(--ink); }
.compare thead th a { font-family: var(--serif); font-size: 26px; font-weight: 400; text-decoration: none; display: block; }
.compare thead th span { display: block; font-size: 13px; font-weight: 400; color: var(--muted); }
.compare tbody th { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--muted); white-space: nowrap; width: 90px; }
.compare td strong { display: block; font-weight: 500; }
.compare td span { display: block; font-size: 14px; color: var(--muted); }

/* ---------- product page ---------- */
.pdp { padding: 32px 0 clamp(56px, 8vw, 96px); }
.pdp-grid {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  grid-template-areas: "gallery head" "gallery buy" "gallery details" "gallery ."; grid-template-rows: auto auto auto 1fr;
  column-gap: clamp(32px, 5vw, 80px); align-items: start;
}
.pdp-grid > .gallery { grid-area: gallery; }
.pdp-head { grid-area: head; }
.pdp-buy { grid-area: buy; }
.pdp-details { grid-area: details; }
.pdp-buy .buy-form { margin-top: 8px; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.pdp-head h1 { font-size: clamp(40px, 4.4vw, 60px); margin-bottom: 6px; }
.pdp-kind { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--ink-2); margin-bottom: 18px; }
.pdp-attrs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.pdp-attrs span { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; border: 1px solid var(--rule); padding: 6px 10px; }
.pdp-attrs .attr-save { background: var(--claret); border-color: var(--claret); color: #fff; }
.save-inline { color: var(--claret); margin-left: 6px; font-size: 13px; letter-spacing: .06em; }
.pdp-lede { color: var(--ink-2); font-size: 17px; }
.soon { margin: 26px 0 10px; }
.soon .button { width: 100%; }

.gallery-main { position: relative; background: var(--stone); aspect-ratio: 4 / 5; overflow: hidden; }
.gallery-slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .35s ease; }
.gallery-slide.is-active { opacity: 1; }
/* Inactive slides are hidden, not just transparent: a transparent image still
   counts as a visible blank product visual (launch gate `pages`). */
.gallery-slide:not(.is-active) { visibility: hidden; }
.gallery-slide img { width: 100%; height: 100%; object-fit: cover; }
html:not(.js) .gallery-slide { position: static; opacity: 1; }
html:not(.js) .gallery-main { aspect-ratio: auto; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 10px; }
.gallery-thumbs button { padding: 0; border: 1px solid transparent; background: var(--stone); aspect-ratio: 1; overflow: hidden; cursor: pointer; }
.gallery-thumbs button[aria-selected="true"] { border-color: var(--ink); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }

.accordion { margin-top: 28px; border-top: 1px solid var(--ink); }
.accordion details, .faq details { border-bottom: 1px solid var(--rule); }
.accordion summary, .faq summary {
  list-style: none; cursor: pointer; padding: 18px 28px 18px 0; position: relative;
  font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
}
.faq summary { font-family: var(--serif); font-size: 22px; letter-spacing: 0; text-transform: none; font-weight: 400; }
.accordion summary::-webkit-details-marker, .faq summary::-webkit-details-marker { display: none; }
.accordion summary::after, .faq summary::after { content: "+"; position: absolute; right: 2px; top: 50%; transform: translateY(-50%); font-size: 20px; font-weight: 300; letter-spacing: 0; }
.accordion details[open] summary::after, .faq details[open] summary::after { content: "\2212"; }
.accordion details > div, .faq details > p { padding: 0 0 20px; color: var(--ink-2); font-size: 15px; }
.faq { border-top: 1px solid var(--ink); margin-top: 24px; }

.tracker-list { margin: 0; padding: 0; list-style: none; counter-reset: t; }
.tracker-list li { counter-increment: t; display: grid; grid-template-columns: 34px 1fr; column-gap: 4px; padding: 8px 0; border-bottom: 1px dotted var(--rule); }
.tracker-list li::before { content: "0" counter(t); font-family: var(--serif); font-style: italic; color: var(--muted); grid-row: span 2; }
.tracker-list li:last-child { border-bottom: 0; }
.tracker-list strong { font-weight: 500; }
.tracker-list span { color: var(--muted); font-size: 14px; }
.tracker-list.compact li { padding: 3px 0; border: 0; }

.details { background: var(--paper-2); padding: clamp(56px, 8vw, 104px) 0 !important; }
.wide-figure { margin: 32px 0; background: var(--stone); }
.detail-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.detail-grid li { display: flex; flex-direction: column; gap: 4px; }
.detail-grid strong { font-family: var(--serif); font-size: 21px; font-weight: 400; }
.detail-grid span:last-child { font-size: 14px; color: var(--muted); }

.upsell { padding: clamp(56px, 8vw, 96px) 0; }
.upsell-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.upsell-grid > div:first-child { background: var(--stone); max-width: 460px; }
.upsell-grid p { color: var(--ink-2); margin-bottom: 24px; }

/* ---------- how it works ---------- */
.specs { display: grid; grid-template-columns: 140px 1fr; margin: 24px 0 32px; border-top: 1px solid var(--ink); }
.specs dt, .specs dd { padding: 16px 0; border-bottom: 1px solid var(--rule); margin: 0; }
.specs dt { font-family: var(--serif); font-size: 22px; }
.specs dd { color: var(--ink-2); }

/* ---------- articles and legal ---------- */
.article .prose { max-width: 700px; }
.article h1 { margin-bottom: 20px; }
.article h2 { font-size: 34px; margin: 48px 0 14px; }
.article p { line-height: 1.7; color: var(--ink-2); }
.article img, .article figure { margin: 28px 0; }
.article figure img { background: #fff; border: 1px solid var(--rule); }
.article-cta { margin: 36px 0 24px; padding: 22px 26px; background: var(--paper-2); border-left: 3px solid var(--ink); }
.article-cta p { margin: 0; color: var(--ink); }
.article .published { font-size: 14px; color: var(--muted); }
.article .sources { margin-top: 32px; font-size: 14px; color: var(--muted); }
.article .sources h2 { font-size: 22px; margin: 0 0 8px; }
.article h3 { font-size: 21px; margin: 28px 0 8px; }
.article ul, .article ol { line-height: 1.7; color: var(--ink-2); padding-left: 1.2em; }
.article li { margin: 6px 0; }
.article blockquote { margin: 28px 0; padding: 16px 22px; background: var(--paper-2); border-left: 3px solid var(--ink); }
.article blockquote p { margin: 0; color: var(--ink); }
.article .prose > table, .article .table-scroll table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 15px; }
.article .prose > table th, .article .prose > table td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--rule); }
.article .prose > table thead th { border-bottom: 1px solid var(--ink); font-weight: 600; }
.article .prose > svg, .article figure svg { display: block; width: 100%; height: auto; margin: 28px 0; }
@media (max-width: 720px) {
  .article .prose > table { display: block; overflow-x: auto; }
}

main.legal { padding: clamp(40px, 6vw, 80px) 0; }
main.legal .wrap > * { max-width: 720px; }
main.legal h1 { font-size: clamp(40px, 5vw, 60px); margin-bottom: 24px; }
main.legal h2 { font-size: 28px; margin: 40px 0 10px; }
main.legal p, main.legal li { color: var(--ink-2); }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #D9D3C8; padding: 72px 0 28px; }
.site-footer a { color: #F6F3EE; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer :focus-visible { outline-color: var(--paper); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.site-footer .wordmark { color: var(--paper); font-size: 30px; margin-bottom: 14px; }
.footer-brand p:not(.wordmark) { max-width: 36ch; font-size: 14px; }
.footer-head { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: #A39C91; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; font-size: 14px; }
.site-footer li { margin-bottom: 8px; }
.cookie-choice { background: none; border: 0; padding: 0; color: #F6F3EE; font-size: 14px; cursor: pointer; }
.cookie-choice:hover { text-decoration: underline; }
.footer-base { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid #3A3631; margin-top: 56px; padding-top: 20px; font-size: 13px; color: #A39C91; }
.footer-base p { margin: 0; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .carousel-track { grid-auto-columns: calc((100% - 2 * 24px) / 3); }
  .bundle-pair { grid-template-columns: 1fr; }
  .detail-grid { grid-template-columns: repeat(3, 1fr); }
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-primary, .nav-secondary { gap: 18px; }
}
@media (max-width: 900px) {
  .header-bar { grid-template-columns: 44px 1fr 44px; min-height: 60px; }
  .nav-primary, .nav-secondary { display: none; }
  .wordmark { grid-column: 2; justify-self: center; font-size: 24px; }
  .nav-mobile { display: block; grid-column: 1; grid-row: 1; }
  .nav-mobile summary { list-style: none; width: 44px; height: 44px; display: flex; align-items: center; cursor: pointer; }
  .nav-mobile summary::-webkit-details-marker { display: none; }
  .bars, .bars::before, .bars::after { display: block; width: 22px; height: 1.5px; background: var(--ink); position: relative; content: ""; }
  .bars::before { position: absolute; top: -7px; }
  .bars::after { position: absolute; top: 7px; }
  .nav-mobile[open] .bars { background: transparent; }
  .nav-mobile[open] .bars::before { top: 0; transform: rotate(45deg); }
  .nav-mobile[open] .bars::after { top: 0; transform: rotate(-45deg); }
  .nav-mobile nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--paper); border-bottom: 1px solid var(--rule);
    display: flex; flex-direction: column; padding: 8px var(--gutter) 20px;
  }
  .nav-mobile nav a { font-family: var(--serif); font-size: 28px; text-decoration: none; padding: 8px 0; border-bottom: 1px solid var(--rule); }
  .split, .starter-grid, .collection-grid, .pdp-grid, .upsell-grid { grid-template-columns: 1fr; }
  .split-reverse .split-media { order: 0; }
  .split-media img { max-height: 520px; }
  .pdp-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "buy" "gallery" "details"; grid-template-rows: none; row-gap: 16px; }
  .pdp { padding-top: 16px; }
  .pdp-info h1, .pdp-head h1 { font-size: 36px; }
  .pdp-kind { font-size: 18px; margin-bottom: 10px; }
  .pdp-attrs { margin-bottom: 0; }
  .pdp-head .crumbs { margin-bottom: 8px; }
  .collection-head { padding-top: 24px; }
  .collection-head h1 { font-size: 40px; }
  .steps, .category-grid, .journal-grid, .product-grid.three { grid-template-columns: 1fr; }
  .bundle-feature { grid-template-columns: 1fr; }
  .bundle-feature-media { aspect-ratio: 4 / 3; }
  .carousel-track { grid-auto-columns: 46%; }
  .category-grid { gap: 16px; }
  .category-card { aspect-ratio: 16 / 10; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  body { font-size: 15px; }
  .hero { min-height: 0; padding-top: 18px; }
  .hero-copy { padding: 0 0 28px; }
  .hero-copy h1 { font-size: 36px; margin-bottom: 8px; }
  .hero-copy .eyebrow { display: none; }
  .hero-copy .lede { font-size: 15px; margin-bottom: 0; }
  .hero-actions { margin-top: 14px; }
  .hero-actions .buy-form .button { width: 100%; }
  .announce .extra { display: none; }
  .hero::after { background: linear-gradient(0deg, rgba(20, 18, 15, .7) 0%, rgba(20, 18, 15, .2) 60%, rgba(20, 18, 15, 0) 100%); }
  .hero-img { object-position: 70% 50%; }
  .product-grid { gap: 32px 14px; }
  .carousel-track { grid-auto-columns: 72%; gap: 14px; }
  .carousel-nav .link-arrow { display: none; }
  .bundle-tile { grid-template-columns: 1fr; }
  .bundle-items { columns: 1; }
  .product-grid.bundle-others { grid-template-columns: 1fr 1fr; }
  .product-name { font-size: 20px; }
  .quiz-options { grid-template-columns: 1fr; }
  .facts-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .detail-grid { grid-template-columns: 1fr 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .specs { grid-template-columns: 1fr; }
  .specs dt { border-bottom: 0; padding-bottom: 0; }
  .consent { font-size: 12px; }
  .consent-inner { gap: 10px; padding: 6px 0; }
  .consent .long { display: none; }
  .consent .short { display: inline; }
  .consent-actions button { min-height: 32px; padding: 0 10px; letter-spacing: .08em; }
  .announce { display: none; }
  .pdp-attrs span:not(.attr-save) { display: none; }
  .gallery-thumbs { gap: 6px; }
  .footer-base { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
h1 .h1-sub { display: block; margin-top: 10px; font-family: var(--sans, "Instrument Sans", sans-serif); font-size: 15px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); line-height: 1.4; }

/* ---------- free printables (2026-10, generator pages) ---------- */
.header-free { grid-template-columns: 1fr auto 1fr; gap: 24px; }
.header-free .wordmark { grid-column: 2; justify-self: center; }
.site-search { grid-column: 3; justify-self: end; display: flex; align-items: center; width: min(340px, 100%); border: 1px solid var(--rule); background: #fff; }
.site-search input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 10px 12px; font: inherit; font-size: 14px; color: var(--ink); }
.site-search input:focus { outline: none; }
.site-search:focus-within { border-color: var(--ink); }
.search-go { border: 0; background: none; padding: 0 12px; height: 40px; cursor: pointer; color: var(--ink-2); }
.nav-sections { border-top: 1px solid var(--rule); }
.nav-sections-inner { width: min(var(--page), calc(100% - 2 * var(--gutter))); margin-inline: auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 28px; padding: 10px 0; }
.nav-sections a, .nav-sections .nav-soon { font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; padding: 4px 0; border-bottom: 1px solid transparent; }
.nav-sections a:hover, .nav-sections [aria-current="page"] { border-bottom-color: currentColor; }
.nav-soon { color: var(--muted); cursor: default; }
.nav-soon::after { content: " soon"; font-size: 10px; letter-spacing: .08em; text-transform: lowercase; }
.nav-mobile .nav-soon { font-family: var(--serif); font-size: 28px; padding: 8px 0; border-bottom: 1px solid var(--rule); color: var(--muted); }

.hero-free { min-height: min(70vh, 640px); }
.theme-head { padding-bottom: 16px; }
.theme-head .lede { max-width: 72ch; }
.h-card { font-size: 26px; margin: 14px 0 4px; }

.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-bottom: 28px; padding: 14px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule); }
.toolbar-note { margin: 0; font-size: 14px; color: var(--muted); }
.toggle { display: inline-flex; border: 1px solid var(--ink); }
.toggle button { border: 0; background: transparent; padding: 9px 16px; font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }
.toggle button + button { border-left: 1px solid var(--ink); }
.toggle button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }

/* Format and paper switches: with JS only the chosen variant shows; without JS everything stays visible. */
.js [data-format="page"] .f-bookmark, .js [data-format="bookmark"] .f-page { display: none !important; }
html.js[data-paper="letter"] .dl-a4, html.js[data-paper="a4"] .dl-letter, html.js:not([data-paper]) .dl-a4 { display: none; }
html:not(.js) .toggle { display: none; }

.cp-grid, .ws-grid, .rt-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 24px; }
.rt-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cp-tile h3, .ws-tile h3 { font-size: 22px; margin: 14px 0 4px; }
.cp-media, .ws-media, .rt-media { background: #fff; border: 1px solid var(--rule); display: flex; align-items: center; justify-content: center; aspect-ratio: 3 / 4; overflow: hidden; }
.cp-media img, .ws-media img { max-height: 100%; width: auto; }
.cp-media img.f-bookmark { height: 100%; }
.rt-media { aspect-ratio: 4 / 3; background: var(--stone); }
.rt-media img { width: 100%; height: 100%; object-fit: cover; }
.cp-desc { font-size: 14px; color: var(--ink-2); margin-bottom: 10px; }
.cp-level { display: inline-block; margin-left: 4px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.cp-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.dl-group { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.dl-label { font-size: 13px; font-weight: 500; width: 100%; }
.dl { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border: 1px solid var(--ink); font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; }
.dl::before { content: "\2193"; margin-right: 8px; }
.dl-primary { background: var(--ink); color: var(--paper); }
.dl:hover { background: #000; color: var(--paper); }
.link.print { font-size: 13px; }
.download-all { margin-top: 40px; padding: 24px; background: var(--paper-2); display: grid; gap: 14px; }
.download-all-title { font-family: var(--serif); font-size: 26px; margin: 0; }
.level-head { margin: 40px 0 20px; }
.level-head .muted { font-family: var(--sans); font-size: 14px; letter-spacing: .02em; margin-left: 8px; }
.level-head:first-of-type { margin-top: 0; }

.theme-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px 20px; }
.theme-card { display: flex; flex-direction: column; text-decoration: none; }
.theme-media { background: #fff; border: 1px solid var(--rule); aspect-ratio: 3 / 4; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.theme-media img { max-height: 100%; width: auto; transition: transform .4s; }
.theme-card:hover .theme-media img { transform: scale(1.03); }
.theme-name { font-family: var(--serif); font-size: 22px; margin-top: 12px; }
.theme-meta { font-size: 13px; color: var(--muted); }
.theme-card:hover .theme-name { text-decoration: underline; text-decoration-thickness: 1px; }

.bookmark-strip { background: var(--stone); }
.strip-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 32px 64px; align-items: start; }
.strip-facts { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.strip-facts li { padding: 14px 0; border-bottom: 1px solid var(--rule); color: var(--ink-2); }
.strip-facts strong { color: var(--ink); }
.ws-bookmark-media img { border: 1px solid var(--rule); background: #fff; }

.word-table { width: 100%; border-collapse: collapse; border-top: 1px solid var(--ink); }
.word-table caption { text-align: left; font-family: var(--serif); font-size: 26px; margin-bottom: 14px; }
.word-table td { padding: 10px 8px; border-bottom: 1px solid var(--rule); font-size: 20px; font-weight: 500; }

.search-page { display: flex; gap: 10px; margin: 20px 0; }
.search-page input { flex: 1; min-width: 0; padding: 12px 14px; font: inherit; border: 1px solid var(--ink); background: #fff; }
.search-results { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.search-results li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.search-results a { font-family: var(--serif); font-size: 22px; text-decoration: none; }
.search-results span { font-size: 13px; color: var(--muted); }

.ad-slot[hidden], .signup[hidden] { display: none; }

@media (max-width: 1080px) {
  .cp-grid, .ws-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .theme-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .header-free { grid-template-columns: 44px 1fr 44px; row-gap: 0; }
  .header-free .wordmark { grid-column: 2; justify-self: center; }
  .site-search { grid-column: 1 / -1; grid-row: 2; width: 100%; margin-bottom: 10px; }
  .nav-sections { display: none; }
  .strip-grid, .rt-grid { grid-template-columns: 1fr; }
  .cp-grid, .ws-grid, .theme-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }

}
@media (max-width: 420px) {
  .dl { padding: 0 10px; }
  .cp-tile h3, .ws-tile h3 { font-size: 19px; }
}
.section.bookmark-strip { padding: clamp(48px, 6vw, 80px) 0; }
.bookmark-strip + .section { padding-top: clamp(56px, 8vw, 104px); }

/* ---------- bookmark-first tiles (2026-10-13 review) ---------- */
.bm-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 24px; margin-top: 8px; }
.bm-grid.pages { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.bm-grid.sets { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bm-tile h3, .bm-tile h4 { font-size: 22px; margin: 14px 0 4px; }
.bm-tile h4 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; line-height: 1.05; }
.bm-media { background: var(--stone); aspect-ratio: 3 / 4; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.bm-media img { width: 100%; height: 100%; object-fit: cover; }
.bm-media.is-photo img { object-fit: cover; }
.theme-media { background: var(--stone); border: 0; aspect-ratio: 4 / 3; }
.theme-media img { width: 100%; height: 100%; max-height: none; object-fit: cover; }
.section-note { color: var(--ink-2); max-width: 70ch; }
.letter-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 20px 14px; margin-top: 28px; }
.letter-tile .dl-label { font-family: var(--serif); font-size: 18px; font-weight: 400; }
.letter-tile img { width: 100%; height: auto; }
.letter-tile .dl { min-height: 30px; padding: 0 8px; font-size: 10px; }
.tool-teaser img { width: 100%; max-width: 280px; height: auto; }
.tool { display: grid; grid-template-columns: minmax(260px, 340px) minmax(0, 1fr); gap: 32px; align-items: start; }
.tool-form fieldset { border: 0; border-top: 1px solid var(--ink); margin: 0 0 18px; padding: 12px 0 0; display: grid; gap: 10px; }
.tool-form legend { font-family: var(--serif); font-size: 20px; padding: 0 0 6px; }
.tool-form label { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 14px; }
.tool-form label:has(input[type="radio"]) { justify-content: flex-start; }
.tool-form input[type="text"], .tool-form input:not([type]) { flex: 1; max-width: 190px; padding: 9px 10px; font: inherit; border: 1px solid var(--rule); background: #fff; text-transform: uppercase; }
.tool-preview { background: var(--stone); padding: 16px; }
.tool-preview svg { display: block; width: 100%; height: auto; box-shadow: 0 10px 30px rgba(30, 28, 25, .15); }
.print-sheet { display: none; }
@media print {
  /* Only pages with a print sheet (the tools) print just the sheet; every other page prints normally. */
  body:has(> .print-sheet) > *:not(.print-sheet) { display: none !important; }
  .print-sheet { display: block !important; }
  .print-sheet svg { display: block; }
}
@media (max-width: 1080px) {
  .bm-grid, .bm-grid.pages { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .bm-grid, .bm-grid.pages, .bm-grid.sets { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
  .tool { grid-template-columns: 1fr; }
}
.bm-grid.strips { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 36px 20px; }
.bm-grid.strips .bm-media { aspect-ratio: 480 / 860; }
@media (max-width: 1080px) { .bm-grid.strips { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 900px) { .bm-grid.strips { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Quote pages: verbatim quotes grouped by book */
.quote-list h3 { margin: 40px 0 12px; font-size: 22px; }
.quote-list h3 .quote-by { display: block; margin-top: 4px; font-family: inherit; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.quote { margin: 0 0 20px; padding: 0 0 20px; border-bottom: 1px solid var(--rule); }
.quote blockquote { margin: 0; }
.quote blockquote p { margin: 0; font-size: 19px; line-height: 1.5; }
.quote figcaption { margin-top: 8px; font-size: 14px; color: var(--muted); }

/* Colored-in previews on the home page cards: hovering a card fades in the same fan
   colored in, so the page shows what the printables can look like. */
.cat-card.has-color .cat-media, .theme-card.has-color .theme-media { position: relative; }
.cat-media .cat-color, .theme-media .theme-color { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .35s ease; }
.cat-card.has-color:hover .cat-color, .cat-card.has-color:focus-within .cat-color, .theme-card.has-color:hover .theme-color, .theme-card.has-color:focus-visible .theme-color { opacity: 1; }
@media (hover: none) { .cat-media .cat-color, .theme-media .theme-color { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .cat-media .cat-color, .theme-media .theme-color { transition: none; } }

/* One download button per printable, and the dialog that picks paper, back and background */
.dl-btn { min-height: 40px; padding: 0 18px; font-size: 12px; }
.download-all .dl-btn { background: var(--ink); color: var(--paper); }
.dl-dialog { width: min(440px, calc(100% - 32px)); border: 1px solid var(--ink); padding: 28px; background: var(--paper); color: var(--ink); }
.dl-dialog::backdrop { background: rgba(30, 28, 25, .45); }
.dl-dialog h2 { font-size: 26px; margin: 4px 0 18px; }
.dl-set { border: 0; border-top: 1px solid var(--rule); margin: 0; padding: 14px 0 12px; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.dl-set legend { float: left; width: 100%; padding: 0; margin-bottom: 8px; font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.dl-set label { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; cursor: pointer; }
.dl-set input { accent-color: var(--ink); }
.dl-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--rule); }
.dl-actions .button { min-height: 44px; }
.dl-close { margin-left: auto; background: none; border: 0; text-decoration: underline; cursor: pointer; font: inherit; font-size: 14px; }

/* Home directory: section -> category card -> theme chips */
.directory + .directory { padding-top: 0; }
.cat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 28px; }
.cat-card .cat-media { display: block; background: var(--stone); aspect-ratio: 4 / 3; overflow: hidden; }
.cat-card .cat-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.cat-card:hover .cat-media img { transform: scale(1.03); }
.cat-card h3 { font-size: 24px; margin: 14px 0 10px; display: flex; align-items: baseline; gap: 10px; }
.cat-card h3 a { text-decoration: none; }
.cat-card h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.cat-count { font-family: var(--sans, inherit); font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { display: inline-block; padding: 6px 12px; border: 1px solid var(--rule); border-radius: 999px; font-size: 14px; line-height: 1.2; text-decoration: none; background: var(--paper); }
.chips a:hover, .chips a:focus-visible { border-color: var(--ink); background: var(--ink); color: var(--paper); }
@media (max-width: 900px) { .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .cat-grid { grid-template-columns: 1fr; } }

/* Section navigation dropdowns: hover or keyboard focus opens a full-width panel with
   every category and theme of that section. Phones use the menu button instead. */
.nav-sections { position: relative; }
.nav-item { display: inline-flex; }
.nav-panel { position: absolute; left: 0; right: 0; top: 100%; z-index: 30; padding-top: 1px; visibility: hidden; opacity: 0; transition: opacity .15s ease, visibility 0s linear .15s; }
.nav-item:hover > .nav-panel, .nav-item:focus-within > .nav-panel { visibility: visible; opacity: 1; transition-delay: 0s; }
.nav-panel-inner { width: min(var(--page), calc(100% - 2 * var(--gutter))); margin-inline: auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 24px 32px; padding: 26px 28px 30px; background: var(--paper); border: 1px solid var(--rule); box-shadow: 0 18px 40px rgba(30, 28, 25, .12); text-align: left; }
.nav-col-title { margin: 0 0 10px; font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.nav-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.nav-col a { font-size: 15px; letter-spacing: 0; text-transform: none; font-weight: 400; text-decoration: none; border: 0; padding: 0; }
.nav-col a:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (hover: none), (max-width: 900px) { .nav-panel { display: none; } }

/* FAQ questions are H3s inside <summary> (Lennart's FAQ markup rule); they keep the summary look. */
.faq summary h3 { display: inline; margin: 0; font: inherit; letter-spacing: inherit; }
/* Keyword sections: a question with its direct answer, then one H2 per secondary keyword. */
.seo-block h2 { font-size: 30px; margin: 36px 0 12px; }
.seo-block h2:first-child { margin-top: 0; }
.seo-block p { color: var(--ink-2); max-width: 66ch; }

/* Blog article parts added in the blog rework (2026-10-13) */
.article-cover { margin: 24px 0 8px; }
.article-cover img { width: 100%; height: auto; background: var(--stone); }
.toc { margin: 24px 0; padding: 18px 22px; border: 1px solid var(--rule); background: var(--paper); }
.toc-title { margin: 0 0 8px; font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.toc ol { margin: 0; padding-left: 20px; display: grid; gap: 4px; }
.callout { border-left: 3px solid var(--ink); background: var(--stone); padding: 12px 16px; margin: 20px 0; }
.article .lead { font-size: 20px; color: var(--ink-2); }

/* All bookmarks: one page, every bookmark, filtered by search and kind/theme chips */
.all-bm [hidden] { display: none !important; }
.bm-filter { display: grid; gap: 14px; }
.bm-search { width: min(520px, 100%); border: 1px solid var(--rule); background: #fff; padding: 12px 14px; font: inherit; font-size: 15px; color: var(--ink); }
.bm-search:focus { outline: none; border-color: var(--ink); }
.chips button { display: inline-block; padding: 6px 12px; border: 1px solid var(--rule); border-radius: 999px; font: inherit; font-size: 14px; line-height: 1.2; background: var(--paper); color: var(--ink); cursor: pointer; }
.chips button span { margin-left: 2px; font-size: 12px; color: var(--muted); }
.chips button:hover, .chips button:focus-visible, .chips button[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.chips button:hover span, .chips button:focus-visible span, .chips button[aria-pressed="true"] span { color: inherit; opacity: .75; }
.bm-count { margin: 0; font-size: 14px; color: var(--muted); }
.bm-group { margin-top: 56px; }
.bm-group-title { display: flex; align-items: baseline; gap: 12px; font-size: 32px; margin: 0; padding-bottom: 12px; border-bottom: 1px solid var(--rule); }
.bm-theme { margin-top: 32px; }
.bm-theme-title { display: flex; align-items: baseline; gap: 10px; font-size: 22px; margin: 0 0 6px; }
.bm-group-title a, .bm-theme-title a { text-decoration: none; }
.bm-group-title a:hover, .bm-theme-title a:hover { text-decoration: underline; text-underline-offset: 4px; }
.bm-empty { margin-top: 40px; }
@media (max-width: 600px) { .bm-group-title { font-size: 26px; } }
