/* =============================================================================
   MyApollo v3 — Booking page styles (/iainroberts)
   Sits on top of v3-tokens.css + v3-components.css + home-v3.css ambient layers.
   ============================================================================= */

.v3-book {
  background: var(--bg);
  position: relative;
  min-height: 100dvh;
}

/* Booking page nav links — keep multi-word labels on one line */
.v3-book .v3-nav__links a { white-space: nowrap; }

/* ── Page hero (compact) ─────────────────────────────────────────────── */
.v3-book__hero {
  padding: clamp(28px, 4vw, 48px) 0 clamp(24px, 3vw, 36px);
  text-align: center;
}
.v3-book__hero h1 {
  font: var(--font-display-lg);
  letter-spacing: -0.01em;
}
.v3-book__hero h1 em { font-style: italic; color: var(--gold-light); }
.v3-book__hero p {
  margin-top: var(--sp-2);
  color: var(--ink-dim);
  font: var(--font-body-md);
}

/* ── Wizard layout ───────────────────────────────────────────────────── */
.v3-book__shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);  /* 1fr alone leaks intrinsic width — minmax(0,1fr) enforces shrink */
  gap: var(--sp-5);
  padding-bottom: 120px; /* space for sticky mobile rail */
}
.v3-book__shell > * { min-width: 0; }     /* belt-and-braces: children must allow shrink */

@media (min-width: 1024px) {
  .v3-book__shell {
    grid-template-columns: minmax(0, 1.4fr) minmax(320px, 1fr);
    gap: var(--sp-6);
    padding-bottom: var(--sp-7);
    align-items: start;
  }
}

/* ── Wizard steps header ─────────────────────────────────────────────── */
.v3-book__steps {
  display: flex;
  gap: var(--sp-2);
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  align-items: center;
  margin-bottom: var(--sp-5);
}
.v3-book__steps::-webkit-scrollbar { display: none; }
.v3-wizard-step { flex-shrink: 0; }

/* Mobile: only the active step keeps its label; others compact to numerals.
   Keeps everything on one row even at 320px. */
@media (max-width: 540px) {
  .v3-wizard-step {
    padding: 8px 10px 8px 6px;
    font-size: 0.78rem;
  }
  .v3-wizard-step .v3-wizard-step__label { display: none; }
  .v3-wizard-step[data-state="active"] .v3-wizard-step__label { display: inline; }
}

/* ── Wizard panel (each step) ────────────────────────────────────────── */
.v3-book__panel {
  position: relative;
  padding: clamp(20px, 3vw, 32px);
  border-radius: var(--r-xl);
  background:
    linear-gradient(180deg, rgba(245,240,230,0.04) 0%, rgba(245,240,230,0.01) 100%),
    var(--surface-2);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: var(--shadow-card);
  min-height: 480px;
  display: flex;
  flex-direction: column;
}
.v3-book__panel-head {
  display: flex;
  align-items: baseline;
  gap: var(--sp-3);
  margin-bottom: var(--sp-4);
}
.v3-book__panel-head h2 {
  font: var(--font-display-md);
  letter-spacing: -0.005em;
}
.v3-book__panel-head .v3-kicker {
  color: var(--gold);
}
.v3-book__panel-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}

/* Step horizontal slide transitions — direction-aware (forward = next, back = prev).
   The panel hosts the steps and clips them so the outgoing step glides off as the
   incoming step glides in. Uses cubic ease + soft blur on the leaver so the
   transition feels like film, not a slideshow. */
.v3-book__panel { position: relative; overflow: hidden; }
.v3-book__step {
  display: none;
  will-change: transform, opacity, filter;
}
.v3-book__step.is-active { display: block; }
.v3-book__step.is-entering-forward {
  animation: v3-step-in-fwd 480ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
.v3-book__step.is-entering-back {
  animation: v3-step-in-back 480ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
.v3-book__step.is-leaving-forward {
  position: absolute;
  inset: 0;
  display: block;
  pointer-events: none;
  animation: v3-step-out-fwd 380ms cubic-bezier(0.55, 0, 0.65, 1) both;
}
.v3-book__step.is-leaving-back {
  position: absolute;
  inset: 0;
  display: block;
  pointer-events: none;
  animation: v3-step-out-back 380ms cubic-bezier(0.55, 0, 0.65, 1) both;
}
@keyframes v3-step-in-fwd {
  from { opacity: 0; transform: translate3d(48px, 0, 0); filter: blur(3px); }
  to   { opacity: 1; transform: none; filter: none; }
}
@keyframes v3-step-out-fwd {
  from { opacity: 1; transform: none; filter: none; }
  to   { opacity: 0; transform: translate3d(-48px, 0, 0); filter: blur(3px); }
}
@keyframes v3-step-in-back {
  from { opacity: 0; transform: translate3d(-48px, 0, 0); filter: blur(3px); }
  to   { opacity: 1; transform: none; filter: none; }
}
@keyframes v3-step-out-back {
  from { opacity: 1; transform: none; filter: none; }
  to   { opacity: 0; transform: translate3d(48px, 0, 0); filter: blur(3px); }
}

/* Step-complete celebratory pulse on the wizard step pip that just finished. */
.v3-wizard-step[data-just-completed="true"] .v3-wizard-step__num {
  animation: v3-step-complete-pulse 720ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes v3-step-complete-pulse {
  0%   { transform: scale(1);   box-shadow: 0 0 0 0 rgba(201,168,76,0.55); }
  35%  { transform: scale(1.18); box-shadow: 0 0 0 10px rgba(201,168,76,0); }
  100% { transform: scale(1);   box-shadow: 0 0 0 0 rgba(201,168,76,0); }
}

@media (prefers-reduced-motion: reduce) {
  .v3-book__step.is-entering-forward,
  .v3-book__step.is-entering-back,
  .v3-book__step.is-leaving-forward,
  .v3-book__step.is-leaving-back { animation: none !important; }
  .v3-wizard-step[data-just-completed="true"] .v3-wizard-step__num { animation: none !important; }
}

/* ── Selection cards (experience, wingman) ───────────────────────────── */
.v3-select-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--sp-3);
}
.v3-select-grid > * { min-width: 0; }
@media (min-width: 540px) {
  .v3-select-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.v3-select-grid--3 { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 540px) {
  .v3-select-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.v3-pick {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-2);
  padding: var(--sp-5);
  background:
    linear-gradient(180deg, rgba(245,240,230,0.03) 0%, rgba(245,240,230,0.01) 100%),
    var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition:
    transform var(--t-fast) var(--ease),
    border-color var(--t-base) var(--ease),
    box-shadow var(--t-base) var(--ease),
    background var(--t-base) var(--ease);
  min-height: 120px;
}
.v3-pick:hover {
  border-color: rgba(201, 168, 76, 0.45);
  transform: translateY(-2px);
}
.v3-pick:active { transform: scale(0.98); }
.v3-pick[aria-pressed="true"] {
  border-color: var(--gold);
  background:
    linear-gradient(135deg, rgba(201,168,76,0.16), transparent 60%),
    var(--surface);
  box-shadow: 0 0 0 1px var(--gold), 0 12px 32px rgba(201,168,76,0.18);
}
.v3-pick__icon {
  width: 40px; height: 40px;
  border-radius: var(--r-md);
  background: var(--gold-soft);
  border: 1px solid rgba(201,168,76,0.3);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-size: 1.05rem;
}
.v3-pick__title {
  font: 600 1.05rem/1.2 var(--font-body);
  letter-spacing: -0.005em;
}
.v3-pick__sub {
  font: var(--font-body-sm);
  color: var(--ink-dim);
}
.v3-pick__price {
  margin-top: auto;
  font: var(--font-mono-sm);
  color: var(--gold-light);
  letter-spacing: 0.01em;
}
.v3-pick__check {
  position: absolute;
  top: 14px; right: 14px;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--gold);
  color: #1a1814;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity var(--t-base) var(--ease), transform var(--t-base) var(--spring);
}
.v3-pick[aria-pressed="true"] .v3-pick__check {
  opacity: 1;
  transform: none;
}

/* Wingman compact picker */
.v3-wingman {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  min-height: 88px;
  padding: var(--sp-4);
}
.v3-wingman__photo {
  position: relative;
  width: 64px; height: 64px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  flex-shrink: 0;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 8px 22px rgba(0, 0, 0, 0.32);
  overflow: hidden;
  transition:
    transform var(--t-base) var(--ease),
    box-shadow var(--t-base) var(--ease);
}
.v3-wingman__photo::before {
  /* Subtle inner sheen so the emoji reads as a coin/medallion */
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.22), transparent 55%),
    radial-gradient(circle at 70% 80%, rgba(0, 0, 0, 0.28), transparent 60%);
  pointer-events: none;
}
.v3-wingman__emoji {
  position: relative;
  font-size: 1.65rem;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
  z-index: 1;
}
.v3-wingman:hover .v3-wingman__photo {
  transform: scale(1.06) rotate(-3deg);
}
.v3-wingman[aria-pressed="true"] .v3-wingman__photo {
  box-shadow:
    0 0 0 2px var(--bg),
    0 0 0 4px var(--gold),
    0 12px 28px rgba(201, 168, 76, 0.42);
}

/* ── Calendar ─────────────────────────────────────────────────────────── */
.v3-cal {
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  padding: var(--sp-4);
}
.v3-cal__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 4px var(--sp-3);
}
.v3-cal__head h3 {
  font: 600 1rem/1 var(--font-body);
  letter-spacing: 0.01em;
}
.v3-cal__nav {
  display: inline-flex; gap: 6px;
}
.v3-cal__nav button {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: var(--glass-bg);
  color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: border-color var(--t-base) var(--ease);
}
.v3-cal__nav button:hover { border-color: var(--gold); }
.v3-cal__weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  font: 700 0.6875rem/1 var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
  padding: 0 4px var(--sp-2);
}
.v3-cal__weekdays span {
  text-align: center; padding: 6px 0;
}
.v3-cal__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.v3-cal__day {
  aspect-ratio: 1;
  border: 1px solid transparent;
  background: transparent;
  border-radius: var(--r-sm);
  color: var(--ink);
  font: 500 0.875rem/1 var(--font-body);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background var(--t-base) var(--ease),
              border-color var(--t-base) var(--ease),
              transform var(--t-fast) var(--ease);
  position: relative;
}
.v3-cal__day:hover { background: var(--gold-soft); }
.v3-cal__day:active { transform: scale(0.94); }
.v3-cal__day[aria-disabled="true"] {
  color: var(--ink-faint);
  cursor: not-allowed;
  opacity: 0.4;
}
.v3-cal__day[aria-pressed="true"] {
  background: var(--grad-warm);
  color: #1a1814;
  border-color: transparent;
  box-shadow: 0 6px 16px rgba(201,168,76,0.32);
}
.v3-cal__day[data-today="true"]:not([aria-pressed="true"])::after {
  content: ""; position: absolute; bottom: 4px; left: 50%;
  width: 4px; height: 4px; border-radius: 50%;
  transform: translateX(-50%);
  background: var(--gold);
}
.v3-cal__day[data-other-month="true"] { opacity: 0.35; }

/* ── Time slot row ───────────────────────────────────────────────────── */
.v3-slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(86px, 1fr));
  gap: var(--sp-2);
}
.v3-slot {
  padding: 10px 12px;
  border: 1px solid var(--line-2);
  background: var(--glass-bg);
  border-radius: var(--r-pill);
  font: 500 0.875rem/1 var(--font-body);
  color: var(--ink);
  cursor: pointer;
  text-align: center;
  transition: border-color var(--t-base) var(--ease),
              background var(--t-base) var(--ease),
              transform var(--t-fast) var(--ease);
}
.v3-slot:hover { border-color: var(--gold); }
.v3-slot:active { transform: scale(0.96); }
.v3-slot[aria-pressed="true"] {
  background: var(--grad-warm);
  color: #1a1814;
  border-color: transparent;
}

/* ── Location chips ──────────────────────────────────────────────────── */
.v3-loc-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--sp-2);
}
.v3-loc-grid > * { min-width: 0; }
@media (min-width: 440px) { .v3-loc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 700px) { .v3-loc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .v3-loc-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.v3-loc {
  padding: 10px 12px;
  border: 1px solid var(--line-2);
  background: var(--glass-bg);
  border-radius: var(--r-md);
  color: var(--ink);
  font: 500 0.8125rem/1.2 var(--font-body);
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 48px;
  transition: border-color var(--t-base) var(--ease),
              background var(--t-base) var(--ease),
              transform var(--t-fast) var(--ease);
}
.v3-loc > span:nth-child(2) {
  /* City name — keep on one line; chip width adapts via single-col fallback at narrow widths */
  flex: 1 1 auto;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.v3-loc__core,
.v3-loc__surcharge { flex-shrink: 0; }   /* badge keeps its width */
.v3-loc__core { font-size: 0.5625rem; padding: 0; background: transparent; }    /* lighter */
.v3-loc__emoji { font-size: 1.1rem; }
.v3-loc__core {
  margin-left: auto;
  font: 600 0.625rem/1 var(--font-body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}
.v3-loc__surcharge {
  margin-left: auto;
  font: var(--font-mono-sm);
  color: var(--ink-faint);
}
.v3-loc:hover { border-color: var(--gold); }
.v3-loc[aria-pressed="true"] {
  background: var(--gold-soft);
  border-color: var(--gold);
}

/* ── Slider (duration / tip) ──────────────────────────────────────────── */
.v3-slider-row {
  display: grid;
  gap: var(--sp-3);
}
.v3-slider-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font: var(--font-body-sm);
  color: var(--ink-dim);
}
.v3-slider-meta strong {
  font: 700 1.6rem/1 var(--font-display);
  color: var(--cream);
  letter-spacing: -0.01em;
}
.v3-range {
  -webkit-appearance: none; appearance: none;
  width: 100%;
  height: 6px;
  border-radius: var(--r-pill);
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold) var(--v, 0%), var(--line-2) var(--v, 0%), var(--line-2) 100%);
  outline: none;
}
.v3-range::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 1px var(--gold), 0 8px 24px rgba(201,168,76,0.32);
  cursor: grab;
}
.v3-range::-moz-range-thumb {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--gold); border: 3px solid var(--bg);
  cursor: grab;
}

/* ── Add-on chips (toggle) ──────────────────────────────────────────── */
.v3-addons {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--sp-2);
}
.v3-addons > * { min-width: 0; }
@media (min-width: 540px) { .v3-addons { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.v3-addon {
  display: flex; align-items: center; gap: 12px;
  padding: 14px;
  background: var(--glass-bg);
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  color: var(--ink);
  cursor: pointer;
  transition: border-color var(--t-base) var(--ease),
              background var(--t-base) var(--ease),
              transform var(--t-fast) var(--ease);
}
.v3-addon:hover { border-color: var(--gold); }
.v3-addon:active { transform: scale(0.98); }
.v3-addon[aria-pressed="true"] {
  background: var(--gold-soft);
  border-color: var(--gold);
}
.v3-addon__icon {
  width: 32px; height: 32px;
  border-radius: var(--r-sm);
  background: var(--surface-2);
  border: 1px solid var(--line);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}
.v3-addon__title { font: 600 0.9375rem/1.1 var(--font-body); }
.v3-addon__price {
  margin-left: auto;
  font: var(--font-mono-sm);
  color: var(--gold-light);
}

/* ── Sign-in gate (overlay on the panel) ───────────────────────────── */
.v3-gate {
  margin-top: var(--sp-4);
  padding: var(--sp-5);
  border-radius: var(--r-lg);
  background:
    linear-gradient(135deg, rgba(201,168,76,0.18), transparent 60%),
    var(--surface-2);
  border: 1px solid rgba(201,168,76,0.32);
  text-align: center;
}
.v3-gate h3 {
  font: var(--font-display-md);
  margin-bottom: var(--sp-2);
}
.v3-gate p {
  color: var(--ink-dim);
  font: var(--font-body-sm);
  margin-bottom: var(--sp-4);
}
.v3-gate .v3-google-btn {
  margin: 0 auto;
}

/* When signed in, hide the gate; when out, hide the confirm content */
.v3-book[data-auth="signed-in"] .v3-gate,
.v3-book[data-auth="signed-in"] [data-show-when="signed-out"],
.v3-book[data-auth="signed-out"] [data-show-when="signed-in"] {
  display: none;
}

/* ── Confirm step: read-only summary list ────────────────────────────── */
.v3-confirm-list {
  display: grid;
  gap: var(--sp-3);
}
.v3-confirm-list__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--sp-3);
  padding: 12px 14px;
  border-radius: var(--r-md);
  background: var(--glass-bg);
  border: 1px solid var(--line);
}
.v3-confirm-list__row strong { font-weight: 600; color: var(--cream); }
.v3-confirm-list__row span { color: var(--ink-dim); font: var(--font-body-sm); }
.v3-confirm-terms {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 0;
  font: var(--font-body-sm);
  color: var(--ink-dim);
}
.v3-confirm-terms input[type="checkbox"] {
  width: 18px; height: 18px;
  margin-top: 1px;
  accent-color: var(--gold);
}

/* ── Wizard nav (back / next / pay) ───────────────────────────────────── */
.v3-book__nav {
  display: flex;
  gap: var(--sp-2);
  justify-content: space-between;
  margin-top: var(--sp-5);
}
.v3-book__nav .v3-btn--lg { min-width: 140px; }

/* ── Sticky summary rail (desktop ≥1024px) ───────────────────────────── */
.v3-summary {
  position: sticky;
  top: calc(var(--nav-h) + var(--sp-3));
  align-self: start;
  background:
    linear-gradient(180deg, rgba(245,240,230,0.04), rgba(245,240,230,0.01)),
    var(--surface-2);
  border: 1px solid var(--line-2);
  border-radius: var(--r-xl);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: var(--shadow-card);
  padding: var(--sp-5);
  display: none; /* shown on desktop only via media query */
}
@media (min-width: 1024px) { .v3-summary { display: block; } }

.v3-summary__head {
  display: flex; align-items: center; gap: var(--sp-3);
  padding-bottom: var(--sp-4);
  border-bottom: 1px solid var(--line);
}
.v3-summary__avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 2px solid var(--gold);
  overflow: hidden;
  flex-shrink: 0;
}
.v3-summary__avatar img { width: 100%; height: 100%; object-fit: cover; }
.v3-summary__name { font: 600 0.95rem/1.1 var(--font-body); color: var(--cream); }
.v3-summary__rate { font: var(--font-body-sm); color: var(--ink-dim); margin-top: 2px; }
.v3-summary__pill {
  margin-left: auto;
  font: 600 0.6875rem/1 var(--font-body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 5px 10px;
  background: var(--gold-soft);
  border: 1px solid rgba(201,168,76,0.32);
  border-radius: var(--r-pill);
}

.v3-summary__sect {
  padding: var(--sp-4) 0;
  border-bottom: 1px dashed var(--line);
}
.v3-summary__sect:last-of-type { border-bottom: 0; }
.v3-summary__sect h4 {
  font: 700 0.6875rem/1 var(--font-body);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: var(--sp-3);
}
.v3-summary__row {
  display: flex; justify-content: space-between; align-items: baseline;
  font: var(--font-body-sm);
  color: var(--ink);
  padding: 4px 0;
}
.v3-summary__row span { color: var(--ink-dim); }
.v3-summary__row strong { font-weight: 600; color: var(--cream); }
.v3-summary__row .v3-mono { color: var(--gold-light); }

.v3-summary__total {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-top: var(--sp-4);
  border-top: 1px solid var(--line);
  margin-top: var(--sp-3);
}
.v3-summary__total-label {
  font: var(--font-body-sm);
  color: var(--ink-dim);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.v3-summary__total-num {
  font: 700 2rem/1 var(--font-display);
  color: var(--gold-light);
  letter-spacing: -0.01em;
  transition: color var(--t-base) var(--ease);
}
.v3-summary__total-num.is-flash { color: var(--cream); }

/* ── Mobile / tablet bottom-sheet summary ────────────────────────────── */
.v3-mobile-summary {
  position: fixed;
  inset: auto 0 0 0;
  background: rgba(15, 14, 12, 0.92);
  border-top: 1px solid var(--line-2);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  z-index: 800;
  display: flex;
  flex-direction: column;
  gap: 0;
  box-shadow: 0 -12px 40px rgba(0,0,0,0.32);
  transition: transform var(--t-base) var(--ease);
}
@media (min-width: 1024px) { .v3-mobile-summary { display: none; } }
.v3-mobile-summary__bar {
  display: flex; align-items: center; gap: var(--sp-3); cursor: pointer;
  padding: 4px 0;
}
.v3-mobile-summary__bar-meta { display: grid; gap: 2px; }
.v3-mobile-summary__bar-label {
  font: 700 0.625rem/1 var(--font-body);
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-faint);
}
.v3-mobile-summary__bar-value {
  font: 700 1.25rem/1 var(--font-display);
  color: var(--gold-light);
  letter-spacing: -0.01em;
}
.v3-mobile-summary__bar .v3-btn {
  margin-left: auto;
}
.v3-mobile-summary__expand {
  margin-top: var(--sp-3);
  padding-top: var(--sp-3);
  border-top: 1px dashed var(--line);
  display: none;
}
.v3-mobile-summary[data-expanded="true"] .v3-mobile-summary__expand { display: block; }
.v3-mobile-summary__chevron {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: var(--glass-bg);
  color: var(--ink-dim);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  margin-left: var(--sp-2);
  transition: transform var(--t-base) var(--ease);
}
.v3-mobile-summary[data-expanded="true"] .v3-mobile-summary__chevron {
  transform: rotate(180deg);
}

/* ── Confirmation panel (replaces wizard on success) ─────────────────── */
.v3-success {
  text-align: center;
  padding: var(--sp-7) var(--sp-5);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-4);
  animation: v3-step-in var(--t-slow) var(--spring) both;
}
.v3-success__check {
  width: 96px; height: 96px;
  border-radius: 50%;
  background: var(--grad-warm);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 2.4rem;
  color: white;
  box-shadow: 0 0 0 8px var(--gold-soft), 0 24px 64px rgba(201,168,76,0.4);
  animation: v3-check-pop 700ms var(--spring) both;
}
@keyframes v3-check-pop {
  0%   { transform: scale(0); opacity: 0; }
  60%  { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(1); }
}
.v3-success__id {
  font: var(--font-mono-sm);
  color: var(--gold-light);
  background: var(--gold-soft);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: var(--r-pill);
  padding: 6px 14px;
  letter-spacing: 0.08em;
}

/* ── Tiny utility — animated pulse ring around the next CTA ──────────── */
@keyframes v3-pulse-ring {
  0%   { box-shadow: 0 0 0 0 rgba(201,168,76,0.45); }
  70%  { box-shadow: 0 0 0 14px rgba(201,168,76,0); }
  100% { box-shadow: 0 0 0 0 rgba(201,168,76,0); }
}
.v3-cta-pulse { animation: v3-pulse-ring 2s var(--ease) infinite; }
@media (prefers-reduced-motion: reduce) { .v3-cta-pulse { animation: none; } }

/* ── Loading spinner ─────────────────────────────────────────────────── */
.v3-spin {
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: white;
  border-radius: 50%;
  animation: v3-spin 750ms linear infinite;
  display: inline-block;
}
@keyframes v3-spin { to { transform: rotate(360deg); } }

/* ──────────────────────────────────────────────────────────────────────
   Dense layout — building back v2 character around the wizard
   ────────────────────────────────────────────────────────────────────── */

/* Editorial hero with photo card on the right */
.v3-book__hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(20px, 4vw, 36px);
  align-items: center;
  padding: clamp(28px, 4vw, 48px) 0 clamp(32px, 4vw, 48px);
}
.v3-book__hero-grid > * { min-width: 0; }
@media (min-width: 960px) {
  .v3-book__hero-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 56px; }
}
.v3-book__hero-text { text-align: left; }
.v3-book__hero-text .v3-kicker { color: var(--gold); display: inline-block; margin-bottom: var(--sp-3); }
.v3-book__hero-text h1 {
  font: var(--font-display-xl);
  letter-spacing: -0.012em;
}
.v3-book__hero-text h1 em { font-style: italic; color: var(--gold-light); }
.v3-book__hero-text p {
  margin-top: var(--sp-3);
  font: var(--font-body-lg);
  color: var(--ink-dim);
  max-width: 50ch;
}
.v3-book__hero-meta {
  display: flex; flex-wrap: wrap; gap: var(--sp-2);
  margin-top: var(--sp-4);
}

.v3-book__hero-card {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--line-2);
  background:
    linear-gradient(135deg, rgba(201,168,76,0.08) 0%, transparent 40%),
    var(--surface-2);
  box-shadow: var(--shadow-card);
  aspect-ratio: 4/5;
  max-width: 380px;
  margin-inline: auto;
  width: 100%;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
}
.v3-book__hero-card img {
  width: 100%; height: 100%; object-fit: cover;
}
.v3-book__hero-card::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(13,12,10,0.82) 100%);
  z-index: 1;
}
.v3-book__hero-card::after {
  content: ""; position: absolute; inset: 8px;
  border-radius: calc(var(--r-xl) - 6px);
  border: 1px solid rgba(201,168,76,0.16);
  pointer-events: none;
  z-index: 2;
}
.v3-book__hero-card-corner {
  position: absolute; top: 0; left: 0;
  width: 64px; height: 64px;
  z-index: 3; pointer-events: none;
}
.v3-book__hero-card-corner::before,
.v3-book__hero-card-corner::after { content: ""; position: absolute; background: var(--gold); }
.v3-book__hero-card-corner::before { top: 18px; left: 18px; width: 28px; height: 1px; }
.v3-book__hero-card-corner::after  { top: 18px; left: 18px; width: 1px; height: 28px; }
.v3-book__hero-card-rating {
  position: absolute; top: 16px; right: 16px; z-index: 3;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  background: var(--surface);
  border: 1px solid var(--gold);
  border-radius: var(--r-pill);
  font: 600 0.875rem/1 var(--font-body);
  color: var(--gold-light);
}
.v3-book__hero-card-meta {
  position: absolute; inset: auto 0 0 0;
  padding: var(--sp-5);
  z-index: 3;
}
.v3-book__hero-card-meta h3 {
  font: var(--font-display-md);
  color: var(--cream);
  margin-bottom: 2px;
}
.v3-book__hero-card-meta p {
  font: var(--font-body-sm);
  color: rgba(245,240,230,0.7);
}
.v3-book__hero-card-tags {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-top: var(--sp-3);
}
.v3-book__hero-card-tag {
  display: inline-flex; align-items: center; gap: 4px;
  font: 500 0.6875rem/1 var(--font-body);
  letter-spacing: 0.04em;
  color: rgba(245,240,230,0.78);
  padding: 5px 10px;
  background: rgba(15,14,12,0.55);
  border: 1px solid rgba(201,168,76,0.22);
  border-radius: var(--r-pill);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* Trust pillars strip — between hero and wizard */
.v3-book__pillars {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  justify-content: center;
  padding: var(--sp-4) var(--sp-3);
  border-radius: var(--r-lg);
  background:
    linear-gradient(180deg, rgba(245,240,230,0.03), rgba(245,240,230,0.005)),
    var(--surface-2);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  margin-bottom: var(--sp-6);
}
.v3-book__pillar {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 500 0.8125rem/1 var(--font-body);
  color: var(--ink-dim);
  padding: 8px 4px;
}
.v3-book__pillar i { color: var(--gold); width: 14px; text-align: center; }
.v3-book__pillar strong { color: var(--ink); font-weight: 600; }

/* Make the wizard panel itself denser & glassier */
.v3-book__panel {
  background:
    radial-gradient(ellipse at 0% 0%, rgba(201,168,76,0.08) 0%, transparent 35%),
    radial-gradient(ellipse at 100% 100%, rgba(184,92,92,0.05) 0%, transparent 40%),
    linear-gradient(180deg, rgba(245,240,230,0.04) 0%, rgba(245,240,230,0.01) 100%),
    var(--surface-2);
  position: relative;
  overflow: hidden;
}
.v3-book__panel::before {
  /* Floating Greek letter inside the wizard panel for ambient depth */
  content: "Α";
  position: absolute;
  top: -40px; right: -30px;
  font: 700 16rem/1 var(--font-display);
  color: rgba(201,168,76,0.04);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.v3-book__panel-head, .v3-book__panel-body, .v3-book__nav { position: relative; z-index: 1; }

/* Make the section header (kicker + h2) richer */
.v3-book__panel-head {
  padding-bottom: var(--sp-3);
  border-bottom: 1px dashed var(--line);
  align-items: center;
}
.v3-book__panel-head .v3-kicker {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--gold-soft);
  padding: 6px 12px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(201,168,76,0.28);
  color: var(--gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.6875rem;
}

/* Pick cards: denser, with hover glow and check pulse */
.v3-pick {
  background:
    radial-gradient(ellipse at 100% 0%, rgba(201,168,76,0.06) 0%, transparent 55%),
    linear-gradient(180deg, rgba(245,240,230,0.04) 0%, rgba(245,240,230,0.01) 100%),
    var(--surface);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
}
.v3-pick__icon {
  font-size: 1.4rem;
  width: 48px; height: 48px;
}
.v3-pick[aria-pressed="true"] {
  box-shadow:
    0 0 0 1px var(--gold),
    0 0 32px rgba(201,168,76,0.3),
    0 16px 36px rgba(201,168,76,0.18);
}
.v3-pick[aria-pressed="true"] .v3-pick__icon {
  background: var(--grad-warm);
  border-color: transparent;
  color: #1a1814;
  box-shadow: 0 8px 20px rgba(201,168,76,0.4);
}

/* Slot row gets an outer scroll padding so end items don't kiss the edge */
.v3-slots { padding-block: 4px; }
.v3-slot[aria-pressed="true"] {
  box-shadow: 0 8px 20px rgba(201,168,76,0.35);
}

/* Calendar nav buttons — disabled state */
.v3-cal__nav button[disabled] {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}

/* Sticky summary rail — stronger gold rim, photo of Iain at top */
.v3-summary {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(201,168,76,0.12) 0%, transparent 50%),
    linear-gradient(180deg, rgba(245,240,230,0.04), rgba(245,240,230,0.01)),
    var(--surface-2);
}
.v3-summary::before {
  /* Subtle gold rim */
  content: ""; position: absolute; inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(201,168,76,0.16), transparent 18%);
  mix-blend-mode: overlay;
}
.v3-summary { position: sticky; }   /* preserve sticky from earlier rule */

/* ──────────────────────────────────────────────────────────────────────
   Supporting sections: pillars · social proof · reviews · FAQ
   ────────────────────────────────────────────────────────────────────── */

.v3-section-band {
  padding: clamp(36px, 5vw, 64px) 0;
  position: relative;
}

/* Reviews carousel */
.v3-reviews {
  position: relative;
  padding: clamp(24px, 4vw, 40px);
  background:
    radial-gradient(ellipse at 20% 0%, rgba(201,168,76,0.10) 0%, transparent 55%),
    linear-gradient(180deg, rgba(245,240,230,0.04) 0%, rgba(245,240,230,0.01) 100%),
    var(--surface-2);
  border: 1px solid var(--line-2);
  border-radius: var(--r-xl);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: var(--shadow-card);
}
.v3-reviews h3 {
  display: flex; align-items: center; gap: 10px;
  font: var(--font-display-md);
  margin-bottom: var(--sp-4);
}
.v3-reviews h3 i { color: var(--gold); }
.v3-reviews__rotator {
  position: relative;
  min-height: 140px;
}
.v3-reviews__quote {
  font: italic 500 1.2rem/1.5 var(--font-display);
  color: var(--cream);
  margin-bottom: var(--sp-3);
  transition: opacity 220ms var(--ease);
}
.v3-reviews__author {
  font: 600 0.8125rem/1 var(--font-body);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  transition: opacity 220ms var(--ease);
}
.v3-reviews__dots {
  display: flex; gap: 6px; margin-top: var(--sp-4);
}
.v3-reviews__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--line-2);
  border: 0; padding: 0; cursor: pointer;
  transition: width var(--t-base) var(--ease), background var(--t-base) var(--ease);
}
.v3-reviews__dot[data-active="true"] {
  background: var(--gold);
  width: 18px; border-radius: 3px;
}

/* FAQ accordion */
.v3-faq h3 {
  display: flex; align-items: center; gap: 10px;
  font: var(--font-display-md);
  margin-bottom: var(--sp-4);
}
.v3-faq h3 i { color: var(--rose); }
.v3-faq details {
  background:
    linear-gradient(180deg, rgba(245,240,230,0.03), rgba(245,240,230,0.01)),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 0;
  margin-bottom: 8px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: border-color var(--t-base) var(--ease);
}
.v3-faq details:hover { border-color: var(--line-2); }
.v3-faq details[open] {
  border-color: var(--gold);
  background:
    radial-gradient(ellipse at 0% 0%, rgba(201,168,76,0.10) 0%, transparent 70%),
    var(--surface);
}
.v3-faq summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 18px;
  font: 600 0.95rem/1.3 var(--font-body);
  color: var(--ink);
  display: flex; align-items: center; gap: 10px;
  position: relative;
  user-select: none;
}
.v3-faq summary::-webkit-details-marker { display: none; }
.v3-faq summary::after {
  content: "+";
  margin-left: auto;
  font: 300 1.4rem/1 var(--font-display);
  color: var(--gold);
  transition: transform var(--t-base) var(--ease);
}
.v3-faq details[open] summary::after { transform: rotate(45deg); }
.v3-faq__body {
  padding: 0 18px 18px;
  color: var(--ink-dim);
  font: var(--font-body-md);
  line-height: 1.6;
}

/* Pantheon callout (loyalty package) */
.v3-pantheon {
  position: relative;
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--r-xl);
  background:
    radial-gradient(circle at 100% 0%, rgba(201,168,76,0.18), transparent 55%),
    radial-gradient(circle at 0% 100%, rgba(184,92,92,0.14), transparent 60%),
    var(--surface-2);
  border: 1px solid rgba(201,168,76,0.32);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
  align-items: center;
}
@media (min-width: 768px) {
  .v3-pantheon { grid-template-columns: auto 1fr auto; }
}
.v3-pantheon__crown {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--grad-warm);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  color: white;
  box-shadow: 0 0 0 6px var(--gold-soft), 0 12px 32px rgba(201,168,76,0.3);
}
.v3-pantheon h3 {
  font: var(--font-display-md);
  letter-spacing: -0.005em;
}
.v3-pantheon h3 em { font-style: italic; color: var(--gold-light); }
.v3-pantheon p {
  color: var(--ink-dim);
  margin-top: 4px;
  font: var(--font-body-md);
}

/* Service area grid (graphic preview) */
.v3-areas {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-2);
}
.v3-areas > * { min-width: 0; }
@media (min-width: 600px) { .v3-areas { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 900px) { .v3-areas { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.v3-area-tile {
  padding: var(--sp-3);
  border-radius: var(--r-md);
  background:
    linear-gradient(180deg, rgba(245,240,230,0.04), rgba(245,240,230,0.01)),
    var(--surface);
  border: 1px solid var(--line);
  text-align: center;
  font: 500 0.875rem/1.2 var(--font-body);
  color: var(--ink);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
}
.v3-area-tile:hover { transform: translateY(-2px); border-color: var(--gold); }
.v3-area-tile span:first-child { font-size: 1.4rem; }
.v3-area-tile small { color: var(--ink-faint); font: 500 0.6875rem/1 var(--font-body); letter-spacing: 0.06em; text-transform: uppercase; }

/* Confetti canvas */
#v3-confetti {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 1200;
  display: none;
}
#v3-confetti.is-on { display: block; }

/* ──────────────────────────────────────────────────────────────────────
   Live "pulse" hero strip
   ────────────────────────────────────────────────────────────────────── */
.v3-pulse {
  margin-top: var(--sp-4);
  padding: 10px 14px;
  border-radius: var(--r-pill);
  background:
    radial-gradient(ellipse at 0% 50%, rgba(201,168,76,0.16) 0%, transparent 60%),
    var(--glass-bg);
  border: 1px solid rgba(201,168,76,0.22);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  box-shadow: 0 8px 22px rgba(0,0,0,0.18);
}
.v3-pulse::-webkit-scrollbar { display: none; }
.v3-pulse__row {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font: var(--font-body-sm);
  color: var(--ink);
  white-space: nowrap;
}
.v3-pulse__label {
  font: 700 0.6875rem/1 var(--font-body);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
.v3-pulse__dot--live {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #4ec27b;
  box-shadow: 0 0 0 4px rgba(78, 194, 123, 0.18);
  animation: v3-pulse-glow 2s ease-in-out infinite;
}
@keyframes v3-pulse-glow {
  0%, 100% { box-shadow: 0 0 0 4px rgba(78, 194, 123, 0.18); }
  50%      { box-shadow: 0 0 0 9px rgba(78, 194, 123, 0); }
}
@media (prefers-reduced-motion: reduce) { .v3-pulse__dot--live { animation: none; } }
.v3-pulse__sep {
  width: 1px; height: 12px;
  background: var(--line-2);
}
.v3-pulse__value {
  display: inline-flex; align-items: baseline; gap: 5px;
  font: 600 0.875rem/1 var(--font-body);
  color: var(--cream);
}
.v3-pulse__unit {
  font: var(--font-body-sm);
  color: var(--ink-dim);
  font-weight: 400;
}

/* ──────────────────────────────────────────────────────────────────────
   Animated step progress bar — sits behind the step tablist
   ────────────────────────────────────────────────────────────────────── */
.v3-book__steps {
  position: relative;
  padding: 12px 12px;
  border-radius: var(--r-pill);
  background:
    linear-gradient(180deg, rgba(245,240,230,0.04), rgba(245,240,230,0.01)),
    var(--surface);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(10px);
  overflow: hidden;
  isolation: isolate;
}
.v3-book__steps::before {
  /* Filled gold gradient track that grows as the user advances */
  content: "";
  position: absolute;
  inset: 0;
  width: var(--progress, 25%);
  background: linear-gradient(90deg, rgba(201,168,76,0.20) 0%, rgba(184,92,92,0.16) 100%);
  z-index: -1;
  transition: width 450ms var(--spring);
  border-radius: inherit;
}

/* ──────────────────────────────────────────────────────────────────────
   Slot grouping with section headers
   ────────────────────────────────────────────────────────────────────── */
.v3-slot-group { display: grid; gap: var(--sp-2); }
.v3-slot-group + .v3-slot-group { margin-top: var(--sp-4); }
.v3-slot-group__head {
  display: flex; align-items: center; gap: 8px;
  font: 700 0.6875rem/1 var(--font-body);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.v3-slot-group__head::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
.v3-slot-group__head i {
  color: var(--gold);
  font-size: 0.85rem;
}

/* ──────────────────────────────────────────────────────────────────────
   Duration slider polish — emoji that morphs with hours
   ────────────────────────────────────────────────────────────────────── */
.v3-slider-row {
  position: relative;
}
.v3-slider-emoji {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 25%, rgba(255,255,255,0.16), transparent 55%),
    var(--gold-soft);
  border: 1px solid rgba(201,168,76,0.32);
  font-size: 1.4rem;
  margin-right: var(--sp-3);
  flex-shrink: 0;
  transition: transform 380ms var(--spring), background 250ms var(--ease);
}
.v3-slider-meta {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}
.v3-slider-meta__text {
  display: grid;
  gap: 2px;
}
.v3-slider-meta__text strong {
  font: 700 1.6rem/1 var(--font-display);
  color: var(--cream);
  letter-spacing: -0.01em;
}
.v3-slider-meta__text span {
  font: var(--font-body-sm);
  color: var(--ink-dim);
}
.v3-slider-meta__total {
  margin-left: auto;
  text-align: right;
}
.v3-slider-meta__total span {
  display: block;
  font: 700 0.6875rem/1 var(--font-body);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 2px;
}
.v3-slider-meta__total strong {
  font: 700 1.4rem/1 var(--font-display);
  color: var(--gold-light);
}

/* ──────────────────────────────────────────────────────────────────────
   Hero photo card — 3D parallax tilt on hover
   ────────────────────────────────────────────────────────────────────── */
.v3-book__hero-card {
  perspective: 900px;
  transform-style: preserve-3d;
  transition: transform 600ms var(--ease);
  will-change: transform;
}
.v3-book__hero-card:hover {
  transform:
    rotateY(var(--tx, 0deg))
    rotateX(var(--ty, 0deg))
    scale(1.015);
}
.v3-book__hero-card img {
  transition: transform 600ms var(--ease);
}
.v3-book__hero-card:hover img {
  transform: scale(1.04);
}

/* Soft shimmer overlay on the gold rim */
.v3-book__hero-card::after {
  content: ""; position: absolute; inset: 8px;
  border-radius: calc(var(--r-xl) - 6px);
  border: 1px solid rgba(201, 168, 76, 0.16);
  pointer-events: none;
  z-index: 2;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.08) 50%, transparent 70%);
  background-size: 220% 100%;
  background-position: -100% 0;
  animation: v3-card-shimmer 9s linear infinite;
}
@keyframes v3-card-shimmer {
  0%   { background-position: -100% 0; }
  100% { background-position: 200% 0; }
}
@media (prefers-reduced-motion: reduce) {
  .v3-book__hero-card::after { animation: none; }
  .v3-book__hero-card:hover { transform: none; }
  .v3-book__hero-card:hover img { transform: none; }
}

/* ──────────────────────────────────────────────────────────────────────
   Pick card subtle tilt + gold glow
   ────────────────────────────────────────────────────────────────────── */
.v3-pick {
  isolation: isolate;
  overflow: hidden;
}
.v3-pick::before {
  /* Diagonal gold sheen on hover */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(201, 168, 76, 0.06) 50%, transparent 65%);
  background-size: 220% 100%;
  background-position: 100% 0;
  transition: background-position 700ms var(--ease);
  pointer-events: none;
  z-index: 0;
}
.v3-pick:hover::before { background-position: -100% 0; }
.v3-pick > * { position: relative; z-index: 1; }
