:root {
  color-scheme: dark;
  --silver: #f5f4f1;
  --night: #050506;
  --panel: #0b0c0f;
  --white: #fffefa;
  /* Gold tones sampled from the shield artwork. */
  --gold-rgb: 252 199 88;
  --gold: rgb(var(--gold-rgb));
  --gold-hi: #fcebb7;
  --gold-mid: #d68b25;
  --gold-lo: #aa6309;
  --gold-shadow: #693502;
  --gold-glint: #fff5d9;
  --gold-reflections: var(--gold-mid), var(--gold) 28%, var(--gold-hi) 51%, var(--gold-glint) 54%, var(--gold-hi) 57%, var(--gold) 80%, var(--gold-mid);
  --gold-lettering: linear-gradient(180deg, var(--gold-reflections));
  --gold-finish: linear-gradient(100deg, var(--gold-reflections));
  --gold-line: linear-gradient(90deg, transparent, var(--gold-mid) 22%, var(--gold-hi) 51%, var(--gold-glint) 54%, var(--gold-hi) 57%, var(--gold-mid) 82%, transparent);
  --button-bevel: inset 0 1px 0 var(--gold-hi), inset 1px 0 0 rgb(var(--gold-rgb) / 55%),
    inset 0 -2px 0 var(--gold-lo), inset -1px 0 0 var(--gold-lo), 0 2px 0 var(--gold-shadow);
  --muted: #eaeae7;
  --rule: #2a2418;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --gutter: clamp(1.25rem, 5vw, 5rem);
}
* { box-sizing: border-box; }
html { background: var(--night); }
body {
  margin: 0;
  min-height: 100vh;
  isolation: isolate;
  color: var(--silver);
  font: 1rem/1.6 "Segoe UI", Arial, sans-serif;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: linear-gradient(rgb(5 5 6 / 58%), rgb(5 5 6 / 58%)), url("assets/black-marble-refined.webp?v=uniform-crop");
  background-size: auto, cover;
  background-position: center;
  background-repeat: no-repeat;
}
@media (orientation: portrait) {
  body::before { background-position: center, 72% center; }
}
h1, h2, h3, p, ol { margin: 0; }
img { display: block; }
a { color: inherit; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--gold-hi); outline-offset: 5px; }
.skip { position: absolute; z-index: 11; top: 0; left: 0; transform: translateY(-120%); padding: .8rem; background: var(--panel); color: var(--white); }
.skip:focus { transform: none; }
.shell { width: min(100% - 2 * var(--gutter), 78rem); margin-inline: auto; }
.masthead, footer { background-color: rgb(5 5 6 / 36%); }
.hero {
  color: var(--white);
  background: transparent;
  border-bottom: 2px solid var(--gold-lo);
  border-image: var(--gold-line) 1;
}
.masthead { border-bottom: 2px solid var(--gold-lo); border-image: var(--gold-line) 1; }
.top {
  display: grid;
  grid-template-columns: auto minmax(max-content, 1fr) auto;
  align-items: center;
  gap: clamp(.9rem, 1.6vw, 2rem);
  min-height: 5.6rem;
}
.brand { display: inline-flex; align-items: center; gap: .8rem; text-decoration: none; }
.brand strong, .brand small { display: block; }
.brand strong { color: var(--gold); font: italic 600 1.4rem/1.1 "Segoe UI", sans-serif; letter-spacing: .17em; }
.brand small { margin-top: .3rem; color: var(--silver); font-size: .72rem; line-height: 1.2; letter-spacing: .15em; text-transform: uppercase; }
.top nav { display: flex; gap: clamp(1rem, 2.3vw, 2.25rem); margin-left: auto; }
.top nav a {
  position: relative;
  padding-block: .65rem;
  font-size: .9rem;
  letter-spacing: .16em;
  text-decoration: none;
  text-transform: uppercase;
}
.top nav a { color: #b9b7b2; }
.top nav .login { display: inline-flex; align-items: center; gap: .35em; color: var(--gold-hi); font-weight: 700; white-space: nowrap; }
.login-arrow { font-size: .8em; line-height: 1; }
.top nav a:is(:hover, [aria-current="page"]), .legal a[aria-current="page"] { color: var(--gold-hi); }
.top nav a:is(:hover, [aria-current="page"])::after, .login::after {
  content: "";
  position: absolute;
  inset: auto -.3rem .14rem;
  height: 2px;
  background: var(--gold-line);
  clip-path: polygon(0 50%, 50% 0, 100% 50%, 50% 100%);
}
.login::after { visibility: hidden; }
@media (hover: hover) {
  .login:hover::after { visibility: visible; }
}
.hero { display: grid; grid-template-columns: 1fr 1fr; }
.hero-copy { align-self: center; padding: clamp(3rem, 6.2vw, 6.5rem) max(var(--gutter), calc((100vw - 78rem) / 2)) clamp(3.2rem, 6.5vw, 6.5rem) clamp(1.5rem, 4vw, 5rem); }
.eyebrow { color: var(--gold); font-size: .875rem; font-weight: 600; letter-spacing: .13em; line-height: 1.4; text-transform: uppercase; }
.ruled { display: flex; align-items: center; gap: .85rem; }
.ruled::before { content: ""; width: 2rem; height: 1px; background: var(--gold); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; color: var(--white); }
h1 { margin-block: 1.65rem; font-size: clamp(3.45rem, 6.5vw, 6.2rem); line-height: 1.02; letter-spacing: -.057em; }
h1 em { color: var(--gold); }
@supports (background-clip: text) {
  @media (forced-colors: none) {
    .brand strong, h1 em, p.signature {
      background-image: var(--gold-lettering);
      background-clip: text;
      color: transparent;
    }
    .brand strong, h1 em {
      display: inline-block;
      padding-right: .08em;
      margin-right: -.08em;
    }
    h1 em {
      /* Give the italic glyphs room outside the heading's tight line box. */
      padding: .22em .12em;
      margin: -.22em -.12em;
    }
  }
}
.intro { max-width: 29rem; font-size: clamp(1.05rem, 1.4vw, 1.18rem); color: var(--silver); }
.hero-photo { width: 100%; height: 100%; min-height: 0; object-fit: cover; object-position: 67% center; }
.button { display: inline-block; padding: .86rem 1.65rem; color: #0a0803; background: var(--gold) var(--gold-finish); border: 1px solid var(--gold-lo); box-shadow: var(--button-bevel); font-weight: 600; text-decoration: none; }
.button:hover { box-shadow: var(--button-bevel), 0 0 26px rgb(var(--gold-rgb) / 40%); }
.hero-actions { justify-content: center; }
.membership { background-color: rgb(5 5 6 / 15%); border-block: 2px solid var(--gold-lo); border-image: var(--gold-line) 1; }
.content { padding-block: clamp(3.5rem, 6.5vw, 6.25rem); }
h2 { margin-top: .8rem; font-size: clamp(2.45rem, 4.1vw, 4.15rem); line-height: 1.05; letter-spacing: -.045em; }
.service-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: start;
  gap: clamp(.7rem, 1.5vw, 1.2rem);
  margin-top: clamp(1.35rem, 3vw, 2.5rem);
}
.service-list details {
  position: relative;
  border-top: 1px solid var(--gold-lo);
  border-bottom: 1px solid var(--rule);
  background-color: rgb(11 12 15 / 72%);
}
.service-list summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: .55rem;
  min-height: 5.5rem;
  padding: .8rem clamp(.65rem, 1.5vw, 1.15rem);
  color: var(--white);
  font: 600 clamp(1.2rem, 1.9vw, 1.55rem)/1.1 var(--serif);
  cursor: pointer;
  list-style: none;
}
.service-list summary::-webkit-details-marker { display: none; }
.service-list summary::after {
  content: "+" / "";
  display: grid;
  place-items: center;
  width: 1.45rem;
  height: 1.45rem;
  border: 1px solid var(--gold-lo);
  border-radius: 50%;
  color: var(--gold);
  font: 400 1.05rem/1 Arial, sans-serif;
}
.service-list details[open] summary::after { content: "−" / ""; }
.service-list details[open], .service-list summary:hover { background-color: #18150f; }
.service-list details[open] { z-index: 2; }
.service-list p {
  position: absolute;
  z-index: 1;
  inset-block-start: 100%;
  inset-inline-start: 0;
  inline-size: max(100%, 17rem);
  max-inline-size: calc(100vw - 2 * var(--gutter));
  padding: 1rem clamp(.85rem, 1.5vw, 1.25rem);
  border: 1px solid var(--gold-lo);
  background: #18150f;
  box-shadow: 0 .7rem 1.5rem rgb(0 0 0 / 55%);
  color: var(--muted);
}
.text-link { display: inline-block; font-weight: 600; text-decoration-color: var(--gold); text-underline-offset: .35em; text-decoration-thickness: 1px; }
.text-link:hover { color: var(--gold); }
h3 { font-size: 1.6rem; }
.home-benefits h2 { margin: 0; font-family: inherit; }
.home-benefit-list p { color: var(--muted); }
.membership-inner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; padding-block: clamp(3rem, 5.5vw, 5rem); }
.membership-inner h2 { text-wrap: balance; }
.membership .button { flex-shrink: 0; }
.foot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 1.25rem;
  padding-block: 1.65rem 1.45rem;
  color: var(--muted);
  font-size: .9rem;
}
.footer-brand { display: flex; align-items: center; gap: .75rem; text-align: left; }
.footer-brand img { width: auto; height: 3.25rem; flex: none; }
.footer-meta { text-align: center; }
.signature { font: italic 1.1rem/1.6 var(--serif); color: var(--gold); }
.header-signature { text-align: center; font-size: clamp(1.15rem, 1.5vw, 1.45rem); }
.legal { display: flex; justify-self: end; justify-content: center; gap: 1.2rem; }

/* Shared sections for the interior pages */
.feature {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
}
.feature-image {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--gold-lo);
}
.feature h1, .document h1 {
  font-size: clamp(3rem, 5.2vw, 5.5rem);
  margin-block: .8rem 1.1rem;
}
.feature .intro { max-width: 34rem; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 1.65rem; }
.membership-intro h1 { text-wrap: balance; }
.section-rule { border-top: 2px solid var(--gold-lo); border-image: var(--gold-line) 1; }
.feature-image--unframed { border: 0; }
.portrait { width: min(100%, 25rem); aspect-ratio: 4 / 5; object-position: center 23%; justify-self: center; }
.physician-bio { container-type: inline-size; }
.physician-bio h1 { font-size: min(4.6rem, 8.6cqi); white-space: nowrap; }
.story { align-items: start; }
/* About photo: fills its whole column and the full height of the bio, and reaches into the empty space above and below the text, so it is larger without making the section taller (computers; tablets and phones keep the standard portrait) */
@media (min-width: 1101px) {
  .story { --photo-bleed: calc(clamp(3.5rem, 6.5vw, 6.25rem) - 1.5rem); }
  .story .portrait { width: 100%; height: 0; min-height: calc(100% + 2 * var(--photo-bleed)); margin-block: calc(-1 * var(--photo-bleed)); aspect-ratio: auto; align-self: start; object-position: center 20%; }
}
.story-photo { align-self: center; }
.story h2 { margin-bottom: 1.15rem; }
.story p + p, .document p + p { margin-top: .95rem; }
.credential-list, .benefit-grid, .home-benefit-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.7rem 2.75rem;
  margin: 1.8rem 0 0;
  padding: 0;
  list-style: none;
}
.benefit-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.credential-list > li, .benefit-grid > li, .home-benefit-list > li {
  border-top: 1px solid var(--gold-lo);
  padding-top: 1rem;
}
.credential-list h3, .benefit-grid h3, .home-benefit-list h3 { margin-bottom: .4rem; }
.credential-list ul { margin: .75rem 0 0; padding-left: 1.2rem; }
.credential-list li li + li { margin-top: .35rem; }
.visit-steps { margin: 1.4rem 0 0; padding: 0; list-style: none; counter-reset: visit-step; }
.visit-steps li {
  position: relative;
  min-height: 2rem;
  padding: .22rem 0 1.1rem 3rem;
  counter-increment: visit-step;
}
.visit-steps li:last-child { padding-bottom: 0; }
.visit-steps li::before {
  content: counter(visit-step);
  position: absolute;
  inset: 0 auto auto 0;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--gold-lo);
  border-radius: 50%;
  background: var(--night);
  color: var(--gold-hi);
  font-size: .85rem;
}
.visit-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  inset: 2rem auto 0 1rem;
  width: 1px;
  background: var(--gold-lo);
}
.schedule-details h2::after {
  content: "";
  display: block;
  width: min(100%, 8rem);
  height: 1px;
  margin-top: .8rem;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.booking-info { padding-block: clamp(1.8rem, 4vw, 3.25rem); text-align: center; }
.booking-info h2 { margin: 0; font-size: clamp(2rem, 3.3vw, 3rem); }
.booking-notes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem clamp(1.8rem, 5vw, 4.5rem);
  max-width: 64rem;
  margin: 1.25rem auto 0;
}
.booking-notes > div { padding-top: .85rem; border-top: 1px solid rgb(var(--gold-rgb) / 38%); }
.booking-notes dt { color: var(--white); font-weight: 600; }
.booking-notes .emergency-label { color: var(--gold-hi); }
.booking-notes dd { margin: .35rem auto 0; max-width: 58ch; color: var(--muted); font-size: .875rem; line-height: 1.55; }
.supporting-copy { margin-top: 1.35rem; max-width: 68ch; font-size: .8125rem; }
.panel {
  background: rgb(5 5 6 / 55%);
  padding: clamp(1.2rem, 3vw, 2.4rem);
  border: 1px solid var(--gold-lo);
}
.waitlist-layout { max-width: 44rem; }
.waitlist-layout h2 { margin: 0 0 1.5rem; text-align: center; text-wrap: balance; }
.waitlist-fields { margin: 0; padding: 0; border: 0; min-width: 0; display: grid; gap: .9rem; }
.waitlist-submit { margin-top: 1.25rem; text-align: center; }
.supporting-copy, .waitlist-disclaimers {
  padding-top: .85rem;
  border-top: 1px solid rgb(var(--gold-rgb) / 35%);
  color: var(--muted);
  line-height: 1.55;
}
.waitlist-disclaimers {
  max-width: 62ch;
  margin: 0 auto 1.15rem;
  font-size: .875rem;
}
.waitlist-disclaimers p + p { margin-top: .55rem; }
.waitlist-submit .button { font-size: .875rem; letter-spacing: .13em; text-transform: uppercase; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; }
.field-row label, .field > span { display: block; }
.field input { display: block; width: 100%; border: 1px solid #858076; border-radius: 0; background: #181819; color: var(--white); min-height: 44px; margin-top: .3rem; padding: .45rem .6rem; font: inherit; opacity: 1; }
.form-choice { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin: 0; padding: 0; border: 0; }
.form-choice legend { margin-bottom: .35rem; }
.form-choice input { margin: 0 .25rem 0 0; }
.document { width: min(100% - 2 * var(--gutter), 72ch); }
.document h2 { font-size: clamp(1.7rem, 3.2vw, 2.35rem); margin: 2rem 0 .6rem; padding-top: 1.15rem; border-top: 1px solid var(--gold-lo); }
.document a { text-decoration-color: var(--gold); text-underline-offset: .2em; }
.document .intro { max-width: none; margin-bottom: 2rem; }
.schedule-hero {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  grid-template-areas: "title image" "contact contact";
  gap: clamp(1.5rem, 3vw, 2.75rem);
  padding-block: clamp(2.5rem, 4vw, 4rem);
}
.schedule-hero h1 { grid-area: title; margin: 0; text-wrap: balance; }
.schedule-hero .feature-image { grid-area: image; aspect-ratio: 2.65 / 1; object-position: center 72%; }
.schedule-contact {
  grid-area: contact;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem clamp(1.25rem, 4vw, 3.25rem);
}
.contact-option {
  display: grid;
  grid-row: span 4;
  grid-template-rows: subgrid;
  justify-items: center;
  align-items: center;
  padding: clamp(1.4rem, 3vw, 2.4rem) clamp(1rem, 3vw, 2.5rem);
  border: 1px solid rgb(var(--gold-rgb) / 27%);
  background: var(--gold-finish) left top / 2.25rem 2px no-repeat, var(--panel);
  text-align: center;
}
.contact-option .eyebrow { margin: 0; font-family: inherit; letter-spacing: .16em; }
.contact-option .button {
  display: grid;
  place-items: center;
  min-height: 3.15rem;
  width: min(100%, 15rem);
  padding: .7rem .6rem;
  font-size: .8125rem;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.contact-detail { color: var(--white); font-size: clamp(1.2rem, 2.3vw, 1.65rem); font-weight: 300; overflow-wrap: anywhere; }
.contact-note { align-self: start; max-width: 48ch; color: var(--muted); font-size: .9375rem; line-height: 1.55; }
.contact-option:last-child .contact-note { font-size: .875rem; }
.contact-note::before {
  content: "";
  display: block;
  width: 2.25rem;
  height: 1px;
  margin: 0 auto .65rem;
  background: var(--gold-line);
}

@media (max-width: 1140px) {
  .top { display: flex; flex-wrap: wrap; justify-content: space-between; row-gap: 0; padding-block: .65rem .5rem; }
  .header-signature { flex: 0 0 100%; order: 2; font-size: 1.2rem; }
}
@media (max-width: 1100px) {
  .service-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1101px) {
  .service-list details:nth-child(5n) > p { inset-inline: auto 0; }
}
@media (761px <= width <= 1100px) {
  .service-list details:nth-child(3n) > p { inset-inline: auto 0; }
}
@media (max-width: 950px) {
  .benefit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .top { flex-wrap: wrap; gap: 0 1rem; padding-block: .85rem .25rem; }
  .brand img { width: 43px; height: 43px; }
  .top nav { order: 3; width: 100%; gap: .55rem; justify-content: space-between; border-top: 1px solid var(--rule); margin-top: .7rem; }
  .top nav a { min-height: 44px; display: inline-flex; align-items: center; font-size: .76rem; letter-spacing: .09em; }
}
@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 2.8rem var(--gutter); }
  .hero-photo { height: auto; aspect-ratio: 2 / 1; object-position: 65% 57%; }
  .membership-inner { align-items: flex-start; flex-direction: column; gap: .6rem; }
  .service-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-list details:nth-child(even) > p { inset-inline: auto 0; }
  .home-benefit-list, .booking-notes { grid-template-columns: minmax(0, 1fr); }
  .membership .button { margin-top: 1rem; }
  .legal a { min-height: 44px; display: inline-flex; align-items: center; }

  .foot { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: .3rem; text-align: center; }
  .foot .legal { justify-self: center; grid-row: 2; }
  .feature, .credential-list { grid-template-columns: minmax(0, 1fr); }
  .feature { gap: 1.65rem; }
  .feature-image { aspect-ratio: 16 / 10; }
  .portrait { width: min(92%, 20rem); aspect-ratio: 4 / 5; }
  .schedule-hero { grid-template-areas: "title" "contact" "image"; }
  .schedule-contact { grid-template-columns: minmax(0, 1fr); }
  .contact-option { grid-row: auto; grid-template-rows: auto; row-gap: .65rem; }
  .schedule-hero .feature-image { aspect-ratio: 16 / 9; }
}
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .45s cubic-bezier(.22,.61,.36,1),
              transform .45s cubic-bezier(.22,.61,.36,1);
}
.reveal.in {
  opacity: 1;
  transform: none;
}

.masthead {
  --header-ease: .45s cubic-bezier(.22,.61,.36,1);
  --header-logo-size: 56px;
  --header-title-size: 1.4rem;
  position: sticky;
  top: 0;
  z-index: 10;
  background-color: rgb(5 5 6 / 95%);
}
.masthead.scrolled {
  --header-logo-size: 44px;
  --header-title-size: 1.2rem;
}
.masthead .top {
  transition: min-height var(--header-ease), padding-block var(--header-ease);
}
.masthead.scrolled .top { min-height: 4.35rem; }
.masthead .brand img {
  width: var(--header-logo-size);
  height: var(--header-logo-size);
  object-fit: contain;
  transition: width var(--header-ease), height var(--header-ease);
}
.masthead .brand strong {
  font-size: var(--header-title-size);
  transition: font-size var(--header-ease);
}
html {
  scroll-padding-top: 6.25rem;
  overflow-anchor: none;
}

@media (max-width: 1140px) {
  html { scroll-padding-top: 8rem; }
}
@media (max-width: 820px) {
  html { scroll-padding-top: 10rem; }
  .masthead { --header-logo-size: 43px; }
  .masthead.scrolled { --header-logo-size: 36px; }
  .masthead.scrolled .top { padding-block: .4rem .2rem; }
}
@media (max-width: 600px) {
  :root { --gutter: clamp(1rem, 5vw, 1.5rem); }
  html { scroll-padding-top: 10.5rem; }
  .masthead { --header-logo-size: 36px; --header-title-size: 1.2rem; }
  .masthead.scrolled { --header-logo-size: 28px; --header-title-size: 1.05rem; }
  .masthead .top {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "brand" "signature" "nav";
    width: calc(100% - 1.5rem);
    gap: .15rem;
    padding-block: .5rem 0;
  }
  .masthead.scrolled .top { padding-block: .4rem 0; }
  .brand {
    grid-area: brand;
    justify-self: center;
    flex-direction: column;
    gap: .25rem;
    text-align: center;
  }
  .brand small { margin-top: .18rem; font-size: .65rem; }
  .header-signature { grid-area: signature; font-size: 1.025rem; line-height: 1.3; }
  .top nav { grid-area: nav; margin: 0; gap: .25rem; }
  .top nav a {
    padding-block: .4rem;
    padding-inline: .0625rem;
    font-size: clamp(.625rem, 2.9vw, .8rem);
    letter-spacing: .045em;
    white-space: nowrap;
  }

  .content, .hero-copy, .membership-inner, .booking-info { padding-block: 2.25rem; }
  .hero-photo { aspect-ratio: 16 / 9; }
  .hero-copy h1 { margin-block: 0 .85rem; font-size: clamp(3rem, 11vw, 4.4rem); }
  .feature h1, .document h1 { margin-block: 0 .8rem; font-size: clamp(2.4rem, 9vw, 3.7rem); }
  .physician-bio h1 { margin-top: .5rem; font-size: min(3rem, 10.4cqi); }
  h2 { font-size: clamp(2.1rem, 8.5vw, 3rem); }
  h3 { line-height: 1.2; }
  .intro { font-size: 1.0625rem; }
  .actions { margin-top: 1.25rem; }
  .button { min-height: 44px; }
  .membership-inner { gap: 1.25rem; }
  .membership .button { margin-top: 0; }

  .service-list, .field-row, .benefit-grid { grid-template-columns: minmax(0, 1fr); }
  .service-list { gap: .55rem; }
  .service-list summary { min-height: 3.4rem; font-size: 1.34rem; padding-inline: .85rem; }
  .service-list details > p { inline-size: 100%; padding-inline: .85rem; }
  .credential-list, .benefit-grid, .home-benefit-list { gap: 1.15rem; margin-top: 1.25rem; }
  .story h2 { margin-top: 0; }
  .schedule-details { row-gap: 2rem; }
  .booking-notes { row-gap: 1rem; }
  .form-choice { column-gap: 1.25rem; }
  .form-choice label { display: inline-flex; align-items: center; gap: .35rem; min-height: 44px; }
  .waitlist-layout .panel { padding: 1.1rem; }
  .document { overflow-wrap: anywhere; }
  .document ul, .credential-list ul { padding-inline-start: 1.15rem; }
}

@media (480px <= width <= 1024px) and (max-height: 500px) and (orientation: landscape) {
  html { scroll-padding-top: 5rem; }
  .masthead { --header-logo-size: clamp(30px, 5.75vw, 36px); --header-title-size: clamp(1rem, 2.8vw, 1.1rem); }
  .masthead.scrolled { --header-logo-size: 28px; --header-title-size: 1rem; }
  .masthead .top, .masthead.scrolled .top {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr) max-content;
    grid-template-areas: "brand signature nav";
    width: calc(100% - 1.5rem);
    min-height: 0;
    gap: .2rem clamp(.6rem, 1.5vw, 1.2rem);
    padding-block: .35rem;
  }
  .masthead.scrolled .top { padding-block: .2rem; }
  .brand { grid-area: brand; justify-self: center; flex-direction: row; gap: .35rem; text-align: left; line-height: 1; }
  .brand small { margin-top: .2rem; font-size: clamp(.55rem, 1.45vw, .6rem); letter-spacing: .12em; }
  .header-signature {
    grid-area: signature;
    font-size: clamp(.75rem, 1.85vw, 1rem);
    line-height: 1.15;
    text-wrap: balance;
  }
  .top nav {
    grid-area: nav;
    width: auto;
    margin: 0;
    gap: clamp(.4rem, 2.5vw - .5rem, 1.1rem);
    justify-content: flex-end;
    border: 0;
  }
  .top nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: .25rem .08rem;
    font-size: clamp(.625rem, 1.55vw, .78rem);
    letter-spacing: .055em;
    white-space: nowrap;
  }
}

@media (480px <= width < 560px) and (max-height: 500px) and (orientation: landscape) {
  html { scroll-padding-top: 6rem; }
  .masthead .top, .masthead.scrolled .top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas: "brand signature" "nav nav";
    gap: .15rem .5rem;
    padding-block: .25rem 0;
  }
  .masthead.scrolled .top { padding-block: .1rem 0; }
  .top nav { justify-content: center; }
}

@media (max-width: 600px), (480px <= width <= 1024px) and (max-height: 500px) and (orientation: landscape) {
  .membership-intro { container-type: inline-size; }
  .membership-intro h1 {
    font-size: min(11.5cqi, clamp(2.4rem, 9vw, 3.7rem));
    white-space: nowrap;
  }
  .membership-intro h1 em { display: block; width: fit-content; }
  .schedule-hero h1 { text-align: center; }
  .membership-inner { flex-direction: column; align-items: flex-start; gap: 1.25rem; }
  .membership .button { align-self: center; margin-block-start: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .masthead .top,
  .masthead .brand img,
  .masthead .brand strong { transition: none; }
}

.waitlist-submit button { cursor: pointer; font-family: inherit; }
.waitlist-submit button:disabled { cursor: wait; opacity: .7; }
.waitlist-submit button:focus-visible { outline: 3px solid var(--gold-hi); outline-offset: 5px; }
#waitlist-status:empty { display: none; }
#waitlist-status { margin: .85rem 0 0; }
