/* ==========================================================================
   BAUCE HAUS 2026 — Stylesheet v2
   Type: Inter (display/UI) / Newsreader (paragraph)
   Palette: sage #b4c97c, black, white
   ========================================================================== */

:root {
  --sage: #b4c97c;
  --sage-deep: #869c53;
  --sage-pale: #eef3df;
  --black: #0d0d0c;
  --charcoal: #1a1a18;
  --white: #ffffff;
  --paper: #faf9f6;
  --line: rgba(13, 13, 12, 0.12);
  --line-light: rgba(255, 255, 255, 0.16);

  --font-display: "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter Tight", ui-sans-serif, system-ui, sans-serif;

  --max-width: 1200px;
  --edge: clamp(1.25rem, 4vw, 3.5rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--black);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, video {
  max-width: 100%;
  height: auto;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0;
}

p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 6.5rem) var(--edge);
}

.tag {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--sage-deep);
  margin-bottom: 0.9rem;
}
.tag-light { color: var(--sage); }

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.7rem;
  border-radius: 100px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid var(--sage-deep); outline-offset: 2px; }

.btn-primary { background: var(--black); color: var(--white); }
.btn-primary:hover { background: var(--sage-deep); }

.btn-ghost { background: transparent; border-color: currentColor; }

.btn-header {
  background: var(--sage);
  color: var(--black);
  padding: 0.6rem 1.35rem;
  font-size: 0.88rem;
}
.btn-header:hover { background: var(--sage-deep); color: var(--white); }

.btn-full { width: 100%; }

/* ============ Header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(250, 249, 246, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem var(--edge);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.wordmark {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.wordmark span { color: var(--sage-deep); }

.main-nav { display: flex; gap: 1.8rem; margin-left: auto; margin-right: 1.8rem; }
.nav-cta-mobile { display: none; }
.main-nav a {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 500;
  position: relative;
  padding-bottom: 2px;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--sage-deep);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.main-nav a:hover::after { transform: scaleX(1); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 6px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--black); transition: transform 0.25s var(--ease), opacity 0.2s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ Announcement bar ============ */
.announce {
  background: var(--black);
  color: var(--sage);
  overflow: hidden;
  padding: 0.7rem 0;
}
.announce-track {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: max-content;
  animation: scroll-left 26s linear infinite;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.announce-track .sep { color: rgba(180, 201, 124, 0.5); }
@keyframes scroll-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Background video: covers the hero section on both desktop and mobile
   via object-fit: cover, regardless of the source clip's dimensions. */
.hero-video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-video-bg iframe,
.hero-video-bg video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
  pointer-events: none; /* decorative — clicks pass through to page */
}

/* ============ Hero ============ */
.hero {
  position: relative;
  background: var(--black);
  color: var(--white);
  overflow: hidden;
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-video-bg video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 55% 45% at 85% 15%, rgba(180, 201, 124, 0.22), transparent 60%),
    linear-gradient(180deg, rgba(13, 13, 12, 0.78), rgba(13, 13, 12, 0.88));
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: clamp(4.5rem, 12vw, 8.5rem) var(--edge) clamp(4rem, 10vw, 7rem);
  text-align: center;
}
.hero-eyebrow {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--sage);
  margin-bottom: 1.6rem;
}
.hero-headline {
  font-size: clamp(2.6rem, 5.0vw, 4.0rem);
  max-width: 25ch;
  margin: 0 auto;
  line-height: 1.2em;
}
.hero-headline em {
  font-style: italic;
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--sage);
}
.hero-sub {
  max-width: 55ch;
  margin: 1.75rem auto 0;
  font-size: 1.15rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.5rem;
}
.hero-actions .btn-ghost { color: var(--white); border-color: rgba(255, 255, 255, 0.4); }
.hero-actions .btn-ghost:hover { border-color: var(--sage); color: var(--sage); }

.hero-scroll {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  padding-bottom: 2rem;
}
.hero-scroll span {
  display: block;
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--sage), transparent);
}

/* ============ About ============ */
.about {
  position: relative;
  overflow: hidden;
  background-color: var(--paper);
  background-image: url("/assets/texture-ledger.svg");
  background-repeat: repeat;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

.about-media img {
  border: 12px solid var(--white);
  border-radius: 3px;
  box-shadow: 0 18px 34px rgba(13, 13, 12, 0.18);
}

.about-media { position: relative; }

/* Guilloché-style wave texture, bleeding from the true left edge of the
   viewport (clipped by .about's overflow: hidden) to the horizontal
   center of the photo, sitting behind it. */
.about-texture {
  position: absolute;
  top: 50%;
  right: 50%;
  width: 220vw;
  height: 220vh;
  transform: translateY(-50%) rotate(-12deg);
  z-index: 0;
  pointer-events: none;
  background-repeat: repeat;
  background-size: 44px 36px;
  background-image: url("/assets/texture-wave.svg");
  mask-image: linear-gradient(to right, black calc(100% - 260px), transparent 100%);
  -webkit-mask-image: linear-gradient(to right, black calc(100% - 260px), transparent 100%);
}

.about-photo-frame { position: relative; z-index: 1; }
.about-photo-frame .img-placeholder {
  border: 12px solid var(--white);
  border-radius: 3px;
  box-shadow: 0 18px 34px rgba(13, 13, 12, 0.18);
}
.about-copy h2 { font-size: clamp(1.9rem, 3.5vw, 2.2rem); margin-bottom: 1.3rem; line-height: 1.2em; }
.lead { font-size: 1.15rem; line-height: 1.65; color: rgba(13, 13, 12, 0.78); }



/* ============ Stats dark ============ */
.stats-dark { position: relative; background: var(--black); color: var(--white); overflow: hidden; }

/* Same black/green overlay treatment as the hero, for visual consistency */
.stats-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 45% at 85% 15%, rgba(180, 201, 124, 0.22), transparent 60%),
    linear-gradient(180deg, rgba(13, 13, 12, 0.78), rgba(13, 13, 12, 0.88));
}

.stats-inner { position: relative; z-index: 1; text-align: center; }
.stats-heading { 
    font-size: clamp(1.9rem, 3.5vw, 2.6rem);     
    max-width: 50ch;
    margin: 0 auto 3rem;
    line-height: 1.2em;
    font-family: 'Instrument Serif';
    font-weight: 500;
    font-size: 50px;
}

.stat-circle-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 3.5rem;
}
.stat-circle {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 1px solid var(--line-light);
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
    animation: float-circle 6s ease-in-out infinite;
}
.stat-circle:nth-child(1) { animation-delay: 0s; }
.stat-circle:nth-child(2) { animation-delay: 1.4s; }
.stat-circle:nth-child(3) { animation-delay: 2.8s; }
@keyframes float-circle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.stats-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.stat-num { font-family: var(--font-display); font-size: 2.2rem; font-weight: 800; color: var(--sage); margin-bottom: 0.6rem; }
.stat-body { font-size: 0.88rem; line-height: 1.5; color: rgba(255, 255, 255, 0.68); }

.stats-mission {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.4rem, 2.8vw, 1.4rem);
  line-height: 1.4;
  max-width: 100%;
  margin: 0 auto 3rem;
  color: var(--white);
}

.stats-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}
.stats-actions .btn-ghost { color: var(--white); border-color: rgba(255, 255, 255, 0.4); }
.stats-actions .btn-ghost:hover { border-color: var(--sage); color: var(--sage); }

/* ============ The Room ============ */
.room {background: var(--sage-pale); text-align:center;}
.room-heading { font-size: clamp(1.9rem, 3.5vw, 2.6rem); margin-bottom: 3rem; text-align:center; }

.speaker-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* one row, four columns — no masonry/staggering */
  gap: 1.5rem;
}
.speaker-card {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 8px;
  overflow: hidden;
  background: var(--sage-pale);
}

.speaker-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.speaker-photo-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.speaker-photo-placeholder .img-placeholder-icon { font-size: 1.5rem; color: var(--sage-deep); }
.speaker-photo-placeholder .img-placeholder-label {
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--sage-deep);
}
.speaker-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(13, 13, 12, 0.9) 100%);
}
.speaker-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 1.25rem 1.1rem;
}
.speaker-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 0.65rem;
}
.speaker-title-pill {
  display: inline-block;
  background: var(--sage);
  color: var(--black);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.72rem;
  padding: 0.35rem 0.8rem;
  border-radius: 100px;
}

/* ============ BAUCE HAUS Experts ============ */
.experts-inner { text-align: center; }
.experts-heading {
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  text-transform: uppercase;
  margin: 0 auto 1.25rem;
}
.experts-sub {
  max-width: 68ch;
  margin: 0 auto 3rem;
  color: rgba(13, 13, 12, 0.65);
  line-height: 1.6;
  font-size: 1.05rem;
}
.experts-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  max-width: 75%;
  margin: 0 auto;
}
.experts-grid .speaker-card {
  flex: 0 1 calc((100% - 3rem) / 3);
}
.experts {
  background-color: #fff;
  position: relative;
  overflow: hidden;
  background-image: url("/assets/texture-ledger.svg");
  background-repeat: repeat;
}

/* ============ Format (numbered) ============ */
.format { background: var(--paper); }
.format-heading { font-size: clamp(1.9rem, 3.5vw, 2.6rem); max-width: 26ch; }
.format-sub { margin-top: 1rem; color: rgba(13, 13, 12, 0.6); font-size: 1.05rem; }
.format-list { margin-top: 3rem; display: flex; flex-direction: column; gap: 1.5rem; }
.format-row {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 2rem;
  padding: 2.25rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  align-items: start;
}
.format-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--sage);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--black);
}
.format-content h3 { font-size: 1.4rem; margin-bottom: 0.6rem; font-family:'Instrument Serif';  font-weight: 500;}
.format-content p { color: rgba(13, 13, 12, 0.72); max-width: 60ch; line-height: 1.6; }
.format-chain {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--sage-deep);
  margin-top: 0.9rem !important;
}

/* ============ Image placeholders ============ */
.img-placeholder {
  aspect-ratio: 4/5;
  border: 2px dashed var(--line);
  border-radius: 4px;
  background: var(--sage-pale);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.5rem;
  text-align: center;
}
.img-placeholder-icon {
  font-size: 1.6rem;
  color: var(--sage-deep);
  line-height: 1;
}
.img-placeholder-label {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--sage-deep);
  max-width: 20ch;
}
.img-placeholder-tall { aspect-ratio: 3/4; }


/* ============ Why Attend ============ */
.why-attend { position: relative; background: var(--black); color: var(--white); overflow: hidden; }

.why-attend-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.why-attend-copy h2 {
    font-family:'Instrument Serif';
    font-weight: 500;
    font-size: 40px;
}

.why-attend-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
   background: radial-gradient(ellipse 55% 45% at 15% 85%, rgba(180, 201, 124, 0.22), transparent 60%);
}

.why-attend-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

.why-attend-list { display: flex; flex-direction: column; margin: 2rem 0 2.5rem; }
.why-attend-item {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  padding: 1.75rem 0;
  border-top: 1px solid var(--line-light);
}
.why-attend-item:first-child { border-top: none; padding-top: 0; }
.why-attend-icon { color: var(--sage); font-size: 1.1rem; line-height: 1.5; flex-shrink: 0; margin-top: 0.1rem; }
.why-attend-item p { font-size: 1.15rem; line-height: 1.5; color: rgba(255, 255, 255, 0.88); }
.why-attend-item em {
  font-style: italic;
  font-family: var(--font-body);
  color: var(--sage);
  font-weight: 500;
}

.why-attend-cta { display: inline-flex; }

.why-attend-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 6px;
  overflow: hidden;
  background: var(--sage-pale);
}
.why-attend-tiles {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}
.why-attend-tiles span {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 3.6vw, 2.4rem);
  color: var(--black);
  white-space: nowrap;
  letter-spacing: -0.01em;
  text-align: center;
  opacity: 0.9;
}
.why-attend-photo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72%;
  height: 58%;
  object-fit: cover;
  border: 6px solid var(--paper);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}


/* ============ Gallery ============ */
.gallery {text-align:center; margin-bottom:100px;}
.gallery .section-inner {
    padding-bottom: 10px;
}
.gallery-heading { font-size: clamp(1.9rem, 3.5vw, 2.4rem); max-width: 100%; margin-bottom: 0;}

.gallery-marquee {
  overflow: hidden;
  margin-top: 2.5rem;
  padding: 0.5rem 0;
}
.gallery-track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  animation: scroll-left 34s linear infinite;
}
.gallery-track:hover { animation-play-state: paused; }
.gallery-photo {
  width: 280px;
  height: 360px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
  filter: grayscale(100%);
  transition: filter 0.4s ease, transform 0.4s ease;
}
.gallery-photo:hover {
  filter: grayscale(0%);
  transform: scale(1.02);
}

/* ============ Past Speakers (carousel) ============ */
.past-speakers { background: var(--sage-pale); padding-bottom: 100px; }
.past-speakers .section-inner { text-align: center; padding-bottom: 20px;}
.past-speakers-heading { font-size: clamp(1.9rem, 3.5vw, 2.6rem); max-width: 26ch; margin: 0 auto; }

.past-speakers-carousel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin: 1.25rem auto 0;
  padding: 0 var(--edge);
  max-width: var(--max-width);
}

.past-speakers-track {
  display: flex;
  gap: 2.25rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 0.5rem 0 1rem;
  min-width: 0; /* forces the track to respect the carousel's width instead of expanding to fit all cards */
} 0 1rem;

.past-speakers-track::-webkit-scrollbar { display: none; }

.past-speaker-card { flex: 0 0 auto; width: 180px; text-align: center; }
.past-speaker-circle {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--white);
}
.past-speaker-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter 0.4s ease;
}
.past-speaker-card:hover .past-speaker-circle img { filter: grayscale(0%); }
.past-speaker-name {
  margin-top: 1.1rem;
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--black);
}

.carousel-arrow {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background 0.25s var(--ease);
}
.carousel-arrow:hover { background: var(--sage-deep); }
.carousel-arrow:focus-visible { outline: 3px solid var(--sage-deep); outline-offset: 2px; }

.past-speakers-viewport {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
}



/* ============ Agenda ============ */
.agenda { background: var(--black); color: var(--white); }
.agenda-heading { font-size: clamp(1.9rem, 3.5vw, 2.6rem); margin-bottom: 3rem; }
.agenda-blocks { display: flex; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line-light); border: 1px solid var(--line-light); }
.agenda-block { background: var(--black); padding: 2.25rem; }
.agenda-block-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.agenda-block-head h3 { font-size: 1.3rem; }
.agenda-block-head span { font-family: var(--font-display); font-size: 0.85rem; color: var(--sage); font-weight: 600; }
.agenda-block p { color: rgba(255, 255, 255, 0.7); line-height: 1.6; }
.agenda-outcome { margin-top: 1rem !important; font-family: var(--font-display); font-size: 0.82rem; font-weight: 600; color: var(--sage); }

/* ============ Apply (tickets) ============ */
.apply { background: var(--black); color: var(--white); }
.apply .section-inner { text-align: center; }
.apply-heading { font-size: clamp(1.9rem, 3.5vw, 2.6rem); margin-top: 0.3rem; }
.apply-sub { margin: 1rem auto 0; max-width: 75ch; color: rgba(255, 255, 255, 0.72); line-height: 1.6; font-size: 1.05rem; }

.ticket-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.ticket-grid-two {
  grid-template-columns: repeat(2, minmax(0, 360px));
  justify-content: center;
}

.ticket-card {
  position: relative;
  background: var(--white);
  color: var(--black);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.ticket-card-featured { border: 2px solid var(--sage); }
.ticket-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--sage);
  color: var(--black);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.3rem 0.85rem;
  border-radius: 100px;
  white-space: nowrap;
}

.ticket-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--sage);
  color: var(--black);
  margin-bottom: 1.1rem;
}
.ticket-name {
  font-size: 1.3rem;
  padding-bottom: 0.6rem;
  margin-bottom: 1.25rem;
  border-bottom: 2px solid var(--sage);
  display: inline-block;
}
.ticket-price {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}
.ticket-list { display: flex; flex-direction: column; gap: 0.85rem; margin-bottom: 2rem; flex: 1; width: 100%; }
.ticket-list li {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0.55rem;
  text-align: left;
  font-size: 0.92rem;
  line-height: 1.5;
  color: rgba(13, 13, 12, 0.75);
}
.ticket-check {
  flex-shrink: 0;
  margin-top: 0.1em;
  color: var(--sage-deep);
  font-weight: 700;
}
.ticket-cta { margin-top: auto; }


/* ============ EARLY BIRD TICKETS ============ */

.ticket-price {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  line-height: 1.1;
}

/* Strikethrough original price — now on top */
.price-original {
  text-decoration: line-through;
  color: #999;
  font-size: 0.5em;
  font-weight: 500;
  margin-right: 0;  /* remove the side spacing */
}

/* Early bird price in red — now below, large */
.price-early {
  color: #d6336c;  /* your brand red */
  font-weight: 700;
}

/* Early bird tag */
.ticket-badge-early {
  display: inline-block;
  background: #d6336c;  /* match your red */
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}



/* ============ Testimonials ============ */
.testimonials { position: relative; overflow: hidden; background: var(--sage-pale); }

.testimonials-texture {
  position: absolute;
  width: 440px;
  height: 340px;
  z-index: 0;
  pointer-events: none;
  background-repeat: repeat;
  background-size: 44px 36px;
  background-image: url("/assets/texture-wave.svg");
}
.testimonials-texture-bl {
  left: 0;
  bottom: 0;
  mask-image: radial-gradient(ellipse at bottom left, black 35%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at bottom left, black 35%, transparent 75%);
}
.testimonials-texture-tr {
  right: 0;
  top: 0;
  mask-image: radial-gradient(ellipse at top right, black 35%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at top right, black 35%, transparent 75%);
}

.testimonials .section-inner { position: relative; z-index: 1; }

.testimonials-heading {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.05;
  max-width: 14ch;
  margin-bottom: 3rem;
}

.testimonial-wall {
  columns: 3 280px;
  column-gap: 1.5rem;
}
.testimonial-card {
  break-inside: avoid;
  margin-bottom: 1.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.75rem;
}
.testimonial-label {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(13, 13, 12, 0.5);
  padding-bottom: 0.85rem;
  margin-bottom: 1.1rem;
  border-bottom: 1px solid var(--line);
}
.testimonial-quote { font-size: 1.05rem; line-height: 1.55; color: var(--black); }
.testimonial-quote strong { font-weight: 700; }
.testimonial-author { margin-top: 1.1rem; font-size: 0.95rem; color: rgba(13, 13, 12, 0.65); }
.testimonial-foot {
  margin-top: 1.25rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: flex-end;
}
.testimonial-heart { color: var(--sage-deep); font-size: 1rem; }

.testimonial-wall .img-placeholder {
  break-inside: avoid;
  margin-bottom: 1.5rem;
  border-radius: 14px;
  background: var(--paper);
  aspect-ratio: 4 / 5;
}
.testimonial-wall .testimonial-video {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 14px;
  background: var(--black);
  break-inside: avoid;
  margin-bottom: 1.5rem;
}


/* ============ Sponsors ============ */
.sponsors {
  position: relative;
  overflow: hidden;
  background-color: var(--white);
  background-image: url("/assets/texture-ledger.svg");
  background-repeat: repeat;
}

.sponsors .section-inner { text-align: center; }
.sponsors-heading { font-size: clamp(1.9rem, 3.5vw, 2.6rem); margin: 0 auto; }

.sponsor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.sponsor-box {
  aspect-ratio: 3 / 2;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
}
.sponsor-placeholder {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(13, 13, 12, 0.35);
}


/* ============ Speaker card click affordance ============ */
.speaker-card-clickable {
  cursor: pointer;
  transition: transform 0.3s var(--ease);
}
.speaker-card-clickable:hover,
.speaker-card-clickable:focus-visible {
  transform: translateY(-4px);
}
.speaker-card-clickable:focus-visible {
  outline: 3px solid var(--sage);
  outline-offset: 3px;
}
.speaker-card-clickable::after {
  content: "View Bio";
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 3;
  background: var(--sage);
  color: var(--black);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.02em;
  padding: 0.4rem 0.85rem;
  border-radius: 100px;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  pointer-events: none;
}
.speaker-card-clickable:hover::after,
.speaker-card-clickable:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

/* ============ Speaker bio modal ============ */
.speaker-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
.speaker-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}
.speaker-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13, 13, 12, 0.72);
}
.speaker-modal-panel {
  position: relative;
  z-index: 1;
  background: var(--white);
  border-radius: 12px;
  max-width: 560px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: clamp(2rem, 5vw, 3rem);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.3s var(--ease);
}
.speaker-modal.is-open .speaker-modal-panel {
  transform: translateY(0) scale(1);
}
.speaker-modal-close {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--paper);
  color: var(--black);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s var(--ease);
}
.speaker-modal-close:hover { background: var(--sage); }
.speaker-modal-name {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--black);
  padding-right: 2rem;
  margin-bottom: 0.75rem;
}
.speaker-modal-title-pill {
  display: inline-block;
  background: var(--sage);
  color: var(--black);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.78rem;
  padding: 0.4rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}
.speaker-modal-bio {
  font-family: var(--font-body);
  font-size: 1.02rem;
  line-height: 1.65;
  color: rgba(13, 13, 12, 0.78);
}
.speaker-modal-bio p + p { margin-top: 1rem; }



/* ============ FAQ ============ */
.faq-heading { font-size: clamp(1.9rem, 3.5vw, 2.4rem); }
.faq-list { margin-top: 2.5rem; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--black);
}
.faq-icon { font-size: 1.4rem; color: var(--sage-deep); transition: transform 0.25s var(--ease); flex-shrink: 0; }
.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s var(--ease); }
.faq-answer p { padding-bottom: 1.5rem; color: rgba(13, 13, 12, 0.68); line-height: 1.6; max-width: 60ch; }
.faq-answer a { color: var(--sage-deep); font-weight: 600; }

.faq-bullet-list {
  list-style: none;
  padding-bottom: 1.5rem;
  max-width: 60ch;
}
.faq-bullet-list li {
  position: relative;
  padding-left: 1.15rem;
  margin-bottom: 0.65rem;
  color: rgba(13, 13, 12, 0.68);
  line-height: 1.6;
}
.faq-bullet-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--sage-deep);
}

/* ============ Footer ============ */
.site-footer { background: var(--black); color: rgba(255, 255, 255, 0.65); }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 2rem; padding-bottom: 2.5rem; }
.footer-wordmark { font-size: 1.25rem; color: var(--white); margin-bottom: 0.4rem; }
.footer-tag { font-size: 0.85rem; color: rgba(255, 255, 255, 0.5); }
.footer-links { display: flex; gap: 2rem; font-family: var(--font-display); font-size: 0.9rem; }
.footer-links a:hover { color: var(--sage); }
.footer-bottom { border-top: 1px solid var(--line-light); text-align: center; padding: 1.5rem var(--edge); font-size: 0.8rem; font-family: var(--font-display); }

/* ============ Responsive ============ */
@media (max-width: 900px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .past-speaker-card { width: 150px; }
 .past-speaker-circle { width: 150px; height: 150px; }

  .about-grid { grid-template-columns: 1fr; }
  .about-media { order: -1; }

  .stat-circle { width: 220px; height: 220px; }
  .profile-grid { grid-template-columns: 1fr 1fr; }
  .profile-columns { grid-template-columns: 1fr; gap: 2rem; }
  .gallery-photo { width: 220px; height: 280px; }

  .format-row { grid-template-columns: 1fr; gap: 0.5rem; }

  .agenda-blocks { grid-template-columns: 1fr; }

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

@media (max-width: 600px) {
  .stat-circle { width: 190px; height: 190px; padding: 1.5rem; }
  .profile-grid { grid-template-columns: 1fr 1fr; }
  .gallery-photo { width: 180px; height: 230px; }
  .countdown { gap: 1.1rem; }
  .testimonials-texture { width: 260px; height: 220px; }
  /* phone: 1 per row */
.experts-grid .speaker-card { flex-basis: 100%; }
}


@media (max-width: 900px) {
    
    /* tablet: 2 per row */
.experts-grid .speaker-card { flex-basis: calc((100% - 1.5rem) / 2); }

    
    .header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
.wordmark { grid-column: 2; justify-self: center; }
.nav-toggle { grid-column: 3; justify-self: end; display: flex; }
.header-cta-desktop { display: none; }

.main-nav { display: none; }

    .why-attend-grid {
    grid-template-columns: 1fr !important;
  }
  .why-attend-visual {
    order: -1;
    aspect-ratio: 4 / 3;
  }
  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    padding: 1.5rem var(--edge) 2rem;
    gap: 1.2rem;
    border-bottom: 1px solid var(--line);
  }
  
  .nav-cta-mobile {
  display: inline-flex;
  justify-content: center;
  width: 100%;
  margin-top: 0.5rem;
}
}

@media (max-width: 600px) {
     .past-speakers-carousel { padding: 0 1rem; gap: 0.75rem; }
   .past-speaker-card {
    width: 100%;
  }
  .past-speaker-circle {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    max-width: 280px;
    max-height: 280px;
    margin: 0 auto;
  }
  
  .past-speakers-track {
    flex: 1 1 auto;
    min-width: 0;
    gap: unset!important;
    padding-left: calc((100% - 78vw) / 2);
    padding-right: calc((100% - 78vw) / 2);
  }
  
  .stat-circle {
    width: 80vw;
    height: 80vw;
    max-width: 280px;
    max-height: 280px;
    padding: 1.75rem;
  }
  .speaker-grid,
  .experts-grid,
  .sponsor-grid,
  .ticket-grid,
  .comparison-grid {
    grid-template-columns: 1fr !important;
  }
  .speaker-card,
  .ticket-card,
  .sponsor-box {
    min-width: 0;
  }
  body {
    overflow-x: hidden;
  }
}
