/* =============================================================
   Manurewa Medical Centre Pharmacy
   Palette sampled from the pharmacy's own logo:
     sage  #b4c078   lilac #c09cd8   navy #182454
   ============================================================= */

/* ---------- fonts (self-hosted, no third-party requests) ---------- */
@font-face {
  font-family: 'Fraunces';
  src: url('../fonts/fraunces-latin.woff2') format('woff2-variations');
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-latin.woff2') format('woff2-variations');
  font-weight: 400 700;
  font-display: swap;
}

/* ---------- tokens ---------- */
:root {
  --navy:        #182454;
  --navy-deep:   #0e1636;
  --navy-soft:   #2c3a70;
  --sage:        #b4c078;
  --sage-deep:   #7d8a45;
  --lilac:       #c09cd8;
  --lilac-deep:  #8a5fa8;

  --paper:       #fbfaf7;
  --paper-tint:  #f4f2ec;
  --white:       #ffffff;

  --ink:         #182454;
  --ink-soft:    #4a5478;
  --ink-mute:    #6d7595;
  --rule:        #e5e2d9;

  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body:    'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --wrap:      1160px;
  --radius:    18px;
  --radius-sm: 12px;

  --shadow-sm: 0 1px 2px rgba(24, 36, 84, .06), 0 2px 6px rgba(24, 36, 84, .05);
  --shadow-md: 0 4px 12px rgba(24, 36, 84, .07), 0 12px 32px rgba(24, 36, 84, .07);
  --shadow-lg: 0 8px 24px rgba(24, 36, 84, .09), 0 28px 64px rgba(24, 36, 84, .11);

  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--lilac-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 40, 'wght' 600;
  line-height: 1.12;
  letter-spacing: -.015em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
p { margin: 0 0 1.1em; text-wrap: pretty; }

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid var(--lilac-deep);
  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: 50%; top: 0; transform: translate(-50%, -120%);
  z-index: 200; background: var(--navy); color: #fff; padding: .7rem 1.2rem;
  border-radius: 0 0 10px 10px; text-decoration: none; font-weight: 600;
  transition: transform .2s var(--ease);
}
.skip-link:focus { transform: translate(-50%, 0); color: #fff; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.ico { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }

/* =============================================================
   HEADER
   ============================================================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 250, 247, .82);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-stuck {
  border-bottom-color: var(--rule);
  box-shadow: 0 6px 24px rgba(24, 36, 84, .06);
}
.header-inner {
  display: flex; align-items: center; gap: 1.5rem;
  min-height: 76px;
}
.brand { flex: none; line-height: 0; }
.brand img { width: clamp(190px, 22vw, 260px); }

.nav { margin-left: auto; }
.nav-list {
  display: flex; gap: .35rem; list-style: none; margin: 0; padding: 0;
}
.nav-list a {
  display: block; padding: .55rem .85rem; border-radius: 999px;
  color: var(--ink-soft); text-decoration: none;
  font-size: .95rem; font-weight: 500;
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.nav-list a:hover { color: var(--navy); background: rgba(24, 36, 84, .05); }
.nav-list a.is-current {
  color: var(--navy); background: rgba(180, 192, 120, .28); font-weight: 600;
}
.nav-toggle { display: none; }

/* =============================================================
   BUTTONS
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .8rem 1.35rem; border-radius: 999px; border: 1px solid transparent;
  font: inherit; font-weight: 600; font-size: .97rem;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .18s var(--ease), box-shadow .25s var(--ease),
              background-color .2s var(--ease), color .2s var(--ease),
              border-color .2s var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--navy); color: #fff; box-shadow: var(--shadow-md);
}
.btn-primary:hover {
  background: var(--navy-soft); color: #fff;
  transform: translateY(-2px); box-shadow: var(--shadow-lg);
}
.btn-ghost {
  background: rgba(255, 255, 255, .7); color: var(--navy); border-color: var(--rule);
}
.btn-ghost:hover {
  background: #fff; color: var(--navy); border-color: var(--sage);
  transform: translateY(-2px); box-shadow: var(--shadow-md);
}
.btn-quiet { background: none; color: var(--ink-soft); padding-inline: .6rem; }
.btn-quiet:hover { color: var(--navy); }

.btn-phone {
  flex: none; background: rgba(180, 192, 120, .22); color: var(--navy);
  border-color: rgba(125, 138, 69, .3); font-variant-numeric: tabular-nums;
}
.btn-phone:hover {
  background: var(--sage); color: var(--navy-deep);
  transform: translateY(-2px); box-shadow: var(--shadow-md);
}

/* =============================================================
   HERO
   ============================================================= */
.hero {
  position: relative; isolation: isolate;
  padding: clamp(3.5rem, 9vw, 7rem) 0 clamp(3rem, 7vw, 5.5rem);
  overflow: hidden;
}
.hero-inner { position: relative; z-index: 2; max-width: 940px; }

/* mouse-reactive aurora */
.aurora { position: absolute; inset: -20%; z-index: 0; pointer-events: none; }
.blob {
  position: absolute; display: block; border-radius: 50%;
  filter: blur(70px); opacity: .5;
  will-change: transform;
  transition: transform .9s var(--ease);
}
.blob-sage {
  width: 46vw; height: 46vw; max-width: 620px; max-height: 620px;
  top: 4%; right: -6%;
  background: radial-gradient(circle at 35% 35%, var(--sage), transparent 68%);
}
.blob-lilac {
  width: 40vw; height: 40vw; max-width: 540px; max-height: 540px;
  top: 34%; left: -8%;
  background: radial-gradient(circle at 50% 50%, var(--lilac), transparent 66%);
  opacity: .42;
}
.blob-navy {
  width: 32vw; height: 32vw; max-width: 420px; max-height: 420px;
  bottom: -6%; right: 22%;
  background: radial-gradient(circle at 50% 50%, var(--navy-soft), transparent 68%);
  opacity: .18;
}
/* cursor spotlight — position driven by JS custom properties */
.spotlight {
  position: absolute; inset: 0; display: block;
  background: radial-gradient(
    380px circle at var(--mx, 50%) var(--my, 40%),
    rgba(192, 156, 216, .22), transparent 62%);
  opacity: 0; transition: opacity .6s var(--ease);
}
.hero.has-pointer .spotlight { opacity: 1; }

.grid-lines {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(24, 36, 84, .045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(24, 36, 84, .045) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 35%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 35%, #000 20%, transparent 78%);
}
.hero-fade {
  position: absolute; left: 0; right: 0; bottom: 0; height: 140px; z-index: 1;
  background: linear-gradient(to bottom, transparent, var(--paper));
}

.eyebrow {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: .87rem; font-weight: 600; letter-spacing: .04em;
  text-transform: uppercase; color: var(--sage-deep);
  margin-bottom: 1.1rem;
}
.hero-title {
  font-size: clamp(2.6rem, 7.2vw, 5.1rem);
  font-variation-settings: 'opsz' 120, 'wght' 600;
  letter-spacing: -.028em; margin-bottom: .35em;
  will-change: transform;
}
.grad {
  background: linear-gradient(100deg, var(--lilac-deep) 0%, var(--sage-deep) 62%, var(--navy) 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.hero-lede {
  font-size: clamp(1.06rem, 1.9vw, 1.28rem);
  color: var(--ink-soft); max-width: 40ch; margin-bottom: 1.5rem;
  will-change: transform;
}

.hero-status { margin: 0 0 1.6rem; min-height: 2rem; }
.status-pill {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .45rem 1rem .45rem .8rem; border-radius: 999px;
  background: var(--white); border: 1px solid var(--rule);
  box-shadow: var(--shadow-sm);
  font-size: .93rem; font-weight: 500; color: var(--ink-soft);
}
.status-pill .dot {
  width: .6rem; height: .6rem; border-radius: 50%; background: var(--ink-mute); flex: none;
}
.status-pill.is-open  { border-color: rgba(125, 138, 69, .45); color: var(--sage-deep); }
.status-pill.is-open .dot { background: #4e9a3f; box-shadow: 0 0 0 4px rgba(78, 154, 63, .16); }
.status-pill.is-open .dot { animation: pulse 2.6s var(--ease) infinite; }
.status-pill.is-closed .dot { background: #b4614e; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(78, 154, 63, .16); }
  50%      { box-shadow: 0 0 0 8px rgba(78, 154, 63, 0); }
}

.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-bottom: 2.8rem; }

.trust-strip {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: .9rem 1.6rem; list-style: none; margin: 0; padding: 1.5rem 0 0;
  border-top: 1px solid var(--rule);
}
.trust-strip li {
  display: flex; align-items: center; gap: .6rem;
  font-size: .93rem; color: var(--ink-soft);
}
.trust-strip .ico { color: var(--sage-deep); width: 1.3em; height: 1.3em; }

/* =============================================================
   SECTIONS
   ============================================================= */
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; position: relative; }
.section-tint { background: var(--paper-tint); }
.section-dark {
  background:
    radial-gradient(900px circle at 12% 0%, rgba(192, 156, 216, .16), transparent 60%),
    radial-gradient(800px circle at 88% 100%, rgba(180, 192, 120, .16), transparent 58%),
    var(--navy);
  color: #e8eaf2;
}
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark a { color: #d9c6e8; }
.section-dark a:hover { color: #fff; }

.kicker {
  font-size: .82rem; font-weight: 700; letter-spacing: .11em;
  text-transform: uppercase; color: var(--sage-deep); margin-bottom: .7rem;
}
.section-dark .kicker { color: var(--sage); }

.section-head { max-width: 640px; margin-bottom: clamp(2.2rem, 5vw, 3.4rem); }
.section-head h2, .about-copy h2, .visit-info h2, .contact-intro h2 {
  font-size: clamp(1.95rem, 4.2vw, 3rem);
}
.lede { font-size: 1.1rem; color: var(--ink-soft); }
.section-dark .lede { color: #c3c9dd; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .35rem;
  font-weight: 600; text-decoration: none; color: var(--lilac-deep);
}
.link-arrow .ico { transition: transform .25s var(--ease); }
.link-arrow:hover .ico { transform: translateX(4px); }

/* ---------- photography ----------
   The image is deliberately larger than its frame (106% with a -3% margin)
   so the parallax translate has slack to move into. Without that headroom
   the drift would expose the frame's own background at the edges. */
.shot {
  position: relative; margin: 0; overflow: hidden;
  aspect-ratio: 4 / 3; border-radius: var(--radius);
  background: var(--paper-tint); box-shadow: var(--shadow-md);
}
.shot img {
  display: block; width: 106%; height: 106%; max-width: none;
  margin: -3%; object-fit: cover;
}
.shot-wide { aspect-ratio: 16 / 9; }
.shot figcaption {
  position: absolute; inset: auto 0 0 0;
  padding: 2.2rem .95rem .75rem;
  background: linear-gradient(to top, rgba(14, 22, 54, .85), rgba(14, 22, 54, 0));
  color: #fff; font-size: .88rem; font-weight: 500; line-height: 1.4;
}

.gallery { padding: clamp(2.5rem, 5vw, 3.5rem) 0 0; }
.gallery-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.1rem;
}

/* photo sits flush at the top of the card, inside its rounded corners */
.about-card .shot {
  margin: -1.9rem -1.9rem 1.5rem;
  border-radius: var(--radius) var(--radius) 0 0;
  box-shadow: none;
}

.prod-band { margin-top: clamp(1.8rem, 4vw, 2.6rem); }

/* the map panel already rounds and clips, so the photo inside it must not */
.visit-map .shot { border-radius: 0; box-shadow: none; }

/* ---------- about ---------- */
.about-grid {
  display: grid; grid-template-columns: 1.35fr .9fr;
  gap: clamp(2rem, 5vw, 4rem); align-items: start;
}
.about-card {
  position: relative; isolation: isolate;
  background: var(--white); border: 1px solid var(--rule);
  border-radius: var(--radius); padding: 1.9rem;
  box-shadow: var(--shadow-md);
  will-change: transform;
}
.about-card-glow {
  position: absolute; inset: -1px; z-index: -1; border-radius: inherit;
  background: linear-gradient(140deg, var(--sage), var(--lilac));
  opacity: .55; filter: blur(16px);
}
.about-card h3 { font-size: 1.3rem; margin-bottom: 1rem; }
.tick-list { list-style: none; margin: 0 0 1.2rem; padding: 0; }
.tick-list li {
  position: relative; padding-left: 1.75rem; margin-bottom: .55rem;
  color: var(--ink-soft);
}
.tick-list li::before {
  content: ''; position: absolute; left: 0; top: .45em;
  width: 1.05rem; height: 1.05rem; border-radius: 50%;
  background: rgba(180, 192, 120, .3);
}
.tick-list li::after {
  content: ''; position: absolute; left: .3rem; top: .68em;
  width: .42rem; height: .22rem;
  border-left: 2px solid var(--sage-deep); border-bottom: 2px solid var(--sage-deep);
  transform: rotate(-45deg);
}
.about-card-note {
  margin: 0; padding-top: 1.1rem; border-top: 1px solid var(--rule);
  font-size: .92rem; color: var(--ink-mute);
}

/* ---------- services ---------- */
.svc-group { margin-bottom: clamp(2.5rem, 5vw, 3.8rem); }
.svc-group-title {
  display: flex; align-items: center; gap: .8rem;
  font-size: clamp(1.25rem, 2.4vw, 1.6rem); margin-bottom: .5rem;
}
.svc-badge {
  display: inline-grid; place-items: center; flex: none;
  width: 2.6rem; height: 2.6rem; border-radius: 14px;
}
.svc-badge .ico { width: 1.35rem; height: 1.35rem; }
.svc-badge-sage  { background: rgba(180, 192, 120, .3); color: var(--sage-deep); }
.svc-badge-lilac { background: rgba(192, 156, 216, .3); color: var(--lilac-deep); }
.svc-badge-navy  { background: rgba(24, 36, 84, .1);   color: var(--navy); }
.svc-group-note {
  margin: 0 0 1.4rem 3.4rem; font-size: .95rem; color: var(--ink-mute);
}
.svc-group-title + .card-grid { margin-top: 1.4rem; }

.card-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
  gap: 1.1rem;
}
.card {
  position: relative;
  background: var(--white); border: 1px solid var(--rule);
  border-radius: var(--radius); padding: 1.5rem 1.5rem 1.3rem;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease),
              border-color .3s var(--ease);
  will-change: transform;
}
.card:hover { border-color: rgba(180, 192, 120, .6); box-shadow: var(--shadow-md); }
.card h4 {
  font-size: 1.12rem; font-variation-settings: 'opsz' 20, 'wght' 600;
  margin-bottom: .45rem;
}
.card p { margin: 0; font-size: .96rem; color: var(--ink-soft); }
.card-wide { grid-column: span 2; }

.svc-footnote {
  margin: 0; padding-top: 1.6rem; border-top: 1px solid var(--rule);
  color: var(--ink-soft); font-size: 1rem;
}

/* ---------- what's funded ----------
   Deliberately loud: for a lot of Manurewa families this panel is the most
   useful thing on the page, and none of it was on the old site. */
.funded {
  background: linear-gradient(150deg, rgba(180, 192, 120, .22), rgba(192, 156, 216, .16));
  border: 1px solid rgba(125, 138, 69, .3);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 3.5vw, 2.4rem);
  margin-bottom: clamp(2.5rem, 5vw, 3.8rem);
}
.funded h3 {
  display: flex; align-items: center; gap: .7rem;
  font-size: clamp(1.25rem, 2.4vw, 1.6rem); margin-bottom: .4rem;
}
.funded h3 .ico { width: 1.6rem; height: 1.6rem; color: var(--sage-deep); flex: none; }
.funded > p { margin: 0 0 1.4rem; color: var(--ink-soft); }
.funded-list {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.1rem; list-style: none; margin: 0 0 1.2rem; padding: 0;
}
.funded-list li {
  background: rgba(255, 255, 255, .72); border-radius: 14px;
  padding: 1.05rem 1.2rem;
}
.funded-list strong { display: block; margin-bottom: .25rem; }
.funded-list span { font-size: .93rem; color: var(--ink-soft); }
.funded-note { margin: 0; font-size: .9rem; color: var(--ink-mute); }

/* ---------- products ---------- */
.prod-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.1rem;
}
.prod {
  background: var(--white); border: 1px solid var(--rule);
  border-radius: var(--radius); padding: 1.7rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  will-change: transform;
}
.prod:hover { box-shadow: var(--shadow-md); }
.prod-mark {
  display: inline-grid; place-items: center;
  width: 3rem; height: 3rem; border-radius: 16px; margin-bottom: 1rem;
}
.prod-mark .ico { width: 1.5rem; height: 1.5rem; }
.prod-mark-sage  { background: rgba(180, 192, 120, .28); color: var(--sage-deep); }
.prod-mark-lilac { background: rgba(192, 156, 216, .28); color: var(--lilac-deep); }
.prod-mark-navy  { background: rgba(24, 36, 84, .09);   color: var(--navy); }
.prod h3 { font-size: 1.18rem; margin-bottom: .35rem; }
.prod p { margin: 0; font-size: .95rem; color: var(--ink-soft); }

/* ---------- visit ---------- */
.visit-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 3.5rem); align-items: start;
}
.hours {
  width: 100%; border-collapse: collapse; margin: 1.8rem 0 .8rem;
  font-variant-numeric: tabular-nums;
}
.hours th, .hours td {
  text-align: left; padding: .68rem .4rem;
  border-bottom: 1px solid rgba(255, 255, 255, .13);
  font-weight: 400;
}
.hours th { color: #c3c9dd; }
.hours td { text-align: right; color: #fff; font-weight: 500; }
.hours td.closed { color: #9aa2bd; font-weight: 400; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--sage); font-weight: 600; }
.hours tr.is-today th::after {
  content: 'Today'; margin-left: .6rem; padding: .1rem .5rem;
  border-radius: 999px; background: rgba(180, 192, 120, .2);
  font-size: .7rem; letter-spacing: .05em; text-transform: uppercase;
  vertical-align: middle;
}
.hours-note { font-size: .9rem; color: #a8b0c9; margin-bottom: 2rem; }

.contact-facts {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
  gap: 1.4rem 1.8rem; margin: 0;
}
/* long email addresses must wrap inside their column, not across the next one */
.contact-facts dd, .contact-facts dd a { overflow-wrap: anywhere; }
.contact-facts dt {
  font-size: .78rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--sage); margin-bottom: .35rem;
}
.contact-facts dd { margin: 0; color: #dfe3ee; line-height: 1.5; }

.visit-map {
  position: relative; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-lg); background: #223;
  border: 1px solid rgba(255, 255, 255, .14);
}
.visit-map iframe {
  display: block; width: 100%; height: clamp(340px, 46vh, 470px);
  border: 0; filter: saturate(.85) contrast(1.02);
}
.map-link {
  display: flex; align-items: center; justify-content: center; gap: .4rem;
  padding: .9rem; background: rgba(14, 22, 54, .9);
  color: #fff !important; text-decoration: none; font-weight: 600; font-size: .95rem;
}
.map-link:hover { background: var(--navy-soft); }

/* ---------- contact ---------- */
.contact-grid {
  display: grid; grid-template-columns: .95fr 1.05fr;
  gap: clamp(2rem, 5vw, 4rem); align-items: start;
}
.contact-urgent {
  margin-top: 2rem; padding: 1.4rem 1.5rem;
  background: rgba(192, 156, 216, .12);
  border: 1px solid rgba(192, 156, 216, .4);
  border-radius: var(--radius-sm);
}
.contact-urgent h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.contact-urgent p { margin: 0 0 .6rem; font-size: .95rem; color: var(--ink-soft); }
.contact-urgent p:last-child { margin-bottom: 0; }

.contact-card {
  background: var(--white); border: 1px solid var(--rule);
  border-radius: var(--radius); padding: clamp(1.6rem, 3.5vw, 2.4rem);
  box-shadow: var(--shadow-md);
}
.contact-card-label {
  margin: 0 0 .4rem; font-size: .8rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--ink-mute);
}
.contact-phone {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.4vw, 2.9rem); font-weight: 600; line-height: 1.1;
  color: var(--navy); text-decoration: none;
  font-variant-numeric: tabular-nums;
  transition: color .2s var(--ease);
}
.contact-phone:hover { color: var(--lilac-deep); }
.contact-card-note { margin: .6rem 0 0; font-size: .95rem; color: var(--ink-soft); }

.contact-card-facts {
  margin: 1.7rem 0 0; padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
  display: grid; gap: 1.15rem;
}
.contact-card-facts > div { display: grid; gap: .3rem; }
.contact-card-facts dt {
  font-size: .78rem; font-weight: 600;
  letter-spacing: .09em; text-transform: uppercase; color: var(--ink-mute);
}
.contact-card-facts dd { margin: 0; line-height: 1.5; }
.contact-card-facts dd, .contact-card-facts dd a { overflow-wrap: anywhere; }

.contact-card-privacy { margin: 1.5rem 0 0; font-size: .85rem; color: var(--ink-mute); }

/* =============================================================
   FOOTER
   ============================================================= */
.site-footer {
  background: var(--navy-deep); color: #b9c0d6;
  padding: clamp(3rem, 6vw, 4.5rem) 0 1.8rem;
}
.footer-inner {
  display: grid; grid-template-columns: 1.4fr .8fr 1fr;
  gap: 2.5rem; padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.footer-brand img {
  width: 250px; margin-bottom: 1rem;
  filter: brightness(0) invert(1); opacity: .92;
}
.footer-brand p { margin: 0; font-size: .95rem; max-width: 32ch; }
.site-footer h2 {
  font-size: .8rem; font-weight: 700; letter-spacing: .11em;
  text-transform: uppercase; color: var(--sage);
  font-family: var(--font-body); margin-bottom: 1rem;
}
.footer-nav ul { list-style: none; margin: 0; padding: 0; }
.footer-nav li { margin-bottom: .5rem; }
.site-footer a { color: #cdd3e5; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-contact p { margin: 0 0 .7rem; font-size: .95rem; line-height: 1.6; }

.footer-base {
  display: flex; flex-wrap: wrap; gap: .6rem 1.5rem;
  justify-content: space-between; padding-top: 1.6rem;
  font-size: .87rem; color: #8b93ae;
}
.footer-base p { margin: 0; }
.footer-emergency { color: #a5adc6; }

/* =============================================================
   REVEAL ON SCROLL
   ============================================================= */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0; transform: translateY(22px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
  }
  .reveal.is-visible { opacity: 1; transform: none; }
}

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 960px) {
  .about-grid, .visit-grid, .contact-grid { grid-template-columns: 1fr; }
  .card-wide { grid-column: span 1; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
}

@media (max-width: 780px) {
  .btn-phone .ico { margin: 0; }
  .btn-phone span { display: none; }
  .btn-phone { padding: .8rem; }

  .nav { margin-left: auto; order: 3; }
  .nav-toggle {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .6rem .9rem; border-radius: 999px;
    background: none; border: 1px solid var(--rule);
    font: inherit; font-size: .9rem; font-weight: 600; color: var(--navy);
    cursor: pointer;
  }
  .nav-toggle-bars {
    display: grid; gap: 3px; width: 16px;
  }
  .nav-toggle-bars span {
    display: block; height: 2px; background: currentColor; border-radius: 2px;
    transition: transform .25s var(--ease), opacity .2s var(--ease);
  }
  .nav-toggle[aria-expanded='true'] .nav-toggle-bars span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
  .nav-toggle[aria-expanded='true'] .nav-toggle-bars span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded='true'] .nav-toggle-bars span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

  .nav-list {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--rule);
    box-shadow: var(--shadow-lg);
    padding: .6rem 1.25rem 1.1rem;
    display: none;
  }
  .nav-list.is-open { display: flex; }
  .nav-list a { padding: .85rem .5rem; font-size: 1.05rem; border-radius: 10px; }

  .footer-inner { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
  .trust-strip { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 520px) {
  body { font-size: 16px; }
  .header-inner { min-height: 66px; gap: .75rem; }
  .brand img { width: 165px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .trust-strip { grid-template-columns: 1fr; }
  .svc-group-note { margin-left: 0; }
  .hours tr.is-today th::after { display: none; }
}

/* =============================================================
   MOTION & PRINT
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .blob, .spotlight { transition: none !important; }
}

@media print {
  .site-header, .hero-actions, .visit-map, .aurora,
  .grid-lines, .nav, .skip-link { display: none !important; }
  body { background: #fff; color: #000; font-size: 12pt; }
  .section, .hero { padding: 1rem 0; }
  .section-dark { background: #fff !important; color: #000 !important; }
  .section-dark h2, .section-dark h3, .hours td { color: #000 !important; }
  .hours th { color: #333 !important; }
  .contact-facts dt { color: #000 !important; }
  .contact-facts dd { color: #000 !important; }
  a { color: #000; }
  .card, .prod, .about-card { break-inside: avoid; box-shadow: none; }
}
