/* =========================================================
   Atty. Marisa B. Regudo, RCE — one-page site
   Desktop first: base = desktop (>= 1024px),
   then tablet (680–1023px), then mobile (< 680px).
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  /* Colour (HANDOFF.md, use exactly) */
  --navy-900: #0B2A5B;
  --navy-950: #071B3D;
  --navy-800: #154276; /* hover for primary buttons (white text 10.1:1) */
  --blue-600: #1D5A94;
  --gold-400: #D4AF37; /* gold on navy only */
  --gold-600: #B8912F; /* decorative only, never text */
  --white: #FFFFFF;
  --mist-50: #F4F6FA;
  --mist-200: #DDE3EE;
  --slate-600: #4A5668;

  /* Type */
  --font-head: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --fs-h1: 64px;
  --fs-hero: 56px; /* desktop board overrides the hero h1 to 56px */
  --fs-h2: 44px;
  --fs-h3: 26px;
  --fs-body: 16px; /* body text: 16px on every device */
  --fs-label: 13px;
  --fs-btn: 15px;

  /* Layout */
  --radius: 0;
  --wrap-max: 1248px;
  --gutter: 24px;
  --header-h: 96px;
  --topbar-h: 40px;
  --logo-h: 60px;
  --section-pad: 120px;
  --overlay-ms: 200ms;
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: var(--header-h);
  font-variant-numeric: lining-nums;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--white);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--slate-600);
}

img,
svg,
iframe { display: block; }

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

p,
ul,
h1, h2, h3, h4 { margin: 0; }

ul { padding: 0; list-style: none; }

address { font-style: normal; }

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--navy-900);
  outline-offset: 2px;
}

.on-navy :focus-visible { outline-color: var(--gold-400); }

/* Keeps short phrases (e.g. a time range) on one line */
.nowrap { white-space: nowrap; }

.visually-hidden {
  position: absolute !important;
  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: 16px;
  top: -100px;
  z-index: 100;
  padding: 12px 16px;
  background: var(--navy-900);
  color: var(--white);
  font: 600 var(--fs-btn)/1 var(--font-body);
  text-decoration: none;
}

.skip-link:focus { top: 16px; outline-color: var(--gold-400); }

/* ---------- Layout helpers ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.ic {
  width: 20px;
  height: 20px;
  flex: none;
  fill: currentColor;
}

/* ---------- Type ---------- */
.h1,
.h2,
.h3 {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--navy-900);
  text-wrap: balance;
}

.h1 { font-size: var(--fs-h1); line-height: 1.04; letter-spacing: -.01em; }
.h2 { font-size: var(--fs-h2); line-height: 1.1; }
.h3 { font-size: var(--fs-h3); line-height: 1.2; }

.eyebrow,
.label {
  font: 600 var(--fs-label)/1.2 var(--font-body);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue-600);
}

.label { font-size: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 52px;
  padding: 0 28px;
  border: 1.5px solid transparent;
  border-radius: var(--radius);
  font: 600 var(--fs-btn)/1 var(--font-body);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}

.btn-primary {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: var(--white);
}

/* Primary (Book an Appointment) hover: lightens to navy-800.
   Pointer devices only, so a tap on a phone doesn't leave it stuck. */
@media (hover: hover) {
  .btn-primary:hover {
    background: var(--navy-800);
    border-color: var(--navy-800);
  }
}

.btn-primary:active {
  background: var(--navy-950);
  border-color: var(--navy-950);
}

.btn-secondary {
  background: transparent;
  border-color: var(--navy-900);
  color: var(--navy-900);
}

.btn-secondary:hover { background: var(--mist-50); }

.btn--header { height: 44px; padding: 0 22px; }

/* Footer / menu text links */
.fl {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  font-size: 15px;
  color: var(--navy-900);
  text-decoration: none;
  transition: color 150ms ease;
}

.fl .ic { color: var(--blue-600); }

a.fl:hover {
  color: var(--blue-600);
  text-decoration: underline;
  text-decoration-color: var(--gold-600);
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

/* =========================================================
   Top bar
   ========================================================= */
.topbar {
  background: var(--navy-950);
  color: var(--white);
  font: 400 13px/1 var(--font-body);
}

.topbar__inner {
  height: var(--topbar-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topbar__group {
  display: flex;
  align-items: center;
  gap: 32px;
}

.topbar__link,
.topbar__hours {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.topbar__link { color: var(--white); text-decoration: none; }
.topbar__link:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.topbar .ic { width: 16px; height: 16px; }

/* =========================================================
   Sticky header + desktop nav
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--white);
  border-bottom: 1px solid var(--mist-200);
}

.site-header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 40px;
}

.site-header__logo {
  display: block;
  min-width: 0;
  margin-right: auto;
  line-height: 0;
}

/* If space runs out, the logo scales down instead of distorting */
.site-header__logo img {
  height: var(--logo-h);
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  height: 44px;
  font: 500 15px/1 var(--font-body);
  color: var(--slate-600);
  text-decoration: none;
  transition: color 150ms ease;
}

.nav-link:hover {
  color: var(--navy-900);
  text-decoration: underline;
  text-decoration-color: var(--gold-600);
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}
.nav-link[aria-current] { color: var(--blue-600); }

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-btn {
  width: 46px;
  height: 46px;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: var(--white);
  border: 1px solid var(--mist-200);
  border-radius: var(--radius);
  color: var(--navy-900);
  cursor: pointer;
}

/* Mobile-only full-width Book bar */
.book-bar {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  background: var(--navy-900);
  color: var(--white);
  font: 600 15px/1 var(--font-body);
  text-decoration: none;
  transition: background-color 150ms ease, color 150ms ease;
}

.book-bar .ic { width: 18px; height: 18px; color: var(--gold-400); }

@media (hover: hover) {
  .book-bar:hover { background: var(--navy-800); }
}

.book-bar:focus-visible {
  outline-color: var(--gold-400);
  outline-offset: -4px;
}

/* =========================================================
   Menu overlay (tablet + mobile only)
   ========================================================= */
.menu { display: none; }

.menu-btn__close { display: none; }
.menu-btn[aria-expanded="true"] .menu-btn__open { display: none; }
.menu-btn[aria-expanded="true"] .menu-btn__close { display: block; }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  background: var(--white);
}

.hero__grid {
  position: absolute;
  inset: 0;
}

.hero__inner {
  position: relative;
  padding-top: 80px;
  padding-bottom: 80px;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  align-items: start;
}

.hero__title {
  grid-column: 1 / 8;
  font-size: var(--fs-hero);
  line-height: 1.02;
}

.hero__aside {
  grid-column: 8 / 13;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.hero__actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
}

/* Statue photo band */
.statue {
  position: relative;
  height: 440px;
  overflow: hidden;
  background: var(--navy-950);
}

.statue img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  filter: grayscale(1);
}

.statue::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--navy-950);
  opacity: .4;
}

/* =========================================================
   Credentials
   ========================================================= */
.credentials { padding-top: 64px; }

.credentials__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.cred {
  min-height: 168px;
  padding: 28px 28px 24px;
  background: var(--mist-50);
  border-top: 4px solid var(--gold-600);
  border-radius: var(--radius);
  color: var(--navy-900);
}

.cred__icon { width: 32px; height: 32px; }

.cred__title { margin-top: 20px; }

.cred__text {
  margin-top: 6px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--slate-600);
}

/* =========================================================
   Expertise
   ========================================================= */
.expertise { padding: var(--section-pad) 0; }

.section-head {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 640px;
}

.expertise__grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 56px 48px;
}

.cat {
  border-top: 3px solid var(--gold-600);
  padding-top: 20px;
}

.cat__tile {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--navy-900);
}

.cat__tile svg {
  width: 30px;
  height: 30px;
  fill: var(--white);
}

.cat__title {
  margin: 16px 0 12px;
  font-size: 24px;
}

.cat__list li {
  display: flex;
  gap: 12px;
  align-items: baseline;
  padding: 5px 0;
  font-size: 16px;
  line-height: 1.45;
  color: var(--navy-900);
}

.cat__list li::before {
  content: "";
  flex: none;
  width: 5px;
  height: 5px;
  background: var(--gold-600);
  position: relative;
  top: -3px;
}

.expertise__cta .btn-secondary { min-width: 240px; }

.expertise__cta {
  margin-top: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

/* Appointment caveat (client wording) under Book buttons */
.booking-caveat {
  max-width: 560px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--slate-600);
}

/* =========================================================
   About
   ========================================================= */
.about {
  background: var(--mist-50);
  padding: 64px 0;
}

.about__frame {
  width: min(1312px, 100% - 48px);
  margin: 0 auto;
}

.about__card {
  background: var(--white);
  padding: 72px 64px;
}

.about__intro {
  display: grid;
  /* Framed portrait column fixed at 300px; text takes the rest */
  grid-template-columns: 300px minmax(0, 1fr);
  column-gap: 64px;
  align-items: start;
}

.about__portrait {
  width: 100%;
  /* Frame: white mat inside a thin gold border (16px on phones) */
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--gold-600);
}

/* Shown whole at its own proportions (width/height attributes reserve space) */
.about__portrait img {
  width: 100%;
  height: auto;
}

.about__title { margin-top: 12px; }

.about__roles {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  font: 600 12px/1.2 var(--font-body);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--navy-900);
}

.about__roles-sep {
  width: 1px;
  height: 14px;
  background: var(--gold-600);
}

.about__p { margin-top: 16px; }
.about__roles + .about__p { margin-top: 24px; }

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 24px;
  margin-top: 28px;
}

.stat,
.fact {
  border-top: 1px solid var(--mist-200);
  padding-top: 16px;
}

.stat__num,
.fact__num {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 52px;
  line-height: 1;
  color: var(--navy-900);
}

.stat__text {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.5;
}

.about__more {
  display: flex;
  flex-direction: column;
  gap: 56px;
  margin-top: 64px;
}

.about__label { margin-bottom: 16px; }

.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.fact__num { font-size: 40px; }

.fact__unit {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--slate-600);
}

.fact__text {
  display: block;
  font-size: 15px;
  line-height: 1.5;
}

.facts--years .fact__text { margin-top: 8px; }

.facts--icons .fact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fact__icon {
  width: 32px;
  height: 32px;
  color: var(--navy-900);
}

/* =========================================================
   FAQ (accordion: native <details>, one open at a time via name="faq")
   ========================================================= */
.faq { padding: var(--section-pad) 0 0; }

.faq__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  align-items: start;
}

.faq__head {
  grid-column: 1 / 5;
  /* The list is long; keep the heading in view beside it on desktop */
  position: sticky;
  top: calc(var(--header-h) + 32px);
}

.faq__body { grid-column: 5 / 13; }

/* Group labels: text kept as written; capitals applied by CSS so mixed
   casing in the source reads consistently */
.faq__group {
  margin: 48px 0 12px;
  font: 600 12px/1.2 var(--font-body);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue-600);
}

.faq__group:first-child { margin-top: 0; }

/* Close each group with a hairline */
.faq__item:has(+ .faq__group),
.faq__item:last-child { border-bottom: 1px solid var(--mist-200); }

.faq__item { border-top: 1px solid var(--mist-200); }

.faq__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 64px;
  padding: 16px 0;
  cursor: pointer;
  list-style: none;
}

.faq__summary::-webkit-details-marker { display: none; }

.faq__q {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 24px;
  line-height: 1.25;
  color: var(--navy-900);
}

.faq__summary:hover .faq__q {
  text-decoration: underline;
  text-decoration-color: var(--gold-600);
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.faq__icon {
  width: 20px;
  height: 20px;
  color: var(--navy-900);
  transition: transform 200ms ease;
}

.faq__item[open] .faq__icon { transform: rotate(180deg); }

.faq__a {
  padding-bottom: 24px;
}

.faq__a > * + * { margin-top: 12px; }

/* Her emphasis from the FAQ document (Inter 600 is the heaviest weight loaded) */
.faq__a strong,
.faq__notice strong {
  font-weight: 600;
  color: var(--navy-900);
}

.faq__a a {
  color: var(--blue-600);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.faq__a a:hover { color: var(--navy-900); }

.faq__bullets li {
  display: flex;
  gap: 12px;
  align-items: baseline;
  padding: 3px 0;
}

.faq__bullets li::before {
  content: "";
  flex: none;
  width: 5px;
  height: 5px;
  background: var(--gold-600);
  position: relative;
  top: -3px;
}

/* Important Notice (from the FAQ document), below the questions */
.faq__notice {
  margin-top: 48px;
  padding: 24px 28px;
  background: var(--mist-50);
  font-size: 15px;
  line-height: 1.6;
}

.faq__notice-title {
  margin-bottom: 8px;
  font: 600 12px/1.2 var(--font-body);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--navy-900);
}

.faq__notice p + p { margin-top: 8px; }

/* =========================================================
   Contact
   ========================================================= */
.contact { padding: var(--section-pad) 0; }

.contact__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  align-items: stretch;
}

.contact__details {
  grid-column: 1 / 7;
  padding-right: 24px;
}

.contact__intro {
  margin: 16px 0 32px;
  max-width: 520px;
}

.det-list { border-bottom: 1px solid var(--mist-200); }

.det {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 0;
  border-top: 1px solid var(--mist-200);
}

.det__icon {
  width: 46px;
  height: 46px;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--mist-200);
  border-radius: var(--radius);
  color: var(--navy-900);
}

/* Text block is at least as tall as the icon box and centres its contents:
   short rows sit centred on the icon, rows that wrap or carry a note grow
   taller and start at the top with it. Adapts per row at any width. */
.det__icon + div {
  min-height: 46px;
  /* Optical nudge: the visible text (label caps to value baseline) sits
     slightly high in its line boxes, so push it down to the icon's centre */
  padding-top: 3px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start; /* links stay text-width, not full-row */
}

.det__label + .det__val { margin-top: 2px; }

.det__label {
  font: 600 12px/1.2 var(--font-body);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue-600);
}

.det__val {
  display: block;
  font-size: var(--fs-body);
  line-height: 1.4;
  color: var(--navy-900);
  text-decoration: none;
}

a.det__val:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.contact__actions {
  display: flex;
  gap: 16px;
  margin-top: 32px;
}

.contact__note {
  /* Below the Book / Get directions buttons; same size as the menu caveat */
  margin-top: 16px;
  max-width: 520px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--slate-600);
}

.contact__map {
  grid-column: 7 / 13;
  display: flex;
}

.contact__map > * {
  width: 100%;
  min-height: 480px;
  flex: 1;
  border: 0;
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: var(--mist-50);
  border-top: 1px solid var(--mist-200);
}

.site-footer__inner {
  padding-top: 80px;
  padding-bottom: 64px;
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: 64px;
  align-items: start;
}

.site-footer__brand img { width: 220px; }

.site-footer__tagline {
  margin-top: 24px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--slate-600);
}

.site-footer__cols {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 40px;
}

.site-footer__label { margin-bottom: 8px; }

.site-footer__nav,
.site-footer__contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.fl--static {
  align-items: flex-start;
  min-height: 54px;
  padding-top: 10px;
}

.fl__fb { width: 22px; height: 22px; }

.site-footer__hours {
  margin: 2px 0 6px 32px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--slate-600);
}

.site-footer__legal {
  border-top: 1px solid rgba(11, 42, 91, .14);
  font-size: 13px;
  color: var(--slate-600);
}

.site-footer__legal .wrap {
  /* Copyright | Privacy & Website Disclaimer, side by side with a divider */
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 4px 0;
  min-height: 72px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.site-footer__legal .wrap > p + p::before {
  content: "";
  display: inline-block;
  width: 1px;
  height: 14px;
  margin: 0 12px;
  background: var(--gold-600);
  vertical-align: -2px;
}

/* Too narrow for one line: stack, without the divider */
@media (max-width: 479px) {
  .site-footer__legal .wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer__legal .wrap > p + p::before { display: none; }
}

.legal-link {
  color: var(--slate-600);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.legal-link:hover { color: var(--navy-900); }

/* =========================================================
   Privacy & Website Disclaimer page
   ========================================================= */
.legal-page { padding: var(--section-pad) 0; }

.legal-page__inner { max-width: 808px; }  /* 760px text + gutters */


.legal-page__body { margin-top: 24px; }
.legal-page__body p + p { margin-top: 16px; }

.legal-page__rule {
  margin: 32px 0;
  border: 0;
  border-top: 1px solid var(--mist-200);
}

.legal-page__contact a {
  color: var(--blue-600);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.legal-page__contact a:hover { color: var(--navy-900); }

/* Narrow desktop: keep both hero buttons inside columns 8–12 */
@media (min-width: 1024px) and (max-width: 1199px) {
  .hero__actions .btn { padding: 0 22px; }
  .site-header__inner { gap: 24px; }
  .site-nav { gap: 18px; }
  .site-header .btn--header { padding: 0 20px; }
  .site-footer__inner { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
}

/* =========================================================
   TABLET  680–1023px
   ========================================================= */
@media (max-width: 1023px) {
  :root {
    --fs-h1: 52px;
    --fs-hero: 52px;
    --fs-h2: 38px;
    --fs-h3: 24px;
    --gutter: 40px;
    --wrap-max: none;
    --header-h: 88px;
    --logo-h: 52px;
    --section-pad: 80px;
  }

  .topbar__group { gap: 24px; }

  /* Header: Book button + hamburger */
  .site-header__inner { gap: 16px; }
  .site-nav { display: none; }
  .btn--header { padding: 0 20px; }
  .menu-btn { display: inline-flex; }

  /* Menu: full-width dropdown attached directly under the nav bar (logo +
     menu button row). On mobile it covers the Book bar, so the bar flows
     straight into the menu; its own Book button sits at the bottom. */
  .menu {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    z-index: 30;
    display: block;
    /* Fits the screen even at the top of the page, where the top bar
       sits above the header; scrolls inside itself on short screens */
    max-height: calc(100dvh - var(--header-h) - var(--topbar-h));
    overflow-y: auto;
    background: var(--white);
    border-bottom: 1px solid var(--mist-200);
    /* Expands downwards */
    clip-path: inset(0 0 100% 0);
    visibility: hidden;
    transition: clip-path var(--overlay-ms) ease, visibility 0s linear var(--overlay-ms);
  }

  .menu.is-open {
    clip-path: inset(0 0 0 0);
    visibility: visible;
    transition: clip-path var(--overlay-ms) ease, visibility 0s;
  }

  .menu__nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 0;
  }

  .menu__link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px; /* tap target */
    padding: 0 var(--gutter);
    font: 500 17px/1.2 var(--font-body);
    color: var(--slate-600);
    text-decoration: none;
  }

  .menu__link:hover {
    color: var(--navy-900);
    text-decoration: underline;
    text-decoration-color: var(--gold-600);
    text-decoration-thickness: 1px;
    text-underline-offset: 5px;
  }

  .menu__link[aria-current] { color: var(--blue-600); }

  .menu__contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 16px var(--gutter) 8px;
    border-top: 1px solid var(--mist-200);
  }

  /* Book button at the bottom: phones only (tablet keeps it in the header) */
  .menu__book { display: none; }

  /* Number, email and hours share one style; rows are 36px (WCAG 2.2
     AA target size is 24px, so still comfortably tappable) */
  .menu__contact .fl {
    min-height: 36px;
    overflow-wrap: anywhere;
  }

  .menu__contact .fl .ic { width: 18px; height: 18px; color: var(--navy-900); }

  /* Appointment caveat below office hours */
  /* Caveat: under the office hours (tablet); under the Book button (phones) */
  .menu__caveat {
    max-width: none;
    padding: 0 var(--gutter) 20px;
  }

  /* Hero: stacked */
  .hero__inner {
    padding-top: 72px;
    padding-bottom: 72px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
  }

  .hero__title { line-height: 1.05; }

  .hero__aside { display: contents; }
  .hero__aside p { max-width: 560px; }
  .hero__actions { gap: 16px; }

  .statue { height: 340px; }
  .statue img { object-position: 68% 20%; }

  /* Credentials */
  .credentials { padding-top: 56px; }
  .credentials__grid { gap: 16px; }
  .cred { min-height: 196px; padding: 24px 24px 20px; }
  .cred__icon { width: 28px; height: 28px; }
  .cred__title { margin-top: 18px; font-size: 22px; }
  .cred__text { font-size: 14px; }

  /* Expertise */
  .expertise { padding: 96px 0 80px; }
  .section-head { gap: 16px; max-width: none; }
  .section-head p { max-width: 560px; }
  .expertise__grid {
    margin-top: 40px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px 40px;
  }
  .expertise__cta { margin-top: 40px; }

  /* About: no band, portrait centred */
  .about {
    background: var(--white);
    padding: 80px 0;
  }

  .about__frame { width: auto; padding: 0 var(--gutter); }

  /* One centred 720px column for everything in About (heading, text,
     stats, lists) so edges line up and lines stay readable */
  .about__card {
    max-width: 720px;
    margin: 0 auto;
    padding: 0;
  }


  .about__intro {
    display: flex;
    flex-direction: column;
    gap: 64px;
  }

  .about__portrait {
    width: 280px;
    max-width: 100%;
    margin: 0 auto;
  }

  .stats { margin-top: 40px; }
  .stat__num { font-size: 44px; }

  .about__more { gap: 40px; margin-top: 40px; }
  .about__label { margin-bottom: 8px; }

  /* Experience / Training: same layout as desktop (three columns, number
     or icon on top, text underneath); phones stack them below */
  .fact__num { font-size: 36px; }

  /* FAQ: heading above the list */
  .faq__grid { display: block; }
  .faq__head { position: static; }
  .faq__body { margin-top: 40px; }
  .faq__q { font-size: 22px; }

  /* Contact: stacked, map below */
  .contact__grid { display: block; }
  .contact__details { padding-right: 0; }
  .contact__intro { margin: 16px 0 28px; }
  .contact__note { max-width: none; }
  .contact__actions { margin-top: 28px; }

  .contact__map { margin-top: 48px; }

  .contact__map > * {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  /* Footer: logo centred over a 2-column grid */
  .site-footer__inner {
    padding-top: 64px;
    padding-bottom: 48px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 48px;
  }

  .site-footer__brand { padding-bottom: 28px; }
  .site-footer__brand img { width: 200px; margin: 0 auto; }
  .site-footer__tagline { display: none; }

  .site-footer__cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); }
}

/* Narrow tablet: drop the "Office hours:" prefix so the top bar fits */
@media (max-width: 767px) {
  .topbar__hours .topbar__text { display: none; }
}

/* Top bar: icon-only call and email (mobile) */
@media (max-width: 679px) {
  .topbar__inner {
    height: var(--topbar-h);
    padding: 0 calc(var(--gutter) - 10px);
  }

  .topbar__group { gap: 0; }

  .topbar__link {
    width: 44px;
    height: 44px;
    justify-content: center;
  }

  .topbar__link .ic { width: 20px; height: 20px; }
  .topbar__text { display: none; }
  .topbar__hours { padding-right: 10px; }
}

/* =========================================================
   MOBILE  < 680px
   ========================================================= */
@media (max-width: 679px) {
  :root {
    --fs-h1: 44px;
    --fs-hero: 44px;
    --fs-h2: 32px;
    --fs-h3: 22px;
    --fs-label: 12px;
    --gutter: 16px;
    --header-h: 72px;
    --topbar-h: 44px;
    --logo-h: 46px;
    --section-pad: 64px;
  }

  /* Sticky header + 48px Book bar */
  html { scroll-padding-top: calc(var(--header-h) + 48px); }

  .h1 { line-height: 1.06; }
  .h2 { line-height: 1.12; }

  /* Mobile buttons fill their row */
  .btn {
    display: flex;
    width: 100%;
    padding: 0 20px;
  }

  /* Header */
  .site-header__inner { gap: 12px; }
  .site-header .btn--header { display: none; }
  .site-header .book-bar { display: flex; }

  .menu__book {
    display: block;
    padding: 8px var(--gutter) 12px;
  }

  /* No hairline under the navy Book bar */
  .site-header { border-bottom: 0; }

  /* Hero */
  .hero__inner {
    padding-top: 56px;
    padding-bottom: 40px;
    gap: 20px;
  }

  .hero__aside p { max-width: none; }

  .hero__actions {
    gap: 12px;
    margin-top: 4px;
  }

  .hero__actions .btn {
    flex: 1 1 auto;
    padding: 0 12px;
  }

  .statue { height: 280px; }
  .statue img { object-position: 70% 12%; }

  /* Credentials: stacked, icon beside text */
  .credentials { padding-top: 48px; }

  .credentials__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .cred {
    min-height: 112px;
    padding: 20px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
  }

  .cred__icon { margin-top: 2px; }
  .cred__title { margin-top: 0; }
  .cred__text { margin-top: 4px; }

  /* Expertise */
  .expertise { padding: var(--section-pad) 0; }
  .section-head p { max-width: none; }

  .expertise__grid {
    margin-top: 32px;
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .cat__tile { width: 48px; height: 48px; }
  .cat__tile svg { width: 25px; height: 25px; }
  .cat__title { font-size: 22px; }
  .cat__list li { padding: 4px 0; font-size: 15px; }

  .expertise__cta { margin-top: 32px; }

  /* About */
  .about { padding: var(--section-pad) 0; }
  .about__frame { padding: 0 24px; }
  .about__portrait { width: 220px; padding: 16px; }
  .stat__num { font-size: 40px; }
  .stats { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .fact__num { font-size: 32px; }

  /* Experience / Training: the same blocks stacked one per row (like the stats) */
  .facts {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  /* FAQ */
  .faq__body { margin-top: 32px; }
  .faq__group { margin-top: 40px; }
  .faq__notice { margin-top: 40px; padding: 20px; }
  .faq__summary { gap: 16px; min-height: 56px; padding: 12px 0; }
  .faq__q { font-size: 20px; }

  /* Contact */
  .contact__intro { margin: 14px 0 24px; }

  .contact__actions {
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
  }


  /* Map runs edge to edge */
  .contact__map {
    margin: 40px calc(var(--gutter) * -1) 0;
  }


  /* Footer: logo centred, links in a wrapped row, contact stacked */
  .site-footer__inner {
    padding-top: 48px;
    padding-bottom: 40px;
    gap: 36px;
  }

  .site-footer__brand { padding-bottom: 24px; }
  .site-footer__brand img { width: 180px; }

  .site-footer__cols {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }

  .site-footer__nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0 28px;
  }
}

/* Small phones (< 380px): stack the hero buttons, let the email wrap */
@media (max-width: 379px) {
  .hero__actions { flex-wrap: wrap; }
  .det__val { overflow-wrap: anywhere; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0s !important;
    transition-delay: 0s !important;
  }
}
