/* ==========================================================================
   Quantum Logistics design system
   Brand: Quantum Navy / Electric Blue / White · Saira + IBM Plex Sans/Mono
   ========================================================================== */

/* Self-hosted fonts (latin subsets, variable weight where available) */
@font-face {
  font-family: 'Saira';
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url('/assets/fonts/saira.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('/assets/fonts/ibm-plex-sans.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/ibm-plex-mono-400.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/ibm-plex-mono-500.woff2') format('woff2');
}

:root {
  --navy: #0A1A2F;
  --midnight: #060E1A;
  --surface: #0F2236;
  --line: #1C3650;
  --blue: #1D4ED8;
  --signal: #3B82F6;
  --tint: #9DBBFF;
  --steel: #5B6B80;
  --mist: #E7EDF5;
  --paper: #F5F8FC;
  --slate: #C9D5E5;
  --white: #FFFFFF;
  --hivis: #DAFF00;

  --font-display: "Saira", "Arial Narrow", sans-serif;
  --font-body: "IBM Plex Sans", -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "IBM Plex Mono", "SF Mono", Menlo, Consolas, monospace;

  --wrap: 1180px;
  --radius: 10px;
  --shadow: 0 10px 40px rgba(6, 14, 26, 0.35);
  --shadow-soft: 0 6px 24px rgba(10, 26, 47, 0.10);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--navy);
  background: var(--paper);
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--signal); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--blue); color: #fff; padding: 10px 18px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* --- Typography ------------------------------------------------------- */

h1, h2, h3, .display {
  font-family: var(--font-display);
  line-height: 1.08;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h1 { font-weight: 800; font-size: clamp(2.3rem, 5.5vw, 3.9rem); }
h2 { font-weight: 700; font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-weight: 600; font-size: 1.25rem; line-height: 1.25; }

.mono { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.08em; }

.kicker {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue); /* AA on light backgrounds; dark contexts switch to signal */
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 14px;
}
.kicker::before {
  content: ""; width: 26px; height: 2px; background: currentColor; flex: none;
}
.hero .kicker, .loc-hero .kicker, .section-dark .kicker, .section-midnight .kicker,
.cta-band .kicker, .calc .kicker, .on-dark .kicker { color: var(--signal); }

.lead { font-size: 1.15rem; color: var(--steel); max-width: 46ch; }
.on-dark .lead, .on-dark p { color: var(--slate); }

/* --- Buttons ---------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-display); font-weight: 700; letter-spacing: 0.02em;
  text-decoration: none; border: 2px solid transparent; border-radius: 8px;
  padding: 12px 26px; font-size: 1rem; cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-solid { background: var(--blue); color: #fff; }
.btn-solid:hover { background: #1E40AF; color: #fff; } /* cobalt: keeps AA text contrast */
.btn-ghost { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-ghost:hover { background: rgba(29, 78, 216, 0.08); color: var(--blue); }
.on-dark .btn-ghost, .hero .btn-ghost, .loc-hero .btn-ghost,
.section-dark .btn-ghost, .section-midnight .btn-ghost, .cta-band .btn-ghost {
  color: #fff; border-color: rgba(255, 255, 255, 0.45);
}
.on-dark .btn-ghost:hover, .hero .btn-ghost:hover, .loc-hero .btn-ghost:hover,
.section-dark .btn-ghost:hover, .section-midnight .btn-ghost:hover, .cta-band .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08); color: #fff;
}
.btn-lg { padding: 15px 32px; font-size: 1.08rem; }
.btn-sm { padding: 8px 18px; font-size: 0.92rem; }
.btn-block { width: 100%; }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--signal); outline-offset: 2px;
}

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* --- Header ----------------------------------------------------------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(6, 14, 26, 0.92);
  border-bottom: 1px solid var(--line);
}
/* Blur lives on a pseudo-element: backdrop-filter on the header itself would
   make it the containing block for the fixed mobile nav drawer, which then
   positions and clips against the 68px header instead of the viewport. */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.header-inner { display: flex; align-items: center; gap: 22px; height: 68px; }

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 40px; height: 40px; object-fit: contain; }
.brand-word {
  font-family: var(--font-display); font-weight: 800; font-size: 1.05rem;
  letter-spacing: 0.06em; color: #fff; line-height: 1;
}
.brand-word em { font-style: normal; color: var(--tint); display: block; font-size: 0.62rem; letter-spacing: 0.34em; font-weight: 600; }

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 4px; list-style: none; }
.main-nav a {
  display: block; padding: 8px 13px; border-radius: 6px;
  color: var(--slate); text-decoration: none; font-size: 0.95rem; font-weight: 500;
}
.main-nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
.main-nav a[aria-current] { color: #fff; box-shadow: inset 0 -2px 0 var(--signal); border-radius: 6px 6px 0 0; }

.header-cta { display: flex; align-items: center; gap: 14px; }
.phone-link {
  display: inline-flex; align-items: center; gap: 7px;
  color: #fff; text-decoration: none; font-family: var(--font-mono); font-size: 0.9rem; font-weight: 500;
}
.phone-link:hover { color: var(--tint); }

.nav-toggle { display: none; background: none; border: 0; width: 42px; height: 42px; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: #fff; transition: transform 0.2s, opacity 0.2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 1160px, not 980: with the shipped font metrics the full desktop header
   (brand + 7 links + phone + button) needs ~1160px before links wrap. */
@media (max-width: 1160px) {
  .main-nav {
    position: fixed; inset: 68px 0 auto 0; margin: 0;
    background: var(--midnight); border-bottom: 1px solid var(--line);
    padding: 10px 24px 22px; transform: translateY(-130%);
    visibility: hidden; /* closed menu must not trap keyboard focus off-screen */
    transition: transform 0.25s ease, visibility 0s 0.25s;
    max-height: calc(100vh - 68px); max-height: calc(100dvh - 68px);
    overflow: auto;
  }
  .main-nav.open { transform: translateY(0); visibility: visible; transition: transform 0.25s ease; }
  .main-nav ul { flex-direction: column; gap: 2px; }
  .main-nav a { padding: 13px 10px; font-size: 1.05rem; }
  .nav-toggle { display: flex; }
  .header-cta .btn { display: none; }
  /* The nav leaves the flex flow when it becomes the fixed drawer, taking its
     margin-left:auto with it, so the CTA cluster must push itself right. */
  .header-cta { margin-left: auto; }
}
@media (max-width: 560px) {
  .phone-link span { display: none; }
  .phone-link { min-width: 44px; min-height: 44px; justify-content: center; }
}

/* --- Sections --------------------------------------------------------- */

.section { padding: 84px 0; }
.section-dark { background: var(--navy); color: #fff; position: relative; }
.section-dark h1, .section-dark h2, .section-dark h3 { color: #fff; }
.section-midnight { background: var(--midnight); color: #fff; }
.section-paper { background: var(--paper); }
.section-white { background: #fff; }
.section-mist { background: var(--mist); }
.section-head { max-width: 720px; margin-bottom: 46px; }
.section-head .lead { margin-top: 12px; }

/* Orbit-grid brand texture */
.orbit-bg {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image:
    radial-gradient(circle at 78% 30%, rgba(59, 130, 246, 0.14) 0, transparent 42%),
    radial-gradient(circle at 12% 85%, rgba(29, 78, 216, 0.12) 0, transparent 40%),
    repeating-radial-gradient(circle at 78% 30%, transparent 0 118px, rgba(157, 187, 255, 0.05) 118px 119px);
}

/* Motion stripe: forward chevrons, always left to right */
.motion-stripe {
  height: 14px;
  background: repeating-linear-gradient(
    115deg,
    var(--blue) 0 22px,
    var(--navy) 22px 44px
  );
  border-top: 2px solid var(--midnight);
}

/* Containment frame corner ticks */
.frame { position: relative; }
.frame::before, .frame::after,
.frame > .tick::before, .frame > .tick::after {
  content: ""; position: absolute; width: 22px; height: 22px;
  border: 2px solid var(--signal); z-index: 2;
}
.frame::before { top: -2px; left: -2px; border-right: 0; border-bottom: 0; }
.frame::after { top: -2px; right: -2px; border-left: 0; border-bottom: 0; }
.frame > .tick::before { bottom: -2px; left: -2px; border-right: 0; border-top: 0; }
.frame > .tick::after { bottom: -2px; right: -2px; border-left: 0; border-top: 0; }

/* --- Hero ------------------------------------------------------------- */

.hero { position: relative; overflow: hidden; background: var(--midnight); color: #fff; }
.hero-inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; padding: 88px 24px 96px; position: relative; z-index: 1; }
.hero .lead { color: var(--slate); margin: 20px 0 30px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 0.76rem; font-weight: 500; letter-spacing: 0.14em;
  color: var(--tint); border: 1px solid var(--line); background: rgba(15, 34, 54, 0.7);
  padding: 7px 14px; border-radius: 100px; margin-bottom: 22px; text-transform: uppercase;
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--hivis); animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

.hero-ticks { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 34px; }
.hero-ticks li {
  list-style: none; display: flex; align-items: center; gap: 8px;
  font-size: 0.92rem; color: var(--slate);
}
.hero-ticks svg { flex: none; }

.hero-media { position: relative; }
.hero-media img { border-radius: var(--radius); box-shadow: var(--shadow); }
.hero-card {
  position: absolute; left: -18px; bottom: -22px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 8px;
  padding: 14px 18px; box-shadow: var(--shadow);
  font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.06em; color: var(--slate);
}
.hero-card strong { color: #fff; display: block; font-size: 0.85rem; margin-bottom: 3px; }
.hero-card .status { color: var(--hivis); }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; padding: 56px 24px 72px; gap: 44px; }
  .hero-card { left: 10px; bottom: -16px; }
}

/* --- Cards & grids ---------------------------------------------------- */

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
/* Grid items must be allowed to shrink below content min-width, or long
   unbreakable strings (emails, URLs) blow the track out past the viewport. */
.grid-2 > *, .grid-3 > *, .grid-4 > * { min-width: 0; }
a[href^="mailto:"] { overflow-wrap: anywhere; }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--mist); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-soft);
}
.card h3 { margin: 14px 0 8px; }
.card p { color: var(--steel); font-size: 0.98rem; }
.card .mono-label, .mono-label { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.16em; color: var(--blue); text-transform: uppercase; }
.section-dark .mono-label, .section-midnight .mono-label, .on-dark .mono-label { color: var(--tint); }

.section-dark .card, .card-dark {
  background: var(--surface); border-color: var(--line);
}
.section-dark .card h3, .card-dark h3 { color: #fff; }
.section-dark .card p, .card-dark p { color: var(--slate); }

.icon-chip {
  width: 46px; height: 46px; border-radius: 9px; display: flex; align-items: center; justify-content: center;
  background: rgba(29, 78, 216, 0.1); color: var(--blue);
}
.section-dark .icon-chip { background: rgba(59, 130, 246, 0.14); color: var(--tint); }

/* --- Data panel (mono facts card) ------------------------------------ */

.data-panel {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 28px; color: var(--slate);
  font-family: var(--font-mono); font-size: 0.85rem; letter-spacing: 0.04em;
}
.data-panel dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 22px; }
.data-panel dt { color: var(--slate); text-transform: uppercase; font-size: 0.72rem; letter-spacing: 0.14em; padding-top: 2px; }
.data-panel dd { color: #fff; }
.data-panel .status-live { color: var(--hivis); }

/* --- Pricing ---------------------------------------------------------- */

.price-table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--mist); background: #fff; box-shadow: var(--shadow-soft); }
table.price-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.price-table th, .price-table td { text-align: left; padding: 16px 22px; border-bottom: 1px solid var(--mist); }
.price-table thead th {
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--steel); background: var(--paper);
}
.price-table tbody tr:last-child td { border-bottom: 0; }
.price-table .plan-name { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; }
.price-table .price { font-family: var(--font-mono); font-weight: 500; white-space: nowrap; }
.price-table .save-chip {
  display: inline-block; font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500;
  background: rgba(29, 78, 216, 0.1); color: var(--blue); border-radius: 100px; padding: 3px 10px; margin-left: 8px;
}
.price-table .muted { color: var(--steel); font-size: 0.9rem; }
.price-table tr.highlight { background: rgba(29, 78, 216, 0.05); box-shadow: inset 3px 0 0 var(--blue); }

/* Calculator */
.calc {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; color: #fff;
}
.calc label { display: block; font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--tint); margin-bottom: 10px; }
.calc select, .calc input[type="number"] {
  width: 100%; padding: 12px 14px; border-radius: 8px; border: 1px solid var(--line);
  background: var(--midnight); color: #fff; font-family: var(--font-mono); font-size: 1rem;
}
.calc input[type="range"] { width: 100%; accent-color: var(--signal); }
.calc-out { margin-top: 22px; border-top: 1px solid var(--line); padding-top: 20px; display: grid; gap: 8px; }
.calc-row { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; font-size: 0.95rem; color: var(--slate); }
.calc-row strong { font-family: var(--font-mono); color: #fff; font-size: 1.05rem; }
.calc-row.total strong { color: var(--hivis); font-size: 1.35rem; }
.calc-note { font-size: 0.85rem; color: var(--slate); margin-top: 12px; }

/* Fit checker */
.fit-check { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; }
.fit-check .field { flex: 1 1 180px; }
.fit-result { margin-top: 16px; padding: 14px 18px; border-radius: 8px; font-weight: 500; display: none; }
.fit-result.ok { display: block; background: rgba(59, 130, 246, 0.14); color: var(--tint); border: 1px solid var(--signal); }
.fit-result.no { display: block; background: rgba(218, 255, 0, 0.08); color: var(--hivis); border: 1px solid rgba(218, 255, 0, 0.4); }

/* --- Steps ------------------------------------------------------------ */

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: 26px; background: #fff; border: 1px solid var(--mist); border-radius: var(--radius); box-shadow: var(--shadow-soft); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--font-mono); font-weight: 500; font-size: 0.8rem; letter-spacing: 0.14em;
  color: var(--blue); display: block; margin-bottom: 12px;
}
.step h3 { margin-bottom: 6px; }
.step p { color: var(--steel); font-size: 0.96rem; }
.section-dark .step { background: var(--surface); border-color: var(--line); }
.section-dark .step::before { color: var(--signal); }
.section-dark .step p { color: var(--slate); }

/* --- FAQ -------------------------------------------------------------- */

.faq-list { max-width: 820px; }
.faq-item { border: 1px solid var(--mist); border-radius: 10px; background: #fff; margin-bottom: 12px; box-shadow: var(--shadow-soft); }
.faq-item summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 18px;
  padding: 18px 22px; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-family: var(--font-mono); font-size: 1.3rem; color: var(--signal); flex: none; transition: transform 0.2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 22px 20px; color: var(--steel); }
.faq-item .faq-body a { font-weight: 500; }

/* --- Forms ------------------------------------------------------------ */

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--steel); margin-bottom: 7px; }
.on-dark .field label { color: var(--tint); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--steel); border-radius: 8px;
  font-family: var(--font-body); font-size: 1rem; background: #fff; color: var(--navy);
}
.on-dark .field input, .on-dark .field select, .on-dark .field textarea {
  background: var(--midnight); border-color: var(--steel); color: #fff;
}
.field .req { color: var(--blue); }
.on-dark .field .req { color: var(--tint); }
.field textarea { min-height: 110px; resize: vertical; }
.field-full { grid-column: 1 / -1; }
.form-note { font-size: 0.88rem; color: var(--steel); margin-top: 14px; }
.on-dark .form-note { color: var(--slate); }

/* --- Suburb search ---------------------------------------------------- */

.suburb-search { position: relative; max-width: 620px; }
.suburb-search input {
  width: 100%; padding: 16px 18px 16px 48px; font-size: 1.05rem;
  border: 2px solid var(--line); border-radius: 10px; background: var(--midnight); color: #fff;
  font-family: var(--font-body);
}
.suburb-search input::placeholder { color: var(--slate); }
.suburb-search .search-icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--steel); pointer-events: none; }
.suburb-results {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 20;
  background: var(--surface); border: 1px solid var(--line); border-radius: 10px;
  max-height: 380px; overflow: auto; box-shadow: var(--shadow); display: none;
}
.suburb-results.open { display: block; }
.suburb-results a {
  display: flex; justify-content: space-between; gap: 14px; align-items: baseline;
  padding: 13px 18px; text-decoration: none; color: #fff; border-bottom: 1px solid var(--line);
}
.suburb-results a:last-child { border-bottom: 0; }
.suburb-results a:hover, .suburb-results a.active { background: rgba(59, 130, 246, 0.14); }
.suburb-results .s-name { font-weight: 500; }
.suburb-results .s-meta { font-family: var(--font-mono); font-size: 0.75rem; color: var(--tint); white-space: nowrap; }
.suburb-results .no-match { padding: 16px 18px; color: var(--slate); }

.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-block; padding: 8px 16px; border-radius: 100px;
  border: 1px solid var(--line); color: var(--slate); text-decoration: none; font-size: 0.9rem;
  background: rgba(15, 34, 54, 0.6);
}
.chip:hover { border-color: var(--signal); color: #fff; }
.chip-light { border-color: var(--slate); color: var(--navy); background: #fff; }
.chip-light:hover { border-color: var(--blue); color: var(--blue); }
/* Chips rendered inside light sections must use the light treatment. */
.section-paper .chip, .section-white .chip { border-color: var(--slate); color: var(--navy); background: #fff; }
.section-paper .chip:hover, .section-white .chip:hover { border-color: var(--blue); color: var(--blue); }

/* --- Location page ---------------------------------------------------- */

.loc-hero { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.loc-hero-inner { padding: 64px 24px 70px; position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .loc-hero-inner { grid-template-columns: 1fr; } }
.breadcrumbs { font-size: 0.85rem; margin-bottom: 20px; color: var(--slate); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: var(--steel); }
.breadcrumbs a { color: var(--slate); }
.breadcrumbs [aria-current] { color: #fff; }
.section-paper .breadcrumbs, .breadcrumbs.on-light { color: var(--steel); }
.breadcrumbs.on-light a { color: var(--steel); }
.breadcrumbs.on-light [aria-current] { color: var(--navy); }

/* --- CTA band --------------------------------------------------------- */

.cta-band { background: var(--navy); color: #fff; padding: 90px 0; position: relative; overflow: hidden; text-align: center; border-top: 1px solid var(--line); }
.cta-band-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.cta-title { font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 800; }
.cta-sub { max-width: 52ch; color: var(--slate); }
.cta-hours { color: var(--slate); margin-top: 8px; }
.cta-band .btn-row { justify-content: center; }

/* --- Footer ----------------------------------------------------------- */

.site-footer { background: var(--midnight); color: var(--slate); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr; gap: 36px; padding: 64px 24px 40px; }
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.map-link {
  color: inherit; text-decoration: underline;
  text-decoration-color: var(--signal); text-underline-offset: 3px;
}
.map-link:hover { color: var(--signal); }

.footer-lockup { display: flex; align-items: center; gap: 14px; }
.footer-lockup .brand-word { font-size: 1.3rem; }
.footer-lockup .brand-word em { font-size: 0.76rem; }
.footer-brand p { font-size: 0.92rem; margin-top: 16px; max-width: 34ch; }
.footer-tagline {
  font-family: var(--font-display); font-weight: 700; font-style: italic;
  color: #fff; font-size: 1.05rem !important; margin-top: 14px !important;
}
.footer-coords { color: var(--slate); margin-top: 10px; }
.footer-col h3 { font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--slate); margin-bottom: 16px; }
.footer-col ul { list-style: none; display: grid; gap: 9px; }
.footer-col a { color: var(--slate); text-decoration: none; font-size: 0.95rem; }
.footer-col a:hover { color: #fff; }
.footer-contact li { font-size: 0.95rem; }
.footer-legal {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  border-top: 1px solid var(--line); padding-top: 22px; padding-bottom: 30px;
  font-size: 0.85rem; color: var(--slate);
}
.footer-legal a { color: var(--slate); text-decoration: underline; }

/* --- Sticky mobile call bar ------------------------------------------- */

.sticky-call { display: none; }
@media (max-width: 760px) {
  .sticky-call {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(6, 14, 26, 0.94); border-top: 1px solid var(--line);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  }
  body { padding-bottom: 76px; }
}
@media (max-width: 420px) {
  .sticky-tail { display: none; }
}
/* The open menu drawer must own the bottom of the screen: on short
   viewports its last links would otherwise sit behind the call bar. */
body.nav-open .sticky-call { display: none; }

/* --- Consent banner --------------------------------------------------- */

.consent-banner {
  position: fixed; z-index: 70; left: 18px; right: 18px; bottom: 18px;
  max-width: 520px; margin: 0 auto;
  background: var(--surface); color: var(--slate); border: 1px solid var(--line);
  border-radius: 12px; padding: 18px 20px; box-shadow: var(--shadow);
  display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between;
  font-size: 0.9rem;
}
.consent-banner[hidden] { display: none; }
.consent-banner a { color: var(--tint); }
.consent-actions { display: flex; gap: 10px; }
@media (max-width: 760px) { .consent-banner { bottom: 86px; } }

/* --- Map -------------------------------------------------------------- */

.map-embed { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--mist); min-height: 340px; background: var(--mist); }
.map-embed iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }
.map-placeholder {
  position: absolute; inset: 0; display: flex; flex-direction: column; gap: 14px;
  align-items: center; justify-content: center; text-align: center; padding: 24px;
  background: linear-gradient(160deg, var(--navy), var(--surface)); color: var(--slate);
}
.map-placeholder .mono { color: var(--tint); }

/* --- Reveal animation ------------------------------------------------- */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* --- Prose (legal pages) ---------------------------------------------- */

.prose { max-width: 780px; }
.prose h2 { margin: 44px 0 14px; font-size: 1.5rem; }
.prose h2 .clause-num {
  font-family: var(--font-mono); font-weight: 500; font-size: 0.85rem; color: var(--blue);
  display: block; letter-spacing: 0.16em; margin-bottom: 6px;
}
.prose p, .prose li { color: #33475e; }
.prose ul, .prose ol { padding-left: 24px; margin: 12px 0; display: grid; gap: 8px; }
.prose p { margin: 12px 0; }
.prose strong { color: var(--navy); }
.prose table { width: 100%; border-collapse: collapse; margin: 18px 0; }
.prose th, .prose td { border: 1px solid var(--mist); padding: 12px 14px; text-align: left; font-size: 0.95rem; }
.prose th { background: var(--paper); font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--steel); }
.notice-box {
  border-left: 3px solid var(--signal); background: rgba(29, 78, 216, 0.06);
  padding: 16px 20px; border-radius: 0 8px 8px 0; margin: 22px 0; font-size: 0.95rem;
}

/* --- Utility ---------------------------------------------------------- */

.center { text-align: center; }
.mt-1 { margin-top: 12px; } .mt-2 { margin-top: 24px; } .mt-3 { margin-top: 40px; }
.mb-2 { margin-bottom: 24px; }
.muted { color: var(--steel); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
