/* ==========================================================================
   9booth design system
   One stylesheet for every site. Layers keep specificity predictable:
   tokens → base → layout → components → utilities
   Rule: use tokens, never hard-code colors in components.
   ========================================================================== */
@layer tokens, base, layout, components, utilities;

/* ── Fonts ─────────────────────────────────────────────────────────────── */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/assets/fonts/bricolage-grotesque.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

/* ── Tokens ────────────────────────────────────────────────────────────── */
@layer tokens {
  :root {
    /* Core */
    --paper: #FAF8F4;
    --white: #FFFFFF;
    --ink: #1F1B16;
    --muted: #5E574D;
    --line: #E7E1D6;
    --line-strong: #CFC7B9;

    /* Booth colors (one per section). All pass 4.5:1 with white text except gold, which takes ink text. */
    --booth-tools: #1E6B63;
    --booth-guides: #B9472F;
    --booth-learn: #E9A93A;
    --booth-shop: #6B3E75;
    --booth-blog: #2F6FA8;
    --gold: #E9A93A;
    --gold-text: #8A5A00; /* gold that passes as text on paper */

    /* Tints */
    --tint-tools: #E3F0EE;
    --tint-guides: #F3E4DF;
    --tint-learn: #FBF0D9;
    --tint-shop: #EFE7F1;
    --tint-blog: #DDE8F3;

    /* Per-site accent (overridden inline from sites.config.js) */
    --accent: var(--booth-guides);

    /* Type */
    --font-display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
    --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --step--1: 0.875rem;
    --step-0: 1rem;
    --step-1: 1.125rem;
    --step-2: 1.375rem;
    --step-3: clamp(1.6rem, 1.3rem + 1.2vw, 2rem);
    --step-4: clamp(2rem, 1.5rem + 2vw, 2.6rem);
    --step-5: clamp(2.4rem, 1.6rem + 3.4vw, 3.6rem);
    --step-6: clamp(2.6rem, 1.6rem + 4.6vw, 4.2rem);

    /* Space & shape */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.5rem;
    --space-6: 2rem;
    --space-7: 3rem;
    --space-8: 4rem;
    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 20px;
    --container: 1200px;
    --narrow: 780px;
  }
}

/* ── Base ──────────────────────────────────────────────────────────────── */
@layer base {
  *, *::before, *::after { box-sizing: border-box; }
  html { -webkit-text-size-adjust: 100%; scroll-padding-top: 1rem; }
  body {
    margin: 0;
    font-family: var(--font-body);
    font-size: var(--step-0);
    line-height: 1.6;
    color: var(--ink);
    background: var(--paper);
  }
  h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 var(--space-3); }
  h1 { font-weight: 800; }
  h2 { font-weight: 800; font-size: var(--step-3); }
  h3 { font-weight: 700; font-size: var(--step-2); }
  p { margin: 0 0 var(--space-4); }
  a { color: inherit; text-underline-offset: 0.18em; }
  a:hover { color: var(--accent); }
  img { max-width: 100%; height: auto; display: block; }
  :focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
  input, button, select, textarea { font: inherit; color: inherit; }
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  }
}

/* ── Layout ────────────────────────────────────────────────────────────── */
@layer layout {
  .container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--space-5); }
  .container--narrow { max-width: var(--narrow); }
  .section { padding-block: var(--space-8) var(--space-6); }
  .section--white { background: var(--white); border-block: 1px solid var(--line); padding-block: var(--space-8); }
  .grid { display: grid; gap: var(--space-5); }
  .grid--cards { grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); }
  .grid--booths { grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: var(--space-4); }

  .article-layout { display: flex; flex-wrap: wrap; gap: var(--space-7); padding-block: var(--space-7) var(--space-8); align-items: flex-start; }
  .article-layout > .article-body { flex: 999 1 560px; min-width: 0; }
  .article-layout > .toc,
  .article-layout > .course-nav { flex: 1 1 220px; }
  .article-layout--aside-right > .sidebar { flex: 1 1 260px; }
  .page-simple { padding-block: var(--space-6) var(--space-8); }
}

/* ── Components ────────────────────────────────────────────────────────── */
@layer components {
  /* Skip link */
  .skip-link { position: absolute; left: var(--space-4); top: -100px; background: var(--ink); color: var(--white); padding: var(--space-3) var(--space-4); border-radius: var(--radius-sm); z-index: 10; }
  .skip-link:focus { top: var(--space-4); color: var(--white); }

  /* Awning stripe: the brand motif */
  .awning { height: 14px; background: repeating-linear-gradient(90deg, var(--white) 0 20px, transparent 20px 40px); opacity: 0.9; }
  .awning--thin { height: 10px; background: repeating-linear-gradient(90deg, var(--accent) 0 18px, var(--white) 18px 36px); opacity: 1; }
  .awning--gold { height: 16px; background: repeating-linear-gradient(90deg, var(--gold) 0 24px, var(--ink) 24px 48px); opacity: 1; }

  /* Network bar (blogs) */
  .network-bar { background: var(--ink); color: var(--white); font-size: var(--step--1); }
  .network-bar__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-3); padding-block: var(--space-2); }
  .network-bar a { color: var(--white); }
  .network-bar > .container > span:first-child a { color: var(--gold); font-weight: 700; }
  .network-bar__links { display: flex; flex-wrap: wrap; gap: var(--space-4); }

  /* Header */
  .site-header { background: var(--white); border-bottom: 1px solid var(--line); }
  .site-header__inner { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3) var(--space-6); padding-block: var(--space-3); }
  .logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
  .logo:hover { color: var(--ink); }
  .logo__text { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; letter-spacing: -0.02em; }
  .site-header--blog .logo { flex-direction: column; align-items: flex-start; gap: 2px; }
  .logo__text--blog { color: var(--accent); font-size: 1.85rem; line-height: 1; }
  .logo__tagline { font-size: var(--step--1); color: var(--muted); }
  .site-nav { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); font-weight: 600; font-size: 0.95rem; }
  .site-header--blog .site-nav { flex: 1 1 280px; justify-content: flex-end; }
  .site-nav a { text-decoration: none; padding-block: 4px; border-bottom: 3px solid transparent; }
  .site-nav a.is-active { border-bottom-color: var(--accent); }
  .site-header__cta { margin-left: auto; }

  /* Buttons */
  .btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); min-height: 44px; padding: 10px 18px; border: 0; border-radius: 10px; font-weight: 700; text-decoration: none; cursor: pointer; }
  .btn--pill { border-radius: 999px; font-size: var(--step--1); }
  .btn--ink { background: var(--ink); color: var(--white); }
  .btn--ink:hover { color: var(--white); background: #3a332b; }
  .btn--gold { background: var(--gold); color: var(--ink); font-weight: 800; }
  .btn--gold:hover { color: var(--ink); filter: brightness(1.05); }
  .btn--shop { background: var(--booth-shop); color: var(--white); }
  .btn--shop:hover { color: var(--white); filter: brightness(1.1); }
  .btn--block { display: flex; width: 100%; }
  .btn--lg { font-size: var(--step-1); padding: 16px 22px; font-weight: 800; }

  /* Color band (hubs, tools, courses) */
  .band { background: var(--band, var(--accent)); color: var(--white); }
  .band__inner { padding-block: var(--space-5) var(--space-7); }
  .band__title { font-size: var(--step-6); margin-bottom: var(--space-3); }
  .band__lede { font-size: var(--step-2); line-height: 1.5; max-width: 46rem; opacity: 0.95; margin: 0; }
  .band__meta { margin: var(--space-4) 0 0; font-weight: 700; }
  .band .breadcrumbs, .band .breadcrumbs a { color: inherit; }
  .band--light-text-dark { color: var(--ink); }
  .band--light-text-dark .awning { background: repeating-linear-gradient(90deg, var(--ink) 0 20px, transparent 20px 40px); opacity: 0.85; }
  .strip { background: var(--band); }
  .strip__inner { padding-block: var(--space-4); }

  /* Breadcrumbs */
  .breadcrumbs { font-size: var(--step--1); color: var(--muted); margin-block: var(--space-4); }
  .breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: var(--space-2); margin: 0; padding: 0; }
  .breadcrumbs li + li::before { content: "›"; margin-right: var(--space-2); opacity: 0.7; }

  /* Section headings */
  .section-title { font-size: var(--step-4); margin-bottom: var(--space-2); }
  .section-lede { font-size: var(--step-1); color: var(--muted); margin-bottom: var(--space-6); }
  .section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: var(--space-4); margin-bottom: var(--space-5); }
  .section-head a { font-weight: 700; }
  .eyebrow { display: inline-block; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
  .eyebrow--accent { color: var(--accent); }

  /* Cards */
  .card { position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
  .card:hover { border-color: var(--line-strong); }
  .card__image { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
  .card__body { display: flex; flex-direction: column; gap: var(--space-2); padding: var(--space-5); }
  .card__eyebrow { font-size: 0.75rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--card-color); filter: brightness(0.85); }
  .card__title { font-size: var(--step-2); margin: 0; line-height: 1.25; }
  .card__title a { text-decoration: none; }
  .card__title a::after { content: ""; position: absolute; inset: 0; } /* whole card clickable, one link */
  .card__text { color: var(--muted); font-size: 0.95rem; margin: 0; }
  .card__meta { font-size: var(--step--1); color: var(--muted); }
  .card--compact { flex-direction: row; align-items: flex-start; gap: var(--space-4); padding: var(--space-5); }
  .card--compact .card__body { padding: 0; }
  .card--compact .card__title { font-size: var(--step-1); }
  .card__icon { flex: none; width: 48px; height: 48px; border-radius: 12px; background: var(--tint-tools); color: var(--booth-tools); display: grid; place-items: center; }

  /* Homepage */
  .hero { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-7); padding-block: var(--space-8) var(--space-7); }
  .hero__copy { flex: 1 1 480px; }
  .hero__title { font-size: var(--step-6); line-height: 1.02; letter-spacing: -0.035em; margin-block: var(--space-3) var(--space-4); }
  .hero__lede { font-size: var(--step-2); color: var(--muted); max-width: 36rem; }
  .hero__chips { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); font-size: var(--step--1); color: var(--muted); }
  .hall { flex: 1 1 380px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4); }
  .hall__booth { background: var(--white); border: 2px solid var(--ink); border-radius: 12px; overflow: hidden; font-family: var(--font-display); font-weight: 800; font-size: var(--step-2); }
  .hall__booth:nth-child(2) { margin-top: 28px; }
  .hall__booth:nth-child(4) { margin-top: -14px; }
  .hall__booth:nth-child(5) { margin-top: 14px; }
  .hall__awning { height: 34px; border-bottom: 2px solid var(--ink); background: repeating-linear-gradient(90deg, var(--booth) 0 18px, var(--white) 18px 36px); }
  .hall__booth span { display: block; padding: 18px 14px 22px; }
  .hall__booth--empty { border-style: dashed; border-color: #B8AFA0; display: grid; place-items: center; text-align: center; font-family: var(--font-body); font-size: var(--step--1); font-weight: 700; color: var(--muted); margin-top: -14px; }
  .booth { position: relative; display: flex; flex-direction: column; gap: var(--space-2); padding: var(--space-6) var(--space-5) var(--space-5); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; }
  .booth__awning { position: absolute; inset: 0 0 auto; height: 12px; background: repeating-linear-gradient(90deg, var(--booth) 0 14px, var(--paper) 14px 28px); }
  .booth__name { font-family: var(--font-display); font-weight: 800; font-size: var(--step-2); }
  .booth__text { color: var(--muted); font-size: 0.95rem; }
  .booth__cta { font-weight: 700; font-size: var(--step--1); margin-top: auto; }
  .chips { display: flex; flex-wrap: wrap; gap: var(--space-2); }
  .chip { text-decoration: none; background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; color: var(--ink); }
  .chip--lg { border-radius: 10px; padding: 12px 18px; font-weight: 600; }

  /* Email capture */
  .capture { max-width: var(--container); margin: var(--space-7) auto; background: var(--ink); color: var(--white); border-radius: var(--radius-lg); overflow: hidden; }
  @media (min-width: 1248px) { .capture { margin-inline: auto; } }
  @media (max-width: 1247px) { .capture { margin-inline: var(--space-5); } }
  .capture__inner { display: flex; flex-wrap: wrap; gap: var(--space-6); align-items: center; padding: var(--space-7) clamp(var(--space-5), 4vw, var(--space-7)); }
  .capture__copy { flex: 1 1 360px; }
  .capture h2 { font-size: var(--step-4); }
  .capture p { color: #D8D2C8; margin: 0; }
  .capture__form { flex: 1 1 360px; display: flex; flex-wrap: wrap; gap: var(--space-3); }
  .capture__form input[type="email"] { flex: 1 1 220px; min-width: 0; width: 100%; min-height: 52px; padding: 0 var(--space-4); border: 0; border-radius: 10px; font-size: var(--step-1); }
  .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

  /* Articles */
  .article-header { text-align: center; padding-top: var(--space-6); }
  .article-title { font-size: var(--step-5); line-height: 1.05; letter-spacing: -0.03em; }
  .article-title--left { text-align: left; }
  .article-lede { font-size: var(--step-2); line-height: 1.5; color: var(--muted); max-width: 42rem; margin-inline: auto; }
  .article-lede--left { margin-inline: 0; }
  .byline, .meta { font-size: 0.95rem; color: var(--muted); }
  .article-hero { margin-top: var(--space-6); }
  .article-hero img { border-radius: var(--radius-lg); width: 100%; }
  .tags { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-2); margin-bottom: var(--space-4); }
  .tag { text-decoration: none; background: var(--tint-guides); color: #8F3522; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
  .type-post .tag { background: var(--tint-blog); color: #22527D; }
  .toc { font-size: 0.95rem; }
  @media (min-width: 900px) { .toc { position: sticky; top: var(--space-5); } }
  .toc__heading { display: block; font-weight: 800; margin-bottom: var(--space-3); }
  .toc ol { margin: 0; padding-left: 1.1rem; display: grid; gap: var(--space-2); color: var(--muted); }
  .author-box { display: flex; gap: var(--space-4); align-items: flex-start; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--space-5); margin-top: var(--space-7); }
  .author-box__avatar { flex: none; width: 56px; height: 56px; border-radius: 50%; background: var(--line); display: grid; place-items: center; font-weight: 800; font-size: var(--step-2); }
  .author-box__name { font-weight: 800; font-size: var(--step-1); }
  .author-box p { color: var(--muted); margin: 0; }
  .disclosure { font-size: var(--step--1); color: var(--muted); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: var(--space-3) var(--space-4); }

  /* Prose: long-form Markdown */
  .prose { font-size: 1.125rem; line-height: 1.75; }
  .prose > * + * { margin-top: var(--space-4); }
  .prose h2 { font-size: var(--step-4); margin-top: var(--space-7); }
  .prose h3 { margin-top: var(--space-6); }
  .prose ul, .prose ol { padding-left: 1.4rem; }
  .prose li + li { margin-top: var(--space-2); }
  .prose a:not(.btn) { color: var(--accent); }
  .prose table { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); font-size: 1rem; }
  .prose th, .prose td { text-align: left; padding: 12px 16px; border-top: 1px solid var(--line); }
  .prose thead th { background: var(--paper); border-top: 0; }
  .prose blockquote { margin-inline: 0; padding-left: var(--space-5); border-left: 4px solid var(--line-strong); color: var(--muted); }
  .hub__intro { max-width: var(--narrow); margin-bottom: var(--space-7); }
  .callout { background: #FFF7E6; border: 1px solid #F1D9A6; border-radius: 12px; padding: var(--space-4) var(--space-5); font-size: 1rem; }
  .callout--warning { background: #FBEDEA; border-color: #EDC4BA; }
  .callout--note { background: var(--white); border-color: var(--line); }

  /* FAQ */
  .faq { margin-top: var(--space-7); }
  .faq__item { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: var(--space-4) var(--space-5); }
  .faq__item + .faq__item { margin-top: var(--space-3); }
  .faq__item summary { font-weight: 700; cursor: pointer; font-size: var(--step-1); }
  .faq__answer { margin-top: var(--space-3); }

  /* Sidebar */
  .sidebar { display: grid; gap: var(--space-5); }
  .sidebar__box { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--space-5); }
  .sidebar__heading { font-family: var(--font-body); font-size: 1rem; letter-spacing: 0; }
  .sidebar__links { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); }

  /* Related */
  .related { background: var(--white); border-top: 1px solid var(--line); padding-block: var(--space-8); }
  .related h2 { font-size: var(--step-4); margin-bottom: var(--space-5); }

  /* Tools */
  .tool-shell { margin-top: calc(var(--space-6) * -1); position: relative; }
  .tool-shell__noscript { background: var(--white); border: 2px solid var(--ink); border-radius: var(--radius); padding: var(--space-5); }
  .calc { display: flex; flex-wrap: wrap; background: var(--white); border: 2px solid var(--ink); border-radius: 18px; overflow: hidden; }
  .calc__inputs { flex: 1 1 400px; min-width: 0; padding: var(--space-6); display: grid; gap: var(--space-4); align-content: start; }
  .calc__results { flex: 1 1 340px; min-width: 0; padding: var(--space-6); background: #F4FAF9; border-left: 1px solid var(--line); display: grid; gap: var(--space-3); align-content: start; }
  .calc__heading { font-family: var(--font-body); font-size: var(--step-1); letter-spacing: 0; margin: 0; }
  .calc__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: var(--space-4); }
  .calc__note { font-size: var(--step--1); color: var(--muted); margin: 0; }
  .calc__big { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.8rem, 2rem + 3vw, 3.8rem); line-height: 1; color: var(--booth-tools); letter-spacing: -0.04em; }
  .calc__big.is-negative { color: var(--booth-guides); }
  .calc__sub { color: var(--muted); margin: 0; }
  .calc__breakdown { display: grid; grid-template-columns: 1fr auto; gap: var(--space-3) var(--space-4); margin: var(--space-2) 0 0; padding-top: var(--space-4); border-top: 1px solid #D5E6E3; }
  .calc__breakdown dd { margin: 0; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
  .calc__total { font-weight: 800; border-top: 1px solid #D5E6E3; padding-top: var(--space-3); }
  .field { display: grid; gap: 6px; font-weight: 600; font-size: 0.9rem; }
  .field input[type="number"], .field input[type="text"], .field input[type="email"] { width: 100%; min-width: 0; min-height: 48px; padding: 10px 12px; font-size: var(--step-1); border: 1px solid var(--line-strong); border-radius: 10px; background: var(--white); }
  .field--check { display: flex; align-items: center; gap: var(--space-3); font-size: 0.95rem; }
  .field--check input { width: 20px; height: 20px; }

  /* Courses & lessons */
  .course-nav { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--space-5); }
  .course-nav__title { display: block; font-family: var(--font-display); font-weight: 800; font-size: var(--step-2); text-decoration: none; margin-bottom: var(--space-3); }
  .lesson-list { list-style: none; margin: 0 0 var(--space-4); padding: 0; display: grid; gap: 2px; }
  .lesson-list a { display: flex; gap: var(--space-3); padding: 10px; border-radius: 10px; text-decoration: none; }
  .lesson-list a[aria-current="page"] { background: var(--tint-learn); font-weight: 700; }
  .lesson-list__num { flex: none; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--paper); border: 1px solid var(--line); display: grid; place-items: center; font-size: 0.8rem; font-weight: 700; }
  .type-lesson .eyebrow { color: var(--gold-text); }
  .objectives { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--space-5); margin-bottom: var(--space-6); }
  .objectives h2 { font-family: var(--font-body); font-size: var(--step-1); letter-spacing: 0; }
  .objectives ul { margin: 0; padding-left: 1.2rem; }
  .pager { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-3); border-top: 1px solid var(--line); margin-top: var(--space-7); padding-top: var(--space-5); }
  .pager a { display: grid; padding: 14px 18px; border-radius: 12px; text-decoration: none; font-weight: 700; border: 1px solid var(--line); background: var(--white); }
  .pager span { font-size: var(--step--1); font-weight: 400; color: var(--muted); }
  .pager__next { background: var(--ink) !important; color: var(--white); text-align: right; margin-left: auto; }
  .pager__next:hover { color: var(--white); }
  .pager__next span { color: #D8D2C8; }

  /* Products */
  .product-hero { display: flex; flex-wrap: wrap; gap: var(--space-7); padding-block: var(--space-4) var(--space-7); }
  .product-hero__media { flex: 1 1 480px; }
  .product-hero__media img, .placeholder { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
  .placeholder { background: var(--tint-shop); color: var(--booth-shop); display: grid; place-items: center; font-weight: 700; }
  .product-hero__info { flex: 1 1 380px; display: grid; gap: var(--space-4); align-content: start; }
  .product-hero__info .article-title, .product-hero__info .article-lede { margin: 0; }
  .price { font-family: var(--font-display); font-weight: 800; font-size: var(--step-4); margin: 0; }
  .checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); color: var(--muted); }
  .checklist li::before { content: "✓"; color: var(--booth-tools); font-weight: 800; margin-right: var(--space-2); }

  /* Blog home */
  .feature { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-6); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; margin-bottom: var(--space-7); position: relative; }
  .feature__media { flex: 1 1 460px; aspect-ratio: 16 / 10; background: var(--tint-blog); }
  .feature__media img { width: 100%; height: 100%; object-fit: cover; }
  .feature__body { flex: 1 1 340px; padding: var(--space-5) var(--space-6) var(--space-6); }
  .feature .eyebrow { color: var(--accent); }
  .feature__title { font-size: var(--step-4); margin-block: var(--space-2) var(--space-3); }
  .feature__title a { text-decoration: none; }
  .feature__title a::after { content: ""; position: absolute; inset: 0; }
  .pagination { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-7); font-weight: 700; }
  .pagination a, .pagination span { min-width: 44px; min-height: 44px; display: grid; place-items: center; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--white); text-decoration: none; }
  .pagination [aria-current] { background: var(--accent); border-color: var(--accent); color: var(--white); }

  /* Simple pages */
  .page-title { font-size: var(--step-5); }
  .link-list { font-size: var(--step-1); display: grid; gap: var(--space-2); }
  .empty { color: var(--muted); }

  /* Footer */
  .site-footer { background: var(--white); border-top: 1px solid var(--line); margin-top: var(--space-8); }
  .site-footer__inner { display: flex; flex-wrap: wrap; gap: var(--space-7); padding-block: var(--space-7) var(--space-5); }
  .site-footer__brand { flex: 1 1 260px; color: var(--muted); }
  .site-footer__name { font-family: var(--font-display); font-weight: 800; font-size: var(--step-2); color: var(--ink); }
  .site-footer__col { flex: 0 1 160px; display: grid; gap: var(--space-2); align-content: start; font-size: 0.95rem; }
  .site-footer__col a { text-decoration: none; }
  .site-footer__heading { font-weight: 800; }
  .site-footer__legal { display: flex; flex-wrap: wrap; gap: var(--space-4); padding-block: var(--space-4) var(--space-6); font-size: var(--step--1); color: var(--muted); }
  .capture + .site-footer, .related + .capture { margin-top: var(--space-7); }
}

/* ── Utilities ─────────────────────────────────────────────────────────── */
@layer utilities {
  .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; }
}
