:root {
  --violet: #5f79ff;
  --mint: #01fe93;
  --orange: #ff4d00;
  --orange-deep: #d63e00;
  --ink: #000000;
  --ash: #4d4d4d;
  --slate: #707070;
  --smoke: #9c9c9c;
  --mist: #a6a6a6;
  --fog: #f5f5f5;
  --tint: #d9defc;
  --white: #ffffff;
  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: "Segoe UI", system-ui, -apple-system, sans-serif;
  --max: 1200px;
  --r-card: 16px;
  --r-pill: 100px;
  --shadow: 0 0 48px rgba(0, 0, 0, 0.1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font: 15px/1.4 var(--sans);
  color: var(--ink);
  background: var(--white);
  letter-spacing: -0.01em;
}
a { color: var(--violet); text-decoration: none; }
a:hover { color: var(--ink); }
img { max-width: 100%; }

.float-wrap {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 16px 16px 0;
}
.float-nav {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 14px 10px 18px;
  background: var(--white);
  border-radius: var(--r-card);
  box-shadow: var(--shadow);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 15px;
  letter-spacing: -0.017em;
}
.brand svg { display: block; }
.nav-links { display: flex; gap: 8px; align-items: center; flex-wrap: nowrap; }
.nav-links a {
  color: var(--ink);
  padding: 8px 10px;
  font-size: 15px;
}
.nav-links a:hover { color: var(--violet); }
.nav-drop { position: relative; }
.nav-drop summary {
  list-style: none;
  cursor: pointer;
  font-size: 15px;
  color: var(--ink);
  padding: 8px 10px;
}
.nav-drop summary::-webkit-details-marker { display: none; }
.nav-drop summary:hover { color: var(--violet); }
.nav-drop-panel {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 8px;
  min-width: 240px;
  max-height: 70vh;
  overflow: auto;
  padding: 10px 12px;
  background: var(--white);
  border: 1px solid var(--fog);
  border-radius: var(--r-card);
  box-shadow: var(--shadow);
  z-index: 30;
}
.nav-drop[open] .nav-drop-panel { display: flex; flex-direction: column; gap: 4px; }
.nav-drop-panel a { white-space: nowrap; padding: 6px 8px; }
.nav-toggle {
  display: none;
  border: 1px solid var(--mist);
  background: var(--white);
  border-radius: 12px;
  padding: 6px 12px;
  font: inherit;
}
.phone-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--orange);
  color: var(--white);
  text-decoration: none;
  border-radius: var(--r-pill);
  padding: 10px 20px;
  font-size: 15px;
  letter-spacing: -0.017em;
  white-space: nowrap;
}
.phone-pill:hover { background: var(--orange-deep); color: var(--white); }

/* Sticky mast: brand | centered phone | menu. One unit, not a side pill. */
.mast {
  position: sticky;
  top: 10px;
  z-index: 40;
  margin: 10px 16px 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: var(--white);
  border-radius: var(--r-card);
  box-shadow: var(--shadow);
}
.mast > .brand { justify-self: start; }
.mast > .call-mast-btn { justify-self: center; }
.mast-end {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.brand-name { color: var(--ink); }
.call-mast-btn {
  position: relative;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 280px;
  background: var(--orange);
  color: var(--white);
  text-decoration: none;
  border-radius: 999px;
  padding: 12px 28px 12px 22px;
  line-height: 1.15;
  white-space: normal;
  flex-shrink: 0;
  z-index: 1;
  box-shadow: 0 0 0 0 rgba(255, 77, 0, 0.45);
  animation: call-mast-pulse 2.2s ease-out infinite;
}
.call-mast-btn:hover { background: var(--orange-deep); color: var(--white); }
.call-mast-ico { display: inline-flex; width: 22px; height: 22px; flex-shrink: 0; }
.call-mast-ico svg { display: block; width: 22px; height: 22px; fill: currentColor; }
.call-mast-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.call-mast-line {
  display: block;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  white-space: nowrap;
  line-height: 1.2;
}
.call-mast-sub {
  display: block;
  font-weight: 500;
  font-size: 12px;
  opacity: 0.92;
  white-space: nowrap;
  line-height: 1.25;
}
@keyframes call-mast-pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 77, 0, 0.5); }
  70% { box-shadow: 0 0 0 14px rgba(255, 77, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 77, 0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .call-mast-btn { animation: none; }
}

.hero.hero-split {
  max-width: var(--max);
  text-align: left;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 28px 36px;
  align-items: center;
}
.hero-copy { min-width: 0; }
.clinic-shot {
  margin: 0;
  border-radius: var(--r-card);
  overflow: hidden;
  background: var(--fog);
}
.clinic-shot img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.edu {
  max-width: var(--max);
  margin: 16px auto 0;
  padding: 10px 24px;
  color: var(--ash);
  font-size: 13px;
  line-height: 1.35;
}
.edu a { color: var(--violet); }

.stage {
  max-width: var(--max);
  margin: 0 auto;
  padding: 48px 24px 0;
}
.hero {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 48px;
  position: relative;
}
.hero .spark {
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--tint);
  opacity: 0.45;
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
}
.hero .spark.a { top: 8px; left: 8%; }
.hero .spark.b { top: 36px; right: 12%; }
.hero .spark.c { bottom: 12px; left: 22%; }
.path {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 0 0 20px;
}
.path a, .path span {
  font-size: 12px;
  color: var(--slate);
  background: var(--fog);
  border-radius: var(--r-pill);
  padding: 4px 10px;
}
.path a { color: var(--violet); }
.reviewed {
  font-size: 12px;
  color: var(--slate);
  margin: 0 0 16px;
}
h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(34px, 6vw, 72px);
  line-height: 0.9;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
}
.lede {
  color: var(--ash);
  font-size: 18px;
  line-height: 1.35;
  margin: 0 auto 16px;
  max-width: 640px;
}
.lede p { margin: 0 0 14px; }
.lede p:last-child { margin-bottom: 0; }

.call-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 720px;
  margin: 28px auto 0;
  padding: 20px 24px;
  background: var(--fog);
  border: 1px solid var(--fog);
  border-radius: var(--r-card);
  text-align: left;
}
.call-band strong { display: block; font-size: 15px; margin-bottom: 4px; }
.call-band p { margin: 0; color: var(--ash); font-size: 13px; }

.chips {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  padding: 8px 0 4px;
  margin: 40px 0 8px;
  -webkit-overflow-scrolling: touch;
}
.chips a {
  flex: 0 0 auto;
  border: 1px solid var(--mist);
  border-radius: var(--r-pill);
  padding: 8px 14px;
  color: var(--ink);
  font-size: 13px;
  background: var(--white);
}
.chips a:hover { border-color: var(--violet); color: var(--violet); }

.rooms { margin: 24px 0 64px; }
.room {
  border: 1px solid var(--fog);
  border-radius: var(--r-card);
  padding: 24px;
  margin: 0 0 16px;
  background: var(--white);
}
.room-kicker {
  color: var(--violet);
  font-size: 12px;
  letter-spacing: 0.04em;
  margin: 0 0 8px;
}
.room h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 0 0 12px;
}
.room p {
  margin: 0 0 12px;
  color: var(--ash);
  max-width: 68ch;
}
.room p:last-child { margin-bottom: 0; }

.sheet {
  margin: 0 0 64px;
}
.sheet h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 30px;
  line-height: 1.18;
  margin: 0 0 8px;
}
.sheet .cap {
  color: var(--slate);
  font-size: 13px;
  margin: 0 0 16px;
}
.scroll { overflow-x: auto; border: 1px solid var(--fog); border-radius: var(--r-card); }
table.pins {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
table.pins th, table.pins td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--fog);
  vertical-align: top;
}
table.pins th { color: var(--slate); font-weight: 400; background: var(--fog); }
table.pins td.quiet { color: var(--slate); white-space: nowrap; }

.az { margin: 0 0 64px; }
.az h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 30px;
  margin: 0 0 16px;
}
.az-block { margin: 0 0 20px; }
.az-block h3 {
  font-size: 12px;
  color: var(--violet);
  letter-spacing: 0.08em;
  margin: 0 0 8px;
}
.az-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px 16px;
}
.az-grid a {
  color: var(--ink);
  font-size: 15px;
  padding: 6px 0;
  border-bottom: 1px solid var(--fog);
}
.az-grid a em {
  color: var(--slate);
  font-style: normal;
  font-size: 12px;
  margin-left: 6px;
}

.river {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 48px;
}
.river a {
  border: 1px solid var(--mist);
  border-radius: var(--r-pill);
  padding: 8px 14px;
  color: var(--ink);
  font-size: 13px;
}

.legal-body { max-width: 68ch; color: var(--ash); }
.legal-body p { margin: 0 0 14px; }
.legal-body h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 24px;
  color: var(--ink);
  margin: 28px 0 10px;
}

.stripe {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  height: 3px;
}
.stripe i:nth-child(1) { background: var(--mint); }
.stripe i:nth-child(2) { background: var(--violet); }
.stripe i:nth-child(3) { background: var(--ink); }

footer {
  background: var(--white);
  padding: 40px 24px 96px;
  color: var(--ash);
  font-size: 13px;
}
.foot {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 24px 48px;
  justify-content: space-between;
}
.foot a { color: var(--ink); }
.foot .mark { color: var(--ink); font-size: 15px; }

.dock-bottom { display: none; }

@media (max-width: 800px) {
  .mast {
    grid-template-columns: auto 1fr auto;
    top: 0;
    margin: 0;
    border-radius: 0;
    gap: 8px;
    padding: 8px 10px;
  }
  .mast > .call-mast-btn { min-width: 0; padding: 8px 12px; gap: 8px; }
  .call-mast-line { font-size: 15px; }
  .call-mast-sub { font-size: 11px; }
  .hero.hero-split { grid-template-columns: 1fr; }
  .hero.hero-split .clinic-shot { order: -1; }
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute;
    left: 16px;
    right: 16px;
    top: 72px;
    flex-direction: column;
    align-items: stretch;
    background: var(--white);
    border: 1px solid var(--fog);
    border-radius: var(--r-card);
    padding: 8px;
    box-shadow: var(--shadow);
  }
  .nav-links[data-open="1"] { display: flex; }
  .nav-drop-panel {
    position: static;
    box-shadow: none;
    border: none;
    max-height: none;
    margin: 0;
    padding: 4px 0 0 12px;
  }
  .az-grid { grid-template-columns: 1fr 1fr; }
  .call-band { flex-direction: column; align-items: stretch; }
  .dock-bottom {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: var(--white);
    border-top: 1px solid var(--fog);
  }
  .dock-bottom .phone-pill { width: 100%; }
  body { padding-bottom: 72px; }
  footer { padding-bottom: 24px; }
}

@media (max-width: 520px) {
  h1 { font-size: 34px; line-height: 1.05; }
  .az-grid { grid-template-columns: 1fr; }
  .stage { padding: 28px 16px 0; }
}
