:root {
  --ink: #102033;
  --navy: #0a2748;
  --navy-deep: #061a32;
  --blue: #1d4f91;
  --sky: #4c8fd4;
  --ice: #e8f2fb;
  --paper: #f6f9fc;
  --white: #ffffff;
  --muted: #5a6d82;
  --line: rgba(10, 39, 72, 0.12);
  --shadow: 0 24px 60px rgba(6, 26, 50, 0.16);
  --radius: 22px;
  --header: 84px;
  --font: "Figtree", system-ui, sans-serif;
  --serif: "Fraunces", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
}
img, iframe { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2.5rem, 5.6vw, 5rem); max-width: 16ch; }
h2 { font-size: clamp(2rem, 3.6vw, 3.3rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -4rem; background: var(--sky); color: #fff;
  padding: 0.7rem 1rem; z-index: 100; font-weight: 600;
}
.skip-link:focus { top: 0.6rem; }
.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--sky);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid transparent; border-radius: 999px;
  padding: 0.85rem 1.35rem; font: inherit; font-weight: 700; font-size: 0.92rem;
  cursor: pointer; transition: transform 0.2s ease, background 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--blue { background: var(--blue); color: #fff; }
.btn--ice { background: #d7e9f8; color: var(--navy-deep); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--ghost { border-color: rgba(232,242,251,0.45); color: var(--ice); background: transparent; }
.btn--lg { padding: 1rem 1.6rem; }
.topbar {
  display: flex; justify-content: space-between; gap: 1rem; align-items: center;
  min-height: 40px; padding: 0.45rem 6vw; background: var(--navy-deep); color: var(--ice);
  font-size: 0.82rem;
}
.topbar a:hover { color: #fff; }
.topbar__status { margin: 0; font-weight: 700; }
.topbar__status.is-open { color: #9ad7b3; }
.topbar__status.is-closed { color: #9ec4ee; }
.topbar__meta { margin: 0; display: flex; gap: 0.55rem; flex-wrap: wrap; opacity: 0.9; }
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(246,249,252,0.9); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; min-height: var(--header); padding: 0 6vw;
}
.brand { display: flex; align-items: center; gap: 0.85rem; }
.brand__mark { width: 92px; height: 92px; border-radius: 22px; object-fit: cover; background: #0a2748; }
.brand__name, .footer__grid .brand__name {
  display: block; font-family: var(--serif); font-size: 1.35rem; line-height: 1.05;
}
.brand__sub, .footer__grid .brand__sub {
  display: block; font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--blue); margin-top: 0.15rem;
}
.site-nav { display: flex; align-items: center; gap: 1.4rem; }
.site-nav a { font-size: 0.92rem; font-weight: 600; color: var(--navy); }
.site-nav a:not(.btn):hover { color: var(--blue); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 10px; }
.nav-toggle span { display: block; height: 2px; margin: 6px 0; background: var(--navy); }
.hero {
  position: relative; min-height: calc(100vh - 40px);
  display: grid; align-items: end; color: var(--ice); overflow: hidden;
}
.hero__media, .hero__veil { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__veil {
  background:
    linear-gradient(90deg, rgba(6,26,50,0.86) 0%, rgba(6,26,50,0.5) 55%, rgba(6,26,50,0.2) 100%),
    linear-gradient(0deg, rgba(6,26,50,0.55), transparent 42%);
}
.hero__content { position: relative; z-index: 1; padding: 8vw 6vw 6vw; max-width: 46rem; }
.hero__lede { font-size: 1.12rem; max-width: 38rem; color: rgba(232,242,251,0.9); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin: 1.8rem 0 1.2rem; }
.hero__chip {
  display: inline-block; margin: 0; padding: 0.4rem 0.8rem; border-radius: 999px;
  background: rgba(76,143,212,0.22); color: #d7e9f8; font-size: 0.85rem; font-weight: 700;
}
.trust { background: var(--navy); color: var(--ice); padding: 0 6vw; }
.trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust article { padding: 2.3rem 1.5rem; border-right: 1px solid rgba(232,242,251,0.12); }
.trust article:last-child { border-right: 0; }
.trust__num { font-family: var(--serif); font-size: 2rem; margin: 0 0 0.4rem; color: #9ec4ee; }
.trust p:last-child { margin: 0; color: rgba(232,242,251,0.78); font-size: 0.95rem; }
.story, .services, .hours, .visit, .faq { padding: 7.2rem 6vw; }
.story__grid, .split__inner, .hours__grid, .visit__grid, .contact__card {
  display: grid; gap: 3.5rem; align-items: center;
}
.story__grid, .hours__grid, .visit__grid { grid-template-columns: 1.05fr 0.95fr; }
.story p, .split p, .hours p { color: var(--muted); font-size: 1.05rem; }
.story blockquote {
  margin: 1.5rem 0; padding-left: 1.3rem; border-left: 2px solid var(--sky);
  font-family: var(--serif); font-style: italic; font-size: 1.55rem; line-height: 1.35; color: var(--navy);
}
.story__figure img, .split__media img, .hours__photo img {
  width: 100%; height: min(680px, 78vh); object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow);
}
.story__figure figcaption { margin-top: 0.85rem; color: var(--muted); font-size: 0.92rem; }
.split { padding: 0 6vw 7.2rem; }
.split__inner {
  grid-template-columns: 0.9fr 1.1fr; background: var(--white);
  border: 1px solid var(--line); border-radius: 32px; overflow: hidden; box-shadow: var(--shadow);
}
.split__media img { height: 100%; min-height: 520px; border-radius: 0; box-shadow: none; }
.split__copy { padding: 3.2rem 3rem 3.2rem 1.2rem; }
.check-list { margin: 1.3rem 0 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding: 0.5rem 0 0.5rem 1.8rem; color: var(--ink); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 0.9rem; width: 10px; height: 10px;
  border-radius: 50%; background: var(--sky);
}
.patients { padding: 0 6vw 7.2rem; }
.patients__inner {
  background: var(--navy); color: var(--ice); border-radius: 32px; padding: 3.4rem;
  box-shadow: var(--shadow);
}
.patients__inner .eyebrow { color: #9ec4ee; }
.patients__inner p { color: rgba(232,242,251,0.84); max-width: 46rem; }
.patients__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.4rem; }
.section-head { max-width: 40rem; margin-bottom: 2.8rem; }
.section-head p { color: var(--muted); }
.services { background: var(--ice); }
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.card, .review-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 20px;
  padding: 1.6rem; margin: 0; transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover, .review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card p { margin: 0; color: var(--muted); }
.hours-table { width: 100%; border-collapse: collapse; margin-top: 1.4rem; }
.hours-table th, .hours-table td {
  text-align: left; padding: 0.72rem 0; border-bottom: 1px solid var(--line); font-weight: 500;
}
.hours-table tr.is-today th, .hours-table tr.is-today td {
  color: var(--navy); background: linear-gradient(90deg, rgba(76,143,212,0.16), transparent);
}
.hours-note { margin-top: 0.9rem; color: var(--muted); font-size: 0.9rem; }
.reviews { background: var(--navy-deep); color: var(--ice); padding: 7.2rem 6vw; }
.section-head--light p { color: rgba(232,242,251,0.75); }
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.review-card { background: rgba(232,242,251,0.06); border-color: rgba(232,242,251,0.12); }
.review-card blockquote {
  margin: 0 0 1.2rem; font-family: var(--serif); font-size: 1.22rem; line-height: 1.4; font-style: italic;
  color: rgba(232,242,251,0.9);
}
.review-card figcaption { display: flex; flex-direction: column; gap: 0.15rem; font-size: 0.92rem; }
.review-card span { color: rgba(232,242,251,0.55); }
address { font-style: normal; margin: 1.3rem 0; font-size: 1.12rem; }
.visit__phone a { font-family: var(--serif); font-size: 2.1rem; color: var(--navy); }
.visit__map { min-height: 520px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.visit__map iframe { width: 100%; height: 100%; min-height: 520px; border: 0; }
.faq__list { display: grid; gap: 0.8rem; max-width: 46rem; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 0 1.3rem; }
.faq summary { cursor: pointer; font-weight: 700; padding: 1.1rem 0; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--sky); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0; padding: 0 0 1.1rem; color: var(--muted); }
.contact { padding: 0 6vw 7.2rem; }
.contact__card {
  grid-template-columns: 0.9fr 1.1fr; background: var(--navy); color: var(--ice);
  border-radius: 32px; padding: 3.1rem; gap: 2.6rem;
}
.contact__card p { color: rgba(232,242,251,0.82); }
.contact__card a { color: #d7e9f8; font-weight: 700; }
.contact-form { display: grid; gap: 1rem; }
.hp { position: absolute; left: -9999px; }
.field label { display: block; margin-bottom: 0.4rem; font-size: 0.86rem; font-weight: 700; }
.field label span { font-weight: 400; color: rgba(232,242,251,0.6); }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid rgba(232,242,251,0.18); background: rgba(6,26,50,0.35);
  color: var(--ice); border-radius: 14px; padding: 0.9rem 1rem; font: inherit;
}
.field select option { color: var(--ink); }
.form-status { min-height: 1.4em; margin: 0; color: #9ad7b3; }
.site-footer { background: #041221; color: rgba(232,242,251,0.8); padding: 4rem 6vw 7rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.footer__grid h3 {
  font-family: var(--font); font-size: 0.76rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: #9ec4ee;
}
.footer__grid .brand__name { color: var(--ice); }
.footer__legal {
  margin: 3rem 0 0; padding-top: 1.4rem; border-top: 1px solid rgba(232,242,251,0.1);
  font-size: 0.85rem; color: rgba(232,242,251,0.45);
}
.mobile-cta { display: none; }
.reveal { opacity: 0; transform: translateY(16px); animation: rise 0.8s ease forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }
#story, #independence, #patients, #hours, #visit, #faq, #contact, #reviews, #services {
  scroll-margin-top: calc(var(--header) + 0.6rem);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { animation: none; opacity: 1; transform: none; }
}
@media (max-width: 1080px) {
  .trust__grid, .services__grid, .reviews__grid, .footer__grid { grid-template-columns: 1fr 1fr; }
  .story__grid, .split__inner, .hours__grid, .visit__grid, .contact__card { grid-template-columns: 1fr; }
  .split__copy, .patients__inner, .contact__card { padding: 1.8rem; }
  .split__media img { min-height: 360px; }
}
@media (max-width: 820px) {
  .topbar { flex-direction: column; align-items: flex-start; padding: 0.7rem 5vw; }
  .nav-toggle { display: block; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: flex-start; gap: 0;
    padding: 0.6rem 5vw 1.2rem; background: var(--paper); border-bottom: 1px solid var(--line);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { width: 100%; padding: 0.8rem 0; }
  .story, .services, .hours, .visit, .reviews, .faq { padding: 4.5rem 5vw; }
  .contact, .patients, .split { padding-left: 5vw; padding-right: 5vw; }
  .trust__grid, .services__grid, .reviews__grid, .footer__grid { grid-template-columns: 1fr; }
  .trust article { border-right: 0; border-bottom: 1px solid rgba(232,242,251,0.12); }
  .mobile-cta {
    display: grid; grid-template-columns: 1fr 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0;
    z-index: 50; background: var(--navy-deep); border-top: 1px solid rgba(232,242,251,0.12);
  }
  .mobile-cta a { text-align: center; padding: 0.95rem 0 1.1rem; color: var(--ice); font-weight: 700; }
}
