/* ==========================================================================
   Vast Chiropractic & Rehab — stylesheet
   Fonts: Archivo (display), IBM Plex Sans (body), IBM Plex Mono (labels/data)
   ========================================================================== */

:root{
  /* "Open Sky" palette — deep teal, sky blue, warm coral, off-white/charcoal. */
  --bg:#F7F5F1;
  --surface:#FFFFFF;
  --surface-2:#E7EEF0;
  --panel-warm:#F3EEE7;
  --ink:#2D2D2D;
  --ink-soft:#5C5C5A;
  --ink-faint:#8A8A86;
  --line:rgba(45,45,45,0.13);
  --line-soft:rgba(45,45,45,0.07);
  --brand:#1B4B5A;
  --brand-ink:#FFFFFF;
  --accent:#E8846B;
  --accent-ink:#211C18;
  --accent-bg:rgba(232,132,107,0.12);
  --stat:#2F7A5C;
  --stat-bg:rgba(47,122,92,0.10);
  --bad:#B4432B;
  --phase-vision:#2E6187;
  --phase-alignment:#2F7A5C;
  --phase-strength:#C4832E;
  --phase-transformation:#D8442A;
  --shadow:0 1px 2px rgba(45,45,45,0.06), 0 10px 30px -14px rgba(45,45,45,0.20);
}

@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){
    --bg:#101E1D;
    --surface:#17302E;
    --surface-2:#1C3634;
    --panel-warm:#211B15;
    --ink:#F0EDE7;
    --ink-soft:#B9B6AE;
    --ink-faint:#85837C;
    --line:rgba(240,237,231,0.13);
    --line-soft:rgba(240,237,231,0.07);
    --brand:#235A6B;
    --brand-ink:#FFFFFF;
    --accent:#F0987F;
    --accent-ink:#241A14;
    --accent-bg:rgba(240,152,127,0.14);
    --stat:#5FCBA0;
    --stat-bg:rgba(95,203,160,0.12);
    --bad:#E07156;
    --phase-vision:#5B93C4;
    --phase-alignment:#5FCBA0;
    --phase-strength:#E3A957;
    --phase-transformation:#EB6248;
    --shadow:0 1px 2px rgba(0,0,0,0.35), 0 10px 32px -14px rgba(0,0,0,0.55);
  }
}
:root[data-theme="dark"]{
  --bg:#101E1D; --surface:#17302E; --surface-2:#1C3634; --panel-warm:#211B15;
  --ink:#F0EDE7; --ink-soft:#B9B6AE; --ink-faint:#85837C;
  --line:rgba(240,237,231,0.13); --line-soft:rgba(240,237,231,0.07);
  --brand:#235A6B; --brand-ink:#FFFFFF;
  --accent:#F0987F; --accent-ink:#241A14; --accent-bg:rgba(240,152,127,0.14);
  --stat:#5FCBA0; --stat-bg:rgba(95,203,160,0.12);
  --bad:#E07156;
  --phase-vision:#5B93C4; --phase-alignment:#5FCBA0;
  --phase-strength:#E3A957; --phase-transformation:#EB6248;
  --shadow:0 1px 2px rgba(0,0,0,0.35), 0 10px 32px -14px rgba(0,0,0,0.55);
}

*, *::before, *::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; font-size:18px; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *{ animation-duration:.001ms !important; transition-duration:.001ms !important; }
}

body{
  margin:0;
  overflow-x:hidden;
  background:var(--bg);
  color:var(--ink);
  font-family:"IBM Plex Sans", -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}

img{ max-width:100%; display:block; }
a{ color:inherit; }
a:focus-visible, button:focus-visible, input:focus-visible{
  outline:2px solid var(--accent); outline-offset:2px; border-radius:2px;
}

.eyebrow{
  font-family:"IBM Plex Mono", ui-monospace, monospace;
  font-size:0.8rem;
  letter-spacing:0.14em;
  text-transform:uppercase;
  color:var(--ink-faint);
  display:block;
}

h1, h2, h3{
  font-family:"Archivo", "Arial Narrow", sans-serif;
  text-wrap:balance;
  margin:0;
  color:var(--ink);
}
/* text-wrap:balance can miscalculate against a ch-based max-width at narrow
   phone widths and overflow the viewport horizontally — plain wrapping is
   safer below ~600px; balance still runs on tablet/desktop. */
@media (max-width:600px){
  h1, h2, h3{ text-wrap:wrap; }
}

.shell{ max-width:1360px; margin:0 auto; padding:0 clamp(20px,4vw,56px); }
[id]{ scroll-margin-top:88px; }
.visually-hidden{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}

/* ---------------- Nav ---------------- */
/* Nav and hero share the same brand teal with nothing else between them, so
   without this the nav has no visible edge on page load — it just melts into
   the hero behind it. A hairline + soft shadow gives it a floating edge even
   when whatever's behind it happens to be the identical color. */
.nav{
  background:var(--brand); color:var(--brand-ink); position:sticky; top:0; z-index:20;
  box-shadow:0 1px 0 rgba(255,255,255,0.10), 0 4px 14px -6px rgba(0,0,0,0.35);
}
.nav .inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:16px clamp(20px,4vw,56px); max-width:1360px; margin:0 auto;
}
.wordmark{ display:flex; align-items:center; text-decoration:none; }
.wordmark img{ height:46px; width:auto; display:block; }
.navlinks{ display:flex; gap:28px; align-items:center; }
.navlinks a{
  font-family:"Inter", -apple-system, "Segoe UI", sans-serif; font-weight:500;
  font-size:0.9rem; letter-spacing:0;
  text-decoration:none; color:rgba(255,255,255,0.78);
}
.navlinks a:hover, .navlinks a:focus-visible{ color:var(--brand-ink); }
.navlinks a[aria-current="page"], .mobilepanel a[aria-current="page"]{ color:var(--accent); }

/* Services dropdown (desktop: floating popover / mobile: inline expand) */
.navdrop{ position:relative; }
.navdrop summary{
  list-style:none; cursor:pointer; display:flex; align-items:center; gap:5px;
  font-family:"Inter", -apple-system, "Segoe UI", sans-serif; font-weight:500;
  font-size:0.9rem; letter-spacing:0;
  color:rgba(255,255,255,0.78);
}
.navdrop summary::-webkit-details-marker{ display:none; }
.navdrop summary::marker{ display:none; content:""; }
.navdrop summary:hover, .navdrop[open] summary{ color:var(--brand-ink); }
.navdrop .caret{
  width:6px; height:6px; margin-top:-3px;
  border-right:1.5px solid currentColor; border-bottom:1.5px solid currentColor;
  transform:rotate(45deg); transition:transform .15s ease;
}
.navdrop[open] .caret{ transform:rotate(-135deg); margin-top:1px; }

.navlinks .navdrop .navdropmenu{
  position:absolute; top:calc(100% + 14px); left:50%; transform:translateX(-50%);
  background:var(--surface); color:var(--ink); border:1px solid var(--line); border-radius:8px;
  box-shadow:var(--shadow); padding:8px; min-width:220px;
  display:flex; flex-direction:column; gap:1px; z-index:30;
}
.navlinks .navdropmenu a{
  font-family:"Inter", -apple-system, "Segoe UI", sans-serif; font-weight:500;
  font-size:0.92rem; letter-spacing:0;
  text-decoration:none; color:var(--ink-soft); padding:9px 12px; border-radius:5px;
}
.navlinks .navdropmenu a:hover, .navlinks .navdropmenu a:focus-visible{
  background:var(--surface-2); color:var(--ink);
}
.navcta{
  background:var(--accent); color:var(--accent-ink);
  font-family:"Inter", -apple-system, "Segoe UI", sans-serif; font-size:0.88rem; font-weight:600;
  padding:9px 16px; border-radius:4px; text-decoration:none; letter-spacing:0;
  white-space:nowrap;
}
.navright{ display:flex; align-items:center; gap:18px; }

.navtoggle{
  display:none;
  background:none; border:1px solid rgba(255,255,255,0.32); border-radius:6px;
  width:40px; height:36px; cursor:pointer; padding:0;
  position:relative;
}
.navtoggle span, .navtoggle span::before, .navtoggle span::after{
  content:""; position:absolute; height:2px; background:var(--brand-ink);
  transition:transform .18s ease, opacity .18s ease;
}
.navtoggle span{ left:9px; right:9px; top:17px; }
.navtoggle span::before{ left:0; right:0; top:-6px; }
.navtoggle span::after{ left:0; right:0; top:6px; }
.navtoggle[aria-expanded="true"] span{ background:transparent; }
.navtoggle[aria-expanded="true"] span::before{ transform:translateY(6px) rotate(45deg); }
.navtoggle[aria-expanded="true"] span::after{ transform:translateY(-6px) rotate(-45deg); }

.mobilepanel{ display:none; }

@media (max-width:760px){
  .navlinks{ display:none; }
  .navtoggle{ display:block; }
  .navcta{ display:inline-block; padding:8px 12px; font-size:0.78rem; }
  .wordmark img{ height:34px; }
  .mobilepanel{
    display:block; max-height:0; overflow:hidden; background:var(--brand);
    transition:max-height .22s ease;
  }
  .mobilepanel.open{ max-height:260px; }
  .mobilepanel .inner{
    display:flex; flex-direction:column; gap:2px;
    padding:4px clamp(20px,4vw,56px) 18px;
  }
  .mobilepanel a{
    font-family:"Inter", -apple-system, "Segoe UI", sans-serif; font-weight:500;
    font-size:0.96rem; letter-spacing:0;
    text-decoration:none; color:rgba(255,255,255,0.85);
    padding:12px 0; border-top:1px solid rgba(255,255,255,0.12);
  }
  .mobilepanel .navdrop summary{
    padding:12px 0; border-top:1px solid rgba(255,255,255,0.12);
    justify-content:space-between; color:rgba(255,255,255,0.85);
  }
  .mobilepanel .navdropmenu{ display:flex; flex-direction:column; }
  .mobilepanel .navdropmenu a{
    padding-left:16px; font-size:0.88rem; opacity:0.8; border-top:1px solid rgba(255,255,255,0.08);
  }
}

/* ---------------- Hero ---------------- */
.hero{ background:var(--brand); color:var(--brand-ink); }
.hero .inner{
  max-width:880px; margin:0 auto;
  padding:clamp(56px,9vw,110px) clamp(20px,4vw,56px) clamp(48px,7vw,84px);
  text-align:center;
}
.hero .eyebrow{ color:rgba(255,255,255,0.6); text-align:center; }
.hero h1{
  font-size:clamp(2.5rem,5.6vw,4rem); line-height:1.02; font-weight:800;
  margin:16px auto 20px; color:var(--brand-ink); text-wrap:wrap;
}
.hero h1 em{ font-style:normal; color:var(--accent); }
.hero .dek{
  font-family:"IBM Plex Sans", sans-serif; font-size:1.18rem; color:rgba(255,255,255,0.82);
  max-width:56ch; margin:0 auto 30px;
}
.chips{ display:flex; flex-wrap:wrap; gap:9px; justify-content:center; margin-bottom:34px; }
.chip{
  font-family:"IBM Plex Mono", monospace; font-size:0.8rem; letter-spacing:0.03em;
  border:1px solid rgba(255,255,255,0.28); color:rgba(255,255,255,0.9);
  padding:7px 12px; border-radius:99px;
}
.chip b{ color:var(--accent); font-weight:600; }
.herobtns{ display:flex; gap:12px; justify-content:center; flex-wrap:wrap; }

/* Homepage hero only — left-aligned (About/Contact hero stays centered) */
.hero:not(.pagehero) .inner{ max-width:1360px; margin:0 auto; text-align:left; }
.hero:not(.pagehero) .dek{ max-width:760px; }
.hero:not(.pagehero) .eyebrow{ text-align:left; }
.hero:not(.pagehero) h1{ margin:16px 0 20px; max-width:none; }
.hero:not(.pagehero) .dek{ margin:0 0 30px; }
.hero:not(.pagehero) .chips{ justify-content:flex-start; }
.hero:not(.pagehero) .herobtns{ justify-content:flex-start; }
.btn-primary{
  background:var(--accent); color:var(--accent-ink); text-decoration:none;
  font-family:"IBM Plex Mono", monospace; font-weight:600; font-size:0.93rem;
  padding:14px 24px; border-radius:6px; display:inline-block; border:none; cursor:pointer;
}
.btn-ghost{
  background:transparent; color:var(--brand-ink); text-decoration:none;
  border:1px solid rgba(255,255,255,0.32);
  font-family:"IBM Plex Mono", monospace; font-weight:500; font-size:0.93rem;
  padding:14px 24px; border-radius:6px; display:inline-block;
}

/* ---------------- Sub-page hero (About / Contact) ---------------- */
.pagehero .inner{ padding-bottom:clamp(40px,6vw,64px); }
.pagehero h1{ font-size:clamp(2.2rem,4.6vw,3.3rem); max-width:20ch; }
.pagehero .herobtns{ margin-top:26px; }
.pagehero--nodek .herobtns{ margin-top:44px; }

.heroimg{
  position:relative; overflow:hidden;
  background-image:
    repeating-linear-gradient(115deg, rgba(255,95,53,0.07) 0px, rgba(255,95,53,0.07) 1px, transparent 1px, transparent 64px),
    repeating-linear-gradient(25deg, rgba(255,255,255,0.05) 0px, rgba(255,255,255,0.05) 1px, transparent 1px, transparent 46px);
}

/* ---------------- Values grid (About) ---------------- */
.valuesgrid{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
@media (max-width:900px){ .valuesgrid{ grid-template-columns:1fr 1fr; } }
@media (max-width:520px){ .valuesgrid{ grid-template-columns:1fr; } }
.valuecard{ background:var(--surface); border:1px solid var(--line); border-radius:10px; padding:24px; }
.valueicon{
  width:44px; height:44px; border-radius:99px; background:var(--stat-bg);
  display:flex; align-items:center; justify-content:center; margin-bottom:16px;
}
.valueicon svg{ width:22px; height:22px; stroke:var(--stat); fill:none; stroke-width:1.6; }
.valuecard h3{ font-size:1.08rem; margin-bottom:8px; text-transform:none; letter-spacing:0; }
.valuecard p{ color:var(--ink-soft); font-size:0.97rem; margin:0; }

/* ---------------- Team (About) ---------------- */
.teamintro{ max-width:68ch; color:var(--ink-soft); margin:0 0 24px; }
.teamgrid{ display:flex; flex-direction:column; gap:18px; }
.teamcard{
  display:grid; grid-template-columns:340px 1fr; gap:36px; align-items:start;
  background:var(--surface); border:1px solid var(--line); border-radius:10px; padding:28px;
}
@media (max-width:820px){
  .teamcard{ grid-template-columns:1fr; justify-items:center; text-align:center; gap:18px; }
  .teamcard .teamcred, .teamcard h4{ text-align:left; }
}
.avatar-mono{
  width:340px; height:340px; border-radius:50%; background:var(--brand); color:var(--accent);
  display:flex; align-items:center; justify-content:center;
  font-family:"Archivo", sans-serif; font-weight:800; font-size:3.2rem; letter-spacing:0.02em;
}
@media (max-width:820px){ .avatar-mono{ width:240px; height:240px; font-size:2.2rem; } }
.avatar-photo{
  width:340px; height:340px; border-radius:50%; object-fit:cover; object-position:center 15%;
  border:1px solid var(--line); display:block;
}
@media (max-width:820px){ .avatar-photo{ width:240px; height:240px; } }
.teamname{ font-family:"Archivo", sans-serif; font-weight:700; font-size:1.15rem; margin-bottom:2px; }
.teamcred{
  font-family:"IBM Plex Mono", monospace; font-size:0.82rem; letter-spacing:0.04em;
  text-transform:uppercase; color:var(--stat); display:block; margin-bottom:10px;
}
.teamcard p.bio{ color:var(--ink-soft); font-size:1.02rem; margin:0 0 14px; }
.teamcard p.bio:last-child{ margin-bottom:0; }
.teamcard .quotebit{ font-style:italic; }
.trainlist{ list-style:none; margin:0 0 14px; padding:0; display:flex; flex-direction:column; gap:5px; }
.trainlist li{ color:var(--ink-soft); font-size:0.97rem; padding-left:16px; position:relative; }
.trainlist li::before{ content:"–"; position:absolute; left:0; color:var(--ink-faint); }
.teamcard h4{
  font-family:"IBM Plex Mono", monospace; font-size:0.8rem; letter-spacing:0.08em;
  text-transform:uppercase; color:var(--ink-faint); margin:20px 0 8px;
}
.teamcard h4:first-of-type{ margin-top:20px; }

.closectabtns{ display:flex; gap:12px; flex-wrap:wrap; }
.closecta .btn-ghost-inv{
  border:1px solid rgba(255,255,255,0.32); color:var(--brand-ink); text-decoration:none;
  font-family:"IBM Plex Mono", monospace; font-weight:600; font-size:0.96rem;
  padding:15px 26px; border-radius:6px; white-space:nowrap;
}

/* ---------------- Story sections (About) ---------------- */
.storylede{
  font-family:"IBM Plex Sans", sans-serif; font-style:italic; font-weight:500;
  font-size:clamp(1.3rem,2.6vw,1.7rem); line-height:1.5; color:var(--ink);
  max-width:34ch; margin:0 auto; text-align:center; text-wrap:balance;
}
.storybody{
  font-size:1.08rem; color:var(--ink-soft); max-width:68ch; margin:0;
}
.storybody strong{ color:var(--ink); font-weight:600; }
.storybody .accent{ color:var(--accent); font-weight:600; }

.whogrid{ display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
@media (max-width:900px){ .whogrid{ grid-template-columns:1fr 1fr; } }
@media (max-width:520px){ .whogrid{ grid-template-columns:1fr; } }
.whocard{ background:var(--surface); border:1px solid var(--line); border-radius:10px; padding:22px; }
.whocard h3{ font-size:1.05rem; margin-bottom:8px; }
.whocard p{ color:var(--ink-soft); font-size:0.97rem; margin:0; }

/* Contact page directions note */
.notecard{
  background:var(--surface); border:1px solid var(--line); border-radius:10px;
  padding:24px 26px; max-width:68ch;
}
.notecard p{ margin:0; color:var(--ink-soft); }
.notecard + .notecard{ margin-top:14px; }

/* ---------------- Sections ---------------- */
section{ padding:clamp(50px,7vw,86px) 0; }
/* The "Ready to Regain Your Potential?" band already has its own strong visual
   presence (photo, dark overlay), so it doesn't need as much surrounding
   whitespace as a typical text section. */
section:has(> .closecta--loud){ padding:clamp(10px,1.6vw,18px) 0; }
/* Hairline between homepage sections so each one reads as its own beat.
   Skipped where a section already opens with its own full-bleed band
   (e.g. testimonials) — that band edge is separator enough on its own. */
main.shell > section + section{ border-top:1px solid color-mix(in srgb, var(--accent) 45%, transparent); }
main.shell > section:has(> .testiband){ border-top:none; }
main.shell > section:has(> .testiband) + section{ border-top:none; }

/* Slightly tinted panel behind a section, e.g. services page's "How It All
   Connects" — sets it apart from the plain page background without a hard band. */
.processpanel{
  background:var(--surface-2); border-radius:20px;
  padding:clamp(40px,6vw,64px) clamp(24px,4vw,44px);
}
main.shell > section.processpanel{ border-top:none; }
main.shell > section.processpanel + section{ border-top:none; }
/* The symptom cards' icon badges are a pale blue (#E8EDF0) almost identical to
   --surface-2, so on this specific panel they'd wash out — swap in a warm
   neutral instead so the icons keep their contrast against the panel. */
#symptoms.processpanel{ background:var(--panel-warm); }

.head{ margin-bottom:34px; }
.head h2{ font-size:clamp(1.7rem,3.4vw,2.4rem); max-width:22ch; }
.head .lede{ color:var(--ink-soft); font-size:1.02rem; max-width:62ch; margin-top:10px; }

/* Centered heading variant — lets the h2 run wide (one line on desktop)
   instead of wrapping inside the default 22ch column. */
.head.center{ text-align:center; }
.head.center h2{ max-width:none; margin-left:auto; margin-right:auto; }
.head.center .lede{ margin-left:auto; margin-right:auto; }

#process .head{ text-align:center; margin-left:auto; margin-right:auto; }
#process .head h2{ margin:18px auto 0; line-height:1.35; text-transform:uppercase; word-spacing:-0.04em; }

#difference .head{ text-align:center; margin-left:auto; margin-right:auto; }
#difference .head h2{ margin:0 auto; text-transform:uppercase; max-width:none; text-wrap:wrap; line-height:1.35; }
#difference .head .lede{ margin-left:auto; margin-right:auto; }
#difference .herobtns{ margin-top:36px; }
/* .btn-ghost is styled for dark hero/closecta backgrounds (white border+text) —
   override to a version that reads on this section's light background. */
#difference .herobtns .btn-ghost{ color:var(--ink); border-color:var(--line); }
#difference .herobtns .btn-ghost:hover{ border-color:var(--ink-soft); }

#symptoms .head{ text-align:center; margin-left:auto; margin-right:auto; }
#symptoms .head h2{ margin:18px auto 0; line-height:1.35; text-transform:uppercase; }
#symptoms .head .lede{ margin-left:auto; margin-right:auto; }

/* Compare band */
.compare{
  display:grid; grid-template-columns:1fr 1fr; gap:1px;
  background:var(--line); border:1px solid var(--line); border-radius:10px; overflow:hidden;
}
@media (max-width:720px){ .compare{ grid-template-columns:1fr; } }
.col{ background:var(--surface); padding:26px 28px; }
.col.win{ background:var(--brand); color:var(--brand-ink); }
.col h3{ font-size:1.05rem; text-transform:uppercase; letter-spacing:0.02em; margin-bottom:18px; }
.col.win h3{ color:var(--accent); }
.row{ display:flex; gap:10px; padding:11px 0; border-top:1px solid var(--line-soft); font-size:1.02rem; }
.col.win .row{ border-top:1px solid rgba(255,255,255,0.12); }
.col:not(.win) .row::before{
  content:"–"; color:var(--bad); font-family:"IBM Plex Mono",monospace; font-weight:600; flex:0 0 auto;
}
.col.win .row::before{
  content:"✓"; color:var(--accent); font-family:"IBM Plex Mono",monospace; font-weight:600; flex:0 0 auto;
}
.row:first-of-type{ border-top:none; }
.col:not(.win) .row{ color:var(--ink-soft); }
.col.win .row{ color:rgba(255,255,255,0.92); }

/* Comparison table (Why Choose Us) */
.comparetable-wrap{
  overflow-x:auto; border:1px solid var(--line); border-radius:14px;
  background:var(--surface);
}
/* On screens with room to spare beyond the shell's 1360px cap, let the table
   breathe a bit wider so the longer rows (Assessment, Duration of Relief)
   fit on one line instead of wrapping to two. */
@media (min-width:1360px){
  .comparetable-wrap{
    width:1300px;
    position:relative; left:50%; transform:translateX(-50%);
  }
}
.comparetable{ width:100%; border-collapse:collapse; min-width:640px; }
.comparetable th, .comparetable td{ padding:14px 16px; text-align:left; vertical-align:top; }
.comparetable thead th{
  font-family:"IBM Plex Mono", monospace; font-size:0.78rem; letter-spacing:0.03em;
  color:var(--ink-soft); font-weight:600;
  border-bottom:1px solid var(--line); background:var(--surface-2);
}
.comparetable thead th.win-col{
  background:var(--brand); color:var(--accent); font-weight:700;
}
.comparetable tbody th{
  font-family:"IBM Plex Mono", monospace; font-size:0.76rem; letter-spacing:0.02em;
  text-transform:uppercase; color:var(--ink-faint); font-weight:600;
  border-bottom:1px solid var(--line-soft); white-space:nowrap;
}
.comparetable tbody td{
  font-size:0.92rem; color:var(--ink-soft); border-bottom:1px solid var(--line-soft);
}
.comparetable tbody tr:last-child th, .comparetable tbody tr:last-child td{ border-bottom:none; }
.comparetable td.win-col{
  background:var(--brand); color:var(--brand-ink); font-weight:600;
}
.ct-icon{
  display:inline-block; width:1.1em; margin-right:8px; font-weight:700;
  font-family:"IBM Plex Mono", monospace;
}
.ct-no{ color:var(--ink-faint); }
.ct-yes{ color:var(--accent); }

@media (max-width:760px){
  .comparetable-wrap{ overflow-x:visible; border:none; background:transparent; }
  .comparetable, .comparetable thead, .comparetable tbody, .comparetable tr, .comparetable th, .comparetable td{
    display:block; width:100%; min-width:0;
  }
  .comparetable thead{ display:none; }
  .comparetable tbody tr{
    margin-bottom:16px; border:1px solid var(--line); border-radius:14px; overflow:hidden;
  }
  .comparetable tbody th{
    background:var(--surface-2); color:var(--ink); padding:12px 18px; white-space:normal;
  }
  .comparetable tbody td{ padding:14px 18px; }
  .comparetable tbody td::before{
    content:attr(data-label);
    display:block; font-family:"IBM Plex Mono", monospace; font-size:0.72rem;
    letter-spacing:0.04em; text-transform:uppercase; margin-bottom:6px;
  }
  .comparetable tbody td:not(.win-col)::before{ color:var(--ink-faint); }
  .comparetable tbody td.win-col::before{ color:rgba(255,255,255,0.6); }
}

/* Process */
.steps{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
@media (max-width:760px){ .steps{ grid-template-columns:1fr; } }
.step{ background:var(--surface); border:1px solid var(--line); border-radius:10px; padding:26px; }
.step .n{
  font-family:"IBM Plex Mono", monospace; font-variant-numeric:tabular-nums; font-size:0.86rem;
  color:var(--stat); background:var(--stat-bg); display:inline-block; padding:3px 9px; border-radius:99px; margin-bottom:14px;
}
.step h3{ font-size:1.25rem; margin-bottom:8px; }
.step p{ color:var(--ink-soft); font-size:1.02rem; margin:0; }

/* V.A.S.T flow chart */
.vastflow{
  display:flex; align-items:stretch; gap:18px;
  width:100vw; max-width:1760px; position:relative; left:50%;
  transform:translateX(-50%); padding:0 clamp(20px,4vw,56px);
}
.flowstep{
  flex:1; min-width:0; text-align:center; position:relative;
  background:var(--surface); border:1px solid var(--line); border-top:3px solid var(--line);
  border-radius:18px;
  padding:26px 28px;
}
/* Each phase gets its own color, reading blue → green → amber → red-orange:
   a cool diagnosis to a warm, energized payoff. */
.flowstep--vision{ border-top-color:var(--phase-vision); }
.flowstep--alignment{ border-top-color:var(--phase-alignment); }
.flowstep--strength{ border-top-color:var(--phase-strength); }
.flowstep--transformation{ border-top-color:var(--phase-transformation); }
.flowletter{
  width:80px; height:80px; border-radius:50%;
  background:var(--brand);
  display:flex; align-items:center; justify-content:center;
  margin:0 auto 22px; overflow:hidden;
}
.flowstep--vision .flowletter{ background:var(--phase-vision); }
.flowstep--alignment .flowletter{ background:var(--phase-alignment); }
.flowstep--strength .flowletter{ background:var(--phase-strength); }
.flowstep--transformation .flowletter{ background:var(--phase-transformation); }
.flowletter img{
  width:38px; height:38px; object-fit:contain; display:block;
  filter:invert(1);
}
.flowstep h3{ font-size:1.3rem; margin-bottom:10px; }
.flowstep p{ color:var(--ink-soft); font-size:0.94rem; margin:0; text-align:left; }
.flowarrow{
  flex:0 0 auto; align-self:center;
  width:40px; height:0; border-top:2px dotted var(--ink-faint);
}
/* Keep all four phases in a single horizontal line down to tablet width, with
   the dotted connectors visible throughout, so the V→A→S→T progression reads
   as one continuous flow instead of breaking into a 2x2 grid. Cards tighten
   up their padding/type at the narrower end of that range to stay legible. */
@media (min-width:821px) and (max-width:1100px){
  .flowstep{ padding:18px 18px; }
  .flowletter{ width:62px; height:62px; margin-bottom:16px; }
  .flowletter img{ width:30px; height:30px; }
  .flowstep h3{ font-size:1.1rem; margin-bottom:8px; }
  .flowstep p{ font-size:0.85rem; }
  .flowarrow{ width:16px; }
}
@media (max-width:820px){
  .vastflow{ flex-direction:column; align-items:center; gap:10px; }
  .flowstep{ width:100%; max-width:420px; }
  .flowarrow{
    width:0; height:28px; border-top:none; border-left:2px dotted var(--ink-faint);
    margin:2px 0;
  }
}

/* Testimonials */
.sample-tag{
  font-family:"IBM Plex Mono", monospace; font-size:0.76rem; letter-spacing:0.06em; text-transform:uppercase;
  color:var(--ink-faint); border:1px dashed var(--line); border-radius:99px; padding:4px 10px;
  display:inline-block; margin-top:14px;
}
.testinav{ display:flex; justify-content:flex-end; gap:10px; margin:-8px 0 18px; }
.testinav button{
  width:38px; height:38px; border-radius:50%; padding:0;
  border:1px solid var(--line); background:var(--surface); color:var(--ink);
  font-size:1rem; line-height:1; cursor:pointer;
  display:flex; align-items:center; justify-content:center;
}
.testinav button:hover{ border-color:var(--accent); color:var(--accent); }
.testinav button:disabled{ opacity:0.35; cursor:default; border-color:var(--line); color:var(--ink); }

.testigrid{
  display:flex; gap:20px; overflow-x:auto; scroll-snap-type:x mandatory;
  padding:2px 2px 16px; margin:0 -2px;
  scrollbar-width:thin; scrollbar-color:var(--line) transparent;
}
.testigrid::-webkit-scrollbar{ height:7px; }
.testigrid::-webkit-scrollbar-track{ background:transparent; }
.testigrid::-webkit-scrollbar-thumb{ background:var(--line); border-radius:99px; }
.testigrid::-webkit-scrollbar-thumb:hover{ background:var(--ink-faint); }
.testi{
  background:var(--surface); border:1px solid var(--line); border-radius:10px; padding:24px;
  display:flex; flex-direction:column;
  flex:0 0 clamp(260px,80vw,340px); scroll-snap-align:start;
}
.testihead{ display:flex; align-items:center; justify-content:space-between; margin-bottom:12px; }
.googleicon{ width:18px; height:18px; flex:0 0 auto; }
.stars{ color:var(--accent); font-family:"IBM Plex Mono", monospace; font-size:0.82rem; letter-spacing:0.12em; }
.testi .quote{ font-size:0.92rem; margin:0 0 18px; flex:1; color:var(--ink); }
.readmore-btn{
  align-self:flex-start; background:none; border:none; padding:0; margin:-10px 0 16px;
  font-family:"IBM Plex Mono", monospace; font-size:0.76rem; font-weight:600;
  color:var(--brand); cursor:pointer; text-decoration:underline; text-underline-offset:2px;
}
.readmore-btn:hover, .readmore-btn:focus-visible{ color:var(--accent); }
.testi .who{ display:flex; justify-content:space-between; align-items:baseline; border-top:1px solid var(--line-soft); padding-top:12px; }
.testi .name{ font-family:"IBM Plex Mono", monospace; font-size:0.82rem; font-weight:600; color:var(--ink); }
.testi .meta{ font-family:"IBM Plex Mono", monospace; font-size:0.75rem; color:var(--ink-faint); }

/* Testimonials band — full-bleed dark surface that spans the browser edge to edge,
   breaking out of the .shell it sits in, so this section stands apart from the page. */
.testiband{
  background:var(--brand); color:var(--brand-ink);
  width:100vw; position:relative; left:50%; right:50%;
  margin-left:-50vw; margin-right:-50vw;
}
.testiband-inner{
  max-width:1680px; margin:0 auto; padding:clamp(40px,6vw,64px) clamp(20px,4vw,56px);
}
.testiband .head{ text-align:center; margin-left:auto; margin-right:auto; }
.testiband .head h2{ color:var(--brand-ink); max-width:34ch; margin:0 auto; line-height:1.35; }
.testiband .head .lede{ color:rgba(255,255,255,0.82); max-width:60ch; margin:12px auto 0; }
.testiband .testinav{ justify-content:center; margin-top:22px; }
.testiband .testinav button{
  background:transparent; border-color:rgba(255,255,255,0.32); color:var(--brand-ink);
}
.testiband .testinav button:hover{ border-color:var(--accent); color:var(--accent); }
.testiband .testinav button:disabled{ opacity:0.35; border-color:rgba(255,255,255,0.2); color:var(--brand-ink); }

/* Booking section */
.booksection{ background:var(--surface-2); border-radius:14px; padding:clamp(30px,5vw,56px); }
.bookgrid{ display:grid; grid-template-columns:1fr 1fr; gap:clamp(30px,5vw,60px); align-items:center; }
@media (max-width:800px){ .bookgrid{ grid-template-columns:1fr; } }
.bookgrid--solo{ grid-template-columns:1fr; justify-items:center; }
.bookgrid--solo .bookembed{ width:100%; max-width:640px; }

.bookembed{
  background:var(--surface); border-radius:10px; box-shadow:var(--shadow);
  overflow:hidden; min-height:420px; display:flex; flex-direction:column;
}
.bookembed .fallback{
  padding:24px; text-align:center; display:flex; flex-direction:column; gap:12px; align-items:center; justify-content:center; flex:1;
}
.bookembed .fallback p{ color:var(--ink-soft); font-size:0.97rem; margin:0; max-width:32ch; }
.bookembed iframe{ width:100%; height:600px; border:0; display:block; }

/* Contact */
.contactcard{
  display:grid; grid-template-columns:repeat(4,1fr); gap:1px;
  background:var(--line); border:1px solid var(--line); border-radius:10px; overflow:hidden;
}
@media (max-width:800px){ .contactcard{ grid-template-columns:1fr 1fr; } }
@media (max-width:480px){ .contactcard{ grid-template-columns:1fr; } }
.citem{ background:var(--surface); padding:22px 24px; }
.citem .clabel{
  font-family:"IBM Plex Mono", monospace; font-size:0.76rem; letter-spacing:0.08em;
  text-transform:uppercase; color:var(--ink-faint); display:block; margin-bottom:8px;
}
.citem p{ margin:0; font-size:1.02rem; color:var(--ink-soft); }
.citem p a{ color:var(--ink); text-decoration:underline; text-decoration-color:var(--line); }
.citem p a:hover{ color:var(--accent); text-decoration-color:var(--accent); }

/* ---------------- Location card (Contact) ---------------- */
.locationcard{
  display:grid; grid-template-columns:1fr 1.15fr; gap:0; align-items:stretch;
  background:var(--surface); border:1px solid var(--line); border-radius:12px; overflow:hidden;
}
@media (max-width:820px){ .locationcard{ grid-template-columns:1fr; } }
.locationimg{
  background:var(--brand); min-height:260px; display:flex; align-items:center; justify-content:center;
  position:relative;
}
.locationimg img{ width:100%; height:100%; object-fit:cover; display:block; }
.locationimg iframe{ width:100%; height:100%; border:0; display:block; min-height:260px; }
.locationimg .placeholder-mark{
  font-family:"Archivo", sans-serif; font-weight:800; font-size:2.4rem; color:var(--accent);
  letter-spacing:0.02em;
}
.locationinfo{ padding:clamp(24px,3.5vw,40px); display:flex; flex-direction:column; }
.locationname{ font-family:"Archivo", sans-serif; font-weight:700; font-size:1.3rem; margin-bottom:4px; }
.locationsub{ color:var(--ink-faint); font-size:0.96rem; margin-bottom:22px; }
.locationdetails{ display:grid; grid-template-columns:1fr 1fr; gap:18px 20px; margin-bottom:26px; }
@media (max-width:480px){ .locationdetails{ grid-template-columns:1fr; } }
.locationdetails .clabel{
  font-family:"IBM Plex Mono", monospace; font-size:0.76rem; letter-spacing:0.08em;
  text-transform:uppercase; color:var(--ink-faint); display:block; margin-bottom:6px;
}
.locationdetails p{ margin:0; font-size:1.02rem; color:var(--ink-soft); }
.locationdetails p a{ color:var(--ink); text-decoration:underline; text-decoration-color:var(--line); }
.locationdetails p a:hover{ color:var(--accent); text-decoration-color:var(--accent); }
.locationbtns{ display:flex; gap:12px; flex-wrap:wrap; margin-top:auto; }
.locationbtns a{
  font-family:"IBM Plex Mono", monospace; font-size:0.88rem; font-weight:600; letter-spacing:0.02em;
  padding:12px 20px; border-radius:6px; text-decoration:none; display:inline-block;
}
.locationbtns .primary{ background:var(--accent); color:var(--accent-ink); }
.locationbtns .secondary{ background:none; border:1px solid var(--line); color:var(--ink); }
.locationbtns .secondary:hover{ border-color:var(--accent); color:var(--accent); }

/* ---------------- Closing CTA band (About / Contact) ---------------- */
.closecta{
  background:var(--brand); color:var(--brand-ink); border-radius:12px;
  padding:clamp(30px,5vw,52px); display:flex; justify-content:space-between; align-items:center; gap:24px; flex-wrap:wrap;
}
.closecta h2{ color:var(--brand-ink); font-size:clamp(1.5rem,3vw,2.1rem); max-width:18ch; }
.closecta a{
  background:var(--accent); color:var(--accent-ink); text-decoration:none;
  font-family:"IBM Plex Mono", monospace; font-weight:600; font-size:0.96rem;
  padding:15px 26px; border-radius:6px; white-space:nowrap;
}

/* Loud wide variant with a full-bleed background photo (Contact page's closing booking band) */
.closecta.closecta--loud{
  display:flex; align-items:center;
  position:relative; overflow:hidden; isolation:isolate;
  color:var(--accent-ink);
  padding:clamp(36px,6vw,64px) clamp(28px,4.5vw,48px);
  min-height:340px;
  background:
    linear-gradient(100deg, rgba(28,20,10,0.82) 0%, rgba(28,20,10,0.55) 45%, rgba(28,20,10,0.25) 100%),
    url("../assets/jumping-stock.jpg") center 46%/cover no-repeat,
    var(--accent);
}
.closecta--loud .closectabody{
  display:flex; flex-direction:column; align-items:flex-start; gap:18px; max-width:36ch;
}
.closecta--loud h2{
  color:#fff; max-width:none; text-transform:uppercase;
  font-size:clamp(1.5rem,3.2vw,2.2rem); line-height:1.08; letter-spacing:0.01em;
  text-shadow:0 2px 16px rgba(0,0,0,0.35);
}
.closecta--loud a{
  background:var(--accent); color:var(--accent-ink);
}
@media (max-width:760px){
  .closecta.closecta--loud{ min-height:280px; align-items:flex-end; }
}

/* ---------------- FAQ accordion ---------------- */
.faqlist{
  display:flex; flex-direction:column; gap:1px;
  background:var(--line); border:1px solid var(--line); border-radius:10px; overflow:hidden;
}
.faqitem{ background:var(--surface); }
.faqitem summary{
  cursor:pointer; list-style:none; padding:20px 24px;
  display:flex; justify-content:space-between; align-items:center; gap:16px;
  font-family:"Archivo", sans-serif; font-weight:600; font-size:1.02rem; color:var(--ink);
}
.faqitem summary::-webkit-details-marker{ display:none; }
.faqitem summary::marker{ display:none; content:""; }
.faqitem summary:hover{ color:var(--accent); }
.faqitem[open] summary{ color:var(--accent); }
.faqicon{ width:18px; height:18px; flex:0 0 auto; position:relative; }
.faqicon::before, .faqicon::after{
  content:""; position:absolute; background:var(--ink-faint); border-radius:1px;
}
.faqitem[open] .faqicon::before, .faqitem[open] .faqicon::after{ background:var(--accent); }
.faqicon::before{ top:8px; left:1px; right:1px; height:2px; }
.faqicon::after{ left:8px; top:1px; bottom:1px; width:2px; transition:transform .15s ease; }
.faqitem[open] .faqicon::after{ transform:scaleY(0); }
.faqa{ margin:0; padding:0 24px 22px; color:var(--ink-soft); font-size:1.04rem; max-width:70ch; }
.faqa + .faqa{ padding-top:0; }
ul.faqa{ list-style:none; display:flex; flex-direction:column; gap:8px; }
ul.faqa li{ padding-left:18px; position:relative; }
ul.faqa li::before{ content:"–"; position:absolute; left:0; color:var(--ink-faint); }
ul.faqa li b{ color:var(--ink); font-weight:600; }

/* ---------------- Legal / policy pages ---------------- */
.legal{ max-width:760px; margin:0 auto; }
.legal .updated{
  font-family:"IBM Plex Mono", monospace; font-size:0.82rem; letter-spacing:0.02em;
  color:var(--ink-faint); margin:0 0 40px;
}
.legal h2{ font-size:1.4rem; margin:44px 0 14px; }
.legal h2:first-of-type{ margin-top:0; }
.legal h3{ font-size:1.08rem; margin:26px 0 10px; }
.legal p{ margin:0 0 16px; color:var(--ink-soft); line-height:1.7; }
.legal ul, .legal ol{ margin:0 0 16px; padding-left:22px; color:var(--ink-soft); line-height:1.7; }
.legal li{ margin-bottom:6px; }
.legal a{ color:var(--brand); text-decoration:underline; text-underline-offset:2px; }
.legal a:hover, .legal a:focus-visible{ color:var(--accent); }
.legal strong{ color:var(--ink); }

/* ---------------- Symptoms grid (Common Symptoms We Treat) ---------------- */
/* Less empty space between "See All Symptoms We Treat" and whatever follows —
   the link itself is already a strong enough close to the section. */
section:has(> .seelink){ padding-bottom:clamp(24px,4vw,44px); }
.symptomsgrid{ display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
@media (max-width:900px){ .symptomsgrid{ grid-template-columns:1fr 1fr; } }
@media (max-width:520px){ .symptomsgrid{ grid-template-columns:1fr; } }
.symptomcard{ background:var(--surface); border:1px solid var(--line); border-radius:10px; padding:22px; }
.symptomcard h3{ font-size:1.05rem; margin-bottom:8px; }
.symptomcard p{ color:var(--ink-soft); font-size:0.97rem; margin:0; }

/* Symptom cards that link out to their own dedicated condition page
   (rendered as <a class="symptomcard"> instead of <div class="symptomcard">)
   — reset anchor defaults and add a hover cue on the card itself. */
a.symptomcard{ display:block; color:inherit; text-decoration:none; transition:border-color .15s ease; }
a.symptomcard:hover{ border-color:var(--accent); }
a.symptomcard:hover h3{ color:var(--accent); }

/* Custom illustrated icons (homepage symptom cards) — each SVG already
   includes its own circular background and linework, so it's dropped in
   directly rather than wrapped in the badge treatment used elsewhere. */
.symptomphotoicon{ width:56px; height:56px; margin-bottom:16px; }

/* Solid icon-in-circle badges for the symptom cards — a bolder, filled style
   (colored circle + solid white glyph) instead of the thin outline icons
   used elsewhere on the site. */
.symptomicon{
  width:46px; height:46px; border-radius:50%; background:var(--accent);
  display:flex; align-items:center; justify-content:center; margin-bottom:16px; flex:0 0 auto;
}
.symptomicon svg{ width:22px; height:22px; fill:var(--accent-ink); stroke:none; }

/* "Also treat" pill row (homepage) — covers the rest of the condition list
   as quick scannable tags instead of more full cards, each linking straight
   to its entry on the full symptoms page. */
.symptompills{
  display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:10px;
  margin-top:26px;
}
.symptompillslabel{
  font-family:"IBM Plex Mono", monospace; font-size:0.82rem; letter-spacing:0.02em;
  color:var(--ink-faint);
}
.symptompill{
  font-family:"IBM Plex Mono", monospace; font-size:0.82rem; letter-spacing:0.01em;
  color:var(--ink-soft); background:var(--surface); border:1px solid var(--line);
  border-radius:99px; padding:8px 16px; text-decoration:none; white-space:nowrap;
}
.symptompill:hover, .symptompill:focus-visible{
  border-color:var(--accent); color:var(--accent); background:var(--accent-bg);
}
@media (max-width:520px){
  .symptompill{ white-space:normal; }
}

/* Symptom groups — splits the long symptom list into labeled clusters
   (Spine & Nerve, Head & Jaw, etc.) instead of one undifferentiated grid. */
.symptomgroup{ margin-bottom:44px; }
.symptomgroup:last-child{ margin-bottom:0; }
.symptomgrouphead{ display:flex; align-items:center; gap:14px; margin-bottom:20px; }
.symptomgrouphead h3{
  font-size:1.15rem; margin:0; white-space:nowrap; flex:0 0 auto; color:var(--ink);
}
.symptomgrouphead::after{ content:""; flex:1 1 auto; height:1px; background:var(--line); }
.seelink{
  display:inline-block; margin-top:24px;
  font-family:"IBM Plex Mono", monospace; font-size:0.93rem; font-weight:600;
  color:var(--ink); text-decoration:none; border-bottom:1px solid var(--line);
  padding-bottom:2px;
}
.seelink:hover{ color:var(--accent); border-bottom-color:var(--accent); }
#symptoms .seelink{ display:block; width:fit-content; margin-left:auto; margin-right:auto; }

/* ---------------- Services page ---------------- */
.servicesgrid{ display:grid; grid-template-columns:repeat(2,1fr); gap:20px; }
@media (max-width:860px){ .servicesgrid{ grid-template-columns:1fr; } }
.svcblock{
  background:var(--surface); border:1px solid var(--line); border-radius:12px;
  padding:clamp(24px,3vw,34px); display:grid; grid-template-columns:56px 1fr; gap:24px;
}
@media (max-width:640px){ .svcblock{ grid-template-columns:1fr; } }
.svcblock.svcwide{
  grid-column:1 / -1; background:var(--stat-bg); border-color:var(--stat);
}
.svcblock.svcwide .svcicon{ background:var(--surface); }
.svcblock.svcwide .svcrows span{ color:var(--brand); font-weight:600; }
.svcicon{
  width:56px; height:56px; border-radius:99px; background:var(--accent-bg);
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.svcicon svg{ width:26px; height:26px; stroke:var(--accent); fill:none; stroke-width:1.6; }
.svctag{
  display:inline-block; font-family:"IBM Plex Mono", monospace; font-size:0.86rem;
  font-weight:600; letter-spacing:0.04em; text-transform:uppercase; color:var(--accent);
  margin-bottom:8px;
}
.svcbody h3{ font-size:1.35rem; margin-bottom:10px; }
.svcbody p{ color:var(--ink-soft); font-size:1.04rem; max-width:64ch; margin:0 0 18px; }
.svcrows{ display:flex; flex-direction:column; gap:9px; margin-bottom:6px; }
.svcrows span{
  display:flex; align-items:flex-start; gap:8px; font-size:0.95rem; color:var(--stat);
}
.svcrows span::before{ content:""; width:6px; height:6px; margin-top:8px; border-radius:99px; background:var(--stat); flex-shrink:0; }
.svcrows--flow{ display:grid; grid-template-columns:repeat(3,1fr); gap:12px 24px; }
@media (max-width:760px){ .svcrows--flow{ grid-template-columns:1fr 1fr; } }
@media (max-width:460px){ .svcrows--flow{ grid-template-columns:1fr; } }
.svcrows--flow span{ align-items:center; }
.svcrows--flow span::before{ margin-top:0; }
.svcblock .seelink{ margin-top:6px; }

/* Grouped symptom tags inside the wide "Common Symptoms We Treat" block —
   splits the long flat list into labeled clusters, same idea as the
   symptoms page's .symptomgroup sections. */
.svcrows-groups{ display:flex; flex-direction:column; gap:16px; margin-bottom:6px; }
.svcrows-grouplabel{
  font-family:"IBM Plex Mono", monospace; font-size:0.72rem; letter-spacing:0.08em;
  text-transform:uppercase; color:var(--brand); opacity:0.7; margin-bottom:8px; display:block;
}
.svcrows-group .svcrows--flow{ margin-bottom:0; }

/* ---------------- Site footer ---------------- */
.sitefooter{ background:var(--brand); color:var(--brand-ink); margin-top:clamp(50px,7vw,86px); }

.footergrid{
  display:grid; grid-template-columns:1.1fr 1fr;
  gap:0; padding:clamp(36px,5vw,56px) clamp(20px,4vw,56px);
}
@media (max-width:760px){ .footergrid{ grid-template-columns:1fr; } }

.footermap{
  border-radius:8px; overflow:hidden; min-height:280px;
  border:1px solid rgba(255,255,255,0.14);
}
.footermap iframe{ width:100%; height:100%; min-height:280px; border:0; display:block; filter:grayscale(0.15) contrast(1.02); }

.footerinfo{
  display:flex; flex-direction:column; justify-content:center;
  padding:28px clamp(0px,3vw,40px);
}
.footername{
  font-family:"Archivo", sans-serif; font-weight:800; font-size:1.5rem;
  letter-spacing:0.01em; color:var(--brand-ink); margin:0 0 16px;
}
.footerlines{ list-style:none; margin:0 0 18px; padding:0; display:flex; flex-direction:column; gap:9px; }
.footerlines li{
  font-family:"IBM Plex Sans", sans-serif; font-size:1rem; color:rgba(255,255,255,0.82);
}
.footerlines a{ color:rgba(255,255,255,0.82); text-decoration:none; border-bottom:1px solid rgba(255,255,255,0.28); }
.footerlines a:hover{ color:var(--accent); border-bottom-color:var(--accent); }
.footerreview{
  align-self:flex-start;
  font-family:"IBM Plex Mono", monospace; font-size:0.86rem; font-weight:600; letter-spacing:0.02em;
  color:var(--accent); text-decoration:none; border:1px solid rgba(255,95,53,0.4);
  padding:10px 16px; border-radius:6px;
}
.footerreview:hover{ background:var(--accent); color:var(--accent-ink); }

.footerbottom{
  display:flex; flex-wrap:wrap; gap:10px 24px; align-items:center; justify-content:space-between;
  padding:18px clamp(20px,4vw,56px) 26px; border-top:1px solid rgba(255,255,255,0.12);
}
.footerbottom p{
  font-family:"IBM Plex Mono", monospace; font-size:0.8rem; color:rgba(255,255,255,0.55); margin:0;
}
.footerlegal{ display:flex; flex-wrap:wrap; gap:10px 20px; }
.footerlegal a{
  font-family:"IBM Plex Mono", monospace; font-size:0.8rem; color:rgba(255,255,255,0.55);
  text-decoration:none;
}
.footerlegal a:hover{ color:var(--brand-ink); }
.totop{
  width:34px; height:34px; border-radius:99px; border:1px solid rgba(255,255,255,0.28);
  background:transparent; color:var(--brand-ink); cursor:pointer; font-size:1rem; line-height:1;
}
.totop:hover{ border-color:var(--accent); color:var(--accent); }
