
    /* ─── tokens ─────────────────────────────────────────────────────────
       Six variables. Bind them to the active DESIGN.md and stop.
       Do not introduce raw hex anywhere else in this file. */
    :root {
      --bg:      oklch(98% 0.004 95);   /* page background — page surface */
      --surface: oklch(100% 0.002 95);   /* cards, modals, raised areas */
      --fg:      oklch(20% 0.018 70);   /* primary text — primary ink */
      --muted:   oklch(48% 0.012 70);   /* secondary text, captions */
      --border:  oklch(90% 0.006 95);   /* hairlines, dividers */
      --accent:  oklch(52% 0.10 28);   /* one accent — used at most 2× per screen */

      /* derived — do not change */
      --accent-soft: color-mix(in oklch, var(--accent) 14%, transparent);
      --fg-soft:     color-mix(in oklch, var(--fg) 6%, transparent);

      /* type — display = serif (default), body = sans, mono for numerics */
      --font-display: 'Iowan Old Style', 'Charter', Georgia, serif;
      --font-body:    -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
      --font-mono:    ui-monospace, 'JetBrains Mono', 'SF Mono', Menlo, monospace;

      /* scale — clamp() so it works at 1280, 1440, 1920 without media queries */
      --fs-h1: clamp(44px, 6vw, 76px);
      --fs-h2: clamp(32px, 4vw, 48px);
      --fs-h3: 22px;
      --fs-lead: 19px;
      --fs-body: 16px;
      --fs-meta: 13px;

      /* spacing — 8-point grid */
      --gap-xs: 8px;
      --gap-sm: 12px;
      --gap-md: 20px;
      --gap-lg: 32px;
      --gap-xl: 56px;
      --gap-2xl: 96px;
      --container: 1120px;
      --gutter: 32px;

      --radius: 10px;
      --radius-lg: 16px;
    }

    /* ─── reset & base ──────────────────────────────────────────────── */
    *, *::before, *::after { box-sizing: border-box; }
    html { -webkit-text-size-adjust: 100%; }
    body {
      margin: 0;
      background: var(--bg);
      color: var(--fg);
      font-family: var(--font-body);
      font-size: var(--fs-body);
      line-height: 1.55;
      text-rendering: optimizeLegibility;
      -webkit-font-smoothing: antialiased;
    }
    img, svg { display: block; max-width: 100%; }
    a { color: inherit; text-decoration: none; }
    button { font: inherit; cursor: pointer; }
    p { text-wrap: pretty; }
    h1, h2, h3, h4 { text-wrap: balance; }

    /* ─── layout primitives ─────────────────────────────────────────── */
    .container {
      max-width: var(--container);
      margin-inline: auto;
      padding-inline: var(--gutter);
    }
    .section {
      padding-block: clamp(48px, 8vw, var(--gap-2xl));
    }
    .section + .section { border-top: 1px solid var(--border); }
    .stack { display: flex; flex-direction: column; }
    .stack > * + * { margin-top: var(--gap-md); }
    .row { display: flex; align-items: center; gap: var(--gap-md); }
    .row-between { display: flex; align-items: center; justify-content: space-between; gap: var(--gap-md); }
    .grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap-lg); }
    .grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap-lg); }
    .grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap-md); }
    .grid-2-1 { display: grid; grid-template-columns: 2fr 1fr; gap: var(--gap-xl); align-items: start; }
    .grid-1-2 { display: grid; grid-template-columns: 1fr 2fr; gap: var(--gap-xl); align-items: start; }
    @media (max-width: 920px) {
      .grid-2, .grid-3, .grid-4, .grid-2-1, .grid-1-2 { grid-template-columns: 1fr; }
    }

    /* ─── type ──────────────────────────────────────────────────────── */
    .h1, h1 { font-family: var(--font-display); font-size: var(--fs-h1); line-height: 1.04; letter-spacing: -0.02em; margin: 0; }
    .h2, h2 { font-family: var(--font-display); font-size: var(--fs-h2); line-height: 1.1; letter-spacing: -0.015em; margin: 0; }
    .h3, h3 { font-size: var(--fs-h3); font-weight: 600; line-height: 1.3; letter-spacing: -0.005em; margin: 0; }
    .lead   { font-size: var(--fs-lead); line-height: 1.55; color: var(--muted); max-width: 60ch; margin: 0; }
    .eyebrow {
      font-family: var(--font-mono);
      font-size: 12px;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--accent);
      margin: 0 0 var(--gap-md);
    }
    .meta { font-family: var(--font-mono); font-size: var(--fs-meta); color: var(--muted); }
    .num  { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

    /* ─── chrome: nav + footer ──────────────────────────────────────── */
    .topnav {
      position: sticky; top: 0; z-index: 10;
      background: color-mix(in oklch, var(--bg) 92%, transparent);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--border);
    }
    .topnav-inner { display: flex; align-items: center; justify-content: space-between; padding-block: 14px; }
    .topnav .logo { font-family: var(--font-display); font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
    .topnav nav { display: flex; gap: var(--gap-lg); }
    .topnav nav a { font-size: 14px; color: var(--muted); }
    .topnav nav a:hover { color: var(--fg); }
    .pagefoot { padding-block: var(--gap-xl); color: var(--muted); font-size: 13px; border-top: 1px solid var(--border); }
    .pagefoot .row-between { flex-wrap: wrap; gap: var(--gap-md); }

    /* ─── buttons ───────────────────────────────────────────────────── */
    .btn {
      display: inline-flex; align-items: center; gap: 8px;
      padding: 11px 20px;
      border-radius: var(--radius);
      border: 1px solid transparent;
      font-size: 15px;
      font-weight: 500;
      letter-spacing: -0.005em;
      transition: transform 0.05s ease, background 0.15s ease, border-color 0.15s ease;
    }
    .btn:active { transform: translateY(1px); }
    .btn-icon { width: 18px; height: 18px; flex: none; }
    .btn-primary { background: var(--accent); color: var(--surface); border-color: var(--accent); }
    .btn-primary:hover { background: color-mix(in oklch, var(--accent) 84%, var(--fg)); }
    .btn-secondary { background: transparent; color: var(--fg); border-color: var(--border); }
    .btn-secondary:hover { border-color: var(--fg); }
    .btn-ghost { background: transparent; color: var(--fg); border-color: transparent; padding-inline: 8px; }
    .btn-ghost:hover { color: var(--accent); }
    .btn-arrow::after { content: '→'; transition: transform 0.15s ease; }
    .btn-arrow:hover::after { transform: translateX(2px); }

    /* ─── card / surface ────────────────────────────────────────────── */
    .card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      padding: 28px;
    }
    .card-flat { background: transparent; border: 0; padding: 0; }
    .card-rule { background: transparent; border: 0; border-top: 1px solid var(--fg); padding: 24px 0 0; border-radius: 0; }

    /* ─── feature cell (icon + h3 + p) ──────────────────────────────── */
    .feature .feature-mark {
      width: 36px; height: 36px;
      display: grid; place-items: center;
      border: 1px solid var(--border);
      border-radius: 10px;
      color: var(--accent);
      margin-bottom: var(--gap-md);
    }
    .feature .feature-mark svg { width: 18px; height: 18px; }
    .feature h3 { margin-bottom: 6px; }
    .feature p  { margin: 0; color: var(--muted); font-size: 15px; }

    /* ─── stat (big number + label) ─────────────────────────────────── */
    .stat .stat-num {
      font-family: var(--font-display);
      font-size: clamp(56px, 8vw, 96px);
      line-height: 0.95;
      letter-spacing: -0.04em;
      color: var(--accent);
      font-weight: 600;
    }
    .stat .stat-label { color: var(--muted); font-size: 14px; margin-top: 8px; max-width: 24ch; }
    .stat .stat-unit  { font-size: 0.5em; opacity: 0.7; margin-left: 2px; }

    /* ─── quote / testimonial ───────────────────────────────────────── */
    .quote {
      font-family: var(--font-display);
      font-size: clamp(24px, 2.6vw, 32px);
      line-height: 1.32;
      letter-spacing: -0.01em;
      max-width: 28ch;
    }
    .quote-author { color: var(--muted); font-size: 14px; margin-top: var(--gap-md); }
    .quote-mark   {
      font-family: var(--font-display);
      font-size: 140px; line-height: 0.7;
      color: var(--accent); opacity: 0.18;
      margin-bottom: -28px;
    }

    /* ─── pill / badge / tag ────────────────────────────────────────── */
    .pill {
      display: inline-flex; align-items: center; gap: 6px;
      padding: 4px 10px;
      background: var(--accent-soft);
      color: var(--accent);
      border-radius: 999px;
      font-family: var(--font-mono);
      font-size: 11px;
      letter-spacing: 0.04em;
      text-transform: uppercase;
    }
    .tag {
      display: inline-flex; align-items: center;
      padding: 4px 10px;
      background: transparent;
      color: var(--muted);
      border: 1px solid var(--border);
      border-radius: 999px;
      font-size: 12px;
    }

    /* ─── form field ────────────────────────────────────────────────── */
    .field { display: flex; flex-direction: column; gap: 6px; }
    .field label { font-size: 13px; color: var(--muted); }
    .input, .textarea {
      width: 100%;
      padding: 11px 14px;
      border: 1px solid var(--border);
      border-radius: var(--radius);
      background: var(--surface);
      color: var(--fg);
      font: inherit;
      font-size: 15px;
    }
    .input:focus, .textarea:focus {
      outline: 2px solid var(--accent-soft);
      border-color: var(--accent);
    }
    .textarea { min-height: 96px; resize: vertical; line-height: 1.55; }

    /* ─── table (data-style, no chrome) ─────────────────────────────── */
    .ds-table { width: 100%; border-collapse: collapse; font-size: 14px; }
    .ds-table th, .ds-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--border); }
    .ds-table th { color: var(--muted); font-weight: 500; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; }
    .ds-table tbody tr:hover { background: var(--fg-soft); }
    .ds-table .num-col { font-family: var(--font-mono); font-variant-numeric: tabular-nums; text-align: right; }

    /* ─── image placeholder (DS-tinted block, never broken <img>) ──── */
    .ph-img {
      background:
        linear-gradient(135deg, var(--accent-soft), var(--fg-soft)),
        var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      aspect-ratio: 16 / 10;
      display: grid; place-items: center;
      color: var(--muted);
      font-family: var(--font-mono);
      font-size: 12px;
      letter-spacing: 0.04em;
    }
    .ph-img.square    { aspect-ratio: 1 / 1; }
    .ph-img.portrait  { aspect-ratio: 3 / 4; }
    .ph-img.wide      { aspect-ratio: 16 / 9; }
    .content-img {
      display: block;
      max-width: 100%;
      max-height: min(70vh, 720px);
      width: auto;
      height: auto;
      object-fit: contain;
      justify-self: center;
      border-radius: var(--radius-lg);
    }

    /* ─── divider ───────────────────────────────────────────────────── */
    .rule  { border: 0; border-top: 1px solid var(--border); margin: 0; }
    .rule-strong { border: 0; border-top: 1px solid var(--fg); margin: 0; }

    /* ─── hero variants used by layouts.md ──────────────────────────── */
    .hero          { padding-block: clamp(80px, 12vw, 160px); }
    .hero-center   { text-align: center; max-width: 32ch; margin-inline: auto; }
    .hero h1       { margin-bottom: var(--gap-md); }
    .hero .lead    { margin-bottom: var(--gap-lg); }
    .hero-cta      { display: inline-flex; gap: var(--gap-sm); flex-wrap: wrap; }
    .hero-center .hero-cta { justify-content: center; }
    .hero-split    { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap-2xl); align-items: center; }
    @media (max-width: 920px) { .hero-split { grid-template-columns: 1fr; } }

    /* ─── log row (newsletter, blog list, changelog) ────────────────── */
    .log-row { display: grid; grid-template-columns: 120px 1fr 100px; gap: var(--gap-lg); padding: 22px 0; border-top: 1px solid var(--border); align-items: baseline; }
    .log-row .meta { color: var(--muted); }
    .log-row h3 { font-size: 19px; }
    .log-row .pull { text-align: right; }

    /* Page composition extends the bundled seed's primitives. */
    :root { --container: 1240px; --gutter: clamp(20px, 4vw, 48px); }
    html { scroll-behavior: smooth; scroll-padding-top: 90px; }
    [hidden] { display: none !important; }
    body { overflow-x: hidden; }
    h3, h4 { font-family: var(--font-display); }
    :focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
    a:hover { text-decoration-color: currentColor; }
    .skip { position: absolute; left: 12px; top: -80px; z-index: 30; padding: 12px 18px; background: var(--fg); color: var(--surface); }
    .skip:focus { top: 12px; }
    .topnav-inner { min-height: 82px; gap: 24px; }
    .brand { display: flex; flex-direction: column; line-height: 1.1; white-space: nowrap; }
    .brand strong { font-family: var(--font-display); font-size: 20px; letter-spacing: .02em; }
    .brand small { font-family: var(--font-mono); font-size: 9px; letter-spacing: .13em; margin-top: 6px; color: var(--muted); }
    .topnav nav a { min-height: 44px; display: inline-flex; align-items: center; color: var(--fg); font-weight: 600; }
    .topnav nav a:hover { color: var(--fg); text-decoration: underline; text-underline-offset: 6px; }
    .nav-call { font-size: 14px; font-weight: 650; white-space: nowrap; border-bottom: 1px solid var(--fg); padding-bottom: 4px; }
    .nav-call:hover { border-width: 2px; }
    .mobile-nav { display: none; position: relative; }
    .mobile-nav summary { list-style: none; min-width: 48px; min-height: 48px; display: grid; place-items: center; cursor: pointer; border: 1px solid var(--border); border-radius: var(--radius); }
    .mobile-nav summary::-webkit-details-marker { display: none; }
    .mobile-nav[open] .mobile-links { position: absolute; top: calc(100% + 12px); right: 0; min-width: 230px; background: var(--surface); border: 1px solid var(--border); box-shadow: 0 16px 38px color-mix(in oklch,var(--fg) 14%,transparent); padding: 8px; z-index: 20; }
    .mobile-links a { display: block; padding: 12px; min-height: 44px; font-size: 15px; }
    .mobile-links a:hover { background: var(--fg-soft); }
    .hero { padding-block: clamp(54px, 8vw, 112px); }
    .hero-split { grid-template-columns: minmax(0, 1.13fr) minmax(0, .87fr); gap: clamp(36px, 6vw, 100px); }
    .hero .eyebrow { color: var(--accent); margin-bottom: 28px; }
    .hero h1 { font-size: clamp(43px, 5vw, 72px); line-height: 1.055; letter-spacing: -.035em; max-width: 13.5ch; }
    .hero .lead { color: var(--fg); max-width: 52ch; margin-top: 28px; font-size: clamp(18px, 1.7vw, 21px); }
    .hero-support { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--border); color: var(--muted); font-size: 14px; max-width: 58ch; }
    .hero-cta { margin-top: 34px; }
    .btn { min-height: 48px; justify-content: center; font-weight: 650; }
    .btn-primary:hover { color: var(--surface); }
    .btn-secondary:hover { background: var(--fg-soft); color: var(--fg); }
    .hero-figure { margin: 0; justify-self: end; width: min(100%, 460px); }
    .hero-figure .content-img { width: auto; max-width: 100%; max-height: min(65vh, 590px); height: auto; object-fit: contain; border-radius: var(--radius); background: var(--surface); }
    .hero-figure figcaption { display: flex; justify-content: space-between; gap: 10px; border-top: 1px solid var(--fg); padding-top: 10px; margin-top: 12px; font-family: var(--font-mono); font-size: 11px; color: var(--muted); }
    .intro-band { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding-block: 18px; }
    .intro-band .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; font-size: 13px; font-family: var(--font-mono); letter-spacing: .03em; }
    .section-heading { display: flex; justify-content: space-between; align-items: end; gap: 28px; margin-bottom: 52px; }
    .section-heading h2 { max-width: 14ch; }
    .section-heading p { max-width: 42ch; margin: 0; color: var(--muted); }
    .eyebrow { color: var(--muted); }
    .services-grid { gap: 24px; }
    .service-card { min-width: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: border-color .18s ease, transform .18s ease; }
    .service-card:hover { border-color: var(--fg); transform: translateY(-3px); }
    .service-card-link { display: flex; flex-direction: column; height: 100%; color: var(--fg); text-decoration: none; }
    .service-card-link:focus-visible { outline: 3px solid var(--accent); outline-offset: -4px; border-radius: var(--radius-lg); }
    .service-media { margin: 12px 12px 0; aspect-ratio: 3 / 2; border-radius: var(--radius); overflow: hidden; background: var(--fg-soft); }
    .service-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
    .service-card:hover .service-media img { transform: scale(1.025); }
    .service-copy { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 22px 24px 26px; }
    .service-card .meta { display: block; margin-bottom: 14px; color: var(--muted); }
    .service-card h3 { font-size: clamp(25px, 2.5vw, 34px); line-height: 1.13; letter-spacing: -.02em; }
    .service-card p { max-width: 48ch; color: var(--muted); margin: 14px 0 24px; line-height: 1.6; }
    .service-cta { margin-top: auto; font-weight: 650; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
    .service-card:hover .service-cta { border-bottom-width: 2px; }
    .context-section { background: var(--surface); }
    .context-grid { align-items: center; gap: clamp(38px, 6vw, 90px); }
    .context-photo { margin: 0; }
    .context-photo .content-img { width: 100%; height: auto; max-height: 540px; border-radius: var(--radius); }
    .context-copy h2 { max-width: 14ch; }
    .context-copy > p { color: var(--muted); max-width: 50ch; }
    .context-copy ul { list-style: none; padding: 0; margin: 26px 0; border-top: 1px solid var(--border); }
    .context-copy li { padding: 13px 0; border-bottom: 1px solid var(--border); }
    .text-link { font-weight: 650; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
    .text-link:hover { border-width: 2px; }
    .article-spotlight { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: clamp(25px,5vw,80px); align-items: end; background: var(--fg); color: var(--surface); padding: clamp(28px,4.5vw,64px); margin-bottom: 52px; }
    .article-spotlight .eyebrow, .article-spotlight .meta { color: color-mix(in oklch,var(--surface) 75%,var(--fg)); }
    .article-spotlight h3 { font-size: clamp(28px, 3vw, 42px); line-height: 1.13; }
    .article-spotlight p { color: color-mix(in oklch,var(--surface) 82%,var(--fg)); }
    .article-spotlight figure { margin: 0; }
    .article-spotlight .content-img { width: 100%; height: auto; max-height: none; border-radius: var(--radius); }
    .article-spotlight a { display: inline-block; margin-top: 16px; color: var(--surface); border-bottom: 1px solid var(--surface); padding-bottom: 3px; font-weight: 650; }
    .article-spotlight a:hover { border-width: 2px; }
    .library-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 12px; }
    .library-toolbar .field { width: min(100%, 350px); }
    .library-toolbar label { font-size: 13px; color: var(--fg); font-weight: 650; }
    .input { min-height: 48px; }
    .search-count { color: var(--muted); font-size: 13px; }
    .log-row { grid-template-columns: 110px minmax(0,1fr) 130px; align-items: start; }
    .log-row h3 { font-size: 22px; line-height: 1.24; }
    .log-row h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
    .log-row p { color: var(--muted); margin: 8px 0 0; font-size: 14px; max-width: 68ch; }
    .log-row .pull { font-size: 11px; text-transform: uppercase; line-height: 1.5; }
    .empty-state { display: none; border-top: 1px solid var(--border); padding: 32px 0; color: var(--muted); }
    .about-section { background: var(--surface); }
    .about-grid { align-items: center; grid-template-columns: minmax(0,1.2fr) minmax(0,.8fr); }
    .about-grid h2 { max-width: 14ch; }
    .about-grid p { max-width: 60ch; color: var(--muted); }
    .about-grid .identity { color: var(--fg); font-weight: 700; margin-top: 28px; }
    .city-photo { margin: 0; justify-self: end; }
    .city-photo .content-img { width: auto; max-width: 100%; max-height: 480px; height: auto; border-radius: var(--radius); }
    .contact-section { background: var(--fg); color: var(--surface); }
    .contact-section h2 { max-width: 14ch; }
    .contact-section .lead { color: color-mix(in oklch,var(--surface) 82%,var(--fg)); margin-top: 20px; }
    .contact-section .eyebrow { color: color-mix(in oklch,var(--surface) 78%,var(--fg)); }
    .contact-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
    .contact-section .btn-secondary { color: var(--surface); border-color: color-mix(in oklch,var(--surface) 40%,var(--fg)); }
    .contact-section .btn-secondary:hover { background: color-mix(in oklch,var(--surface) 14%,var(--fg)); color: var(--surface); }
    .contact-info { border-top: 1px solid color-mix(in oklch,var(--surface) 35%,var(--fg)); padding-top: 24px; align-self: end; }
    .contact-info p { color: color-mix(in oklch,var(--surface) 82%,var(--fg)); }
    .contact-info a { text-decoration: underline; text-underline-offset: 3px; }
    .pagefoot { background: var(--fg); color: color-mix(in oklch,var(--surface) 72%,var(--fg)); border-top-color: color-mix(in oklch,var(--surface) 26%,var(--fg)); }
    .pagefoot a:hover { color: var(--surface); text-decoration: underline; }
    @media (max-width: 920px) {
      .topnav nav, .nav-call { display: none; }
      .mobile-nav { display: block; }
      .hero-split, .article-spotlight, .about-grid { grid-template-columns: 1fr; }
      .hero-figure { justify-self: start; width: min(100%, 420px); }
      .section-heading { display: block; }
      .section-heading p { margin-top: 18px; }
      .city-photo { justify-self: start; }
    }
    @media (max-width: 620px) {
      .topnav-inner { min-height: 70px; }
      .brand strong { font-size: 17px; }
      .brand small { font-size: 8px; }
      .hero { padding-block: 48px 64px; }
      .hero h1 { font-size: clamp(40px, 10vw, 56px); }
      .hero .lead { font-size: 17px; }
      .hero-cta, .contact-actions { display: grid; width: 100%; }
      .hero-cta .btn, .contact-actions .btn { width: 100%; }
      .section-heading { margin-bottom: 34px; }
      .service-copy { padding: 20px; }
      .log-row { grid-template-columns: 1fr; gap: 8px; }
      .log-row .pull { text-align: left; }
      .article-spotlight { padding: 28px; }
      .intro-band .container { display: block; }
      .intro-band .container span { display: block; padding: 4px 0; }
      .city-photo .content-img { max-height: 400px; }
    }
    @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
