/* ═══════════════════════════════════════════════════════════════
   GLOBAL ROOTS SERVICES — "Registry Modern" design system
   Source of truth: DESIGN_BRIEF.md (2026-07-29)
   Shared by: index, civilian, courier, teaming, what-we-build
   ═══════════════════════════════════════════════════════════════ */

:root {
  /* Surfaces — elevation = lighter surface, never shadow */
  --navy-950: #05080F;
  --navy-900: #0A101E;
  --navy-850: #0D1526;
  --navy-800: #111A2E;
  --navy-700: #1A2740;

  /* Hairlines */
  --line:        rgba(148,163,184,0.14);
  --line-strong: rgba(148,163,184,0.28);

  /* Text neutrals */
  --ink-100: #F4F6FB;
  --ink-300: #C4CBD8;
  --ink-500: #8A94A6;
  --ink-600: #5C6678;

  /* Gold — brand signature, demoted frequency */
  --gold-500: #C9A84C;
  --gold-400: #E8C46A;
  --gold-600: #A8873A;
  --gold-line: rgba(201,168,76,0.35);
  --gold-tint: rgba(201,168,76,0.07);

  /* AI division accent — never on logistics pages */
  --circuit-500: #38BDF8;
  --circuit-400: #7DD3FC;
  --circuit-tint: rgba(56,189,248,0.08);

  /* Status */
  --status-live: #34D399;
  --status-soon: #FBBF24;

  /* Type */
  --font-display: 'Barlow Condensed', sans-serif;
  --font-body:    'Barlow', sans-serif;
  --font-mono:    'IBM Plex Mono', monospace;

  /* Spacing (4px base) */
  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px;

  /* Radius / shadow / widths */
  --r-0: 0;
  --r-sm: 2px;
  --r-full: 999px; /* status dots only */
  --shadow-overlay: 0 24px 48px -12px rgba(0,0,0,0.55);
  --w-page: 1200px;
  --w-wide: 1360px;
  --w-prose: 640px;
}

/* ─── Reset / base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--navy-950);
  color: var(--ink-300);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
}
img { max-width: 100%; }

/* Print-texture noise overlay (brief 2.5) */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: 9990;
  pointer-events: none;
  opacity: 0.025;
  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='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

h1, h2 { font-family: var(--font-display); font-weight: 700; letter-spacing: 0.01em; text-transform: uppercase; color: var(--ink-100); }
h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.375rem; line-height: 1.15; letter-spacing: 0.02em; text-transform: uppercase; color: var(--ink-100); }
h4 { font-family: var(--font-body); font-weight: 600; font-size: 1.0625rem; line-height: 1.35; color: var(--ink-100); }

.container { max-width: var(--w-page); margin: 0 auto; }
.container-wide { max-width: var(--w-wide); margin: 0 auto; }

/* ─── Mono utility voices ─── */
.mono-kicker {
  font-family: var(--font-mono); font-weight: 500; font-size: 0.6875rem;
  line-height: 1; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold-500);
}
.mono-label {
  font-family: var(--font-mono); font-weight: 400; font-size: 0.6875rem;
  line-height: 1.4; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-500);
}
.tabular, .data-value { font-variant-numeric: tabular-nums; }

/* Status dot — the ONLY rounded element */
.dot { display: inline-block; width: 8px; height: 8px; border-radius: var(--r-full); background: var(--status-live); vertical-align: baseline; }
.dot.soon { background: var(--status-soon); }

/* ─── NAV (3.1) ─── */
nav.site-nav {
  position: sticky; top: 0; z-index: 100;
  height: 72px;
  background: rgba(5,8,15,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--s-6);
}
.nav-logo a {
  font-family: var(--font-display); font-weight: 800; font-size: 1.25rem;
  letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none;
  color: var(--ink-100); white-space: nowrap;
}
.nav-logo a span { color: var(--gold-500); }
.nav-links { display: flex; align-items: center; gap: var(--s-6); list-style: none; }
.nav-links a {
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none;
  color: var(--ink-500); transition: color 150ms ease-out;
  padding: 4px 0;
}
.nav-links a:hover { color: var(--ink-100); }
.nav-links a.current { color: var(--ink-100); border-bottom: 2px solid var(--gold-500); padding-bottom: 6px; }
.nav-cta {
  border: 1px solid var(--line-strong); border-radius: var(--r-0);
  padding: 10px 18px !important; color: var(--ink-100) !important;
  transition: border-color 150ms ease-out !important;
}
.nav-cta:hover { border-color: var(--gold-500); }

/* dropdown (Logistics sub-lanes) */
.nav-drop { position: relative; }
.nav-drop > a::after { content: " +"; opacity: 0.6; }
.drop-menu {
  display: none; position: absolute; top: calc(100% + 14px); left: -16px;
  min-width: 230px; list-style: none;
  background: var(--navy-850); border: 1px solid var(--line); border-radius: var(--r-0);
  padding: var(--s-2) 0; box-shadow: var(--shadow-overlay);
}
.drop-menu::before { content: ""; position: absolute; top: -16px; left: 0; right: 0; height: 16px; }
.nav-drop:hover .drop-menu, .nav-drop:focus-within .drop-menu { display: block; }
.drop-menu li a { display: block; padding: 10px 18px; }
.drop-menu li a:hover { background: var(--navy-800); }

/* hamburger + mobile overlay */
.nav-hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-hamburger span { display: block; width: 22px; height: 1.5px; background: var(--ink-100); }
@media (max-width: 720px) {
  .nav-hamburger { display: flex; }
  .nav-links {
    display: none; flex-direction: column; align-items: stretch; gap: 0;
    position: fixed; top: 72px; left: 0; right: 0; bottom: 0; z-index: 99;
    background: rgba(5,8,15,0.98);
    padding: var(--s-5) 0; overflow-y: auto;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 14px var(--s-6); font-size: 12px; border-bottom: 1px solid var(--line); }
  .nav-links a.current { border-bottom: 1px solid var(--line); color: var(--gold-500); }
  .nav-drop > a::after { content: ""; }
  .drop-menu { display: block; position: static; min-width: 0; background: none; border: none; box-shadow: none; padding: 0; }
  .drop-menu li a { padding-left: var(--s-8); }
  .nav-cta { margin: var(--s-4) var(--s-6); text-align: center; border: 1px solid var(--line-strong); }
}

/* ─── HERO (3.2) — left-aligned, flat navy + grid lines ─── */
.hero {
  position: relative;
  background: var(--navy-950);
  border-bottom: 1px solid var(--line);
  padding: var(--s-10) var(--s-5) var(--s-9);
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.38;
  -webkit-mask-image: radial-gradient(ellipse 75% 85% at 35% 20%, black 30%, transparent 78%);
          mask-image: radial-gradient(ellipse 75% 85% at 35% 20%, black 30%, transparent 78%);
}
.hero-inner { position: relative; max-width: var(--w-wide); margin: 0 auto; }
.hero .mono-kicker { display: block; margin-bottom: var(--s-5); }
.hero h1 { font-size: clamp(2.75rem, 6vw, 4.5rem); line-height: 1.0; max-width: 20ch; margin-bottom: var(--s-5); }
.hero h1 span { color: var(--gold-500); }
.hero-lead { font-size: 1.125rem; line-height: 1.65; color: var(--ink-300); max-width: 55ch; margin-bottom: var(--s-6); }
.hero-actions { display: flex; align-items: center; gap: var(--s-5); flex-wrap: wrap; margin-bottom: var(--s-7); }
.hero-meta {
  border-top: 1px solid var(--line);
  padding-top: var(--s-4);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink-500);
  display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5);
  font-variant-numeric: tabular-nums;
}
.hero-meta .dot { margin-right: 6px; }

/* ─── SECTION SYSTEM (3.10) ─── */
section.band { padding: var(--s-10) var(--s-5); }
section.band-alt { background: var(--navy-900); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { margin-bottom: var(--s-7); }
.section-head::before { content: ""; display: block; width: 40px; height: 1px; background: var(--gold-500); margin-bottom: var(--s-4); }
.section-head .mono-kicker { display: block; margin-bottom: var(--s-4); }
.section-head h2 { font-size: clamp(1.9rem, 3.5vw, 2.75rem); line-height: 1.05; margin-bottom: var(--s-4); }
.section-head .section-sub { color: var(--ink-500); max-width: 55ch; }
.theme-ai .section-head::before { background: var(--circuit-500); }
.theme-ai .section-head .mono-kicker { color: var(--circuit-500); }

/* ─── DATA STRIP (3.4) ─── */
.data-strip {
  background: var(--navy-900);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.data-strip-inner {
  max-width: var(--w-wide); margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}
.data-cell {
  padding: var(--s-5) var(--s-5);
  border-left: 1px solid var(--line);
  display: flex; flex-direction: column; gap: var(--s-2);
}
.data-cell:first-child { border-left: none; }
.data-cell .mono-label { white-space: nowrap; }
.data-cell .data-value {
  font-family: var(--font-display); font-weight: 600; font-size: 1.6rem; line-height: 1;
  color: var(--ink-100); font-variant-numeric: tabular-nums; white-space: nowrap;
}
.data-cell .data-value.gold { color: var(--gold-500); }
.data-cell .data-value .dot { margin-right: 8px; }
@media (max-width: 720px) {
  .data-strip-inner { grid-template-columns: 1fr 1fr; }
  .data-cell { border-top: 1px solid var(--line); }
  .data-cell:nth-child(-n+2) { border-top: none; }
  .data-cell:nth-child(odd) { border-left: none; }
  .data-cell .data-value { font-size: 1.3rem; }
}

/* ─── DIVISION DOORS (3.3) ─── */
.doors { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5); max-width: var(--w-wide); margin: 0 auto; }
@media (max-width: 860px) { .doors { grid-template-columns: 1fr; } }
.door {
  display: flex; flex-direction: column;
  min-height: 340px;
  background: var(--navy-850);
  border: 1px solid var(--line);
  border-top: 2px solid var(--gold-500);
  border-radius: var(--r-0);
  padding: var(--s-7);
  text-decoration: none;
  transition: background-color 150ms ease-out, border-color 150ms ease-out;
}
.door:hover { background: var(--navy-800); border-color: var(--line-strong); border-top-color: var(--gold-400); }
.door.ai { border-top-color: var(--circuit-500); }
.door.ai:hover { border-top-color: var(--circuit-400); }
.door-index { font-family: var(--font-mono); font-weight: 500; font-size: 0.6875rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-500); margin-bottom: var(--s-5); }
.door.ai .door-index { color: var(--circuit-500); }
.door h3 { font-size: 1.5rem; margin-bottom: var(--s-4); }
.door p { color: var(--ink-300); max-width: 46ch; margin-bottom: var(--s-5); }
.door-caps { font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-500); line-height: 2; margin-bottom: var(--s-6); }
.door-link { margin-top: auto; }

/* ─── TEXT LINK w/ arrow (3.8) ─── */
.link-arrow {
  font-family: var(--font-mono); font-size: 0.8125rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none;
  color: var(--gold-500);
}
.link-arrow .arr { display: inline-block; transition: transform 120ms ease-out; }
.link-arrow:hover .arr { transform: translateX(3px); }
.theme-ai .link-arrow, .link-arrow.circuit { color: var(--circuit-500); }
.link-arrow.circuit:hover, .theme-ai .link-arrow:hover { color: var(--circuit-400); }

/* ─── BUTTONS (3.8) ─── */
.btn, .btn-secondary {
  display: inline-block;
  font-family: var(--font-mono); font-size: 0.8125rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none;
  padding: 14px 28px; border-radius: var(--r-0);
  cursor: pointer; text-align: center;
}
.btn {
  background: var(--gold-500); color: var(--navy-950); border: none;
  transition: background-color 150ms ease-out;
}
.btn:hover { background: var(--gold-600); }
.btn.circuit { background: var(--circuit-500); }
.btn.circuit:hover { background: #2AA3DB; }
.btn-secondary {
  background: transparent; color: var(--ink-100);
  border: 1px solid var(--line-strong);
  transition: border-color 150ms ease-out;
}
.btn-secondary:hover { border-color: var(--ink-100); }

/* ─── CARD GRID (3.6) ─── */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: var(--s-5); }
@media (max-width: 380px) { .card-grid { grid-template-columns: 1fr; } }
.card {
  display: flex; flex-direction: column;
  background: var(--navy-850);
  border: 1px solid var(--line); border-radius: var(--r-0);
  padding: var(--s-6);
  transition: border-color 150ms ease-out;
}
.card:hover { border-color: var(--line-strong); }
a.card { text-decoration: none; }
.card .card-tag { font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-500); margin-bottom: var(--s-4); font-variant-numeric: tabular-nums; }
.card .card-tag .dot { margin-right: 6px; }
.card .card-tag.live { color: var(--status-live); }
.card .card-tag.soon { color: var(--status-soon); }
.card .icon { width: 20px; height: 20px; color: var(--gold-500); margin-bottom: var(--s-4); }
.theme-ai .card .icon, .card .icon.circuit { color: var(--circuit-500); }
.card h3 { margin-bottom: var(--s-3); }
.card p { font-size: 0.9375rem; color: var(--ink-500); line-height: 1.55; margin-bottom: var(--s-4); }
.card .card-price { font-family: var(--font-mono); font-size: 0.8125rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-100); margin-bottom: var(--s-4); font-variant-numeric: tabular-nums; }
.card .link-arrow { margin-top: auto; }

/* ─── FEDERAL REGISTRY (3.5) ─── */
.registry {
  background: var(--navy-850);
  border: 1px solid var(--gold-line); border-radius: var(--r-0);
}
.registry-head {
  font-family: var(--font-mono); font-size: 0.6875rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-500);
  padding: var(--s-4) var(--s-5);
  border-bottom: 1px solid var(--line);
}
.registry-row {
  display: grid; grid-template-columns: 110px 1fr 110px 1fr;
  gap: var(--s-2) var(--s-4);
  padding: var(--s-3) var(--s-5);
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 0.75rem; line-height: 1.6;
  letter-spacing: 0.06em; font-variant-numeric: tabular-nums;
}
.registry-row:last-child { border-bottom: none; }
.registry-row.single { grid-template-columns: 110px 1fr; }
.registry-row .rl { color: var(--ink-500); text-transform: uppercase; }
.registry-row .rv { color: var(--ink-100); text-transform: uppercase; }
.registry-row .rv.gold { color: var(--gold-500); }
.registry-row .rv .dot { margin-right: 6px; }
@media (max-width: 720px) {
  .registry-row { grid-template-columns: 92px 1fr; }
}

/* Founder callout — replaces italic pullquote (swap 10) */
.callout {
  border: 1px solid var(--line); border-left: 2px solid var(--gold-500);
  border-radius: var(--r-0);
  background: var(--navy-850);
  padding: var(--s-5) var(--s-6);
  margin: var(--s-6) 0;
}
.callout .mono-label { display: block; margin-bottom: var(--s-3); }
.callout p { font-family: var(--font-display); font-weight: 500; font-size: 1.15rem; letter-spacing: 0.02em; color: var(--ink-100); max-width: 60ch; }

/* ─── FORMS (3.9) ─── */
form { display: flex; flex-direction: column; gap: var(--s-4); }
form label {
  font-family: var(--font-mono); font-size: 0.6875rem; font-weight: 400;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-500);
  display: block; margin-bottom: var(--s-2);
}
form input, form select, form textarea {
  width: 100%;
  background: var(--navy-950);
  border: 1px solid var(--line); border-radius: var(--r-sm);
  color: var(--ink-100);
  font-family: var(--font-body); font-size: 0.9375rem;
  padding: 12px 14px;
  outline: none;
  transition: border-color 150ms ease-out, box-shadow 150ms ease-out;
}
form input::placeholder, form textarea::placeholder { color: var(--ink-600); }
form input:focus, form select:focus, form textarea:focus {
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.15);
}
.theme-ai form input:focus, .theme-ai form select:focus, .theme-ai form textarea:focus {
  border-color: var(--circuit-500);
  box-shadow: 0 0 0 3px rgba(56,189,248,0.15);
}
form select option { background: var(--navy-850); }
form textarea { resize: vertical; min-height: 120px; }
form button[type=submit] {
  background: var(--gold-500); color: var(--navy-950);
  font-family: var(--font-mono); font-size: 0.8125rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  border: none; border-radius: var(--r-0);
  padding: 14px 28px; cursor: pointer;
  transition: background-color 150ms ease-out;
  align-self: flex-start;
}
form button[type=submit]:hover { background: var(--gold-600); }
.form-reassure { font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-600); }
@media (max-width: 720px) {
  form button[type=submit] { width: 100%; align-self: stretch; }
}

/* ─── CONTACT LAYOUT ─── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: var(--s-8); align-items: start; }
@media (max-width: 780px) { .contact-grid { grid-template-columns: 1fr; gap: var(--s-6); } }
.contact-info p { color: var(--ink-500); margin-bottom: var(--s-3); font-size: 0.9375rem; }
.contact-info a { color: var(--gold-500); text-decoration: none; }
.contact-info a:hover { color: var(--gold-400); }
.theme-ai .contact-info a { color: var(--circuit-500); }
.theme-ai .contact-info a:hover { color: var(--circuit-400); }

/* ─── FOOTER (3.11) ─── */
footer.site-footer {
  background: var(--navy-950);
  border-top: 1px solid var(--line);
  padding: var(--s-8) var(--s-5) 0;
}
.footer-grid {
  max-width: var(--w-page); margin: 0 auto;
  display: grid; grid-template-columns: 1.2fr 1fr 1.4fr; gap: var(--s-7);
  padding-bottom: var(--s-7);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand .wordmark { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-100); }
.footer-brand .wordmark span { color: var(--gold-500); }
.footer-brand p { color: var(--ink-500); font-size: 0.875rem; max-width: 36ch; margin-top: var(--s-3); }
.footer-brand .mono-label { display: block; margin-top: var(--s-4); }
.footer-links-zone { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5); }
.footer-links-zone .mono-label { display: block; margin-bottom: var(--s-3); }
.footer-links-zone ul { list-style: none; }
.footer-links-zone li { margin-bottom: var(--s-2); }
.footer-links-zone a {
  font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.08em;
  text-transform: uppercase; text-decoration: none; color: var(--ink-500);
  transition: color 150ms ease-out;
}
.footer-links-zone a:hover { color: var(--ink-100); }
.footer-registry .registry { border-color: var(--line); }
.footer-registry .registry-head { color: var(--ink-500); }
.footer-bottom {
  border-top: 1px solid var(--line);
  max-width: var(--w-page); margin: 0 auto;
  padding: var(--s-5) 0;
  display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-5); justify-content: space-between;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink-600);
}
.footer-bottom a { color: var(--ink-600); text-decoration: none; }
.footer-bottom a:hover { color: var(--ink-300); }

/* ─── CHAT WIDGET (3.12) ─── */
#cw-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 9999;
  background: var(--navy-850); color: var(--gold-500);
  border: 1px solid var(--line); border-radius: var(--r-0);
  padding: 12px 18px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  cursor: pointer;
  transition: border-color 150ms ease-out;
}
#cw-fab:hover { border-color: var(--gold-line); }
#cw-box {
  position: fixed; right: 20px; bottom: 74px; z-index: 9999;
  width: min(370px, calc(100vw - 40px));
  background: var(--navy-850);
  border: 1px solid var(--line); border-radius: var(--r-0);
  overflow: hidden; box-shadow: var(--shadow-overlay);
  display: none; flex-direction: column; max-height: 540px;
}
#cw-box.open { display: flex; }
#cw-head {
  background: var(--navy-900); color: var(--ink-100);
  border-bottom: 1px solid var(--line);
  padding: 13px 16px;
  font-family: var(--font-mono); font-weight: 500; font-size: 12px;
  letter-spacing: 0.12em; text-transform: uppercase;
}
#cw-head small { display: block; font-weight: 400; font-size: 10px; letter-spacing: 0.1em; color: var(--ink-500); margin-top: 4px; }
#cw-log { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 9px; min-height: 200px; background: var(--navy-850); }
.cw-msg { max-width: 85%; padding: 9px 12px; border-radius: var(--r-sm); font-size: 14px; line-height: 1.45; white-space: pre-wrap; font-family: var(--font-body); }
.cw-bot { background: var(--navy-700); color: var(--ink-100); align-self: flex-start; }
.cw-me { background: var(--gold-tint); border: 1px solid var(--gold-line); color: var(--ink-100); align-self: flex-end; }
#cw-in { display: flex; border-top: 1px solid var(--line); }
#cw-in input { flex: 1; border: none; padding: 12px 14px; font-size: 14px; font-family: var(--font-body); background: var(--navy-950); color: var(--ink-100); }
#cw-in input:focus { outline: none; }
#cw-in button { border: none; background: var(--gold-500); color: var(--navy-950); padding: 0 16px; cursor: pointer; font-size: 15px; font-family: var(--font-mono); transition: background-color 150ms ease-out; }
#cw-in button:hover { background: var(--gold-600); }

/* ─── Motion discipline (4) ─── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ─── Small-screen rhythm ─── */
@media (max-width: 720px) {
  section.band { padding: var(--s-8) var(--s-4); }
  .hero { padding: var(--s-8) var(--s-4) var(--s-7); }
  .door { min-height: 0; padding: var(--s-6); }
}
