:root {
  --bg: #09090a;
  --bg-raised: #0f0f11;
  --card: #121214;
  --card-hover: #16161a;
  --border: rgba(255, 255, 255, 0.07);
  --border-mid: rgba(255, 255, 255, 0.12);
  --border-gold: rgba(201, 162, 84, 0.32);
  --text: #f4f1ea;
  --text-muted: #9d9a93;
  --text-faint: #8a8781;
  --gold: #c9a254;
  --gold-bright: #e4c67c;
  --gold-pale: #f3e3b6;
  --gold-dim: rgba(201, 162, 84, 0.12);
  --no: #b3585d;
  --radius: 20px;
  --radius-sm: 14px;
  --max-width: 800px;
  --display: "Inter Tight", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}

a {
  color: var(--gold-bright);
  text-underline-offset: 3px;
}

::selection {
  background: rgba(201, 162, 84, 0.35);
  color: var(--text);
}

/* Background: faint grid fading out from the top, plus a warm glow behind the hero */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 72px 72px;
  background-position: center top;
  mask-image: radial-gradient(ellipse 70% 55% at 50% 0%, black 30%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 0%, black 30%, transparent 85%);
}

body::before {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  left: 0;
  right: 0;
  top: 0;
  height: 460px;
  background: radial-gradient(ellipse 550px 320px at 50% 0, rgba(201, 162, 84, 0.16), transparent 100%);
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
header.site-header,
header.apply-header {
  padding: 44px 24px 0;
  text-align: center;
}

.logo-mark {
  height: 64px;
  width: auto;
  filter: invert(1) brightness(1.1);
  opacity: 0.95;
}

header.apply-header .logo-mark {
  height: 44px;
}

/* Small caps label with hairlines either side */
.eyebrow,
.confirmation-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--gold);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  white-space: nowrap;
  margin: 0 0 22px;
}

.eyebrow::before,
.eyebrow::after,
.confirmation-label::before,
.confirmation-label::after {
  content: "";
  width: 36px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-gold));
}

.eyebrow::after,
.confirmation-label::after {
  transform: scaleX(-1);
}

/* Headlines */
h1 {
  font-family: var(--display);
  font-size: clamp(2.15rem, 5.8vw, 3.6rem);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.035em;
  margin: 0;
  text-wrap: balance;
}

/* Italic glyphs lean past their box; the padding keeps the gold text-gradient from
   clipping them, and the negative margin cancels the extra spacing. */
h1 .accent,
.accent-muted {
  font-style: italic;
  padding: 0 0.1em;
  margin: 0 -0.06em;
}

h1 .accent {
  white-space: nowrap;
  background: linear-gradient(100deg, var(--gold-pale) 0%, var(--gold-bright) 45%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.accent-muted {
  color: var(--gold-bright);
}

/* Hero */
.hero {
  text-align: center;
  padding: 44px 24px 48px;
}

.hero h1 {
  max-width: 760px;
  margin: 0 auto;
  animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero-sub {
  color: var(--text-muted);
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  line-height: 1.6;
  max-width: 560px;
  margin: 18px auto 0;
  text-wrap: balance;
  animation: rise 0.9s 0.06s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero .eyebrow {
  animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.confirmation-hero {
  text-align: center;
  padding: 48px 24px 48px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.confirmation-hero h1 {
  font-size: clamp(1.9rem, 4.8vw, 2.9rem);
}

.apply-title {
  font-size: clamp(1.8rem, 4.2vw, 2.5rem);
}

.confirmation-note {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 500px;
  margin: 22px auto 0;
}

/* Video */
.video-section {
  padding: 8px 24px 44px;
}

.video-lede {
  text-align: center;
  font-family: var(--display);
  font-size: clamp(1.15rem, 2.6vw, 1.4rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  text-wrap: balance;
  margin: 0 auto 26px;
}

.video-frame {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  border-radius: var(--radius);
  padding: 6px;
  background: linear-gradient(160deg, rgba(228, 198, 124, 0.45), rgba(201, 162, 84, 0.08) 40%, rgba(201, 162, 84, 0.08) 60%, rgba(228, 198, 124, 0.35));
  box-shadow: 0 40px 100px -40px rgba(201, 162, 84, 0.35), 0 30px 60px -30px rgba(0, 0, 0, 0.9);
  animation: rise 1s 0.12s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.video-frame wistia-player {
  display: block;
  border-radius: calc(var(--radius) - 6px);
  overflow: hidden;
  background: #000;
}

/* Apply CTA */
.apply-section {
  padding: 0 24px 80px;
}

.video-section + .apply-section {
  margin-top: 4px;
  animation: rise 1s 0.24s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.btn-next {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  appearance: none;
  border: none;
  text-decoration: none;
  cursor: pointer;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  color: #17120a;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.08rem;
  letter-spacing: 0.01em;
  padding: 20px 44px;
  border-radius: 999px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 0 0 1px rgba(201, 162, 84, 0.5),
    0 16px 40px -12px rgba(201, 162, 84, 0.55);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn-next::after {
  content: "→";
  font-weight: 500;
  transition: transform 0.2s ease;
}

.btn-next:hover {
  filter: brightness(1.06);
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    0 0 0 1px rgba(228, 198, 124, 0.7),
    0 22px 50px -12px rgba(201, 162, 84, 0.7);
}

.btn-next:hover::after {
  transform: translateX(4px);
}

.btn-next:focus-visible {
  outline: 2px solid var(--gold-pale);
  outline-offset: 4px;
}

@media (max-width: 600px) {
  .btn-next {
    font-size: 1rem;
    padding: 17px 34px;
  }
}

/* Section spacing */
.qualify-section,
.testimonials-section,
.breakouts-section {
  position: relative;
  padding: 88px 24px;
}

@media (max-width: 600px) {
  .qualify-section,
  .testimonials-section,
  .breakouts-section {
    padding: 64px 20px;
  }

  .apply-section {
    padding-bottom: 64px;
  }

  .eyebrow::before,
  .eyebrow::after,
      .confirmation-label::before,
  .confirmation-label::after {
    width: 22px;
  }
}

/* Section headlines */
.qualify-lede,
.breakouts-section .lede .lede-title {
  text-align: center;
  font-family: var(--display);
  font-size: clamp(1.6rem, 3.8vw, 2.2rem);
  line-height: 1.18;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--text);
  max-width: 640px;
  margin: 0 auto 48px;
  text-wrap: balance;
}

/* Qualifier cards */
.qualify-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: var(--max-width);
  margin: 0 auto;
}

@media (max-width: 700px) {
  .qualify-grid {
    grid-template-columns: 1fr;
  }
}

.qcard {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, var(--card), var(--bg-raised));
  padding: 34px 30px 32px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.qcard.yes {
  border-color: var(--border-gold);
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(201, 162, 84, 0.1), transparent 70%),
    linear-gradient(180deg, var(--card), var(--bg-raised));
}

.qcard.yes::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-bright), transparent);
}

.qcard h2 {
  margin: 0 0 24px;
  font-family: var(--display);
  font-size: 1.3rem;
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
}

.qcard ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

.qcard li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  color: var(--text-muted);
  font-size: 0.97rem;
  line-height: 1.55;
}

.qcard.yes li {
  color: #c9c5bc;
}

.mark {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  margin-top: 1px;
}

.qcard.yes .mark {
  background: var(--gold);
  color: #17120a;
}

.qcard.no .mark {
  background: transparent;
  border: 1px solid rgba(179, 88, 93, 0.55);
  color: var(--no);
  font-size: 13px;
  font-weight: 500;
}

/* Testimonials */
.testimonials-grid {
  columns: 3;
  column-gap: 16px;
  max-width: var(--max-width);
  margin: 0 auto;
}

@media (max-width: 800px) {
  .testimonials-grid {
    columns: 2;
  }
}

.testimonial-card {
  break-inside: avoid;
  margin-bottom: 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: #000;
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.testimonial-card:hover {
  border-color: var(--border-gold);
  box-shadow: 0 18px 40px -20px rgba(201, 162, 84, 0.4);
  transform: translateY(-2px);
}

.testimonial-card img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 220px;
  object-fit: cover;
  object-position: top;
  cursor: pointer;
  transition: transform 0.35s ease;
}

.testimonial-card img:hover {
  transform: scale(1.04);
}

.testimonial-card img:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: -2px;
}

/* Phones keep a two-column grid of small cards; tapping one opens it full size. */
@media (max-width: 560px) {
  .testimonials-grid {
    column-gap: 10px;
  }

  .testimonial-card {
    margin-bottom: 10px;
    border-radius: 10px;
  }

  .testimonial-card img {
    max-height: 150px;
  }
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  background: rgba(5, 5, 6, 0.9);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  cursor: zoom-out;
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  display: block;
  max-width: min(100%, 900px);
  max-height: 100%;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-gold);
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.9);
  cursor: default;
}

.lightbox-close {
  position: fixed;
  top: 20px;
  right: 24px;
  z-index: 1001;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-gold);
  background: var(--card);
  color: var(--text);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-close[hidden] {
  display: none;
}

/* Breakout videos (confirmation page) */
.breakouts-section .lede {
  text-align: center;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 52px;
}

.breakouts-section .lede p {
  margin: 4px 0;
}

.breakouts-section .lede .lede-title {
  margin-bottom: 12px;
}

.breakouts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 980px;
  margin: 0 auto;
}

@media (max-width: 800px) {
  .breakouts-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    max-width: 520px;
  }
}

.breakout {
  display: flex;
  flex-direction: column;
  padding: 10px 10px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, var(--card), var(--bg-raised));
}

.breakout-video {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
}

.breakout-video wistia-player {
  display: block;
  width: 100%;
}

.breakout h3 {
  margin: 18px 10px 0;
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.35;
  color: var(--text);
}

.breakout-summary {
  margin: 8px 10px 0;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* Booking page */
.form-card {
  max-width: 680px;
  margin: 0 auto;
  border-radius: var(--radius);
  border: 1px solid var(--border-gold);
  background: linear-gradient(180deg, var(--card), var(--bg-raised));
  padding: 14px;
  box-shadow: 0 40px 100px -50px rgba(201, 162, 84, 0.35);
}

.calendly-inline-widget {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
}

.field-hint {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.9;
  margin: 16px 8px 4px;
  text-align: center;
}

.field-hint a {
  padding: 6px 0;
}

@media (max-width: 600px) {
  .apply-section {
    padding-left: 8px;
    padding-right: 8px;
  }

  .form-card {
    padding: 4px;
    border-radius: 16px;
  }
}

/* Footer */
footer {
  position: relative;
  text-align: center;
  padding: 72px 24px 44px;
  background: linear-gradient(180deg, transparent, rgba(201, 162, 84, 0.04));
}


footer .logo-mark {
  height: 40px;
  margin-bottom: 22px;
  opacity: 0.85;
}

footer .tagline {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--text);
  margin: 0 0 28px;
}

footer .copyright {
  color: var(--text-faint);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  margin: 0;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
