/* =============================================
   VIATANUM | Pharmaceutical & Health-Tech
   Visual system: molecular geometry + clinical precision
   ============================================= */

:root {
  --ivory: #f5f8f6;
  --navy: #102a35;
  --teal: #167d83;
  --mint: #b9e5d5;
  --sage: #dcebe4;
  --graphite: #253238;
  --coral: #e88972;
  --white: #ffffff;

  --navy-80: rgba(16, 42, 53, 0.8);
  --navy-12: rgba(16, 42, 53, 0.12);
  --teal-18: rgba(22, 125, 131, 0.18);
  --teal-08: rgba(22, 125, 131, 0.08);
  --ivory-80: rgba(245, 248, 246, 0.8);

  --font-display: "Sora", "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;

  --text: var(--graphite);
  --heading: var(--navy);
  --muted: rgba(37, 50, 56, 0.72);
  --line: rgba(16, 42, 53, 0.12);
  --bg: var(--ivory);

  --radius: 4px;
  --radius-lg: 12px;
  --header-h: 76px;
  --wrap: min(1180px, calc(100% - clamp(1.5rem, 5vw, 4.5rem) * 2));
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --fs-hero: clamp(2.4rem, 5.6vw, 5.1rem);
  --fs-h2: clamp(1.85rem, 3.6vw, 3.4rem);
  --fs-h3: clamp(1.15rem, 1.6vw, 1.45rem);
  --fs-body: clamp(1rem, 1.05vw, 1.125rem);
  --fs-small: 0.8125rem;
  --fs-label: 0.6875rem;
  --lh-body: 1.7;
  --lh-head: 1.08;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

button,
a {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

::selection {
  background: var(--mint);
  color: var(--navy);
}

ul,
ol {
  list-style: none;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--navy);
  color: var(--ivory);
  padding: 0.7rem 1rem;
  border-radius: var(--radius);
}

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

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

/* Focus */
:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

/* Type */
h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--heading);
  letter-spacing: -0.03em;
  line-height: var(--lh-head);
}

h1 {
  font-size: var(--fs-hero);
  font-weight: 600;
}

h2 {
  font-size: var(--fs-h2);
}

h3 {
  font-size: var(--fs-h3);
  letter-spacing: -0.02em;
}

.eyebrow,
.section-index,
.dash-label,
.card-cat,
.footer-head,
.overlay-label,
.trust-heading,
.footer-meta,
.dash-meta,
.insight-tag,
.metric-note {
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 500;
}

.section-index {
  margin-bottom: 1.25rem;
}

.section-index.light {
  color: var(--mint);
}

.section-title {
  max-width: 16ch;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.9rem 1.35rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease),
    border-color 0.35s var(--ease), color 0.35s var(--ease);
}

.btn .icon-arrow,
.text-link svg,
.core-arrow svg {
  transition: transform 0.35s var(--ease);
}

.btn:hover .icon-arrow,
.text-link:hover svg,
.core-row:hover .core-arrow svg {
  transform: translateX(4px);
}

.btn-primary {
  background: var(--navy);
  color: var(--ivory);
}

.btn-primary:hover {
  background: #163844;
}

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy-12);
}

.btn-ghost:hover {
  border-color: var(--teal);
  background: var(--teal-08);
}

.btn-nav {
  background: var(--navy);
  color: var(--ivory);
  padding: 0.65rem 1rem;
  font-size: 0.82rem;
}

.btn-light {
  background: var(--ivory);
  color: var(--navy);
}

.btn-light:hover {
  background: var(--mint);
}

.btn-on-dark {
  background: transparent;
  color: var(--ivory);
  border-color: rgba(245, 248, 246, 0.28);
}

.btn-on-dark:hover {
  border-color: var(--mint);
  color: var(--mint);
}

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

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

.site-header.is-scrolled,
body.nav-open .site-header {
  background: rgba(245, 248, 246, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--line);
}

.nav-inner {
  width: min(1280px, calc(100% - clamp(1.25rem, 4vw, 3.5rem) * 2));
  margin-inline: auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--navy);
  flex-shrink: 0;
}

.logo-mark {
  color: var(--navy);
  flex-shrink: 0;
}

.logo-word {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.28em;
}

.nav-links {
  display: flex;
  gap: 1.75rem;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.92rem;
  color: var(--navy);
  position: relative;
  padding: 0.2rem 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--teal);
  transition: width 0.35s var(--ease);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  width: 100%;
}

.nav-end {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.status-live {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 0 rgba(22, 125, 131, 0.5);
  animation: live 2.4s ease-out infinite;
}

@keyframes live {
  0% {
    box-shadow: 0 0 0 0 rgba(22, 125, 131, 0.45);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(22, 125, 131, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(22, 125, 131, 0);
  }
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
}

.menu-bar {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--navy);
  transition: transform 0.35s var(--ease), opacity 0.3s;
}

.menu-toggle[aria-expanded="true"] .menu-bar:first-child {
  transform: translateY(3.75px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-bar:last-child {
  transform: translateY(-3.75px) rotate(-45deg);
}

.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 45;
  background: var(--ivory);
  display: grid;
  place-items: center;
  padding: 5rem 1.5rem 2rem;
}

.nav-overlay[hidden] {
  display: none;
}

.overlay-label {
  margin-bottom: 1.5rem;
}

.overlay-links {
  display: grid;
  gap: 0.4rem;
}

.overlay-links a {
  font-family: var(--font-display);
  font-size: clamp(2rem, 8vw, 3rem);
  text-decoration: none;
  color: var(--navy);
  letter-spacing: -0.03em;
}

.overlay-cta {
  margin-top: 2.5rem;
}

body.nav-open {
  overflow: hidden;
}

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: calc(var(--header-h) + clamp(1.2rem, 3vw, 2.4rem)) 0 clamp(3rem, 7vw, 5.5rem);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(22, 125, 131, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 125, 131, 0.06) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at 70% 40%, black 20%, transparent 72%);
  pointer-events: none;
}

.hero-grid {
  width: min(1280px, calc(100% - clamp(1.25rem, 4vw, 3.5rem) * 2));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding-block: 1rem;
}

.hero-copy .eyebrow {
  margin-bottom: 1.4rem;
}

.hero-copy h1 {
  max-width: 12ch;
}

.lede {
  margin-top: 1.5rem;
  max-width: 42ch;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.15vw, 1.18rem);
}

.hero-cred {
  margin-top: 1.75rem;
  font-size: var(--fs-small);
  color: var(--muted);
  letter-spacing: 0.02em;
}

.hero-visual {
  position: relative;
}

.mol-intel {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 50px rgba(22, 125, 131, 0.08));
}

.orbit-group {
  transform-origin: 320px 300px;
  animation: spin 48s linear infinite;
}

.orbit-a {
  animation: spin 28s linear infinite;
  transform-origin: 320px 300px;
}

.orbit-b {
  animation: spin 36s linear infinite reverse;
  transform-origin: 320px 300px;
}

.orbit-c {
  animation: spin 52s linear infinite;
  transform-origin: 320px 300px;
}

.orbit-slow {
  transform-origin: 250px 200px;
  animation: spin 40s linear infinite;
}

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

.node.pulse {
  transform-box: fill-box;
  transform-origin: center;
  animation: pulse 3.6s ease-in-out infinite;
}

.node.pulse.n2,
.node.pulse.n6,
.node.pulse.n11 {
  animation-delay: 0.4s;
}
.node.pulse.n4,
.node.pulse.n9,
.node.pulse.n14 {
  animation-delay: 0.9s;
}
.node.pulse.n5,
.node.pulse.n10 {
  animation-delay: 1.4s;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    filter: drop-shadow(0 0 0 transparent);
  }
  50% {
    opacity: 0.7;
    filter: drop-shadow(0 0 6px rgba(22, 125, 131, 0.45));
  }
}

.bonds path,
.path-draw {
  stroke-dasharray: 8 10;
  animation: dash 18s linear infinite;
}

@keyframes dash {
  to {
    stroke-dashoffset: -180;
  }
}

.hero-visual:hover .node.core {
  filter: drop-shadow(0 0 10px rgba(185, 229, 213, 0.9));
}

.hero-visual:hover .orbit-group {
  animation-duration: 28s;
}

/* =============================================
   TRUST
   ============================================= */
.trust {
  border-block: 1px solid var(--line);
  padding: clamp(1.6rem, 3vw, 2.4rem) 0;
  background: linear-gradient(180deg, rgba(220, 235, 228, 0.45), transparent);
}

.trust-heading {
  text-align: center;
  margin-bottom: 1.4rem;
  color: var(--navy);
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.trust-row li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  padding: 0.6rem 0.8rem;
  border-left: 1px solid var(--line);
}

.trust-row li:first-child {
  border-left: none;
}

.trust-symbol {
  width: 24px;
  height: 24px;
  color: var(--teal);
  flex-shrink: 0;
}

.trust-symbol svg {
  width: 100%;
  height: 100%;
}

/* =============================================
   MISSION
   ============================================= */
.mission {
  position: relative;
  padding: clamp(5rem, 12vw, 9rem) 0;
  overflow: hidden;
}

.mission-wrap {
  position: relative;
  z-index: 1;
  max-width: 52rem;
}

.watermark-v {
  position: absolute;
  right: -4%;
  top: 40%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: clamp(14rem, 28vw, 26rem);
  font-weight: 700;
  color: var(--navy);
  opacity: 0.045;
  pointer-events: none;
  line-height: 0.8;
  letter-spacing: -0.08em;
  user-select: none;
}

.mission h2 {
  display: grid;
  gap: 0.25rem;
  max-width: 16ch;
}

.mission-copy {
  margin-top: 2rem;
  max-width: 46ch;
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  color: var(--muted);
}

/* =============================================
   CORE AREAS
   ============================================= */
.core {
  padding-bottom: clamp(4rem, 10vw, 8rem);
}

.core-list {
  border-top: 1px solid var(--line);
}

.core-row {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr) 8rem 3rem;
  gap: 1.25rem;
  align-items: center;
  padding: clamp(1.4rem, 2.6vw, 2.1rem) 0.4rem;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: background 0.4s var(--ease);
}

.core-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 2px;
  height: 0;
  background: var(--teal);
  transition: height 0.4s var(--ease);
}

.core-row:hover,
.core-row:focus-visible {
  background: linear-gradient(90deg, var(--teal-08), transparent 70%);
}

.core-row:hover::before,
.core-row:focus-visible::before {
  height: 100%;
}

.core-num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  color: var(--teal);
  transition: transform 0.4s var(--ease);
}

.core-row:hover .core-num {
  transform: translateX(8px);
}

.core-body h3 {
  margin-bottom: 0.35rem;
}

.core-body p {
  color: var(--muted);
  max-width: 52ch;
}

.core-visual {
  color: var(--teal);
  opacity: 0;
  transform: translateX(-10px) scale(0.96);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

.core-visual svg {
  width: 120px;
  height: 72px;
}

.core-visual svg circle {
  fill: currentColor;
}

.core-visual svg path,
.core-visual svg rect,
.core-visual svg polygon {
  fill: none;
  stroke: currentColor;
}

.core-row:hover .core-visual,
.core-row:focus-visible .core-visual {
  opacity: 1;
  transform: none;
}

.core-arrow {
  color: var(--navy);
  justify-self: end;
}

/* =============================================
   SCIENCE
   ============================================= */
.science {
  background: var(--sage);
  padding: clamp(4.5rem, 10vw, 8rem) 0;
}

.science-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.lab-visual {
  width: 100%;
  height: auto;
  background: var(--ivory);
  border-radius: var(--radius-lg);
}

.science-copy h2 {
  max-width: 12ch;
  margin-bottom: 2.4rem;
}

.pathway {
  display: grid;
  gap: 0;
  position: relative;
}

.pathway::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 12px;
  bottom: 12px;
  width: 1px;
  background: linear-gradient(var(--teal), rgba(22, 125, 131, 0.15));
  animation: pathPulse 4s ease-in-out infinite;
}

@keyframes pathPulse {
  0%,
  100% {
    opacity: 0.45;
  }
  50% {
    opacity: 1;
  }
}

.pathway li {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 1.1rem;
  padding: 1.1rem 0;
  position: relative;
}

.path-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--ivory);
  background: var(--navy);
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
  z-index: 1;
}

.pathway h3 {
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
}

.pathway p {
  color: var(--muted);
}

/* =============================================
   PLATFORM
   ============================================= */
.platform {
  padding: clamp(4.5rem, 10vw, 8.5rem) 0;
}

.platform-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.8fr);
  gap: 2.5rem;
  align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.platform-intro h2 {
  max-width: 14ch;
}

.platform-intro p {
  color: var(--muted);
  max-width: 42ch;
  padding-bottom: 0.3rem;
}

.dash-frame {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: clamp(1.1rem, 2.4vw, 1.8rem);
  box-shadow: 0 30px 80px rgba(16, 42, 53, 0.06);
}

.dash-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.dash-mark {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: var(--navy);
}

.dash-mark svg {
  color: var(--navy);
}

.dash-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr;
  grid-template-areas:
    "journey journey metrics"
    "signals insight pathway"
    "nodes nodes pathway";
  gap: 0.9rem;
}

.dash-panel {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1rem 1.05rem 0.9rem;
  background: linear-gradient(180deg, var(--ivory), var(--white));
  min-height: 0;
}

.journey {
  grid-area: journey;
}
.metrics {
  grid-area: metrics;
}
.signals {
  grid-area: signals;
}
.insight {
  grid-area: insight;
}
.pathway-panel {
  grid-area: pathway;
}
.nodes-panel {
  grid-area: nodes;
}

.dash-label {
  margin-bottom: 0.75rem;
}

.metric-bars {
  display: flex;
  align-items: flex-end;
  gap: 0.45rem;
  height: 92px;
}

.metric-bars span {
  flex: 1;
  height: var(--h);
  background: linear-gradient(180deg, var(--teal), var(--mint));
  border-radius: 2px 2px 0 0;
  opacity: 0.85;
  animation: barIn 1.2s var(--ease) both;
}

.metric-bars span:nth-child(odd) {
  animation-delay: 0.12s;
}

@keyframes barIn {
  from {
    transform: scaleY(0.2);
    transform-origin: bottom;
    opacity: 0.3;
  }
}

.metric-note,
.insight-tag {
  margin-top: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.08em;
}

.signals ul {
  display: grid;
  gap: 0.65rem;
}

.signals li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.9rem;
}

.signals em {
  margin-left: auto;
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
}

.sig-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sage);
  border: 1px solid var(--teal);
}

.sig-dot.on {
  background: var(--teal);
  animation: live 2s ease-out infinite;
}

.insight-text {
  font-size: 0.95rem;
  color: var(--muted);
}

.float-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.1rem;
}

.float-labels li {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy);
  border: 1px solid var(--line);
  padding: 0.4rem 0.7rem;
  border-radius: 99px;
  background: var(--ivory);
}

/* =============================================
   INNOVATION
   ============================================= */
.innovation {
  position: relative;
  background: var(--navy);
  color: var(--ivory);
  padding: clamp(5rem, 11vw, 9rem) 0;
  overflow: hidden;
}

.innovation-bg {
  position: absolute;
  inset: 0;
  opacity: 0.9;
  pointer-events: none;
}

.innovation-bg svg {
  width: 100%;
  height: 100%;
}

.innovation .wrap {
  position: relative;
  z-index: 1;
}

.innovation h2 {
  color: var(--ivory);
  display: grid;
  gap: 0.3rem;
  max-width: 18ch;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

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

.innov-panel {
  border: 1px solid rgba(185, 229, 213, 0.18);
  background: rgba(16, 42, 53, 0.35);
  backdrop-filter: blur(8px);
  padding: 1.8rem 1.5rem 1.7rem;
  border-radius: 10px;
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease);
}

.innov-panel:hover {
  border-color: var(--mint);
  transform: translateY(-4px);
}

.innov-panel h3 {
  color: var(--ivory);
  margin: 0.6rem 0 0.7rem;
}

.innov-panel p {
  color: rgba(245, 248, 246, 0.72);
}

.innov-panel .dash-label {
  color: var(--mint);
}

/* =============================================
   RESEARCH
   ============================================= */
.research {
  padding: clamp(4.5rem, 10vw, 8.5rem) 0;
}

.research-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.research-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.15rem 1.15rem 1.4rem;
  display: grid;
  gap: 0.7rem;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.research-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(16, 42, 53, 0.07);
}

.card-visual {
  background: var(--sage);
  border-radius: 8px;
  overflow: hidden;
}

.card-visual svg {
  width: 100%;
  height: auto;
}

.card-cat {
  margin-top: 0.3rem;
}

.research-card p:not(.card-cat) {
  color: var(--muted);
  font-size: 0.98rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 500;
  margin-top: 0.4rem;
}

/* =============================================
   HUMAN
   ============================================= */
.human {
  padding: clamp(4.5rem, 10vw, 8.5rem) 0;
}

.human-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.human-copy h2 {
  display: grid;
  gap: 0.25rem;
  margin-bottom: 1.5rem;
}

.human-copy p {
  max-width: 42ch;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
}

.human-visual {
  background: radial-gradient(circle at 50% 42%, var(--mint), transparent 62%),
    var(--sage);
  border-radius: 16px;
  padding: 1.5rem;
}

.node.teal {
  fill: var(--teal);
}

/* =============================================
   METHOD
   ============================================= */
.method {
  padding: 0 0 clamp(5rem, 10vw, 8rem);
}

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

.method-path li {
  padding-right: 0.5rem;
}

.method-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--teal);
  margin-bottom: 0.75rem;
}

.method-path h3 {
  margin-bottom: 0.4rem;
}

.method-path p {
  color: var(--muted);
}

.method-line {
  width: 100%;
  height: auto;
  margin-top: 2rem;
}

/* =============================================
   ABOUT
   ============================================= */
.about {
  border-top: 1px solid var(--line);
  padding: clamp(4.5rem, 10vw, 8rem) 0;
}

.about-wrap {
  max-width: 42rem;
}

.about h2 {
  max-width: 14ch;
  margin-bottom: 1.4rem;
}

.about p {
  color: var(--muted);
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  margin-bottom: 2rem;
}

/* =============================================
   FINAL CTA
   ============================================= */
.final-cta {
  position: relative;
  background: var(--navy);
  color: var(--ivory);
  padding: clamp(5.5rem, 12vw, 10rem) 0;
  overflow: hidden;
}

.cta-v {
  position: absolute;
  right: -2%;
  bottom: -18%;
  font-family: var(--font-display);
  font-size: clamp(18rem, 38vw, 34rem);
  font-weight: 700;
  color: var(--ivory);
  opacity: 0.05;
  line-height: 0.75;
  pointer-events: none;
  letter-spacing: -0.08em;
  user-select: none;
}

.cta-wrap {
  position: relative;
  z-index: 1;
  max-width: 46rem;
}

.final-cta h2 {
  color: var(--ivory);
  max-width: 14ch;
  margin-bottom: 1.3rem;
}

.final-cta p {
  color: rgba(245, 248, 246, 0.72);
  max-width: 42ch;
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: #0c2129;
  color: var(--ivory);
  padding: 3.5rem 0 1.6rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(245, 248, 246, 0.1);
}

.logo-light,
.logo-light .logo-mark {
  color: var(--ivory);
}

.footer-tag {
  margin-top: 1rem;
  color: rgba(245, 248, 246, 0.65);
  max-width: 24ch;
}

.footer-head {
  color: var(--mint);
  margin-bottom: 1rem;
}

.site-footer a {
  text-decoration: none;
  color: rgba(245, 248, 246, 0.78);
}

.site-footer a:hover {
  color: var(--mint);
}

.site-footer nav ul {
  display: grid;
  gap: 0.55rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.3rem;
  font-size: 0.85rem;
  color: rgba(245, 248, 246, 0.55);
}

.footer-meta {
  color: rgba(185, 229, 213, 0.7);
}

/* =============================================
   REVEAL
   ============================================= */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  animation: none;
}

.reveal.is-in {
  animation: rise 0.9s var(--ease) forwards;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1080px) {
  .nav-desktop {
    display: none;
  }

  .status-live {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .hero-grid,
  .science-split,
  .platform-intro,
  .human-split,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .core-row {
    grid-template-columns: 3.2rem minmax(0, 1fr) 2.2rem;
  }

  .core-visual {
    display: none;
  }

  .dash-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "journey journey"
      "metrics signals"
      "insight pathway"
      "nodes nodes";
  }

  .research-grid,
  .innov-grid {
    grid-template-columns: 1fr 1fr;
  }

  .method-path {
    grid-template-columns: 1fr 1fr;
  }

  .method-line {
    display: none;
  }

  .hero-copy h1 {
    max-width: 14ch;
  }
}

@media (max-width: 720px) {
  :root {
    --header-h: 64px;
  }

  .btn-nav {
    display: none;
  }

  .logo-word {
    letter-spacing: 0.2em;
    font-size: 0.82rem;
  }

  .hero {
    min-height: unset;
  }

  .trust-row {
    grid-template-columns: 1fr 1fr;
  }

  .trust-row li {
    border-left: none;
    border-top: 1px solid var(--line);
    justify-content: flex-start;
    padding: 0.85rem 0.2rem;
  }

  .trust-row li:nth-child(-n + 2) {
    border-top: none;
  }

  .research-grid,
  .innov-grid,
  .dash-grid {
    grid-template-columns: 1fr;
  }

  .dash-grid {
    grid-template-areas:
      "journey"
      "metrics"
      "signals"
      "insight"
      "pathway"
      "nodes";
  }

  .method-path {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    margin-top: 0.5rem;
  }

  .watermark-v,
  .cta-v {
    opacity: 0.04;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 400px) {
  .logo-word {
    display: none;
  }
}

/* =============================================
   REDUCED MOTION
   ============================================= */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

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

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

  .particle {
    display: none;
  }
}
