/* ==========================================================================
   THE CAMP TRANSFORMATION CENTER — HUNTINGTON BEACH
   Non-member class booking page — styles
   ==========================================================================
   ===== EDIT THIS SECTION: BRAND COLORS =====
   These two are taken straight out of The Camp logo. Change them only if the
   brand changes; everything else on the page is derived from them.
   -------------------------------------------------------------------------- */
:root {
  --red:        #bf2d32;   /* The Camp red (from the logo)      */
  --charcoal:   #585858;   /* The Camp grey (from the logo)     */
  /* ===== END EDIT SECTION ===== */

  --red-dark:   #9d2429;   /* pressed / hover state             */
  --red-tint:   #fdf1f1;   /* selected card background          */
  --panel-dark: #2b2b2e;   /* hero + footer panels              */
  --panel-dark2:#232326;

  --ink:        #1f1f22;
  --ink-2:      #55555b;
  --ink-3:      #86868d;
  --ground:     #f3f3f4;
  --card:       #ffffff;
  --card-2:     #f7f7f8;
  --line:       #e3e3e6;
  --line-2:     #c9c9cf;
  --bad:        #b3261e;

  --font-display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --font-body:    "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --r:   14px;
  --r-s: 10px;
  --pad: clamp(18px, 5vw, 34px);
  --maxw: 940px;
}

/* -------------------------------------------------------------- reset ---- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }   /* must win over .dock/img display rules */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; color: inherit; }
a { color: inherit; }
h1, h2, h3 { margin: 0; }
p { margin: 0; }
ol, ul { margin: 0; }
abbr { text-decoration: none; color: var(--red); }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }

/* ------------------------------------------------------------ masthead --- */
.masthead {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.masthead__inner { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 60px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; min-width: 0; overflow: hidden; }
.brand__logo { height: 36px; width: auto; flex: 0 0 auto; }
.brand__text { display: grid; min-width: 0; }
.brand__name {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(17px, 4.6vw, 21px);
  letter-spacing: .02em; text-transform: uppercase; line-height: 1;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink);
}
.brand__loc {
  font-size: 10px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  margin-top: 2px;
}
.masthead__phone {
  flex: 0 0 auto; white-space: nowrap;
  font-size: 13px; font-weight: 600; text-decoration: none; color: var(--red);
  border: 1px solid var(--line-2); border-radius: 99px; padding: 7px 14px;
}
.masthead__phone:hover { border-color: var(--red); background: var(--red-tint); }

/* ---------------------------------------------------------------- hero --- */
.hero {
  position: relative; overflow: hidden;
  background: var(--panel-dark) url("img/class-hero.jpg") 70% 30% / cover no-repeat;
  color: #fff;
  padding: clamp(44px, 10vw, 92px) 0 clamp(34px, 7vw, 58px);
}
/* Scrim. The photo has bright ceiling lights and a pale floor, so the headline
   needs a dark wash under it or it becomes unreadable. Heavier at the bottom
   where the copy sits, lighter at the top so the room still reads. */
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(20,20,22,.62) 0%, rgba(20,20,22,.80) 55%, rgba(20,20,22,.90) 100%),
    radial-gradient(115% 85% at 92% -12%, rgba(191,45,50,.42), transparent 62%);
}
@media (min-width: 720px) {
  .hero { background-position: center 42%; }
}
.hero::after {    /* fine grain, hero only */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero .wrap { position: relative; z-index: 1; }
.eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: #ffb3b6;
}
.hero__title {
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(3rem, 11vw, 5.25rem); line-height: .87; letter-spacing: -.01em;
  margin: 14px 0 0; text-wrap: balance; color: #fff;
}
.hero__title em { font-style: normal; color: #ff5a60; }
.hero__sub {
  margin-top: 18px; max-width: 52ch; color: #d5d5d8; font-size: clamp(1rem, 3.4vw, 1.12rem);
}
.proof {
  display: flex; align-items: center; gap: 9px; flex-wrap: wrap;
  margin-top: 18px; font-size: 14px; color: #e4e4e6;
}
.proof__stars { color: #ffc53d; letter-spacing: .08em; font-size: 15px; }
.proof__text strong { color: #fff; }

.facts {
  list-style: none; padding: 0; margin: 22px 0 0;
  display: grid; gap: 1px; background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.14); border-radius: var(--r-s); overflow: hidden;
}
.facts li {
  background: rgba(255,255,255,.05); padding: 12px 14px; font-size: 14px; font-weight: 500;
  display: flex; align-items: center; gap: 12px; color: #f0f0f1;
}
.facts span {
  font-family: var(--font-display); font-size: 15px; font-weight: 700;
  color: #ff6b70; letter-spacing: .06em;
}
@media (min-width: 640px) { .facts { grid-template-columns: repeat(3, 1fr); } }

/* -------------------------------------------------------------- ticker --- */
.ticker {
  overflow: hidden; background: var(--red); color: #fff; padding: 9px 0;
}
/* Two identical halves, each at least a screen wide. Translating exactly -50%
   therefore always lands on a frame identical to the start, so the loop is
   seamless at any viewport. The previous version had a fixed number of
   phrases, which ran out on wide screens and left a dead gap. */
.ticker__row {
  display: flex; width: max-content;
  animation: slide 32s linear infinite;
}
.ticker__set {
  flex: 0 0 auto;
  display: flex; align-items: center; gap: 22px;
  min-width: 100vw; justify-content: space-around;
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; font-size: 15px; white-space: nowrap;
  padding-right: 22px;
}
@keyframes slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker__row { animation: none; } }

/* --------------------------------------------------------------- cards --- */
/* minmax(0,1fr) + min-width:0 keep the horizontal day-scroller from stretching
   the whole form wider than the phone screen */
.booking {
  padding: clamp(28px, 6vw, 54px) var(--pad) 40px;
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px;
}
#bookingForm { min-width: 0; display: grid; gap: 16px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  padding: clamp(18px, 4.6vw, 28px); margin: 0; min-width: 0;
  box-shadow: 0 1px 2px rgba(31,31,34,.04), 0 10px 26px rgba(31,31,34,.04);
}

.step { transition: opacity .25s ease; }
.step.is-locked { opacity: .55; }
.step.is-locked .classes,
.step.is-locked .grid2,
.step.is-locked .submit { pointer-events: none; }
.step.is-done .step__num { background: var(--red); color: #fff; border-color: var(--red); }

/* Floating the legend stops it from cutting a notch in the fieldset border */
.step__head {
  float: left; width: 100%; display: flex; gap: 14px; align-items: flex-start;
  padding: 0; margin-bottom: 20px;
}
.step > *:not(legend) { clear: both; }
.step__num {
  flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--line-2); background: var(--card-2); color: var(--ink);
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 18px;
  transition: background .2s ease, color .2s ease;
}
.step__title {
  display: block; font-family: var(--font-display); font-weight: 700;
  text-transform: uppercase; letter-spacing: .02em; font-size: clamp(1.5rem, 5.4vw, 1.9rem);
  line-height: 1.05; color: var(--ink);
}
.step__hint { display: block; color: var(--ink-3); font-size: 13.5px; margin-top: 3px; }

/* ------------------------------------------------- reschedule banner ---- */
.rebook {
  background: var(--panel-dark); color: #fff; border-radius: var(--r);
  padding: 16px clamp(18px, 4.6vw, 24px); display: grid; gap: 6px;
  border-left: 4px solid var(--red);
}
.rebook__title {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  letter-spacing: .04em; font-size: 1.15rem; line-height: 1.1;
}
.rebook__body { font-size: 14px; color: #d5d5d8; max-width: 52ch; }
.rebook__current {
  margin-top: 4px; font-size: 13.5px; color: #fff;
  background: rgba(255,255,255,.08); border-radius: var(--r-s);
  padding: 9px 12px; justify-self: start;
}
.rebook__current strong { color: #ff8b8f; }

/* ------------------------------------------------------- focus legend --- */
.legend {
  background: var(--card-2); border: 1px solid var(--line);
  border-radius: var(--r-s); padding: 14px 16px; margin-bottom: 14px;
}
.legend__title {
  font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 10px;
}
.legend__list { list-style: none; padding: 0; display: grid; gap: 7px; }
.legend__list li { display: flex; align-items: baseline; gap: 10px; font-size: 14.5px; }
.legend__days {
  flex: 0 0 auto; min-width: 74px;
  font-family: var(--font-display); font-weight: 700; font-size: 15px;
  letter-spacing: .04em; text-transform: uppercase; color: var(--red);
}
.legend__focus { font-weight: 500; color: var(--ink); }
.legend__note { margin-top: 10px; font-size: 12px; color: var(--ink-3); line-height: 1.45; }

/* focus of the day currently selected in step 2 */
.dayfocus {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin-top: 4px; padding: 10px 14px;
  background: var(--red-tint); border: 1px solid rgba(191,45,50,.22);
  border-radius: var(--r-s);
}
.dayfocus__day {
  font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-3);
}
.dayfocus__focus {
  font-family: var(--font-display); font-weight: 700; font-size: 1.25rem;
  text-transform: uppercase; letter-spacing: .03em; color: var(--red); line-height: 1;
}

/* ------------------------------------------------------------- videos --- */
.videos { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.videos__head {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  letter-spacing: .04em; font-size: 1.15rem; margin-bottom: 14px;
}
.videos__grid { display: grid; gap: 14px; }
@media (min-width: 560px) { .videos__grid { grid-template-columns: 1fr 1fr; } }
.video { text-decoration: none; display: grid; gap: 9px; min-width: 0; }
.video__thumb {
  position: relative; display: block; border-radius: var(--r-s); overflow: hidden;
  background: var(--panel-dark); aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
}
.video__thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .3s ease, opacity .2s ease;
}
.video:hover .video__thumb img { transform: scale(1.04); opacity: .85; }
.video__play {
  position: absolute; inset: 0; margin: auto; width: 52px; height: 52px;
  border-radius: 50%; background: var(--red);
  box-shadow: 0 4px 18px rgba(0,0,0,.35);
}
.video__play::after {
  content: ""; position: absolute; inset: 0; margin: auto;
  width: 0; height: 0; margin-left: 21px;
  border-left: 16px solid #fff;
  border-top: 10px solid transparent; border-bottom: 10px solid transparent;
}
.video__title {
  font-size: 14.5px; font-weight: 600; line-height: 1.35; color: var(--ink);
}
.video:hover .video__title { color: var(--red); }

/* ------------------------------------------------------- class choices --- */
.classes { display: grid; gap: 10px; }
.classes label {
  position: relative; display: block; cursor: pointer;
  background: var(--card-2); border: 1px solid var(--line);
  border-radius: var(--r-s); padding: 15px 52px 15px 16px;
  transition: border-color .16s ease, background .16s ease, transform .16s ease;
}
.classes label:hover { border-color: var(--line-2); transform: translateY(-1px); }
.classes input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.classes input:focus-visible + .cl { outline: 2px solid var(--red); outline-offset: 6px; border-radius: 4px; }
.classes label:has(input:checked) { border-color: var(--red); background: var(--red-tint); }
.classes label:has(input:checked)::after {
  content: "\2713"; position: absolute; right: 15px; top: 50%; transform: translateY(-50%);
  width: 24px; height: 24px; border-radius: 50%; background: var(--red); color: #fff;
  display: grid; place-items: center; font-size: 13px; font-weight: 700;
}
.cl__name { display: block; font-weight: 600; font-size: 16.5px; letter-spacing: -.01em; }
.cl__blurb { display: block; color: var(--ink-2); font-size: 13.5px; margin-top: 2px; }
.cl__meta {
  display: inline-block; margin-top: 8px; font-size: 11.5px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--red);
  border: 1px solid rgba(191,45,50,.28); background: #fff; border-radius: 99px; padding: 2px 9px;
}

/* ------------------------------------------------------- day + time ------ */
.slots { min-width: 0; }
.dayscroll {
  display: flex; gap: 8px; min-width: 0; overflow-x: auto; padding-bottom: 10px;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  scrollbar-width: thin; scrollbar-color: var(--line-2) transparent;
}
.dayscroll::-webkit-scrollbar { height: 6px; }
.dayscroll::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 99px; }
.day {
  flex: 0 0 auto; scroll-snap-align: start; cursor: pointer;
  background: var(--card-2); border: 1px solid var(--line); border-radius: var(--r-s);
  padding: 10px 12px; min-width: 96px; text-align: center; line-height: 1.25;
  transition: border-color .16s ease, background .16s ease, color .16s ease;
}
.day:hover { border-color: var(--line-2); }
.day[aria-selected="true"] { background: var(--panel-dark); color: #fff; border-color: var(--panel-dark); }
.day__dow { display: block; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.day[aria-selected="true"] .day__dow { color: #b9b9bd; }
.day__date { display: block; font-family: var(--font-display); font-weight: 700; font-size: 21px; }
.day__focus {
  display: block; margin-top: 4px; font-size: 9.5px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; color: var(--red);
  white-space: nowrap;
}
.day[aria-selected="true"] .day__focus { color: #ff8b8f; }

/* On wider screens show every day at once instead of a side-scroller */
@media (min-width: 720px) {
  .dayscroll { flex-wrap: wrap; overflow-x: visible; padding-bottom: 0; }
}

.times { display: grid; grid-template-columns: repeat(auto-fill, minmax(108px, 1fr)); gap: 9px; margin-top: 16px; }
.time {
  cursor: pointer; background: var(--card-2); border: 1px solid var(--line);
  border-radius: var(--r-s); padding: 13px 8px; text-align: center;
  font-weight: 600; font-size: 15px; letter-spacing: -.01em;
  transition: border-color .16s ease, background .16s ease, color .16s ease, transform .16s ease;
}
.time:hover { border-color: var(--red); transform: translateY(-1px); }
.time[aria-pressed="true"] { background: var(--red); border-color: var(--red); color: #fff; }
.tz { margin-top: 14px; font-size: 12.5px; color: var(--ink-3); }
.empty { color: var(--ink-2); font-size: 14px; padding: 6px 0; }

/* --------------------------------------------------------------- form ---- */
.grid2 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 620px) {
  .grid2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .field--full { grid-column: 1 / -1; }
}

.field label { display: block; font-size: 13px; font-weight: 600; letter-spacing: .02em; margin-bottom: 6px; }
.opt { color: var(--ink-3); font-weight: 400; }
.field input, .field textarea {
  width: 100%; background: var(--card-2); border: 1px solid var(--line-2);
  border-radius: var(--r-s); padding: 13px 14px; font-size: 16px; /* 16px stops iOS zoom */
  transition: border-color .16s ease, background .16s ease, box-shadow .16s ease;
}
.field textarea { resize: vertical; min-height: 84px; }
.field input::placeholder, .field textarea::placeholder { color: #9a9aa1; }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--red); background: #fff;
  box-shadow: 0 0 0 3px rgba(191,45,50,.12);
}
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--bad); }
.field__help { font-size: 12px; color: var(--ink-3); margin-top: 5px; line-height: 1.4; }

.consent {
  display: grid; grid-template-columns: auto 1fr; gap: 11px; align-items: start;
  margin-top: 18px; padding: 14px 16px;
  background: var(--card-2); border: 1px solid var(--line); border-radius: var(--r-s);
}
.consent input[type="checkbox"] {
  width: 22px; height: 22px; margin: 0; accent-color: var(--red); flex: 0 0 auto;
  cursor: pointer;
}
.consent label { font-size: 14px; font-weight: 500; line-height: 1.4; cursor: pointer; }
.consent label span {
  display: block; font-weight: 400; font-size: 12.5px; color: var(--ink-3);
  margin-top: 4px; line-height: 1.45;
}
.consent:has(input[aria-invalid="true"]) { border-color: var(--bad); background: #fdf1f0; }

.counter { text-align: right; font-size: 11.5px; color: var(--ink-3); margin-top: 5px; }

.err { color: var(--bad); font-size: 13px; margin-top: 6px; font-weight: 500; }
.err--form {
  background: #fdf1f0; border: 1px solid rgba(179,38,30,.3);
  border-radius: var(--r-s); padding: 12px 14px; margin-top: 14px;
}
.notice { border-radius: var(--r-s); padding: 14px 16px; font-size: 14.5px; }
.notice--warn { background: #fff8e6; border: 1px solid #e8cf8a; }

/* hidden spam trap */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ------------------------------------------------------------ buttons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 1px solid transparent; border-radius: 99px; cursor: pointer;
  font-weight: 600; letter-spacing: .01em; text-decoration: none;
  padding: 15px 26px; transition: transform .14s ease, background .14s ease, border-color .14s ease;
}
.btn:active { transform: translateY(1px); }
.btn--hero {
  margin-top: 26px; background: var(--red); color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: 19px;
  text-transform: uppercase; letter-spacing: .06em; padding: 14px 30px;
}
.btn--hero:hover { background: #d13d42; }
.btn--go {
  width: 100%; background: var(--red); color: #fff;
  font-family: var(--font-display); font-weight: 800; font-size: 23px;
  text-transform: uppercase; letter-spacing: .05em; padding: 17px 26px; margin-top: 4px;
}
.btn--go:hover { background: var(--red-dark); }
.btn--go[disabled] { opacity: .6; cursor: not-allowed; }
.btn--ghost { border-color: var(--line-2); background: #fff; color: var(--ink); font-size: 15px; }
.btn--ghost:hover { border-color: var(--red); color: var(--red); }

.btn__spin { display: none; width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; animation: spin .7s linear infinite; }
.is-sending .btn__spin { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }

.submit { margin-top: 24px; }
.summary {
  font-size: 14px; color: var(--red); font-weight: 600; margin-bottom: 12px; min-height: 1.4em;
}
.fineprint { font-size: 11.8px; color: var(--ink-3); margin-top: 12px; text-align: center; line-height: 1.5; }

/* ------------------------------------------------------------ success --- */
.success { text-align: left; animation: pop .35s cubic-bezier(.2,.9,.3,1.2) both; }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.success__mark {
  width: 54px; height: 54px; border-radius: 50%; background: var(--red); color: #fff;
  display: grid; place-items: center; font-size: 27px; font-weight: 700; margin-bottom: 18px;
}
.success__title {
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(2.2rem, 8vw, 3.2rem); line-height: .95; letter-spacing: -.01em;
}
.success__lead { margin-top: 10px; color: var(--ink-2); max-width: 46ch; }
.recap {
  margin: 22px 0 0; display: grid; gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--r-s); overflow: hidden;
}
.recap > div { background: var(--card-2); padding: 12px 15px; display: flex; justify-content: space-between; gap: 16px; }
.recap dt { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.recap dd { margin: 0; font-weight: 600; text-align: right; }
.next { margin-top: 26px; }
.next h3 {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  letter-spacing: .04em; font-size: 1.15rem; margin-bottom: 8px;
}
.next ol { padding-left: 20px; color: var(--ink-2); font-size: 14.5px; display: grid; gap: 4px; }
.disclaimer {
  margin-top: 22px; font-size: 13px; color: var(--ink-2);
  border-left: 3px solid var(--red); padding-left: 12px;
}
.success__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

/* ------------------------------------------------------------ reviews --- */
.reviews { background: var(--ground); padding: clamp(34px, 7vw, 58px) 0 clamp(30px, 6vw, 50px); }
.reviews__title {
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(1.75rem, 6.4vw, 2.6rem); line-height: .96; letter-spacing: -.01em;
  margin-top: 10px; color: var(--ink);
}
.reviews__grid { display: grid; gap: 12px; margin-top: 22px; }
@media (min-width: 760px) { .reviews__grid { grid-template-columns: repeat(3, 1fr); } }
.review {
  margin: 0; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r); padding: 18px 20px;
  box-shadow: 0 1px 2px rgba(31,31,34,.04), 0 8px 22px rgba(31,31,34,.04);
  display: flex; flex-direction: column; gap: 9px;
}
.review__stars { color: #f0a500; letter-spacing: .1em; font-size: 14px; }
.review__text { font-size: 15px; line-height: 1.55; color: var(--ink); }
.review__who {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; font-size: 13px; color: var(--red); margin-top: auto;
}

/* -------------------------------------------------------- photo band --- */
.band { position: relative; background: var(--panel-dark); overflow: hidden; }
.band img {
  width: 100%; height: clamp(170px, 26vw, 250px); object-fit: cover;
  object-position: center 32%; display: block; opacity: .9;
}
.band__caption {
  position: absolute; inset: auto 0 0 0;
  padding: 34px clamp(18px, 5vw, 34px) 16px;
  background: linear-gradient(180deg, transparent, rgba(20,20,22,.85));
  color: #fff; font-family: var(--font-display); font-weight: 700;
  text-transform: uppercase; letter-spacing: .04em;
  font-size: clamp(1.05rem, 4vw, 1.5rem); line-height: 1.1;
}

/* ---------------------------------------------------------- HIST block --- */
.hist {
  background: var(--card); border-top: 1px solid var(--line);
  padding: clamp(36px, 8vw, 64px) 0;
}
.eyebrow--dark { color: var(--red); }
.hist__title {
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(1.9rem, 7vw, 3rem); line-height: .95; letter-spacing: -.01em;
  margin-top: 12px; text-wrap: balance; color: var(--ink);
}
.hist__lead {
  margin-top: 16px; max-width: 58ch; color: var(--ink-2);
  font-size: clamp(1rem, 3.4vw, 1.1rem);
}
.hist__points {
  list-style: none; padding: 0; margin: 24px 0 0;
  display: grid; gap: 10px;
}
/* auto-fit rather than a fixed 2 columns: five items land 3+2 on a desktop
   instead of 2+2+1 with a stranded last bullet */
.hist__points { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.hist__points li {
  display: flex; align-items: center; gap: 11px;
  font-size: 15px; font-weight: 500; color: var(--ink);
  background: var(--card-2); border: 1px solid var(--line);
  border-radius: var(--r-s); padding: 12px 14px;
}
.hist__points span { font-size: 17px; line-height: 1; flex: 0 0 auto; }
.hist .btn--hero { margin-top: 26px; }

/* --------------------------------------------------------------- foot ---- */
.foot {
  background: var(--panel-dark2); color: #e9e9ea;
  padding: 36px 0 calc(36px + env(safe-area-inset-bottom)); margin-top: 20px;
}
.foot__name { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 1.55rem; letter-spacing: .03em; line-height: 1.05; }
.foot__meta { margin-top: 10px; font-size: 14px; color: #b6b6bb; display: flex; flex-wrap: wrap; gap: 10px; }
.foot__meta a { text-decoration: none; }
.foot__meta a:hover { color: #ff6b70; }
.sep { color: #5c5c63; }
.foot__note { margin-top: 12px; font-size: 13px; color: #96969d; max-width: 42ch; }

/* --------------------------------------------------------------- dock ---- */
.dock {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 45; display: flex; align-items: center; gap: 12px;
  background: var(--panel-dark); color: #fff; border: 1px solid rgba(255,255,255,.14);
  border-radius: 99px; padding: 9px 9px 9px 18px; box-shadow: 0 12px 34px rgba(31,31,34,.3);
  animation: pop .3s ease both;
}
.dock__text { min-width: 0; flex: 1; }
.dock__label { display: block; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: #b6b6bb; }
.dock__value { display: block; font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dock__btn {
  flex: 0 0 auto; background: var(--red); color: #fff; text-decoration: none;
  border-radius: 99px; padding: 11px 18px; font-weight: 700; font-size: 14px;
}
@media (min-width: 720px) { .dock { display: none; } }

/* ---------------------------------------------------- desktop layout --- */
/* 940px was a mobile-first choice; on a 1440px screen it left ~250px of dead
   margin either side and made the whole page read as a stretched phone. */
@media (min-width: 1100px) {
  :root { --maxw: 1180px; }

  /* The form is the exception — it stays a comfortable filling width rather
     than sprawling to 1180px with 590px-wide text inputs. */
  .booking { max-width: 900px; }

  /* Let the hero own the first screen instead of reading as a banner. */
  .hero { min-height: 72vh; display: flex; align-items: center; }

  /* Source photo is 810px wide; full-bleed at 1425px upscaled it 1.76x.
     Capping the width keeps it generous but noticeably sharper. */
  .band { max-width: 1240px; margin-inline: auto; border-radius: var(--r); }
}

/* ---------------------------------------------------------- animation --- */
.reveal { animation: rise .6s cubic-bezier(.22,.9,.3,1) both; animation-delay: var(--d, 0ms); }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
@media (prefers-reduced-motion: reduce) {
  .reveal, .success { animation: none; }
  html { scroll-behavior: auto; }
}
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
