/* Kenya-China Tea Summit 2027 — security-print world.
 * No hex literals here; every colour comes from tokens.css. */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-ui);
  font-size: var(--step-0);
  line-height: var(--lh-body);
  color: var(--c-text);
  background: var(--c-paper);
  /* The stock itself: a faint engine-turned tint, the way security paper is
     printed with an under-tint before anything else goes on it. */
  background-image: repeating-linear-gradient(
    -52deg,
    transparent 0 3px,
    rgb(46 125 50 / 0.045) 3px 4px
  );
}

/* Bricolage Grotesque is a variable grotesque, not a Didone: display weight has
   to come from the weight axis, and it wants slight width compression at large
   sizes. 400 read limp when this replaced Caslon. Tracking floor is -0.04em
   (craft floor); the h1 sits at -0.03em. */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-stretch: 92%;
  line-height: var(--lh-heading);
  color: var(--c-heading);
  margin: 0 0 var(--sp-s);
  text-wrap: balance;
  letter-spacing: -0.022em;
}
h1 { font-size: var(--step-6); line-height: var(--lh-tight); letter-spacing: -0.03em; }
h2 { font-size: var(--step-4); letter-spacing: -0.026em; }
h3 { font-size: var(--step-2); font-weight: 600; letter-spacing: -0.018em; }

p { margin: 0 0 var(--sp-s); max-width: var(--measure); }
img, svg { max-width: 100%; height: auto; }

a { color: var(--c-link); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--c-focus); outline-offset: 3px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}

.skip-link {
  position: absolute; left: var(--sp-s); top: -4rem; z-index: 100;
  padding: var(--sp-2xs) var(--sp-s);
  background: var(--c-ink-2); color: var(--c-text-on-ink);
  font-family: var(--font-ui); text-decoration: none;
  transition: top var(--dur) var(--ease-out);
}
.skip-link:focus { top: 0; }

.wrap { width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto; }
.wrap-narrow { width: min(var(--wrap-narrow), 100% - var(--gutter) * 2); margin-inline: auto; }

/* ==== the document's own vocabulary ===================================== */

/* Form-field label: tracked condensed caps, the way a printed form labels its
   boxes. Never used for emphasis — only to name a field. */
.label {
  font-family: var(--font-ui);
  font-size: var(--step--2);
  font-weight: 700;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--c-text-muted);
  margin: 0;
}

/* Typed-in value. Monospace here is data, not a technical costume. */
.value {
  font-family: var(--font-data);
  font-size: var(--step-0);
  color: var(--c-text);
  margin: 0;
}

/* A field pair. This is the page's primary structural unit — it replaces the
   card grid entirely. */
.field { display: grid; gap: var(--sp-3xs); padding-block: var(--sp-2xs); }
.field + .field { border-top: 1px solid var(--c-rule); }

/* Nothing supplied yet: an unstamped box. This is the honest state for venue,
   price, speakers — procedure, not absence. */
.value--pending {
  color: var(--c-text-muted);
  border: 1px dashed var(--c-rule);
  padding: var(--sp-3xs) var(--sp-2xs);
  display: inline-block;
  font-style: normal;
}
.value--pending::before { content: "— "; }

/* Engine-turned rule, from the generated band. */
.rule {
  height: 14px; border: 0; margin: var(--sp-l) 0;
  color: var(--c-engrave);
  background: currentColor;
  -webkit-mask: url("/img/guilloche-band.svg") center / 100% 100% no-repeat;
  mask: url("/img/guilloche-band.svg") center / 100% 100% no-repeat;
  opacity: 0.75;
}

/* The sheet: a document lifted off the desk. */
.sheet {
  background: var(--c-paper);
  border: 1px solid var(--c-rule);
  box-shadow: var(--shadow-sheet);
  padding: clamp(var(--sp-m), 4vw, var(--sp-xl));
  position: relative;
}
.sheet::after {
  /* inner keyline, the double rule of an engraved document */
  content: ""; position: absolute; inset: 6px;
  border: 1px solid var(--c-rule); opacity: 0.5; pointer-events: none;
}

/* Serial number, top-right of any document. */
.serial {
  font-family: var(--font-data);
  font-size: var(--step--1);
  color: var(--c-seal);
  letter-spacing: 0.04em;
}

/* Circular seal. Drawn, not an emoji or icon-font glyph. */
.seal {
  --seal-size: 8.5rem;
  width: var(--seal-size); height: var(--seal-size);
  display: grid; place-items: center; text-align: center;
  border: 2px solid var(--c-seal);
  border-radius: 50%;
  color: var(--c-seal);
  font-family: var(--font-ui);
  font-size: var(--step--2);
  font-weight: 700;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  line-height: 1.25;
  padding: var(--sp-2xs);
  position: relative;
  rotate: -8deg;
}
.seal::before {
  content: ""; position: absolute; inset: 5px;
  border: 1px solid currentColor; border-radius: 50%; opacity: 0.6;
}

/* ==== header ============================================================ */

.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: var(--sp-m);
  padding: var(--sp-2xs) var(--gutter);
  background: var(--c-ink-2);
  color: var(--c-text-on-ink);
  border-bottom: 3px double var(--c-ply-canary);
}
.site-header__brand { display: flex; align-items: center; gap: var(--sp-2xs); text-decoration: none; margin-inline-end: auto; }
/* The mark is supplied as artwork on solid white. On the intaglio header that
   would read as a white box, so it sits in a struck paper disc instead — which
   is what a seal is anyway. */
.brand-emblem {
  width: 44px; height: 44px; flex: none;
  border-radius: 50%;
  background: var(--c-paper);
  padding: 2px;
}
.brand-lockup { display: grid; line-height: 1; }
.brand-lockup__title {
  font-family: var(--font-display);
  font-size: var(--step-1);
  color: var(--c-text-on-ink);
  letter-spacing: 0.01em;
}
.brand-lockup__sub {
  font-family: var(--font-ui);
  font-size: var(--step--2); font-weight: 600;
  letter-spacing: var(--track-stamp);
  text-transform: uppercase;
  color: var(--c-ply-canary);
  margin-top: 0.45em;
}

.site-nav__list { display: flex; gap: var(--sp-m); list-style: none; margin: 0; padding: 0; }
.site-nav__list a {
  font-family: var(--font-ui);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-text-on-ink);
  text-decoration: none;
  padding: var(--sp-2xs) 0;
  border-bottom: 2px solid transparent;
  display: inline-block;
}
.site-nav__list a:hover, .site-nav__list a[aria-current="page"] {
  border-bottom-color: var(--c-ply-canary);
  color: var(--c-ply-canary);
}

.site-nav__toggle {
  display: none; min-width: 44px; min-height: 44px;
  background: none; border: 1px solid var(--c-text-on-ink-muted);
  color: var(--c-text-on-ink); cursor: pointer;
}
.site-nav__bars, .site-nav__bars::before, .site-nav__bars::after {
  display: block; width: 20px; height: 2px; background: currentColor; content: "";
}
.site-nav__bars::before { transform: translateY(-6px); }
.site-nav__bars::after { transform: translateY(4px); }

/* ==== hero: the document itself ========================================= */

.hero {
  background: var(--c-ink-2);
  color: var(--c-text-on-ink);
  position: relative;
  overflow: hidden;
  padding-block: var(--sp-2xl);
}
/* Rosette bleeding off the right edge, the way a certificate's engine-turning
   runs past the trim. Masked so it inherits the ink colour exactly. */
.hero::before {
  content: ""; position: absolute;
  top: 50%; right: -14%; translate: 0 -50%;
  width: min(46rem, 78vw); aspect-ratio: 1;
  background: var(--c-engrave);
  -webkit-mask: url("/img/guilloche-rosette.svg") center / contain no-repeat;
  mask: url("/img/guilloche-rosette.svg") center / contain no-repeat;
  opacity: 0.5;
  pointer-events: none;
}
.hero > * { position: relative; }

.hero__grid { display: grid; gap: var(--sp-xl); align-items: start; }
@media (min-width: 60rem) {
  .hero__grid { grid-template-columns: minmax(0, 1.35fr) minmax(18rem, 0.65fr); }
}

.hero__masthead {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: var(--sp-m); flex-wrap: wrap;
  padding-bottom: var(--sp-2xs);
  border-bottom: 3px double var(--c-text-on-ink-muted);
  margin-bottom: var(--sp-l);
}
.hero__docname {
  font-family: var(--font-ui);
  font-size: var(--step--1); font-weight: 700;
  letter-spacing: var(--track-stamp); text-transform: uppercase;
  color: var(--c-ply-canary); margin: 0;
}
.hero__serial { font-family: var(--font-data); font-size: var(--step--1); color: var(--c-text-on-ink-muted); }

.hero h1 { color: var(--c-text-on-ink); max-width: 15ch; margin-bottom: var(--sp-m); }
.hero__theme {
  font-family: var(--font-display);
  font-size: var(--step-2);
  line-height: var(--lh-heading);
  color: var(--c-ply-canary);
  max-width: 34ch;
  margin-bottom: var(--sp-xl);
}
.hero__body { color: var(--c-text-on-ink-muted); max-width: 52ch; }

/* The particulars block — the filled-in top half of a bill of lading. */
.particulars { margin: 0 0 var(--sp-l); }
.particulars .field + .field { border-top-color: rgb(185 203 180 / 0.35); }
.particulars .label { color: var(--c-text-on-ink-muted); }
.particulars .value { color: var(--c-text-on-ink); }
.particulars .value--pending { color: var(--c-text-on-ink-muted); border-color: rgb(185 203 180 / 0.5); }

/* The issuing panel: the action, framed as issuing a document. */
.issue {
  background: var(--c-paper);
  color: var(--c-text);
  border: 1px solid var(--c-rule);
  box-shadow: var(--shadow-lift);
  padding: var(--sp-m);
  position: relative;
}
.issue__head {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: var(--sp-s); border-bottom: 1px solid var(--c-rule);
  padding-bottom: var(--sp-2xs); margin-bottom: var(--sp-s);
}
.issue h2 { font-size: var(--step-2); margin: 0 0 var(--sp-2xs); }
.issue__note { font-size: var(--step--1); color: var(--c-text-muted); margin-bottom: var(--sp-m); }

/* ==== buttons =========================================================== */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--sp-2xs);
  min-height: 48px; padding: var(--sp-2xs) var(--sp-m);
  font-family: var(--font-ui);
  font-size: var(--step--1); font-weight: 700;
  letter-spacing: var(--track-label); text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  border: 2px solid var(--c-ink-2);
  border-radius: var(--radius-s);
  transition: background-color var(--dur) var(--ease-out),
              color var(--dur) var(--ease-out),
              box-shadow var(--dur) var(--ease-out);
}
.btn--primary { background: var(--c-ink-2); color: var(--c-paper); }
.btn--primary:hover { background: var(--c-seal); border-color: var(--c-seal); color: var(--c-paper); }
.btn--ghost { background: transparent; color: var(--c-ink-2); }
.btn--ghost:hover { background: var(--c-ink-2); color: var(--c-paper); }
.btn--block { width: 100%; }

/* A ghost button inverts on the intaglio ground — but NOT inside the issuing
   panel, which is light stock sitting on that ground. The first attempt scoped
   this by descendant depth and still matched, because .issue is itself a div
   child of .hero__grid; the button rendered paper-on-paper and vanished.
   Ground-based, not position-based: .on-ink sets the inversion, light panels
   opt back out. */
.on-ink .btn--ghost, .section--ink .btn--ghost {
  color: var(--c-text-on-ink);
  border-color: var(--c-text-on-ink-muted);
}
.on-ink .btn--ghost:hover, .section--ink .btn--ghost:hover {
  background: var(--c-paper); color: var(--c-ink-2); border-color: var(--c-paper);
}
/* Light stock anywhere wins back the default ink treatment. */
.issue .btn--ghost, .sheet .btn--ghost {
  color: var(--c-ink-2); border-color: var(--c-ink-2); background: transparent;
}
.issue .btn--ghost:hover, .sheet .btn--ghost:hover {
  background: var(--c-ink-2); color: var(--c-paper); border-color: var(--c-ink-2);
}

/* ==== sections ========================================================== */

.section { padding-block: var(--sp-2xl); }
.section--tint { background: var(--c-tint); border-block: 1px solid var(--c-rule); }
.section--ink { background: var(--c-ink-2); color: var(--c-text-on-ink); }
.section--ink h2 { color: var(--c-text-on-ink); }
.section--ink p { color: var(--c-text-on-ink-muted); }

/* Heading gets more space above than below it. */
.section > .wrap > h2, .section > .wrap > .section-head { margin-top: 0; }
.section-head { margin-bottom: var(--sp-l); }
.section-head p { color: var(--c-text-muted); font-size: var(--step-1); }
.section--ink .section-head p { color: var(--c-text-on-ink-muted); }

/* ==== clauses: replaces the card grid ==================================== */
/* A numbered clause list, the way a document enumerates its terms. The number
   carries real information here (clause order), so it is not decoration. */

.clauses { counter-reset: clause; list-style: none; margin: 0; padding: 0;
  display: grid; gap: 0; }
@media (min-width: 48rem) { .clauses { grid-template-columns: 1fr 1fr; column-gap: var(--sp-xl); } }

.clause {
  counter-increment: clause;
  display: grid; grid-template-columns: auto 1fr; gap: var(--sp-s);
  padding-block: var(--sp-m);
  border-top: 1px solid var(--c-rule);
}
.clause::before {
  content: counter(clause, decimal-leading-zero);
  font-family: var(--font-data);
  font-size: var(--step--1);
  color: var(--c-seal);
  padding-top: 0.35em;
}
.clause h3 { font-size: var(--step-1); margin-bottom: var(--sp-3xs); }
.clause p { margin: 0; color: var(--c-text-muted); font-size: var(--step--1); }

/* ==== manifest: the three-day schedule as a lot list ==================== */

.manifest { width: 100%; border-collapse: collapse; text-align: left; }
.manifest caption { text-align: left; margin-bottom: var(--sp-s); }
.manifest th, .manifest td { padding: var(--sp-s) var(--sp-s) var(--sp-s) 0; vertical-align: top; }
.manifest thead th {
  font-family: var(--font-ui); font-size: var(--step--2); font-weight: 700;
  letter-spacing: var(--track-label); text-transform: uppercase;
  color: var(--c-text-muted);
  border-bottom: 2px solid var(--c-ink-2);
  padding-bottom: var(--sp-2xs);
}
.manifest tbody tr { border-bottom: 1px solid var(--c-rule); }
.manifest td:first-child { font-family: var(--font-data); color: var(--c-seal); white-space: nowrap; }
.manifest h3 { font-size: var(--step-1); margin-bottom: var(--sp-3xs); }
.manifest p { margin: 0; color: var(--c-text-muted); font-size: var(--step--1); max-width: 46ch; }

/* ==== vignettes: engraved illustration, multiplied onto the stock ======= */

.vignette {
  /* Line art printed on white: multiply drops the paper and leaves the ink,
     so the engraving sits ON the tinted stock instead of in a white box. */
  mix-blend-mode: multiply;
  display: block;
}
/* On the intaglio ground multiply would bury black lines in dark green. Invert
   to white line work, then screen, so the engraving reads as printed in light
   ink on dark stock. */
.section--ink .vignette { filter: invert(1); mix-blend-mode: screen; }

.section-action { margin-top: var(--sp-l); }
.figure-pair { display: grid; gap: var(--sp-xl); align-items: center; }
@media (min-width: 52rem) { .figure-pair { grid-template-columns: 1fr 1fr; } }
.figure-pair--flip > :first-child { order: 2; }

/* ==== categories: six document classes ================================== */

.classes { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
@media (min-width: 40rem) { .classes { grid-template-columns: repeat(2, 1fr); column-gap: var(--sp-xl); } }
@media (min-width: 68rem) { .classes { grid-template-columns: repeat(3, 1fr); } }
.class-row {
  display: grid; gap: var(--sp-3xs);
  padding-block: var(--sp-s);
  border-top: 1px solid var(--c-rule);
}
.class-row__name {
  font-family: var(--font-display); font-size: var(--step-1); color: var(--c-heading);
}
.class-row__code {
  font-family: var(--font-data); font-size: var(--step--2);
  color: var(--c-seal); letter-spacing: 0.06em;
}
.class-row p { margin: 0; font-size: var(--step--1); color: var(--c-text-muted); }

/* ==== endorsements: sponsor tiers as countersignature blocks ============ */

.endorsements { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-m); }
@media (min-width: 44rem) { .endorsements { grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); } }
.endorsement {
  border: 1px solid var(--c-rule);
  padding: var(--sp-s);
  min-height: 8.5rem;
  display: grid; align-content: space-between;
  background: var(--c-paper);
}
.endorsement__tier {
  font-family: var(--font-display); font-size: var(--step-1); color: var(--c-heading);
}
.endorsement__line {
  border-top: 1px solid var(--c-ink-2);
  padding-top: var(--sp-3xs);
  font-family: var(--font-ui); font-size: var(--step--2);
  letter-spacing: var(--track-label); text-transform: uppercase;
  color: var(--c-text-muted);
}

/* ==== footer ============================================================ */

.site-footer {
  background: var(--c-ink-2); color: var(--c-text-on-ink);
  padding: var(--sp-2xl) var(--gutter) var(--sp-l);
  border-top: 3px double var(--c-ply-canary);
}
.site-footer__grid {
  width: min(var(--wrap), 100%); margin-inline: auto;
  display: grid; gap: var(--sp-l);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr));
}
.site-footer__heading {
  font-family: var(--font-ui); font-size: var(--step--2); font-weight: 700;
  letter-spacing: var(--track-label); text-transform: uppercase;
  color: var(--c-ply-canary); margin: 0 0 var(--sp-2xs);
}
.site-footer__col ul { list-style: none; margin: 0; padding: 0; }
.site-footer__col li { margin-bottom: var(--sp-3xs); }
.site-footer__col a { color: var(--c-text-on-ink); text-decoration: none; font-size: var(--step--1); }
.site-footer__col a:hover { color: var(--c-ply-canary); text-decoration: underline; }
.site-footer__base {
  width: min(var(--wrap), 100%); margin: var(--sp-xl) auto 0;
  padding-top: var(--sp-m);
  border-top: 1px solid rgb(185 203 180 / 0.3);
  font-size: var(--step--2);
  color: var(--c-text-on-ink-muted);
  font-family: var(--font-data);
}
.site-footer__base p { margin-bottom: var(--sp-3xs); max-width: none; }

/* ==== the one authored motion moment ====================================
   The seal strikes the document: the mark a bill of lading gets when it is
   finally endorsed. One orchestrated moment, not scattered hover effects. */

@keyframes strike {
  from { opacity: 0; scale: 1.5; rotate: -22deg; filter: blur(3px); }
  to   { opacity: 1; scale: 1;   rotate: -8deg;  filter: blur(0); }
}
.seal {
  animation: strike var(--dur-slow) var(--ease-out) both;
  animation-timeline: view();
  animation-range: entry 10% cover 34%;
}
@supports not (animation-timeline: view()) {
  .seal { animation: strike var(--dur-slow) var(--ease-out) both; }
}
@media (prefers-reduced-motion: reduce) {
  .seal { animation: none; opacity: 1; scale: 1; rotate: -8deg; filter: none; }
}

/* ==== responsive ======================================================== */

@media (max-width: 60rem) {
  .site-header__cta { display: none; }
  .site-nav__toggle { display: inline-flex; align-items: center; justify-content: center; }
  .site-nav__list {
    display: none;
    position: absolute; inset-inline: 0; top: 100%;
    flex-direction: column; gap: 0;
    background: var(--c-ink-2);
    padding: var(--sp-s) var(--gutter);
    border-bottom: 3px double var(--c-ply-canary);
  }
  .site-nav__list.is-open { display: flex; }
  .site-nav__list a { padding: var(--sp-xs) 0; min-height: 44px; }
  .hero::before { opacity: 0.28; right: -34%; }
  .seal { --seal-size: 7rem; }
}

/* ==== interior page head ================================================= */

.doc-head {
  background: var(--c-ink-2);
  color: var(--c-text-on-ink);
  padding-block: var(--sp-xl) var(--sp-2xl);
  position: relative;
  overflow: hidden;
}
.doc-head::before {
  content: ""; position: absolute;
  top: 50%; right: -20%; translate: 0 -50%;
  width: min(34rem, 62vw); aspect-ratio: 1;
  background: var(--c-engrave);
  -webkit-mask: url("/img/guilloche-rosette.svg") center / contain no-repeat;
  mask: url("/img/guilloche-rosette.svg") center / contain no-repeat;
  opacity: 0.4; pointer-events: none;
}
.doc-head > * { position: relative; }
.doc-head h1 { color: var(--c-text-on-ink); font-size: var(--step-5); max-width: 18ch; }
.doc-head__standfirst {
  font-family: var(--font-display);
  font-size: var(--step-2);
  line-height: var(--lh-heading);
  color: var(--c-ply-canary);
  max-width: 40ch;
  margin-top: var(--sp-s);
}

/* Prose inside a document page. */
.section h2 { margin-top: var(--sp-xl); }
.section > .wrap > h2:first-child { margin-top: 0; }
.section h3 { margin-top: var(--sp-l); }
.section ul, .section ol { padding-left: 1.15em; }
.section li { margin-bottom: var(--sp-2xs); max-width: var(--measure); }

.cta-close { text-align: left; }
.cta-close h2 { margin-top: 0; }

/* A note block: the printed marginalia of a form. */
.note {
  border-top: 2px solid var(--c-ink-2);
  border-bottom: 1px solid var(--c-rule);
  padding: var(--sp-s) 0;
  margin: var(--sp-l) 0;
  max-width: var(--measure);
}
.note p:last-child { margin-bottom: 0; }
.note__label {
  font-family: var(--font-ui); font-size: var(--step--2); font-weight: 700;
  letter-spacing: var(--track-label); text-transform: uppercase;
  color: var(--c-seal); margin-bottom: var(--sp-3xs);
}

/* Definition-style rows reused across interior pages. */
.spec { margin: var(--sp-m) 0; max-width: var(--measure); }
.spec .field:first-child { border-top: 1px solid var(--c-rule); }
.spec .field:last-child { border-bottom: 1px solid var(--c-rule); }

/* Source-cited figure, for News and About. */
.cite {
  font-family: var(--font-data);
  font-size: var(--step--2);
  color: var(--c-text-muted);
  display: block;
  margin-top: var(--sp-3xs);
}

/* ==== forms: the fillable half of the document ========================== */

.form { margin: var(--sp-l) 0; max-width: 46rem; }
.form__head {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: var(--sp-s);
  border-bottom: 2px solid var(--c-ink-2);
  padding-bottom: var(--sp-2xs); margin-bottom: var(--sp-s);
}
.form__head h2 { margin: 0; font-size: var(--step-2); }
.form__intro { font-size: var(--step--1); color: var(--c-text-muted); }

.form__grid { display: grid; gap: var(--sp-s); }
@media (min-width: 40rem) { .form__grid { grid-template-columns: 1fr 1fr; } }

.form__row { display: grid; gap: var(--sp-3xs); margin: 0 0 var(--sp-s); max-width: none; }
.form__row--full { grid-column: 1 / -1; }
.req { color: var(--c-seal); }

/* Inputs are ruled boxes, the way a form's fields are. */
.input {
  font-family: var(--font-data);
  font-size: var(--step-0);
  color: var(--c-ink);
  background: var(--c-surface, #fff);
  background-color: color-mix(in srgb, var(--c-paper) 70%, white);
  border: 1px solid var(--c-rule);
  border-bottom-width: 2px;
  border-radius: 0;
  padding: var(--sp-2xs) var(--sp-xs);
  min-height: 46px;
  width: 100%;
}
.input:focus-visible { border-bottom-color: var(--c-seal); }
textarea.input { min-height: 7rem; resize: vertical; }
select.input { cursor: pointer; }

/* Honeypot. Off-screen rather than display:none — some bots skip hidden fields. */
.hp {
  position: absolute; left: -9999px; width: 1px; height: 1px;
  overflow: hidden;
}

.form__status { min-height: 1.5em; margin: var(--sp-s) 0 0; font-size: var(--step--1); }
.form__status[data-kind="error"] { color: var(--c-seal); font-weight: 600; }
.form__status[data-kind="pending"] { color: var(--c-text-muted); }

.form__legal { font-size: var(--step--2); color: var(--c-text-muted); margin-top: var(--sp-s); }

.form__done { margin: var(--sp-l) 0; max-width: 46rem; }
.form__done h2 { margin-top: 0; }

/* Tag chips on light stock (the ink-ground variant lives in .band--invert). */
.tag--ink { border-color: var(--c-rule); color: var(--c-text); }
