/* =====================================================================
   ARS Innovations — "Postal Press" skeuomorphic design system
   One material vocabulary: letterpress paper & card stock, ink-dyed leather,
   brass hardware, index cards, airmail envelopes and mechanical counters.
   Light source: top-left.
   ===================================================================== */
:root {
  color-scheme: light;
  --paper: #efe7d6; --paper-2: #f6f0e2; --card: #fbf7ee; --card-2: #fffdf7;
  --ink: #1d2436; --ink-2: #394056; --muted: #6d665a; --line: #d8ccb1; --line-2: #e6dcc6;
  --leather: #1b2338; --leather-2: #252f4a; --leather-lo: #121829;
  --brass: #c39a45; --brass-hi: #efd594; --brass-lo: #8a6322;
  --wax: #a3342a; --wax-lo: #6f1f18; --airmail: #2e5b9a; --sage: #5d7a57; --rust: #b5652b;
  --focus: #2e5b9a;
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'IBM Plex Sans', ui-sans-serif, system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, Consolas, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --container: 1240px; --gutter: clamp(16px, 4vw, 32px); --header-h: 128px;
  /* card stock: sits on the desk, lit from top-left */
  --card-shadow: inset 0 1px 0 #fff, 0 1px 0 rgb(255 255 255 / 70%), 0 2px 0 var(--line), 0 16px 28px -18px rgb(70 48 16 / 55%), 0 3px 6px -3px rgb(70 48 16 / 25%);
  --card-shadow-hover: inset 0 1px 0 #fff, 0 2px 0 var(--line), 0 26px 38px -20px rgb(70 48 16 / 60%), 0 4px 8px -4px rgb(70 48 16 / 28%);
  --paper-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .42 0 0 0 0 .33 0 0 0 0 .2 0 0 0 .14 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --leather-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='l'%3E%3CfeTurbulence type='turbulence' baseFrequency='.55' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23l)'/%3E%3C/svg%3E");
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 110px; overflow-x: clip; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; font-family: var(--font-body); font-size: 1.04rem; line-height: 1.64; color: var(--ink);
  background: var(--paper-grain), repeating-linear-gradient(90deg, rgb(120 90 40 / 2.5%) 0 1px, transparent 1px 4px), radial-gradient(120% 80% at 50% 0%, var(--paper-2), var(--paper));
  -webkit-font-smoothing: antialiased;
}
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.08; letter-spacing: -0.015em; margin: 0; font-weight: 600; text-wrap: balance; color: var(--ink); font-variation-settings: 'SOFT' 50, 'WONK' 0; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2.5px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.icon { width: 1.2em; height: 1.2em; flex: none; stroke-width: 1.8; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 1000; padding: 12px 18px; border-radius: 10px; background: var(--leather); color: var(--brass-hi); font-weight: 700; transition: top .2s; }
.skip-link:focus { top: 16px; }
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.container--narrow { width: min(100% - 2 * var(--gutter), 860px); margin-inline: auto; }

/* ---------- Card stock (replaces .clay/.glass surfaces) ---------- */
.clay, .glass, .panel.clay {
  position: relative; border-radius: 14px;
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--line);
  box-shadow: var(--card-shadow);
}
/* Brass-and-ink "bubble" = embossed brass disc with an engraved icon */
.clay-bubble {
  display: grid; place-items: center; flex: none; width: 54px; height: 54px; border-radius: 50%;
  color: var(--acc-ink, var(--ink));
  background: radial-gradient(circle at 32% 28%, #fff 0%, var(--acc-hi, #f3e6c6) 28%, var(--acc-soft, #dcc48d) 70%, var(--acc-lo, #a98640) 100%);
  box-shadow: inset 0 1px 1px rgb(255 255 255 / 90%), inset 0 -3px 5px rgb(60 40 10 / 35%), 0 0 0 3px var(--card), 0 0 0 4px var(--line), 0 6px 10px -4px rgb(60 40 10 / 45%);
}
.clay-bubble .icon { width: 24px; height: 24px; filter: drop-shadow(0 1px 0 rgb(255 255 255 / 60%)); }
.acc-amber  { --acc-hi: #f6e4b4; --acc-soft: #e2c47d; --acc-lo: #a67f2f; --acc-ink: #4d360c; --acc: #b0842c; }
.acc-lime   { --acc-hi: #e3ecd6; --acc-soft: #b8c9a5; --acc-lo: #6e8a63; --acc-ink: #2d4128; --acc: #5d7a57; }
.acc-coral  { --acc-hi: #f6d8d1; --acc-soft: #dca094; --acc-lo: #9b3f33; --acc-ink: #5a1a13; --acc: #a3342a; }
.acc-blue   { --acc-hi: #dfe7f3; --acc-soft: #a8bddc; --acc-lo: #45689d; --acc-ink: #1b3a66; --acc: #2e5b9a; }
.acc-orange { --acc-hi: #f5dfc8; --acc-soft: #dcaa7c; --acc-lo: #9c5a26; --acc-ink: #55300f; --acc: #b5652b; }

/* ---------- Letterpress typography ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: .74rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--wax); }
.eyebrow::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #d9574a, var(--wax) 55%, var(--wax-lo)); box-shadow: inset 0 -2px 3px rgb(0 0 0 / 30%), 0 1px 2px rgb(60 20 10 / 40%); }
.display { font-size: clamp(2.6rem, 6vw, 5.1rem); font-weight: 600; letter-spacing: -0.03em; }
.h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
.h3 { font-size: clamp(1.3rem, 2vw, 1.55rem); }
.lead { font-size: clamp(1.06rem, 1.4vw, 1.2rem); color: var(--ink-2); max-width: 62ch; }
.muted { color: var(--muted); }
/* "grad-text" = letterpress wax-red ink with a slight bite */
.grad-text { color: var(--wax); font-style: italic; text-shadow: 0 1px 0 rgb(255 255 255 / 70%); }
.section-head { display: grid; gap: 16px; margin-bottom: clamp(34px, 5vw, 54px); max-width: 760px; }
.section-head--center { text-align: center; margin-inline: auto; justify-items: center; }
.prose { display: grid; gap: 1.1em; color: var(--ink-2); max-width: 68ch; }
.prose p:first-child { font-size: 1.12rem; color: var(--ink); }
.on-dark, .hero { color: var(--ink); }
.on-dark .lead, .hero .lead, .on-dark .muted { color: var(--ink-2); }

/* ---------- Tactile buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 50px; padding: 0 24px; border-radius: 10px;
  font-weight: 600; font-size: .96rem; letter-spacing: .01em; white-space: nowrap; color: var(--ink);
  border: 1px solid #c9b995;
  background: linear-gradient(180deg, #fffdf6, #efe5cd);
  box-shadow: inset 0 1px 0 #fff, inset 0 -2px 0 rgb(120 90 40 / 12%), 0 3px 0 #cbbb96, 0 7px 12px -6px rgb(70 48 16 / 45%);
  text-shadow: 0 1px 0 rgb(255 255 255 / 80%);
  transition: transform .12s var(--ease), box-shadow .12s var(--ease), filter .2s;
}
.btn:hover { filter: brightness(1.03); }
.btn:active, .btn.is-pressed { transform: translateY(3px); box-shadow: inset 0 2px 4px rgb(70 48 16 / 25%), 0 0 0 #cbbb96, 0 2px 4px -2px rgb(70 48 16 / 35%); }
.btn .icon { transition: transform .25s var(--ease); }
.btn:hover .icon--arrow { transform: translateX(3px); }
.btn--sm { min-height: 42px; padding: 0 16px; font-size: .88rem; }
/* Primary: polished brass plate */
.btn--clay, .btn--primary {
  color: #3a2708; border-color: #8a6322; text-shadow: 0 1px 0 rgb(255 240 200 / 70%);
  background: linear-gradient(180deg, #f7e2a2 0%, #e1bd68 38%, #c39a45 62%, #d7b464 100%);
  box-shadow: inset 0 1px 0 rgb(255 250 225 / 90%), inset 0 -3px 5px rgb(110 70 10 / 35%), 0 3px 0 #7a561c, 0 9px 14px -6px rgb(90 60 10 / 55%);
}
.btn--clay:active, .btn--primary:active { box-shadow: inset 0 3px 6px rgb(90 60 10 / 45%), 0 0 0 #7a561c, 0 2px 4px -2px rgb(90 60 10 / 45%); }
/* Ink: stitched navy leather */
.btn--ink {
  color: #f3e3bb; border-color: #0d1220; text-shadow: 0 -1px 0 rgb(0 0 0 / 60%);
  background: var(--leather-grain), linear-gradient(180deg, #2c3756, var(--leather) 60%, #161d30);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 18%), inset 0 0 0 3px rgb(0 0 0 / 0%), 0 3px 0 #0b0f1b, 0 9px 14px -6px rgb(10 15 30 / 60%);
  outline: 1px dashed rgb(239 213 148 / 45%); outline-offset: -5px;
}
.btn--ink:active { box-shadow: inset 0 3px 6px rgb(0 0 0 / 55%), 0 0 0 #0b0f1b; }
.btn--glass, .btn--line { color: var(--ink); }
.btn:disabled { opacity: .5; transform: none; cursor: not-allowed; }
.btn[aria-busy="true"] { pointer-events: none; }
.btn[aria-busy="true"] .icon { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--airmail); text-decoration: underline; text-decoration-color: rgb(46 91 154 / 30%); text-underline-offset: 4px; }
.link-arrow .icon { transition: transform .25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Header: leather band with brass hardware ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; pointer-events: none; }
.site-header > * { pointer-events: auto; }
.site-header .container { width: min(100% - 2 * var(--gutter), 1400px); }
.topbar { font-size: .8rem; color: var(--ink-2); transition: margin-top .35s var(--ease), opacity .3s; font-family: var(--font-mono); }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar a { display: inline-flex; align-items: center; gap: 7px; font-weight: 500; }
.topbar a:hover { color: var(--wax); }
.topbar .icon { color: var(--brass-lo); width: 15px; height: 15px; }
.topbar__left { display: flex; gap: 22px; }
.topbar__status { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: .66rem; }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #d9574a, var(--wax)); box-shadow: 0 0 0 0 rgb(163 52 42 / 50%); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgb(163 52 42 / 0%); } 100% { box-shadow: 0 0 0 0 rgb(163 52 42 / 0%); } }
.site-header.is-scrolled .topbar { margin-top: -40px; opacity: 0; }
.navbar {
  position: relative; display: flex; align-items: center; gap: 12px; margin-top: 6px; padding: 10px 12px 10px 20px; border-radius: 16px;
  background: var(--leather-grain), linear-gradient(180deg, #2a3452, var(--leather) 55%, #151b2d) !important;
  border: 1px solid #0c1120 !important;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 14%), 0 10px 26px -12px rgb(10 15 30 / 70%), 0 2px 0 rgb(0 0 0 / 30%) !important;
}
.navbar::after { content: ""; position: absolute; inset: 5px; border-radius: 12px; border: 1px dashed rgb(239 213 148 / 32%); pointer-events: none; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; margin-right: 8px; position: relative; z-index: 1; }
.brand__logo { width: 230px; height: auto; filter: brightness(1.35) saturate(1.1) drop-shadow(0 1px 0 rgb(0 0 0 / 60%)); }
.nav { display: flex; align-items: center; gap: 2px; margin-inline: auto; position: relative; z-index: 1; }
.nav__link, .nav__trigger { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; min-height: 42px; padding: 0 11px; border-radius: 9px; font-weight: 500; font-size: .92rem; color: #e8dcc0; background: none; border: 0; transition: background-color .2s, color .2s; }
.nav__link:hover, .nav__trigger:hover, .nav__trigger[aria-expanded="true"] { color: #fff; background: rgb(255 255 255 / 7%); }
.nav__link[aria-current="page"], .nav__item.is-current > .nav__trigger { color: #2c1f06; background: linear-gradient(180deg, #f3dc9c, #cfa853); box-shadow: inset 0 1px 0 #fff4cf, inset 0 -2px 3px rgb(110 70 10 / 35%), 0 1px 0 #000; text-shadow: 0 1px 0 rgb(255 240 200 / 60%); }
.nav__trigger .icon { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.nav__trigger[aria-expanded="true"] .icon { transform: rotate(180deg); }
.nav__item { position: relative; }
.nav__item:has(.mega--wide) { position: static; }
.nav__actions { display: flex; align-items: center; gap: 8px; flex: none; position: relative; z-index: 1; }
.nav__actions .btn--glass { color: #f3e3bb; background: rgb(255 255 255 / 6%); border-color: rgb(239 213 148 / 30%); box-shadow: inset 0 1px 0 rgb(255 255 255 / 10%); text-shadow: none; }
.mega {
  position: absolute; top: calc(100% + 14px); left: 50%; width: max-content; max-width: min(760px, 92vw); padding: 16px; border-radius: 14px;
  background: var(--paper-grain), linear-gradient(180deg, var(--card-2), var(--card)) !important; border: 1px solid var(--line) !important;
  box-shadow: 0 30px 60px -30px rgb(60 40 10 / 60%), 0 2px 0 var(--line) !important;
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px);
  transition: opacity .2s var(--ease), transform .25s var(--ease), visibility 0s .25s;
}
.nav__item.is-open .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
.mega::before { content: ""; position: absolute; inset: -16px 0 auto; height: 16px; }
.mega--wide { width: min(1240px, 96vw); max-width: none; top: calc(100% + 10px); padding: 22px 22px 12px; }
.mega__grid { display: grid; grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr)); gap: 4px; }
.mega__link { display: flex; align-items: center; gap: 12px; padding: 8px 12px; border-radius: 10px; color: var(--ink-2); font-weight: 500; font-size: .92rem; }
.mega__link:hover, .mega__link:focus-visible { background: rgb(195 154 69 / 12%); color: var(--ink); }
.mega__link[aria-current="page"] { background: rgb(163 52 42 / 8%); color: var(--wax); }
.mega__ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: radial-gradient(circle at 32% 28%, #fff, var(--acc-hi) 30%, var(--acc-soft) 75%, var(--acc-lo)); color: var(--acc-ink); box-shadow: inset 0 -2px 3px rgb(60 40 10 / 30%), 0 2px 3px -1px rgb(60 40 10 / 40%); flex: none; }
.mega__ico .icon { width: 16px; height: 16px; }
.mega__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 10px; padding: 12px 12px 4px; border-top: 1px dashed var(--line); color: var(--muted); font-size: .85rem; }
.mega__foot a { color: var(--wax); font-weight: 600; display: inline-flex; gap: 6px; align-items: center; }
.mega__groups { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.mega__group { font-family: var(--font-mono); font-size: .66rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--wax); margin: 0 0 8px 8px; padding-bottom: 6px; border-bottom: 1px solid var(--line); line-height: 1.3; }
.mega__groups ul { display: grid; gap: 1px; }
.mega__mini { display: block; padding: 5px 8px; border-radius: 7px; font-size: .86rem; color: var(--ink-2); line-height: 1.3; }
.mega__mini:hover, .mega__mini:focus-visible { background: rgb(195 154 69 / 14%); color: var(--ink); }
.mega__mini[aria-current="page"] { color: var(--wax); font-weight: 600; }
.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 10px; border: 1px solid rgb(239 213 148 / 35%); background: rgb(255 255 255 / 6%); color: #f3e3bb; place-items: center; }
.drawer { position: fixed; inset: 0; z-index: 200; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer__scrim { position: absolute; inset: 0; background: rgb(20 15 5 / 40%); opacity: 0; transition: opacity .3s; }
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer__panel { position: absolute; inset: 10px 10px 10px auto; width: min(420px, calc(100% - 20px)); display: flex; flex-direction: column; overflow: hidden; background: var(--paper-grain), var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 40px 80px -30px rgb(40 25 5 / 60%); transform: translateX(110%); transition: transform .38s var(--ease); }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 14px; background: var(--leather-grain), var(--leather); }
.drawer__head .brand__logo { width: 190px; }
.drawer__body { flex: 1; overflow-y: auto; padding: 12px; overscroll-behavior: contain; }
.drawer__link, .drawer__acc > summary { display: flex; align-items: center; justify-content: space-between; min-height: 50px; padding: 0 14px; border-radius: 10px; font-weight: 600; font-size: 1.04rem; cursor: pointer; list-style: none; border-bottom: 1px dashed var(--line); }
.drawer__acc > summary::-webkit-details-marker { display: none; }
.drawer__link:hover, .drawer__acc > summary:hover { background: rgb(195 154 69 / 10%); }
.drawer__acc[open] > summary .icon { transform: rotate(180deg); }
.drawer__sub { display: grid; gap: 2px; padding: 6px 0 10px 12px; margin-left: 14px; border-left: 2px solid var(--brass); }
.drawer__sub a { padding: 8px 12px; border-radius: 8px; color: var(--ink-2); }
.drawer__sub a:hover { background: rgb(195 154 69 / 10%); }
.drawer__foot { display: grid; gap: 10px; padding: 14px; border-top: 1px dashed var(--line); }
.icon-btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; border: 1px solid rgb(239 213 148 / 35%); background: rgb(255 255 255 / 6%); color: #f3e3bb; }
@media (max-width: 1400px) { .nav__actions .hide-md { display: none; } .nav__link, .nav__trigger { padding: 0 9px; font-size: .88rem; } .brand__logo { width: 200px; } }
@media (max-width: 1280px) { .nav { display: none; } .menu-toggle { display: grid; } .nav__actions { margin-left: auto; } }
@media (max-width: 640px) { .topbar__status, .topbar__left a:nth-child(2) span { display: none; } .nav__actions .btn { display: none; } .brand__logo { width: 170px; } .navbar { padding-left: 14px; } }

/* ---------- Heroes ---------- */
.hero { position: relative; isolation: isolate; }
.hero__canvas { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; }
.hero__grain, .hero__fade { display: none; }
.hero--home { min-height: max(760px, 100svh); display: grid; align-items: center; padding: calc(var(--header-h) + 30px) 0 80px; }
.hero--home .hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 40px; align-items: center; }
.hero__copy { display: grid; gap: 24px; justify-items: start; }
.hero__badge { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 8px; font-size: .86rem; font-weight: 500; color: var(--ink-2); }
.hero__badge b { padding: 4px 10px; border-radius: 5px; background: var(--wax); color: #fbe9d9; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; box-shadow: inset 0 -2px 3px rgb(0 0 0 / 25%); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__trust { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: .88rem; }
.hero__trust img { width: 46px; height: 46px; border-radius: 50%; background: #fff; padding: 2px; box-shadow: 0 0 0 1px var(--line), 0 4px 8px -4px rgb(60 40 10 / 45%); }
.hero__stage { position: relative; min-height: 540px; }
.float-card { position: absolute; display: flex; align-items: center; gap: 14px; padding: 12px 18px 12px 12px; border-radius: 12px; animation: bob 9s ease-in-out infinite; transform: rotate(-1.5deg); }
.float-card strong { display: block; font-family: var(--font-mono); font-size: 1.35rem; line-height: 1; letter-spacing: -0.02em; }
.float-card span { font-size: .8rem; color: var(--muted); }
.float-card .clay-bubble { width: 44px; height: 44px; }
.float-card .clay-bubble .icon { width: 20px; height: 20px; }
.float-card--a { top: 6%; left: -2%; }
.float-card--b { top: 44%; right: -4%; animation-delay: -3s; transform: rotate(1.5deg); }
.float-card--c { bottom: 4%; left: 12%; animation-delay: -6s; }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); display: grid; justify-items: center; gap: 6px; font-family: var(--font-mono); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.scroll-cue i { width: 22px; height: 34px; border-radius: 12px; border: 2px solid rgb(29 36 54 / 30%); position: relative; }
.scroll-cue i::after { content: ""; position: absolute; left: 50%; top: 6px; width: 4px; height: 7px; margin-left: -2px; border-radius: 2px; background: var(--wax); animation: cue 1.8s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(10px); } }
@media (max-width: 980px) { .hero--home .hero__grid { grid-template-columns: 1fr; } .hero__stage { min-height: 380px; order: -1; margin-bottom: -30px; } .float-card--a { left: 0; top: 2%; } .float-card--b { right: 0; } .float-card--c { left: 4%; bottom: 0; } .scroll-cue { display: none; } }
@media (max-width: 560px) { .hero__stage { min-height: 300px; margin-bottom: -20px; } .float-card { padding: 9px 12px 9px 9px; gap: 10px; } .float-card strong { font-size: 1.1rem; } .float-card--c { display: none; } .hero__trust br { display: none; } }
.hero--page { padding: calc(var(--header-h) + 30px) 0 clamp(56px, 8vw, 100px); }
.hero--page .hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero--page.hero--solo .hero__grid { grid-template-columns: minmax(0, 1fr); }
.hero--solo .hero__copy { max-width: 900px; }
.hero--page h1 { font-size: clamp(2.2rem, 4.8vw, 3.9rem); }
.crumbs { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 8px; font-family: var(--font-mono); font-size: .78rem; color: var(--muted); }
.crumbs a { color: var(--ink-2); }
.crumbs a:hover { color: var(--wax); }
.crumbs .icon { width: 13px; height: 13px; opacity: .6; }
.crumbs [aria-current] { color: var(--wax); }
.hero__meta { display: flex; flex-wrap: wrap; gap: 10px; }
/* chips = manila luggage tags */
.chip { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px 0 26px; border-radius: 4px 8px 8px 4px; font-size: .86rem; font-weight: 500; color: var(--ink-2); background: linear-gradient(180deg, #f3e2b8, #e6cf98); border: 1px solid #c9ad6c; box-shadow: 0 2px 4px -2px rgb(60 40 10 / 45%); clip-path: polygon(10px 0, 100% 0, 100% 100%, 10px 100%, 0 50%); }
.chip::before { content: ""; position: absolute; left: 11px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 1px 2px rgb(60 40 10 / 50%); }
.chip .icon { width: 15px; height: 15px; color: var(--brass-lo); }
/* photo = mounted print with photo corners */
.photo-frame { position: relative; padding: 14px 14px 44px; border-radius: 4px; transform: rotate(1.4deg); background: #fffdf8 !important; transition: transform .5s var(--ease); }
.photo-frame:hover { transform: rotate(0) translateY(-4px); }
.photo-frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; filter: sepia(.08) contrast(1.02); }
.photo-frame::before, .photo-frame::after { content: ""; position: absolute; width: 34px; height: 34px; background: linear-gradient(135deg, var(--leather) 50%, transparent 50%); top: 8px; left: 8px; opacity: .85; }
.photo-frame::after { top: auto; left: auto; right: 8px; bottom: 38px; transform: rotate(180deg); }
.photo-frame__tag { position: absolute; left: -18px; bottom: 58px; display: flex; align-items: center; gap: 12px; padding: 10px 16px 10px 10px; border-radius: 10px; transform: rotate(-2deg); }
.photo-frame__tag strong { display: block; font-family: var(--font-mono); font-size: 1.05rem; line-height: 1.1; }
.photo-frame__tag span { font-size: .76rem; color: var(--muted); }
.photo-frame__tag .clay-bubble { width: 42px; height: 42px; }
.photo-frame__tag .clay-bubble .icon { width: 19px; height: 19px; }
.data-visual { position: relative; padding: 22px; border-radius: 12px; display: grid; gap: 10px; background: repeating-linear-gradient(180deg, transparent 0 31px, rgb(46 91 154 / 18%) 31px 32px), linear-gradient(180deg, #fffdf8, #fbf6ea) !important; }
.data-visual::before { content: ""; position: absolute; left: 54px; top: 0; bottom: 0; width: 1px; background: rgb(163 52 42 / 35%); }
.data-visual__row { position: relative; display: flex; align-items: center; gap: 14px; padding: 8px 10px; }
.data-visual__row i { flex: none; width: 26px; height: 26px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, var(--c1) 40%, var(--c2)); opacity: .8; }
.data-visual__row b { display: block; height: 8px; border-radius: 4px; background: rgb(29 36 54 / 22%); width: var(--w, 70%); }
.data-visual__row b + b { margin-top: 6px; height: 6px; background: rgb(29 36 54 / 10%); width: calc(var(--w, 70%) - 22%); }
.data-visual__row div { flex: 1; }
.data-visual__row em { font-style: normal; font-family: var(--font-mono); font-size: .66rem; font-weight: 600; padding: 3px 8px; border: 1.5px solid var(--sage); color: var(--sage); border-radius: 4px; transform: rotate(-4deg); letter-spacing: .08em; }
.data-visual__label { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-bottom: 6px; }
@media (max-width: 900px) { .hero--page .hero__grid { grid-template-columns: 1fr; } .photo-frame { max-width: 560px; } .photo-frame__tag { left: 10px; } }
/* stat strip = mechanical odometer windows */
.stat-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 4px 0 0; }
.stat-strip > div { padding: 14px 16px; border-radius: 10px; }
.stat-strip dt { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.stat-strip dd { margin: 8px 0 0; padding: 6px 10px; border-radius: 6px; font-family: var(--font-mono); font-size: clamp(.98rem, 1.6vw, 1.2rem); font-weight: 600; line-height: 1.25; color: #f6e8c4; background: linear-gradient(180deg, #0f1422, #222b44 50%, #0f1422); box-shadow: inset 0 2px 5px rgb(0 0 0 / 70%), 0 1px 0 #fff; }
@media (max-width: 640px) { .stat-strip { gap: 8px; } .stat-strip > div { padding: 10px; } .stat-strip dt { font-size: .56rem; letter-spacing: .06em; } .stat-strip dd { font-size: .86rem; padding: 5px 7px; } }

/* ---------- Scene frames (WebGL inside a brass-bezel instrument window) ---------- */
.scene-frame { position: relative; aspect-ratio: 1 / 1; width: 100%; max-width: 560px; margin-inline: auto; border-radius: 50%; padding: 14px;
  background: radial-gradient(circle at 30% 25%, #f8e7b4, #c39a45 45%, #7d5a1f 100%);
  box-shadow: inset 0 2px 2px rgb(255 245 210 / 90%), inset 0 -4px 8px rgb(60 40 10 / 55%), 0 22px 40px -18px rgb(60 40 10 / 70%); }
.scene-frame__glass { position: relative; width: 100%; height: 100%; border-radius: 50%; overflow: hidden; background: radial-gradient(circle at 40% 35%, #fffdf6, #efe4c9 70%, #d9c8a0); box-shadow: inset 0 6px 16px rgb(60 40 10 / 45%), inset 0 -2px 4px rgb(255 255 255 / 60%); }
.scene-frame__glass canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.scene-frame__glass::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(60% 40% at 32% 22%, rgb(255 255 255 / 55%), transparent 60%); pointer-events: none; }
.scene-frame__label { position: absolute; left: 50%; bottom: -16px; transform: translateX(-50%); padding: 5px 14px; border-radius: 6px; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: #3a2708; background: linear-gradient(180deg, #f3dc9c, #c9a24e); box-shadow: inset 0 1px 0 #fff5d6, 0 3px 6px -2px rgb(60 40 10 / 55%); white-space: nowrap; }
.scene-frame__label::before, .scene-frame__label::after { content: ""; position: absolute; top: 50%; width: 5px; height: 5px; margin-top: -2.5px; border-radius: 50%; background: #7d5a1f; box-shadow: inset 0 1px 1px rgb(0 0 0 / 50%); }
.scene-frame__label::before { left: 5px; } .scene-frame__label::after { right: 5px; }
.scene-wide { position: relative; border-radius: 16px; overflow: hidden; min-height: 420px; }
.scene-wide canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ---------- Sections ---------- */
.section { position: relative; overflow-x: clip; padding-block: clamp(70px, 9vw, 116px); }
.section--tight { padding-block: clamp(46px, 6vw, 78px); }
.section--light, .section--white { background: transparent; }
/* "dark" section = kraft-paper band with torn edges */
.section--dark { background: var(--paper-grain), linear-gradient(180deg, #e3d3b0, #dcc9a2); border-block: 1px solid #c8b485; box-shadow: inset 0 10px 16px -12px rgb(60 40 10 / 35%), inset 0 -10px 16px -12px rgb(60 40 10 / 35%); }
.blob { display: none; }
.section > .container { position: relative; z-index: 1; }
/* marquee = ticker tape */
.marquee { overflow: hidden; background: var(--leather-grain), var(--leather); border-block: 3px double #c39a45; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee__track { display: flex; gap: 44px; width: max-content; padding: 16px 0; animation: marquee 46s linear infinite; }
.marquee__item { display: inline-flex; align-items: center; gap: 14px; font-family: var(--font-mono); font-weight: 500; font-size: 1rem; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; color: #efd594; }
.marquee__item .dot { width: 9px; height: 9px; transform: rotate(45deg); background: var(--c); }
@keyframes marquee { to { transform: translateX(-50%); } }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.tile { display: grid; justify-items: center; text-align: center; gap: 12px; padding: 22px 16px; transition: transform .25s var(--ease), box-shadow .25s; }
.tile:hover { transform: translateY(-3px) rotate(-.5deg); box-shadow: var(--card-shadow-hover); }
.tile h3 { font-size: .98rem; font-family: var(--font-body); font-weight: 600; }
@media (max-width: 560px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.bento__cell { display: flex; flex-direction: column; gap: 14px; padding: clamp(22px, 2.6vw, 30px); transition: transform .25s var(--ease), box-shadow .25s; }
.bento__cell:hover { transform: translateY(-3px); box-shadow: var(--card-shadow-hover); }
.bento__cell--wide { grid-column: span 2; }
.bento__cell--tall { grid-row: span 2; }
.bento__cell--full { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 22px; }
.bento__cell--full > div { display: grid; gap: 6px; }
/* big numbers = odometer drums */
.bento__cell .bento__num, .metric__value { display: inline-flex; align-self: flex-start; align-items: baseline; gap: 2px; padding: 8px 14px; border-radius: 8px; font-family: var(--font-mono); font-weight: 600; font-size: clamp(2rem, 3.6vw, 2.9rem); line-height: 1; letter-spacing: .04em; color: #f6e8c4; background: repeating-linear-gradient(90deg, transparent 0 .62em, rgb(0 0 0 / 35%) .62em calc(.62em + 1px)), linear-gradient(180deg, #0b0f1a, #283250 48%, #0b0f1a); box-shadow: inset 0 3px 8px rgb(0 0 0 / 75%), inset 0 -1px 0 rgb(255 255 255 / 10%), 0 0 0 3px #b8914a, 0 0 0 4px #7d5a1f, 0 6px 10px -4px rgb(60 40 10 / 55%); font-variant-numeric: tabular-nums; }
.bento__num small { font-size: .5em; color: var(--brass-hi); margin-left: 2px; }
.bento__cell h3 { font-size: 1.12rem; }
.bento__cell p { color: var(--muted); font-size: .97rem; }
.bento__cell--feature { background: linear-gradient(180deg, var(--card-2), var(--card)); }
.bento__cell--ink { background: var(--leather-grain), linear-gradient(160deg, #2a3452, var(--leather)) !important; border-color: #0c1120 !important; color: #efe3c6; }
.bento__cell--ink h3 { color: #f6e8c4; }
.bento__cell--ink p { color: #cbbd9c; }
.bento__cell--ink::after { content: ""; position: absolute; inset: 7px; border: 1px dashed rgb(239 213 148 / 30%); border-radius: 10px; pointer-events: none; }
.bento__spark { margin-top: auto; height: 70px; }
@media (max-width: 1000px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .bento { grid-template-columns: 1fr; } .bento__cell--wide { grid-column: auto; } .bento__cell--tall { grid-row: auto; } .bento__cell--full { flex-direction: column; align-items: flex-start; } }
.metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.metric { padding: 24px 22px; display: grid; gap: 14px; justify-items: start; }
.metric__icon { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--c, var(--wax)); background: radial-gradient(circle at 32% 28%, #fff, #efe0bd 40%, #cdb07a); box-shadow: inset 0 -2px 4px rgb(60 40 10 / 35%), 0 3px 5px -2px rgb(60 40 10 / 45%); }
.metric__label { color: var(--ink-2); font-weight: 500; }
@media (max-width: 900px) { .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 460px) { .metrics { grid-template-columns: 1fr; } }
.cards-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.svc-card { display: flex; flex-direction: column; overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s; }
.svc-card:hover { transform: translateY(-4px) rotate(-.3deg); box-shadow: var(--card-shadow-hover); }
.svc-card__media { position: relative; margin: 12px 12px 0; border-radius: 4px; overflow: hidden; aspect-ratio: 16 / 10; box-shadow: inset 0 0 0 1px rgb(0 0 0 / 8%); }
.svc-card__media img { width: 100%; height: 100%; object-fit: cover; filter: sepia(.08); transition: transform .6s var(--ease); }
.svc-card:hover .svc-card__media img { transform: scale(1.04); }
.svc-card__body { display: grid; gap: 12px; padding: 20px 22px 26px; }
.svc-card__body p { color: var(--muted); font-size: .97rem; }
@media (max-width: 960px) { .cards-3 { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }
/* process = wax seals on a string */
.process { position: relative; display: grid; grid-template-columns: repeat(var(--n, 6), minmax(0, 1fr)); gap: 18px; counter-reset: step; }
.process::before { content: ""; position: absolute; top: 40px; left: 6%; right: 6%; height: 0; border-top: 2px dashed var(--brass-lo); }
.process__step { position: relative; display: grid; justify-items: center; text-align: center; gap: 14px; }
.process__bead { position: relative; width: 80px; height: 80px; border-radius: 50%; display: grid; place-items: center; color: #fbe6d4; background: radial-gradient(circle at 35% 30%, #d8574b, var(--wax) 50%, var(--wax-lo)); box-shadow: inset 0 3px 3px rgb(255 190 170 / 45%), inset 0 -5px 8px rgb(40 5 0 / 55%), 0 8px 14px -6px rgb(80 20 10 / 60%); transition: transform .35s var(--ease); }
.process__bead::before { content: ""; position: absolute; inset: 8px; border-radius: 50%; border: 2px solid rgb(255 200 180 / 35%); }
.process__step:hover .process__bead { transform: rotate(-8deg) scale(1.04); }
.process__bead .icon { width: 28px; height: 28px; }
.process__bead::after { counter-increment: step; content: counter(step); position: absolute; top: -6px; right: -6px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 32% 28%, #f7e2a2, #c39a45 60%, #8a6322); color: #3a2708; font-family: var(--font-mono); font-size: .76rem; font-weight: 600; box-shadow: 0 2px 3px rgb(60 40 10 / 45%); }
.process__step h3 { font-size: 1rem; font-family: var(--font-body); font-weight: 600; }
.process__step p { font-size: .9rem; color: var(--muted); }
@media (max-width: 1000px) { .process { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 36px; } .process::before { display: none; } }
@media (max-width: 560px) { .process { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* directory tiles = file-folder tabs */
.dir-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.dir-tile { display: flex; align-items: center; gap: 14px; padding: 14px 16px 14px 14px; font-weight: 600; border-radius: 4px 12px 12px 12px !important; transition: transform .25s var(--ease), box-shadow .25s; }
.dir-tile::before { content: ""; position: absolute; left: -1px; top: -12px; width: 44%; height: 13px; border-radius: 8px 8px 0 0; background: var(--card-2); border: 1px solid var(--line); border-bottom: 0; }
.dir-tile:hover { transform: translateY(-3px); box-shadow: var(--card-shadow-hover); }
.dir-tile .clay-bubble { width: 44px; height: 44px; }
.dir-tile .clay-bubble .icon { width: 20px; height: 20px; }
.dir-tile span { flex: 1; line-height: 1.25; }
.dir-tile > .icon { color: var(--wax); opacity: 0; transform: translateX(-6px); transition: .25s var(--ease); }
.dir-tile:hover > .icon { opacity: 1; transform: none; }
.dir-grid li { padding-top: 12px; }
@media (max-width: 1000px) { .dir-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .dir-grid { grid-template-columns: 1fr; } }
/* tabs = brass rocker switch bank */
.tabs { display: inline-flex; flex-wrap: wrap; gap: 0; padding: 5px; border-radius: 12px; margin-bottom: 30px; background: var(--leather-grain), var(--leather); box-shadow: inset 0 2px 5px rgb(0 0 0 / 60%), 0 1px 0 #fff; }
.tabs [role="tab"] { min-height: 44px; padding: 0 20px; border-radius: 8px; border: 0; background: none; font-weight: 600; color: #cdbf9d; transition: background .2s, color .2s, box-shadow .2s; }
.tabs [role="tab"][aria-selected="true"] { color: #2c1f06; background: linear-gradient(180deg, #f3dc9c, #cfa853); box-shadow: inset 0 1px 0 #fff4cf, inset 0 -3px 4px rgb(110 70 10 / 35%), 0 2px 3px rgb(0 0 0 / 45%); }
[role="tabpanel"][hidden] { display: none; }
/* pills = rubber stamps */
.pills { display: flex; flex-wrap: wrap; gap: 14px; }
.pill { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 18px 0 10px; font-weight: 600; }
.pill .clay-bubble { width: 34px; height: 34px; }
.pill .clay-bubble .icon { width: 17px; height: 17px; }
/* CTA = airmail envelope */
.cta-card { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; padding: clamp(34px, 5vw, 60px); border-radius: 6px; color: var(--ink);
  background: var(--paper-grain), linear-gradient(180deg, #fffdf6, #f6efdc);
  box-shadow: 0 0 0 10px transparent, 0 26px 40px -24px rgb(60 40 10 / 60%);
  border: 12px solid transparent; border-image: repeating-linear-gradient(-45deg, var(--wax) 0 16px, #fffdf6 16px 26px, var(--airmail) 26px 42px, #fffdf6 42px 52px) 12; }
.cta-card h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
.cta-card p { color: var(--ink-2); margin-top: 10px; max-width: 52ch; }
.cta-card__actions { display: flex; flex-wrap: wrap; gap: 12px; }
/* postage stamp + postmark */
.cta-card__ring { position: absolute; border: 0; border-radius: 0; pointer-events: none; opacity: .9; }
.cta-card__ring:first-of-type { width: 96px !important; height: 116px !important; right: 26px !important; top: 22px !important; left: auto !important; bottom: auto !important;
  background: radial-gradient(circle, transparent 4px, #fffdf6 4.5px) -6px -6px / 12px 12px, linear-gradient(160deg, #c9d9c2, #8fae88); padding: 10px; transform: rotate(4deg);
  -webkit-mask: radial-gradient(circle 5px at 50% 0, transparent 98%, #000) 0 0 / 12px 100% repeat-x, radial-gradient(circle 5px at 0 50%, transparent 98%, #000) 0 0 / 100% 12px repeat-y; }
.cta-card__ring:last-of-type { width: 150px !important; height: 150px !important; right: 70px !important; bottom: -40px !important; top: auto !important; left: auto !important; border-radius: 50%; border: 3px double rgb(163 52 42 / 35%); }
@media (max-width: 820px) { .cta-card { grid-template-columns: 1fr; } .cta-card__ring { display: none; } }

/* ---------- Content layout ---------- */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(28px, 4vw, 56px); align-items: start; }
.layout > *, .layout > * > * { min-width: 0; }
.layout__aside { position: sticky; top: 110px; display: grid; gap: 20px; }
@media (max-width: 1040px) { .layout { grid-template-columns: 1fr; } .layout__aside { position: static; } }
.panel { padding: clamp(22px, 3vw, 34px); }
.panel + .panel { margin-top: 24px; }
.panel__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 20px; }
.panel__title { display: flex; align-items: center; gap: 14px; }
/* inputs = typewriter fields */
.search { position: relative; flex: 1 1 260px; max-width: 360px; }
.search input, .select select, .field input, .field select, .field textarea {
  width: 100%; min-height: 48px; border-radius: 8px; border: 1px solid #cdbf9e; color: var(--ink);
  background: linear-gradient(180deg, #f1e8d3, #fbf7ec 30%);
  box-shadow: inset 0 2px 4px rgb(60 40 10 / 18%), 0 1px 0 #fff;
  font-family: var(--font-mono); font-size: .92rem;
  transition: border-color .2s, box-shadow .2s;
}
.search input { padding: 0 16px 0 44px; }
.search input:focus, .select select:focus, .field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--airmail); box-shadow: inset 0 2px 4px rgb(60 40 10 / 18%), 0 0 0 3px rgb(46 91 154 / 18%); }
.search .icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); width: 18px; height: 18px; }
.list-meta { font-family: var(--font-mono); font-size: .8rem; color: var(--muted); margin-bottom: 14px; }
/* segments = index-card lines */
.seg-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
.seg { display: flex; align-items: flex-start; gap: 12px; padding: 10px 6px; border-bottom: 1px solid rgb(46 91 154 / 22%); font-size: .95rem; line-height: 1.35; transition: background-color .2s; }
.seg:hover { background: rgb(195 154 69 / 10%); }
.seg .icon { color: var(--acc, var(--wax)); width: 17px; height: 17px; margin-top: 1px; }
.seg[hidden] { display: none; }
.empty-state { display: none; padding: 26px; text-align: center; border: 1.5px dashed var(--line); border-radius: 10px; color: var(--muted); }
.empty-state.is-visible { display: block; }
@media (max-width: 640px) { .seg-grid { grid-template-columns: 1fr; } }
.group { border-top: 1px dashed var(--line); padding-top: 22px; margin-top: 22px; }
.group:first-of-type { border-top: 0; margin-top: 0; padding-top: 0; }
.group[hidden] { display: none; }
.group h3 { display: flex; align-items: center; gap: 10px; font-size: 1.12rem; margin-bottom: 10px; }
.group h3 small { font-family: var(--font-mono); font-size: .72rem; color: #fbe6d4; background: var(--wax); padding: 2px 8px; border-radius: 4px; }
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.jump a { padding: 5px 11px; border-radius: 5px; background: var(--card-2); border: 1px solid var(--line); font-family: var(--font-mono); font-size: .76rem; color: var(--ink-2); box-shadow: 0 2px 0 var(--line); }
.jump a:hover { color: var(--wax); }
@media (max-width: 640px) { .jump { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 8px; } .jump a { flex: none; } }
.side-nav { display: grid; gap: 2px; }
.side-nav a { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 8px; font-size: .92rem; color: var(--ink-2); border-bottom: 1px dashed var(--line-2); }
.side-nav a:hover { background: rgb(195 154 69 / 10%); }
.side-nav a[aria-current="page"] { background: var(--leather); color: #f3e3bb; }
.side-nav .mega__ico { width: 30px; height: 30px; }
.side-nav .mega__ico .icon { width: 15px; height: 15px; }
.features { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.feature { display: grid; gap: 12px; align-content: start; padding: 22px; transition: transform .25s var(--ease), box-shadow .25s; }
.feature:hover { transform: translateY(-3px) rotate(.3deg); box-shadow: var(--card-shadow-hover); }
.feature h3 { font-size: 1.1rem; }
.feature p { color: var(--muted); font-size: .95rem; }
.steps { display: grid; gap: 12px; }
.step { position: relative; display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 18px; align-items: start; padding: 14px; border-radius: 10px; background: linear-gradient(180deg, #fffdf8, #f8f1e1); border: 1px solid var(--line); }
.step__n { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; font-family: var(--font-mono); font-size: 1.1rem; font-weight: 600; color: #fbe6d4; background: radial-gradient(circle at 35% 30%, #d8574b, var(--wax) 55%, var(--wax-lo)); box-shadow: inset 0 -3px 5px rgb(40 5 0 / 45%), 0 4px 8px -3px rgb(80 20 10 / 50%); }
.step h3 { font-size: 1.05rem; margin: 4px 0; }
.step p { color: var(--muted); font-size: .96rem; }
.checklist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 22px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist .icon { flex: none; width: 22px; height: 22px; padding: 3px; border-radius: 4px; border: 1.5px solid var(--sage); color: var(--sage); background: #fff; margin-top: 1px; }
@media (max-width: 640px) { .checklist { grid-template-columns: 1fr; } }
.note { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 4px; background: #fff6b8; color: #4a3b09; box-shadow: 0 10px 16px -12px rgb(60 40 10 / 55%); transform: rotate(-.4deg); }
.note .icon { flex: none; color: var(--wax); margin-top: 2px; }
.title-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.title-chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border-radius: 4px; background: #fffdf6; border: 1px solid var(--line); border-left: 4px solid var(--acc, var(--wax)); color: var(--ink-2); font-weight: 500; font-size: .9rem; box-shadow: 0 2px 0 var(--line); }
.title-chip .icon { width: 15px; height: 15px; color: var(--acc, var(--wax)); }
.fields { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.fields li { display: flex; align-items: center; gap: 10px; padding: 11px 13px; border-radius: 6px; background: repeating-linear-gradient(180deg, transparent 0 21px, rgb(46 91 154 / 12%) 21px 22px), #fffdf6; border: 1px solid var(--line); font-size: .9rem; font-weight: 500; }
.fields .icon { color: var(--airmail); width: 17px; height: 17px; }
.row-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
/* events = admission tickets */
.ev-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ev-card { position: relative; display: grid; gap: 8px; align-content: start; padding: 18px 18px 18px 26px; border-radius: 8px; background: linear-gradient(180deg, #fffdf6, #f7eedb); border: 1px solid var(--line); box-shadow: 0 2px 0 var(--line); transition: transform .25s var(--ease), box-shadow .25s; }
.ev-card::before { content: ""; position: absolute; left: 12px; top: 10px; bottom: 10px; border-left: 2px dashed rgb(163 52 42 / 35%); }
.ev-card:hover { transform: translateY(-3px) rotate(-.3deg); box-shadow: var(--card-shadow-hover); }
.ev-card__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-family: var(--font-mono); font-size: .74rem; color: var(--muted); }
.ev-card__meta span { display: inline-flex; align-items: center; gap: 6px; }
.ev-card__meta .icon { width: 14px; height: 14px; color: var(--wax); }
.ev-card h3 { font-size: 1.04rem; line-height: 1.3; }
.ev-card p { font-size: .88rem; color: var(--muted); }
.ev-card__foot { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 4px; font-size: .86rem; font-weight: 600; }
.ev-card__foot a { color: var(--airmail); display: inline-flex; align-items: center; gap: 5px; }
.ev-card__foot a:hover { text-decoration: underline; }
.ev-card__foot .icon { width: 14px; height: 14px; }
.source-note { font-family: var(--font-mono); font-size: .74rem; color: var(--muted); margin-top: 14px; }
@media (max-width: 720px) { .ev-grid { grid-template-columns: 1fr; } }
/* FAQ = manila folders */
.faq { display: grid; gap: 12px; }
.faq details { position: relative; border-radius: 4px 10px 10px 10px; background: linear-gradient(180deg, #f3e3bb, #ead498); border: 1px solid #c9ad6c; box-shadow: 0 2px 0 #c9ad6c; }
.faq details[open] { background: linear-gradient(180deg, #fffdf6, #f7eedb); border-color: var(--line); box-shadow: 0 16px 26px -18px rgb(60 40 10 / 55%); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 18px; min-height: 54px; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { flex: none; width: 28px; height: 28px; padding: 6px; border-radius: 50%; color: #3a2708; background: radial-gradient(circle at 32% 28%, #f7e2a2, #c39a45 60%, #8a6322); box-shadow: 0 2px 3px rgb(60 40 10 / 45%); transition: transform .25s var(--ease); }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq details > div { padding: 0 18px 18px; color: var(--ink-2); }
/* generated industry visual = library catalogue card */
.ind-visual { position: relative; padding: 24px 24px 24px 60px; border-radius: 6px; display: grid; gap: 12px; overflow: hidden; background: repeating-linear-gradient(180deg, transparent 0 33px, rgb(46 91 154 / 20%) 33px 34px), linear-gradient(180deg, #fffdf8, #fbf5e6) !important; }
.ind-visual::before { content: ""; position: absolute; left: 44px; top: 0; bottom: 0; width: 1.5px; background: rgb(163 52 42 / 45%); }
.ind-visual::after { content: ""; position: absolute; left: 50%; bottom: 12px; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 2px 3px rgb(60 40 10 / 45%); }
.ind-visual__head { display: flex; align-items: center; gap: 16px; }
.ind-visual__head .clay-bubble { width: 64px; height: 64px; }
.ind-visual__head .clay-bubble .icon { width: 28px; height: 28px; }
.ind-visual__head strong { display: block; font-family: var(--font-mono); font-size: 1.9rem; line-height: 1; }
.ind-visual__head span { font-size: .8rem; color: var(--muted); }
.ind-visual__rows { display: grid; gap: 4px; padding-bottom: 22px; }
.ind-visual__rows li { display: flex; align-items: center; gap: 12px; padding: 7px 4px; font-family: var(--font-mono); font-size: .84rem; color: var(--ink-2); }
.ind-visual__rows li i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.ind-visual__rows li em { margin-left: auto; font-style: normal; font-size: .64rem; font-weight: 600; letter-spacing: .08em; padding: 2px 7px; border: 1.5px solid var(--sage); color: var(--sage); border-radius: 3px; transform: rotate(-3deg); }
.ind-visual__glow { display: none; }
/* industries hub = card-catalogue drawers */
.hub-group { position: relative; margin-top: clamp(34px, 5vw, 52px); padding: 28px 22px 22px; border-radius: 10px; background: var(--paper-grain), linear-gradient(180deg, #8a6440, #6f4d2f); box-shadow: inset 0 2px 0 rgb(255 220 170 / 25%), inset 0 -3px 6px rgb(0 0 0 / 35%), 0 16px 26px -16px rgb(40 25 5 / 70%); }
.hub-group:first-of-type { margin-top: 0; }
.hub-group[hidden] { display: none; }
.hub-group h2 { display: flex; align-items: center; justify-content: center; gap: 12px; width: max-content; max-width: 100%; margin: -44px auto 22px; padding: 8px 22px; border-radius: 6px; font-size: clamp(1.02rem, 1.6vw, 1.22rem); color: #3a2708; background: linear-gradient(180deg, #f7e2a2, #c9a24e); box-shadow: inset 0 1px 0 #fff5d6, inset 0 -2px 3px rgb(110 70 10 / 40%), 0 4px 8px -3px rgb(40 25 5 / 60%); }
.hub-group h2 small { font-family: var(--font-mono); font-size: .7rem; color: #6b4c14; letter-spacing: 0; }
.ind-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.ind-card { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 14px; align-items: center; padding: 14px 16px; border-radius: 4px !important; background: repeating-linear-gradient(180deg, transparent 0 23px, rgb(46 91 154 / 12%) 23px 24px), linear-gradient(180deg, #fffdf8, #f7efdd) !important; border-top: 3px solid var(--acc, var(--wax)) !important; transition: transform .22s var(--ease), box-shadow .22s; }
.ind-card[hidden], li[hidden] { display: none; }
.ind-card:hover { transform: translateY(-6px); box-shadow: var(--card-shadow-hover); }
.ind-card .clay-bubble { grid-row: span 2; width: 46px; height: 46px; }
.ind-card .clay-bubble .icon { width: 21px; height: 21px; }
.ind-card h3 { font-size: 1.02rem; line-height: 1.25; }
.ind-card p { font-family: var(--font-mono); font-size: .72rem; color: var(--muted); display: flex; gap: 10px; flex-wrap: wrap; }
.ind-card p b { color: var(--wax); }
.hub-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 44px; }
.hub-bar .search { max-width: 420px; }
/* "how" steps = numbered ticket stubs */
.how { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: how; }
.how li { position: relative; padding: 24px 22px 22px; display: grid; gap: 10px; align-content: start; background: linear-gradient(180deg, #fffdf6, #f5ecd6) !important; border-radius: 6px !important; }
.how li::before { counter-increment: how; content: "No. 0" counter(how); font-family: var(--font-mono); font-size: .78rem; font-weight: 600; letter-spacing: .12em; color: var(--wax); padding-bottom: 10px; border-bottom: 2px dashed var(--line); }
.how h3 { font-size: 1.12rem; }
.how p { color: var(--muted); font-size: .95rem; }
@media (max-width: 960px) { .how { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .how { grid-template-columns: 1fr; } }
.info-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.info-list li { display: flex; gap: 14px; padding: 16px; border-radius: 8px; background: linear-gradient(180deg, #fffdf8, #f8f1e1); border: 1px solid var(--line); box-shadow: 0 2px 0 var(--line); }
.info-list li .clay-bubble { width: 40px; height: 40px; flex: none; }
.info-list li .clay-bubble .icon { width: 18px; height: 18px; }
.info-list strong { display: block; font-weight: 600; margin-bottom: 2px; }
.info-list span { color: var(--muted); font-size: .93rem; }
@media (max-width: 640px) { .info-list { grid-template-columns: 1fr; } }

/* ---------- Forms ---------- */
.form { display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 7px; }
.field label { font-family: var(--font-mono); font-size: .76rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.field label .req { color: var(--wax); }
.field input, .field select, .field textarea { padding: 12px 14px; }
.field textarea { min-height: 120px; resize: vertical; }
.field[data-invalid] input, .field[data-invalid] textarea, .field[data-invalid] select { border-color: var(--wax); }
.field__error { font-size: .84rem; font-weight: 600; color: var(--wax); }
.field__error:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { display: none; align-items: flex-start; gap: 12px; padding: 14px 16px; border-radius: 8px; font-weight: 600; }
.form__status.is-success { display: flex; background: #e3ecd6; color: #2d4128; border: 1px solid #b8c9a5; }
.form__status.is-error { display: flex; background: #f6d8d1; color: #5a1a13; border: 1px solid #dca094; }
.form__fine { font-size: .8rem; color: var(--muted); }

/* ---------- Events explorer ---------- */
.explorer__bar { display: grid; grid-template-columns: minmax(0, 1fr) 260px auto; gap: 12px; align-items: center; margin-bottom: 18px; }
.explorer__bar .search { max-width: none; }
.select { position: relative; }
.select select { appearance: none; padding: 0 42px 0 16px; }
.select .icon { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--muted); width: 18px; height: 18px; }
@media (max-width: 820px) { .explorer__bar { grid-template-columns: 1fr; } }
.cat-chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 12px; margin-bottom: 8px; }
.cat-chip { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 13px; border-radius: 6px; border: 1px solid var(--line); background: #fffdf6; font-size: .85rem; font-weight: 500; color: var(--ink-2); box-shadow: 0 2px 0 var(--line); transition: transform .1s; }
.cat-chip small { font-family: var(--font-mono); color: var(--muted); }
.cat-chip:active { transform: translateY(2px); box-shadow: none; }
.cat-chip[aria-pressed="true"] { color: #2c1f06; background: linear-gradient(180deg, #f3dc9c, #cfa853); border-color: #8a6322; box-shadow: inset 0 1px 0 #fff4cf, 0 2px 0 #7a561c; }
.cat-chip[aria-pressed="true"] small { color: #5a3f0c; }
.event-table { width: 100%; border-collapse: separate; border-spacing: 0; }
.event-table th { text-align: left; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 0 14px 8px; border-bottom: 2px solid var(--ink); }
.event-table td { padding: 12px 14px; border-bottom: 1px solid rgb(46 91 154 / 22%); }
.event-table td:first-child { font-family: var(--font-mono); color: var(--wax); width: 64px; }
.event-table td:last-child { text-align: right; width: 1%; white-space: nowrap; }
.event-table tr:hover td { background: rgb(195 154 69 / 9%); }
.event-name { font-weight: 600; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 3px; font-family: var(--font-mono); font-size: .72rem; border: 1.5px solid var(--acc, var(--airmail)); color: var(--acc, var(--airmail)); white-space: nowrap; background: #fffdf6; }
.event-table .btn { min-height: 36px; padding: 0 13px; font-size: .82rem; }
@media (max-width: 720px) {
  .event-table thead { display: none; }
  .event-table, .event-table tbody, .event-table tr, .event-table td { display: block; width: 100%; }
  .event-table tr { padding: 12px 4px; border-bottom: 1px solid rgb(46 91 154 / 25%); display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; align-items: center; }
  .event-table td { padding: 0; border: 0; width: auto !important; text-align: left !important; }
  .event-table td:first-child { display: none; }
  .event-table td:nth-child(2) { grid-column: 1 / -1; }
}
.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 18px; }
.pager__info { font-family: var(--font-mono); color: var(--muted); font-size: .82rem; }
.pager__btns { display: flex; gap: 6px; flex-wrap: wrap; }
.pager button { min-width: 42px; min-height: 42px; padding: 0 12px; border-radius: 8px; border: 1px solid #c9b995; background: linear-gradient(180deg, #fffdf6, #efe5cd); font-family: var(--font-mono); font-weight: 600; box-shadow: 0 2px 0 #cbbb96; }
.pager button:active:not(:disabled) { transform: translateY(2px); box-shadow: none; }
.pager button[aria-current="page"] { color: #2c1f06; background: linear-gradient(180deg, #f3dc9c, #cfa853); border-color: #8a6322; }
.pager button:disabled { opacity: .4; cursor: not-allowed; }
.flags { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 14px; }
.flag { display: grid; justify-items: center; gap: 10px; padding: 18px 10px; font-weight: 500; text-align: center; }
.flag img { width: 60px; height: 60px; object-fit: cover; border-radius: 50%; box-shadow: 0 0 0 4px #fff, 0 0 0 5px var(--line), 0 6px 10px -4px rgb(60 40 10 / 45%); }
@media (max-width: 1000px) { .flags { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 520px) { .flags { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Contact / legal ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.contact-card { display: grid; gap: 12px; align-content: start; padding: 22px; }
.contact-card h3 { font-size: 1.05rem; }
.contact-card p, .contact-card a { color: var(--ink-2); }
.contact-card a:hover { color: var(--wax); }
@media (max-width: 900px) { .contact-cards { grid-template-columns: 1fr; } }
.map-frame { overflow: hidden; padding: 10px; }
.map-frame iframe { width: 100%; height: 420px; border: 0; border-radius: 6px; display: block; filter: sepia(.25) saturate(.9); }
.legal { display: grid; gap: 28px; }
.legal h2 { font-size: 1.3rem; margin-bottom: 10px; }
.legal p, .legal li { color: var(--ink-2); }
.legal ul { display: grid; gap: 8px; }
.legal li { display: flex; gap: 10px; }
.legal li::before { content: "§"; flex: none; color: var(--wax); font-family: var(--font-display); }
.legal section { display: grid; gap: 10px; }

/* ---------- Footer: leather ---------- */
.pre-footer { padding-top: 20px; }
.site-footer { position: relative; margin-top: 60px; padding: clamp(56px, 7vw, 86px) 0 0; color: #cbbd9c; background: var(--leather-grain), linear-gradient(180deg, #232d49, #141a2c); border-top: 4px double var(--brass); }
.site-footer::before { content: ""; position: absolute; inset: 10px; border: 1px dashed rgb(239 213 148 / 20%); border-radius: 8px; pointer-events: none; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.footer__brand .brand__logo { width: 260px; }
.footer__brand p { margin: 18px 0 20px; max-width: 38ch; }
.footer__badges { display: flex; gap: 12px; }
.footer__badges img { width: 56px; height: 56px; border-radius: 50%; background: #fff; padding: 3px; box-shadow: 0 0 0 2px var(--brass); }
.site-footer h2 { font-family: var(--font-mono); font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--brass-hi); margin-bottom: 18px; }
.footer__links { display: grid; gap: 10px; }
.footer__links a:hover { color: #fff; }
.footer__contact { display: grid; gap: 14px; }
.footer__contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer__contact .icon { color: var(--brass); margin-top: 3px; width: 18px; height: 18px; }
.footer__contact a:hover { color: #fff; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding: 22px 0; border-top: 1px dashed rgb(239 213 148 / 25%); font-size: .86rem; }
.footer__bottom a:hover { color: #fff; }
.footer__wordmark { font-family: var(--font-display); font-style: italic; font-weight: 600; font-size: clamp(1.9rem, 8.4vw, 8.5rem); letter-spacing: -0.03em; line-height: .9; text-align: center; margin-top: 40px; overflow: hidden; color: transparent; -webkit-text-stroke: 1px rgb(239 213 148 / 18%); user-select: none; white-space: nowrap; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- Reveal & misc ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.nf { min-height: 100svh; display: grid; place-items: center; text-align: center; }
.nf__code { font-family: var(--font-mono); font-size: clamp(5rem, 20vw, 12rem); font-weight: 600; line-height: .9; color: var(--wax); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } .js [data-reveal] { opacity: 1; transform: none; } }
@media (forced-colors: active) { .btn, .clay, .glass, .field input, .field textarea { border: 1px solid ButtonText; } }
@media print { .site-header, .drawer, .site-footer, .pre-footer, canvas { display: none !important; } }

.hero .scene-frame { max-width: 440px; }
@media (max-width: 900px) { .hero .scene-frame { max-width: 340px; } }
.site-footer { overflow: hidden; }
.stat-strip dd { overflow-wrap: anywhere; hyphens: auto; }
@media (max-width: 640px) { .stat-strip dd { font-size: .76rem; } }

/* ---------- Expo floor instrument (WebGL hall + thin-line HUD) ---------- */
.expo { margin: 0; }
.expo__stage { position: relative; aspect-ratio: 16 / 9; min-height: 420px; border-radius: 18px; overflow: hidden; isolation: isolate;
  background: var(--paper-grain), radial-gradient(90% 80% at 50% 45%, #fbf6ea, #ece0c4 75%, #dfcfa8);
  box-shadow: inset 0 0 0 1px #cdb98c, inset 0 0 0 7px #f5ecd6, inset 0 0 0 8px #cdb98c, inset 0 10px 30px -12px rgb(60 40 10 / 40%), var(--card-shadow); }
.expo__stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.expo__grid { position: absolute; inset: 8px; z-index: 1; pointer-events: none; border-radius: 12px;
  background: linear-gradient(90deg, transparent calc(50% - .5px), rgb(29 36 54 / 12%) 50%, transparent calc(50% + .5px)), linear-gradient(0deg, transparent calc(50% - .5px), rgb(29 36 54 / 12%) 50%, transparent calc(50% + .5px));
  mask: radial-gradient(closest-side, transparent 60%, #000); }
.expo__hud { position: absolute; inset: 0; z-index: 2; pointer-events: none; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .12em; color: var(--ink); }
.expo__hud svg { overflow: visible; }
.hud { position: absolute; line-height: 1.5; }
.hud b { font-weight: 600; font-size: 1.05rem; letter-spacing: .04em; }
.hud__dim { color: var(--muted); }
.hud--tl { left: 26px; top: 22px; }
.hud__dot { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--wax); box-shadow: 0 0 0 3px rgb(163 52 42 / 18%); vertical-align: 1px; }
@media (prefers-reduced-motion: no-preference) { .hud__dot { animation: hudBlink 1.6s steps(2) infinite; } }
@keyframes hudBlink { 50% { opacity: .25; } }
.hud--tr { right: 26px; top: 22px; text-align: right; display: grid; justify-items: end; }
.hud__spark { width: 110px; height: 24px; margin-top: 4px; }
.hud__spark polyline { fill: none; stroke: var(--airmail); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.hud-gauge { position: absolute; right: 30px; top: 50%; width: 132px; aspect-ratio: 1; transform: translateY(-50%); }
.hud-gauge svg { width: 100%; height: 100%; }
.hud-gauge__ticks line { stroke: var(--ink); stroke-width: .5; opacity: .55; }
.hud-gauge__track { fill: none; stroke: rgb(29 36 54 / 12%); stroke-width: 1; }
.hud-gauge__val { fill: none; stroke: var(--brass-lo); stroke-width: 2.2; transform: rotate(-90deg); transform-origin: 50% 50%; transition: stroke-dasharray .8s var(--ease); }
.hud-gauge__needle { transform-origin: 50px 50px; transition: transform .8s var(--ease); }
.hud-gauge__needle line { stroke: var(--wax); stroke-width: .9; } .hud-gauge__needle circle { fill: var(--wax); }
.hud-gauge__read { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; padding-top: 34px; }
.hud-gauge__read b { font-size: .95rem; letter-spacing: .02em; } .hud-gauge__read span { font-size: .52rem; color: var(--muted); }
.hud-slider { position: absolute; left: 30px; top: 50%; transform: translateY(-50%); height: 190px; width: 44px; display: flex; flex-direction: column; justify-content: space-between; border-left: 1px solid rgb(29 36 54 / 45%); padding-left: 12px; }
.hud-slider__stop { position: relative; font-size: .62rem; color: var(--muted); }
.hud-slider__stop i { position: absolute; left: -16px; top: 50%; width: 7px; height: 1px; background: var(--ink); }
.hud-slider__stop.is-on { color: var(--ink); font-weight: 600; }
.hud-slider__orb { position: absolute; left: -8px; top: 0; width: 15px; height: 15px; border-radius: 50%; transition: transform .7s var(--ease);
  background: radial-gradient(circle at 35% 30%, #fff4cf, var(--brass) 55%, var(--brass-lo)); box-shadow: 0 2px 4px rgb(60 40 10 / 45%), inset 0 -1px 2px rgb(0 0 0 / 25%); }
.hud-dial { position: absolute; left: 26px; bottom: 22px; display: flex; align-items: center; gap: 10px; }
.hud-dial svg { width: 62px; height: 62px; }
.hud-dial circle { fill: none; stroke: rgb(29 36 54 / 45%); stroke-width: .8; }
.hud-dial g { transform-origin: 50px 50px; } .hud-dial g line { stroke: var(--ink); stroke-width: 1; } .hud-dial g circle { fill: var(--brass); stroke: var(--brass-lo); }
.hud-dial span { font-size: .6rem; color: var(--muted); line-height: 1.5; } .hud-dial b { color: var(--ink); font-size: .95rem; }
.expo__board { position: absolute; right: 22px; bottom: 20px; z-index: 3; width: min(290px, 44%); padding: 12px 14px 10px; border-radius: 10px;
  background: rgb(251 247 238 / 88%); border: 1px solid #d3c29a; box-shadow: 0 10px 22px -14px rgb(60 40 10 / 60%), inset 0 1px 0 #fff; font-family: var(--font-mono); }
.expo__board-title { margin: 0 0 6px; font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.expo__board ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 5px; counter-reset: b; }
.expo__board li { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; font-size: .72rem; counter-increment: b; }
.expo__board li span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.expo__board li span::before { content: counter(b, decimal-leading-zero) "  "; color: var(--brass-lo); }
.expo__board li b { position: relative; font-weight: 600; min-width: 3.2ch; text-align: right; }
.expo__board li::after { content: ""; grid-column: 1 / -1; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--wax) var(--w, 0%), rgb(29 36 54 / 10%) 0); }
.expo__board li:nth-child(1)::after { --w: 100%; } .expo__board li:nth-child(2)::after { --w: 86%; } .expo__board li:nth-child(3)::after { --w: 72%; } .expo__board li:nth-child(4)::after { --w: 58%; }
.expo__cap { margin-top: 14px; font-size: .92rem; color: var(--ink-2); }
.expo__cap .muted { display: block; font-size: .8rem; }
.expo-section .section-head { max-width: 760px; }
@media (max-width: 860px) {
  .expo__stage { aspect-ratio: auto; }
  .hud-slider, .hud-dial { display: none; }
  .hud-gauge { width: 92px; right: 16px; top: 64px; transform: none; }
  .hud--tl { left: 16px; top: 16px; } .hud--tr { right: 16px; top: 16px; } .hud__spark { width: 80px; }
  .hud-gauge__read { padding-top: 22px; }
  .expo__stage { display: flex; flex-direction: column; min-height: 0; }
  .expo__stage canvas { position: relative; inset: auto; height: 360px; flex: none; }
  .expo__board { position: relative; right: auto; bottom: auto; width: auto; margin: 0 12px 12px; }
}
@media (max-width: 420px) { .hud--tr { display: none; } .expo__stage canvas { height: 320px; } }
