/* ==========================================================================
   NeuralNeptune AI — Design System
   Deep-space / Neptune-blue palette · Starburst signature · Orbital motif
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Spectral:ital,wght@0,300;0,400;0,500;0,600;1,400&family=JetBrains+Mono:wght@400;500;600&family=Inter:wght@300;400;500;600&display=swap');

:root{
  /* ---- Palette (Neptune-inspired deep space) ---- */
  --void:        #05070f;
  --void-2:      #080b17;
  --depth:       #0b0f20;
  --depth-2:     #10152a;
  --line:        rgba(226, 230, 255, 0.09);
  --line-strong: rgba(226, 230, 255, 0.16);

  --neptune:     #3a6ff7;
  --neptune-dim: #23417f;
  --aurora:      #8b6ef6;
  --nova:        #ffc876;
  --nova-dim:    #a9803f;

  --starlight:   #f3f2ff;
  --starlight-70:rgba(243,242,255,0.72);
  --starlight-50:rgba(243,242,255,0.52);
  --starlight-30:rgba(243,242,255,0.30);

  /* ---- Type ---- */
  --font-display: 'Spectral', 'Iowan Old Style', serif;
  --font-mono:    'JetBrains Mono', ui-monospace, monospace;
  --font-body:    'Inter', -apple-system, sans-serif;

  /* ---- Rhythm ---- */
  --edge: clamp(24px, 6vw, 96px);
  --radius: 2px;
  --ease: cubic-bezier(.16,.84,.28,1);
}

*, *::before, *::after{ box-sizing: border-box; }

html{
  background: var(--void);
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
}

body{
  margin: 0;
  background: var(--void);
  color: var(--starlight);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
button{ font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul{ margin: 0; padding: 0; list-style: none; }
h1,h2,h3,h4,p{ margin: 0; }

::selection{ background: var(--neptune); color: var(--void); }

:focus-visible{
  outline: 1.5px solid var(--nova);
  outline-offset: 4px;
}

/* ==========================================================================
   Ambient backdrop — starfield canvas + nebula glow + fixed grain
   ========================================================================== */

.cosmos{
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(ellipse 70% 50% at 22% 8%, rgba(58,111,247,0.20), transparent 60%),
    radial-gradient(ellipse 60% 45% at 85% 18%, rgba(139,110,246,0.16), transparent 55%),
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(58,111,247,0.10), transparent 60%),
    var(--void);
}

#starfield{
  position: fixed;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  display: block;
}

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

/* ==========================================================================
   Layout shell
   ========================================================================== */

.wrap{
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: var(--edge);
}

section{ position: relative; }

.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--nova);
  margin-bottom: 22px;
}
.eyebrow::before{
  content: '';
  width: 14px; height: 1px;
  background: var(--nova);
  display: inline-block;
}

/* ==========================================================================
   Navigation
   ========================================================================== */

.site-nav{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 26px var(--edge);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: padding .5s var(--ease);
}
.site-nav.is-scrolled{
  padding-top: 16px;
  padding-bottom: 16px;
}
/* Blur/background live on a non-ancestor backdrop layer, not on .site-nav
   itself — backdrop-filter on an ancestor would create a new containing
   block and trap the mobile .nav-links (position:fixed) inside the navbar. */
.nav-backdrop{
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color .5s var(--ease), border-color .5s var(--ease), backdrop-filter .5s var(--ease);
}
.site-nav.is-scrolled .nav-backdrop{
  background: rgba(5,7,15,0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
}

.brand{
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2;
}
.brand img{
  width: 30px; height: 30px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(139,110,246,0.5));
  animation: brand-spin 40s linear infinite;
}
@media (prefers-reduced-motion: reduce){ .brand img{ animation: none; } }
.brand-name{
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.brand-name b{ color: var(--starlight); font-weight: 600; }
.brand-name span{ color: var(--starlight-50); font-weight: 400; }

.nav-links{
  display: flex;
  align-items: center;
  gap: 44px;
}
.nav-links a{
  position: relative;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--starlight-70);
  padding: 6px 0;
  transition: color .3s var(--ease);
}
.nav-links a::after{
  content: '';
  position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1px;
  background: var(--nova);
  transition: right .35s var(--ease);
}
.nav-links a:hover{ color: var(--starlight); }
.nav-links a:hover::after{ right: 0; }
.nav-links a.is-active{ color: var(--starlight); }
.nav-links a.is-active::after{ right: 0; background: var(--neptune); }

.nav-toggle{
  display: none;
  z-index: 6;
  width: 26px; height: 18px;
  position: relative;
}
.nav-toggle span{
  position: absolute; left: 0; right: 0; height: 1px;
  background: var(--starlight);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.nav-toggle span:nth-child(1){ top: 0; }
.nav-toggle span:nth-child(2){ top: 8px; }
.nav-toggle span:nth-child(3){ top: 16px; }

@media (max-width: 860px){
  .nav-links{
    position: fixed;
    inset: 0;
    z-index: 5;
    flex-direction: column;
    justify-content: center;
    gap: 34px;
    background: rgba(5,7,15,0.98);
    backdrop-filter: blur(20px);
    transform: translateY(-100%);
    transition: transform .5s var(--ease);
    overflow: hidden;
    visibility: hidden;
  }
  body.menu-open .nav-links{ visibility: visible; }
  .nav-links a{ font-size: 15px; }
  body.menu-open .nav-links{ transform: translateY(0); }
  .nav-toggle{ display: block; }
  body.menu-open .nav-toggle span:nth-child(1){ transform: translateY(8px) rotate(45deg); }
  body.menu-open .nav-toggle span:nth-child(2){ opacity: 0; }
  body.menu-open .nav-toggle span:nth-child(3){ transform: translateY(-8px) rotate(-45deg); }
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn{
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 30px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: var(--radius);
  isolation: isolate;
  overflow: hidden;
}
.btn-primary{
  color: var(--void);
  background: linear-gradient(120deg, var(--nova), #ffdca1);
  box-shadow: 0 0 0 0 rgba(255,200,118,0.5);
  transition: box-shadow .4s var(--ease), transform .4s var(--ease);
}
.btn-primary:hover{
  box-shadow: 0 0 42px 4px rgba(255,200,118,0.38);
  transform: translateY(-2px);
}
.btn-primary .arrow{ transition: transform .4s var(--ease); }
.btn-primary:hover .arrow{ transform: translateX(5px); }

.btn-ghost{
  color: var(--starlight);
  border: 1px solid var(--line-strong);
  transition: border-color .35s var(--ease), background-color .35s var(--ease);
}
.btn-ghost:hover{ border-color: var(--neptune); background: rgba(58,111,247,0.08); }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero{
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 120px;
  padding-bottom: 80px;
}

.hero::before{
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-video-wrap{
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.hero-video{
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.68;
  filter: saturate(1.2) brightness(0.82) contrast(1.15);
}

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

.hero-eyebrow{
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--starlight-50);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-eyebrow .dot{
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--nova);
  box-shadow: 0 0 12px 2px rgba(255,200,118,0.7);
}

.hero-title{
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(38px, 6.4vw, 92px);
  line-height: 1.06;
  letter-spacing: -0.01em;
  color: var(--starlight);
}
.hero-title em{
  font-style: italic;
  font-weight: 300;
  background: linear-gradient(100deg, var(--nova) 10%, var(--aurora) 60%, var(--neptune) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub{
  margin-top: 30px;
  max-width: 540px;
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--starlight-70);
  font-weight: 300;
}

.hero-actions{
  margin-top: 50px;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.hero-scroll{
  position: absolute;
  bottom: 40px; left: var(--edge);
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--starlight-50);
}
.hero-scroll .line{
  width: 32px; height: 1px;
  background: linear-gradient(90deg, var(--starlight-50), transparent);
}
@media (max-width: 700px){ .hero-scroll{ display: none; } }

/* ==========================================================================
   Framework strip (DISCOVER · BUILD · TRANSFORM)
   ========================================================================== */

.framework{
  position: relative;
  padding: 120px 0 130px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.framework-inner{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 4vw, 48px);
  flex-wrap: wrap;
  text-align: center;
}
.framework-word{
  font-family: var(--font-display);
  font-size: clamp(26px, 5vw, 58px);
  letter-spacing: 0.02em;
  color: var(--starlight-30);
  transition: color .5s var(--ease), text-shadow .5s var(--ease);
}
.framework-word.is-lit{
  color: var(--starlight);
  text-shadow: 0 0 34px rgba(139,110,246,0.35);
}
.framework-sep{
  width: 7px; height: 7px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  flex: none;
}

/* ==========================================================================
   Why-us grid (2x3)
   ========================================================================== */

.why{ padding: 150px 0; }
.why-head{
  max-width: 640px;
  margin-bottom: 76px;
}
.why-head h2{
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.2;
}

.why-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.why-card{
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 44px 38px;
  transition: background-color .4s var(--ease);
  position: relative;
  overflow: hidden;
}
.why-card::before{
  content:'';
  position: absolute; inset: 0;
  background: radial-gradient(220px 140px at 20% 0%, rgba(58,111,247,0.14), transparent 70%);
  opacity: 0;
  transition: opacity .5s var(--ease);
}
.why-card:hover::before{ opacity: 1; }
.why-card:hover{ background: rgba(255,255,255,0.015); }

.why-icon{
  width: 34px; height: 34px;
  margin-bottom: 26px;
  color: var(--nova);
  position: relative;
}
.why-icon svg{ width: 100%; height: 100%; }

.why-card h3{
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--starlight);
  margin-bottom: 14px;
}
.why-card p{
  font-size: 14.5px;
  color: var(--starlight-70);
  line-height: 1.65;
  max-width: 34ch;
}

@media (max-width: 900px){
  .why-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px){
  .why-grid{ grid-template-columns: 1fr; }
}

/* ==========================================================================
   Philosophy / slogan band
   ========================================================================== */

.philosophy{
  padding: 90px 0 110px;
  text-align: center;
  position: relative;
}
.philosophy-mark{
  width: 46px; height: 46px;
  margin: 0 auto 28px;
  opacity: 0.75;
}
.philosophy p{
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(24px, 3.6vw, 42px);
  line-height: 1.45;
  max-width: 900px;
  margin-inline: auto;
  color: var(--starlight-70);
}
.philosophy p strong{
  font-style: normal;
  font-weight: 500;
  color: var(--starlight);
}

/* ==========================================================================
   CTA band (about page closing)
   ========================================================================== */

.cta-band{
  padding: 160px 0 180px;
  text-align: center;
  border-top: 1px solid var(--line);
}
.cta-band h2{
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(30px, 4.6vw, 56px);
  max-width: 780px;
  margin: 0 auto 46px;
  line-height: 1.25;
}

/* ==========================================================================
   Generic content sections (About page)
   ========================================================================== */

.intro{
  position: relative;
  isolation: isolate;
  min-height: 60svh;
  padding: 190px 0 130px;
  overflow: hidden;
}
.intro::before{
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
}
.intro-video-wrap{
  position: fixed;
  inset: 0;
  z-index: -3;
  overflow: hidden;
}
.intro-video{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.7;
  filter: saturate(1.2) brightness(0.72) contrast(1.08);
}
.intro-grid{
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.9fr 1.5fr;
  gap: clamp(30px, 6vw, 90px);
  align-items: start;
}
.intro-grid h1{
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.25;
}
.intro-grid p{
  font-size: 17px;
  color: var(--starlight-70);
  line-height: 1.85;
}
@media (max-width: 820px){
  .intro-grid{ grid-template-columns: 1fr; }
}

.approach{
  padding: 90px 0 150px;
  border-top: 1px solid var(--line);
}
.approach-head{ margin-bottom: 90px; text-align: center; }
.approach-head h2{
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 400;
}

.approach-path{
  position: relative;
}
.approach-list{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
  position: relative;
}
.approach-list::before{
  content:'';
  position: absolute;
  top: 22px; left: 8%; right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong) 15%, var(--line-strong) 85%, transparent);
}
.approach-item{ position: relative; }
.approach-node{
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--void);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--nova);
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}
.approach-node::after{
  content:'';
  position: absolute; inset: -8px;
  border-radius: 50%;
  border: 1px solid rgba(255,200,118,0.25);
}
.approach-item h3{
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 16px;
}
.approach-item p{
  font-size: 14.5px;
  color: var(--starlight-70);
  line-height: 1.75;
}
@media (max-width: 820px){
  .approach-list{ grid-template-columns: 1fr; gap: 60px; }
  .approach-list::before{ display: none; }
}

.vm-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.vm-card{
  padding: 90px var(--edge);
}
.vm-card + .vm-card{ border-left: 1px solid var(--line); }
.vm-card h3{
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--nova);
  margin-bottom: 26px;
}
.vm-card p{
  font-family: var(--font-display);
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.55;
  color: var(--starlight);
  font-weight: 300;
}
@media (max-width: 820px){
  .vm-grid{ grid-template-columns: 1fr; }
  .vm-card + .vm-card{ border-left: none; border-top: 1px solid var(--line); }
  .vm-card{ padding: 64px var(--edge); }
}

/* ==========================================================================
   Careers page
   ========================================================================== */

.careers-hero{
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px var(--edge) 100px;
  overflow: hidden;
}
.careers-hero::before{
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
}
.careers-video-wrap{
  position: fixed;
  inset: 0;
  z-index: -3;
  overflow: hidden;
}
.careers-video{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.7;
  filter: saturate(1.2) brightness(0.75) contrast(1.1);
}
.careers-hero-inner{ max-width: 760px; position: relative; z-index: 1; }
.careers-status{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--starlight-50);
  border: 1px solid var(--line-strong);
  padding: 9px 18px;
  border-radius: 999px;
  margin-bottom: 46px;
}
.careers-status .dot{
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--starlight-50);
}
.careers-hero h1{
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(30px, 4.6vw, 52px);
  line-height: 1.3;
  margin-bottom: 40px;
}
.careers-hero p.note{
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(18px, 2.2vw, 24px);
  color: var(--starlight-70);
  line-height: 1.65;
  max-width: 620px;
  margin-inline: auto;
}
.careers-hero .signature{
  margin-top: 56px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--starlight-30);
}

/* ==========================================================================
   Contact page
   ========================================================================== */

.contact-hero{
  position: relative;
  isolation: isolate;
  min-height: 90svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 190px 0 60px;
  overflow: hidden;
}
.contact-hero::before{
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
}
.contact-video-wrap{
  position: fixed;
  inset: 0;
  z-index: -3;
  overflow: hidden;
}
.contact-video{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.72;
  filter: saturate(1.2) brightness(0.75) contrast(1.1);
}
.contact-hero-inner{
  position: relative;
  z-index: 1;
  max-width: 820px;
  text-align: center;
}
.contact-hero h1{
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(34px, 5.6vw, 68px);
  max-width: 820px;
  line-height: 1.15;
}

.contact-grid{
  padding: 60px 0 180px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}
@media (max-width: 900px){
  .contact-grid{ grid-template-columns: 1fr; }
}

.contact-list{
  border-top: 1px solid var(--line);
}
.contact-row{
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 20px;
  align-items: baseline;
}
.contact-row .label{
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--starlight-50);
}
.contact-row .value{
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 24px);
  color: var(--starlight);
}
.contact-row a.value:hover{ color: var(--nova); }

.contact-form{
  border: 1px solid var(--line);
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.015), transparent);
}
.hp-field{
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.field{ margin-bottom: 26px; }
.field label{
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--starlight-50);
  margin-bottom: 10px;
}
.field input,
.field textarea{
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line-strong);
  color: var(--starlight);
  font-family: var(--font-body);
  font-size: 15px;
  padding: 10px 2px;
  resize: none;
  transition: border-color .3s var(--ease);
}
.field input:focus,
.field textarea:focus{
  outline: none;
  border-color: var(--nova);
}
.field textarea{ min-height: 110px; }
.contact-form .btn{ width: 100%; justify-content: center; margin-top: 10px; }
.form-note{
  margin-top: 18px;
  font-size: 12.5px;
  color: var(--starlight-30);
}
.form-status{
  margin-top: 10px;
  font-size: 13px;
  min-height: 1.2em;
}
.form-status.is-success{ color: #7ee787; }
.form-status.is-error{ color: #ff8a8a; }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer{
  border-top: 1px solid var(--line);
  padding: 80px var(--edge) 34px;
  position: relative;
}
.footer-top{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 60px;
  max-width: 1240px;
  margin-inline: auto;
}
.footer-brand{ max-width: 320px; }
.footer-brand .brand{ margin-bottom: 18px; }
.footer-brand p{
  font-size: 13.5px;
  color: var(--starlight-50);
  line-height: 1.7;
}
.footer-col h4{
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--starlight-50);
  margin-bottom: 22px;
}
.footer-col ul li{ margin-bottom: 14px; }
.footer-col ul a{
  font-size: 14px;
  color: var(--starlight-70);
  transition: color .3s var(--ease);
}
.footer-col ul a:hover{ color: var(--nova); }

.footer-bottom{
  max-width: 1240px;
  margin-inline: auto;
  padding-top: 30px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-meta{
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--starlight-30);
}
.visitor-count{
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.visitor-count .dot{
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--nova);
  box-shadow: 0 0 8px 1px rgba(255,200,118,0.7);
}
.visitor-count b{ color: var(--starlight-70); font-weight: 500; }

.socials{
  display: flex;
  gap: 14px;
}
.socials a{
  width: 34px; height: 34px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--starlight-70);
  transition: border-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.socials a svg{ width: 15px; height: 15px; }
.socials a:hover{
  border-color: var(--nova);
  color: var(--nova);
  transform: translateY(-2px);
}

@media (max-width: 780px){
  .footer-top{ grid-template-columns: 1fr; gap: 46px; }
  .footer-bottom{ flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   Reveal-on-scroll utility
   ========================================================================== */

.reveal{
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.is-visible{ opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce){
  .reveal{ opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   Keyframes
   ========================================================================== */

@keyframes brand-spin{
  to{ transform: rotate(360deg); }
}
