/* Self-hosted fonts (latin subset). Cormorant Garamond and Outfit are licensed under the SIL Open Font License. */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500 700; font-display: swap; src: url("/fonts/cormorant-garamond-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500 600; font-display: swap; src: url("/fonts/cormorant-garamond-italic-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 300 600; font-display: swap; src: url("/fonts/outfit-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Aetherwise — premium dark theme: midnight navy, gold, serif display */
html, body { background: #090d12; }
:root {
  --bg: #090d12;
  --bg-2: #0d1825;
  --bg-3: #132035;
  --foot: #06090d;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.09);
  --line-gold: rgba(237, 208, 127, 0.22);
  --pearl: #f5f0e8;
  --text: #cfc8ba;
  --muted: #a39d92;
  --gold: #f0c040;
  --gold-2: #c8a030;
  --gold-3: #edd07f;
  --gold-soft: rgba(240, 192, 64, 0.09);
  --wa: #5fd38d;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --wrap: 1180px;
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--text);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
::selection { background: var(--gold); color: var(--bg); }
img { max-width: 100%; display: block; }
a { color: var(--gold-3); text-decoration-color: rgba(237, 208, 127, 0.45); text-underline-offset: 3px; }
a:hover { color: var(--gold); text-decoration-color: var(--gold); }
h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--pearl);
  font-weight: 700;
  line-height: 1.08;
  margin: 0 0 0.55em;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3 { font-size: 1.5rem; font-weight: 600; line-height: 1.2; }
p { margin: 0 0 1em; }
strong { color: var(--pearl); font-weight: 500; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
h1 em, h2 em, .hero h1 em {
  font-style: italic; font-weight: 600;
  background: linear-gradient(100deg, var(--gold-3) 0%, var(--gold) 45%, var(--gold-2) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: 0.04em;
}

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--gold); color: var(--bg); padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

/* ---------- top bar ---------- */
.topbar { background: #05080b; color: var(--muted); font-size: 0.82rem; border-bottom: 1px solid var(--line); }
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; padding-top: 7px; padding-bottom: 7px; }
.topbar a { color: var(--pearl); text-decoration: none; display: inline-block; padding: 4px 0; }
.topbar a:hover { color: var(--gold); }
.topbar span + span::before { content: "·"; margin: 0 10px; color: var(--gold-2); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(9, 13, 18, 0.78);
  -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s, border-color 0.3s;
}
.site-header.scrolled { box-shadow: 0 14px 40px -24px rgba(0, 0, 0, 0.9); border-bottom-color: var(--line-gold); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 13px; text-decoration: none; color: var(--pearl); }
.brand-mark { width: 46px; height: 46px; flex: none; display: block; border-radius: 12px; box-shadow: 0 8px 22px -10px rgba(240, 192, 64, 0.65); }
.brand-mark svg { width: 100%; height: 100%; display: block; }
.brand-name { display: block; font-family: var(--serif); font-size: 1.5rem; font-weight: 700; line-height: 1; color: var(--pearl); letter-spacing: 0.005em; }
.brand-tag { display: block; font-size: 0.66rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-top: 5px; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav a.link { display: inline-block; text-decoration: none; font-size: 0.95rem; font-weight: 400; color: var(--text); padding: 11px 0; border-bottom: 1px solid transparent; transition: color 0.2s, border-color 0.2s; }
.nav a.link:hover { color: var(--pearl); border-bottom-color: var(--line-gold); }
.nav a.link[aria-current] { color: var(--gold); border-bottom-color: var(--gold); }
.nav-toggle { display: none; background: transparent; border: 1px solid var(--line-gold); border-radius: 8px; padding: 9px 16px; min-height: 44px; font: 500 0.88rem var(--sans); color: var(--pearl); cursor: pointer; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font: 500 0.95rem/1 var(--sans); letter-spacing: 0.01em;
  padding: 15px 26px; min-height: 48px; border-radius: 8px;
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--gold-3), var(--gold) 50%, var(--gold-2));
  color: #0b0f14;
  text-decoration: none; cursor: pointer;
  box-shadow: 0 10px 30px -14px rgba(240, 192, 64, 0.7);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), filter 0.2s;
}
.btn:hover { color: #0b0f14; transform: translateY(-2px); box-shadow: 0 16px 36px -14px rgba(240, 192, 64, 0.85); filter: brightness(1.05); }
.btn.ghost { background: transparent; color: var(--pearl); border-color: var(--line-gold); box-shadow: none; }
.btn.ghost:hover { color: var(--gold); border-color: var(--gold); background: var(--gold-soft); }
.btn.wa { background: transparent; color: var(--wa); border-color: rgba(95, 211, 141, 0.45); box-shadow: none; }
.btn.wa:hover { color: #0b0f14; background: var(--wa); border-color: var(--wa); }
.btn.small { padding: 11px 18px; min-height: 44px; font-size: 0.9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- sections ---------- */
section { padding: 104px 0; position: relative; }
section[id] { scroll-margin-top: 88px; }
section.tint { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 0.74rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); }
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head p { font-size: 1.08rem; color: var(--text); margin: 0; }
.section-head.split { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
.section-head.split > div { max-width: 720px; }
.lead { font-size: 1.16rem; color: var(--text); max-width: 60ch; font-weight: 300; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: 96px 0 104px;
  background:
    radial-gradient(60% 70% at 82% 18%, rgba(240, 192, 64, 0.13) 0%, transparent 60%),
    radial-gradient(50% 60% at 8% 92%, rgba(19, 32, 53, 0.9) 0%, transparent 70%),
    var(--bg);
  border-bottom: 1px solid var(--line);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.hero .wrap { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 64px; align-items: center; }
.hero h1 { font-size: clamp(3rem, 6.6vw, 5.6rem); line-height: 1; margin-bottom: 26px; }
.hero .lead { margin-bottom: 36px; }
.fact-panel {
  position: relative;
  background: linear-gradient(160deg, rgba(19, 32, 53, 0.85), rgba(13, 24, 37, 0.85));
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid var(--line-gold); border-radius: 18px; padding: 32px;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.fact-panel::before { content: ""; position: absolute; left: 32px; right: 32px; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.fact-panel h2 { font-size: 1.2rem; margin-bottom: 4px; }
.fact-list { list-style: none; margin: 0; padding: 0; }
.fact-list li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.fact-list strong { display: block; color: var(--pearl); font-size: 1rem; font-weight: 500; }
.fact-list span { font-size: 0.88rem; color: var(--muted); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 24px; }
.stats.four { grid-template-columns: repeat(4, 1fr); }
.stat b { display: block; font-family: var(--serif); font-size: 2.2rem; font-weight: 700; color: var(--gold); line-height: 1; font-variant-numeric: tabular-nums; }
.stat > span { display: block; margin-top: 6px; font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.stats.light { background: var(--surface); border: 1px solid var(--line-gold); border-radius: var(--radius); padding: 30px; margin-top: 48px; text-align: center; }
.stats.light .stat b { font-size: 2.6rem; }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; border-bottom: 1px solid var(--line); background: #0b1119; padding: 18px 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee-track span { font-family: var(--serif); font-style: italic; font-size: 1.35rem; color: #d9d3c7; white-space: nowrap; padding: 0 22px; }
.marquee-track span::after { content: "✦"; font-style: normal; font-size: 0.8rem; color: var(--gold); margin-left: 44px; vertical-align: middle; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* page hero (inner pages) */
.page-hero {
  position: relative; overflow: hidden;
  padding: 80px 0 72px;
  background: radial-gradient(55% 90% at 90% 0%, rgba(240, 192, 64, 0.1) 0%, transparent 60%), var(--bg);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { max-width: 20ch; font-size: clamp(2.6rem, 5.4vw, 4.4rem); }
.page-hero .lead { margin: 0; }
.crumbs { font-size: 0.84rem; color: var(--muted); margin-bottom: 22px; }
.crumbs a { color: var(--muted); text-decoration: none; display: inline-block; padding: 4px 0; }
.crumbs a:hover { color: var(--gold); }
.crumbs span[aria-current] { color: var(--pearl); }

/* ---------- cards / grids ---------- */
.grid { display: grid; gap: 22px; }
.grid.c2 { grid-template-columns: repeat(2, 1fr); }
.grid.c3 { grid-template-columns: repeat(3, 1fr); }
.grid.c4 { grid-template-columns: repeat(4, 1fr); }
.card {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 30px;
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.card h3 { margin-bottom: 10px; }
.card p { font-size: 0.97rem; margin-bottom: 0; color: var(--text); }
.card-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 22px; }
.card-top .num { margin-bottom: 0; }
.card .num { display: block; font-family: var(--sans); font-size: 0.78rem; font-weight: 500; color: var(--gold); letter-spacing: 0.18em; margin-bottom: 18px; }
.ico {
  width: 50px; height: 50px; display: grid; place-items: center; flex: none;
  border-radius: 12px; border: 1px solid var(--line-gold);
  background: radial-gradient(circle at 30% 20%, rgba(240, 192, 64, 0.16), rgba(240, 192, 64, 0.03));
  color: var(--gold);
}
.ico svg { width: 24px; height: 24px; }
.card.link { display: flex; flex-direction: column; }
.card.link:hover { border-color: var(--line-gold); transform: translateY(-4px); box-shadow: 0 28px 50px -30px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(240, 192, 64, 0.08); }
.card .more { display: inline-block; margin-top: auto; padding-top: 22px; padding-bottom: 4px; font-size: 0.9rem; font-weight: 500; text-decoration: none; color: var(--gold); letter-spacing: 0.01em; }
.card .more:hover { color: var(--gold-3); }
.card.note { background: var(--gold-soft); border-color: var(--line-gold); justify-content: center; }
.card ul { margin: 18px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); list-style: none; }
.card ul li { font-size: 0.92rem; padding: 5px 0 5px 20px; position: relative; color: var(--text); }
.card ul li::before { content: ""; position: absolute; left: 0; top: 0.95em; width: 8px; height: 1px; background: var(--gold); }

/* legacy / people */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.people { display: grid; gap: 14px; margin-top: 30px; }
.person { display: flex; gap: 16px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.avatar { width: 50px; height: 50px; flex: none; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg, var(--gold-3), var(--gold-2)); color: #0b0f14; font-family: var(--serif); font-size: 1.4rem; font-weight: 700; }
.person b { display: block; color: var(--pearl); font-size: 1.02rem; font-weight: 500; }
.person span span { display: block; font-size: 0.86rem; color: var(--muted); }
.points { list-style: none; margin: 30px 0 0; padding: 0; }
.points li { display: grid; grid-template-columns: 48px 1fr; gap: 6px; padding: 20px 0; border-top: 1px solid var(--line); }
.points .num { font-family: var(--serif); font-size: 1.4rem; font-weight: 700; color: var(--gold); line-height: 1.2; }
.points strong { display: block; margin-bottom: 4px; font-size: 1.05rem; }
.points p { margin: 0; font-size: 0.97rem; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.step { padding: 32px 28px; border-right: 1px solid var(--line); }
.step:last-child { border-right: 0; }
.step .num { display: block; font-family: var(--serif); font-size: 2.6rem; font-weight: 700; color: var(--gold); line-height: 1; margin-bottom: 18px; }
.step p { font-size: 0.95rem; margin: 0; }
.timeline { list-style: none; margin: 0; padding: 0; max-width: 840px; }
.timeline li { display: grid; grid-template-columns: 84px 1fr; gap: 12px; padding: 34px 0; border-top: 1px solid var(--line); }
.timeline li:last-child { border-bottom: 1px solid var(--line); }
.timeline .num { font-family: var(--serif); font-size: 2.6rem; font-weight: 700; color: var(--gold); line-height: 1; }
.timeline p { margin: 0; }
.timeline h2 { font-size: 1.7rem; letter-spacing: 0; margin-bottom: 0.4em; }
.timeline p a { display: inline-block; padding: 3px 0; }

figure { margin: 0; }

/* CTA band */
.cta-band {
  position: relative; overflow: hidden; padding: 84px 0;
  background: radial-gradient(70% 140% at 100% 50%, rgba(240, 192, 64, 0.14), transparent 60%), linear-gradient(180deg, var(--bg-3), var(--bg-2));
  border-top: 1px solid var(--line-gold); border-bottom: 1px solid var(--line-gold);
}
.cta-band .wrap { display: flex; justify-content: space-between; align-items: center; gap: 36px; flex-wrap: wrap; }
.cta-band h2 { margin-bottom: 10px; }
.cta-band p { color: var(--text); margin: 0; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: start; }
.details { margin: 30px 0; padding: 0; }
.details div { padding: 18px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 160px 1fr; gap: 12px; }
.details dt { font-size: 0.74rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); padding-top: 4px; }
.details dd { margin: 0; color: var(--pearl); font-weight: 400; }
.details dd a { color: var(--pearl); text-decoration: none; display: inline-block; padding: 2px 0; }
.details dd a:hover { color: var(--gold); text-decoration: underline; }
.form-card {
  position: relative;
  background: linear-gradient(170deg, rgba(19, 32, 53, 0.9), rgba(13, 24, 37, 0.9));
  border: 1px solid var(--line-gold); border-radius: 18px; padding: 38px;
  box-shadow: 0 40px 80px -44px rgba(0, 0, 0, 0.95);
}
.form-card::before { content: ""; position: absolute; left: 38px; right: 38px; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.form-card h3 { font-size: 1.9rem; margin-bottom: 6px; }
.form-card .hint { font-size: 0.92rem; color: var(--muted); margin-bottom: 26px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field.full { grid-column: 1 / -1; }
.field label { display: block; font-size: 0.76rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; font: 400 1rem var(--sans); color: var(--pearl);
  background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 8px; padding: 13px 15px;
  transition: border-color 0.2s, background-color 0.2s;
}
.field select option { background: var(--bg-2); color: var(--pearl); }
.field textarea { min-height: 124px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold); background: rgba(255, 255, 255, 0.06); }
.field ::placeholder { color: #8d877d; }
.form-card .btn { width: 100%; margin-top: 24px; }
.form-success { text-align: center; padding: 30px 0; }
.form-success h3 { margin-bottom: 10px; }
.form-error { margin-top: 14px; font-size: 0.92rem; color: #ff9b8a; }
[hidden] { display: none !important; }

/* footer */
.site-footer { background: var(--foot); color: var(--muted); padding: 76px 0 0; font-size: 0.93rem; border-top: 1px solid var(--line); }
.site-footer .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.1fr; gap: 44px; padding-bottom: 52px; }
.site-footer p { margin: 18px 0 0; max-width: 40ch; }
.site-footer .foot-title { font-family: var(--sans); font-weight: 500; line-height: 1.4; font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: 0; }
.site-footer li a { display: inline-block; padding: 5px 0; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--pearl); }
.site-footer .legal { border-top: 1px solid var(--line); padding: 22px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 0.83rem; }

/* ---------- prose, notes ---------- */
.form-note { margin: 14px 0 0; font-size: 0.87rem; color: var(--muted); }
.prose { max-width: 780px; }
.prose h2 { font-size: 2rem; margin-top: 1.6em; }
.prose p, .prose li { color: var(--text); }
.prose ul, .prose ol { margin: 0 0 1em; padding-left: 1.25em; }
.prose li { margin: 0.5em 0; }
.prose li::marker { color: var(--gold); }
.prose .refs { list-style: none; padding-left: 0; }
.prose .refs li { padding: 8px 0; border-top: 1px solid var(--line); margin: 0; }
.prose .refs a { display: inline-block; padding: 4px 0; overflow-wrap: anywhere; }
.draft-note, .svc-note { background: var(--gold-soft); border: 1px solid var(--line-gold); border-left: 3px solid var(--gold); border-radius: 10px; padding: 16px 20px; color: var(--pearl); }
.review-note { margin-top: 2.2em; font-size: 0.89rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 18px; }

/* ---------- resources ---------- */
.res-group + .res-group { margin-top: 56px; }
.res-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.res-list a {
  display: flex; flex-direction: column; gap: 4px; height: 100%;
  padding: 20px 22px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface);
  text-decoration: none; transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.res-list a:hover { border-color: var(--line-gold); background: var(--surface-2); }
.res-list b { color: var(--pearl); font-weight: 500; }
.res-list span { color: var(--muted); font-size: 0.86rem; overflow-wrap: anywhere; }

/* ---------- mobile action bar ---------- */
.action-bar { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero .wrap, .two-col, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .grid.c3, .grid.c4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2) { border-right: 0; }
  .step:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
  .section-head.split { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 820px) {
  .topbar .hide-sm { display: none; }
  .nav-toggle { display: inline-block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #0b1119; border-bottom: 1px solid var(--line-gold); padding: 12px 24px 24px; flex-direction: column; align-items: stretch; gap: 16px; box-shadow: 0 30px 50px -30px rgba(0, 0, 0, 0.95); }
  .nav.open { display: flex; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav a.link { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav a.link[aria-current] { border-bottom-color: var(--line); }
  section { padding: 72px 0; }
  .hero { padding: 64px 0 72px; }
  .res-list { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 18px; }
  body { font-size: 1rem; }
  .grid.c2, .grid.c3, .grid.c4, .fields { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step { border-right: 0; border-bottom: 1px solid var(--line); }
  .step:last-child { border-bottom: 0; }
  .stats.four { grid-template-columns: repeat(2, 1fr); gap: 22px 12px; }
  .site-footer .cols { grid-template-columns: 1fr; gap: 30px; }
  .details div { grid-template-columns: 1fr; gap: 2px; }
  .timeline li { grid-template-columns: 56px 1fr; }
  .form-card { padding: 28px 20px; }
  .form-card::before { left: 20px; right: 20px; }
  .btn-row .btn { flex: 1 1 100%; }
  .card { padding: 24px; }
  .marquee-track span { font-size: 1.15rem; }
  .action-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 8px 12px; background: rgba(9, 13, 18, 0.94); border-top: 1px solid var(--line-gold);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  }
  body { padding-bottom: 66px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
  .marquee-track { animation: none; }
}

/* ---------- utilities ---------- */
.mt-0 { margin-top: 0; }
.mt-10 { margin-top: 10px; }
.mt-22 { margin-top: 22px; }
.mt-28 { margin-top: 28px; }
.mb-0 { margin-bottom: 0; }
.mb-36 { margin-bottom: 36px; }

/* ---------- print ---------- */
@media print {
  .topbar, .site-header, .nav-toggle, .cta-band, .btn, .form-card, .skip, .action-bar, .marquee, .hero-canvas { display: none !important; }
  html, body { background: #fff; color: #000; }
  h1, h2, h3, h4, strong, p, li, dd { color: #000 !important; }
  h1 em, h2 em { background: none; color: #000; }
  section, .hero, .page-hero, .card, .fact-panel, .site-footer { padding: 12px 0; border: 0; background: none; box-shadow: none; }
  a { color: #000; text-decoration: underline; }
}
