/* ==========================================================================
   Glorious Care LLC — Brand Stylesheet
   Palette sampled directly from glorious.png (the company logo).
   ========================================================================== */

:root {
  /* --- Brand core --- */
  --navy:        #222740;
  --navy-deep:   #171b30;
  --navy-soft:   #2d3357;
  --teal:        #4ad6de;
  --teal-deep:   #22a7b1;
  --orchid:      #c784ce;
  --orchid-deep: #9b52a5;
  --coral:       #e95060;
  --silver:      #b4b4b4;

  /* --- Surfaces --- */
  --cream:       #fbfaf7;
  --mint:        #eef7f7;
  --lilac:       #f6f0f8;
  --paper:       #ffffff;

  /* --- Ink --- */
  --ink:         #1c2033;
  --ink-soft:    #4c5266;
  --ink-faint:   #7b8194;
  --on-dark:       #f3f4f8;
  --on-dark-soft:  #c3c7d6;
  /* Body copy on dark surfaces, and anything sitting over the hero video.
     11.6:1 on --navy, so it stays readable even where the footage is light. */
  --on-dark-bright:#e9ebf4;

  /* --- Gradients --- */
  --grad-brand:  linear-gradient(120deg, var(--teal) 0%, var(--orchid) 100%);
  --grad-brand-r:linear-gradient(300deg, var(--teal) 0%, var(--orchid) 100%);
  /* Starts on the exact header navy so there is no seam under the sticky bar. */
  --grad-deep:   linear-gradient(160deg, var(--navy) 0%, #262c4c 42%, var(--navy-deep) 100%);

  /* --- Type --- */
  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* --- Metrics --- */
  --shell: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --radius: 18px;
  --radius-sm: 10px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 8px rgba(28, 32, 51, .06), 0 1px 2px rgba(28, 32, 51, .04);
  --shadow:    0 12px 32px rgba(28, 32, 51, .10), 0 2px 8px rgba(28, 32, 51, .05);
  --shadow-lg: 0 28px 64px rgba(28, 32, 51, .18);
  --header-h: 82px;
  --ease: cubic-bezier(.16, .84, .44, 1);
}

/* ==========================================================================
   Reset / base
   ========================================================================== */

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

/* `hidden` must beat component display rules (e.g. unconfigured social links). */
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.015em;
  margin: 0 0 .5em;
  color: var(--ink);
}

h1 { font-size: clamp(2.5rem, 6.2vw, 4.4rem); letter-spacing: -.03em; }
h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); letter-spacing: -.022em; }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); }
h4 { font-size: 1.1rem; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--orchid-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--teal-deep); }

ul, ol { margin: 0 0 1.1em; padding-left: 1.25em; }
li { margin-bottom: .4em; }

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: 0; top: 0;
  transform: translateY(-120%);
  background: var(--navy); color: #fff;
  padding: .85rem 1.4rem; z-index: 2000;
  font-weight: 600; border-radius: 0 0 var(--radius-sm) 0;
  transition: transform .18s var(--ease);
}
.skip-link:focus { transform: translateY(0); color: #fff; }

.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;
}

/* ==========================================================================
   Layout primitives
   ========================================================================== */

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.shell--narrow { max-width: 820px; }
.shell--wide { max-width: 1340px; }

.section { padding-block: clamp(4rem, 9vw, 7.5rem); position: relative; }
.section--tight { padding-block: clamp(3rem, 6vw, 4.5rem); }

.section--mint  { background: var(--mint); }
.section--lilac { background: var(--lilac); }
.section--cream { background: var(--cream); }
.section--navy  { background: var(--grad-deep); color: var(--on-dark); }
.section--navy h1, .section--navy h2, .section--navy h3, .section--navy h4 { color: #fff; }
.section--navy p { color: var(--on-dark-soft); }

.section-head { max-width: 720px; margin-bottom: clamp(2.25rem, 4vw, 3.25rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { font-size: 1.12rem; color: var(--ink-soft); }
.section--navy .section-head p { color: var(--on-dark-soft); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-body);
  font-size: .78rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--orchid-deep);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: ""; width: 30px; height: 2px;
  background: var(--grad-brand); border-radius: 2px;
}
.section--navy .eyebrow { color: var(--teal); }
.section-head--center .eyebrow::before { display: none; }

.lede { font-size: clamp(1.08rem, 1.7vw, 1.3rem); color: var(--ink-soft); line-height: 1.6; }

/* .lede defaults to dark ink for light sections. Every dark surface has to opt
   back out, or the text lands near-invisible — list them all here rather than
   per-component, so a new dark section can't quietly inherit the wrong colour. */
.section--navy .lede,
.hero .lede,
.page-hero .lede,
.cta-band .lede,
.hero-card .lede { color: var(--on-dark-bright); }

.grid { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(276px, 100%), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); }

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.split--top { align-items: start; }

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-body);
  font-size: 1rem; font-weight: 650; line-height: 1;
  padding: 1.02rem 1.9rem;
  border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; text-decoration: none;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease),
              background-color .2s var(--ease), color .2s var(--ease),
              border-color .2s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }

.btn--primary {
  background: var(--grad-brand);
  background-size: 180% 100%;
  color: var(--navy-deep);
  box-shadow: 0 10px 26px rgba(74, 214, 222, .32);
  font-weight: 700;
}
.btn--primary:hover { background-position: 100% 0; color: var(--navy-deep); box-shadow: 0 16px 34px rgba(199, 132, 206, .38); }

.btn--solid { background: var(--navy); color: #fff; }
.btn--solid:hover { background: var(--navy-soft); color: #fff; }

.btn--outline { border-color: currentColor; color: var(--navy); background: transparent; }
.btn--outline:hover { background: var(--navy); border-color: var(--navy); color: #fff; }

.btn--ghost-light { border-color: rgba(255,255,255,.45); color: #fff; background: transparent; }
.btn--ghost-light:hover { background: #fff; border-color: #fff; color: var(--navy); }

.btn--coral { background: var(--coral); color: #fff; box-shadow: 0 10px 26px rgba(233, 80, 96, .3); }
.btn--coral:hover { background: #d93c4d; color: #fff; }

.btn--sm { padding: .7rem 1.3rem; font-size: .9rem; }
.btn--block { width: 100%; }
.btn--lg { padding: 1.15rem 2.3rem; font-size: 1.06rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; align-items: center; }
.btn-row--center { justify-content: center; }

/* Small phones: let long CTA labels wrap rather than force the page wider.
   "Schedule a Free Consultation" on one nowrap line is ~308px on its own. */
@media (max-width: 400px) {
  .btn { white-space: normal; text-align: center; }
  .btn--lg { padding-inline: 1.35rem; }
  .btn-row > .btn { width: 100%; }
}

.textlink {
  display: inline-flex; align-items: center; gap: .4rem;
  font-weight: 650; text-decoration: none; color: var(--orchid-deep);
}
.textlink::after { content: "→"; transition: transform .2s var(--ease); }
.textlink:hover::after { transform: translateX(4px); }
.section--navy .textlink { color: var(--teal); }

/* ==========================================================================
   Header / navigation
   ========================================================================== */

/* Solid brand navy — matches the logo artwork exactly at every scroll position,
   so the mark never reads as a lighter/darker tile sitting on the bar. */
.site-header {
  position: sticky; top: 0; z-index: 900;
  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, .09);
  transition: box-shadow .25s var(--ease), background-color .25s var(--ease);
}
.site-header.is-stuck { box-shadow: 0 10px 30px rgba(23, 27, 48, .34); background: var(--navy); }

.nav {
  display: flex; align-items: center; gap: 1.5rem;
  min-height: var(--header-h);
}

.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; margin-right: auto; }
.brand img { width: 54px; height: 54px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: var(--font-display); font-size: 1.28rem;
  color: #fff; letter-spacing: .012em; font-weight: 600;
}
.brand-tag {
  font-size: .68rem; letter-spacing: .17em; text-transform: uppercase;
  color: var(--teal); font-weight: 600;
}

.nav-links { display: flex; align-items: center; gap: .3rem; list-style: none; margin: 0; padding: 0; }
.nav-links li { margin: 0; }
.nav-links a {
  display: block; padding: .6rem .85rem;
  color: var(--on-dark-soft); text-decoration: none;
  font-size: .95rem; font-weight: 550; border-radius: 8px;
  position: relative; transition: color .18s var(--ease);
}
.nav-links a:hover { color: #fff; }
.nav-links a::after {
  content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .3rem;
  height: 2px; border-radius: 2px; background: var(--grad-brand);
  transform: scaleX(0); transform-origin: left; transition: transform .24s var(--ease);
}
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a[aria-current="page"] { color: #fff; }
.nav-links a[aria-current="page"]::after { transform: scaleX(1); }

.nav-cta { display: flex; align-items: center; gap: .6rem; }

.nav-phone {
  display: inline-flex; align-items: center; gap: .5rem;
  color: #fff; text-decoration: none; font-weight: 650; font-size: .95rem;
  padding: .6rem .9rem; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.22);
  transition: background-color .2s var(--ease), border-color .2s var(--ease);
}
.nav-phone:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.4); color: #fff; }
.nav-phone svg { width: 16px; height: 16px; color: var(--teal); }

.nav-toggle {
  display: none; width: 46px; height: 46px;
  border: 1px solid rgba(255,255,255,.24); background: transparent;
  border-radius: 12px; cursor: pointer; padding: 0;
  align-items: center; justify-content: center;
}
.nav-toggle span {
  display: block; width: 20px; height: 2px; background: #fff;
  border-radius: 2px; position: relative;
  transition: background-color .2s var(--ease);
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px;
  background: #fff; border-radius: 2px; transition: transform .25s var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* On desktop the drawer wrappers vanish so links + CTA sit inline in .nav. */
@media (min-width: 961px) {
  .nav-drawer, .nav-drawer > div, .nav-drawer-inner { display: contents; }
}

/* Mobile: the drawer is a collapsible panel below the bar. */
@media (max-width: 960px) {
  .nav { flex-wrap: wrap; }
  .nav-toggle { display: inline-flex; }

  .nav-drawer {
    flex-basis: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s var(--ease);
  }
  body.nav-open .nav-drawer { max-height: 75vh; overflow-y: auto; }

  .nav-drawer-inner { padding-block: .35rem 1.4rem; }

  .nav-links {
    flex-direction: column; align-items: stretch; gap: 0;
    border-top: 1px solid rgba(255,255,255,.1);
    padding-top: .35rem; margin-bottom: 1.1rem;
  }
  .nav-links a { padding: .95rem .2rem; font-size: 1.05rem; }
  .nav-links a::after { left: .2rem; right: auto; width: 26px; }

  .nav-cta { flex-direction: column; align-items: stretch; gap: .6rem; }
  .nav-cta .btn, .nav-cta .nav-phone { width: 100%; justify-content: center; }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  background: var(--grad-deep);
  color: var(--on-dark);
  padding-block: clamp(4rem, 10vw, 7.5rem) clamp(4rem, 9vw, 6.5rem);
  overflow: hidden;
  isolation: isolate;
}
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%;
  filter: blur(90px); opacity: .32; z-index: -1; pointer-events: none;
}
.hero::before { width: 46vw; height: 46vw; background: var(--teal);   top: -14vw; right: -10vw; }
.hero::after  { width: 40vw; height: 40vw; background: var(--orchid); bottom: -18vw; left: -12vw; }

.hero > .shell { position: relative; z-index: 1; }

/* ---------- Video hero ---------- */

/* The brand blobs stay, but drop right back so the footage reads through. */
.hero--video::before, .hero--video::after { opacity: .16; }

.hero--video .hero-media {
  position: absolute; inset: 0; z-index: -2;
  overflow: hidden; background: var(--navy);
}
.hero--video .hero-video {
  width: 100%; height: 100%; object-fit: cover;
  /* nudged so the two figures sit right of the headline column */
  object-position: 62% 50%;
}

/* An extra scrim under the copy column only, so the grey body text keeps its
   contrast without having to darken the whole frame and lose the footage. */
.hero--video .hero-media::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg,
    rgba(19, 23, 40, .72) 0%,
    rgba(19, 23, 40, .58) 26%,
    rgba(19, 23, 40, .18) 46%,
    transparent 58%);
}
@media (max-width: 900px) {
  /* Single column on small screens — the copy sits over the whole frame. */
  .hero--video .hero-media::before { background: rgba(19, 23, 40, .58); }
}

/* Two stacked washes: a left-to-right ramp that guarantees headline contrast,
   plus a vertical one so the header and the next section both meet cleanly. */
.hero--video .hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(100deg,
      rgba(23, 27, 48, .95) 0%,
      rgba(28, 33, 56, .88) 30%,
      rgba(34, 39, 64, .55) 62%,
      rgba(34, 39, 64, .34) 100%),
    linear-gradient(to bottom,
      rgba(34, 39, 64, .58) 0%,
      rgba(34, 39, 64, .16) 40%,
      rgba(23, 27, 48, .72) 100%);
}

/* WCAG 2.2.2 — anything moving for more than 5s needs a pause control. */
.hero-motion {
  position: absolute; right: var(--gutter); bottom: 1.5rem; z-index: 2;
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .55rem .95rem; border-radius: 999px; cursor: pointer;
  font: inherit; font-size: .78rem; font-weight: 650; letter-spacing: .02em;
  color: #fff; background: rgba(23, 27, 48, .6);
  border: 1px solid rgba(255, 255, 255, .28);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: background-color .2s var(--ease), border-color .2s var(--ease);
}
.hero-motion:hover { background: rgba(23, 27, 48, .85); border-color: rgba(255, 255, 255, .5); }
.hero-motion svg { width: 13px; height: 13px; flex: none; }
.hero-motion .ic-play { display: none; }
.hero-motion[aria-pressed="true"] .ic-pause { display: none; }
.hero-motion[aria-pressed="true"] .ic-play { display: block; }

@media (max-width: 700px) {
  /* Icon-only, but keep a 44px target — it was collapsing to 31px. */
  .hero-motion {
    bottom: 1rem; right: 1rem; padding: 0;
    width: 44px; height: 44px; justify-content: center;
  }
  .hero-motion svg { width: 15px; height: 15px; }
  .hero-motion-label {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
  }
}

.hero-grid {
  display: grid; gap: clamp(2.5rem, 5vw, 4rem);
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
}
/* minmax(0,1fr), not 1fr — a bare 1fr track keeps a min-content floor, and the
   nowrap CTA button pushed that floor past the width of a 320px phone. */
@media (max-width: 900px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }

.hero h1 { color: #fff; margin-bottom: .35em; }
.hero-script {
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(1.35rem, 3vw, 2rem);
  color: var(--teal); margin-bottom: 1.1rem;
}
.hero p.lede { max-width: 54ch; }

.hero-badges {
  display: flex; flex-wrap: wrap; gap: .55rem;
  margin-top: 2rem; padding: 0; list-style: none;
}
.hero-badges li {
  margin: 0;
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: .84rem; font-weight: 600; color: var(--on-dark);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  padding: .5rem .95rem; border-radius: 999px;
  backdrop-filter: blur(6px);
}
.hero-badges svg { width: 15px; height: 15px; color: var(--teal); flex: none; }

.hero-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.35rem);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow-lg);
}
.hero-card h2 { font-size: 1.5rem; color: #fff; margin-bottom: .3em; }
.hero-card > p { color: var(--on-dark-soft); font-size: .97rem; }

.hero-contact { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: .6rem; }
.hero-contact li { margin: 0; }
.hero-contact a {
  display: flex; align-items: center; gap: .85rem;
  padding: .85rem 1rem; border-radius: 14px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  color: #fff; text-decoration: none;
  transition: background-color .2s var(--ease), transform .2s var(--ease), border-color .2s var(--ease);
}
.hero-contact a:hover {
  background: rgba(255,255,255,.14); transform: translateX(4px);
  border-color: rgba(74,214,222,.5); color: #fff;
}
.hero-contact .ic {
  width: 38px; height: 38px; flex: none; border-radius: 11px;
  display: grid; place-items: center;
  background: var(--grad-brand); color: var(--navy-deep);
}
.hero-contact .ic svg { width: 18px; height: 18px; }
.hero-contact .lbl { display: block; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-soft); font-weight: 600; }
.hero-contact .val { display: block; font-weight: 650; font-size: 1.02rem; }

/* Page hero (interior pages) */
.page-hero {
  background: var(--grad-deep); color: var(--on-dark);
  padding-block: clamp(3.5rem, 8vw, 5.5rem);
  position: relative; overflow: hidden; isolation: isolate; text-align: center;
}
.page-hero::before {
  content: ""; position: absolute; inset: auto -10% -60% -10%;
  height: 70%; background: var(--grad-brand);
  filter: blur(110px); opacity: .28; z-index: -1;
}
.page-hero h1 { color: #fff; margin-bottom: .25em; }
.page-hero p { color: var(--on-dark-soft); max-width: 60ch; margin-inline: auto; font-size: 1.12rem; }
.page-hero .eyebrow { color: var(--teal); }
.page-hero .section-head--center .eyebrow::before { display: none; }

.crumbs {
  display: flex; flex-wrap: wrap; justify-content: center; gap: .45rem;
  list-style: none; margin: 1.5rem 0 0; padding: 0;
  font-size: .85rem; color: var(--on-dark-soft);
}
.crumbs li { margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: .45rem; opacity: .5; }
.crumbs a { color: var(--teal); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* ==========================================================================
   Cards
   ========================================================================== */

.card {
  background: var(--paper);
  border: 1px solid rgba(28, 32, 51, .07);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 2.6vw, 2.1rem);
  box-shadow: var(--shadow-sm);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: var(--grad-brand); transform: scaleX(0); transform-origin: left;
  transition: transform .34s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(74,214,222,.35); }
.card:hover::before { transform: scaleX(1); }
.card h3 { margin-bottom: .45em; }
.card p { color: var(--ink-soft); font-size: .99rem; }
.card .textlink { margin-top: auto; padding-top: 1.1rem; }

.card--dark {
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.13);
  color: var(--on-dark);
  box-shadow: none;
}
.card--dark h3 { color: #fff; }
.card--dark p { color: var(--on-dark-soft); }
.card--dark:hover { background: rgba(255,255,255,.09); border-color: rgba(74,214,222,.4); }

.card-icon {
  width: 54px; height: 54px; border-radius: 15px;
  display: grid; place-items: center; margin-bottom: 1.15rem;
  background: var(--grad-brand); color: var(--navy-deep);
  box-shadow: 0 8px 20px rgba(74, 214, 222, .28);
}
.card-icon svg { width: 26px; height: 26px; }
.card-icon--orchid { background: linear-gradient(120deg, var(--orchid), var(--coral)); color: #fff; box-shadow: 0 8px 20px rgba(199,132,206,.3); }
.card-icon--navy   { background: var(--navy); color: var(--teal); box-shadow: 0 8px 20px rgba(34,39,64,.22); }

/* Value / pillar cards with imagery slot */
.pillar { padding: 0; }
.pillar .pillar-media { aspect-ratio: 4 / 3; }
.pillar .pillar-body { padding: clamp(1.4rem, 2.4vw, 1.9rem); display: flex; flex-direction: column; flex: 1; }

/* ==========================================================================
   Media placeholders — branded art blocks.
   Drop a real photo in by replacing .media-ph with <img class="media-img">
   ========================================================================== */

.media {
  border-radius: var(--radius); overflow: hidden;
  position: relative; background: var(--navy);
}
.media-img { width: 100%; height: 100%; object-fit: cover; }

.media-ph {
  position: relative; width: 100%; height: 100%;
  min-height: 220px;
  background: var(--grad-deep);
  display: grid; place-items: center;
  overflow: hidden; isolation: isolate;
}
.media-ph::before {
  content: ""; position: absolute; inset: -30%;
  background:
    radial-gradient(circle at 28% 26%, rgba(74,214,222,.55), transparent 52%),
    radial-gradient(circle at 74% 72%, rgba(199,132,206,.5), transparent 55%);
  filter: blur(28px); z-index: -1;
}
.media-ph::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(circle at center, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at center, #000 20%, transparent 75%);
}
.media-ph svg { width: clamp(58px, 18%, 96px); height: auto; color: rgba(255,255,255,.9); opacity: .92; }

.media--tall .media-ph { min-height: 380px; }
.media--wide { aspect-ratio: 16 / 9; }
.media--square { aspect-ratio: 1 / 1; }
.media--portrait { aspect-ratio: 3 / 4; }

/* A standalone tall image needs its own ratio; inside .media-stack the grid
   row-span already gives it height, so the ratio must not fight the grid. */
.media--tall { aspect-ratio: 3 / 4; }
.media-stack .media--tall { aspect-ratio: auto; }

.media-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.6rem 1.4rem 1.1rem;
  background: linear-gradient(transparent, rgba(23,27,48,.88));
  color: #fff; font-size: .92rem; font-weight: 600;
}

.media-stack { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
.media-stack .media:first-child { grid-row: span 2; }

/* ==========================================================================
   Service list rows
   ========================================================================== */

.svc-row {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
  padding-block: clamp(2.25rem, 5vw, 3.5rem);
  border-top: 1px solid rgba(28,32,51,.09);
}
.svc-row:first-of-type { border-top: 0; }
.svc-row:nth-child(even) .svc-media { order: -1; }
@media (max-width: 860px) {
  .svc-row { grid-template-columns: 1fr; }
  .svc-row:nth-child(even) .svc-media { order: 0; }
}
.svc-num {
  font-family: var(--font-display); font-size: 1rem;
  color: var(--orchid-deep); letter-spacing: .1em; font-weight: 700;
  margin-bottom: .6rem; display: block;
}
.checklist { list-style: none; padding: 0; margin: 1.25rem 0; display: grid; gap: .6rem; }
.checklist li { display: flex; gap: .7rem; align-items: flex-start; margin: 0; color: var(--ink-soft); font-size: .99rem; }
.checklist li::before {
  content: ""; flex: none; width: 20px; height: 20px; margin-top: .18em;
  border-radius: 50%; background: var(--grad-brand);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6 9 17l-5-5' fill='none' stroke='%23000' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/78% no-repeat,
           linear-gradient(#000,#000);
  -webkit-mask-composite: source-over;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6 9 17l-5-5' fill='none' stroke='%23000' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/78% no-repeat;
}
.section--navy .checklist li { color: var(--on-dark-soft); }

/* ==========================================================================
   Stats
   ========================================================================== */

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr)); gap: 1.25rem; }
.stat {
  text-align: center; padding: 1.75rem 1.25rem;
  border-radius: var(--radius);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
}
.stat-num {
  font-family: var(--font-display); font-size: clamp(2.1rem, 4vw, 2.9rem);
  line-height: 1; color: #fff; display: block; margin-bottom: .35rem;
  background: var(--grad-brand); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-label { font-size: .88rem; color: var(--on-dark-soft); letter-spacing: .04em; }

/* ==========================================================================
   Steps
   ========================================================================== */

.steps { counter-reset: step; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); }
.step {
  position: relative; padding: 2.4rem 1.5rem 1.6rem;
  background: var(--paper); border-radius: var(--radius);
  border: 1px solid rgba(28,32,51,.07); box-shadow: var(--shadow-sm);
}
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: -20px; left: 1.5rem;
  width: 44px; height: 44px; border-radius: 13px;
  display: grid; place-items: center;
  font-family: var(--font-display); font-size: 1.2rem; font-weight: 700;
  background: var(--grad-brand); color: var(--navy-deep);
  box-shadow: 0 8px 18px rgba(74,214,222,.3);
}
.step h3 { font-size: 1.15rem; margin-bottom: .4em; }
.step p { font-size: .95rem; color: var(--ink-soft); margin: 0; }

/* ==========================================================================
   Testimonials
   ========================================================================== */

.quotes { position: relative; }
.quote-track { display: grid; }
.quote {
  grid-area: 1 / 1;
  opacity: 0; visibility: hidden;
  transform: translateY(14px);
  transition: opacity .5s var(--ease), transform .5s var(--ease), visibility .5s;
  text-align: center; max-width: 760px; margin-inline: auto;
}
.quote.is-active { opacity: 1; visibility: visible; transform: none; }
.quote-stars { color: var(--teal); letter-spacing: .18em; font-size: 1.05rem; margin-bottom: 1.1rem; }
.quote blockquote {
  margin: 0 0 1.4rem; font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.6vw, 1.85rem); line-height: 1.4; color: #fff;
}
.quote cite { font-style: normal; font-weight: 650; color: var(--teal); font-size: .98rem; }
.quote cite span { display: block; color: var(--on-dark-soft); font-weight: 400; font-size: .86rem; margin-top: .2rem; }

.quote-dots { display: flex; justify-content: center; gap: .15rem; margin-top: 1.6rem; }
/* The visible dot stays small, but the button itself is a 44px target — as a
   10px button it was almost impossible to hit with a thumb. */
.quote-dots button {
  width: 44px; height: 44px; padding: 0; border: 0;
  background: none; cursor: pointer;
  display: grid; place-items: center;
}
.quote-dots button::before {
  content: ""; display: block;
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255, 255, 255, .3);
  transition: background-color .2s var(--ease), width .25s var(--ease);
}
.quote-dots button[aria-selected="true"]::before {
  background: var(--teal); width: 28px; border-radius: 999px;
}

/* ==========================================================================
   FAQ accordion
   ========================================================================== */

.faq { display: grid; gap: .8rem; max-width: 860px; margin-inline: auto; }
.faq-item {
  background: var(--paper); border: 1px solid rgba(28,32,51,.09);
  border-radius: 14px; overflow: hidden;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.faq-item.is-open { border-color: rgba(74,214,222,.55); box-shadow: var(--shadow-sm); }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 1.25rem 1.4rem; display: flex; align-items: center; gap: 1rem;
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; color: var(--ink);
}
.faq-q .chev {
  margin-left: auto; flex: none; width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; background: var(--mint); color: var(--teal-deep);
  transition: transform .3s var(--ease), background-color .3s var(--ease), color .3s var(--ease);
}
.faq-q .chev svg { width: 14px; height: 14px; }
.faq-item.is-open .chev { transform: rotate(180deg); background: var(--grad-brand); color: var(--navy-deep); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .32s var(--ease); }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 1.4rem 1.35rem; color: var(--ink-soft); margin: 0; font-size: 1rem; }
.faq-a p + p { padding-top: .8rem; }

/* ==========================================================================
   Forms
   ========================================================================== */

.form-shell {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 4vw, 3rem);
  box-shadow: var(--shadow);
  border: 1px solid rgba(28,32,51,.07);
}
.form-shell--dark {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.14);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-lg);
}

.form-grid { display: grid; gap: 1.15rem; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); }
.field { display: flex; flex-direction: column; gap: .42rem; }
.field--full { grid-column: 1 / -1; }

.field label { font-size: .88rem; font-weight: 650; color: var(--ink); letter-spacing: .01em; }
.form-shell--dark .field label { color: var(--on-dark); }
.field .req { color: var(--coral); }
.field .hint { font-size: .8rem; color: var(--ink-faint); font-weight: 400; }
.form-shell--dark .field .hint { color: var(--on-dark-soft); }

.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--paper);
  border: 1.5px solid rgba(28,32,51,.16);
  border-radius: 12px; padding: .85rem 1rem;
  width: 100%; transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease);
}
.field textarea { min-height: 140px; resize: vertical; }
.field select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234c5266' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; background-size: 16px;
  padding-right: 2.6rem;
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-faint); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(74, 214, 222, .2);
}
.form-shell--dark .field input,
.form-shell--dark .field select,
.form-shell--dark .field textarea {
  background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); color: #fff;
}
.form-shell--dark .field input::placeholder,
.form-shell--dark .field textarea::placeholder { color: rgba(255,255,255,.5); }
.form-shell--dark .field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
}
.form-shell--dark .field select option { color: var(--ink); }

.field.has-error input, .field.has-error select, .field.has-error textarea {
  border-color: var(--coral); box-shadow: 0 0 0 4px rgba(233,80,96,.14);
}
.field-error { font-size: .82rem; color: var(--coral); font-weight: 600; min-height: 0; }
.form-shell--dark .field-error { color: #ff9aa5; }

.choice-grid { display: grid; gap: .65rem; grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr)); }
.choice {
  position: relative; display: flex; align-items: flex-start; gap: .7rem;
  padding: .95rem 1.1rem; border-radius: 13px; cursor: pointer;
  border: 1.5px solid rgba(28,32,51,.14); background: var(--paper);
  transition: border-color .2s var(--ease), background-color .2s var(--ease), transform .2s var(--ease);
  font-size: .95rem;
}
.choice:hover { transform: translateY(-2px); border-color: rgba(74,214,222,.6); }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice .box {
  flex: none; width: 20px; height: 20px; border-radius: 6px; margin-top: .1em;
  border: 1.5px solid rgba(28,32,51,.28); background: #fff;
  display: grid; place-items: center; transition: all .18s var(--ease);
}
.choice input[type="radio"] + .box { border-radius: 50%; }
.choice .box::after {
  content: ""; width: 10px; height: 10px; border-radius: 3px;
  background: var(--navy-deep); transform: scale(0); transition: transform .18s var(--ease);
}
.choice input[type="radio"] + .box::after { border-radius: 50%; }
.choice input:checked + .box { background: var(--grad-brand); border-color: transparent; }
.choice input:checked + .box::after { transform: scale(1); }
.choice input:checked ~ .choice-label { font-weight: 650; }
.choice:has(input:checked) { border-color: var(--teal); background: var(--mint); }
.choice input:focus-visible + .box { outline: 3px solid var(--teal); outline-offset: 2px; }
.form-shell--dark .choice { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.2); color: var(--on-dark); }
.form-shell--dark .choice:has(input:checked) { background: rgba(74,214,222,.16); border-color: var(--teal); }

.form-note { font-size: .86rem; color: var(--ink-faint); line-height: 1.55; }
.form-shell--dark .form-note { color: var(--on-dark-soft); }

.form-status {
  border-radius: 13px; padding: 1rem 1.15rem; font-size: .95rem;
  display: none; gap: .7rem; align-items: flex-start; margin-top: 1.25rem;
  font-weight: 550;
}
.form-status.is-visible { display: flex; }
.form-status--ok   { background: rgba(74,214,222,.14); border: 1px solid rgba(74,214,222,.5); color: var(--teal-deep); }
.form-status--err  { background: rgba(233,80,96,.1);  border: 1px solid rgba(233,80,96,.45); color: #c2374a; }
.form-status--busy { background: rgba(199,132,206,.13); border: 1px solid rgba(199,132,206,.45); color: var(--orchid-deep); }
.form-shell--dark .form-status--ok { color: #a8f0f4; }
.form-shell--dark .form-status--err { color: #ffb3bb; }
.form-shell--dark .form-status--busy { color: #e7c4ec; }

.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

fieldset { border: 0; padding: 0; margin: 0 0 1.6rem; }
fieldset:last-of-type { margin-bottom: 0; }
legend {
  font-family: var(--font-display); font-size: 1.22rem; font-weight: 600;
  color: var(--ink); padding: 0; margin-bottom: .3rem;
}
.form-shell--dark legend { color: #fff; }
.legend-note { font-size: .9rem; color: var(--ink-faint); margin-bottom: 1.1rem; }
.form-shell--dark .legend-note { color: var(--on-dark-soft); }

/* ==========================================================================
   Contact methods
   ========================================================================== */

.contact-methods { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); }
.contact-card {
  display: flex; flex-direction: column; gap: .35rem;
  padding: 1.6rem; border-radius: var(--radius);
  background: var(--paper); border: 1px solid rgba(28,32,51,.08);
  box-shadow: var(--shadow-sm); text-decoration: none; color: inherit;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(74,214,222,.45); color: inherit; }
.contact-card .ic {
  width: 46px; height: 46px; border-radius: 13px; margin-bottom: .7rem;
  display: grid; place-items: center; background: var(--grad-brand); color: var(--navy-deep);
}
.contact-card .ic svg { width: 21px; height: 21px; }
.contact-card .k { font-size: .78rem; letter-spacing: .13em; text-transform: uppercase; color: var(--ink-faint); font-weight: 700; }
.contact-card .v { font-family: var(--font-display); font-size: 1.24rem; color: var(--ink); font-weight: 600; }
.contact-card .m { font-size: .88rem; color: var(--ink-soft); }

/* Light by default; the dark-surface variants are opted into below so the
   table stays legible whichever section it is dropped into. */
.hours-table { width: 100%; border-collapse: collapse; font-size: .98rem; }
.hours-table th, .hours-table td { text-align: left; padding: .7rem 0; border-bottom: 1px solid rgba(28, 32, 51, .1); }
.hours-table th { font-weight: 600; color: var(--ink); }
.hours-table td { color: var(--ink-soft); text-align: right; }
.hours-table tr:last-child th, .hours-table tr:last-child td { border-bottom: 0; }

.section--navy .hours-table th,
.site-footer .hours-table th,
.hero-card .hours-table th,
.card--dark .hours-table th { color: #fff; }

.section--navy .hours-table td,
.site-footer .hours-table td,
.hero-card .hours-table td,
.card--dark .hours-table td { color: var(--on-dark-soft); }

.section--navy .hours-table th, .section--navy .hours-table td,
.site-footer .hours-table th, .site-footer .hours-table td,
.hero-card .hours-table th, .hero-card .hours-table td,
.card--dark .hours-table th, .card--dark .hours-table td { border-bottom-color: rgba(255, 255, 255, .12); }

.section--navy .hours-table tr:last-child th, .section--navy .hours-table tr:last-child td,
.site-footer .hours-table tr:last-child th, .site-footer .hours-table tr:last-child td { border-bottom: 0; }

/* ==========================================================================
   CTA band
   ========================================================================== */

.cta-band {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--grad-deep); color: #fff;
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
  text-align: center;
}
.cta-band::before {
  content: ""; position: absolute; inset: -40% -10% auto -10%; height: 120%;
  background: var(--grad-brand); opacity: .22; filter: blur(90px); z-index: -1;
}
.cta-band h2 { color: #fff; max-width: 18ch; margin-inline: auto; }
.cta-band p { color: var(--on-dark-soft); max-width: 56ch; margin-inline: auto 1.9rem; margin-inline: auto; margin-bottom: 1.9rem; font-size: 1.1rem; }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer { background: var(--navy-deep); color: var(--on-dark-soft); padding-block: clamp(3rem, 6vw, 4.5rem) 0; }
/* Was: minmax(240px,1.4fr) repeat(auto-fit, minmax(min(160px, 100%), 1fr)) — auto-fit still
   lays down at least one 160px track, so 240 + 160 overflowed a 375px phone and
   the whole page scrolled sideways. Explicit breakpoints instead. */
.footer-grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
  grid-template-columns: 1fr;
}
.footer-grid > * { min-width: 0; }

@media (min-width: 560px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  .footer-grid { grid-template-columns: minmax(220px, 1.4fr) repeat(3, minmax(0, 1fr)); }
}
.footer-brand { display: flex; align-items: center; gap: .8rem; margin-bottom: 1rem; text-decoration: none; }
.footer-brand img { width: 58px; height: 58px; }
.footer-brand .n { font-family: var(--font-display); font-size: 1.45rem; color: #fff; }
.footer-brand .t { font-style: italic; color: var(--teal); font-size: .92rem; font-family: var(--font-display); }
.site-footer p { font-size: .94rem; line-height: 1.6; }

.footer-col h4 {
  color: #fff; font-family: var(--font-body); font-size: .8rem;
  letter-spacing: .15em; text-transform: uppercase; margin-bottom: 1.1rem; font-weight: 700;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.footer-col li { margin: 0; }
.footer-col a {
  color: var(--on-dark-soft); text-decoration: none; font-size: .95rem;
  display: inline-flex; align-items: center; gap: .5rem;
  transition: color .18s var(--ease), transform .18s var(--ease);
}
.footer-col a:hover { color: var(--teal); transform: translateX(3px); }
.footer-col a svg { width: 15px; height: 15px; flex: none; opacity: .8; }

.socials { display: flex; gap: .6rem; margin-top: 1.35rem; }
.socials a {
  width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.13);
  color: var(--on-dark-soft); transition: all .2s var(--ease);
}
.socials a:hover { background: var(--grad-brand); color: var(--navy-deep); border-color: transparent; transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; }

.site-footer .hours-table { font-size: .88rem; }
.site-footer .hours-table th, .site-footer .hours-table td { padding: .55rem 0; }
.site-footer .hours-table td { padding-left: .75rem; }
/* nowrap only where there's room — on a phone it forced the table wider than
   the screen and dragged the whole page into horizontal scroll. */
@media (min-width: 560px) {
  .site-footer .hours-table td { white-space: nowrap; }
}

.footer-bottom {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-block: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between;
  font-size: .86rem;
}
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.footer-bottom a { color: var(--on-dark-soft); text-decoration: none; }
.footer-bottom a:hover { color: var(--teal); }
.footer-credit { display: inline-flex; align-items: center; gap: .5rem; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; opacity: .7; }

/* ==========================================================================
   Mobile sticky action bar
   ========================================================================== */

.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 850;
  display: none; gap: 1px;
  background: rgba(255,255,255,.12);
  border-top: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 -8px 26px rgba(23,27,48,.28);
  padding-bottom: env(safe-area-inset-bottom);
}
.action-bar a {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: .22rem;
  padding: .72rem .4rem .78rem; background: var(--navy);
  color: #fff; text-decoration: none; font-size: .72rem; font-weight: 650;
  letter-spacing: .03em;
}
.action-bar a:hover, .action-bar a:active { background: var(--navy-soft); color: #fff; }
.action-bar a.is-accent { background: var(--grad-brand); color: var(--navy-deep); }
.action-bar svg { width: 19px; height: 19px; }

@media (max-width: 760px) {
  .action-bar { display: flex; }
  body { padding-bottom: 66px; }
}

/* ==========================================================================
   Team
   ========================================================================== */

.team-card { text-align: center; padding: 0; }
.team-card .media { border-radius: var(--radius) var(--radius) 0 0; }
.team-card-body { padding: 1.5rem; }
.team-card h3 { margin-bottom: .15em; font-size: 1.3rem; }
.team-role { color: var(--orchid-deep); font-weight: 650; font-size: .88rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: .8rem; }
.team-card p { font-size: .95rem; }

/* ==========================================================================
   Misc
   ========================================================================== */

.map-frame {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid rgba(28,32,51,.1); box-shadow: var(--shadow-sm);
  min-height: 340px; background: var(--mint);
}
.map-frame iframe { display: block; width: 100%; height: 100%; min-height: 340px; border: 0; }

.pill-list { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 1.2rem 0 0; }
.pill-list li {
  margin: 0; font-size: .87rem; font-weight: 600; color: var(--ink-soft);
  background: var(--paper); border: 1px solid rgba(28,32,51,.1);
  padding: .45rem .9rem; border-radius: 999px;
}
.section--navy .pill-list li { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.15); color: var(--on-dark-soft); }

.prose h2 { margin-top: 2.4em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.8em; }
.prose p, .prose li { color: var(--ink-soft); }
.prose { max-width: 74ch; }

.note-box {
  border-left: 4px solid var(--teal);
  background: var(--mint);
  padding: 1.2rem 1.4rem; border-radius: 0 12px 12px 0;
  font-size: .96rem; color: var(--ink-soft);
}

/* ==========================================================================
   Scroll reveal
   ========================================================================== */

[data-reveal] {
  opacity: 0; transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: var(--d, 0ms);
}
[data-reveal].is-in { opacity: 1; transform: none; }

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

/* ==========================================================================
   Print
   ========================================================================== */

@media print {
  .site-header, .action-bar, .cta-band, .site-footer nav { display: none !important; }
  body { color: #000; }
  .section--navy, .hero, .page-hero { background: #fff !important; color: #000 !important; }
}
