/* =========================================================================
   Corporate Car Desk NYC — CONCEPT: corporate ACCOUNT STATEMENT / LEDGER
   The whole site reads like a printed corporate account statement:
   cream statement paper, navy + steel ink, oxblood margin rule, ruled
   line-item tables, monospace figures, account-no + statement-period motifs.
   Type: IBM Plex Sans (text) + IBM Plex Mono (figures/labels).
   ========================================================================= */

:root {
  --paper: #fbf8f0;
  --paper-2: #f3eede;      /* zebra / ruled band */
  --paper-3: #efe8d6;
  --desk: #ddd6c4;         /* taupe behind the sheet */
  --desk-2: #d3cbb6;
  --navy: #15243f;
  --navy-soft: #21406b;
  --steel: #5a6a85;
  --steel-bright: #2f5f9e;
  --ink: #1b2230;
  --ink-2: #39414f;
  --muted: #6c6a5d;
  --rule: #d2cab5;
  --rule-2: #c2b89c;
  --rule-strong: #a99c79;
  --oxblood: #9c3326;      /* the ledger red — margin rule + amount-due accent */
  --oxblood-soft: #b5503f;
  --good: #2c6e49;
  --warn: #97681a;
  --busy: #9e3b32;

  --shadow-sheet: 0 1px 0 rgba(0,0,0,.04), 0 22px 60px rgba(33,28,12,.18);
  --shadow-s: 0 1px 2px rgba(33,28,12,.07);
  --shadow-m: 0 8px 26px rgba(33,28,12,.12);

  --wrap: 1080px;
  --sans: "IBM Plex Sans", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  font-size: 16.5px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  background-color: var(--desk);
  background-image:
    repeating-linear-gradient(0deg, transparent 0 13px, rgba(120,110,80,.045) 13px 14px),
    radial-gradient(900px 500px at 50% -10%, rgba(255,255,255,.5), transparent 70%);
}
img, svg { max-width: 100%; }
a { color: var(--steel-bright); text-decoration: none; }
a:hover { text-decoration: underline; }
h1,h2,h3,h4 { color: var(--navy); font-weight: 600; line-height: 1.14; letter-spacing: -.01em; margin: 0; }
p { margin: 0 0 1em; }
.mono { font-family: var(--mono); }
.fig { font-family: var(--mono); font-variant-numeric: tabular-nums; }

.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0; }
.skip { position:absolute; left:-999px; top:0; background:var(--navy); color:#fff; padding:10px 16px; z-index:200; }
.skip:focus { left:0; }

/* ---- Sticky statement bar (the persistent account summary) ----------- */
.stmt-bar {
  position: sticky; top: 0; z-index: 90;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 8px clamp(14px, 4vw, 40px);
  background: rgba(251,248,240,.94);
  backdrop-filter: blur(8px);
  border-bottom: 2px solid var(--navy);
  font-family: var(--mono);
  font-size: .76rem;
}
.stmt-bar-l { display: flex; align-items: center; gap: 12px; min-width: 0; }
.stmt-bar-mark { width: 26px; height: 26px; flex: none; }
.stmt-bar-name { font-weight: 600; color: var(--navy); letter-spacing: .02em; white-space: nowrap; }
.stmt-bar-name b { color: var(--oxblood); }
.stmt-bar-tag { color: var(--muted); padding-left: 12px; border-left: 1px solid var(--rule-2); white-space: nowrap; }
.stmt-bar-r { display: flex; align-items: center; gap: 14px; }
.stmt-bar-acct { color: var(--muted); white-space: nowrap; }
.stmt-call { display: inline-flex; align-items: center; gap: 7px; background: var(--navy); color: #fff; padding: 6px 14px; border-radius: 2px; font-weight: 600; letter-spacing: .02em; transition: background .2s var(--ease); }
.stmt-call:hover { background: var(--oxblood); text-decoration: none; }
.menu-toggle { display: none; width: 38px; height: 32px; flex-direction: column; gap: 4px; align-items: center; justify-content: center; background: var(--paper); border: 1px solid var(--navy); border-radius: 2px; cursor: pointer; }
.menu-toggle span { width: 16px; height: 2px; background: var(--navy); transition: .25s var(--ease); }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---- The statement sheet -------------------------------------------- */
.sheet {
  max-width: var(--wrap);
  margin: clamp(14px, 3vw, 36px) auto;
  background: var(--paper);
  border: 1px solid var(--rule-2);
  box-shadow: var(--shadow-sheet);
  position: relative;
  padding: clamp(22px, 4vw, 54px) clamp(20px, 4vw, 56px) 0;
}
/* oxblood ledger margin rule */
.sheet::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: clamp(12px, 2.4vw, 30px);
  width: 1.5px; background: var(--oxblood); opacity: .5;
}

/* ---- Letterhead ----------------------------------------------------- */
.letterhead { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: start; padding-bottom: 14px; border-bottom: 3px double var(--navy); }
.lh-brand { display: flex; align-items: center; gap: 14px; }
.lh-mark { width: 52px; height: 52px; flex: none; }
.lh-name { font-size: clamp(1.35rem, 3.2vw, 1.9rem); font-weight: 700; letter-spacing: -.025em; line-height: 1; color: var(--navy); }
.lh-name em { font-style: normal; color: var(--oxblood); }
.lh-tag { font-family: var(--mono); font-size: .72rem; color: var(--muted); margin-top: 5px; letter-spacing: .02em; }
.lh-meta { font-family: var(--mono); font-size: .72rem; color: var(--ink-2); text-align: right; }
.lh-meta table { border-collapse: collapse; margin-left: auto; }
.lh-meta td { padding: 1px 0 1px 14px; white-space: nowrap; }
.lh-meta td:first-child { color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.lh-meta td:last-child { color: var(--navy); font-weight: 600; text-align: right; }
.lh-label { display: inline-block; font-family: var(--mono); font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; color: #fff; background: var(--navy); padding: 3px 9px; border-radius: 1px; margin-bottom: 6px; }

/* ---- Statement contents (the nav) ----------------------------------- */
.contents { margin: 18px 0 6px; }
.contents-head { font-family: var(--mono); font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.contents ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 32px; }
.contents li { border-bottom: 1px dotted var(--rule-2); }
.contents a { display: grid; grid-template-columns: 26px 1fr auto; align-items: baseline; gap: 8px; padding: 7px 2px; color: var(--ink); font-size: .92rem; }
.contents a:hover { text-decoration: none; background: var(--paper-2); }
.contents a[aria-current="page"] { color: var(--oxblood); font-weight: 600; }
.contents .ix { font-family: var(--mono); font-size: .74rem; color: var(--steel); }
.contents .lab { font-weight: 500; }
.contents .pg { font-family: var(--mono); font-size: .72rem; color: var(--muted); }
.contents a:hover .lab { color: var(--oxblood); }
.contents a.flag .lab::after { content: " ●"; color: var(--oxblood); font-size: .7em; vertical-align: middle; }

/* ---- Body / main ---------------------------------------------------- */
.main { padding: 8px 0 30px; }
.crumbs { font-family: var(--mono); font-size: .72rem; color: var(--muted); margin: 8px 0 14px; }
.crumbs a { color: var(--steel); }

/* statement opening block (maps .hero) */
.hero { padding: 22px 0 6px; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--oxblood); border: 1px solid var(--rule-2); background: var(--paper-2); padding: 5px 11px; border-radius: 1px; }
.hero-eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--good); animation: pulsedot 2.4s infinite; }
@keyframes pulsedot { 0% { box-shadow: 0 0 0 0 rgba(44,110,73,.5); } 70% { box-shadow: 0 0 0 8px rgba(44,110,73,0); } 100% { box-shadow: 0 0 0 0 rgba(44,110,73,0); } }
.hero-title { font-size: clamp(2rem, 5vw, 3.3rem); margin: 16px 0 14px; letter-spacing: -.03em; line-height: 1.03; }
.hero-title .grad { color: var(--oxblood); position: relative; white-space: nowrap; }
.hero-title .grad::after { content:""; position:absolute; left:0; right:0; bottom:.06em; height:3px; background: var(--oxblood); opacity:.35; }
.hero-lede { font-size: 1.14rem; color: var(--ink-2); max-width: 58ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

/* ---- Buttons -------------------------------------------------------- */
.solid-btn, .ghost-btn, .accent-btn { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .93rem; padding: 11px 20px; border-radius: 2px; border: 1px solid transparent; transition: .2s var(--ease); cursor: pointer; font-family: var(--sans); }
.solid-btn { background: var(--navy); color: #fff; }
.solid-btn:hover { background: var(--oxblood); text-decoration: none; transform: translateY(-1px); box-shadow: var(--shadow-m); }
.ghost-btn { background: var(--paper); color: var(--navy); border-color: var(--rule-2); }
.ghost-btn:hover { border-color: var(--navy); text-decoration: none; transform: translateY(-1px); }
.accent-btn { background: var(--oxblood); color: #fff; }
.accent-btn:hover { background: var(--navy); text-decoration: none; }

/* ---- Reveal --------------------------------------------------------- */
[data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal-stagger] > * { opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
[data-reveal-stagger].in > * { opacity: 1; transform: none; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes drawline { to { stroke-dashoffset: 0; } }
@keyframes stampin { 0% { opacity: 0; transform: rotate(-18deg) scale(1.6); } 60% { opacity: .95; } 100% { opacity: .88; transform: rotate(-12deg) scale(1); } }

/* ---- Sections (maps .section) --------------------------------------- */
.section { margin-top: clamp(34px, 5vw, 58px); }
.section-eyebrow { font-family: var(--mono); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--steel); margin: 0 0 8px; }
.section-title { font-size: clamp(1.4rem, 3vw, 2rem); margin: 0 0 10px; padding-bottom: 8px; border-bottom: 1.5px solid var(--navy); display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.section-title .meta { font-family: var(--mono); font-size: .7rem; color: var(--muted); font-weight: 400; letter-spacing: .04em; }
.section-lede { color: var(--ink-2); max-width: 62ch; }
.lead { font-size: 1.12rem; color: var(--ink-2); max-width: 62ch; }

/* ---- Statement summary figures (maps .stats/.stat) ------------------ */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px,1fr)); gap: 0; margin-top: 22px; border: 1px solid var(--rule-2); }
.stat { padding: 16px 18px; border-right: 1px solid var(--rule); background: var(--paper); }
.stat:last-child { border-right: 0; }
.stat-num { font-family: var(--mono); font-variant-numeric: tabular-nums; font-size: 1.85rem; font-weight: 600; color: var(--navy); letter-spacing: -.02em; }
.stat-num .suf { color: var(--oxblood); }
.stat-label { font-size: .78rem; color: var(--muted); margin-top: 2px; }

/* ---- Ledger line-item rows (maps .cards/.card) ---------------------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: 0; margin-top: 20px; border: 1px solid var(--rule-2); background: var(--paper); }
.card { padding: 20px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); position: relative; transition: background .2s var(--ease); background: var(--paper); }
.card:hover { background: var(--paper-2); }
.card-ix { font-family: var(--mono); font-size: .72rem; color: var(--oxblood); font-weight: 600; letter-spacing: .04em; }
.card h3 { font-size: 1.1rem; margin: 7px 0 7px; }
.card p { color: var(--ink-2); font-size: .9rem; margin: 0; }
.card .more { display: inline-block; margin-top: 11px; font-family: var(--mono); font-weight: 600; font-size: .8rem; color: var(--steel-bright); }
.card-accent { display: none; }

/* ---- Statement wire (maps .ticker) --------------------------------- */
.ticker { overflow: hidden; border-top: 1px solid var(--navy); border-bottom: 1px solid var(--navy); background: var(--paper-2); margin-top: 26px; }
.ticker-track { display: inline-flex; gap: 34px; white-space: nowrap; padding: 9px 0; animation: tick 34s linear infinite; will-change: transform; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item { font-family: var(--mono); font-size: .76rem; color: var(--muted); }
.ticker-item b { color: var(--navy); font-weight: 600; }
.ticker-item::before { content: "▸ "; color: var(--oxblood); }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---- Ledger entry block (hero board / generic framed) --------------- */
.hero-board, .panel { background: var(--paper); border: 1px solid var(--rule-2); border-radius: 2px; padding: 20px 22px; position: relative; }
.hero-board { margin-top: 30px; }
.board-head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 8px; margin-bottom: 12px; border-bottom: 1px solid var(--rule); }
.board-head h3 { font-size: .95rem; font-family: var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--steel); }
.board-head span { font-family: var(--mono); font-size: .74rem; color: var(--muted); }
.draw-route path { } /* animated via JS */

/* ---- Definition list as ledger rows (maps .deflist) ----------------- */
.deflist { margin-top: 18px; border-top: 1px solid var(--rule-2); }
.deflist .row { display: grid; grid-template-columns: 200px 1fr; gap: 16px; padding: 12px 2px; border-bottom: 1px dotted var(--rule-2); }
.deflist dt { font-weight: 600; color: var(--navy); font-size: .92rem; }
.deflist dd { margin: 0; color: var(--ink-2); font-size: .94rem; }

/* ---- FAQ as ruled rows (maps .faqs) -------------------------------- */
.faqs { margin-top: 18px; border: 1px solid var(--rule-2); background: var(--paper); }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-item:last-child { border-bottom: 0; }
.faq-item summary { cursor: pointer; padding: 14px 18px; font-weight: 600; color: var(--navy); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: .98rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: var(--mono); color: var(--oxblood); font-size: 1.2rem; }
.faq-item[open] summary::after { content: "−"; }
.faq-item .a { padding: 0 18px 15px; color: var(--ink-2); font-size: .94rem; }

/* ---- Remittance tear-off slip (the CTA) ---------------------------- */
.remit { margin-top: 34px; position: relative; border: 1.5px solid var(--navy); background:
  repeating-linear-gradient(0deg, var(--paper) 0 22px, var(--paper-2) 22px 23px); }
.remit-perf { font-family: var(--mono); font-size: .64rem; letter-spacing: .3em; color: var(--muted); text-transform: uppercase; text-align: center; padding: 5px; border-bottom: 1.5px dashed var(--navy); background: var(--paper); }
.remit-perf .sci { color: var(--oxblood); letter-spacing: 0; }
.remit-body { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; padding: 20px 24px; }
.remit-meta { font-family: var(--mono); font-size: .8rem; }
.remit-meta .r { display: grid; grid-template-columns: 130px 1fr; padding: 3px 0; border-bottom: 1px dotted var(--rule-2); }
.remit-meta .r:last-child { border-bottom: 0; }
.remit-meta .k { color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-size: .72rem; }
.remit-meta .v { color: var(--navy); font-weight: 600; }
.remit-due { text-align: right; min-width: 230px; }
.remit-due .lab { font-family: var(--mono); font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: var(--oxblood); }
.remit-due .amt { font-size: 1.15rem; color: var(--navy); font-weight: 600; margin: 2px 0 12px; }
.remit-due .num { font-family: var(--mono); }
.remit-stamp { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%) rotate(-12deg); font-family: var(--mono); font-weight: 700; font-size: 1.3rem; letter-spacing: .12em; color: var(--oxblood); border: 3px solid var(--oxblood); border-radius: 6px; padding: 4px 14px; opacity: .14; pointer-events: none; text-transform: uppercase; animation: stampin .8s var(--ease) both; }

/* ---- Journal index as ledger line items (maps .brief-list/.brief) --- */
.brief-list { margin-top: 22px; border: 1px solid var(--rule-2); background: var(--paper); }
.brief { display: grid; grid-template-columns: 108px 1fr; gap: 16px; padding: 15px 18px; border-bottom: 1px solid var(--rule); transition: background .2s var(--ease); }
.brief:last-child { border-bottom: 0; }
.brief:hover { background: var(--paper-2); text-decoration: none; }
.brief-date { font-family: var(--mono); font-size: .72rem; color: var(--muted); }
.brief-kind { font-family: var(--mono); font-size: .62rem; text-transform: uppercase; letter-spacing: .1em; color: var(--steel-bright); margin-top: 4px; }
.brief-kind.rank { color: var(--oxblood); }
.brief h3 { font-size: 1.08rem; margin: 0 0 3px; }
.brief p { color: var(--ink-2); font-size: .88rem; margin: 0; }

/* ---- Piece / article (ledger document) ----------------------------- */
.piece { max-width: 48rem; }
.piece-head { padding-bottom: 14px; border-bottom: 3px double var(--navy); }
.piece-kicker { font-family: var(--mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .14em; color: var(--steel); }
.piece-kicker--rank { color: var(--oxblood); }
.piece-title { font-size: clamp(1.7rem, 4vw, 2.5rem); margin: 9px 0 11px; letter-spacing: -.02em; }
.piece-dek { font-size: 1.12rem; color: var(--ink-2); }
.piece-meta { font-family: var(--mono); font-size: .72rem; color: var(--muted); margin-top: 9px; }
.piece-body { margin-top: 22px; font-size: 1.04rem; color: var(--ink-2); }
.piece-body h2 { font-size: 1.4rem; margin: 1.7em 0 .5em; padding-bottom: 6px; border-bottom: 1px solid var(--rule); color: var(--navy); }
.piece-body h3 { font-size: 1.14rem; margin: 1.3em 0 .4em; color: var(--navy); }
.piece-body ul, .piece-body ol { padding-left: 1.2em; }
.piece-body li { margin: .34em 0; }
.piece-body blockquote { margin: 1.3em 0; padding: 8px 18px; border-left: 3px solid var(--oxblood); background: var(--paper-2); color: var(--ink-2); }
.piece-body a { color: var(--steel-bright); text-decoration: underline; text-underline-offset: 2px; }

/* ranking rows as ledger vendor line-items */
.rank-row { border: 1px solid var(--rule-2); border-left: 4px solid var(--steel-bright); background: var(--paper); padding: 16px 18px; margin: 14px 0; }
.rank-row.top { border-left-color: var(--oxblood); background: var(--paper-2); }
.rank-row h3 { margin: 0 0 6px; display: flex; align-items: baseline; gap: 10px; }
.rank-tag { font-family: var(--mono); font-size: .68rem; color: var(--oxblood); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }

.piece-standards { margin-top: 30px; padding: 14px 16px; background: var(--paper-2); border: 1px solid var(--rule-2); }
.piece-standards-eyebrow { font-family: var(--mono); font-size: .64rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin: 0 0 4px; }
.piece-standards-line { font-size: .85rem; color: var(--ink-2); margin: 0; }
.piece-foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 30px; padding-top: 16px; border-top: 1px solid var(--rule); }

/* ---- Roadshow planner — ITINERARY STATEMENT ------------------------ */
.planner { margin-top: 22px; display: grid; gap: 18px; }
.panel h2 { font-size: 1.05rem; margin: 0 0 3px; }
.panel .hint { font-size: .82rem; color: var(--muted); margin: 0 0 14px; }
.field { margin-bottom: 13px; }
.field label { display: block; font-family: var(--mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); margin-bottom: 5px; }
.field input, .field select { width: 100%; padding: 9px 11px; border: 1px solid var(--rule-2); border-radius: 2px; font: inherit; font-size: .93rem; background: var(--paper); color: var(--ink); }
.field input:focus, .field select:focus { outline: none; border-color: var(--steel-bright); box-shadow: 0 0 0 3px rgba(47,95,158,.14); }
.stop-row { display: grid; grid-template-columns: 22px 1fr 86px 32px; gap: 8px; align-items: center; margin-bottom: 7px; animation: rise .35s var(--ease) both; }
.stop-ix { font-family: var(--mono); font-size: .78rem; color: var(--oxblood); font-weight: 600; text-align: center; }
.stop-row select, .stop-row input { padding: 8px 9px; }
.stop-del { width: 32px; height: 36px; border: 1px solid var(--rule-2); background: var(--paper-2); border-radius: 2px; cursor: pointer; color: var(--muted); font-size: 1.05rem; line-height: 1; }
.stop-del:hover { border-color: var(--busy); color: var(--busy); }
.row-controls { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 6px; }
.mini-btn { font-family: var(--mono); font-size: .8rem; font-weight: 600; padding: 7px 13px; border-radius: 2px; border: 1px solid var(--rule-2); background: var(--paper-2); color: var(--navy); cursor: pointer; }
.mini-btn:hover { border-color: var(--oxblood); color: var(--oxblood); }

/* itinerary statement output */
.itin-empty { color: var(--muted); font-size: .9rem; padding: 16px; border: 1px dashed var(--rule-2); text-align: center; font-family: var(--mono); }
.itin-summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px,1fr)); gap: 0; border: 1px solid var(--navy); margin-bottom: 16px; }
.itin-stat { padding: 10px 12px; border-right: 1px solid var(--rule); background: var(--paper-2); }
.itin-stat:last-child { border-right: 0; }
.itin-stat .k { font-family: var(--mono); font-size: .6rem; text-transform: uppercase; letter-spacing: .08em; color: var(--steel); }
.itin-stat .v { font-family: var(--mono); font-variant-numeric: tabular-nums; font-size: 1.2rem; font-weight: 600; color: var(--navy); }
.stmt-table { width: 100%; border-collapse: collapse; font-size: .86rem; border: 1px solid var(--rule-2); }
.stmt-table thead th { font-family: var(--mono); font-size: .62rem; text-transform: uppercase; letter-spacing: .07em; color: #fff; background: var(--navy); padding: 7px 10px; text-align: left; }
.stmt-table thead th.num { text-align: right; }
.stmt-table td { padding: 8px 10px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.stmt-table .row-stop td { background: var(--paper); animation: rise .4s var(--ease) both; }
.stmt-table .row-leg td { background: var(--paper-2); color: var(--muted); font-size: .8rem; }
.stmt-table .c-ix { font-family: var(--mono); color: var(--oxblood); font-weight: 600; width: 32px; }
.stmt-table .c-time { font-family: var(--mono); font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--navy); font-weight: 600; }
.stmt-table .c-where { color: var(--ink); }
.stmt-table .c-where b { color: var(--navy); }
.stmt-table .c-dur { font-family: var(--mono); font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.stmt-table .c-dur b { color: var(--navy); }
.stmt-table .row-total td { background: var(--navy); color: #fff; font-family: var(--mono); font-weight: 600; }
.stmt-table .row-total .c-dur { color: #fff; }
.lvl-pill { font-family: var(--mono); font-size: .58rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; padding: 1px 7px; border-radius: 1px; }
.lvl-pill.light { background: #d9ecdf; color: var(--good); }
.lvl-pill.mod { background: #f3e6c8; color: var(--warn); }
.lvl-pill.heavy { background: #f3dcd9; color: var(--busy); }
.lvl-pill.start { background: var(--paper-3); color: var(--steel); }
.itin-note { font-size: .76rem; color: var(--muted); margin-top: 12px; line-height: 1.5; }
.itin-note b { color: var(--navy); }
.agenda-box { margin-top: 12px; }
.agenda-box textarea { width: 100%; min-height: 130px; font-family: var(--mono); font-size: .74rem; padding: 11px; border: 1px solid var(--rule-2); background: var(--paper-2); color: var(--ink); resize: vertical; }

/* ---- Embed box ----------------------------------------------------- */
.embed-box { margin-top: 22px; background: var(--navy); color: #d7e0ee; padding: 22px; border-radius: 2px; }
.embed-box h2 { color: #fff; font-size: 1.08rem; margin: 0 0 6px; }
.embed-box p { color: #aebbcd; font-size: .88rem; }
.embed-box textarea { width: 100%; min-height: 92px; font-family: var(--mono); font-size: .74rem; padding: 11px; border: 1px solid #33507c; background: #0e1d34; color: #cfe0f5; resize: vertical; border-radius: 2px; }
.embed-box .copy-btn { margin-top: 11px; background: var(--oxblood); color: #fff; border: none; padding: 9px 17px; border-radius: 2px; font-weight: 600; cursor: pointer; font-family: var(--sans); }
.embed-box .copy-btn:hover { background: #b5503f; }
.embed-box .copy-btn.done { background: var(--good); }

/* embed page chromeless */
body.embed { background: transparent; }
body.embed .embed-wrap { padding: 12px; max-width: 720px; margin: 0 auto; }
.embed-credit { font-family: var(--mono); font-size: .7rem; color: var(--muted); text-align: right; margin-top: 8px; }

/* ---- Page footer inside sheet -------------------------------------- */
.sheet-foot { margin-top: 30px; padding: 12px 0; border-top: 1.5px solid var(--navy); font-family: var(--mono); font-size: .7rem; color: var(--muted); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* ---- Real footer (on the desk) ------------------------------------- */
.footer { max-width: var(--wrap); margin: 0 auto 30px; padding: 0 clamp(14px,4vw,40px); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 30px; padding: 26px 0 18px; }
.footer-name { font-weight: 700; font-size: 1.05rem; color: var(--navy); margin: 0 0 8px; }
.footer-name em { font-style: normal; color: var(--oxblood); }
.footer-blurb { color: var(--ink-2); font-size: .86rem; max-width: 52ch; }
.footer-phone { font-family: var(--mono); font-weight: 600; color: var(--navy); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 7px 20px; align-content: start; }
.footer-nav a { color: var(--ink); font-size: .86rem; }
.footer-base { padding: 12px 0; border-top: 1px solid var(--rule-2); font-family: var(--mono); font-size: .72rem; color: var(--muted); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px; }

/* ---- Responsive ---------------------------------------------------- */
@media (max-width: 900px) {
  .contents ul { grid-template-columns: 1fr; }
  .letterhead { grid-template-columns: 1fr; }
  .lh-meta { text-align: left; } .lh-meta table { margin-left: 0; } .lh-meta td:last-child { text-align: left; }
  .footer-grid { grid-template-columns: 1fr; }
  .stmt-bar-tag { display: none; }
}
@media (max-width: 620px) {
  .stat { border-right: 0; border-bottom: 1px solid var(--rule); }
  .card { border-right: 0; }
  .deflist .row { grid-template-columns: 1fr; gap: 2px; }
  .brief { grid-template-columns: 1fr; }
  .remit-body { grid-template-columns: 1fr; }
  .remit-due { text-align: left; }
  .stmt-table { font-size: .78rem; }
  .stmt-bar-acct { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  [data-reveal], [data-reveal-stagger] > * { opacity: 1 !important; transform: none !important; }
}
