/* ==========================================================================
   FERROS — Concept 3 · SOVEREIGN
   Ivory paper, ink and iron oxide. Newsreader + IBM Plex Mono. No sans-serif.
   ========================================================================== */

@view-transition { navigation: auto; }

:root {
  --paper: #F2EDE3;
  --paper-hi: #F8F4EC;
  --paper-2: #EAE3D6;
  --paper-3: #E1D8C7;
  --paper-4: #D3C7B1;
  --ink: #16120F;
  --ink-2: #3E3731;
  --mute: #6E6458;
  --hair: rgba(22, 18, 15, .15);
  --hair-2: rgba(22, 18, 15, .3);
  --oxide: #A13A1E;
  --oxide-deep: #6E2412;
  --oxide-light: #C9693F;
  --night: #121010;
  --night-2: #1A1715;
  --night-3: #24201D;
  --night-hair: rgba(242, 237, 227, .14);
  --night-mute: #A99E90;
  --serif: 'Newsreader', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --g: 20px;
  --maxw: 1360px;
  --mast-h: 58px;
  --ease: cubic-bezier(.2, .7, .15, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --grain: none;
  --grain-dark: none;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--mast-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; min-width: 320px; overflow-x: clip; /* nothing may widen the page on a phone */
  background: var(--grain) repeat, var(--paper);
  color: var(--ink);
  font-family: var(--serif); font-size: 18px; line-height: 1.55; font-weight: 400;
  font-variant-numeric: oldstyle-nums proportional-nums;
  font-optical-sizing: auto; text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
}
html[data-overlay="open"] body { overflow: hidden; }
/* Full-bleed blocks clip sideways, so a stamp landing or a ring turning near the edge can never widen the page
   (body-level overflow propagates to the viewport and does not stop a phone from zooming out). */
main > section, body > footer { overflow-x: clip; }
img, svg, canvas { display: block; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; touch-action: manipulation; }
a { color: inherit; }
code, pre, kbd { font-family: var(--mono); font-size: .86em; font-variant-numeric: tabular-nums lining-nums; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
dl, dd, ol, ul { margin: 0; padding: 0; }
ol, ul { list-style: none; }
strong { font-weight: 600; }
::selection { background: rgba(161, 58, 30, .2); }
:focus-visible { outline: 1.5px solid var(--oxide); outline-offset: 3px; }
[hidden] { display: none !important; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.nw { white-space: nowrap; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 2000; background: var(--ink); color: var(--paper); padding: 10px 14px; font-family: var(--mono); font-size: 13px; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--g); }

/* ---------- type utilities ---------- */
.label {
  font-family: var(--mono); font-size: 11px; line-height: 1.4; font-weight: 400;
  letter-spacing: .12em; text-transform: uppercase; color: var(--mute);
  font-variant-numeric: lining-nums tabular-nums;
}
.label__sep { color: var(--oxide); padding: 0 .2em; }
.h2 { font-size: clamp(34px, 8.4vw, 60px); line-height: 1.02; font-weight: 300; letter-spacing: -.02em; }
.h3 { font-size: 25px; line-height: 1.15; font-weight: 400; letter-spacing: -.01em; }
.h4 { font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); font-weight: 500; }
.note { font-size: 14.5px; line-height: 1.5; color: var(--mute); font-style: italic; }
em { font-style: italic; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 50px; padding: 0 22px; border-radius: 0;
  font-family: var(--serif); font-size: 17.5px; font-weight: 450; letter-spacing: 0; line-height: 1;
  text-decoration: none; white-space: nowrap; position: relative;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--ink { background: var(--ink); color: var(--paper-hi); }
.btn--ink:hover { background: var(--oxide-deep); }
.btn--oxide { background: var(--oxide); color: var(--paper-hi); }
.btn--oxide:hover { background: var(--oxide-deep); }
.btn--line { box-shadow: inset 0 0 0 1px var(--ink); color: var(--ink); }
.btn--line:hover { background: rgba(22, 18, 15, .05); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn__note { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; padding-left: 12px; margin-left: 2px; border-left: 1px solid rgba(248, 244, 236, .3); opacity: .8; }
.btn--sm { min-height: 40px; padding: 0 14px; font-size: 15.5px; }
.btn--block { width: 100%; }
.btn__fid { width: 20px !important; height: 20px !important; }

.textbtn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 2px;
  font-family: var(--serif); font-size: 17px; font-style: italic; color: var(--ink-2); text-decoration: none;
}
.textbtn svg { width: 18px; height: 18px; color: var(--oxide); flex: none; transition: transform .3s var(--ease); }
.textbtn span { background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 1px; transition: background-size .3s var(--ease); }
.textbtn:hover span { background-size: 0 1px; background-position: 100% 100%; }
.textbtn:hover svg { transform: translateX(2px); }

.iconbtn { width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 50%; color: var(--ink); }
.iconbtn svg { width: 22px; height: 22px; }
.iconbtn:hover { background: rgba(22, 18, 15, .06); }

/* segmented controls (inline radio groups) */
.seg { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 0; vertical-align: baseline; }
.seg__lbl { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); margin-right: 10px; }
.seg__b {
  min-height: 44px; padding: 0 14px; font-family: var(--serif); font-style: italic; color: var(--mute);
  position: relative; transition: color .25s var(--ease);
}
.seg__b::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 9px; height: 1.5px; background: var(--oxide); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.seg__b[aria-checked="true"] { color: var(--ink); }
.seg__b[aria-checked="true"]::after { transform: scaleX(1); }
.seg__b:hover { color: var(--ink); }
.seg--small .seg__b { font-size: 16px; padding: 0 10px; }
.seg--small .seg__b::after { left: 10px; right: 10px; }

/* ========================================================================
   MASTHEAD
   ======================================================================== */
.mast {
  position: sticky; top: 0; z-index: 900; height: var(--mast-h);
  background: var(--grain) repeat, var(--paper);
  border-bottom: 1px solid transparent; transition: border-color .3s ease, background .3s ease;
  padding-top: env(safe-area-inset-top, 0px); box-sizing: content-box;
}
.mast.is-scrolled { border-bottom-color: var(--hair); }
.mast__in { max-width: var(--maxw); margin: 0 auto; height: var(--mast-h); padding: 0 calc(var(--g) - 6px) 0 var(--g); display: flex; align-items: center; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; min-height: 44px; margin-right: auto; }
.brand__seal { width: 30px; height: 30px; color: var(--oxide); }
.brand__word { font-size: 17px; font-weight: 500; letter-spacing: .34em; margin-right: -.34em; font-variant-numeric: lining-nums; }
.mast__nav { display: none; }
.mast__act { display: flex; align-items: center; gap: 6px; }
.mast__signin { display: none; }
.mast__menu { width: 44px; height: 44px; display: inline-grid; place-items: center; color: var(--ink); }
.mast__menu svg { width: 24px; height: 24px; }
.show-sm { display: inline; } .hide-sm { display: none; }
@media (min-width: 1000px) {
  :root { --mast-h: 66px; }
  .mast__in { padding: 0 var(--g); gap: 28px; }
  .brand { margin-right: 0; }
  .brand__seal { width: 34px; height: 34px; }
  .brand__word { font-size: 18px; }
  .mast__nav { display: flex; align-items: center; gap: 2px; margin-right: auto; margin-left: 18px; }
  .mast__link { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 12px; font-size: 16.5px; color: var(--ink-2); text-decoration: none; position: relative; }
  .mast__link svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
  .mast__link[aria-expanded="true"] svg { transform: rotate(180deg); }
  .mast__link::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 10px; height: 1px; background: var(--oxide); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
  .mast__link:hover::after, .mast__link.is-current::after, .mast__link[aria-expanded="true"]::after { transform: scaleX(1); }
  .mast__link.is-current { color: var(--ink); }
  .mast__signin { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; font-size: 16.5px; color: var(--ink-2); }
  .mast__signin:hover { color: var(--oxide); }
  .mast__menu { display: none; }
  .show-sm { display: none; } .hide-sm { display: inline; }
}

/* ========================================================================
   CONTENTS (products) — drawer on mobile, mega-menu on desktop
   ======================================================================== */
.contents { position: fixed; inset: 0; z-index: 1200; }
.contents__scrim { position: absolute; inset: 0; background: rgba(22, 18, 15, .38); opacity: 0; transition: opacity .35s ease; }
.contents__sheet {
  position: absolute; inset: 0; overflow-y: auto; overscroll-behavior: contain;
  background: var(--grain) repeat, var(--paper);
  padding: calc(env(safe-area-inset-top, 0px) + 10px) var(--g) calc(env(safe-area-inset-bottom, 0px) + 40px);
  transform: translateY(-14px); opacity: 0; transition: transform .45s var(--ease), opacity .3s ease;
}
.contents.is-open .contents__scrim { opacity: 1; }
.contents.is-open .contents__sheet { transform: none; opacity: 1; }
.contents__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; border-bottom: 2px solid var(--ink); margin-bottom: 4px; }
.contents__cols { display: grid; gap: 30px; padding-top: 20px; }
.pillar__h { font-size: 26px; font-weight: 300; line-height: 1.1; letter-spacing: -.01em; padding-bottom: 12px; border-bottom: 1px solid var(--hair); }
.pillar__n { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--oxide); margin-bottom: 8px; }
.prod { display: grid; grid-template-columns: 36px 1fr auto; column-gap: 14px; row-gap: 2px; align-items: start; padding: 16px 0; border-bottom: 1px solid var(--hair); text-decoration: none; min-height: 64px; }
.prod__g { width: 34px; height: 34px; color: var(--oxide); grid-row: span 2; margin-top: 2px; }
.prod__t { font-size: 20px; line-height: 1.2; }
.prod__d { grid-column: 2; font-size: 15.5px; line-height: 1.4; color: var(--mute); font-style: italic; }
.prod__p { grid-column: 3; grid-row: 1; font-family: var(--mono); font-size: 11px; color: var(--mute); letter-spacing: .1em; padding-top: 6px; }
.prod:hover .prod__t { color: var(--oxide); }
.pillar__also { font-size: 15.5px; font-style: italic; color: var(--mute); padding-top: 14px; }
.pillar__also a { color: var(--ink); text-decoration-color: var(--oxide); text-underline-offset: 3px; }
@media (min-width: 1000px) {
  .contents { top: calc(var(--mast-h) + env(safe-area-inset-top, 0px)); }
  .contents__scrim { background: rgba(22, 18, 15, .16); }
  .contents__sheet { inset: 0 0 auto 0; max-height: calc(100vh - var(--mast-h)); padding: 26px max(var(--g), calc((100vw - var(--maxw)) / 2 + var(--g))) 34px; border-bottom: 1px solid var(--hair-2); box-shadow: 0 30px 60px -30px rgba(22, 18, 15, .35); }
  .contents__head { border-bottom-width: 1px; min-height: 40px; }
  .contents__cols { grid-template-columns: repeat(3, 1fr); gap: 48px; }
}

/* ========================================================================
   FRONT PAGE
   ======================================================================== */
.front { padding-top: 10px; }
.dateline {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px;
  padding: 6px 0 10px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2);
  font-variant-numeric: lining-nums tabular-nums;
}
.dateline__dash { color: var(--oxide); }
.dateline__clocks { display: flex; flex-wrap: wrap; gap: 0 12px; width: 100%; color: var(--mute); }
.dateline__clocks span + span::before { content: '·'; color: var(--oxide); margin-right: 12px; }
@media (max-width: 699px) {
  .dateline__clocks { display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; letter-spacing: .05em; }
  .dateline__clocks span + span::before { content: none; }
}
.rule { width: 100%; }
.rule--double { height: 5px; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--ink); }

.front__grid { display: flex; flex-direction: column; }
.front__text { order: 2; position: relative; z-index: 1; }
.medal { order: 1; margin: 22px 0 6px; }

.editions { display: flex; align-items: center; gap: 2px; margin: 8px 0 18px; border-bottom: 1px solid var(--hair); }
.editions__lbl { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); margin-right: 8px; }
.editions__tab { position: relative; min-height: 48px; padding: 0 10px; font-size: 19px; font-style: italic; color: var(--mute); transition: color .3s var(--ease); }
.editions__tab::after { content: ''; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 2px; background: var(--oxide); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.editions__tab[aria-selected="true"] { color: var(--ink); }
.editions__tab[aria-selected="true"]::after { transform: scaleX(1); }
.editions__tab:hover { color: var(--ink); }

.kicker { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--oxide); margin-bottom: 12px; }
.hl {
  font-size: clamp(44px, 12.6vw, 64px); line-height: .98; font-weight: 300; letter-spacing: -.024em;
  text-wrap: balance; font-variant-numeric: lining-nums; margin-left: -.04em;
}
.hl em { color: var(--oxide); font-weight: 300; }
.hl--long { font-size: clamp(38px, 10.4vw, 54px); line-height: 1.0; }
.hl .w { display: inline-block; }
.deck { margin-top: 18px; font-size: 19.5px; line-height: 1.45; color: var(--ink-2); max-width: 32em; text-wrap: pretty; }
.deck code { font-size: .8em; color: var(--ink); background: rgba(22, 18, 15, .06); padding: .08em .3em; }
.front__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.front__cta .btn { flex: 1 1 auto; }
.front__cta .btn--line svg { width: 16px; height: 16px; }

/* edition swap choreography */
.front__copy.is-out .kicker, .front__copy.is-out .hl, .front__copy.is-out .deck { opacity: 0; transform: translateY(6px); filter: blur(3px); transition: opacity .22s ease, transform .22s ease, filter .22s ease; }
.hl .w { opacity: 1; transform: none; filter: none; }
.front__copy.is-in .hl .w { animation: wordIn .9s var(--ease) both; animation-delay: calc(var(--i) * 55ms); }
.front__copy.is-in .deck, .front__copy.is-in .kicker { animation: fadeUp .8s var(--ease) both; animation-delay: .25s; }
@keyframes wordIn { from { opacity: 0; transform: translateY(.28em); filter: blur(6px); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- the medallion ---------- */
.medal__stage {
  position: relative; width: min(86vw, 370px); aspect-ratio: 1; margin: 0 auto;
  touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none;
  overflow: hidden; /* the turning ring is a square: keep its corners from widening the page */
}
@media (max-width: 699px) { .medal__stage { width: min(76vw, 300px); } .medal { margin-top: 16px; } .editions { margin-top: 4px; } }
.medal__stage.is-drag { cursor: grabbing; }
.medal__stage::before { /* soft paper shadow under the engraving */
  content: ''; position: absolute; inset: 4%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(161, 58, 30, .05), rgba(161, 58, 30, 0) 100%);
}
.medal__layers { position: absolute; inset: 0; overflow: hidden; }
.medal__set { position: absolute; inset: 0; transition: opacity 1.1s var(--ease); }
.medal__set.is-leaving { opacity: 0; }
.medal__set.is-entering { opacity: 0; }
.medal__rot { position: absolute; inset: 0; will-change: transform; }
.medal__spin { position: absolute; inset: 0; width: 100%; height: 100%; will-change: transform; animation: spin var(--dur, 160s) linear infinite; animation-direction: var(--dir, normal); }
.medal.is-paused .medal__spin, .medal.is-paused .medal__ring { animation-play-state: paused; }
.medal__ring { position: absolute; inset: 0; pointer-events: none; will-change: transform; animation: spin 240s linear infinite reverse; }
.medal__ring svg { display: block; width: 100%; height: 100%; overflow: visible; }
@keyframes spin { to { transform: rotate(360deg); } }
.medal__face { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.mf-ring { fill: none; stroke: var(--oxide); }
.mf-dots { stroke-dasharray: 2 7.8; stroke-linecap: round; }
.mf-disc { fill: var(--paper); }
.mf-text { font-family: var(--serif); font-size: 31px; font-weight: 500; letter-spacing: 0; fill: var(--oxide); font-variant-numeric: lining-nums; }
.mf-f { font-family: var(--serif); font-size: 238px; font-weight: 300; fill: var(--ink); font-variant-numeric: lining-nums; }
.medal__cap { max-width: 30em; margin: 14px auto 0; text-align: center; font-size: 14.5px; line-height: 1.45; color: var(--mute); font-style: italic; }
.medal__cap .label { font-style: normal; margin-right: 6px; color: var(--oxide); }
.medal__hint { white-space: nowrap; }

/* ---------- lead figures ---------- */
.figures { display: grid; grid-template-columns: 1fr 1fr; margin-top: 34px; border-top: 1px solid var(--ink); }
.fig { padding: 16px 14px 18px 0; border-bottom: 1px solid var(--hair); }
.fig:nth-child(2n) { padding-left: 14px; border-left: 1px solid var(--hair); }
.fig__n { font-size: 44px; line-height: 1; font-weight: 300; letter-spacing: -.02em; font-variant-numeric: lining-nums; color: var(--ink); }
.fig__c { margin-top: 8px; font-family: var(--mono); font-size: 10.5px; line-height: 1.45; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); }

/* ---------- lead story & table of contents ---------- */
.front__lower { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; margin-top: 40px; }
.lead { border-top: 2px solid var(--ink); padding-top: 12px; }
.lead__body { margin-top: 10px; transition: opacity .3s ease; }
.lead__p { font-size: 19px; line-height: 1.5; color: var(--ink-2); }
.lead__place { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--oxide); margin-right: 6px; }
.lead__by { margin-top: 10px; font-style: italic; color: var(--mute); font-size: 16px; }
.lead__by::before { content: '— '; }
.lead__code { margin-top: 6px; padding: 16px; background: var(--night); color: var(--paper); font-size: 13px; line-height: 1.6; overflow-x: auto; white-space: pre; }

.toc { border-top: 2px solid var(--ink); padding-top: 12px; }
.toc__h { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.toc__list { margin-top: 6px; counter-reset: toc; }
.toc__list li { border-bottom: 1px solid var(--hair); position: relative; }
.toc__list a { display: grid; grid-template-columns: 48px auto 1fr auto; align-items: baseline; gap: 0 10px; padding: 13px 0; min-height: 56px; text-decoration: none; }
.toc__n { font-size: 17px; color: var(--oxide); font-variant-numeric: lining-nums; letter-spacing: .02em; }
.toc__t { font-size: 21px; line-height: 1.2; }
.toc__t em { display: block; font-size: 15.5px; color: var(--mute); margin-top: 2px; }
.toc__dots { border-bottom: 1px dotted var(--hair-2); height: 1px; align-self: end; margin-bottom: 8px; min-width: 16px; }
.toc__p { font-family: var(--mono); font-size: 12px; color: var(--mute); font-variant-numeric: tabular-nums; }
.toc__list a:hover .toc__t { color: var(--oxide); }
.toc__list li.is-lead .toc__n::before { content: ''; display: inline-block; width: 6px; height: 6px; background: var(--oxide); transform: rotate(45deg) translateY(-2px); margin-right: 7px; margin-left: -13px; }
.toc__note { display: flex; align-items: center; gap: 10px; margin-top: 12px; font-size: 15px; color: var(--mute); font-style: italic; }
.lozenge { width: 7px; height: 7px; background: var(--oxide); transform: rotate(45deg); flex: none; }

@media (min-width: 700px) {
  .figures { grid-template-columns: repeat(4, 1fr); }
  .fig { padding: 18px 18px 20px; border-left: 1px solid var(--hair); }
  .fig:first-child { border-left: 0; padding-left: 0; }
  .fig:nth-child(2n) { padding-left: 18px; }
  .fig__n { font-size: 52px; }
}
@media (min-width: 1000px) {
  .front { padding-top: 14px; }
  .dateline { font-size: 11px; flex-wrap: nowrap; }
  .dateline__clocks { width: auto; }
  .front__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: center; padding-top: 20px; min-height: calc(100vh - var(--mast-h) - 220px); }
  .front__text { order: 0; }
  .medal { order: 0; margin: 0; }
  .medal__stage { width: min(100%, 600px); }
  .editions { margin-top: 0; }
  .editions__tab { font-size: 20px; }
  .hl { font-size: clamp(64px, 6.9vw, 118px); }
  .hl--long { font-size: clamp(54px, 5.4vw, 92px); }
  .deck { font-size: 22px; margin-top: 26px; }
  .front__cta { margin-top: 32px; }
  .front__cta .btn { flex: 0 0 auto; }
  .front__lower { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px; margin-top: 64px; }
  .toc__list { columns: 2; column-gap: 48px; }
  .toc__list li { break-inside: avoid; }
}
@media (min-width: 1600px) {
  .hl { font-size: clamp(100px, 6.6vw, 132px); }
  .hl--long { font-size: clamp(80px, 5.2vw, 104px); }
}

/* ========================================================================
   CHAPTERS
   ======================================================================== */
.chapter { padding: 88px 0 72px; position: relative; }
.chapter::before { content: ''; position: absolute; left: var(--g); right: var(--g); top: 0; max-width: calc(var(--maxw) - 2 * var(--g)); margin: 0 auto; border-top: 1px solid var(--ink); }
.ch-head { position: relative; display: grid; grid-template-columns: 1fr; gap: 8px; margin-bottom: 36px; }
.ch-num { font-size: 96px; line-height: .78; font-weight: 200; color: var(--oxide); letter-spacing: -.02em; font-variant-numeric: lining-nums; margin-bottom: 14px; }
.ch-title { font-size: clamp(36px, 9.6vw, 56px); line-height: 1.02; font-weight: 300; letter-spacing: -.022em; margin-top: 10px; text-wrap: balance; }
.ch-title em { color: var(--oxide); font-weight: 300; }
.ch-deck { font-size: 20px; line-height: 1.45; color: var(--ink-2); margin-top: 16px; max-width: 34em; text-wrap: pretty; }
.folio { position: absolute; top: -66px; right: 0; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; color: var(--mute); }
.ch-body { display: grid; gap: 30px; }
.prose { position: relative; max-width: 35em; }
.prose p { margin-bottom: 1.05em; text-wrap: pretty; hyphens: auto; -webkit-hyphens: auto; }
.prose p:last-child { margin-bottom: 0; }
.prose code { font-size: .78em; background: rgba(22, 18, 15, .06); padding: .06em .3em; white-space: nowrap; }
.dropcap::first-letter { float: left; font-size: 4.35em; line-height: .8; font-weight: 300; color: var(--oxide); padding: .07em .09em 0 0; margin-left: -.03em; font-variant-numeric: lining-nums; }
.fn { font-family: var(--mono); font-size: .62em; line-height: 0; vertical-align: super; color: var(--oxide); text-decoration: none; padding: 0; margin-left: .08em; font-variant-numeric: lining-nums; display: inline; position: relative; }
.fn::after { content: ''; position: absolute; inset: -14px -10px; }
.sidenote { display: none; }
.figs { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--ink); align-self: start; }
.figs__row { padding: 14px 12px 14px 0; border-bottom: 1px solid var(--hair); }
.figs__row:nth-child(2n) { padding-left: 14px; border-left: 1px solid var(--hair); }
.figs__n { display: block; font-size: 38px; line-height: 1; font-weight: 300; font-variant-numeric: lining-nums; letter-spacing: -.02em; }
.figs__c { display: block; margin-top: 7px; font-family: var(--mono); font-size: 10.5px; line-height: 1.45; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); }

@media (min-width: 1000px) {
  .chapter { padding: 140px 0 110px; }
  .ch-head { grid-template-columns: minmax(0, 2fr) minmax(0, 10fr); gap: 32px; margin-bottom: 56px; align-items: start; }
  .ch-num { font-size: 168px; margin-bottom: 0; text-align: left; letter-spacing: -.07em; }
  .ch-title { font-size: clamp(52px, 5vw, 84px); margin-top: 12px; }
  .ch-deck { font-size: 22px; }
  .folio { top: -108px; }
  .ch-body { grid-template-columns: minmax(0, 2fr) minmax(0, 6fr) minmax(0, 4fr); gap: 32px; }
  .ch-body > .prose { grid-column: 2; }
  .ch-body > :last-child:not(.prose) { grid-column: 3; }
  body { font-size: 19.5px; }
  .figs { grid-template-columns: 1fr; }
  .figs__row, .figs__row:nth-child(2n) { padding: 16px 0; border-left: 0; display: grid; grid-template-columns: 120px 1fr; align-items: baseline; gap: 14px; }
  .figs__c { margin-top: 0; }
}
@media (min-width: 1240px) {
  .sidenote { display: block; position: absolute; left: calc(-1 * (100% / 6 * 2) - 32px); width: calc(100% / 6 * 2 - 8px); top: 0; font-size: 14.5px; line-height: 1.45; color: var(--mute); font-style: italic; border-top: 1px solid var(--hair); padding-top: 8px; transition: color .3s ease; }
  .sidenote__n { font-family: var(--mono); font-style: normal; font-size: 11px; color: var(--oxide); margin-right: 4px; }
  .sidenote.is-hot { color: var(--ink); }
}

/* ========================================================================
   THE EXCHANGE
   ======================================================================== */
.exchange { margin-top: 64px; }
.exchange__head { display: flex; flex-direction: column; gap: 6px; padding-bottom: 14px; border-bottom: 2px solid var(--ink); }
.exchange__head .h3 { font-size: 30px; font-weight: 300; }
.slip { padding: 22px 0 8px; }
.slip__sentence { font-size: 26px; line-height: 1.85; font-weight: 300; letter-spacing: -.01em; }
.slip__w { white-space: nowrap; }
.field { position: relative; display: inline-flex; align-items: baseline; vertical-align: baseline; margin: 0 .12em; }
.field input, .field select {
  border: 0; border-bottom: 1.5px solid var(--ink); border-radius: 0; background: transparent; padding: 7px .1em 3px; margin: 0;
  font-size: 26px; font-weight: 400; line-height: 1.3; color: var(--ink); appearance: none; -webkit-appearance: none; outline: none;
  transition: border-color .25s ease;
}
.field input:focus, .field select:focus { border-bottom-color: var(--oxide); }
.field--amt input { width: 6.2em; font-variant-numeric: lining-nums tabular-nums; }
.field__cur { font-size: 26px; color: var(--oxide); padding-right: .08em; }
.field--sel select { padding-right: 1.05em; cursor: pointer; max-width: 9.5em; text-overflow: ellipsis; }
.field--sel svg { position: absolute; right: 0; bottom: .45em; width: 18px; height: 18px; pointer-events: none; color: var(--oxide); }
.field select option { font-size: 16px; }
.swap { display: inline-grid; place-items: center; width: 44px; height: 44px; vertical-align: middle; color: var(--oxide); border-radius: 50%; transition: transform .5s var(--ease), background .2s; }
.swap svg { width: 22px; height: 22px; }
.swap:hover { background: rgba(161, 58, 30, .08); }
.swap.is-spun { transform: rotate(180deg); }
.slip .seg__b { font-size: 24px; min-height: 48px; }
.slip .seg__b::after { bottom: 8px; }
.slip__out { margin-top: 18px; display: grid; gap: 22px; border-top: 1px solid var(--hair); padding-top: 22px; }
.slip__prose { font-size: 21px; line-height: 1.5; max-width: 34em; text-wrap: pretty; }
.slip__prose strong { font-weight: 500; font-variant-numeric: lining-nums; }
.slip__prose .big { color: var(--oxide); font-style: italic; font-weight: 400; }
.ledger { display: grid; gap: 0; align-self: start; }
.lg { display: flex; align-items: baseline; gap: 8px; padding: 9px 0; border-bottom: 1px solid var(--hair); }
.lg dt { font-size: 16.5px; color: var(--ink-2); white-space: nowrap; }
.lg i { flex: 1; border-bottom: 1px dotted var(--hair-2); transform: translateY(-4px); min-width: 12px; }
.lg dd { font-family: var(--mono); font-size: 13.5px; font-variant-numeric: tabular-nums lining-nums; text-align: right; }
.lg--hi dd { color: var(--oxide); }
.lg--dim dt, .lg--dim dd { color: var(--mute); }
.num-flash { animation: numFlash .7s var(--ease); }
@keyframes numFlash { from { opacity: .25; } to { opacity: 1; } }

.ratesheet { margin-top: 48px; }
.ratesheet__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 16px; padding-bottom: 6px; border-bottom: 1px solid var(--ink); }
.tablewrap { overflow-x: auto; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.rates { width: 100%; border-collapse: collapse; min-width: 560px; }
.rates th, .rates td { padding: 11px 10px 11px 0; border-bottom: 1px solid var(--hair); text-align: left; vertical-align: baseline; }
.rates thead th { font-family: var(--mono); font-size: 10.5px; font-weight: 400; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); padding-top: 12px; }
.rates td { font-size: 16.5px; }
.rates .num { text-align: right; font-family: var(--mono); font-size: 13.5px; font-variant-numeric: tabular-nums lining-nums; }
.rates td:first-child { white-space: nowrap; }
.rates td:first-child code { font-size: 12px; color: var(--oxide); margin-right: 8px; }
.rates td.rail { font-style: italic; color: var(--ink-2); white-space: nowrap; }
.rates td.arr { font-family: var(--mono); font-size: 12px; color: var(--mute); white-space: nowrap; }
.rates th.rail, .rates td.rail { padding-left: 26px; }
.rates__m { display: none; }
.ratesheet .note { margin-top: 12px; }
@media (max-width: 699px) {
  .rates { min-width: 0; }
  .rates th.rail, .rates td.rail, .rates th.arr, .rates td.arr { display: none; }
  .rates th, .rates td { padding-right: 8px; }
  .rates th:last-child, .rates td:last-child { padding-right: 0; }
  .rates td { font-size: 15.5px; }
  .rates .num { font-size: 12.5px; }
  .rates td:first-child { white-space: normal; }
  .rates .m-hide { display: none; }
  .rates td:first-child code { display: block; margin: 0 0 1px; }
  .rates__m { display: block; margin-top: 3px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .04em; color: var(--mute); }
}

@media (min-width: 1000px) {
  .exchange { margin-top: 110px; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 10fr); gap: 0 32px; }
  .exchange__head { grid-column: 1 / -1; flex-direction: row; align-items: baseline; justify-content: space-between; }
  .exchange__head .h3 { font-size: 40px; order: -1; }
  .slip, .ratesheet { grid-column: 2; }
  .slip { padding-top: 34px; }
  .slip__sentence { font-size: 40px; line-height: 1.7; }
  .field input, .field select, .field__cur { font-size: 40px; }
  .field--sel svg { width: 22px; height: 22px; bottom: .5em; }
  .slip .seg__b { font-size: 36px; }
  .swap { width: 48px; height: 48px; }
  .slip__out { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
  .slip__prose { font-size: 24px; }
  .ratesheet { margin-top: 72px; }
}

/* ========================================================================
   CARDS
   ======================================================================== */
.cards {
  display: grid; grid-auto-flow: column; grid-auto-columns: 84%; gap: 18px;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  margin: 0 calc(-1 * var(--g)); padding: 6px var(--g) 18px; scroll-padding: 0 var(--g);
  scrollbar-width: none;
}
.cards::-webkit-scrollbar { display: none; }
.cardcol { scroll-snap-align: start; display: flex; flex-direction: column; gap: 12px; }
.cardcol__t { margin-top: 8px; }
.cardcol__p { font-size: 17px; line-height: 1.5; color: var(--ink-2); }
.cardcol .textbtn { margin-top: auto; align-self: flex-start; }
.card3d { perspective: 1200px; margin-top: 4px; }
.card3d__in { position: relative; aspect-ratio: 1.586; transform-style: preserve-3d; transition: transform 1s var(--ease); }
.card3d.is-turned .card3d__in { transform: rotateY(180deg); }
.cface {
  position: absolute; inset: 0; border-radius: 14px; overflow: hidden; -webkit-backface-visibility: hidden; backface-visibility: hidden;
  padding: 7% 7.5%; display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto 1fr auto auto; container-type: inline-size;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset, 0 0 0 1px rgba(22, 18, 15, .12), 0 22px 36px -22px rgba(22, 18, 15, .45), 0 2px 4px rgba(22, 18, 15, .08);
}
.cface--back { transform: rotateY(180deg); display: flex; flex-direction: column; justify-content: flex-end; gap: 6%; padding-top: 0; }
.cface__pat { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.cface > span, .cface > dl { position: relative; }
.cface__brand { font-size: 6.4cqw; font-weight: 500; letter-spacing: .34em; line-height: 1; }
.cface__kind { font-family: var(--mono); font-size: 3.3cqw; letter-spacing: .12em; text-transform: uppercase; text-align: right; line-height: 1.2; }
.cface__chip { grid-column: 1; grid-row: 2; align-self: center; width: 13.5cqw; aspect-ratio: 1.3; border-radius: 1.8cqw; margin-top: 2cqw;
  background: repeating-linear-gradient(90deg, transparent 0 32%, currentColor 32% calc(32% + 1px), transparent calc(32% + 1px) 66%, currentColor 66% calc(66% + 1px), transparent calc(66% + 1px)),
              linear-gradient(transparent 48%, currentColor 48% calc(48% + 1px), transparent calc(48% + 1px));
  box-shadow: inset 0 0 0 1px currentColor; opacity: .7; }
.cface__agent { grid-column: 1 / -1; grid-row: 2; align-self: center; font-family: var(--mono); font-size: 4.4cqw; letter-spacing: .02em; }
.cface__num { grid-column: 1 / -1; grid-row: 3; font-family: var(--mono); font-size: 4.6cqw; letter-spacing: .12em; font-variant-numeric: tabular-nums lining-nums; margin-bottom: 2.5cqw; }
.cface__name { grid-column: 1; grid-row: 4; font-size: 4.6cqw; line-height: 1.15; }
.cface__name small { font-family: var(--mono); font-size: 2.9cqw; letter-spacing: .08em; text-transform: uppercase; opacity: .75; }
.cface__visa { grid-column: 2; grid-row: 4; align-self: end; font-size: 7cqw; font-weight: 700; font-style: italic; letter-spacing: -.02em; line-height: .9; }
.cface__strip { position: absolute !important; left: 0; right: 0; top: 13%; height: 17%; background: currentColor; opacity: .82; }
.cface__spec { display: grid; grid-template-columns: auto 1fr; gap: 1.6cqw 4cqw; font-size: 4cqw; line-height: 1.2; }
.cface__spec dt { font-family: var(--mono); font-size: 2.9cqw; letter-spacing: .1em; text-transform: uppercase; opacity: .7; padding-top: .5cqw; }
.cface--ivory { background: linear-gradient(140deg, #FAF6EE 0%, #F1EADD 55%, #E9E0CF 100%); color: var(--ink); }
.cface--ivory .cface__brand, .cface--ivory .cface__visa { color: var(--oxide-deep); }
.cface--ivory .cface__chip { color: var(--oxide); }
.cface--steel {
  color: #2E2A26;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .22) 0 1px, rgba(0, 0, 0, 0) 1px 2px, rgba(0, 0, 0, .05) 2px 3px),
    linear-gradient(118deg, #BDB8B0 0%, #E9E6E0 30%, #CAC5BC 48%, #F1EEE9 66%, #B9B3A9 100%);
}
.cface--steel .cface__brand, .cface--steel .cface__name, .cface--steel .cface__num, .cface--steel .cface__visa { text-shadow: 0 1px 0 rgba(255, 255, 255, .55), 0 -1px 0 rgba(0, 0, 0, .18); }
.cface--ink { background: radial-gradient(120% 90% at 85% 0%, #2A2420 0%, #171311 60%); color: var(--paper); }
.cface--ink .cface__brand, .cface--ink .cface__visa { color: var(--oxide-light); }
.cface--ink .cface__agent { color: var(--paper); }
@media (min-width: 900px) {
  .cards { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; margin: 0; padding: 0; gap: 36px; }
}
.cards__count { display: flex; justify-content: space-between; align-items: center; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); margin-top: 2px; }
.cards__dots { display: flex; gap: 6px; }
.cards__dots i { width: 18px; height: 1.5px; background: var(--hair-2); transition: background .3s; }
.cards__dots i.on { background: var(--oxide); }
@media (min-width: 900px) { .cards__count { display: none; } }

/* ========================================================================
   THE MANDATE
   ======================================================================== */
.mandate { margin-top: 90px; }
.mandate__intro { max-width: 40em; }
.mandate__intro .h2 { margin-top: 10px; }
.mandate__lede { margin-top: 16px; font-size: 19.5px; line-height: 1.5; color: var(--ink-2); }
.mandate__grid { display: grid; gap: 26px; margin-top: 34px; }
.mandate__controls { display: flex; flex-wrap: wrap; gap: 4px 26px; margin-top: 18px; }

.log { border-top: 2px solid var(--ink); }
.log__head { display: flex; justify-content: space-between; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--hair); }
.log__date { font-family: var(--mono); font-size: 11px; color: var(--mute); letter-spacing: .08em; }
.log__list { font-family: var(--mono); font-size: 12px; line-height: 1.45; font-variant-numeric: tabular-nums lining-nums; min-height: 230px; }
.log__list li { display: grid; grid-template-columns: 58px 1fr auto; gap: 2px 10px; padding: 9px 0; border-bottom: 1px solid var(--hair); animation: logIn .6s var(--ease) both; }
.log__t { color: var(--mute); }
.log__w { color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.log__w b { font-weight: 500; }
.log__a { text-align: right; }
.log__m { grid-column: 2 / -1; color: var(--mute); font-size: 11px; }
.log__m .ok { color: var(--ink-2); }
.log__m .no { color: var(--oxide); font-weight: 500; }
.log__m .up { color: var(--oxide); }
@keyframes logIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

.letter {
  position: relative; background: var(--paper-hi); padding: 24px 22px 20px;
  box-shadow: 0 0 0 1px var(--hair), 0 30px 50px -36px rgba(22, 18, 15, .45), 0 2px 0 rgba(22, 18, 15, .04);
}
.letter::before { content: ''; position: absolute; inset: 7px; border: 1px solid rgba(161, 58, 30, .22); pointer-events: none; }
.letter__head { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.letter__no { color: var(--oxide); }
.letter__time { color: var(--mute); }
.letter__h { font-size: 26px; line-height: 1.15; font-weight: 300; margin: 16px 0 12px; }
.letter__meta { display: grid; grid-template-columns: 52px 1fr; gap: 4px 10px; font-size: 16px; line-height: 1.4; padding-bottom: 12px; border-bottom: 1px solid var(--hair); }
.letter__meta dt { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); padding-top: 4px; }
.letter__meta code { font-size: 13px; }
.letter__body { margin-top: 14px; font-size: 18px; line-height: 1.55; }
.letter__req { position: relative; }
.letter__req::after { content: ''; position: absolute; left: 0; right: 0; top: 55%; height: 1.5px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease); }
.letter.is-declined .letter__req { color: var(--mute); }
.letter.is-declined .letter__req::after { transform: scaleX(1); }
.letter__json { margin-top: 14px; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.letter__json summary { display: flex; align-items: center; justify-content: space-between; min-height: 44px; cursor: pointer; list-style: none; }
.letter__json summary::-webkit-details-marker { display: none; }
.letter__json summary svg { width: 18px; height: 18px; color: var(--oxide); transition: transform .3s var(--ease); }
.letter__json[open] summary svg { transform: rotate(180deg); }
.json { margin: 0 0 12px; padding: 14px; background: var(--paper-2); font-size: 12px; line-height: 1.6; overflow-x: auto; white-space: pre; }
.json .k { color: var(--oxide-deep); } .json .s { color: var(--ink-2); font-style: italic; } .json .n { color: var(--oxide); }
.letter__sign { position: relative; margin-top: 18px; min-height: 120px; }
.letter__line { display: flex; align-items: baseline; gap: 12px; border-bottom: 1px solid var(--ink); padding-bottom: 6px; min-height: 40px; }
.letter__sig { font-size: 24px; font-style: italic; font-weight: 300; color: var(--ink); opacity: 0; transform: translateX(-6px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.letter.is-approved .letter__sig { opacity: 1; transform: none; }
.letter__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.letter__actions .btn { flex: 1 1 auto; }
.letter.is-done .letter__actions { opacity: .35; pointer-events: none; }
.letter__status { margin-top: 14px; font-size: 15.5px; font-style: italic; color: var(--mute); min-height: 1.5em; }
.letter.is-approved .letter__status { color: var(--oxide-deep); }
.stamp-slot { position: absolute; right: -6px; bottom: -14px; width: 148px; height: 148px; pointer-events: none; }
.stamp-slot svg { width: 100%; height: 100%; overflow: visible; }
.seal-stamp { color: var(--oxide); transform-origin: 50% 50%; animation: stampIn .75s cubic-bezier(.2, .9, .25, 1.15) both; filter: url(#ink); }
.seal-stamp--decline { color: var(--ink); }
.stamp-ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--oxide); animation: stampRing .9s var(--ease) both; }
@keyframes stampIn { 0% { opacity: 0; transform: scale(1.7) rotate(-26deg); } 55% { opacity: .95; transform: scale(.93) rotate(-9deg); } 75% { transform: scale(1.02) rotate(-11deg); } 100% { opacity: .93; transform: scale(1) rotate(-10deg); } }
@keyframes stampRing { 0% { opacity: 0; transform: scale(.9); } 40% { opacity: .35; } 100% { opacity: 0; transform: scale(1.45); } }

/* phone (desktop) */
.phone { display: none; }
.phone__frame { position: relative; width: 268px; height: 548px; margin: 0 auto; border-radius: 48px; padding: 10px; background: var(--paper-hi); box-shadow: 0 0 0 1.4px var(--ink), 0 0 0 5px var(--paper-2), 0 0 0 6px var(--hair-2), 0 40px 60px -40px rgba(22, 18, 15, .55); }
.phone__island { position: absolute; top: 20px; left: 50%; width: 82px; height: 24px; margin-left: -41px; border-radius: 14px; background: var(--ink); z-index: 2; }
.phone__screen { position: relative; height: 100%; border-radius: 39px; overflow: hidden; background: linear-gradient(180deg, #E4DACA, #EFE8DC 60%); padding: 58px 12px 16px; text-align: center; }
.phone__clock { font-size: 64px; line-height: 1; font-weight: 300; letter-spacing: -.02em; font-variant-numeric: lining-nums tabular-nums; color: var(--ink); }
.phone__date { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); margin-top: 6px; }
.notif { margin-top: 26px; text-align: left; background: rgba(250, 247, 240, .92); border-radius: 18px; padding: 12px 12px 10px; box-shadow: 0 10px 24px -14px rgba(22, 18, 15, .4), 0 0 0 1px rgba(22, 18, 15, .06); transform: translateY(-10px) scale(.98); opacity: 0; transition: transform .55s var(--ease), opacity .4s ease; }
.notif.is-in { transform: none; opacity: 1; }
.notif__head { display: flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 10px; letter-spacing: .12em; color: var(--ink-2); }
.notif__icon { width: 18px; height: 18px; color: var(--oxide); }
.notif__when { margin-left: auto; color: var(--mute); letter-spacing: .04em; text-transform: none; }
.notif__t { margin-top: 7px; font-size: 15px; line-height: 1.25; font-weight: 500; }
.notif__b { margin-top: 3px; font-size: 13.5px; line-height: 1.35; color: var(--ink-2); }
.notif__actions { display: grid; grid-template-columns: 1fr; gap: 6px; margin-top: 10px; }
.notif__btn { min-height: 40px; border-radius: 10px; background: rgba(22, 18, 15, .06); font-size: 14.5px; color: var(--ink); }
.notif__btn--ok { background: var(--ink); color: var(--paper-hi); }
.notif__btn:hover { filter: brightness(.95); }
.phone .fid { position: absolute; left: 50%; top: 52%; width: 92px; height: 92px; margin: -46px 0 0 -46px; color: var(--ink); }
.phone__result { position: absolute; left: 12px; right: 12px; bottom: 26px; font-size: 15px; font-style: italic; color: var(--oxide-deep); }
.phone__cap { margin-top: 18px; font-size: 14.5px; color: var(--mute); font-style: italic; text-align: center; }
.phone__cap .label { font-style: normal; color: var(--oxide); margin-right: 6px; }

/* Face ID glyph (crop marks + engraved hatch) */
.fid svg { width: 100%; height: 100%; overflow: visible; }
.fid .fm { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: square; transition: transform .45s var(--ease), opacity .3s; transform-box: fill-box; }
.fid .fo { fill: none; stroke: currentColor; stroke-width: 1.4; stroke-dasharray: 160; stroke-dashoffset: 160; }
.fid .fh line { stroke: currentColor; stroke-width: 1; opacity: 0; }
.fid .fe { fill: currentColor; opacity: 0; }
.fid .fc { fill: none; stroke: var(--oxide); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; }
.fid.is-scan .fo { animation: dash 0.6s var(--ease) forwards; }
.fid.is-scan .fe { animation: fadeIn .3s ease .35s forwards; }
.fid.is-scan .fh line { animation: hatch .28s ease forwards; animation-delay: calc(.45s + var(--i) * 45ms); }
.fid.is-scan .fm--tl { transform: translate(4px, 4px); } .fid.is-scan .fm--tr { transform: translate(-4px, 4px); }
.fid.is-scan .fm--bl { transform: translate(4px, -4px); } .fid.is-scan .fm--br { transform: translate(-4px, -4px); }
.fid.is-ok .fo, .fid.is-ok .fh, .fid.is-ok .fe { opacity: 0; transition: opacity .25s ease; }
.fid.is-ok .fe { animation: none; }
.fid.is-ok .fc { animation: dash .45s var(--ease) .1s forwards; }
.fid.is-ok .fm { transform: none; }
.fid.is-no .fo, .fid.is-no .fh, .fid.is-no .fe { opacity: .25; }
@keyframes dash { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes hatch { from { opacity: 0; } to { opacity: .8; } }

/* banner + HUD (mobile/tablet) */
.banner {
  position: fixed; z-index: 1300; left: 8px; right: 8px; top: calc(env(safe-area-inset-top, 0px) + 8px); max-width: 420px; margin: 0 auto;
  background: rgba(250, 247, 240, .9); -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%);
  border-radius: 20px; padding: 12px 14px 12px; box-shadow: 0 18px 40px -16px rgba(22, 18, 15, .45), 0 0 0 1px rgba(22, 18, 15, .08);
  transform: translateY(calc(-100% - 30px)); transition: transform .6s cubic-bezier(.2, .9, .25, 1.05);
}
.banner.is-in { transform: none; }
.banner__head { display: flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; color: var(--ink-2); }
.banner__x { width: 36px; height: 36px; margin: -8px -8px -8px 2px; display: grid; place-items: center; color: var(--mute); }
.banner__x svg { width: 18px; height: 18px; }
.banner .notif__t { font-size: 16px; }
.banner .notif__b { font-size: 14.5px; }
.banner .notif__actions { grid-template-columns: 1fr 1fr; }
.banner .notif__btn { min-height: 44px; }
.hud { position: fixed; inset: 0; z-index: 1400; display: grid; place-items: center; pointer-events: none; opacity: 0; transition: opacity .25s ease; }
.hud.is-in { opacity: 1; }
.hud__box { width: 168px; height: 168px; border-radius: 34px; background: rgba(28, 24, 21, .84); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); display: grid; place-items: center; padding-top: 18px; color: var(--paper); transform: scale(.9); transition: transform .4s var(--ease); }
.hud.is-in .hud__box { transform: none; }
.hud .fid { width: 74px; height: 74px; color: var(--paper); }
.hud__t { font-size: 15px; margin-top: -6px; color: var(--paper); }

@media (min-width: 760px) {
  .mandate__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: start; }
}
@media (min-width: 1100px) {
  .mandate { margin-top: 140px; }
  .mandate__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 3.2fr); gap: 40px; }
  .phone { display: block; }
  .letter { padding: 34px 34px 26px; }
  .letter__h { font-size: 30px; }
  .banner { display: none !important; }
}

/* ========================================================================
   TREASURY
   ======================================================================== */
.yield { align-self: start; }
.yield__sentence { font-size: 26px; line-height: 1.35; font-weight: 300; }
.yield__sentence output { font-variant-numeric: lining-nums; font-weight: 400; }
.yield__big { color: var(--oxide); font-style: italic; }
.yield__zero { color: var(--mute); }
.range { display: block; position: relative; margin: 22px 0 4px; height: 44px; }
.range input { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; margin: 0; background: transparent; cursor: pointer; touch-action: pan-y; }
.range input:focus { outline: none; }
.range input::-webkit-slider-runnable-track { height: 1px; background: linear-gradient(90deg, var(--oxide) 0 var(--p, 50%), var(--ink) var(--p, 50%)); }
.range input::-moz-range-track { height: 1px; background: var(--ink); }
.range input::-moz-range-progress { height: 1.5px; background: var(--oxide); }
.range input::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; margin-top: -10px; background: var(--oxide); transform: rotate(45deg) scale(.8); border: 3px solid var(--paper); box-shadow: 0 0 0 1px var(--oxide); transition: transform .2s var(--ease); }
.range input::-moz-range-thumb { width: 14px; height: 14px; border-radius: 0; background: var(--oxide); transform: rotate(45deg); border: 3px solid var(--paper); box-shadow: 0 0 0 1px var(--oxide); }
.range input:active::-webkit-slider-thumb { transform: rotate(45deg) scale(1.05); }
.range input:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 1px var(--oxide), 0 0 0 6px rgba(161, 58, 30, .18); }
.range__ends { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; color: var(--mute); text-transform: uppercase; margin-bottom: 12px; }
.certs { display: grid; gap: 22px; margin-top: 54px; }
.cert { position: relative; background: var(--paper-hi); padding: 30px 26px 26px; box-shadow: 0 28px 50px -40px rgba(22, 18, 15, .5); min-height: 300px; }
.cert__frame { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--oxide); pointer-events: none; }
.cert__in { position: relative; text-align: center; padding: 18px 10px 4px; }
.cert__kicker { font-family: var(--mono); font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--oxide); }
.cert__t { font-size: 27px; line-height: 1.12; font-weight: 300; margin-top: 10px; text-wrap: balance; }
.cert__yield { margin: 14px 0 16px; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.cert__pct { font-size: 62px; line-height: 1; font-weight: 200; color: var(--oxide); font-variant-numeric: lining-nums; letter-spacing: -.02em; }
.cert__dl { display: grid; grid-template-columns: auto 1fr; gap: 7px 14px; text-align: left; max-width: 330px; margin: 0 auto; font-size: 15.5px; border-top: 1px solid var(--hair); padding-top: 14px; }
.cert__dl dt { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); padding-top: 4px; }
.cert__seal { position: absolute; right: 2px; bottom: -6px; width: 46px; height: 46px; color: var(--oxide); opacity: .85; transform: rotate(-8deg); }
@media (min-width: 760px) { .certs { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) {
  .yield__sentence { font-size: 34px; }
  .certs { margin-top: 80px; gap: 36px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding-left: calc((100% - 32px * 11) / 12 * 2 + 64px); }
  .cert { padding: 40px 40px 34px; }
  .cert__t { font-size: 32px; }
  .cert__pct { font-size: 78px; }
}

/* ========================================================================
   PAYMENTS
   ======================================================================== */
.checkout { margin-top: 56px; background: var(--paper-hi); box-shadow: 0 0 0 1px var(--hair), 0 40px 60px -48px rgba(22, 18, 15, .5); }
.checkout__bar { display: flex; align-items: center; gap: 8px; padding: 0 14px; min-height: 40px; border-bottom: 1px solid var(--hair); font-family: var(--mono); font-size: 11.5px; color: var(--mute); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.checkout__lock { width: 9px; height: 8px; border: 1.2px solid currentColor; border-radius: 1.5px; position: relative; flex: none; margin-top: 3px; }
.checkout__lock::before { content: ''; position: absolute; left: 1px; right: 1px; top: -5px; height: 6px; border: 1.2px solid currentColor; border-bottom: 0; border-radius: 4px 4px 0 0; }
.checkout__grid { display: grid; }
.invoice { padding: 22px 20px; border-bottom: 1px solid var(--hair); }
.invoice__from { margin-top: 10px; font-size: 16px; color: var(--ink-2); }
.invoice__item { margin-top: 2px; font-size: 18px; }
.invoice__amt { margin-top: 14px; font-size: 52px; line-height: 1; font-weight: 300; letter-spacing: -.02em; font-variant-numeric: lining-nums; }
.invoice__to { margin-top: 12px; font-size: 15px; font-style: italic; color: var(--mute); }
.paybox { padding: 20px; }
.methods { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 14px; }
.methods button { min-height: 40px; padding: 0 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--hair-2); font-size: 15.5px; color: var(--ink-2); transition: background .2s, color .2s, box-shadow .2s; }
.methods button[aria-selected="true"] { background: var(--ink); color: var(--paper-hi); box-shadow: none; }
.methods button:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.method { min-height: 196px; padding: 16px; background: var(--paper-2); display: grid; gap: 12px; align-content: start; animation: fadeUp .45s var(--ease); }
.method__row { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; font-size: 16px; border-bottom: 1px dotted var(--hair-2); padding-bottom: 6px; }
.method__row span:last-child { font-family: var(--mono); font-size: 13px; text-align: right; font-variant-numeric: tabular-nums lining-nums; }
.method__big { font-size: 30px; font-weight: 300; font-variant-numeric: lining-nums; white-space: nowrap; }
.method__qr .method__big { font-size: 25px; }
.method__hint { font-size: 15px; font-style: italic; color: var(--mute); }
.method__qr { display: flex; gap: 14px; align-items: center; }
.qr { width: 112px; height: 112px; flex: none; background: var(--paper-hi); padding: 6px; box-shadow: 0 0 0 1px var(--hair); }
.qr svg { width: 100%; height: 100%; }
.method__apple { min-height: 48px; border-radius: 10px; background: var(--ink); color: var(--paper-hi); display: grid; place-items: center; font-size: 17px; letter-spacing: .01em; }
.method__cardf { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.method__cardf span { min-height: 42px; padding: 10px 12px; background: var(--paper-hi); box-shadow: inset 0 0 0 1px var(--hair); font-family: var(--mono); font-size: 13px; color: var(--mute); }
.method__cardf span:first-child { grid-column: 1 / -1; }
#ck-pay { margin-top: 14px; }
#ck-pay.is-paid { background: var(--oxide); }
.paybox__lands { margin-top: 12px; font-size: 15.5px; color: var(--ink-2); font-style: italic; }
.paybox__lands strong { font-style: normal; font-weight: 500; }
@media (min-width: 900px) {
  .checkout { margin-top: 80px; margin-left: calc((100% - 32px * 11) / 12 * 2 + 64px); }
  .checkout__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
  .invoice { border-bottom: 0; border-right: 1px solid var(--hair); padding: 34px; }
  .invoice__amt { font-size: 68px; }
  .paybox { padding: 30px 34px; }
}

.escrow { margin-top: 64px; }
.escrow__head { display: grid; gap: 18px; padding-bottom: 16px; border-bottom: 2px solid var(--ink); }
.escrow__head .h3 { margin-top: 8px; font-size: 28px; font-weight: 300; }
.escrow__lede { margin-top: 10px; font-size: 17.5px; color: var(--ink-2); max-width: 36em; }
.escrow__sum { display: flex; gap: 28px; }
.escrow__sum dt { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.escrow__sum dd { font-size: 28px; font-weight: 300; font-variant-numeric: lining-nums tabular-nums; }
.escrow__sum div:last-child dd { color: var(--oxide); }
.stages { counter-reset: st; }
.stage { display: grid; grid-template-columns: 44px 1fr; gap: 4px 12px; padding: 18px 0; border-bottom: 1px solid var(--hair); position: relative; align-items: center; }
.stage__n { font-size: 22px; color: var(--oxide); font-variant-numeric: lining-nums; grid-row: span 2; align-self: start; padding-top: 2px; }
.stage__t { font-size: 19px; line-height: 1.25; }
.stage__t small { display: block; font-size: 15px; font-style: italic; color: var(--mute); }
.stage__amt { font-family: var(--mono); font-size: 15px; font-variant-numeric: tabular-nums lining-nums; }
.stage__act { grid-column: 2; display: flex; align-items: center; gap: 12px; min-height: 44px; }
.stage__act .btn { min-height: 44px; font-size: 16px; padding: 0 16px; }
.stage__lock { font-size: 15px; font-style: italic; color: var(--mute); }
.rstamp { display: inline-flex; align-items: center; gap: 8px; padding: 5px 10px; border: 1.5px solid currentColor; outline: 1px solid currentColor; outline-offset: 2px; color: var(--oxide); font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; transform: rotate(-3deg); filter: url(#ink); white-space: nowrap; }
.rstamp.is-new { animation: rstampIn .5s cubic-bezier(.2, .9, .25, 1.2) both; }
.rstamp small { font-size: 10px; letter-spacing: .06em; opacity: .85; text-transform: none; }
@keyframes rstampIn { from { opacity: 0; transform: scale(1.6) rotate(-12deg); } to { opacity: 1; transform: scale(1) rotate(-3deg); } }
.escrow .textbtn { margin-top: 10px; }
@media (min-width: 900px) {
  .escrow { margin-top: 100px; margin-left: calc((100% - 32px * 11) / 12 * 2 + 64px); }
  .escrow__head { grid-template-columns: 1fr auto; align-items: end; }
  .stage { grid-template-columns: 60px minmax(0, 1fr) 150px 260px; padding: 20px 0; }
  .stage__n { grid-row: auto; }
  .stage__act { grid-column: auto; justify-content: flex-end; }
  .stage__amt { text-align: right; }
}

/* ========================================================================
   PAYOUTS
   ======================================================================== */
.savings__sentence { font-size: 26px; line-height: 1.35; font-weight: 300; }
.savings__sentence output { font-variant-numeric: lining-nums; font-weight: 400; }
.savings__big { color: var(--oxide); font-style: italic; }
.savings__zero { color: var(--ink); font-weight: 400; }
.payrun { margin-top: 56px; }
.payrun__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 14px; padding-bottom: 14px; border-bottom: 2px solid var(--ink); }
.payrun__head .h3 { margin-top: 8px; font-size: 28px; font-weight: 300; }
.payrun__btns { display: flex; align-items: center; gap: 14px; }
.payees { width: 100%; border-collapse: collapse; }
.payees th, .payees td { text-align: left; padding: 14px 10px 14px 0; border-bottom: 1px solid var(--hair); vertical-align: middle; }
.payees thead th { font-family: var(--mono); font-size: 10.5px; font-weight: 400; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.payees .num { text-align: right; font-family: var(--mono); font-size: 14px; font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; }
.payees td.pname { font-size: 18px; }
.payees td.where { font-style: italic; color: var(--ink-2); }
.payees td.rail { font-family: var(--mono); font-size: 12px; letter-spacing: .04em; }
.payees td.st { width: 150px; text-align: right; }
.payees thead th:last-child { text-align: right; }
.payees td.num, .payees thead th.num { padding-right: 28px; }
.payees .wait { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.payees .sending { color: var(--oxide); }
.payees .sending::after { content: ''; display: inline-block; width: 14px; height: 1px; background: currentColor; margin-left: 6px; vertical-align: middle; animation: sendbar .8s ease-in-out infinite alternate; transform-origin: left; }
@keyframes sendbar { from { transform: scaleX(.2); } to { transform: scaleX(1); } }
.payrun__total { margin-top: 14px; font-size: 16.5px; font-style: italic; color: var(--ink-2); }
@media (max-width: 699px) {
  .payees thead { display: none; }
  .payees, .payees tbody { display: block; }
  .payees tr { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 14px 0; border-bottom: 1px solid var(--hair); align-items: baseline; }
  .payees td { padding: 0; border: 0; }
  .payees td.pname { grid-column: 1; grid-row: 1; }
  .payees td.num { grid-column: 2; grid-row: 1; }
  .payees td.where { grid-column: 1; grid-row: 2; font-size: 15.5px; }
  .payees td.rail { grid-column: 1; grid-row: 3; color: var(--mute); }
  .payees td.st { grid-column: 2; grid-row: 2 / span 2; width: auto; align-self: center; }
  .payees td.num { padding-right: 0; }
}

.claim { display: grid; gap: 26px; margin-top: 70px; align-items: center; }
.claim__text p:not(.label) { margin-top: 10px; font-size: 18px; color: var(--ink-2); max-width: 30em; }
.claim__text .h3 { margin-top: 8px; font-size: 28px; font-weight: 300; }
.chat { max-width: 380px; width: 100%; background: #E6DED0; border-radius: 26px; overflow: hidden; box-shadow: 0 0 0 1px var(--hair), 0 30px 50px -36px rgba(22, 18, 15, .5); }
.chat__head { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: var(--paper-hi); border-bottom: 1px solid var(--hair); }
.chat__head strong { display: block; font-weight: 500; font-size: 16px; }
.chat__head small { display: block; font-family: var(--mono); font-size: 10.5px; color: var(--mute); letter-spacing: .06em; }
.chat__av { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--oxide); color: var(--paper-hi); font-family: var(--mono); font-size: 12px; letter-spacing: .04em; }
.chat__body { padding: 16px 14px 16px; display: grid; gap: 8px; justify-items: start; }
.chat__msg { max-width: 86%; background: var(--paper-hi); border-radius: 4px 16px 16px 16px; padding: 10px 13px; font-size: 16px; line-height: 1.4; box-shadow: 0 1px 0 rgba(22, 18, 15, .08); }
.chat__msg--card { width: 86%; }
.chat__amt { font-size: 32px; font-weight: 300; font-variant-numeric: lining-nums; }
.chat__sub { font-family: var(--mono); font-size: 10.5px; color: var(--mute); margin-top: 2px; word-break: break-word; }
.chat__opts { display: grid; gap: 6px; margin-top: 10px; }
.chat__btn { min-height: 44px; border-radius: 10px; background: var(--ink); color: var(--paper-hi); font-size: 15.5px; }
.chat__btn + .chat__btn { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--hair-2); }
.chat__done { margin-top: 10px; font-size: 15.5px; color: var(--oxide-deep); font-style: italic; display: flex; gap: 8px; align-items: center; }
.chat__done svg { width: 18px; height: 18px; flex: none; }
.chat__reset { margin-top: 2px; }
@media (min-width: 900px) {
  .payrun { margin-top: 100px; margin-left: calc((100% - 32px * 11) / 12 * 2 + 64px); }
  .claim { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); margin-top: 110px; margin-left: calc((100% - 32px * 11) / 12 * 2 + 64px); gap: 56px; }
  .chat { justify-self: center; }
  .savings__sentence { font-size: 34px; }
}

.ocr { display: grid; gap: 24px; margin-top: 70px; align-items: center; }
.ocr__text .h3 { margin-top: 8px; font-size: 28px; font-weight: 300; }
.ocr__text p:not(.label) { margin: 10px 0 18px; font-size: 18px; color: var(--ink-2); max-width: 30em; }
.bill { display: grid; grid-template-columns: 130px 1fr; gap: 18px; align-items: start; }
.bill__doc { position: relative; background: #fff; aspect-ratio: .72; padding: 12px 10px; box-shadow: 0 0 0 1px var(--hair), 0 18px 30px -20px rgba(22, 18, 15, .5); overflow: hidden; transform: rotate(-2deg); }
.bill__from { font-size: 10px; font-weight: 600; }
.bill__line { height: 4px; background: var(--paper-3); margin-top: 9px; }
.bill__line--s { width: 60%; }
.bill__total { position: absolute; right: 10px; bottom: 14px; font-family: var(--mono); font-size: 10.5px; font-weight: 500; }
.bill__scan { position: absolute; left: 0; right: 0; top: 0; height: 26%; background: linear-gradient(180deg, rgba(161, 58, 30, 0), rgba(161, 58, 30, .22)); border-bottom: 1.5px solid var(--oxide); opacity: 0; }
.bill__scan.is-on { animation: scan 1.4s var(--ease-io) 2 alternate; }
@keyframes scan { 0% { opacity: 1; transform: translateY(-100%); } 100% { opacity: 1; transform: translateY(290%); } }
.bill__fields { display: grid; gap: 0; }
.bill__fields div { display: grid; grid-template-columns: 80px 1fr; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--hair); align-items: baseline; }
.bill__fields dt { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.bill__fields dd { font-size: 16px; min-height: 1.4em; }
.bill__fields dd.is-set { animation: fadeUp .5s var(--ease); }
@media (min-width: 900px) {
  .ocr { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; margin-top: 110px; margin-left: calc((100% - 32px * 11) / 12 * 2 + 64px); }
  .bill { grid-template-columns: 170px 1fr; }
}

/* ========================================================================
   INK SPREADS (VI, VII)
   ======================================================================== */
.spread { background: var(--grain-dark) repeat, var(--night); color: var(--paper); }
.spread::before { border-top-color: transparent; }
.spread + .spread { padding-top: 60px; }
.spread + .spread::before { border-top-color: var(--night-hair); }
.spread .label, .spread .h4 { color: var(--night-mute); }
.spread .label__sep, .spread .ch-num, .spread .ch-title em { color: var(--oxide-light); }
.spread .ch-deck, .spread .prose { color: rgba(242, 237, 227, .84); }
.spread .folio { color: var(--night-mute); }
.spread .dropcap::first-letter { color: var(--oxide-light); }
.spread strong { color: var(--paper); font-weight: 500; }
.spread code { background: rgba(242, 237, 227, .08); color: var(--paper); }
.spread .textbtn { color: rgba(242, 237, 227, .86); }
.spread .textbtn svg { color: var(--oxide-light); }
.spread :focus-visible { outline-color: var(--oxide-light); }
.sov { display: grid; gap: 34px; }
.chip { margin: 0; color: var(--oxide-light); }
.chip__svg { width: min(78vw, 320px); margin: 0 auto; }
.chip__body { fill: var(--night-2); stroke: currentColor; stroke-width: 1.2; }
.chip__core { fill: var(--night); stroke: currentColor; stroke-width: 1; }
.chip__lbl { font-family: var(--mono); font-size: 9.5px; letter-spacing: .16em; fill: var(--night-mute); }
.chip figcaption { text-align: center; margin-top: 10px; font-size: 14.5px; font-style: italic; color: var(--night-mute); }
.chip figcaption .label { color: var(--oxide-light); font-style: normal; margin-right: 6px; }
.attempt { margin-top: 56px; border-top: 1px solid var(--night-hair); padding-top: 26px; }
.attempt__q { font-size: 26px; line-height: 1.3; font-weight: 300; }
.attempt__who { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 18px; }
.attempt__who button { min-height: 50px; font-size: 18px; box-shadow: inset 0 0 0 1px rgba(242, 237, 227, .28); color: var(--paper); transition: background .2s, box-shadow .2s, color .2s; }
.attempt__who button:hover { box-shadow: inset 0 0 0 1px var(--paper); }
.attempt__who button[aria-checked="true"] { background: var(--paper); color: var(--night); }
.attempt__out { margin-top: 20px; }
.attempt__steps.is-idle li { animation: none; color: var(--night-mute); }
.attempt__steps.is-idle svg { opacity: .6; }
.attempt__verdict { font-size: 24px; line-height: 1.35; font-weight: 300; }
.attempt__verdict.yes { color: var(--paper); }
.attempt__verdict.no { color: var(--oxide-light); }
.attempt__steps { margin-top: 14px; display: grid; gap: 0; font-family: var(--mono); font-size: 12.5px; line-height: 1.5; }
.attempt__steps li { display: grid; grid-template-columns: 22px 1fr auto; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--night-hair); align-items: baseline; animation: logIn .5s var(--ease) both; animation-delay: calc(var(--i) * 260ms); color: rgba(242, 237, 227, .86); }
.attempt__steps svg { width: 16px; height: 16px; transform: translateY(3px); }
.attempt__steps .y { color: var(--paper); } .attempt__steps .x { color: var(--oxide-light); }
.attempt__steps time { color: var(--night-mute); }
.who { width: 100%; border-collapse: collapse; margin-top: 60px; }
.who th, .who td { text-align: left; padding: 16px 0; border-top: 1px solid var(--night-hair); vertical-align: baseline; }
.who tr:last-child th, .who tr:last-child td { border-bottom: 1px solid var(--night-hair); }
.who th { font-size: 22px; font-weight: 300; font-style: italic; color: var(--oxide-light); width: 38%; padding-right: 14px; }
.who td { font-size: 18px; color: rgba(242, 237, 227, .88); }
@media (min-width: 1000px) {
  .sov { grid-template-columns: minmax(0, 2fr) minmax(0, 6fr) minmax(0, 4fr); gap: 32px; align-items: center; }
  .sov .prose { grid-column: 2; }
  .attempt { margin-left: calc((100% - 32px * 11) / 12 * 2 + 64px); margin-top: 90px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 5fr); gap: 0 48px; }
  .attempt__q { grid-column: 1; font-size: 32px; }
  .attempt__who { grid-column: 1; }
  .attempt__out { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; }
  .who { margin-left: calc((100% - 32px * 11) / 12 * 2 + 64px); width: calc(100% - ((100% - 32px * 11) / 12 * 2 + 64px)); margin-top: 90px; }
  .who th { font-size: 30px; width: 30%; }
  .who td { font-size: 21px; }
}

/* Atelier */
.atelier__intro { display: grid; gap: 30px; }
.dev { border-top: 1px solid var(--night-hair); padding-top: 18px; }
.dev__g { width: 40px; height: 40px; color: var(--oxide-light); margin-bottom: 12px; }
.dev .h3 { font-size: 27px; font-weight: 300; }
.dev p:not(.dev__fig) { margin-top: 10px; font-size: 18px; color: rgba(242, 237, 227, .84); }
.dev code { font-size: .8em; }
.dev__fig { margin-top: 16px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--night-mute); }
.dev__fig span { font-family: var(--serif); font-size: 34px; letter-spacing: -.01em; text-transform: none; color: var(--paper); font-weight: 300; margin-right: 8px; font-variant-numeric: lining-nums; }
.plates { margin-top: 60px; }
.plates__tabs { display: flex; gap: 0; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--night-hair); margin: 0 calc(-1 * var(--g)); padding: 0 var(--g); scroll-padding: 0 var(--g); }
.plates__tabs::-webkit-scrollbar { display: none; }
.plates__tabs button { flex: none; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; padding: 12px 18px 12px 0; margin-right: 18px; min-height: 60px; font-size: 18px; color: var(--night-mute); position: relative; text-align: left; }
.plates__tabs button::after { content: ''; position: absolute; left: 0; right: 18px; bottom: -1px; height: 2px; background: var(--oxide-light); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.plates__tabs button[aria-selected="true"] { color: var(--paper); }
.plates__tabs button[aria-selected="true"]::after { transform: scaleX(1); }
@media (max-width: 699px) {
  .plates__tabs { display: grid; grid-template-columns: 1fr 1fr; margin: 0; padding: 0; overflow: visible; border-bottom: 0; }
  .plates__tabs button { margin-right: 0; padding: 10px 12px 10px 0; min-height: 58px; font-size: 17px; border-bottom: 1px solid var(--night-hair); }
  .plates__tabs button::after { right: 12px; }
}
.plates__n { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--oxide-light); }
.plate { margin-top: 18px; background: #0B0A09; box-shadow: 0 0 0 1px var(--night-hair); }
.plate__bar { display: flex; justify-content: space-between; align-items: center; padding: 0 6px 0 16px; min-height: 48px; border-bottom: 1px solid var(--night-hair); }
.plate__file { font-family: var(--mono); font-size: 11.5px; color: var(--night-mute); letter-spacing: .04em; }
.copybtn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--paper); }
.copybtn svg { width: 16px; height: 16px; color: var(--oxide-light); }
.copybtn.is-done { color: var(--oxide-light); }
.code { margin: 0; padding: 16px 0 20px; overflow-x: auto; font-size: 12px; line-height: 1.75; color: #E9E2D5; counter-reset: ln; -webkit-overflow-scrolling: touch; }
.code .l { display: block; padding: 0 18px 0 0; white-space: pre; animation: fadeUp .45s var(--ease) both; animation-delay: calc(var(--i, 0) * 22ms); }
.code .l::before { counter-increment: ln; content: counter(ln); display: inline-block; width: 46px; padding-right: 16px; text-align: right; color: #5C534A; font-variant-numeric: tabular-nums; user-select: none; -webkit-user-select: none; }
.code .k { color: var(--oxide-light); } .code .s { color: #D8C9A8; } .code .c { color: #7E7368; font-style: italic; } .code .t { color: #F1D7B8; } .code .n { color: #E2A57E; } .code .p { color: #9C9184; }
.atelier__lower { display: grid; gap: 40px; margin-top: 60px; }
.index__list { margin-top: 10px; }
.index__list li { display: flex; align-items: baseline; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--night-hair); font-size: 16.5px; }
.index__list i { flex: 1; border-bottom: 1px dotted rgba(242, 237, 227, .26); min-width: 10px; transform: translateY(-4px); }
.index__list code { background: none; color: var(--oxide-light); font-size: 12px; white-space: nowrap; }
.devprice__dl { margin: 10px 0 14px; }
.devprice__dl div { padding: 12px 0; border-bottom: 1px solid var(--night-hair); }
.devprice__dl dt { font-size: 20px; }
.devprice__dl dd { font-size: 16px; color: rgba(242, 237, 227, .78); }
.devprice__dl strong { font-family: var(--serif); font-weight: 400; color: var(--paper); }
@media (max-width: 520px) { .index__list li { flex-wrap: wrap; } .index__list i { display: none; } .index__list code { flex-basis: 100%; white-space: normal; } }
@media (min-width: 1000px) {
  .atelier__intro { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; margin-left: calc((100% - 32px * 11) / 12 * 2 + 64px); }
  .plates { margin-left: calc((100% - 32px * 11) / 12 * 2 + 64px); margin-top: 90px; }
  .plates__tabs { margin: 0; padding: 0; }
  .code { font-size: 13.5px; }
  .atelier__lower { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 56px; margin-left: calc((100% - 32px * 11) / 12 * 2 + 64px); margin-top: 90px; }
}

/* ========================================================================
   SCHEDULE OF FEES
   ======================================================================== */
.fees__tabs { display: flex; gap: 0; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--ink); margin: 0 calc(-1 * var(--g)); padding: 0 var(--g); }
.fees__tabs::-webkit-scrollbar { display: none; }
.fees__tabs button { flex: none; position: relative; min-height: 52px; padding: 0 16px 0 0; margin-right: 14px; font-size: 21px; font-style: italic; color: var(--mute); }
.fees__tabs button::after { content: ''; position: absolute; left: 0; right: 16px; bottom: -1px; height: 2.5px; background: var(--oxide); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.fees__tabs button[aria-selected="true"] { color: var(--ink); }
.fees__tabs button[aria-selected="true"]::after { transform: scaleX(1); }
@media (max-width: 699px) {
  .fees__tabs { margin: 0; padding: 0; justify-content: space-between; overflow: visible; }
  .fees__tabs button { font-size: 18px; padding: 0; margin-right: 0; }
  .fees__tabs button::after { right: 0; }
}
.fees__panel { animation: fadeUp .5s var(--ease); }
.ftable { width: 100%; border-collapse: collapse; }
.ftable thead th { text-align: left; vertical-align: bottom; padding: 22px 12px 14px 0; border-bottom: 1px solid var(--ink); font-weight: 400; }
.ftable thead th:first-child { width: 28%; }
.ftable .plan { font-size: 22px; line-height: 1.1; display: block; }
.ftable .price { display: block; margin-top: 8px; font-size: 44px; line-height: 1; font-weight: 300; letter-spacing: -.02em; font-variant-numeric: lining-nums; color: var(--oxide); }
.ftable .per { display: block; margin-top: 6px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.ftable tbody th { text-align: left; font-family: var(--mono); font-weight: 400; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); padding: 14px 12px 14px 0; vertical-align: baseline; }
.ftable tbody td { font-size: 17px; line-height: 1.4; padding: 14px 12px 14px 0; vertical-align: baseline; }
.ftable tbody tr { border-bottom: 1px solid var(--hair); }
.ftable .dash { color: var(--mute); }
@media (max-width: 699px) {
  .ftable thead th:first-child { display: none; }
  .ftable thead tr, .ftable tbody tr { display: grid; grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr)); column-gap: 14px; }
  .ftable thead th { padding: 18px 0 12px; }
  .ftable tbody th { grid-column: 1 / -1; padding: 14px 0 2px; }
  .ftable tbody td { padding: 2px 0 14px; font-size: 16px; }
  .ftable .price { font-size: 38px; }
  .ftable .plan { font-size: 19px; }
  .ftable[data-cols="3"] .price { font-size: 30px; }
  .ftable[data-cols="3"] .plan { font-size: 16.5px; }
  .ftable[data-cols="3"] tbody td { font-size: 14.5px; }
}
.fees__foot { margin-top: 14px; }

.statement { display: grid; gap: 30px; margin-top: 70px; }
.statement__pick .h3 { margin-top: 8px; font-size: 28px; font-weight: 300; }
.picks { margin-top: 18px; border-top: 1px solid var(--hair); }
.picks li { border-bottom: 1px solid var(--hair); }
.pick { display: flex; align-items: center; gap: 14px; min-height: 64px; cursor: pointer; padding: 8px 0; }
.pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pick__box { width: 22px; height: 22px; flex: none; box-shadow: inset 0 0 0 1.3px var(--ink); position: relative; transition: background .2s; }
.pick__box::after { content: ''; position: absolute; left: 7px; top: 3px; width: 6px; height: 11px; border: solid var(--paper-hi); border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); transition: transform .25s var(--ease); }
.pick input:checked + .pick__box { background: var(--oxide); box-shadow: none; }
.pick input:checked + .pick__box::after { transform: rotate(45deg) scale(1); }
.pick input:focus-visible + .pick__box { outline: 1.5px solid var(--oxide); outline-offset: 3px; }
.pick__t { font-size: 19px; line-height: 1.25; }
.pick__t small { display: block; font-size: 15px; font-style: italic; color: var(--mute); }
.mau { padding: 14px 0 0; }
.mau__p { font-size: 17px; }
.mau__p output { font-family: var(--mono); font-size: 14px; }
.statement__paper { background: var(--paper-hi); padding: 24px 22px 22px; box-shadow: 0 0 0 1px var(--hair), 0 40px 60px -50px rgba(22, 18, 15, .6); position: relative; align-self: start; }
.statement__paper::before { content: ''; position: absolute; inset: 7px; border: 1px solid rgba(161, 58, 30, .2); pointer-events: none; }
.statement__head { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; align-items: center; padding-bottom: 12px; border-bottom: 1px solid var(--ink); }
.statement__head .seg { grid-column: 1 / -1; }
.statement__seal { width: 40px; height: 40px; color: var(--oxide); }
.statement__t { font-size: 21px; line-height: 1.1; }
.statement__d { font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); margin-top: 3px; }
.lines { margin-top: 6px; }
.lines li { display: flex; align-items: baseline; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--hair); font-size: 16.5px; animation: fadeUp .4s var(--ease) both; }
.lines li small { font-style: italic; color: var(--mute); font-size: 14px; }
.lines i, .lines__total i { flex: 1; border-bottom: 1px dotted var(--hair-2); min-width: 10px; transform: translateY(-4px); }
.lines output, .lines .v { font-family: var(--mono); font-size: 13.5px; font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; }
.lines li.zero .v { color: var(--mute); }
.lines__total { display: flex; align-items: baseline; gap: 8px; padding: 16px 0 6px; margin-top: 2px; border-top: 3px double var(--ink); font-size: 20px; }
.lines__total output { font-size: 36px; font-weight: 300; font-variant-numeric: lining-nums tabular-nums; color: var(--oxide); letter-spacing: -.02em; }
.statement .note { margin-top: 6px; }
@media (min-width: 900px) {
  .fees { margin-left: calc((100% - 32px * 11) / 12 * 2 + 64px); }
  .fees__tabs { margin: 0; padding: 0; }
  .fees__tabs button { font-size: 24px; margin-right: 22px; }
  .ftable .price { font-size: 56px; }
  .ftable .plan { font-size: 24px; }
  .statement { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; margin-top: 110px; margin-left: calc((100% - 32px * 11) / 12 * 2 + 64px); }
  .statement__paper { padding: 34px 36px 28px; }
  .statement__head { grid-template-columns: auto 1fr auto; }
  .statement__head .seg { grid-column: auto; }
}

/* ========================================================================
   COLOPHON
   ======================================================================== */
.colophon { padding: 80px 0 calc(env(safe-area-inset-bottom, 0px) + 120px); position: relative; }
.colophon::before { content: ''; position: absolute; left: var(--g); right: var(--g); top: 0; max-width: calc(var(--maxw) - 2 * var(--g)); margin: 0 auto; border-top: 1px solid var(--ink); }
.colophon__top { display: grid; gap: 44px; }
.colophon__seal { width: 64px; height: 64px; color: var(--oxide); }
.colophon__word { font-size: clamp(56px, 17vw, 200px); line-height: .9; font-weight: 300; letter-spacing: .2em; margin: 18px 0 0 -.04em; font-variant-numeric: lining-nums; }
.colophon__tag { margin-top: 12px; font-size: 21px; font-style: italic; color: var(--ink-2); }
.colophon__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.colophon__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 20px; }
.colophon__nav ul { margin-top: 8px; }
@media (max-width: 699px) { .colophon__nav > div:last-child { grid-column: 1 / -1; } .colophon__clocks { display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; } }
.colophon__nav li a { display: inline-flex; min-height: 44px; min-width: 44px; align-items: center; font-size: 17px; text-decoration: none; color: var(--ink-2); }
.colophon__nav li a:hover { color: var(--oxide); }
.colophon__clocks li { display: flex; justify-content: space-between; gap: 10px; min-height: 34px; align-items: center; font-size: 16px; color: var(--ink-2); border-bottom: 1px dotted var(--hair-2); }
.colophon__clocks time { font-family: var(--mono); font-size: 12.5px; font-variant-numeric: tabular-nums; color: var(--ink); }
.colophon .rule--double { margin: 56px 0 24px; }
.colophon__notes { display: grid; gap: 30px; }
.notes li { display: grid; grid-template-columns: 24px 1fr; gap: 8px; padding: 8px 0; font-size: 14.5px; line-height: 1.5; color: var(--mute); border-bottom: 1px solid var(--hair); transition: background .6s ease; }
.notes li.is-hot { background: rgba(161, 58, 30, .08); }
.notes__n { font-family: var(--mono); font-size: 11px; color: var(--oxide); padding-top: 2px; }
.colophon__set p:not(.label) { margin-top: 10px; font-size: 15.5px; line-height: 1.55; color: var(--ink-2); font-style: italic; }
@media (min-width: 700px) { .colophon__nav { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) {
  .colophon { padding-top: 130px; }
  .colophon__top { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 56px; align-items: end; }
  .colophon__word { font-size: clamp(96px, 8.2vw, 168px); }
  .colophon__notes { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; }
}

/* ========================================================================
   SHEETS, POPOVER, TOAST
   ======================================================================== */
.sheet { position: fixed; inset: 0; z-index: 1500; display: flex; align-items: flex-end; justify-content: center; }
.sheet__scrim { position: absolute; inset: 0; background: rgba(22, 18, 15, .46); opacity: 0; transition: opacity .35s ease; }
.sheet__paper {
  position: relative; width: 100%; max-height: 94dvh; overflow-y: auto; overscroll-behavior: contain;
  background: var(--grain) repeat, var(--paper-hi); border-radius: 18px 18px 0 0;
  padding: 10px 22px calc(env(safe-area-inset-bottom, 0px) + 26px);
  transform: translateY(100%); transition: transform .55s var(--ease);
  box-shadow: 0 -20px 60px -20px rgba(22, 18, 15, .4);
}
.sheet.is-open .sheet__scrim { opacity: 1; }
.sheet.is-open .sheet__paper { transform: none; }
.sheet__top { display: flex; align-items: center; justify-content: space-between; min-height: 52px; border-bottom: 1px solid var(--hair); margin: 0 -4px 0 0; }
.sheet__top::before { content: ''; position: absolute; left: 50%; top: 7px; width: 40px; height: 4px; border-radius: 2px; background: var(--hair-2); margin-left: -20px; }
@media (min-width: 760px) {
  .sheet { align-items: center; padding: 24px; }
  .sheet__paper { max-width: 660px; border-radius: 2px; padding: 14px 44px 36px; transform: translateY(24px) scale(.98); opacity: 0; transition: transform .5s var(--ease), opacity .35s ease; max-height: calc(100vh - 48px); }
  .sheet.is-open .sheet__paper { opacity: 1; }
  .sheet__top::before { display: none; }
  .sheet--small .sheet__paper { max-width: 460px; }
}
.apply { padding-top: 18px; }
.apply__t { font-size: 34px; line-height: 1.05; font-weight: 300; letter-spacing: -.015em; }
.apply__salut { margin-top: 22px; font-size: 20px; font-style: italic; }
.apply__p { margin-top: 14px; font-size: 21px; line-height: 2.05; }
.blank { display: inline-block; position: relative; vertical-align: baseline; }
.blank input, .blank select { border: 0; border-bottom: 1px solid var(--ink); background: transparent; border-radius: 0; padding: 0 2px; font-size: 21px; line-height: 1.3; width: 9.5em; max-width: 100%; color: var(--oxide-deep); font-style: italic; outline: none; appearance: none; -webkit-appearance: none; }
.blank input::placeholder { color: rgba(110, 100, 88, .65); font-style: italic; }
.blank input:focus, .blank select:focus { border-bottom: 1.5px solid var(--oxide); }
.blank--wide input { width: 11.5em; }
.blank--sel select { width: auto; max-width: 11em; padding-right: 4px; cursor: pointer; }
.blank.is-err input { border-bottom-color: var(--oxide); background: rgba(161, 58, 30, .06); }
.choice button { font-style: italic; color: var(--mute); min-height: 44px; padding: 0 2px; position: relative; }
.choice button[aria-checked="true"], .choice button[aria-pressed="true"] { color: var(--oxide-deep); }
.choice button[aria-checked="true"]::after, .choice button[aria-pressed="true"]::after { content: ''; position: absolute; left: 0; right: 0; bottom: 9px; height: 1px; background: var(--oxide); }
.apply__sign { margin-top: 18px; font-size: 19px; font-style: italic; display: flex; flex-direction: column; gap: 4px; }
.apply__sig { font-size: 30px; font-weight: 300; color: var(--ink); min-height: 1.2em; border-bottom: 1px solid var(--hair); }
.apply__err { min-height: 1.4em; margin: 12px 0 6px; font-size: 16px; font-style: italic; color: var(--oxide); }
.apply .note { margin-top: 12px; }
.applied { padding-top: 22px; text-align: center; }
.applied__seal { width: 150px; height: 150px; margin: 4px auto 8px; }
.applied__p { margin-top: 8px; font-size: 19px; color: var(--ink-2); }
.applied__steps { margin: 20px auto 0; max-width: 420px; text-align: left; font-family: var(--mono); font-size: 12.5px; }
.applied__steps li { display: grid; grid-template-columns: 22px 1fr auto; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--hair); align-items: baseline; color: var(--mute); transition: color .3s; }
.applied__steps li.is-done { color: var(--ink); }
.applied__steps svg { width: 16px; height: 16px; color: var(--oxide); transform: translateY(3px); opacity: 0; transition: opacity .3s; }
.applied__steps li.is-done svg { opacity: 1; }
.applied__time { margin: 18px 0 18px; font-size: 20px; font-style: italic; color: var(--oxide-deep); min-height: 1.4em; }
.signin { padding-top: 18px; text-align: center; }
.signin__p { margin: 10px auto 0; max-width: 24em; font-size: 18px; color: var(--ink-2); }
.fid--big { width: 110px; height: 110px; margin: 26px auto 26px; color: var(--ink); }
.signin .note { margin-top: 12px; }

.pop { position: fixed; z-index: 1450; left: 12px; right: 12px; bottom: calc(env(safe-area-inset-bottom, 0px) + 84px); max-width: 420px; margin: 0 auto; background: var(--paper-hi); padding: 16px 52px 18px 18px; box-shadow: 0 0 0 1px var(--hair-2), 0 26px 50px -20px rgba(22, 18, 15, .45); animation: fadeUp .35s var(--ease); }
.pop__n .label { color: var(--oxide); }
.pop__t { margin-top: 6px; font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.pop__x { position: absolute; top: 6px; right: 6px; }
@media (min-width: 1000px) { .pop { left: auto; right: auto; bottom: auto; max-width: 360px; margin: 0; } }

.toast { position: fixed; z-index: 1600; top: calc(var(--mast-h) + env(safe-area-inset-top, 0px) + 12px); left: 50%; transform: translateX(-50%); background: var(--ink); color: var(--paper-hi); padding: 11px 16px; font-size: 15.5px; font-style: italic; box-shadow: 0 16px 30px -12px rgba(22, 18, 15, .5); animation: fadeUp .3s var(--ease); max-width: calc(100vw - 24px); }

/* ========================================================================
   REVEALS & MOTION PREFERENCES
   ======================================================================== */
.js .rv { opacity: 0; transform: translateY(16px); transition: opacity .9s var(--ease), transform 1.1s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .rv { opacity: 1; transform: none; transition: none; }
  .medal__spin, .medal__ring { animation: none !important; }
  .front__copy.is-in .hl .w, .front__copy.is-in .deck, .front__copy.is-in .kicker { animation: none; }
  .seal-stamp { animation-duration: .01s; }
  *, *::before, *::after { scroll-behavior: auto !important; }
}
@media (hover: none) { .btn--ink:hover { background: var(--ink); } .btn--oxide:hover { background: var(--oxide); } }
@media print { .mast, .sheet, .banner, .hud, .pop { display: none !important; } }
