/* ============================================================
   Nutrike — Where Wellness Meets Technology
   Dark luxe aurora system. Zero images, zero dependencies.
   ============================================================ */

:root {
  --ink: #050807;
  --pane: #0b1310;
  --pane-2: #101a16;
  --line: rgba(237, 245, 241, 0.09);
  --pearl: #edf5f1;
  --fog: #97aca4;
  --bio: #4beeb3;
  --pulse: #5fd9ff;
  --bloom: #b98cff;
  --grad: linear-gradient(92deg, var(--bio), var(--pulse) 52%, var(--bloom));
  --font-display: "Syne", "Avenir Next", sans-serif;
  --font-body: "Instrument Sans", "Segoe UI", sans-serif;
  --radius: 20px;
  --container: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  background: var(--ink);
  color: var(--pearl);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--bio); color: var(--ink); }

/* ---------- atmosphere ---------- */

.aurora {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.aurora-blob {
  position: absolute;
  width: 60vmax;
  height: 60vmax;
  border-radius: 50%;
  /* no filter: blur() here on purpose; soft radial falloff fakes it at ~zero GPU cost */
  opacity: 0.5;
  will-change: transform;
}

.aurora-a {
  background: radial-gradient(circle at 35% 40%, rgba(75, 238, 179, 0.28) 0%, rgba(75, 238, 179, 0.1) 38%, transparent 68%);
  top: -22vmax; left: -14vmax;
  animation: drift-a 26s var(--ease) infinite alternate;
}

.aurora-b {
  background: radial-gradient(circle at 60% 50%, rgba(95, 217, 255, 0.17) 0%, rgba(95, 217, 255, 0.06) 40%, transparent 66%);
  top: -10vmax; right: -20vmax;
  animation: drift-b 32s var(--ease) infinite alternate;
}

.aurora-c {
  background: radial-gradient(circle at 50% 55%, rgba(185, 140, 255, 0.14) 0%, rgba(185, 140, 255, 0.05) 40%, transparent 66%);
  bottom: -28vmax; left: 22vw;
  animation: drift-c 38s var(--ease) infinite alternate;
}

@keyframes drift-a { to { transform: translate(9vw, 7vh) scale(1.12); } }
@keyframes drift-b { to { transform: translate(-8vw, 10vh) scale(0.94); } }
@keyframes drift-c { to { transform: translate(6vw, -8vh) scale(1.08); } }

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

/* ---------- primitives ---------- */

.container { width: min(var(--container), 92vw); margin-inline: auto; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 200;
  background: var(--pearl);
  color: var(--ink);
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus { left: 12px; }

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--bio);
  outline-offset: 3px;
  border-radius: 4px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fog);
  margin-bottom: 22px;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--grad);
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section { padding: clamp(90px, 12vh, 150px) 0; position: relative; }

.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vh, 70px); }

h1, h2, h3 { font-family: var(--font-display); line-height: 1.04; letter-spacing: -0.015em; text-wrap: balance; }

h2 { font-size: clamp(34px, 4.6vw, 58px); font-weight: 800; }

.lede { color: var(--fog); font-size: clamp(17px, 1.6vw, 20px); max-width: 62ch; margin-top: 18px; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  padding: 15px 30px;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  border: 0;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease);
  will-change: transform;
}

.btn-solid {
  background: var(--pearl);
  color: var(--ink);
}

.btn-solid:hover { box-shadow: 0 8px 40px rgba(75, 238, 179, 0.35); }

.btn-ghost {
  background: linear-gradient(var(--ink), var(--ink)) padding-box, var(--grad) border-box;
  border: 1.5px solid transparent;
  color: var(--pearl);
}

.btn-ghost:hover { box-shadow: 0 8px 34px rgba(95, 217, 255, 0.22); }

.btn .arrow { transition: transform 0.35s var(--ease); }

.btn:hover .arrow { transform: translateX(4px); }

/* ---------- header ---------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(5, 8, 7, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--line);
}

.nav {
  width: min(var(--container), 92vw);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.logo { text-decoration: none; display: inline-block; line-height: 1; }

.logo img { display: block; height: 38px; width: auto; }

.nav-links { display: flex; align-items: center; gap: 34px; }

.nav-links a {
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  color: var(--fog);
  transition: color 0.25s;
}

.nav-links a:hover { color: var(--pearl); }

.nav-links a.nav-cta {
  color: var(--ink);
  background: var(--pearl);
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 600;
  transition: box-shadow 0.35s var(--ease);
}

.nav-links a.nav-cta:hover { box-shadow: 0 6px 28px rgba(75, 238, 179, 0.4); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 44px;
  height: 44px;
  cursor: pointer;
  position: relative;
  z-index: 120;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--pearl);
  margin: 7px auto;
  border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.35s;
}

.nav-open .nav-toggle span:first-child { transform: translateY(4.5px) rotate(45deg); }
.nav-open .nav-toggle span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

/* ---------- hero ---------- */

.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}

/* futuristic mesh: a net of dots and lines forming a waving surface, drawn on canvas */
.hero-mesh {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  animation: mesh-in 1.6s var(--ease) 0.2s forwards;
  translate: calc(var(--px, 0px) * 0.9) calc(var(--py, 0px) * 0.6);
}

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

.hero-inner {
  width: min(var(--container), 92vw);
  margin-inline: auto;
  position: relative;
  z-index: 1;
  translate: calc(var(--px, 0px) * -0.4) calc(var(--py, 0px) * -0.4);
}

.hero h1 {
  font-size: clamp(37px, 8.5vw, 118px);
  font-weight: 800;
  margin: 26px 0 30px;
}

.hero-line {
  display: block;
  overflow: hidden;
  /* room for descenders (g, y) inside the reveal mask, pulled back so line rhythm is unchanged */
  padding-bottom: 0.16em;
  margin-bottom: -0.16em;
}

.hero-line > span {
  display: inline-block;
  transform: translateY(110%);
  animation: rise 1s var(--ease) forwards;
}

.hero-line:nth-child(2) > span { animation-delay: 0.12s; }
.hero-line:nth-child(3) > span { animation-delay: 0.24s; }

@keyframes rise { to { transform: translateY(0); } }

/* letter-split entrance (added by JS; the un-split spans above stay as the no-JS fallback) */
.hero h1.split .hero-line > span { animation: none; transform: none; }

.hero h1 .word { display: inline-block; white-space: nowrap; }

.ch {
  display: inline-block;
  opacity: 0;
  transform: translateY(115%) rotate(7deg);
  filter: blur(8px);
  animation: ch-in 0.85s var(--ease) var(--cd, 0s) forwards;
}

@keyframes ch-in {
  to { opacity: 1; transform: none; filter: blur(0); }
}

.hero h1.split .hero-line > span.grad-text {
  background-size: 240% 100%;
  animation: meets-in 1s var(--ease) 0.8s both, grad-flow 5s ease-in-out 1.9s infinite alternate;
}

@keyframes meets-in {
  from { opacity: 0; transform: translateY(45%) scale(0.72); filter: blur(16px); }
  to { opacity: 1; transform: none; filter: blur(0); }
}

@keyframes grad-flow {
  from { background-position: 0% 50%; }
  to { background-position: 100% 50%; }
}

.hero-sub {
  max-width: 56ch;
  color: var(--fog);
  font-size: clamp(17px, 1.8vw, 21px);
  animation: fade-up 1s var(--ease) 0.5s both;
}

.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; animation: fade-up 1s var(--ease) 0.65s both; }

@keyframes fade-up {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

.scroll-cue {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--fog);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  animation: fade-up 1s var(--ease) 1.1s both;
}

.scroll-cue::after {
  content: "";
  width: 1px;
  height: 44px;
  background: linear-gradient(var(--bio), transparent);
  animation: cue 2.2s var(--ease) infinite;
}

@keyframes cue {
  0% { transform: scaleY(0); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: top; }
  56% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- definition ---------- */

.definition { padding: clamp(80px, 10vh, 130px) 0; }

.definition p.statement {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 3.4vw, 42px);
  line-height: 1.28;
  letter-spacing: -0.01em;
  max-width: 24ch;
}

.definition p.statement + p.statement { margin-top: 34px; }

/* ---------- marquee ---------- */

.marquee {
  border-block: 1px solid var(--line);
  padding: 26px 0;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}

.marquee-track {
  display: inline-flex;
  gap: 56px;
  padding-right: 56px;
  animation: marquee 30s linear infinite;
  will-change: transform;
}

.marquee:hover .marquee-track { animation-play-state: paused; }

.marquee-track span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fog);
  display: inline-flex;
  align-items: center;
  gap: 56px;
}

.marquee-track span::after { content: "\2726"; font-size: 13px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- problem ---------- */

.problem-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}

.problem-list { display: grid; gap: 0; border-top: 1px solid var(--line); }

.problem-item {
  padding: 30px 6px;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  align-items: baseline;
}

.problem-item b {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  color: var(--fog);
}

.problem-item p { color: var(--pearl); font-size: 18px; }

.problem-turn {
  margin-top: 38px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(20px, 2vw, 26px);
}

/* ---------- engine ---------- */

.engine-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.card {
  position: relative;
  background: linear-gradient(var(--pane), var(--pane)) padding-box,
    linear-gradient(150deg, rgba(237, 245, 241, 0.16), rgba(237, 245, 241, 0.04)) border-box;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 38px 34px;
  overflow: hidden;
  transition: transform 0.45s var(--ease);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(75, 238, 179, 0.1), transparent 65%);
  opacity: 0;
  transition: opacity 0.45s var(--ease);
  pointer-events: none;
}

.card:hover { transform: translateY(-4px); }

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

.engine-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.1em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: block;
  margin-bottom: 46px;
}

.card h3 { font-size: 26px; font-weight: 700; margin-bottom: 12px; }

.card p { color: var(--fog); font-size: 16px; }

/* ---------- company / timeline ---------- */

.company-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 6vw, 90px);
}

.fact-strip { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.fact-chip {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--fog);
  background: rgba(237, 245, 241, 0.03);
}

.timeline { position: relative; padding-left: 34px; }

.timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(var(--bio), var(--pulse), var(--bloom));
  opacity: 0.55;
}

.timeline-item { position: relative; padding-bottom: 38px; }

.timeline-item:last-child { padding-bottom: 0; }

.timeline-item::before {
  content: "";
  position: absolute;
  left: -32px;
  top: 8px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--ink);
  border: 2px solid var(--bio);
  box-shadow: 0 0 14px rgba(75, 238, 179, 0.6);
}

.timeline-item h3 {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.timeline-item p { color: var(--fog); font-size: 16px; max-width: 46ch; }

/* ---------- FAQ ---------- */

.faq-list { max-width: 820px; }

.faq-item { border-bottom: 1px solid var(--line); }

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 26px 4px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(17px, 1.9vw, 22px);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: transform 0.35s var(--ease);
  flex-shrink: 0;
}

.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item .faq-body { padding: 0 4px 28px; color: var(--fog); max-width: 68ch; }

/* ---------- careers ---------- */

.roles-grid { display: grid; gap: 18px; }

.role-card {
  display: grid;
  grid-template-columns: 150px 1fr auto;
  align-items: center;
  gap: 26px;
  text-decoration: none;
  position: relative;
  background: linear-gradient(var(--pane), var(--pane)) padding-box,
    linear-gradient(150deg, rgba(237, 245, 241, 0.16), rgba(237, 245, 241, 0.04)) border-box;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 30px 34px;
  overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.role-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(95, 217, 255, 0.09), transparent 65%);
  opacity: 0;
  transition: opacity 0.45s var(--ease);
  pointer-events: none;
}

.role-card:hover { transform: translateY(-4px); box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45); }

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

.role-date { font-size: 13px; font-weight: 500; color: var(--fog); line-height: 1.5; }

.role-date b { display: block; color: var(--pearl); font-weight: 600; }

.role-card h3 { font-size: clamp(20px, 2.3vw, 28px); font-weight: 700; }

.role-meta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }

.role-meta span {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--fog);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 12px;
}

.role-arrow {
  font-size: 22px;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: transform 0.35s var(--ease);
}

.role-card:hover .role-arrow { transform: translateX(6px); }

/* ---------- CTA band ---------- */

.cta-band { padding: clamp(90px, 14vh, 170px) 0; text-align: center; }

.cta-band h2 { font-size: clamp(38px, 6vw, 76px); max-width: 18ch; margin-inline: auto; }

.cta-band .lede { margin-inline: auto; }

.cta-band .hero-ctas { justify-content: center; animation: none; }

/* ---------- subpage hero ---------- */

.page-hero { padding: 190px 0 70px; }

.page-hero h1 { font-size: clamp(40px, 6.4vw, 84px); font-weight: 800; margin-top: 22px; }

.page-hero .lede { margin-top: 22px; }

/* ---------- article / prose (jobs, legal) ---------- */

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 0;
}

.prose { max-width: 740px; }

.prose h2 {
  font-size: clamp(24px, 2.8vw, 34px);
  margin: 54px 0 18px;
}

.prose h2:first-child { margin-top: 0; }

.prose p { color: var(--fog); margin-bottom: 18px; }

.prose strong { color: var(--pearl); }

.prose ul { list-style: none; margin: 0 0 22px; }

.prose ul li {
  position: relative;
  padding: 10px 0 10px 34px;
  color: var(--fog);
  border-bottom: 1px solid var(--line);
}

.prose ul li::before {
  content: "\2726";
  position: absolute;
  left: 4px;
  top: 10px;
  font-size: 12px;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.prose a { color: var(--bio); text-decoration-color: rgba(75, 238, 179, 0.4); }

.apply-box {
  margin-top: 60px;
  padding: 40px;
  border-radius: var(--radius);
  background: linear-gradient(var(--pane), var(--pane)) padding-box,
    var(--grad) border-box;
  border: 1.5px solid transparent;
}

.apply-box h2 { font-size: 26px; margin-bottom: 10px; }

.apply-box p { color: var(--fog); margin-bottom: 24px; }

/* ---------- contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}

.contact-channels { display: grid; gap: 14px; margin-top: 8px; }

.channel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 26px;
  background: rgba(237, 245, 241, 0.02);
}

.channel h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }

.channel p { color: var(--fog); font-size: 15px; }

.channel a { color: var(--bio); text-decoration-color: rgba(75, 238, 179, 0.4); }

.form { display: grid; gap: 18px; }

.field { display: grid; gap: 8px; }

.field label { font-size: 14px; font-weight: 600; color: var(--pearl); }

.field input,
.field textarea {
  width: 100%;
  background: var(--pane);
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--pearl);
  font-family: var(--font-body);
  font-size: 16px;
  padding: 15px 18px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--bio);
  box-shadow: 0 0 0 3px rgba(75, 238, 179, 0.15);
}

.field input:focus:not(:focus-visible),
.field textarea:focus:not(:focus-visible) {
  outline: none;
}

.field textarea { min-height: 150px; resize: vertical; }

.form-note { font-size: 13.5px; color: var(--fog); }

/* ---------- 404 ---------- */

.notfound {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 6vw 80px;
}

.notfound .code {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(110px, 22vw, 240px);
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.notfound h1 { font-size: clamp(24px, 3.4vw, 40px); margin: 14px 0 12px; }

.notfound p { color: var(--fog); margin-bottom: 32px; }

/* ---------- footer ---------- */

.site-footer { border-top: 1px solid var(--line); margin-top: 40px; }

.footer-inner {
  width: min(var(--container), 92vw);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 44px;
  padding: 70px 0 50px;
}

.footer-mission { color: var(--fog); font-size: 15px; max-width: 40ch; margin: 20px 0 16px; }

.footer-email {
  color: var(--bio);
  font-weight: 600;
  text-decoration-color: rgba(75, 238, 179, 0.4);
}

.footer-col h3 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fog);
  margin-bottom: 18px;
}

.footer-col a {
  display: block;
  color: var(--pearl);
  text-decoration: none;
  font-size: 15px;
  padding: 6px 0;
  opacity: 0.85;
  transition: opacity 0.25s, color 0.25s;
}

.footer-col a:hover { opacity: 1; color: var(--bio); }

.footer-bar {
  width: min(var(--container), 92vw);
  margin-inline: auto;
  border-top: 1px solid var(--line);
  padding: 24px 0 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  color: var(--fog);
  font-size: 13.5px;
}

/* ---------- reveal on scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0s);
}

.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */

@media (max-width: 960px) {
  .problem-grid, .company-grid, .contact-grid { grid-template-columns: 1fr; }
  .engine-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }

  .nav-links {
    position: fixed;
    inset: 0;
    background: rgba(5, 8, 7, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--ease);
    z-index: 110;
  }

  .nav-open .nav-links { opacity: 1; pointer-events: auto; }

  .nav-links a { font-size: 24px; font-family: var(--font-display); font-weight: 700; color: var(--pearl); }

  .nav-links a.nav-cta { font-size: 18px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .scroll-cue { display: none; }
  .role-card { grid-template-columns: 1fr; gap: 14px; padding: 26px 24px; }
  .role-arrow { display: none; }
  .footer-inner { grid-template-columns: 1fr; gap: 34px; }
  .problem-item { grid-template-columns: 40px 1fr; }
  .apply-box { padding: 28px 22px; }
}

/* ---------- reduced motion ---------- */

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

  .aurora-blob, .marquee-track, .scroll-cue::after { animation: none !important; }

  .hero-mesh { animation: none !important; opacity: 0.8; }

  .hero-line > span { animation: none; transform: none; }

  .hero-sub, .hero-ctas, .scroll-cue { animation: none; opacity: 1; }

  .reveal { opacity: 1; transform: none; transition: none; }

  .card, .role-card, .btn { transition: none; }
}
