/* Top of the page, centered: pill, headline, one line, the 16:9 video, then the calendar.
   Behind it, the Silk shader from js/hero-bg.js, filling the whole hero. White on black only. */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-bottom: 72px;
}
.hero-bg {
  /* Silk fills the whole hero, edge to edge (Colton 2026-10-17: "the white needs to be the entire
     background"). Only the very bottom fades, so the next section starts on clean black. */
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 88%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 88%, transparent 100%);
}
/* A soft light falling from the top, so the headline sits in a lit area. Gray, no color. */
.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 720px;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse 55% 60% at 50% 0%, rgba(255, 255, 255, 0.09), transparent 70%);
}
.grid-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: skewY(-12deg);
  transform-origin: 50% 0;
  color: #fff;
  fill: none;
  stroke: rgba(255, 255, 255, 0.11);
}
.grid-cells rect { stroke: none; }

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 40px;
}
.tag {
  display: inline-block;
  padding: 7px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--soft);
  white-space: nowrap;
}
.tag::before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  margin: -2px 9px 0 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text);
}
.hero h1 {
  margin-top: 20px;
  max-width: 17ch;
  font-size: clamp(2rem, 7.6vw, 3.25rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
}
.hero .lede {
  margin-top: 18px;
  max-width: 52ch;
  color: var(--soft);
  font-size: clamp(1rem, 2.4vw, 1.15rem);
  line-height: 1.5;
}

.vsl {
  position: relative;
  width: 100%;
  max-width: 880px;
  margin-top: 32px;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  border: 1px solid var(--line-strong);
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.03), 0 30px 80px -30px rgba(0, 0, 0, 0.9);
}
.vsl.is-tall { max-width: 400px; }
.vsl video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.vsl-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--bg);
  cursor: pointer;
  box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.12);
  transition: transform 0.15s ease;
}
.vsl-play:hover { transform: scale(1.05); }
.vsl-play svg { margin-left: 3px; }

/* Chapter buttons under the video: a row that wraps, centered under the player. */
.chapters {
  list-style: none;
  width: 100%;
  max-width: 880px;
  margin: 14px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.chapter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font: inherit;
  font-size: 0.84rem;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.chapter:hover { border-color: rgba(255, 255, 255, 0.6); }
.chapter.is-current { background: #fff; color: #000; border-color: #fff; }
.chapter-time { font-variant-numeric: tabular-nums; opacity: 0.7; }

/* The calendar box. Calendly draws on white, so it sits on a white card. */
.booking { min-width: 0; scroll-margin-top: 72px; }
.booking-top { max-width: 1000px; margin-top: 56px; text-align: center; }
.booking-label { font-size: clamp(1.6rem, 4.4vw, 2.2rem); font-weight: 600; letter-spacing: -0.035em; line-height: 1.1; }
.booking-sub { margin-top: 6px; color: var(--soft); font-size: 0.98rem; }
.calendar {
  position: relative;
  margin-top: 20px;
  height: 700px;
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  text-align: left;
}
.calendar .calendly-inline-widget, .calendar iframe { width: 100%; height: 100%; }
.calendar-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 14px;
  padding: 24px;
  text-align: center;
  color: #000;
}
.calendar-fallback .btn { background: #000; color: #fff; border-color: #000; }
.booking-note { margin-top: 14px; color: var(--muted); font-size: 0.88rem; }
/* Apple Pay way out under each calendar: a label plus an outlined pill, sized like the main buttons. */
.booking-applepay { margin-top: 22px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.booking-applepay p { color: var(--text); font-size: 1.08rem; font-weight: 600; letter-spacing: -0.01em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8), 0 2px 16px rgba(0, 0, 0, 0.6); }
.btn-ghost { min-height: 52px; padding: 0 28px; font-size: 1.02rem; font-weight: 600;
  background: rgba(0, 0, 0, 0.55); color: var(--text); border: 1.5px solid var(--text); }
.btn-ghost:hover { background: var(--text); color: var(--bg); border-color: var(--text); }
.calendar iframe { display: block; border: 0; }

@media (min-width: 1080px) {
  .hero { padding-bottom: 104px; }
  .hero-inner { padding-top: 52px; }
  .hero h1 { max-width: 24ch; }
  .hero .lede { margin-top: 20px; max-width: 62ch; }
  .vsl { margin-top: 36px; }
  .vsl-play { width: 76px; height: 76px; }
  .booking-top { margin-top: 88px; }
}
@media (max-width: 380px) {
  .tag { font-size: 0.74rem; padding: 6px 12px; }
}

/* Silk shader canvas (js/hero-bg.js) fills the masked hero background box. */
.hero-shader { display: block; width: 100%; height: 100%; }
.hero-bg.no-webgl { background: radial-gradient(ellipse 60% 50% at 50% 30%, #1c1c1c, #000 70%); }

/* Silk now runs bright behind the copy: a soft shadow keeps the headline and line crisp. */
.hero h1 { text-shadow: 0 2px 24px rgba(0, 0, 0, 0.55); }
.hero .lede { color: rgba(255, 255, 255, 0.86); text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8), 0 2px 16px rgba(0, 0, 0, 0.7); }
.booking-top h2, .booking-top p { text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8), 0 2px 16px rgba(0, 0, 0, 0.6); }
