/* ============================================================
   MarketStarter — /book/ · page styles
   Loaded AFTER /styles.css + /services/service.css.
   Adds: the single-column booking act, the click-to-load
   consent gate card, the Cal.com inline-embed frame.
   Root design system untouched.
   ============================================================ */

/* light booking act — single column, CONSOLE FIRST (CRO restructure
   2026-07-24: the gate sits at/above the fold; the explanatory copy
   moved BELOW the calendar). The calendar needs more width than the
   contact page's 520px two-column console, so this page deliberately
   breaks the grid. */
.act--book { background: var(--paper); padding-top: clamp(28px, 4vw, 48px); }
.act--book .act-copy { max-width: 640px; margin: clamp(48px, 7vw, 72px) auto 0; }

/* compact hero — the calendar is the point of this page */
.svc-hero--compact { padding-top: clamp(104px, 13vh, 144px); padding-bottom: clamp(32px, 4.5vw, 52px); }
.svc-hero--compact .hero-sub { margin-bottom: 4px; }
@media (max-width: 640px) {
  .svc-hero--compact { padding-top: 84px; padding-bottom: 20px; }
  /* the chips repeat what the sub already says — on a real iPhone the
     usable Safari viewport is ~660px and every row counts */
  .svc-hero--compact .hero-status { display: none; }
  .act--book { padding-top: 14px; }
  .book-gate { padding-top: 10px; }
  .book-gate-copy { font-size: 13px; }
}

/* the ghost numeral is the call length, not an act number */
.act--book .act-num { font-size: clamp(120px, 18vw, 260px); opacity: 0.7; }

/* ---------- next steps (copy column) ---------- */
.next-steps { margin-top: 36px; display: grid; gap: 12px; max-width: 30em; }
.next-steps li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: baseline; }
.next-steps .step-n { font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.1em; color: var(--green-text-light); }
.next-steps span { color: var(--ink-muted-strong); font-size: 15px; line-height: 1.6; }

/* ---------- other doors ---------- */
.alt-lines { margin-top: 40px; display: grid; gap: 10px; justify-items: start; }
.alt-lines .mono-label { color: var(--ink-muted); margin-bottom: 2px; }
.alt-line {
  font-weight: 600; font-size: 15.5px; color: var(--navy);
  text-decoration: none;
  border-bottom: 2px solid var(--green);
  padding-bottom: 3px;
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.alt-line:hover { border-color: var(--green-hover); color: var(--green-deep); }

/* ---------- the booking console ---------- */
.console--book {
  background: var(--navy); color: var(--on-dark);
  border-radius: var(--r-2xl);
  padding: 26px 26px 24px;
  box-shadow: 0 32px 80px -28px rgba(14, 17, 22, 0.45), 0 0 0 1px rgba(14, 17, 22, 0.9);
  max-width: 920px;
  margin: 0 auto;
}
.console--book .console-head {
  display: flex; align-items: center; gap: 10px;
  color: var(--on-dark-muted);
  padding-bottom: 16px; margin-bottom: 6px;
  border-bottom: 1px solid rgba(233, 236, 239, 0.08);
}

/* ---------- the consent gate (base HTML state) ----------
   Everything here is visible and works with zero JavaScript:
   the primary control is a plain link to the cal.com booking
   page. book.js upgrades the SAME control into "load it here". */
.book-gate { padding: clamp(22px, 4vw, 40px) clamp(4px, 2vw, 28px) 12px; text-align: center; }
.book-gate-copy {
  max-width: 44em; margin: 0 auto;
  color: var(--on-dark-muted); font-size: 14.5px; line-height: 1.65;
}
.book-gate-copy strong { color: var(--on-dark); font-weight: 600; }
.book-gate .btn { margin-top: 10px; }
.book-gate-copy { margin-top: 18px; }
.book-gate-note {
  margin-top: 14px;
  color: var(--on-dark-faint); font-size: 9.5px;
}
.book-gate-privacy {
  margin-top: 8px;
  color: var(--on-dark-muted); font-size: 12px;
}
.book-gate-privacy a {
  color: var(--on-dark-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--dur) var(--ease);
}
.book-gate-privacy a:hover { color: var(--green-bright); }

/* loading state — set by book.js on the gate button */
.book-gate .btn.is-loading { opacity: 0.6; cursor: wait; translate: none; box-shadow: none; }

/* failure note — created by book.js only, styled here */
.book-gate-fail {
  margin-top: 14px;
  color: var(--on-dark); font-size: 13.5px;
  padding: 11px 14px;
  background: rgba(233, 236, 239, 0.06);
  border: 1px solid rgba(233, 236, 239, 0.16);
  border-radius: var(--r-md);
}

/* ---------- the embed frame ----------
   Empty in base HTML (no reserved hole in the static render);
   book.js gives it .is-loaded when Cal is actually coming. */
.cal-frame { min-height: 0; }
.cal-frame.is-loaded {
  min-height: 620px;
  border-radius: var(--r-xl);
  overflow: clip;
  /* the embed iframe paints its own dark background; this shows
     during the hand-off so there is no white flash on a dark card */
  background: var(--ink-deep);
}
@media (max-width: 640px) { .cal-frame.is-loaded { min-height: 700px; } }

/* the escape hatch under a loaded calendar */
.cal-direct {
  margin-top: 12px; text-align: center;
  color: var(--on-dark-faint); font-size: 12px;
}
.cal-direct a {
  color: var(--on-dark-muted);
  text-decoration: underline; text-underline-offset: 2px;
}
.cal-direct a:hover { color: var(--green-bright); }

/* ---------- slim closing act (no giant wordmark here) ---------- */
.close--slim { padding-top: clamp(80px, 10vw, 130px); }
.close--slim h2 { margin-top: 0; }
