
  :root {
    color-scheme: light;
    --ground: #F3F4EA;
    --ink: #20261B;
    --ink-soft: #5A6150;
    --boxwood: #3D6B35;
    --pollen: #D9A61A;
    --copper: #A65A38;
    --trellis: #D8DCC8;
    --display: "Besley", "Iowan Old Style", Georgia, serif;
    --body: "Source Serif 4", Georgia, "Times New Roman", serif;
    --mono: "IBM Plex Mono", "SFMono-Regular", Menlo, Consolas, monospace;
  }
  @media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
      color-scheme: dark;
      --ground: #151A10;
      --ink: #E8EAD8;
      --ink-soft: #A9AF98;
      --boxwood: #8FB56A;
      --pollen: #E2B531;
      --copper: #CE8A5F;
      --trellis: #2C3322;
    }
  }
  :root[data-theme="dark"] {
    color-scheme: dark;
    --ground: #151A10;
    --ink: #E8EAD8;
    --ink-soft: #A9AF98;
    --boxwood: #8FB56A;
    --pollen: #E2B531;
    --copper: #CE8A5F;
    --trellis: #2C3322;
  }

  /* ——— bands ———
     The page runs in three grounds: the vellum page, the greenhouse (band A) and
     the conservatory (band B). In dark mode the bands flip: A becomes a lifted
     conservatory, B becomes the greenhouse, so the rhythm survives the switch. */
  .band-a {
    --ground: #E6EDD8; --ink: #1F2619; --ink-soft: #4F5945; --boxwood: #2F5E2B;
    --pollen: #B9840A; --copper: #98502F; --trellis: #BAC8A4;
  }
  .band-b {
    --ground: #151A10; --ink: #E8EAD8; --ink-soft: #A9AF98; --boxwood: #8FB56A;
    --pollen: #E2B531; --copper: #CE8A5F; --trellis: #2C3322;
  }
  @media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .band-a {
      --ground: #1C2316; --ink: #E8EAD8; --ink-soft: #A9AF98; --boxwood: #8FB56A;
      --pollen: #E2B531; --copper: #CE8A5F; --trellis: #35402B;
    }
    :root:not([data-theme="light"]) .band-b {
      --ground: #E6EDD8; --ink: #1F2619; --ink-soft: #4F5945; --boxwood: #2F5E2B;
      --pollen: #B9840A; --copper: #98502F; --trellis: #BAC8A4;
    }
  }
  :root[data-theme="dark"] .band-a {
    --ground: #1C2316; --ink: #E8EAD8; --ink-soft: #A9AF98; --boxwood: #8FB56A;
    --pollen: #E2B531; --copper: #CE8A5F; --trellis: #35402B;
  }
  :root[data-theme="dark"] .band-b {
    --ground: #E6EDD8; --ink: #1F2619; --ink-soft: #4F5945; --boxwood: #2F5E2B;
    --pollen: #B9840A; --copper: #98502F; --trellis: #BAC8A4;
  }

  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
  body {
    background: var(--ground);
    color: var(--ink);
    font-family: var(--body);
    font-size: 18px;
    line-height: 1.68;
    margin: 0;
  }
  a { color: var(--boxwood); text-decoration-thickness: 1px; text-underline-offset: 3px; }
  a:hover { text-decoration-thickness: 2px; }
  a:focus-visible { outline: 2px solid var(--boxwood); outline-offset: 3px; }
  ::selection { background: var(--pollen); color: #20261B; }

  .shell { max-width: 960px; margin: 0 auto; padding: 0 clamp(22px, 6vw, 64px); }
  p { max-width: 33em; margin: 0 0 18px; }
  h1, h2 { text-wrap: balance; }

  .plate-rule { border: 0; border-top: 3px solid var(--ink); margin: 0; }
  .plate-rule::after { content: ""; display: block; border-top: 1px solid var(--ink); margin-top: 3px; }

  /* ——— nav ——— */
  nav { padding: 20px 0 16px; }
  nav .row { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
  .navmark { display: inline-flex; align-items: center; flex-shrink: 0; text-decoration: none; }
  .brand-logo { display: block; width: 176px; height: auto; }
  footer .brand-logo { width: 136px; }
  /* Choose the complete artwork in the page, including on iOS Safari. */
  .brand-logo img { display: block; width: 100%; height: auto; }
  .brand-logo .brand-logo-dark { display: none; }
  @media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .brand-logo .brand-logo-light { display: none; }
    :root:not([data-theme="light"]) .brand-logo .brand-logo-dark { display: block; }
  }
  :root[data-theme="dark"] .brand-logo .brand-logo-light { display: none; }
  :root[data-theme="dark"] .brand-logo .brand-logo-dark { display: block; }

  nav ul { list-style: none; display: flex; gap: 30px; margin: 0; padding: 0; flex-wrap: wrap; }
  nav ul a {
    font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--ink-soft); text-decoration: none;
  }
  nav ul a:hover { color: var(--boxwood); }

  /* ——— section furniture ——— */
  section { padding: clamp(84px, 12vw, 150px) 0; }
  .band { background: var(--ground); color: var(--ink); }
  .band + .band { padding-top: clamp(72px, 10vw, 128px); }
  .label {
    font-family: var(--mono); font-size: 12px; font-weight: 500;
    letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft);
    margin: 0 0 34px; padding-top: 14px; position: relative;
  }
  .label::before {
    content: ""; position: absolute; top: 0; left: 0;
    width: 34px; border-top: 1px solid var(--ink);
  }
  .statement {
    font-family: var(--display); font-weight: 700;
    font-size: clamp(28px, 4.2vw, 46px); line-height: 1.14;
    margin: 0 0 26px; max-width: 21em;
  }
  .mlink {
    font-family: var(--mono); font-size: 13px; font-weight: 600;
    letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--boxwood); text-decoration: none;
  }
  .mlink:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
  .mlink .arr { font-weight: 400; }
  .links { display: flex; gap: 38px; flex-wrap: wrap; margin: 40px 0 0; }

  /* ——— hero ——— */
  .hero { padding: clamp(96px, 15vw, 190px) 0 clamp(84px, 12vw, 150px); }
  .hero .eyebrow {
    font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em;
    text-transform: uppercase; color: var(--ink-soft); margin: 0 0 30px; max-width: none;
  }
  .hero .eyebrow .g { color: var(--boxwood); }
  h1 {
    font-family: var(--display); font-weight: 800;
    font-size: clamp(50px, 9.2vw, 108px); line-height: 0.98;
    letter-spacing: -0.01em; margin: 0 0 38px; max-width: 10em;
  }
  .hero .lede { font-size: clamp(19px, 2.2vw, 22px); line-height: 1.6; max-width: 30em; }

  /* ——— thesis ——— */
  .claim {
    border-top: 1px solid var(--trellis);
    display: grid; grid-template-columns: minmax(0, 1fr);
    gap: 6px 46px; padding: 30px 0;
  }
  @media (min-width: 760px) { .claim { grid-template-columns: 96px minmax(0, 1fr); } }
  .claim:last-of-type { border-bottom: 1px solid var(--trellis); }
  .claim .cid {
    font-family: var(--mono); font-size: 12.5px; font-weight: 600;
    letter-spacing: 0.06em; color: var(--pollen); padding-top: 9px;
  }
  .claim h3 {
    font-family: var(--display); font-weight: 700;
    font-size: clamp(21px, 2.6vw, 28px); line-height: 1.25; margin: 0 0 6px; text-wrap: balance;
  }
  .claim p { margin: 0; color: var(--ink-soft); font-size: 17px; max-width: 36em; }
  .coda {
    font-family: var(--mono); font-size: 12.5px; line-height: 1.7; letter-spacing: 0.03em;
    color: var(--copper); margin: 30px 0 0; max-width: none;
  }

  /* ——— model ——— */
  .steps {
    display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--trellis);
    margin-top: 44px;
  }
  @media (min-width: 820px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 0 40px; } }
  .step { padding: 22px 0 6px; }
  .step .n { font-family: var(--mono); font-size: 12px; color: var(--pollen); font-weight: 600; letter-spacing: 0.06em; display: block; margin-bottom: 8px; }
  .step h3 { font-family: var(--display); font-weight: 700; font-size: 19px; margin: 0 0 6px; }
  .step p { font-size: 14.5px; line-height: 1.6; color: var(--ink-soft); margin: 0; }

  /* ——— platform ——— */
  .layer {
    border-top: 1px solid var(--trellis);
    display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px 40px;
    padding: 26px 0;
  }
  @media (min-width: 820px) { .layer { grid-template-columns: 170px minmax(0,1fr) 200px; align-items: baseline; } }
  .layer:last-of-type { border-bottom: 1px solid var(--trellis); }
  .layer .l-name { font-family: var(--display); font-weight: 800; font-size: 24px; margin: 0; }
  .layer .l-kind {
    font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em;
    text-transform: uppercase; color: var(--ink-soft); display: block; margin-top: 3px;
  }
  .layer p { margin: 0; font-size: 16px; color: var(--ink); max-width: 34em; }
  .layer .l-status {
    font-family: var(--mono); font-size: 11px; letter-spacing: 0.07em; line-height: 1.7;
    text-transform: uppercase; color: var(--ink-soft); margin: 0;
  }
  @media (min-width: 820px) { .layer .l-status { text-align: right; } }

  /* ——— spec specimen ——— */
  .spec {
    font-family: var(--mono); font-size: 13.5px; line-height: 2.1;
    border-left: 2px solid var(--boxwood); padding: 6px 0 6px 26px;
    margin: 38px 0 26px; overflow-x: auto; white-space: nowrap;
  }
  .spec .rule-id { color: var(--boxwood); font-weight: 600; }
  .spec .human { color: var(--copper); }

  /* ——— principals ——— */
  .own {
    font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.06em;
    text-transform: uppercase; color: var(--copper); margin: 34px 0 0; max-width: none;
  }

  /* ——— footer ——— */
  footer { margin-top: clamp(48px, 7vw, 90px); padding-bottom: 30px; }
  footer .plate-rule { margin-bottom: 24px; }
  .foot-row {
    display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
    font-family: var(--mono); font-size: 12px; letter-spacing: 0.05em; color: var(--ink-soft);
  }
  .foot-row a { color: var(--ink-soft); text-decoration: none; }
  .foot-row a:hover { color: var(--boxwood); text-decoration: underline; }
  .foot-legal {
    font-family: var(--mono); font-size: 11px; color: var(--ink-soft);
    line-height: 1.8; margin: 20px 0 0; max-width: none;
  }

  /* Shared public pages: the quiet page, with enough room for navigation and forms. */
  body { font-size: 1.125rem; }
  nav ul { gap: 12px 24px; }
  nav ul a, .label, .hero .eyebrow, .mlink { font-size: .875rem; }
  nav ul a[aria-current="page"] { color: var(--boxwood); text-decoration: underline; text-underline-offset: 6px; }
  .skip { position: absolute; top: -100px; left: 24px; z-index: 10; background: var(--ground); padding: 10px; }
  .skip:focus { top: 12px; }
  .page-hero { padding: clamp(64px, 10vw, 120px) 0 clamp(52px, 8vw, 96px); }
  .page-hero h1 { font-size: clamp(42px, 7vw, 76px); max-width: 12em; line-height: 1.08; }
  .home-hero h1 { font-size: clamp(44px, 8vw, 88px); max-width: 11em; line-height: 1.08; }
  .home-hero { padding-top: clamp(60px, 9vw, 108px); padding-bottom: clamp(64px, 9vw, 108px); }
  .home-section { padding: clamp(64px, 9vw, 108px) 0; }
  .reading { max-width: 38em; }
  .reading h2 { font-family: var(--display); font-size: clamp(26px, 4vw, 36px); line-height: 1.25; margin: 52px 0 22px; }
  .reading h2:first-child { margin-top: 0; }
  .reading p { max-width: none; }
  .text-section { padding-top: 0; }
  .step p, .claim p, .layer p { font-size: 1rem; }
  .step h3 { font-size: 1.25rem; }
  .own, .coda, .foot-row, .layer .l-kind, .layer .l-status { font-size: .8125rem; }
  .foot-legal { font-size: .75rem; }
  .foot-row ul { list-style: none; display: flex; flex-wrap: wrap; gap: 12px 24px; margin: 0; padding: 0; }
  .l-status { text-align: left !important; }
  .note { color: var(--ink-soft); font-size: 1rem; }
  .next { padding-top: 40px; border-top: 1px solid var(--trellis); margin-top: 48px; }
  .benefit { display: grid; gap: 12px 40px; border-top: 1px solid var(--trellis); padding: 30px 0; }
  .benefit h3 { margin: 0; font-family: var(--display); font-weight: 700; font-size: 1.375rem; line-height: 1.3; text-wrap: balance; }
  .benefit p { margin: 0; max-width: 36em; }
  .statement + .benefit { margin-top: 40px; }
  .foot-row { align-items: center; }
  @media (min-width: 760px) { .benefit { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); } }
  .application { padding: 64px 0 80px; min-height: 65vh; }
  .application h1 { font-size: clamp(38px, 6vw, 64px); max-width: 12em; line-height: 1.1; margin-bottom: 24px; }
  .application h2 { font-family: var(--display); font-size: 2rem; line-height: 1.2; margin: 0 0 20px; }
  .application form { max-width: 36em; }
  .field { margin: 28px 0; }
  label { display: block; font-weight: 600; margin-bottom: 8px; }
  input, textarea { display: block; width: 100%; border: 1px solid var(--ink-soft); border-radius: 0; background: var(--ground); color: var(--ink); font: inherit; padding: 12px 14px; }
  textarea { min-height: 130px; resize: vertical; }
  input:focus-visible, textarea:focus-visible, button:focus-visible { outline: 2px solid var(--boxwood); outline-offset: 4px; }
  .check { display: flex; gap: 12px; font-size: 1rem; font-weight: 400; align-items: flex-start; }
  .check input { width: 20px; height: 20px; margin: 4px 0 0; flex-shrink: 0; accent-color: var(--boxwood); }
  button.mlink { background: transparent; border: 0; padding: 12px 0; text-align: left; cursor: pointer; line-height: 1.6; }
  button:disabled { opacity: .55; cursor: wait; }
  .form-actions { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px 32px; margin-top: 24px; }
  .form-actions .secondary { color: var(--ink-soft); }
  .helper { font-size: 1rem; color: var(--ink-soft); margin-bottom: 10px; }
  .status { font-family: var(--mono); font-size: .875rem; line-height: 1.7; padding: 16px 0; }
  .status:empty { display: none; }
  .status.error { color: var(--copper); }
  .honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  [hidden] { display: none !important; }
  .progress { font-family: var(--mono); font-size: .8125rem; color: var(--ink-soft); margin-bottom: 32px; }
  .progress span { color: var(--boxwood); }
  @media (max-width: 560px) {
    nav .row { gap: 12px; }
    nav ul { gap: 8px 18px; }
    nav ul a { font-size: .8125rem; letter-spacing: .03em; }
    .links { gap: 20px; }
    .spec { white-space: normal; line-height: 1.8; font-size: .875rem; }
  }
