/* Hallmark · v2.0.0 · shape: Stat-Led (04) with a Bento section (01) · genre: modern-minimal · theme: rim (rim: night) · deal: manual · posture: committed · job: enquire (franchise and business partners) · hero: Stage, the client's store count in Geist Mono at display scale over the headline on 6 columns, the pour photograph on 6 · nav: dense balanced bar (wordmark, six links, a utility link and an outlined action) · footer: mast, the wordmark over three link groups and the demo line · signature: the HWC server under the kettle, set beside the 130+ store count · imagery: photographs, client 3 (pour, beans, founder), concept 8 labelled "Concept image", natural sat=-20 con=10 · copy: verbatim (client plan in shared/content.php: its en dashes in ranges and the footer line the brief dictates) */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R4 V4 · weakest: P, a coffee chain read through an instrument's material risks coldness; warmed it with the pour photograph as the hero's light and orange kept to the action */
/* Hallmark · faces: Switzer (Fontshare link, the theme's face) for every head and paragraph, Geist Mono (Google Fonts link) only for quantities: years, store counts, square metres, ranges */
/* Hallmark · answered F16 · selection, caret and scrollbar are themed below in the base layer */
/* Hallmark · dismissed 80 · the map on global.php is a diagram of real data (market positions from content.php), class="map" with an aria-label, no drawn coastline */

:root {
  --color-paper: oklch(9% 0.008 75); --color-paper-2: oklch(12.5% 0.009 75); --color-paper-3: oklch(6.5% 0.007 75);
  --color-ink: oklch(94% 0.010 80); --color-ink-2: oklch(84% 0.011 80); --color-muted: oklch(68% 0.012 80); --color-muted-2: oklch(50% 0.010 80);
  --color-rule: oklch(25% 0.010 78); --color-rule-2: oklch(16% 0.009 78);
  --color-accent: oklch(72% 0.17 45); --color-accent-ink: oklch(10% 0.02 45); --color-accent-2: oklch(74% 0.12 250); --color-focus: oklch(78% 0.15 45);
  --color-error: oklch(70% 0.17 25);
  --color-scrim: oklch(9% 0.008 75 / 0.78);
  --font-display: "Switzer", ui-sans-serif, system-ui, sans-serif; --font-body: var(--font-display);
  --font-outlier: "Geist Mono", ui-monospace, monospace;
  --radius-card: 0; --radius-pill: 0; --rule-hair: 1px; --shadow-card: none;
  --tracking-display: -0.04em; --display-weight: 500;

  --text-figure: clamp(4.5rem, 9vw, 8.5rem);
  --text-display: clamp(3rem, 5.4vw, 5.25rem);
  --text-display-s: clamp(2.4rem, 4.1vw, 3.75rem);
  --text-section: clamp(2.1rem, 3.6vw, 3.25rem);
  --text-title: clamp(1.3rem, 1.75vw, 1.5625rem);
  --text-lead: clamp(1.125rem, 1.45vw, 1.3125rem);
  --text-md: 1rem;
  --text-sm: 0.875rem;

  --space-3xs: 2px; --space-2xs: 4px; --space-xs: 8px; --space-sm: 12px; --space-md: 16px; --space-lg: 24px;
  --space-xl: 40px; --space-2xl: 64px; --space-3xl: 96px; --space-4xl: 144px;
  --container: 1440px; --gutter: 64px; --gap-columns: 32px;
  --section-gap-s: 120px; --section-gap: 144px; --section-gap-l: 176px;
  --nav-h: 72px; --control-h: 48px; --tick: 12px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1); --ease-in: cubic-bezier(0.7, 0, 0.84, 0); --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-micro: 120ms; --dur-short: 220ms; --dur-long: 420ms;
  --z-raised: 10; --z-dropdown: 100; --z-sticky-nav: 300;
}
@media (max-width: 60rem) {
  :root { --gutter: 24px; --section-gap-s: 80px; --section-gap: 96px; --section-gap-l: 120px; --nav-h: 64px; }
}
@media (max-width: 40rem) {
  :root { --gutter: 16px; --section-gap-s: 56px; --section-gap: 72px; --section-gap-l: 96px; --gap-columns: 16px; }
}

/* ---------- base, wrapped in :where() ---------- */
:where(*, *::before, *::after) { box-sizing: border-box; }
:where(html) { overflow-x: clip; scroll-padding-top: calc(var(--nav-h) + var(--space-md)); color-scheme: dark; -webkit-text-size-adjust: 100%; scrollbar-color: var(--color-rule) var(--color-paper); }
:where(body) { margin: 0; overflow-x: clip; background: var(--color-paper); color: var(--color-ink-2); font-family: var(--font-body); font-size: var(--text-md); line-height: 1.55; font-weight: 400; font-synthesis: none; -webkit-font-smoothing: antialiased; caret-color: var(--color-accent); }
:where(h1, h2, h3, h4) { margin: 0; color: var(--color-ink); font-family: var(--font-display); font-weight: var(--display-weight); line-height: 1.04; text-wrap: balance; overflow-wrap: break-word; min-width: 0; }
:where(h1) { font-size: var(--text-display); letter-spacing: var(--tracking-display); max-width: 20ch; }
:where(h2) { font-size: var(--text-section); letter-spacing: -0.03em; max-width: 30ch; }
:where(h3) { font-size: var(--text-title); letter-spacing: -0.015em; line-height: 1.15; max-width: 40ch; }
:where(p) { margin: 0; max-width: 65ch; text-wrap: pretty; }
:where(ul, ol) { margin: 0; padding: 0; list-style: none; }
:where(img) { display: block; max-width: 100%; height: auto; }
:where(a) { color: var(--color-ink); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
:where(figure, address, dl, dd, fieldset) { margin: 0; padding: 0; font-style: normal; border: 0; }
:where(button, input, textarea) { font: inherit; color: inherit; }
:where(small) { font-size: var(--text-sm); }
::selection { background: color-mix(in oklab, var(--color-accent) 35%, transparent); color: var(--color-ink); }
:where(a, button, input, textarea, [tabindex]):focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.measure { font-family: var(--font-outlier); font-variant-numeric: tabular-nums; font-weight: 400; }
.skip { position: absolute; left: var(--space-md); top: calc(-1 * var(--space-3xl)); z-index: var(--z-sticky-nav); background: var(--color-accent); color: var(--color-accent-ink); padding: var(--space-sm) var(--space-md); }
.skip:focus-visible { top: var(--space-md); }
.icon { flex-shrink: 0; width: 20px; height: 20px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.lead { font-size: var(--text-lead); line-height: 1.45; color: var(--color-ink-2); max-width: 44ch; }
.small { font-size: var(--text-sm); color: var(--color-muted); }
.tbc { display: inline-block; font-family: var(--font-body); font-size: var(--text-sm); font-weight: 500; line-height: 1; color: var(--color-muted); border: var(--rule-hair) solid var(--color-rule); padding: var(--space-2xs) var(--space-xs); vertical-align: middle; letter-spacing: 0; }

/* ---------- controls ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs); min-height: var(--control-h); padding: var(--space-sm) var(--space-lg); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-pill); background: transparent; color: var(--color-ink); font-family: var(--font-body); font-size: var(--text-md); font-weight: 500; line-height: 1.2; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.btn--line { border-color: var(--color-muted-2); }
.btn--primary { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-accent-ink); }
@media (hover: hover) {
  .btn:hover { border-color: var(--color-ink-2); background: var(--color-paper-2); }
  .btn--primary:hover { background: var(--color-focus); border-color: var(--color-focus); color: var(--color-accent-ink); }
  .link:hover, .nav-links a:hover, .foot-list a:hover, .nav-util:hover { text-decoration: underline; }
}
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; }
.link { display: inline-flex; align-items: center; gap: var(--space-xs); color: var(--color-ink); font-weight: 500; text-decoration: none; white-space: nowrap; min-height: 44px; }
.link .icon { transition: transform var(--dur-short) var(--ease-out); }
@media (hover: hover) { .link:hover .icon { transform: translateX(3px); } }
.link:active { opacity: 0.8; }
.actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); align-items: center; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: var(--z-sticky-nav); background: var(--color-paper); border-bottom: var(--rule-hair) solid var(--color-rule-2); }
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); min-height: var(--nav-h); }
.nav-logo { display: block; flex-shrink: 0; }
.nav-logo img { width: 92px; height: auto; filter: invert(1); }
.nav-menu { display: flex; align-items: center; gap: var(--space-xl); }
.nav-links { display: flex; gap: var(--space-lg); }
.nav-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: var(--text-sm); font-weight: 500; color: var(--color-ink-2); text-decoration: none; white-space: nowrap; }
.nav-links a[aria-current="page"] { color: var(--color-ink); box-shadow: inset 0 -2px 0 var(--color-accent); }
.nav-actions { display: flex; align-items: center; gap: var(--space-lg); }
.nav-util { display: inline-flex; align-items: center; gap: var(--space-xs); min-height: 44px; font-size: var(--text-sm); font-weight: 500; color: var(--color-ink-2); text-decoration: none; white-space: nowrap; }
.nav-actions .btn { min-height: 44px; font-size: var(--text-sm); padding-inline: var(--space-md); }
.nav-toggle { display: none; align-items: center; gap: var(--space-xs); min-height: 44px; padding: var(--space-xs) var(--space-sm); background: none; border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-pill); color: var(--color-ink); font-weight: 500; cursor: pointer; }
.nav-toggle:active { transform: translateY(1px); }
.nav-toggle-open, .nav-toggle-close { display: inline-flex; align-items: center; gap: var(--space-xs); }
.nav-toggle-close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-close { display: inline-flex; }
@media (max-width: 75rem) {
  .nav-in { flex-wrap: wrap; }
  .js .nav-toggle { display: inline-flex; }
  .nav-menu { flex-basis: 100%; flex-direction: column; align-items: stretch; gap: var(--space-lg); padding-block: var(--space-md) var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule-2); }
  .js .nav-menu { display: none; }
  .js .nav-menu.is-open { display: flex; }
  .nav-links { flex-direction: column; gap: 0; }
  .nav-links a { display: flex; min-height: 52px; font-size: var(--text-lead); border-bottom: var(--rule-hair) solid var(--color-rule-2); }
  .nav-links a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--color-accent); padding-inline-start: var(--space-sm); }
  .nav-actions { flex-direction: column; align-items: stretch; gap: var(--space-sm); }
  .nav-util { font-size: var(--text-md); }
  .nav-actions .btn { min-height: var(--control-h); font-size: var(--text-md); }
}

/* ---------- sections ---------- */
.sec { padding-block: var(--section-gap) 0; }
.sec--s { padding-block-start: var(--section-gap-s); }
.sec--l { padding-block-start: var(--section-gap-l); }
.sec:last-child { padding-block-end: var(--section-gap); }
.head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--space-md) var(--gap-columns); align-items: end; padding-block-start: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule); margin-block-end: var(--space-2xl); }
.head h2 { grid-column: 1 / span 7; }
.head > p { grid-column: 8 / span 5; color: var(--color-ink-2); }
.head--solo h2 { grid-column: 1 / -1; }
@media (max-width: 60rem) {
  .head h2, .head > p { grid-column: 1 / -1; }
  .head { margin-block-end: var(--space-xl); }
}

/* ---------- slots and photographs ---------- */
.slot { position: relative; overflow: hidden; background: var(--color-paper-2); outline: var(--rule-hair) solid color-mix(in oklab, var(--color-ink) 8%, transparent); outline-offset: -1px; }
.slot img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.8) contrast(1.1); position: relative; z-index: 1; }
.concept { position: absolute; z-index: 2; left: var(--space-sm); bottom: var(--space-sm); padding: var(--space-2xs) var(--space-xs); background: var(--color-scrim); color: var(--color-ink); font-size: var(--text-sm); line-height: 1.3; }
.ticks { position: relative; }
.slot.ticks { overflow: visible; }
.ticks::before, .ticks::after { content: ""; position: absolute; width: var(--tick); height: var(--tick); border: 0 solid var(--color-muted); pointer-events: none; z-index: var(--z-raised); }
.ticks::before { top: calc(-1 * var(--space-xs)); left: calc(-1 * var(--space-xs)); border-width: 1px 0 0 1px; }
.ticks::after { right: calc(-1 * var(--space-xs)); bottom: calc(-1 * var(--space-xs)); border-width: 0 1px 1px 0; }

/* ---------- hero (Stage, stat-led) ---------- */
.hero { padding-block: var(--space-2xl); min-height: calc(100dvh - var(--nav-h)); display: flex; align-items: center; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--space-3xl); align-items: center; }
.hero-figure { display: flex; flex-direction: column; gap: var(--space-xs); padding-block-end: var(--space-lg); margin-block-end: var(--space-lg); border-bottom: var(--rule-hair) solid var(--color-rule); }
.hero-num { display: flex; align-items: baseline; gap: var(--space-md); color: var(--color-ink); font-size: var(--text-figure); line-height: 0.9; letter-spacing: -0.03em; }
.hero-num-label { display: flex; align-items: center; gap: var(--space-sm); color: var(--color-muted); font-size: var(--text-md); font-weight: 500; }
.hero h1 { font-size: var(--text-display-s); max-width: 22ch; }
.hero .lead { margin-block: var(--space-lg) var(--space-xl); }
.hero-visual { aspect-ratio: 4 / 5; max-height: 72dvh; width: 100%; }
.hero-visual img { object-position: 49% 50%; }
.hero-media { position: relative; }
.strip { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-md); padding: var(--space-sm) var(--space-lg); background: var(--color-scrim); }
.strip div { display: flex; flex-direction: column; gap: var(--space-3xs); }
.strip span { color: var(--color-muted); font-size: var(--text-sm); }
.strip strong { color: var(--color-ink); font-weight: 400; font-size: var(--text-sm); }
@media (max-width: 60rem) {
  .hero { min-height: 0; padding-block: var(--space-xl) 0; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
  .hero-visual { aspect-ratio: 4 / 3; max-height: none; }
}
@media (max-width: 40rem) {
  .hero .actions .btn { width: 100%; }
  .hero-visual { aspect-ratio: 1 / 1; }
}

/* ---------- split ---------- */
.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap-columns); align-items: center; }
.split-media { grid-column: 1 / span 5; aspect-ratio: 4 / 5; }
.split-text { grid-column: 7 / span 6; display: flex; flex-direction: column; gap: var(--space-lg); }
.split-text h2 { max-width: 16ch; }
.split--r .split-media { grid-column: 8 / span 5; grid-row: 1; }
.split--r .split-text { grid-column: 1 / span 6; grid-row: 1; }
.facts { display: grid; border-top: var(--rule-hair) solid var(--color-rule); }
.facts li { padding-block: var(--space-sm); border-bottom: var(--rule-hair) solid var(--color-rule-2); color: var(--color-ink); }
@media (max-width: 60rem) {
  .split-media, .split-text, .split--r .split-media, .split--r .split-text { grid-column: 1 / -1; grid-row: auto; }
  .split-media { aspect-ratio: 4 / 3; }
}

/* ---------- bento ---------- */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: minmax(360px, auto) minmax(300px, auto) auto; gap: var(--gap-columns); }
.tile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: var(--space-sm); padding: var(--space-xl); background: var(--color-paper-2); min-width: 0; }
.tile h3 { font-size: var(--text-title); }
.tile p { color: var(--color-ink-2); max-width: 46ch; }
.tile--photo { padding: 0; background: var(--color-paper-3); }
.tile--photo .slot { position: absolute; inset: 0; }
.tile--photo .tile-text { position: relative; z-index: 2; padding: var(--space-xl); padding-block-start: var(--space-3xl); background: linear-gradient(to top, var(--color-scrim), transparent); }
.tile--photo .concept { top: var(--space-sm); bottom: auto; }
.tile-big { grid-column: span 7; grid-row: span 2; }
.tile-a { grid-column: span 5; }
.tile-b { grid-column: span 5; }
.tile-c { grid-column: span 12; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap-columns); align-items: center; padding: 0; padding-inline-start: var(--space-xl); }
.tile-c .tile-copy { grid-column: 1 / span 6; }
.tile-c-pic { grid-column: 8 / span 5; aspect-ratio: 16 / 9; height: 100%; }
.tile-c .tile-copy { display: flex; flex-direction: column; gap: var(--space-sm); }
.tile-mark { color: var(--color-ink); font-size: var(--text-display-s); line-height: 1; letter-spacing: -0.03em; }
@media (max-width: 60rem) {
  .bento { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
  .tile-big, .tile-a, .tile-b, .tile-c { grid-column: auto; grid-row: auto; }
  .tile--photo { min-height: 420px; }
  .tile-c { grid-template-columns: minmax(0, 1fr); padding: 0; }
  .tile-c .tile-copy { grid-column: 1; padding: var(--space-lg) var(--space-lg) 0; }
  .tile-c-pic { grid-column: 1; aspect-ratio: 4 / 3; }
  .tile { padding: var(--space-lg); }
  .tile--photo .tile-text { padding: var(--space-lg); padding-block-start: var(--space-3xl); }
}

/* ---------- rows (products, support) ---------- */
.rows { border-top: var(--rule-hair) solid var(--color-rule); }
.row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--space-sm) var(--gap-columns); align-items: baseline; padding-block: var(--space-lg); border-bottom: var(--rule-hair) solid var(--color-rule); }
.row-n { grid-column: 1 / span 1; color: var(--color-muted); font-size: var(--text-sm); }
.row h3 { grid-column: 1 / span 6; }
.row p { grid-column: 7 / span 6; }
.rows-note { margin-block-start: var(--space-lg); }
.with-pic { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap-columns); align-items: start; }
.with-pic .rows { grid-column: 1 / span 8; }
.with-pic .slot { grid-column: 9 / span 4; aspect-ratio: 4 / 5; }
.with-pic .row h3 { grid-column: 1 / span 6; }
.with-pic .row p { grid-column: 7 / span 6; }
@media (max-width: 60rem) {
  .with-pic .rows, .with-pic .slot { grid-column: 1 / -1; }
  .with-pic .slot { aspect-ratio: 4 / 3; }
  .row h3, .row p, .with-pic .row h3, .with-pic .row p { grid-column: 1 / -1; }
}

/* ---------- figures ---------- */
.figures { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: var(--rule-hair) solid var(--color-rule); border-bottom: var(--rule-hair) solid var(--color-rule); }
.fig { display: flex; flex-direction: column; gap: var(--space-sm); padding: var(--space-xl) var(--space-lg); border-inline-start: var(--rule-hair) solid var(--color-rule); }
.fig:first-child { border-inline-start: 0; padding-inline-start: 0; }
.fig-n { color: var(--color-ink); font-size: var(--text-display-s); line-height: 1; letter-spacing: -0.03em; white-space: nowrap; }
.fig-l { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-xs); color: var(--color-muted); font-size: var(--text-sm); font-weight: 500; }
@media (max-width: 60rem) {
  .figures { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fig:nth-child(odd) { border-inline-start: 0; padding-inline-start: 0; }
  .fig:nth-child(n+3) { border-top: var(--rule-hair) solid var(--color-rule); }
}

.figures--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.figures--2 .fig:nth-child(n+3) { border-top: 0; }
.show-wrap { margin-block-start: var(--space-2xl); }

/* ---------- markets list (home) ---------- */
.markets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-columns); margin-block-start: var(--space-2xl); }
.market { display: flex; flex-direction: column; gap: var(--space-sm); padding-block-start: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule); }
.market-when { color: var(--color-muted); font-size: var(--text-sm); }
.market p { color: var(--color-ink-2); }
@media (max-width: 60rem) { .markets { grid-template-columns: minmax(0, 1fr); } }

/* ---------- band ---------- */
.band { background: var(--color-paper-2); border-block: var(--rule-hair) solid var(--color-rule); padding-block: var(--section-gap-s); margin-block-start: var(--section-gap); }
.band-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--space-xl) var(--gap-columns); align-items: end; }
.band-grid h2 { grid-column: 1 / span 7; font-size: var(--text-display-s); max-width: 18ch; }
.band-side { grid-column: 8 / span 5; display: flex; flex-direction: column; gap: var(--space-xl); }
@media (max-width: 60rem) { .band-grid h2, .band-side { grid-column: 1 / -1; } }
@media (max-width: 40rem) { .band-side .btn { width: 100%; } }

/* ---------- page hero (Banner) ---------- */
.phero { padding-block: var(--space-3xl) 0; }
.phero-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--space-lg) var(--gap-columns); align-items: end; }
.phero h1 { grid-column: 1 / span 8; font-size: var(--text-display); max-width: 18ch; }
.phero-side { grid-column: 9 / span 4; display: flex; flex-direction: column; gap: var(--space-lg); }
.phero-wide { margin-block-start: var(--space-2xl); aspect-ratio: 21 / 9; }
@media (max-width: 60rem) {
  .phero { padding-block-start: var(--space-xl); }
  .phero h1, .phero-side { grid-column: 1 / -1; }
  .phero-wide { aspect-ratio: 4 / 3; margin-block-start: var(--space-xl); }
}

/* ---------- quote ---------- */
.quote { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap-columns); align-items: center; }
.quote .slot { grid-column: 1 / span 5; aspect-ratio: 4 / 5; }
.quote blockquote { grid-column: 7 / span 6; margin: 0; display: flex; flex-direction: column; gap: var(--space-lg); }
.quote blockquote p { color: var(--color-ink); font-size: var(--text-lead); line-height: 1.5; max-width: 52ch; }
.quote cite { font-style: normal; color: var(--color-muted); font-size: var(--text-sm); font-weight: 500; }
@media (max-width: 60rem) { .quote .slot, .quote blockquote { grid-column: 1 / -1; } .quote .slot { aspect-ratio: 4 / 3; } }

/* ---------- timeline table ---------- */
.ledger { width: 100%; border-collapse: collapse; }
.ledger th, .ledger td { text-align: left; vertical-align: baseline; padding: var(--space-lg) 0; border-bottom: var(--rule-hair) solid var(--color-rule); }
.ledger thead th { padding-block: var(--space-sm); color: var(--color-muted); font-size: var(--text-sm); font-weight: 500; white-space: nowrap; border-bottom-color: var(--color-rule); }
.ledger tbody th { width: 30%; color: var(--color-ink); font-size: var(--text-display-s); font-weight: 400; line-height: 1; letter-spacing: -0.03em; }
.ledger td { color: var(--color-ink-2); font-size: var(--text-lead); padding-inline-start: var(--gap-columns); }
@media (max-width: 40rem) { .ledger tbody th { width: 34%; } .ledger td { font-size: var(--text-md); padding-inline-start: var(--space-md); } }

/* ---------- values (3 across) ---------- */
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-columns); }
.trio li { display: flex; flex-direction: column; gap: var(--space-sm); padding-block-start: var(--space-lg); border-top: 2px solid var(--color-ink); min-height: 200px; }
.trio p { color: var(--color-ink-2); }
@media (max-width: 60rem) { .trio { grid-template-columns: minmax(0, 1fr); } .trio li { min-height: 0; } }

/* ---------- showcase (coffee page) ---------- */
.show { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap-columns); }
.show-a { grid-column: 1 / span 7; aspect-ratio: 16 / 10; }
.show-b { grid-column: 8 / span 5; aspect-ratio: auto; }
@media (max-width: 60rem) { .show-a, .show-b { grid-column: 1 / -1; aspect-ratio: 4 / 3; } }

/* ---------- store formats ---------- */
.formats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-columns); }
.format { display: flex; flex-direction: column; gap: var(--space-lg); min-width: 0; }
.format .slot { aspect-ratio: 4 / 3; }
.format-title { font-size: var(--text-title); }
.format-area { color: var(--color-ink); font-size: var(--text-display-s); line-height: 1; letter-spacing: -0.03em; white-space: nowrap; }
.format dl { display: grid; border-top: var(--rule-hair) solid var(--color-rule); }
.format dl div { padding-block: var(--space-sm); border-bottom: var(--rule-hair) solid var(--color-rule-2); display: grid; gap: var(--space-2xs); }
.format dt { color: var(--color-muted); font-size: var(--text-sm); font-weight: 500; }
.format dd { color: var(--color-ink); }
.format dd.format-area { padding-block: var(--space-xs); }
.approval { display: flex; gap: var(--space-sm); align-items: flex-start; margin-block-start: var(--space-xl); padding-block-start: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule); color: var(--color-ink); }
@media (max-width: 60rem) { .formats { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xl); } }

/* ---------- global map ---------- */
.atlas { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap-columns); align-items: start; }
.atlas-map { grid-column: 1 / span 7; position: relative; background: var(--color-paper-3); border: var(--rule-hair) solid var(--color-rule); }
.map { display: block; width: 100%; height: auto; }
.map-grid { stroke: var(--color-rule); stroke-width: 1; vector-effect: non-scaling-stroke; }
.map-grid--minor { stroke: var(--color-rule-2); }
.map-route { stroke: var(--color-muted-2); stroke-width: 1; stroke-dasharray: 4 4; fill: none; vector-effect: non-scaling-stroke; }
.map-pin rect { fill: var(--color-paper); stroke: var(--color-ink); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.map-pin text { fill: var(--color-ink-2); font-family: var(--font-body); font-size: 1.1px; font-weight: 500; }
.map-pin.is-active rect { fill: var(--color-accent); stroke: var(--color-accent); }
.map-pin.is-active text { fill: var(--color-ink); }
.map-pin { cursor: pointer; }
.map-pin:focus-visible { outline: none; }
.map-pin:focus-visible rect { stroke: var(--color-focus); stroke-width: 3; }
.atlas-note { padding: var(--space-sm) var(--space-md); border-top: var(--rule-hair) solid var(--color-rule); }
.atlas-panel { grid-column: 8 / span 5; display: flex; flex-direction: column; gap: var(--space-lg); }
.tabs { display: flex; flex-wrap: wrap; border: var(--rule-hair) solid var(--color-rule); }
.tab { flex: 1 1 auto; min-height: var(--control-h); padding: var(--space-xs) var(--space-md); background: transparent; border: 0; border-inline-start: var(--rule-hair) solid var(--color-rule); color: var(--color-ink-2); font-weight: 500; cursor: pointer; white-space: nowrap; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.tab:first-child { border-inline-start: 0; }
.tab[aria-selected="true"] { background: var(--color-accent); color: var(--color-accent-ink); }
@media (hover: hover) { .tab:hover { background: var(--color-paper-2); color: var(--color-ink); } .tab[aria-selected="true"]:hover { background: var(--color-focus); color: var(--color-accent-ink); } }
.tab:active { opacity: 0.85; }
.tab:focus-visible { outline-offset: -3px; }
.mkt { display: flex; flex-direction: column; gap: var(--space-md); padding-block: var(--space-lg); border-bottom: var(--rule-hair) solid var(--color-rule); }
.mkt h3 { font-size: var(--text-section); }
.mkt-when { color: var(--color-muted); font-size: var(--text-sm); }
.mkt p { color: var(--color-ink-2); }
.js .mkt[hidden] { display: none; }
@media (max-width: 60rem) { .atlas-map, .atlas-panel { grid-column: 1 / -1; } }
@media (max-width: 40rem) { .map-pin text { font-size: 1.7px; } }

/* ---------- partner ---------- */
.models { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap-columns); }
.model { display: flex; flex-direction: column; justify-content: space-between; gap: var(--space-xl); min-height: 200px; padding: var(--space-xl); background: var(--color-paper-2); }
.model h3 { font-size: var(--text-title); max-width: 24ch; }
.model p { color: var(--color-ink-2); }
@media (max-width: 60rem) { .models { grid-template-columns: minmax(0, 1fr); } .model { padding: var(--space-lg); min-height: 0; } }
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--gap-columns); counter-reset: step; }
.steps li { counter-increment: step; display: flex; flex-direction: column; gap: var(--space-sm); padding-block-start: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule); }
.steps li::before { content: counter(step); font-family: var(--font-outlier); font-size: var(--text-display-s); line-height: 1; color: var(--color-ink); letter-spacing: -0.03em; margin-block-end: var(--space-md); }
.steps li:first-child { border-top-color: var(--color-accent); }
.steps h3 { font-size: var(--text-title); }
.steps p { color: var(--color-ink-2); }
@media (max-width: 60rem) { .steps { grid-template-columns: minmax(0, 1fr); } .steps li { display: grid; grid-template-columns: 64px minmax(0, 1fr); column-gap: var(--space-md); } .steps li::before { grid-row: span 2; margin: 0; } }

/* ---------- form ---------- */
.inq { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--space-xl) var(--gap-columns); align-items: start; }
.inq-head { grid-column: 1 / span 4; display: flex; flex-direction: column; gap: var(--space-lg); position: sticky; top: calc(var(--nav-h) + var(--space-xl)); }
.inq-head h2 { font-size: var(--text-display-s); }
.inq-body { grid-column: 6 / span 7; }
@media (max-width: 60rem) { .inq-head, .inq-body { grid-column: 1 / -1; position: static; } }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-lg) var(--space-lg); }
.field { display: flex; flex-direction: column; gap: var(--space-xs); min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .field .label { color: var(--color-ink); font-size: var(--text-sm); font-weight: 500; }
.req { color: var(--color-muted); font-weight: 400; }
.input { width: 100%; min-height: var(--control-h); padding: var(--space-sm) var(--space-md); background: var(--color-paper); border: var(--rule-hair) solid var(--color-muted-2); border-radius: 0; color: var(--color-ink); font-size: var(--text-md); outline: 2px solid transparent; outline-offset: -3px; transition: background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out); }
textarea.input { min-height: 8rem; resize: vertical; line-height: 1.5; }
.input::placeholder { color: var(--color-muted-2); }
@media (hover: hover) { .input:hover, .dd-btn:hover { background: var(--color-paper-2); } }
.input:focus-visible, .dd-btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: -3px; border-color: var(--color-ink-2); }
.input:disabled, .dd-btn:disabled { opacity: 0.55; cursor: not-allowed; }
.input:active, .dd-btn:active { border-color: var(--color-ink-2); }
.help { min-height: 1lh; color: var(--color-muted); font-size: var(--text-sm); }
.is-error .input, .is-error .dd-btn { border-color: var(--color-error); }
.is-error .help { color: var(--color-error); }
.errsum { grid-column: 1 / -1; padding: var(--space-md) var(--space-lg); border: var(--rule-hair) solid var(--color-error); color: var(--color-ink); }
.errsum:focus-visible { outline-offset: 2px; }
/* custom dropdown */
.dd { position: relative; }
.dd-btn { display: flex; align-items: center; justify-content: space-between; gap: var(--space-sm); width: 100%; min-height: var(--control-h); padding: var(--space-sm) var(--space-md); background: var(--color-paper); border: var(--rule-hair) solid var(--color-muted-2); border-radius: 0; color: var(--color-ink); text-align: left; cursor: pointer; outline: 2px solid transparent; outline-offset: -3px; transition: background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out); }
.dd-btn .icon { transition: transform var(--dur-short) var(--ease-out); }
.dd-btn[aria-expanded="true"] .icon { transform: rotate(180deg); }
.dd-val.is-empty { color: var(--color-muted); }
.dd-list { position: absolute; z-index: var(--z-dropdown); left: 0; right: 0; top: calc(100% + var(--space-2xs)); max-height: 18rem; overflow-y: auto; background: var(--color-paper); border: var(--rule-hair) solid var(--color-muted-2); padding-block: var(--space-2xs); }
.dd-list[hidden] { display: none; }
.dd-opt { display: flex; align-items: center; justify-content: space-between; gap: var(--space-sm); min-height: 44px; padding: var(--space-xs) var(--space-md); color: var(--color-ink-2); cursor: pointer; }
.dd-opt .icon { visibility: hidden; color: var(--color-accent); }
.dd-opt[aria-selected="true"] { color: var(--color-ink); }
.dd-opt[aria-selected="true"] .icon { visibility: visible; }
.dd-opt.is-active { background: var(--color-paper-3); color: var(--color-ink); box-shadow: inset 2px 0 0 var(--color-accent); }
.dd-noscript { display: grid; gap: var(--space-2xs); }
.js .dd-noscript { display: none; }
html:not(.js) .dd-btn { display: none; }
/* custom checkbox */
.check { display: flex; gap: var(--space-sm); align-items: flex-start; cursor: pointer; color: var(--color-ink); }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check-box { flex-shrink: 0; display: grid; place-items: center; width: 24px; height: 24px; margin-block-start: var(--space-3xs); border: var(--rule-hair) solid var(--color-muted); background: var(--color-paper); color: var(--color-accent-ink); transition: background-color var(--dur-micro) var(--ease-out), border-color var(--dur-micro) var(--ease-out); }
.check-box .icon { width: 16px; height: 16px; opacity: 0; transition: opacity var(--dur-micro) var(--ease-out); }
.check input:checked + .check-box { background: var(--color-accent); border-color: var(--color-accent); }
.check input:checked + .check-box .icon { opacity: 1; }
.check input:focus-visible + .check-box { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.check input:disabled + .check-box { opacity: 0.55; cursor: not-allowed; }
@media (hover: hover) { .check:hover .check-box { border-color: var(--color-ink); } }
.check:active .check-box { background: var(--color-paper-2); }
.is-error .check-box { border-color: var(--color-error); }
.privacy { grid-column: 1 / -1; padding: var(--space-lg); background: var(--color-paper-3); display: flex; flex-direction: column; gap: var(--space-md); }
.privacy p { color: var(--color-ink-2); font-size: var(--text-sm); }
.form-submit { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-lg); }
@media (max-width: 40rem) { .form { grid-template-columns: minmax(0, 1fr); } .form-submit .btn { width: 100%; } }
.thanks { display: flex; flex-direction: column; gap: var(--space-lg); padding: var(--space-xl); background: var(--color-paper); border-top: 2px solid var(--color-accent); }
.thanks h3 { font-size: var(--text-section); }
.thanks:focus-visible { outline-offset: 4px; }

/* ---------- news index ---------- */
.lead-story { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap-columns); align-items: center; padding-block-end: var(--space-2xl); }
.lead-story .slot { grid-column: 1 / span 7; aspect-ratio: 4 / 3; }
.lead-story-text { grid-column: 8 / span 5; display: flex; flex-direction: column; gap: var(--space-md); }
.lead-story-text h2 { font-size: var(--text-section); }
.meta { display: flex; flex-wrap: wrap; gap: var(--space-md); color: var(--color-muted); font-size: var(--text-sm); }
.meta time { color: var(--color-ink-2); }
.index { border-top: var(--rule-hair) solid var(--color-rule); }
.index li { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--space-sm) var(--gap-columns); align-items: baseline; padding-block: var(--space-lg); border-bottom: var(--rule-hair) solid var(--color-rule); }
.index time { grid-column: 1 / span 2; color: var(--color-ink-2); }
.index .cat { grid-column: 3 / span 2; color: var(--color-muted); font-size: var(--text-sm); }
.index h3 { grid-column: 5 / span 4; }
.index p { grid-column: 9 / span 4; color: var(--color-ink-2); }
@media (max-width: 60rem) {
  .lead-story .slot, .lead-story-text { grid-column: 1 / -1; }
  .index li { grid-template-columns: minmax(0, 1fr) auto; }
  .index time { grid-column: 1; grid-row: 1; }
  .index .cat { grid-column: 2; grid-row: 1; }
  .index h3, .index p { grid-column: 1 / -1; }
}

/* ---------- footer ---------- */
.foot { margin-block-start: var(--section-gap); padding-block: var(--space-3xl) var(--space-xl); background: var(--color-paper-3); border-top: var(--rule-hair) solid var(--color-rule); }
main:has(> .band:last-child) + .foot { margin-block-start: 0; }
.note-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-sm) var(--space-lg); }
.foot-mast { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--space-lg); padding-block-end: var(--space-xl); border-bottom: var(--rule-hair) solid var(--color-rule); }
.foot-logo img { width: 220px; height: auto; filter: invert(1); }
.foot-line { color: var(--color-ink); font-size: var(--text-lead); }
.foot-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-xl) var(--gap-columns); padding-block: var(--space-xl); }
.foot-h { font-size: var(--text-sm); font-weight: 500; color: var(--color-muted); letter-spacing: 0; margin-block-end: var(--space-md); }
.foot-list { display: flex; flex-direction: column; gap: var(--space-xs); }
.foot-list a { display: inline-flex; align-items: center; gap: var(--space-xs); min-height: 32px; color: var(--color-ink-2); text-decoration: none; }
.foot-list span { color: var(--color-ink-2); max-width: 36ch; }
.foot-legal { display: flex; flex-direction: column; gap: var(--space-xs); padding-block-start: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule-2); }
.foot-legal p { color: var(--color-muted); font-size: var(--text-sm); max-width: 90ch; }
@media (max-width: 60rem) { .foot-grid { grid-template-columns: minmax(0, 1fr); } .foot-logo img { width: 160px; } }

/* ---------- motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}
