/* Hallmark · shape: Manifesto (07) · genre: editorial · theme: Manifesto (deal: manual, picked by hand from index.json for a confident brand-story voice) · job: join (partner inquiry) · draw: manual (scripts not run)
 * hero: Ledge, the pour full-bleed as the tall field, the declaration resting at its base on the paper · nav: slab, logo, six links, a utility link and one hairline action over a 4px ink bar · footer: mast, the logo large over three columns and a colophon · imagery: photographs, HWC's own 3 (pour, beans, founder) plus 8 concept images, duotone paper ink con=24 · signature: the HWC server under the pour, printed in off-white ink under a two-line Anton declaration with one red word
 * axes: dark/display-condensed/warm · posture: committed · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R4 V4 · weakest: S, the tagline is a slogan any chain could print; carried by the real HWC server photo and Taichung, Panama and SCA facts set as the record */
/* Hallmark · waive 38iii · the red word WORLD, once, in the hero head only · Manifesto theme signature placed on the tagline's last noun, every other head one colour */
/* Hallmark · waive 55b · hero and statement lines each sit in their own nowrap span sized in cqi, so they cannot wrap at 320 · leading at the theme's 0.9 */
/* Hallmark · copy: verbatim · content.php is the client's approved copy (en dashes in ranges, paragraph lengths) and the footer version line is mandated word for word by the brief */
/* Hallmark · answered F4 · the red band's button is the theme's ground-coloured primary on the red field, a second recipe the theme prescribes, never beside the red one */
/* Hallmark · hero-review: subagent · fix · 5 findings · 4 resolved 1 unresolved (the headline is the client's fixed tagline) */
/* Hallmark · finish-review: subagent · fix · 8 findings · 7 resolved 1 partial (hero crop keeps the server base, the top of the dripper stays cut at 1440) · founder portrait kept: real HWC material beats the theme's no-faces rule · gap: below the hero the page is calmer than a poster, by the client's copy volume */
/* Hallmark · photographs are HWC's own or the client's AI concept images, so no library credit line; concept images carry a caption saying so */

@import url("./tokens.css");
@import url("./base.css");

:root {
  --nav-h: 76px;
  --text-poster: clamp(3.25rem, 8vw, 8.5rem);
  --text-statement: clamp(3rem, 8vw, 8.5rem);
  --text-record: clamp(1.75rem, 2vw + 1rem, 3rem);
  --text-section: clamp(2.5rem, 4vw + 0.5rem, 5rem);
}

/* ---------- type ---------- */
:where(body) { color: var(--color-ink-2); }
:where(h1, h2, h3) { font-weight: 400; text-transform: uppercase; line-height: 1.02; color: var(--color-ink); }
.lead { color: var(--color-ink-2); }
.display { max-width: none; line-height: var(--lh-tight); container-type: inline-size; text-wrap: nowrap; }
.display > span { display: block; white-space: nowrap; font-size: min(10.3cqi, 13rem); }
.display > span > span { display: inline; }
.display .hot { color: var(--color-accent-text); }
.statement { max-width: none; font-size: var(--text-statement); line-height: 1.02; }
.statement > span { display: block; }
.note, .caption { font-size: var(--text-sm); font-weight: 500; color: var(--color-muted); }
.tbc { font-size: var(--text-xs); font-weight: 500; color: var(--color-muted); text-decoration: none; border: var(--rule-hair) solid var(--color-rule); padding: 0 var(--space-2xs); margin-inline-start: var(--space-2xs); vertical-align: 0.1em; cursor: help; }

/* ---------- controls ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs); min-height: 48px; padding: 0 var(--space-lg); border: var(--rule-hair) solid transparent; border-radius: 0; background: none; color: var(--color-ink); font: 600 var(--text-md)/1 var(--font-body); white-space: nowrap; text-decoration: none; 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:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn--primary { background: var(--color-accent); color: var(--color-accent-ink); }
.btn--line { border-color: var(--color-ink-2); color: var(--color-ink); }
.btn--ground { background: var(--color-paper); color: var(--color-ink); }
@media (hover: hover) {
  .btn--primary:hover { background: var(--color-accent-deep); }
  .btn--line:hover { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-accent-ink); }
  .btn--ground:hover { background: var(--color-paper-3); }
  .band--red .btn--line:hover { background: var(--color-accent-deep); border-color: var(--color-accent-ink); color: var(--color-accent-ink); }
}
.band--red .btn:focus-visible { outline-color: var(--color-accent-ink); }
.actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); }
.textlink { display: inline-flex; align-items: center; min-height: 44px; color: var(--color-ink); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.22em; transition: color var(--dur-short) var(--ease-out); }
@media (hover: hover) { .textlink:hover { color: var(--color-accent-text); } }
.textlink:active { color: var(--color-ink-2); }
.textlink:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.skip { position: absolute; left: var(--space-md); top: calc(-1 * var(--space-3xl)); z-index: var(--z-toast); padding: var(--space-xs) var(--space-md); background: var(--color-ink); color: var(--color-paper); }
.skip:focus-visible { top: var(--space-md); }

/* ---------- nav: slab ---------- */
.nav { position: relative; z-index: var(--z-sticky-nav); background: var(--color-paper); border-bottom: var(--rule-bar) solid var(--color-ink); }
.nav__bar { display: flex; align-items: center; gap: var(--space-lg); min-height: var(--nav-h); }
.nav__logo { display: inline-flex; flex-shrink: 0; padding-block: var(--space-xs); }
.nav__logo img { width: 104px; height: auto; filter: invert(1); }
.nav__logo:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.nav__menu { display: flex; align-items: center; gap: var(--space-lg); margin-inline-start: auto; }
.nav__links { display: flex; gap: var(--space-md); margin: 0; padding: 0; list-style: none; }
.nav__links a, .nav__util { 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; transition: color var(--dur-short) var(--ease-out); }
.nav__links a[aria-current="page"] { color: var(--color-ink); text-decoration: underline; text-decoration-color: var(--color-accent-text); text-decoration-thickness: 2px; text-underline-offset: 0.5em; }
@media (hover: hover) { .nav__links a:hover, .nav__util:hover { color: var(--color-ink); } }
.nav__links a:focus-visible, .nav__util:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.nav__actions { display: flex; align-items: center; gap: var(--space-md); }
.nav__actions .btn { min-height: 44px; font-size: var(--text-sm); padding: 0 var(--space-md); }
.nav__util { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
.nav__toggle { display: none; margin-inline-start: auto; align-items: center; justify-content: center; width: 48px; height: 48px; padding: 0; border: var(--rule-hair) solid var(--color-ink-2); background: none; color: var(--color-ink); cursor: pointer; transition: background-color var(--dur-short) var(--ease-out); }
.nav__toggle:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.nav__toggle:active { background: var(--color-paper-3); }
.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: 77rem) {
  .nav__bar { flex-wrap: wrap; }
  .js .nav__toggle { display: inline-flex; }
  .nav__menu { flex-basis: 100%; flex-direction: column; align-items: stretch; gap: var(--space-md); padding-block: var(--space-sm) var(--space-lg); }
  .js .nav__menu { display: none; }
  .js .nav.is-open .nav__menu { display: flex; }
  .nav__links { flex-direction: column; gap: 0; }
  .nav__links li { border-top: var(--rule-hair) solid var(--color-rule); }
  .nav__links a { min-height: 52px; font-size: var(--text-lg); width: 100%; }
  .nav__actions { flex-direction: column; align-items: stretch; gap: var(--space-sm); }
  .nav__actions .btn { min-height: 48px; font-size: var(--text-md); }
}

/* ---------- photographs ---------- */
.photo { margin: 0; }
.photo__frame { aspect-ratio: 4 / 3; border-radius: 0; outline: var(--rule-hair) solid var(--color-rule); outline-offset: -1px; }
.photo--tall .photo__frame { aspect-ratio: 4 / 5; min-height: 440px; }
.photo--wide .photo__frame { aspect-ratio: 21 / 9; min-height: 420px; }
.caption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-xs) var(--space-lg); margin-top: var(--space-sm); }
.caption__note { color: var(--color-muted); }

/* ---------- sections ---------- */
.sec { padding-block: var(--section-gap); }
.sec--s { padding-block: var(--section-gap-s); }
.sec--l { padding-block: var(--section-gap-l) var(--section-gap); }
.band { padding-block: var(--section-gap-s); }
.sec--flush { padding-top: 0; }
.idx__note { margin-top: var(--space-lg); }
.band--2 { background: var(--color-paper-2); border-top: var(--rule-hair) solid var(--color-rule); }
.band--red { background: var(--color-accent); color: var(--color-accent-ink); }
.band--red :where(h2, h3, p) { color: var(--color-accent-ink); }
.headsplit { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-lg) var(--gap-columns); align-items: end; margin-bottom: var(--space-2xl); }
.headsplit h2 { max-width: 18ch; }
.headsplit .lead { max-width: 40ch; }

/* hero: Ledge */
.hero { display: flex; flex-direction: column; min-height: calc(100dvh - var(--nav-h) - var(--rule-bar)); }
.hero__photo { position: relative; flex: 1 1 auto; min-height: 260px; }
.hero__photo .photo__frame { position: absolute; inset: 0; aspect-ratio: auto; outline: 0; }
.hero__text { padding-block: var(--space-xl); }
.hero__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-lg) var(--space-2xl); margin-top: var(--space-lg); padding-top: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule); }
.hero__photo img { transform: scale(1.02); }
.reveal { animation: wipe var(--dur-long) var(--ease-out) both; animation-duration: 640ms; }
@keyframes wipe { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0); } }

/* brand intro: statement */
.intro__body { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--space-2xl) var(--gap-columns); margin-top: var(--space-2xl); padding-top: var(--space-xl); border-top: var(--rule-hair) solid var(--color-rule); }
.intro__side { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-lg); }
.ruled { width: 100%; margin: 0; padding: 0; list-style: none; }
.ruled li { padding-block: var(--space-sm); border-bottom: var(--rule-hair) solid var(--color-rule); color: var(--color-ink); }
.ruled li:first-child { border-top: var(--rule-hair) solid var(--color-rule); }

/* the record */
.record { margin: 0 0 var(--space-xl); padding: 0; list-style: none; counter-reset: rec; border-bottom: var(--rule-hair) solid var(--color-rule); }
.record > li { counter-increment: rec; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 5fr) minmax(0, 5fr); gap: var(--space-md) var(--gap-columns); align-items: baseline; padding-block: var(--space-xl); border-top: var(--rule-hair) solid var(--color-rule); }
.record > li::before { content: counter(rec, decimal-leading-zero); font-family: var(--font-display); font-size: var(--text-section); line-height: 1; color: var(--color-muted); font-variant-numeric: tabular-nums; }
.record--plain > li { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.record--plain > li::before { content: none; }
.record h3 { font-size: var(--text-record); max-width: 22ch; }
.record p { max-width: 52ch; }
.record-sec .textlink { margin-top: var(--space-xs); }

/* split */
.split { display: grid; gap: var(--space-2xl) var(--space-3xl); align-items: center; }
.split--5-7 { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.split--7-5 { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.split--6-6 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.split__text { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-lg); }
.split__text h2 { max-width: 14ch; }
.cats { width: 100%; margin: var(--space-xs) 0 0; }
.cats > div { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-2xs) var(--gap-columns); padding-block: var(--space-sm); border-top: var(--rule-hair) solid var(--color-rule); }
.cats > div:last-child { border-bottom: var(--rule-hair) solid var(--color-rule); }
.cats dt { font-weight: 600; color: var(--color-ink); }
.cats dd { margin: 0; }

/* figures */
.figures { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0 0 var(--space-2xl); }
.figures > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: var(--space-xs); padding-inline: var(--space-lg); border-left: var(--rule-hair) solid var(--color-rule); }
.figures > div:first-child { padding-left: 0; border-left: 0; }
.figures dt { font-size: var(--text-sm); font-weight: 500; color: var(--color-muted); }
.figures dd { margin: 0; font-family: var(--font-display); font-size: clamp(3rem, 5.4vw, 5.5rem); line-height: 1; color: var(--color-ink); }

.markets-line { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-columns); margin: 0 0 var(--space-xl); padding: var(--space-xl) 0 0; list-style: none; border-top: var(--rule-hair) solid var(--color-rule); }
.markets-line li { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-2xs); }
.markets-line h3 { font-size: var(--text-section); }
.markets-line .textlink { min-height: 44px; }

/* pledge: the one red field */
.pledge__inner { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-xl) var(--space-3xl); align-items: end; }
.pledge h2 { font-size: var(--text-statement); max-width: 12ch; }
.pledge__side { display: flex; flex-direction: column; gap: var(--space-xl); }
.band--red .btn--line { border-color: var(--color-accent-ink); color: var(--color-accent-ink); }

/* ---------- inner pages ---------- */
.poster__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-lg) var(--space-2xl); margin-top: var(--space-2xl); padding-top: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule); }
.phead { padding-block: var(--space-3xl) var(--space-2xl); border-bottom: var(--rule-hair) solid var(--color-rule); }
.phead h1 { max-width: 18ch; font-size: var(--text-poster); line-height: 1.02; }
.phead .lead { margin-top: var(--space-lg); max-width: 56ch; }
.phead__grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: var(--space-xl) var(--gap-columns); align-items: end; }
.phead__grid .lead { margin-top: 0; }

/* brand */
.quote { margin: 0; display: flex; flex-direction: column; gap: var(--space-lg); }
.quote p { font-size: var(--text-lead); line-height: 1.5; color: var(--color-ink); max-width: 46ch; }
.quote footer { font-size: var(--text-sm); font-weight: 500; color: var(--color-muted); }
.years { margin: 0; padding: 0; list-style: none; }
.years li { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--space-md) var(--gap-columns); align-items: center; padding-block: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule); }
.years li:last-child { border-bottom: var(--rule-hair) solid var(--color-rule); }
.years time { font-family: var(--font-display); font-size: clamp(3rem, 6vw, 6rem); line-height: 1; color: var(--color-ink); font-variant-numeric: tabular-nums; }
.years p { font-size: var(--text-lead); color: var(--color-ink-2); max-width: 40ch; }

/* stores */
.formats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-2xl) var(--gap-columns); margin: 0; padding: 0; list-style: none; }
.formats > li { display: flex; flex-direction: column; gap: var(--space-lg); }
.formats h2 { font-size: var(--text-title); font-size: clamp(1.75rem, 1.6vw + 1rem, 2.5rem); }
.spec { margin: 0; }
.spec > div { padding-block: var(--space-sm); border-top: var(--rule-hair) solid var(--color-rule); }
.spec > div:last-child { border-bottom: var(--rule-hair) solid var(--color-rule); }
.spec dt { font-size: var(--text-sm); font-weight: 500; color: var(--color-muted); }
.spec dd { margin: var(--space-2xs) 0 0; color: var(--color-ink); }
.approval { margin-top: var(--space-2xl); padding: var(--space-lg) 0; border-top: var(--rule-hair) solid var(--color-rule); font-size: var(--text-lead); color: var(--color-ink); }

/* global: switcher + map */
.atlas { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-2xl) var(--space-3xl); align-items: start; }
.seg { display: flex; flex-wrap: wrap; gap: 0; margin-bottom: var(--space-xl); }
.seg button { min-height: 48px; padding: 0 var(--space-lg); border: var(--rule-hair) solid var(--color-ink-2); margin-inline-start: -1px; background: none; color: var(--color-ink); font: 600 var(--text-md)/1 var(--font-body); cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.seg button:first-child { margin-inline-start: 0; }
.seg button[aria-selected="true"] { background: var(--color-ink); color: var(--color-paper); }
@media (hover: hover) { .seg button[aria-selected="false"]:hover { background: var(--color-paper-3); } }
.seg button:active { transform: translateY(1px); }
.seg button:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; position: relative; z-index: var(--z-raised); }
html:not(.js) .seg { display: none; }
.panel { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-md); padding-block: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule); }
html:not(.js) .panel + .panel { margin-top: var(--space-xl); }
.panel h2 { font-size: var(--text-statement); }
.panel .since { font-size: var(--text-sm); font-weight: 500; color: var(--color-muted); }
.panel p { font-size: var(--text-lead); max-width: 40ch; }
.panel .textlink .icon { margin-inline-start: var(--space-xs); flex-shrink: 0; }
.map { position: relative; margin: 0; }
.map svg { width: 100%; height: auto; }
.map .grat { stroke: var(--color-rule); stroke-width: 0.5; fill: none; }
.map .land { fill: var(--color-paper-3); stroke: var(--color-rule); stroke-width: 1; }
.map .route { stroke: var(--color-muted); stroke-width: 1.5; stroke-dasharray: 6 6; fill: none; }
.map .pin circle { fill: var(--color-ink); }
.map .pin .ring { fill: none; stroke: var(--color-ink); stroke-width: 1.5; }
.map .pin.is-active circle { fill: var(--color-accent); }
.map .pin.is-active .ring { stroke: var(--color-accent); }
.map__canvas { position: relative; }
.map__label { position: absolute; display: inline-flex; align-items: center; min-height: 44px; padding-inline: var(--space-md); transform: translateY(-50%); font-size: var(--text-md); font-weight: 600; color: var(--color-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.22em; white-space: nowrap; transition: color var(--dur-short) var(--ease-out); }
.map__label--l { transform: translate(-100%, -50%); }
.map__label.is-active { color: var(--color-accent-text); }
@media (hover: hover) { .map__label:hover { color: var(--color-accent-text); } }
.map__label:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 0; }
.map__label:active { color: var(--color-ink-2); }
.map figcaption { padding: var(--space-sm) 0; border-top: var(--rule-hair) solid var(--color-rule); font-size: var(--text-sm); font-weight: 500; color: var(--color-muted); }

/* partner */
.models { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2xl) var(--gap-columns); margin: 0; padding: 0; list-style: none; }
.models li { display: flex; flex-direction: column; gap: var(--space-sm); padding-top: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule); }
.models h3 { font-size: var(--text-record); }
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--space-xl) var(--gap-columns); margin: 0; padding: 0; list-style: none; counter-reset: st; }
.steps li { counter-increment: st; display: flex; flex-direction: column; gap: var(--space-sm); padding-top: var(--space-md); border-top: var(--rule-hair) solid var(--color-rule); }
.steps li::before { content: counter(st); font-family: var(--font-display); font-size: clamp(3.5rem, 5vw, 5.5rem); line-height: 1; color: var(--color-muted); }
.steps h3 { font-size: var(--text-title); }
.steps li > div { display: flex; flex-direction: column; gap: var(--space-xs); }

/* form */
.inquiry { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-2xl) var(--space-3xl); align-items: start; }
.inquiry__head { display: flex; flex-direction: column; gap: var(--space-lg); }
.inquiry__head h2 { max-width: 12ch; }
.privacy { font-size: var(--text-sm); color: var(--color-muted); max-width: 46ch; }
.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 { font-size: var(--text-sm); font-weight: 500; color: var(--color-ink); }
.field .opt { color: var(--color-muted); font-weight: 400; }
.input { width: 100%; min-height: 48px; padding: var(--space-sm) var(--space-md); border: var(--rule-hair) solid var(--color-muted); border-radius: 0; background: var(--color-paper-2); color: var(--color-ink); outline: 2px solid transparent; outline-offset: -3px; transition: background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out); }
input.input { height: 48px; padding-block: 0; }
textarea.input { min-height: 8rem; resize: vertical; line-height: 1.5; }
@media (hover: hover) { .input:hover { background: var(--color-paper-3); } }
.input:focus-visible { outline-color: var(--color-focus); border-color: var(--color-ink-2); }
.input:disabled { opacity: 0.55; cursor: not-allowed; }
.input[aria-invalid="true"] { border-color: var(--color-error); }
.help { min-height: 1lh; font-size: var(--text-sm); color: var(--color-muted); }
.help.is-error { color: var(--color-error); }
.form__foot { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-lg); padding-top: var(--space-md); border-top: var(--rule-hair) solid var(--color-rule); }
.form__foot .btn:disabled { opacity: 0.55; cursor: not-allowed; }

/* custom listbox */
.combo { position: relative; }
.combo__btn { display: flex; align-items: center; justify-content: space-between; gap: var(--space-sm); width: 100%; min-height: 48px; padding: 0 var(--space-md); border: var(--rule-hair) solid var(--color-muted); background: var(--color-paper-2); color: var(--color-ink); text-align: start; cursor: pointer; outline: 2px solid transparent; outline-offset: -3px; transition: background-color var(--dur-short) var(--ease-out); }
.combo__btn .ph { color: var(--color-muted); }
.combo__btn .icon { flex-shrink: 0; transition: transform var(--dur-short) var(--ease-out); }
.combo__btn[aria-expanded="true"] .icon { transform: rotate(180deg); }
@media (hover: hover) { .combo__btn:hover { background: var(--color-paper-3); } }
.combo__btn:active { background: var(--color-paper-3); }
.combo__btn:focus-visible { outline-color: var(--color-focus); }
.combo__btn:disabled { opacity: 0.55; cursor: not-allowed; }
.combo__btn[aria-invalid="true"] { border-color: var(--color-error); }
.combo__list { position: absolute; z-index: var(--z-dropdown); left: 0; right: 0; top: 100%; max-height: 18rem; overflow-y: auto; margin: var(--space-2xs) 0 0; padding: var(--space-2xs) 0; list-style: none; background: var(--color-paper-3); border: var(--rule-hair) solid var(--color-ink-2); }
.combo__list[hidden] { display: none; }
.combo__list li { display: flex; align-items: center; justify-content: space-between; gap: var(--space-sm); min-height: 44px; padding: 0 var(--space-md); color: var(--color-ink-2); cursor: pointer; }
.combo__list li .icon { visibility: hidden; flex-shrink: 0; }
.combo__list li[aria-selected="true"] { color: var(--color-ink); font-weight: 600; }
.combo__list li[aria-selected="true"] .icon { visibility: visible; }
.combo__list li.is-active { background: var(--color-paper); color: var(--color-ink); outline: 2px solid var(--color-focus); outline-offset: -2px; }
@media (hover: hover) { .combo__list li:hover { background: var(--color-paper); color: var(--color-ink); } }

/* custom checkbox */
.check { display: flex; align-items: flex-start; gap: var(--space-sm); cursor: pointer; color: var(--color-ink); }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.check__box { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 24px; height: 24px; border: var(--rule-hair) solid var(--color-muted); background: var(--color-paper-2); 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 { 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; }
.check input[aria-invalid="true"] + .check__box { border-color: var(--color-error); }
@media (hover: hover) { .check:hover .check__box { border-color: var(--color-ink-2); } }

.alert { display: flex; gap: var(--space-sm); grid-column: 1 / -1; padding: var(--space-md) var(--space-lg); border: var(--rule-hair) solid var(--color-error); color: var(--color-ink); }
.alert .icon { color: var(--color-error); flex-shrink: 0; margin-top: var(--space-3xs); }
.alert ul { margin: var(--space-xs) 0 0; padding-inline-start: var(--space-lg); }
.alert a { color: var(--color-ink); }
.thanks { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-lg); padding: var(--space-xl); background: var(--color-paper-3); border-top: var(--rule-hair) solid var(--color-accent); }
.thanks h3 { font-size: var(--text-section); }
.thanks .icon { color: var(--color-success); }

/* news: index */
.newslead { margin-bottom: var(--space-3xl); }
.newslead time, .idx time, .idx .cat { font-size: var(--text-sm); font-weight: 500; color: var(--color-muted); }
.newslead .meta { display: flex; gap: var(--space-lg); }
.newslead h2 { max-width: 16ch; }
.idx { margin: 0; padding: 0; list-style: none; border-bottom: var(--rule-hair) solid var(--color-rule); }
.idx li { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 2fr) minmax(0, 8fr); gap: var(--space-sm) var(--gap-columns); align-items: baseline; padding-block: var(--space-xl); border-top: var(--rule-hair) solid var(--color-rule); }
.idx h3 { font-size: var(--text-record); max-width: 28ch; }
.idx p { margin-top: var(--space-sm); max-width: 60ch; }

/* ---------- footer: mast ---------- */
.foot { padding-block: var(--space-3xl) var(--space-xl); border-top: var(--rule-hair) solid var(--color-rule); }
.foot__mast { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--space-lg); padding-bottom: var(--space-xl); border-bottom: var(--rule-hair) solid var(--color-rule); }
.foot__logo img { width: clamp(180px, 22vw, 320px); height: auto; filter: invert(1); }
.foot__logo:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }
.foot__line { font-family: var(--font-display); font-size: var(--text-title); text-transform: uppercase; color: var(--color-ink); }
.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__head { font-family: var(--font-body); font-size: var(--text-sm); font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--color-muted); margin-bottom: var(--space-sm); }
.foot ul { margin: 0; padding: 0; list-style: none; }
.foot__col a { display: inline-flex; align-items: center; gap: var(--space-xs); min-height: 32px; color: var(--color-ink-2); text-decoration: none; transition: color var(--dur-short) var(--ease-out); }
@media (hover: hover) { .foot__col a:hover { color: var(--color-ink); text-decoration: underline; } }
.foot__col a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.foot address { font-style: normal; color: var(--color-ink-2); line-height: 1.7; max-width: 36ch; }
.foot__legal { display: flex; flex-direction: column; gap: var(--space-xs); padding-top: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule); font-size: var(--text-sm); color: var(--color-muted); }
.foot__legal p { max-width: 90ch; }

/* ---------- responsive ---------- */
@media (max-width: 60rem) {
  .headsplit, .intro__body, .split--5-7, .split--7-5, .split--6-6, .pledge__inner, .phead__grid, .atlas, .inquiry { grid-template-columns: minmax(0, 1fr); }
  .hero__photo { flex: 0 0 auto; }
  .hero__photo .photo__frame { position: relative; aspect-ratio: 4 / 3; }
  .hero { min-height: 0; }
  .record > li { grid-template-columns: minmax(0, 1fr) minmax(0, 5fr); }
  .record > li p { grid-column: 2; }
  .record--plain > li { grid-template-columns: minmax(0, 1fr); }
  .record--plain > li p { grid-column: auto; }
  .figures { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--space-xl); }
  .figures > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .markets-line, .formats, .foot__grid { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .steps li { flex-direction: row; align-items: baseline; gap: var(--space-lg); }
  .steps li::before { font-size: var(--text-section); min-width: 1.2em; }
  .idx li { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .idx li > div { grid-column: 1 / -1; }
  .photo--tall .photo__frame, .photo--wide .photo__frame { min-height: 0; }
}
@media (max-width: 40rem) {
  .display > span { font-size: 19.6cqi; }
  .display > span > span { display: block; }
  .hero__foot .actions { flex-direction: column; align-items: stretch; }
  .models, .form { grid-template-columns: minmax(0, 1fr); }
  .record > li { grid-template-columns: minmax(0, 1fr); }
  .record > li p { grid-column: auto; }
  .record > li::before { font-size: var(--text-2xl); }
  .years li { grid-template-columns: minmax(0, 1fr); }
  .figures dd { font-size: clamp(2.5rem, 13vw, 3.5rem); }
  .thanks { padding: var(--space-lg); }
  .photo--wide .photo__frame { aspect-ratio: 4 / 3; }
}
@media (pointer: coarse) { .btn, .input, .combo__btn { min-height: 48px; } }
