/* ==========================================================================
   Pramukha — marketing site
   A dark, cinematic single page: hero with the five technologies in orbit,
   three pillars (Modernize, Forward Deployment, Product Development), the
   healthcare & life sciences focus, who we are, and contact. Geist
   throughout; Fraunces Italic for one accent. No inline styles or scripts
   (CSP): everything visual lives here, every interaction in script.js.
   ========================================================================== */

@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("./assets/fonts/geist-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Geist Mono";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("./assets/fonts/geist-mono-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url("./assets/fonts/fraunces-italic-latin.ttf") format("truetype");
}

/* Lets the product-development stack breathe (static where unsupported) */
@property --gap {
  syntax: "<length>";
  inherits: true;
  initial-value: 46px;
}

/* --------------------------------------------------------------------------
   Tokens
   -------------------------------------------------------------------------- */

:root {
  color-scheme: dark;

  --bg: #05060b;
  --bg-2: #0a0c14;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #f4f5f8;
  --text-2: #a3a8b8;
  --text-3: #6c7184;

  --sky: #58a4fe;
  --blue: #345efd;
  --blue-hi: #7aa2ff;
  --violet: #8b4fe8;
  --teal: #2dd4bf;
  --cyan: #22d3ee;

  --gradient: linear-gradient(100deg, #8fc3ff 0%, #5b85ff 45%, #a77bff 100%);
  --gradient-solid: linear-gradient(100deg, #58a4fe 0%, #345efd 48%, #8b4fe8 100%);
  --gradient-care: linear-gradient(100deg, #5eead4 0%, #22d3ee 50%, #7aa2ff 100%);

  --font: "Geist", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --serif: "Fraunces", Georgia, serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 60px;
  --wrap: min(1200px, 100% - 3rem);
  --radius: 22px;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  background: var(--bg);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
h3,
h4 {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

[hidden] {
  display: none !important;
}

::selection {
  background: rgba(91, 133, 255, 0.35);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--blue-hi);
  outline-offset: 3px;
  border-radius: 6px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 300;
  padding: 0.6rem 1rem;
  background: var(--blue);
  color: #fff;
  border-radius: 10px;
}

.skip-link:focus {
  top: 1rem;
}

h1,
h2,
h3 {
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.04;
  text-wrap: balance;
}

h2 {
  font-size: clamp(2.25rem, 1.4rem + 3.4vw, 4rem);
}

h3 {
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

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

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

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-hi);
}

.kicker .num {
  display: inline-grid;
  place-items: center;
  min-width: 2.1rem;
  height: 1.6rem;
  padding: 0 0.45rem;
  border: 1px solid rgba(122, 162, 255, 0.4);
  border-radius: 999px;
  letter-spacing: 0.04em;
}

.lede {
  margin-top: 1.5rem;
  max-width: 36rem;
  font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem);
  color: var(--text-2);
}

/* Buttons ---------------------------------------------------------------- */

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  background: var(--gradient-solid);
  color: #fff;
  font: inherit;
  font-size: 1rem;
  font-weight: 500;
  border: 0;
  cursor: pointer;
  box-shadow: 0 10px 40px -10px rgba(52, 94, 253, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), filter 0.3s ease;
}

.button:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 16px 50px -10px rgba(52, 94, 253, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.button-ghost {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-2);
  box-shadow: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.button-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

.button-care {
  background: linear-gradient(100deg, #14b8a6 0%, #0891b2 55%, #345efd 100%);
  box-shadow: 0 10px 40px -10px rgba(20, 184, 166, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.button-care:hover {
  box-shadow: 0 16px 50px -10px rgba(20, 184, 166, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2.25rem;
}

/* Glass card with a cursor-following spotlight (--mx/--my set in script.js) */
.card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  transition: transform 0.45s var(--ease), border-color 0.3s ease;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, -30%), rgba(91, 133, 255, 0.18), transparent 60%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--line-2);
}

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

.card h3 {
  margin-top: 1.15rem;
}

.card p {
  margin-top: 0.55rem;
  color: var(--text-2);
  font-size: 0.95rem;
  line-height: 1.5;
}

.ico {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(140deg, rgba(88, 164, 254, 0.18), rgba(139, 79, 232, 0.18));
  border: 1px solid rgba(122, 162, 255, 0.25);
  color: #cfdcff;
}

.ico svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* --------------------------------------------------------------------------
   Global nav
   -------------------------------------------------------------------------- */

.gnav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  border-bottom: 1px solid transparent;
  transition: background-color 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s ease;
}

.gnav.is-scrolled,
body:not([data-page="home"]) .gnav {
  background: rgba(5, 6, 11, 0.72);
  border-bottom-color: var(--line);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}

.gnav-row {
  width: var(--wrap);
  margin-inline: auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.gnav-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.gnav-links {
  display: flex;
  gap: 1.9rem;
}

.gnav-links a {
  position: relative;
  padding: 0.35rem 0;
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.2s ease;
}

.gnav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--gradient-solid);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.gnav-links a:hover,
.gnav-links a.is-active {
  color: #fff;
}

.gnav-links a.is-active::after {
  transform: scaleX(1);
}

.gnav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.gnav-cta {
  padding: 0.5rem 1.05rem;
  border-radius: 999px;
  background: #fff;
  color: #05060b;
  font-weight: 600;
  transition: transform 0.25s var(--ease), box-shadow 0.25s ease;
}

.gnav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 30px -8px rgba(122, 162, 255, 0.8);
}

.gnav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.gnav-toggle span[aria-hidden] {
  display: block;
  width: 20px;
  height: 1.5px;
  background: #fff;
  transition: transform 0.25s var(--ease);
}

.gnav-toggle[aria-expanded="true"] span[aria-hidden]:first-child {
  transform: translateY(3.25px) rotate(45deg);
}

.gnav-toggle[aria-expanded="true"] span[aria-hidden]:nth-child(2) {
  transform: translateY(-3.25px) rotate(-45deg);
}

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

.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: calc(var(--nav-h) + clamp(2.5rem, 7vw, 6rem)) 0 clamp(4rem, 8vw, 7rem);
  background:
    radial-gradient(1200px 600px at 75% 10%, rgba(52, 94, 253, 0.16), transparent 60%),
    radial-gradient(900px 500px at 10% 90%, rgba(139, 79, 232, 0.12), transparent 60%),
    var(--bg);
}

/* faint grid that fades out toward the edges */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000 20%, transparent 75%);
}

.hero-field {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  opacity: 0.7;
  pointer-events: none;
}

.hero-aurora {
  position: absolute;
  inset: -20% -10% auto;
  height: 90%;
  z-index: -1;
  filter: blur(80px);
  opacity: 0.55;
  pointer-events: none;
}

.hero-aurora span {
  position: absolute;
  border-radius: 50%;
  mix-blend-mode: screen;
  animation: drift 18s ease-in-out infinite alternate;
}

.hero-aurora span:nth-child(1) {
  width: 46vw;
  height: 46vw;
  left: 48%;
  top: 0;
  background: radial-gradient(circle, rgba(52, 94, 253, 0.55), transparent 65%);
}

.hero-aurora span:nth-child(2) {
  width: 38vw;
  height: 38vw;
  left: 62%;
  top: 25%;
  background: radial-gradient(circle, rgba(139, 79, 232, 0.5), transparent 65%);
  animation-duration: 22s;
  animation-delay: -6s;
}

.hero-aurora span:nth-child(3) {
  width: 30vw;
  height: 30vw;
  left: 8%;
  top: 30%;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.28), transparent 65%);
  animation-duration: 26s;
  animation-delay: -12s;
}

.hero-grid {
  width: var(--wrap);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  align-items: center;
  gap: 2rem;
  min-height: min(640px, calc(100vh - var(--nav-h) - 6rem));
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0.9rem 0.4rem 0.7rem;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 0.85rem;
  color: var(--text-2);
  animation: rise 0.9s var(--ease) both;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 0 rgba(45, 212, 191, 0.6);
  animation: ping 2.4s ease-out infinite;
}

.hero h1 {
  margin-top: 1.5rem;
  font-size: clamp(2.75rem, 1.4rem + 4.6vw, 4.6rem);
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.hero h1 .line {
  display: block;
  animation: rise 1s var(--ease) both;
  animation-delay: 0.12s;
}

.hero h1 .line + .line {
  animation-delay: 0.26s;
  padding-bottom: 0.08em;
}

.hero-sub {
  margin-top: 1.75rem;
  max-width: 34rem;
  font-size: clamp(1.08rem, 1rem + 0.4vw, 1.3rem);
  line-height: 1.55;
  color: var(--text-2);
  animation: rise 1s var(--ease) both;
  animation-delay: 0.4s;
}

.hero .hero-actions {
  animation: rise 1s var(--ease) both;
  animation-delay: 0.52s;
}

/* Orbit: the five technologies circling the Pramukha mark */
.orbit {
  --s: 1;
  position: relative;
  width: calc(460px * var(--s));
  height: calc(460px * var(--s));
  margin-inline: auto;
  animation: fade 1.6s ease both;
  animation-delay: 0.3s;
}

.orbit-core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: calc(132px * var(--s));
  height: calc(132px * var(--s));
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(52, 94, 253, 0.35), rgba(52, 94, 253, 0) 70%);
}

.orbit-core::after {
  content: "";
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  border: 1px solid rgba(122, 162, 255, 0.45);
  animation: halo 3.2s ease-out infinite;
}

.orbit-core img {
  width: auto;
  height: calc(72px * var(--s));
  filter: drop-shadow(0 0 24px rgba(91, 133, 255, 0.75));
}

.orbit-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.09);
  transform: translate(-50%, -50%);
}

.ring-1 {
  width: calc(200px * var(--s));
  height: calc(200px * var(--s));
}

.ring-2 {
  width: calc(310px * var(--s));
  height: calc(310px * var(--s));
  border-style: dashed;
  border-color: rgba(122, 162, 255, 0.18);
}

.ring-3 {
  width: calc(430px * var(--s));
  height: calc(430px * var(--s));
}

.orbit-spin {
  position: absolute;
  inset: 0;
  animation: spin 70s linear infinite;
}

.orbit-node {
  --a: 0deg;
  --r: 155px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(var(--a)) translateX(calc(var(--r) * var(--s))) rotate(calc(-1 * var(--a)));
}

.orbit-node b {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: rgba(10, 12, 22, 0.75);
  border: 1px solid rgba(122, 162, 255, 0.32);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 0 30px -6px rgba(52, 94, 253, 0.55);
  font-size: calc(0.9rem * var(--s) + 0.1rem);
  font-weight: 500;
  color: #fff;
  white-space: nowrap;
  animation: spin 70s linear infinite reverse;
}

.orbit-node b::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gradient-solid);
  box-shadow: 0 0 10px rgba(122, 162, 255, 0.9);
}

.n-1 { --a: -90deg; --r: 155px; }
.n-2 { --a: -45deg; --r: 215px; }
.n-3 { --a: 90deg;  --r: 155px; }
.n-4 { --a: 135deg; --r: 215px; }
.n-5 { --a: 225deg; --r: 215px; }
.n-6 { --a: 0deg;   --r: 155px; }
.n-7 { --a: 180deg; --r: 155px; }

.n-5 b::before {
  background: linear-gradient(100deg, #5eead4, #a77bff);
}

/* Technology cards under the hero */
.tech {
  width: var(--wrap);
  margin: clamp(3rem, 6vw, 5rem) auto 0;
}

.tech-title {
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
  text-align: center;
  margin-bottom: 1.5rem;
}

.tech-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

/* --------------------------------------------------------------------------
   What we do: three doors
   -------------------------------------------------------------------------- */

.intro {
  width: var(--wrap);
  margin-inline: auto;
  padding: clamp(5rem, 10vw, 9rem) 0 clamp(2rem, 4vw, 3rem);
  text-align: center;
}

.intro h2 {
  max-width: 16ch;
  margin-inline: auto;
}

.doors {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  text-align: left;
}

.doors a {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 250px;
  padding: 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    radial-gradient(500px 220px at 100% 0%, rgba(52, 94, 253, 0.14), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
  overflow: hidden;
  transition: transform 0.5s var(--ease), border-color 0.3s ease;
}

.doors a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--gradient-solid);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease);
}

.doors a:hover {
  transform: translateY(-6px);
  border-color: var(--line-2);
}

.doors a:hover::after {
  transform: scaleX(1);
}

.door-n {
  font-family: var(--mono);
  font-size: 3.25rem;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.04em;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.9;
}

.doors strong {
  margin-top: auto;
  font-size: clamp(1.4rem, 1.1rem + 0.9vw, 1.85rem);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.doors span:not(.door-n) {
  margin-top: 0.3rem;
  color: var(--text-2);
}

.doors i {
  position: absolute;
  right: 1.75rem;
  top: 1.75rem;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  font-style: normal;
  color: #fff;
  transition: transform 0.4s var(--ease), background-color 0.3s ease;
}

.doors a:hover i {
  transform: rotate(-45deg);
  background: rgba(255, 255, 255, 0.08);
}

/* --------------------------------------------------------------------------
   Pillars
   -------------------------------------------------------------------------- */

.pillar {
  position: relative;
  padding: clamp(5rem, 10vw, 8.5rem) 0;
}

.pillar-alt {
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(139, 79, 232, 0.1), transparent 65%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 18%, var(--bg-2) 82%, var(--bg) 100%);
}

.pillar-grid {
  width: var(--wrap);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2.5rem, 6vw, 6rem);
}

.pillar-grid.flip .pillar-copy {
  order: 2;
}

.points {
  margin-top: 2.25rem;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.points li {
  position: relative;
  padding: 1.1rem 0 1.1rem 2rem;
  border-bottom: 1px solid var(--line);
  color: var(--text-2);
}

.points li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 1.55rem;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--gradient-solid);
  box-shadow: 0 0 14px rgba(91, 133, 255, 0.7);
  transform: rotate(45deg);
}

.points strong {
  color: var(--text);
  font-weight: 600;
}

.pillar-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 420px;
  padding: 2rem;
  border-radius: 28px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 45%, rgba(52, 94, 253, 0.16), transparent 65%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  overflow: hidden;
}

.pillar-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 75%);
  mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 75%);
  pointer-events: none;
}

/* 01 Modernize: legacy blocks flow into a modern grid */
.modern-viz {
  position: relative;
  width: 100%;
  max-width: 480px;
}

.mv-legacy rect {
  fill: rgba(255, 255, 255, 0.03);
  stroke: rgba(255, 255, 255, 0.22);
  stroke-width: 1;
}

.mv-legacy path {
  stroke: rgba(255, 255, 255, 0.28);
  stroke-width: 3;
  stroke-linecap: round;
}

.mv-legacy circle {
  fill: #d9821f;
  animation: blink 2.4s ease-in-out infinite;
}

.mv-legacy circle:nth-of-type(2) { animation-delay: 0.6s; }
.mv-legacy circle:nth-of-type(3) { animation-delay: 1.2s; }

.mv-flow path {
  fill: none;
  stroke: url(#mv-g);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 4 10;
  animation: flow 1.2s linear infinite;
}

.mv-modern rect {
  fill: rgba(91, 133, 255, 0.1);
  stroke: url(#mv-g);
  stroke-width: 1.4;
  animation: glow 3.6s ease-in-out infinite;
}

.mv-modern rect:nth-child(2) { animation-delay: 0.2s; }
.mv-modern rect:nth-child(3) { animation-delay: 0.4s; }
.mv-modern rect:nth-child(4) { animation-delay: 0.6s; }
.mv-modern rect:nth-child(5) { animation-delay: 0.8s; }
.mv-modern rect:nth-child(6) { animation-delay: 1s; }
.mv-modern rect:nth-child(7) { animation-delay: 1.2s; }
.mv-modern rect:nth-child(8) { animation-delay: 1.4s; }
.mv-modern rect:nth-child(9) { animation-delay: 1.6s; }

.mv-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  fill: var(--text-3);
}

.mv-label-hi {
  fill: var(--blue-hi);
}

/* 02 Forward deployment: one team */
.venn {
  width: 100%;
  max-width: 440px;
}

.venn circle {
  stroke-width: 1.2;
}

.venn-a {
  fill: rgba(88, 164, 254, 0.08);
  stroke: rgba(88, 164, 254, 0.7);
}

.venn-b {
  fill: rgba(139, 79, 232, 0.08);
  stroke: rgba(167, 123, 255, 0.7);
}

.venn-mid {
  fill: url(#vn-g);
  stroke: none;
  animation: breathe 4s ease-in-out infinite;
}

.venn text {
  font-family: var(--font);
  font-size: 14px;
  fill: var(--text-2);
}

.venn .venn-one {
  font-size: 15px;
  font-weight: 600;
  fill: #fff;
}

.track {
  position: relative;
  width: var(--wrap);
  margin: clamp(3.5rem, 7vw, 5.5rem) auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* the line that connects the four steps, with a pulse travelling along it */
.track::before,
.track::after {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  top: 21px;
  height: 1px;
}

.track::before {
  background: var(--line-2);
}

.track::after {
  height: 2px;
  top: 20px;
  background: linear-gradient(90deg, transparent, var(--sky), var(--violet), transparent);
  background-size: 30% 100%;
  background-repeat: no-repeat;
  animation: travel 4.5s ease-in-out infinite;
}

.track li {
  position: relative;
  z-index: 1;
}

.track-n {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-2);
  border: 1px solid rgba(122, 162, 255, 0.45);
  box-shadow: 0 0 0 6px var(--bg-2), 0 0 24px -4px rgba(91, 133, 255, 0.8);
  font-family: var(--mono);
  font-size: 0.95rem;
  color: #fff;
}

.track h3 {
  margin-top: 1.4rem;
  font-size: 1.3rem;
}

.track p {
  margin-top: 0.5rem;
  color: var(--text-2);
  font-size: 0.97rem;
}

/* 03 Product development: an isometric stack of layers */
.stack {
  --gap: 46px;
  position: relative;
  width: 230px;
  height: 230px;
  margin-top: 60px;
  transform: rotateX(58deg) rotateZ(-45deg);
  transform-style: preserve-3d;
  animation: stack-breathe 5s ease-in-out infinite alternate;
}

.pillar-visual:hover .stack {
  animation-play-state: paused;
}

.layer {
  --i: 0;
  position: absolute;
  inset: 0;
  display: grid;
  place-items: end start;
  padding: 1rem 1.1rem;
  border-radius: 22px;
  border: 1px solid rgba(122, 162, 255, 0.4);
  background: linear-gradient(135deg, rgba(88, 164, 254, 0.18), rgba(139, 79, 232, 0.12));
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8), inset 0 0 40px rgba(91, 133, 255, 0.08);
  transform: translateZ(calc(var(--i) * var(--gap)));
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.layer span {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

.l-1 { --i: 0; background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)); border-color: var(--line-2); }
.l-2 { --i: 1; }
.l-3 { --i: 2; background: linear-gradient(135deg, rgba(88, 164, 254, 0.28), rgba(139, 79, 232, 0.22)); }
.l-4 {
  --i: 3;
  background: linear-gradient(135deg, rgba(88, 164, 254, 0.5), rgba(52, 94, 253, 0.42) 50%, rgba(139, 79, 232, 0.5));
  border-color: rgba(190, 210, 255, 0.6);
  box-shadow: 0 0 60px -6px rgba(91, 133, 255, 0.65);
}

/* --------------------------------------------------------------------------
   Healthcare & Life Sciences
   -------------------------------------------------------------------------- */

.hls {
  position: relative;
  overflow: hidden;
  padding: clamp(4rem, 8vw, 7rem) 0 clamp(5rem, 10vw, 8.5rem);
  background:
    radial-gradient(1000px 520px at 80% 30%, rgba(20, 184, 166, 0.14), transparent 65%),
    radial-gradient(800px 480px at 0% 100%, rgba(34, 211, 238, 0.08), transparent 65%),
    linear-gradient(180deg, var(--bg) 0%, #04110f 30%, #050b12 100%);
}

.hls .kicker {
  color: var(--teal);
}

.pulse {
  width: 100%;
  height: 90px;
  margin-bottom: clamp(2rem, 5vw, 4rem);
}

.pulse path {
  fill: none;
  stroke: var(--teal);
  stroke-width: 2;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 1600;
  stroke-dashoffset: 1600;
  filter: drop-shadow(0 0 6px rgba(45, 212, 191, 0.8));
  animation: trace 4s ease-in-out infinite;
}

.hls-grid {
  width: var(--wrap);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 3rem;
}

/* DNA helix: two strands of dots in opposite phase */
.helix {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  height: 260px;
}

.helix span {
  --d: 0s;
  position: relative;
  width: 10px;
  height: 100%;
}

.helix span::before,
.helix span::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 11px;
  height: 11px;
  margin: -5.5px 0 0 -5.5px;
  border-radius: 50%;
  animation: strand-a 3.2s ease-in-out infinite;
  animation-delay: var(--d);
}

.helix span::before {
  background: var(--teal);
  box-shadow: 0 0 12px rgba(45, 212, 191, 0.9);
}

.helix span::after {
  background: var(--blue-hi);
  box-shadow: 0 0 12px rgba(122, 162, 255, 0.9);
  animation-name: strand-b;
}

.helix span:nth-child(2) { --d: -0.18s; }
.helix span:nth-child(3) { --d: -0.36s; }
.helix span:nth-child(4) { --d: -0.54s; }
.helix span:nth-child(5) { --d: -0.72s; }
.helix span:nth-child(6) { --d: -0.9s; }
.helix span:nth-child(7) { --d: -1.08s; }
.helix span:nth-child(8) { --d: -1.26s; }
.helix span:nth-child(9) { --d: -1.44s; }
.helix span:nth-child(10) { --d: -1.62s; }
.helix span:nth-child(11) { --d: -1.8s; }
.helix span:nth-child(12) { --d: -1.98s; }
.helix span:nth-child(13) { --d: -2.16s; }
.helix span:nth-child(14) { --d: -2.34s; }
.helix span:nth-child(15) { --d: -2.52s; }
.helix span:nth-child(16) { --d: -2.7s; }
.helix span:nth-child(17) { --d: -2.88s; }
.helix span:nth-child(18) { --d: -3.06s; }

.care-list {
  width: var(--wrap);
  margin: clamp(3rem, 6vw, 4.5rem) auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.care-list .card::before {
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, -30%), rgba(45, 212, 191, 0.16), transparent 60%);
}

.care-list .ico {
  background: linear-gradient(140deg, rgba(45, 212, 191, 0.2), rgba(34, 211, 238, 0.12));
  border-color: rgba(45, 212, 191, 0.32);
  color: #b5f5ea;
}

/* --------------------------------------------------------------------------
   About
   -------------------------------------------------------------------------- */

.about {
  width: var(--wrap);
  margin-inline: auto;
  padding: clamp(5rem, 10vw, 9rem) 0;
}

.statement {
  max-width: 24ch;
  font-size: clamp(1.9rem, 1.1rem + 3.2vw, 3.6rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.035em;
  text-wrap: pretty;
}

/* words light up as the statement scrolls through the viewport */
.statement.is-split .w {
  color: rgba(255, 255, 255, 0.16);
  transition: color 0.5s ease;
}

.statement.is-split .w.lit {
  color: var(--text);
}

.statement.is-split .w.hi.lit {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.values {
  margin-top: clamp(3rem, 6vw, 5rem);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  border-top: 1px solid var(--line);
  padding-top: 2rem;
}

.values strong {
  display: block;
  font-size: clamp(2rem, 1.5rem + 1.6vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.values span {
  display: block;
  margin-top: 0.75rem;
  color: var(--text-2);
  max-width: 26ch;
}

/* --------------------------------------------------------------------------
   Contact + intake agent
   -------------------------------------------------------------------------- */

.contact {
  position: relative;
  width: var(--wrap);
  margin-inline: auto;
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(5rem, 10vw, 8rem);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.contact::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 60%;
  height: 80%;
  z-index: -1;
  background: radial-gradient(circle, rgba(52, 94, 253, 0.16), transparent 65%);
  filter: blur(40px);
  pointer-events: none;
}

.contact-head h2 {
  font-size: clamp(2.1rem, 1.4rem + 2.8vw, 3.5rem);
}

.contact-mail {
  margin-top: 1.75rem;
  font-size: 1.15rem;
}

.contact-mail a {
  color: var(--blue-hi);
  border-bottom: 1px solid rgba(122, 162, 255, 0.4);
  padding-bottom: 2px;
  transition: border-color 0.2s ease;
}

.contact-mail a:hover {
  border-color: var(--blue-hi);
}

.contact-panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border-radius: 24px;
  border: 1px solid var(--line-2);
  padding: 1.5rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.9);
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-2);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--text);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.8rem 0.95rem;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form select option {
  background: #10131d;
  color: var(--text);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder,
.intake-input-row input::placeholder {
  color: var(--text-3);
}

.contact-form textarea {
  resize: vertical;
  min-height: 130px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  background: rgba(0, 0, 0, 0.5);
  border-color: var(--blue-hi);
  box-shadow: 0 0 0 4px rgba(91, 133, 255, 0.18);
}

.contact-form .button {
  justify-self: start;
}

.security-check {
  border: 0;
  padding: 0;
  margin: 0;
}

.security-check legend {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-2);
  margin-bottom: 0.4rem;
}

.security-check input {
  max-width: 200px;
}

.bot-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  min-height: 1.25rem;
  font-size: 0.9rem;
  color: var(--text-2);
}

.form-status.is-error {
  color: #ff8a80;
}

.form-disclaimer,
.intake-switch {
  font-size: 0.85rem;
  color: var(--text-3);
}

.form-disclaimer a,
.intake-switch a {
  color: var(--blue-hi);
}

.intake {
  display: grid;
  gap: 1rem;
}

.intake-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
}

.intake-bar > span:first-child::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 0.5rem;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 10px rgba(45, 212, 191, 0.9);
  vertical-align: 1px;
}

.intake-mode {
  font-weight: 400;
  color: var(--text-3);
}

.intake-log {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem;
  min-height: 300px;
  max-height: 420px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.intake-msg {
  max-width: 85%;
  padding: 0.65rem 0.9rem;
  border-radius: 16px;
  font-size: 0.95rem;
  line-height: 1.45;
  animation: rise 0.4s var(--ease) both;
}

.intake-msg.agent {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.08);
  border-bottom-left-radius: 4px;
}

.intake-msg.user {
  align-self: flex-end;
  background: var(--gradient-solid);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.intake-typing {
  align-self: flex-start;
  display: inline-flex;
  gap: 4px;
  padding: 0.7rem 0.9rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 16px;
}

.intake-typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-2);
  animation: blink 1.2s infinite;
}

.intake-typing span:nth-child(2) { animation-delay: 0.2s; }
.intake-typing span:nth-child(3) { animation-delay: 0.4s; }

.intake-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-self: flex-start;
}

.intake-choices button,
.intake-draft-actions button {
  font: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.intake-choices button:hover {
  border-color: var(--blue-hi);
  color: var(--blue-hi);
}

.intake-draft {
  align-self: stretch;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.9rem 1rem;
  display: grid;
  gap: 0.6rem;
  font-size: 0.9rem;
}

.intake-draft-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-2);
  font-size: 0.85rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 500;
}

.intake-draft .chip {
  background: rgba(91, 133, 255, 0.18);
  color: var(--blue-hi);
}

.intake-draft .chip.logged {
  background: rgba(45, 212, 191, 0.16);
  color: var(--teal);
}

.intake-draft-body {
  display: grid;
  gap: 0.25rem;
  color: var(--text-2);
}

.intake-draft-body strong {
  color: var(--text);
  font-weight: 500;
}

.intake-draft-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.intake-draft-actions .approve {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

.intake-draft-actions button:disabled {
  opacity: 0.6;
  cursor: default;
}

.intake-input-row {
  display: flex;
  gap: 0.5rem;
}

.intake-input-row input {
  flex: 1;
  min-width: 0;
  font: inherit;
  font-size: 1rem;
  color: var(--text);
  padding: 0.8rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
}

.intake-input-row input:focus {
  outline: none;
  border-color: var(--blue-hi);
  box-shadow: 0 0 0 4px rgba(91, 133, 255, 0.18);
}

.intake-send {
  font: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.8rem 1.3rem;
  border-radius: 999px;
  border: 0;
  background: var(--gradient-solid);
  color: #fff;
  cursor: pointer;
}

.intake-send:disabled,
.intake-input-row input:disabled {
  opacity: 0.5;
  cursor: default;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.footer {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, var(--bg) 0%, #020308 100%);
  color: var(--text-3);
  font-size: 0.875rem;
  padding: 3.5rem 0 2rem;
}

.footer-wrap {
  width: var(--wrap);
  margin-inline: auto;
}

.footer-wrap:has(.footer-cols) {
  display: grid;
  grid-template-columns: 1.1fr 1.4fr;
  gap: 2rem 4rem;
}

.footer-brand p {
  margin-top: 1rem;
  max-width: 34ch;
  color: var(--text-2);
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.footer-cols h4 {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 0.9rem;
}

.footer-cols a {
  display: block;
  padding: 0.25rem 0;
  color: var(--text-2);
  transition: color 0.2s ease;
}

.footer-cols a:hover {
  color: #fff;
}

.footer-base {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.footer-base a:hover {
  color: #fff;
}

/* --------------------------------------------------------------------------
   Secondary pages (privacy, thank-you)
   -------------------------------------------------------------------------- */

.page-simple {
  padding: calc(var(--nav-h) + clamp(3rem, 7vw, 6rem)) 1.5rem clamp(4rem, 8vw, 7rem);
  background: radial-gradient(900px 480px at 80% 0%, rgba(52, 94, 253, 0.14), transparent 65%);
}

.page-simple .wrap {
  width: min(680px, 100%);
  margin-inline: auto;
}

.page-simple h1 {
  font-size: clamp(2.25rem, 1.5rem + 3vw, 3.5rem);
}

.page-simple h1 em {
  font-style: normal;
  color: var(--text-2);
}

.page-simple h2 {
  font-size: 1.5rem;
  margin-top: 2.5rem;
}

.page-simple p,
.page-simple li {
  color: var(--text-2);
  margin-top: 1rem;
}

.page-simple ul {
  list-style: disc;
  padding-left: 1.25rem;
}

.page-simple a:not(.button) {
  color: var(--blue-hi);
}

.page-simple .button {
  margin-top: 2rem;
}

/* --------------------------------------------------------------------------
   Scroll reveal (hidden only once script.js has marked the page .js)
   -------------------------------------------------------------------------- */

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

.js .reveal.in-view {
  opacity: 1;
  transform: none;
}

/* stagger siblings in a row */
.js .reveal:nth-child(2) { transition-delay: 0.08s; }
.js .reveal:nth-child(3) { transition-delay: 0.16s; }
.js .reveal:nth-child(4) { transition-delay: 0.24s; }
.js .reveal:nth-child(5) { transition-delay: 0.32s; }

/* cards keep their hover lift snappy once revealed */
.js .card.reveal.in-view {
  transition: opacity 0.9s var(--ease), transform 0.45s var(--ease), border-color 0.3s ease;
}

.js .card.reveal.in-view:hover {
  transform: translateY(-4px);
}

/* --------------------------------------------------------------------------
   Motion
   -------------------------------------------------------------------------- */

@keyframes rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}

@keyframes fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes blink {
  0%, 80%, 100% { opacity: 0.3; }
  40% { opacity: 1; }
}

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

@keyframes drift {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-6vw, 4vh) scale(1.12); }
  100% { transform: translate(4vw, -3vh) scale(0.95); }
}

@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(45, 212, 191, 0.6); }
  80%, 100% { box-shadow: 0 0 0 10px rgba(45, 212, 191, 0); }
}

@keyframes halo {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(2.4); opacity: 0; }
}

@keyframes flow {
  to { stroke-dashoffset: -28; }
}

@keyframes glow {
  0%, 100% { fill: rgba(91, 133, 255, 0.08); }
  50% { fill: rgba(91, 133, 255, 0.42); }
}

@keyframes breathe {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.6; }
}

@keyframes travel {
  0% { background-position: -40% 0; }
  100% { background-position: 140% 0; }
}

@keyframes stack-breathe {
  from { --gap: 40px; }
  to { --gap: 62px; }
}

@keyframes trace {
  0% { stroke-dashoffset: 1600; opacity: 1; }
  70% { stroke-dashoffset: 0; opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: 0; }
}

@keyframes strand-a {
  0%, 100% { transform: translateY(-95px) scale(1); opacity: 1; }
  50% { transform: translateY(95px) scale(0.5); opacity: 0.45; }
}

@keyframes strand-b {
  0%, 100% { transform: translateY(95px) scale(0.5); opacity: 0.45; }
  50% { transform: translateY(-95px) scale(1); opacity: 1; }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

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

  .pulse path {
    stroke-dashoffset: 0;
  }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1100px) {
  .gnav-links {
    gap: 1.25rem;
    font-size: 0.82rem;
  }

  .tech-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .care-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .orbit {
    --s: 0.85;
  }
}

@media (max-width: 960px) {
  :root {
    --nav-h: 56px;
  }

  .gnav {
    background: rgba(5, 6, 11, 0.72);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
  }

  .gnav-links {
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 1.5rem 1.25rem;
    background: rgba(5, 6, 11, 0.96);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    font-size: 1.05rem;
  }

  .gnav-links.is-open {
    display: flex;
  }

  .gnav-links a {
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--line);
  }

  .gnav-links a::after {
    display: none;
  }

  .gnav-toggle {
    display: inline-flex;
  }

  .hero-grid,
  .pillar-grid,
  .hls-grid,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: 0;
  }

  .pillar-grid.flip .pillar-copy {
    order: 0;
  }

  .orbit {
    --s: 0.78;
    margin-top: 1rem;
  }

  .doors,
  .values {
    grid-template-columns: 1fr;
  }

  .doors a {
    min-height: 190px;
  }

  .track {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem 1.5rem;
  }

  .track::before,
  .track::after {
    display: none;
  }

  .helix {
    height: 220px;
  }

  .footer-wrap:has(.footer-cols) {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --wrap: min(1200px, 100% - 2rem);
  }

  body {
    font-size: 16px;
  }

  .orbit {
    --s: 0.62;
  }

  .orbit-node b {
    padding: 0.4rem 0.7rem;
  }

  .tech-list,
  .care-list,
  .track,
  .form-row {
    grid-template-columns: 1fr;
  }

  .pillar-visual {
    min-height: 320px;
    padding: 1.25rem;
  }

  .stack {
    width: 180px;
    height: 180px;
    margin-top: 40px;
  }

  .hero-actions .button {
    flex: 1 1 auto;
  }

  .contact-panel {
    padding: 1rem;
  }

  .intake-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
  }

  .footer-cols {
    grid-template-columns: 1fr 1fr;
  }
}
