:root {
  --conference-ink: #151922;
  --conference-panel: rgba(255, 255, 255, 0.9);
  --conference-line: rgba(255, 255, 255, 0.22);
  --conference-teal: #2f8f83;
  --conference-coral: #d96d4d;
  --conference-gold: #f0c44f;
  --conference-plum: #5f4b7a;
}

.conference-page {
  background:
    linear-gradient(180deg, #f9fbf6 0%, #f3efe7 42%, #edf4f8 100%);
}

.conference-shell {
  --max-width: 1720px;
}

.conference-header .site-nav a[aria-current="page"] {
  color: var(--text);
}

.conference-home-link {
  white-space: nowrap;
}

.conference-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 410px);
  gap: clamp(20px, 4vw, 58px);
  min-height: clamp(620px, calc(100svh - 142px), 860px);
  overflow: hidden;
  border-radius: 8px;
  background: var(--conference-ink);
  color: #fff;
  box-shadow: 0 34px 90px rgba(28, 37, 48, 0.24);
  isolation: isolate;
}

.conference-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(16, 19, 27, 0.64) 0%, rgba(22, 26, 35, 0.42) 48%, rgba(47, 143, 131, 0.04) 100%),
    linear-gradient(180deg, rgba(217, 109, 77, 0.05), rgba(21, 25, 34, 0.16));
}

.conference-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.conference-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: saturate(1.1) contrast(1.03) brightness(1.15);
}

.conference-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  width: min(900px, 100%);
  padding: clamp(44px, 8vw, 108px);
  padding-right: 0;
}

.conference-hero-copy > .conference-kicker,
.conference-hero h1,
.conference-theme,
.conference-theme-note,
.conference-lead {
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.38);
}

.conference-kicker {
  margin: 0 0 14px;
  color: var(--conference-gold);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.conference-hero h1 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(2.85rem, 5.7vw, 6rem);
  line-height: 0.94;
  font-weight: 900;
  letter-spacing: 0;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.conference-theme {
  margin: 22px 0 0;
  color: #ffe7a7;
  font-size: clamp(2rem, 4.1vw, 4.7rem);
  line-height: 0.96;
  font-weight: 900;
}

.conference-theme-note {
  max-width: 700px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.35vw, 1.24rem);
  line-height: 1.45;
  font-weight: 800;
}

.conference-lead {
  max-width: 800px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.02rem, 1.4vw, 1.25rem);
  line-height: 1.75;
  font-weight: 600;
}

.conference-guest-strip {
  display: grid;
  gap: 4px;
  width: min(560px, 100%);
  margin-top: 24px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-left: 4px solid var(--conference-gold);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
}

.conference-guest-strip span,
.conference-guest-strip small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.conference-guest-strip strong {
  color: #fff;
  font-size: clamp(1.45rem, 2.5vw, 2.35rem);
  line-height: 1;
  font-weight: 900;
}

.conference-guest-strip small {
  text-transform: none;
}

.conference-hero-actions,
.conference-hero-meta,
.conference-section-head,
.conference-modal-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.conference-hero-actions {
  flex-wrap: wrap;
  margin-top: 34px;
}

.conference-primary,
.conference-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 8px;
  font-weight: 900;
  border: 0;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

.conference-primary {
  background: linear-gradient(135deg, var(--conference-gold), #f7d879 48%, var(--conference-coral));
  color: #1f1b13;
  box-shadow: 0 18px 38px rgba(240, 196, 79, 0.3);
}

.conference-secondary {
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.conference-primary:hover,
.conference-primary:focus-visible,
.conference-secondary:hover,
.conference-secondary:focus-visible {
  transform: translateY(-2px);
}

.conference-primary:disabled,
.conference-secondary:disabled {
  cursor: not-allowed;
  opacity: 0.58;
  transform: none;
}

.conference-hero-meta {
  flex-wrap: wrap;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 800;
}

.conference-hero-meta span {
  min-height: 38px;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.conference-seat-panel {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--conference-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
}

.seat-panel-label {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.conference-seat-panel strong {
  display: block;
  margin-top: 10px;
  max-width: 100%;
  font-size: clamp(1.35rem, 2vw, 2.05rem);
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.conference-hero-side {
  display: grid;
  align-content: end;
  min-width: 0;
  padding: clamp(28px, 5vw, 70px) clamp(24px, 5vw, 68px) clamp(28px, 5vw, 70px) 0;
}

.seat-progress {
  height: 10px;
  margin: 18px 0 12px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.seat-progress span {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--conference-teal), var(--conference-gold), var(--conference-coral));
  transition: width 300ms ease;
}

.conference-section,
.final-cta {
  width: min(1240px, 100%);
  margin: clamp(54px, 8vw, 110px) auto 0;
  scroll-margin-top: 120px;
}

.conference-section-head {
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 28px;
}

.conference-section-head h2,
.why-copy h2,
.final-cta h2 {
  max-width: 920px;
  margin: 0;
  color: var(--conference-ink);
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
}

.conference-about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.conference-about-grid p,
.why-copy p,
.price-card p,
.faq-list p,
.registration-copy {
  margin: 0;
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.72;
  font-weight: 600;
}

.expect-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(150px, 1fr));
  gap: 12px;
}

.expect-card,
.speaker-card,
.speaker-feature-card,
.price-card,
.why-panel,
.why-video-card,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 20px 54px rgba(43, 70, 101, 0.08);
}

.expect-card {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 230px;
  padding: 20px;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.expect-card:hover {
  transform: translateY(-5px);
  border-color: rgba(217, 109, 77, 0.34);
  box-shadow: 0 24px 64px rgba(217, 109, 77, 0.13);
}

.expect-card-photo {
  display: block;
  width: 100px;
  height: 100px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 12px 28px rgba(21, 25, 34, 0.12);
}

.expect-card strong,
.speaker-card strong,
.timeline strong,
.price-card li,
.faq-list summary {
  color: var(--conference-ink);
  font-weight: 900;
}

.expect-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
  font-weight: 600;
}

.speaker-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.speaker-card {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.speaker-photo {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(47, 143, 131, 0.16), rgba(217, 109, 77, 0.18)),
    #f8f4eb;
}

.speaker-photo span {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 999px;
  background: #fff;
  color: var(--conference-plum);
  font-weight: 900;
}

.speaker-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-weight: 600;
}

.speaker-feature-card {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1fr);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(21, 25, 34, 0.96), rgba(47, 143, 131, 0.82)),
    var(--conference-ink);
  color: #fff;
}

.speaker-feature-media {
  min-height: 420px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}

.speaker-feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  filter: saturate(1.06) contrast(1.02);
}

.speaker-feature-copy {
  display: grid;
  align-content: center;
  gap: 18px;
  padding: clamp(28px, 5vw, 58px);
}

.speaker-feature-copy h3 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 5.1rem);
  line-height: 0.94;
  font-weight: 900;
}

.speaker-feature-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
  line-height: 1.75;
  font-weight: 650;
}

.speaker-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.speaker-tags span {
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 0.86rem;
  font-weight: 900;
}

.timeline {
  position: relative;
  display: grid;
  gap: 14px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 88px;
  width: 2px;
  background: linear-gradient(180deg, var(--conference-teal), var(--conference-gold), var(--conference-coral));
}

.timeline-block-heading {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  margin-top: 8px;
  color: var(--conference-teal);
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.timeline-block-heading:first-child {
  margin-top: 0;
}

.timeline-block-heading span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--conference-ink);
  color: #fff;
}

.timeline article {
  position: relative;
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 26px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.timeline time {
  color: var(--conference-coral);
  font-size: 1.2rem;
  font-weight: 900;
}

.timeline strong {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.timeline p {
  grid-column: 2;
  margin: -18px 0 0;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.6;
}

.why-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 480px);
  align-items: stretch;
  gap: 22px;
}

.why-copy {
  padding: clamp(26px, 5vw, 54px);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(47, 143, 131, 0.12), rgba(240, 196, 79, 0.16)), #fffaf0;
}

.why-copy p {
  margin-top: 22px;
}

.why-panel {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 28px;
  background: var(--conference-ink);
  color: #fff;
}

.why-panel span {
  color: var(--conference-gold);
  font-size: clamp(3.5rem, 8vw, 6rem);
  line-height: 0.9;
  font-weight: 900;
}

.why-panel strong {
  font-size: 1.4rem;
}

.why-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-weight: 700;
}

.why-video-card {
  overflow: hidden;
  background: var(--conference-ink);
  color: #fff;
}

.conference-video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #05070c;
}

.conference-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.why-video-meta {
  display: grid;
  gap: 6px;
  padding: 18px;
}

.why-video-meta strong {
  font-size: 1.06rem;
  line-height: 1.25;
}

.why-video-meta p,
.why-video-meta small {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 800;
}

.why-video-meta small {
  color: #ffe7a7;
}

.price-section {
  display: grid;
  place-items: center;
}

.price-card {
  width: min(720px, 100%);
  padding: clamp(28px, 5vw, 54px);
  text-align: center;
}

.price-card h2 {
  margin: 0 0 10px;
  color: var(--conference-ink);
  font-size: clamp(4.4rem, 12vw, 8rem);
  line-height: 0.9;
  font-weight: 900;
}

.price-card ul {
  display: grid;
  gap: 10px;
  margin: 26px 0;
  padding: 0;
  list-style: none;
}

.price-card li {
  padding: 12px;
  border-radius: 8px;
  background: rgba(47, 143, 131, 0.08);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 0;
  overflow: hidden;
}

.faq-list summary {
  cursor: pointer;
  padding: 20px 22px;
  list-style: none;
}

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

.faq-list p {
  padding: 0 22px 22px;
}

.final-cta {
  display: grid;
  place-items: center;
  gap: 20px;
  padding: clamp(36px, 7vw, 84px);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(21, 25, 34, 0.92), rgba(47, 143, 131, 0.72)),
    var(--conference-ink);
  color: #fff;
  text-align: center;
}

.final-cta h2 {
  color: #fff;
}

.final-cta p:not(.conference-kicker) {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-weight: 800;
}

.conference-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 22px;
}

.conference-modal[hidden] {
  display: none;
}

.conference-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(21, 25, 34, 0.58);
  backdrop-filter: blur(10px);
}

.conference-modal-dialog {
  position: relative;
  width: min(720px, 100%);
  max-height: min(860px, calc(100svh - 44px));
  overflow: auto;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 32px 90px rgba(21, 25, 34, 0.28);
}

.conference-modal-head {
  justify-content: space-between;
  align-items: flex-start;
}

.conference-modal-head h2 {
  margin: 0;
  color: var(--conference-ink);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1;
  font-weight: 900;
}

.conference-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.conference-form-wide {
  grid-column: 1 / -1;
}

.people-stepper,
.registration-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(247, 240, 234, 0.74);
  font-weight: 900;
}

.people-stepper-control {
  display: inline-grid;
  grid-template-columns: 42px 54px 42px;
  align-items: center;
  min-height: 42px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.people-stepper-control button {
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  color: var(--conference-ink);
  font-size: 1.3rem;
  font-weight: 900;
}

.people-stepper-control strong {
  text-align: center;
}

.registration-total strong {
  color: var(--conference-coral);
  font-size: 1.8rem;
}

.conference-status {
  grid-column: 1 / -1;
  min-height: 24px;
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.conference-status.error {
  color: var(--danger);
}

.conference-status.success {
  color: var(--success);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 560ms ease, transform 560ms ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1180px) {
  .conference-hero {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .conference-hero-copy {
    padding-right: clamp(44px, 8vw, 108px);
  }

  .conference-hero-side {
    padding: 0 clamp(20px, 6vw, 54px) clamp(20px, 6vw, 54px);
  }

  .expect-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .conference-section-head,
  .conference-about-grid,
  .conference-hero-side,
  .speaker-grid,
  .speaker-feature-card,
  .why-section,
  .conference-form {
    grid-template-columns: 1fr;
  }

  .speaker-feature-media {
    min-height: 320px;
  }

  .conference-section-head {
    display: grid;
  }

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

  .timeline::before {
    left: 24px;
  }

  .timeline article {
    grid-template-columns: 1fr;
    padding-left: 54px;
  }

  .timeline p {
    grid-column: auto;
    margin: 0;
  }
}

@media (max-width: 560px) {
  .conference-shell {
    width: min(100% - 20px, var(--max-width));
  }

  .conference-hero {
    min-height: auto;
  }

  .conference-hero-bg img {
    object-position: 78% center;
  }

  .conference-hero-copy {
    padding: 34px 22px;
  }

  .conference-section,
  .conference-section-head,
  .conference-about-grid,
  .expect-grid,
  .expect-card,
  .speaker-feature-card,
  .speaker-feature-copy {
    min-width: 0;
    max-width: 100%;
  }

  .conference-hero-side {
    padding: 0 22px 22px;
  }

  .conference-hero h1 {
    max-width: 100%;
    font-size: clamp(1.9rem, 8.2vw, 2.25rem);
    line-height: 1;
    overflow-wrap: anywhere;
  }

  .conference-year {
    display: block;
  }

  .conference-theme {
    max-width: 100%;
    font-size: clamp(1.8rem, 9.4vw, 2.5rem);
    line-height: 1.02;
    overflow-wrap: anywhere;
  }

  .conference-section-head h2,
  .why-copy h2,
  .final-cta h2,
  .speaker-feature-copy h3 {
    max-width: 100%;
    font-size: clamp(2rem, 9vw, 2.55rem);
    line-height: 1.04;
    overflow-wrap: anywhere;
  }

  .conference-about-grid p,
  .expect-card p,
  .speaker-feature-copy p {
    overflow-wrap: anywhere;
  }

  .conference-hero-meta span {
    width: 100%;
  }

  .conference-primary,
  .conference-secondary {
    width: 100%;
  }

  .expect-grid {
    grid-template-columns: 1fr;
  }

  .people-stepper,
  .registration-total {
    align-items: flex-start;
    flex-direction: column;
  }
}
