/* =========================================================
   Eye Consultants of Syracuse — Design System
   Mobile-first. Older patient demographic: large type, high
   contrast, generous spacing, unambiguous CTAs.
   ========================================================= */

:root {
  /* Brand colors — premium blue + warm bronze + cream (editorial) */
  --c-primary: #1a4f86;          /* brand blue */
  --c-primary-dark: #123961;
  --c-primary-light: #2f72b0;
  --c-accent: #b8895a;           /* warm bronze — premium accent */
  --c-accent-dark: #9a7148;
  --c-accent-deep: #7d5b39;      /* AA-compliant bronze for small text on cream */

  --c-ink: #14241f;              /* warm near-black */
  --c-ink-muted: #5a635e;
  --c-line: #e3ddd0;
  --c-bg: #ffffff;
  --c-bg-soft: #f7f4ed;          /* warm cream */
  --c-bg-tint: #e7eef6;          /* subtle blue-tint */
  --c-warn-bg: #fbf2e0;
  --c-warn-ink: #6e4d1f;

  /* Type — Inter body + Playfair Display serif headings */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Playfair Display", "Source Serif 4", Georgia, "Times New Roman", serif;
  --fs-body: 1.0625rem;          /* 17px */
  --fs-lg:   1.1875rem;
  --fs-sm:   0.9375rem;
  --fs-xs:   0.8125rem;
  --fs-h1: clamp(2.5rem, 5.5vw, 4.5rem);
  --fs-h2: clamp(1.875rem, 4vw, 2.75rem);
  --fs-h3: clamp(1.375rem, 2.5vw, 1.625rem);
  --fs-h4: 1.125rem;
  --lh-body: 1.65;
  --lh-tight: 1.05;

  /* Spacing scale */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4rem;
  --s-9: 6rem;

  /* Radius / shadow */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(15, 26, 36, .06), 0 1px 3px rgba(15, 26, 36, .04);
  --shadow-md: 0 4px 8px rgba(15, 26, 36, .06), 0 8px 24px rgba(15, 26, 36, .06);
  --shadow-lg: 0 8px 16px rgba(15, 26, 36, .08), 0 16px 48px rgba(15, 26, 36, .10);

  --container: 1180px;
  --container-narrow: 820px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--c-ink);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { max-width: 100%; display: block; height: auto; }
a { color: var(--c-primary); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--c-primary-dark); }

/* Global focus indicator (keyboard nav) */
:focus { outline: 0; }
:focus-visible {
  outline: 4px solid var(--c-accent-dark);
  outline-offset: 2px;
  border-radius: var(--r-sm);
}
.btn:focus-visible { outline-offset: 3px; }
.cta-banner :focus-visible, .site-footer :focus-visible, .top-strip :focus-visible { outline-color: #fff; }

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
  a.card:hover, .phys-card:hover, .hero__triptych img:hover, .specialist-chip:hover { transform: none; }
}
h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: var(--lh-tight);
  color: var(--c-ink);
  margin: 0 0 var(--s-4);
  letter-spacing: -0.015em;
  text-wrap: balance; /* even line breaks, no orphan words in headings */
}
h1 { font-size: var(--fs-h1); font-weight: 400; letter-spacing: -0.025em; }
h2 { font-size: var(--fs-h2); font-weight: 500; letter-spacing: -0.02em; }
h3 { font-size: var(--fs-h3); font-weight: 600; letter-spacing: -0.01em; line-height: 1.15; }
h4 { font-family: var(--font-sans); font-weight: 700; font-size: var(--fs-h4); line-height: 1.25; color: var(--c-ink); margin: 0 0 var(--s-4); }
p { margin: 0 0 var(--s-4); text-wrap: pretty; /* avoid single-word orphans */ }
hr { border: 0; border-top: 1px solid var(--c-line); margin: var(--s-7) 0; }

/* Skip link */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--c-ink); color: #fff; padding: var(--s-3) var(--s-4); z-index: 1000;
}
.skip-link:focus { left: var(--s-3); top: var(--s-3); border-radius: var(--r-sm); }

/* Layout */
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--s-5); }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 var(--s-5); }
.section { padding: var(--s-8) 0; }
.section--tight { padding: var(--s-7) 0; }
.section--tint { background: var(--c-bg-soft); }
/* Button row — consistent gap for CTA pairs in prose */
.btn-row { display: flex; gap: var(--s-3); flex-wrap: wrap; margin-top: var(--s-6); }
.eyebrow {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 600;
  color: var(--c-accent-deep);
  margin-bottom: var(--s-4);
  font-family: var(--font-sans);
  text-wrap: balance;
}
.eyebrow::before {
  content: ""; display: inline-block;
  width: 28px; height: 1px;
  background: var(--c-accent);
}

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(180%) blur(8px);
  -webkit-backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--c-line);
}
.top-strip {
  background: var(--c-primary-dark);
  color: #a9b9d4;
  font-size: var(--fs-sm);
  padding: var(--s-2) 0;
  font-family: var(--font-sans);
  letter-spacing: 0.02em;
}
.top-strip .container {
  display: flex; gap: var(--s-5); justify-content: space-between; align-items: center; flex-wrap: wrap;
}
.top-strip a {
  color: #ffffff; text-decoration: none;
  display: inline-flex; align-items: center;
  min-height: 44px; padding: 0 var(--s-1);
}
.top-strip a:hover { text-decoration: underline; }
.top-strip__locations { display: flex; gap: var(--s-5); flex-wrap: wrap; }
.top-strip__locations strong { color: #fff; font-weight: 600; margin-right: 4px; letter-spacing: 0.05em; text-transform: uppercase; font-size: var(--fs-xs); }
.top-strip__ctas { display: none; gap: var(--s-4); }
.top-strip__ctas a { font-weight: 600; }
@media (min-width: 700px) { .top-strip__ctas { display: flex; } }

/* Compact top strip on phones — two tight rows, no tap-target bloat */
@media (max-width: 700px) {
  .top-strip { padding: 6px 0; font-size: 0.875rem; }
  .top-strip .container { gap: 0; }
  .top-strip__locations { flex-direction: column; gap: 2px; }
  /* Comfortable tap-to-call target for older patients, without bloating the strip */
  .top-strip a { min-height: 38px; padding: 2px 0; }
  .top-strip__locations strong { font-size: 0.75rem; }
}

.header-main { padding: var(--s-4) 0; }
.header-main .container { display: flex; align-items: center; justify-content: space-between; gap: var(--s-5); flex-wrap: wrap; }
.logo {
  display: flex; align-items: center; gap: var(--s-3);
  text-decoration: none; color: var(--c-ink);
  font-weight: 800; line-height: 1.1;
}
.logo__mark {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-light) 100%);
  border-radius: 50%;
  display: grid; place-items: center;
  color: #fff; font-weight: 600; font-size: 1.0625rem;
  font-family: var(--font-serif);
  letter-spacing: 0;
  box-shadow: var(--shadow-sm);
}
.logo__text { font-size: 1.0625rem; letter-spacing: -0.01em; min-width: 0; font-family: var(--font-serif); font-weight: 500; }
.logo__text small { display: block; font-size: 0.6875rem; color: var(--c-ink-muted); font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; font-family: var(--font-sans); margin-top: 2px; }
@media (max-width: 380px) {
  .logo__text { font-size: 1rem; }
  .logo__text small { display: none; }
}

/* Primary nav */
.nav-toggle {
  background: transparent; border: 1px solid var(--c-line);
  width: 44px; height: 44px; border-radius: var(--r-sm);
  display: grid; place-items: center; cursor: pointer;
  color: var(--c-primary);
  transition: background-color .15s ease, border-color .15s ease;
}
.nav-toggle:active { background: var(--c-bg-tint); border-color: var(--c-primary-light); }
.nav-toggle svg { width: 24px; height: 24px; }
.primary-nav { display: none; flex-basis: 100%; }
.primary-nav.open {
  display: block; padding-top: var(--s-3);
  border-top: 1px solid var(--c-line); margin-top: var(--s-3);
  max-height: calc(100vh - 140px); /* fallback */
  max-height: calc(100dvh - 140px); overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.nav-toggle[aria-expanded="true"] { background: var(--c-bg-tint); color: var(--c-primary-dark); }
.primary-nav ul { list-style: none; margin: 0; padding: 0; }
.primary-nav a {
  display: block; padding: var(--s-3) var(--s-4);
  text-decoration: none; color: var(--c-ink);
  font-weight: 600; border-radius: var(--r-sm);
  white-space: nowrap;
}
.primary-nav a:hover, .primary-nav a[aria-current="page"] {
  background: var(--c-bg-tint); color: var(--c-primary-dark);
}
.primary-nav .nav-cta {
  background: var(--c-primary); color: #fff !important;
  text-align: center; margin-top: var(--s-3);
}
.primary-nav .nav-cta:hover { background: var(--c-primary-dark); }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .header-main .container { flex-wrap: nowrap; }
  .primary-nav { display: block !important; flex-basis: auto; padding-top: 0; border-top: 0; margin-top: 0; }
  .primary-nav ul { display: flex; align-items: center; gap: 2px; }
  .primary-nav a { padding: var(--s-2) var(--s-3); font-size: 0.9375rem; }
  .primary-nav .nav-cta { margin-top: 0; margin-left: var(--s-3); padding: var(--s-3) var(--s-4); font-size: var(--fs-sm); }
}
@media (min-width: 1100px) {
  .primary-nav a { padding: var(--s-2) var(--s-4); font-size: var(--fs-body); }
}

/* ===== Buttons — refined editorial ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  padding: var(--s-3) var(--s-6);
  background: var(--c-primary); color: #fff !important;
  text-decoration: none; font-weight: 600;
  border-radius: 999px; border: 2px solid var(--c-primary);
  font-size: var(--fs-body);
  font-family: var(--font-sans);
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, transform .05s ease, box-shadow .2s ease, color .2s ease;
  min-height: 48px;
  line-height: 1.2;
  letter-spacing: 0.01em;
}
.btn:hover { background: var(--c-primary-dark); border-color: var(--c-primary-dark); box-shadow: 0 6px 20px rgba(20, 58, 102, .18); }
.btn:active {
  transform: translateY(1px) scale(.99);
  box-shadow: 0 2px 6px rgba(20, 58, 102, .16);
  transition-duration: .05s; /* fast press; release eases back at the base .2s */
}
.btn--lg { padding: var(--s-4) var(--s-7); font-size: var(--fs-lg); min-height: 56px; }
.btn--accent { background: var(--c-accent-deep); border-color: var(--c-accent-deep); }
.btn--accent:hover { background: #7d5b39; border-color: #7d5b39; box-shadow: 0 6px 20px rgba(184, 137, 90, .25); }
.btn--ghost { background: transparent; color: var(--c-primary) !important; border-color: var(--c-primary); }
.btn--ghost:hover { background: var(--c-primary); color: #fff !important; box-shadow: 0 6px 20px rgba(20, 58, 102, .15); }
.btn--white { background: #fff; color: var(--c-primary-dark) !important; border-color: #fff; }
.btn--white:hover { background: var(--c-bg-soft); border-color: var(--c-bg-soft); }
/* Ghost buttons inside dark banners are always white — no inline overrides needed */
.cta-banner .btn--ghost { color: #fff !important; border-color: #fff; }
.cta-banner .btn--ghost:hover { background: #fff; color: var(--c-primary-dark) !important; }

/* ===== Hero — editorial asymmetric ===== */
.hero {
  padding: var(--s-7) 0 var(--s-7);
  background:
    radial-gradient(60% 50% at 90% 10%, rgba(184, 137, 90, .10), transparent 70%),
    linear-gradient(180deg, var(--c-bg-soft) 0%, var(--c-bg) 70%);
  position: relative;
  overflow: hidden;
}
@media (min-width: 900px) {
  .hero { padding: var(--s-6) 0 var(--s-8); }
}
.hero__grid { display: grid; gap: var(--s-7); align-items: center; }
@media (min-width: 900px) {
  .hero__grid { grid-template-columns: 1fr 1.45fr; gap: var(--s-6); align-items: start; }
  /* keep CTAs on one row in the narrower text column */
  .hero__ctas .btn--lg { padding-left: var(--s-5); padding-right: var(--s-5); }
}
.hero h1 {
  margin-bottom: var(--s-5);
  font-size: clamp(2.75rem, 6.5vw, 5.25rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-weight: 400;
}
.hero h1 em {
  font-style: italic;
  color: var(--c-primary);
}
.hero__lede {
  font-size: var(--fs-lg); color: var(--c-ink-muted);
  margin-bottom: var(--s-7); max-width: 46ch;
  line-height: 1.55;
}
.hero__ctas { display: flex; gap: var(--s-3); flex-wrap: wrap; }
.hero__trust {
  margin-top: var(--s-7); padding-top: var(--s-5);
  border-top: 1px solid var(--c-line);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4) var(--s-5);
  font-size: var(--fs-sm); color: var(--c-ink-muted);
}
.hero__trust > div { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.hero__trust strong {
  color: var(--c-primary); font-size: 2.25rem;
  display: block; line-height: 1;
  font-family: var(--font-serif); font-weight: 400;
  letter-spacing: -0.02em;
}
.hero__trust span {
  font-size: var(--fs-xs); text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--c-ink-muted); font-weight: 600;
  line-height: 1.3;
}

/* Hero office photo */
.hero__photo { margin: 0; position: relative; }
.hero__photo img {
  width: 100%; height: auto; display: block;
  border-radius: var(--r-lg);
  box-shadow: 0 14px 40px rgba(20, 58, 102, .14), 0 4px 12px rgba(20, 58, 102, .08);
}
@media (min-width: 900px) {
  /* Wide 4:3 frame shows the room around the doctors; centered against the text column */
  .hero__photo img {
    aspect-ratio: 4 / 3;
    height: auto;
    object-fit: cover;
    object-position: 45% center; /* keep both doctors + the blue practice sign in frame */
  }
}
.hero__photo::after {
  content: ""; position: absolute; inset: 0;
  border-radius: var(--r-lg);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
  pointer-events: none;
}

/* Hero portrait triptych */
.hero__triptych {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: var(--s-3);
  position: relative;
  aspect-ratio: 1 / 1;
}
.hero__triptych img {
  width: 100%; height: 100%;
  min-height: 0; min-width: 0;
  object-fit: cover; object-position: center top;
  border-radius: var(--r-md);
  box-shadow: 0 14px 40px rgba(20, 58, 102, .14), 0 4px 12px rgba(20, 58, 102, .08);
  display: block;
  transition: transform .4s ease;
}
.hero__triptych img:hover { transform: translateY(-4px); }
.hero__triptych img:nth-child(1) {
  grid-row: 1 / 3;
  grid-column: 1;
  object-position: 50% 20%;
}
.hero__triptych img:nth-child(2) {
  grid-column: 2;
  grid-row: 1;
  object-position: 50% 22%;
}
.hero__triptych img:nth-child(3) {
  grid-column: 2;
  grid-row: 2;
  object-position: 50% 25%;
}

/* ===== Card grid ===== */
.grid { display: grid; gap: var(--s-5); }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
}
/* iPad-portrait: lift the 8-card content grid to 3-col; the 4-card phys grid stays a balanced 2-up */
@media (min-width: 768px) and (max-width: 1023px) {
  .grid--4:has(.card) { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

.card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: var(--s-6);
  display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  text-decoration: none; color: inherit;
  position: relative;
}
a.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(20, 58, 102, .10), 0 4px 10px rgba(20, 58, 102, .06);
  border-color: var(--c-primary-light);
}
.card__icon {
  width: 56px; height: 56px;
  background: var(--c-bg-soft); color: var(--c-primary);
  border-radius: 50%;
  display: grid; place-items: center;
  margin-bottom: var(--s-5);
  transition: background-color .25s ease, color .25s ease;
}
a.card:hover .card__icon { background: var(--c-primary); color: #fff; }
.card__icon svg { width: 28px; height: 28px; }
.card h3 { margin-bottom: var(--s-3); font-size: 1.375rem; }
.card p { color: var(--c-ink-muted); margin-bottom: var(--s-5); line-height: 1.55; }
.card__link {
  margin-top: auto; color: var(--c-primary); font-weight: 600;
  text-decoration: none; font-family: var(--font-sans);
  font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: 0.1em;
  display: inline-flex; align-items: center; gap: var(--s-2);
}
.card__link::after { content: "→"; transition: transform .2s ease; }
a.card:hover .card__link::after { transform: translateX(4px); }

/* Physician card */
.phys-card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  overflow: hidden;
  text-decoration: none; color: inherit;
  display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.phys-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(20, 58, 102, .12), 0 4px 10px rgba(20, 58, 102, .06);
}
/* Placeholder tile (no photo yet) — deliberate editorial monogram, not a failed image */
.phys-card__photo {
  aspect-ratio: 4 / 5;
  background: var(--c-bg-soft);
  border-bottom: 1px solid var(--c-line);
  display: grid; place-items: center;
  color: var(--c-accent-dark);
  font-family: var(--font-serif);
  font-size: 3rem; font-weight: 400;
  letter-spacing: 0.06em;
}
.phys-card__photo--img {
  background: var(--c-bg-soft);
  border-bottom: 0;
  object-fit: cover;
  object-position: center top;
  width: 100%;
  height: auto;
  display: block;
}
.phys-card__body { padding: var(--s-5) var(--s-6) var(--s-6); }
.phys-card__name {
  font-family: var(--font-serif); font-weight: 500;
  font-size: 1.25rem; color: var(--c-ink);
  margin: 0 0 var(--s-1); line-height: 1.2;
  letter-spacing: -0.01em;
}
.phys-card__role {
  font-size: var(--fs-sm); color: var(--c-ink-muted);
  margin: 0; line-height: 1.45;
}

/* ===== Office cards (contact strip) ===== */
.office-strip { padding: var(--s-8) 0; background: var(--c-bg-soft); }
.office-card {
  background: #fff; border: 1px solid var(--c-line);
  border-radius: var(--r-lg); padding: var(--s-7);
}
.office-card h3 { margin-bottom: var(--s-3); color: var(--c-primary); }
.office-card address { font-style: normal; color: var(--c-ink-muted); line-height: 1.55; margin-bottom: var(--s-4); }
.office-card .phone {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-size: 1.25rem; font-weight: 700; text-decoration: none;
  color: var(--c-primary-dark);
  margin-bottom: var(--s-3);
  min-height: 44px; padding: var(--s-2) 0;
  transition: color .2s ease;
}
.office-card .phone:hover { color: var(--c-primary); }
.office-card .phone svg { width: 22px; height: 22px; flex-shrink: 0; }
.office-card .hours { font-size: var(--fs-sm); color: var(--c-ink-muted); }
.office-card .hours strong { color: var(--c-ink); }

/* ===== Page hero (interior pages) ===== */
.page-hero {
  padding: var(--s-8) 0 var(--s-7);
  background: var(--c-bg-soft);
  border-bottom: 1px solid var(--c-line);
}
.page-hero h1 {
  margin-bottom: var(--s-4); max-width: 22ch;
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  line-height: 1.02;
  font-weight: 400;
  letter-spacing: -0.03em;
}
.page-hero p { font-size: var(--fs-lg); color: var(--c-ink-muted); max-width: 60ch; margin: 0; line-height: 1.55; }
.page-hero .eyebrow { margin-bottom: var(--s-4); }
.breadcrumb {
  font-size: var(--fs-body); color: var(--c-ink-muted);
  margin-bottom: var(--s-4);
}
.breadcrumb a {
  color: var(--c-ink-muted); text-decoration: none;
  display: inline-block; padding: var(--s-1) 0;
}
.breadcrumb a:hover { color: var(--c-primary); text-decoration: underline; }
.breadcrumb span { margin: 0 var(--s-2); }

/* ===== Prose (long-form content pages) ===== */
.prose { max-width: 70ch; }
.prose h2 { margin-top: var(--s-7); }
.prose h3 { margin-top: var(--s-6); }
.prose ul, .prose ol { padding-left: var(--s-5); margin-bottom: var(--s-5); }
.prose li { margin-bottom: var(--s-2); }
.prose a { color: var(--c-primary); }

/* Definition/info rows for physician bios */
.dl-rows { display: grid; gap: var(--s-3); margin: var(--s-4) 0 var(--s-6); }
.dl-row {
  display: grid; grid-template-columns: 1fr; gap: var(--s-1);
  padding: var(--s-3) 0; border-top: 1px solid var(--c-line);
}
.dl-row:last-child { border-bottom: 1px solid var(--c-line); }
@media (min-width: 768px) {
  .dl-row { grid-template-columns: 200px 1fr; gap: var(--s-4); align-items: baseline; }
}
.dl-row dt { font-weight: 600; color: var(--c-primary-dark); margin: 0; }
.dl-row dd { margin: 0; color: var(--c-ink); }

/* CTA banner */
.cta-banner {
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-dark) 100%);
  color: #fff; padding: var(--s-9) 0; text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 60% at 70% 30%, rgba(184, 137, 90, .14), transparent 70%);
  pointer-events: none;
}
.cta-banner .container { position: relative; }
.cta-banner h2 {
  color: #fff; margin-bottom: var(--s-3);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
}
.cta-banner p { color: rgba(255,255,255,.82); font-size: var(--fs-lg); margin-bottom: var(--s-6); max-width: 50ch; margin-left: auto; margin-right: auto; }
.cta-banner__btns { display: inline-flex; gap: var(--s-3); flex-wrap: wrap; justify-content: center; }

/* Notice — default is warning (yellow). Use .notice--info for neutral blue. */
.notice {
  background: var(--c-warn-bg); color: var(--c-warn-ink);
  border: 1px solid #f0d990; border-radius: var(--r-sm);
  padding: var(--s-4); font-size: var(--fs-sm);
}
.notice--info {
  background: var(--c-bg-tint);
  color: var(--c-primary-dark);
  border-color: #c3d6ec;
}
.notice a { color: inherit; text-decoration: underline; }

/* Physician detail photo */
.phys-detail__photo {
  width: 100%;
  max-width: 360px;
  border-radius: var(--r-md);
  box-shadow: 0 14px 40px rgba(20, 58, 102, .12), 0 4px 12px rgba(20, 58, 102, .07);
  display: block;
}

/* Insurance carrier grid */
.insurance-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-3);
  max-width: 960px;
  margin: 0 auto;
}
@media (min-width: 640px) { .insurance-grid { grid-template-columns: repeat(3, 1fr); gap: var(--s-4); } }
@media (min-width: 900px) { .insurance-grid { grid-template-columns: repeat(5, 1fr); } }
.insurance-card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  padding: var(--s-4);
  display: grid;
  place-items: center;
  aspect-ratio: 5 / 3;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.insurance-card:hover { border-color: var(--c-primary-light); box-shadow: 0 6px 16px rgba(20, 58, 102, .08); }
.insurance-card img {
  max-width: 100%;
  max-height: 70px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* FAQ accordion (native details/summary — accessible, no JS) */
.faq-list { display: grid; gap: var(--s-3); }
.faq {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.faq[open] {
  border-color: var(--c-primary-light);
  box-shadow: 0 8px 24px rgba(20, 58, 102, .08);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: var(--s-5) var(--s-6);
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--c-ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  min-height: 48px;
  line-height: 1.25;
  transition: background-color .15s ease, color .2s ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--font-sans);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--c-accent-dark);
  line-height: 1;
  flex-shrink: 0;
  transition: transform .25s ease;
}
.faq[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--c-primary); }
.faq summary:active { background: var(--c-bg-tint); }
.faq__body {
  padding: 0 var(--s-6) var(--s-5);
  color: var(--c-ink-muted);
  line-height: 1.6;
}
.faq__body p:last-child, .faq__body ul:last-child { margin-bottom: 0; }
.faq__body ul { padding-left: var(--s-5); }
.faq__body li { margin-bottom: var(--s-2); }

/* Brand selection color */
::selection { background: var(--c-primary); color: #fff; }

/* Info card — looks like a card but is not interactive. Used for lens options, cornea procedures, etc. */
.info-card {
  background: var(--c-bg-soft);
  border-left: 3px solid var(--c-primary);
  border-radius: var(--r-sm);
  padding: var(--s-5);
}
.info-card h3 { color: var(--c-primary-dark); margin-bottom: var(--s-2); font-size: 1.125rem; }
.info-card p { color: var(--c-ink); margin: 0; font-size: var(--fs-sm); line-height: 1.55; }

/* ===== Footer ===== */
.site-footer {
  background: var(--c-primary-dark);
  color: #a9b9d4;
  padding: var(--s-9) 0 var(--s-5);
  font-size: var(--fs-sm);
}
.site-footer h4 { color: #fff; font-size: 0.8125rem; margin-bottom: var(--s-4); text-transform: uppercase; letter-spacing: 0.16em; font-weight: 600; }
.footer-logo { color: #fff; margin-bottom: var(--s-3); }
.footer-logo .logo__text, .footer-logo .logo__text small { color: #fff; }
.footer-logo .logo__text small { color: #a9b9d4; }
.footer-tagline { color: #a9b9d4; max-width: 32ch; }
.site-footer a {
  color: #a9b9d4; text-decoration: none;
  display: inline-block; padding: var(--s-2) 0; min-height: 44px; line-height: 1.4;
  transition: color .15s ease;
}
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer-grid { display: grid; gap: var(--s-6); }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid ul li { margin-bottom: var(--s-2); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: var(--s-7); padding-top: var(--s-4);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--s-3);
  color: #93a7c6; font-size: var(--fs-xs);
  letter-spacing: 0.04em;
}

/* Utility */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.hide-sm { display: none; }
@media (min-width: 700px) { .hide-sm { display: inline; } .show-sm-only { display: none; } }

/* ===== Scroll reveal (JS-gated via html.js-reveal; motion-gated via media query) ===== */
@media (prefers-reduced-motion: no-preference) {
  html.js-reveal [data-reveal] {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .6s ease-out, transform .6s ease-out;
    transition-delay: var(--reveal-delay, 0ms);
  }
  html.js-reveal [data-reveal="in"] {
    opacity: 1;
    transform: none;
  }
}

/* ===== Header elevation ===== */
@media (prefers-reduced-motion: no-preference) {
  .site-header { transition: box-shadow .3s ease, background-color .3s ease; }
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, .99);
  box-shadow: 0 1px 0 var(--c-line), 0 6px 24px rgba(15, 26, 36, .07);
}

/* ===== Card hover polish ===== */
.phys-card { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.phys-card:hover { border-color: var(--c-primary-light); }
.phys-card:hover .phys-card__name { color: var(--c-primary); }
.phys-card__name { transition: color .25s ease; }
a.card:hover .card__link { color: var(--c-accent-dark); }
@media (prefers-reduced-motion: no-preference) {
  .card__icon { transition: background-color .25s ease, color .25s ease, transform .25s ease; }
  a.card:hover .card__icon { transform: translateY(-2px); }
  .phys-card__photo--img { transition: transform .5s ease; }
  .phys-card:hover .phys-card__photo--img { transform: scale(1.03); }
}

/* ===== Anchor targets clear the sticky header ===== */
/* Measured sticky-header height: ~153px mobile, ~144px desktop. One offset clears the tallest + a small gap. */
:where([id]) {
  scroll-margin-top: 168px;
}

/* ===== Editorial quote band (homepage break) ===== */
.quote-band {
  background: linear-gradient(160deg, var(--c-primary-dark) 0%, var(--c-primary) 100%);
  padding: var(--s-9) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.quote-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(50% 60% at 80% 20%, rgba(184, 137, 90, .12), transparent 70%);
  pointer-events: none;
}
.quote-band .container { position: relative; max-width: var(--container-narrow); }
.quote-band__eyebrow { color: var(--c-accent); }
.quote-band__quote { margin: 0; }
.quote-band__quote p {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4.5vw, 3.25rem);
  line-height: 1.15;
  color: #fff;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin: 0 0 var(--s-5);
}
.quote-band__quote em {
  font-style: italic;
  color: var(--c-accent);
}
.quote-band__attr {
  color: #fff;
  font-size: var(--fs-sm);
  text-transform: uppercase; letter-spacing: 0.12em; font-weight: 600;
  margin: 0;
}
.quote-band__attr::before { content: "\2014\00a0"; color: var(--c-accent); }

/* ===== Specialist strip (specialty pages) ===== */
.specialist-strip { padding: var(--s-7) 0; }
.specialist-strip__title { margin-bottom: var(--s-6); }
.specialist-strip__row { display: grid; gap: var(--s-4); }
@media (min-width: 640px) { .specialist-strip__row { grid-template-columns: repeat(2, 1fr); } }
.specialist-chip {
  display: flex; align-items: center; gap: var(--s-4);
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg);
  padding: var(--s-4) var(--s-5);
  text-decoration: none; color: inherit;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.specialist-chip:hover {
  transform: translateY(-3px);
  border-color: var(--c-primary-light);
  box-shadow: 0 12px 32px rgba(20, 58, 102, .10);
}
.specialist-chip:active { transform: translateY(0) scale(.995); box-shadow: var(--shadow-sm); }
.specialist-chip img {
  width: 72px; height: 72px; border-radius: 50%;
  object-fit: cover; object-position: center 20%;
  flex-shrink: 0;
  border: 2px solid var(--c-bg-soft);
  box-shadow: var(--shadow-sm);
}
.specialist-chip__text strong {
  display: block; font-family: var(--font-serif); font-weight: 500;
  font-size: 1.125rem; letter-spacing: -0.01em; line-height: 1.25;
  margin-bottom: 2px;
}
.specialist-chip__text > span { font-size: var(--fs-sm); color: var(--c-ink-muted); line-height: 1.4; }

/* ===== Footer serif sign-off ===== */
.footer-signoff {
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  margin-bottom: var(--s-7);
  padding-bottom: var(--s-6);
}
.footer-signoff { text-align: center; }
.footer-signoff p {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  color: #fff; margin: 0;
  font-weight: 400; letter-spacing: -0.015em; line-height: 1.2;
}
.footer-signoff em { font-style: italic; color: var(--c-accent); }

/* ===== Signature motif: iris divider ===== */
.iris-divider {
  display: flex; align-items: center; gap: var(--s-5);
  color: var(--c-accent);
  margin: var(--s-7) 0;
}
.iris-divider::before, .iris-divider::after {
  content: ""; flex: 1; height: 1px; background: var(--c-line);
}
.iris-divider svg { width: 32px; height: 32px; flex-shrink: 0; }

/* ===== Landing pages (lp-*) ===== */
.lp-hero {
  padding: var(--s-8) 0 var(--s-7);
  background:
    radial-gradient(60% 50% at 90% 10%, rgba(184, 137, 90, .10), transparent 70%),
    linear-gradient(180deg, var(--c-bg-soft) 0%, var(--c-bg) 70%);
  border-bottom: 1px solid var(--c-line);
}
.lp-hero h1 {
  max-width: 20ch;
  font-size: clamp(2.5rem, 5.5vw, 4.25rem);
  line-height: 1.0;
  letter-spacing: -0.03em;
  font-weight: 400;
  margin-bottom: var(--s-5);
}
.lp-hero__lede {
  font-size: var(--fs-lg); color: var(--c-ink-muted);
  max-width: 52ch; line-height: 1.55; margin-bottom: var(--s-6);
}
/* Phone displayed LARGE — older users dial by reading, not tapping */
.lp-hero__phone-label {
  font-family: var(--font-sans); font-size: var(--fs-xs);
  text-transform: uppercase; letter-spacing: 0.14em; font-weight: 600;
  color: var(--c-accent-deep); margin: 0 0 var(--s-1);
}
.lp-hero__phone {
  display: inline-block;
  font-family: var(--font-serif); font-weight: 500;
  font-size: clamp(2.25rem, 7vw, 3.5rem);
  line-height: 1.1; letter-spacing: -0.02em;
  color: var(--c-primary-dark); text-decoration: none;
  margin-bottom: var(--s-4); min-height: 48px;
  transition: color .2s ease;
}
.lp-hero__phone:hover { color: var(--c-primary); }

/* Proof bar */
.lp-proof {
  list-style: none; margin: var(--s-6) 0 0; padding: var(--s-5) 0 0;
  border-top: 1px solid var(--c-line);
  display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-3);
  font-size: var(--fs-sm); font-weight: 600;
  color: var(--c-accent-deep); letter-spacing: 0.02em;
}
.lp-proof li { display: inline-flex; align-items: center; gap: var(--s-3); }
.lp-proof li + li::before { content: "\00b7"; color: var(--c-accent); font-weight: 400; }
.lp-proof li:first-child::before { content: "\2605"; color: var(--c-accent); margin-right: var(--s-2); }

/* Numbered steps */
.lp-steps {
  list-style: none; margin: var(--s-6) 0 0; padding: 0;
  display: grid; gap: var(--s-6); counter-reset: lp-step;
}
.lp-step {
  counter-increment: lp-step; position: relative;
  display: grid; grid-template-columns: 56px 1fr;
  gap: var(--s-5); align-items: start;
}
.lp-step::before {
  content: counter(lp-step);
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--c-bg-soft); border: 1px solid var(--c-line);
  color: var(--c-primary);
  font-family: var(--font-serif); font-size: 1.5rem; font-weight: 500;
  display: grid; place-items: center;
}
.lp-step:not(:last-child)::after {
  content: ""; position: absolute;
  left: 28px; top: 64px; bottom: calc(-1 * var(--s-6) + 8px);
  width: 1px; background: var(--c-line);
}
.lp-step__body h3 { font-size: 1.25rem; margin-bottom: var(--s-2); }
.lp-step__body p { color: var(--c-ink-muted); margin: 0; line-height: 1.6; }

/* Compact insurance text bar */
.lp-insurance {
  background: var(--c-bg-soft);
  border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line);
  padding: var(--s-6) 0; text-align: center;
}
.lp-insurance__label {
  font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.18em;
  font-weight: 600; color: var(--c-accent-deep); margin: 0 0 var(--s-2);
}
.lp-insurance__carriers {
  font-family: var(--font-serif); font-size: clamp(1.125rem, 2.5vw, 1.375rem);
  color: var(--c-ink); margin: 0 auto var(--s-2); max-width: 60ch; line-height: 1.45;
}
.lp-insurance__note { font-size: var(--fs-sm); color: var(--c-ink-muted); margin: 0; }
.lp-insurance__note a { color: var(--c-primary); font-weight: 600; }

/* Mobile sticky call bar */
.lp-callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: var(--c-primary-dark);
  padding: var(--s-2) var(--s-4) calc(var(--s-2) + env(safe-area-inset-bottom));
  box-shadow: 0 -4px 16px rgba(15, 26, 36, .18);
  display: flex;
}
.lp-callbar .btn { flex: 1; min-height: 48px; padding: var(--s-3) var(--s-4); }
body:has(.lp-callbar) { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
@media (min-width: 900px) {
  .lp-callbar { display: none; }
  body:has(.lp-callbar) { padding-bottom: 0; }
}
/* Fallback for engines without :has() (Safari <15.4, Firefox <121) so the fixed call bar never overlaps the footer */
@supports not selector(:has(*)) {
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  @media (min-width: 900px) { body { padding-bottom: 0; } }
}
