/* =========================================================
   AI NOW Conference — Design System
   ========================================================= */

:root {
  /* Colour */
  --teal-900: #0B1D2A;
  --teal-800: #102B3D;
  --teal-600: #1E4356;
  --teal-500: #4A90A4;
  --teal-300: #8FB6C0;
  --cream-50: #FDFBF6;
  --cream-100: #F5EFE6;
  --cream-200: #EAE1D3;
  --amber-500: #E8833E;
  --amber-600: #CF6B29;
  --amber-300: #F2B07A;
  --brown-500: #A67C52;
  --ink: #0A1620;
  --fog: rgba(245, 239, 230, 0.72);
  --line: rgba(245, 239, 230, 0.14);
  --line-dark: rgba(11, 29, 42, 0.12);

  /* Type */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Space */
  --container: 1280px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);

  /* Motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--cream-100);
  color: var(--teal-900);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: opacity .2s, color .2s; }
a:hover { opacity: .75; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

/* =========================================================
   Typography
   ========================================================= */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; letter-spacing: -0.02em; margin: 0 0 0.4em; line-height: 1.05; }

.display {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 11vw, 9rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.92;
  font-variation-settings: "SOFT" 40, "WONK" 0;
}

.h1 { font-size: clamp(2.25rem, 5.5vw, 4.25rem); }
.h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); }
.h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.78rem;
  font-weight: 500;
  font-family: var(--font-body);
  color: var(--amber-500);
  display: inline-block;
}

.lede { font-size: clamp(1.1rem, 1.6vw, 1.35rem); line-height: 1.5; color: var(--teal-800); max-width: 60ch; }

/* =========================================================
   Nav
   ========================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1.1rem 0;
  transition: background-color .3s var(--ease), padding .3s var(--ease), border-color .3s;
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(0px);
}
.nav.scrolled {
  background: rgba(11, 29, 42, 0.88);
  backdrop-filter: blur(14px);
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(245, 239, 230, 0.08);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; }
.nav__brand {
  font-family: var(--font-display); font-size: 1.35rem; color: var(--cream-100);
  letter-spacing: -0.02em; font-weight: 500;
}
.nav__brand .dot { color: var(--amber-500); }
.nav__links { display: flex; gap: 2rem; align-items: center; list-style: none; margin: 0; padding: 0; }
.nav__links a { color: var(--cream-100); font-size: 0.92rem; font-weight: 400; position: relative; }
.nav__links a::after {
  content: ''; position: absolute; left: 0; bottom: -6px; width: 0; height: 1px; background: var(--amber-500);
  transition: width .3s var(--ease);
}
.nav__links a:hover { opacity: 1; }
.nav__links a:hover::after, .nav__links a.active::after { width: 100%; }
.nav__cta {
  padding: .6rem 1.1rem; border: 1px solid var(--amber-500); color: var(--amber-500) !important;
  border-radius: 2rem; font-size: 0.85rem !important; letter-spacing: 0.04em;
}
.nav__cta:hover { background: var(--amber-500); color: var(--teal-900) !important; opacity: 1; }
.nav__toggle {
  display: none; background: none; border: 0; color: var(--cream-100); cursor: pointer; padding: .5rem;
}
@media (max-width: 880px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: fixed; top: 0; right: 0; bottom: 0; width: min(320px, 82vw);
    background: var(--teal-900); flex-direction: column; align-items: flex-start; gap: 0;
    padding: 5rem 2rem 2rem; transform: translateX(100%); transition: transform .35s var(--ease);
    border-left: 1px solid var(--line);
  }
  .nav__links.open { transform: translateX(0); }
  .nav__links a { padding: 1rem 0; border-bottom: 1px solid var(--line); width: 100%; font-size: 1rem; }
  .nav__cta { margin-top: 1rem; border: 1px solid var(--amber-500); text-align: center; }
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: 1rem 1.75rem; border-radius: 999px;
  font-family: var(--font-body); font-size: 0.95rem; font-weight: 500;
  letter-spacing: 0.02em; cursor: pointer; border: 0;
  transition: transform .2s var(--ease), background-color .2s, color .2s, box-shadow .25s;
}
.btn--primary { background: var(--amber-500); color: var(--teal-900); }
.btn--primary:hover { background: var(--amber-600); transform: translateY(-2px); box-shadow: 0 18px 40px rgba(232, 131, 62, 0.35); opacity: 1; }
.btn--ghost { background: transparent; color: var(--cream-100); border: 1px solid rgba(245, 239, 230, 0.35); }
.btn--ghost:hover { background: rgba(245, 239, 230, 0.08); border-color: var(--cream-100); opacity: 1; }
.btn--dark { background: var(--teal-900); color: var(--cream-100); }
.btn--dark:hover { background: var(--teal-800); transform: translateY(-2px); opacity: 1; }
.btn svg { width: 16px; height: 16px; }

/* =========================================================
   Hero (home)
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  color: var(--cream-100);
  isolation: isolate;
}
.hero__media {
  position: absolute; inset: 0; z-index: -2; overflow: hidden;
}
.hero__media video, .hero__media img {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(0.55) saturate(0.9);
}
.hero__media::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(ellipse at 20% 60%, rgba(232, 131, 62, 0.25), transparent 55%),
    linear-gradient(180deg, rgba(11, 29, 42, 0.35) 0%, rgba(11, 29, 42, 0.75) 75%, var(--teal-900) 100%);
}
.hero__content { position: relative; z-index: 2; padding: 10rem var(--gutter) 5rem; width: 100%; }
.hero__meta { display: flex; gap: 2.5rem; flex-wrap: wrap; margin-top: 2.75rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.hero__meta-item strong { display: block; font-family: var(--font-display); font-size: 1.45rem; color: var(--amber-500); margin-bottom: 2px; font-weight: 500; }
.hero__meta-item span { font-size: 0.85rem; color: var(--fog); letter-spacing: 0.05em; }

/* Countdown */
.countdown {
  display: flex; gap: 1.5rem; margin-top: 2.5rem;
}
.countdown__cell { text-align: center; min-width: 64px; }
.countdown__num {
  font-family: var(--font-display); font-size: 2.4rem; font-weight: 400; color: var(--cream-100);
  display: block; line-height: 1;
}
.countdown__label {
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.2em;
  color: var(--fog); margin-top: .6rem; display: block;
}

/* Scroll cue */
.hero__cue {
  position: absolute; left: 50%; transform: translateX(-50%); bottom: 2rem; z-index: 3;
  color: var(--cream-100); font-size: 0.72rem; letter-spacing: 0.3em; text-transform: uppercase;
  animation: bob 2.5s ease-in-out infinite;
}
@keyframes bob { 0%, 100% { transform: translate(-50%, 0); opacity: .9; } 50% { transform: translate(-50%, 8px); opacity: .5; } }

@media (max-width: 520px) {
  :root { --gutter: 1rem; }

  .hero {
    min-height: 100svh;
    align-items: flex-start;
  }

  .hero__content {
    padding: 7.25rem var(--gutter) 3.5rem;
  }

  .display {
    font-size: clamp(2.85rem, 13vw, 3.8rem);
    line-height: 0.98;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .ai-typing {
    display: inline;
    min-height: 0;
  }

  .eyebrow {
    max-width: 100%;
    font-size: 0.68rem;
    letter-spacing: 0.16em;
    overflow-wrap: anywhere;
  }

  .hero__meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.35rem 1rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
  }

  .hero__meta-item span {
    display: block;
    line-height: 1.35;
  }

  .countdown {
    width: 100%;
    justify-content: space-between;
    gap: 0.55rem;
    margin-top: 2rem;
  }

  .countdown__cell {
    flex: 1 1 0;
    min-width: 0;
  }

  .countdown__num {
    font-size: 2rem;
  }

  .countdown__label {
    font-size: 0.62rem;
    letter-spacing: 0.16em;
  }

  .hero .flex {
    width: 100%;
  }

  .hero .btn {
    width: 100%;
    justify-content: center;
  }
}

/* =========================================================
   Section system
   ========================================================= */
section { padding: clamp(4rem, 10vw, 7rem) 0; position: relative; }
.section--dark { background: var(--teal-900); color: var(--cream-100); }
.section--dark .lede, .section--dark p { color: var(--fog); }
.section--cream { background: var(--cream-100); color: var(--teal-900); }
.section--stone { background: var(--cream-200); color: var(--teal-900); }

.section__head { max-width: 780px; margin-bottom: 3.5rem; }
.section__head .eyebrow { margin-bottom: 1rem; }
.section__grid--2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.section__grid--3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.section__grid--4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
@media (max-width: 880px) {
  .section__grid--2, .section__grid--3, .section__grid--4 { grid-template-columns: 1fr; }
}

/* =========================================================
   Parallax backgrounds
   ========================================================= */
.parallax {
  position: relative;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--cream-100);
  overflow: hidden;
}
.parallax::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11, 29, 42, 0.55), rgba(11, 29, 42, 0.82));
}
.parallax > .container { position: relative; z-index: 1; }

@media (max-width: 880px) {
  /* background-attachment: fixed has jitter on iOS — use scroll on small screens */
  .parallax { background-attachment: scroll; }
}

.parallax--quote { min-height: 70vh; display: flex; align-items: center; }
.parallax--quote blockquote {
  font-family: var(--font-display); font-size: clamp(1.6rem, 3.5vw, 2.75rem);
  line-height: 1.25; max-width: 26ch; margin: 0; font-weight: 400;
}
.parallax--quote cite {
  display: block; font-style: normal; font-size: 0.8rem; letter-spacing: 0.18em;
  text-transform: uppercase; margin-top: 1.5rem; color: var(--amber-300);
}

/* =========================================================
   Pillars / cards
   ========================================================= */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 880px) { .pillars { grid-template-columns: 1fr; } }
.pillar {
  padding: 2.5rem 1.5rem; border: 1px solid var(--line-dark); border-radius: 8px;
  background: var(--cream-50); transition: transform .3s var(--ease), box-shadow .3s;
  position: relative; overflow: hidden;
}
.section--dark .pillar { background: var(--teal-800); border-color: var(--line); }
.pillar:hover { transform: translateY(-4px); box-shadow: 0 20px 50px rgba(11, 29, 42, 0.12); }
.pillar__index {
  font-family: var(--font-display); font-size: 0.8rem; color: var(--amber-500);
  letter-spacing: 0.08em; font-weight: 500;
}
.pillar__letter {
  font-family: var(--font-display); font-size: 2.6rem; line-height: 1.05;
  letter-spacing: 0;
  margin: 1rem 0 0; color: var(--teal-900);
}
.section--dark .pillar__letter { color: var(--cream-100); }
.pillar h3 { margin-top: 1rem; }

@media (min-width: 1320px) {
  .pillar__letter { font-size: 2.75rem; }
}

@media (max-width: 520px) {
  .pillar { padding: 2rem 1.25rem; }
  .pillar__letter { font-size: 2.35rem; }
}

/* Details card grid */
.detail {
  padding: 2rem; background: var(--cream-50); border-radius: 8px;
  border: 1px solid var(--line-dark);
}
.detail__label {
  text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.72rem;
  color: var(--brown-500); margin-bottom: 0.75rem; font-weight: 600;
}
.detail__value { font-family: var(--font-display); font-size: 1.4rem; color: var(--teal-900); font-weight: 500; }
.detail__sub { font-size: 0.9rem; color: var(--teal-600); margin-top: 0.4rem; }

/* =========================================================
   Image collage / gallery
   ========================================================= */
.collage {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 1rem; margin: 3rem 0;
}
.collage figure { margin: 0; border-radius: 6px; overflow: hidden; position: relative; }
.collage figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.collage figure:hover img { transform: scale(1.05); }
.collage__a { grid-column: span 7; aspect-ratio: 16/10; }
.collage__b { grid-column: span 5; aspect-ratio: 4/5; }
.collage__c { grid-column: span 4; aspect-ratio: 4/3; }
.collage__d { grid-column: span 4; aspect-ratio: 4/3; }
.collage__e { grid-column: span 4; aspect-ratio: 4/3; }
@media (max-width: 720px) {
  .collage { grid-template-columns: 1fr 1fr; }
  .collage__a, .collage__b, .collage__c, .collage__d, .collage__e { grid-column: span 1; aspect-ratio: 1; }
}

/* =========================================================
   Video cards
   ========================================================= */
.videocard {
  position: relative; border-radius: 10px; overflow: hidden;
  aspect-ratio: 4/5; background: var(--teal-800); cursor: pointer;
  box-shadow: 0 20px 50px rgba(11, 29, 42, 0.25);
}
.videocard video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s var(--ease);
}
.videocard:hover video { transform: scale(1.06); }
.videocard__overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, transparent 30%, rgba(11, 29, 42, 0.88) 100%);
  display: flex; align-items: flex-end; padding: 1.75rem;
}
.videocard__title {
  font-family: var(--font-display); font-size: 1.5rem; color: var(--cream-100); margin: 0;
  font-weight: 500;
}
.videocard__kicker {
  font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--amber-300); margin-bottom: 0.5rem; display: block;
}

/* =========================================================
   Speaker cards
   ========================================================= */
.speakers-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
@media (max-width: 880px) { .speakers-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .speakers-grid { grid-template-columns: 1fr; } }

.speaker {
  text-align: left;
}
.speaker__photo {
  aspect-ratio: 4/5; background: var(--cream-200); overflow: hidden;
  border-radius: 6px; margin-bottom: 1rem; position: relative;
}
.speaker__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.speaker:hover .speaker__photo img { transform: scale(1.05); }
.speaker__photo--tba {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--teal-800), var(--teal-600));
  color: var(--amber-300);
}
.speaker__photo--tba span {
  font-family: var(--font-display); font-size: 2.5rem;
}
.speaker__name { font-family: var(--font-display); font-size: 1.25rem; margin: 0; font-weight: 500; }
.speaker__role { color: var(--teal-600); font-size: 0.85rem; margin-top: 3px; }
.section--dark .speaker__role { color: var(--teal-300); }

/* =========================================================
   Schedule
   ========================================================= */
.schedule { border-top: 1px solid var(--line-dark); }
.section--dark .schedule { border-color: var(--line); }
.schedule__day {
  padding: 2rem 0; border-bottom: 1px solid var(--line-dark);
  display: grid; grid-template-columns: 200px 1fr; gap: 2.5rem; align-items: start;
}
.section--dark .schedule__day { border-color: var(--line); }
@media (max-width: 720px) { .schedule__day { grid-template-columns: 1fr; gap: 1rem; } }
.schedule__day-label {
  font-family: var(--font-display); font-size: 1.6rem; color: var(--teal-900);
  font-weight: 500;
}
.section--dark .schedule__day-label { color: var(--cream-100); }
.schedule__day-date { font-size: 0.85rem; color: var(--brown-500); margin-top: 0.2rem; letter-spacing: 0.05em; }
.schedule__slot {
  display: grid; grid-template-columns: 110px 1fr; gap: 1.5rem; padding: 0.7rem 0;
  border-bottom: 1px dashed var(--line-dark);
}
.section--dark .schedule__slot { border-color: rgba(245, 239, 230, 0.08); }
.schedule__slot:last-child { border: 0; }
.schedule__time { font-family: var(--font-body); font-weight: 500; color: var(--amber-500); font-size: 0.9rem; }
.schedule__title { font-weight: 500; color: var(--teal-900); margin: 0 0 0.2rem; }
.section--dark .schedule__title { color: var(--cream-100); }
.schedule__desc { font-size: 0.88rem; color: var(--teal-600); margin: 0; }
.section--dark .schedule__desc { color: var(--teal-300); }

/* =========================================================
   Sponsor tiers
   ========================================================= */
.tier {
  border: 1px solid var(--line-dark); padding: 2.5rem; border-radius: 8px;
  background: var(--cream-50); position: relative; overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s;
}
.tier:hover { transform: translateY(-6px); box-shadow: 0 30px 60px rgba(11, 29, 42, 0.15); }
.tier--featured { border-color: var(--amber-500); background: var(--teal-900); color: var(--cream-100); }
.tier--featured .tier__name { color: var(--amber-500); }
.tier--featured .tier__price { color: var(--cream-100); }
.tier--featured li { border-color: var(--line); }
.tier__name { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 0.3rem; font-weight: 500; color: var(--teal-900); }
.tier__tag { font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brown-500); }
.tier--featured .tier__tag { color: var(--amber-300); }
.tier__price { font-family: var(--font-display); font-size: 2.4rem; margin: 1rem 0; color: var(--teal-900); font-weight: 500; }
.tier__perks { list-style: none; padding: 0; margin: 1.5rem 0; }
.tier__perks li {
  padding: 0.75rem 0; font-size: 0.9rem;
  border-top: 1px solid var(--line-dark); display: flex; gap: 0.7rem; align-items: flex-start;
}
.tier__perks li:first-child { border-top: 0; }
.tier__perks li::before { content: '→'; color: var(--amber-500); flex: 0 0 auto; font-weight: 500; }

/* =========================================================
   Ticket cards (register)
   ========================================================= */
.ticket {
  border: 1px solid var(--line-dark); padding: 2.5rem; border-radius: 8px;
  background: var(--cream-50); display: flex; flex-direction: column;
  transition: transform .3s var(--ease);
}
.ticket:hover { transform: translateY(-4px); }
.ticket--gold {
  background: linear-gradient(160deg, var(--teal-900), var(--teal-800));
  color: var(--cream-100); border: 0; position: relative; overflow: hidden;
}
.ticket--gold::after {
  content: 'MOST POPULAR'; position: absolute; top: 1.25rem; right: 1.25rem;
  background: var(--amber-500); color: var(--teal-900);
  font-size: 0.65rem; letter-spacing: 0.2em; font-weight: 600;
  padding: 0.35rem 0.65rem; border-radius: 3px;
}
.ticket__type { font-family: var(--font-display); font-size: 1.4rem; margin: 0 0 0.4rem; font-weight: 500; }
.ticket__price { font-family: var(--font-display); font-size: 2.8rem; margin: 0.5rem 0; font-weight: 500; }
.ticket__price span { font-size: 1rem; font-family: var(--font-body); color: var(--brown-500); margin-left: 0.3rem; }
.ticket--gold .ticket__price span { color: var(--amber-300); }
.ticket__includes { list-style: none; padding: 0; margin: 1.5rem 0; flex: 1; }
.ticket__includes li { padding: 0.55rem 0; font-size: 0.9rem; border-top: 1px solid var(--line-dark); padding-left: 1.5rem; position: relative; }
.ticket--gold .ticket__includes li { border-color: var(--line); }
.ticket__includes li:first-child { border-top: 0; }
.ticket__includes li::before { content: '✓'; color: var(--amber-500); position: absolute; left: 0; font-weight: 600; }

/* =========================================================
   Form
   ========================================================= */
.form { display: grid; gap: 1rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 520px) { .form__row { grid-template-columns: 1fr; } }
.form__field {
  background: transparent; border: 0; border-bottom: 1px solid var(--line-dark);
  padding: 1rem 0; font-family: var(--font-body); font-size: 1rem;
  color: var(--teal-900); transition: border-color .2s; width: 100%;
}
.section--dark .form__field { color: var(--cream-100); border-color: var(--line); }
.form__field:focus { outline: 0; border-color: var(--amber-500); }
.form__field::placeholder { color: var(--brown-500); opacity: 0.8; }
.section--dark .form__field::placeholder { color: var(--teal-300); }
textarea.form__field { min-height: 140px; resize: vertical; font-family: var(--font-body); }

/* =========================================================
   Footer
   ========================================================= */
.footer {
  background: var(--teal-900); color: var(--cream-100);
  padding: clamp(3rem, 7vw, 5rem) 0 2rem;
}
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
@media (max-width: 880px) { .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__brand { font-family: var(--font-display); font-size: 2rem; margin-bottom: 0.75rem; font-weight: 500; }
.footer__brand .dot { color: var(--amber-500); }
.footer__tag { color: var(--fog); font-size: 0.92rem; max-width: 34ch; }
.footer__col h4 {
  font-family: var(--font-body); font-size: 0.72rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--amber-500); margin-bottom: 1.25rem; font-weight: 600;
}
.footer__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.7rem; }
.footer__col a { color: var(--fog); font-size: 0.92rem; }
.footer__col a:hover { color: var(--cream-100); opacity: 1; }
.footer__land {
  padding: 2rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  font-size: 0.88rem; color: var(--fog); max-width: 78ch; line-height: 1.7;
}
.footer__fineprint {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding-top: 2rem; font-size: 0.8rem; color: var(--teal-300); flex-wrap: wrap;
}
.footer__social { display: flex; gap: 1.25rem; }
.footer__social a { color: var(--fog); }
.footer__social svg { width: 20px; height: 20px; }

/* =========================================================
   Page header (non-home pages)
   ========================================================= */
.pageheader {
  background: var(--teal-900); color: var(--cream-100);
  padding: 12rem 0 5rem; position: relative; overflow: hidden;
}
.pageheader__bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
  opacity: 0.35;
}
.pageheader__bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11, 29, 42, 0.4) 0%, var(--teal-900) 100%);
}
.pageheader > .container { position: relative; z-index: 1; }
.pageheader h1 {
  font-size: clamp(2.5rem, 7vw, 5rem);
  max-width: 18ch; margin: 1rem 0 0; font-weight: 400;
  letter-spacing: -0.03em;
}
.pageheader__lede { max-width: 60ch; margin-top: 1.5rem; color: var(--fog); font-size: 1.1rem; }

/* =========================================================
   Reveal on scroll
   ========================================================= */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

/* =========================================================
   Utility
   ========================================================= */
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; } .mb-2 { margin-bottom: 2rem; } .mb-3 { margin-bottom: 3rem; }
.flex { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }

/* Abstract SVG line animation */
.lines-svg {
  position: absolute; pointer-events: none; opacity: 0.12; z-index: 0;
  stroke: var(--amber-500); fill: none; stroke-width: 1;
}

/* ---------- Supplemental components ---------- */

/* Sponsor tier grid + extended tier tokens */
.tiers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}
@media (max-width: 1100px) { .tiers { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .tiers { grid-template-columns: 1fr; } }

.tier__label {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--teal-900);
  margin-bottom: 0.3rem;
}
.tier--featured .tier__label { color: var(--amber-500); }
.tier__sub {
  font-size: 0.85rem;
  color: var(--teal-600);
  letter-spacing: 0.04em;
  margin-top: 0.2rem;
}
.tier--featured .tier__sub { color: var(--teal-300); }
.tier__list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 0;
}
.tier__list li {
  padding: 0.6rem 0 0.6rem 1.5rem;
  font-size: 0.9rem;
  border-top: 1px solid var(--line-dark);
  position: relative;
}
.tier__list li:first-child { border-top: 0; }
.tier__list li::before {
  content: '→';
  color: var(--amber-500);
  position: absolute;
  left: 0;
  font-weight: 500;
}
.tier--featured .tier__list li { border-color: var(--line); }

/* Ticket grid + extended ticket tokens */
.tickets {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  align-items: stretch;
}
@media (max-width: 960px) { .tickets { grid-template-columns: 1fr; } }

.ticket__label {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin: 0 0 0.3rem;
  font-weight: 500;
  color: var(--teal-900);
}
.ticket--gold .ticket__label { color: var(--amber-500); }
.ticket__price-sub {
  font-size: 1rem;
  font-family: var(--font-body);
  color: var(--brown-500);
  margin-left: 0.3rem;
}
.ticket--gold .ticket__price-sub { color: var(--amber-300); }
.ticket__sub {
  font-size: 0.88rem;
  color: var(--teal-600);
  margin: 0.2rem 0 0.8rem;
}
.ticket--gold .ticket__sub { color: var(--teal-300); }
.ticket__list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  flex: 1;
}
.ticket__list li {
  padding: 0.55rem 0 0.55rem 1.5rem;
  font-size: 0.9rem;
  border-top: 1px solid var(--line-dark);
  position: relative;
}
.ticket__list li:first-child { border-top: 0; }
.ticket__list li::before {
  content: '✓';
  color: var(--amber-500);
  position: absolute;
  left: 0;
  font-weight: 600;
}
.ticket--gold .ticket__list li { border-color: var(--line); }
.ticket__tag {
  position: absolute;
  top: -14px;
  right: 24px;
  background: var(--amber-500);
  color: var(--teal-900);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: 4px;
  font-weight: 600;
}
.ticket { position: relative; }
.ticket__cta { margin-top: auto; width: 100%; justify-content: center; }

/* FAQ (accordion) */
.faq {
  display: grid;
  gap: 0.75rem;
  margin-top: 2rem;
  max-width: 820px;
}
.faq__item {
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  padding: 1rem 1.5rem;
  background: #fff;
  transition: background .2s var(--ease);
}
.faq__item[open] { background: var(--cream-200); }
.faq__item summary {
  cursor: pointer;
  font-weight: 500;
  font-size: 1rem;
  list-style: none;
  position: relative;
  padding-right: 2rem;
  color: var(--teal-900);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--amber-500);
  transition: transform .3s var(--ease);
}
.faq__item[open] summary::after { content: '−'; }
.faq__item p {
  margin: 1rem 0 0;
  color: var(--teal-600);
  font-size: 0.95rem;
  line-height: 1.6;
}
.faq--dark .faq__item {
  background: var(--teal-800);
  border-color: var(--line);
}
.faq--dark .faq__item[open] { background: rgba(245, 239, 230, 0.05); }
.faq--dark .faq__item summary { color: var(--cream-100); }
.faq--dark .faq__item p { color: var(--fog); }

/* Card links (contact page) */
.card-link { display: block; color: inherit; text-decoration: none; }
.card-link .pillar { transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.card-link:hover .pillar {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(11, 29, 42, 0.12);
  border-color: var(--amber-500);
}

/* Video card grid + body variant */
.videocards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
@media (max-width: 960px) { .videocards { grid-template-columns: 1fr; } }

.videocard__body {
  padding: 1.75rem 1.5rem 2rem;
  background: var(--teal-800);
  color: var(--cream-100);
}
.videocard__body .eyebrow { color: var(--amber-300); }
.videocard__body h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0.75rem 0 0.5rem;
  font-weight: 500;
}
.videocard__body p { color: var(--fog); font-size: 0.92rem; margin: 0; }

/* Extended form components */
.form__check {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.88rem;
  color: var(--teal-600);
  line-height: 1.5;
  margin: 0.5rem 0 0;
}
.form__check input[type="checkbox"] {
  margin-top: 0.2rem;
  accent-color: var(--amber-500);
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}
.form__field textarea {
  resize: vertical;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: inherit;
  background: transparent;
  border: 0;
  width: 100%;
  min-height: 3.5rem;
}
.form__field textarea:focus { outline: 0; }
.form__field select {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: inherit;
  background: transparent;
  border: 0;
  width: 100%;
}
.form__field select:focus { outline: 0; }
.form__submit { justify-self: start; margin-top: 0.5rem; }
.form__success {
  margin-top: 0.75rem;
  padding: 1rem 1.25rem;
  background: var(--amber-500);
  color: var(--teal-900);
  border-radius: 6px;
  font-size: 0.95rem;
}
.form__success strong { font-weight: 600; margin-right: 0.3rem; }

/* Simple attendee registration */
.registration-section {
  padding-top: clamp(4rem, 8vw, 6rem);
}

.registration-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.7fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.registration-copy .lede {
  max-width: 46ch;
}

.registration-steps {
  margin-top: 2rem;
  display: grid;
  gap: 0.75rem;
  max-width: 420px;
}

.registration-steps div {
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--line-dark);
}

.registration-steps strong {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--teal-900);
  color: var(--amber-500);
  font-family: var(--font-display);
  font-weight: 500;
}

.registration-steps span {
  color: var(--teal-600);
  font-weight: 500;
}

.registration-panel {
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: var(--cream-50);
  box-shadow: 0 24px 60px rgba(11, 29, 42, 0.08);
}

.registration-form[hidden],
.registration-status[hidden],
.registration-summary[hidden] {
  display: none !important;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  padding: 0.35rem;
  margin-bottom: 1.25rem;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  background: var(--cream-200);
}

.auth-tab {
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--teal-600);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease);
}

.auth-tab.is-active {
  background: var(--teal-900);
  color: var(--cream-100);
  box-shadow: 0 12px 26px rgba(11, 29, 42, 0.16);
}

.registration-form {
  gap: 1rem;
}

.registration-status {
  padding: 0.9rem 1rem;
  border-radius: 6px;
  background: rgba(232, 131, 62, 0.14);
  color: var(--teal-900);
  font-weight: 500;
}

.registration-summary {
  display: grid;
  gap: 0.8rem;
  padding: 1.25rem;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: #fff;
}

.registration-summary strong {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.4rem);
  line-height: 1.05;
  color: var(--teal-900);
}

.registration-summary p {
  margin: 0;
  color: var(--teal-600);
}

.stripe-ready {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line-dark);
  display: grid;
  gap: 0.25rem;
}

.stripe-ready span {
  color: var(--brown-500);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.stripe-ready strong {
  color: var(--teal-900);
  font-weight: 600;
}

@media (max-width: 880px) {
  .registration-shell {
    grid-template-columns: 1fr;
  }
}

/* Form fields with labels */
.form__field {
  display: grid;
  gap: 0.4rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line-dark);
  border-radius: 6px;
  background: #fff;
  color: var(--teal-900);
  transition: border-color .2s var(--ease);
}
.form__field:focus-within { border-color: var(--amber-500); }
.form__field > span {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brown-500);
  font-weight: 500;
}
.form__field input,
.form__field textarea,
.form__field select {
  border: 0;
  background: transparent;
  color: var(--teal-900);
  font-family: var(--font-body);
  font-size: 0.95rem;
  width: 100%;
  padding: 0;
}
.form__field input:focus { outline: 0; }
.section--dark .form__field { background: var(--teal-800); border-color: var(--line); color: var(--cream-100); }
.section--dark .form__field > span { color: var(--amber-300); }
.section--dark .form__field input,
.section--dark .form__field textarea,
.section--dark .form__field select { color: var(--cream-100); }

/* =========================================================
   AI FX LAYER — the "wow" layer
   ========================================================= */

/* ---- Aurora gradient behind the hero ---- */
.hero__aurora {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.75;
  background:
    radial-gradient(ellipse 60% 50% at 20% 30%, rgba(232,131,62,0.55), transparent 60%),
    radial-gradient(ellipse 70% 45% at 75% 65%, rgba(74,144,164,0.65), transparent 60%),
    radial-gradient(ellipse 45% 40% at 55% 15%, rgba(242,176,122,0.35), transparent 60%);
  animation: auroraShift 14s ease-in-out infinite alternate;
  filter: blur(20px);
}
@keyframes auroraShift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(-4%, 3%, 0) scale(1.08); }
  100% { transform: translate3d(3%, -2%, 0) scale(1.03); }
}

/* ---- Neural canvas layer ---- */
.hero__neural {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  display: block;
}

/* Hero video + overlay need to sit below neural, content above */
.hero .hero__media { z-index: 0; }
.hero .hero__media::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,29,42,0.55) 0%, rgba(11,29,42,0.72) 60%, rgba(11,29,42,0.92) 100%);
  z-index: 1;
}
.hero .hero__content { position: relative; z-index: 5; }
.hero .hero__cue { z-index: 5; }

/* ---- AI typing headline + caret ---- */
.ai-typing {
  display: inline-block;
  color: var(--amber-500);
  font-family: var(--font-display);
  font-weight: 500;
  font-style: italic;
  position: relative;
  min-height: 1em;
}
.ai-typing::after {
  content: '';
  display: inline-block;
  width: 0.08em;
  height: 0.95em;
  background: var(--amber-500);
  margin-left: 0.08em;
  vertical-align: -0.12em;
  animation: caretBlink 1s steps(1) infinite;
}
@keyframes caretBlink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

/* AI chip next to headline */
.ai-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  border: 1px solid rgba(232,131,62,0.6);
  border-radius: 999px;
  background: rgba(11, 29, 42, 0.55);
  backdrop-filter: blur(10px);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber-300);
  margin-bottom: 1.25rem;
}
.ai-chip__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--amber-500);
  box-shadow: 0 0 12px var(--amber-500);
  animation: chipPulse 1.8s ease-in-out infinite;
}
@keyframes chipPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

/* ---- AI token marquee ---- */
.ai-marquee {
  background: var(--teal-900);
  color: var(--cream-100);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 1rem 0;
  position: relative;
}
.ai-marquee::before,
.ai-marquee::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.ai-marquee::before { left: 0;  background: linear-gradient(90deg, var(--teal-900), transparent); }
.ai-marquee::after  { right: 0; background: linear-gradient(-90deg, var(--teal-900), transparent); }
.ai-marquee__track {
  display: flex;
  gap: 3rem;
  white-space: nowrap;
  animation: marqueeScroll 38s linear infinite;
  width: max-content;
}
.ai-marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 2rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--cream-100);
  font-style: italic;
}
.ai-marquee__item::before {
  content: '';
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--amber-500);
  flex: 0 0 auto;
  box-shadow: 0 0 14px var(--amber-500);
}
.ai-marquee__item--alt { color: var(--amber-300); }
@keyframes marqueeScroll {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

/* ---- Ask AI NOW streaming section ---- */
.ai-stream-section {
  background: linear-gradient(180deg, var(--teal-900) 0%, var(--teal-800) 100%);
  color: var(--cream-100);
  padding: clamp(4.5rem, 10vw, 8rem) 0;
  position: relative;
  overflow: hidden;
}
.ai-stream-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(232,131,62,0.18), transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(74,144,164,0.22), transparent 60%);
  pointer-events: none;
  animation: auroraShift 18s ease-in-out infinite alternate;
}
.ai-stream-section .section__head { position: relative; z-index: 2; }
.ai-stream-section .section__head h2 { color: var(--cream-100); }
.ai-stream-section .section__head .lede { color: var(--fog); }

.ai-stream {
  position: relative;
  z-index: 2;
  margin-top: 3rem;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 2.5rem;
  align-items: start;
}
@media (max-width: 900px) { .ai-stream { grid-template-columns: 1fr; } }

.ai-stream__questions {
  display: grid;
  gap: 0.75rem;
}
.ai-stream__questions-label {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber-300);
  margin-bottom: 0.75rem;
  font-weight: 500;
}
.ai-stream__question {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  text-align: left;
  background: rgba(245, 239, 230, 0.04);
  color: var(--cream-100);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.45;
  cursor: pointer;
  transition: background .2s var(--ease), border-color .2s, transform .2s;
}
.ai-stream__question:hover {
  background: rgba(232, 131, 62, 0.08);
  border-color: var(--amber-500);
  transform: translateX(4px);
}
.ai-stream__question.is-active {
  background: rgba(232, 131, 62, 0.12);
  border-color: var(--amber-500);
  color: var(--cream-50);
}
.ai-stream__question-icon {
  color: var(--amber-500);
  font-weight: 600;
  flex: 0 0 auto;
  margin-top: 0.1rem;
}

.ai-stream__console {
  background: rgba(11, 29, 42, 0.72);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.75rem;
  box-shadow: 0 30px 80px rgba(0,0,0,0.35);
  backdrop-filter: blur(12px);
}
.ai-stream__console-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 1.25rem;
}
.ai-stream__dots {
  display: flex; gap: 0.4rem;
}
.ai-stream__dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--teal-500);
  opacity: 0.6;
}
.ai-stream__dots span:nth-child(1) { background: #ff5f57; }
.ai-stream__dots span:nth-child(2) { background: #febc2e; }
.ai-stream__dots span:nth-child(3) { background: #28c840; }
.ai-stream__title {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-300);
  font-weight: 500;
}
.ai-stream__status {
  margin-left: auto;
  font-size: 0.75rem;
  color: var(--amber-300);
  letter-spacing: 0.08em;
}
.ai-stream__prompt {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber-500);
  margin-bottom: 0.45rem;
  font-weight: 500;
}
.ai-stream__input {
  font-family: 'JetBrains Mono', 'SF Mono', Consolas, monospace;
  font-size: 1.05rem;
  color: var(--cream-100);
  min-height: 1.4em;
  padding-bottom: 1rem;
  border-bottom: 1px dashed var(--line);
  margin-bottom: 1.25rem;
  position: relative;
}
.ai-stream__input.is-typing::after {
  content: '';
  display: inline-block;
  width: 0.55em;
  height: 1em;
  background: var(--amber-500);
  margin-left: 0.15em;
  vertical-align: -0.1em;
  animation: caretBlink 0.8s steps(1) infinite;
}
.ai-stream__response-label {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal-300);
  margin-bottom: 0.45rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.ai-stream__response-label::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--amber-500);
  box-shadow: 0 0 10px var(--amber-500);
  animation: chipPulse 1.6s ease-in-out infinite;
}
.ai-stream__answer {
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--cream-100);
  min-height: 6em;
  white-space: pre-wrap;
}
.ai-stream__answer.is-streaming::after {
  content: '▋';
  display: inline-block;
  color: var(--amber-500);
  animation: caretBlink 0.7s steps(1) infinite;
  margin-left: 2px;
}

/* ---- Count-up stats ---- */
.detail__value {
  font-variant-numeric: tabular-nums;
}

/* ---- Tilt cards ---- */
[data-tilt] { will-change: transform; }

/* ---- Cursor glow orb ---- */
.cursor-orb {
  position: fixed;
  top: 0; left: 0;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,131,62,0.25), rgba(232,131,62,0) 60%);
  pointer-events: none;
  z-index: 1;
  transform: translate3d(-9999px, -9999px, 0);
  margin-left: -210px;
  margin-top: -210px;
  mix-blend-mode: screen;
}

/* ---- Neural SVG decoration for page headers ---- */
.pageheader { position: relative; overflow: hidden; }
.pageheader__neural {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.35;
  z-index: 1;
}
.pageheader__neural line {
  stroke: var(--amber-500);
  stroke-width: 0.6;
  opacity: 0.5;
  animation: linePulse 4s ease-in-out infinite;
}
.pageheader__neural circle {
  fill: var(--amber-300);
  animation: nodePulse 3s ease-in-out infinite;
}
.pageheader__neural line:nth-child(3n) { animation-delay: 0.8s; }
.pageheader__neural line:nth-child(5n) { animation-delay: 1.6s; }
.pageheader__neural circle:nth-child(2n) { animation-delay: 0.5s; }
.pageheader__neural circle:nth-child(3n) { animation-delay: 1.2s; }
@keyframes linePulse {
  0%, 100% { opacity: 0.15; }
  50%      { opacity: 0.65; }
}
@keyframes nodePulse {
  0%, 100% { r: 2; opacity: 0.6; }
  50%      { r: 4; opacity: 1; }
}
.pageheader > * { position: relative; z-index: 2; }

/* ---- Glowing AI badge (reusable) ---- */
.ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: linear-gradient(90deg, rgba(232,131,62,0.15), rgba(74,144,164,0.15));
  border: 1px solid rgba(232,131,62,0.4);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber-500);
  position: relative;
  overflow: hidden;
}
.ai-badge::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(232,131,62,0.3), transparent);
  animation: sheen 3s linear infinite;
}
@keyframes sheen {
  from { transform: translateX(-100%); }
  to   { transform: translateX(100%); }
}

/* ---- Reduced motion fallback ---- */
@media (prefers-reduced-motion: reduce) {
  .hero__aurora,
  .ai-marquee__track,
  .ai-chip__dot,
  .ai-typing::after,
  .pageheader__neural line,
  .pageheader__neural circle,
  .ai-badge::before,
  .ai-stream-section::before { animation: none !important; }
}
