/* ---------------------------------------------------------------------------
   Crosscourt — conversion landing page (concept 01)
   Rebuilt from the Claude Design prototype "Crosscourt Landing v3.dc.html".
   Values transcribed 1:1 from the prototype's inline styles; the only additions
   are :hover rules (the prototype carried them as style-hover attributes) and
   scroll-margin-top so the sticky header doesn't cover anchored sections.
   --------------------------------------------------------------------------- */

@font-face {
  font-family: "Shapiro95";
  src: url("assets/fonts/shapiro-95-super-wide.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Shapiro45";
  src: url("assets/fonts/shapiro-45-welter-extended.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "DharmaHeavy";
  src: url("assets/fonts/dharma-gothic-heavy.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

:root {
  --ink: #1A1A1A;
  --black: #000000;
  --white: #FFFFFF;
  --warm-white: #FBF7F3;
  --purple-500: #9999FF;
  --purple-700: #7070FF;
  --purple-900: #573AE9;
  --night-100: #2E2E4D;
  --night-700: #171726;
  --night-900: #0F0F1A;
  --gray-400: #E6E6E6;
  --gray-600: #B3B3B3;
  --hairline: rgba(26, 26, 26, 0.12);
  --font-display: "Shapiro95", Arial, Helvetica, sans-serif;
  --font-body: "Shapiro45", Arial, Helvetica, sans-serif;
  --font-condensed: "DharmaHeavy", "Arial Narrow", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
}

a { color: var(--purple-900); text-decoration: none; }
a:hover { color: var(--purple-700); }

img { display: block; }

/* Sticky header is 43px tall; offset anchor scrolling so section tops clear it. */
[id] { scroll-margin-top: 56px; }

.shell {
  max-width: 1180px;
  margin: 0 auto;
  padding-inline: clamp(18px, 4vw, 28px);
}

.eyebrow {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--purple-900);
}

.section-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(24px, 2.7vw, 36px);
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--ink);
}

/* --- buttons ------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.btn--primary {
  min-height: 50px;
  padding: 13px 26px;
  font-size: 11px;
  background: var(--purple-900);
  border-color: var(--purple-900);
  color: var(--white);
}
.btn--primary:hover {
  background: var(--purple-700);
  border-color: var(--purple-700);
  color: var(--white);
}

.btn--outline {
  min-height: 50px;
  padding: 13px 26px;
  font-size: 11px;
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.btn--outline:hover {
  border-color: var(--purple-900);
  color: var(--purple-900);
}

.btn--lilac {
  gap: 12px;
  min-height: 52px;
  padding: 13px 28px;
  font-size: 12px;
  letter-spacing: 0.1em;
  background: var(--purple-500);
  border-color: var(--purple-500);
  color: var(--black);
}
.btn--lilac:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--black);
}

.btn__arrow { font-size: 15px; }

/* --- concept bar --------------------------------------------------------- */

.concept-bar { background: var(--night-900); }

.concept-bar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block: 9px;
}

.concept-bar__tag {
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--purple-500);
  white-space: nowrap;
}

.concept-bar__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
}

.concept-bar__nav a {
  font-size: 13px;
  color: var(--gray-600);
  white-space: nowrap;
}
.concept-bar__nav a:hover { color: var(--purple-500); }

/* --- site header --------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(26, 26, 26, 0.12);
}

.site-header__inner {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 12px;
}

.site-header__logo { height: 17px; width: auto; }

.site-header__right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.site-header__address {
  font-size: 13px;
  color: var(--night-100);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn--header {
  min-height: 44px;
  padding: 11px 24px;
  font-size: 11px;
  background: var(--purple-900);
  border-color: var(--purple-900);
  color: var(--white);
}
.btn--header:hover {
  background: var(--purple-700);
  border-color: var(--purple-700);
  color: var(--white);
}

/* The prototype's header row is nowrap with a non-shrinking CTA, so the
   address pushes it ~90px past the viewport on a 390px phone. The address is
   repeated in the finder and the footer, so drop it rather than shrink the CTA. */
@media (max-width: 560px) {
  .site-header__address { display: none; }
}

/* --- hero ---------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: min(76vh, 520px);
  overflow: hidden;
  background: var(--night-900);
}

.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background: rgba(15, 15, 26, 0.62);
}

.hero__inner {
  position: relative;
  min-height: min(76vh, 520px);
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(64px, 10vw, 90px) clamp(18px, 4vw, 28px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3vw, 26px);
  text-align: center;
}

.hero__eyebrow {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--purple-500);
}

.hero__title {
  margin: 0;
  font-family: var(--font-condensed);
  font-size: clamp(52px, 6.6vw, 96px);
  line-height: 0.88;
  text-transform: uppercase;
  color: var(--white);
}

/* --- generic split section ----------------------------------------------- */

.split {
  padding-block: clamp(52px, 7vw, 88px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(30px, 5vw, 64px);
  align-items: center;
}

.stack { display: flex; flex-direction: column; }
.stack--22 { gap: 22px; }
.stack--26 { gap: 26px; }
.stack--14 { gap: 14px; }

.lede {
  margin: 0;
  max-width: 48ch;
  font-size: 17px;
  line-height: 1.7;
  color: var(--night-100);
}
.lede strong { color: var(--ink); }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* --- photo collages ------------------------------------------------------ */

.collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.collage__col {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.collage__col--offset { padding-top: 34px; }

.collage img {
  width: 100%;
  object-fit: cover;
  border: 1px solid var(--hairline);
}

.ph-sm { height: clamp(140px, 20vw, 190px); }
.ph-lg { height: clamp(170px, 25vw, 240px); }
.ph-sm-b { height: clamp(135px, 19vw, 180px); }
.ph-lg-b { height: clamp(165px, 24vw, 230px); }
.ph-sm-c { height: clamp(145px, 21vw, 200px); }
.ph-lg-c { height: clamp(175px, 26vw, 250px); }

.pos-left { object-position: left center; }
.pos-right { object-position: right center; }

/* --- trust strip --------------------------------------------------------- */

.trust {
  background: var(--warm-white);
  border-top: 1px solid rgba(26, 26, 26, 0.1);
  border-bottom: 1px solid rgba(26, 26, 26, 0.1);
}

.trust__inner {
  padding-block: clamp(30px, 5vw, 44px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px 34px;
}

.trust__rating {
  display: flex;
  align-items: center;
  gap: 12px;
}

.stars {
  color: var(--purple-900);
  font-size: 15px;
  letter-spacing: 0.06em;
}

.trust__rating span:last-child { font-size: 15px; color: var(--ink); }

.trust__divider {
  width: 1px;
  height: 22px;
  background: rgba(26, 26, 26, 0.18);
  display: block;
}

.trust__features {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 22px;
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--night-100);
}
.trust__features span { white-space: nowrap; }

/* --- numbered steps ------------------------------------------------------ */

.steps { display: flex; flex-direction: column; gap: 22px; }

.step { display: flex; gap: 16px; }

.step__num {
  font-family: var(--font-condensed);
  font-size: 34px;
  line-height: 0.8;
  color: var(--purple-500);
}

.step__body { display: flex; flex-direction: column; gap: 5px; }

.step__body h3 { margin: 0; font-size: 17px; color: var(--ink); }

.step__body p {
  margin: 0;
  max-width: 46ch;
  font-size: 15px;
  line-height: 1.65;
  color: var(--night-100);
}

/* --- stats band ---------------------------------------------------------- */

.stats {
  background: var(--night-900);
  color: var(--warm-white);
}

.stats__inner {
  padding-block: clamp(44px, 6vw, 64px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr));
  gap: 36px;
}

.stat { display: flex; flex-direction: column; gap: 10px; }

.stat__figure { display: flex; align-items: baseline; gap: 8px; }

.stat__value {
  font-family: var(--font-condensed);
  font-size: 64px;
  line-height: 0.75;
  color: var(--purple-500);
}

.stat__unit {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--warm-white);
}

.stat__caption {
  font-size: 15px;
  line-height: 1.55;
  color: var(--gray-400);
}

/* --- audience list ------------------------------------------------------- */

.audience {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(26, 26, 26, 0.14);
}

.audience__item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(26, 26, 26, 0.14);
}

.audience__item h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.audience__item p {
  margin: 0;
  max-width: 48ch;
  font-size: 15px;
  line-height: 1.65;
  color: var(--night-100);
}

/* --- reviews ------------------------------------------------------------- */

.reviews {
  background: var(--warm-white);
  border-top: 1px solid rgba(26, 26, 26, 0.1);
}

.reviews__inner {
  padding-block: clamp(48px, 6.5vw, 80px);
  display: flex;
  flex-direction: column;
  gap: 36px;
  align-items: center;
}

.reviews__head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  text-align: center;
}

.reviews__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 20px;
  width: 100%;
}

.review {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(20px, 4vw, 28px);
  background: var(--white);
  border: 1px solid var(--hairline);
}

.review .stars { font-size: 13px; }

.review p {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
}

.review__author {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: auto;
}

.review__name { font-size: 14px; color: var(--ink); }
.review__source { font-size: 13px; color: var(--night-100); }

/* --- run finder ---------------------------------------------------------- */

.finder__inner {
  padding-block: clamp(52px, 7vw, 88px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(30px, 5vw, 56px);
  align-items: start;
}

.finder__intro { display: flex; flex-direction: column; gap: 20px; }

.finder__intro p {
  margin: 0;
  max-width: 44ch;
  font-size: 17px;
  line-height: 1.7;
  color: var(--night-100);
}

.locale {
  display: flex;
  gap: 14px;
  padding: 22px;
  background: var(--warm-white);
  border: 1px solid var(--hairline);
}

.locale__pin { color: var(--purple-900); font-size: 18px; line-height: 1.1; }
.locale__body { display: flex; flex-direction: column; gap: 6px; }

.locale__label {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ink);
  white-space: nowrap;
}

.locale__address { font-size: 15px; line-height: 1.6; color: var(--night-100); }
.locale__note { font-size: 14px; color: var(--purple-900); }

.card {
  border: 1px solid rgba(26, 26, 26, 0.14);
  background: var(--white);
}

.card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 24px;
  border-bottom: 1px solid rgba(26, 26, 26, 0.14);
  background: var(--warm-white);
}

.card__title {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ink);
  white-space: nowrap;
}

.card__step {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--night-100);
  white-space: nowrap;
}

.card__body {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: clamp(20px, 4vw, 28px) clamp(18px, 3.5vw, 24px);
}

.field-group { display: flex; flex-direction: column; gap: 14px; }
.field-group h3 { margin: 0; font-size: 18px; color: var(--ink); }
.field-group > p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--night-100); }

.level-options { display: flex; flex-direction: column; gap: 10px; }

.level {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 15px 16px;
  cursor: pointer;
  text-align: left;
  background: var(--white);
  border: 2px solid rgba(26, 26, 26, 0.16);
  transition: border-color 160ms ease, background-color 160ms ease;
}
.level[aria-pressed="true"] {
  background: rgba(87, 58, 233, 0.06);
  border-color: var(--purple-900);
}

.level__copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}
.level__name { font-family: var(--font-body); font-size: 15px; color: var(--ink); }
.level__hint { font-family: var(--font-body); font-size: 13px; color: var(--night-100); }
.level__mark { font-size: 14px; color: var(--purple-900); }

.time-options { display: flex; flex-wrap: wrap; gap: 10px; }

.time {
  padding: 11px 16px;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--night-100);
  background: var(--white);
  border: 2px solid rgba(26, 26, 26, 0.16);
  transition: border-color 160ms ease, color 160ms ease, background-color 160ms ease;
}
.time[aria-pressed="true"] {
  color: var(--ink);
  background: rgba(87, 58, 233, 0.06);
  border-color: var(--purple-900);
}

.btn--block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  min-height: 54px;
  padding: 14px 22px;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.08em;
  cursor: pointer;
  background: var(--purple-900);
  border: 2px solid var(--purple-900);
  color: var(--white);
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}
.btn--block:hover {
  background: var(--purple-700);
  border-color: var(--purple-700);
  color: var(--white);
}
.btn--block[disabled] {
  cursor: not-allowed;
  background: var(--gray-400);
  border-color: var(--gray-400);
  color: var(--gray-600);
}
.btn--block[disabled]:hover {
  background: var(--gray-400);
  border-color: var(--gray-400);
  color: var(--gray-600);
}

.results {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: clamp(20px, 4vw, 28px) clamp(18px, 3.5vw, 24px);
}

.results__head { display: flex; flex-direction: column; gap: 6px; }
.results__head h3 { margin: 0; font-size: 18px; color: var(--ink); }
.results__head p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--night-100); }

.results__list { display: flex; flex-direction: column; gap: 10px; }

.run {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border: 1px solid rgba(26, 26, 26, 0.14);
  background: var(--warm-white);
}

.run__when {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.run__detail { font-size: 13px; color: var(--night-100); }
.run__meta { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; }

.run__spots {
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: 0.08em;
  color: var(--purple-900);
  white-space: nowrap;
}

.run__price { font-family: var(--font-display); font-size: 11px; color: var(--ink); }

button.run {
  width: 100%;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
  appearance: none;
  -webkit-appearance: none;
}
button.run:hover { border-color: rgba(26, 26, 26, 0.35); }
.run--selected {
  border-color: var(--purple-900);
  box-shadow: inset 0 0 0 1px var(--purple-900);
}
.run--muted {
  font-size: 14px;
  line-height: 1.5;
  color: var(--night-100);
}
.booked .btn--block { margin-bottom: 10px; }
.booked .btn--outline { width: 100%; }

.link-reset {
  align-self: flex-start;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--night-100);
  text-decoration: underline;
}

/* --- faq ----------------------------------------------------------------- */

.faq {
  background: var(--warm-white);
  border-top: 1px solid rgba(26, 26, 26, 0.1);
}

.faq__inner {
  padding-block: clamp(48px, 6.5vw, 80px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(30px, 5vw, 56px);
  align-items: start;
}

.faq__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.faq__list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(26, 26, 26, 0.16);
}

.faq__list details { border-bottom: 1px solid rgba(26, 26, 26, 0.16); }

.faq__list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 2px;
  font-size: 17px;
  color: var(--ink);
  list-style: none;
  cursor: pointer;
}
.faq__list summary::-webkit-details-marker { display: none; }

.faq__plus {
  color: var(--purple-900);
  font-size: 20px;
  line-height: 1;
  transition: transform 180ms ease;
}
.faq__list details[open] .faq__plus { transform: rotate(45deg); }

.faq__list p {
  margin: 0;
  padding: 0 2px 22px;
  max-width: 58ch;
  font-size: 16px;
  line-height: 1.7;
  color: var(--night-100);
}

/* --- closing cta --------------------------------------------------------- */

.closer {
  position: relative;
  overflow: hidden;
  background: var(--night-900);
}

.closer__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.38;
}

.closer__inner {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(52px, 7vw, 88px) clamp(18px, 4vw, 28px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 22px;
}

.closer__eyebrow {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--purple-500);
}

.closer__title {
  margin: 0;
  font-family: var(--font-condensed);
  font-size: clamp(46px, 5.6vw, 84px);
  line-height: 0.88;
  text-transform: uppercase;
  color: var(--white);
}

.closer__body {
  margin: 0;
  max-width: 46ch;
  font-size: 17px;
  line-height: 1.7;
  color: var(--gray-400);
}

.btn--closer {
  min-height: 54px;
  padding: 14px 30px;
}

/* --- footer -------------------------------------------------------------- */

.site-footer {
  background: var(--white);
  border-top: 1px solid rgba(26, 26, 26, 0.12);
}

.site-footer__inner {
  padding-block: clamp(30px, 5vw, 44px);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
}

.site-footer__brand { display: flex; flex-direction: column; gap: 10px; }
.site-footer__logo { height: 18px; width: auto; }
.site-footer__address { font-size: 14px; color: var(--night-100); }

.site-footer__note {
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--gray-600);
}

/* --- sticky conversion bar ----------------------------------------------- */

.sticky-cta {
  position: sticky;
  bottom: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(26, 26, 26, 0.14);
}

.sticky-cta__inner {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block: 10px;
}

.sticky-cta__offer {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.sticky-cta__price {
  font-family: var(--font-condensed);
  font-size: 30px;
  line-height: 0.8;
  color: var(--purple-900);
}

.sticky-cta__terms {
  font-size: 14px;
  color: var(--night-100);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn--sticky {
  gap: 12px;
  min-height: 46px;
  padding: 12px 20px;
  flex-shrink: 0;
  font-size: 11px;
  background: var(--purple-900);
  border-color: var(--purple-900);
  color: var(--white);
}
.btn--sticky:hover {
  background: var(--purple-700);
  border-color: var(--purple-700);
  color: var(--white);
}

/* --- booking modal ------------------------------------------------------- */

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(15, 15, 26, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal__panel {
  width: 100%;
  max-width: 460px;
  max-height: 92vh;
  overflow: auto;
  background: var(--white);
  border: 1px solid rgba(26, 26, 26, 0.16);
}

.modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  background: var(--warm-white);
  border-bottom: 1px solid rgba(26, 26, 26, 0.14);
}

.modal__title {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ink);
  white-space: nowrap;
}

.modal__close {
  background: none;
  border: none;
  padding: 4px;
  margin: 0;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  color: var(--night-100);
}

.modal__body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: clamp(20px, 5vw, 28px);
}

.offer { display: flex; align-items: flex-end; gap: 12px; }

.offer__price {
  font-family: var(--font-condensed);
  font-size: 52px;
  line-height: 0.72;
  color: var(--purple-900);
}

.offer__terms {
  font-size: 14px;
  line-height: 1.5;
  color: var(--night-100);
  padding-bottom: 4px;
}

.modal__body > p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--night-100); }

.fields { display: flex; flex-direction: column; gap: 14px; }

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: var(--ink);
}

.field input {
  width: 100%;
  padding: 13px 14px;
  background: var(--white);
  border: 2px solid rgba(26, 26, 26, 0.16);
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink);
}
.field input:focus { outline: none; border-color: var(--purple-900); }

.form-error { font-size: 13px; line-height: 1.5; color: var(--purple-900); }

.fine-print { font-size: 12px; line-height: 1.5; color: var(--gray-600); }

.booked { display: flex; flex-direction: column; gap: 18px; padding: clamp(24px, 5vw, 32px); }

.booked__title {
  font-family: var(--font-condensed);
  font-size: clamp(38px, 9vw, 52px);
  line-height: 0.86;
  text-transform: uppercase;
  color: var(--ink);
}

.booked p { margin: 0; font-size: 16px; line-height: 1.65; color: var(--night-100); }
.booked p strong { color: var(--ink); }

.booked__match {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
  background: var(--warm-white);
  border: 1px solid var(--hairline);
}

.booked__match-label {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--purple-900);
}

.booked__match-value { font-size: 15px; color: var(--ink); }
.booked__match-where { font-size: 14px; color: var(--night-100); }

/* --- sms capture toast --------------------------------------------------- */

.sms {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 90;
  max-width: 390px;
  margin-left: auto;
  background: var(--night-900);
  border: 1px solid var(--night-100);
  box-shadow: 0 18px 40px rgba(15, 15, 26, 0.4);
}

.sms__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--night-100);
}

.sms__label {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--purple-500);
  white-space: nowrap;
}

.sms__close {
  background: none;
  border: none;
  padding: 4px;
  margin: 0;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  color: var(--gray-600);
}

.sms__body { display: flex; flex-direction: column; gap: 14px; padding: 22px 18px; }
.sms__body--thanks { gap: 12px; }

.sms__title {
  font-family: var(--font-condensed);
  font-size: 34px;
  line-height: 0.86;
  text-transform: uppercase;
  color: var(--white);
}
.sms__title--thanks { font-size: 32px; }

.sms__body p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--gray-400); }

.sms__input {
  width: 100%;
  padding: 13px 14px;
  background: var(--night-700);
  border: 2px solid var(--night-100);
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--warm-white);
}
.sms__input:focus { outline: none; border-color: var(--purple-500); }

.sms__error { font-size: 13px; color: var(--purple-500); }

.btn--sms {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  min-height: 50px;
  padding: 13px 20px;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.08em;
  cursor: pointer;
  background: var(--purple-500);
  border: 2px solid var(--purple-500);
  color: var(--black);
  transition: background-color 160ms ease, border-color 160ms ease;
}
.btn--sms:hover {
  background: var(--purple-700);
  border-color: var(--purple-700);
  color: var(--black);
}

.sms__fine { font-size: 12px; line-height: 1.5; color: var(--gray-600); }

[hidden] { display: none !important; }


/* --- First-run pay step (Stripe Card Element) --------------------------- */
.pay-box {
  border: 1px solid var(--gray-300, #d7d7d7);
  border-radius: 10px;
  padding: 14px 14px 10px;
  background: #fff;
}

.stripe-card {
  min-height: 40px;
}

[data-book-pay] .btn--block[disabled],
[data-book-form] .btn--block[disabled] {
  opacity: 0.65;
  cursor: wait;
}
