* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  background: var(--surface-page);
  color: var(--text-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
[data-lucide] { stroke-width: 2; }
a { color: inherit; text-decoration: none; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.wrap-narrow { width: 100%; max-width: 860px; margin: 0 auto; padding: 0 28px; }

.benefit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 640px) { .benefit-grid { grid-template-columns: 1fr; } }

.proof-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 860px) { .proof-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 460px) { .proof-stats { grid-template-columns: 1fr; } }

/* press "as featured in" strip — uniform monochrome stamps */
.press-strip { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 26px; }
.press-label { font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); }
.press-logo { height: 28px; width: auto; max-width: 140px; object-fit: contain; filter: brightness(0); opacity: 0.5; transition: opacity 0.2s ease; }
.press-logo:hover { opacity: 0.85; }
.press-logo--color { filter: none; opacity: 0.9; }
.press-logo--color:hover { opacity: 1; }
@media (max-width: 600px) { .press-logo { height: 22px; max-width: 104px; } .press-strip { gap: 10px 18px; } }

/* responsive two-column layouts (inline styles can't hold media queries) */
.hero-grid { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,0.85fr); gap: clamp(32px, 4vw, 64px); align-items: center; }
.split-grid { display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; }
.split-left { grid-template-columns: minmax(0, 420px) minmax(0, 1fr); }
.split-right { grid-template-columns: minmax(0, 440px) minmax(0, 1fr); }
@media (max-width: 880px) {
  .hero-grid, .split-left, .split-right { grid-template-columns: 1fr; }
  /* center the hero copy (badge, headline, intro, date block) once stacked */
  .hero-copy { text-align: center; }
  .hero-copy p { margin-left: auto; margin-right: auto; }
  /* keep Nigel's photo at the desktop frame aspect so the saved crop
     (tuned for ~440x560) doesn't cut off his head once the column stacks */
  .host-photo-wrap { max-width: 440px; margin-left: auto; margin-right: auto; }
  .host-photo { height: auto !important; aspect-ratio: 440 / 560; }
}
@media (max-width: 700px) { .header-countdown { display: none !important; } }
@media (max-width: 480px) { .wrap, .wrap-narrow { padding: 0 18px; } }

/* header + hero badge mobile optimisation */
.header-bar { height: 72px; }
@media (max-width: 600px) {
  .header-bar { height: 58px !important; }
  .header-logo { height: 22px !important; }
  .hero-section { padding-top: 92px !important; }
  .hero-badge {
    gap: 8px !important;
    padding: 7px 13px !important;
    border-radius: 16px !important;
    margin-bottom: 20px !important;
  }
  .hero-badge .eyebrow { font-size: 0.7rem; }
  .hero-badge-text { font-size: 0.74rem !important; line-height: 1.3; }
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: var(--ls-eyebrow);
  font-weight: var(--fw-extrabold);
  font-size: var(--fs-xs);
}

.panel-navy {
  background-color: var(--mp-navy);
  background-image: linear-gradient(rgba(13,14,31,0.62), rgba(13,14,31,0.72)), url('assets/bg-navy-blue.png');
  background-size: cover;
  background-position: center;
}

.event-badge__text {
  min-width: 0;
}
@media (max-width: 640px) {
  .event-badge {
    display: flex !important;
    flex-wrap: nowrap !important;
    width: 100%;
    gap: 12px !important;
    padding: 12px 14px !important;
    align-items: center;
  }
  .event-badge > span:first-child {
    width: 44px !important;
    height: 44px !important;
  }
  .event-badge__text > div:first-child {
    font-size: 1.2rem !important;
  }
}

.workbook-feature {
  display: flex;
  align-items: center;
  gap: 28px;
}
.workbook-feature__img {
  flex-shrink: 0;
  width: 190px;
}
.workbook-feature__img img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  transform: rotate(-2.5deg);
}
.workbook-feature__body {
  flex: 1;
  min-width: 0;
}
@media (max-width: 640px) {
  .workbook-feature {
    flex-direction: column;
    text-align: center;
    gap: 22px;
  }
  .workbook-feature__img {
    width: 160px;
  }
  .workbook-feature__img img {
    transform: none;
  }
}

.gold-text {
  background: var(--mp-gold-gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

h1, h2, h3, h4 { font-family: var(--font-display); }

/* content is always visible (no opacity-gated entrance — preview/export iframes
   don't tick CSS animations, which would otherwise leave content stuck hidden) */
.reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

::selection { background: var(--mp-gold-light); color: var(--mp-navy); }

/* ============================================================ THANK-YOU PAGE */
.ty-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--mp-navy-900);
  border: 1.5px dashed var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ty-video > iframe,
.ty-video > video,
.ty-video > wistia-player,
.ty-video > .wistia_embed,
.ty-video > div[class*="wistia"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.ty-video--live { border: 0; background: #000; }

.ty-videos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 760px) { .ty-videos { grid-template-columns: 1fr; } }
