/* ============================================
   Landing page — specific styles
   ============================================ */

/* ----- Hero ----- */
.hero {
  position: relative;
  padding: clamp(72px, 10vh, 120px) 0 clamp(80px, 12vh, 140px);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  width: 720px;
  height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--orange-glow) 0%, transparent 60%);
  opacity: 0.35;
  filter: blur(40px);
  top: -200px;
  right: -100px;
  animation: glow-drift 18s var(--ease-in-out) infinite alternate;
}

.hero-glow.two {
  top: auto;
  right: auto;
  bottom: -200px;
  left: -100px;
  opacity: 0.22;
  animation-duration: 24s;
  animation-direction: alternate-reverse;
}

@keyframes glow-drift {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-60px, 40px) scale(1.15); }
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--grid) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 70% 50% at 50% 40%, black 30%, transparent 80%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}

@media (max-width: 920px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

.hero-copy { max-width: 540px; }

.hero-eyebrow {
  background: rgba(232, 122, 78, 0.08);
  padding: 6px 14px;
  border-radius: var(--r-pill);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(44px, 6vw, 88px);
  line-height: 1;
  letter-spacing: -0.025em;
  font-weight: 400;
  margin: 0 0 28px;
  color: var(--ink);
  text-wrap: balance;
}

.hero-title .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  animation: word-in 900ms var(--ease-out) forwards;
}

.hero-title .word:nth-child(1) { animation-delay: 100ms; }
.hero-title .word:nth-child(2) { animation-delay: 200ms; }
.hero-title .word:nth-child(3) { animation-delay: 300ms; }
.hero-title .word:nth-child(4) { animation-delay: 400ms; }
.hero-title .word:nth-child(5) { animation-delay: 600ms; }

.hero-title .moment {
  font-style: italic;
  color: var(--orange);
  position: relative;
}

.hero-title .moment::after {
  content: "";
  position: absolute;
  left: 0;
  right: 8px;
  bottom: 6px;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  animation: underline-draw 900ms var(--ease-out) 1.1s forwards;
}

@keyframes word-in {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes underline-draw {
  to { transform: scaleX(1); }
}

.hero-lead {
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.6;
  color: var(--ink-muted);
  margin: 0 0 36px;
  max-width: 48ch;
  text-wrap: pretty;
  opacity: 0;
  animation: word-in 800ms var(--ease-out) 700ms forwards;
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  opacity: 0;
  animation: word-in 800ms var(--ease-out) 900ms forwards;
}

/* ----- Hero mock: roadmap ----- */
.hero-mock {
  position: relative;
  opacity: 1;
  animation: mock-in 1000ms var(--ease-out) 600ms forwards;
}

@keyframes mock-in {
  to { opacity: 1; }
}

.roadmap {
  position: relative;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--rule);
  border-radius: var(--r-xl);
  padding: 28px;
  box-shadow: var(--shadow-lg);
}

[data-mode="dark"] .roadmap {
  background: rgba(42, 24, 16, 0.6);
  border-color: var(--night-rule);
}

.roadmap-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--rule);
}

.roadmap-label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-fade);
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.roadmap-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
}

.roadmap-status::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 8px var(--orange);
  animation: pulse-dot 1.8s var(--ease-in-out) infinite;
}

.roadmap-track {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.roadmap-spine {
  position: absolute;
  left: 17px;
  top: 28px;
  bottom: 28px;
  width: 2px;
  background: var(--rule);
  z-index: 0;
}

.roadmap-spine::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 30%;
  background: linear-gradient(to bottom, var(--orange), transparent);
  animation: spine-travel 4s var(--ease-in-out) infinite;
}

@keyframes spine-travel {
  0% { top: -30%; opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

.milestone {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px 14px 14px;
  background: white;
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  z-index: 1;
  transition: border-color 400ms, transform 400ms var(--ease-out), box-shadow 400ms;
}

[data-mode="dark"] .milestone {
  background: var(--night-card);
  border-color: var(--night-rule);
}

.milestone-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--rule);
  transition: background 300ms, box-shadow 300ms;
}

.milestone.done .milestone-dot {
  background: #81c995;
}

.milestone.active {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(232, 122, 78, 0.08), 0 8px 20px rgba(232, 122, 78, 0.08);
}

.milestone.active .milestone-dot {
  background: var(--orange);
  box-shadow: 0 0 0 3px rgba(232, 122, 78, 0.2);
  animation: milestone-pulse 2s var(--ease-in-out) infinite;
}

@keyframes milestone-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(232, 122, 78, 0.2), 0 0 10px var(--orange); }
  50% { box-shadow: 0 0 0 6px rgba(232, 122, 78, 0.08), 0 0 18px var(--orange); }
}

.milestone-body { flex: 1; min-width: 0; }

.milestone-title {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
  line-height: 1.3;
}

.milestone-meta {
  font-size: 12.5px;
  color: var(--ink-muted);
  margin: 2px 0 0;
  line-height: 1.3;
}

.milestone.active .milestone-meta { color: var(--orange); }

.milestone-badge {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  font-weight: 500;
}

.badge-done {
  background: rgba(129, 201, 149, 0.15);
  color: #4a8058;
}

.badge-now {
  background: rgba(232, 122, 78, 0.15);
  color: var(--orange-deep);
}

.badge-soon {
  background: var(--cream-deep);
  color: var(--ink-fade);
}

[data-mode="dark"] .badge-soon {
  background: rgba(245, 236, 223, 0.1);
  color: var(--ink-muted);
}

/* Floating annotation ticks around roadmap */
.roadmap-anno {
  position: absolute;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--ink-fade);
  opacity: 0;
  animation: anno-in 1.2s var(--ease-out) forwards;
}

.roadmap-anno.top {
  top: -24px;
  left: 20px;
  animation-delay: 1.4s;
}

.roadmap-anno.right {
  top: 35%;
  right: -14%;
  writing-mode: vertical-rl;
  animation-delay: 1.6s;
}

@media (max-width: 1100px) {
  .roadmap-anno.right { display: none; }
}

.roadmap-anno.bottom {
  bottom: -24px;
  right: 20px;
  animation-delay: 1.8s;
}

@keyframes anno-in {
  to { opacity: 1; }
}

/* ----- Problem section (dark) ----- */
.problem {
  background: #1A100B;
  color: var(--cream);
  position: relative;
  overflow: hidden;
}

.problem-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.4;
}

.problem-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 15% 20%, rgba(232, 122, 78, 0.12), transparent 60%),
    radial-gradient(ellipse 70% 50% at 85% 80%, rgba(232, 122, 78, 0.08), transparent 60%);
}

.problem-bg svg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  opacity: 0.15;
}

.problem-copy {
  max-width: 720px;
  margin-bottom: 56px;
  position: relative;
  z-index: 1;
}

.problem-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  position: relative;
  z-index: 1;
}

@media (max-width: 760px) {
  .problem-cards { grid-template-columns: 1fr; }
}

.problem-card {
  background: rgba(250, 245, 239, 0.04);
  border: 1px solid rgba(250, 245, 239, 0.08);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: background 300ms, border-color 300ms, transform 300ms var(--ease-out);
  position: relative;
  overflow: hidden;
}

.problem-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(400px circle at var(--mx, -100px) var(--my, -100px),
    rgba(232, 122, 78, 0.12), transparent 60%);
  opacity: 0;
  transition: opacity 400ms;
  pointer-events: none;
}

.problem-card:hover {
  background: rgba(250, 245, 239, 0.06);
  border-color: rgba(232, 122, 78, 0.3);
  transform: translateY(-2px);
}

.problem-card:hover::before { opacity: 1; }

.problem-card h3 {
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 12px;
  color: var(--cream);
}

.problem-card p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(250, 245, 239, 0.7);
}

.problem-card-index {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: rgba(232, 122, 78, 0.8);
  margin-bottom: 20px;
  display: block;
}

/* ----- Stat section ----- */
.stat-section {
  padding: var(--s-10) 0;
  text-align: center;
  position: relative;
}

.stat-section .container-narrow {
  max-width: 720px;
}

.stat-number {
  font-family: var(--serif);
  font-size: clamp(96px, 14vw, 180px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--orange);
  font-weight: 400;
  display: inline-block;
  position: relative;
}

.stat-number::after {
  content: "";
  position: absolute;
  inset: -20px -40px;
  background: radial-gradient(circle, var(--orange-glow) 0%, transparent 65%);
  opacity: 0.25;
  z-index: -1;
  filter: blur(20px);
}

.stat-caption {
  font-family: var(--serif);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.5;
  color: var(--ink-muted);
  max-width: 48ch;
  margin: 24px auto 0;
  text-wrap: balance;
}

/* ----- How it works section ----- */
.how-section {
  padding: var(--s-10) 0;
  position: relative;
}

.section-header {
  max-width: 640px;
  margin-bottom: 64px;
}

.section-header .eyebrow { margin-bottom: 20px; }

.section-header .h1 { margin: 0 0 20px; }

.section-header .lead { margin: 0; }

.step-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  position: relative;
}

@media (max-width: 860px) {
  .step-grid { grid-template-columns: 1fr; }
}

.step-card {
  padding: 32px;
  position: relative;
}

.step-num {
  font-family: var(--serif);
  font-size: 52px;
  font-weight: 400;
  color: var(--orange-glow);
  line-height: 1;
  margin-bottom: 32px;
  display: block;
  transition: color 300ms, transform 300ms var(--ease-out);
}

.step-card:hover .step-num {
  color: var(--orange);
  transform: translateY(-2px);
}

.step-card h3 {
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 12px;
  color: var(--ink);
}

.step-card p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-muted);
}

.step-connector {
  position: absolute;
  top: 50%;
  right: -10px;
  width: 20px;
  height: 1px;
  background: var(--rule);
  z-index: 1;
}

@media (max-width: 860px) { .step-connector { display: none; } }

/* ----- Who it's for ----- */
.roles-section {
  padding: var(--s-10) 0;
  background: var(--cream-soft);
  position: relative;
  overflow: hidden;
}

[data-mode="dark"] .roles-section { background: #1E120E; }

.roles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 860px) {
  .roles-grid { grid-template-columns: 1fr; }
}

.role-card .mono {
  color: var(--orange);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 20px;
}

.role-card h3 {
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 12px;
  color: var(--ink);
}

.role-card p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-muted);
}

/* =========================================================
   THESIS BAND — dark interstitial between hero & vision
   ========================================================= */
.thesis-band {
  position: relative;
  padding: clamp(56px, 8vw, 88px) 0;
  background: #18100C;
  color: var(--cream);
  overflow: hidden;
  isolation: isolate;
}

/* warm radial glow top-right and faint orange wash */
.thesis-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 85% 0%, rgba(232,122,78,0.18), transparent 60%),
    radial-gradient(ellipse 70% 60% at 10% 100%, rgba(232,122,78,0.08), transparent 60%);
  pointer-events: none;
  z-index: -1;
}

/* vertical light lines drifting across — very subtle */
.thesis-bg-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.5;
}

.thesis-bg-lines span {
  position: absolute;
  top: -20%;
  width: 1px;
  height: 140%;
  background: linear-gradient(180deg, transparent 0%, rgba(232,122,78,0.28) 40%, rgba(232,122,78,0.28) 60%, transparent 100%);
  animation: thesisLineDrift 11s ease-in-out infinite;
}

.thesis-bg-lines span:nth-child(1) { left: 12%; animation-delay: -0s;   }
.thesis-bg-lines span:nth-child(2) { left: 28%; animation-delay: -2.2s; opacity: 0.4; }
.thesis-bg-lines span:nth-child(3) { left: 50%; animation-delay: -4.4s; opacity: 0.3; }
.thesis-bg-lines span:nth-child(4) { left: 72%; animation-delay: -6.6s; opacity: 0.5; }
.thesis-bg-lines span:nth-child(5) { left: 88%; animation-delay: -8.8s; opacity: 0.4; }

@keyframes thesisLineDrift {
  0%, 100% { transform: translateY(0) scaleY(1); opacity: 0.3; }
  50%      { transform: translateY(-30px) scaleY(1.05); opacity: 0.7; }
}

.thesis-inner {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

/* Kicker pill */
.thesis-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px 7px 14px;
  border-radius: 99px;
  background: rgba(232,122,78,0.12);
  border: 1px solid rgba(232,122,78,0.28);
  margin-bottom: 28px;
}

.thesis-kicker .mono {
  color: #F4B896;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.thesis-kicker-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 8px rgba(232,122,78,0.8);
  animation: thesisDotPulse 2s ease-in-out infinite;
}

@keyframes thesisDotPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.3); opacity: 0.75; }
}

/* Thesis line — words reveal in sequence as section enters viewport */
.thesis-line {
  font-family: var(--serif);
  font-size: clamp(26px, 4.2vw, 48px);
  font-weight: 300;
  line-height: 1.22;
  letter-spacing: -0.015em;
  margin: 0 0 48px;
  color: var(--cream);
  text-wrap: balance;
}

.thesis-em {
  font-style: italic;
  color: #F4A77B;
  font-weight: 300;
}

.thesis-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 600ms cubic-bezier(.2,.7,.2,1),
              transform 600ms cubic-bezier(.2,.7,.2,1);
  margin-right: 0.28em;
}

.thesis-band.is-in .thesis-word {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered entry — one transition-delay per word */
.thesis-band.is-in .thesis-word:nth-child(1)  { transition-delay:  40ms; }
.thesis-band.is-in .thesis-word:nth-child(2)  { transition-delay:  90ms; }
.thesis-band.is-in .thesis-word:nth-child(3)  { transition-delay: 140ms; }
.thesis-band.is-in .thesis-word:nth-child(4)  { transition-delay: 190ms; }
.thesis-band.is-in .thesis-word:nth-child(5)  { transition-delay: 240ms; }
.thesis-band.is-in .thesis-word:nth-child(6)  { transition-delay: 290ms; }
.thesis-band.is-in .thesis-word:nth-child(7)  { transition-delay: 340ms; }
.thesis-band.is-in .thesis-word:nth-child(8)  { transition-delay: 390ms; }
.thesis-band.is-in .thesis-word:nth-child(9)  { transition-delay: 440ms; }
.thesis-band.is-in .thesis-word:nth-child(10) { transition-delay: 490ms; }
.thesis-band.is-in .thesis-em .thesis-word:nth-child(1)  { transition-delay:  640ms; }
.thesis-band.is-in .thesis-em .thesis-word:nth-child(2)  { transition-delay:  690ms; }
.thesis-band.is-in .thesis-em .thesis-word:nth-child(3)  { transition-delay:  740ms; }
.thesis-band.is-in .thesis-em .thesis-word:nth-child(4)  { transition-delay:  790ms; }
.thesis-band.is-in .thesis-em .thesis-word:nth-child(5)  { transition-delay:  840ms; }
.thesis-band.is-in .thesis-em .thesis-word:nth-child(6)  { transition-delay:  890ms; }
.thesis-band.is-in .thesis-em .thesis-word:nth-child(7)  { transition-delay:  940ms; }
.thesis-band.is-in .thesis-em .thesis-word:nth-child(8)  { transition-delay:  990ms; }
.thesis-band.is-in .thesis-em .thesis-word:nth-child(9)  { transition-delay: 1040ms; }
.thesis-band.is-in .thesis-em .thesis-word:nth-child(10) { transition-delay: 1090ms; }

/* Roles row */
.thesis-roles {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  padding-top: 32px;
  border-top: 1px solid rgba(250,245,239,0.1);
  max-width: 520px;
  margin: 0 auto;
}

.thesis-role {
  flex: 1;
  min-width: 140px;
  padding: 8px 24px;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 700ms cubic-bezier(.2,.7,.2,1),
              transform 700ms cubic-bezier(.2,.7,.2,1);
}

.thesis-band.is-in .thesis-role { opacity: 1; transform: translateY(0); }
.thesis-band.is-in .thesis-role:nth-child(1) { transition-delay: 1250ms; }
.thesis-band.is-in .thesis-role:nth-child(3) { transition-delay: 1380ms; }

.thesis-divider {
  width: 1px;
  background: rgba(250,245,239,0.1);
  align-self: stretch;
  opacity: 0;
  transition: opacity 600ms ease 1500ms;
}

.thesis-band.is-in .thesis-divider { opacity: 1; }

@media (max-width: 700px) {
  .thesis-roles { flex-direction: column; gap: 24px; padding-top: 28px; }
  .thesis-divider { display: none; }
  .thesis-role { padding: 12px 0; }
}

.thesis-role-num {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--orange);
  margin-bottom: 10px;
}

.thesis-role-name {
  display: block;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.thesis-role-meta {
  display: block;
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 400;
  color: rgba(250,245,239,0.55);
  letter-spacing: 0.01em;
}

@media (prefers-reduced-motion: reduce) {
  .thesis-word,
  .thesis-role,
  .thesis-divider {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .thesis-bg-lines span,
  .thesis-kicker-dot { animation: none !important; }
}

[data-motion="off"] .thesis-word,
[data-motion="off"] .thesis-role,
[data-motion="off"] .thesis-divider {
  opacity: 1 !important;
  transform: none !important;
}

[data-motion="off"] .thesis-bg-lines span,
[data-motion="off"] .thesis-kicker-dot { animation: none !important; }

/* =========================================================
   VISION SECTION — "Built for behavioral health. With everyone in mind."
   ========================================================= */
.vision-section {
  padding: var(--s-10) 0 calc(var(--s-10) + 20px);
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--cream) 0%, #F5EADF 100%);
}

[data-mode="dark"] .vision-section {
  background: linear-gradient(180deg, #1A100C 0%, #241510 100%);
}

/* Ambient orbs — slow parallax + scroll-driven Y offset via --scroll-y */
.vision-bg-orb {
  position: absolute;
  width: 640px; height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,122,78,0.18), rgba(232,122,78,0) 60%);
  top: -180px; left: -220px;
  filter: blur(8px);
  pointer-events: none;
  will-change: transform;
  transform: translate3d(0, var(--scroll-y, 0px), 0);
  animation: visionOrbDrift 18s ease-in-out infinite;
}

.vision-bg-orb.two {
  top: auto;
  left: auto;
  bottom: -260px;
  right: -260px;
  width: 720px; height: 720px;
  background: radial-gradient(circle, rgba(232,122,78,0.12), rgba(42,24,16,0) 60%);
  animation-duration: 26s;
  animation-delay: -6s;
}

@keyframes visionOrbDrift {
  0%, 100% { transform: translate3d(0, var(--scroll-y, 0px), 0) scale(1); }
  50%      { transform: translate3d(40px, calc(var(--scroll-y, 0px) - 30px), 0) scale(1.06); }
}

/* Subtle grain/noise overlay — makes the cream feel like paper, not flat color */
.vision-bg-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.4;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.16, 0 0 0 0 0.09, 0 0 0 0 0.06, 0 0 0 0.5 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.35'/></svg>");
  mix-blend-mode: multiply;
}

[data-mode="dark"] .vision-bg-grain { mix-blend-mode: screen; opacity: 0.2; }

/* Hero headline */
.vision-hero {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.vision-hero .eyebrow {
  display: inline-block;
  margin-bottom: 22px;
}

.vision-hero h2 {
  margin: 0 0 28px;
  font-weight: 300;
  letter-spacing: -0.015em;
  line-height: 1.08;
}

.vision-accent {
  font-style: italic;
  font-weight: 300;
  position: relative;
  white-space: nowrap;
  display: inline-block;
}

/* animated gradient fill on the accent text */
.vision-accent-text {
  background: linear-gradient(
    95deg,
    var(--orange) 0%,
    #F4A77B 35%,
    var(--orange) 70%,
    #D66B3F 100%
  );
  background-size: 240% 100%;
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: visionShimmer 7s ease-in-out infinite;
}

@keyframes visionShimmer {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

/* soft highlight under the accent */
.vision-accent::after {
  content: '';
  position: absolute;
  left: -2px; right: -2px; bottom: 6px;
  height: 10px;
  background: linear-gradient(90deg, rgba(232,122,78,0) 0%, rgba(232,122,78,0.22) 20%, rgba(232,122,78,0.22) 80%, rgba(232,122,78,0) 100%);
  border-radius: 6px;
  z-index: -1;
  transform-origin: left center;
  animation: visionUnderlineSweep 4s ease-in-out infinite;
}

@keyframes visionUnderlineSweep {
  0%, 100% { transform: scaleX(1); opacity: 0.85; }
  50%      { transform: scaleX(1.03); opacity: 1; }
}

.vision-lead {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-muted);
  max-width: 640px;
  margin: 0 auto;
}

/* Why it's needed — kicker */
.vision-why-header {
  margin: 96px 0 32px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.vision-why-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px 7px 14px;
  border-radius: 99px;
  background: rgba(232,122,78,0.08);
  border: 1px solid rgba(232,122,78,0.18);
}

.vision-why-kicker .mono {
  color: var(--orange);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.vision-why-kicker-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 0 rgba(232,122,78,0.5);
  animation: visionKickerPulse 2.2s ease-out infinite;
}

@keyframes visionKickerPulse {
  0%   { box-shadow: 0 0 0 0 rgba(232,122,78,0.55); }
  70%  { box-shadow: 0 0 0 10px rgba(232,122,78,0); }
  100% { box-shadow: 0 0 0 0 rgba(232,122,78,0); }
}

/* Why grid */
.vision-why {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 32px);
  margin: 0 0 120px;
  position: relative;
  z-index: 1;
}

@media (max-width: 860px) {
  .vision-why { grid-template-columns: 1fr; gap: 20px; margin-bottom: 80px; }
}

.vision-why-col {
  padding: 36px 32px 32px;
  border-radius: 20px;
  background: rgba(255,252,247,0.75);
  border: 1px solid rgba(42,24,16,0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: relative;
  transition: transform 500ms cubic-bezier(.2,.7,.2,1),
              border-color 500ms ease,
              box-shadow 500ms ease,
              background 500ms ease;
  overflow: hidden;
}

.vision-why-col::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--orange) 50%, transparent 100%);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 700ms cubic-bezier(.2,.7,.2,1);
}

.vision-why-col:hover {
  transform: translateY(-6px);
  border-color: rgba(232,122,78,0.35);
  background: rgba(255,252,247,0.95);
  box-shadow: 0 24px 48px -24px rgba(42,24,16,0.2),
              0 8px 16px -10px rgba(232,122,78,0.18);
}

.vision-why-col:hover::before { transform: scaleX(1); }

[data-mode="dark"] .vision-why-col {
  background: rgba(42,24,16,0.55);
  border-color: rgba(250,245,239,0.08);
}

[data-mode="dark"] .vision-why-col:hover {
  background: rgba(52,32,22,0.75);
}

/* Numbered ring — draws itself in when the card reveals */
.vision-why-num-wrap {
  position: relative;
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
}

.vision-why-num-ring {
  position: absolute;
  inset: 0;
  width: 44px; height: 44px;
}

.vision-why-num-progress {
  stroke-dasharray: 125.6;   /* 2π·20 */
  stroke-dashoffset: 125.6;
  transition: stroke-dashoffset 1200ms cubic-bezier(.2,.7,.2,1);
}

.reveal-stagger.in .vision-why-num-progress { stroke-dashoffset: 0; }

.vision-why-num {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--orange);
}

.vision-why-col h4 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.008em;
  color: var(--ink);
  margin: 0 0 14px;
  text-wrap: balance;
}

.vision-why-col p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink-muted);
  margin: 0;
}

.vision-why-col p strong {
  color: var(--ink);
  font-weight: 600;
  background: linear-gradient(to bottom, transparent 65%, rgba(232,122,78,0.25) 65%);
  padding: 0 2px;
}

/* Horizon */
.vision-horizon {
  margin-top: 16px;
  position: relative;
  z-index: 1;
}

.vision-horizon-label {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.vision-horizon-label .mono {
  color: var(--ink-muted);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
}

.vision-horizon-sub { opacity: 0.55; }

@media (max-width: 700px) {
  .vision-horizon-sub { display: none; }
}

.vision-horizon-line {
  flex: 1;
  min-width: 40px;
  height: 1px;
  background: linear-gradient(to right, rgba(42,24,16,0.25), rgba(42,24,16,0.02));
}

[data-mode="dark"] .vision-horizon-line {
  background: linear-gradient(to right, rgba(250,245,239,0.25), rgba(250,245,239,0.02));
}

.vision-horizon-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

@media (max-width: 1000px) {
  .vision-horizon-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .vision-horizon-grid { grid-template-columns: 1fr; }
}

.vision-soon {
  padding: 28px 26px 22px;
  border-radius: 16px;
  background: rgba(255,252,247,0.4);
  border: 1px dashed rgba(42,24,16,0.22);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color 400ms ease,
              background 400ms ease,
              transform 400ms cubic-bezier(.2,.7,.2,1),
              box-shadow 400ms ease;
  overflow: hidden;
}

.vision-soon::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: radial-gradient(
    circle at var(--mx, 50%) var(--my, 0%),
    rgba(232,122,78,0.12) 0%,
    rgba(232,122,78,0) 55%
  );
  opacity: 0;
  transition: opacity 400ms ease;
  pointer-events: none;
}

.vision-soon:hover {
  border-style: solid;
  border-color: rgba(232,122,78,0.5);
  background: rgba(255,252,247,0.95);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -20px rgba(232,122,78,0.3);
}

.vision-soon:hover::before { opacity: 1; }

.vision-soon:hover .vision-soon-icon-wrap {
  border-color: rgba(232,122,78,0.6);
  background: var(--orange);
  color: white;
  transform: rotate(-6deg) scale(1.08);
}

.vision-soon:hover .vision-soon-icon { color: white; }
.vision-soon:hover .vision-soon-meta { color: var(--orange); }

[data-mode="dark"] .vision-soon {
  background: rgba(42,24,16,0.35);
  border-color: rgba(250,245,239,0.16);
}

[data-mode="dark"] .vision-soon:hover {
  background: rgba(52,32,22,0.8);
}

/* Icon chip */
.vision-soon-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(232,122,78,0.08);
  border: 1px solid rgba(232,122,78,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  margin-bottom: 18px;
  transition: transform 500ms cubic-bezier(.2,.7,.2,1),
              background 400ms ease,
              border-color 400ms ease,
              color 400ms ease;
  position: relative;
}

.reveal-stagger.in .vision-soon-icon-wrap {
  animation: visionIconBob 3.4s ease-in-out infinite;
}

.reveal-stagger.in .vision-soon:nth-child(2) .vision-soon-icon-wrap { animation-delay: -0.8s; }
.reveal-stagger.in .vision-soon:nth-child(3) .vision-soon-icon-wrap { animation-delay: -1.6s; }
.reveal-stagger.in .vision-soon:nth-child(4) .vision-soon-icon-wrap { animation-delay: -2.4s; }

@keyframes visionIconBob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-3px); }
}

.vision-soon:hover .vision-soon-icon-wrap { animation: none; }

.vision-soon-icon {
  transition: color 400ms ease;
}

.vision-soon-name {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 10px;
}

.vision-soon p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-muted);
  margin: 0 0 20px;
  flex: 1;
}

.vision-soon-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
  opacity: 0.75;
  padding-top: 14px;
  border-top: 1px dashed rgba(42,24,16,0.12);
  transition: color 300ms ease, opacity 300ms ease;
}

[data-mode="dark"] .vision-soon-meta {
  border-top-color: rgba(250,245,239,0.1);
}

.vision-soon-pulse {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 0 rgba(232,122,78,0.45);
  animation: visionSoonPulse 2.6s ease-out infinite;
  flex-shrink: 0;
}

@keyframes visionSoonPulse {
  0%   { box-shadow: 0 0 0 0 rgba(232,122,78,0.55); }
  70%  { box-shadow: 0 0 0 8px rgba(232,122,78,0); }
  100% { box-shadow: 0 0 0 0 rgba(232,122,78,0); }
}

/* Motion opt-out */
[data-motion="off"] .vision-bg-orb,
[data-motion="off"] .vision-accent-text,
[data-motion="off"] .vision-accent::after,
[data-motion="off"] .vision-kicker-dot,
[data-motion="off"] .vision-soon-pulse,
[data-motion="off"] .vision-soon-icon-wrap,
[data-motion="off"] .vision-why-kicker-dot {
  animation: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .vision-bg-orb,
  .vision-accent-text,
  .vision-accent::after,
  .vision-soon-pulse,
  .vision-soon-icon-wrap,
  .vision-why-kicker-dot { animation: none !important; }
}

/* ----- Services (Corva) ----- */
.services-section {
  padding: var(--s-10) 0;
  position: relative;
}

.services-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}

@media (max-width: 860px) {
  .services-inner { grid-template-columns: 1fr; }
}

.services-list {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: flex;
  flex-direction: column;
}

.services-list li {
  padding: 18px 0;
  border-top: 1px solid var(--rule);
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 15px;
  color: var(--ink);
  transition: padding-left 300ms var(--ease-out), color 300ms;
  cursor: default;
}

.services-list li:last-child { border-bottom: 1px solid var(--rule); }

.services-list li:hover {
  padding-left: 8px;
  color: var(--orange-deep);
}

.services-list .arrow {
  color: var(--orange);
  font-size: 14px;
  transition: transform 260ms var(--ease-out);
}

.services-list li:hover .arrow { transform: translateX(4px); }

.corva-card {
  padding: 36px;
  background: white;
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  position: relative;
  overflow: hidden;
}

[data-mode="dark"] .corva-card {
  background: #1E120E;
  border-color: var(--night-rule);
}

.corva-card .mono {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-fade);
  margin-bottom: 8px;
  display: block;
}

.corva-card .corva-name {
  font-family: var(--serif);
  font-size: 26px;
  color: var(--orange);
  margin-bottom: 24px;
  font-style: italic;
}

.corva-card h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.corva-card p {
  margin: 0 0 24px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-muted);
}

/* ----- CTA / waitlist band ----- */
.cta-band {
  background: var(--orange);
  color: white;
  padding: var(--s-10) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(255, 255, 255, 0.15), transparent 55%),
    radial-gradient(ellipse at 80% 70%, rgba(255, 255, 255, 0.1), transparent 55%);
  pointer-events: none;
}

.cta-band-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 30%, transparent 90%);
  pointer-events: none;
}

.cta-band h2 {
  font-family: var(--serif);
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 400;
  margin: 0 0 16px;
  color: white;
  text-wrap: balance;
  position: relative;
}

.cta-band p {
  margin: 0 auto 36px;
  max-width: 52ch;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  position: relative;
}

.cta-form {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--r-pill);
  padding: 4px 4px 4px 20px;
  position: relative;
  transition: background 200ms;
}

.cta-form:focus-within {
  background: rgba(255, 255, 255, 0.2);
}

.cta-form input {
  background: transparent;
  border: none;
  outline: none;
  font-size: 15px;
  color: white;
  padding: 10px 12px;
  width: 280px;
}

.cta-form input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.cta-form button {
  padding: 10px 22px;
  background: var(--ink);
  color: white;
  font-weight: 500;
  font-size: 14px;
  border-radius: var(--r-pill);
  transition: background 200ms, transform 200ms;
}

.cta-form button:hover {
  background: #000;
  transform: translateY(-1px);
}

.cta-band small {
  display: block;
  margin-top: 20px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.65);
  position: relative;
}

@media (max-width: 520px) {
  .cta-form {
    flex-direction: column;
    border-radius: var(--r-lg);
    padding: 12px;
    width: 100%;
    max-width: 340px;
    gap: 8px;
  }
  .cta-form input { width: 100%; padding: 8px 12px; }
  .cta-form button { width: 100%; }
}

/* ----- Hero variants ----- */

/* Signal variant — replaces roadmap with signal waveform visualization */
[data-hero="signal"] .roadmap { display: none; }
[data-hero="signal"] .hero-mock-signal { display: block; }
[data-hero="roadmap"] .hero-mock-signal { display: none; }
[data-hero="roadmap"] .hero-mock-moment { display: none; }
[data-hero="signal"] .hero-mock-moment { display: none; }
[data-hero="moment"] .roadmap { display: none; }
[data-hero="moment"] .hero-mock-signal { display: none; }
[data-hero="moment"] .hero-mock-moment { display: block; }

.hero-mock-signal, .hero-mock-moment { display: none; }
