/* Family Dental Home, design 2: dark theme.
   Same content as design 1. Shares assets/js/site.js (menu and quick actions). */

:root {
  --bg: #070d1a;
  --bg-2: #0d1730;
  --card: rgba(255, 255, 255, 0.06);
  --card-hover: rgba(255, 255, 255, 0.1);
  --line: rgba(255, 255, 255, 0.13);
  --text: #e9effc;
  --muted: #a6b5d2;
  --lime: #b4f03c;
  --lime-deep: #8cd600;
  --sun: #ffd23f;
  --sky: #4aa3ff;
  --ink: #07101f;
  --radius: 26px;
  --font-head: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 112px; color-scheme: dark; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Soft colored glows behind the whole page */
body::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 1100px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(900px 620px at 8% -8%, rgba(180, 240, 60, 0.16), transparent 62%),
    radial-gradient(820px 640px at 100% 8%, rgba(74, 163, 255, 0.2), transparent 62%),
    radial-gradient(760px 520px at 55% 108%, rgba(180, 240, 60, 0.1), transparent 62%);
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.6rem, 6.2vw, 5rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.02em; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.section { padding: 96px 0; }
.section-head { max-width: 660px; margin-bottom: 48px; }
.section-head p { color: var(--muted); font-size: 1.1rem; }

.grad {
  background: linear-gradient(95deg, var(--lime) 0%, #7ee0c3 55%, var(--sky) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); }

:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }

.skip {
  position: absolute; left: -999px; top: 8px; z-index: 200;
  background: var(--lime); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 700;
}
.skip:focus { left: 8px; }

/* ---------- Draft strip (remove at launch) ---------- */
.draft-strip {
  background: var(--sun); color: var(--ink);
  font-size: 0.85rem; font-weight: 600; text-align: center; padding: 6px 12px;
}
.draft-strip a { margin: 0 4px; font-weight: 700; }
.draft-strip a[aria-current] { text-decoration: none; background: var(--ink); color: var(--sun); padding: 1px 9px; border-radius: 999px; }

/* ---------- Top bar + header ---------- */
.topbar { color: var(--muted); font-size: 0.88rem; border-bottom: 1px solid var(--line); }
.topbar-in { display: flex; justify-content: space-between; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.topbar-dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: var(--lime); margin-right: 8px; box-shadow: 0 0 0 0 rgba(180, 240, 60, 0.6);
  animation: pulse 2.2s ease-out 2; /* two pulses, then still: nothing moves by itself for more than 5 seconds */
}
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(180, 240, 60, 0); } 100% { box-shadow: 0 0 0 0 rgba(180, 240, 60, 0); } }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 13, 26, 0.72);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 10px; padding-bottom: 10px; }
.logo { background: #fffcf3; border-radius: 16px; padding: 4px 12px; display: inline-flex; }
.logo img { height: 72px; width: auto; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  text-decoration: none; font-weight: 500; font-size: 0.98rem; color: var(--muted);
  padding: 8px 16px; border-radius: 999px; transition: background 0.15s ease, color 0.15s ease;
}
.nav a:hover { background: var(--card-hover); color: #fff; }

.header-actions { display: flex; align-items: center; gap: 14px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; }
.header-phone svg { width: 22px; height: 22px; color: var(--lime); }

.menu-btn {
  display: none; background: var(--card); color: var(--text); border: 1px solid var(--line); border-radius: 14px;
  width: 46px; height: 46px; cursor: pointer; align-items: center; justify-content: center;
}
.menu-btn svg { width: 24px; height: 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: 999px; border: 1px solid transparent;
  font: 700 1rem/1.2 var(--font-body); text-decoration: none; cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.15s ease;
}
.btn svg { width: 20px; height: 20px; }
.btn:hover { transform: translateY(-2px); }
.btn-lime { background: var(--lime); color: var(--ink); }
.btn-lime:hover { background: #c4f75a; }
.btn-ghost { background: rgba(255, 255, 255, 0.04); border-color: var(--line); color: #fff; }
.btn-ghost:hover { background: var(--card-hover); }
.btn-sm { padding: 11px 22px; font-size: 0.95rem; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 72px 0 96px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 35%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 70% at 50% 35%, #000 20%, transparent 75%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 0.4em; }
.hero-lead { font-size: 1.2rem; color: var(--muted); max-width: 540px; margin-bottom: 1.6em; }
.hero-lead:last-child { margin-bottom: 0; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 12px 26px; color: var(--muted); font-size: 0.95rem; }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta svg { width: 18px; height: 18px; color: var(--lime); }

.hero-media { position: relative; max-width: 520px; margin-left: auto; width: 100%; }
.ph {
  position: relative; overflow: hidden; display: flex; align-items: flex-end;
  border-radius: 36px; border: 1px solid var(--line);
  background: linear-gradient(150deg, rgba(180, 240, 60, 0.2), rgba(74, 163, 255, 0.22) 60%, rgba(180, 240, 60, 0.12)), var(--bg-2);
  color: var(--muted); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
}
.ph::before, .ph::after { content: ""; position: absolute; border-radius: 50%; filter: blur(34px); opacity: 0.8; }
.ph::before { width: 55%; aspect-ratio: 1; left: -12%; top: -10%; background: rgba(180, 240, 60, 0.5); }
.ph::after { width: 50%; aspect-ratio: 1; right: -10%; bottom: 10%; background: rgba(74, 163, 255, 0.55); }
.ph span { position: relative; z-index: 1; padding: 6px 12px; margin: 16px; border-radius: 999px; background: rgba(7, 13, 26, 0.7); border: 1px solid var(--line); }
.hero-photo { aspect-ratio: 4 / 4.6; }

/* The turning "Since 2006" stamp (taken from design 5, in the dark palette) */
.badge { position: absolute; z-index: 3; right: -4%; bottom: -6%; width: 132px; height: 132px; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.55)); }
.badge svg.ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 36s linear infinite; }
.badge-bg { fill: var(--lime); stroke: var(--bg-2); stroke-width: 1; }
.ring text { font-family: var(--font-head); font-weight: 700; font-size: 11px; fill: var(--ink); text-transform: uppercase; }
.badge-core { position: absolute; inset: 27px; border-radius: 50%; background: var(--bg-2); color: var(--lime); display: grid; place-items: center; text-align: center; font-family: var(--font-head); line-height: 1; }
.badge-core strong { display: block; font-size: 1.4rem; letter-spacing: -0.04em; }
.badge-core small { display: block; font-size: 0.56rem; letter-spacing: 0.14em; text-transform: uppercase; margin-top: 3px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Home hero (Nov 20, 2026, Juan: "all hero sections across the site: the picture as overlay instead of an isolated card"): the doctors' photo fills the right side of the whole hero, under the same
   blue overlay as the other pages, fading into the page on its left and starting under the floating menu (the faces are high in the photo). The "Since 2006" stamp stays at its bottom right. On phones the
   photo is behind the text under a stronger overlay. Only the main design uses main.css; designs 1, 3 and 5 keep their own hero. */
.hero { isolation: isolate; }
.hero-grid { position: static; }
.hero-grid > div:first-child { position: relative; z-index: 1; }
.hero-media { position: absolute; inset: var(--hdr-space) 0 0 46%; max-width: none; width: auto; margin: 0; z-index: -2;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 22%); mask-image: linear-gradient(180deg, transparent 0, #000 22%); }
.hero .hero-media .hero-photo { position: absolute; inset: 0; aspect-ratio: auto; border: 0; border-radius: 0; background: none; }
.hero .hero-media .hero-photo::before, .hero .hero-media .hero-photo::after { display: none; }
.hero .hero-media .hero-photo img { display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(0.95) brightness(1.05); }
.hero-media::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, var(--bg) 0%, rgba(7, 13, 26, 0.6) 18%, rgba(7, 13, 26, 0) 42%); }
.hero-media::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(90deg, rgba(8, 20, 46, 0) 0%, rgba(8, 20, 46, 0.55) 34%, rgba(14, 38, 84, 0.34) 100%), radial-gradient(520px 360px at 100% 100%, rgba(74, 163, 255, 0.22), transparent 70%); }   /* starts clear on the left so the photo area has no visible edge */
.hero-media .badge { right: clamp(24px, 6%, 80px); bottom: 36px; }
@media (max-width: 980px) {
  .hero-media { inset: 0; -webkit-mask-image: none; mask-image: none; }
  .hero-media::before { display: none; }
  .hero-media::after { background: linear-gradient(180deg, rgba(7, 13, 26, 0.85), rgba(10, 24, 56, 0.8)); }
  .hero-media .badge { right: 16px; bottom: 14px; width: 100px; height: 100px; }
}

/* Home hero (Nov 24, 2026, Juan: "forget about this hero section; let's bring this office picture to the hero section at the top, and in the Welcome message let's use the doctors overlay pic"): the office at dusk
   with its sign fills the whole hero edge to edge (.is-bleed, cover), lifted a little like the other office pictures (Nov 23, "a little bit of brightness"), under an overlay that is darkest behind the title and
   the text on the left and clears towards the right; it fades in under the floating menu at the top. On phones the picture sits behind the text under the stronger overlay above. In Arabic the hero is the other
   way round (rtl.css). The doctors' picture moved to "Our story" (.story-doctors below). The earlier three-band montage is parked in tools/make-home-collage.py (not used). */
.hero.is-bleed .hero-media { inset: 0; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 16%); mask-image: linear-gradient(180deg, transparent 0, #000 16%); }
.hero.is-bleed .hero-media::before { background: linear-gradient(90deg, rgba(7, 13, 26, 0.82) 0%, rgba(7, 13, 26, 0.72) 34%, rgba(7, 13, 26, 0.42) 64%, rgba(7, 13, 26, 0.2) 100%); }
.hero.is-bleed .hero-media::after { background: linear-gradient(90deg, rgba(8, 20, 46, 0.08) 0%, rgba(8, 20, 46, 0.24) 42%, rgba(14, 38, 84, 0.18) 100%), radial-gradient(520px 360px at 100% 100%, rgba(74, 163, 255, 0.14), transparent 70%); }
.hero .hero-media .hero-photo img.hero-bleed-img { object-fit: cover; object-position: 60% 55%; filter: saturate(1) brightness(1.3); transform: scale(1.08); transform-origin: 60% 55%; }   /* Nov 24, Juan: "zoom in a tiny bit, reduce the overlay darkness a little bit" */
@media (max-width: 980px) {
  .hero.is-bleed .hero-media { -webkit-mask-image: none; mask-image: none; }
  .hero.is-bleed .hero-media::before { display: none; }
  .hero.is-bleed .hero-media::after { background: linear-gradient(180deg, rgba(7, 13, 26, 0.78), rgba(10, 24, 56, 0.73)); }
  .hero .hero-media .hero-photo img.hero-bleed-img { object-position: 85% 50%; transform-origin: 85% 50%; }   /* a narrow slice on a phone: the entrance and the sign */
}

/* "Our story" on the home page (Nov 24, 2026, Juan: "in the Welcome message let's use the doctors overlay pic"): the doctors' photo on the right, fading into the page on its left under a blue overlay,
   the same look the home hero had before (Nov 20); the words stay on the left. */
.story-doctors .story-hero-bg { inset: auto 0 0 auto; height: 84%; aspect-ratio: 1200 / 1000; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 24%); mask-image: linear-gradient(180deg, transparent 0, #000 24%); }   /* Nov 24, 2026 (Juan: "make the doctors' picture a bit smaller"): the picture is smaller, tucked in the bottom right corner, and its top edge dissolves into the dark section */
.story-doctors .story-hero-bg img { object-position: 50% 8%; filter: saturate(0.95) brightness(1.1); }
.story-doctors .story-hero-bg::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, var(--bg) 0%, rgba(7, 13, 26, 0.6) 18%, rgba(7, 13, 26, 0) 42%); }
.story-doctors::after { background: linear-gradient(90deg, rgba(7, 13, 26, 0.96) 0%, rgba(8, 20, 46, 0.7) 40%, rgba(14, 38, 84, 0.34) 100%), radial-gradient(520px 360px at 100% 100%, rgba(74, 163, 255, 0.2), transparent 70%); }
@media (max-width: 760px) {
  .story-doctors .story-hero-bg { inset: 0; height: auto; aspect-ratio: auto; -webkit-mask-image: none; mask-image: none; }
  .story-doctors .story-hero-bg::before { display: none; }
  .story-doctors::after { background: rgba(7, 13, 26, 0.84); }
}

/* The yellow underline draws itself under "whole family" (taken from design 5) */
.hl {
  padding-bottom: 0.06em;
  background: linear-gradient(var(--lime), var(--lime)) no-repeat 0 100% / 0 0.09em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  animation: draw 0.9s 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}
@keyframes draw { to { background-size: 100% 0.09em; } }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); padding: 16px 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee-group { display: flex; align-items: center; gap: 36px; padding-right: 36px; flex: none; }
.marquee-group span { font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; letter-spacing: -0.01em; white-space: nowrap; }
.marquee-group i { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Facts ---------- */
.facts { padding: 64px 0 0; }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.fact {
  background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 24px 22px;
  transition: background 0.2s ease, transform 0.2s ease;
}
.fact:hover { background: var(--card-hover); transform: translateY(-3px); }
.fact svg { width: 50px; height: 50px; padding: 9px; border-radius: 14px; margin-bottom: 14px; color: var(--ink); background: linear-gradient(135deg, var(--lime), #7ee0c3); }
.fact strong { display: block; font-family: var(--font-head); font-size: 1.05rem; letter-spacing: -0.02em; margin-bottom: 4px; }
.fact span { color: var(--muted); font-size: 0.95rem; line-height: 1.5; display: block; }

/* ---------- Story ---------- */
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-items: center; }
.story-photo { aspect-ratio: 5 / 5.4; }
.story-card {
  margin-left: -72px; position: relative; z-index: 2;
  background: rgba(13, 23, 48, 0.8); border: 1px solid var(--line); border-radius: 32px; padding: 48px 44px;
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.9);
}
.story-card p { color: var(--muted); }
.text-link {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--lime); text-decoration: none;
  border-bottom: 2px solid rgba(180, 240, 60, 0.4); padding-bottom: 2px;
}
.text-link:hover { border-bottom-color: var(--lime); }

/* ---------- Services bento ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card {
  position: relative; overflow: hidden;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.card:hover { transform: translateY(-4px); background: var(--card-hover); border-color: rgba(180, 240, 60, 0.5); }
.card::after {
  content: ""; position: absolute; width: 220px; height: 220px; right: -90px; top: -90px; border-radius: 50%;
  background: var(--glow, rgba(180, 240, 60, 0.28)); filter: blur(46px); opacity: 0.55; pointer-events: none;
}
.card h3, .card p, .icon-bubble { position: relative; z-index: 1; }
.card p { color: var(--muted); margin: 0; }
.icon-bubble {
  width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 22px;
  background: rgba(255, 255, 255, 0.08); border: 1px solid var(--line); color: var(--lime);
}
.icon-bubble svg { width: 32px; height: 32px; }
.card-big { grid-column: span 2; grid-row: span 2; padding: 40px 36px; display: flex; flex-direction: column; justify-content: flex-end; min-height: 380px; }
.card-big h3 { font-size: 2rem; }
.card-big p { font-size: 1.1rem; max-width: 380px; }
.card-big .icon-bubble { width: 68px; height: 68px; margin-bottom: auto; }
.card-big .icon-bubble svg { width: 40px; height: 40px; }
.card-wide { grid-column: span 2; }
.card-sky { --glow: rgba(74, 163, 255, 0.4); }
.card-sky .icon-bubble { color: var(--sky); }
.card-sun { --glow: rgba(180, 240, 60, 0.28); }
.card-sun .icon-bubble { color: var(--lime); }
.card-hot {
  grid-column: span 3; display: grid; grid-template-columns: auto 1fr; gap: 6px 24px; align-items: center;
  background: linear-gradient(120deg, rgba(180, 240, 60, 0.95), rgba(126, 224, 195, 0.95)); color: var(--ink); border-color: transparent;
}
.card-hot:hover { background: linear-gradient(120deg, #c4f75a, #8de8cf); border-color: transparent; }
.card-hot::after { display: none; }
.card-hot .icon-bubble { grid-row: span 2; margin: 0; background: rgba(7, 16, 31, 0.12); border-color: rgba(7, 16, 31, 0.2); color: var(--ink); }
.card-hot h3 { margin: 0; }
.card-hot p { color: rgba(7, 16, 31, 0.78); }

/* ---------- Doctors ---------- */
.doctors-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.doctor { display: grid; grid-template-columns: 0.9fr 1.1fr; background: var(--card); border: 1px solid var(--line); border-radius: 30px; overflow: hidden; }
.doctor .ph { border: 0; border-radius: 0; min-height: 280px; }
.doctor-body { padding: 32px 28px; align-self: center; }
.doctor-role { color: var(--lime); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 12px; }
.doctor-body p { color: var(--muted); margin: 0; }

/* ---------- Community ---------- */
.community { padding: 40px 0 96px; }
.community-in { text-align: center; }
.community h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); margin-bottom: 24px; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.chips li {
  padding: 10px 20px; border-radius: 12px; font-weight: 500; background: var(--card); border: 1px solid var(--line);
  transition: border-color 0.2s ease, color 0.2s ease;
}
.chips li:hover { border-color: var(--lime); color: var(--lime); }

/* ---------- Visit ---------- */
/* The visit block is a rounded panel of its own; the footer below is a second one (the "double footer" of design 5) */
.visit-panel {
  position: relative; overflow: hidden; margin: 12px 12px 0; padding: 88px 0;
  border: 1px solid var(--line); border-radius: 32px;
  background:
    radial-gradient(700px 420px at 0% 0%, rgba(180, 240, 60, 0.09), transparent 65%),
    radial-gradient(640px 420px at 100% 100%, rgba(74, 163, 255, 0.12), transparent 65%),
    var(--bg-2);
}
.visit-panel .info-card { background: none; border: 0; border-radius: 0; padding: 0; }
.visit-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 24px; align-items: stretch; }
.info-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 32px; padding: 44px 40px;
}
.info-list { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 18px; }
.info-list li { display: flex; gap: 16px; align-items: flex-start; }
.info-list svg { width: 46px; height: 46px; padding: 9px; border-radius: 12px; flex: none; color: var(--lime); background: rgba(180, 240, 60, 0.1); border: 1px solid rgba(180, 240, 60, 0.25); }
.info-list small { display: block; color: var(--muted); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.info-list a { text-decoration: none; border-bottom: 1px solid var(--line); }
.info-list a:hover { border-bottom-color: var(--lime); }
.hours { border-collapse: collapse; margin-top: 4px; }
.hours td { padding: 2px 22px 2px 0; }
.info-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.cta-card {
  position: relative; overflow: hidden; border-radius: 32px; padding: 44px 40px;
  background: linear-gradient(140deg, var(--lime) 0%, #7ee0c3 60%, var(--sky) 130%); color: var(--ink);
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
}
.cta-card::after { content: ""; position: absolute; right: -80px; bottom: -80px; width: 260px; height: 260px; border-radius: 50%; background: rgba(255, 255, 255, 0.28); filter: blur(10px); }
.cta-card .eyebrow { color: var(--ink); }
.cta-card .eyebrow::before { background: var(--ink); box-shadow: none; }
.cta-card h2 { color: var(--ink); }
.cta-card p { color: rgba(7, 16, 31, 0.8); }
.cta-phone {
  position: relative; z-index: 1; font-family: var(--font-head); font-weight: 700; font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  letter-spacing: -0.03em; text-decoration: none; background: var(--ink); color: var(--lime); padding: 14px 28px; border-radius: 999px;
  transition: transform 0.15s ease;
}
.cta-phone:hover { transform: translateY(-2px); }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-2); border: 1px solid var(--line); border-radius: 32px; margin: 12px; padding: 68px 0 28px; color: var(--muted); }
/* A big, quiet wordmark at the bottom of the footer (taken from design 5) */
.footer-wordmark { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.5rem, 8.6vw, 7.2rem); line-height: 0.9; letter-spacing: -0.05em; color: rgba(255, 255, 255, 0.07); white-space: nowrap; overflow: hidden; padding-bottom: 0.2em; margin: 0 0 8px; user-select: none; }   /* the padding keeps the tail of the y from being cut off (Nov 14, 2026) */
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 40px; }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--lime); text-decoration: underline; }
.footer-logo { display: inline-flex; background: #fffcf3; border-radius: 14px; padding: 4px 10px; margin-bottom: 14px; }
.footer-logo img { height: 88px; width: auto; }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 24px; font-size: 0.85rem; }

/* ---------- Quick actions ---------- */
.quick { position: fixed; right: 20px; bottom: 20px; z-index: 70; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.quick-btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--lime); color: var(--ink); font: 700 1rem/1.2 var(--font-body);
  box-shadow: 0 10px 28px -12px rgba(0, 0, 0, 0.7); transition: transform 0.15s ease;
}
.quick-btn:hover { transform: translateY(-2px); }
/* The floating Google reviews button (Nov 24, 2026, Juan: "add a little design element like the Google logo and the stars"): a white pill like the menu, the four-colour Google "G" on the left,
   five gold stars over the words "Review us on Google". Phones: hidden here, the bottom bar has the same link (G and one word). */
.quick-review { text-decoration: none; background: #fff; color: var(--ink); gap: 12px; padding: 10px 22px 10px 14px; box-shadow: 0 14px 34px -14px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(7, 16, 31, 0.08); }
.quick-review:hover { transform: translateY(-3px); box-shadow: 0 18px 38px -14px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(7, 16, 31, 0.12); }
.quick-review .rv-g { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1px rgba(7, 16, 31, 0.12); }
.quick-review .rv-g svg { width: 20px; height: 20px; }
.quick-review .rv-copy { display: flex; flex-direction: column; gap: 3px; align-items: flex-start; }
.quick-review .rv-rating { display: flex; align-items: center; gap: 6px; line-height: 1; }
.quick-review .rv-num { font-size: 0.95rem; font-weight: 800; }
.quick-review .rv-rating svg { width: 80px; height: 13px; }
.quick-review .rv-count { font-size: 0.85rem; font-weight: 600; color: #4a5568; }
.quick-review .rv-text { font-size: 0.95rem; font-weight: 700; line-height: 1.1; }
.quick-btn svg { width: 20px; height: 20px; }
.quick-panel {
  display: flex; flex-direction: column; min-width: 250px; padding: 8px; border-radius: 22px;
  background: rgba(13, 23, 48, 0.94); border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.9);
}
.quick-panel[hidden] { display: none; }
.quick-links a { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; font-weight: 600; text-decoration: none; }
.quick-links a:hover { background: var(--card-hover); }
.quick-links svg { width: 22px; height: 22px; color: var(--lime); flex: none; }

.mobile-bar { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .story-grid, .visit-grid { grid-template-columns: 1fr; }
  .hero-media { margin: 0 auto; }
  .badge { right: 0; }
  .story-card { margin: -72px 18px 0; padding: 36px 28px; }
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .card-big { grid-column: span 2; grid-row: auto; min-height: 280px; }
  .card-hot { grid-column: span 2; }
  .doctors-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .menu-btn { display: inline-flex; }
  .header-phone span { display: none; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(7, 13, 26, 0.97); border-bottom: 1px solid var(--line); padding: 8px 20px 20px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .header-actions .btn { display: none; }
}

@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: 76px; }
  .section { padding: 64px 0; }
  .topbar-hours { display: none; }
  .topbar-in { justify-content: center; }
  .hero { padding: 40px 0 132px; }   /* Nov 20, 2026: room under the text for the "Since 2006" stamp, which sits at the bottom right over the photo, so it never covers a line */
  .facts-grid, .bento, .footer-grid { grid-template-columns: 1fr; }
  .card-big, .card-wide, .card-hot { grid-column: auto; }
  .card-hot { grid-template-columns: 1fr; }
  .card-hot .icon-bubble { grid-row: auto; margin-bottom: 14px; }
  .doctor { grid-template-columns: 1fr; }
  .doctor .ph { min-height: 220px; }
  .info-card, .cta-card { padding: 30px 24px; }
  .visit-panel .info-card { padding: 0; }
  .visit-panel { padding: 56px 0; }
  .visit-panel, .site-footer { margin-left: 8px; margin-right: 8px; border-radius: 26px; }
  .badge { width: 108px; height: 108px; }
  .badge-core { inset: 22px; }
  .badge-core strong { font-size: 1.15rem; }
  .logo img { height: 56px; }
  .footer-logo img { height: 72px; }
  .quick { right: 14px; bottom: calc(76px + env(safe-area-inset-bottom)); }
  .quick-btn { display: none; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(7, 13, 26, 0.94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: 1px solid var(--line);
  }
  .mobile-bar { gap: 8px; }
  .mobile-bar .btn { padding: 14px 8px; gap: 7px; white-space: nowrap; font-size: 0.92rem; }
  .mobile-bar .quick-toggle { padding: 14px 12px; }   /* the third button is the Google reviews link (Nov 24, 2026), a little wider than the old "More" */
  .mobile-bar .quick-toggle svg { width: 18px; height: 18px; }
}
@media (max-width: 359px) { .mobile-bar .btn svg { display: none; } }   /* very narrow phones: words only, so the three buttons fit */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track, .topbar-dot, .badge svg.ring { animation: none; }
  .hl { animation: none; background-size: 100% 0.09em; }
  .btn, .card, .fact, .quick-btn, .cta-phone { transition: none; }
  .btn:hover, .card:hover, .fact:hover, .quick-btn:hover, .cta-phone:hover { transform: none; }
}

/* =====================================================================
   Added when design 2 became the main site: linked cards, inner pages,
   forms and the draft toggle. Everything below is shared by all pages.
   ===================================================================== */

/* ---------- Cards that are links ---------- */
a.card { display: block; text-decoration: none; color: inherit; }
a.card-big { display: flex; }
a.card-hot { display: grid; }
a.card::before {
  content: "\2197"; position: absolute; z-index: 2; top: 22px; right: 24px; font-size: 1.3rem; line-height: 1;
  color: var(--muted); transition: color 0.2s ease, transform 0.2s ease;
}
a.card:hover::before { color: var(--lime); transform: translate(2px, -2px); }
a.card-hot::before { color: rgba(7, 16, 31, 0.6); }
a.card-hot:hover::before { color: var(--ink); }

/* ---------- Draft toggle (remove at launch) ---------- */
.draft-toggle {
  margin-left: 10px; font: inherit; font-size: 0.8rem; font-weight: 700; cursor: pointer;
  background: transparent; color: var(--ink); border: 1.5px solid var(--ink); border-radius: 999px; padding: 1px 12px;
}
.draft-toggle[aria-pressed="true"] { background: var(--ink); color: var(--sun); }
.hide-draft .draft-note { display: none; }
.draft-note {
  border: 1px dashed rgba(255, 210, 63, 0.65); background: rgba(255, 210, 63, 0.07); color: #ffe9a8;
  border-radius: 16px; padding: 14px 18px; font-size: 0.93rem; line-height: 1.55; margin: 22px 0;
}
.draft-note strong { color: var(--sun); }

/* ---------- Inner pages ---------- */
.page-hero { position: relative; overflow: hidden; padding: 64px 0 40px; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 60% 90% at 30% 20%, #000 10%, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 90% at 30% 20%, #000 10%, transparent 75%);
}
.page-hero .container { position: relative; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; color: var(--muted); font-size: 0.9rem; margin-bottom: 26px; }
.crumbs a { text-decoration: none; display: inline-block; padding: 3px 0; }
.crumbs a:hover { color: var(--lime); text-decoration: underline; }
.crumbs i { font-style: normal; opacity: 0.8; }
.crumbs [aria-current] { color: var(--text); }
.page-hero h1 { font-size: clamp(2.3rem, 5vw, 4rem); max-width: 860px; }
.page-lead { font-size: 1.2rem; color: var(--muted); max-width: 700px; margin-bottom: 1.7em; }
.page-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.page-section { padding: 48px 0; }
.page-section h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.page-section .eyebrow { margin-bottom: 16px; }
.split { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: start; }
.prose p { color: var(--muted); font-size: 1.07rem; max-width: 720px; }
.prose p strong { color: var(--text); }
.prose h3 { margin-top: 1.6em; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-grid.two { grid-template-columns: repeat(2, 1fr); }
.feature {
  position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 28px 26px;
}
.feature h3 { font-size: 1.12rem; margin-bottom: 0.45em; }
.feature p { color: var(--muted); margin: 0; font-size: 0.98rem; }
.feature p + p { margin-top: 0.8em; }
.feature .icon-bubble { margin-bottom: 18px; }
.feature-link { display: block; text-decoration: none; color: inherit; transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease; }
.feature-link:hover { background: var(--card-hover); border-color: rgba(180, 240, 60, 0.5); transform: translateY(-3px); }
.feature-link .more { display: inline-flex; margin-top: 16px; font-weight: 700; color: var(--lime); }
.feature-link .more::after { content: "\2192"; margin-left: 8px; transition: transform 0.15s ease; }
.feature-link:hover .more::after { transform: translateX(4px); }

.pill-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pill-list li { padding: 9px 18px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); font-weight: 500; }

.aside-card {
  position: sticky; top: 110px; border-radius: 28px; padding: 32px 28px; color: var(--ink);
  background: linear-gradient(140deg, var(--lime) 0%, #7ee0c3 60%, var(--sky) 130%);
}
.aside-card h2 { font-size: 1.6rem; color: var(--ink); }
.aside-card p { color: rgba(7, 16, 31, 0.8); }
.aside-card .cta-phone { display: inline-block; font-size: 1.5rem; padding: 12px 24px; }
.aside-card .hours-mini { margin: 18px 0 0; font-size: 0.92rem; color: rgba(7, 16, 31, 0.8); }

.steps { counter-reset: s; list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.steps li {
  counter-increment: s; display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start;
  background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 20px 22px;
}
.steps li::before {
  content: counter(s); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--lime); color: var(--ink); font-family: var(--font-head); font-weight: 700;
}
.steps strong { display: block; font-family: var(--font-head); letter-spacing: -0.02em; }
.steps span { color: var(--muted); }

.related { border-top: 1px solid var(--line); margin-top: 24px; padding: 56px 0 24px; }

.cta-band {
  position: relative; overflow: hidden; border-radius: 32px; padding: 48px 44px;
  background: linear-gradient(140deg, var(--lime) 0%, #7ee0c3 60%, var(--sky) 130%); color: var(--ink);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px;
}
.cta-band h2 { color: var(--ink); margin: 0 0 0.3em; font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
.cta-band p { margin: 0; color: rgba(7, 16, 31, 0.8); }
.cta-band .cta-phone { position: relative; z-index: 1; }

.pay-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.pay-grid li { padding: 16px 20px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); font-weight: 600; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; }
.form label { display: block; font-weight: 600; margin-bottom: 6px; }
.form .hint { display: block; color: var(--muted); font-size: 0.88rem; font-weight: 400; }
.form input, .form select, .form textarea {
  width: 100%; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.06);
  color: var(--text); font: inherit;
}
.form select option { color: #111; }
.form textarea { min-height: 130px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 3px solid var(--lime); outline-offset: 2px; border-color: transparent; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; box-shadow: none; transform: none; }
.panel-card { background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: 40px 36px; }

@media (max-width: 980px) {
  .split { grid-template-columns: 1fr; gap: 32px; }
  .aside-card { position: static; }
  .feature-grid, .pay-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .page-hero { padding: 40px 0 24px; }
  .page-section { padding: 36px 0; }
  .feature-grid, .feature-grid.two, .pay-grid, .form-row { grid-template-columns: 1fr; }
  .cta-band { padding: 32px 24px; }
  .panel-card { padding: 28px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .feature-link, a.card::before, .feature-link .more::after { transition: none; }
  .feature-link:hover { transform: none; }
}

.btn-dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-dark:hover { background: #13213a; }

.split.split-contact { grid-template-columns: 0.9fr 1.1fr; }
@media (max-width: 980px) { .split.split-contact { grid-template-columns: 1fr; } }

.panel-card .hours tr { display: block; margin-bottom: 8px; }
.panel-card .hours td { display: block; padding: 0; }
.panel-card .hours td:last-child { color: var(--muted); }

/* =====================================================================
   Structure pass: every page is a stack of clearly separated sections.
   Bands alternate with the base background, each section opens with a
   lined label, and spacing is the same everywhere.
   ===================================================================== */
:root { --band: #0e1b33; }

.band { background: var(--band); border-block: 1px solid var(--line); }

/* A lined label opens each section */
.eyebrow.label {
  display: flex; align-items: center; gap: 14px; width: 100%; margin-bottom: 30px;
  background: none; border: 0; border-radius: 0; padding: 0; color: var(--lime);
}
.eyebrow.label::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* Even rhythm: same space above and below every section */
.section { padding: 96px 0; }
.section-head { margin-bottom: 52px; }
.page-hero { padding: 64px 0 56px; border-bottom: 1px solid var(--line); }
.page-section { padding: 80px 0; }
.page-section.cta-wrap, .page-section.note-wrap { padding: 0 0 80px; background: none; border: 0; }
.page-section.note-wrap { padding-bottom: 40px; }
.page-section .page-lead { margin-bottom: 36px; }
.related { border-top: 0; margin-top: 0; padding: 80px 0; }

/* Home page bands */
.facts { padding: 56px 0; background: var(--band); border-bottom: 1px solid var(--line); }
.community { padding: 56px 0; background: var(--band); border-block: 1px solid var(--line); }
.community-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 48px; text-align: left; }
.community h2 { margin: 0; font-size: clamp(1.3rem, 2.4vw, 1.8rem); }
.community .chips { justify-content: flex-start; }

/* Our story: a clean photo and text pair, no overlap */
.story-grid { gap: 32px; align-items: stretch; }
.story-photo { aspect-ratio: auto; min-height: 460px; }
.story-card { margin-left: 0; }

/* Services: an even three-by-two grid */
.bento { grid-template-columns: repeat(3, 1fr); }
a.card.card-hot { display: block; grid-column: auto; background: linear-gradient(140deg, var(--lime) 0%, #7ee0c3 100%); }
a.card.card-hot:hover { background: linear-gradient(140deg, #c4f75a 0%, #8de8cf 100%); }
.card-hot .icon-bubble { grid-row: auto; margin: 0 0 22px; }
.card-hot p { color: rgba(7, 16, 31, 0.78); }

/* Photo placeholders: calmer glow */
.ph::before, .ph::after { opacity: 0.45; }

@media (max-width: 980px) {
  .story-photo { min-height: 320px; }
  .story-card { margin: 0; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .community-in { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .page-section { padding: 52px 0; }
  .page-section.cta-wrap { padding-bottom: 52px; }
  .related { padding: 52px 0; }
  .facts, .community { padding: 40px 0; }
  .bento { grid-template-columns: 1fr; }
  .page-hero { padding: 40px 0 36px; }
}

/* Photo placeholders: a quiet framed box instead of glowing blobs */
.ph::before, .ph::after { display: none; }
.ph {
  background:
    radial-gradient(rgba(255, 255, 255, 0.07) 1.5px, transparent 2px) 0 0 / 24px 24px,
    linear-gradient(150deg, rgba(180, 240, 60, 0.1), rgba(74, 163, 255, 0.12)),
    var(--bg-2);
}

/* Header: keep it on one line, and switch to the menu button a little earlier */
.nav a, .header-phone, .header-actions .btn { white-space: nowrap; }
@media (max-width: 1100px) {
  .header-phone span { display: none; }
  .nav { gap: 2px; }
}
@media (max-width: 960px) {
  .menu-btn { display: inline-flex; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(7, 13, 26, 0.97); border-bottom: 1px solid var(--line); padding: 8px 20px 20px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .header-actions .btn { display: none; }
}

/* White top menu: solid white, dark text, no pills inside it. The lime stays the one accent. It floats: see "Floating menu" at the end of this file. */
.site-header { color: var(--ink); }
.site-header :focus-visible { outline-color: var(--ink); }
.logo { background: none; border-radius: 0; padding: 0; }
.nav a { color: #3a4a66; border-radius: 0; padding: 10px 14px; box-shadow: inset 0 -3px 0 transparent; transition: color 0.15s ease, box-shadow 0.15s ease; }
.nav a:hover { background: none; color: var(--ink); box-shadow: inset 0 -3px 0 var(--lime); }
.header-phone { color: var(--ink); }
.header-phone svg { color: var(--ink); }
.site-header .btn-lime { box-shadow: none; }
.menu-btn { background: #fff; color: var(--ink); border-color: #d5dce8; }
@media (max-width: 960px) {
  .nav { background: #fff; }
  .nav a { color: var(--ink); border-bottom: 1px solid #e3e8f0; box-shadow: none; }
  .nav a:last-child { border-bottom: 0; }
  .nav a:hover { box-shadow: none; color: #4d7a00; }
}

/* White footer, to match the white top menu. The big name is a quiet grey. */
.site-footer { background: #fff; border-color: #e3e8f0; color: #4b5870; }
.site-footer h3 { color: var(--ink); }
.site-footer a:hover { color: var(--ink); text-decoration: underline; }
.footer-logo { background: none; border-radius: 0; padding: 0; }
.footer-wordmark { color: #e1e5ec; }
.footer-bottom { border-top-color: #e3e8f0; }

/* Nov 20, 2026 (Juan): the ADA "2026 member" badge, exactly as sent, in the footer of every page under the Contact column (no line of text). */
.footer-badge { display: block; width: 112px; height: auto; margin-top: 22px; }

/* New patient form shown inside the page */
.embed-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; box-shadow: 0 30px 70px -40px rgba(0, 0, 0, 0.8); }
.embed-card iframe { display: block; width: 100%; height: 760px; border: 0; }
.embed-help { margin-top: 18px; color: var(--muted); font-size: 0.95rem; }
@media (max-width: 640px) { .embed-card { border-radius: 18px; } .embed-card iframe { height: 700px; } }

/* The glow at the top of the page fades out instead of stopping at an edge */
body::before {
  -webkit-mask-image: linear-gradient(to bottom, #000 50%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 50%, transparent 100%);
}

/* ---------- Accessibility ---------- */
/* Keyboard focus on the lime cards: a dark ring, because a lime ring would disappear on lime. */
.cta-card :focus-visible, .aside-card :focus-visible, .cta-band :focus-visible { outline-color: var(--ink); }

/* Pause button for the ticker and the turning badge (anything that moves for more than 5 seconds needs one). */
.marquee { position: relative; }
.motion-toggle {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 36px; height: 36px; padding: 0; display: grid; place-items: center; cursor: pointer;
  border-radius: 50%; border: 1px solid var(--line); background: var(--bg-2); color: var(--text);
}
.motion-toggle:hover { border-color: var(--lime); color: var(--lime); }
.motion-toggle svg { width: 14px; height: 14px; fill: currentColor; }
.motion-toggle .i-play, .motion-toggle[aria-pressed="true"] .i-pause { display: none; }
.motion-toggle[aria-pressed="true"] .i-play { display: block; }
.motion-paused .marquee-track, .motion-paused .badge svg.ring { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .motion-toggle { display: none; } }

/* Phone-sized screens */
/* The phone icon in the header is the one way to call from the top of the page, so it gets a full-size tap target. */
@media (max-width: 960px) { .header-phone { min-width: 44px; min-height: 44px; justify-content: center; } }
/* Long words (an email address) wrap instead of pushing the page sideways on 360 px wide phones. */
.split > *, .info-list li > div { min-width: 0; }
.info-list a { overflow-wrap: anywhere; }

/* =====================================================================
   Home page extras: "Today at the office", the services stack, and the
   family sticker in the doctors section.
   ===================================================================== */

/* ---------- Open or closed, address and hours: the map-pin button in the menu and its pop-up ---------- */
/* The pin carries a green (open) or grey (closed) dot; the pop-up says it in words. The pop-up opens on a tap or click; nothing is loaded from Google until the link is used. */
.site-header .header-in { position: relative; }
.addr [hidden], .addr[hidden] { display: none; }
.addr-btn {
  position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: 50%; cursor: pointer;
  background: #fff; color: var(--ink); border: 1px solid #d5dce8; transition: background 0.15s ease, border-color 0.15s ease;
}
.addr-btn:hover, .addr-btn[aria-expanded="true"] { background: #eef1f6; border-color: #b9c3d6; }
.addr-btn svg { width: 22px; height: 22px; }
.addr-dot { position: absolute; top: -2px; right: -2px; width: 14px; height: 14px; border-radius: 50%; background: #8a94a8; border: 2px solid #fff; }
.addr.is-open .addr-dot { background: #3f7d00; }
.addr-pop {
  --arrow: 19px;
  position: absolute; z-index: 70; right: 8px; top: calc(100% + 12px); width: 320px; max-width: calc(100vw - 32px);
  background: #fff; color: var(--ink); border: 1px solid #e3e8f0; border-radius: 20px; padding: 22px 24px 24px; text-align: left; font-weight: 400;
  box-shadow: 0 30px 60px -22px rgba(7, 13, 26, 0.55);
}
.addr-pop::before {
  content: ""; position: absolute; top: -8px; right: var(--arrow); width: 14px; height: 14px; background: #fff;
  border-left: 1px solid #e3e8f0; border-top: 1px solid #e3e8f0; transform: rotate(45deg); border-radius: 3px 0 0 0;
}
.addr-close {
  position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border: 0; border-radius: 50%; cursor: pointer;
  background: #eef1f6; color: var(--ink); font-size: 1.4rem; line-height: 1;
}
.addr-close:hover { background: #dde3ee; }
.addr-status { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center; margin: 0 40px 18px 0; line-height: 1.35; }
.addr-status strong { font-family: var(--font-head); font-size: 1.15rem; letter-spacing: -0.01em; }
.addr-status .today-sub { grid-column: 2; color: #4b5870; font-size: 0.95rem; }
.today-dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: #8a94a8; }
.addr.is-open .today-dot { background: #3f7d00; box-shadow: 0 0 0 4px rgba(63, 125, 0, 0.18); }
.addr-text { margin: 0 0 4px; font-size: 1.05rem; line-height: 1.5; }
.addr-hours { margin: 0 0 18px; color: #4b5870; font-size: 0.95rem; line-height: 1.5; }
.addr-pop .btn { display: inline-flex; align-items: center; gap: 8px; }
.addr-pop .btn svg { width: 18px; height: 18px; }
.cta-card .cta-911 { font-size: 0.9rem; line-height: 1.5; }

/* ---------- Services stack ---------- */
/* Plain grid first (no JavaScript). The script adds .is-stack, which turns it into a deck. */
.stack-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.scard {
  position: relative; overflow: hidden; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 28px; align-items: center;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 32px;
}
.scard h3 { font-size: 1.7rem; }
.scard p { color: var(--muted); font-size: 1.05rem; max-width: 420px; }
.scard .icon-bubble { margin-bottom: 20px; }
.scard-art {
  position: relative; align-self: stretch; min-height: 220px; display: grid; place-items: center; align-content: center; gap: 14px; overflow: hidden;
  border-radius: 22px; border: 1px solid var(--line);
  background: linear-gradient(150deg, rgba(180, 240, 60, 0.16), rgba(74, 163, 255, 0.18)), var(--bg-2);
}
.scard-hot { background: linear-gradient(120deg, var(--lime), #7ee0c3); color: var(--ink); border-color: transparent; }
.scard-hot h3 { color: var(--ink); }
.scard-hot p { color: rgba(7, 16, 31, 0.8); }
.scard-hot .icon-bubble { background: rgba(7, 16, 31, 0.12); border-color: rgba(7, 16, 31, 0.2); color: var(--ink); }
.scard-hot .text-link { color: var(--ink); border-bottom-color: rgba(7, 16, 31, 0.45); }
.scard-hot .scard-art { background: var(--ink); border-color: transparent; }
.scard-hot :focus-visible { outline-color: var(--ink); }

/* The little pictures */
.art-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.art-checks li { display: flex; align-items: center; gap: 12px; font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; }
.art-checks li::before {
  content: ""; width: 24px; height: 24px; border-radius: 50%; flex: none; background: var(--lime);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 12.5l3.2 3.2L17 8.8' fill='none' stroke='%2307101f' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.art-big { width: 120px; height: auto; }
.art-wide { width: 80%; max-width: 270px; height: auto; }
.art-tag { padding: 6px 12px; border-radius: 10px; background: rgba(7, 13, 26, 0.7); border: 1px solid var(--line); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.art-card {
  width: min(240px, 82%); aspect-ratio: 1.6; border-radius: 18px; padding: 16px 18px; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px;
  background: linear-gradient(140deg, var(--lime), #7ee0c3 60%, var(--sky)); color: var(--ink); position: relative;
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.8);
}
.art-card strong { font-family: var(--font-head); font-size: 1.05rem; letter-spacing: -0.02em; }
.art-card span { font-size: 0.85rem; font-weight: 600; }
.art-card .art-chip { position: absolute; left: 18px; top: 16px; width: 34px; height: 26px; border-radius: 6px; background: rgba(7, 16, 31, 0.22); }
.art-call { display: grid; justify-items: center; gap: 6px; color: var(--lime); text-align: center; }
.art-call svg { width: 54px; height: 54px; padding: 14px; border-radius: 50%; background: rgba(180, 240, 60, 0.14); }
.art-call strong { font-family: var(--font-head); font-size: 1.15rem; }
.art-call span { font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; letter-spacing: -0.03em; color: #fff; }

.stack-controls { display: none; }
.stack.is-stack .stack-controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 10px; }
.stack.is-stack .stack-cards { display: grid; grid-template-columns: 1fr; gap: 0; padding-bottom: 44px; position: relative; }
.stack.is-stack .scard {
  grid-area: 1 / 1; min-height: 360px; background: #141d33;
  transition: transform 0.65s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.5s ease;
}
.stack.is-stack .scard-hot { background: linear-gradient(120deg, var(--lime), #7ee0c3); }
.stack.is-stack .scard[data-state="active"] { transform: none; opacity: 1; z-index: 4; touch-action: pan-y; }
.stack.is-stack .scard[data-state="next"] { transform: translateY(18px) scale(0.96); opacity: 0.7; z-index: 3; }
.stack.is-stack .scard[data-state="next2"] { transform: translateY(36px) scale(0.92); opacity: 0.4; z-index: 2; }
.stack.is-stack .scard[data-state="back"] { transform: translateY(36px) scale(0.92); opacity: 0; z-index: 1; }
.stack.is-stack .scard[data-state="out"] { transform: translateX(-10%) scale(0.98); opacity: 0; z-index: 5; pointer-events: none; }
.stack.is-stack .scard:not([data-state="active"]) { pointer-events: none; }
.stack-dots { display: flex; align-items: center; }
.stack-dots button { width: 24px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.stack-dots button::before { content: ""; width: 12px; height: 12px; border-radius: 99px; border: 2px solid var(--muted); transition: width 0.3s ease, background 0.3s ease, border-color 0.3s ease; }
.stack-dots button:hover::before { border-color: var(--lime); }
.stack-dots button[aria-current="true"] { width: 44px; }
.stack-dots button[aria-current="true"]::before { width: 32px; background: var(--lime); border-color: var(--lime); }
.stack-controls .motion-toggle { position: static; transform: none; }

/* ---------- The family sticker in the doctors section ---------- */
.doctors-in { position: relative; }
.mark { position: absolute; right: 20px; top: -10px; z-index: 2; transform: rotate(var(--spin, -6deg)); transition: transform 0.25s ease-out; }
.mark-disc {
  width: 190px; height: 190px; border-radius: 50%; background: #fffcf3; display: grid; place-items: center;
  box-shadow: 0 24px 50px -22px rgba(0, 0, 0, 0.9); animation: floaty 6s ease-in-out infinite;
}
.mark-disc img { width: 86%; height: auto; }
@keyframes floaty { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-8px) rotate(2deg); } }
.motion-paused .mark-disc { animation-play-state: paused; }
.doctors-in { overflow-x: clip; } /* the tilted sticker can poke 2px past the screen edge at some widths; clip, not hidden, keeps the sticky menu working */

/* The phone icon, the button and the pin never shrink. On a tight laptop or tablet width (961px to 1180px) the links sit a little closer together to make room. */
.header-actions > *, .header-phone svg { flex: none; }
.header-phone { min-width: 24px; min-height: 24px; justify-content: center; }
@media (min-width: 961px) and (max-width: 1180px) {
  .header-in { gap: 12px; }
  .header-actions { gap: 10px; }
  .nav { gap: 0; }
  .nav a { padding-left: 9px; padding-right: 9px; font-size: 0.94rem; }
  .header-actions .btn-sm { padding-left: 18px; padding-right: 18px; }
}
/* At 960px and below the menu row has the phone icon, the pin and the menu button: the pop-up arrow points at the pin. */
@media (max-width: 960px) { .addr-pop { --arrow: 83px; right: 0; } }
@media (max-width: 980px) {
  .scard { grid-template-columns: 1fr; }
  .scard-art { min-height: 180px; order: -1; }
  .stack-cards { grid-template-columns: 1fr; }
  .stack.is-stack .scard { min-height: 0; }
  .mark-disc { width: 150px; height: 150px; }
}
@media (max-width: 640px) {
  .scard { padding: 24px 20px; gap: 20px; }
  .scard h3 { font-size: 1.45rem; }
  .mark { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .mark-disc { animation: none; }
  .mark { transition: none; }
  .stack.is-stack .scard { transition: none; }
  .stack-dots button::before { transition: none; }
}

/* ---------- Floating menu (Nov 11) ----------
   The menu is a white rounded bar that floats a little below the top of the page, with soft ends and a soft shadow.
   The header itself is see-through and takes no room (negative bottom margin = --hdr-space), so the first section of every page
   slides under it; that section gets the same amount of extra padding at the top. --hdr-space = top gap + bar height: change them together. */
:root { --hdr-space: 118px; }
.site-header {
  position: sticky; top: -28px;   /* the bar sits 40px from the top of the page (room for the language link above it) and 12px from the top once the page scrolls */
  background: none; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none;
  padding: 40px 16px 0; margin-bottom: calc(-1 * var(--hdr-space)); pointer-events: none;   /* the see-through band must not block clicks */
}
/* The language link (Español / English): small, top right of every page, above the bar and not in the menu. It scrolls away with the top of the page. */
.lang-switch { position: absolute; top: 0; left: 0; right: 0; z-index: 60; pointer-events: none; }
.lang-switch-in { max-width: 1320px; margin: 0 auto; padding: 7px 34px 0 16px; text-align: right; }
.lang-switch a {
  pointer-events: auto; display: inline-block; padding: 3px 10px; border-radius: 8px; font-size: 0.88rem; font-weight: 600;
  color: var(--muted); text-decoration: none;
}
.lang-switch a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.site-header .header-in {
  max-width: 1320px; padding: 7px 12px 7px 26px; gap: 16px; background: #fff; border-radius: 999px; pointer-events: auto;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 4px 10px rgba(0, 0, 0, 0.12), 0 22px 44px -18px rgba(0, 0, 0, 0.6);
}
.logo, .logo img { flex: none; }                  /* never squeezed: it used to get narrower when the menu was crowded */
.logo img { height: 64px; width: auto; max-width: none; }
.hero { padding-top: calc(72px + var(--hdr-space)); }
.page-hero { padding-top: calc(64px + var(--hdr-space)); }
@media (max-width: 1290px) { .header-phone span { display: none; } }
@media (min-width: 961px) and (max-width: 1040px) {   /* narrow laptop or tablet held sideways: a smaller logo and closer links keep one row */
  :root { --hdr-space: 106px; }
  .site-header .header-in { padding-left: 18px; gap: 8px; }
  .logo img { height: 52px; }
  .nav a { padding-left: 6px; padding-right: 6px; font-size: 0.9rem; }
  .header-actions { gap: 8px; }
  .header-actions .btn-sm { padding-left: 14px; padding-right: 14px; font-size: 0.9rem; }
}
@media (max-width: 960px) {
  :root { --hdr-space: 100px; }
  .site-header { top: -24px; padding: 36px 10px 0; }
  .lang-switch-in { padding: 3px 22px 0 10px; }
  .site-header .header-in { padding: 6px 8px 6px 18px; gap: 12px; }
  .logo img { height: 52px; }
  .nav { top: calc(100% + 10px); border: 1px solid #e3e8f0; border-radius: 26px; padding: 6px 22px 10px; box-shadow: 0 22px 44px -18px rgba(0, 0, 0, 0.6); }
  .hero { padding-top: calc(40px + var(--hdr-space)); }
  .page-hero { padding-top: calc(40px + var(--hdr-space)); }
}

/* ---------- A white section (the home page "Our services", Nov 11) ----------
   Add class="section-white" to a section. Text turns dark, the lime (too pale on white) becomes a deeper green for text and small marks,
   and the service cards each get their own color (see below). The pictures in the cards keep their dark panels. */
.section-white { background: #fff; color: var(--ink); }
.section-white :focus-visible { outline-color: var(--ink); }
.section-white h2, .section-white h3 { color: var(--ink); }
.section-white .section-head p { color: #4b5870; }
.section-white .eyebrow { color: #3f7d00; }
.section-white .eyebrow::before { background: #5f9d00; }
.section-white .eyebrow.label::after { background: #e3e8f0; }
/* Each service card has its own color (the South Mint card idea): navy, sky, sun, mint, peach, and the lime emergency card last.
   The colors are set per card in the list below; Spanish uses the same order. */
.section-white .scard { border: 0; border-radius: 32px; box-shadow: none; }
.section-white .scard:not(.scard-hot) { background: var(--card-bg, #f4f7fb); color: var(--card-ink, var(--ink)); }
.section-white .stack.is-stack .scard:not(.scard-hot) { background: var(--card-bg, #f4f7fb); }
.section-white .scard:not(.scard-hot) h3 { color: var(--card-ink, var(--ink)); }
.section-white .scard:not(.scard-hot) p { color: var(--card-sub, #2b3a55); }
.section-white .scard-hot p { color: rgba(7, 16, 31, 0.8); }
.section-white .scard:not(.scard-hot) .icon-bubble { background: var(--bubble-bg, var(--ink)); border-color: transparent; color: var(--bubble-fg, var(--lime)); }
.section-white .scard:not(.scard-hot) .scard-art {
  color: var(--text); border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(150deg, rgba(180, 240, 60, 0.14), rgba(74, 163, 255, 0.16)), #07101f;
}
.section-white .scard:not(.scard-hot) .text-link { color: var(--link, var(--ink)); border-bottom-color: var(--link, var(--ink)); }
.section-white .stack-cards > .scard:nth-child(1) { --card-bg: #0e1b33; --card-ink: #fff; --card-sub: #c4d0e8; --bubble-bg: var(--lime); --bubble-fg: var(--ink); --link: var(--lime); }
.section-white .stack-cards > .scard:nth-child(2) { --card-bg: #cfe5ff; }
.section-white .stack-cards > .scard:nth-child(3) { --card-bg: #ffdf7a; }
.section-white .stack-cards > .scard:nth-child(4) { --card-bg: #b9f0d8; }
.section-white .stack-cards > .scard:nth-child(5) { --card-bg: #ffd6c2; }
.section-white .scard:not(.scard-hot) .text-link:hover { opacity: 0.75; }
/* The next cards waiting behind show their own colors as clear slivers, not faded ones */
.section-white .stack.is-stack .scard[data-state="next"] { opacity: 1; }
.section-white .stack.is-stack .scard[data-state="next2"] { opacity: 0.85; }
.section-white .text-link { color: #3f7d00; border-bottom-color: #3f7d00; }
.section-white .text-link:hover { color: var(--ink); border-bottom-color: var(--ink); }
.section-white .scard-hot .text-link { color: var(--ink); border-bottom-color: rgba(7, 16, 31, 0.45); }
.section-white .scard-hot .text-link:hover { border-bottom-color: var(--ink); }
.section-white .stack-dots button::before { border-color: #6b7a94; }
.section-white .stack-dots button:hover::before { border-color: #3f7d00; }
.section-white .stack-dots button[aria-current="true"]::before { background: #3f7d00; border-color: #3f7d00; }
.section-white .motion-toggle { background: #fff; border-color: #c9d2e2; color: var(--ink); }
.section-white .motion-toggle:hover { border-color: #3f7d00; color: #3f7d00; }

/* ---------- Icons in color (Nov 11, version 2) ----------
   The main site's icons (tools/make-icons.py) are drawn in color: ink outline, lime shadow, white body, one accent color.
   They sit on white tiles so the outline shows on dark panels and on the colored cards.
   Inside buttons and on dark panels they are drawn in one color instead (the drawing reads the variables below). */
.icon-bubble, .card-hot .icon-bubble, .scard-hot .icon-bubble, .section-white .scard:not(.scard-hot) .icon-bubble {
  background: #fff; border-color: transparent; color: var(--ink); box-shadow: 0 10px 22px -12px rgba(0, 0, 0, 0.55);
}
.card-sky .icon-bubble, .card-sun .icon-bubble { color: var(--ink); }
.fact svg { background: #fff; color: var(--ink); box-shadow: 0 10px 22px -14px rgba(0, 0, 0, 0.6); }
.info-list svg { background: #fff; color: var(--ink); border-color: transparent; }
.btn svg, .quick-btn svg, .quick-links svg, .art-call svg, .hero-meta svg, .mobile-bar svg {
  --f1: currentColor; --f2: currentColor; --fw: none; --ft: currentColor; --fo: 0.24;
}
.scard .icon-bubble { width: 68px; height: 68px; border-radius: 20px; margin-bottom: 22px; }
.scard .icon-bubble svg { width: 44px; height: 44px; }

/* ---------- The call-to-action box at the end of a page (Nov 11) ----------
   Content centered, and the same space above and below it, also when the section before it has its own background
   (before, it touched that section: it had no space above). */
.cta-band { flex-direction: column; justify-content: center; text-align: center; padding: 56px 44px; }
.cta-band .page-actions { justify-content: center; }
.page-section.band + .page-section.cta-wrap { padding-top: 80px; }
@media (max-width: 640px) {
  .cta-band { padding: 40px 24px; }
  .page-section.band + .page-section.cta-wrap { padding-top: 52px; }
}

/* ---------- Stock photos (Nov 11) ----------
   Photos in the home page's first four service cards, and a photo next to the title of the service pages (HERO_IMAGES in tools/make-pages.py). */
.scard-art.scard-photo, .section-white .scard:not(.scard-hot) .scard-art.scard-photo { padding: 0; border: 0; background: var(--bg-2); display: block; }
.scard-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero.has-photo .hero-split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 52px; align-items: center; }
.page-hero.has-photo h1 { font-size: clamp(2.1rem, 4.2vw, 3.5rem); }
.hero-figure {
  margin: 0; position: relative; aspect-ratio: 4 / 3; border-radius: 32px; overflow: hidden; background: var(--bg-2);
  box-shadow: 0 34px 70px -34px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.hero-figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
/* A soft overlay on a photo (Cosmetic dentistry, Nov 14, 2026): a light violet-to-teal tint plus a darker fade toward the bottom. */
.hero-figure.tint::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(7, 16, 31, 0) 40%, rgba(7, 16, 31, 0.6) 100%),
    linear-gradient(135deg, rgba(122, 92, 192, 0.22), rgba(31, 179, 176, 0.12));
}
@media (max-width: 900px) {
  .page-hero.has-photo .hero-split { grid-template-columns: 1fr; gap: 32px; }
  .hero-figure { aspect-ratio: 16 / 10; border-radius: 26px; }
}
.photo-call {
  position: absolute; left: 14px; bottom: 14px; z-index: 1; padding: 9px 16px; border-radius: 999px; font-size: 0.95rem; font-weight: 700;
  background: rgba(7, 16, 31, 0.86); color: #fff; letter-spacing: -0.01em; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.7);
}
.photo-call b { margin-right: 8px; color: var(--lime); }
@media (max-width: 420px) { .info-list a[href^="mailto"] { font-size: 0.84rem; } }   /* keep the email address on one line on small phones */


/* Contact page (Nov 12, 2026, Juan; redesigned Nov 13): address, phone, email and hours are four tiles in two columns, each with its icon on the
   left and its text on the right, and the buttons sit under them. The wide card itself has no box of its own now, so the tiles are not boxes in a box. */
.panel-wide { background: none; border: 0; border-radius: 0; padding: 0; }
.panel-wide .info-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 0; align-items: stretch; }
.panel-wide .info-list li { flex-direction: row; align-items: center; gap: 24px; padding: 28px 32px; border-radius: 28px; background: var(--card); border: 1px solid var(--line); }
.panel-wide .info-list svg { width: 62px; height: 62px; padding: 13px; border-radius: 16px; }
.panel-wide .info-list li > div { line-height: 1.65; font-size: 1.12em; }   /* Nov 13, 2026 (Juan): a little bigger text in the tiles */
.panel-wide .info-list small { font-size: 0.84rem; margin-bottom: 2px; }
.panel-wide .hours { display: block; margin: 0; }
.panel-wide .hours tbody { display: flex; flex-wrap: wrap; gap: 8px 36px; }   /* the two day groups sit side by side, or one under the other when the tile is narrow */
.panel-wide .hours tr { display: block; margin: 0; }
/* Two columns of tiles: address and hours (the taller ones) on top, phone and email under them. One column on tablets and phones, in reading order. */
@media (min-width: 1001px) {
  .panel-wide .info-list { grid-template-areas: "addr hours" "phone email"; }
  .panel-wide .info-list li:nth-child(1) { grid-area: addr; }
  .panel-wide .info-list li:nth-child(2) { grid-area: phone; }
  .panel-wide .info-list li:nth-child(3) { grid-area: email; }
  .panel-wide .info-list li:nth-child(4) { grid-area: hours; }
}
.panel-wide .info-actions { margin-top: 28px; }
@media (max-width: 1000px) { .panel-wide .info-list { grid-template-columns: 1fr; gap: 16px; } }
@media (max-width: 600px) {
  .panel-wide .info-list li { gap: 18px; padding: 22px 20px; border-radius: 24px; }
  .panel-wide .info-list svg { width: 54px; height: 54px; padding: 11px; border-radius: 14px; }
  .panel-wide .info-list li > div { font-size: 1.06em; }
  .panel-wide .hours tbody { gap: 12px; }
  .panel-wide .info-actions { margin-top: 22px; }
}

/* Contact page map (Nov 27, 2026, Juan: "can we embed this in the contact page, nice and sleek"): the four tiles in one column on the left and Google's map
   beside them in a rounded frame of the same height. On tablets and phones the map goes under the tiles. */
.contact-top { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 20px; align-items: stretch; }
.panel-wide .contact-top .info-list { grid-template-columns: minmax(0, 1fr); grid-template-areas: none; gap: 16px; }
.panel-wide .contact-top .info-list li { grid-area: auto; gap: 20px; padding: 20px 26px; border-radius: 24px; }
.panel-wide .contact-top .info-list svg { width: 54px; height: 54px; padding: 11px; border-radius: 14px; }
.contact-map { position: relative; min-height: 420px; overflow: hidden; border: 1px solid var(--line); border-radius: 28px; background: var(--card); }
.contact-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 1000px) {
  .contact-top { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .contact-map { min-height: 0; height: 360px; }
}
@media (max-width: 600px) {
  .panel-wide .contact-top .info-list li { gap: 18px; padding: 22px 20px; }
  .contact-map { height: 300px; border-radius: 24px; }
}

/* Dental emergencies card (Nov 12, 2026, Juan): a graphic instead of a photo. A white tile with the tooth-and-bolt icon, two soft rings,
   "Same-day care" and the phone number, on the same dark glow as the link-preview picture. Decoration only (the card is hidden from screen readers). */
.hot-art {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; text-align: center; overflow: hidden;
  background: radial-gradient(120% 90% at 88% 0%, rgba(255, 84, 84, 0.3), transparent 58%), radial-gradient(90% 90% at 0% 100%, rgba(255, 70, 70, 0.14), transparent 62%), linear-gradient(160deg, #0d1730, #070d1a);   /* red accent: Nov 14, 2026, Juan */
}
.hot-art::before, .hot-art::after { content: ""; position: absolute; left: 50%; top: 36%; border-radius: 50%; transform: translate(-50%, -50%); border: 1px solid rgba(255, 96, 96, 0.4); }
.hot-art::before { width: 150px; height: 150px; }
.hot-art::after { width: 238px; height: 238px; border-color: rgba(255, 96, 96, 0.18); }
.scard-hot .hot-art .hot-tile { position: relative; z-index: 1; width: 86px; height: 86px; margin: 0; border-radius: 26px; background: #fff; color: var(--ink); border: 0;
  box-shadow: 0 0 0 6px rgba(255, 90, 90, 0.22), 0 16px 38px -10px rgba(255, 64, 64, 0.65); }
.scard-hot .hot-art .hot-tile svg { width: 50px; height: 50px; }
.hot-text { position: relative; z-index: 1; }
.hot-text b { display: block; font-family: var(--font-head); font-size: 1.25rem; color: #fff; letter-spacing: -0.01em; }
.hot-text b::before { content: ""; display: inline-block; width: 9px; height: 9px; margin-right: 10px; border-radius: 50%; vertical-align: 0.1em; background: #ff4d4d; box-shadow: 0 0 0 4px rgba(255, 77, 77, 0.28); }   /* a small red "on call" dot */
.hot-text span { display: block; margin-top: 4px; font-family: var(--font-head); font-size: 2.05rem; font-weight: 700; color: #ff6a5f; letter-spacing: -0.02em; }
@media (max-width: 980px) {
  .hot-art { gap: 12px; padding: 20px 0; }
  .hot-art::before { width: 110px; height: 110px; top: 34%; }
  .hot-art::after { width: 176px; height: 176px; top: 34%; }
  .scard-hot .hot-art .hot-tile { width: 64px; height: 64px; border-radius: 20px; }
  .scard-hot .hot-art .hot-tile svg { width: 38px; height: 38px; }
  .hot-text b { font-size: 1.05rem; }
  .hot-text span { font-size: 1.6rem; }
}

/* "Our story" on Meet the doctors and on the home page (Nov 12, 2026, Juan): the office photo is the background of the whole section, under a dark wash, with the
   text on top. The photo is only 1000 px wide, so the wash is strong on the text side and lighter on the right. */
.story-hero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(72px, 9vw, 128px) 0; border-block: 1px solid var(--line); }
.story-hero-bg { position: absolute; inset: 0; z-index: -2; }
.story-hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 42%; filter: saturate(0.78); }
.story-hero::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(7, 13, 26, 0.97) 0%, rgba(7, 13, 26, 0.93) 42%, rgba(7, 13, 26, 0.74) 100%); }
.story-hero-copy { max-width: 640px; }
.story-hero-copy h2 { margin-top: 18px; }
.story-hero-copy p { color: #e6ecfb; font-size: 1.1rem; max-width: 600px; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45); }
@media (max-width: 760px) {
  .story-hero::after { background: rgba(7, 13, 26, 0.85); }
}

/* Services page, "More ways we can help" (Nov 13, 2026, Juan): tall cards, four to a row; the wide card takes two columns so both rows are full
   (4 + 2 + 1 + 1). On tablets two to a row, on phones one. Each card has a small lime label on top. */
.more-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.more-card { display: flex; flex-direction: column; padding: 32px 28px 34px; border-radius: 28px; }
.more-card h3 { font-size: 1.3rem; margin: 0 0 12px; }
.more-card p { font-size: 1.02rem; line-height: 1.65; }
.more-wide { grid-column: span 2; }
.more-tag { display: block; margin-bottom: 22px; padding-top: 16px; border-top: 2px solid var(--lime); color: var(--lime); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
@media (max-width: 1000px) { .more-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .more-grid { grid-template-columns: 1fr; } .more-wide { grid-column: auto; } .more-card { padding: 26px 22px 28px; } }

/* "A chart for the fridge" (Nov 13, 2026, Juan): a full-width section with a laughing child on the right, behind a dark overlay that is darker at the
   left, where the three tips sit. Kept short (Juan: "too long"). On phones the photo fills the section behind a darker overlay. Decoration only
   (the photo has no alt text). Used on Kids' corner (English) and Children's dentistry (Spanish). */
.photo-band { position: relative; isolation: isolate; overflow: hidden; padding: clamp(44px, 5vw, 60px) 0; border-block: 1px solid var(--line); }
.photo-band-bg { position: absolute; inset: 0 0 0 34%; z-index: -2; }
.photo-band-bg::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, var(--bg) 0%, rgba(7, 13, 26, 0) 42%); }   /* the photo fades into the page on its left edge */
.photo-band-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; filter: saturate(0.75) brightness(0.85); }
.photo-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7, 13, 26, 0.98) 0%, rgba(7, 13, 26, 0.95) 42%, rgba(7, 13, 26, 0.87) 100%); }
.photo-band-copy { max-width: 620px; }
.photo-band-copy .eyebrow.label { margin-bottom: 16px; }
.photo-band-copy h2 { margin: 0; }
.tip-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; counter-reset: tip; }
.tip-list li { display: flex; align-items: center; gap: 14px; padding: 10px 16px; border-radius: 18px; background: rgba(7, 13, 26, 0.55); border: 1px solid var(--line); }
.tip-list li::before { counter-increment: tip; content: counter(tip); flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 0.95rem; color: var(--ink); background: var(--lime); }
.tip-list b { display: block; font-family: var(--font-head); font-size: 1.02rem; line-height: 1.3; }
.tip-list span { color: #d6dff2; font-size: 0.95rem; line-height: 1.45; }
.chart-actions { margin-top: 22px; }
.chart-noscript { margin: 18px 0 0; color: #d6dff2; }
.chart-only { margin: 14px 0 0; color: #d6dff2; }   /* French and Arabic: the printable chart is in English and Spanish only */
@media (max-width: 900px) {
  .photo-band-bg { inset: 0; }
  .photo-band-bg::before { display: none; }
  .photo-band::after { background: rgba(7, 13, 26, 0.85); }
}

/* Contact page, "Request a visit" (Nov 13, 2026, Juan: "the form looks outdated, the whole section looks super busy"). One calm, centered block: a short
   heading, one card, one form. Labels sit above the fields, left-aligned, with Spanish next to English (Name / Nombre). The two three-choice questions are
   joined buttons (English on top, Spanish underneath); the rest are plain fields. The card holds the practice's Weave form instead once its link is
   in WEAVE_CONTACT_FORM (.request-frame). */
.req-head { max-width: 780px; margin: 0 auto; text-align: center; }
.req-head .eyebrow { margin-bottom: 18px; }
.req-head h2 { margin: 0 0 14px; }
.req-head p { margin: 0; color: var(--muted); font-size: 1.12rem; }
.req-card { max-width: 780px; margin: 40px auto 0; padding: 40px; border-radius: 30px; overflow: hidden;
  background: rgba(255, 255, 255, 0.045); border: 1px solid var(--line); box-shadow: 0 40px 90px -50px rgba(0, 0, 0, 0.8); }
.req-card:has(.request-frame) { padding: 0; }
.request-frame { display: block; width: 100%; height: 780px; border: 0; background: #fff; }
.req-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 20px; }
.req-wide { grid-column: 1 / -1; }
.req-field { min-width: 0; margin: 0; padding: 0; border: 0; }
.req-label { display: block; margin: 0 0 8px; padding: 0; font-size: 0.92rem; font-weight: 600; color: #dfe6f6; }
.req-label i, .req-check i { font-style: normal; font-weight: 400; color: var(--muted); }
.req-form input[type="text"], .req-form input[type="tel"], .req-form input[type="email"], .req-form select {
  display: block; width: 100%; height: 54px; padding: 0 16px; border-radius: 14px; font: inherit; color: var(--text);
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.14); transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.req-form select {
  -webkit-appearance: none; appearance: none; padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none' stroke='%23a6b5d2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1.5l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 18px center;
}
.req-form select option { color: #07101f; background: #fff; }
.req-form input:hover, .req-form select:hover { border-color: rgba(255, 255, 255, 0.28); }
.req-form input[type="text"]:focus, .req-form input[type="tel"]:focus, .req-form input[type="email"]:focus, .req-form select:focus {
  outline: 0; border-color: var(--lime); box-shadow: 0 0 0 4px rgba(180, 240, 60, 0.18);
}
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; border-radius: 14px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.14); background: rgba(255, 255, 255, 0.05); }
.seg label { position: relative; display: block; cursor: pointer; }
.seg input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.seg span { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 56px; padding: 8px 2px; text-align: center; line-height: 1.2;
  border-left: 1px solid rgba(255, 255, 255, 0.1); transition: background 0.15s ease; }
.seg label:first-child span { border-left: 0; }
.seg b { font-weight: 600; font-size: 0.95rem; white-space: nowrap; }
.seg i { font-style: normal; font-size: 0.8rem; color: var(--muted); white-space: nowrap; }
.seg label:hover span { background: rgba(255, 255, 255, 0.07); }
.seg input:checked + span { background: var(--lime); color: var(--ink); }
.seg input:checked + span i { color: rgba(7, 16, 31, 0.72); }
.seg input:focus-visible + span { outline: 3px solid var(--lime); outline-offset: -3px; }
.req-check { display: flex; align-items: flex-start; gap: 12px; margin-top: 26px; font-size: 0.92rem; color: #d3dcf0; cursor: pointer; }
.req-check input { flex: none; width: 20px; height: 20px; margin-top: 2px; accent-color: var(--lime); }
.req-send { width: 100%; min-height: 58px; margin-top: 26px; justify-content: center; font-size: 1.05rem; }
.req-status { margin: 18px 0 0; padding: 12px 16px; border-radius: 12px; background: rgba(180, 240, 60, 0.12); border: 1px solid rgba(180, 240, 60, 0.35); }
.req-status[hidden] { display: none; }
.req-foot { margin: 20px 0 0; text-align: center; color: var(--muted); }
.req-draft { margin: 6px 0 0; text-align: center; font-size: 0.82rem; color: var(--muted); opacity: 0.8; }
@media (max-width: 640px) {
  .req-card { margin-top: 28px; padding: 26px 18px; border-radius: 24px; }
  .req-grid { grid-template-columns: 1fr; gap: 20px; }
  .seg b { font-size: 0.88rem; }
  .seg i { font-size: 0.76rem; }
  .req-head p { font-size: 1.05rem; }
}

/* Contact page, "Request a visit" (Nov 14, 2026, Juan: "a more inviting button with more design, and a cool, modern overlay picture"). A full-width section:
   a bright modern clinic photo on the right, fading into the dark page on the left under a blue-tinted overlay; the words and the buttons sit on the left.
   The button has an icon on a dark disc, two lines, an arrow, a soft glow and a slow pulse (stopped for people who ask for less motion). The Weave form opens
   in the site's pop-up window. */
.req-band { position: relative; isolation: isolate; overflow: hidden; padding: clamp(64px, 8vw, 104px) 0; border-block: 1px solid var(--line); }
.req-band-bg { position: absolute; inset: 0 0 0 38%; z-index: -2; }   /* Nov 24, 2026 (Juan): Harlee at her desk on the phone is back here (the family photo moved to "What to expect" on New patients), with the same subtle blue overlay; the monitor on her left is faded out */
.req-band-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; filter: saturate(0.95) brightness(1.2); }   /* lifted a little: the photo is darker than the family photo was, so it still shows through the same overlay */
.req-band-bg::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, var(--bg) 0%, rgba(7, 13, 26, 0.6) 18%, rgba(7, 13, 26, 0) 40%); }
.req-band::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(7, 13, 26, 0.97) 0%, rgba(8, 20, 46, 0.9) 40%, rgba(14, 38, 84, 0.74) 100%),
              radial-gradient(520px 360px at 100% 100%, rgba(74, 163, 255, 0.26), transparent 70%); }
/* New patients, "What to expect" (Nov 24, 2026, Juan: "this picture in the overlay should be moved to the what to expect section in the new patients and forms page"): the stock family photo that was behind
   "Request a visit" on the Contact page, flipped so the family sits toward the right, away from the words, fading into the dark page on the left under the same blue overlay. The steps stay on the left. */
.expect-band { position: relative; isolation: isolate; overflow: hidden; border-block: 1px solid var(--line); }
.expect-band-bg { position: absolute; inset: 0 0 0 34%; z-index: -2; }
.expect-band-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; filter: saturate(0.9) brightness(0.85); transform: scaleX(-1); }
.expect-band-bg::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, var(--bg) 0%, rgba(7, 13, 26, 0) 55%); }
.expect-band::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(7, 13, 26, 0.97) 0%, rgba(8, 20, 46, 0.9) 40%, rgba(14, 38, 84, 0.74) 100%),
              radial-gradient(520px 360px at 100% 100%, rgba(74, 163, 255, 0.26), transparent 70%); }
.expect-band .steps, .expect-band .page-lead { max-width: 640px; }
.expect-band .page-lead { text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4); }
@media (max-width: 900px) {
  .expect-band-bg { inset: 0; }
  .expect-band-bg::before { display: none; }
  .expect-band::after { background: linear-gradient(180deg, rgba(7, 13, 26, 0.85), rgba(10, 24, 56, 0.8)); }
  .expect-band .steps, .expect-band .page-lead { max-width: none; }
}
.req-band-copy { max-width: 720px; }
.req-band-copy .eyebrow { margin-bottom: 16px; }
.req-band-copy h2 { margin: 0 0 14px; max-width: 640px; text-wrap: balance; }
.req-band-copy p { margin: 0; color: #d6dff2; font-size: 1.15rem; max-width: 46ch; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4); }
.req-band-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 22px; margin-top: 34px; }
.btn-lg { min-height: 58px; padding-left: 30px; padding-right: 30px; font-size: 1.05rem; }
.req-btn { position: relative; display: inline-flex; align-items: center; gap: 16px; min-height: 76px; padding: 10px 14px 10px 12px; border-radius: 999px; text-decoration: none; color: var(--ink);
  background: linear-gradient(135deg, #d4ff5e 0%, var(--lime) 48%, #86e6b8 100%);
  box-shadow: 0 0 0 6px rgba(180, 240, 60, 0.16), 0 22px 44px -14px rgba(180, 240, 60, 0.6);
  transition: transform 0.2s ease, box-shadow 0.2s ease; }
.req-btn::after { content: ""; position: absolute; inset: -2px; border-radius: inherit; border: 2px solid rgba(180, 240, 60, 0.7); opacity: 0; animation: req-pulse 2.8s ease-out infinite; pointer-events: none; }
@keyframes req-pulse { 0% { transform: scale(1); opacity: 0.8; } 70%, 100% { transform: scale(1.14, 1.34); opacity: 0; } }
.req-btn:hover { transform: translateY(-3px); box-shadow: 0 0 0 9px rgba(180, 240, 60, 0.22), 0 28px 52px -14px rgba(180, 240, 60, 0.7); }
.req-btn:focus-visible { outline: 3px solid #fff; outline-offset: 5px; }
.req-btn-icon { flex: none; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--lime); }
.req-btn-icon svg { width: 28px; height: 28px; --f1: currentColor; --f2: currentColor; --fw: none; --ft: currentColor; --fo: 0.24; }
.req-btn-text { display: block; padding-right: 4px; }
.req-btn-text b { display: block; font-family: var(--font-head); font-size: 1.28rem; line-height: 1.15; letter-spacing: -0.01em; }
.req-btn-text small { display: block; margin-top: 2px; font-size: 0.86rem; font-weight: 600; color: rgba(7, 16, 31, 0.78); }
.req-btn-go { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-size: 1.4rem; font-weight: 700; background: rgba(7, 16, 31, 0.12); transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease; }
.req-btn:hover .req-btn-go { transform: translateX(4px); background: var(--ink); color: var(--lime); }
@media (prefers-reduced-motion: reduce) { .req-btn::after { animation: none; display: none; } .req-btn, .req-btn-go { transition: none; } .req-btn:hover { transform: none; } }
@media (max-width: 900px) {
  .req-band-bg { inset: 0; }
  .req-band-bg img { object-position: 62% 40%; }
  .req-band-bg::before { display: none; }
  .req-band::after { background: linear-gradient(180deg, rgba(7, 13, 26, 0.85), rgba(10, 24, 56, 0.8)); }
  .req-band-copy { max-width: none; }
}
@media (max-width: 520px) { .req-btn { width: 100%; } .req-btn-text { flex: 1; } }

/* Hero pictures as overlays (Nov 20, 2026, Juan; first made for the FAQ page): the picture sits on the right of the title area, under a subtle blue overlay, and fades into the
   page on its left. Decoration only. On phones the photo fills the hero behind a stronger overlay. */
.page-hero.has-bg { isolation: isolate; }
.hero-bg { position: absolute; inset: 0 0 0 44%; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; filter: saturate(0.95) brightness(1.3); }
.hero-bg::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, var(--bg) 0%, rgba(7, 13, 26, 0.6) 18%, rgba(7, 13, 26, 0) 42%); }
.hero-bg.is-stock img { filter: saturate(0.9) brightness(1.02); }   /* the stock and office pictures are brighter than the portrait of Harlee, so no lift */
/* The office pictures (Nov 23, 2026, Juan: "add a little bit of brightness to the office pictures" on desktop): the building behind "Our story" on the home page and in the Contact header
   is lifted and sits under a lighter overlay than the other pictures, so the building and the sign show. Text stays on the darker left side. */
.story-office .story-hero-bg img, .hero-bg.is-office img { filter: saturate(1) brightness(1.3); }
@media (min-width: 761px) {
  .story-office::after { background: linear-gradient(90deg, rgba(7, 13, 26, 0.96) 0%, rgba(7, 13, 26, 0.84) 42%, rgba(7, 13, 26, 0.46) 100%); }
}
@media (max-width: 760px) {   /* on a phone the picture is cropped to a narrow slice: show the entrance and the sign, not the dark middle of the roof */
  .story-office .story-hero-bg img { object-position: 85% 50% !important; }
  .story-office::after { background: rgba(7, 13, 26, 0.8); }
}
@media (min-width: 901px) {
  .page-hero.has-bg.has-office::after { background: linear-gradient(90deg, rgba(7, 13, 26, 0.97) 0%, rgba(8, 20, 46, 0.7) 40%, rgba(14, 38, 84, 0.34) 100%),
              radial-gradient(520px 360px at 100% 100%, rgba(74, 163, 255, 0.18), transparent 70%); }
}
/* Phones (Nov 23, 2026, Juan: "the pictures and overlays look very dark"): the overlays above are lighter now, so a soft shadow keeps the white titles and text readable over the brighter pictures. */
@media (max-width: 980px) {
  .page-hero.has-bg h1, .hero-grid h1 { filter: drop-shadow(0 1px 10px rgba(4, 9, 20, 0.7)); }
  .page-hero.has-bg .page-lead, .page-hero.has-bg .crumbs, .hero-lead, .req-band-copy p, .story-hero-copy p, .photo-band-copy p { text-shadow: 0 1px 14px rgba(4, 9, 20, 0.85); }
  .page-hero.has-bg .page-lead, .hero-lead { color: #e3eaf8; }   /* the usual muted grey is too faint over the brighter pictures */
  .page-hero.has-bg .crumbs { color: #cfd9ee; }
}
/* Meet the doctors: the faces are high up in the team photo, so the picture starts under the floating menu (fading in at the top) and the hero is a little taller, so both faces show. */
.page-hero.has-faces { min-height: clamp(430px, 34vw, 500px); }
.page-hero.has-faces .hero-bg { top: var(--hdr-space); -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 24%); mask-image: linear-gradient(180deg, transparent 0, #000 24%); }
@media (max-width: 900px) {
  .page-hero.has-faces { min-height: 0; }
}
.page-hero.has-bg::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(7, 13, 26, 0.97) 0%, rgba(8, 20, 46, 0.9) 40%, rgba(14, 38, 84, 0.74) 100%),
              radial-gradient(520px 360px at 100% 100%, rgba(74, 163, 255, 0.26), transparent 70%); }
@media (max-width: 900px) {
  .hero-bg { inset: 0; }
  .hero-bg img { object-position: 52% 30%; }
  .hero-bg::before { display: none; }
  .page-hero.has-bg::after { background: linear-gradient(180deg, rgba(7, 13, 26, 0.85), rgba(10, 24, 56, 0.8)); }
}

/* Insurance and payment hero (Nov 20, 2026, Juan: "instead of the image let's do the overlay effect, and add the cards' logos, be creative"; he chose the "fanned stack"):
   the payment marks in one overlapping group on the right (three cards behind, three in front, each tilted a little), under a lighter overlay than the photo heroes so the
   logos still read. 1em = the width of one card; --x and --y move a card (in card widths) from the middle of the group, --r tilts it. The cards are dealt out of one
   pile when the page loads (under a second), then still. (A first try in one arc looked like a necklace and crowded the title.) */
.pay-floats { position: absolute; inset: 0; }
.page-hero.has-cards .hero-bg { inset: 0 0 0 50%; }
.pay-fan { position: absolute; left: 58%; top: 62%; width: 0; height: 0; font-size: clamp(100px, 10.5vw, 152px); }
.pay-float { position: absolute; left: -0.5em; top: -0.333em; width: 1em; max-width: none; height: auto; z-index: var(--z);   /* max-width: the site's global svg rule would shrink it to its zero-width parent */
  transform: translate(calc(var(--x) * 1em), calc(var(--y) * 1em)) rotate(var(--r)); filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.55)); opacity: 0.8; }
.page-hero.has-cards::after { background: linear-gradient(90deg, rgba(7, 13, 26, 0.97) 0%, rgba(8, 20, 46, 0.6) 40%, rgba(14, 38, 84, 0.3) 100%),
              radial-gradient(520px 360px at 100% 100%, rgba(74, 163, 255, 0.22), transparent 70%); }
@media (prefers-reduced-motion: no-preference) {
  .pay-float { animation: pay-deal 1s cubic-bezier(0.2, 0.7, 0.2, 1) both; animation-delay: calc(var(--i) * 70ms + 150ms); }
}
@keyframes pay-deal { from { transform: translate(0, 0) rotate(0deg); opacity: 0; } 35% { opacity: 0.8; } to { transform: translate(calc(var(--x) * 1em), calc(var(--y) * 1em)) rotate(var(--r)); opacity: 0.8; } }
@media (max-width: 900px) {
  .page-hero.has-cards .hero-bg { inset: 0; }
  .pay-fan { left: 66%; top: 56%; font-size: clamp(60px, 19vw, 104px); }
  .page-hero.has-cards::after { background: linear-gradient(180deg, rgba(7, 13, 26, 0.85), rgba(10, 24, 56, 0.82)); }
}



/* Meet the doctors, "Caring for Quincy families since 2006" (Nov 14, 2026, Juan): the background is a photo of Quincy's historic library, with a small caption in
   the bottom right corner (the photo's credit is part of its CC BY-SA license). On phones the caption sits under the text. */
.story-lib .story-hero-bg img { object-position: 60% 52%; }
.story-caption { position: absolute; right: clamp(16px, 3vw, 40px); bottom: 20px; z-index: 2; margin: 0; max-width: 360px; text-align: right; font-size: 0.8rem; line-height: 1.4; color: #cdd7ee; text-shadow: 0 1px 10px rgba(0, 0, 0, 0.75); }
.story-caption b { display: block; margin-bottom: 2px; font-family: var(--font-body); font-size: 0.78rem; font-weight: 500; color: rgba(255, 255, 255, 0.9); letter-spacing: 0.01em; }   /* medium weight, not bold (Juan: still too bold) */
.story-caption span { display: block; margin-top: 2px; font-size: 0.64rem; font-weight: 400; letter-spacing: 0.01em; opacity: 0.6; }   /* the credit line: small and light (Juan: too bold and big) */
.story-caption a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.story-caption a:hover { color: var(--lime); }
@media (max-width: 900px) { .story-caption { position: static; margin-top: 30px; max-width: none; text-align: left; } }

/* Pay your bill online (Nov 14, 2026, Juan): a card with the text on the left and the button on the right. Only built when WEAVE_PAY_LINK is set in tools/make-pages.py. */
.pay-online { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px 40px; margin: 0 0 30px; padding: 30px 34px; border-radius: 26px; border: 1px solid var(--line); background: var(--card); }
.pay-online-copy { flex: 1 1 380px; max-width: 660px; }
.pay-online h3 { margin: 0 0 10px; font-size: 1.55rem; line-height: 1.15; }
.pay-online p { margin: 0; color: var(--muted); }
.pay-online .req-btn, .pay-online .btn { flex: none; }
.pay-compact { margin: 0; padding: 24px 28px; }
.pay-compact h3 { font-size: 1.35rem; }
.pay-strip { padding: 44px 0; }   /* the card sits in the middle of its strip: the same space above and below (Nov 14, 2026, Juan: needs to be centered) */
.pay-strip .pay-online { margin: 0; }
@media (max-width: 700px) { .pay-strip { padding: 30px 0; } }
@media (max-width: 520px) { .pay-online { padding: 24px 20px; } .pay-online .btn { width: 100%; justify-content: center; } }

/* "Pay online" next to the language link (Nov 14, 2026, Juan): top right, to the left of Español / English. It scrolls away with the top of the page, like the language link. */
.lang-switch a.lang-pay { display: inline-flex; align-items: center; gap: 8px; margin-right: 8px; padding: 2px 12px; line-height: 1.2; color: #fff; font-size: 1.02rem; font-weight: 700; }
.lang-switch a.lang-pay svg { width: 21px; height: 21px; flex: none; color: var(--lime); }
.lang-switch a.lang-pay:hover { color: var(--lime); }
.lang-switch-in { display: flex; justify-content: flex-end; align-items: center; }   /* Pay online and Español on one line, centred on each other */

/* A short "Coldwater and nearby towns" line under a heading or the buttons (Nov 14, 2026, Juan: mention Coldwater for search). */
.area-note { margin: 14px 0 0; color: var(--muted); line-height: 1.55; }

/* The doctors' full bios on Meet the doctors (Nov 15, 2026, Juan). First one doctor under the other; the same day Juan said the sections were too tall, so the two
   doctors now sit side by side as two cards, each with a small photo next to the name and the whole bio below. On tablets and phones they stack. The home page
   keeps its short cards. */
.doctors-full { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; align-items: stretch; margin-top: 8px; }
.doctor-full { background: var(--card); border: 1px solid var(--line); border-radius: 30px; padding: 30px 32px 34px; scroll-margin-top: 150px; }
.doctor-full-head { display: flex; align-items: center; gap: 22px; margin-bottom: 22px; }
/* Nov 25, 2026 (Juan: "the home page picture of the doctors, make the picture a little bigger, maybe longer"): the small doctor pictures were 128 x 128; they are now 4:5 portraits (156 x 195), like the pictures on Meet the doctors. */
.doctor-full-head .ph { flex: none; width: 156px; height: 195px; min-height: 0; border-radius: 28px; }
.doctor-full-head h3 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); margin: 0; }
.doctor-full-head .doctor-role { margin-bottom: 8px; }
.doctor-full-body p { color: var(--muted); font-size: 1rem; line-height: 1.65; margin: 0 0 14px; }
.doctor-full-body p:last-child { margin-bottom: 0; }
.doctor-body .text-link, .doctor-full-body .text-link { display: inline-block; margin-top: 16px; }
/* Nov 15, 2026 (Juan): the home page uses the same compact cards (short bio), and they stay across the page down to 700px wide. */
@media (max-width: 900px) {
  .doctor-full { padding: 24px 22px 28px; }
  .doctor-full-head { gap: 16px; }
  .doctor-full-head .ph { width: 112px; height: 140px; border-radius: 22px; }
}
@media (max-width: 700px) {
  .doctors-full { grid-template-columns: 1fr; gap: 24px; }
  .doctor-full-head .ph { width: 124px; height: 155px; border-radius: 24px; }
}

/* Four languages in the language bar (Nov 15, 2026): the links never wrap, and they get a little tighter on phones. */
.lang-switch a { white-space: nowrap; }
@media (max-width: 520px) {
  .lang-switch-in { padding-left: 6px; padding-right: 14px; }
  .lang-switch a { padding: 3px 6px; font-size: 0.82rem; }
  .lang-switch a.lang-pay { margin-right: 2px; padding: 2px 8px; font-size: 0.9rem; gap: 6px; }
  .lang-switch a.lang-pay svg { width: 18px; height: 18px; }
}

/* Justified text (Nov 15, 2026, Juan: "justify text across site for organization and consistency"). Body paragraphs and card text line up on both edges.
   Hyphenation (the page's language is set in <html lang>) keeps the gaps between words small; the last line of a paragraph stays on the starting side.
   Not justified, on purpose: headings, buttons, menus, the footer, the pop-ups, the printed chart and the centered call-to-action bands. */
.prose p, .prose li, .page-lead, .hero-lead, .section-head p, .feature p, .scard-copy p, .story-hero-copy p, .doctor-body p, .doctor-full-body p,
.aside-card > p, .panel-card > p, .cta-card p, .pay-online-copy p, .steps span, .fact span, .form-info p, .area-note {
  text-align: justify; text-justify: inter-word; -webkit-hyphens: auto; hyphens: auto; overflow-wrap: break-word;
}

/* Meet the doctors: portrait cards (Nov 16, 2026, Juan: "something similar" to a row of portraits, each with a View biography button that opens the bio
   in a pop-up). The two doctors are the stars of the page, so their cards are big and have a lime edge; the team's cards are smaller. The bio pop-up is a
   <dialog> (opened by assets/js/site.js); the home page keeps its own short doctor cards (.doctor-full). More team members: add them to TEAM in tools/make-pages.py. */
.people { display: flex; flex-wrap: wrap; justify-content: center; margin-top: 44px; }
.people-docs { gap: 40px clamp(28px, 5vw, 64px); }
/* The team is a grid so it can show everyone in ONE row on a computer (Nov 17, 2026, Juan: "reduce size to fit in a row across"). The build sets how many per row:
   --staff-cols (computers, up to 6 in a row), --staff-cols-md (tablets, up to 4) and --staff-cols-sm (small tablets, up to 3), splitting evenly when it takes more
   than one row. The cards shrink to fit the space; on phones it is always two per row. */
.people-staff { display: grid; grid-template-columns: repeat(var(--staff-cols, 5), minmax(0, 168px)); justify-content: center; gap: 36px clamp(16px, 2.2vw, 30px); }
@media (max-width: 1000px) { .people-staff { grid-template-columns: repeat(var(--staff-cols-md, 3), minmax(0, 168px)); } }
@media (max-width: 700px) { .people-staff { grid-template-columns: repeat(var(--staff-cols-sm, 3), minmax(0, 164px)); } }
.person { display: flex; flex-direction: column; align-items: center; text-align: center; scroll-margin-top: 150px; }
.person-doc { width: min(100%, 310px); }
.person-staff { width: min(100%, 176px); }
.person-photo { width: 100%; aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-2); border: 1px solid var(--line); }
.person-doc .person-photo { border-radius: 30px; border-color: rgba(180, 240, 60, 0.4); box-shadow: 0 44px 80px -40px rgba(0, 0, 0, 0.9), 0 0 70px -24px rgba(180, 240, 60, 0.28); }
/* The doctors' picture frames (Nov 25, 2026, Juan: "keep the blue background, instead add a little color to the outline of the picture frame"; then "the outline is too colorful"):
   a 2 px lime outline, softer than the theme's full lime (55% strength), with the same soft lime glow behind as before. The first try was a 3 px outline running from lime through
   teal to sky blue, which was too much. 2 px on the big cards, 1.5 px on the small doctor pictures on the home page. */
.person-doc .person-photo { border: 2px solid rgba(180, 240, 60, 0.55); box-shadow: 0 44px 80px -40px rgba(0, 0, 0, 0.9), 0 0 60px -26px rgba(180, 240, 60, 0.26); }
.doctor-full-head .ph.has-photo { border: 1.5px solid rgba(180, 240, 60, 0.55); }
.person-staff .person-photo { border-radius: 50%; aspect-ratio: 1 / 1; }   /* round staff pictures (Nov 17, 2026, Juan wanted to see them round); for rounded squares again use: border-radius: 24px; aspect-ratio: 4 / 5 */
.person-photo img, .bio-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.person-photo { position: relative; }
/* Nov 20, 2026 (Juan, about the doctors' pictures only): the round version of the ADA badge (no rectangular outline; tools/make-badge-circle.py) in the bottom right corner of each doctor's picture. */
.person-seal { position: absolute; right: 12px; bottom: 12px; z-index: 2; width: 92px; height: 92px; border-radius: 50%; line-height: 0; box-shadow: 0 8px 22px -8px rgba(0, 0, 0, 0.6); }
.person-photo .person-seal img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: contain; }
/* Staff picture that is a cut-out (the person alone on a transparent background; Nov 17, 2026, Juan): the site's blue stays behind her, she is black and white,
   and turns to colour when the mouse is over the picture (or a button on the card has the keyboard focus). In the biography pop-up she is always in colour.
   On touch screens, which have no hover, she stays in colour. */
.person-photo .cut, .bio-photo .cut {
  width: 100%; height: 100%;
  background:
    radial-gradient(ellipse 62% 48% at 50% 36%, rgba(74, 163, 255, 0.17), rgba(74, 163, 255, 0.06) 62%, rgba(74, 163, 255, 0) 100%),
    radial-gradient(ellipse 52% 38% at 0% 100%, rgba(180, 240, 60, 0.08), rgba(180, 240, 60, 0) 100%),
    #0a1328;
}
.person-staff .person-photo .cut img { filter: grayscale(1) contrast(1.06); transition: filter 0.45s ease; }
.person-staff .person-photo:hover .cut img, .person-staff:focus-within .cut img { filter: none; }
.bio-photo .cut img { filter: none; }
@media (hover: none) { .person-staff .person-photo .cut img { filter: none; } }
@media (prefers-reduced-motion: reduce) { .person-staff .person-photo .cut img { transition: none; } }
/* Staff picture made of two ready-made pictures on the site's blue (Nov 18, 2026, Harlee): the black and white one lies on top and fades away on hover, same rules as above
   (color in the pop-up and on touch screens). */
.person-photo .duo, .bio-photo .duo { position: relative; width: 100%; height: 100%; }
.person-photo .duo img, .bio-photo .duo img { position: absolute; top: 0; left: 0; }
.person-staff .person-photo .duo img.bw { opacity: 1; transition: opacity 0.45s ease; }
.person-staff .person-photo:hover .duo img.bw, .person-staff:focus-within .duo img.bw { opacity: 0; }
.bio-photo .duo img.bw { opacity: 0; }
@media (hover: none) { .person-staff .person-photo .duo img.bw { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .person-staff .person-photo .duo img.bw { transition: none; } }
.person-photo .ph, .bio-photo .ph { width: 100%; height: 100%; min-height: 0; border: 0; border-radius: 0; }
.ph-person { align-items: center; justify-content: center; color: var(--muted); }
.ph-person svg { width: 46%; height: auto; fill: currentColor; opacity: 0.38; }
.person-role { color: var(--lime); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.person .person-role { margin: 24px 0 6px; }
.person-name { margin: 0 0 20px; font-size: 1.2rem; line-height: 1.25; }
.person-doc .person-name { font-size: clamp(1.4rem, 2.3vw, 1.8rem); margin-bottom: 20px; }
.person-doc .person-role { margin-top: 24px; font-size: 0.82rem; }
/* a long title (two lines) must not push that name lower than the others: the title sits on the bottom of a two-line space */
.person-staff .person-role { display: flex; align-items: flex-end; justify-content: center; min-height: 2.7em; margin-top: 18px; line-height: 1.35; }
.person-btn { margin-top: auto; }
.person-btn[hidden] { display: none; }
.person-doc .person-btn { min-height: 46px; padding-left: 26px; padding-right: 26px; }

/* The biography pop-up */
html.modal-open { overflow: hidden; }
.bio-modal {
  width: min(980px, 94vw); max-width: none; max-height: none; padding: 0; overflow: hidden;
  border: 1px solid var(--line); border-radius: 32px; background: var(--bg-2); color: var(--text);
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.85); text-align: left;
}
.bio-modal[open] { display: block; }
.bio-modal::backdrop { background: rgba(7, 13, 26, 0.82); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.bio-scroll {
  display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 0 clamp(24px, 4vw, 52px); align-items: start;
  max-height: min(88vh, 780px); overflow-y: auto; padding: clamp(24px, 4vw, 48px); padding-right: clamp(64px, 8vw, 84px);
}
.bio-photo { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 26px; border: 1px solid var(--line); background: var(--bg); }
@media (min-width: 761px) { .bio-scroll .bio-photo { position: sticky; top: 0; } }   /* the photo stays in view while the longer doctor biographies scroll (Nov 20, 2026) */
.bio-copy .person-role { display: block; min-height: 0; margin: 4px 0 8px; text-align: left; }   /* also inside the team's pop-ups, where the card's centered label rule would otherwise apply */
.bio-name { margin: 0 0 20px; font-family: var(--font-head); font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 700; line-height: 1.15; color: #fff; }
.bio-copy p:not(.bio-name) { color: var(--muted); font-size: 1.04rem; line-height: 1.72; margin: 0 0 16px; }
.bio-copy p:last-child { margin-bottom: 0; }
/* Nov 20, 2026 (Juan: "for doctors only, I want their bio to have this layout with the shapes"): a doctor's biography as stacked rounded cards, each with a wide-spaced heading
   (Biography, Education, Languages, Affiliations & memberships); lists have lime bullets. The cards are dark to match the pop-up (no white, Juan's rule). */
.bio-card { margin: 0 0 14px; padding: 22px 26px 24px; border-radius: 24px; background: rgba(255, 255, 255, 0.055); border: 1px solid var(--line); }
.bio-card:last-child { margin-bottom: 0; }
.bio-card h3 { margin: 0 0 14px; font-family: var(--font-head); font-size: 0.98rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: #fff; }
.bio-copy .bio-card p:not(.bio-name) { margin: 0 0 14px; }
.bio-copy .bio-card p:last-child { margin-bottom: 0; }
.bio-card p { text-align: justify; text-justify: inter-word; hyphens: auto; -webkit-hyphens: auto; hyphenate-limit-chars: 9 4 4; }   /* Nov 20, 2026 (Juan): the text in every biography is justified; only long words may break with a hyphen (9+ letters, 4 before and after), which keeps the gaps small on narrow screens */
.bio-card ul { margin: 0; padding: 0 0 0 1.25rem; display: grid; gap: 9px; color: var(--muted); font-size: 1.04rem; line-height: 1.55; }
.bio-card li::marker { color: var(--lime); }
.bio-close {
  position: absolute; top: 18px; right: 18px; z-index: 2; width: 46px; height: 46px; padding: 0; border: 1px solid var(--line); border-radius: 50%; cursor: pointer;
  background: rgba(255, 255, 255, 0.08); color: #fff; font-size: 1.7rem; line-height: 1;
}
.bio-close:hover { background: rgba(255, 255, 255, 0.18); }
@media (max-width: 760px) {
  .bio-modal { width: 100vw; height: 100vh; height: 100dvh; max-height: none; border: 0; border-radius: 0; }
  .bio-scroll { grid-template-columns: 1fr; max-height: 100dvh; height: 100%; padding: 76px 22px 36px; }
  .bio-photo { width: min(62vw, 250px); height: calc(min(62vw, 250px) * 1.25); aspect-ratio: auto; margin: 0 auto 26px; }
  .bio-close { top: 14px; right: 14px; }
  .bio-card { padding: 18px 20px 20px; border-radius: 20px; }
  .person-staff { width: min(100%, 164px); }
}
@media (max-width: 480px) {
  .people-staff { gap: 32px 18px; grid-template-columns: repeat(2, minmax(0, 146px)); }
  .person-staff { width: min(100%, 146px); }
  .person-staff .person-name { font-size: 1.05rem; }
  .person-staff .person-role { font-size: 0.72rem; letter-spacing: 0.08em; }
  .person-staff .person-btn { padding-left: 14px; padding-right: 14px; font-size: 0.9rem; white-space: nowrap; }
}
