:root{
    --midnight:#040105;
    --violet-black:#1f1622;
    --indigo:#463b6a;
    --earth:#5c3829;
    --fire:#e67328;
    --text:#e9e6ee;
    --muted:#bfb7ca;
  }
  *{box-sizing:border-box}
  body{
    margin:0; font-family:"Montserrat",sans-serif;
    color:var(--text); background:var(--midnight);
    letter-spacing:0.06em;
    line-height:1.6;
  }
  img{max-width:100%;display:block}
  a{text-decoration:none;color:inherit}
  .wrap{width:min(1100px,90vw);margin:auto}

  /* Header */
  .site-header{
    position:fixed;top:0;left:0;right:0;z-index:100;
    background:#000;border-bottom:1px solid rgba(255,255,255,.1);
    transition:transform 0.3s ease;
  }
  .site-header.hidden{
    transform:translateY(-100%);
  }
  .header-wrap{
    display:flex;align-items:center;justify-content:space-between;
    padding:1rem;
  }
  .brand{
    display:flex;align-items:center;gap:.5rem;
    margin-right: 25px;
    font-weight:800;font-size:1.1rem;
  }
  .brand-mark{width:62px;height:62px}
  
  /* Stack brand text below logo on narrow tablets */
  @media (min-width: 769px) and (max-width: 849px) {
    .brand {
      flex-direction: column;
      align-items: flex-start;
      gap: 0.25rem;
    }
  }
  .nav{display:flex;gap:2rem}
  .nav a{
    color:var(--muted);font-weight:500;
    transition:color .25s ease;
    padding: 3px 4px;
    border-radius: 3px;
    border: 1px solid #ea813b84;
  }
  .nav a:hover{color:var(--text)}
  
  /* Tablet spacing */
  @media (min-width: 769px) and (max-width: 1124px) {
    .nav {
      margin-right: 1.0rem;
    }
  }

  /* Hamburger menu */
  .hamburger{
    display:none;flex-direction:column;gap:4px;
    cursor:pointer;padding:.5rem;
  }
  .hamburger span{
    width:20px;height:2px;background:var(--text);
    transition:.3s ease;
  }
  .hamburger.open span:nth-child(1){transform:rotate(45deg) translate(5px,5px)}
  .hamburger.open span:nth-child(2){opacity:0}
  .hamburger.open span:nth-child(3){transform:rotate(-45deg) translate(7px,-6px)}

  /* Mobile nav */
  .nav.mobile{display:none;position:absolute;top:100%;left:0;right:0;background:#000;border-bottom:1px solid rgba(255,255,255,.1);padding:1rem;text-align:center}
  .nav.mobile.open{display:flex;flex-direction:column;gap:1rem}

  /* Mobile CTA button in nav */
  .mobile-cta{margin-top:.5rem}

  @media (max-width:768px){
    .hamburger{display:flex}
    .nav{display:none}
    .site-header .btn.cta:not(.mobile-cta){display:none}
    .header-wrap {
      padding: 0.5rem 1rem;
    }
    .brand-text {
      font-size: 0.9rem;
    }
  }
  
  .bg, .bg-video{
    position:fixed;inset:0;z-index:-2;
    width:100%;height:100%;object-fit:cover;
  }


  .section{padding:64px 36px;margin:2.5rem auto;max-width:770px}
  .card-wrap{
    background:rgba(18, 13, 20, 0.92);
    backdrop-filter:blur(8px);
    border:4px solid rgba(255,255,255,.1);
    border-radius:5px;
    box-shadow:0 6px 24px rgba(0,0,0,.4);
  }
  /* Compact variant for smaller sections */
  .card-wrap-compact{
    background:rgba(20, 14, 22, 0.32);
    backdrop-filter:blur(9px);
    border:4px solid rgba(255,255,255,.1);
    border-radius:5px;
    box-shadow:0 6px 24px rgba(0,0,0,.35);
    padding:32px 22px;
  }
  .section-hero{padding:48px;margin:3.2rem auto;max-width:1250px;background-image:none;position:relative;}
  
  /* Community page section adjustments */
  .section-hero.card-wrap-top {
    max-width: 900px !important;
    padding-left: 2.5rem !important;
    padding-right: 2.5rem !important;
  }
  .card-wrap-top{
    margin-top: 100px;
    padding: 32px 18px !important;
    background:rgba(10, 5, 10, 0.82);
    border:4px solid rgba(255,255,255,.1);
    border-radius:5px;
    box-shadow:0 6px 24px rgba(0, 0, 0, 0.191);
  }

  /* Hero Title */
  .section-hero .hero-main-title{
    margin: 0 0 0.75rem;
    font-size: clamp(2.6rem, 1.5rem + 3vw, 4.6rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    line-height: 0.98;
    text-align: center;
    color: #fff;
    text-shadow:
      0 12px 32px rgba(0,0,0,0.55),
      0 0 24px rgba(230,115,40,0.45);
    position: relative;
  }
  .section-hero .hero-main-title::before,
  .section-hero .hero-main-title::after{
    content:"";
    display:block;
    width: 100%;
    max-width: 540px;
    height: 2px;
    margin: 0.9rem auto;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.65) 25%, rgba(255,255,255,0.9) 50%, rgba(255,255,255,0.65) 75%, transparent 100%);
  }
  .section-hero .hero-main-title::before{ margin-bottom: 0.9rem; }
  .section-hero .hero-main-title::after{ margin-top: 0.9rem; }

  @media (max-width: 768px) {
    .section-hero .hero-main-title{
      font-size: clamp(2.1rem, 7vw, 3rem);
      letter-spacing: 0.08em;
      line-height: 1.02;
      margin-bottom: 1rem;
    }
  }


  /* Hero Layout - Desktop */
  .hero-layout {
    display: flex;
    align-items: center;
    gap: 3rem;
    text-align: left;
  }
  .hero-text {
    flex: 1;
    text-align: left;
    z-index: 2;
  }
  .hero-visual {
    flex: 1;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
    display: grid;
    grid-template-areas: "stack";
  }
  .hero-visual > * {
    grid-area: stack;
  }
  .hero-visual img {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
  }
  .hero-visual img.active {
    opacity: 0.85;
  }
  .hero-overlay { display: none; }

  /* Override text alignments for desktop */
  .section-hero .hero-title { text-align: left; margin-top: 0.5rem; font-size: clamp(1.5rem, 1.1rem + 2vw, 2.4rem); }
  .section-hero .hero-sub { text-align: left; margin: 0 0 1.5rem; }
  .section-hero .eyebrow { text-align: left; }
  .section-hero .hero-cta {
    text-align: center;
  }
  .section-hero .hero-cta .btn {
    margin-left: 0;
    margin-right: 0;
  }

  /* Mobile Hero Styling */
  @media (max-width: 768px) { /* Changed from 900px to 768px */
    .section-hero {
      /* Keep padding and container styles */
      padding: 32px 18px !important;
      margin: 7rem auto 2.8rem !important; /* Increased top margin for header offset */
      max-width: 90%;
      /* Allow background/border to persist */
      display: block; 
    }
    .card-wrap-top {
      /* Keep card styles active */
      margin-top: 0; /* Removed redundant internal margin */
    }
    
    .hero-layout {
      display: flex;
      flex-direction: column;
      gap: 2rem;
      width: 100%;
    }
    
    .hero-visual {
      position: relative; 
      inset: auto;
      width: 100%;
      height: auto;
      z-index: 0;
      border-radius: 8px;
      overflow: hidden;
      box-shadow: 0 4px 12px rgba(0,0,0,0.3);
      order: 2;
    }
    .hero-visual img {
      width: 100%;
      height: auto;
      object-fit: cover;
    }
    .hero-overlay {
      display: none;
    }
    
    .hero-text {
      position: relative;
      z-index: 2;
      padding: 0; /* Remove extra padding since container has padding */
      text-align: center;
      order: 1;
    }
    .section-hero .hero-title { text-align: center; margin-top: 0; font-size: 1.6rem; } /* Reduced mobile font size */
    .section-hero .hero-sub { text-align: center; margin: 0 auto 1.5rem; }
    .section-hero .eyebrow { text-align: center; margin-bottom: 1rem; }
    .section-hero .hero-cta { text-align: center; }
    .section-hero .hero-cta .btn { margin: 1rem auto; }
  }
  .section-compact{padding:48px 26px;margin:1.2rem auto;max-width:650px}
  .card-wrap-different{
    background:rgba(230, 166, 121, 0.754); /* less opaque fire color */
    color:#000;
    font-weight:700;
    backdrop-filter:blur(9px);
    border:4px solid rgba(255,255,255,.15);
    border-radius:5px;
    box-shadow:0 6px 24px rgba(0,0,0,.4);
    padding:40px 28px;
    margin-left:auto;
    margin-right:auto;
  }
  #different-title{
    text-align:center;
    margin-bottom:1.2rem;
  }
  @media (max-width:768px){
    .card-wrap-different{
      margin-left:1.5rem;
      margin-right:1.5rem;
      padding:32px 22px;
    }
  }
  .hero{text-align:center;padding:100px 20px 80px}
  .hero-title{font-size:clamp(2rem,1.2rem+3vw,3.8rem);font-weight:800;margin:1.9rem 0}
  .hero-sub{font-size:1.2rem;max-width:600px;margin:auto}
  .eyebrow{
    color:var(--muted);
    letter-spacing:.3px;
    background: rgba(180, 180, 180, 0.122);
    padding: 0.3rem 0.5rem;
    display: inline-block;
    border-radius: 4px;
  }
  .btn{
    display:inline-flex;align-items:center;justify-content:center;
    border-radius:4px;padding:.5rem 1rem;margin:.3rem;
    border:1px solid rgba(255,255,255,.15);transition:.25s ease;
  }
  .btn.cta{
    background:linear-gradient(180deg,rgba(255,138,58,0.85),rgba(230,115,40,0.85));
    color:#130b04;font-weight:800;box-shadow:0 8px 22px rgba(230,115,40,.35);
    margin: 1rem auto;
  }
  .btn.cta:hover{filter:brightness(.95)}
  .btn.ghost{background:transparent;color:var(--text)}
  .btn-lg{font-size:1.05rem}
  .btn-wide{padding:1rem 1.6rem;font-weight:800}
  .small{font-size:.9rem;color:var(--muted)}
  .bullets{list-style:none;padding:0}
  .bullets li{padding:.5rem 0;border-bottom:1px solid rgba(255,255,255,.07)}
  .quote{border-left:3px solid var(--fire);padding-left:1rem;margin:1rem 0;color:#dde1e7}
  
  /* Intro Problems Section */
  .intro-problems {
    margin: 2rem 0 2.5rem 0;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .intro-problems-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 1.5rem 0;
    color: var(--text);
    line-height: 1.4;
  }
  
  .problems-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
  }
  
  .problems-list li {
    padding: 0.75rem 0;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
  
  .problems-list li:last-child {
    border-bottom: none;
  }
  
  .problems-list li em {
    font-style: italic;
    color: var(--text);
  }
  
  .intro-problems-resolution {
    margin: 1.5rem 0 0 0;
    font-size: 1.1rem;
    text-align: center;
    color: var(--text);
  }
  
  .intro-problems-resolution strong {
    color: var(--fire);
    font-weight: 800;
  }
  
  @media (max-width: 768px) {
    .intro-problems-title {
      font-size: 1.2rem;
    }
    
    .problems-list li {
      font-size: 0.95rem;
    }
    
    .intro-problems-resolution {
      font-size: 1rem;
    }
  }
  
  /* Speaker rows container */
  .speaker-rows{
    max-width:650px;margin:30px auto 0;
  }

  /* Speaker rows */
  .speaker-row{
    display:grid;gap:10px;margin-bottom:10px;
  }

  /* Top row: 7 icons, full width */
  .top-row{
    grid-template-columns:repeat(7,1fr);
  }

  /* Bottom row: 6 icons, centered */
  .bottom-row{
    grid-template-columns:repeat(6,90px);
    justify-content:center;
  }

  /* Speaker images */
  .speaker-row img{
    width:90px;height:90px;object-fit:cover;border-radius:50%;
    box-shadow:0 0 0 2px rgba(255,255,255,.15);
    transition:.3s ease;
  }
  .speaker-row img:hover{box-shadow:0 0 0 2px var(--fire)}

  /* Black Friday Announcement */
  .offer-announcement {
    background: linear-gradient(135deg, var(--violet-black), #2a1a2e);
    border: 2px solid var(--fire);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
    box-shadow: 0 0 20px rgba(230, 115, 40, 0.2);
  }

  .offer-announcement h3 {
    color: var(--fire);
    margin: 0 0 0.5rem 0;
    font-size: 1.4rem;
    font-weight: 800;
  }

  .offer-announcement p {
    margin: 0 0 1rem 0;
    font-size: 1.1rem;
    line-height: 1.4;
  }


  @media (max-width: 600px) {
    .offer-announcement {
      padding: 1rem;
    }
    .offer-announcement h3 {
      font-size: 1.2rem;
    }
    .offer-announcement p {
      font-size: 1rem;
    }
    #bf-timer {
      font-size: 1.8rem;
      padding: 0.4rem 1rem;
    }
  }

  /* Mobile responsive speaker rows */

  /* Tablet: Reduce size sooner (768px - 960px) */
  @media (max-width: 960px) {
    /* Reduce grid columns */
    .top-row {
      grid-template-columns: repeat(7, 1fr);
    }
    /* Make icons smaller to fit */
    .speaker-row img {
      width: 55px;
      height: 55px;
    }
    /* Center top row if it gets squeezed */
    .top-row {
      justify-content: center;
    }
  }

  @media (max-width: 600px) {
    /* Mobile: Reduce to 3 columns each for better fit */
    .top-row {
      grid-template-columns: repeat(4, 1fr);
    }
    .bottom-row {
      grid-template-columns: repeat(4, 1fr);
      justify-content: center;
    }
    /* Icons remain small mobile size */
    .speaker-row img {
      width: 55px;
      height: 55px;
    }
  }

  @media (max-width: 360px) {
    /* Small mobile: Auto-fit for maximum flexibility */
    .top-row {
      grid-template-columns: repeat(auto-fit, minmax(55px, 1fr));
    }
    .bottom-row {
      grid-template-columns: repeat(auto-fit, minmax(55px, 1fr));
      justify-content: center;
    }

    /* Slightly smaller icons on very small screens */
    .speaker-row img {
      width: 55px;
      height: 55px;
    }
  }

  /* SPEAKERS SECTION REDESIGN */
  
  /* Ensure the section itself doesn't have the card-wrap style from before if we removed it in HTML */
  /* If we kept .section but removed .card-wrap, we need to style .speakers-section */
  .speakers-section {
    max-width: 1200px; /* Allow more width for the grid */
    margin: 3rem auto;
    padding: 0 20px;
  }

  .speakers-list {
    /* Removed old flex column style */
    display: none; /* Safety hide if any remain */
  }

  /* New Grid Layout */
  .speakers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns by default (Desktop) */
    gap: 1.5rem;
    margin-top: 2rem;
  }

  #speakers-title {
    font-size: 2.5rem; /* Slightly larger */
    color: #dde1e7;
    margin-top: 0;
    margin-bottom: 1rem;
    text-align: center;
    border-bottom: 4px solid #e9e6ee;
    border-top: 4px solid #e9e6ee;
    
    /* Full width banner styles */
    background: rgba(20, 20, 20, 0.81); /* Dark charcoal, almost opaque */
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: 0.5rem 0; /* Very slim vertical padding */
  }

  .speaker-card {
    display: flex;
    flex-direction: column; /* Icon above text */
    align-items: center;
    text-align: center;
    padding: 2rem 1.5rem;
    background: rgba(31, 22, 34, 0.65); /* Slightly more opaque for standalone cards */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(12px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%; /* Equal height cards */
  }

  .speaker-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.2);
  }

  .speaker-card.placeholder {
    background: rgba(31, 22, 34, 0.65); /* Same as regular cards */
    border: 2px dashed rgba(255, 255, 255, 0.3);
    justify-content: center;
    align-items: center;
    box-shadow: none;
    backdrop-filter: none;
    padding: 3rem; /* Increase padding to make content area smaller */
  }

  .placeholder-inner {
    width: 140px; /* Match speaker photo size */
    height: 140px;
    background: #000 url('assets/speaker-icons/mystery-speaker.png') no-repeat center center;
    background-size: cover;
    border-radius: 50%; /* Circle like other photos */
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.1);
  }

  .placeholder-2 .placeholder-inner {
    background-image: url('assets/speaker-icons/mystery-speaker2.png');
  }

  .speaker-card.placeholder:hover {
    transform: none;
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: none;
  }

  .placeholder-mark {
    font-size: 5rem;
    font-weight: 800;
    color: #000; /* Black question mark */
    line-height: 1;
    user-select: none;
    z-index: 2;
    opacity: 0.7;
  }

  .speaker-photo {
    width: 140px; /* Slightly larger */
    height: 140px;
    object-fit: cover; /* Ensures the image covers the area without distortion */
    border-radius: 50%; /* Makes it a circle */
    margin-bottom: 1.5rem; /* Space between icon and text */
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.1);
  }

  .speaker-bio h3 {
    font-size: 1.4rem;
    margin: 0 0 0.5rem 0;
  }

  .speaker-tagline {
    margin-bottom: 1rem;
    min-height: 3em; /* Align content roughly */
  }

  .speaker-bio p {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  /* RESPONSIVE GRID */

  /* Tablet / Landscape Smartphone (approx < 1024px to > 600px) */
  @media (max-width: 1024px) {
    .speakers-grid {
      grid-template-columns: repeat(2, 1fr); /* 2 columns */
    }
    .speaker-card.placeholder {
      display: none;
    }
  }

  /* Mobile / Portrait Smartphone (< 600px) */
  @media (max-width: 600px) {
    .speakers-grid {
      grid-template-columns: 1fr; /* 1 column */
      gap: 1rem;
    }

    .speaker-card {
      padding: 1.5rem 1rem;
    }

    .speaker-photo {
      width: 120px;
      height: 120px;
    }
    
    #speakers-title {
      font-size: 2rem;
    }
  }

  
  /* Jesse intro card */
  .jesse-card{
    display:flex;align-items:center;gap:1rem;margin-bottom:1.4rem;
    background:rgba(31,22,34,.55);border:1px solid rgba(255,255,255,.1);
    border-radius:5px;padding:1rem;backdrop-filter:blur(10px);
  }
  .jesse-avatar{width:70px;height:70px;border-radius:50%;flex-shrink:0}
  .jesse-text h3{margin:.2rem 0;font-weight:700}

  /* Mobile responsive Jesse card */
  @media (max-width: 640px) {
    .jesse-card {
      flex-direction: column;
      text-align: center;
      gap: 1rem;
    }

    .jesse-avatar {
      margin: 0 auto;
    }
  }
  
  /* topics */
  .topic-cols{display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(250px,1fr))}
  .topic{display:flex;flex-direction:column;gap:.5rem;background:rgba(31, 22, 34, 0.824);border:1px solid rgba(255,255,255,.08);border-radius:6px;padding:1rem}
  .topic-controls{display:flex;justify-content:center;order:0}
  .topic-toggle{background:transparent;border:none;cursor:pointer;transition:transform .2s ease;display:inline-flex;align-items:center;justify-content:center}
  .topic-toggle img{width:32px;height:auto;opacity:.95;display:block;filter:drop-shadow(0 4px 10px rgba(0, 0, 0, 0.629));transition:transform .2s ease,opacity .2s ease}
  .topic-toggle:active img{transform:scale(.6)}
  .topic.open .topic-toggle img{transform:scale(.85);opacity:.8}
  .topic-list{list-style:none;padding:0;margin:0;border-top:1px solid rgba(255,255,255,.08);overflow:hidden;max-height:0;transition:max-height .35s ease;order:1;font-size:.8rem;line-height:1.2}
  .topic-list li{padding:.5rem 0;border-bottom:1px solid rgba(255,255,255,.07)}
  .topic-list li:last-child{border-bottom:none}

  /* Organizers compact sizing */
  #organizers{max-width:880px;margin:2rem auto}
  .topic.open .topic-controls{order:2;margin-top:.25rem}
  
  /* FAQ */
  .faq-item{margin:1rem 0;background:rgba(20,14,22,.6);border-radius:5px;border:1px solid rgba(255,255,255,.1)}
  .faq-q{padding:1rem;cursor:pointer;font-weight:600;position:relative}
  .faq-a{padding:0 1rem 1rem;border-top:1px solid rgba(255,255,255,.1)}
  .faq-q::after{content:"+";position:absolute;right:1rem}
  .faq-item[open] .faq-q::after{content:"–";color:var(--fire)}

  /* VIP seats remaining */
  .seats{color:var(--fire);font-size:1.0rem;font-weight:400}

  /* TICKET TIERS */
  .tiers {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
  }

  .tier {
    border: 2px solid rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    padding: 2rem;
    background: rgba(18, 13, 20, 0.4);
    backdrop-filter: blur(4px);
  }

  .tier.highlight {
    border-color: rgba(255, 255, 255, 0.95);
  }

  .tier-name {
    margin: 0 0 0.5rem 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
  }

  .tier-subtitle {
    display:none;
  }

  .tier-plus-header {
    margin: 0 0 1rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
  }

  .tier-intro {
    margin: 0 0 1.5rem 0;
    font-size: 1rem;
    color: var(--text);
    line-height: 1.6;
  }

  .tier-points {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
  }

  .tier-points li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    line-height: 1.6;
  }

  .tier-points li:last-child {
    border-bottom: none;
  }

  .tier-value-summary {
    margin: 1.5rem 0 1rem 0;
    padding: 1rem;
    background: rgba(230, 115, 40, 0.1);
    border: 1px solid rgba(230, 115, 40, 0.3);
    border-radius: 6px;
    text-align: center;
  }

  .tier-value-summary p {
    margin: 0;
    font-size: 1rem;
    color: var(--text);
  }

  .tier-value-summary strong {
    color: var(--fire);
    font-weight: 800;
  }

  .tier-closing {
    margin: 1rem 0 0.5rem 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text);
    text-align: center;
  }

  .tier-closing strong {
    color: var(--fire);
    font-weight: 700;
  }

  .tier-points li strong {
    font-weight: 700;
    color: var(--text);
  }

  /* Stripe buy button shell to prevent overflow on mobile */
  .buy-button-shell{
    position:relative;
    display:block;
    max-width:100%;
    overflow:hidden;
    padding:0;
  }
  .buy-button-shell stripe-buy-button{
    display:block;
    width:calc(100% + 40px); /* extend width so label centers after shift */
    max-width:none;
    margin-left:-40px;       /* shift visible center left */
    margin-right:0;
    position:relative;
    z-index:1;
  }
  .buy-button-shell::before,
  .buy-button-shell::after{
    content:"";
    position:absolute;
    top:0;
    width:32px;
    height:100%;
    pointer-events:none;
    z-index:2;
  }
  .buy-button-shell::before{
    left:0;
    background:linear-gradient(270deg, rgba(18,13,20,1) 0%, rgba(18,13,20,0.65) 50%, rgba(18,13,20,0) 100%);
  }
  .buy-button-shell::after{
    right:0;
    background:linear-gradient(90deg, rgba(18,13,20,1) 0%, rgba(18,13,20,0.65) 50%, rgba(18,13,20,0) 100%);
  }
  @media (max-width: 640px) {
    .buy-button-shell stripe-buy-button{
      width:calc(100% + 50px);
      margin-left:-50px;
    }
    .buy-button-shell::after,
    .buy-button-shell::before{
      width:28px;
    }
  }

  @media (max-width: 768px) {
    .tier {
      padding: 1.1rem;
      margin: 0 -6px;
    }
  }

  /* STRIPE BUY BUTTON */
  .stripe-buy-button
  {
    margin-top:1rem;
  }

  #buzzsprout-large-player{
   background:rgba(121, 5, 159, 0.778);
   box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
   border-radius: 10px;
   padding:1rem;
  width: 80%;
  margin: 0 auto;
  }

  @media (max-width: 768px) {
    #buzzsprout-large-player{
      width: 100%;
    }
  }

  .podcast-links {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 6rem;
    margin-top: 2rem;
    padding: 0.75rem;
    background: rgba(20, 20, 20, 0.85);
    border-radius: 8px;

    border-top: 4px solid rgba(218, 229, 231, 0.771);
    border-bottom: 4px solid rgba(218, 229, 231, 0.771);
  }

  .podcast-icon img {
    width: 230px;
    height: auto;
    transition: transform 0.2s ease, filter 0.2s ease;
    filter: invert(1); /* Convert black to white */
  }

  .podcast-icon:hover img {
    transform: scale(1.1);
    filter: invert(1) brightness(1.2); /* Keep white and brighten on hover */
    opacity: 1;
  }

  @media (max-width: 768px) {
    .podcast-links {
      flex-direction: column;
      gap: 2rem;
      align-items: center;
    }
  }

  /* Footer + sticky CTA */
  .site-footer{text-align:center;padding:1.5rem 0;color:var(--muted)}
  .sticky-cta{
    position:fixed;bottom:16px;left:0;right:0;text-align:center;
    transition:opacity .4s ease;opacity:0;pointer-events:none;
    z-index: 999; /* Ensure it's above other content */
  }
  .sticky-cta .btn{
    background: #d66c25; /* Black background */
    color: #000000; /* Eggshell white text */
    border-radius: 8px; /* Smaller radius */
    padding: 0.6rem 1.2rem; /* Less padding */
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  }
  .sticky-cta .btn:hover{
    filter: brightness(1.2); /* Slight lift on hover */
    background: #1a1a1a;
  }
  .sticky-cta.show{opacity:1;pointer-events:auto}
  
  /* Fade-in animation */
  .fadein{opacity:0;transform:translateY(25px);transition:opacity .8s ease,transform .8s ease}
  .fadein.visible{opacity:1;transform:none}
  
/* Ensure speakers section is visible */
#speakers {
  position: relative;
  z-index: 1;
  min-height: 100px; /* Ensure it has height even if content is hidden */
}

/* Fallback: if fadein fails, ensure content is visible after a delay */
.fadein {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity .8s ease, transform .8s ease;
}

.fadein.visible {
  opacity: 1;
  transform: none;
}

/* Mobile-specific: lower threshold for visibility detection */
@media (max-width: 768px) {
  #speakers.fadein:not(.visible) {
    /* On mobile, if still not visible after page load, force visibility check */
    animation: fadeInFallback 0.1s ease 0.5s forwards;
  }
}

@keyframes fadeInFallback {
  to {
    opacity: 1;
    transform: none;
  }
}

/* Organizers mini gallery */
#organizers { padding: 24px 18px; }
#organizers h2 { margin-top: 0; font-size: 1.75rem; }

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

@media (max-width: 960px){
  .organizers-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width: 560px){
  .organizers-grid{ grid-template-columns:1fr; }
}

.organizer-card{
  background:rgba(31,22,34,.55);
  border:1px solid rgba(255,255,255,.12);
  border-radius:6px;
  padding:.5rem;
  text-align:center;
  box-shadow:0 6px 16px rgba(0,0,0,.35);
  transition:transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.organizer-photo{
  width:55px;height:55px;object-fit:cover;border-radius:6px;
  margin:0 auto .35rem;
  box-shadow:0 0 0 2px rgba(255,255,255,.12);
}

.organizer-name{
  margin:.15rem 0 .08rem;
  font-size:.9rem;
  font-weight:700;
}

.organizer-role{
  margin:0;
  font-size:.75rem;
  color:var(--muted);
}

/* Subtle unique standouts per card */
.standout-1{ box-shadow:0 8px 20px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.06); }
.standout-2{ box-shadow:0 10px 22px rgba(0,0,0,.5), 0 8px 24px rgba(70,59,106,.25); }
.standout-3{ box-shadow:0 10px 22px rgba(0,0,0,.5), 0 8px 24px rgba(230,115,40,.18); }
.standout-4{ box-shadow:0 10px 22px rgba(0,0,0,.5), 0 8px 24px rgba(95, 77, 58, .22); }

.organizer-card:hover{
  transform:translateY(-2px);
  box-shadow:0 12px 28px rgba(0,0,0,.55);
}

/* Pricing Updates */
.old-price {
  text-decoration: line-through;
  color: var(--muted);
  font-size: 1em;
  margin-right: 0.5rem;
}

.sale-price {
  color: var(--fire);
  font-weight: 800;
  font-size: 1.2em;
  font-style: italic;
  text-shadow: 0 0 10px rgba(230, 115, 40, 0.3);
}

  /* Itinerary Section */
  .itinerary-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
  }

  .day-module {
    background: rgba(31, 22, 34, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    overflow: hidden;
  }

  .day-header {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: none;
    border-bottom: 1px solid transparent;
    padding: 1.2rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s ease;
    text-align: left;
    color: var(--text);
  }

  .day-header:hover {
    background: rgba(255, 255, 255, 0.07);
  }

  .day-module.open .day-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
  }

  .day-header h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--fire);
  }

  .toggle-icon {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--muted);
    transition: transform 0.3s ease;
  }

  .day-module.open .toggle-icon {
    transform: rotate(45deg);
    color: var(--fire);
  }

  .day-content {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease;
  }

  .day-module.open .day-content {
    padding: 1rem 1.5rem 1.5rem;
    /* max-height will be set by JS */
  }

  .schedule-item {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 1.5rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    align-items: start;
  }

  .schedule-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .time {
    font-family: "Courier New", monospace;
    font-weight: 700;
    color: var(--muted);
    font-size: 0.95rem;
    padding-top: 0.2rem; /* Align with text */
  }

  .event-info {
    font-size: 1rem;
    line-height: 1.5;
    color: var(--text);
  }

  /* Special styling for items with speakers */
  .has-speaker .event-info {
    display: flex;
    align-items: center;
    gap: 1rem;
  }

  .speaker-mini {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.15);
    flex-shrink: 0;
  }

  .speaker-pair {
    display: flex;
    align-items: center;
    flex-shrink: 0;
  }

  /* Mobile Itinerary */
  @media (max-width: 600px) {
    .schedule-item {
      grid-template-columns: 1fr; /* Stack vertically */
      gap: 0.5rem;
      padding: 1.2rem 0;
    }

    .time {
      color: var(--fire);
      font-size: 0.9rem;
    }
    
    .has-speaker .event-info {
      flex-direction: row; /* Keep icon next to text on mobile usually looks ok, or stack if very narrow */
      align-items: flex-start;
    }
  }

  /* Hero Quote Styles */
  .hero-quote {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6rem; /* Increased from 1.22rem */
    font-weight: 600;
    /* Semi-transparent eggshell white background */
    background: rgba(240, 234, 214, 0.15); 
    color: var(--text);
    max-width: 950px; /* Slightly wider to accommodate larger text/icon */
    margin: 2.4rem auto 1.5rem auto;
    padding: 2rem 2rem;
    position: relative;
    border-radius: 13px;
    box-shadow: 0 8px 38px rgba(50,30,10,0.08);
  }

  .quote-layout {
    display: flex;
    align-items: center; /* Vertically center align */
    gap: 2rem;
  }

  .quote-icon {
    width: 120px; /* 2x size (was 60px) */
    height: 120px; /* 2x size */
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 0 0 2px rgba(255,255,255,0.15);
  }

  .quote-content {
    flex: 1;
    line-height: 1.4;
  }

  /* Removed toggle btn and arrow label styles as they are no longer used */
  
  /* Mobile styling for quote */
  @media (max-width: 600px) {
    .hero-quote {
      padding: 1.5rem;
      font-size: 1.0rem;
    }
    .quote-layout {
      gap: 1.2rem;
      flex-direction: column; /* Stack on mobile for better space usage */
      text-align: center;
    }
    .quote-icon {
      width: 90px; /* Slightly smaller on mobile but still prominent */
      height: 90px;
    }
  }

  /* NEW Sponsor Conveyor Styles */
  .sponsor-conveyor {
    width: 100%;
    max-width: 950px; /* Matches hero width */
    margin: 0 auto 1rem;
    padding: 1.5rem 0;
    background: rgba(20, 20, 20, 0.85); /* Dark charcoal semi-transparent */
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    z-index: 10;
  }

  .sponsor-header {
    text-align: center;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--muted);
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
  }

  .conveyor-track-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  }

  .conveyor-track {
    display: flex;
    gap: 6rem;
    width: max-content;
    animation: scroll 35s linear infinite;
    padding-left: 2rem;
  }

  .sponsor-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  /* Increase Oakmoss by 50% */
  .sponsor-logo img[alt="Oakmoss"] {
    height: 112px; /* 75px * 1.5 = 112.5px */
    width: auto;
    border-radius: 4px;
  }

  /* Decrease Medicine of Mankind by 30% */
  .sponsor-logo img[alt="Medicine"] {
    height: 90px; /* 75px * 0.7 = 52.5px */
    width: auto;
  }

  /* Eden Logo & Text */
  .sponsor-logo img[alt="Eden"] {
    max-width: 55px;
    height: auto;
    border-radius: 12px;
  }
  .sponsor-logo {
    gap: 0.8rem; /* Gap between eden1 and eden2 */
  }
  .eden-text-img {
    height: 50px;
    width: auto;
    opacity: 0.8;
    transition: opacity 0.3s ease;
  }
  .sponsor-logo:hover .eden-text-img {
    opacity: 1;
  }
  .sponsor-logo:hover .eden-text {
    opacity: 1;
  }

  .sponsor-logo img {
    opacity: 0.9;
    transition: opacity 0.3s ease, filter 0.3s ease;
    filter: grayscale(0%);
  }

  .sponsor-logo:hover img {
    opacity: 1;
    filter: grayscale(0%);
  }

  @keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* Translating past 2 of the 4 sets */
  }

  @media (max-width: 768px) {
    .sponsor-conveyor {
      max-width: 100%;
      border-radius: 0;
      margin: 1rem 0;
      border-left: none;
      border-right: none;
    }
    
    /* Mobile Adjustments: 50px base size logic applied to changes */
    /* Oakmoss: 50px * 1.5 = 75px */
    .sponsor-logo img[alt="Oakmoss"] {
      height: 75px;
      border-radius: 4px;
    }
    
    /* Medicine: 50px * 0.7 = 35px */
    .sponsor-logo img[alt="Medicine"] {
      height: 52px;
    }

    /* Eden Mobile */
    .sponsor-logo img[alt="Eden"] {
      max-width: 40px;
    }
    .sponsor-logo {
      gap: 0.5rem; /* Gap between eden1 and eden2 */
    }
    .eden-text-img {
      height: 35px; /* Scaled down from 75px */
    }

    .conveyor-track {
      gap: 4rem;
    }
  }

  @media (max-width: 480px) {
    .podcast-links {
      gap: 3rem;
      flex-direction: column;
      align-items: center;
    }
    .podcast-icon img {
      width: 180px;
    }
  }