/* ==========================================================================
   Summit Surgical Institute — Design System
   Charcoal + Soft Teal
   ========================================================================== */

/* --- Reset ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 110px; overflow-x: hidden; }
img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }

/* --- Tokens --------------------------------------------------------------- */
:root {
  /* Charcoal */
  --ink:        #11161A;
  --charcoal:   #1A2227;
  --charcoal-2: #232D33;
  --slate:      #3A474F;

  /* Soft teal */
  --teal-900:   #1D5B55;
  --teal-700:   #2A7B72;
  --teal:       #35948A;
  --teal-400:   #5FB3A8;
  --teal-200:   #A8D8D0;
  --teal-50:    #EAF4F2;

  /* Neutrals */
  --white:      #FFFFFF;
  --mist:       #F6F8F8;
  --mist-2:     #EDF1F1;
  --line:       #E1E7E8;
  --line-dark:  rgba(255,255,255,.12);
  --body:       #2C3940;
  --muted:      #64757E;
  --muted-dark: #9FB0B6;

  /* Type */
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Space + shape */
  --radius:    14px;
  --radius-sm: 9px;
  --radius-lg: 22px;
  --shadow:    0 1px 2px rgba(17,22,26,.05), 0 10px 30px -12px rgba(17,22,26,.16);
  --shadow-lg: 0 2px 4px rgba(17,22,26,.05), 0 24px 60px -20px rgba(17,22,26,.28);
  --max:       1200px;
  --max-text:  760px;
  --nav-h:     78px;
}

/* --- Base ----------------------------------------------------------------- */
body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.68;
  color: var(--body);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  padding-bottom: env(safe-area-inset-bottom);
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.16;
  letter-spacing: -0.015em;
  color: var(--ink);
}
h1 { font-size: clamp(2.1rem, 5.4vw, 3.9rem); }
h2 { font-size: clamp(1.75rem, 3.8vw, 2.7rem); }
h3 { font-size: clamp(1.25rem, 2.3vw, 1.55rem); }
h4 { font-size: 1.12rem; }
p  { margin-bottom: 1.05em; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; color: var(--ink); }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: 24px; }
.narrow    { max-width: 860px; margin-inline: auto; }

/* --- Utility -------------------------------------------------------------- */
.eyebrow {
  font-family: var(--sans);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--teal-700);
  margin-bottom: 16px;
  display: block;
}
.eyebrow.on-dark { color: var(--teal-400); }
.lede { font-size: clamp(1.05rem, 1.7vw, 1.22rem); line-height: 1.66; color: var(--slate); }
.on-dark .lede, .dark .lede { color: #C3D0D4; }
.center { text-align: center; }
.section { padding: clamp(64px, 9vw, 116px) 0; }
.section.tight { padding: clamp(48px, 6vw, 76px) 0; }
.section.mist { background: var(--mist); }
.section.dark { background: var(--charcoal); color: #C3D0D4; }
.section.dark h1, .section.dark h2, .section.dark h3, .section.dark h4 { color: var(--white); }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-inline: auto; }
.rule { width: 46px; height: 2px; background: var(--teal); border: 0; margin: 0 0 22px; }
.rule.center { margin-inline: auto; }

/* --- Skip link ------------------------------------------------------------ */
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; }

/* --- Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 13px 26px;
  font-family: var(--sans); font-size: .95rem; font-weight: 600; letter-spacing: .01em;
  border: 1.5px solid transparent; border-radius: 999px; cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .15s ease, box-shadow .2s ease;
  text-align: center;
}
.btn:hover  { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--teal-700); color: #fff; box-shadow: 0 8px 22px -10px rgba(42,123,114,.8); }
.btn-primary:hover { background: var(--teal-900); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal-900); background: var(--teal-50); }
.btn-light { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.28); }
.btn-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: var(--teal-50); }
.btn-sm { min-height: 44px; padding: 10px 20px; font-size: .88rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row.center { justify-content: center; }

.textlink {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: .93rem; color: var(--teal-700);
  border-bottom: 1px solid var(--teal-200); padding-bottom: 2px;
  transition: gap .2s ease, border-color .2s ease, color .2s ease;
}
.textlink:hover { gap: 13px; border-color: var(--teal); color: var(--teal-900); }
.textlink i { font-size: .8em; }

/* ==========================================================================
   HEADER / NAVIGATION
   ========================================================================== */
.topbar {
  background: var(--ink); color: var(--muted-dark);
  font-size: .82rem; letter-spacing: .01em;
}
.topbar .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; min-height: 40px; flex-wrap: wrap;
}
.topbar a { color: #D3DEE1; display: inline-flex; align-items: center; gap: 7px; }
.topbar a:hover { color: var(--teal-400); }
.topbar-left  { display: flex; align-items: center; gap: 8px; }
.topbar-right { display: flex; align-items: center; gap: 22px; }
.topbar i { color: var(--teal-400); }

.site-header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header.scrolled { box-shadow: 0 6px 24px -16px rgba(17,22,26,.4); }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: var(--nav-h);
}

/* Wordmark */
.brand { display: inline-flex; flex-direction: column; gap: 3px; flex-shrink: 0; }
.brand-name {
  font-family: var(--serif); font-size: clamp(1.28rem, 2.6vw, 1.62rem); font-weight: 500;
  letter-spacing: .21em; text-transform: uppercase; color: var(--ink); line-height: 1;
}
.brand-sub {
  display: flex; align-items: center; gap: 9px;
  font-size: .565rem; font-weight: 600; letter-spacing: .295em; text-transform: uppercase;
  color: var(--teal-700); line-height: 1; white-space: nowrap;
}
.brand-sub::before, .brand-sub::after {
  content: ""; flex: 1; height: 1px; background: var(--teal-200); min-width: 8px;
}

/* Desktop menu */
.menu { display: flex; align-items: center; gap: 4px; }
.menu > li { position: relative; }
.menu > li > a, .menu > li > button {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 11px 15px; min-height: 44px;
  font-size: .93rem; font-weight: 500; color: var(--slate);
  background: none; border: 0; border-radius: 8px; cursor: pointer;
  transition: color .18s ease, background .18s ease;
}
.menu > li > a:hover, .menu > li > button:hover,
.menu > li.open > button { color: var(--teal-900); background: var(--teal-50); }
.menu > li > a.current { color: var(--ink); font-weight: 600; }
.menu > li > a.current::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 6px;
  height: 2px; background: var(--teal); border-radius: 2px;
}
.menu .caret { font-size: .62rem; opacity: .6; transition: transform .2s ease; }
.menu > li.open .caret { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(-6px);
  min-width: 330px; padding: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.menu > li.open .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown a {
  display: flex; align-items: flex-start; gap: 13px;
  padding: 11px 13px; border-radius: var(--radius-sm);
  transition: background .16s ease;
}
.dropdown a:hover { background: var(--mist); }
.dropdown .dd-ico {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 9px;
  display: grid; place-items: center;
  background: var(--teal-50); color: var(--teal-700); font-size: .88rem;
}
.dropdown .dd-title { display: block; font-size: .93rem; font-weight: 600; color: var(--ink); line-height: 1.35; }
.dropdown .dd-desc  { display: block; font-size: .8rem; color: var(--muted); line-height: 1.45; margin-top: 2px; }
.dropdown hr { border: 0; border-top: 1px solid var(--line); margin: 8px 6px; }

.nav-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav-phone {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .95rem; font-weight: 600; color: var(--ink); white-space: nowrap;
}
.nav-phone i { color: var(--teal); }
.nav-phone:hover { color: var(--teal-700); }

/* Hamburger */
.hamburger {
  display: none; width: 46px; height: 46px; flex-shrink: 0;
  background: none; border: 1px solid var(--line); border-radius: 10px;
  cursor: pointer; position: relative;
}
.hamburger span {
  position: absolute; left: 13px; width: 20px; height: 2px;
  background: var(--ink); border-radius: 2px; transition: transform .25s ease, opacity .2s ease;
}
.hamburger span:nth-child(1) { top: 16px; }
.hamburger span:nth-child(2) { top: 22px; }
.hamburger span:nth-child(3) { top: 28px; }
.hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 300;
  background: #fff;
  transform: translateX(100%); visibility: hidden;
  transition: transform .3s cubic-bezier(.4,0,.2,1), visibility .3s;
  overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch;
  display: flex; flex-direction: column;
}
.drawer.open { transform: translateX(0); visibility: visible; }
.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px; border-bottom: 1px solid var(--line); min-height: 78px;
}
.drawer-close {
  width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px;
  background: none; cursor: pointer; font-size: 1.1rem; color: var(--ink);
}
.drawer-body { padding: 10px 24px 40px; flex: 1; }
.drawer-body > ul > li { border-bottom: 1px solid var(--line); }
.drawer-body a, .drawer-body .acc-trigger {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%;
  padding: 17px 2px; min-height: 56px;
  font-size: 1.05rem; font-weight: 500; color: var(--ink);
  background: none; border: 0; cursor: pointer; text-align: left;
}
.drawer-body .acc-trigger i { font-size: .72rem; color: var(--muted); transition: transform .2s ease; }
.drawer-body .acc-trigger[aria-expanded="true"] i { transform: rotate(180deg); }
.drawer-body .acc-panel { display: none; padding-bottom: 10px; }
.drawer-body .acc-panel.open { display: block; }
.drawer-body .acc-panel a {
  padding: 13px 0 13px 16px; min-height: 48px;
  font-size: .97rem; font-weight: 500; color: var(--slate);
  border-left: 2px solid var(--line);
}
.drawer-body .acc-panel a:hover { color: var(--teal-700); border-color: var(--teal); }
.drawer-cta { padding: 26px 24px 40px; border-top: 1px solid var(--line); background: var(--mist); }
.drawer-cta .btn { width: 100%; margin-bottom: 12px; }
.drawer-cta .btn:last-child { margin-bottom: 0; }

/* Mobile sticky action bar */
.actionbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 180;
  display: none; background: #fff;
  border-top: 1px solid var(--line);
  box-shadow: 0 -6px 24px -14px rgba(17,22,26,.4);
  padding-bottom: env(safe-area-inset-bottom);
}
.actionbar ul { display: grid; grid-template-columns: repeat(3, 1fr); }
.actionbar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  min-height: 60px; padding: 9px 6px;
  font-size: .72rem; font-weight: 600; letter-spacing: .02em; color: var(--slate);
  border-right: 1px solid var(--line);
}
.actionbar li:last-child a { border-right: 0; }
.actionbar a i { font-size: 1.05rem; color: var(--teal-700); }
.actionbar a.accent { background: var(--teal-700); color: #fff; }
.actionbar a.accent i { color: #fff; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative; overflow: hidden;
  background: var(--ink); color: #C3D0D4;
  padding: clamp(72px, 11vw, 140px) 0 clamp(64px, 8vw, 104px);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(900px 520px at 78% 12%, rgba(53,148,138,.30), transparent 62%),
    radial-gradient(700px 480px at 6% 92%, rgba(29,91,85,.36), transparent 66%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image:
    linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: 68px 68px;
  -webkit-mask-image: radial-gradient(circle at 50% 40%, #000, transparent 78%);
          mask-image: radial-gradient(circle at 50% 40%, #000, transparent 78%);
}
.hero > .container { position: relative; z-index: 2; }
.hero h1 { color: #fff; max-width: 15ch; }
.hero .lede { max-width: 56ch; margin-top: 24px; color: #BDCBD0; }
.hero .btn-row { margin-top: 38px; }
.hero-alt {
  margin-top: 20px; font-size: .9rem; color: #9FB2B8; line-height: 1.7;
}
.hero-alt a {
  color: #D6E2E5; font-weight: 600;
  border-bottom: 1px solid rgba(214,226,229,.35); padding-bottom: 1px;
}
.hero-alt a:hover { color: var(--teal-400); border-color: var(--teal-400); }

/* Inline CTA strip — for pages where the content is the destination */
.cta-strip {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 24px; padding: 30px 34px;
  background: var(--teal-50); border: 1px solid var(--teal-200); border-radius: var(--radius);
}
.cta-strip-text { flex: 1 1 320px; }
.cta-strip h3 { font-size: 1.32rem; margin-bottom: 6px; }
.cta-strip p { font-size: .95rem; color: var(--slate); }
.cta-strip .btn-row { flex: 0 0 auto; }
.section.dark .cta-strip {
  background: rgba(53,148,138,.14); border-color: rgba(95,179,168,.32);
}
.section.dark .cta-strip p { color: #BDCBD0; }
.hero-badges {
  display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 44px;
  padding-top: 28px; border-top: 1px solid rgba(255,255,255,.12);
}
.hero-badges li {
  display: flex; align-items: center; gap: 9px;
  font-size: .86rem; font-weight: 500; color: #AFC0C5;
}
.hero-badges i { color: var(--teal-400); font-size: .92rem; }

/* Page hero (inner pages) */
.page-hero {
  position: relative; overflow: hidden;
  background: var(--charcoal); color: #BDCBD0;
  padding: clamp(54px, 7vw, 86px) 0 clamp(48px, 6vw, 72px);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(820px 460px at 88% 6%, rgba(53,148,138,.26), transparent 64%);
}
.page-hero > .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; max-width: 18ch; }
.page-hero .lede { max-width: 62ch; margin-top: 18px; color: #C3D0D4; }
.page-hero p, .page-hero li { color: #C3D0D4; }
.page-hero a:not(.btn):not(.crumbs a) { color: #fff; }

.crumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 9px;
  font-size: .81rem; color: #8FA3A9; margin-bottom: 22px;
}
.crumbs a { color: #AFC0C5; }
.crumbs a:hover { color: var(--teal-400); }
.crumbs i { font-size: .6rem; opacity: .55; }
.crumbs [aria-current] { color: #fff; }

/* ==========================================================================
   CARDS + GRIDS
   ========================================================================== */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-auto { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }

.card {
  position: relative;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px;
  transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}
a.card:hover, .card.hoverable:hover {
  border-color: var(--teal-200); box-shadow: var(--shadow); transform: translateY(-3px);
}
.card h3 { margin-bottom: 10px; }
.card p { font-size: .96rem; color: var(--muted); line-height: 1.62; }
.card .textlink { margin-top: 18px; }

.card-ico {
  width: 50px; height: 50px; border-radius: 13px; margin-bottom: 20px;
  display: grid; place-items: center;
  background: var(--teal-50); color: var(--teal-700); font-size: 1.15rem;
}
.card.dark-card { background: var(--charcoal-2); border-color: rgba(255,255,255,.1); }
.card.dark-card h3 { color: #fff; }
.card.dark-card p { color: #A8B8BE; }
.card.dark-card .card-ico { background: rgba(53,148,138,.18); color: var(--teal-400); }

/* Specialty card with number */
.spec-card { display: flex; flex-direction: column; height: 100%; }
.spec-card .spec-num {
  position: absolute; top: 24px; right: 26px;
  font-family: var(--serif); font-size: 2.1rem; color: var(--mist-2); line-height: 1;
}
.spec-card p { flex: 1; }
.spec-card .tags {
  display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px;
}
.spec-card .tags span {
  font-size: .74rem; font-weight: 500; color: var(--slate);
  background: var(--mist); border: 1px solid var(--line);
  padding: 4px 10px; border-radius: 999px;
}

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stats.dark { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.1); }
.stat { background: #fff; padding: 30px 24px; text-align: center; }
.stats.dark .stat { background: var(--charcoal); }
.stat-num { font-family: var(--serif); font-size: clamp(2rem, 4vw, 2.85rem); color: var(--teal-700); line-height: 1; }
.stats.dark .stat-num { color: var(--teal-400); }
.stat-label { font-size: .84rem; color: var(--muted); margin-top: 10px; line-height: 1.5; }
.stats.dark .stat-label { color: #9FB0B6; }

/* Split section */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 76px); align-items: center; }
.split.wide-left  { grid-template-columns: 1.15fr .85fr; }
.split.wide-right { grid-template-columns: .85fr 1.15fr; }
.split-media img { width: 100%; border-radius: var(--radius); }

/* Portrait — headshots are modest resolution, so cap the display size
   to keep them crisp rather than letting them scale up. */
.portrait { max-width: 330px; }
.portrait img {
  width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: center 18%;
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
}

/* Checklist */
.checklist li {
  position: relative; padding-left: 32px; margin-bottom: 13px;
  font-size: .98rem; line-height: 1.6;
}
.checklist li::before {
  content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900;
  position: absolute; left: 0; top: 2px; font-size: .72rem;
  width: 20px; height: 20px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--teal-50); color: var(--teal-700);
}
.section.dark .checklist li::before { background: rgba(53,148,138,.2); color: var(--teal-400); }

/* Pill list — conditions & procedures */
.pill-list { display: flex; flex-wrap: wrap; gap: 9px; }
.pill-list li {
  font-size: .89rem; font-weight: 500; color: var(--slate);
  background: #fff; border: 1px solid var(--line);
  padding: 9px 16px; border-radius: 999px; line-height: 1.4;
}
.section.mist .pill-list li { background: #fff; }
.section.dark .pill-list li { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.13); color: #C8D5D9; }

/* Two column list (conditions) */
.col-list { columns: 2; column-gap: 40px; }
.col-list li {
  break-inside: avoid; padding: 9px 0 9px 26px; position: relative;
  font-size: .97rem; border-bottom: 1px solid var(--line);
}
.col-list li::before {
  content: ""; position: absolute; left: 4px; top: 19px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--teal-400);
}

/* --- Surgeon cards -------------------------------------------------------- */
.surgeon-card {
  display: grid; grid-template-columns: 250px 1fr; gap: 0;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.surgeon-photo { background: var(--mist-2); position: relative; min-height: 300px; }
.surgeon-photo img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 16%;
}
.surgeon-body { padding: clamp(28px, 4vw, 42px); }
.surgeon-body h3 { font-size: clamp(1.3rem, 2.4vw, 1.68rem); margin-bottom: 4px; }
.surgeon-role {
  font-size: .78rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase;
  color: var(--teal-700); margin-bottom: 18px;
}
.surgeon-body p { font-size: .97rem; color: var(--muted); }
.cred-list { margin-top: 20px; display: flex; flex-direction: column; gap: 9px; }
.cred-list li {
  display: flex; gap: 11px; font-size: .9rem; color: var(--slate); line-height: 1.55;
}
.cred-list i { color: var(--teal); font-size: .82rem; margin-top: 5px; flex-shrink: 0; width: 15px; }

/* --- Condition finder (A–Z) ---------------------------------------------- */
.finder-search {
  position: relative; max-width: 620px; margin: 0 auto 14px;
}
.finder-search input {
  width: 100%; min-height: 60px; padding: 16px 20px 16px 54px;
  font-size: 16px; color: var(--ink);
  background: #fff; border: 1.5px solid var(--line); border-radius: 999px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.finder-search input:focus {
  outline: none; border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(53,148,138,.14);
}
.finder-search i {
  position: absolute; left: 22px; top: 50%; transform: translateY(-50%);
  color: var(--muted); font-size: 1rem; pointer-events: none;
}
.finder-count { text-align: center; font-size: .88rem; color: var(--muted); margin-bottom: 30px; }

.az-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-bottom: 40px; }
.az-nav a, .az-nav span {
  display: grid; place-items: center; min-width: 40px; min-height: 40px; padding: 0 6px;
  font-size: .86rem; font-weight: 600; border-radius: 9px;
  background: #fff; border: 1px solid var(--line); color: var(--slate);
}
.az-nav a:hover { background: var(--teal-700); border-color: var(--teal-700); color: #fff; }
.az-nav span { opacity: .34; }

.az-group { margin-bottom: 42px; scroll-margin-top: 130px; }
.az-letter {
  font-family: var(--serif); font-size: 1.9rem; color: var(--teal-700);
  padding-bottom: 10px; margin-bottom: 18px; border-bottom: 2px solid var(--teal-50);
}
.az-items { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 10px; }
.az-item {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 14px 18px; min-height: 56px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-size: .95rem; color: var(--ink);
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
.az-item:hover { border-color: var(--teal-200); background: var(--teal-50); transform: translateX(3px); }
.az-item .az-spec {
  font-size: .72rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
  color: var(--teal-700); white-space: nowrap; flex-shrink: 0;
}
.az-empty { text-align: center; padding: 60px 20px; color: var(--muted); display: none; }

/* --- Accordion (FAQ / safety info) --------------------------------------- */
.accordion { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-btn {
  display: flex; align-items: center; justify-content: space-between; gap: 18px; width: 100%;
  padding: 22px 4px; min-height: 60px;
  font-family: var(--sans); font-size: 1.02rem; font-weight: 600; color: var(--ink);
  background: none; border: 0; cursor: pointer; text-align: left; line-height: 1.5;
}
.acc-btn:hover { color: var(--teal-700); }
.acc-btn .acc-sign {
  flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; font-size: .72rem;
  background: var(--teal-50); color: var(--teal-700); transition: transform .25s ease, background .2s ease;
}
.acc-btn[aria-expanded="true"] .acc-sign { transform: rotate(45deg); background: var(--teal-700); color: #fff; }
.acc-content { display: none; padding: 0 4px 26px; }
.acc-content.open { display: block; }
.acc-content p, .acc-content li { font-size: .97rem; color: var(--muted); line-height: 1.7; }
.acc-content ul { margin: 10px 0 0; }
.acc-content ul li { position: relative; padding-left: 20px; margin-bottom: 8px; }
.acc-content ul li::before { content: ""; position: absolute; left: 4px; top: 11px; width: 5px; height: 5px; border-radius: 50%; background: var(--teal-400); }

/* --- Notices -------------------------------------------------------------- */
.notice {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 22px 24px; border-radius: var(--radius);
  background: var(--teal-50); border: 1px solid var(--teal-200);
}
.notice i { color: var(--teal-700); font-size: 1.1rem; margin-top: 3px; flex-shrink: 0; }
.notice h4 { margin-bottom: 5px; font-family: var(--sans); font-size: 1rem; font-weight: 600; }
.notice p { font-size: .93rem; color: var(--slate); }
.notice.urgent { background: #FDF3F1; border-color: #F2D2CA; }
.notice.urgent i { color: #B4452F; }
.notice.plain { background: var(--mist); border-color: var(--line); }
.notice.plain i { color: var(--muted); }
.notice.plain p { color: var(--muted); font-size: .88rem; }

/* --- Location cards ------------------------------------------------------- */
.loc-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
}
.loc-map iframe { width: 100%; height: 240px; border: 0; display: block; filter: grayscale(.28) contrast(1.02); }
.loc-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.loc-state {
  font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--teal-700); margin-bottom: 9px;
}
.loc-body h3 { font-size: 1.32rem; margin-bottom: 14px; }
.loc-lines { font-size: .95rem; color: var(--muted); line-height: 1.72; margin-bottom: 18px; flex: 1; }
.loc-meta { display: flex; flex-direction: column; gap: 9px; margin-bottom: 20px; }
.loc-meta a, .loc-meta span {
  display: flex; align-items: center; gap: 11px; font-size: .95rem; color: var(--ink); min-height: 32px;
}
.loc-meta i { color: var(--teal); width: 16px; font-size: .9rem; }
.loc-meta a:hover { color: var(--teal-700); }

/* --- Forms ---------------------------------------------------------------- */
.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 46px); box-shadow: var(--shadow);
}
.field { margin-bottom: 20px; }
.field label {
  display: block; font-size: .88rem; font-weight: 600; color: var(--ink); margin-bottom: 8px;
}
.field .req { color: #B4452F; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 14px 16px;
  font-size: 16px; color: var(--ink); background: #fff;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { min-height: 132px; resize: vertical; line-height: 1.6; }
.field select { appearance: none; background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%2364757E' d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; background-size: 12px; padding-right: 44px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(53,148,138,.13);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-note { font-size: .84rem; color: var(--muted); line-height: 1.6; margin-top: 16px; }
.form-status { display: none; margin-top: 18px; padding: 16px 18px; border-radius: var(--radius-sm); font-size: .93rem; }
.form-status.show { display: block; }
.form-status.ok { background: var(--teal-50); color: var(--teal-900); border: 1px solid var(--teal-200); }

/* --- Affiliations strip --------------------------------------------------- */
.affil { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.affil li {
  background: #fff; padding: 26px 22px; display: flex; align-items: center; gap: 13px;
  font-size: .94rem; font-weight: 500; color: var(--ink); line-height: 1.45;
}
.affil i { color: var(--teal); font-size: 1rem; flex-shrink: 0; }

/* --- CTA band ------------------------------------------------------------- */
.cta-band {
  position: relative; overflow: hidden;
  background: var(--teal-900); color: #CFE4E0;
  padding: clamp(56px, 7vw, 92px) 0;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(760px 420px at 82% 18%, rgba(95,179,168,.32), transparent 64%);
}
.cta-band > .container { position: relative; z-index: 2; }
.cta-band h2 { color: #fff; max-width: 20ch; }
.cta-band .lede { color: #BCD6D1; max-width: 56ch; margin-top: 16px; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }

/* --- Footer --------------------------------------------------------------- */
.site-footer { background: var(--ink); color: #93A6AC; padding: clamp(56px, 7vw, 84px) 0 0; font-size: .92rem; }
.footer-top { display: grid; grid-template-columns: 1.45fr 1fr 1fr 1.2fr; gap: 44px; padding-bottom: 52px; }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-sub { color: var(--teal-400); }
.site-footer .brand-sub::before, .site-footer .brand-sub::after { background: rgba(95,179,168,.4); }
.footer-blurb { margin-top: 20px; line-height: 1.7; max-width: 38ch; font-size: .9rem; }
.footer-social { display: flex; gap: 10px; margin-top: 22px; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(255,255,255,.06); color: #C3D0D4; transition: background .2s ease, color .2s ease;
}
.footer-social a:hover { background: var(--teal-700); color: #fff; }
.footer-col h4 {
  font-family: var(--sans); font-size: .76rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: #fff; margin-bottom: 20px;
}
.footer-col li { margin-bottom: 11px; }
.footer-col a:hover { color: var(--teal-400); }
.footer-offices li { margin-bottom: 18px; line-height: 1.6; }
.footer-offices strong { display: block; color: #fff; font-size: .88rem; font-weight: 600; margin-bottom: 3px; }
.footer-offices a { color: var(--teal-400); }
.footer-disclaimer {
  border-top: 1px solid rgba(255,255,255,.1); padding: 28px 0;
  font-size: .8rem; line-height: 1.7; color: #7A8C93;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0 30px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  font-size: .82rem; color: #7A8C93;
}
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-bottom a:hover { color: var(--teal-400); }

/* --- Prose (legal pages) -------------------------------------------------- */
.prose { max-width: var(--max-text); }
.prose h2 { font-size: clamp(1.4rem, 2.6vw, 1.85rem); margin: 44px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.15rem; margin: 30px 0 10px; }
.prose p, .prose li { color: var(--muted); }
.prose ul { margin: 14px 0 22px; }
.prose ul li { position: relative; padding-left: 22px; margin-bottom: 9px; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: 12px; width: 5px; height: 5px; border-radius: 50%; background: var(--teal-400); }

/* --- Scroll reveal --------------------------------------------------------
   Scoped to .js so that if JavaScript fails or is blocked, every section is
   visible by default rather than stranded at opacity: 0. */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.22,.9,.3,1); }
.js .reveal.visible { opacity: 1; transform: none; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1080px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
  .menu, .nav-phone { display: none; }
  .hamburger { display: block; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .split, .split.wide-left, .split.wide-right { grid-template-columns: 1fr; }
  .split-media { order: -1; }
  .affil { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --nav-h: 68px; }
  body { font-size: 16.5px; padding-bottom: 60px; }
  .topbar .container { min-height: 38px; justify-content: center; }
  .topbar-left { display: none; }
  .topbar-right { gap: 18px; }
  .actionbar { display: block; }
  .grid-2, .grid-3, .grid-4, .grid-auto { grid-template-columns: 1fr; }
  .col-list { columns: 1; }
  .surgeon-card { grid-template-columns: 1fr; }
  .surgeon-photo { position: relative; min-height: 0; height: 300px; }
  .cta-inner { flex-direction: column; align-items: flex-start; gap: 28px; }
  .cta-band .btn-row { width: 100%; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .hero::after { display: none; }
  .hero-badges { gap: 12px; }
  .hero-badges li { width: 100%; }
  .az-items { grid-template-columns: 1fr; }
  .cta-strip { padding: 26px 22px; }
  .cta-strip .btn-row { width: 100%; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .loc-map iframe { height: 200px; }
  .btn-row { flex-direction: column; }
  .btn-row .btn,
  .drawer-cta .btn,
  .form-card button[type="submit"] { width: 100%; }
  /* The sticky action bar and drawer cover these on phones */
  .nav-actions > .btn { display: none; }
}

@media (max-width: 560px) {
  .footer-top { grid-template-columns: 1fr; gap: 34px; }
  .stats { grid-template-columns: 1fr; }
  .affil { grid-template-columns: 1fr; }
  .card { padding: 26px 22px; }
  .az-nav a, .az-nav span { min-width: 36px; min-height: 36px; font-size: .8rem; }
}

@media (max-width: 400px) {
  .container { padding-inline: 18px; }
  .brand-sub { letter-spacing: .2em; font-size: .52rem; }
  .actionbar a { font-size: .66rem; }
}

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

@media print {
  .site-header, .topbar, .actionbar, .drawer, .cta-band, .btn, .footer-social { display: none !important; }
  body { color: #000; }
}
