@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,600&family=Jost:wght@200;300;400;500&family=Libre+Baskerville:ital@1&display=swap');

/* ═══════════════════════════════════════════════════
   NEIGHBOURING GENIUS — ETHEREAL EDITION
   ───────────────────────────────────────────────────
   Aesthetic: Deep-ocean luminescence × illuminated
   manuscript × fairy forest. Iridescent, breathing,
   painfully beautiful. Like software dreaming.

   PRIMARY PALETTE: Rich indigo-black depths
   ACCENT: Aurora — shifting lilac/teal/gold
   TEXT: Moonlit whites and mist greys
   FONT: Cormorant Garamond (editorial, aching beauty)
         Jost (geometric, clean labels)
═══════════════════════════════════════════════════ */

:root {
  /* Depths */
  --void:     #050411;
  --deep:     #0A0820;
  --deep2:    #0F0C2E;
  --deep3:    #14113A;
  --veil:     #1A1740;
  --surface:  #211E4F;

  /* Aurora spectrum */
  --iris:     #9B7FFF;
  --iris2:    #C4AEFF;
  --lilac:    #DDD0FF;
  --teal:     #5FF0E0;
  --teal2:    #A8FAF0;
  --blush:    #F0C8E8;
  --gold:     #F0D882;
  --pearl:    rgba(255,255,255,.92);
  --mist:     rgba(255,255,255,.55);
  --fog:      rgba(255,255,255,.28);
  --phantom:  rgba(255,255,255,.08);
  --phantom2: rgba(255,255,255,.04);

  /* Glows */
  --glow-iris:  0 0 60px rgba(155,127,255,.35), 0 0 120px rgba(155,127,255,.12);
  --glow-teal:  0 0 60px rgba(95,240,224,.3),  0 0 120px rgba(95,240,224,.1);
  --glow-soft:  0 0 40px rgba(196,174,255,.2);
  --glow-card:  0 8px 60px rgba(0,0,0,.5), 0 0 0 1px rgba(155,127,255,.12);

  /* Fonts */
  --serif:  'Cormorant Garamond', 'Times New Roman', serif;
  --sans:   'Jost', system-ui, sans-serif;

  /* Spacing */
  --wrap: min(1320px, 100%);
  --pad:  clamp(2.5rem, 6vw, 7rem);
  --gap:  clamp(1rem, 3vw, 2rem);

  /* Motion */
  --ease:  cubic-bezier(.25,.1,.25,1);
  --spring: cubic-bezier(.34,1.56,.64,1);
  --silk:  cubic-bezier(.4,0,.2,1);
  --t:     .45s;
}

/* ─── RESET ─── */
*,*::before,*::after { box-sizing:border-box; margin:0; padding:0; }
html { scroll-behavior:smooth; font-size:16px; -webkit-text-size-adjust:100%; }
body {
  font-family: var(--sans);
  background: var(--void);
  color: var(--mist);
  min-height: 100vh;
  overflow-x: hidden;
  cursor: none;
}
@media (hover:none) { body { cursor: auto; } }
img, video { max-width:100%; display:block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font: inherit; border: none; background: none; }
ul, ol { list-style: none; }

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--void); }
::-webkit-scrollbar-thumb { background: var(--surface); border-radius: 2px; }

/* ─── NOISE TEXTURE OVERLAY ─── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9998;
  mix-blend-mode: overlay;
}

/* ─── CUSTOM CURSOR (desktop only) ─── */
#cur-dot, #cur-ring {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transition: opacity .3s var(--ease);
  will-change: transform;
  display: none;
}
@media (hover:hover) {
  #cur-dot, #cur-ring { display: block; }
  #cur-dot {
    width: 6px; height: 6px;
    background: var(--iris2);
    box-shadow: 0 0 12px var(--iris), 0 0 24px var(--iris2);
    transform: translate(-50%,-50%);
    transition: width .2s var(--spring), height .2s var(--spring), background .3s;
  }
  #cur-ring {
    width: 36px; height: 36px;
    border: 1px solid rgba(155,127,255,.4);
    transform: translate(-50%,-50%);
    transition: width .4s var(--spring), height .4s var(--spring), border-color .3s, opacity .3s;
    backdrop-filter: blur(1px);
  }
  body.hovering #cur-dot { width: 10px; height: 10px; background: var(--teal); box-shadow: var(--glow-teal); }
  body.hovering #cur-ring { width: 56px; height: 56px; border-color: rgba(95,240,224,.3); }
  body.clicking #cur-dot { width: 4px; height: 4px; }
  body.clicking #cur-ring { width: 28px; height: 28px; }
}

/* ─── AURORA BACKGROUND ─── */
.aurora {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.aurora-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  mix-blend-mode: screen;
  animation: drift 20s ease-in-out infinite;
  will-change: transform;
}
.aurora-orb:nth-child(1) { width:60vw; height:60vw; background:radial-gradient(circle,rgba(80,50,180,.5),transparent 70%); top:-20%; left:-15%; animation-duration:25s; }
.aurora-orb:nth-child(2) { width:50vw; height:50vw; background:radial-gradient(circle,rgba(40,160,150,.35),transparent 70%); top:30%; right:-10%; animation-duration:18s; animation-delay:-8s; }
.aurora-orb:nth-child(3) { width:40vw; height:40vw; background:radial-gradient(circle,rgba(150,60,180,.3),transparent 70%); bottom:-10%; left:30%; animation-duration:22s; animation-delay:-15s; }
.aurora-orb:nth-child(4) { width:25vw; height:25vw; background:radial-gradient(circle,rgba(240,200,80,.15),transparent 70%); top:20%; left:50%; animation-duration:15s; animation-delay:-5s; }
@keyframes drift {
  0%,100% { transform: translate(0,0) scale(1); }
  33%      { transform: translate(3vw,4vh) scale(1.05); }
  66%      { transform: translate(-2vw,-3vh) scale(.97); }
}

/* ─── LAYOUT ─── */
.wrap    { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(1.25rem,4vw,3rem); }
.section { position: relative; z-index: 1; }
.pad     { padding: var(--pad) 0; }
.pad-lg  { padding: clamp(5rem,12vw,10rem) 0; }
.pad-xl  { padding: clamp(7rem,15vw,14rem) 0; }

/* ─── TYPOGRAPHY ─── */
h1,h2,h3,h4,h5 { font-family: var(--serif); font-weight: 300; line-height: 1.1; color: var(--pearl); letter-spacing:-.01em; }
h1 { font-size: clamp(3.5rem, 9vw, 10rem); }
h2 { font-size: clamp(2.5rem, 6vw, 6.5rem); }
h3 { font-size: clamp(1.6rem, 3vw, 2.8rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.6rem); }
p  { font-family: var(--serif); font-size: clamp(1rem,1.4vw,1.2rem); line-height: 1.8; color: var(--mist); }

.label {
  font-family: var(--sans);
  font-size: clamp(.65rem,.9vw,.75rem);
  font-weight: 400;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--iris2);
  display: flex;
  align-items: center;
  gap: .6rem;
}
.label::before { content:''; width:2rem; height:1px; background:var(--iris2); flex-shrink:0; }

.italic { font-style: italic; }
.accent { color: var(--iris2); }
.teal   { color: var(--teal2); }
.gold   { color: var(--gold); }

/* ─── GLASS CARD ─── */
.glass {
  background: linear-gradient(135deg, rgba(255,255,255,.06) 0%, rgba(255,255,255,.02) 100%);
  border: 1px solid rgba(155,127,255,.15);
  border-radius: 4px;
  backdrop-filter: blur(20px) saturate(1.5);
  box-shadow: var(--glow-card);
  transition: border-color var(--t) var(--silk), box-shadow var(--t) var(--silk), transform var(--t) var(--silk);
}
.glass:hover {
  border-color: rgba(155,127,255,.3);
  box-shadow: var(--glow-card), var(--glow-iris);
  transform: translateY(-4px);
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  font-family: var(--sans);
  font-size: .8rem;
  font-weight: 400;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 1rem 2.5rem;
  border-radius: 2px;
  transition: all var(--t) var(--silk);
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.08), transparent);
  opacity: 0;
  transition: opacity var(--t) var(--silk);
}
.btn:hover::after { opacity: 1; }

.btn-iris {
  background: linear-gradient(135deg, var(--iris), rgba(80,50,200,.8));
  color: #fff;
  box-shadow: 0 0 40px rgba(155,127,255,.4), 0 0 0 1px rgba(155,127,255,.3);
}
.btn-iris:hover {
  box-shadow: 0 0 60px rgba(155,127,255,.6), 0 0 0 1px rgba(155,127,255,.5);
  transform: translateY(-2px);
}

.btn-ghost {
  border: 1px solid rgba(155,127,255,.35);
  color: var(--iris2);
}
.btn-ghost:hover {
  border-color: var(--iris2);
  box-shadow: var(--glow-soft);
  transform: translateY(-2px);
}

.btn-arrow::after { content: '→'; transition: transform var(--t) var(--silk); position: static; opacity: 1; background: none; }
.btn-arrow:hover::after { transform: translateX(4px); }

/* ─── NAV ─── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  height: 80px;
  display: flex;
  align-items: center;
  transition: background var(--t) var(--silk), border-color var(--t) var(--silk);
}
.nav.scrolled {
  background: rgba(5,4,17,.85);
  border-bottom: 1px solid rgba(155,127,255,.1);
  backdrop-filter: blur(24px);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.nav-logo {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--pearl);
  letter-spacing: .05em;
  display: flex;
  align-items: center;
  gap: .75rem;
}
.nav-logo-glyph {
  width: 36px; height: 36px;
  border: 1px solid rgba(155,127,255,.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-size: .7rem;
  font-weight: 400;
  letter-spacing: .05em;
  color: var(--iris2);
  box-shadow: 0 0 20px rgba(155,127,255,.2);
  animation: breathe 4s ease-in-out infinite;
}
@keyframes breathe {
  0%,100% { box-shadow:0 0 20px rgba(155,127,255,.2); }
  50%      { box-shadow:0 0 40px rgba(155,127,255,.45), 0 0 60px rgba(95,240,224,.15); }
}
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 3rem);
}
.nav-link {
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 300;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--fog);
  transition: color var(--t) var(--silk);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -.4rem;
  left: 0; right: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--iris2), var(--teal2));
  transition: right var(--t) var(--silk);
}
.nav-link:hover { color: var(--pearl); }
.nav-link:hover::after { right: 0; }
.nav-link.active { color: var(--iris2); }
.nav-link.active::after { right: 0; }

.nav-cta { display: none; }
@media(min-width:1024px){ .nav-cta { display:inline-flex; } }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: .5rem;
}
.hamburger span {
  width: 24px; height: 1px;
  background: var(--iris2);
  transition: all var(--t) var(--silk);
  display: block;
}
@media(max-width:768px){
  .hamburger { display: flex; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    background: rgba(5,4,17,.97);
    backdrop-filter: blur(40px);
    z-index: 800;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    padding: 2rem;
  }
  .nav-links.open .nav-link {
    font-size: 1.5rem;
    letter-spacing: .08em;
    color: var(--mist);
  }
  .nav-links.open .nav-link:hover { color: var(--pearl); }
  .hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(4px,4px); }
  .hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(4px,-4px); }
}

/* ─── HERO ─── */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  padding-bottom: clamp(4rem, 8vw, 7rem);
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.hero-title {
  font-size: clamp(4rem, 11vw, 13rem);
  font-weight: 300;
  line-height: .95;
  letter-spacing: -.03em;
  color: var(--pearl);
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
  max-width: 14ch;
}
.hero-title em {
  font-style: italic;
  background: linear-gradient(135deg, var(--iris2) 0%, var(--teal2) 50%, var(--blush) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: aurora-text 6s ease-in-out infinite;
  background-size: 200% 200%;
}
@keyframes aurora-text {
  0%,100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

.hero-sub {
  font-size: clamp(1rem,1.6vw,1.3rem);
  max-width: 42ch;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  color: var(--mist);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  right: clamp(1.25rem,4vw,3rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  color: var(--fog);
  font-family: var(--sans);
  font-size: .62rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  z-index: 2;
  animation: float 3s ease-in-out infinite;
}
.hero-scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(180deg, transparent, var(--iris2));
  animation: scroll-pulse 3s ease-in-out infinite;
}
@keyframes scroll-pulse {
  0%,100% { opacity:.3; transform:scaleY(.8) translateY(-5px); }
  50%      { opacity:1;  transform:scaleY(1)  translateY(0); }
}
@keyframes float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

/* Hero stats ribbon */
.hero-ribbon {
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(155,127,255,.5), rgba(95,240,224,.5), transparent);
  z-index: 2;
}

/* ─── MARQUEE ─── */
.marquee-wrap {
  overflow: hidden;
  border-top: 1px solid rgba(155,127,255,.1);
  border-bottom: 1px solid rgba(155,127,255,.1);
  padding: 1.2rem 0;
  background: rgba(155,127,255,.03);
  position: relative;
  z-index: 1;
}
.marquee-track {
  display: flex;
  gap: 0;
  white-space: nowrap;
  animation: marquee 50s linear infinite;
  width: max-content;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-item {
  font-family: var(--sans);
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--fog);
  padding: 0 3rem;
  display: flex;
  align-items: center;
  gap: 3rem;
}
.marquee-item::after { content:'◆'; color:rgba(155,127,255,.4); font-size:.5rem; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ─── MANIFESTO SECTION ─── */
.manifesto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}
.manifesto-number {
  font-family: var(--serif);
  font-size: clamp(6rem, 18vw, 18rem);
  font-weight: 300;
  line-height: 1;
  background: linear-gradient(135deg, rgba(155,127,255,.15), rgba(95,240,224,.08));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  user-select: none;
}
.manifesto-body p + p { margin-top: 1.5rem; }

@media(max-width:768px) {
  .manifesto-grid { grid-template-columns: 1fr; }
  .manifesto-number { font-size: clamp(5rem, 20vw, 10rem); }
}

/* ─── SERVICES ─── */
.services-intro {
  max-width: 50ch;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr));
  gap: 1.5px;
  border: 1.5px solid rgba(155,127,255,.12);
}

.service-card {
  padding: clamp(2rem, 4vw, 3rem);
  border: none;
  background: rgba(255,255,255,.025);
  position: relative;
  overflow: hidden;
  transition: background var(--t) var(--silk);
  cursor: default;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(155,127,255,.08), rgba(95,240,224,.04));
  opacity: 0;
  transition: opacity var(--t) var(--silk);
}
.service-card:hover { background: rgba(155,127,255,.07); }
.service-card:hover::before { opacity: 1; }

.service-card-border {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--iris), var(--teal2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t) var(--silk);
}
.service-card:hover .service-card-border { transform: scaleX(1); }

.service-index {
  font-family: var(--sans);
  font-size: .6rem;
  letter-spacing: .2em;
  color: rgba(155,127,255,.5);
  margin-bottom: 1.5rem;
  display: block;
}

.service-icon {
  width: 44px; height: 44px;
  border: 1px solid rgba(155,127,255,.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
  background: rgba(155,127,255,.05);
  transition: all var(--t) var(--silk);
}
.service-card:hover .service-icon {
  border-color: rgba(155,127,255,.5);
  box-shadow: 0 0 24px rgba(155,127,255,.3);
  transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
  font-size: clamp(1.2rem, 2.2vw, 1.8rem);
  margin-bottom: 1rem;
  transition: color var(--t) var(--silk);
}
.service-card:hover h3 { color: var(--iris2); }

.service-card p { font-size: clamp(.9rem, 1.2vw, 1rem); }

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1.5rem;
}
.tag {
  font-family: var(--sans);
  font-size: .6rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .35rem .8rem;
  border: 1px solid rgba(155,127,255,.2);
  color: rgba(155,127,255,.7);
  border-radius: 999px;
}

/* ─── FEATURED SERVICE ─── */
.service-card.featured {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
@media(max-width:900px){ .service-card.featured { grid-column: span 1; grid-template-columns: 1fr; } }

/* ─── WORK / CASE STUDIES ─── */
.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(480px,100%), 1fr));
  gap: clamp(1rem,2vw,1.5rem);
}

.work-card {
  position: relative;
  overflow: hidden;
  border-radius: 3px;
  min-height: clamp(340px, 45vw, 520px);
  cursor: default;
}
.work-bg {
  position: absolute;
  inset: 0;
  transition: transform .8s var(--silk);
}
.work-card:hover .work-bg { transform: scale(1.04); }

.work-bg-1 { background: linear-gradient(135deg, #0D0A2E 0%, #1A0D40 40%, rgba(95,240,224,.08) 100%); }
.work-bg-2 { background: linear-gradient(135deg, #0A1A20 0%, #0D2535 40%, rgba(95,200,240,.06) 100%); }
.work-bg-3 { background: linear-gradient(135deg, #1A0A2E 0%, #280D40 50%, rgba(200,95,240,.06) 100%); }
.work-bg-4 { background: linear-gradient(135deg, #0F0F1A 0%, #1A1630 40%, rgba(240,200,80,.05) 100%); }

.work-card-pattern {
  position: absolute;
  inset: 0;
  opacity: .4;
}

.work-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5,4,17,.95) 0%, rgba(5,4,17,.2) 60%, transparent 100%);
  z-index: 1;
}

.work-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: clamp(1.5rem,3vw,2.5rem);
  z-index: 2;
  transform: translateY(1rem);
  opacity: 0;
  transition: all var(--t) var(--silk);
}
.work-info-always {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: clamp(1.5rem,3vw,2.5rem);
  z-index: 2;
}
.work-card:hover .work-info { transform: translateY(0); opacity: 1; }

.work-tag {
  font-family: var(--sans);
  font-size: .6rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--teal2);
  margin-bottom: .75rem;
  display: block;
}
.work-card h3 { font-size: clamp(1.4rem,2.5vw,2rem); color: var(--pearl); margin-bottom: .5rem; }
.work-card p  { font-size: .9rem; color: var(--mist); }

/* ─── LABS ─── */
.labs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(320px,100%),1fr));
  gap: 1rem;
}
.lab-card {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.lab-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse-dot 2.5s ease-in-out infinite;
}
.lab-dot.active   { background: var(--teal2); box-shadow: 0 0 12px var(--teal); }
.lab-dot.pending  { background: var(--gold);  box-shadow: 0 0 12px var(--gold); animation-delay: .8s; }
.lab-dot.building { background: var(--iris2); box-shadow: 0 0 12px var(--iris); animation-delay: 1.6s; }
@keyframes pulse-dot {
  0%,100% { transform: scale(1); opacity:1; }
  50%      { transform: scale(1.4); opacity:.7; }
}
.lab-header { display: flex; align-items: center; gap: 1rem; }
.lab-id { font-family: var(--sans); font-size: .6rem; letter-spacing: .15em; color: rgba(155,127,255,.5); }
.lab-card h4 { font-size: 1.2rem; }
.lab-card p  { font-size: .9rem; }

/* ─── STATS ─── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  background: rgba(155,127,255,.1);
}
.stat-box {
  background: var(--void);
  padding: clamp(2rem,4vw,3rem) clamp(1.5rem,3vw,2.5rem);
  position: relative;
  overflow: hidden;
  transition: background var(--t) var(--silk);
}
.stat-box::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(155,127,255,.07), rgba(95,240,224,.03));
  opacity: 0;
  transition: opacity var(--t) var(--silk);
}
.stat-box:hover { background: rgba(155,127,255,.04); }
.stat-box:hover::after { opacity: 1; }
.stat-num {
  font-family: var(--serif);
  font-size: clamp(3rem,6vw,5.5rem);
  font-weight: 300;
  color: var(--pearl);
  line-height: 1;
  background: linear-gradient(135deg, var(--pearl), var(--iris2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  margin-bottom: .5rem;
}
.stat-label { font-family: var(--sans); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--fog); }

/* ─── PROCESS ─── */
.process-steps {
  display: grid;
  gap: 0;
  counter-reset: steps;
}
.process-step {
  display: grid;
  grid-template-columns: 80px 1px 1fr;
  gap: 0;
  position: relative;
}
.process-num {
  font-family: var(--serif);
  font-size: 1rem;
  font-style: italic;
  color: rgba(155,127,255,.5);
  padding: 3rem 0;
  text-align: right;
  padding-right: 2rem;
  align-self: start;
  padding-top: 2.8rem;
}
.process-line {
  background: linear-gradient(180deg, rgba(155,127,255,.4), rgba(95,240,224,.2));
  position: relative;
}
.process-line::after {
  content: '';
  position: absolute;
  top: 3rem;
  left: 50%;
  transform: translateX(-50%);
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--iris2);
  box-shadow: 0 0 16px var(--iris);
}
.process-body {
  padding: 2.5rem 0 2.5rem 2.5rem;
  border-bottom: 1px solid rgba(155,127,255,.08);
}
.process-step:last-child .process-body { border-bottom: none; }
.process-body h4 { margin-bottom: .75rem; }
.process-body p  { font-size: clamp(.9rem,1.1vw,1rem); }

@media(max-width:560px) {
  .process-step { grid-template-columns: 48px 1px 1fr; }
  .process-num  { padding-right: 1rem; }
  .process-body { padding-left: 1.5rem; }
}

/* ─── CTA BAND ─── */
.cta-band {
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(155,127,255,.12), transparent 70%);
  pointer-events: none;
}
.cta-band h2 { max-width: 18ch; margin: 0 auto 2rem; }
.cta-band p  { max-width: 45ch; margin: 0 auto 3rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* ─── CONTACT ─── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(3rem,6vw,6rem);
  align-items: start;
}
@media(max-width:900px){ .contact-grid { grid-template-columns: 1fr; } }

.contact-links { display: flex; flex-direction: column; gap: .5rem; }
.contact-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border: 1px solid rgba(155,127,255,.1);
  color: var(--mist);
  font-family: var(--sans);
  font-size: .85rem;
  transition: all var(--t) var(--silk);
}
.contact-link:hover {
  border-color: rgba(155,127,255,.3);
  color: var(--pearl);
  background: rgba(155,127,255,.04);
  padding-left: 2rem;
}
.contact-link span:last-child { color: rgba(155,127,255,.4); font-size: .9rem; }

.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-family: var(--sans);
  font-size: .65rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(155,127,255,.6);
  margin-bottom: .6rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(155,127,255,.15);
  border-radius: 2px;
  padding: .9rem 1.2rem;
  color: var(--pearl);
  font-family: var(--serif);
  font-size: 1rem;
  outline: none;
  transition: all var(--t) var(--silk);
  -webkit-appearance: none;
  appearance: none;
}
.form-group select { color: var(--mist); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(155,127,255,.5);
  background: rgba(155,127,255,.05);
  box-shadow: 0 0 0 3px rgba(155,127,255,.08);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(255,255,255,.2); }
.form-group textarea { min-height: 160px; resize: vertical; }

/* ─── FOOTER ─── */
.footer {
  border-top: 1px solid rgba(155,127,255,.1);
  padding: clamp(3rem,6vw,5rem) 0 2rem;
  position: relative;
  z-index: 1;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr repeat(3, 1fr);
  gap: clamp(2rem,4vw,3rem);
  margin-bottom: 3rem;
}
@media(max-width:900px){ .footer-grid { grid-template-columns: 1fr 1fr; } }
@media(max-width:560px){ .footer-grid { grid-template-columns: 1fr; } }

.footer-brand p { font-size: .9rem; max-width: 32ch; margin-top: .75rem; }
.footer-col-title {
  font-family: var(--sans);
  font-size: .65rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(155,127,255,.6);
  margin-bottom: 1.5rem;
}
.footer-links { display: flex; flex-direction: column; gap: .75rem; }
.footer-link {
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--fog);
  transition: color var(--t) var(--silk);
}
.footer-link:hover { color: var(--pearl); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(155,127,255,.07);
  font-family: var(--sans);
  font-size: .65rem;
  letter-spacing: .1em;
  color: rgba(255,255,255,.2);
}

/* ─── PAGE HERO ─── */
.page-hero {
  padding-top: clamp(8rem,15vw,12rem);
  padding-bottom: clamp(4rem,8vw,7rem);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(155,127,255,.3), transparent);
}

/* ─── SECTION DIVIDER ─── */
.divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(155,127,255,.2), rgba(95,240,224,.15), transparent);
}

/* ─── PROGRAMS ─── */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(340px,100%),1fr));
  gap: 1.5rem;
}
.program-card {
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}
.program-num {
  font-family: var(--serif);
  font-size: clamp(5rem,10vw,8rem);
  font-style: italic;
  font-weight: 300;
  color: rgba(155,127,255,.07);
  position: absolute;
  top: -1rem; right: 1.5rem;
  line-height: 1;
  user-select: none;
}
.program-badge {
  font-family: var(--sans);
  font-size: .6rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--teal2);
  border: 1px solid rgba(95,240,224,.25);
  border-radius: 999px;
  padding: .3rem .9rem;
  display: inline-block;
  margin-bottom: 1.5rem;
}
.program-card h3 { font-size: 1.8rem; margin-bottom: 1rem; }
.program-card p  { font-size: .95rem; }
.program-duration {
  font-family: var(--sans);
  font-size: .65rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(155,127,255,.5);
  margin-top: 1.5rem;
}

/* ─── TESTIMONIALS (if needed) ─── */
.quote {
  border-left: 2px solid rgba(155,127,255,.3);
  padding-left: 2rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.1rem,1.8vw,1.4rem);
  color: var(--mist);
  max-width: 55ch;
}
.quote-author {
  font-style: normal;
  font-family: var(--sans);
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(155,127,255,.6);
  margin-top: 1rem;
  display: block;
}

/* ─── BACK TO TOP ─── */
.back-top {
  position: fixed;
  bottom: 2rem; right: 1.5rem;
  width: 44px; height: 44px;
  border: 1px solid rgba(155,127,255,.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--iris2);
  font-size: .9rem;
  z-index: 800;
  opacity: 0;
  pointer-events: none;
  transition: all var(--t) var(--silk);
  background: rgba(5,4,17,.8);
  backdrop-filter: blur(12px);
}
.back-top.visible { opacity: 1; pointer-events: auto; }
.back-top:hover {
  background: rgba(155,127,255,.15);
  border-color: rgba(155,127,255,.5);
  box-shadow: var(--glow-soft);
  transform: translateY(-3px);
}

/* ─── TOUCH RIPPLE (mobile) ─── */
.ripple {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9990;
  border: 1px solid rgba(155,127,255,.5);
  transform: translate(-50%, -50%) scale(0);
  animation: ripple-out .8s ease-out forwards;
}
@keyframes ripple-out {
  to { transform: translate(-50%,-50%) scale(4); opacity: 0; }
}

/* ─── SCROLL REVEAL ─── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .9s var(--silk), transform .9s var(--silk);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ─── UTILITY ─── */
.sr-only { position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0; }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.gap-sm { gap: 1rem; }
.mt-2  { margin-top: 2rem; }
.mt-3  { margin-top: 3rem; }
.mt-4  { margin-top: 4rem; }

@media(prefers-reduced-motion:reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
