/* ============================================================
   RISEUP — GLOBAL STYLESHEET
   Palette: Midnight Luxe (Preset B)
   Primary: #0D0D12  Accent: #C9A84C  Ivory: #FAF8F5  Slate: #2A2A35
   ============================================================ */

/* ---- RESET & BASE ---- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg:           #0d0d12;
  --bg-mid:       #111118;
  --bg-card:      #141420;
  --slate:        #2a2a35;
  --accent:       #c9a84c;
  --accent-dim:   rgba(201, 168, 76, 0.15);
  --accent-glow:  rgba(201, 168, 76, 0.38);
  --accent-soft:  rgba(201, 168, 76, 0.1);
  --text:         #f5f0e8;
  --text-dim:     rgba(245, 240, 232, 0.55);
  --text-muted:   rgba(245, 240, 232, 0.3);
  --border:       rgba(201, 168, 76, 0.12);
  --border-hover: rgba(201, 168, 76, 0.45);
  --font-heading: 'Inter', system-ui, sans-serif;
  --font-serif:   'Playfair Display', Georgia, serif;
  --font-mono:    'JetBrains Mono', monospace;
  --font-sans:    'Inter', system-ui, sans-serif;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ---- NOISE OVERLAY ---- */
.noise-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.038;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(201, 168, 76, 0.25); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ---- NAVBAR ---- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  transition: background 0.5s ease, backdrop-filter 0.5s ease, border-color 0.5s ease, box-shadow 0.5s ease;
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(13, 13, 18, 0.82);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-color: var(--border);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1300px;
  margin: 0 auto;
  padding: 14px 60px;
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.02em;
  text-align: left;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 8px;
  align-items: center;
}

.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 6px 14px;
  border-radius: 100px;
  transition: color var(--transition), background var(--transition);
}

.nav-links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.nav-links .nav-cta {
  background: var(--accent-soft);
  border: 1px solid var(--border-hover);
  color: var(--accent) !important;
  font-weight: 600;
  padding: 7px 20px;
}

.nav-links .nav-cta:hover {
  background: rgba(201, 168, 76, 0.18);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px var(--accent-glow);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-mobile-menu {
  display: none;
  flex-direction: column;
  padding: 0 24px 20px;
  gap: 4px;
}

.nav-mobile-menu a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.9rem;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-mobile-menu a:hover,
.nav-mobile-menu a.nav-cta-mobile {
  color: var(--accent);
}

.nav-mobile-menu.open {
  display: flex;
}

/* ---- BUTTONS ---- */
/* Reset browser defaults for <button> elements using btn classes */
button.btn {
  -webkit-appearance: none;
  appearance: none;
  color: inherit;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(-105%);
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border-radius: inherit;
}

.btn:hover::before {
  transform: translateX(0);
}

.btn:hover {
  transform: translateY(-2px) scale(1.03);
}

.btn-primary {
  background: linear-gradient(135deg, #d4b558 0%, #a8883a 100%);
  color: #0d0d12;
  padding: 14px 32px;
  font-weight: 700;
  box-shadow: 0 4px 28px rgba(201, 168, 76, 0.45), 0 0 0 1px rgba(201, 168, 76, 0.2);
}

.btn-primary:hover {
  box-shadow: 0 8px 45px rgba(201, 168, 76, 0.6);
}

.btn-large {
  font-size: 1rem;
  padding: 18px 48px;
}

.btn-card {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--border);
  padding: 10px 24px;
  font-size: 0.82rem;
  margin-top: auto;
}

.btn-card:hover {
  border-color: var(--border-hover);
  box-shadow: 0 4px 20px var(--accent-glow);
}

/* ---- HERO ---- */
.hero {
  position: relative;
  height: 100dvh;
  min-height: 740px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: radial-gradient(ellipse 80% 60% at 50% 38%, #1c1a10 0%, #0d0d12 65%);
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-ambient-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 40% at 50% 44%, rgba(201, 168, 76, 0.06) 0%, transparent 65%),
    radial-gradient(ellipse 30% 25% at 50% 44%, rgba(201, 168, 76, 0.04) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 52px;
  padding: 0 24px;
}

/* ---- HERO SPLIT LAYOUT ---- */
.hero-split {
  flex-direction: row;
  align-items: center;
  gap: 56px;
  max-width: 1300px;
  width: 100%;
  padding: 0 60px;
}

.hero-left {
  flex: 1;
  min-width: 0;
  opacity: 0;
  animation: fadeUp 1s ease 0.5s forwards;
}

.hero-right {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---- HERO LEFT TEXT ELEMENTS ---- */
.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 20px;
  opacity: 0.9;
}

.hero-h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.6vw, 3.4rem);
  font-weight: 800;
  color: var(--text);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero-h2 {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: rgba(245, 240, 232, 0.72);
  font-weight: 400;
  line-height: 1.8;
  margin-bottom: 22px;
}

.hero-para {
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.85;
  margin-bottom: 28px;
}

.hero-bullets {
  list-style: none;
  margin-bottom: 36px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-bullets li {
  font-size: 0.88rem;
  color: var(--text-dim);
  padding-left: 18px;
  position: relative;
  line-height: 1.6;
}

.hero-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.hero-cta-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.hero-sub-text {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  font-family: var(--font-mono);
}

/* Card role descriptor (small gold text above card name) */
.card-role-desc {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 5px;
  opacity: 0.85;
  line-height: 1.4;
}

/* ---- ORBIT SYSTEM ---- */
.orbit-system {
  position: relative;
  width: min(580px, 90vw);
  height: min(580px, 90vw);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Stationary outer ring */
.orbit-outer-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(201, 168, 76, 0.38);
  pointer-events: none;
  z-index: 2;
  box-shadow:
    0 0 28px rgba(201, 168, 76, 0.1),
    inset 0 0 28px rgba(201, 168, 76, 0.04);
}

/* Cardinal dot markers — champagne gold */
.orbit-outer-ring::before,
.orbit-outer-ring::after {
  content: '';
  position: absolute;
  background: var(--accent);
  border-radius: 50%;
}

/* Top & bottom dots */
.orbit-outer-ring::before {
  width: 6px;
  height: 6px;
  top: -3px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow:
    0 0 10px var(--accent-glow),
    0 calc(min(580px, 90vw) - 3px) 0 0 var(--accent),
    0 calc(min(580px, 90vw) - 3px) 10px 0 var(--accent-glow);
}

/* Left & right dots */
.orbit-outer-ring::after {
  width: 6px;
  height: 6px;
  top: 50%;
  left: -3px;
  transform: translateY(-50%);
  box-shadow:
    0 0 10px var(--accent-glow),
    calc(min(580px, 90vw) - 3px) 0 0 0 var(--accent),
    calc(min(580px, 90vw) - 3px) 0 10px 0 var(--accent-glow);
}

.orbit-center {
  position: absolute;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  pointer-events: none;
}

.orbit-center-glow {
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.14) 0%, transparent 70%);
  animation: centerPulse 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes centerPulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50%       { opacity: 1;   transform: scale(1.25); }
}

.orbit-wordmark {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2.4vw, 1.7rem);
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  text-shadow:
    0 0 40px rgba(201, 168, 76, 0.4),
    0 0 90px rgba(201, 168, 76, 0.15);
  position: relative;
  z-index: 1;
  line-height: 1.2;
  text-align: center;
  max-width: 160px;
}

.orbit-ring-wrapper {
  position: absolute;
  inset: 0;
}

.orbit-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Each orbit icon positioned on the circle circumference */
.orbit-icon {
  position: absolute;
  --radius: calc(min(580px, 90vw) * 0.5 * 0.695);
  top: 50%;
  left: 50%;
  transform:
    translate(-50%, -50%)
    rotate(var(--angle))
    translateX(var(--radius))
    rotate(calc(-1 * var(--angle)));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  z-index: 5;
}

/* 137px circles — 30% larger than original 105px */
.orbit-icon-inner {
  width: 137px;
  height: 137px;
  border-radius: 50%;
  border: 1.5px solid rgba(201, 168, 76, 0.45);
  background: rgba(13, 13, 18, 0.88);
  backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
  box-shadow:
    0 0 22px rgba(201, 168, 76, 0.18),
    inset 0 0 20px rgba(201, 168, 76, 0.04);
}

/* 45px icons — same as Plasma Rift */
.orbit-icon-inner svg {
  width: 45px;
  height: 45px;
  color: rgba(201, 168, 76, 0.7);
  transition: color var(--transition), filter var(--transition);
}

/* Primary label — functional role */
.orbit-label {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color var(--transition), text-shadow var(--transition);
  white-space: nowrap;
  text-align: center;
  line-height: 1.2;
}

/* Secondary label — personal name */
.orbit-sublabel {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.82rem;
  color: var(--text-muted);
  letter-spacing: 0.03em;
  transition: color var(--transition);
  white-space: nowrap;
  text-align: center;
  line-height: 1.2;
  display: block;
  opacity: 0.8;
}

/* Hover / hovered state */
.orbit-icon:hover .orbit-icon-inner,
.orbit-icon.hovered .orbit-icon-inner {
  border-color: var(--accent);
  background: rgba(201, 168, 76, 0.07);
  box-shadow:
    0 0 40px var(--accent-glow),
    0 0 100px rgba(201, 168, 76, 0.14),
    inset 0 0 30px rgba(201, 168, 76, 0.05);
}

.orbit-icon:hover .orbit-icon-inner svg,
.orbit-icon.hovered .orbit-icon-inner svg {
  color: var(--accent);
  filter: drop-shadow(0 0 8px var(--accent-glow));
}

.orbit-icon:hover .orbit-label,
.orbit-icon.hovered .orbit-label {
  color: var(--accent);
  text-shadow: 0 0 14px var(--accent-glow);
}

.orbit-icon:hover .orbit-sublabel,
.orbit-icon.hovered .orbit-sublabel {
  color: var(--text-dim);
  opacity: 1;
}

/* ---- HERO BELOW ---- */
.hero-below {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
  opacity: 0;
  animation: fadeUp 1s ease 0.8s forwards;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-tagline {
  font-family: var(--font-sans);
  font-size: clamp(0.8rem, 2vw, 0.9rem);
  color: var(--text-dim);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 400;
}

.hero-cta {
  animation: fadeUp 1s ease 1.1s both;
}

/* ---- SECTIONS ---- */
.section {
  padding: clamp(80px, 10vw, 140px) 24px;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-inner.narrow {
  max-width: 760px;
}

/* Reveal animation base state */
.reveal-el {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.85s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.85s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-el.visible {
  opacity: 1;
  transform: translateY(0);
}

.section-divider {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
  margin-bottom: 40px;
  opacity: 0.55;
}

.section-headline {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 28px;
}

.section-headline.centered {
  text-align: center;
}

.section-subhead {
  font-size: 1rem;
  color: var(--text-dim);
  letter-spacing: 0.04em;
  margin-bottom: 56px;
  font-family: var(--font-serif);
  font-style: italic;
}

.section-subhead.centered {
  text-align: center;
}

.section-body {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--text-dim);
  line-height: 1.85;
  margin-bottom: 20px;
}

.accent-line {
  color: var(--text);
  font-weight: 500;
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  line-height: 1.6;
  padding-left: 20px;
  border-left: 2px solid var(--accent);
  margin-top: 32px;
}

/* ---- PROBLEM SECTION ---- */
.problem-section {
  background: var(--bg);
}

/* ---- SOLUTION SECTION ---- */
.solution-section {
  background: linear-gradient(180deg, var(--bg) 0%, #111018 100%);
}

.solution-supporting {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
  color: var(--accent);
  opacity: 0.85;
  margin-top: 32px;
  letter-spacing: 0.01em;
}

/* ---- AVATARS SECTION ---- */
.avatars-section {
  background: var(--bg-mid);
}

.avatars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 16px;
}

.avatar-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  opacity: 0;
  transform: translateY(40px);
}

.avatar-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.avatar-card:hover {
  transform: translateY(-6px) scale(1.01);
  border-color: rgba(201, 168, 76, 0.35);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(201, 168, 76, 0.08);
}

.avatar-card:hover .card-glow {
  opacity: 1;
}

.card-glow {
  position: absolute;
  top: -60px;
  right: -60px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.07) 0%, transparent 70%);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}

.card-header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--border);
  background: rgba(201, 168, 76, 0.05);
}

.card-icon svg {
  width: 24px;
  height: 24px;
}

.max-icon   { color: #93c5fd; border-color: rgba(147, 197, 253, 0.2); background: rgba(147, 197, 253, 0.05); }
.devon-icon { color: #6ee7b7; border-color: rgba(110, 231, 183, 0.2); background: rgba(110, 231, 183, 0.05); }
.sarah-icon { color: #fda4af; border-color: rgba(253, 164, 175, 0.2); background: rgba(253, 164, 175, 0.05); }
.guide-icon { color: var(--accent); border-color: var(--border-hover); background: rgba(201, 168, 76, 0.06); }

/* Functional role = primary */
.card-role {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text);
  display: block;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

/* Personal name = secondary */
.card-name {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.4;
  margin-top: 3px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card-tagline {
  font-size: 0.9rem;
  color: var(--accent);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.55;
  font-family: var(--font-serif);
  font-style: italic;
}

.card-desc {
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.75;
  flex-grow: 1;
}

/* ---- WHY SECTION ---- */
.why-section {
  background: var(--bg);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  margin-top: 60px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.why-item {
  display: flex;
  gap: 24px;
  padding: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: background var(--transition);
}

.why-item:hover {
  background: rgba(201, 168, 76, 0.03);
}

.why-number {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent);
  opacity: 0.55;
  letter-spacing: 0.1em;
  flex-shrink: 0;
  padding-top: 4px;
}

.why-content h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.why-content p {
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.75;
}

/* ---- CTA SECTION ---- */
.cta-section {
  background: linear-gradient(180deg, var(--bg) 0%, #090910 100%);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(201, 168, 76, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.cta-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0 24px;
}

.cta-headline {
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
  font-weight: 800;
  line-height: 1.05;
  color: var(--text);
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.cta-headline em {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--accent);
  font-weight: 400;
  letter-spacing: 0;
}

.cta-sub {
  font-size: 1.05rem;
  color: var(--text-dim);
  margin-bottom: 40px;
  line-height: 1.7;
}

.cta-free {
  margin-top: 20px;
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.07em;
  font-family: var(--font-mono);
}

/* ---- FOOTER ---- */
.footer {
  background: #080810;
  border-top: 1px solid var(--border);
  padding: 60px 24px 40px;
}

.footer-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.footer-top {
  text-align: center;
  margin-bottom: 40px;
}

.footer-wordmark {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  line-height: 1;
}

.footer-tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  font-family: var(--font-serif);
  font-style: italic;
}

.footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
}

.footer-nav a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.85rem;
  padding: 6px 14px;
  border-radius: 100px;
  transition: color var(--transition), background var(--transition);
}

.footer-nav a:hover {
  color: var(--accent);
  background: rgba(201, 168, 76, 0.06);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-legal a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.78rem;
  transition: color var(--transition);
}

.footer-legal a:hover {
  color: var(--text-dim);
}

.footer-divider {
  color: var(--text-muted);
  font-size: 0.78rem;
}

.footer-credit {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}

/* ---- REVEAL STAGGER DELAYS ---- */
.avatars-grid .reveal-card:nth-child(1) { transition-delay: 0s; }
.avatars-grid .reveal-card:nth-child(2) { transition-delay: 0.1s; }
.avatars-grid .reveal-card:nth-child(3) { transition-delay: 0.2s; }
.avatars-grid .reveal-card:nth-child(4) { transition-delay: 0.3s; }

.why-item:nth-child(1) { transition-delay: 0s; }
.why-item:nth-child(2) { transition-delay: 0.08s; }
.why-item:nth-child(3) { transition-delay: 0.16s; }
.why-item:nth-child(4) { transition-delay: 0.24s; }

/* ---- RESPONSIVE ---- */
@media (max-width: 960px) {
  /* Hero: allow height to grow when stacked */
  .hero {
    height: auto;
    min-height: 100dvh;
    padding-top: 100px;
    padding-bottom: 60px;
  }

  /* Hero split: stack vertically, text on top, circle below */
  .hero-split {
    flex-direction: column;
    padding: 0 24px;
    text-align: center;
    gap: 40px;
  }

  .hero-left {
    width: 100%;
    flex: none;
  }

  .hero-right {
    width: 100%;
    flex: none;
  }

  .hero-cta-wrap {
    align-items: center;
  }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  .navbar {
    top: 0;
  }

  .avatars-grid {
    grid-template-columns: 1fr;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .why-item {
    padding: 28px 24px;
  }

  .avatar-card {
    padding: 28px;
  }

  .orbit-system {
    width: min(380px, 92vw);
    height: min(380px, 92vw);
  }

  .orbit-icon {
    --radius: calc(min(380px, 92vw) * 0.5 * 0.695);
  }

  .orbit-icon-inner {
    width: 94px;
    height: 94px;
  }

  .orbit-icon-inner svg {
    width: 39px;
    height: 39px;
  }

  .orbit-outer-ring::before {
    box-shadow:
      0 0 10px var(--accent-glow),
      0 calc(min(380px, 92vw) - 3px) 0 0 var(--accent),
      0 calc(min(380px, 92vw) - 3px) 10px 0 var(--accent-glow);
  }

  .orbit-outer-ring::after {
    box-shadow:
      0 0 10px var(--accent-glow),
      calc(min(380px, 92vw) - 3px) 0 0 0 var(--accent),
      calc(min(380px, 92vw) - 3px) 0 10px 0 var(--accent-glow);
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .hero-h1 {
    font-size: clamp(1.8rem, 5.5vw, 2.4rem);
  }
}

@media (max-width: 480px) {
  .section { padding: 64px 20px; }
  .hero-content { gap: 32px; }
  .cta-headline { font-size: 2.2rem; }

  .orbit-icon-inner {
    width: 78px;
    height: 78px;
  }

  .orbit-icon-inner svg {
    width: 31px;
    height: 31px;
  }

  .orbit-label { font-size: 0.68rem; }
  .orbit-sublabel { font-size: 0.72rem; }
}

/* ============================================================
   AVATAR DETAIL PAGES  (max.html / devon.html / sarah.html / guide.html)
   ============================================================ */

/* ---- AVATAR HERO ---- */
.avatar-hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 140px 24px 80px;
  overflow: hidden;
  background: radial-gradient(ellipse 80% 60% at 50% 38%, #1c1a10 0%, #0d0d12 65%);
}

.avatar-hero-particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.avatar-hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 40% at 50% 44%, rgba(201, 168, 76, 0.06) 0%, transparent 65%),
    radial-gradient(ellipse 30% 25% at 50% 44%, rgba(201, 168, 76, 0.04) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.avatar-hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  text-align: center;
}

/* ---- ORBIT PHOTO (index.html — Max icon) ---- */
.orbit-icon-photo {
  padding: 0;
  overflow: hidden;
}

.orbit-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 50%;
  display: block;
}

/* ---- AVATAR HERO PORTRAIT (max.html) ---- */
.avatar-hero-portrait {
  position: relative;
  width: 220px;
  height: 220px;
  flex-shrink: 0;
}

.avatar-portrait-ring {
  position: absolute;
  inset: -18px;
  border-radius: 50%;
  border: 2px dashed rgba(201, 168, 76, 0.6);
  animation: portraitRingSpin 12s linear infinite reverse;
  pointer-events: none;
}

.avatar-portrait-ring::after {
  content: '';
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  box-shadow:
    0 0 40px rgba(201, 168, 76, 0.15),
    0 0 80px rgba(201, 168, 76, 0.06);
  animation: avatarIconPulse 4s ease-in-out infinite;
}

@keyframes portraitRingSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.avatar-portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 50%;
  display: block;
  border: 3px solid rgba(201, 168, 76, 0.25);
}

/* Large icon on avatar page */
.avatar-hero-icon {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 1.5px solid rgba(201, 168, 76, 0.45);
  background: rgba(13, 13, 18, 0.88);
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 0 40px rgba(201, 168, 76, 0.2),
    inset 0 0 30px rgba(201, 168, 76, 0.05);
  animation: avatarIconPulse 4s ease-in-out infinite;
}

@keyframes avatarIconPulse {
  0%, 100% { box-shadow: 0 0 40px rgba(201, 168, 76, 0.2), inset 0 0 30px rgba(201, 168, 76, 0.05); }
  50%       { box-shadow: 0 0 70px rgba(201, 168, 76, 0.38), inset 0 0 40px rgba(201, 168, 76, 0.1); }
}

.avatar-hero-icon svg {
  width: 52px;
  height: 52px;
  color: var(--accent);
}

.avatar-hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.8;
}

/* Primary: functional role (The Thinker, The Coach, etc.) */
.avatar-hero-name {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--text);
  text-shadow:
    0 0 60px rgba(201, 168, 76, 0.25),
    0 0 120px rgba(201, 168, 76, 0.1);
}

/* Secondary: personal name (Max, Devon, Sarah, etc.) */
.avatar-hero-role {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: var(--text-dim);
  font-weight: 400;
  opacity: 0.75;
  letter-spacing: 0.03em;
  margin-top: 6px;
}

.avatar-hero-tagline {
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  color: var(--text-dim);
  line-height: 1.7;
  max-width: 620px;
}

.avatar-hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ---- AVATAR ABOUT SECTION ---- */
.avatar-about {
  background: var(--bg);
  padding: clamp(80px, 10vw, 140px) 24px;
}

.avatar-about-inner {
  max-width: 780px;
  margin: 0 auto;
}

.avatar-about-inner .section-divider {
  margin-bottom: 48px;
}

.avatar-about-lead {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  color: var(--text);
  line-height: 1.65;
  margin-bottom: 32px;
  font-style: italic;
}

/* ---- AVATAR FEATURES SECTION ---- */
.avatar-features {
  background: var(--bg-mid);
  padding: clamp(80px, 10vw, 140px) 24px;
}

.avatar-features-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.avatar-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.avatar-feature-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.avatar-feature-item:hover {
  border-color: rgba(201, 168, 76, 0.3);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 24px rgba(201, 168, 76, 0.06);
  transform: translateY(-4px);
}

.avatar-feature-number {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--accent);
  opacity: 0.55;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
}

.avatar-feature-item h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.avatar-feature-item p {
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.75;
}

/* ---- AVATAR CTA SECTION ---- */
.avatar-cta {
  background: linear-gradient(180deg, var(--bg) 0%, #090910 100%);
  position: relative;
  overflow: hidden;
  padding: clamp(80px, 12vw, 160px) 24px;
}

.avatar-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(201, 168, 76, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.avatar-cta-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.avatar-cta-inner .cta-headline {
  margin-bottom: 20px;
}

.avatar-cta-inner .cta-sub {
  margin-bottom: 40px;
}

/* ---- BACK LINK ---- */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.85rem;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  transition: color var(--transition);
  padding: 8px 0;
}

.back-link:hover {
  color: var(--accent);
}

.back-link svg {
  width: 14px;
  height: 14px;
  transition: transform var(--transition);
}

.back-link:hover svg {
  transform: translateX(-3px);
}

/* ---- NAV ACTIVE STATE (avatar pages) ---- */
.nav-links a.nav-active {
  color: var(--accent);
}

/* ---- AVATAR PAGE RESPONSIVE ---- */
@media (max-width: 768px) {
  .avatar-features-grid {
    grid-template-columns: 1fr;
  }

  .avatar-hero-icon {
    width: 90px;
    height: 90px;
  }

  .avatar-hero-icon svg {
    width: 40px;
    height: 40px;
  }

  .avatar-hero-portrait {
    width: 160px;
    height: 160px;
  }
}

@media (max-width: 480px) {
  .avatar-hero {
    padding: 120px 20px 60px;
  }

  .avatar-features-grid {
    grid-template-columns: 1fr;
  }
}
