/* RiskDesk.in — shared design system
 * Last update: 2026-05-20
 * Tokens, typography, layout, components.
 * Body 17px base / 1.72 line-height for legal-grade readability.
 */

/* ─── Reset + base ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }

/* ─── Design tokens ─────────────────────────────────────────────────────── */
:root {
  /* Surfaces */
  --bg-parchment:   #F6F1E6;
  --bg-ivory:       #FBF7EE;
  --bg-ink:         #0F1A2E;
  --bg-ink-deep:    #0B1426;
  --surface-light:  #FFFFFF;
  --surface-dark:   #15233D;

  /* Text on light */
  --text-strong:    #0F1B2E;
  --text-body:      #1A2438;
  --text-muted:     #3A4658;

  /* Text on dark */
  --text-on-dark:        #F1ECDE;
  --text-on-dark-muted:  #B6BDCB;

  /* Accent — bronze. Use sparingly. Never under 16px. */
  --bronze:         #9C7C4E;
  --bronze-deep:    #7A6038;
  --bronze-soft:    #C7A977;

  /* Hairlines */
  --rule-on-light:  rgba(15, 27, 46, 0.16);
  --rule-on-dark:   rgba(241, 236, 222, 0.18);

  /* Type */
  --serif:  'EB Garamond', 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans:   'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  /* Sizes */
  --fs-body:        17px;
  --fs-body-lg:     19px;
  --fs-small:       15px;
  --fs-micro:       13px;
  --lh-body:        1.72;
  --lh-tight:       1.25;

  /* Grid */
  --container:      1240px;
  --container-text: 800px;
  --gutter:         clamp(20px, 5vw, 56px);

  /* Motion */
  --ease:           cubic-bezier(.2,.6,.2,1);
  --t-fast:         180ms;
  --t-med:          320ms;
  --t-slow:         600ms;
}

html, body {
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--text-body);
  background: var(--bg-parchment);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* ─── Page chrome surfaces ──────────────────────────────────────────────── */
.surface-light  { background: var(--bg-parchment); color: var(--text-body); }
.surface-ivory  { background: var(--bg-ivory);     color: var(--text-body); }
.surface-dark   { background: var(--bg-ink);       color: var(--text-on-dark); }
.surface-ink    { background: var(--bg-ink-deep);  color: var(--text-on-dark); }
.surface-light + .surface-light,
.surface-ivory + .surface-ivory { border-top: 1px solid var(--rule-on-light); }

/* ─── Typography ────────────────────────────────────────────────────────── */
h1, h2, h3, h4 { margin: 0; line-height: var(--lh-tight); font-weight: 500; letter-spacing: -0.01em; }

.h-display {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(40px, 6vw, 68px);
  letter-spacing: -0.015em;
  line-height: 1.08;
}
.h-section {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(32px, 4.4vw, 48px);
  letter-spacing: -0.01em;
  line-height: 1.12;
}
.h-sub {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(20px, 2.4vw, 26px);
  letter-spacing: -0.005em;
  line-height: 1.3;
}
.h-card {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 19px;
  line-height: 1.35;
}
.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bronze);
}
.surface-dark .eyebrow, .surface-ink .eyebrow { color: var(--bronze-soft); }

p { margin: 0 0 1.1em; }
p, li { font-size: var(--fs-body); line-height: var(--lh-body); }
.prose { max-width: var(--container-text); }
.prose p + p { margin-top: 0.2em; }
.prose ul, .prose ol { padding-left: 1.25em; margin: 0 0 1.2em; }
.prose li + li { margin-top: 0.4em; }
.lead { font-size: var(--fs-body-lg); line-height: 1.6; color: var(--text-strong); }
.surface-dark .lead, .surface-ink .lead { color: var(--text-on-dark); }
.muted { color: var(--text-muted); }
.surface-dark .muted, .surface-ink .muted { color: var(--text-on-dark-muted); }
.small { font-size: var(--fs-small); }
.micro { font-size: var(--fs-micro); letter-spacing: 0.02em; }

strong, b { font-weight: 600; color: var(--text-strong); }
.surface-dark strong, .surface-ink strong { color: var(--text-on-dark); }

/* Inline links */
.body-link, .prose a {
  color: var(--bronze-deep);
  border-bottom: 1px solid var(--bronze-soft);
  padding-bottom: 1px;
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.body-link:hover, .prose a:hover { color: var(--text-strong); border-color: var(--text-strong); }
.surface-dark .body-link, .surface-ink .body-link,
.surface-dark .prose a, .surface-ink .prose a {
  color: var(--bronze-soft);
  border-color: rgba(199,169,119,0.5);
}
.surface-dark .body-link:hover, .surface-ink .body-link:hover { color: var(--text-on-dark); border-color: var(--text-on-dark); }

hr.rule {
  border: 0;
  height: 1px;
  background: var(--rule-on-light);
  margin: 0;
}
.surface-dark hr.rule, .surface-ink hr.rule { background: var(--rule-on-dark); }

/* ─── Layout primitives ─────────────────────────────────────────────────── */
.container { width: 100%; max-width: var(--container); padding-inline: var(--gutter); margin-inline: auto; }
.section { padding-block: clamp(64px, 9vw, 128px); }
.section--tight { padding-block: clamp(48px, 6vw, 88px); }
.section-head { max-width: 800px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head .eyebrow { margin-bottom: 14px; }
.section-head h2 + p { margin-top: 18px; }

.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: clamp(28px, 4vw, 56px); }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: clamp(24px, 3vw, 40px); }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: clamp(20px, 2.4vw, 32px); }
.cols-aside { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
@media (max-width: 860px) { .cols-aside { grid-template-columns: 1fr; } }

.stack-l > * + * { margin-top: clamp(32px, 4vw, 56px); }
.stack-m > * + * { margin-top: clamp(20px, 2.4vw, 32px); }
.stack-s > * + * { margin-top: 12px; }

/* ─── Header / nav ──────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 241, 230, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-med) var(--ease), background var(--t-med) var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--rule-on-light); }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 84px; gap: 24px;
}
/* Desktop nav cluster: nav-links UL + CTA inline on a single row, right-aligned. */
.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.4vw, 36px);
}
/* ─── Brand lockup (logo) ───────────────────────────────────────────────── */
.brand {
  display: inline-flex; align-items: center;
  color: var(--text-strong);
  text-decoration: none;
  transition: opacity var(--t-fast) var(--ease);
  line-height: 0; /* tighten around the image */
}
.brand:hover { opacity: 0.88; }

/* Raster logo lockup. Source assets are 2× retina; CSS sets the display size. */
.brand-logo {
  display: block;
  height: 52px; width: auto;
  max-width: 260px;
  -ms-interpolation-mode: bicubic;
  image-rendering: -webkit-optimize-contrast;
}
.brand-logo--lg { height: 68px; max-width: 320px; }

@media (max-width: 1080px) {
  .brand-logo { height: 46px; max-width: 220px; }
}
@media (max-width: 540px) {
  .brand-logo { height: 40px; max-width: 190px; }
}

.brand--footer { display: inline-block; margin-bottom: 18px; }

/* Legacy SVG-mark/wordmark classes — kept for backwards compatibility if any
   page still references them, but no longer used by the shared shell. */
.brand-mark { display: none; }
.brand-word, .brand-lockup, .brand-tagline { display: none; }
.nav-links {
  display: flex; align-items: center; gap: clamp(18px, 2.2vw, 30px);
  margin: 0; padding: 0; list-style: none;
}
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--text-body);
  padding: 8px 2px; border-bottom: 1px solid transparent;
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.nav-links a:hover { color: var(--text-strong); }
.nav-links a[aria-current="page"] { color: var(--text-strong); border-bottom-color: var(--bronze); }

.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px; border: 1px solid var(--text-strong);
  font-size: 14px; font-weight: 600; color: var(--text-strong);
  background: transparent; transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.nav-cta:hover { background: var(--text-strong); color: var(--bg-parchment); }
.nav-cta .arrow { display: inline-block; width: 12px; height: 1px; background: currentColor; position: relative; }
.nav-cta .arrow::after {
  content: ""; position: absolute; right: 0; top: -3px;
  width: 6px; height: 6px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none; background: none; border: 0; padding: 10px;
  color: var(--text-strong);
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 22px; height: 1.5px; background: currentColor; position: relative;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }

@media (max-width: 880px) {
  .nav-toggle { display: inline-block; }
  .nav-menu {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    position: fixed; inset: 84px 0 auto 0;
    background: var(--bg-parchment);
    border-bottom: 1px solid var(--rule-on-light);
    padding: 18px var(--gutter) 28px;
    transform: translateY(-100%); transition: transform var(--t-med) var(--ease);
    box-shadow: 0 12px 32px rgba(15,27,46,0.06);
  }
  .nav-menu.is-open { transform: translateY(0); }
  .nav-links { flex-direction: column; align-items: flex-start; gap: 4px; width: 100%; }
  .nav-links a { padding: 12px 0; width: 100%; font-size: 16px; border-bottom: 1px solid var(--rule-on-light); }
  .nav-cta { width: 100%; justify-content: center; margin-top: 14px; }
}

/* ─── Buttons ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; min-height: 50px;
  font-family: var(--sans); font-size: 15px; font-weight: 600;
  letter-spacing: 0.005em;
  border: 1px solid transparent; background: var(--text-strong); color: var(--bg-parchment);
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.btn:hover { background: var(--bronze-deep); }
.btn--ghost { background: transparent; color: var(--text-strong); border-color: var(--text-strong); }
.btn--ghost:hover { background: var(--text-strong); color: var(--bg-parchment); }
.surface-dark .btn, .surface-ink .btn { background: var(--bg-parchment); color: var(--text-strong); }
.surface-dark .btn:hover, .surface-ink .btn:hover { background: var(--bronze-soft); color: var(--text-strong); }
.surface-dark .btn--ghost, .surface-ink .btn--ghost {
  background: transparent; color: var(--text-on-dark); border-color: var(--text-on-dark);
}
.surface-dark .btn--ghost:hover, .surface-ink .btn--ghost:hover {
  background: var(--text-on-dark); color: var(--text-strong);
}
.btn .arrow {
  display: inline-block; width: 14px; height: 1px; background: currentColor; position: relative;
}
.btn .arrow::after {
  content: ""; position: absolute; right: 0; top: -4px;
  width: 7px; height: 7px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg);
}

/* ─── Hero ──────────────────────────────────────────────────────────────── */
.hero {
  padding-block: clamp(72px, 10vw, 140px) clamp(56px, 7vw, 100px);
  position: relative;
  overflow: hidden;
}

/* Bronze accent hairline at top of hero */
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(199, 169, 119, 0.5) 25%,
    rgba(199, 169, 119, 0.75) 50%,
    rgba(199, 169, 119, 0.5) 75%,
    transparent 100%);
}

/* Ambient glow toward the shield side */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 55% 80% at 88% 45%,
    rgba(199, 169, 119, 0.07) 0%, transparent 60%);
  pointer-events: none;
}

/* Two-column split: content left, decorative seal right */
.hero-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(48px, 8vw, 96px);
  align-items: center;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.hero-content { max-width: 640px; }

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Shield mark — now a prominent decorative anchor on the right.
 * Larger circle stage with two concentric rings for depth. */
.hero-seal-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width:  clamp(200px, 22vw, 280px);
  height: clamp(200px, 22vw, 280px);
  border-radius: 50%;
  border: 1px solid rgba(199, 169, 119, 0.14);
  background: radial-gradient(circle at center,
    rgba(199, 169, 119, 0.14) 0%,
    rgba(199, 169, 119, 0.06) 45%,
    rgba(199, 169, 119, 0)    72%);
  position: relative;
}

/* Outer decorative ring */
.hero-seal-wrap::before {
  content: '';
  position: absolute;
  inset: -16px;
  border-radius: 50%;
  border: 1px solid rgba(199, 169, 119, 0.07);
}

.hero-seal {
  display: block;
  height: clamp(140px, 16vw, 200px);
  width: auto;
  filter:
    drop-shadow(0 12px 28px rgba(11, 20, 38, 0.65))
    drop-shadow(0 0 20px rgba(199, 169, 119, 0.28));
}

.hero .eyebrow { color: var(--bronze-soft); margin-bottom: 20px; display: block; }
.hero h1 { margin-bottom: 24px; }
.hero .lead { max-width: 56ch; margin-bottom: 36px; color: var(--text-on-dark); }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-meta {
  border-top: 1px solid var(--rule-on-dark);
  padding-top: 22px; display: flex; flex-wrap: wrap; gap: 8px 20px;
  font-size: 13px; letter-spacing: 0.02em; color: var(--text-on-dark-muted);
}
.hero-meta span + span::before { content: "·"; margin-right: 18px; color: var(--bronze-soft); }

@media (max-width: 800px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
}

/* ─── Page intro (sub-page hero) ────────────────────────────────────────── */
.page-intro { padding-block: clamp(72px, 8vw, 120px); }
.page-intro .eyebrow { color: var(--bronze-soft); margin-bottom: 22px; }
.page-intro h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(40px, 5.4vw, 60px); line-height: 1.08; letter-spacing: -0.015em; max-width: 18ch; margin-bottom: 22px; }
.page-intro .lead { max-width: 64ch; color: var(--text-on-dark); }
.crumb {
  font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--text-on-dark-muted); margin-bottom: 18px;
}
.crumb a { color: var(--text-on-dark-muted); border-bottom: 1px solid transparent; }
.crumb a:hover { color: var(--text-on-dark); border-bottom-color: var(--bronze-soft); }
.crumb span + span::before { content: " / "; color: var(--bronze-soft); }

/* ─── Cards / tiles ─────────────────────────────────────────────────────── */
.tile {
  background: var(--surface-light);
  border: 1px solid var(--rule-on-light);
  padding: clamp(28px, 3vw, 40px);
  position: relative;
}
.surface-dark .tile, .surface-ink .tile {
  background: var(--surface-dark); border-color: var(--rule-on-dark);
}
.tile .numeral {
  font-family: var(--serif); font-size: 26px; color: var(--bronze);
  letter-spacing: 0.02em; margin-bottom: 18px; display: block;
}
.surface-dark .tile .numeral, .surface-ink .tile .numeral { color: var(--bronze-soft); }
.tile h3 { margin-bottom: 14px; }
.tile .tile-cta { margin-top: 22px; }

.tile--bare {
  background: transparent; border: 0; padding: 0;
}

/* ─── Definition list (hairline rows) ───────────────────────────────────── */
.def {
  display: grid; grid-template-columns: minmax(160px, 1fr) 2.4fr;
  gap: clamp(20px, 3vw, 56px);
  padding: 22px 0;
  border-top: 1px solid var(--rule-on-light);
}
.def:last-child { border-bottom: 1px solid var(--rule-on-light); }
.surface-dark .def, .surface-ink .def { border-color: var(--rule-on-dark); }
.def dt { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; color: var(--text-muted); }
.surface-dark .def dt, .surface-ink .def dt { color: var(--text-on-dark-muted); }
.def dd { margin: 0; font-size: var(--fs-body); }
@media (max-width: 720px) { .def { grid-template-columns: 1fr; gap: 8px; } }

/* ─── Step / process row ────────────────────────────────────────────────── */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.process > .step {
  padding: 28px 28px 0;
  border-left: 1px solid var(--rule-on-dark);
}
.process > .step:first-child { border-left: 0; padding-left: 0; }
@media (max-width: 880px) {
  .process { grid-template-columns: 1fr; }
  .process > .step { border-left: 0; border-top: 1px solid var(--rule-on-dark); padding: 28px 0 0; }
  .process > .step:first-child { border-top: 0; padding-top: 0; }
}
.step .num {
  font-family: var(--serif); font-size: 28px; color: var(--bronze-soft);
  display: block; margin-bottom: 12px;
}
.step h3 { margin-bottom: 10px; font-size: 20px; }
.surface-light .step .num { color: var(--bronze); }
.surface-light .process > .step { border-color: var(--rule-on-light); }

/* ─── Forms ─────────────────────────────────────────────────────────────── */
.form-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 22px 24px;
}
.form-grid > .full { grid-column: 1 / -1; }
@media (max-width: 720px) { .form-grid { grid-template-columns: 1fr; } }

.field { display: flex; flex-direction: column; gap: 8px; }
.field > label, .field-label {
  font-family: var(--sans); font-size: 14px; font-weight: 600; color: var(--text-strong);
  letter-spacing: 0.005em;
}
.surface-dark .field > label, .surface-ink .field > label,
.surface-dark .field-label, .surface-ink .field-label { color: var(--text-on-dark); }
.field .hint {
  font-size: 12px; color: var(--text-muted); font-weight: 400;
  letter-spacing: 0.02em;
}
.surface-dark .field .hint, .surface-ink .field .hint { color: var(--text-on-dark-muted); }
.field .req::after { content: " *"; color: var(--bronze); }

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="url"],
.field select,
.field textarea {
  width: 100%; font: 400 16px/1.5 var(--sans); color: var(--text-strong);
  padding: 13px 14px; background: var(--surface-light);
  border: 1px solid var(--rule-on-light); border-radius: 3px;
  transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.field textarea { resize: vertical; min-height: 160px; line-height: 1.6; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--bronze); outline-offset: 1px; border-color: var(--bronze-deep);
}
.field [aria-invalid="true"] { border-color: #B83D2E; }
.field .err {
  font-size: 13px; color: #B83D2E; min-height: 16px;
}
.surface-dark .field input, .surface-ink .field input,
.surface-dark .field select, .surface-ink .field select,
.surface-dark .field textarea, .surface-ink .field textarea {
  background: var(--bg-ivory); color: var(--text-strong); border-color: transparent;
}
.surface-dark .field input:focus, .surface-ink .field input:focus,
.surface-dark .field textarea:focus, .surface-ink .field textarea:focus {
  outline-color: var(--bronze-soft);
}

.field-check {
  display: grid; grid-template-columns: 22px 1fr; gap: 12px;
  font-size: 14px; line-height: 1.55;
}
.field-check input[type="checkbox"] {
  width: 18px; height: 18px; margin-top: 3px; accent-color: var(--bronze);
}
.field-check label { font-weight: 400; color: var(--text-body); }
.surface-dark .field-check label, .surface-ink .field-check label { color: var(--text-on-dark); }

.honeypot {
  position: absolute !important; left: -9999px !important; top: auto !important;
  width: 1px !important; height: 1px !important; opacity: 0 !important;
}
.char-counter { font-size: 12px; color: var(--text-muted); text-align: right; }
.surface-dark .char-counter, .surface-ink .char-counter { color: var(--text-on-dark-muted); }

.form-foot {
  margin-top: 18px; font-size: 13px; color: var(--text-on-dark-muted);
  display: flex; flex-wrap: wrap; gap: 4px 18px;
}
.form-foot span + span::before { content: "·"; margin-right: 18px; color: var(--bronze-soft); }

/* Status banner */
.banner {
  display: none; padding: 14px 18px; margin-bottom: 24px;
  font-size: 14px; border: 1px solid; border-radius: 2px;
}
.banner.show { display: block; }
.banner--ok { color: var(--text-on-dark); border-color: var(--bronze-soft); background: rgba(199,169,119,0.10); }
.banner--err { color: #F4D1CB; border-color: rgba(244,209,203,0.5); background: rgba(184,61,46,0.10); }
.surface-light .banner--ok { color: var(--text-strong); border-color: var(--bronze); background: rgba(156,124,78,0.08); }
.surface-light .banner--err { color: #7A1F12; border-color: #B83D2E; background: rgba(184,61,46,0.06); }

/* ─── Footer ────────────────────────────────────────────────────────────── */
.site-footer { background: var(--bg-ink-deep); color: var(--text-on-dark); }
.site-footer .container { padding-block: clamp(56px, 7vw, 96px); }
.foot-top {
  display: grid; grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--rule-on-dark);
}
@media (max-width: 880px) { .foot-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .foot-top { grid-template-columns: 1fr; } }
.foot-top h4 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.16em; color: var(--bronze-soft); margin-bottom: 18px; }
.foot-list { list-style: none; padding: 0; margin: 0; }
.foot-list li + li { margin-top: 10px; }
.foot-list a { font-size: 14px; color: var(--text-on-dark); border-bottom: 1px solid transparent; }
.foot-list a:hover { border-bottom-color: var(--bronze-soft); }
.foot-brand .brand { color: var(--text-on-dark); margin-bottom: 16px; }
.foot-brand p { font-size: 14px; color: var(--text-on-dark-muted); max-width: 38ch; line-height: 1.6; }
.foot-bottom {
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding-top: 28px;
  font-size: 12px; letter-spacing: 0.02em; color: var(--text-on-dark-muted);
}
.foot-bottom .legal a { color: var(--text-on-dark-muted); border-bottom: 1px solid transparent; }
.foot-bottom .legal a:hover { color: var(--text-on-dark); border-bottom-color: var(--bronze-soft); }
.foot-bottom .legal a + a { margin-left: 18px; }

/* ─── BCI entrance modal ────────────────────────────────────────────────── */
.bci-modal {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(11,20,38,0.78); backdrop-filter: blur(6px);
  display: none; align-items: center; justify-content: center;
  padding: var(--gutter);
}
.bci-modal.is-open { display: flex; }
.bci-card {
  background: var(--bg-ivory); color: var(--text-strong);
  max-width: 720px; width: 100%; max-height: 90vh; overflow-y: auto;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid rgba(11,20,38,0.2);
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
}
.bci-card .eyebrow { color: var(--bronze-deep); margin-bottom: 14px; }
.bci-card h2 {
  font-family: var(--serif); font-weight: 500; font-size: clamp(26px, 3vw, 34px);
  line-height: 1.15; margin-bottom: 22px; max-width: 26ch;
}
.bci-card p { font-size: 15px; line-height: 1.65; color: var(--text-body); }
.bci-card ul {
  font-size: 14px; line-height: 1.65; padding-left: 22px;
  color: var(--text-body); margin: 0 0 22px;
}
.bci-card li + li { margin-top: 10px; }
.bci-card .acts { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.bci-card .acts .btn { flex: 1 1 200px; }

.bci-decline {
  background: var(--bg-ivory); color: var(--text-strong); border-color: rgba(11,20,38,0.25);
}
.bci-decline:hover { background: var(--text-strong); color: var(--bg-ivory); border-color: var(--text-strong); }

/* ─── Utilities ─────────────────────────────────────────────────────────── */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.row-tight { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.center { text-align: center; }
.no-margin { margin: 0; }

/* ─── Reveal-on-scroll ──────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease); }
.reveal.is-in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ─── Notice (light surface variant for legal copy) ─────────────────────── */
.notice-body { max-width: 760px; }
.notice-body h2 { margin-top: 56px; margin-bottom: 16px; font-family: var(--serif); font-weight: 500; font-size: 30px; }
.notice-body h2:first-child { margin-top: 0; }
.notice-body h3 { margin-top: 32px; margin-bottom: 12px; font-size: 18px; }
.notice-body p, .notice-body li { font-size: 16px; line-height: 1.72; color: var(--text-body); }
.notice-body ul, .notice-body ol { padding-left: 22px; }
.notice-body li + li { margin-top: 8px; }
.notice-body .meta {
  font-size: 13px; color: var(--text-muted);
  border-top: 1px solid var(--rule-on-light); padding-top: 18px; margin-top: 56px;
}

/* ─── Tile accent variant (sector matters page) ─────────────────────────── */
.tile--accent {
  background: var(--surface-light);
  border: 1px solid var(--rule-on-light);
  border-left: 3px solid var(--bronze);
  padding: clamp(24px, 3vw, 36px);
}
.surface-ivory .tile--accent { background: #fff; }
.surface-dark .tile--accent, .surface-ink .tile--accent {
  background: rgba(199,169,119,0.05);
  border-color: var(--rule-on-dark);
  border-left-color: var(--bronze-soft);
}
.def--tight { padding: 14px 0; }
.def--tight:first-of-type { border-top: 1px solid var(--rule-on-light); }
.surface-dark .def--tight, .surface-ink .def--tight { border-color: var(--rule-on-dark); }
.surface-dark .def--tight:first-of-type, .surface-ink .def--tight:first-of-type { border-color: var(--rule-on-dark); }
.matter-verdict {
  margin-top: 20px;
  padding: 16px 18px;
  background: rgba(156,124,78,0.08);
  border-left: 3px solid var(--bronze);
}
.matter-verdict p { margin: 0; }

/* ─── Contact page ──────────────────────────────────────────────────────── */
.contact-address { font-style: normal; line-height: 1.8; }
.contact-locator {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
  margin-top: 16px;
}
.locator-map { border-radius: 4px; overflow: hidden; border: 1px solid rgba(199,169,119,0.16); }
@media (max-width: 860px) {
  .contact-locator { grid-template-columns: 1fr; }
  .locator-map iframe { height: 240px; }
}
