/* ==========================================================================
   Fresno Small Business Expo 2026 — Stylesheet
   Brand: Midnight #050817 · Indigo #1C2B72 · Electric Blue #2997FF
          Iris #8B5CF6 · Coral #FF7A72 · Cloud #F5F5F7
   Type:  Inter Tight (display) · Inter (body)
   ========================================================================== */

:root {
  --midnight: #050817;
  --indigo: #1C2B72;
  --indigo-deep: #0B1550;
  --indigo-night: #070d33;
  --electric: #2997FF;
  --electric-dark: #1479e6;
  --iris: #8B5CF6;
  --coral: #FF7A72;
  --cloud: #F5F5F7;
  --white: #ffffff;

  --text: var(--midnight);
  --text-title: var(--indigo);
  --text-muted: #5b6285;
  --text-on-dark: #ffffff;
  --text-on-dark-muted: rgba(255, 255, 255, 0.74);
  --line: rgba(28, 43, 114, 0.14);
  --line-on-dark: rgba(255, 255, 255, 0.18);

  --font-display: 'Inter Tight', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --container: 1280px;
  --gutter: clamp(20px, 4vw, 40px);
  --section-pad: clamp(80px, 9vw, 128px);
  --radius: 18px;
  --radius-sm: 12px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-smooth: cubic-bezier(0.65, 0, 0.35, 1);

  --nav-h: 112px;
}

/* --------------------------------------------------------------------------
   Reset & base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p, figure, address { margin: 0; }
address { font-style: normal; }
button { font: inherit; }

::selection { background: var(--electric); color: #fff; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  position: relative;
  padding-block: var(--section-pad);
}

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 22px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--indigo);
  white-space: nowrap;
}
.eyebrow::after {
  content: '';
  display: block;
  flex: 0 1 120px;
  min-width: 36px;
  height: 1px;
  background: currentColor;
  opacity: 0.45;
  transform-origin: left center;
}
.eyebrow--light { color: #fff; }
.eyebrow--light::after { opacity: 0.55; }

.section__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(38px, 5.3vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--midnight);
  max-width: 18ch;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.section__title--light { color: #fff; }
.section__title--md { font-size: clamp(34px, 4.2vw, 54px); }
.sessions__title { max-width: none; }
.speakers__title { max-width: none; font-size: clamp(34px, 4.1vw, 58px); }
.experience__title { max-width: none; }

/* Split text (set by JS) */
.word { display: inline-block; white-space: nowrap; }
.word-inner { display: inline-block; will-change: transform, opacity; }
.char { display: inline-block; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.005em;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), background-color 0.3s;
  will-change: transform;
  overflow: hidden;
  isolation: isolate;
}
.btn--primary {
  color: #fff;
  background: linear-gradient(180deg, #3aa3ff 0%, var(--electric) 55%, #1c86f0 100%);
  box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 8px 24px -8px rgba(41,151,255,.6);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 16px 34px -10px rgba(41,151,255,.75);
}
.btn--sm { padding: 12px 22px; font-size: 14px; }
.btn--lg { padding: 19px 38px; font-size: 17px; }
.btn--glow {
  box-shadow:
    0 1px 0 rgba(255,255,255,.35) inset,
    0 0 0 1px rgba(255,255,255,.12) inset,
    0 10px 30px -6px rgba(41,151,255,.65),
    0 0 40px -6px rgba(41,151,255,.45);
}
.btn--glow:hover {
  box-shadow:
    0 1px 0 rgba(255,255,255,.35) inset,
    0 0 0 1px rgba(255,255,255,.12) inset,
    0 18px 40px -8px rgba(41,151,255,.8),
    0 0 60px -6px rgba(41,151,255,.6);
}
.btn__arrow {
  display: inline-block;
  transition: transform 0.35s var(--ease-out);
}
.btn:hover .btn__arrow { transform: translateX(5px); }

/* Shimmer sweep */
.btn--shimmer::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-120%);
  animation: shimmer 3.6s var(--ease-smooth) infinite;
  z-index: -1;
}
@keyframes shimmer {
  0%, 60% { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background-color 0.45s var(--ease-out), box-shadow 0.45s, height 0.45s var(--ease-out);
  transform: translateY(-100%);
  opacity: 0;
}
.nav.is-ready { transform: none; opacity: 1; transition: transform 0.9s var(--ease-out) 0.2s, opacity 0.9s var(--ease-out) 0.2s, background-color 0.45s, box-shadow 0.45s, height 0.45s; }
.nav.is-scrolled {
  height: 78px;
  background: rgba(5, 8, 23, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255,255,255,.06), 0 10px 40px -10px rgba(0,0,0,.5);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__logo img {
  height: 86px;            /* 13px clear above and below inside the 112px bar */
  width: auto;
  transition: height 0.45s var(--ease-out);
}
.nav.is-scrolled .nav__logo img { height: 58px; }

.nav__links {
  display: flex;
  gap: clamp(20px, 3vw, 44px);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.nav__links a {
  position: relative;
  padding: 6px 2px;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,.88);
  transition: color 0.3s;
}
.nav__links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--electric), var(--iris));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-out);
}
.nav__links a:hover::after,
.nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__links a:hover, .nav__links a.is-active { color: #fff; }

.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  padding: 10px;
  border: 0;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.nav__toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.4s var(--ease-out), opacity 0.3s;
  transform-origin: center;
}
.nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 100px 24px 40px;
  pointer-events: none;
  visibility: hidden;
}
.mobile-menu.is-open { pointer-events: auto; visibility: visible; }
.mobile-menu__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 80% at 80% 0%, rgba(139,92,246,.35), transparent 60%),
              radial-gradient(90% 70% at 10% 100%, rgba(41,151,255,.35), transparent 60%),
              var(--midnight);
  clip-path: circle(0% at calc(100% - 44px) 42px);
  transition: clip-path 0.7s var(--ease-smooth);
}
.mobile-menu.is-open .mobile-menu__bg { clip-path: circle(150% at calc(100% - 44px) 42px); }
.mobile-menu__links {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.mobile-menu__links a:not(.btn) {
  font-family: var(--font-display);
  font-size: clamp(34px, 8vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  padding: 6px 12px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s var(--ease-out), transform 0.6s var(--ease-out);
}
.mobile-menu__links .btn { margin-top: 20px; opacity: 0; transform: translateY(24px); transition: opacity 0.5s var(--ease-out), transform 0.6s var(--ease-out); }
.mobile-menu.is-open .mobile-menu__links a { opacity: 1; transform: none; }
.mobile-menu.is-open .mobile-menu__links a:nth-child(1) { transition-delay: .15s; }
.mobile-menu.is-open .mobile-menu__links a:nth-child(2) { transition-delay: .2s; }
.mobile-menu.is-open .mobile-menu__links a:nth-child(3) { transition-delay: .25s; }
.mobile-menu.is-open .mobile-menu__links a:nth-child(4) { transition-delay: .3s; }
.mobile-menu.is-open .mobile-menu__links a:nth-child(5) { transition-delay: .35s; }
.mobile-menu.is-open .mobile-menu__links a:nth-child(6) { transition-delay: .42s; }
.mobile-menu__tag {
  position: relative;
  margin-top: auto;
  font-size: 11px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 48px) 0 96px;
  background: var(--midnight);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}
.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 50%;
  transform: scale(1.12);
  will-change: transform;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5,8,23,.94) 0%, rgba(5,8,23,.86) 26%, rgba(9,14,48,.55) 48%, rgba(9,14,48,.12) 68%, rgba(5,8,23,.05) 100%),
    linear-gradient(180deg, rgba(5,8,23,.7) 0%, rgba(5,8,23,0) 30%, rgba(5,8,23,0) 70%, rgba(5,8,23,.75) 100%);
}
.hero__orb {
  /* soft glow drawn by the gradient itself — no blur filter / blend mode, so scrolling stays cheap */
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform;
}
.hero__orb--1 {
  width: 720px; height: 720px;
  left: -240px; top: 0;
  background: radial-gradient(circle, rgba(41,151,255,.34) 0%, rgba(41,151,255,.16) 28%, rgba(41,151,255,.05) 50%, rgba(41,151,255,0) 68%);
  animation: orbFloat 14s ease-in-out infinite alternate;
}
.hero__orb--2 {
  width: 640px; height: 640px;
  left: 16%; bottom: -18%;
  background: radial-gradient(circle, rgba(139,92,246,.3) 0%, rgba(139,92,246,.14) 28%, rgba(139,92,246,.04) 50%, rgba(139,92,246,0) 68%);
  animation: orbFloat 18s ease-in-out infinite alternate-reverse;
}
@keyframes orbFloat {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(60px, -50px, 0) scale(1.15); }
}
.hero__stars {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 22%, rgba(255,255,255,.7), transparent),
    radial-gradient(1px 1px at 30% 12%, rgba(255,255,255,.55), transparent),
    radial-gradient(1.5px 1.5px at 44% 30%, rgba(255,255,255,.45), transparent),
    radial-gradient(1px 1px at 18% 48%, rgba(255,255,255,.5), transparent),
    radial-gradient(1.2px 1.2px at 8% 70%, rgba(255,255,255,.4), transparent),
    radial-gradient(1px 1px at 36% 62%, rgba(255,255,255,.45), transparent);
  opacity: .8;
  animation: twinkle 6s ease-in-out infinite alternate;
}
@keyframes twinkle { from { opacity: .35; } to { opacity: .9; } }

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}
.hero__content {
  max-width: 640px;
}
.hero__eyebrow {
  margin: 0 0 26px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3em;
  word-spacing: 0.6em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
}
.nowrap { white-space: nowrap; }
.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(56px, 8.6vw, 112px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  margin: 0 0 28px;
}
/* The glow filter lives on the wrapper: Chrome draws a boxy artifact when
   filter and background-clip:text share an element. */
.hero__line { display: block; padding: .1em .35em .22em 0; margin: -.1em 0 -.22em 0; }
.hero__line-inner {
  display: inline-block;
  /* background-clip:text only paints inside the box — pad it so descenders (the "g") aren't cut */
  padding: .1em .06em .22em 0;
  margin: -.1em 0 -.22em 0;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}
.hero__line--blue { filter: drop-shadow(0 0 22px rgba(41,151,255,.55)) drop-shadow(0 0 60px rgba(41,151,255,.35)); }
.hero__line--blue .hero__line-inner { background-image: linear-gradient(100deg, #ffffff 0%, #e9f2ff 35%, #9cc9ff 100%); }
.hero__line--pink { filter: drop-shadow(0 0 22px rgba(255,122,114,.5)) drop-shadow(0 0 60px rgba(139,92,246,.35)); }
.hero__line--pink .hero__line-inner { background-image: linear-gradient(100deg, #ffffff 0%, #fbe8ff 30%, #ff9fb0 100%); }
.hero__subtitle {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 18px;
}
.hero__details {
  display: grid;
  gap: 2px;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.5;
  color: rgba(255,255,255,.9);
  margin-bottom: 34px;
}
.hero__details strong { font-weight: 600; color: #fff; }
.hero__actions { margin-bottom: 40px; }
.hero__sponsor {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  color: rgba(255,255,255,.8);
}
.hero__sponsor img {
  width: 46px;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 6px 18px -6px rgba(0,0,0,.6);
}
.hero__sponsor-badge { display: none; }

.hero__badge {
  position: absolute;
  top: 0;
  right: var(--gutter);
  width: clamp(150px, 15vw, 210px);
  filter: drop-shadow(0 10px 30px rgba(0,0,0,.45));
}

.hero__stack {
  position: absolute;
  right: var(--gutter);
  top: 50%;
  transform: translateY(-50%);
  padding-left: 22px;
  border-left: 1px solid rgba(255,255,255,.45);
  display: grid;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(255,255,255,.9);
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 1.5px solid rgba(255,255,255,.45);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 7px;
  opacity: .8;
  transition: opacity .3s, border-color .3s;
}
.hero__scroll:hover { opacity: 1; border-color: #fff; }
.hero__scroll-dot {
  width: 4px; height: 8px;
  border-radius: 2px;
  background: #fff;
  animation: scrollDot 1.8s var(--ease-smooth) infinite;
}
@keyframes scrollDot {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* --------------------------------------------------------------------------
   Why attend
   -------------------------------------------------------------------------- */
.why { background: var(--white); }
.why__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.why__item {
  position: relative;
  padding: 8px 32px 8px 0;
}
.why__item + .why__item { padding-left: 32px; }
.why__item + .why__item::before {
  content: '';
  position: absolute;
  left: 0; top: 8px; bottom: 8px;
  width: 1px;
  background: var(--line);
}
.why__icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 26px;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.why__icon svg { width: 32px; height: 32px; }
.why__icon--iris { background: rgba(139,92,246,.12); color: var(--iris); }
.why__icon--blue { background: rgba(41,151,255,.12); color: var(--electric); }
.why__icon--coral { background: rgba(255,122,114,.14); color: #f4674f; }
.why__item:hover .why__icon { transform: translateY(-4px) rotate(-6deg) scale(1.06); box-shadow: 0 14px 30px -12px rgba(28,43,114,.35); }
.why__item h3 {
  font-family: var(--font-display);
  font-size: clamp(21px, 1.8vw, 25px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--indigo);
  margin-bottom: 14px;
}
.why__item p {
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Speakers — full-bleed background; the stage (bottom-anchored cut-outs) is
   sized in % of the content container so the composition holds at any
   viewport width (placement measured from the reference composite).
   -------------------------------------------------------------------------- */
.speakers {
  color: #fff;
  background: #061040;
  overflow: hidden;
  isolation: isolate;
  padding-bottom: 0;
}
.speakers__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.speakers__bg img {
  position: absolute;
  inset: -5% 0;
  width: 100%; height: 110%;
  object-fit: cover;
  object-position: 50% 50%;
  will-change: transform;
}

.speakers__inner {
  position: relative;
  aspect-ratio: 1200 / 572;   /* 572px tall at the 1200px container */
  min-height: 480px;
}
.speakers__lead {
  position: relative;
  width: 46%;
  z-index: 4;
}
.speakers__title { max-width: none; font-size: clamp(34px, 4.6vw, 66px); }
.speakers__lead .section__title { margin-bottom: clamp(36px, 4vw, 56px); }
.speakers__main .eyebrow { margin-bottom: 16px; }
.speaker__name {
  font-family: var(--font-display);
  font-size: clamp(34px, 3.6vw, 50px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: #fff;
  margin-bottom: 12px;
}
.speaker__name--sm { font-size: clamp(30px, 3vw, 40px); }
.speaker__role {
  font-size: clamp(19px, 1.8vw, 24px);
  color: rgba(255,255,255,.9);
}
.speaker__role--sm { font-size: 17px; line-height: 1.45; color: rgba(255,255,255,.85); max-width: 30ch; }

.speakers__guest {
  position: absolute;
  left: 74.5%;
  right: 0;
  top: 30px;
}
.speakers__guest::before {
  /* divider sits behind the photos, so it reads as ending at the Mayor's jacket */
  content: '';
  position: absolute;
  left: 0; top: 0;
  height: 410px;
  width: 1px;
  z-index: 1;
  background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,.6) 12%, rgba(255,255,255,.6) 88%, rgba(255,255,255,0));
}
.speakers__guest-text { position: relative; z-index: 4; padding: 10px 0 0 13.7%; }
.speakers__guest-text .eyebrow { margin-bottom: 14px; }

.speakers__stage { position: absolute; inset: 0; pointer-events: none; }
.speakers__photo { position: absolute; margin: 0; bottom: 0; will-change: transform; }
.speakers__photo img { display: block; width: 100%; height: auto; }
.speakers__photo--mayor {
  left: 26.6%;
  width: 50.4%;
  z-index: 3;
  filter: drop-shadow(0 24px 40px rgba(0,0,0,.45));
}
.speakers__photo--will {
  left: 72.3%;
  width: 31.2%;
  z-index: 2;
  filter: drop-shadow(0 24px 40px rgba(0,0,0,.45));
}
/* soften the straight side cuts of the bust crops */
.speakers__photo--mayor img {
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 97%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 97%, transparent 100%);
}
.speakers__photo--will img {
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12%);
  mask-image: linear-gradient(90deg, transparent 0, #000 12%);
}

/* --------------------------------------------------------------------------
   Sessions
   -------------------------------------------------------------------------- */
.sessions {
  background: var(--white);
  overflow: hidden;
  isolation: isolate;
}
.sessions__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.sessions__blob {
  position: absolute;
  border-radius: 50%;
}
.sessions__blob--1 { width: 760px; height: 760px; left: -360px; top: -260px; background: radial-gradient(circle, rgba(139,92,246,.2) 0%, rgba(139,92,246,.08) 32%, rgba(139,92,246,0) 66%); }
.sessions__blob--2 { width: 720px; height: 720px; right: -340px; bottom: -320px; background: radial-gradient(circle, rgba(255,122,114,.18) 0%, rgba(255,122,114,.07) 32%, rgba(255,122,114,0) 66%); }

.sessions__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.session {
  position: relative;
  padding: 0 28px 8px 0;
  transform-style: preserve-3d;
}
.session + .session { padding-left: 28px; }
.session + .session::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 8px;
  width: 1px;
  background: var(--line);
}
.session__media {
  position: relative;
  aspect-ratio: 3 / 2;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 22px;
  box-shadow: 0 20px 40px -22px rgba(5,8,23,.45);
  transform: translateZ(20px);
}
.session__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease-out);
}
.session:hover .session__media img { transform: scale(1.08); }
.session__media::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(5,8,23,0) 55%, rgba(5,8,23,.55) 100%);
  opacity: 0;
  transition: opacity .5s;
}
.session:hover .session__media::after { opacity: 1; }
.session__num {
  position: absolute;
  left: 12px; bottom: 10px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  color: #fff;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(5,8,23,.5);
  backdrop-filter: blur(8px);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .4s, transform .5s var(--ease-out);
}
.session:hover .session__num { opacity: 1; transform: none; }
.session h3 {
  font-family: var(--font-display);
  font-size: clamp(19px, 1.5vw, 21px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--indigo);
  margin-bottom: 14px;
  transform: translateZ(12px);
}
.session__meta {
  font-size: 15.5px;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Full experience
   -------------------------------------------------------------------------- */
.experience {
  color: #fff;
  background: var(--indigo-deep);
  overflow: hidden;
  isolation: isolate;
  min-height: 520px;
  display: flex;
  align-items: center;
  padding-block: calc(var(--section-pad) * 0.85);
}
.experience__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.experience__bg img {
  position: absolute;
  inset: -12% 0;
  width: 100%; height: 124%;
  object-fit: cover;
  object-position: 60% 40%;
  will-change: transform;
}
.experience__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(8,14,52,.96) 0%, rgba(8,14,52,.88) 28%, rgba(8,14,52,.45) 52%, rgba(8,14,52,.2) 100%),
    linear-gradient(180deg, rgba(5,8,23,.2), rgba(5,8,23,.55));
}
.experience__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 290px) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: end;
  width: 100%;
}
.experience__lead .section__title { margin-bottom: 0; }

.perks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-bottom: 6px;
}
.perk {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 6px 18px 6px 0;
}
.perk + .perk { padding-left: 20px; border-left: 1px solid rgba(255,255,255,.35); }
.perk__icon {
  flex: 0 0 auto;
  width: 42px; height: 42px;
  color: #fff;
  transition: transform .5s var(--ease-out);
}
.perk__icon svg { width: 100%; height: 100%; }
.perk:hover .perk__icon { transform: translateY(-3px) scale(1.08); }
.perk__text {
  font-size: 15.5px;
  line-height: 1.35;
  color: #fff;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Partners
   -------------------------------------------------------------------------- */
.partners { background: var(--white); }
.partners .eyebrow { margin-bottom: clamp(36px, 4vw, 52px); }
/* Continuous right-to-left slider; edges fade out so logos enter and leave softly */
.marquee {
  --visible: 6;                      /* logos visible across the wrapper (6 desktop / 5 tablet / 3 phone) */
  --gap: 32px;
  position: relative;
  width: 100%;                       /* stays inside the content wrapper; fades at its edges */
  overflow: hidden;
  padding: 12px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee var(--marquee-duration, 55s) linear infinite;
  will-change: transform;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__set {
  display: flex;
  align-items: center;
  gap: var(--gap);
  padding-right: var(--gap);   /* keeps the gap consistent where the second copy starts */
  flex: 0 0 auto;
}
@keyframes marquee {
  to { transform: translate3d(-50%, 0, 0); }
}
/* Without JS (no duplicate copy) or with reduced motion: a static, wrapping row */
html:not(.js) .marquee, .marquee.is-static {
  -webkit-mask-image: none;
  mask-image: none;
}
html:not(.js) .marquee__track, .marquee.is-static .marquee__track { animation: none; width: auto; }
html:not(.js) .marquee__set, .marquee.is-static .marquee__set { flex-wrap: wrap; justify-content: center; gap: 24px 40px; padding-right: 0; }

.partner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  gap: 8px;
  /* slot width = (wrapper width − gaps) ÷ visible count; --marquee-w is kept current by main.js */
  width: calc((var(--marquee-w, 1200px) - (var(--visible) - 1) * var(--gap)) / var(--visible));
  min-height: 100px;
  padding: 10px 6px;
  border-radius: var(--radius-sm);
  background: #fff;
  border: 1px solid transparent;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .4s;
}
.partner:hover {
  transform: translateY(-5px);
  border-color: rgba(28,43,114,.08);
  box-shadow: 0 24px 46px -24px rgba(28,43,114,.35);
}
/* every logo gets the same box (slot width × 56px) and scales to fit it, so sizes read consistently */
.partner img {
  width: 100%;
  height: 56px;
  object-fit: contain;
  object-position: center;
}
.partner--captioned img { height: 46px; }
.partner img[src$="downtown-fresno-partnership.webp"] { height: 66px; }   /* round badge: taller box balances its visual weight */
/* optical balance: heavy marks are scaled down so every logo carries similar visual weight */
.partner img[src$="fresno-county-edc.webp"] { transform: scale(.74); }
.partner img[src$="city-of-fresno.webp"] { transform: scale(.78); }
.partner img[src$="nrg-incentives.webp"] { transform: scale(.7); }
.partner img[src$="pge.webp"] { transform: scale(.92); }
.partner img[src$="citizens-business-bank.webp"] { transform: scale(.95); }
.partner__caption {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .01em;
  color: #1a7fc4;
  text-align: center;
  line-height: 1.2;
}
.partner--pge { flex-direction: row; gap: 10px; }
.partner--pge img { width: auto; height: 46px; flex: 0 0 auto; }
.partner__caption--inline { font-size: 12px; line-height: 1.2; text-align: left; color: #1e6fb0; }
/* City of Fresno's mark is scaled down inside its box — pull its caption up to meet it */
.partner img[src$="city-of-fresno.webp"] + .partner__caption { margin-top: -12px; }
.partners__note {
  margin-top: 32px;
  text-align: center;
  font-size: 14.5px;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Venue
   -------------------------------------------------------------------------- */
.venue {
  color: #fff;
  background: linear-gradient(160deg, #0d1758 0%, #08103f 50%, #050a2a 100%);
  overflow: hidden;
  isolation: isolate;
}
.venue__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.aurora {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform;
}
@keyframes aurora {
  from { transform: translate3d(0,0,0) scale(1); }
  to { transform: translate3d(-60px, 40px, 0) scale(1.2); }
}
.aurora--venue-1 {
  width: 720px; height: 720px; left: -280px; top: -280px;
  background: radial-gradient(circle, rgba(41,151,255,.32) 0%, rgba(41,151,255,.14) 30%, rgba(41,151,255,0) 68%);
  animation: aurora 18s ease-in-out infinite alternate;
}
.aurora--venue-2 {
  width: 720px; height: 720px; right: -280px; bottom: -320px;
  background: radial-gradient(circle, rgba(139,92,246,.34) 0%, rgba(139,92,246,.15) 30%, rgba(139,92,246,0) 68%);
  animation: aurora 22s ease-in-out infinite alternate-reverse;
}
.venue__inner {
  display: grid;
  grid-template-columns: 1.3fr 0.85fr 1fr;
  gap: clamp(32px, 4vw, 56px);
  align-items: center;
}
.venue__info .section__title { margin-bottom: 18px; font-size: clamp(32px, 3.3vw, 46px); }
.venue__address {
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.45;
  color: rgba(255,255,255,.9);
  margin-bottom: 30px;
}
.venue__parking {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-size: 16.5px;
  line-height: 1.5;
  color: rgba(255,255,255,.85);
}
.venue__parking strong { color: #fff; font-weight: 600; }
.venue__parking-icon {
  flex: 0 0 auto;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.85);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 21px;
  color: #fff;
}
.venue__media {
  position: relative;
  aspect-ratio: 4 / 4.6;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.08) inset;
}
.venue__media img {
  position: absolute;
  inset: -10% 0;
  width: 100%; height: 120%;
  object-fit: cover;
  object-position: 58% 50%;
  will-change: transform;
}
.venue__directions {
  position: relative;
  padding-left: clamp(28px, 3vw, 48px);
  display: grid;
  gap: 22px;
  justify-items: start;
}
.venue__directions::before {
  content: '';
  position: absolute;
  left: 0; top: -10%; bottom: -10%;
  width: 1px;
  background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,.45) 25%, rgba(255,255,255,.45) 75%, rgba(255,255,255,0));
}
.venue__pin {
  width: 44px; height: 44px;
  color: #fff;
  animation: pinBounce 2.6s var(--ease-out) infinite;
}
@keyframes pinBounce {
  0%, 100% { transform: translateY(0); }
  30% { transform: translateY(-8px); }
  50% { transform: translateY(0); }
  65% { transform: translateY(-3px); }
}
.venue__directions address {
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.5;
  color: rgba(255,255,255,.92);
}

/* --------------------------------------------------------------------------
   Final CTA
   -------------------------------------------------------------------------- */
.cta {
  color: #fff;
  background: var(--midnight);
  overflow: hidden;
  isolation: isolate;
  min-height: 560px;
  display: flex;
  align-items: center;
  padding-top: var(--section-pad);
  padding-bottom: calc(var(--section-pad) + 90px);
}
.cta__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.cta__bg img {
  position: absolute;
  left: 0; right: 0; bottom: -8%;
  width: 100%; height: 118%;
  object-fit: cover;
  object-position: 50% 100%;
  will-change: transform;
}
.cta__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(5,8,23,1) 0%, rgba(5,8,23,.75) 30%, rgba(5,8,23,.2) 60%, rgba(5,8,23,0) 100%),
    radial-gradient(60% 50% at 50% 40%, rgba(41,151,255,.18), transparent 70%);
}
.cta__inner {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
}
.cta__stack {
  position: absolute;
  left: var(--gutter);
  top: 50%;
  transform: translateY(-50%);
  padding-left: 22px;
  border-left: 1px solid rgba(255,255,255,.45);
  display: grid;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,.9);
}
.cta__content {
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 36px;
}
.cta__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(40px, 5.3vw, 74px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  filter: drop-shadow(0 0 24px rgba(41,151,255,.45)) drop-shadow(0 0 60px rgba(255,122,114,.25));
}
.cta__title-inner {
  background-image: linear-gradient(95deg, #d7ecff 0%, #ffffff 30%, #ffffff 55%, #ffb2bd 80%, #ff8c86 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}
.js [data-reveal-cta] { opacity: 0; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
  background: var(--white);
  padding: 44px 0 0;
  border-top: 1px solid var(--line);
}
.footer__inner {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.6vw, 40px);
}
.footer__logo img { width: 200px; height: auto; }
.footer__sponsor {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text-muted);
}
.footer__sponsor img { width: 42px; height: auto; border-radius: 5px; }
.footer__divider { width: 1px; height: 56px; background: var(--line); }
.footer__org { display: flex; align-items: center; gap: 20px; }
.footer__org img { width: 120px; height: auto; flex: 0 0 auto; }
.footer__org p { font-size: 12.5px; line-height: 1.5; color: var(--text-muted); max-width: 38ch; }
.footer__stack {
  margin-left: auto;
  display: grid;
  gap: 5px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--indigo);
  text-align: left;
}
.footer__bottom {
  margin-top: 36px;
  padding: 18px var(--gutter);
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Reveal defaults (JS animates from these)
   -------------------------------------------------------------------------- */
.js [data-reveal],
.js [data-reveal-group] { opacity: 0; }
.js [data-reveal-clip] { clip-path: inset(12% 12% 12% 12% round 18px); opacity: 0; }
.js .eyebrow::after { transform: scaleX(0); transition: transform 1.1s var(--ease-out); }
.js .eyebrow.is-drawn::after { transform: scaleX(1); }
.js .hero__eyebrow,
.js .hero__subtitle,
.js .hero__details li,
.js .hero__actions,
.js .hero__sponsor,
.js .hero__badge,
.js .hero__stack li,
.js .hero__scroll { opacity: 0; }
.js .hero__line { opacity: 0; }

/* Reduced motion: show everything, kill ambient animation */
@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; }
  .js [data-reveal], .js [data-reveal-group], .js [data-reveal-clip],
  .js .hero__eyebrow, .js .hero__subtitle, .js .hero__details li, .js .hero__actions,
  .js .hero__sponsor, .js .hero__badge, .js .hero__stack li, .js .hero__scroll { opacity: 1; clip-path: none; }
  .js .hero__line { opacity: 1; }
  .js .eyebrow::after { transform: none; }
  .hero__img { transform: none; }
  .nav { transform: none; opacity: 1; }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .why__grid { grid-template-columns: repeat(2, 1fr); gap: 40px 0; }
  .why__item:nth-child(3)::before { display: none; }
  .why__item:nth-child(3) { padding-left: 0; }
  .experience__inner { grid-template-columns: 1fr; align-items: start; }
  .marquee { --visible: 5; --gap: 24px; }
  .sessions__grid { grid-template-columns: repeat(2, 1fr); gap: 44px 0; }
  .session:nth-child(3)::before { display: none; }
  .session:nth-child(3) { padding-left: 0; }
  .perks { grid-template-columns: repeat(2, 1fr); gap: 20px 0; }
  .perk:nth-child(3) { border-left: 0; padding-left: 0; }
  .speakers__inner { aspect-ratio: auto; min-height: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; }
  .speakers__lead { grid-column: 1 / -1; width: auto; margin-bottom: 24px; }
  .speakers__guest { position: relative; inset: auto; left: auto; top: auto; grid-column: 2; min-height: 500px; padding-left: 32px; }
  .speakers__guest::before { height: 100%; }
  .speakers__guest-text { padding: 0; }
  .speakers__stage { position: static; }
  .speakers__photo--mayor { left: 26%; width: 56%; max-width: 560px; transform: translateX(-50%); }
  .speakers__photo--will { left: auto; right: 0; width: 36%; max-width: 330px; }
  .venue__inner { grid-template-columns: 1fr 1fr; }
  .venue__media { grid-row: span 2; order: 2; }
  .venue__info { order: 1; }
  .venue__directions { order: 3; padding-left: 0; }
  .venue__directions::before { display: none; }
}

@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: flex; }
  .hero { padding-top: calc(var(--nav-h) + 72px); padding-bottom: 80px; }
  .hero__badge { display: none; }
  /* phones: "Sponsored by" stacked over the PG&E logo on the left, badge on the far right */
  .hero__sponsor {
    width: 100%;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    align-items: end;
    column-gap: 20px;
    row-gap: 8px;
  }
  .hero__sponsor > span { grid-column: 1; grid-row: 1; font-size: 13px; color: rgba(255,255,255,.75); }
  .hero__sponsor img { grid-column: 1; grid-row: 2; width: 48px; }
  .hero__sponsor .hero__sponsor-badge {
    display: block;
    grid-column: 2;
    grid-row: 1 / 3;
    justify-self: end;
    align-self: end;
    width: 132px;
    margin-left: 0;
    border-radius: 0;
    box-shadow: none;
    filter: drop-shadow(0 8px 20px rgba(0,0,0,.45));
  }
  .hero__inner { display: flex; flex-direction: column; align-items: flex-start; }
  .hero__stack { display: none; }
  .hero__scroll { display: none; }
  .hero__img { object-position: 70% 50%; }
  .hero__overlay {
    background:
      linear-gradient(180deg, rgba(5,8,23,.82) 0%, rgba(5,8,23,.62) 35%, rgba(5,8,23,.55) 60%, rgba(5,8,23,.9) 100%),
      linear-gradient(90deg, rgba(5,8,23,.55), rgba(5,8,23,.15));
  }
  .hero__eyebrow { font-size: 11px; letter-spacing: .22em; word-spacing: .4em; }
  .hero__sep { display: none; }
  .hero__details .nowrap { display: block; }
  .experience__inner { gap: 40px; }
  .cta__stack { display: none; }
  .cta { padding-bottom: calc(var(--section-pad) + 60px); }
  .footer__inner { flex-direction: column; align-items: flex-start; gap: 24px; }
  .footer__divider { display: none; }
  .footer__stack { margin-left: 0; }
}

@media (max-width: 640px) {
  :root { --nav-h: 84px; }
  body { font-size: 16px; }
  .nav__logo img { height: 62px; }
  .nav.is-scrolled { height: 68px; }
  .nav.is-scrolled .nav__logo img { height: 50px; }
  .why__grid { grid-template-columns: 1fr; gap: 36px; }
  .why__item { padding: 0 !important; }
  .why__item::before { display: none !important; }
  .why__item h3 { max-width: none; }
  .sessions__grid { grid-template-columns: 1fr; gap: 40px; }
  .session { padding: 0 !important; }
  .session::before { display: none !important; }
  .speakers__inner { grid-template-columns: 1fr; }
  .speakers__lead { margin-bottom: 0; padding-bottom: 340px; }
  .speakers__guest { grid-column: 1; min-height: 0; height: 490px; padding: 28px 0 0; border-top: 1px solid rgba(255,255,255,.2); }
  .speakers__guest::before { display: none; }
  .speakers__photo--mayor { left: 50%; width: 88%; max-width: 380px; bottom: 490px; }
  .speakers__photo--will { left: 50%; right: auto; width: 80%; max-width: 330px; transform: translateX(-50%); }
  .perks { grid-template-columns: 1fr; gap: 16px; }
  .perk { padding: 0 !important; border: 0 !important; }
  .marquee { --visible: 3; --gap: 20px; }
  .partner img { height: 44px; }
  .partner--captioned img { height: 36px; }
  .partner { min-height: 84px; padding: 8px 4px; gap: 4px; }
  /* captions shrink with the logos on phones */
  .partner__caption { font-size: 9px; line-height: 1.15; letter-spacing: 0; white-space: nowrap; }
  .partner--pge { flex-direction: column; gap: 4px; }
  .partner--pge img { height: 34px; }
  .partner__caption--inline { text-align: center; white-space: normal; }
  .partner img[src$="city-of-fresno.webp"] + .partner__caption { margin-top: -8px; }

  .venue__inner { grid-template-columns: 1fr; }
  .venue__media { grid-row: auto; aspect-ratio: 4 / 3; }
  .venue__pin, .venue__directions address { display: none; }   /* address already shown above on phones */
  .venue__directions { padding-left: 0; }
  .venue__directions::before { display: none; }
  .cta { min-height: 0; }
  .cta__content { gap: 28px; }
  .btn--lg { padding: 17px 30px; font-size: 16px; }
  .footer__logo img { width: 190px; }
  .footer__bottom { flex-direction: column; gap: 6px; }
}
