/* Stamen Design System — shared tokens & components
   Extracted from stamen.com (live theme tokens + 4 signature plant icons + real wordmark + 22 brand assets), captured 2026-05-12.
   Stack: WordPress · custom theme `wp-content/themes/stamen/` · Bootstrap 5 scaffolding · HelveticaNeue single-family.
   Brand: Stamen Design LLC — 25-year SF-Mission data viz + cartography studio. National Design Award (Smithsonian).
          Watercolor map style in Cooper Hewitt collection. "design by doing." Single-family Helvetica + signature #FFFF00.
   Audience: B2B enterprise / civic / cultural / nonprofit (3 service tracks: storytelling, cartography, interactive).
   Voice: "design by doing" · "data visualization, cartography, data products" · "more effective than we are efficient" ·
          "doing good with data" · "utility and beauty share an equal footing" · "transparency, curiosity, and joy".
   Signature visual moves: yellow #FFFF00 inline highlights (60%-from-baseline underline), Toner monochrome discipline,
                           the 4 plant icons (lily/bacon/garden-table/woodpile) as section ornaments, the Map Trinity
                           (Toner/Watercolor/Terrain) as the brand's strongest visual citation, HelveticaNeue + Georgia
                           italic accent only (no Google Fonts, no Inter, no Roboto). */

:root {
  /* ----------------------------------------------------------------
     COLOR — extracted verbatim from `wp-content/themes/stamen/style.css?ver=20220921`
     and inline blocks on the live homepage / about / services pages.

     The brand is a disciplined three-color: stark monochrome + signature yellow + electric blue accent.
     #FFFF00 appeared 125× in the live CSS — it is THE brand color, not an accent.

     The signature combination:
       - Black #000000       → wordmark, headlines, primary CTA, "Toner discipline" grounds
       - White #FFFFFF       → surface, ground
       - Yellow #FFFF00      → signature highlight (60%-from-baseline inline underline), CTA fill
       - Navy #112337        → softened dark panels (alt to pure black, used in inline blocks)
       - Blue #204CE5        → links / interactive states
       - Slate #585E6A       → body secondary, captions
       - Surface #F5F5F5     → section panel ground
  ---------------------------------------------------------------- */

  /* SIGNATURE YELLOW — the dominant accent (125× in live theme) */
  --stamen-yellow: #FFFF00;             /* live theme yellow — highlight underlay, CTA fill */
  --stamen-yellow-deep: #E8E800;        /* derived darken — readable yellow text on white */
  --stamen-yellow-soft: #FFFB80;        /* derived lighten — section background washes */
  --stamen-yellow-pale: #FFFFCC;        /* derived pale — large background washes */

  /* MONOCHROME CORE — the Toner discipline */
  --stamen-black: #000000;              /* logo, headlines, hard ink, primary button */
  --stamen-white: #FFFFFF;              /* surface */
  --stamen-navy: #112337;               /* live inline-block dark — slightly warmer than pure black */

  /* ELECTRIC BLUE — interactive states */
  --stamen-blue: #204CE5;               /* primary link, hover state on dark CTAs */
  --stamen-blue-deep: #001AB3;          /* hover, emphasis */
  --stamen-blue-light: #527EFF;         /* soft accent, focus glow */
  --stamen-blue-pale: #E6EBFF;          /* derived pale — surface tint */

  /* SLATE INK */
  --ink: #1A1A1A;                       /* primary body — softened from pure black */
  --ink-pure: #000000;
  --ink-soft: #585E6A;                  /* live secondary body */
  --ink-mid: #686E77;                   /* live meta / captions */
  --ink-quiet: #A1A6AE;                 /* derived */
  --ink-faint: #C7CBD1;                 /* derived very-pale */

  /* BACKGROUNDS */
  --bg: #FFFFFF;
  --bg-pure: #FFFFFF;
  --bg-soft: #F5F5F5;                   /* live section panel ground */
  --bg-soft-2: #EBEBEB;                 /* live border-y */
  --bg-warm: #FFFFCC;                   /* derived yellow-pale */
  --bg-cool: #E6EBFF;                   /* derived blue-pale */
  --bg-dark: #000000;                   /* Toner black ground for inverted sections */
  --bg-deepest: #112337;                /* live navy ground for slightly-softer dark sections */

  /* BORDER + RULE */
  --border: #EBEBEB;                    /* live light border */
  --border-mid: #A1A6AE;
  --border-soft: #F0F0F0;
  --rule: #000000;                      /* the Toner hairline */

  /* CANONICAL GRADIENTS — used sparingly. Toner discipline = no gradients except these three */
  --grad-yellow-highlight: linear-gradient(180deg, transparent 60%, var(--stamen-yellow) 60%);
  --grad-watercolor: conic-gradient(from 220deg at 50% 50%, #d6c2a0 0deg, #f0e0c0 90deg, #c0d4c8 180deg, #d8c8c0 270deg, #d6c2a0 360deg);
  --grad-toner-noise: radial-gradient(circle at 30% 40%, #000 0%, #000 0.5%, transparent 0.6%), radial-gradient(circle at 70% 60%, #000 0%, #000 0.5%, transparent 0.6%);
  --grad-terrain: repeating-linear-gradient(45deg, #c9d4b4 0px, #c9d4b4 18px, #b5c4a3 18px, #b5c4a3 20px), repeating-linear-gradient(-45deg, #d4c8a4 0px, #d4c8a4 16px, #c5b890 16px, #c5b890 18px);
  --grad-hero-scrim: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,0.55) 75%, rgba(0,0,0,0.85) 100%);

  /* TYPE — HelveticaNeue single-family discipline (no Google Fonts) + Georgia italic accent */
  --font-display: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-body: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-serif: Georgia, "Times New Roman", serif;
  --font-mono: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;

  /* Live type scale (from theme CSS), promoted to fluid clamp */
  --text-display: clamp(2.75rem, 5vw + 1rem, 5.5rem);    /* 88px desktop, 44px mobile */
  --text-h1: clamp(2.25rem, 3.5vw + 1rem, 4rem);         /* 64px → 36px */
  --text-h2: clamp(1.875rem, 2vw + 1rem, 3rem);          /* 48px → 30px */
  --text-h3: clamp(1.5rem, 1vw + 1rem, 2rem);            /* 32px → 24px */
  --text-h4: clamp(1.25rem, 0.5vw + 1rem, 1.375rem);     /* 22px → 20px */
  --text-h5: 1.125rem;                                    /* 18px */
  --text-h6: 1rem;
  --text-body-lg: 1.1875rem;                              /* 19px lede */
  --text-body: 1rem;
  --text-meta: 0.875rem;
  --text-eyebrow: 0.6875rem;                              /* 11px tracked */

  /* RADIUS — Stamen runs sharp. Default 0; minimal pill for inline tags */
  --radius-none: 0;
  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 4px;                                       /* deliberately small — Toner discipline */
  --radius-pill: 999px;

  /* SHADOWS — reserved for z-axis only (sticky headers). Cards do not float. */
  --shadow-sticky: 0 1px 0 rgba(0,0,0,0.06), 0 4px 12px rgba(0,0,0,0.04);
  --shadow-cta-yellow: 0 6px 18px rgba(255,255,0,0.40);
  --shadow-cta-black: 0 6px 18px rgba(0,0,0,0.20);
  --shadow-hero: 0 30px 60px -20px rgba(0,0,0,0.30);

  /* MOTION */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 150ms;
  --t-base: 260ms;
  --t-slow: 460ms;

  /* SPACING */
  --space-2xs: 0.25rem;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;
}

/* =============================================================== RESET =============================================================== */

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img, svg, video { display: block; max-width: 100%; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--stamen-yellow); outline-offset: 2px; border-radius: 2px; }
::selection { background: var(--stamen-yellow); color: var(--stamen-black); }

/* =============================================================== TYPOGRAPHY =============================================================== */

.display, .h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--font-display);
  color: var(--stamen-black);
  margin: 0;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.display {
  font-size: var(--text-display);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.h1 { font-size: var(--text-h1); font-weight: 700; line-height: 1.05; letter-spacing: -0.022em; text-wrap: balance; }
.h2 { font-size: var(--text-h2); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; text-wrap: balance; }
.h3 { font-size: var(--text-h3); font-weight: 700; line-height: 1.15; letter-spacing: -0.015em; }
.h4 { font-size: var(--text-h4); font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }
.h5 { font-size: var(--text-h5); font-weight: 700; line-height: 1.25; }
.h6 { font-size: var(--text-h6); font-weight: 700; line-height: 1.3; }

/* Signature display — lowercase, "design by doing"-style, with yellow underline rule baked in */
.display-lower {
  font-family: var(--font-display);
  font-size: var(--text-display);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: -0.03em;
  text-transform: lowercase;
  color: var(--stamen-black);
  display: inline;
  background: linear-gradient(180deg, transparent 62%, var(--stamen-yellow) 62%, var(--stamen-yellow) 92%, transparent 92%);
  padding: 0 0.04em;
  text-wrap: balance;
}

/* Body presets */
.lede { font-family: var(--font-body); font-size: var(--text-body-lg); font-weight: 400; line-height: 1.55; color: var(--ink); max-width: 60ch; margin: 0; text-wrap: pretty; }
.lede-lg { font-size: 1.375rem; font-weight: 400; line-height: 1.45; color: var(--ink); max-width: 56ch; text-wrap: pretty; }
.body-copy { font-size: var(--text-body-lg); font-weight: 400; color: var(--ink); text-wrap: pretty; }
.body-copy-2 { font-size: var(--text-body); font-weight: 400; color: var(--ink); }
.meta { font-size: var(--text-meta); color: var(--ink-mid); }
.muted { color: var(--ink-mid); }
.maxw-prose { max-width: 60ch; }
.maxw-prose.center { margin-inline: auto; }
.text-center { text-align: center; }

/* Eyebrow — 11px tracked uppercase, museum-wall-label energy */
.eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-eyebrow);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-mid);
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow.yellow { color: var(--stamen-black); background: var(--stamen-yellow); padding: 3px 8px; }
.eyebrow.black { color: var(--stamen-black); }
.eyebrow.blue { color: var(--stamen-blue); }
.eyebrow.muted { color: var(--ink-mid); }
.eyebrow.with-bar::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: currentColor;
}

.color-yellow { color: var(--stamen-yellow-deep); }
.color-black { color: var(--stamen-black); }
.color-blue { color: var(--stamen-blue); }
.color-navy { color: var(--stamen-navy); }
.color-ink { color: var(--ink); }
.color-ink-soft { color: var(--ink-soft); }
.color-ink-mid { color: var(--ink-mid); }
.bg-yellow-pale { background: var(--bg-warm); }

/* The signature inline highlight — 60%-from-baseline yellow underline */
.hl, mark {
  background: linear-gradient(180deg, transparent 62%, var(--stamen-yellow) 62%, var(--stamen-yellow) 92%, transparent 92%);
  color: inherit;
  padding: 0 0.05em;
}
.hl-full {
  background: var(--stamen-yellow);
  color: var(--stamen-black);
  padding: 0.05em 0.25em;
}

/* Serif italic accent — for pull-quotes, book titles, the *Cradle to Cradle* reference */
.serif-it {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.005em;
}

/* Wordmark — lowercase 'stamen' */
.wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.04em;
  text-transform: lowercase;
  color: var(--stamen-black);
}
.wordmark.on-dark { color: var(--stamen-white); }

/* =============================================================== TONER RULE (signature divider) =============================================================== */

.toner-rule {
  display: block;
  height: 1px;
  width: 100%;
  background: var(--stamen-black);
  margin: 0;
  border: 0;
}
.toner-rule.thick { height: 2px; }
.toner-rule.fat { height: 4px; }
.toner-rule.yellow { background: var(--stamen-yellow); }
.toner-rule.short { width: 60px; }
.toner-rule.center { margin-inline: auto; }

.hr { border: 0; height: 1px; background: var(--border); margin: 0; }
.hr-yellow { border: 0; height: 4px; background: var(--stamen-yellow); margin: 0; }

/* =============================================================== LAYOUT =============================================================== */

.container {
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 3.5rem);
}
.container.narrow { max-width: 960px; }
.container.wide { max-width: 1440px; }
.container.prose { max-width: 760px; }

.section { padding-block: clamp(3rem, 7vw, 7rem); }
.section.tight { padding-block: clamp(2rem, 4vw, 4rem); }
.section.bg-soft { background: var(--bg-soft); }
.section.bg-warm { background: var(--bg-warm); }
.section.bg-cool { background: var(--bg-cool); }
.section.bg-yellow { background: var(--stamen-yellow); color: var(--stamen-black); }
.section.bg-dark { background: var(--bg-dark); color: var(--stamen-white); }
.section.bg-dark .display, .section.bg-dark .h1, .section.bg-dark .h2, .section.bg-dark .h3, .section.bg-dark .h4 { color: var(--stamen-white); }
.section.bg-dark .lede, .section.bg-dark .body-copy { color: rgba(255,255,255,0.82); }
.section.bg-dark .eyebrow { color: var(--stamen-yellow); }
.section.bg-dark .toner-rule { background: rgba(255,255,255,0.18); }
.section.bg-deepest { background: var(--bg-deepest); color: var(--stamen-white); }
.section.bg-deepest .display, .section.bg-deepest .h1, .section.bg-deepest .h2, .section.bg-deepest .h3 { color: var(--stamen-white); }
.section.bg-deepest .lede { color: rgba(255,255,255,0.82); }
.section.bg-deepest .eyebrow { color: var(--stamen-yellow); }

.section-head { margin-bottom: clamp(2rem, 4vw, 3rem); max-width: 64ch; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.wide { max-width: 80ch; }

.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-xs { gap: var(--space-xs); }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }
.gap-xl { gap: var(--space-xl); }
.gap-2xl { gap: var(--space-2xl); }
.gap-12 { gap: 12px; }
.gap-24 { gap: 24px; }
.gap-48 { gap: 48px; }

.grid { display: grid; gap: var(--space-lg); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
.grid-6 { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 980px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .grid-6 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .grid-5, .grid-6 { grid-template-columns: repeat(2, 1fr); }
}

.row-2col { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.row-2col.reverse { grid-template-columns: 1fr 1.1fr; }
.row-2col.equal { grid-template-columns: 1fr 1fr; }
@media (max-width: 880px) { .row-2col, .row-2col.reverse, .row-2col.equal { grid-template-columns: 1fr; } }

.mt-md { margin-top: var(--space-md); } .mt-lg { margin-top: var(--space-lg); } .mt-xl { margin-top: var(--space-xl); }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; } .mt-48 { margin-top: 48px; } .mt-64 { margin-top: 64px; }
.mb-md { margin-bottom: var(--space-md); } .mb-lg { margin-bottom: var(--space-lg); }
.spacer { height: var(--space-2xl); } .spacer-lg { height: var(--space-4xl); }

/* =============================================================== BUTTONS — Toner discipline =============================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.005em;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--t-base) var(--ease), color var(--t-base) var(--ease), border-color var(--t-base) var(--ease), transform var(--t-base) var(--ease);
  white-space: nowrap;
}
.btn-sm { padding: 10px 16px; font-size: 0.85rem; }
.btn-lg { padding: 16px 30px; font-size: 1.0625rem; }

/* BLACK — the primary CTA (Toner discipline) */
.btn-black {
  background: var(--stamen-black);
  border-color: var(--stamen-black);
  color: var(--stamen-white);
}
.btn-black:hover {
  background: var(--stamen-yellow);
  border-color: var(--stamen-yellow);
  color: var(--stamen-black);
}

/* YELLOW — the signature CTA */
.btn-yellow {
  background: var(--stamen-yellow);
  border-color: var(--stamen-yellow);
  color: var(--stamen-black);
}
.btn-yellow:hover {
  background: var(--stamen-black);
  border-color: var(--stamen-black);
  color: var(--stamen-yellow);
}

/* YELLOW with hard-offset black drop shadow — the live-site "Work With Us" signature button.
   No soft blur — a flat 8x8 offset rectangle, exactly like the Stamen site. */
.btn-yellow-shadow {
  background: var(--stamen-yellow);
  border: 2px solid var(--stamen-black);
  color: var(--stamen-black);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.0625rem;
  padding: 16px 32px;
  border-radius: 0;
  box-shadow: 8px 8px 0 0 var(--stamen-black);
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  cursor: pointer;
}
.btn-yellow-shadow:hover {
  transform: translate(4px, 4px);
  box-shadow: 4px 4px 0 0 var(--stamen-black);
}
.btn-yellow-shadow:active {
  transform: translate(8px, 8px);
  box-shadow: 0 0 0 0 var(--stamen-black);
}

/* OUTLINE — black ring */
.btn-outline {
  background: transparent;
  color: var(--stamen-black);
  border-color: var(--stamen-black);
}
.btn-outline:hover {
  background: var(--stamen-black);
  color: var(--stamen-yellow);
}

/* BLUE — interactive secondary */
.btn-blue {
  background: var(--stamen-blue);
  border-color: var(--stamen-blue);
  color: var(--stamen-white);
}
.btn-blue:hover {
  background: var(--stamen-blue-deep);
  border-color: var(--stamen-blue-deep);
}

/* GHOST — quietest */
.btn-ghost {
  background: transparent;
  color: var(--stamen-black);
  border-color: transparent;
  padding-left: 0;
  padding-right: 0;
}
.btn-ghost:hover { color: var(--stamen-blue); }

/* On-dark variants */
.btn-outline-light {
  background: transparent;
  color: var(--stamen-white);
  border-color: rgba(255,255,255,0.55);
}
.btn-outline-light:hover {
  background: var(--stamen-yellow);
  color: var(--stamen-black);
  border-color: var(--stamen-yellow);
}
.btn-white {
  background: var(--stamen-white);
  border-color: var(--stamen-white);
  color: var(--stamen-black);
}
.btn-white:hover {
  background: var(--stamen-yellow);
  border-color: var(--stamen-yellow);
}

.btn .arrow {
  display: inline-block;
  font-size: 1.1em;
  line-height: 1;
  transition: transform var(--t-base) var(--ease);
}
.btn:hover .arrow { transform: translateX(4px); }

/* Text link with yellow-highlight hover */
.text-link {
  display: inline;
  color: var(--stamen-black);
  font-weight: 600;
  border-bottom: 2px solid var(--stamen-yellow);
  padding-bottom: 1px;
  transition: background var(--t-base) var(--ease), color var(--t-base) var(--ease);
}
.text-link:hover { background: var(--stamen-yellow); }
.text-link.arrow::after { content: ' →'; }
.text-link.blue { border-bottom-color: var(--stamen-blue); }
.text-link.blue:hover { background: var(--stamen-blue); color: var(--stamen-white); }

/* =============================================================== CARDS — hairline-only, no shadow =============================================================== */

.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: clamp(1.5rem, 2.5vw, 2rem);
  transition: border-color var(--t-base) var(--ease), background var(--t-base) var(--ease);
}
.card:hover { border-color: var(--stamen-black); }
.card.yellow:hover { background: var(--bg-warm); border-color: var(--stamen-black); }

/* Service tile — co-equal 3-service signature pattern */
.service-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  text-decoration: none;
  color: inherit;
  transition: all var(--t-base) var(--ease);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--stamen-yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-base) var(--ease);
}
.service-card:hover {
  border-color: var(--stamen-black);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card .num {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ink-mid);
}
.service-card .icon {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--stamen-yellow); border-radius: var(--radius-md);
}
.service-card .icon img { width: 28px; height: 28px; }
.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--stamen-black);
  margin: 0;
}
.service-card .desc { font-size: 1rem; color: var(--ink-soft); flex: 1; margin: 0; line-height: 1.55; }
.service-card .link { font-size: 0.9375rem; font-weight: 700; color: var(--stamen-black); display: inline-flex; align-items: center; gap: 6px; }
.service-card .link::after { content: "→"; transition: transform var(--t-base) var(--ease); }
.service-card:hover .link::after { transform: translateX(4px); }

/* Value tile — for "what we're about" blocks (4 statements from live About).
   Stamen signature: vertical YELLOW LEFT-BORDER (not top), padding-left for the rule.
   Matches the live site's "What we're about" 4-up grid exactly. */
.value-tile {
  background: var(--bg);
  border-left: 4px solid var(--stamen-yellow);
  padding: 0.25rem 0 0.5rem 1.5rem;
  display: flex; flex-direction: column; gap: 12px;
}
.value-tile .label { font-family: var(--font-body); font-size: var(--text-eyebrow); font-weight: 700; text-transform: uppercase; letter-spacing: 0.16em; color: var(--ink-mid); }
.value-tile h3 { font-family: var(--font-display); font-size: 1.375rem; font-weight: 700; line-height: 1.2; letter-spacing: -0.015em; color: var(--stamen-black); margin: 0; }
.value-tile p { color: var(--ink); font-size: 1rem; line-height: 1.55; margin: 0; }

/* Variant: top-border (kept for cases where the kit needs a horizontal accent rule on cards in a row) */
.value-tile.top-rule {
  border-left: 0;
  border-top: 4px solid var(--stamen-yellow);
  padding: 1.75rem 0 1.25rem;
}

/* Bio card */
.bio-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 1.5rem; text-align: left; }
.bio-card .avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--stamen-yellow); margin-bottom: 1rem; display: inline-flex; align-items: center; justify-content: center; color: var(--stamen-black); font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; }
.bio-card .name { font-family: var(--font-display); font-weight: 700; font-size: 1.0625rem; color: var(--stamen-black); margin: 0; letter-spacing: -0.01em; }
.bio-card .role { font-size: 0.875rem; color: var(--ink-mid); margin: 4px 0 12px; }

/* Case card — project tile */
.case-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; display: flex; flex-direction: column; transition: border-color var(--t-base) var(--ease), transform var(--t-base) var(--ease); text-decoration: none; color: inherit; }
.case-card:hover { border-color: var(--stamen-black); transform: translateY(-3px); }
.case-card .photo { aspect-ratio: 16/10; overflow: hidden; background: var(--bg-soft); }
.case-card .photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease-out-expo); }
.case-card:hover .photo img { transform: scale(1.04); }
.case-card .body { padding: 20px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.case-card .body .meta { font-size: var(--text-eyebrow); font-weight: 700; text-transform: uppercase; letter-spacing: 0.16em; color: var(--ink-mid); }
.case-card .body h3 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; line-height: 1.2; letter-spacing: -0.015em; color: var(--stamen-black); margin: 0; }
.case-card .body .desc { font-size: 0.9375rem; color: var(--ink-soft); line-height: 1.5; margin: 0; }
.case-card .body .link { font-size: 0.875rem; font-weight: 700; color: var(--stamen-black); margin-top: auto; }
.case-card .body .link::after { content: " →"; }

/* =============================================================== HEADER + NAV =============================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sticky);
}
.site-header .nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px clamp(1.25rem, 4vw, 3.5rem);
  max-width: 1440px; margin-inline: auto;
  gap: 32px;
}
.site-header .brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.site-header .brand img { height: 28px; width: auto; }
.site-header .brand .plant-mark { width: 24px; height: 24px; opacity: 0.85; }
.site-header .nav-links { display: flex; align-items: center; gap: 32px; list-style: none; padding: 0; margin: 0; }
.site-header .nav-links a { font-size: 0.9375rem; font-weight: 500; color: var(--stamen-black); position: relative; padding: 4px 0; }
.site-header .nav-links a::after {
  content: '';
  position: absolute; bottom: -2px; left: 0; right: 0; height: 3px;
  background: var(--stamen-yellow);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--t-base) var(--ease);
}
.site-header .nav-links a:hover::after,
.site-header .nav-links a.active::after { transform: scaleX(1); }
.site-header .nav-cta { display: flex; gap: 12px; align-items: center; }

@media (max-width: 880px) {
  .site-header .nav-links { display: none; }
  .site-header .nav-cta .btn-text-only { display: none; }
}

/* =============================================================== HERO =============================================================== */

.hero {
  padding: clamp(4rem, 8vw, 8rem) 0 clamp(3rem, 6vw, 6rem);
  position: relative;
  overflow: hidden;
}
.hero.bg-soft { background: var(--bg-soft); }
.hero .container { position: relative; z-index: 1; }
.hero .eyebrow { margin-bottom: 24px; }
.hero .display { margin-bottom: 32px; max-width: 16ch; }
.hero .lede { margin-bottom: 40px; }
.hero .cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-row { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: end; }
@media (max-width: 980px) { .hero-row { grid-template-columns: 1fr; } }
.hero-art { aspect-ratio: 5/6; background: var(--bg-soft); border: 1px solid var(--border); overflow: hidden; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; }

/* "design by doing" signature hero block */
.design-by-doing {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 6rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.94;
  text-transform: lowercase;
  color: var(--stamen-black);
  text-wrap: balance;
}
.design-by-doing .yellow {
  background: var(--stamen-yellow);
  padding: 0.04em 0.06em;
}
.design-by-doing .underlined {
  background: linear-gradient(180deg, transparent 60%, var(--stamen-yellow) 60%, var(--stamen-yellow) 92%, transparent 92%);
}

/* =============================================================== MAP TRINITY (signature pattern) =============================================================== */

.map-trinity { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--stamen-black); border: 1px solid var(--stamen-black); }
@media (max-width: 880px) { .map-trinity { grid-template-columns: 1fr; } }

.map-tile {
  aspect-ratio: 4/3;
  position: relative;
  overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 20px;
  background: var(--bg);
  color: var(--stamen-black);
}
.map-tile .caption {
  position: relative;
  z-index: 2;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: var(--stamen-white);
  padding: 8px 14px;
  display: inline-block;
  align-self: flex-start;
}
.map-tile .style-label {
  position: relative;
  z-index: 2;
  font-size: var(--text-eyebrow);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-mid);
  background: var(--stamen-white);
  padding: 4px 8px;
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 8px;
}

/* Toner tile — pure B&W contour pattern */
.map-tile.toner {
  background:
    linear-gradient(90deg, transparent 79%, #000 79%, #000 80%, transparent 80%),
    linear-gradient(0deg, transparent 49%, #000 49%, #000 50%, transparent 50%),
    linear-gradient(0deg, transparent 19%, #000 19%, #000 20%, transparent 20%),
    linear-gradient(90deg, transparent 39%, #000 39%, #000 40%, transparent 40%),
    linear-gradient(90deg, transparent 19%, #000 19%, #000 20%, transparent 20%),
    linear-gradient(45deg, transparent 64%, #000 64%, #000 65%, transparent 65%),
    radial-gradient(circle at 65% 35%, #000 0%, #000 1.5%, transparent 1.6%),
    radial-gradient(circle at 25% 75%, #000 0%, #000 1%, transparent 1.1%),
    radial-gradient(circle at 80% 80%, #000 0%, #000 1.2%, transparent 1.3%),
    #ffffff;
  background-size: 100% 100%;
}

/* Watercolor tile — painterly conic gradient wash */
.map-tile.watercolor {
  background:
    radial-gradient(ellipse at 30% 30%, rgba(214, 194, 160, 0.65) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 40%, rgba(192, 212, 200, 0.55) 0%, transparent 55%),
    radial-gradient(ellipse at 40% 70%, rgba(216, 200, 192, 0.55) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(240, 224, 192, 0.6) 0%, transparent 55%),
    radial-gradient(ellipse at 20% 50%, rgba(200, 180, 160, 0.4) 0%, transparent 60%),
    #f5ecdc;
}
.map-tile.watercolor::after {
  /* Paper grain */
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 12% 22%, rgba(180,160,140,0.10) 0%, transparent 4%),
    radial-gradient(circle at 80% 18%, rgba(160,180,170,0.12) 0%, transparent 3%),
    radial-gradient(circle at 30% 75%, rgba(190,170,160,0.10) 0%, transparent 4%),
    radial-gradient(circle at 70% 60%, rgba(180,200,190,0.10) 0%, transparent 3%);
  pointer-events: none;
}

/* Terrain tile — topo contour lines in greens/tans */
.map-tile.terrain {
  background:
    repeating-radial-gradient(circle at 30% 40%, transparent 0px, transparent 16px, rgba(120,140,100,0.35) 16px, rgba(120,140,100,0.35) 18px),
    repeating-radial-gradient(circle at 70% 60%, transparent 0px, transparent 14px, rgba(140,120,90,0.30) 14px, rgba(140,120,90,0.30) 16px),
    repeating-radial-gradient(circle at 80% 25%, transparent 0px, transparent 12px, rgba(110,130,90,0.30) 12px, rgba(110,130,90,0.30) 14px),
    linear-gradient(135deg, #d4d8b8 0%, #c9d4b4 40%, #d4c8a4 70%, #c5b890 100%);
}

/* =============================================================== PLANT-ICON MARKER (signature) =============================================================== */

.plant-mark {
  display: inline-block;
  width: 32px; height: 32px;
  vertical-align: middle;
  opacity: 0.9;
}
.plant-mark.lg { width: 56px; height: 56px; }
.plant-mark.sm { width: 22px; height: 22px; }

/* =============================================================== SERVICES-DARK (signature) ===============================================================
   The live-site "Data visualization services" section.
   BLACK background, white wordmark headline, 4 plant icons rendered as white-outline
   floating illustrations above 4 service labels with yellow ➤ arrows.
   This is where the 4 plant icons (lily / bacon / garden-table / woodpile) live on the
   real Stamen site — not as decorative ornaments, but as a service-icon set. */
.services-dark {
  background: var(--stamen-black);
  color: var(--stamen-white);
  padding: clamp(4rem, 8vw, 8rem) 0;
}
.services-dark .container { max-width: 1320px; margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 3.5rem); }
.services-dark .heading {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--stamen-white);
  margin: 0 0 clamp(3rem, 6vw, 5rem);
  max-width: 18ch;
  text-wrap: balance;
}
.services-dark-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(2rem, 4vw, 3rem);
}
@media (max-width: 980px) { .services-dark-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .services-dark-grid { grid-template-columns: 1fr; } }
.services-dark-tile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(1.5rem, 2.5vw, 2rem);
  text-decoration: none;
  color: var(--stamen-white);
  transition: transform var(--t-base) var(--ease);
}
.services-dark-tile:hover { transform: translateY(-4px); }
.services-dark-tile .plant-illus {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 2vw, 1.5rem);
}
.services-dark-tile .plant-illus img {
  width: 100%;
  height: 100%;
  max-width: 180px;
  max-height: 180px;
  object-fit: contain;
  /* SVGs are natural black fill — invert to white on the dark ground */
  filter: invert(1);
  transition: transform var(--t-base) var(--ease);
}
.services-dark-tile:hover .plant-illus img { transform: scale(1.05); }
.services-dark-tile .svc-label {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--stamen-white);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.services-dark-tile .svc-label::after {
  content: "➤";
  font-size: 0.85em;
  color: var(--stamen-yellow);
  transition: transform var(--t-base) var(--ease);
}
.services-dark-tile:hover .svc-label::after { transform: translateX(4px); }

/* =============================================================== MUSEUM CREDITS STRIP (signature) =============================================================== */

.museum-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(16px, 3vw, 32px);
  padding: 28px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.museum-strip .label {
  font-size: var(--text-eyebrow);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-mid);
}
.museum-strip .names {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  color: var(--stamen-black);
}
.museum-strip .names span { position: relative; }
.museum-strip .names span:not(:last-child)::after {
  content: '·';
  position: absolute;
  right: -18px; top: 0;
  color: var(--ink-mid);
}

/* =============================================================== CLIENT GRAYSCALE GRID (signature) =============================================================== */

.client-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
@media (max-width: 880px) { .client-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .client-grid { grid-template-columns: repeat(2, 1fr); } }
.client-grid .cell {
  background: var(--bg);
  aspect-ratio: 3/2;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  transition: background var(--t-base) var(--ease);
}
.client-grid .cell:hover { background: var(--bg-warm); }
.client-grid .cell img {
  max-width: 100%; max-height: 50px;
  width: auto; height: auto;
  filter: grayscale(1);
  opacity: 0.65;
  transition: filter var(--t-base) var(--ease), opacity var(--t-base) var(--ease);
}
.client-grid .cell:hover img { filter: grayscale(0); opacity: 1; }

/* =============================================================== READING-NOW CARD (signature) =============================================================== */

.reading-now {
  background: var(--bg-soft);
  padding: 24px;
  display: flex; flex-direction: column; gap: 12px;
  border-left: 4px solid var(--stamen-yellow);
}
.reading-now .label { font-size: var(--text-eyebrow); font-weight: 700; text-transform: uppercase; letter-spacing: 0.16em; color: var(--ink-mid); }
.reading-now .title { font-family: var(--font-serif); font-style: italic; font-size: 1.25rem; color: var(--stamen-black); }
.reading-now .by { font-size: 0.875rem; color: var(--ink-mid); }

/* =============================================================== FOOTER =============================================================== */

.footer {
  background: var(--stamen-black);
  color: var(--stamen-white);
  padding: 64px 0 32px;
}
.footer .container { display: grid; gap: 48px; }
.footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; }
@media (max-width: 880px) { .footer .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer .cols { grid-template-columns: 1fr; } }
.footer h4 {
  font-family: var(--font-body);
  font-size: var(--text-eyebrow);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--stamen-yellow);
  margin: 0 0 16px;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer ul li a { color: rgba(255,255,255,0.78); transition: color var(--t-base) var(--ease); }
.footer ul li a:hover { color: var(--stamen-yellow); }
.footer .brand-block img { height: 32px; width: auto; filter: invert(1); margin-bottom: 16px; }
.footer .brand-block p { color: rgba(255,255,255,0.72); max-width: 36ch; }
.footer .legal {
  display: flex; justify-content: space-between;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.18);
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  flex-wrap: wrap; gap: 12px;
}

/* =============================================================== DS-NAV (system-tour nav, not site nav) =============================================================== */

.ds-nav {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 16px clamp(1.25rem, 4vw, 3.5rem);
  display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; z-index: 50;
  box-shadow: var(--shadow-sticky);
  gap: 24px; flex-wrap: wrap;
}
.ds-nav .lockup-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.01em;
  color: var(--stamen-black);
  margin: 0;
  display: flex; align-items: center; gap: 12px;
}
.ds-nav .lockup-text small {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mid);
  border-left: 1px solid var(--border);
  padding-left: 12px;
}
.ds-nav .tabs { display: flex; gap: 4px; flex-wrap: wrap; }
.ds-nav .tab {
  font-size: 0.875rem; font-weight: 500;
  padding: 8px 14px; border-radius: var(--radius-md);
  color: var(--ink); transition: all var(--t-base) var(--ease);
}
.ds-nav .tab:hover { background: var(--bg-soft); }
.ds-nav .tab.active { background: var(--stamen-yellow); color: var(--stamen-black); font-weight: 700; }

/* =============================================================== DS-HERO + DS-SECTION (system pages) =============================================================== */

.ds-hero {
  padding: clamp(4rem, 8vw, 6rem) 0 clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.ds-hero .container { max-width: 1320px; padding-inline: clamp(1.25rem, 4vw, 3.5rem); }
.ds-hero .display, .ds-hero .h1 { margin: 16px 0 24px; }
.ds-hero .lede { font-size: 1.1875rem; }

.ds-section { padding-block: clamp(3rem, 6vw, 5rem); }
.ds-section .container { max-width: 1320px; padding-inline: clamp(1.25rem, 4vw, 3.5rem); }
.ds-section.bg-soft { background: var(--bg-soft); }
.ds-section h2 { margin-bottom: 16px; }
.ds-section h3 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; margin: 32px 0 12px; color: var(--stamen-black); }

/* =============================================================== PAGE GALLERY =============================================================== */

.pages-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 980px) { .pages-gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .pages-gallery { grid-template-columns: 1fr; } }
.page-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  background: var(--bg);
  display: flex; flex-direction: column;
  transition: border-color var(--t-base) var(--ease), transform var(--t-base) var(--ease);
}
.page-card:hover { border-color: var(--stamen-black); transform: translateY(-3px); }
.page-card .preview {
  aspect-ratio: 16/10;
  background: var(--bg-soft);
  overflow: hidden;
  position: relative;
}
.page-card .preview img { width: 100%; height: 100%; object-fit: cover; }
.page-card .preview.dark {
  background: var(--stamen-black);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
  padding: 24px; text-align: center;
}
.page-card .preview.yellow {
  background: var(--stamen-yellow);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
  padding: 24px; text-align: center;
}
.page-card .pv-content { display: flex; flex-direction: column; gap: 8px; }
.page-card .pv-eyebrow { font-size: 10px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--stamen-yellow); }
.page-card .preview.yellow .pv-eyebrow { color: var(--stamen-black); }
.page-card .pv-headline { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: var(--stamen-white); letter-spacing: -0.015em; }
.page-card .preview.yellow .pv-headline { color: var(--stamen-black); }
.page-card .meta { padding: 20px 24px 24px; display: flex; flex-direction: column; gap: 8px; }
.page-card .meta h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.125rem; color: var(--stamen-black); margin: 0; letter-spacing: -0.01em; }
.page-card .meta p { font-size: 0.875rem; color: var(--ink-soft); line-height: 1.5; margin: 0; }

/* =============================================================== BLOG (signature pattern set) ===============================================================
   Matches the live stamen.com blog architecture: filter strip (Format / Author / Category)
   at top, 2-column layout below — main column of post cards, sidebar of categories +
   recent + newsletter. Each post card is a horizontal photo + meta block. */

.blog-hero {
  padding: clamp(4rem, 8vw, 7rem) 0 clamp(2rem, 4vw, 3.5rem);
  border-bottom: 1px solid var(--border);
}
.blog-hero .eyebrow { margin-bottom: 16px; }
.blog-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.98;
  color: var(--stamen-black);
  margin: 0;
  text-wrap: balance;
}
.blog-hero .lede { margin-top: 24px; max-width: 60ch; }

/* Filter strip — uppercase tracked labels with a yellow underline under the active filter */
.blog-filters {
  display: flex;
  align-items: flex-start;
  gap: clamp(2rem, 5vw, 5rem);
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.blog-filters .filter-group { display: flex; flex-direction: column; gap: 8px; min-width: 200px; }
.blog-filters .filter-group .h-label {
  font-size: var(--text-eyebrow);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-mid);
}
.blog-filters .filter-group .options {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  align-items: center;
}
.blog-filters .filter-group .options a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--stamen-black);
  position: relative;
  padding: 2px 0;
  transition: color var(--t-base) var(--ease);
}
.blog-filters .filter-group .options a::after {
  content: '';
  position: absolute; bottom: -2px; left: 0; right: 0; height: 3px;
  background: var(--stamen-yellow);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--t-base) var(--ease);
}
.blog-filters .filter-group .options a:hover::after,
.blog-filters .filter-group .options a.active::after { transform: scaleX(1); }

/* Layout — 2-col with sidebar */
.blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: clamp(2rem, 4vw, 4rem);
  padding: clamp(2.5rem, 5vw, 5rem) 0;
}
@media (max-width: 980px) {
  .blog-layout { grid-template-columns: 1fr; }
}
.blog-main { min-width: 0; }
.blog-sidebar { display: flex; flex-direction: column; gap: 36px; }

/* Post card — horizontal: image left, body right. Toner-discipline hairlines. */
.post-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: clamp(1.5rem, 2.5vw, 2rem);
  padding: clamp(1.5rem, 3vw, 2rem) 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  transition: background var(--t-base) var(--ease);
}
.post-card:first-child { padding-top: 0; }
.post-card:hover { background: linear-gradient(90deg, var(--bg-warm) 0%, transparent 60%); }
.post-card .thumb {
  aspect-ratio: 1 / 1;
  background: var(--bg-soft);
  overflow: hidden;
  border: 1px solid var(--border);
}
.post-card .thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 600ms var(--ease-out-expo);
}
.post-card:hover .thumb img { transform: scale(1.03); }
.post-card .body { display: flex; flex-direction: column; gap: 12px; }
.post-card .category {
  font-size: var(--text-eyebrow);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--stamen-black);
  background: var(--stamen-yellow);
  padding: 2px 8px;
  display: inline-block;
  align-self: flex-start;
}
.post-card h2 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.625rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.2;
  color: var(--stamen-black);
  margin: 0;
  text-wrap: balance;
}
.post-card .meta-line {
  font-size: 0.9375rem;
  color: var(--ink-mid);
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}
.post-card .meta-line .by { color: var(--stamen-black); font-weight: 500; }
.post-card .meta-line .sep { color: var(--ink-quiet); }
.post-card .excerpt {
  font-size: 1rem;
  color: var(--ink-soft);
  line-height: 1.55;
  margin: 0;
  max-width: 64ch;
}
.post-card .read-more {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--stamen-black);
  margin-top: auto;
  align-self: flex-start;
  border-bottom: 2px solid var(--stamen-yellow);
  padding-bottom: 1px;
}
.post-card .read-more::after { content: " →"; }
@media (max-width: 640px) {
  .post-card { grid-template-columns: 1fr; }
  .post-card .thumb { aspect-ratio: 16/10; }
}

/* Featured (1st) post card — full-width hero variant */
.post-card.featured {
  grid-template-columns: 1.4fr 1fr;
  padding-block: clamp(2rem, 4vw, 3rem);
}
.post-card.featured .thumb { aspect-ratio: 4/3; }
.post-card.featured h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); letter-spacing: -0.022em; line-height: 1.1; }
@media (max-width: 880px) { .post-card.featured { grid-template-columns: 1fr; } }

/* Sidebar widgets */
.blog-widget { display: flex; flex-direction: column; gap: 16px; }
.blog-widget h3 {
  font-family: var(--font-body);
  font-size: var(--text-eyebrow);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--stamen-black);
  margin: 0;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--stamen-black);
}
.blog-widget ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; }
.blog-widget li { padding: 10px 0; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.blog-widget li:last-child { border-bottom: 0; }
.blog-widget li a {
  font-size: 0.9375rem;
  color: var(--stamen-black);
  font-weight: 500;
  transition: color var(--t-base) var(--ease);
  flex: 1;
}
.blog-widget li a:hover { color: var(--stamen-blue); }
.blog-widget li .count {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--ink-mid);
}

/* Newsletter widget */
.blog-newsletter {
  background: var(--stamen-yellow);
  padding: 28px;
  border-radius: 0;
}
.blog-newsletter h3 {
  border-bottom: 0;
  padding: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: none;
  letter-spacing: -0.01em;
  color: var(--stamen-black);
  margin: 0 0 8px;
}
.blog-newsletter p { font-size: 0.9375rem; color: var(--stamen-black); margin: 0 0 16px; line-height: 1.5; }
.blog-newsletter input[type="email"] {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid var(--stamen-black);
  background: var(--stamen-white);
  color: var(--stamen-black);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  border-radius: 0;
  margin-bottom: 12px;
}
.blog-newsletter button {
  width: 100%;
  padding: 12px 18px;
  background: var(--stamen-black);
  color: var(--stamen-yellow);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9375rem;
  border: 2px solid var(--stamen-black);
  border-radius: 0;
  cursor: pointer;
  transition: background var(--t-base) var(--ease), color var(--t-base) var(--ease);
}
.blog-newsletter button:hover { background: var(--stamen-yellow); color: var(--stamen-black); }

/* Pagination */
.blog-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: clamp(2rem, 4vw, 3.5rem) 0;
  border-top: 1px solid var(--border);
}
.blog-pagination a, .blog-pagination span {
  padding: 8px 14px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--stamen-black);
  text-decoration: none;
  border: 1px solid transparent;
  transition: all var(--t-base) var(--ease);
}
.blog-pagination a:hover { background: var(--bg-soft); }
.blog-pagination .current { background: var(--stamen-yellow); color: var(--stamen-black); font-weight: 700; }
.blog-pagination .arrow { font-family: var(--font-display); font-weight: 700; }

/* =============================================================== BLOG POST (single article layout) ===============================================================
   Editorial scholarly-but-not-stuffy. Max-width 70ch prose column, large H1, serif italic
   for the "first appeared in" prefatory note. Pull-quotes use the existing .pullquote class. */

.post-header {
  padding: clamp(4rem, 8vw, 7rem) 0 clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid var(--border);
}
.post-header .container { max-width: 920px; }
.post-header .breadcrumb {
  font-size: var(--text-eyebrow);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mid);
  margin-bottom: 24px;
  display: flex;
  gap: 10px;
  align-items: center;
}
.post-header .breadcrumb a { color: var(--ink-mid); transition: color var(--t-base) var(--ease); }
.post-header .breadcrumb a:hover { color: var(--stamen-black); }
.post-header .breadcrumb .sep { color: var(--ink-quiet); }
.post-header .breadcrumb .current { color: var(--stamen-black); background: var(--stamen-yellow); padding: 2px 8px; }
.post-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--stamen-black);
  margin: 0;
  text-wrap: balance;
  max-width: 22ch;
}
.post-header .byline {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.post-header .byline .avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--stamen-yellow);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--stamen-black);
}
.post-header .byline .name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--stamen-black);
  letter-spacing: -0.01em;
}
.post-header .byline .role {
  font-size: 0.875rem;
  color: var(--ink-mid);
}
.post-header .byline .date {
  font-size: 0.875rem;
  color: var(--ink-mid);
  margin-left: auto;
  font-family: var(--font-mono);
}
.post-header .byline .toner-rule { width: 32px; height: 1px; background: var(--ink-mid); }

.post-hero-img {
  margin: 0;
  padding-top: clamp(2rem, 4vw, 3rem);
}
.post-hero-img figure { margin: 0; }
.post-hero-img img {
  width: 100%;
  height: auto;
  max-height: 540px;
  object-fit: cover;
  display: block;
}
.post-hero-img figcaption {
  font-size: 0.875rem;
  color: var(--ink-mid);
  font-style: italic;
  font-family: var(--font-serif);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.post-body {
  padding: clamp(2rem, 4vw, 3rem) 0 clamp(3rem, 6vw, 6rem);
}
.post-body .container { max-width: 760px; }
.post-body .prefatory {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.0625rem;
  color: var(--ink-soft);
  padding: 16px 20px;
  border-left: 3px solid var(--stamen-yellow);
  background: var(--bg-soft);
  margin: 0 0 clamp(2rem, 4vw, 3rem);
}
.post-body p {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  margin: 0 0 1.25em;
  max-width: 70ch;
  text-wrap: pretty;
}
.post-body p.lead {
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--stamen-black);
  font-weight: 400;
  margin-bottom: 1.5em;
}
.post-body h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.018em;
  line-height: 1.2;
  color: var(--stamen-black);
  margin: 2em 0 0.6em;
  text-wrap: balance;
}
.post-body h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--stamen-black);
  margin: 1.5em 0 0.5em;
}
.post-body blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  font-weight: 500;
  letter-spacing: -0.018em;
  line-height: 1.3;
  color: var(--stamen-black);
  margin: 2em 0 2em;
  padding: 0;
  border-left: 0;
  max-width: 24ch;
  text-wrap: balance;
}
.post-body blockquote .yellow { background: var(--stamen-yellow); padding: 0 0.06em; }
.post-body figure {
  margin: 2em 0;
}
.post-body figure img { width: 100%; height: auto; display: block; border: 1px solid var(--border); }
.post-body figure figcaption {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.875rem;
  color: var(--ink-mid);
  padding: 12px 0 0;
  line-height: 1.5;
}
.post-body a {
  color: var(--stamen-black);
  font-weight: 600;
  border-bottom: 2px solid var(--stamen-yellow);
  padding-bottom: 1px;
  transition: background var(--t-base) var(--ease);
}
.post-body a:hover { background: var(--stamen-yellow); }
.post-body ul, .post-body ol {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  max-width: 70ch;
  padding-left: 28px;
  margin: 0 0 1.25em;
}
.post-body li { margin-bottom: 0.5em; }

/* Post share + tags */
.post-share {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 32px 0;
  border-top: 1px solid var(--stamen-black);
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  margin-top: clamp(2rem, 4vw, 3rem);
}
.post-share .tags { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.post-share .tag-label { font-size: var(--text-eyebrow); font-weight: 700; text-transform: uppercase; letter-spacing: 0.16em; color: var(--ink-mid); margin-right: 8px; }
.post-share .tag { background: var(--bg-soft); padding: 4px 10px; font-size: 0.8125rem; color: var(--stamen-black); border-radius: 0; transition: background var(--t-base) var(--ease); font-weight: 500; }
.post-share .tag:hover { background: var(--stamen-yellow); }
.post-share .share-row { display: flex; gap: 12px; align-items: center; }
.post-share .share-label { font-size: var(--text-eyebrow); font-weight: 700; text-transform: uppercase; letter-spacing: 0.16em; color: var(--ink-mid); }
.post-share .share-link {
  width: 32px; height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--stamen-black);
  border-radius: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--stamen-black);
  text-decoration: none;
  transition: background var(--t-base) var(--ease), color var(--t-base) var(--ease);
}
.post-share .share-link:hover { background: var(--stamen-yellow); }

/* About-author block */
.author-block {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 20px;
  padding: 28px;
  background: var(--bg-soft);
  margin: clamp(2.5rem, 5vw, 4rem) 0 0;
}
.author-block .avatar-lg {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--stamen-yellow);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--stamen-black);
}
.author-block h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.01em;
  color: var(--stamen-black);
  margin: 0 0 4px;
}
.author-block .role { font-size: 0.875rem; color: var(--ink-mid); margin: 0 0 12px; }
.author-block .bio { font-size: 0.9375rem; line-height: 1.55; color: var(--ink); margin: 0; }
@media (max-width: 560px) { .author-block { grid-template-columns: 1fr; } .author-block .avatar-lg { width: 56px; height: 56px; font-size: 1.125rem; } }

/* Related posts strip */
.related-posts {
  padding: clamp(3rem, 6vw, 5rem) 0;
  border-top: 1px solid var(--stamen-black);
  background: var(--bg-soft);
}
.related-posts .container { max-width: 1320px; }
.related-posts .h-label {
  font-size: var(--text-eyebrow);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-mid);
  margin-bottom: 24px;
  display: block;
}
.related-posts h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.022em;
  line-height: 1.1;
  color: var(--stamen-black);
  margin: 0 0 clamp(2rem, 4vw, 3rem);
  text-wrap: balance;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
@media (max-width: 880px) { .related-grid { grid-template-columns: 1fr; } }
.related-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-decoration: none;
  color: inherit;
}
.related-card .thumb {
  aspect-ratio: 4/3;
  background: var(--bg);
  overflow: hidden;
  border: 1px solid var(--border);
}
.related-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease-out-expo); }
.related-card:hover .thumb img { transform: scale(1.04); }
.related-card .category {
  font-size: var(--text-eyebrow);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--stamen-black);
  background: var(--stamen-yellow);
  padding: 2px 8px;
  align-self: flex-start;
}
.related-card h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: var(--stamen-black);
  margin: 0;
  text-wrap: balance;
}
.related-card .meta-line {
  font-size: 0.8125rem;
  color: var(--ink-mid);
}

/* =============================================================== SWATCHES =============================================================== */

.swatch-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); }
@media (max-width: 720px) { .swatch-grid { grid-template-columns: repeat(2, 1fr); } }
.swatch { background: var(--bg); padding: 0; display: flex; flex-direction: column; }
.swatch .chip { aspect-ratio: 4/3; }
.swatch .info { padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; background: var(--bg); }
.swatch .info .name { font-family: var(--font-display); font-weight: 700; font-size: 0.875rem; color: var(--stamen-black); }
.swatch .info .hex { font-family: var(--font-mono); font-size: 0.75rem; color: var(--ink-mid); }
.swatch .info .role { font-size: 0.75rem; color: var(--ink-mid); }

/* =============================================================== PROCESS STEPS =============================================================== */

.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.process-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.process-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.process-grid.cols-5 { grid-template-columns: repeat(5, 1fr); }
.process-grid.cols-6 { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 980px) {
  .process-grid.cols-3, .process-grid.cols-4, .process-grid.cols-5, .process-grid.cols-6 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .process-grid { grid-template-columns: 1fr !important; }
}
.process-step { background: var(--bg); padding: 32px 28px; display: flex; flex-direction: column; gap: 12px; }
.process-step .num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.25rem;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--stamen-black);
  background: var(--stamen-yellow);
  width: fit-content;
  padding: 0 10px;
}
.process-step h4 { font-family: var(--font-display); font-weight: 700; font-size: 1.125rem; color: var(--stamen-black); margin: 0; letter-spacing: -0.01em; }
.process-step p { color: var(--ink-soft); font-size: 0.9375rem; line-height: 1.55; margin: 0; }

/* =============================================================== FAQ =============================================================== */

.faq-list { border-top: 1px solid var(--stamen-black); }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item details { padding: 20px 0; }
.faq-item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  cursor: pointer; list-style: none;
  font-family: var(--font-display); font-weight: 700; font-size: 1.125rem;
  color: var(--stamen-black);
  letter-spacing: -0.01em;
}
.faq-item summary::after {
  content: "+";
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--stamen-black);
  transition: transform var(--t-base) var(--ease);
}
.faq-item details[open] summary::after { transform: rotate(45deg); }
.faq-item .answer {
  padding-top: 16px;
  font-size: 1rem;
  color: var(--ink-soft);
  line-height: 1.6;
  max-width: 68ch;
}

/* =============================================================== TESTIMONIAL =============================================================== */

.pullquote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.018em;
  color: var(--stamen-black);
  max-width: 24ch;
  margin: 0;
  text-wrap: balance;
}
.pullquote .yellow { background: var(--stamen-yellow); padding: 0 0.06em; }
.pullquote.serif { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -0.005em; line-height: 1.3; }
.pullquote-attr { font-size: 0.9375rem; color: var(--ink-mid); margin-top: 16px; display: flex; align-items: center; gap: 12px; }
.pullquote-attr .toner-rule.short { width: 24px; }

/* =============================================================== CTA BAND =============================================================== */

.cta-band {
  padding: clamp(3rem, 6vw, 6rem) 0;
  background: var(--stamen-yellow);
  color: var(--stamen-black);
}
.cta-band.dark {
  background: var(--stamen-black);
  color: var(--stamen-white);
}
.cta-band.dark .h2 { color: var(--stamen-white); }
.cta-band.dark .lede { color: rgba(255,255,255,0.85); }
.cta-band .container {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
@media (max-width: 880px) { .cta-band .container { grid-template-columns: 1fr; } }
.cta-band h2 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.022em; line-height: 1.05; text-wrap: balance; }
.cta-band .lede { font-size: 1.125rem; color: var(--stamen-black); }
.cta-band .ctas { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 880px) { .cta-band .ctas { justify-content: flex-start; } }

/* =============================================================== TABLE =============================================================== */

.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 0.9375rem;
  vertical-align: top;
}
.spec-table thead th {
  font-family: var(--font-body);
  font-size: var(--text-eyebrow);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-mid);
  border-bottom: 1px solid var(--stamen-black);
  padding: 12px 16px 14px;
}
.spec-table td.mono, .spec-table .mono { font-family: var(--font-mono); font-size: 0.875rem; color: var(--ink-soft); }
.spec-table td.tight { padding: 8px 16px; font-size: 0.875rem; }

/* =============================================================== PILLS + BADGES =============================================================== */

.pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--bg-soft);
  color: var(--stamen-black);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
}
.pill.yellow { background: var(--stamen-yellow); }
.pill.outline { background: transparent; border: 1px solid var(--stamen-black); }
.pill.blue { background: var(--stamen-blue-pale); color: var(--stamen-blue-deep); }

/* =============================================================== UTIL =============================================================== */

code, .code {
  font-family: var(--font-mono);
  font-size: 0.85em;
  background: var(--bg-soft);
  color: var(--stamen-black);
  padding: 2px 6px;
  border-radius: var(--radius-xs);
}
.scrim-dark { position: absolute; inset: 0; background: var(--grad-hero-scrim); pointer-events: none; }
.aspect-16x10 { aspect-ratio: 16/10; }
.aspect-4x3 { aspect-ratio: 4/3; }
.aspect-1x1 { aspect-ratio: 1/1; }
.aspect-5x6 { aspect-ratio: 5/6; }
.cover { width: 100%; height: 100%; object-fit: cover; display: block; }

/* =============================================================== CONTACT PAGE =============================================================== */

.contact-hero {
  padding: clamp(4rem, 9vw, 7rem) 0 clamp(3rem, 6vw, 5rem);
  border-bottom: 1px solid var(--stamen-black);
}
.contact-hero .container {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 3.5rem);
}
.contact-hero .breadcrumb {
  font-family: var(--font-display);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft, #555);
  margin-bottom: 1.5rem;
}
.contact-hero .breadcrumb a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}
.contact-hero .breadcrumb .sep { margin: 0 0.5rem; opacity: 0.5; }
.contact-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.95;
  color: var(--stamen-black);
  margin: 0;
  text-wrap: balance;
}
.contact-hero .lede {
  margin-top: 1.5rem;
  max-width: 56ch;
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  line-height: 1.55;
  color: var(--stamen-black);
}
.contact-hero .lede mark { background: var(--stamen-yellow); color: var(--stamen-black); padding: 0 0.15em; }

.contact-layout {
  padding: clamp(3rem, 6vw, 5rem) 0;
}
.contact-layout .container {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 3.5rem);
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}
@media (max-width: 900px) {
  .contact-layout .container { grid-template-columns: 1fr; }
}

.contact-form-block .form-eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: var(--stamen-yellow);
  color: var(--stamen-black);
  padding: 0.25rem 0.6rem;
  margin-bottom: 1rem;
}
.contact-form-block h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--stamen-black);
  margin: 0 0 1rem;
}
.contact-form-block .required-note {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  color: var(--ink-soft, #555);
  margin: 0 0 2rem;
}
.contact-form-block .required-note .asterisk { color: var(--stamen-black); font-weight: 700; }

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 1.25rem;
}
.contact-form .field { display: flex; flex-direction: column; }
.contact-form .field.full { grid-column: 1 / -1; }
@media (max-width: 640px) {
  .contact-form { grid-template-columns: 1fr; }
  .contact-form .field.full { grid-column: auto; }
}

.contact-form label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--stamen-black);
  margin-bottom: 0.5rem;
}
.contact-form label .req { color: var(--stamen-black); }

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form select,
.contact-form textarea {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--stamen-black);
  background: #fff;
  border: 1px solid var(--stamen-black);
  border-radius: 0;
  padding: 0.75rem 0.875rem;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  transition: box-shadow 0.12s ease, border-color 0.12s ease;
}
.contact-form textarea {
  min-height: 160px;
  resize: vertical;
  line-height: 1.5;
}
.contact-form select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%23000' stroke-width='1.5' fill='none'/></svg>");
  background-repeat: no-repeat;
  background-position: right 0.875rem center;
  padding-right: 2.25rem;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--stamen-black);
  box-shadow: 4px 4px 0 0 var(--stamen-yellow);
}

.contact-form .field.checkbox {
  flex-direction: row;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 0 0;
  border-top: 1px solid var(--ink-soft, #ddd);
}
.contact-form .field.checkbox input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 1.125rem;
  height: 1.125rem;
  flex: none;
  margin-top: 0.125rem;
  background: #fff;
  border: 1px solid var(--stamen-black);
  border-radius: 0;
  cursor: pointer;
  position: relative;
}
.contact-form .field.checkbox input[type="checkbox"]:checked {
  background: var(--stamen-yellow);
}
.contact-form .field.checkbox input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  inset: 2px;
  background: var(--stamen-black);
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0, 43% 62%);
}
.contact-form .field.checkbox label {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  font-size: 0.9375rem;
  line-height: 1.5;
  margin: 0;
  cursor: pointer;
  color: var(--stamen-black);
}
.contact-form .field.checkbox label a {
  color: var(--stamen-black);
  border-bottom: 1px solid var(--stamen-black);
  text-decoration: none;
}

.contact-form .submit-row {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1rem;
}
.contact-form .submit-row .send-btn {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: var(--stamen-yellow);
  color: var(--stamen-black);
  border: 2px solid var(--stamen-black);
  box-shadow: 8px 8px 0 0 var(--stamen-black);
  border-radius: 0;
  padding: 0.875rem 1.75rem;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.contact-form .submit-row .send-btn:hover {
  transform: translate(4px, 4px);
  box-shadow: 4px 4px 0 0 var(--stamen-black);
}
.contact-form .submit-row .send-btn:active {
  transform: translate(8px, 8px);
  box-shadow: 0 0 0 0 var(--stamen-black);
}
.contact-form .submit-row .turnaround {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  color: var(--ink-soft, #555);
  max-width: 28ch;
  line-height: 1.4;
}

/* ----- Find-us sidebar ----- */
.find-us {
  position: sticky;
  top: 6rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.find-us .h-label {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: var(--stamen-yellow);
  color: var(--stamen-black);
  padding: 0.25rem 0.6rem;
  margin-bottom: 0.75rem;
}
.find-us h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--stamen-black);
  margin: 0 0 1.25rem;
}
.find-us .coord-tag {
  font-family: var(--font-mono, "SF Mono", "Menlo", monospace);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--ink-soft, #555);
  padding: 0.6rem 0;
  border-top: 1px solid var(--stamen-black);
  border-bottom: 1px solid var(--stamen-black);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 1.25rem;
}
.find-us .coord-tag span { display: block; }
.find-us .address {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  line-height: 1.5;
  color: var(--stamen-black);
  margin: 0 0 1rem;
}
.find-us .address strong { font-weight: 700; }
.find-us .email-block {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.find-us .email-block a {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--stamen-black);
  text-decoration: none;
  border-bottom: 1px solid var(--stamen-black);
  align-self: flex-start;
  padding-bottom: 1px;
}
.find-us .email-block a:hover { background: var(--stamen-yellow); }
.find-us .social-row {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}
.find-us .social-row a {
  width: 36px;
  height: 36px;
  border: 1px solid var(--stamen-black);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--stamen-black);
  text-decoration: none;
  transition: background 0.12s ease;
}
.find-us .social-row a:hover { background: var(--stamen-yellow); }

.find-us-map {
  border: 1px solid var(--stamen-black);
  background: var(--bg-warm, #F0E2C4);
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
}
.find-us-map .map-svg { width: 100%; height: 100%; display: block; }
.find-us-map .pin {
  position: absolute;
  top: 48%;
  left: 38%;
  width: 18px;
  height: 18px;
  background: var(--stamen-yellow);
  border: 2px solid var(--stamen-black);
  transform: translate(-50%, -50%);
}
.find-us-map .map-caption {
  position: absolute;
  bottom: 0.5rem;
  left: 0.6rem;
  font-family: var(--font-display);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stamen-black);
  background: var(--stamen-yellow);
  padding: 0.15rem 0.45rem;
}

/* ----- Quick-routes strip (above CTA band) ----- */
.contact-routes {
  padding: clamp(3rem, 6vw, 5rem) 0;
  border-top: 1px solid var(--stamen-black);
  border-bottom: 1px solid var(--stamen-black);
  background: var(--bg-soft, #FAFAFA);
}
.contact-routes .container {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 3.5rem);
}
.contact-routes h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--stamen-black);
  margin: 1rem 0 0.5rem;
}
.contact-routes .lede {
  max-width: 56ch;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--stamen-black);
}
.routes-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--stamen-black);
  border: 1px solid var(--stamen-black);
}
@media (max-width: 900px) { .routes-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .routes-grid { grid-template-columns: 1fr; } }
.route-tile {
  background: #fff;
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--stamen-black);
  transition: background 0.12s ease;
}
.route-tile:hover { background: var(--stamen-yellow); }
.route-tile .num {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  color: var(--ink-soft, #777);
}
.route-tile h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0;
  line-height: 1.2;
}
.route-tile p {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  line-height: 1.5;
  margin: 0;
  color: var(--stamen-black);
}
.route-tile .arrow {
  margin-top: auto;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
}

/* =============================================================== ABOUT PAGE =============================================================== */

.about-hero {
  padding: clamp(4rem, 9vw, 7rem) 0 clamp(3rem, 6vw, 5rem);
  border-bottom: 1px solid var(--stamen-black);
}
.about-hero .container {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 3.5rem);
}
.about-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.95;
  color: var(--stamen-black);
  margin: 1rem 0 0;
  text-wrap: balance;
}
.about-hero .lede {
  margin-top: 1.5rem;
  max-width: 64ch;
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  line-height: 1.55;
  color: var(--stamen-black);
}
.about-hero .lede mark { background: var(--stamen-yellow); color: var(--stamen-black); padding: 0 0.15em; }

.bg-dark {
  background: var(--stamen-black);
  color: #fff;
}
.bg-dark .eyebrow.yellow { background: var(--stamen-yellow); color: var(--stamen-black); }
.bg-dark h2, .bg-dark h3, .bg-dark .h2, .bg-dark .h3 { color: #fff; }
.bg-dark mark { background: var(--stamen-yellow); color: var(--stamen-black); padding: 0 0.15em; }
.bg-dark .body-copy, .bg-dark .lede { color: rgba(255,255,255,0.85); }

.award-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.18);
}
@media (max-width: 900px) { .award-stat-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .award-stat-grid { grid-template-columns: 1fr; } }
.award-stat {
  background: var(--stamen-black);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.award-stat .num {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--stamen-yellow);
  line-height: 1;
}
.award-stat .label {
  font-family: var(--font-display);
  font-size: 0.875rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.4;
}

.team-grid, .instructor-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
@media (max-width: 1024px) { .team-grid, .instructor-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px)  { .team-grid, .instructor-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 440px)  { .team-grid, .instructor-grid { grid-template-columns: 1fr; } }
.team-card {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  text-decoration: none;
  color: inherit;
}
.team-card .portrait {
  aspect-ratio: 1 / 1;
  background: var(--bg-warm);
  border: 1px solid var(--border, #000);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.team-card .portrait .initials {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--stamen-black);
}
.team-card .portrait::after {
  content: "";
  position: absolute;
  inset: auto auto -1px -1px;
  width: 24px;
  height: 24px;
  background: var(--stamen-yellow);
  border-top: 1px solid var(--stamen-black);
  border-right: 1px solid var(--stamen-black);
}
.team-card figcaption { display: flex; flex-direction: column; gap: 0.125rem; }
.team-card h3 {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--stamen-black);
}
.team-card .role {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  color: var(--ink-mid, #555);
  margin: 0;
}
.team-card .teaches {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.875rem;
  color: var(--stamen-black);
  margin: 0.25rem 0 0;
  line-height: 1.4;
}
.team-card--cta { cursor: pointer; }
.team-card--cta .portrait--cta {
  background: var(--stamen-yellow);
  border-color: var(--stamen-black);
}
.team-card--cta .portrait--cta .plus {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 300;
  color: var(--stamen-black);
}
.team-card--cta .portrait--cta::after { display: none; }
.team-card--cta:hover .portrait--cta { background: var(--stamen-black); }
.team-card--cta:hover .portrait--cta .plus { color: var(--stamen-yellow); }

.team-photo {
  margin: 0;
  border: 1px solid var(--border, #000);
  background: var(--bg-warm);
  overflow: hidden;
}
.team-photo img { width: 100%; height: auto; display: block; aspect-ratio: 16/7; object-fit: cover; }
.team-photo figcaption {
  padding: 0.875rem 1.25rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.9375rem;
  color: var(--ink-mid, #555);
  border-top: 1px solid var(--border, #000);
}

/* =============================================================== CASE STUDY PAGE =============================================================== */

.case-study {
  padding-bottom: clamp(2rem, 4vw, 4rem);
}
.cs-hero {
  padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(2rem, 4vw, 3rem);
}
.cs-hero .container {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 3.5rem);
}
.cs-hero .breadcrumb {
  font-family: var(--font-display);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mid, #555);
  margin-bottom: 1.5rem;
}
.cs-hero .breadcrumb a { color: inherit; text-decoration: none; border-bottom: 1px solid currentColor; }
.cs-hero .breadcrumb .sep { margin: 0 0.5rem; opacity: 0.5; }
.cs-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 7vw, 5.5rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.95;
  color: var(--stamen-black);
  margin: 1rem 0 0.5rem;
  text-wrap: balance;
}
.cs-hero .subtitle {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  color: var(--ink-mid, #555);
  margin: 0 0 2rem;
  max-width: 60ch;
}
.cs-meta-row {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: clamp(1.5rem, 4vw, 3rem);
  border-top: 1px solid var(--stamen-black);
  border-bottom: 1px solid var(--stamen-black);
  padding: 1rem 0;
  margin-top: 2rem;
}
@media (max-width: 720px) { .cs-meta-row { grid-template-columns: 1fr 1fr; row-gap: 1rem; } }
.cs-meta-row > div { display: flex; flex-direction: column; gap: 0.25rem; }
.cs-meta-row .meta-label {
  font-family: var(--font-display);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mid, #555);
}
.cs-meta-row .meta-value {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--stamen-black);
}

.cs-hero-img {
  padding: clamp(1rem, 3vw, 2rem) 0 clamp(2rem, 5vw, 4rem);
}
.cs-hero-img .container {
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 3.5rem);
}
.cs-hero-img figure { margin: 0; }
.cs-hero-img img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 21/9;
  object-fit: cover;
  border: 1px solid var(--stamen-black);
}
.cs-hero-img figcaption {
  margin-top: 0.75rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.9375rem;
  color: var(--ink-mid, #555);
}

.cs-body { padding: 0 0 clamp(3rem, 6vw, 5rem); }
.cs-body .container {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 3.5rem);
}
.cs-grid {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
@media (max-width: 900px) {
  .cs-grid { grid-template-columns: 1fr; }
  .cs-sidebar { display: none; }
}
.cs-sidebar { position: sticky; top: 6rem; }
.cs-jump .h-label {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: var(--stamen-yellow);
  color: var(--stamen-black);
  padding: 0.25rem 0.6rem;
  margin-bottom: 1rem;
}
.cs-jump ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.cs-jump li a {
  display: block;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  color: var(--stamen-black);
  text-decoration: none;
  padding: 0.375rem 0;
  border-bottom: 1px solid var(--ink-soft, #eee);
}
.cs-jump li a:hover { background: var(--stamen-yellow); padding-left: 0.5rem; border-color: var(--stamen-black); }

.cs-main { max-width: 70ch; }
.cs-main section { margin-bottom: clamp(2rem, 4vw, 3rem); }
.cs-main h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--stamen-black);
  margin: 0 0 1rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--stamen-black);
}
.cs-main .lead {
  font-family: var(--font-display);
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--stamen-black);
  margin: 0 0 1.25rem;
}
.cs-main p {
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--stamen-black);
  margin: 0 0 1rem;
}
.cs-main mark { background: var(--stamen-yellow); color: var(--stamen-black); padding: 0 0.15em; }
.cs-main blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--stamen-black);
  border-left: 4px solid var(--stamen-yellow);
  padding: 0.5rem 0 0.5rem 1.5rem;
  margin: 2rem 0;
}
.cs-main blockquote .yellow { background: var(--stamen-yellow); padding: 0 0.15em; }

.cs-figure { margin: 2rem 0; }
.cs-figure img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--stamen-black);
}
.cs-figure figcaption {
  margin-top: 0.625rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.875rem;
  color: var(--ink-mid, #555);
}
.cs-figure--wide {
  margin-left: calc(-1 * clamp(0rem, 5vw, 5rem));
  margin-right: calc(-1 * clamp(0rem, 5vw, 5rem));
}
@media (max-width: 900px) { .cs-figure--wide { margin-left: 0; margin-right: 0; } }

.cs-process {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--stamen-black);
  border: 1px solid var(--stamen-black);
  margin: 1rem 0;
}
@media (max-width: 600px) { .cs-process { grid-template-columns: 1fr; } }
.cs-process-step {
  background: #fff;
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.cs-process-step .num {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  color: var(--stamen-yellow);
  background: var(--stamen-black);
  padding: 0.15rem 0.4rem;
  align-self: flex-start;
}
.cs-process-step h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--stamen-black);
}
.cs-process-step p {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  line-height: 1.5;
  margin: 0;
  color: var(--stamen-black);
}

.cs-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--stamen-black);
  border: 1px solid var(--stamen-black);
  margin: 1rem 0;
}
@media (max-width: 700px) { .cs-stat-grid { grid-template-columns: 1fr 1fr; } }
.cs-stat {
  background: #fff;
  padding: 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.cs-stat .num {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--stamen-black);
  line-height: 1;
}
.cs-stat .label {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  color: var(--ink-mid, #555);
  line-height: 1.35;
}

.cs-credits {
  margin-top: clamp(3rem, 5vw, 4rem);
  padding: 1.5rem 0;
  border-top: 1px solid var(--stamen-black);
  border-bottom: 1px solid var(--stamen-black);
}
.cs-credits h3 {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--stamen-black);
  margin: 0 0 1rem;
}
.credits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.875rem 2rem;
}
@media (max-width: 540px) { .credits-grid { grid-template-columns: 1fr; } }
.credits-grid > div {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}
.credits-grid .role {
  font-family: var(--font-display);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mid, #555);
}
.credits-grid .name {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--stamen-black);
}

/* =============================================================== CLASSES & WORKSHOPS PAGE =============================================================== */

.classes-hero {
  padding: clamp(4rem, 9vw, 7rem) 0 clamp(3rem, 6vw, 5rem);
}
.classes-hero .container {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 3.5rem);
}
.classes-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 7vw, 5.5rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.0;
  color: var(--stamen-black);
  margin: 1rem 0 0;
  text-wrap: balance;
}
.classes-hero h1 mark { background: var(--stamen-yellow); padding: 0 0.15em; color: var(--stamen-black); }
.classes-hero-art {
  aspect-ratio: 4/5;
  background: var(--bg-warm);
  border: 1px solid var(--stamen-black);
  overflow: hidden;
}
.classes-hero-art img { width: 100%; height: 100%; object-fit: cover; display: block; }

.class-list { display: flex; flex-direction: column; gap: 1.5rem; }
.class-card {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(240px, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: #fff;
  border: 1px solid var(--stamen-black);
  position: relative;
}
.class-card::before {
  content: "";
  position: absolute;
  top: -1px; left: -1px;
  width: 64px;
  height: 8px;
  background: var(--stamen-yellow);
}
@media (max-width: 780px) { .class-card { grid-template-columns: 1fr; } }
.class-card-body h3 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--stamen-black);
  margin: 0.5rem 0 0.75rem;
}
.class-meta {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mid, #555);
}
.class-desc {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--stamen-black);
  margin: 0 0 1rem;
}
.class-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}
.class-bullets li {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  color: var(--stamen-black);
  padding-left: 1.25rem;
  position: relative;
  line-height: 1.45;
}
.class-bullets li::before {
  content: "→";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--stamen-yellow);
  font-weight: 700;
}

.class-card-side {
  padding-left: clamp(1rem, 2vw, 1.5rem);
  border-left: 1px solid var(--stamen-black);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media (max-width: 780px) {
  .class-card-side {
    border-left: 0;
    border-top: 1px solid var(--stamen-black);
    padding-left: 0;
    padding-top: 1.25rem;
  }
}
.class-date {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  padding: 0.5rem 0.75rem;
  background: var(--stamen-yellow);
  border: 1px solid var(--stamen-black);
  align-self: flex-start;
}
.class-date .day {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--stamen-black);
  line-height: 0.95;
}
.class-date .month {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stamen-black);
  margin-top: 0.125rem;
}
.class-date .year {
  font-family: var(--font-display);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  color: var(--stamen-black);
}
.class-instructor {
  font-family: var(--font-display);
  font-size: 0.875rem;
  line-height: 1.4;
  margin: 0;
  color: var(--stamen-black);
}
.class-instructor strong { font-weight: 700; }
.class-price {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--ink-soft, #ddd);
}
.class-price .price {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--stamen-black);
}
.class-price .price-note {
  font-family: var(--font-display);
  font-size: 0.75rem;
  color: var(--ink-mid, #555);
}

.mailing-cta {
  display: grid;
  grid-template-columns: minmax(0, 2fr) auto;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  padding: clamp(1.75rem, 3.5vw, 2.5rem);
  background: #fff;
  border: 1px solid var(--stamen-black);
}
@media (max-width: 720px) { .mailing-cta { grid-template-columns: 1fr; } }
.mailing-cta h3 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 1.875rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0.5rem 0 0.5rem;
  color: var(--stamen-black);
}
.mailing-cta p {
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1.5;
  margin: 0;
  color: var(--stamen-black);
}

/* =============================================================== PALETTE TOGGLES (palette-toggle.js targets) =============================================================== */

body[data-palette="watercolor"] {
  --stamen-yellow: #E0C36A;
  --stamen-yellow-deep: #B8983E;
  --bg-warm: #F0E2C4;
  --stamen-black: #2A2520;
  --ink: #3A3530;
}
body[data-palette="terrain"] {
  --stamen-yellow: #C5B68A;
  --stamen-yellow-deep: #8A7A4A;
  --bg-warm: #D8D2B0;
  --stamen-black: #34402C;
  --ink: #3A4034;
  --stamen-blue: #6B7A4A;
}
body[data-palette="toner"] {
  /* same as default — kept for explicitness */
}
