/* ==========================================================================
   Eddie Chambers Masterclass — homepage
   ========================================================================== */

.em-page {
  background: #0a0a0a;
  color: #f2f2f2;
}

.em-page .eyebrow {
  color: var(--gb-red, #e10600);
}

.em-kicker {
  margin: 0 0 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gb-red, #e10600);
}

.em-section {
  padding: clamp(3.2rem, 7vw, 5.5rem) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.em-narrow {
  max-width: 46rem;
}

.em-prose {
  color: rgba(242, 242, 242, 0.78);
  line-height: 1.7;
}

.em-prose p,
.em-prose li {
  margin: 0 0 0.9rem;
}

.em-prose ul {
  margin: 0 0 1rem;
  padding-left: 1.15rem;
}

.em-big-line {
  margin: 2rem 0 0;
  font-size: clamp(1.35rem, 3.2vw, 2.2rem);
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.em-big-line--left {
  text-align: left;
}

.em-note {
  margin: 1rem 0 0;
  color: rgba(242, 242, 242, 0.55);
  font-size: 0.92rem;
}

.em-center-actions {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
}

/* HERO */
.em-hero {
  position: relative;
  overflow: hidden;
  background: #000;
  padding: 0;
  min-height: clamp(640px, 92vh, 920px);
}

.em-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  min-height: inherit;
  max-width: none;
  margin: 0;
  padding: 0;
}

.em-hero-copy {
  max-width: 40rem;
  width: 100%;
  justify-self: end;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 7rem clamp(1.25rem, 4vw, 3rem) 2rem;
  box-sizing: border-box;
}

.em-hero-media {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: inherit;
  height: 100%;
  padding: 0;
  overflow: hidden;
}

.em-hero-media img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: clamp(640px, 92vh, 920px);
  object-fit: contain;
  object-position: center bottom;
  display: block;
}

.em-hero-masterclass {
  margin: 0 0 0.15rem;
  color: #e10600;
  font-size: clamp(1.35rem, 3.2vw, 2.35rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  font-stretch: condensed;
}

.em-hero-title {
  margin: 0;
  display: grid;
  gap: 0;
}

.em-hero-title-line {
  display: block;
  color: #fff;
  font-size: clamp(3.2rem, 8.5vw, 6.6rem);
  font-weight: 900;
  line-height: 0.82;
  letter-spacing: -0.055em;
  text-transform: uppercase;
  font-stretch: condensed;
}

.em-hero-meta {
  margin: 1.1rem 0 0;
  display: grid;
  gap: 0.15rem;
  color: #fff;
  font-size: clamp(1rem, 2.1vw, 1.35rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.em-hero-fast {
  display: block;
  width: min(220px, 55%);
  height: auto;
  margin-top: 1.35rem;
}

.em-hero-lead {
  margin: 1.35rem 0 0;
  color: rgba(242, 242, 242, 0.78);
  font-size: 1.05rem;
}

.em-hero-people {
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.35rem;
  color: rgba(242, 242, 242, 0.86);
}

.em-hero-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* STATS */
.em-stats {
  padding-top: 2.2rem;
  padding-bottom: 2.2rem;
  background: linear-gradient(180deg, #111 0%, #0a0a0a 100%);
}

.em-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.em-stats-grid--compact {
  margin: 1.5rem 0;
}

.em-stat {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 1.35rem 1.15rem;
  background:
    radial-gradient(ellipse at top left, rgba(225, 6, 0, 0.22), transparent 55%),
    #121212;
  display: grid;
  align-content: start;
  gap: 0.55rem;
  min-height: 138px;
}

.em-stat strong {
  display: block;
  color: #fff;
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.em-stat--num strong {
  font-size: clamp(2.35rem, 5.2vw, 3.5rem);
  letter-spacing: -0.045em;
}

.em-stat-unit {
  display: inline-block;
  margin-left: 0.15em;
  color: #e10600;
  font-size: 0.38em;
  font-weight: 900;
  letter-spacing: 0.02em;
  vertical-align: 0.28em;
}

.em-stat--text strong {
  font-size: clamp(1.15rem, 2.1vw, 1.55rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.em-stat span:last-child {
  color: rgba(242, 242, 242, 0.72);
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* SPLIT */
.em-split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(1.2rem, 3vw, 2.4rem);
  align-items: center;
}

.em-section--split-reverse .em-split-media {
  order: 2;
}

.em-split-media {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  min-height: 420px;
  background: #111;
}

.em-split-media img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  display: block;
}

.em-split-media--secondary {
  min-height: 380px;
}

.em-split-media--secondary img {
  min-height: 380px;
}

.em-fast-logo {
  margin-top: 1.25rem;
  max-width: 220px;
  width: 100%;
  height: auto;
  display: block;
}

/* NAMES */
.em-names {
  background:
    radial-gradient(ellipse at 50% 55%, rgba(225, 6, 0, 0.16), transparent 52%),
    #050505;
  overflow: hidden;
}

.em-names-title {
  max-width: 48rem;
  margin-bottom: 2.4rem;
}

.em-names-rotator {
  position: relative;
  max-width: 56rem;
}

.em-names-stage {
  position: relative;
  min-height: clamp(10rem, 28vw, 16rem);
  display: grid;
}

.em-names-slide {
  grid-area: 1 / 1;
  display: grid;
  align-content: end;
  gap: 0.55rem;
  margin: 0;
  opacity: 0;
  transform: translateY(1.1rem);
  transition:
    opacity 0.45s ease,
    transform 0.45s ease;
  pointer-events: none;
}

.em-names-slide.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.em-names-slide.is-leaving {
  opacity: 0;
  transform: translateY(-0.85rem);
}

.em-names-index {
  color: rgba(225, 6, 0, 0.9);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.em-names-slide strong {
  font-size: clamp(2.4rem, 8vw, 5.4rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.em-names-slide > span:last-child {
  color: rgba(242, 242, 242, 0.55);
  font-size: clamp(0.78rem, 1.5vw, 0.95rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.em-names-progress {
  margin-top: 1.8rem;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.em-names-progress-bar {
  display: block;
  height: 100%;
  width: 0;
  background: #e10600;
  transform-origin: left center;
}

.em-names-rotator.is-playing .em-names-progress-bar {
  animation: em-names-progress 2.2s linear forwards;
}

.em-names-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.25rem;
}

.em-names-dot {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: transparent;
  color: rgba(242, 242, 242, 0.55);
  padding: 0.55rem 0.85rem;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    color 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}

.em-names-dot:hover,
.em-names-dot:focus-visible {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
  outline: none;
}

.em-names-dot.is-active {
  color: #fff;
  border-color: #e10600;
  background: rgba(225, 6, 0, 0.14);
}

@keyframes em-names-progress {
  from { width: 0; }
  to { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .em-names-slide {
    transition: none;
    transform: none;
  }

  .em-names-rotator.is-playing .em-names-progress-bar {
    animation: none;
    width: 100%;
  }
}

/* TILES */
.em-tiles {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.em-tiles--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.em-tiles--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.em-tiles--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.em-tile {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 1.1rem 1rem;
  background: #121212;
  display: grid;
  gap: 0.4rem;
  min-height: 110px;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.03em;
  font-size: 0.95rem;
}

.em-tile strong {
  font-size: 1rem;
}

.em-tile span {
  text-transform: none;
  font-weight: 400;
  letter-spacing: 0;
  color: rgba(242, 242, 242, 0.66);
  font-size: 0.9rem;
  line-height: 1.45;
}

/* PROGRAM */
.em-day {
  margin-top: 1.5rem;
  padding: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: #121212;
}

.em-day h3 {
  margin: 0 0 1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 1.05rem;
}

.em-blocks {
  display: grid;
  gap: 0.75rem;
}

.em-block {
  display: grid;
  gap: 0.2rem;
  padding: 0.85rem 0.9rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.em-block-time {
  color: var(--gb-red, #e10600);
  font-weight: 800;
  letter-spacing: 0.04em;
}

.em-block strong {
  text-transform: uppercase;
}

.em-block span {
  color: rgba(242, 242, 242, 0.65);
  font-size: 0.92rem;
}

/* TICKETS */
.em-tickets {
  background:
    radial-gradient(ellipse at top, rgba(225, 6, 0, 0.18), transparent 50%),
    #0b0b0b;
}

.em-tickets-card {
  max-width: 720px;
}

.em-tickets-meta {
  margin: 0.4rem 0 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.em-ticket {
  border: 1px solid rgba(225, 6, 0, 0.35);
  border-radius: 20px;
  padding: 1.4rem;
  background: rgba(20, 20, 20, 0.92);
  display: grid;
  gap: 1rem;
}

.em-ticket-label {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(242, 242, 242, 0.7);
  font-size: 0.85rem;
  font-weight: 700;
}

.em-ticket-price {
  margin: 0.25rem 0 0;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 900;
  color: #fff;
  line-height: 1;
}

.em-ticket-includes {
  margin: 0;
  padding-left: 1.1rem;
  color: rgba(242, 242, 242, 0.78);
  line-height: 1.6;
}

.btn-gb-lg {
  padding: 0.95rem 1.4rem;
  font-size: 1rem;
}

/* SUMMIT */
.em-summit-photos {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 0.5rem;
}

.em-summit-photos img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: block;
}

.em-brand {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 85% 20%, rgba(225, 6, 0, 0.18), transparent 42%),
    radial-gradient(ellipse at 10% 90%, rgba(225, 6, 0, 0.08), transparent 45%),
    #080808;
}

.em-brand-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.em-brand-copy .section-title {
  margin-bottom: 1rem;
}

.em-brand-pillars {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 1.6rem 0 1.5rem;
}

.em-brand-pillars span {
  display: flex;
  align-items: center;
  min-height: 3.2rem;
  padding: 0.85rem 1rem;
  border-left: 3px solid #e10600;
  background: rgba(255, 255, 255, 0.03);
  font-size: clamp(0.85rem, 1.5vw, 1rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.em-brand-visual {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  min-height: clamp(280px, 42vw, 460px);
  background: #111;
}

.em-brand-visual img {
  width: 100%;
  height: 100%;
  min-height: clamp(280px, 42vw, 460px);
  object-fit: cover;
  display: block;
  filter: grayscale(0.25) contrast(1.05);
}

.em-brand-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.72) 100%),
    linear-gradient(90deg, rgba(225, 6, 0, 0.18), transparent 55%);
  pointer-events: none;
}

.em-brand-visual-meta {
  position: absolute;
  left: 1.1rem;
  bottom: 1.1rem;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.em-brand-visual-meta span:nth-child(2) {
  color: #e10600;
}

@media (max-width: 900px) {
  .em-brand-grid {
    grid-template-columns: 1fr;
  }

  .em-brand-visual {
    order: -1;
    min-height: min(52vw, 320px);
  }

  .em-brand-visual img {
    min-height: min(52vw, 320px);
  }
}

.em-partners {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(225, 6, 0, 0.12), transparent 48%),
    #0a0a0a;
}

.em-partners-inner {
  text-align: center;
  max-width: 52rem;
  margin: 0 auto;
}

.em-partners-inner .eyebrow {
  display: inline-block;
}

.em-partners-inner .section-title {
  margin-left: auto;
  margin-right: auto;
}

.em-partners-lead {
  margin: 0.75rem auto 0;
  max-width: 34rem;
  color: rgba(242, 242, 242, 0.62);
  font-size: 1rem;
  line-height: 1.55;
}

.em-partners-slots {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 1.75rem auto 0;
  max-width: 44rem;
}

.em-partners-slots span {
  display: block;
  min-height: 4.5rem;
  border-radius: 14px;
  border: 1px dashed rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.03);
}

.em-partner-cta {
  margin: 1.75rem auto 0;
  max-width: 40rem;
  padding: clamp(1.5rem, 3.5vw, 2.2rem) clamp(1.2rem, 3vw, 2rem);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(ellipse at top center, rgba(225, 6, 0, 0.16), transparent 55%),
    #121212;
  text-align: center;
}

.em-partner-cta h3 {
  margin: 0 0 0.7rem;
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.em-partner-cta p {
  margin: 0 auto 1.25rem;
  max-width: 32rem;
  color: rgba(242, 242, 242, 0.72);
  line-height: 1.6;
}

.em-partner-cta .btn-gb {
  margin-inline: auto;
}

@media (max-width: 700px) {
  .em-partners-slots {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* FAQ */
.em-faq {
  display: grid;
  gap: 0.65rem;
  margin-top: 1.2rem;
}

.em-faq-item {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: #121212;
  padding: 0.2rem 1rem;
}

.em-faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 0.95rem 0;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.em-faq-item summary::-webkit-details-marker {
  display: none;
}

.em-faq-item p {
  margin: 0 0 1rem;
  color: rgba(242, 242, 242, 0.72);
  line-height: 1.6;
}

/* FINAL */
.em-final {
  position: relative;
  min-height: clamp(480px, 70vh, 720px);
  display: grid;
  align-items: center;
  overflow: hidden;
}

.em-final-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.em-final-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.55) 50%, rgba(0, 0, 0, 0.35) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.7));
}

.em-final-copy {
  position: relative;
  z-index: 1;
  padding: 4rem 0;
  max-width: 40rem;
}

.em-final-copy h2 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  text-transform: uppercase;
  font-weight: 900;
  line-height: 1;
}

.em-final-meta,
.em-final-line {
  margin: 0.75rem 0 0;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.em-final-copy .btn-gb {
  margin-top: 1.4rem;
}

.em-final-brand {
  margin: 1.2rem 0 0;
  color: rgba(242, 242, 242, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
}

/* Sticky CTA */
.em-sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1200;
  display: none;
  padding: 0.7rem 0.85rem calc(0.7rem + env(safe-area-inset-bottom));
  background: rgba(8, 8, 8, 0.92);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.em-sticky-cta .btn-gb {
  width: 100%;
  justify-content: center;
}

body.gb-eddie-home {
  padding-bottom: 0;
}

@media (max-width: 1100px) {
  .em-stats-grid,
  .em-tiles--6,
  .em-tiles--5,
  .em-tiles--4,
  .em-summit-photos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .em-split,
  .em-section--split-reverse .em-split {
    grid-template-columns: 1fr;
  }

  .em-section--split-reverse .em-split-media {
    order: 0;
  }

  .em-hero-grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .em-hero-copy {
    order: 1;
    justify-self: stretch;
    max-width: none;
    padding: 2rem clamp(1.25rem, 4vw, 3rem) 0;
  }

  .em-hero-media {
    order: 0;
    position: relative;
    min-height: min(70vh, 640px);
    height: min(70vh, 640px);
  }

  .em-hero-media img {
    max-height: min(70vh, 640px);
    object-position: center bottom;
  }
}

@media (max-width: 700px) {
  .em-stats-grid,
  .em-tiles--6,
  .em-tiles--5,
  .em-tiles--4 {
    grid-template-columns: 1fr;
  }

  .em-summit-photos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .em-hero-copy {
    padding: 1.5rem clamp(1.1rem, 4vw, 2rem) 5.5rem;
  }

  .em-hero-media {
    min-height: min(58vh, 480px);
    height: min(58vh, 480px);
  }

  .em-hero-media img {
    max-height: min(58vh, 480px);
    object-position: center bottom;
  }

  .em-sticky-cta {
    display: block;
  }

  body.gb-eddie-home {
    padding-bottom: 4.6rem;
  }

  .em-final-copy {
    padding-bottom: 5.5rem;
  }
}

.em-tickets-soon-dialog {
  max-width: 28rem;
}

.em-tickets-soon-lead {
  margin: 0 0 0.75rem;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 900;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.em-tickets-soon-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.35rem;
}
