/* ==========================================================================
   Emmitsburg Dental Center
   Palette carried over from the original site:
   navy #184F68 · deep #0A3142 · teal #3FD9D9 · pale #E6EFF2 · coral #FF3C58
   ========================================================================== */

:root {
  --ink: #0a3142;
  --ink-soft: #12405a;
  --primary: #184f68;
  --primary-dark: #123c50;
  --accent: #3fd9d9;
  --accent-deep: #12868b;
  --pale: #e6eff2;
  --pale-2: #f3f8fa;
  --paper: #ffffff;
  --muted: #5c6f7a;
  --line: #d7e3e9;
  --alert: #d7263d;
  --alert-bg: #fdf1f2;

  --wrap: 1200px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 14px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(10, 49, 66, .06), 0 4px 12px rgba(10, 49, 66, .05);
  --shadow: 0 2px 4px rgba(10, 49, 66, .05), 0 12px 32px rgba(10, 49, 66, .09);
  --shadow-lg: 0 4px 8px rgba(10, 49, 66, .05), 0 24px 60px rgba(10, 49, 66, .14);

  --display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --header-h: 76px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-deep); }

h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.12; font-weight: 600; letter-spacing: -.01em; }
h1, h2 { font-family: var(--display); font-weight: 600; letter-spacing: -.005em; }
h1 { font-size: clamp(2.5rem, 6vw, 4.25rem); line-height: 1.04; }
h2 { font-size: clamp(2rem, 4.2vw, 3rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.375rem); }
p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 68ch; }
.center { text-align: center; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

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

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 200;
  background: var(--ink); color: #fff; padding: .75rem 1.25rem; border-radius: 0 0 10px 10px;
  transition: top .15s;
}
.skip-link:focus { top: 0; color: #fff; }

/* ---------- eyebrow / section heads ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent-deep); margin: 0 0 1rem;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--accent); border-radius: 2px; }
.center .eyebrow { justify-content: center; }

.section { padding-block: clamp(4rem, 9vw, 7.5rem); }
.section--pale { background: var(--pale-2); }
.section--tint { background: var(--pale); }
.section--ink { background: var(--ink); color: #dbe8ee; }
.section--ink h2, .section--ink h3 { color: #fff; }
.section--ink .eyebrow { color: var(--accent); }
.section-head { max-width: 62ch; margin-bottom: clamp(2.5rem, 5vw, 3.75rem); }
.center .section-head, .section-head.center { margin-inline: auto; }
.lede { font-size: clamp(1.0625rem, 1.5vw, 1.25rem); color: var(--muted); }
.section--ink .lede { color: #a9c2ce; }

/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--primary); --btn-fg: #fff; --btn-bd: var(--primary);
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font: inherit; font-weight: 600; font-size: .9375rem; letter-spacing: .01em;
  padding: .95rem 1.65rem; border-radius: 999px; cursor: pointer;
  background: var(--btn-bg); color: var(--btn-fg); border: 1.5px solid var(--btn-bd);
  text-decoration: none; transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  box-shadow: var(--shadow-sm);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--btn-fg); }
.btn:active { transform: translateY(0); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--primary); --btn-bd: var(--line); box-shadow: none; }
.btn--ghost:hover { --btn-bd: var(--primary); }
.btn--accent { --btn-bg: var(--accent); --btn-fg: #06333a; --btn-bd: var(--accent); }
.btn--on-dark { --btn-bg: #fff; --btn-fg: var(--ink); --btn-bd: #fff; }
.btn--on-dark.btn--ghost { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,.35); }
.btn--lg { padding: 1.1rem 2rem; font-size: 1rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .875rem; }
.center .btn-row { justify-content: center; }

/* attention pulse on the primary booking CTA — three rings on load, then it rests.
   A permanently pulsing button reads as an advert and gets tuned out. */
.btn--pulse { --pulse: rgba(24, 79, 104, .5); position: relative; }
.btn--accent.btn--pulse { --pulse: rgba(18, 134, 139, .55); }
.btn--pulse::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  pointer-events: none;
  animation: btn-ring 2.1s cubic-bezier(.22,.61,.36,1) 3;
}
.btn--pulse { animation: btn-breathe 2.1s cubic-bezier(.22,.61,.36,1) 3; }
.btn--pulse:hover, .btn--pulse:focus-visible { animation: none; }
.btn--pulse:hover::after, .btn--pulse:focus-visible::after { animation: none; }

@keyframes btn-ring {
  0%   { box-shadow: 0 0 0 0 var(--pulse); }
  65%  { box-shadow: 0 0 0 13px rgba(0,0,0,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,0,0,0); }
}
@keyframes btn-breathe {
  0%, 100% { transform: scale(1); }
  22%      { transform: scale(1.035); }
  50%      { transform: scale(1); }
}

/* ---------- announcement ---------- */
.announce {
  background: var(--accent-deep); color: #fff; text-align: center;
  font-size: .9rem; padding: .6rem var(--gutter);
}
.announce a { color: #fff; font-weight: 600; }

/* ---------- header ---------- */
.topbar {
  background: var(--ink); color: #c3d8e2; font-size: .8125rem;
}
.topbar .wrap { display: flex; gap: 1.5rem; align-items: center; justify-content: flex-end; min-height: 40px; flex-wrap: wrap; }
.topbar a { color: #dceaf0; text-decoration: none; }
.topbar a:hover { color: var(--accent); }
.topbar-item { display: inline-flex; align-items: center; gap: .45rem; }
@media (max-width: 640px) { .topbar .wrap { justify-content: center; gap: 1rem; } .topbar-item--addr { display: none; } }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.88); backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 1.5rem; min-height: var(--header-h); }
.brand { display: flex; align-items: center; flex-shrink: 0; margin-right: auto; }
.brand img { height: 44px; width: auto; }
@media (max-width: 480px) { .brand img { height: 36px; } }

.nav { display: flex; align-items: center; gap: .35rem; }
.nav a {
  text-decoration: none; color: var(--ink); font-weight: 500; font-size: .9375rem;
  padding: .55rem .85rem; border-radius: 8px; transition: background .15s, color .15s;
}
.nav a:hover { background: var(--pale); color: var(--primary); }
.nav a[aria-current="page"] { color: var(--primary); font-weight: 600; }
.header-cta { margin-left: .5rem; }

.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; cursor: pointer; color: var(--ink);
}
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: calc(var(--header-h) + env(safe-area-inset-top)) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: .5rem var(--gutter) 1.25rem; box-shadow: var(--shadow);
    transform: translateY(-130%); transition: transform .25s ease; max-height: 80vh; overflow: auto;
  }
  .nav[data-open="true"] { transform: translateY(0); }
  .nav a { padding: .85rem .25rem; border-bottom: 1px solid var(--pale); border-radius: 0; font-size: 1.0625rem; }
  .header-cta { margin: 1rem 0 0; justify-content: center; }
}

/* ---------- hours pill ---------- */
.hours-pill {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .8125rem; font-weight: 600; letter-spacing: .01em;
  padding: .35rem .8rem .35rem .6rem; border-radius: 999px;
  background: rgba(255,255,255,.1); color: inherit; border: 1px solid rgba(255,255,255,.16);
}
.hours-pill .dot {
  width: 9px; height: 9px; border-radius: 50%; background: #9aa8b0; flex-shrink: 0; position: relative;
}
.hours-pill[data-state="open"] .dot { background: #2fd06a; }
.hours-pill[data-state="open"] .dot::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid #2fd06a; opacity: .55; animation: pulse 2.2s ease-out infinite;
}
.hours-pill[data-state="closed"] .dot { background: #ff6b7d; }
@keyframes pulse { 0% { transform: scale(.7); opacity: .7; } 100% { transform: scale(1.6); opacity: 0; } }

.hours-pill--light {
  background: var(--pale); border-color: var(--line); color: var(--ink);
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(90% 70% at 92% 0%, rgba(63,217,217,.13) 0%, transparent 60%),
    linear-gradient(180deg, #ffffff 0%, var(--pale-2) 62%, var(--pale) 100%);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.hero .wrap {
  display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center; padding-block: clamp(3.25rem, 7vw, 5.75rem);
}
.hero h1 { color: var(--ink); margin-bottom: .35em; }
.hero h1 em { font-style: italic; color: var(--primary); }
.hero-lede { font-size: clamp(1.0625rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 46ch; }
.hero .btn-row { margin-top: 2rem; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 1rem 1.75rem; margin-top: 2.25rem; font-size: .875rem; color: var(--muted); }
.hero-meta strong { color: var(--ink); font-weight: 600; }

/* photograph, with the practice card overlapping its lower corner */
.hero-media { position: relative; }
.hero-media img {
  width: 100%; aspect-ratio: 14 / 11; object-fit: cover;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
}
.hero-card {
  position: absolute; left: clamp(-1rem, -2vw, -2.5rem); bottom: clamp(-1rem, -2vw, -2rem);
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 1.1rem 1.35rem; max-width: 17rem; border: 1px solid var(--line);
}
.hero-card .cap { margin: 0; font-size: .8125rem; color: var(--muted); line-height: 1.5; }
.hero-card .cap strong { display: block; font-size: .9375rem; color: var(--ink); margin-bottom: .15rem; }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-media { order: 2; margin-bottom: 1.5rem; }
  .hero-card { position: static; max-width: none; margin-top: 1rem; }
}

/* ---------- generic page header ---------- */
.page-head {
  background: linear-gradient(180deg, #fff 0%, var(--pale-2) 100%);
  color: var(--ink); padding-block: clamp(2.75rem, 6vw, 4.5rem);
  border-bottom: 1px solid var(--line);
}
.page-head h1 { color: var(--ink); font-size: clamp(2.25rem, 5vw, 3.5rem); }
.page-head p { color: var(--muted); max-width: 58ch; font-size: 1.0625rem; margin: 0; }
.crumb { font-size: .8125rem; color: var(--muted); margin-bottom: 1rem; }
.crumb a { color: var(--primary); text-decoration: none; }

/* ---------- cards & grids ---------- */
.grid { display: grid; gap: clamp(1.25rem, 2.5vw, 1.75rem); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.5rem, 2.5vw, 2rem); box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #c2d7e0; }
.card h3 { margin-bottom: .4rem; }
.card p { color: var(--muted); font-size: .9688rem; margin: 0; }

.card-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 12px; margin-bottom: 1rem;
  background: var(--pale); color: var(--primary); font-weight: 700; font-size: .875rem;
  font-variant-numeric: tabular-nums;
}

.svc-group { margin-bottom: clamp(3rem, 6vw, 4.5rem); }
.svc-group:last-child { margin-bottom: 0; }
.svc-group-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .75rem 1.5rem; margin-bottom: 1.75rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.svc-group-head h3 { font-family: var(--display); font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 0; }
.svc-group-head p { margin: 0; color: var(--muted); font-size: .9375rem; flex: 1 1 22ch; }

/* feature list */
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: .85rem; }
.checks li { display: flex; gap: .75rem; align-items: flex-start; font-size: .9688rem; }
.checks svg { flex-shrink: 0; margin-top: .2rem; color: var(--accent-deep); }
.section--ink .checks svg { color: var(--accent); }

/* stats */
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem 1.5rem; margin-top: 2.5rem; }
@media (max-width: 420px) { .stats { grid-template-columns: 1fr; } }
.stat { border-left: 2px solid var(--accent); padding-left: 1rem; }
.stat b { display: block; font-family: var(--display); font-size: clamp(1.85rem, 3.5vw, 2.5rem); line-height: 1; font-weight: 600; }
.stat span { font-size: .8125rem; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
.section--ink .stat span { color: #9dbcc9; }

/* split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.split-media {
  background: var(--pale); border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 3rem);
  display: flex; align-items: center; justify-content: center;
}
.split-media img { mix-blend-mode: multiply; }

/* ---------- testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: clamp(1.25rem, 2.5vw, 1.75rem); }
.quote {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: clamp(1.5rem, 2.5vw, 2rem);
  box-shadow: var(--shadow-sm);
}
.quote p { font-size: 1rem; color: var(--ink); }
.quote .mark { font-family: var(--display); font-size: 3rem; line-height: .6; color: var(--accent-deep); display: block; margin-bottom: .75rem; }
.quote footer { margin-top: 1.25rem; font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.stars { color: #e8a417; letter-spacing: .15em; font-size: .875rem; }

/* ---------- insurance ---------- */
.chips { display: flex; flex-wrap: wrap; gap: .625rem; }
.chip {
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: .5rem 1.05rem; font-size: .875rem; font-weight: 500; color: var(--ink);
}
.section--ink .chip { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.16); color: #e3eff4; }

/* ---------- hours table ---------- */
.hours-table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.hours-table th, .hours-table td { text-align: left; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.hours-table th { font-weight: 500; color: var(--muted); }
.hours-table td { text-align: right; font-variant-numeric: tabular-nums; font-weight: 500; }
.hours-table tr[data-today="true"] th, .hours-table tr[data-today="true"] td { color: var(--primary); font-weight: 700; }
.hours-table .shut { color: var(--muted); font-weight: 400; }

/* ---------- location cards ---------- */
.loc { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); }
.loc-body { padding: clamp(1.5rem, 3vw, 2.25rem); }
.loc-body h3 { font-family: var(--display); font-size: 1.5rem; }
.loc-tag { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-deep); font-weight: 600; }
.loc dl { display: grid; grid-template-columns: auto 1fr; gap: .5rem 1rem; margin: 1.25rem 0 1.75rem; font-size: .9375rem; }
.loc dt { color: var(--muted); }
.loc dd { margin: 0; font-weight: 500; }
.loc iframe { width: 100%; min-height: 260px; border: 0; display: block; }

/* ---------- form ---------- */
.form-shell {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3.5vw, 2.75rem); box-shadow: var(--shadow);
}
.field { margin-bottom: 1.25rem; }
.field label { display: block; font-size: .875rem; font-weight: 600; margin-bottom: .4rem; }
.field .hint { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: .8rem .95rem; border: 1.5px solid var(--line); border-radius: 10px; background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(24,79,104,.12);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 620px) { .field-row { grid-template-columns: 1fr; gap: 0; } }
.req { color: var(--alert); }

.notice {
  border-radius: var(--radius); padding: 1.1rem 1.25rem; font-size: .9375rem;
  display: flex; gap: .85rem; align-items: flex-start; margin-bottom: 1.75rem;
}
.notice svg { flex-shrink: 0; margin-top: .15rem; }
.notice--warn { background: #fff8e8; border: 1px solid #f2d99a; color: #6b4c07; }
.notice--er { background: var(--alert-bg); border: 1px solid #f3bec5; color: #8c1526; }
.notice strong { display: block; margin-bottom: .15rem; }
.notice a { color: inherit; font-weight: 600; }

.form-status { margin-top: 1.25rem; font-size: .9375rem; border-radius: var(--radius); padding: 1rem 1.15rem; display: none; }
.form-status[data-state="ok"] { display: block; background: #e9f8ee; border: 1px solid #a8dcbb; color: #14562c; }
.form-status[data-state="err"] { display: block; background: var(--alert-bg); border: 1px solid #f3bec5; color: #8c1526; }

/* ---------- modal ---------- */
.modal[hidden] { display: none; }
.modal {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center;
  padding: 1.25rem; background: rgba(10,49,66,.55); backdrop-filter: blur(3px);
  animation: fade .18s ease;
}
@keyframes fade { from { opacity: 0; } }
.modal-box {
  background: #fff; border-radius: var(--radius-lg); max-width: 520px; width: 100%;
  padding: clamp(1.75rem, 4vw, 2.5rem); box-shadow: var(--shadow-lg);
  animation: rise .22s cubic-bezier(.2,.8,.3,1);
}
@keyframes rise { from { transform: translateY(14px); opacity: 0; } }
.modal-box h2 { font-size: 1.625rem; }
.modal-box .btn { width: 100%; margin-top: .5rem; }

/* ---------- distance note ---------- */
.distance {
  display: none; margin-top: 1rem; font-size: .875rem; color: var(--muted);
  align-items: center; gap: .5rem;
}
.distance[data-ready="true"] { display: flex; }
.section--ink .distance { color: #9dbcc9; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--primary) 0%, var(--ink) 100%);
  color: #fff; border-radius: var(--radius-lg); padding: clamp(2.25rem, 5vw, 4rem);
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #b9d2dd; max-width: 52ch; margin-inline: auto; }

/* stat row inside the closing CTA band */
.stats--band {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 0 clamp(2.5rem, 5vw, 3.5rem);
  padding-bottom: clamp(2rem, 4vw, 2.75rem);
  border-bottom: 1px solid rgba(255,255,255,.16);
  text-align: left;
}
.stats--band .stat { border-left-color: var(--accent); }
.stats--band .stat b { color: #fff; }
.stats--band .stat span { color: #a9c6d2; }
@media (max-width: 720px) { .stats--band { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #a9c2ce; padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; font-size: .9375rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: clamp(1.75rem, 4vw, 3rem); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1.1rem; }
.site-footer a { color: #cfe2ea; text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.footer-brand img { width: 186px; height: auto; max-width: 100%; margin-bottom: 1.25rem; }
.footer-bottom {
  margin-top: clamp(2.5rem, 5vw, 3.5rem); padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; justify-content: space-between; font-size: .8125rem; color: #7fa0b0;
}


/* ---------- photo band ---------- */
.band {
  position: relative; min-height: clamp(320px, 42vw, 460px);
  display: grid; align-items: center;
  background-size: cover; background-position: center 40%;
  color: #fff; border-radius: var(--radius-lg); overflow: hidden;
  padding: clamp(2rem, 5vw, 4rem);
}
.band::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(10,49,66,.92) 0%, rgba(10,49,66,.74) 45%, rgba(10,49,66,.18) 100%);
}
.band > * { position: relative; }
.band h2 { color: #fff; max-width: 18ch; }
.band p { color: #c6dbe4; max-width: 44ch; }
.band .eyebrow { color: var(--accent); }
.band .stat b { color: #fff; }
.band .stat span { color: #a9c6d2; }

/* ---------- team ---------- */
.person { text-align: left; }
.person-photo {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: var(--radius); margin-bottom: 1.15rem;
  filter: grayscale(1) contrast(1.04);          /* one look, however the photos arrive */
  background: var(--pale);
}
.person-photo--empty {
  display: grid; place-items: center; color: var(--muted);
  font-family: var(--display); font-size: 3rem; filter: none;
  border: 1px dashed var(--line);
}
.person h3 { margin-bottom: .15rem; }
.person .role { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-deep); font-weight: 600; margin-bottom: .85rem; }

/* ---------- service card with image ---------- */
.card--media { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.card--media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.card--media .card-body { padding: clamp(1.35rem, 2.2vw, 1.75rem); }
