/* ==========================================================================
   Bright Smile Dental - shared stylesheet
   Re-brand the whole site by editing the custom properties below.
   ========================================================================== */
:root {
  /* Brand colours (all text/background pairings below meet WCAG AA) */
  --brand: #0f766e;          /* primary teal: buttons, links, icons */
  --brand-dark: #115e59;     /* hover / dark sections */
  --brand-soft: #e3f4f1;     /* tinted backgrounds */
  --accent: #b45309;         /* "most popular" badge, small highlights */
  --accent-soft: #fef3c7;
  --ink: #1f2937;            /* body text */
  --muted: #4b5563;          /* secondary text */
  --bg: #ffffff;
  --bg-alt: #f3faf8;
  --line: #d3e4e1;
  --focus: #1d4ed8;
  --danger: #b91c1c;
  --success-bg: #ecfdf5;

  /* Fonts: system stacks, nothing to download */
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-head: ui-rounded, "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Shape */
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 24px;
  --shadow: 0 6px 24px rgba(15, 80, 74, 0.10);
  --maxw: 1120px;
  --gutter: 1rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  padding-bottom: 4.75rem; /* room for the sticky mobile bar */
  overflow-wrap: break-word;
}
img, svg { max-width: 100%; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.2; margin: 0 0 .6em; color: #12302d; }
h1 { font-size: clamp(2rem, 6.5vw, 3.25rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.5rem, 4.5vw, 2.15rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-dark); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 200;
  background: #fff; color: var(--ink); padding: .7rem 1rem; border-radius: var(--radius-sm);
  box-shadow: var(--shadow); font-weight: 600;
}
.skip-link:focus { top: .75rem; }
main:focus { outline: none; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: 3rem; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 42rem; margin-bottom: 2rem; }
.section-head p { color: var(--muted); }
.eyebrow {
  display: inline-block; font-size: .85rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--brand); margin-bottom: .5rem;
}
.lead { font-size: 1.15rem; color: var(--muted); }
.grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.grid > * { min-width: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .7rem 1.4rem; border-radius: 999px;
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
  border: 2px solid transparent; transition: background .2s, color .2s, border-color .2s;
  text-align: center;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); color: #fff; }
.btn-outline { background: #fff; color: var(--brand-dark); border-color: var(--brand); }
.btn-outline:hover { background: var(--brand-soft); color: var(--brand-dark); }
.btn-light { background: #fff; color: var(--brand-dark); }
.btn-light:hover { background: var(--brand-soft); color: var(--brand-dark); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.btn[disabled] { opacity: .7; cursor: progress; }

/* ---------- Header & navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; padding-block: .6rem; }
.logo { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); }
.logo-mark { width: 44px; height: 44px; flex: none; }
.logo-bg { fill: var(--brand); }
.logo-tooth { fill: #fff; }
.logo-text { display: flex; flex-direction: column; font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; line-height: 1.1; color: #12302d; }
.logo-text small { font-weight: 600; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }

.nav-toggle {
  display: none; align-items: center; gap: .5rem; min-height: 44px; min-width: 44px;
  padding: .5rem .75rem; border: 2px solid var(--brand); border-radius: var(--radius-sm);
  background: #fff; color: var(--brand-dark); font: inherit; font-weight: 700; cursor: pointer;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s, opacity .2s;
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }
.nav-toggle .label { font-size: .95rem; }

.site-nav { width: 100%; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem .5rem; }
.site-nav a {
  display: block; padding: .5rem .75rem; border-radius: 999px; text-decoration: none;
  color: var(--ink); font-weight: 600; font-size: .98rem;
}
.site-nav a:hover { background: var(--brand-soft); color: var(--brand-dark); }
.site-nav a[aria-current="page"] { background: var(--brand-soft); color: var(--brand-dark); box-shadow: inset 0 -3px 0 var(--brand); }
.site-nav a.nav-cta { background: var(--brand); color: #fff; }
.site-nav a.nav-cta:hover { background: var(--brand-dark); color: #fff; }
.site-nav a.nav-cta[aria-current="page"] { background: var(--brand-dark); color: #fff; box-shadow: inset 0 -3px 0 var(--accent-soft); }

/* With JavaScript the mobile menu collapses behind the burger button */
.js .nav-toggle { display: inline-flex; }
.js .site-nav { display: none; }
.js .site-nav.is-open { display: block; padding-bottom: .5rem; }
.js .site-nav ul { flex-direction: column; }
.js .site-nav a { padding: .8rem 1rem; border-radius: var(--radius-sm); }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(160deg, var(--brand-soft), #fff 70%); padding-block: 2.5rem 3rem; }
.hero-inner { display: grid; gap: 2rem; align-items: center; }
.hero-art { max-width: 340px; margin-inline: auto; width: 100%; }
.ill-bg { fill: #c9ebe6; }
.ill-ring { fill: none; stroke: #fff; stroke-width: 6; }
.ill-tooth { fill: #fff; stroke: var(--brand); stroke-width: 3.5; }
.ill-spark { fill: var(--accent); }
.page-hero { background: linear-gradient(160deg, var(--brand-soft), #fff 80%); padding-block: 2.5rem 2rem; }
.page-hero .lead { max-width: 44rem; margin-bottom: 0; }

/* ---------- Trust strip ---------- */
.trust { background: var(--brand-dark); color: #fff; }
.trust ul { list-style: none; margin: 0; padding: 1.25rem 0; display: grid; gap: .9rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.trust li { display: flex; flex-direction: column; }
.trust strong { font-family: var(--font-head); font-size: 1.25rem; }
.trust span { color: #d7f0ec; font-size: .95rem; }

/* ---------- Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem; box-shadow: 0 1px 2px rgba(0, 0, 0, .03);
}
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.icon-wrap {
  display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; flex: none;
  border-radius: var(--radius-sm); background: var(--brand-soft); color: var(--brand-dark); margin-bottom: .8rem;
}
.icon-wrap svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.price-tag { display: inline-block; font-weight: 700; color: var(--brand-dark); background: var(--brand-soft); border-radius: 999px; padding: .15rem .8rem; font-size: .95rem; }
.card-link { font-weight: 700; display: inline-block; margin-top: .5rem; }
.num { display: inline-flex; width: 40px; height: 40px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; align-items: center; justify-content: center; margin-bottom: .7rem; }

/* ---------- Hours / area ---------- */
.two-col { display: grid; gap: 1.25rem; }
.hours { margin: 0; }
.hours div { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; border-bottom: 1px dashed var(--line); }
.hours dt { font-weight: 700; }
.hours dd { margin: 0; text-align: right; }
.area-list { columns: 2; list-style: none; padding: 0; margin: 0 0 1em; }
.area-list li { padding: .2rem 0 .2rem 1.4rem; position: relative; break-inside: avoid; }
.area-list li::before { content: ""; position: absolute; left: 0; top: .75em; width: .55rem; height: .55rem; border-radius: 50%; background: var(--brand); }

/* ---------- Testimonials ---------- */
.testimonial { margin: 0; display: flex; flex-direction: column; gap: .8rem; }
.testimonial blockquote { margin: 0; font-size: 1.05rem; }
.testimonial figcaption { font-weight: 700; color: var(--muted); }
.sample-tag { display: inline-block; align-self: flex-start; margin: 0; font-size: .8rem; font-weight: 700; color: #7c2d12; background: var(--accent-soft); border-radius: 999px; padding: .1rem .7rem; }
.stars { color: var(--accent); letter-spacing: .15em; font-size: 1.1rem; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--brand); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #e6f7f4; max-width: 38rem; margin-inline: auto; }
.cta-band .btn-row { justify-content: center; }

/* ---------- Services ---------- */
.jump { list-style: none; padding: 0; margin: 1.25rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.jump a { display: inline-block; padding: .35rem .9rem; border: 1px solid var(--brand); border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .95rem; background: #fff; }
.service { scroll-margin-top: 6rem; display: grid; gap: 1rem; }
.service + .service { margin-top: 1.25rem; }
.service-head { display: flex; align-items: center; gap: 1rem; }
.service-head .icon-wrap { margin: 0; }
.service-head h2 { margin: 0; font-size: 1.5rem; }
.included { list-style: none; padding: 0; margin: 0; }
.included li { padding: .2rem 0 .2rem 1.6rem; position: relative; }
.included li::before { content: ""; position: absolute; left: .1rem; top: .55em; width: .8rem; height: .45rem; border-left: 3px solid var(--brand); border-bottom: 3px solid var(--brand); transform: rotate(-45deg); }
.subhead { font-size: 1rem; font-weight: 700; margin: 0 0 .3rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }

/* ---------- About ---------- */
.avatar { width: 84px; height: 84px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 1.7rem; margin-bottom: 1rem; }
.av-1 { background: #0f766e; }
.av-2 { background: #1d4ed8; }
.av-3 { background: #9a3412; }
.role { color: var(--muted); font-weight: 600; margin-bottom: .6rem; }

/* ---------- Pricing ---------- */
.plan { position: relative; display: flex; flex-direction: column; }
.plan .price { font-family: var(--font-head); font-size: 2.4rem; font-weight: 800; color: #12302d; margin: .2rem 0; line-height: 1.1; }
.plan .price small { font-size: 1rem; font-weight: 600; color: var(--muted); }
.plan ul { padding-left: 0; list-style: none; flex: 1; }
.plan li { padding: .25rem 0 .25rem 1.6rem; position: relative; }
.plan li::before { content: ""; position: absolute; left: .1rem; top: .6em; width: .8rem; height: .45rem; border-left: 3px solid var(--brand); border-bottom: 3px solid var(--brand); transform: rotate(-45deg); }
.plan-popular { border: 3px solid var(--brand); box-shadow: var(--shadow); }
.badge { position: absolute; top: -.95rem; left: 1.2rem; background: var(--accent); color: #fff; font-weight: 800; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; padding: .3rem .9rem; border-radius: 999px; }
.price-list { list-style: none; padding: 0; margin: 0; }
.price-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.price-list a { font-weight: 600; }
.price-list span { font-weight: 700; white-space: nowrap; }
.note { background: var(--accent-soft); border-left: 5px solid var(--accent); border-radius: var(--radius-sm); padding: 1rem 1.25rem; color: #4a2c05; }

/* ---------- Gallery ---------- */
.gallery { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.gallery li { min-width: 0; }
.gallery-tile { display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; font: inherit; color: inherit; text-align: left; cursor: zoom-in; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.gallery-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.tile-caption { display: block; padding: .8rem 1rem 1rem; font-size: .95rem; }
.tile-caption strong { display: block; font-size: 1.02rem; }
.art { display: block; aspect-ratio: 4 / 3; width: 100%; overflow: hidden; }
.art svg { display: block; width: 100%; height: 100%; }
.art-1 { background: linear-gradient(135deg, #7dd3c8, #e3f4f1); }
.art-2 { background: linear-gradient(135deg, #a5c8f5, #e6f0fc); }
.art-3 { background: linear-gradient(135deg, #b6e0c3, #eaf7ee); }
.art-4 { background: linear-gradient(135deg, #fde08a, #fff4cf); }
.art-5 { background: linear-gradient(135deg, #d4c4f0, #f1ebfb); }
.art-6 { background: linear-gradient(135deg, #5eb8d4, #d8f0f7); }
.art-7 { background: linear-gradient(135deg, #f8b4a6, #fde6e0); }
.art-8 { background: linear-gradient(135deg, #0f2a45, #1d4468); }
.art-9 { background: linear-gradient(135deg, #99e0d6, #f1fbf9); }

.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(8, 28, 26, .92); display: flex; align-items: center; justify-content: center; padding: 1rem; }
.lightbox[hidden] { display: none; }
.lightbox-inner { width: 100%; max-width: 860px; display: flex; flex-direction: column; gap: .8rem; }
.lightbox-stage { border-radius: var(--radius); overflow: hidden; touch-action: pan-y; }
.lightbox-bar { display: flex; align-items: center; justify-content: space-between; gap: .5rem; flex-wrap: wrap; }
.lightbox-caption { color: #fff; margin: 0; flex: 1 1 100%; font-size: 1rem; }
.lightbox-count { color: #cfe7e3; font-size: .9rem; }
.lb-btn { min-width: 48px; min-height: 48px; border-radius: 999px; border: 2px solid #fff; background: transparent; color: #fff; font: inherit; font-weight: 700; cursor: pointer; padding: 0 1rem; }
.lb-btn:hover { background: #fff; color: #12302d; }
.lb-btn:focus-visible { outline-color: #fde08a; }
.lb-nav { display: flex; gap: .5rem; }
body.lb-open { overflow: hidden; }

/* ---------- Accordion ---------- */
.accordion { max-width: 50rem; }
.accordion-heading { margin: 0; font-size: 1rem; }
.accordion-item { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; margin-bottom: .75rem; overflow: hidden; }
.accordion-trigger {
  display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem 1.25rem; min-height: 56px; border: 0; background: transparent; font: inherit;
  font-family: var(--font-head); font-weight: 700; font-size: 1.08rem; color: #12302d; text-align: left; cursor: pointer;
}
.accordion-trigger:hover { background: var(--bg-alt); }
.js .accordion-trigger::after {
  content: ""; flex: none; width: .7rem; height: .7rem; border-right: 3px solid var(--brand); border-bottom: 3px solid var(--brand);
  transform: rotate(45deg); transition: transform .2s; margin-right: .3rem;
}
.js .accordion-trigger[aria-expanded="true"]::after { transform: rotate(-135deg); }
.accordion-panel { padding: 0 1.25rem 1.1rem; }
.accordion-panel[hidden] { display: none; }
.accordion-panel p:last-child { margin-bottom: 0; }

/* ---------- Contact & forms ---------- */
.contact-grid { display: grid; gap: 2rem; }
.form-card { padding: 1.5rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 700; margin-bottom: .3rem; }
.field .hint { font-weight: 400; color: var(--muted); font-size: .9rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fff;
  padding: .7rem .85rem; min-height: 48px; border: 2px solid #8aa5a1; border-radius: var(--radius-sm);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--focus); }
.field [aria-invalid="true"] { border-color: var(--danger); background: #fff7f7; }
.field-error { margin: .35rem 0 0; color: var(--danger); font-weight: 600; font-size: .92rem; }
.field-error:empty { display: none; }
.req { color: var(--danger); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status:empty { display: none; }
.form-status { margin: 0 0 1rem; padding: .8rem 1rem; border-radius: var(--radius-sm); background: #fef2f2; color: var(--danger); font-weight: 600; }
.form-success { background: var(--success-bg); border: 2px solid var(--brand); border-radius: var(--radius); padding: 1.5rem; }
.form-success[hidden] { display: none; }
.form-success:focus { outline: 3px solid var(--focus); }
.contact-list { list-style: none; padding: 0; margin: 0 0 1.25rem; }
.contact-list li { padding: .35rem 0; }
.contact-list strong { display: block; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
address { font-style: normal; }
.legal h2 { font-size: 1.35rem; margin-top: 2rem; }
.legal { max-width: 46rem; }

/* ---------- Footer ---------- */
.site-footer { background: #0e2f2c; color: #d6ebe8; padding-block: 2.5rem 1.5rem; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: #fde08a; }
.footer-grid { display: grid; gap: 1.75rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.footer-title { font-family: var(--font-head); font-weight: 800; color: #fff; margin: 0 0 .6rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: .2rem 0; }
.site-footer .logo-text, .site-footer .logo-text small { color: #fff; }
.site-footer .logo-bg { fill: #fff; }
.site-footer .logo-tooth { fill: var(--brand); }
.footer-note { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid #2a504c; font-size: .9rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; }

/* ---------- Sticky mobile bar ---------- */
.sticky-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: flex; gap: .6rem;
  padding: .6rem var(--gutter) calc(.6rem + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .98); border-top: 1px solid var(--line);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, .08);
}
.sticky-bar .btn { flex: 1 1 0; min-width: 0; padding-inline: .8rem; }
.sticky-bar .btn-outline { border-color: var(--brand); }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding-block: 3.5rem; }
.notfound .big { font-family: var(--font-head); font-size: clamp(4rem, 20vw, 8rem); font-weight: 800; color: var(--brand); line-height: 1; margin: 0; }
.notfound .btn-row { justify-content: center; }

/* ---------- Entrance animation (only once JS has confirmed it can reveal) ---------- */
.reveal-ready .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal-ready .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal-ready .reveal { opacity: 1; transform: none; }
}

/* ---------- Tablet and up ---------- */
@media (min-width: 640px) {
  :root { --gutter: 1.5rem; }
  .section { padding-block: 4rem; }
  .two-col { grid-template-columns: 1fr 1fr; }
  .service { grid-template-columns: 1fr 1fr; align-items: start; }
  .service-head, .service .service-intro { grid-column: 1 / -1; }
}

/* ---------- Desktop ---------- */
@media (min-width: 860px) {
  body { padding-bottom: 0; }
  .sticky-bar { display: none; }
  .header-inner { flex-wrap: nowrap; }
  .site-nav { width: auto; }
  .js .nav-toggle { display: none; }
  .js .site-nav, .js .site-nav.is-open { display: block; padding: 0; }
  .js .site-nav ul, .site-nav ul { flex-direction: row; flex-wrap: nowrap; gap: .15rem; }
  .js .site-nav a { padding: .5rem .75rem; border-radius: 999px; }
  .hero { padding-block: 4rem 4.5rem; }
  .hero-inner { grid-template-columns: 1.2fr .8fr; gap: 3rem; }
  .contact-grid { grid-template-columns: 1.3fr 1fr; align-items: start; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
}

@media (max-width: 859px) {
  /* no-JS fallback: nav shown as a tidy wrapped row */
  .site-nav ul { gap: .15rem; }
  .site-nav a { padding: .4rem .65rem; font-size: .92rem; }
}

@media print {
  .site-header, .sticky-bar, .nav-toggle, .skip-link { display: none !important; }
  body { padding: 0; }
}
