:root {
  --ink: #172033;
  --blue: #0f4f93;
  --blue-deep: #0b335f;
  --orange: #e07a12;
  --orange-deep: #c2660b;
  --sand: #f4efe6;
  --sage: #e5f0e4;
  --sage-deep: #d5e4d3;
  --paper: #fffcf8;
  --card: #ffffff;
  --line: rgba(23, 32, 51, 0.12);
  --muted: #5a6472;
  --teal: #1c7c78;
  --ok: #146c52;
  --shadow: 0 18px 50px rgba(23, 32, 51, 0.08);
  --serif: Fraunces, "Iowan Old Style", Palatino, serif;
  --sans: Outfit, "Avenir Next", "Segoe UI", sans-serif;
  --max: 1120px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 560; letter-spacing: -0.03em; line-height: 1.05; margin: 0; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  background: var(--ink);
  color: white;
  padding: 8px 12px;
  z-index: 8;
}
.skip:focus { top: 12px; }

.top {
  position: sticky;
  top: 0;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 10px 22px;
  background: rgba(255, 252, 248, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.brand { display: flex; align-items: center; text-decoration: none; color: inherit; min-width: 0; }
.brand img { height: 52px; width: auto; }
.nav { display: flex; gap: 20px; margin-left: auto; }
.top-actions { margin-left: 8px; }
.nav a { color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 600; }
.nav a:hover { color: var(--blue); }
.top-actions { display: flex; gap: 8px; align-items: center; }
.menu {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: white;
  border-radius: 12px;
  padding: 0;
}
.menu span { display: block; height: 2px; margin: 5px 11px; background: var(--ink); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn.solid { background: var(--orange); color: white; }
.btn.solid:hover { background: var(--orange-deep); }
.btn.line { background: white; color: var(--blue-deep); border-color: rgba(11, 51, 95, 0.18); }
.btn.line:hover { border-color: var(--blue); }
.btn.ghost { background: white; color: var(--ink); border-color: var(--line); }

.stage-photo {
  margin: 0;
  height: clamp(300px, 46vh, 500px);
  overflow: hidden;
  background: var(--sage-deep);
}
.stage-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.stage-band {
  max-width: var(--max);
  margin: 0 auto;
  padding: 36px 22px 8px;
  display: grid;
  grid-template-columns: 1.35fr 0.8fr;
  gap: 36px;
  align-items: start;
}
.eyebrow, .section-label, .kicker {
  color: var(--orange-deep);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 12px;
  margin: 0 0 10px;
}
.stage-copy h1 { font-size: clamp(44px, 5vw, 68px); max-width: 12ch; }
.lede, .intro { color: var(--muted); }
.lede { margin-top: 16px; max-width: 46ch; font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

.today {
  background: var(--blue-deep);
  color: white;
  border-radius: 22px;
  padding: 22px;
  box-shadow: var(--shadow);
}
.today .kicker { color: #f2c48a; }
.today .state { font-family: var(--serif); font-size: clamp(28px, 3vw, 40px); font-weight: 560; margin: 6px 0 8px; letter-spacing: -0.03em; }
.today .detail { color: rgba(255, 255, 255, 0.82); }
.hours {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}
.hours div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 8px 12px;
}
.hours strong, .hours span { font-size: 14px; }
.hours span { color: rgba(255, 255, 255, 0.82); font-weight: 500; white-space: nowrap; }

.deal {
  max-width: var(--max);
  margin: 22px auto 0;
  padding: 0 22px;
}
.deal-inner {
  background: var(--orange);
  color: white;
  border-radius: 22px;
  padding: 22px 24px;
  display: grid;
  gap: 8px;
}
.deal .kicker { color: #fff6ea; }
.deal h2 { font-size: clamp(28px, 3vw, 40px); max-width: 18ch; }
.deal p { max-width: 62ch; color: rgba(255, 255, 255, 0.92); }
.deal-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.deal .btn.solid { background: var(--blue-deep); color: white; }
.deal .btn.solid:hover { background: #082646; }
.deal .btn.line { background: transparent; color: white; border-color: rgba(255, 255, 255, 0.7); }

.paths {
  max-width: var(--max);
  margin: 28px auto 0;
  padding: 0 22px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.paths a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  min-height: 88px;
  padding: 14px 16px;
  border-radius: 18px;
  background: white;
  border: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
}
.paths a span { color: var(--teal); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.paths a strong { font-family: var(--serif); font-size: 26px; font-weight: 560; letter-spacing: -0.03em; }
.paths a:hover { background: var(--sand); border-color: transparent; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 64px 22px 8px; }
.wrap h2 { font-size: clamp(34px, 4vw, 52px); margin: 0 0 10px; max-width: 16ch; }
.intro { max-width: 58ch; }

.gallery { display: grid; grid-template-columns: 0.78fr 1.1fr 1.15fr; gap: 14px; }
.gallery figure { margin: 0; }
.gallery img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 22px;
  background: var(--sage);
}
.gallery figure:first-child img { object-position: center 18%; }
.gallery figure:nth-child(2) img { object-position: 28% center; }
.gallery figcaption { margin-top: 8px; color: var(--muted); font-size: 14px; }

.doctors { background: var(--sage); margin-top: 56px; padding-bottom: 56px; }
.doctors .wrap { padding-top: 56px; }
.doc-grid { display: grid; grid-template-columns: minmax(0, 640px); gap: 18px; margin-top: 22px; }
.doc-card {
  background: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.doc-card img { width: 100%; height: 480px; object-fit: cover; object-position: center 20%; }
.doc-copy { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.doc-copy .role { color: var(--teal); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 6px; }
.doc-copy h3 { font-size: 32px; }
.doc-copy p { color: var(--muted); margin-top: 10px; margin-bottom: 18px; }
.doc-copy .btn { margin-top: auto; align-self: flex-start; }

.groups {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 26px;
}
.groups article {
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 8px 18px 16px;
}
.groups h3 {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  padding: 12px 0;
}
.groups a {
  display: block;
  padding: 11px 0;
  border-top: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
}
.groups a:hover { color: var(--orange-deep); }
.groups p { color: var(--muted); font-size: 15px; padding-top: 12px; border-top: 1px solid var(--line); }
.values { margin-top: 18px; color: var(--muted); max-width: 68ch; font-size: 15px; }

.expect { background: var(--sand); margin-top: 56px; padding-bottom: 28px; }
.expect .wrap { padding-bottom: 36px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 22px; }
.step {
  background: white;
  border-radius: 18px;
  padding: 16px 16px 18px;
}
.step .n { font-family: var(--serif); color: var(--orange); font-size: 28px; }
.step h3 { font-family: var(--sans); font-size: 17px; letter-spacing: 0; font-weight: 700; margin-top: 4px; }
.step p { color: var(--muted); margin-top: 6px; font-size: 15px; }

.urgent { background: var(--blue-deep); color: white; }
.urgent-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 36px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.urgent .kicker { color: #f2c48a; }
.urgent h2 { font-size: clamp(32px, 4vw, 46px); max-width: 14ch; }
.urgent p { color: rgba(255, 255, 255, 0.82); max-width: 52ch; margin-top: 8px; }
.urgent .btn.solid { flex: none; }

.book-section { background: var(--paper); padding-bottom: 28px; }
.before {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 22px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  max-width: 760px;
}
.before li {
  padding-left: 16px;
  position: relative;
  color: var(--ink);
}
.before li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  position: absolute;
  left: 0;
  top: 0.55em;
}
.book-panel {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 28px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 22px;
  box-shadow: var(--shadow);
}
form#book-form, .book-side { min-width: 0; }
label { display: grid; gap: 6px; font-size: 13px; font-weight: 700; }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 12px;
  padding: 12px;
  min-height: 46px;
}
textarea { min-height: 90px; resize: vertical; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice { display: flex; gap: 8px; }
.choice label {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  background: var(--paper);
  font-weight: 600;
}
.choice input { width: auto; min-height: 0; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
#book-form { display: grid; gap: 12px; }
#book-form .btn { justify-self: start; min-width: 200px; }
.chips, .slots { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button, .slots button {
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 12px;
  min-height: 44px;
  padding: 8px 10px;
  cursor: pointer;
}
.slots { display: grid; grid-template-columns: repeat(3, 1fr); }
.slots button { display: grid; justify-items: start; text-align: left; }
.slots small { color: var(--muted); font-size: 11px; }
.chips button.on, .slots button.on {
  background: var(--blue-deep);
  color: white;
  border-color: var(--blue-deep);
}
.slots button.on small { color: rgba(255, 255, 255, 0.8); }
.book-side h3 { font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0 8px; color: var(--muted); }
.book-side h3:not(:first-child) { margin-top: 16px; }
.note { min-height: 1.3em; color: var(--orange-deep); font-size: 14px; font-weight: 650; }
.note.ok { color: var(--ok); }
.fine { color: var(--muted); font-size: 13px; }
.status {
  margin-top: 14px;
  border-radius: 16px;
  background: #eef6f3;
  padding: 14px;
}
.status .kicker { margin-bottom: 4px; }
.status .code { font-family: var(--serif); font-size: 36px; letter-spacing: 0.04em; margin: 2px 0; }
.lookup { display: flex; gap: 8px; margin-top: 16px; }
.lookup input { flex: 1; }
.lookup .btn { flex: none; }

.visit-wrap { padding-bottom: 48px; }
.visit-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 14px; margin-top: 18px; }
.map-card, .fact-card {
  border-radius: 22px;
  border: 1px solid var(--line);
  background: white;
  padding: 22px;
}
.map-card {
  background: var(--sand);
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}
.map-card h3, .fact-card h3 { font-size: 28px; }
.map-card p { margin-top: 8px; color: var(--muted); }
.map-card .btn { align-self: start; }
.fact-card dl { display: grid; grid-template-columns: 72px 1fr; gap: 8px 12px; margin: 14px 0 0; }
.fact-card dt { color: var(--muted); font-size: 13px; }
.fact-card dd { margin: 0; }

.site-foot {
  padding: 28px 22px 40px;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.82);
}
.site-foot .inner { max-width: var(--max); margin: 0 auto; display: grid; gap: 6px; }
.site-foot strong { color: white; }
.site-foot a { color: #f2c48a; }
.site-foot .credit { margin-top: 8px; font-size: 13px; line-height: 1.45; color: rgba(255, 255, 255, 0.62); }

.dock { display: none; }

@media (max-width: 980px) {
  .groups { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery figure:first-child { grid-column: 1 / -1; }
  .gallery img { height: 280px; }
}

@media (max-width: 860px) {
  body { overflow-x: hidden; padding-bottom: 84px; }
  .top { padding: 10px 12px; gap: 8px; }
  .brand img { height: 42px; width: auto; max-width: 168px; }
  .menu { display: inline-block; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    padding: 8px 18px 16px;
    gap: 4px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 10px 0; font-size: 18px; }
  .top-actions { margin-left: auto; }
  .top-actions .line, .top-actions .solid { display: none; }
  .stage-photo { height: auto; aspect-ratio: 1024 / 505; }
  .stage-photo img { object-position: center; }
  .stage-band, .doc-grid, .steps, .visit-grid, .book-panel, .before { grid-template-columns: 1fr; }
  .lede { font-size: 16px; }
  .today { padding: 16px 16px 14px; }
  .stage-band { padding-top: 24px; gap: 18px; }
  .stage-copy h1 { font-size: 42px; max-width: none; }
  .paths { grid-template-columns: 1fr 1fr; margin-top: 18px; }
  .paths a { min-height: 76px; }
  .paths a strong { font-size: 22px; }
  .doc-card img { height: 380px; }
  .urgent-inner { flex-direction: column; align-items: flex-start; }
  .slots { grid-template-columns: repeat(2, 1fr); }
  .chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
  .chips button { flex: none; }
  #book-form .btn, .lookup { width: 100%; }
  .lookup { flex-wrap: wrap; }
  .dock {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    gap: 8px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 5;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 252, 248, 0.96);
    border-top: 1px solid var(--line);
    backdrop-filter: blur(12px);
  }
  .dock .btn { width: 100%; }
}

@media (max-width: 640px) {
  .groups, .gallery, .row { grid-template-columns: 1fr; }
  .gallery figure:first-child { grid-column: auto; }
  .gallery img { height: 260px; }
  .paths { grid-template-columns: 1fr 1fr; padding: 0 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
