/* Immersive hero — additional layered effects ───────────────── */
.hero-immersive {
  position: relative;
  min-height: 100vh;
  padding: 0;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  background: radial-gradient(ellipse 100% 60% at 50% 30%, #fafaf7 0%, #efece5 100%);
  transition: transform 0.4s cubic-bezier(.2,.8,.2,1);
}
.hero-immersive__bg {
  position: absolute; inset: 0; z-index: 1;
  pointer-events: none;
}
.hero-immersive__bg canvas { width: 100%; height: 100%; display: block; }

.hero-immersive__grid {
  position: absolute; inset: -8% -6%;
  background-image:
    linear-gradient(to right, rgba(10,10,10,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(10,10,10,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 90%);
  z-index: 0;
  pointer-events: none;
}

.hero-immersive__noise {
  position: absolute; inset: 0; z-index: 5;
  pointer-events: none;
  opacity: 0.5;
  mix-blend-mode: multiply;
  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.95' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.06 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.hero-immersive__vignette {
  position: absolute; inset: 0; z-index: 4;
  pointer-events: none;
  background: radial-gradient(ellipse 80% 70% at 50% 40%, transparent 50%, rgba(10,10,10,0.05) 100%);
}

.hero-immersive__inner {
  position: relative;
  z-index: 6;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 140px 28px 80px;
}

.hero-immersive__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.hero-immersive__status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 10px;
  background: rgba(255,255,252,0.6);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(10,10,10,0.08);
  border-radius: 100px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
}
.hero-immersive__pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: oklch(0.65 0.16 140);
  position: relative;
  box-shadow: 0 0 0 0 oklch(0.65 0.16 140 / .6);
  animation: hero-pulse 2s ease-out infinite;
}
@keyframes hero-pulse {
  0% { box-shadow: 0 0 0 0 oklch(0.65 0.16 140 / 0.6); }
  100% { box-shadow: 0 0 0 12px oklch(0.65 0.16 140 / 0); }
}

.hero-immersive__text {
  flex: 1;
  display: flex;
  align-items: center;
  margin: 60px 0;
  transition: filter 0.1s linear;
}
.hero-immersive__text h1 {
  font-size: clamp(56px, 9vw, 168px);
  line-height: 0.92;
  letter-spacing: -0.06em;
  font-weight: 500;
  max-width: 16ch;
  position: relative;
  z-index: 2;
}
.hero-immersive__text h1 .accent {
  font-style: italic;
  font-family: 'Fraunces', serif;
  font-weight: 300;
  background: linear-gradient(90deg, var(--ink) 0%, oklch(0.55 0.14 40) 60%, oklch(0.45 0.18 25) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-immersive__bottom {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 60px;
  align-items: end;
}
.hero-immersive__bottom .hero__lead {
  text-align: right;
  max-width: 360px;
  margin-left: auto;
}
@media (max-width: 800px) {
  .hero-immersive__bottom { grid-template-columns: 1fr; gap: 24px; }
  .hero-immersive__bottom .hero__lead { text-align: left; max-width: 100%; }
}

/* Floating chips */
.hero-chip {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 10px;
  background: rgba(255,255,252,0.7);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid rgba(10,10,10,0.06);
  border-radius: 100px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ink);
  white-space: nowrap;
  box-shadow: 0 8px 30px -10px rgba(10,10,10,0.15);
  animation: chip-drift 8s ease-in-out infinite;
  pointer-events: none;
}
.hero-chip__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: oklch(0.65 0.16 40);
}
@keyframes chip-drift {
  0%, 100% { transform: translate(0, 0); }
  25%      { transform: translate(8px, -10px); }
  50%      { transform: translate(-6px, -16px); }
  75%      { transform: translate(-10px, 6px); }
}
@media (max-width: 800px) {
  .hero-chip { display: none; }
}

/* Scroll cue */
.hero-scroll-cue {
  position: absolute;
  bottom: 28px; right: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  z-index: 7;
}
.hero-scroll-cue__line {
  display: block;
  width: 60px; height: 1px;
  background: linear-gradient(90deg, var(--ink) 50%, transparent 50%);
  background-size: 200% 100%;
  animation: scroll-cue 2.4s ease-in-out infinite;
}
@keyframes scroll-cue {
  0%   { background-position: 0 0; }
  100% { background-position: -200% 0; }
}

/* Hide old hero rules that conflict */
.hero-immersive .hero__cta { margin-top: 0; }
