/* Ambient fixed background — shows through transparent page sections */
canvas#ambient-hero-bg {
  display: block;
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  contain: strict;
}

html.ConfSummit {
  background: #011121;
}

html.ConfSummit body {
  background: transparent !important;
  position: relative;
  z-index: 1;
}

/* Let the ambient field read through solid section fills */
html.ConfSummit .hero,
html.ConfSummit .stats-section,
html.ConfSummit .about-summit-section,
html.ConfSummit .content-feature-section,
html.ConfSummit .speakers-section,
html.ConfSummit .agenda-section,
html.ConfSummit .testimonials-section,
html.ConfSummit .partners-section,
html.ConfSummit .pricing-section,
html.ConfSummit .final-cta-section,
html.ConfSummit .why-section,
html.ConfSummit section:not(.hero) {
  background-color: transparent !important;
}

html.ConfSummit.pmx-inner .section {
  background-color: transparent !important;
}

html.ConfSummit.pmx-inner .page-hero {
  background-color: transparent;
}

/* Keep chrome readable over the field */
html.ConfSummit .site-footer {
  background: rgba(10, 42, 60, 0.88) !important;
  border-top: 1px solid rgba(0, 168, 243, 0.14);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  position: relative;
  z-index: 5;
  padding: 56px 0 0;
}

/* Shared homepage footer styles (all pages) */
html.ConfSummit .site-footer .footer-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 32px;
}
html.ConfSummit .site-footer .footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 48px;
}
html.ConfSummit .site-footer .footer-col h3 {
  font-family: var(--font-display, "Archivo", sans-serif);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-cyan, #00B4D8);
  margin-bottom: 18px;
}
html.ConfSummit .site-footer .footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
}
html.ConfSummit .site-footer .footer-col ul li {
  margin: 0;
}
html.ConfSummit .site-footer .footer-col ul a {
  color: var(--brand-white-soft, #D6DFEC);
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.01em;
  transition: color 200ms ease;
  position: relative;
  display: inline-block;
  padding: 2px 0;
  padding-left: 0 !important;
  cursor: pointer;
}
html.ConfSummit .site-footer .footer-col ul a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--accent-cyan, #00B4D8);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 400ms cubic-bezier(0.4, 0, 0.2, 1);
}
html.ConfSummit .site-footer .footer-col ul a:hover {
  color: var(--accent-ice, #7DD8F0);
}
html.ConfSummit .site-footer .footer-col ul a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
html.ConfSummit .site-footer .footer-bottom {
  border-top: 1px solid rgba(0, 168, 243, 0.10);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
html.ConfSummit .site-footer .footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  /* gap: 10px; */
}
html.ConfSummit .site-footer .footer-reb-logo {
  display: inline-flex;
  line-height: 0;
  text-decoration: none;
  opacity: 0.92;
  transition: opacity 200ms ease;
}
html.ConfSummit .site-footer .footer-reb-logo:hover {
  opacity: 1;
}
html.ConfSummit .site-footer .footer-reb-logo img {
  display: block;
  width: 30px;
  height: auto;
}
html.ConfSummit .site-footer .footer-pmx-logo {
  font-family: var(--font-display, "Archivo", sans-serif);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.08em;
  color: var(--accent-cyan, #00B4D8);
  text-decoration: none;
  text-transform: uppercase;
}
html.ConfSummit .site-footer .footer-pmx-logo span {
  color: var(--brand-white, #F0F4FA);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.06em;
  opacity: 0.7;
  text-transform: none;
}
html.ConfSummit .site-footer .footer-copy {
  font-size: 12px;
  color: rgba(200, 215, 230, 0.40);
  margin-left: auto;
  text-align: right;
}
html.ConfSummit .site-footer .footer-copy strong {
  color: rgba(200, 215, 230, 0.60);
  font-weight: 600;
}

/* Speaker Cloudinary headshots */
html.ConfSummit .headshot-placeholder.has-photo {
  display: block;
  padding: 0;
}
html.ConfSummit .headshot-placeholder.has-photo::before {
  opacity: 0.35;
}
html.ConfSummit .headshot-placeholder .headshot,
html.ConfSummit .headshot-placeholder > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  position: relative;
  z-index: 1;
}
html.ConfSummit .modal-headshot-placeholder.has-photo {
  padding: 0;
  overflow: hidden;
}
html.ConfSummit .modal-headshot-placeholder.has-photo .hs-silhouette,
html.ConfSummit .modal-headshot-placeholder.has-photo .hs-initials {
  display: none !important;
}
html.ConfSummit .modal-headshot-placeholder.has-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  border-radius: inherit;
}
html.ConfSummit .modal-speaker-name {
  font-family: var(--font-display, "Archivo", sans-serif);
  font-weight: 700;
  font-size: 22px;
  color: var(--text-white, #fff);
  margin: 0 0 8px;
}
html.ConfSummit .modal-speaker-role {
  font-size: 14px;
  color: var(--btn-secondary, #6AA1DC);
  margin: 0 0 4px;
}
html.ConfSummit .modal-speaker-company {
  font-size: 13px;
  color: var(--text-muted, rgba(255,255,255,0.5));
  margin: 0 0 16px;
}
html.ConfSummit .modal-speaker-bio {
  font-size: 15px;
  color: var(--text-secondary, rgba(255,255,255,0.75));
  line-height: 1.65;
  margin: 0;
  text-align: left;
}
html.ConfSummit .agenda-headshot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

html.ConfSummit .back-to-top svg {
  color: #ffffff;
  stroke: #ffffff;
}

@media (max-width: 1023px) {
  html.ConfSummit .site-footer .footer-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
}

@media (max-width: 767px) {
  html.ConfSummit .site-footer .footer-inner {
    padding: 0 20px;
  }
  html.ConfSummit .site-footer .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  html.ConfSummit .site-footer .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  html.ConfSummit .site-footer .footer-brand {
    align-items: center;
  }
  html.ConfSummit .site-footer .footer-copy {
    margin-left: 0;
    text-align: center;
  }
  html.ConfSummit .site-footer {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

@media (max-width: 480px) {
  html.ConfSummit .site-footer .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}


/* Home hero canvases stay above ambient */
html.ConfSummit #particleRingCanvas,
html.ConfSummit #rippleCanvas,
html.ConfSummit .hero-geometric,
html.ConfSummit .hero-content {
  z-index: 1;
}

html.ConfSummit .hero-content {
  z-index: 4;
}

/* Drop redundant CSS noise when canvas ambient is present */
html.ConfSummit.pmx-inner .noise-overlay {
  display: none !important;
}

@media (prefers-reduced-motion: reduce) {
  canvas#ambient-hero-bg {
    /* Static cached frame still paints via JS; no rAF */
    opacity: 1;
  }
}

/* Mobile sidebar nav — tablets and below */
@media (max-width: 1024px) {
  html.ConfSummit .nav-toggle,
  html.ConfSummit .nav-mobile-toggle {
    display: flex !important;
    z-index: 10002;
  }
  html.ConfSummit .nav-links {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    left: auto !important;
    width: min(300px, 86vw) !important;
    height: 100vh !important;
    display: flex !important;
    flex-direction: column !important;
    background: rgba(1, 22, 33, 0.96) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 90px 36px 36px !important;
    gap: 28px !important;
    transform: translateX(100%);
    transition: transform 400ms cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.6);
    align-items: flex-start !important;
    z-index: 10001;
  }
  html.ConfSummit .nav-links.open {
    transform: translateX(0);
  }
  html.ConfSummit .nav-ctas,
  html.ConfSummit .event-buttons {
    flex-direction: column;
    width: 100%;
  }
  html.ConfSummit .event-buttons .btn,
  html.ConfSummit .event-buttons .btn-primary {
    width: 100%;
    justify-content: center;
  }
}

/* ===== Shared brand consistency (homepage + inner pages) ===== */
html.ConfSummit {
  --accent-blue: #0096D6;
  --accent-cyan: #00B4D8;
  --accent-electric: #00A8F3;
  --accent-ice: #7DD8F0;
}

html.ConfSummit .nav-logo {
  color: var(--accent-cyan) !important;
  background: none !important;
  -webkit-text-fill-color: unset !important;
  background-clip: unset !important;
}

html.ConfSummit .nav-links a::after {
  background: var(--accent-cyan) !important;
  height: 1.5px !important;
}

html.ConfSummit .nav-links a:hover,
html.ConfSummit .nav-links a:focus-visible,
html.ConfSummit .nav-links a.nav-active,
html.ConfSummit .nav-links a.active {
  color: var(--accent-ice) !important;
}

html.ConfSummit .section-label,
html.ConfSummit .section-eyebrow {
  color: #00B4D8 !important;
}

html.ConfSummit .btn-primary,
html.ConfSummit a.btn-primary,
html.ConfSummit .event-buttons .btn-primary,
html.ConfSummit .mautic-form-wrap .mauticform-button,
html.ConfSummit .mautic-form-wrap button.mauticform-button,
html.ConfSummit .mm-form-enquiry .mauticform-button,
html.ConfSummit .form-card .mauticform-button {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-electric)) !important;
  border-radius: 8px !important;
  color: #fff !important;
  border: none !important;
}

html.ConfSummit .btn-primary:hover,
html.ConfSummit a.btn-primary:hover,
html.ConfSummit .event-buttons .btn-primary:hover,
html.ConfSummit .mautic-form-wrap .mauticform-button:hover,
html.ConfSummit .mautic-form-wrap button.mauticform-button:hover,
html.ConfSummit .mm-form-enquiry .mauticform-button:hover,
html.ConfSummit .form-card .mauticform-button:hover {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-electric)) !important;
  box-shadow: 0 0 36px rgba(0, 150, 214, 0.35) !important;
  transform: translateY(-2px);
}

html.ConfSummit .nav-cta,
html.ConfSummit a.nav-cta {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan)) !important;
  border-radius: 8px !important;
  color: #fff !important;
}

html.ConfSummit .stat-number,
html.ConfSummit .stat-inline .num,
html.ConfSummit .stat-card-inline .stat-num,
html.ConfSummit .stat-num {
  background: linear-gradient(135deg, var(--accent-ice), var(--accent-cyan), var(--accent-blue)) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
}

html.ConfSummit .stat-inline.glass-card,
html.ConfSummit .stat-card-inline.glass-card,
html.ConfSummit .stat-card.glow-card {
  background: linear-gradient(145deg, #081F2E, #0A2A3C) !important;
  border: 1px solid rgba(0, 168, 243, 0.16) !important;
  border-radius: 20px !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
}

html.ConfSummit .stat-inline.glass-card::before,
html.ConfSummit .stat-card-inline.glass-card::before,
html.ConfSummit .stat-card.glow-card::before {
  content: '' !important;
  position: absolute !important;
  inset: -1px !important;
  border-radius: inherit !important;
  padding: 1px !important;
  background: linear-gradient(135deg, transparent 30%, rgba(0, 168, 243, 0.2), transparent 70%) !important;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0) !important;
  -webkit-mask-composite: xor !important;
  mask-composite: exclude !important;
  opacity: 1 !important;
  pointer-events: none !important;
}

html.ConfSummit .stat-inline.glass-card:hover,
html.ConfSummit .stat-card-inline.glass-card:hover,
html.ConfSummit .stat-card.glow-card:hover {
  border-color: rgba(0, 168, 243, 0.45) !important;
  box-shadow: 0 0 48px rgba(0, 168, 243, 0.28), 0 0 80px rgba(0, 180, 216, 0.12), 0 8px 32px rgba(0, 0, 0, 0.4) !important;
  transform: translateY(-3px) !important;
}

html.ConfSummit .stat-inline.glass-card:hover::before,
html.ConfSummit .stat-card-inline.glass-card:hover::before,
html.ConfSummit .stat-card.glow-card:hover::before {
  background: linear-gradient(135deg, transparent 30%, rgba(0, 168, 243, 0.4), transparent 70%) !important;
}

html.ConfSummit .site-footer .footer-pmx-logo {
  color: var(--accent-cyan) !important;
}
