/* latin-ext */
@font-face {
  font-family: 'Caprasimo';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/caprasimo-1.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Caprasimo';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/caprasimo-2.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/figtree-1.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/figtree-2.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/figtree-1.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/figtree-2.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/figtree-1.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/figtree-2.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("fonts/figtree-1.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("fonts/figtree-2.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/space-grotesk-1.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/space-grotesk-2.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/space-grotesk-3.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/space-grotesk-1.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/space-grotesk-2.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/space-grotesk-3.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/space-grotesk-1.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/space-grotesk-2.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/space-grotesk-3.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Spectral';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/spectral-1.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Spectral';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/spectral-2.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Spectral';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/spectral-3.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Spectral';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/spectral-4.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Spectral';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/spectral-5.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
</style>

/* -- Organic design system, pruned to what the pages use (see step 7d) -- */
/* Organic — design-system tokens and component classes. This file is the source of truth for the system's look; retune it here and see readme.md. */
/* latin-ext */
@font-face {
  font-family: 'Caprasimo';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/caprasimo-1.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Caprasimo';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/caprasimo-2.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/figtree-1.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/figtree-2.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/figtree-1.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/figtree-2.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/figtree-1.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/figtree-2.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


:root {
  --color-bg: #f1f0ec;
  --color-text: #201e1d;
  --color-accent: #c67139;

  /* Tonal ramps — generated in OKLCH on one shared lightness scale, so the
     same step of any role matches the others in visual value. */



  --font-heading: "Caprasimo", system-ui, sans-serif;
  --font-heading-weight: 400;
  --font-body: "Figtree", system-ui, sans-serif;

  --space-1: 4.4px;
  --space-2: 8.8px;
  --space-3: 13.2px;


  /* Elevation — derived from the ground: soft ink-tinted shadows on a
     light theme, a hairline edge + ambient darkness on a dark one. */
}

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
}
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: var(--font-heading-weight); }


/* ══════════════════════════════════════════════════════════════════════════
   Components — built with the tokens above. Plain CSS
   on plain HTML: no JavaScript, no build step. Each class is documented in
   readme.md and demonstrated in foundations/ and components/.
   ══════════════════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-size: 15px; line-height: 1.55; font-weight: 400; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  line-height: 1.12; letter-spacing: -0.015em; margin: 0 0 var(--space-2);
}
h1 { font-size: 42px; }
h2 { font-size: 32px; }
h3 { font-size: 25px; }
h4 { font-size: 20px; }
h5 { font-size: 16px; }
h6 { font-size: 13px; }
h6 { letter-spacing: 0.08em; text-transform: uppercase; }
p { margin: 0 0 var(--space-3); }
a { color: var(--color-accent); text-underline-offset: 3px; }
img { display: block; max-width: 100%; }
figure { margin: 0; }
figcaption {
  font-size: 11px; margin-top: var(--space-1);
  color: var(--muted, #4b4d50);
}
figcaption :is(h1, h2, h3, h4, h5, h6) { color: var(--ink, #191b1d); }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
::selection { background: color-mix(in srgb, var(--color-accent) 30%, transparent); }

/* — rules — */

/* — buttons — */

/* — forms — */

/* — cards — */

/* — tags — */

/* — navigation — */

/* — tables — */

/* — dialog — */

/* — rounded frame: everything softens, small controls go pill — */



/* -- page -- */

  body { margin: 0; }
  a { color: var(--head, #9f1c00); text-decoration-thickness: 1px; text-underline-offset: 3px; }
  a:hover { color: #c67139; }
  @keyframes baroMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
  @keyframes baroSweep { 0% { transform: rotate(-46deg); } 55% { transform: rotate(6deg); } 100% { transform: rotate(0deg); } }
  @keyframes baroWobble { 0%, 100% { transform: rotate(-14deg); } 25% { transform: rotate(9deg); } 50% { transform: rotate(-5deg); } 75% { transform: rotate(16deg); } }
  @keyframes baroCue { 0%, 100% { transform: translateY(0); opacity: 0.55; } 50% { transform: translateY(7px); opacity: 1; } }
  @media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }


/* -- interaction states (were inline style-hover attributes) -- */
.x1:hover { border-color: #c67139 !important; color: var(--head, #9f1c00) !important; }
.x1:focus-visible { outline: 2px solid #c67139 !important; outline-offset: 2px !important; }
.x2:hover { background: #d98a52 !important; }
.x3:hover { background: #d98a52 !important; }
.x3:active { background: #8c491a !important; color: #efeeec !important; }
.x4:hover { border-color: #c67139 !important; color: var(--head, #9f1c00) !important; }
.x5:focus-visible { outline: 2px solid #c67139 !important; outline-offset: 2px !important; }
.x6:focus-visible { outline: 2px solid #c67139 !important; outline-offset: 2px !important; }
.x7:focus-visible { outline: 2px solid #c67139 !important; outline-offset: 2px !important; }
.x8:hover { background: #e6cd6a !important; }
.x9:hover { color: #d5d8db !important; }
.x9:focus-visible { outline: 2px solid #c67139 !important; outline-offset: 2px !important; }
.x10:hover { background: #d98a52 !important; }
.x11:hover { background: #d98a52 !important; }
.x11:focus-visible { outline: 2px solid #191b1d !important; outline-offset: 2px !important; }
.x12:hover { background: #d98a52 !important; }
.x13:hover { background: #d98a52 !important; }
.x14:hover { background: #d98a52 !important; }
.x15:hover { border-color: #c67139 !important; }
.x16:focus-visible { outline: 2px solid #c67139 !important; outline-offset: 2px !important; }
.x17:hover { background: #ffffff !important; }
.x17:focus-visible { outline: 2px solid #c67139 !important; outline-offset: 2px !important; }

/* -- mobile: completes the responsive pass the canvas only did for the walkthrough -- */
@media (max-width: 780px) {
  .site-header { padding: 12px 16px !important; gap: 8px !important; flex-wrap: wrap !important; row-gap: 10px !important; }
  .site-header > div { gap: 8px !important; }
  .site-header a { padding: 11px 14px !important; font-size: 14.5px !important; }
  .site-header button { padding: 10px 12px !important; min-width: 66px !important; }
  #app main > section { padding-left: 16px !important; padding-right: 16px !important; }
  .hero-grid { grid-template-columns: 1fr !important; gap: 20px !important; padding-top: 24px !important; padding-bottom: 24px !important; min-height: 0 !important; }
  .hero-grid > div:first-child { gap: 14px !important; }
  .walk-cue { display: none !important; }
  .faq-band { padding-top: 56px !important; padding-bottom: 64px !important; margin-bottom: 64px !important; }
  .pause-dark { padding-top: 64px !important; padding-bottom: 64px !important; }
  .reveal-band { padding-top: 56px !important; padding-bottom: 56px !important; }
  .cta-dark { padding-top: 64px !important; padding-bottom: 48px !important; }
  [data-walk-grid] { grid-template-columns: 1fr !important; }
  #app section div[style*="repeat(auto-fit, minmax(300px"] { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)) !important; }
}

/* -- one feature row's text/image order, reset below its own measured wrap point -- */
@media (max-width: 810px) {
  .flip-row-text { order: 0 !important; }
}

/* -- terrain-picker hover, filling a gap the canvas left (focus-visible existed, hover didn't) -- */
.x5:hover, .x6:hover, .x7:hover { border-color: #c67139 !important; }

/* -- header height held constant across themes, and anchors landing clear of it -- */
.site-header [data-action="toggleMode"] { min-width: 72px; text-align: center; }
:root { scroll-padding-top: var(--header-h, 72px); }
@media (max-width: 374px) {
  .site-header { padding-left: 12px !important; padding-right: 12px !important; }
  .site-header > div { gap: 6px !important; }
  .site-header a { padding: 11px 12px !important; }
}

/* -- skip link: silent until Tab asks for it -- */
.skip-link {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip-link:focus-visible {
  position: fixed; top: 12px; left: 12px; z-index: 40;
  width: auto; height: auto; overflow: visible; clip: auto; clip-path: none;
  display: inline-flex; align-items: center; min-height: 44px;
  padding: 12px 22px; border-radius: 999px;
  background: var(--ground, #f1f0ec); color: var(--ink, #191b1d);
  border: 1px solid var(--line, rgba(31,34,36,0.16));
  box-shadow: 0 10px 28px rgba(25,27,29,0.18);
  font-family: 'Figtree', sans-serif; font-size: 16px; font-weight: 600;
  text-decoration: none;
}

/* -- content-page components: the ledger and the crosshair -- */
/* -- the derivation ledger -- */
.lg {
  display: flex; flex-wrap: wrap; gap: 40px;
  width: 100%; margin-top: 10px;
}
.lg-controls { flex: 1 1 290px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.lg-sheet { flex: 2 1 420px; min-width: 0; display: flex; flex-direction: column; }
.lg-legend, .lg-alabel {
  font-family: 'Space Grotesk', monospace; font-size: 11px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--head, #9f1c00);
}
.lg-group {
  display: flex; flex-direction: column; gap: 9px;
  padding-top: 16px; border-top: 1px solid var(--line, rgba(31,34,36,0.16));
}
.lg-glabel { font-family: 'Figtree', sans-serif; font-size: 13px; font-weight: 600; color: var(--muted, #4b4d50); }
.lg-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.lg-chip {
  font-family: 'Space Grotesk', monospace; font-size: 13px; letter-spacing: 0.02em;
  padding: 0 14px; min-height: 44px; border-radius: 999px; border: 0;
  display: inline-flex; align-items: center; cursor: pointer;
  background: transparent; color: var(--muted, #4b4d50);
  box-shadow: inset 0 0 0 1px var(--line, rgba(31,34,36,0.16));
  transition: background 140ms ease-out, color 140ms ease-out;
}
.lg-chip:hover { color: var(--ink, #191b1d); }
.lg-chip[data-on] { background: #c67139; color: #191b1d; font-weight: 600; box-shadow: none; }
.lg-head, .lg-row {
  display: grid; grid-template-columns: 26px minmax(0, 1fr) minmax(74px, auto);
  gap: 0 14px; align-items: start;
}
.lg-head {
  font-family: 'Space Grotesk', monospace; font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--head, #9f1c00);
  padding-bottom: 10px; border-bottom: 1px solid var(--line, rgba(31,34,36,0.16));
}
.lg-head .lg-hop { display: none; }
.lg-head .lg-hrun { text-align: right; }
.lg-row { padding: 15px 0; border-bottom: 1px solid var(--line, rgba(31,34,36,0.16)); }
.lg-n {
  font-family: 'Space Grotesk', monospace; font-size: 13px; font-variant-numeric: tabular-nums;
  color: var(--muted, #4b4d50); padding-top: 4px;
}
.lg-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.lg-name { font-family: 'Figtree', sans-serif; font-size: 17px; font-weight: 800; line-height: 1.3; color: var(--ink, #191b1d); }
.lg-note { font-size: 14px; line-height: 1.5; color: var(--muted, #4b4d50); text-wrap: pretty; }
.lg-num { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; text-align: right; }
.lg-op {
  font-family: 'Space Grotesk', monospace; font-size: 13px; font-variant-numeric: tabular-nums;
  color: var(--muted, #4b4d50);
}
.lg-run {
  font-family: 'Space Grotesk', monospace; font-size: 23px; font-weight: 600;
  font-variant-numeric: tabular-nums; line-height: 1.1; color: var(--ink, #191b1d);
}
.lg-idle .lg-name, .lg-idle .lg-run { color: var(--muted, #4b4d50); font-weight: 400; }
.lg-idle .lg-run { font-size: 15px; padding-top: 5px; }
.lg-answer {
  display: flex; flex-wrap: wrap; gap: 30px; align-items: baseline;
  margin-top: 26px; padding: 22px 26px; border-radius: 16px;
  background: var(--sand, #e2e0d8);
}
.lg-a { display: flex; flex-direction: column; gap: 2px; }
.lg-abig {
  font-family: 'Space Grotesk', monospace; font-size: 44px; font-weight: 600;
  font-variant-numeric: tabular-nums; line-height: 1; color: var(--ink, #191b1d);
}
.lg-anote { flex: 1 1 250px; font-size: 15px; line-height: 1.5; color: var(--muted, #4b4d50); text-wrap: pretty; }
@media (max-width: 460px) {
  .lg-run { font-size: 20px; }
  .lg-abig { font-size: 36px; }
  .lg-answer { padding: 20px; gap: 22px; }
}

/* -- the crosshair on a pressure table -- */
.xt-h, .xt-c {
  font: inherit; color: inherit; letter-spacing: inherit; text-transform: inherit;
  background: transparent; border: 0; padding: 0; margin: 0;
  text-align: inherit; width: 100%; cursor: pointer;
  font-variant-numeric: tabular-nums;
  box-sizing: border-box; min-height: 44px; display: block;
}
tbody .xt-h, .xt-c { padding: 11px 0; }
thead .xt-h { padding: 0 0 10px; }
.xt-c { cursor: crosshair; }
.xt-h:hover, .xt-c:hover { color: #c67139; }
.xt[data-xt-on] tr[data-xt-lit] td[data-xt-cell],
.xt[data-xt-on] td[data-xt-lit] {
  background: rgba(198,113,57,0.20); color: var(--ink, #191b1d) !important;
}
.xt[data-xt-on] tr[data-xt-lit] th[scope="row"] {
  color: #c67139;
  background: linear-gradient(rgba(198,113,57,0.12), rgba(198,113,57,0.12)), var(--ground, #f1f0ec);
}
.xt[data-xt-on] th[data-xt-lit] { color: #c67139; }
.xt[data-xt-on] tr[data-xt-lit] td[data-xt-hit],
.xt[data-xt-on] td[data-xt-hit] {
  background: #c67139; color: #191b1d !important; font-weight: 600;
}
.xt-readout {
  font-family: 'Space Grotesk', monospace; font-size: 13px; letter-spacing: 0.02em;
  color: var(--muted, #4b4d50); margin: 12px 0 0; min-height: 20px;
}
.xt-readout b { font-weight: 600; color: var(--ink, #191b1d); }

/* -- the instruments: one vocabulary, five components -- */
.inst { display: flex; flex-wrap: wrap; gap: 40px; width: 100%; margin-top: 10px; }
.inst-side { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.inst-out { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.inst-group {
  display: flex; flex-direction: column; gap: 9px;
  padding-top: 16px; border-top: 1px solid var(--line, rgba(31,34,36,0.16));
}
.inst-label { font-family: 'Figtree', sans-serif; font-size: 13px; font-weight: 600; color: var(--muted, #4b4d50); }
.inst-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.inst-panel {
  display: flex; flex-direction: column; gap: 14px;
  padding: 26px 28px; border-radius: 16px; background: var(--sand, #e2e0d8);
}
.inst-big {
  font-family: 'Space Grotesk', monospace; font-size: 64px; font-weight: 600;
  font-variant-numeric: tabular-nums; line-height: 1; color: var(--ink, #191b1d);
}
.inst-unit { font-family: 'Space Grotesk', monospace; font-size: 19px; color: var(--muted, #4b4d50); }
.inst-row { display: flex; align-items: baseline; gap: 13px; flex-wrap: wrap; }
.inst-tag {
  font-family: 'Space Grotesk', monospace; font-size: 15px; font-weight: 600;
  letter-spacing: 0.04em; padding: 5px 13px; border-radius: 999px;
  color: var(--muted, #4b4d50); box-shadow: inset 0 0 0 1px var(--line, rgba(31,34,36,0.16));
}
.inst-tag[data-on] { background: #c67139; color: #191b1d; box-shadow: none; }
.inst-note { font-size: 16px; line-height: 1.55; color: var(--muted, #4b4d50); text-wrap: pretty; margin: 0; }
.inst-note[data-on] { color: var(--ink, #191b1d); font-weight: 600; }
.inst-action { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; margin-top: 14px; font-family: 'Figtree', sans-serif; font-size: 15px; font-weight: 700; color: var(--head, #9f1c00); text-decoration: none; border-bottom: 0; }
.inst-action:hover { text-decoration: underline; text-underline-offset: 3px; }
.xt-action { margin: 0; }
.sec-body { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; min-width: 0; max-width: 100%; }
@media (min-width: 1100px) {
  .sec-grid { display: grid !important; grid-template-columns: 168px minmax(0, 1fr); column-gap: 48px; row-gap: 0; align-items: start !important; }
  .sec-idx { position: sticky; top: calc(var(--header-h, 72px) + 20px); }
  .sec-idx > span { flex-direction: column; align-items: flex-start !important; gap: 7px; }
  .sec-idx > span > span:nth-child(2) { width: 40px !important; }
}
.inst-live { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.inst-lines { display: flex; flex-direction: column; gap: 9px; padding-top: 16px; border-top: 1px solid var(--line, rgba(31,34,36,0.16)); }
.inst-line { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; }
.inst-line span:first-child { font-size: 15px; color: var(--muted, #4b4d50); }
.inst-line span:last-child { font-family: 'Space Grotesk', monospace; font-size: 16px; font-variant-numeric: tabular-nums; color: var(--ink, #191b1d); white-space: nowrap; }

.inst-slider { display: flex; flex-direction: column; gap: 10px; padding-top: 16px; border-top: 1px solid var(--line, rgba(31,34,36,0.16)); }
.inst-head { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; }
.inst-val { font-family: 'Space Grotesk', monospace; font-size: 26px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--ink, #191b1d); }
.inst-range {
  -webkit-appearance: none; appearance: none; width: 100%; height: 44px;
  background: linear-gradient(var(--line, rgba(31,34,36,0.16)), var(--line, rgba(31,34,36,0.16)))
    center/100% 4px no-repeat; cursor: pointer; margin: 0;
}
.inst-range::-webkit-slider-thumb {
  -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%;
  background: #c67139; border: 3px solid var(--ground, #f1f0ec); cursor: grab;
}
.inst-range::-moz-range-thumb {
  width: 24px; height: 24px; border-radius: 50%;
  background: #c67139; border: 3px solid var(--ground, #f1f0ec); cursor: grab;
}
.inst-range:focus-visible { outline: 2px solid #c67139; outline-offset: 3px; }
.inst-ends { display: flex; justify-content: space-between; font-family: 'Space Grotesk', monospace; font-size: 11px; letter-spacing: 0.1em; color: var(--muted, #4b4d50); }

/* the decay bars */
.inst-bars { display: flex; align-items: flex-end; gap: 6px; height: 118px; }
.inst-barcol { flex: 1 1 0; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 7px; height: 100%; }
.inst-bar { display: block; width: 100%; border-radius: 6px 6px 2px 2px; background: var(--line, rgba(31,34,36,0.16)); }
.inst-bar[data-on] { background: #c67139; }
.inst-barlabel { font-family: 'Space Grotesk', monospace; font-size: 11px; letter-spacing: 0.08em; color: var(--muted, #4b4d50); white-space: nowrap; }

/* the wet cards and the units grid */
.inst-cards { display: flex; flex-wrap: wrap; gap: 18px; width: 100%; }
.inst-card { display: flex; flex-direction: column; gap: 5px; padding: 22px 24px; border-radius: 16px; background: var(--sand, #e2e0d8); }
.inst-cards > .inst-card { flex: 1 1 250px; min-width: 230px; }
.inst-card .inst-big { font-size: 46px; }
.inst-delta { font-family: 'Space Grotesk', monospace; font-size: 13px; letter-spacing: 0.04em; color: var(--muted, #4b4d50); margin-top: 4px; }
.inst-card[data-on] .inst-delta { color: var(--head, #9f1c00); }
.inst-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; width: 100%; }
.inst-grid .inst-big { font-size: 40px; }
@media (max-width: 720px) { .inst-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 460px) { .inst-big { font-size: 48px; } .inst-grid .inst-big { font-size: 34px; } }

/* the tire-drop drawing */
.inst-draw { width: 100%; max-width: 360px; height: auto; align-self: center; }

/* -- the walkthrough screenshot frame, as a device housing -- */
.shot-frame {
  background: #191b1d !important;
  border-color: var(--demo-rim, transparent) !important;
  box-shadow: var(--demo-shadow, 0 26px 64px rgba(25,27,29,0.28)) !important;
}

/* -- first-landing curtain; see SPLASH_CSS in tools/build.js for why it exists -- */
#baro-splash {
  position: fixed; inset: 0; z-index: 9999;
  display: grid; place-items: center;
  pointer-events: none;
  background: #c67139;
}
#baro-splash[data-out] {
  animation: baroCurtainOut 540ms cubic-bezier(0.7, 0, 0.24, 1) 90ms both;
}
#baro-splash[data-out] .baro-mark {
  animation: baroMarkOut 200ms cubic-bezier(0.4, 0, 1, 1) both;
}
@keyframes baroCurtainOut {
  from { transform: translateY(0); }
  to   { transform: translateY(-101%); }
}
@keyframes baroMarkOut {
  from { opacity: 1; transform: translateY(0); }
  to   { opacity: 0; transform: translateY(-14px); }
}
#baro-splash .baro-mark svg { width: clamp(96px, 11vw, 140px); height: clamp(96px, 11vw, 140px); display: block; }
#baro-splash .baro-field {
  position: absolute; inset: -24px; overflow: hidden;
  display: grid; place-content: space-evenly; justify-items: center; align-items: center;
  grid-template-columns: repeat(var(--cols, 4), 1fr);
  grid-template-rows: repeat(var(--rows, 6), auto);
  opacity: 0.22;
  -webkit-mask-image: radial-gradient(ellipse clamp(190px, 32vw, 420px) clamp(170px, 34vh, 340px) at 50% 50%, transparent 44%, #000 100%);
  mask-image: radial-gradient(ellipse clamp(190px, 32vw, 420px) clamp(170px, 34vh, 340px) at 50% 50%, transparent 44%, #000 100%);
}
#baro-splash .baro-gl {
  display: block; width: 68px; height: 68px;
  fill: none; stroke: #360900; stroke-width: 2.1;
  stroke-linecap: round; stroke-linejoin: round;
}
#baro-splash .baro-gl > * {
  stroke-dasharray: 1 1; stroke-dashoffset: 1;
  animation: baroDraw calc(1000ms * var(--draw-for, 1)) linear both;
  animation-delay: calc(var(--d, 0ms) + 1000ms * var(--draw-at, 0));
}
@keyframes baroDraw { to { stroke-dashoffset: 0; } }
#baro-splash .baro-gl > [data-fill] {
  fill: #360900; stroke: none; opacity: 0;
  animation: baroInk 260ms cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: calc(var(--d, 0ms) + 1000ms);
}
@keyframes baroInk { to { opacity: 1; } }
#baro-splash .baro-lockup {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
#baro-splash .baro-word {
  font-family: 'Caprasimo', Georgia, serif;
  font-size: clamp(21px, 2.6vw, 34px); line-height: 1; letter-spacing: -0.01em;
  color: #360900; white-space: nowrap;
  opacity: 0; transform: translateY(6px);
  transition: opacity 180ms ease, transform 180ms cubic-bezier(0.16, 1, 0.3, 1);
}
#baro-splash[data-type] .baro-word { opacity: 1; transform: none; }
#baro-splash .baro-word i { font-style: normal; color: #f3e8c1; }
@media (prefers-reduced-motion: reduce) {
  #baro-splash .baro-gl > * { animation: none; stroke-dashoffset: 0; }
  #baro-splash .baro-gl > [data-fill] { animation: none; opacity: 1; }
  #baro-splash .baro-word { transition: none; }
}
#baro-splash .baro-needle {
  transform-origin: 36px 36px;
  animation: baroReading 820ms cubic-bezier(0.16, 0.9, 0.3, 1) both;
}
@keyframes baroReading {
  0%   { transform: rotate(-54deg); }
  58%  { transform: rotate(11deg); }
  80%  { transform: rotate(-4deg); }
  100% { transform: rotate(0deg); }
}
