/* John Savage — public booking page. Restyled onto his brand: red-led,
   Sora/Roboto, shared header + footer chrome, snazzy hero strip, and the
   booking widget (all .bk-* ids/classes untouched) in a clean branded card.
   Self-contained: booking.js and the Pages Function only care about the
   .bk-* hooks, which are all preserved. */
:root {
  --ink: #0c0f24;
  --accent: #ea2027;
  --accent-dk: #c1121a;
  --bg: #ffffff;
  --surface: #f5f6fa;
  --line: #e4e6ef;
  --muted: #5b5f72;
  --maxw: 1140px;

  /* widget tokens re-pointed at the brand */
  --bk-card: #ffffff;
  --bk-ink: #0c0f24;
  --bk-muted: #5b5f72;
  --bk-line: #e4e6ef;
  --bk-accent: #ea2027;
  --bk-accent-ink: #ffffff;
  --bk-radius: 12px;
}

* , *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Roboto", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: "Sora", system-ui, sans-serif; line-height: 1.08; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.015em; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; width: 100%; }

/* Buttons (shared look with the main site) */
.btn {
  display: inline-block; font-family: "Sora", sans-serif; font-weight: 700;
  text-decoration: none; border-radius: 8px; padding: .9rem 1.7rem;
  font-size: 1rem; line-height: 1.1; cursor: pointer; border: 0;
  transition: transform .12s ease, box-shadow .12s ease, opacity .12s ease;
}
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 8px 22px rgba(234,32,39,.28); }
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(234,32,39,.4); }

/* Header / nav */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 14px 20px; max-width: var(--maxw); margin: 0 auto; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; font-family: "Sora", sans-serif; font-weight: 800; color: var(--ink); font-size: 1.15rem; }
.brand img { width: 34px; height: 34px; }
.nav-links { display: flex; align-items: center; gap: 1.3rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-family: "Sora", sans-serif; font-weight: 600; font-size: .95rem; color: var(--ink); padding: .3rem 0; border-bottom: 2px solid transparent; }
.nav-links a:hover { color: var(--accent); border-bottom-color: var(--accent); }
.nav-cta { display: flex; align-items: center; gap: .8rem; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; }

.eyebrow { display: inline-flex; align-items: center; gap: .65rem; font-family: "Sora", sans-serif; text-transform: uppercase; letter-spacing: .16em; font-size: .8rem; font-weight: 700; color: #fff; margin: 0 0 1rem; }
.eyebrow::before { content: ""; width: 30px; height: 3px; background: #fff; display: inline-block; flex: 0 0 auto; }

/* Snazzy red hero strip with John's header cutout */
.bk-hero {
  background: radial-gradient(125% 130% at 12% 8%, #f5313a 0%, var(--accent) 44%, var(--accent-dk) 100%);
  color: #fff; border-bottom: 5px solid var(--ink); overflow: hidden;
}
.bk-hero-wrap {
  max-width: var(--maxw); margin: 0 auto; padding: 56px 20px 0; width: 100%;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: end;
}
.bk-hero-copy { padding-bottom: 56px; }
.bk-hero h1 { color: #fff; font-size: clamp(2rem, 5vw, 3.4rem); margin-bottom: .35em; }
.bk-hero h1 .hl { color: var(--ink); }
.bk-hero p { color: rgba(255,255,255,.92); font-size: 1.18rem; max-width: 44ch; margin: 0 0 1rem; }
.bk-hero-note strong { color: #fff; }
.bk-hero-photo { max-width: 400px; width: 100%; margin-left: auto; }
.bk-hero-photo img { width: 100%; background: transparent; filter: drop-shadow(0 22px 38px rgba(0,0,0,.34)); }

/* Booking widget section + branded card */
.bk-section { background: var(--surface); padding: 56px 20px; display: flex; justify-content: center; }
.bk-card {
  width: 100%;
  max-width: 560px;
  background: var(--bk-card);
  border: 1px solid var(--bk-line);
  border-top: 4px solid var(--accent);
  border-radius: var(--bk-radius);
  padding: 30px;
  box-shadow: 0 16px 40px rgba(12,15,36,.10);
}

.bk-title { margin: 0 0 4px; font-size: 1.6rem; color: var(--ink); }
.bk-sub { margin: 0 0 20px; color: var(--bk-muted); font-family: "Sora", sans-serif; font-weight: 600; font-size: .95rem; }
.bk-status { margin: 8px 0; color: var(--bk-muted); }

.bk-day { margin-bottom: 20px; }
.bk-day-title { font-size: 1rem; margin: 0 0 8px; color: var(--ink); font-weight: 700; }
.bk-day-slots { display: flex; flex-wrap: wrap; gap: 8px; }
.bk-day-empty { margin: 0; font-size: 0.85rem; color: var(--bk-muted); }

/* Five-day window pager. */
.bk-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.bk-nav-label { font-size: 0.9rem; color: var(--bk-muted); font-family: "Sora", sans-serif; font-weight: 600; }
.bk-arrow {
  border: 1px solid var(--bk-line); background: transparent; color: var(--ink);
  border-radius: 8px; width: 36px; height: 36px; font-size: 1.1rem; line-height: 1; cursor: pointer;
}
.bk-arrow:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); }
.bk-arrow:disabled { opacity: 0.35; cursor: default; }

/* Extend / shorten a back-to-back multi-slot booking (operator-enabled). */
.bk-extend { display: flex; gap: 8px; margin: 0 0 4px; }
.bk-extend-btn {
  border: 1px solid var(--accent); background: transparent; color: var(--accent);
  border-radius: 8px; padding: 6px 12px; font-size: 0.85rem; cursor: pointer;
  font-family: "Sora", sans-serif; font-weight: 600;
}
.bk-extend-btn:hover:not(:disabled) { background: var(--accent); color: var(--bk-accent-ink); }
.bk-extend-btn:disabled { opacity: 0.4; cursor: default; }

.bk-slot {
  border: 1px solid var(--accent); background: transparent; color: var(--accent);
  border-radius: 8px; padding: 9px 15px; font-size: 0.92rem; cursor: pointer;
  font-family: "Sora", sans-serif; font-weight: 600;
  transition: background .12s ease, color .12s ease;
}
.bk-slot:hover { background: var(--accent); color: var(--bk-accent-ink); }

.bk-form { display: flex; flex-direction: column; gap: 14px; }
/* The form's display:flex would otherwise beat the UA [hidden] rule and show
   the form before a slot is picked; this keeps `hidden` authoritative. */
.bk-form[hidden] { display: none; }
.bk-chosen { font-family: "Sora", sans-serif; font-weight: 700; margin: 0 0 4px; color: var(--ink); }
.bk-label { display: flex; flex-direction: column; gap: 4px; font-family: "Sora", sans-serif; font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--ink); }
.bk-input {
  border: 1px solid var(--bk-line); border-radius: 8px; padding: 10px 12px;
  font-size: 1rem; color: var(--ink); font-family: "Roboto", sans-serif; font-weight: 400;
  text-transform: none; letter-spacing: normal; background: #fff;
}
.bk-input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(234,32,39,.14); }

/* honeypot — visually and from the layout removed, still in the DOM for bots */
.bk-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.bk-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 4px; }
.bk-back {
  background: transparent; border: 1px solid var(--bk-line); border-radius: 8px;
  padding: 10px 16px; cursor: pointer; color: var(--bk-muted);
  font-family: "Sora", sans-serif; font-weight: 600;
}
.bk-back:hover { border-color: var(--ink); color: var(--ink); }
.bk-submit {
  background: var(--accent); color: var(--bk-accent-ink); border: none; border-radius: 8px;
  padding: 10px 22px; font-size: 1rem; cursor: pointer;
  font-family: "Sora", sans-serif; font-weight: 700;
  box-shadow: 0 8px 22px rgba(234,32,39,.28);
  transition: transform .12s ease, box-shadow .12s ease;
}
.bk-submit:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(234,32,39,.4); }
.bk-submit:disabled { opacity: 0.6; cursor: default; box-shadow: none; }

.bk-done { text-align: center; padding: 16px 0; }
.bk-done-title { margin: 0 0 8px; font-size: 1.4rem; color: var(--accent); }
.bk-done-msg { color: var(--bk-muted); margin: 0; }

/* Footer (shared look with the main site) */
.site-footer { background: var(--ink); color: #fff; padding: 60px 0 28px; border-top: 5px solid var(--accent); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
.site-footer h4 { font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; color: #fff; margin-bottom: 1rem; }
.site-footer a { color: rgba(255,255,255,.8); text-decoration: none; display: block; padding: .2rem 0; }
.site-footer a:hover { color: #fff; }
.footer-tag { font-family: "Sora", sans-serif; font-weight: 800; font-size: 1.35rem; text-transform: uppercase; color: #fff; margin: 0 0 1rem; letter-spacing: -.01em; }
.footer-contact div { margin: .3rem 0; color: rgba(255,255,255,.8); }
.footer-contact a { display: inline; }
.footer-reg { border-top: 1px solid rgba(255,255,255,.15); margin-top: 36px; padding-top: 20px; font-size: .82rem; color: rgba(255,255,255,.6); }
.footer-reg p { margin: .3rem 0; }
/* Footer sign-off: socials + handwritten signature + eXp reference */
.footer-signoff { display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap; margin-top:40px; padding-top:26px; border-top:1px solid rgba(255,255,255,.15); }
.footer-social { display:flex; align-items:center; gap:14px; }
.footer-social a { display:inline-flex; align-items:center; justify-content:center; width:42px; height:42px; border-radius:10px; background:rgba(255,255,255,.08); color:#fff; padding:0; transition:background .15s ease, transform .15s ease; }
.footer-social a:hover { background:var(--accent); color:#fff; transform:translateY(-2px); }
.footer-social svg { display:block; }
.footer-exp { display:flex; flex-direction:column; align-items:flex-end; text-align:right; gap:.15rem; line-height:1; }
.footer-sign { font-family:"Dancing Script", cursive; font-weight:700; font-size:2.4rem; color:#fff; line-height:.85; }
.footer-exp-txt { font-family:"Sora", sans-serif; font-weight:600; font-size:.8rem; letter-spacing:.09em; text-transform:uppercase; color:rgba(255,255,255,.72); }
.footer-exp-txt b { color:var(--accent); font-weight:800; letter-spacing:.01em; }
@media (max-width:560px){ .footer-signoff{flex-direction:column;align-items:flex-start;gap:18px} .footer-exp{align-items:flex-start;text-align:left} }

/* Responsive */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-links { position: fixed; inset: 62px 0 auto 0; flex-direction: column; background: var(--bg); border-bottom: 1px solid var(--line); padding: 1rem 20px; gap: .4rem; display: none; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: .6rem 0; width: 100%; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: block; }
  .bk-hero-wrap { grid-template-columns: 1fr; gap: 20px; padding: 40px 20px 0; }
  .bk-hero-copy { padding-bottom: 0; order: 2; }
  .bk-hero-photo { order: 1; max-width: 280px; margin: 0 auto; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .bk-section { padding: 40px 16px; }
  .bk-card { padding: 22px; }
}
