/* CivilContractors.ca: a public registry, not a brochure.
   Paper and navy with one safety-yellow accent. Big Shoulders Display (condensed industrial)
   for display, Instrument Sans for reading, IBM Plex Mono for every number on the record. */

:root {
  --paper: #f3f1ea; --paper-2: #e9e5da; --paper-3: #dad4c5; --white: #fbfaf6;
  --navy: #0d1b26; --navy-2: #16283a; --navy-3: #22384d; --navy-4: #33506a;
  --ink: #0d1b26; --ink-2: #2d3c49; --ink-3: #55626d;
  --y: #ffc20e; --y-2: #ffd65c; --y-ink: #7a5600;
  --line: rgba(13, 27, 38, .14); --line-2: rgba(13, 27, 38, .3);
  --bg: var(--paper); --bg-2: var(--paper-2); --fg: var(--ink); --fg-2: var(--ink-2); --fg-3: var(--ink-3); --acc: var(--y-ink);
  --disp: "Big Shoulders Display", "Oswald", "Arial Narrow", Impact, sans-serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --gut: clamp(16px, 4vw, 48px); --max: 1360px; --top: 68px;
  --e: cubic-bezier(.2, .8, .2, 1);
  color-scheme: light;
}
.dk, [data-surface="dark"] {
  --bg: var(--navy); --bg-2: var(--navy-2); --fg: #f3f1ea; --fg-2: #c6cdd3; --fg-3: #93a0ab; --acc: var(--y);
  --line: rgba(243, 241, 234, .14); --line-2: rgba(243, 241, 234, .3); color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --bg: #0a151e; --bg-2: #122231; --fg: #eeece5; --fg-2: #c3cad0; --fg-3: #93a0ab; --acc: var(--y);
    --line: rgba(243, 241, 234, .14); --line-2: rgba(243, 241, 234, .3); --white: #0f1d29; color-scheme: dark; }
}
:root[data-theme="dark"] { --bg: #0a151e; --bg-2: #122231; --fg: #eeece5; --fg-2: #c3cad0; --fg-3: #93a0ab; --acc: var(--y); --line: rgba(243,241,234,.14); --line-2: rgba(243,241,234,.3); --white: #0f1d29; color-scheme: dark; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--top) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 17px/1.6 var(--sans); overflow-x: clip; -webkit-font-smoothing: antialiased; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--acc); }
:focus-visible { outline: 3px solid var(--y); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--disp); font-weight: 800; line-height: .95; letter-spacing: .005em; margin: 0 0 .45em; text-wrap: balance; }
h1 { font-size: clamp(3rem, 8vw, 7.4rem); text-transform: uppercase; }
h2 { font-size: clamp(2rem, 4.4vw, 3.6rem); text-transform: uppercase; }
h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); }
p { margin: 0 0 1em; text-wrap: pretty; }
.wrap { width: min(100% - 2 * var(--gut), var(--max)); margin-inline: auto; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; z-index: 99; top: 8px; left: 8px; background: var(--y); color: #000; padding: 10px 14px; }
.eyebrow { font: 600 12px/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--acc); margin: 0 0 14px; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.35rem); line-height: 1.5; color: var(--fg-2); max-width: 60ch; }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; }

.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 2px solid currentColor;
  font: 700 15px/1 var(--sans); font-stretch: 90%; text-decoration: none; letter-spacing: .01em; background: transparent; color: inherit; cursor: pointer; transition: transform .2s var(--e), background .2s, color .2s; }
.btn:hover { transform: translateY(-2px); color: inherit; }
.btn-y { background: var(--y); border-color: var(--y); color: #0d1b26; }
.btn-y:hover { background: var(--y-2); border-color: var(--y-2); color: #0d1b26; }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 13px; }

/* ---------- top ---------- */
.top { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--top); display: flex; align-items: center; gap: 20px; padding: 0 var(--gut);
  background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(13,27,38,.12); color: var(--ink); transition: background .3s, color .3s; }
html[data-hero="dark"] .top:not(.solid) { background: transparent; border-color: transparent; color: #f3f1ea; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 9px; background: var(--y); color: #0d1b26; font: 900 17px/1 var(--disp); letter-spacing: .02em; }
.brand-name { font: 400 22px/1 var(--disp); letter-spacing: .01em; text-transform: uppercase; }
.brand-name b { font-weight: 900; }
.brand-name i { font-style: normal; color: var(--y-ink); font-weight: 700; }
html[data-hero="dark"] .top:not(.solid) .brand-name i { color: var(--y); }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav a { display: block; padding: 9px 12px; border-radius: 999px; font: 600 14px/1 var(--sans); text-decoration: none; }
.nav a:hover { background: rgba(13,27,38,.07); color: inherit; }
html[data-hero="dark"] .top:not(.solid) .nav a:hover { background: rgba(255,255,255,.1); }
.nav a[aria-current] { background: var(--navy); color: #fff; }
.top-end { display: flex; align-items: center; gap: 10px; }
.film-toggle { font: 500 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; background: none; border: 1px solid currentColor; opacity: .7; border-radius: 999px; padding: 8px 11px; cursor: pointer; color: inherit; }
.film-toggle .off, html[data-motion="off"] .film-toggle .on { display: none; }
html[data-motion="off"] .film-toggle .off { display: inline; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: none; position: relative; cursor: pointer; color: inherit; }
.burger span:not(.sr) { position: absolute; left: 11px; right: 11px; height: 2.5px; background: currentColor; border-radius: 2px; transition: transform .25s var(--e); }
.burger span:nth-child(1) { top: 17px; } .burger span:nth-child(2) { top: 25px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
.drawer-nav { position: fixed; inset: 0; z-index: 45; background: var(--navy); color: #f3f1ea; padding: calc(var(--top) + 24px) var(--gut) 40px; overflow: auto; }
.drawer-nav ul { list-style: none; padding: 0; margin: 0; }
.drawer-nav a { display: block; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.12); font: 800 clamp(2rem, 9vw, 3rem)/1 var(--disp); text-transform: uppercase; text-decoration: none; }
@media (max-width: 1080px) { .nav { display: none; } .burger { display: block; } .top-end { margin-left: auto; } }
@media (max-width: 560px) { .film-toggle, .top-end .btn { display: none; } .brand-name { font-size: 19px; } }

/* ---------- film ---------- */
.film { position: absolute; inset: 0; overflow: hidden; background: #081119; }
.film-poster, .film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film video { opacity: 0; transition: opacity 1s ease; }
.film.playing video { opacity: 1; }
.film-tag { position: absolute; z-index: 3; right: var(--gut); bottom: 16px; font: 500 10.5px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.75); text-shadow: 0 1px 6px rgba(0,0,0,.6); }
.veil::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(8,17,25,.55) 0%, rgba(8,17,25,.1) 30%, rgba(8,17,25,.35) 62%, rgba(8,17,25,.92) 100%); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; align-items: end; color: #f3f1ea; isolation: isolate; }
.hero .film { z-index: -1; }
.hero-in { position: relative; z-index: 2; padding: calc(var(--top) + 10vh) 0 40px; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); gap: 32px 56px; align-items: end; }
.hero h1 { margin: 0 0 .2em; font-size: clamp(3.4rem, 9.5vw, 9.4rem); line-height: .84; }
.hero h1 span { color: var(--y); }
.hero .lede { color: #d6dde2; }
.stamp { width: 168px; height: 168px; border-radius: 50%; border: 3px solid var(--y); color: var(--y); display: grid; place-items: center; text-align: center; transform: rotate(-12deg);
  font: 800 15px/1.05 var(--disp); letter-spacing: .08em; text-transform: uppercase; box-shadow: inset 0 0 0 7px transparent, inset 0 0 0 9px rgba(255,194,14,.6); justify-self: end; }
.stamp b { display: block; font-size: 44px; line-height: .9; letter-spacing: .01em; }
.search { position: relative; margin-top: 26px; max-width: 640px; }
.search input { width: 100%; height: 60px; border-radius: 999px; border: 0; padding: 0 60px 0 26px; font: 500 18px/1 var(--sans); color: var(--ink); background: #fbfaf6; box-shadow: 0 12px 40px rgba(0,0,0,.25); }
.search input::placeholder { color: #6b7780; }
.search svg { position: absolute; right: 22px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; color: var(--navy); }
.search-results { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 20; background: #fbfaf6; color: var(--ink); border-radius: 18px; box-shadow: 0 20px 50px rgba(0,0,0,.3); overflow: hidden; list-style: none; margin: 0; padding: 6px; }
.search-results a { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 10px 14px; border-radius: 12px; text-decoration: none; }
.search-results a:hover, .search-results a:focus { background: var(--paper-2); color: inherit; outline: none; }
.search-results b { font-weight: 650; }
.search-results span { font: 500 12px/1.3 var(--mono); color: var(--ink-3); }
.search-results em { grid-column: 2; grid-row: 1 / span 2; align-self: center; font: 600 13px/1 var(--mono); font-style: normal; color: var(--y-ink); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: 38px; border-top: 1px solid rgba(255,255,255,.22); }
.stats div { padding: 16px 16px 0 0; }
.stats b { display: block; font: 800 clamp(2.2rem, 4.4vw, 3.6rem)/.9 var(--disp); color: #fff; }
.stats span { display: block; margin-top: 6px; font: 500 12px/1.35 var(--mono); color: #a9b5be; text-transform: uppercase; letter-spacing: .06em; }
@media (max-width: 900px) { .hero-in { grid-template-columns: 1fr; } .stamp { display: none; } .stats { grid-template-columns: 1fr 1fr; } }

/* ---------- ticker ---------- */
.ticker { background: var(--y); color: #0d1b26; overflow: hidden; border-block: 2px solid #0d1b26; }
.ticker-track { display: flex; width: max-content; animation: tick 90s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker a { display: inline-flex; align-items: baseline; gap: 12px; padding: 14px 28px; white-space: nowrap; text-decoration: none; border-right: 2px solid rgba(13,27,38,.25); font: 600 15px/1 var(--sans); }
.ticker a b { font: 700 16px/1 var(--mono); }
.ticker a span { font: 500 12px/1 var(--mono); opacity: .75; }
.ticker a:hover { background: #0d1b26; color: var(--y); }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.sec { padding: clamp(64px, 9vw, 128px) 0; background: var(--bg); color: var(--fg); position: relative; }
.sec-tight { padding: clamp(40px, 5vw, 72px) 0; }
.sec-2 { background: var(--bg-2); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 24px 56px; align-items: end; margin-bottom: clamp(28px, 4vw, 52px); }
.sec-head h2 { margin: 0; }
.sec-head p { margin: 0; color: var(--fg-2); max-width: 54ch; }
@media (max-width: 860px) { .sec-head { grid-template-columns: 1fr; } }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: s; list-style: none; margin: 0; padding: 0; }
.steps li { counter-increment: s; background: var(--white); border: 2px solid var(--fg); border-radius: 22px; padding: 26px 24px; position: relative; }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; font: 900 64px/.8 var(--disp); color: var(--y); -webkit-text-stroke: 2px var(--fg); margin-bottom: 18px; }
.steps h3 { margin-bottom: .35em; }
.steps p { margin: 0; color: var(--fg-2); font-size: 15.5px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* ledger (registry table) */
.ledger { width: 100%; border-collapse: collapse; font-size: 15px; }
.ledger-wrap { overflow-x: auto; border: 2px solid var(--fg); border-radius: 18px; background: var(--white); }
.ledger thead th { position: sticky; top: 0; background: var(--navy); color: #eef1f3; text-align: left; font: 600 11px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; padding: 13px 14px; white-space: nowrap; }
.ledger td, .ledger tbody th { padding: 13px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.ledger tbody tr:last-child td, .ledger tbody tr:last-child th { border-bottom: 0; }
.ledger tbody tr:hover { background: color-mix(in srgb, var(--y) 12%, transparent); }
.ledger .n { text-align: right; font-family: var(--mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ledger .reg { font: 600 12px/1.4 var(--mono); color: var(--fg-3); white-space: nowrap; }
.ledger tbody th a { font-weight: 650; text-decoration: none; }
.ledger tbody th a:hover { text-decoration: underline; }
.ledger small { display: block; font: 500 12px/1.45 var(--mono); color: var(--fg-3); margin-top: 3px; }
.ledger .min { min-width: 640px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 8px; border-radius: 999px; border: 1.5px solid var(--fg); font: 600 11px/1.1 var(--mono); text-transform: uppercase; letter-spacing: .04em; background: var(--white); text-decoration: none; white-space: nowrap; }
.chip i { width: 9px; height: 9px; border-radius: 50%; background: var(--c, var(--y)); box-shadow: inset 0 0 0 1px rgba(0,0,0,.2); }

/* sticker cards (work types) */
.stickers { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.sticker a { display: grid; grid-template-rows: auto 1fr auto; height: 100%; border-radius: 24px; overflow: hidden; border: 2px solid var(--fg); background: var(--white); text-decoration: none; transition: transform .25s var(--e), box-shadow .25s; }
.sticker a:hover { transform: translateY(-4px) rotate(-.4deg); box-shadow: 8px 8px 0 var(--fg); color: inherit; }
.sticker .ph { position: relative; aspect-ratio: 16 / 9; background: #081119; }
.sticker .ph img, .sticker .ph video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sticker .ph video { opacity: 0; transition: opacity .5s; } .sticker .ph.playing video { opacity: 1; }
.sticker .band { height: 10px; background: var(--c); }
.sticker .bd { padding: 18px 20px 20px; }
.sticker h3 { margin: 0 0 6px; text-transform: uppercase; }
.sticker p { margin: 0; color: var(--fg-2); font-size: 15px; }
.sticker .ct { font: 600 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--fg-3); padding: 0 20px 18px; }

/* tile map */
.tilemap { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); grid-template-rows: repeat(4, auto); gap: 8px; max-width: 980px; }
.tile { aspect-ratio: 1; border-radius: 18px; border: 2px solid var(--fg); background: var(--white); display: flex; flex-direction: column; justify-content: space-between; padding: 12px; text-decoration: none; transition: transform .2s var(--e), background .2s; position: relative; overflow: hidden; }
.tile:hover { transform: scale(1.05); z-index: 2; color: inherit; }
.tile b { font: 900 clamp(1.3rem, 2.8vw, 2.4rem)/.9 var(--disp); }
.tile span { font: 600 clamp(10px, 1.1vw, 12px)/1.2 var(--mono); }
.tile[data-level="0"] { background: transparent; border-style: dashed; opacity: .55; }
.tile[data-level="1"] { background: color-mix(in srgb, var(--y) 25%, var(--white)); }
.tile[data-level="2"] { background: color-mix(in srgb, var(--y) 55%, var(--white)); }
.tile[data-level="3"] { background: var(--y); color: #0d1b26; }
@media (max-width: 640px) { .tilemap { gap: 4px; } .tile { border-radius: 10px; padding: 6px; } .tile span { display: none; } }

/* check list */
.checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 14px; list-style: none; padding: 0; margin: 0; }
.checks li { border-top: 4px solid var(--y); background: var(--white); padding: 18px 18px 20px; border-radius: 0 0 16px 16px; }
.checks h3 { font-size: 1.35rem; margin-bottom: 8px; }
.checks p { margin: 0; font-size: 15px; color: var(--fg-2); }

/* triptych films */
.trip { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 10px; height: clamp(260px, 38vw, 520px); }
.trip > div { position: relative; border-radius: 24px; overflow: hidden; }
@media (max-width: 760px) { .trip { grid-template-columns: 1fr; height: auto; } .trip > div { aspect-ratio: 16/10; } }

/* cta */
.cta-strip { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px 40px; align-items: center; background: var(--navy); color: #f3f1ea; border-radius: 28px; padding: clamp(24px, 4vw, 44px); margin: clamp(32px, 5vw, 64px) 0; }
.cta-strip h2 { margin-bottom: .2em; color: #fff; }
.cta-strip p { margin: 0; color: #c6cdd3; }
.cta-strip .eyebrow { color: var(--y); }
@media (max-width: 760px) { .cta-strip { grid-template-columns: 1fr; } }
.finale { position: relative; min-height: 80svh; display: grid; align-items: center; color: #f3f1ea; isolation: isolate; }
.finale .film { z-index: -1; }
.finale h2 { font-size: clamp(3rem, 8vw, 8rem); line-height: .86; max-width: 11ch; }
.finale h2 span { color: var(--y); }
.finale p { color: #d6dde2; font-size: 1.15rem; max-width: 50ch; }

/* ---------- page head (inner pages) ---------- */
.phead { padding: calc(var(--top) + clamp(40px, 8vw, 96px)) 0 clamp(32px, 5vw, 56px); background: var(--bg); border-bottom: 2px solid var(--fg); position: relative; overflow: hidden; }
.phead.has-film { color: #f3f1ea; min-height: min(62svh, 620px); display: grid; align-items: end; border: 0; isolation: isolate; }
.phead.has-film .film { z-index: -1; }
.phead.has-film .lede { color: #d6dde2; }
.phead h1 { font-size: clamp(2.8rem, 7vw, 6.4rem); max-width: 18ch; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 20px; font: 500 12px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .05em; opacity: .8; }
.crumbs li + li::before { content: "›"; margin-right: 6px; }
.crumbs a { text-decoration: none; }
.meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 20px; font: 500 12px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--fg-3); }
.phead.has-film .meta { color: #b9c3ca; }
.meta b { color: inherit; font-weight: 700; }

/* profile */
.profile-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; padding: clamp(40px, 6vw, 72px) 0; }
@media (max-width: 960px) { .profile-grid { grid-template-columns: 1fr; } }
.reg-badge { display: inline-flex; align-items: center; gap: 10px; font: 600 13px/1 var(--mono); letter-spacing: .06em; background: var(--y); color: #0d1b26; padding: 8px 14px; border-radius: 999px; margin-bottom: 18px; }
.kv { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 0; border: 2px solid var(--fg); border-radius: 18px; overflow: hidden; background: var(--white); margin-bottom: 28px; }
.kv div { padding: 16px 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.kv b { display: block; font: 800 2rem/1 var(--disp); }
.kv span { display: block; margin-top: 6px; font: 500 11px/1.3 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--fg-3); }
.side { display: grid; gap: 16px; align-content: start; }
.side .box { border: 2px solid var(--fg); border-radius: 18px; padding: 20px; background: var(--white); }
.side .box h2 { font-size: 1.5rem; margin-bottom: 10px; }
.side .box p, .side .box li { font-size: 15px; color: var(--fg-2); }
.side .box ul { padding-left: 1.1em; margin: 0 0 1em; }
.note { border-left: 4px solid var(--y); background: var(--bg-2); padding: 14px 18px; border-radius: 0 12px 12px 0; font-size: 15px; margin: 18px 0; }
.note p:last-child { margin: 0; }
.prose { max-width: 72ch; }
.prose h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); margin-top: 1.3em; }
.prose h3 { margin-top: 1.4em; }
.prose li { margin-bottom: .45em; }
.prose a { text-decoration-color: var(--y); text-decoration-thickness: 2px; }

/* filters */
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; margin-bottom: 18px; }
.filters label { display: grid; gap: 6px; font: 600 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--fg-3); }
.filters input, .filters select { height: 46px; border-radius: 999px; border: 2px solid var(--fg); background: var(--white); color: var(--fg); padding: 0 18px; font: 500 15px/1 var(--sans); min-width: 200px; }
.filters .count { margin-left: auto; font: 600 13px/1 var(--mono); color: var(--fg-3); }

/* forms */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; background: var(--white); border: 2px solid var(--fg); border-radius: 24px; padding: clamp(20px, 3vw, 36px); }
.form .wide { grid-column: 1 / -1; }
.field { display: grid; gap: 7px; }
.field label, .field .lbl { font: 600 11px/1.2 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--fg-3); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; border: 2px solid var(--line-2); border-radius: 14px; padding: 12px 14px; font: 500 16px/1.35 var(--sans); background: var(--bg); color: var(--fg); }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--fg); outline: 3px solid var(--y); outline-offset: 0; }
.opts { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.opt span { display: flex; gap: 10px; align-items: center; min-height: 52px; padding: 10px 14px; border: 2px solid var(--line-2); border-radius: 14px; font-size: 15px; line-height: 1.2; background: var(--bg); }
.opt span::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--c, var(--y)); flex: none; box-shadow: inset 0 0 0 1px rgba(0,0,0,.25); }
.opt input:checked + span { border-color: var(--fg); background: color-mix(in srgb, var(--y) 30%, var(--bg)); }
.opt input:focus-visible + span { outline: 3px solid var(--y); }
.consent { grid-column: 1 / -1; display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: 14.5px; color: var(--fg-2); }
.consent input { width: 20px; height: 20px; accent-color: var(--navy); margin-top: 2px; }
.hp { position: absolute; left: -9999px; }
.status { grid-column: 1 / -1; font: 600 14px/1.5 var(--mono); margin: 0; }
.status[data-state="error"] { color: #b3261e; } .status[data-state="success"] { color: #1e7d44; }
@media (max-width: 760px) { .form { grid-template-columns: 1fr; } }

/* footer */
.foot { background: var(--navy); color: #c6cdd3; padding: 64px 0 32px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.12); }
.foot-brand { font: 400 30px/1 var(--disp); text-transform: uppercase; color: #fff; margin-bottom: 12px; }
.foot-brand b { font-weight: 900; } .foot-brand i { font-style: normal; color: var(--y); font-weight: 700; }
.foot h2 { font: 600 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #93a0ab; margin-bottom: 14px; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li a { display: block; padding: 5px 0; text-decoration: none; }
.foot a:hover { color: var(--y); }
.foot-legal { padding-top: 22px; font-size: 13px; color: #93a0ab; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }

.rv { opacity: 1; }
.js .rv { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--e), transform .8s var(--e); }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .js .rv { opacity: 1; transform: none; } }
html[data-motion="off"] .ticker-track { animation: none; }
