/* ============ BizzzWorld — SalesEvolution ============ */

:root {
  /* dark (default) theme tokens */
  --bg: #101218;
  --card: rgba(30, 34, 44, .55);
  --surface: rgba(255,255,255,.04);
  --border: rgba(255,255,255,.09);
  --text: #f5f3ee;
  --text-dim: #a8adba;
  --text-faint: #74798a;

  --carlos: #ff6b35;
  --fran: #3d7cff;
  --hannah: #2fb787;
  --sam: #ff2f8f;
  --sara: #e3b23c;

  --radius: 14px;
  --radius-lg: 22px;
  --font-display: 'Sora', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --wrap: 1180px;
  --ease-out: cubic-bezier(.16,1,.3,1);
}

/* light theme tokens — applied per-section via .light for a deliberate
   light/dark rhythm instead of one uniform dark page */
.light {
  --bg: #f8f3ea;
  --card: rgba(255,255,255,.85);
  --surface: rgba(23,20,16,.045);
  --border: rgba(23,20,16,.11);
  --text: #1d1b17;
  --text-dim: #5c584e;
  --text-faint: #8b8577;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 .5em;
}

p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--carlos);
  color: #0f1115;
  padding: 10px 16px;
  z-index: 200;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ==================================================
   DYNAMIC BACKGROUND — fixed aurora + grain
   ================================================== */
.aurora {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.aurora span {
  position: absolute;
  width: 55vmax;
  height: 55vmax;
  border-radius: 50%;
  filter: blur(110px);
  opacity: .32;
  mix-blend-mode: screen;
  will-change: transform;
}
.aurora span:nth-child(1) {
  background: var(--carlos);
  top: -18%; left: -12%;
  animation: drift1 26s ease-in-out infinite;
}
.aurora span:nth-child(2) {
  background: var(--fran);
  top: -10%; right: -18%;
  animation: drift2 32s ease-in-out infinite;
}
.aurora span:nth-child(3) {
  background: var(--hannah);
  bottom: -20%; left: 10%;
  animation: drift3 30s ease-in-out infinite;
}
.aurora span:nth-child(4) {
  background: var(--sam);
  bottom: -15%; right: 5%;
  animation: drift1 22s ease-in-out infinite reverse;
  width: 42vmax; height: 42vmax; opacity: .24;
}
.aurora span:nth-child(5) {
  background: var(--sara);
  top: 35%; left: 40%;
  animation: drift2 36s ease-in-out infinite;
  width: 38vmax; height: 38vmax; opacity: .2;
}

@keyframes drift1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(8vw, 6vh) scale(1.15); }
  66% { transform: translate(-4vw, 10vh) scale(.9); }
}
@keyframes drift2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-10vw, 8vh) scale(1.2); }
}
@keyframes drift3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  40% { transform: translate(6vw, -8vh) scale(1.1); }
  75% { transform: translate(-8vw, -4vh) scale(.95); }
}

.grain {
  position: fixed;
  inset: -100px;
  z-index: 1;
  pointer-events: none;
  opacity: .05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.cursor-glow {
  position: fixed;
  z-index: 2;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(255,255,255,.10), transparent 70%);
  transform: translate(-50%, -50%);
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity .4s;
  will-change: transform;
}
.cursor-glow.is-active { opacity: 1; }

main, .site-header, .site-footer { position: relative; z-index: 3; }

/* ==================================================
   Header
   ================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 12, 16, .65);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -.02em;
}
.brand span {
  background: linear-gradient(90deg, var(--carlos), var(--sam), var(--sara), var(--carlos));
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradientShift 8s linear infinite;
}
.site-nav {
  display: flex;
  gap: 22px;
  flex: 1;
  justify-content: center;
}
.site-nav a {
  position: relative;
  font-size: .92rem;
  color: var(--text-dim);
  transition: color .15s;
  padding-bottom: 2px;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -2px;
  height: 1px;
  background: var(--carlos);
  transition: right .25s var(--ease-out);
}
.site-nav a:hover { color: var(--text); }
.site-nav a:hover::after { right: 0; }

@media (max-width: 820px) {
  .site-nav { display: none; }
}

/* ==================================================
   Buttons
   ================================================== */
.btn {
  position: relative;
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .95rem;
  border: 1px solid transparent;
  transition: transform .25s var(--ease-out), box-shadow .25s, border-color .15s, background .15s;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
}
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px); }
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .6s var(--ease-out);
}
.btn:hover::before { transform: translateX(120%); }

.btn-primary {
  background: linear-gradient(120deg, var(--carlos), var(--sam) 130%);
  background-size: 220% 220%;
  color: #0f1115;
  box-shadow: 0 8px 30px -8px color-mix(in srgb, var(--carlos) 65%, transparent);
  animation: btnGradient 6s ease infinite;
}
.btn-primary:hover {
  box-shadow: 0 12px 40px -6px color-mix(in srgb, var(--carlos) 80%, transparent);
}
@keyframes btnGradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.btn-outline {
  border-color: rgba(255,255,255,.18);
  color: var(--text);
  background: rgba(255,255,255,.03);
  backdrop-filter: blur(6px);
}
.btn-outline:hover {
  border-color: var(--text-dim);
  box-shadow: 0 8px 30px -12px rgba(255,255,255,.25);
}
.btn-small { padding: 8px 16px; font-size: .82rem; }

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  100% { background-position: 300% 50%; }
}

/* ==================================================
   Section scaffolding
   ================================================== */
.section {
  padding: 100px 0;
  position: relative;
  background: color-mix(in srgb, var(--bg) 90%, transparent);
}
.section.light {
  background: var(--bg);
  color: var(--text);
}

.eyebrow {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--carlos);
  margin-bottom: 12px;
}
.section h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  max-width: 720px;
}
.section-lede {
  color: var(--text-dim);
  max-width: 640px;
  font-size: 1.05rem;
}

.card {
  background: var(--card);
  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

/* ==================================================
   Tilt / spotlight interactive cards
   ================================================== */
.tilt {
  --mx: 50%;
  --my: 50%;
  --rx: 0deg;
  --ry: 0deg;
  position: relative;
  transform: perspective(900px) rotateX(var(--ry)) rotateY(var(--rx));
  transition: transform .5s var(--ease-out), box-shadow .4s, border-color .3s;
  will-change: transform;
}
.tilt::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(340px circle at var(--mx) var(--my), rgba(255,255,255,.14), transparent 60%);
  opacity: 0;
  transition: opacity .35s;
  pointer-events: none;
  z-index: 1;
}
.tilt:hover::before,
.tilt:focus-within::before { opacity: 1; }
.tilt:hover {
  transition: transform .08s linear;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--c-accent, var(--carlos)) 55%, transparent),
              0 24px 60px -20px color-mix(in srgb, var(--c-accent, var(--carlos)) 70%, transparent);
  border-color: color-mix(in srgb, var(--c-accent, var(--carlos)) 55%, transparent);
}
.light .tilt::before {
  background: radial-gradient(340px circle at var(--mx) var(--my), rgba(23,20,16,.06), transparent 60%);
}
.light .tilt:hover {
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--c-accent, var(--carlos)) 45%, transparent),
              0 20px 44px -18px color-mix(in srgb, var(--c-accent, var(--carlos)) 32%, transparent),
              0 6px 16px -8px rgba(23,20,16,.14);
}

/* ==================================================
   Hero
   ================================================== */
.hero {
  padding: 150px 0 120px;
  text-align: center;
  position: relative;
}
.hero-inner { max-width: 800px; margin: 0 auto; position: relative; z-index: 2; }
.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,107,53,.35);
  background: rgba(255,107,53,.08);
  margin-bottom: 22px;
}
.eyebrow-pill .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--carlos);
  box-shadow: 0 0 0 0 rgba(255,107,53,.6);
  animation: pulseDot 1.8s ease-out infinite;
}
@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(255,107,53,.55); }
  70% { box-shadow: 0 0 0 8px rgba(255,107,53,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,107,53,0); }
}
.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  letter-spacing: -.02em;
}
.grad-text {
  background: linear-gradient(100deg, var(--carlos), var(--sam), var(--sara), var(--fran), var(--carlos));
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradientShift 10s linear infinite;
}
.hero-sub {
  color: var(--text-dim);
  font-size: 1.15rem;
  max-width: 620px;
  margin: 0 auto 2rem;
}
.hero-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.02);
  position: relative;
  z-index: 2;
}
.marquee-track {
  display: flex;
  width: max-content;
  gap: 48px;
  padding: 16px 0;
  animation: marquee 30s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-faint);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 12px;
}
.marquee-track span b {
  color: var(--carlos);
  font-weight: 800;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ==================================================
   Avatars
   ================================================== */
.avatar {
  --c-accent: var(--carlos);
  width: 84px;
  height: 84px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
  color: #0f1115;
  object-fit: cover;
  background: linear-gradient(150deg, var(--c-accent), color-mix(in srgb, var(--c-accent) 60%, white));
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--c-accent) 25%, transparent);
  margin: 0 auto 16px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.avatar-ring {
  position: relative;
  width: 84px;
  height: 84px;
  margin: 0 auto 16px;
}
.avatar-ring::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--c-accent, var(--carlos)), transparent 40%, var(--c-accent, var(--carlos)));
  animation: spin 4s linear infinite;
  opacity: .8;
}
.avatar-ring .avatar { margin: 0; }
.avatar-sm {
  width: 46px;
  height: 46px;
  font-size: 1.1rem;
  margin: 0;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--c-accent) 25%, transparent);
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ==================================================
   Team
   ================================================== */
.team-section { text-align: center; }
.team-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  perspective: 1200px;
}
.char-card {
  position: relative;
  padding: 40px 22px 28px;
}
.char-card h3 { font-size: 1.3rem; margin-bottom: 2px; }
.char-role {
  color: var(--c-accent);
  font-weight: 700;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 14px;
}
.char-quote {
  color: var(--text-dim);
  font-size: .92rem;
  font-style: italic;
  min-height: 66px;
}
.char-built {
  font-size: .85rem;
  color: var(--text-faint);
  border-top: 1px solid var(--border);
  padding-top: 14px;
  margin-bottom: 0;
  position: relative;
  z-index: 1;
}
.char-built strong { color: var(--text); }
.badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--sara);
  color: #0f1115;
  font-size: .68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: 5px 12px;
  border-radius: 999px;
  white-space: nowrap;
  z-index: 2;
  box-shadow: 0 4px 16px -4px rgba(227,178,60,.7);
}

/* ==================================================
   Org chart
   ================================================== */
.orgchart-section { text-align: center; }
.orgchart { margin-top: 56px; }
.orgchart-row {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  position: relative;
}
.orgchart-row--top { padding-bottom: 34px; }
.orgchart-row--top::after {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--carlos), var(--fran), var(--hannah), var(--sam), transparent);
  background-size: 200% 100%;
  animation: gradientShift 6s linear infinite;
  opacity: .6;
}
.org-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 140px;
  transition: transform .3s var(--ease-out);
}
.org-node:hover { transform: translateY(-4px); }
.org-node span { font-weight: 700; }
.org-node small { color: var(--text-faint); font-size: .78rem; }
.orgchart-caption {
  color: var(--text-faint);
  font-size: .8rem;
  letter-spacing: .04em;
  margin: 20px 0;
}
.orgchart-row--bottom { margin-top: 20px; }
.org-node--sara { position: relative; }

/* ==================================================
   Dynamics
   ================================================== */
.dynamics-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  perspective: 1200px;
}
.dynamic-card {
  padding: 26px;
  overflow: hidden;
}
.dynamic-pair {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}
.dynamic-vs { color: var(--text-faint); font-weight: 700; }
.dynamic-title { font-weight: 700; margin-bottom: 4px; position: relative; z-index: 1; }
.dynamic-tag {
  color: var(--carlos);
  font-size: .76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}
.dynamic-desc { color: var(--text-dim); font-size: .92rem; margin-bottom: 0; position: relative; z-index: 1; }

/* ==================================================
   Origin story
   ================================================== */
.origin-panels {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  align-items: start;
  perspective: 1200px;
}
.origin-panel {
  padding: 26px;
  min-height: 260px;
}
.panel-label {
  font-size: .74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-faint);
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}
.bubble {
  --c-accent: var(--carlos);
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--c-accent);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: .9rem;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}
.bubble strong { display: block; color: var(--c-accent); font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 2px; }
.bubble--sara { font-size: 1rem; margin-bottom: 20px; }
.origin-avatars { display: flex; gap: 10px; flex-wrap: wrap; position: relative; z-index: 1; }
.origin-build {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text);
  position: relative;
  z-index: 1;
}

/* ==================================================
   Episodes
   ================================================== */
.episode-card {
  margin-top: 40px;
  padding: 34px;
  max-width: 760px;
}
.episode-cast { display: flex; gap: 10px; margin-bottom: 18px; position: relative; z-index: 1; }
.episode-card h3 { font-size: 1.4rem; position: relative; z-index: 1; }
.episode-card p { color: var(--text-dim); position: relative; z-index: 1; }
.episode-link {
  color: var(--carlos);
  font-weight: 700;
  font-size: .92rem;
  position: relative;
  z-index: 1;
}
.episode-link:hover { text-decoration: underline; }

/* ==================================================
   Quiz
   ================================================== */
.quiz-box, .quiz-result {
  margin-top: 44px;
  padding: 40px;
  max-width: 620px;
  background: var(--card);
  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.quiz-result { text-align: center; }
.quiz-progress {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--carlos);
  margin-bottom: 10px;
}
.quiz-question { font-size: 1.3rem; margin-bottom: 26px; }
.quiz-options { display: flex; flex-direction: column; gap: 10px; }
.quiz-option {
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 18px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: .96rem;
  cursor: pointer;
  transition: border-color .15s, background .15s, transform .15s;
}
.quiz-option:hover {
  border-color: var(--carlos);
  background: rgba(255,107,53,.08);
  transform: translateX(4px);
}
.quiz-option:focus-visible { outline: 2px solid var(--carlos); }
.quiz-result-label { color: var(--text-faint); font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 6px; }
.quiz-result h3 { font-size: 1.6rem; margin-bottom: 2px; }
.quiz-result .char-quote { margin-top: 16px; }
.quiz-result .btn { margin-top: 10px; }
.quiz-result .avatar-ring { width: 96px; height: 96px; }
.quiz-result .avatar-ring .avatar { width: 96px; height: 96px; }

/* ==================================================
   Trivia
   ================================================== */
.trivia-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  perspective: 1200px;
}
.trivia-card {
  padding: 26px;
}
.trivia-number {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--carlos);
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
  text-shadow: 0 0 18px color-mix(in srgb, var(--carlos) 35%, transparent);
}
.trivia-desc { color: var(--text-dim); font-size: .9rem; margin-bottom: 0; position: relative; z-index: 1; }

/* ==================================================
   About
   ================================================== */
.about-strong { font-weight: 700; font-size: 1.05rem; }
.apps-grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  perspective: 1200px;
}
.app-card {
  display: block;
  padding: 24px;
}
.app-name { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; margin-bottom: 6px; position: relative; z-index: 1; }
.app-desc { color: var(--text-dim); font-size: .9rem; margin-bottom: 0; position: relative; z-index: 1; }

/* ==================================================
   Final CTA
   ================================================== */
.cta-section {
  text-align: center;
  overflow: hidden;
}
.cta-inner { max-width: 640px; margin: 0 auto; position: relative; z-index: 2; }
.cta-inner p { color: var(--text-dim); }

/* ==================================================
   Footer
   ================================================== */
.site-footer {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 32px 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  color: var(--text-faint);
  font-size: .82rem;
}
.footer-inner a { color: var(--text-dim); }
.footer-inner a:hover { color: var(--text); }

/* ==================================================
   Reveal animation
   ================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px) scale(.96);
  filter: blur(6px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out), filter .7s var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

/* ==================================================
   Confetti canvas
   ================================================== */
.confetti-canvas {
  position: fixed;
  inset: 0;
  z-index: 500;
  pointer-events: none;
}

/* ==================================================
   Reduced motion + touch fallbacks
   ================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .aurora span, .brand span, .grad-text, .btn-primary, .orgchart-row--top::after,
  .avatar-ring::before, .marquee-track, .eyebrow-pill .dot {
    animation: none !important;
  }
  .tilt { transform: none !important; transition: none !important; }
  .reveal { transition: opacity .3s; filter: none; transform: none; }
  .cursor-glow { display: none; }
}

@media (hover: none) {
  .tilt:hover { box-shadow: none; }
  .cursor-glow { display: none; }
}

@media (max-width: 640px) {
  .section { padding: 70px 0; }
  .hero { padding: 120px 0 80px; }
  .aurora span { width: 90vmax; height: 90vmax; }
}
