/* =========================================================
   Al Hikma Labs /. Science With Purpose
   Pharmaceutical & Life Sciences Landing Page
   ========================================================= */

:root {
  --deep-teal: #075E62;
  --teal: #0B8584;
  --emerald: #22A879;
  --electric-violet: #6657D9;
  --soft-violet: #E9E6FF;
  --warm-amber: #F0B84B;
  --coral: #EF796B;
  --clinical-white: #FFFFFF;
  --soft-mint: #EAF8F2;
  --ice-blue: #EEF8FA;
  --soft-lilac: #F4F1FF;
  --ink: #173033;
  --muted: #6B7C7D;
  --line: rgba(7, 94, 98, 0.13);

  --font-body: "Manrope", system-ui, sans-serif;
  --font-display: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;

  --header-h: 80px;
  --radius: 2px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
}

/* ---------- Reset ---------- */
*,
*::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: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--clinical-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

button,
input {
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--electric-violet);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 1000;
  padding: 0.75rem 1.25rem;
  background: var(--deep-teal);
  color: var(--clinical-white);
  font-weight: 600;
}

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

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

.container {
  width: min(100% - 2 * var(--gutter), var(--max));
  margin-inline: auto;
}

.section {
  padding-block: clamp(4.5rem, 10vw, 8rem);
}

.mono {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}

.eyebrow {
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.section-label {
  color: var(--teal);
  margin-bottom: 1rem;
}

.section-label--light {
  color: rgba(234, 248, 242, 0.75);
}

.display {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4.2vw, 3.35rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.display--center {
  text-align: center;
  max-width: 18ch;
  margin-inline: auto;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.display--light {
  color: var(--clinical-white);
}

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

.lede--center {
  text-align: center;
  margin-inline: auto;
  margin-bottom: 2.5rem;
}

.lede--light {
  color: rgba(234, 248, 242, 0.85);
  margin-inline: auto;
  text-align: center;
}

.note {
  color: var(--muted);
  margin-top: 0.75rem;
  font-size: 0.7rem;
}

.note--light {
  color: rgba(234, 248, 242, 0.55);
  margin-bottom: 2rem;
}

.badge {
  display: inline-block;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--line);
  color: var(--muted);
  background: var(--soft-mint);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.4rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease);
}

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

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

.btn--primary {
  background: var(--deep-teal);
  color: var(--clinical-white);
}

.btn--primary:hover {
  background: var(--teal);
}

.btn--ghost {
  background: transparent;
  color: var(--deep-teal);
  border-color: var(--line);
}

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

.btn--amber {
  background: var(--warm-amber);
  color: var(--ink);
}

.btn--amber:hover {
  background: #f5c96a;
}

.btn--outline-light {
  background: transparent;
  color: var(--clinical-white);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn--outline-light:hover {
  border-color: var(--clinical-white);
  background: rgba(255, 255, 255, 0.08);
}

.btn--header {
  padding: 0.7rem 1.1rem;
  font-size: 0.875rem;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: height 0.35s var(--ease), background 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

.site-header.is-scrolled {
  --header-h: 64px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 30px rgba(7, 94, 98, 0.06);
  border-bottom-color: rgba(7, 94, 98, 0.12);
}

.site-header.is-scrolled .logo-lockup .hikma-cell {
  width: 34px;
  height: 34px;
}

.header-inner {
  width: min(100% - 2 * var(--gutter), var(--max));
  margin-inline: auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo-lockup {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

.logo-lockup:hover .cell-node--n {
  transform: scale(1.25);
}

.hikma-cell {
  flex-shrink: 0;
  transition: width 0.35s var(--ease), height 0.35s var(--ease);
}

.hikma-cell .cell-node--n {
  transform-origin: center;
  transform-box: fill-box;
  transition: transform 0.4s var(--ease);
}

.hikma-cell--mono {
  filter: grayscale(1);
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.logo-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: var(--deep-teal);
}

.logo-desc {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.06em;
  color: var(--muted);
  text-transform: uppercase;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-list {
  display: flex;
  gap: 1.5rem;
}

.nav-list a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  position: relative;
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1.5px;
  background: var(--emerald);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav-list a:hover::after,
.nav-list a:focus-visible::after {
  transform: scaleX(1);
}

.nav-contact {
  font-size: 0.875rem;
  color: var(--muted);
  font-weight: 500;
}

.nav-contact:hover {
  color: var(--deep-teal);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 7px;
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--deep-teal);
  transition: transform 0.3s var(--ease), opacity 0.3s;
}

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

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

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  padding: calc(var(--header-h) + clamp(2rem, 5vw, 4rem)) var(--gutter) clamp(3rem, 6vw, 5rem);
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
  overflow: hidden;
  background: var(--clinical-white);
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
}

.hero-blob--mint {
  width: min(55vw, 640px);
  height: min(55vw, 640px);
  background: var(--soft-mint);
  top: 10%;
  right: 5%;
  opacity: 0.9;
}

.hero-blob--ice {
  width: min(40vw, 480px);
  height: min(40vw, 480px);
  background: var(--ice-blue);
  bottom: 5%;
  left: 10%;
  opacity: 0.85;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 70% 45%, black 20%, transparent 70%);
  opacity: 0.5;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 560px;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(50px, 7vw, 105px);
  line-height: 0.92;
  letter-spacing: -0.045em;
  margin-bottom: 1.5rem;
}

.hero-line {
  display: block;
}

.hero-line--teal {
  color: var(--deep-teal);
}

.hero-line--purpose {
  background: linear-gradient(105deg, var(--electric-violet) 0%, var(--emerald) 70%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-support {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--muted);
  max-width: 38ch;
  margin-bottom: 2rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-visual {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.living-molecule {
  position: relative;
  width: min(100%, 520px);
  aspect-ratio: 1;
}

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

.mol-core {
  transform-origin: center;
  animation: core-breathe 6s ease-in-out infinite;
}

.link.pulse {
  stroke-dasharray: 6 8;
  animation: dash-pulse 4s linear infinite;
}

.float-a {
  animation: float-y 5.5s ease-in-out infinite;
}

.float-b {
  animation: float-y 7s ease-in-out infinite reverse;
}

.float-c {
  animation: float-y 6.2s ease-in-out infinite 0.8s;
}

.micro-label {
  position: absolute;
  color: var(--muted);
  opacity: 0.7;
  font-size: 0.65rem;
  pointer-events: none;
}

.ml-1 { top: 8%; left: 2%; }
.ml-2 { top: 18%; right: 0; }
.ml-3 { bottom: 28%; left: -2%; }
.ml-4 { bottom: 12%; right: 8%; }
.ml-5 { top: 48%; right: -4%; color: var(--teal); }

/* ---------- Intro ---------- */
.intro {
  background: var(--soft-mint);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: end;
}

.intro-statement {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.stmt {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3.25rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.stmt--teal { color: var(--deep-teal); }
.stmt--emerald { color: var(--emerald); }
.stmt--violet { color: var(--electric-violet); }

/* ---------- Pillars ---------- */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.pillar {
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.pillar-icon {
  color: var(--deep-teal);
  margin-bottom: 1.25rem;
}

.pillar h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  letter-spacing: -0.02em;
}

.pillar p {
  color: var(--muted);
  font-size: 0.98rem;
}

/* ---------- Capabilities ---------- */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}

.cap-item {
  position: relative;
  padding: 2rem 1.75rem 2.25rem;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  transition: background 0.35s var(--ease);
  overflow: hidden;
}

.cap-item:nth-child(3n) {
  border-right: none;
}

.cap-item:hover {
  background: var(--soft-mint);
}

.cap-num {
  display: block;
  color: var(--teal);
  margin-bottom: 1rem;
  transition: transform 0.35s var(--ease), color 0.35s var(--ease);
}

.cap-item:hover .cap-num {
  transform: translateX(6px);
  color: var(--emerald);
}

.cap-item h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
  letter-spacing: -0.02em;
}

.cap-item p {
  color: var(--muted);
  font-size: 0.95rem;
}

.cap-line {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--emerald);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.cap-item:hover .cap-line {
  transform: scaleX(1);
}

/* ---------- Discovery Path ---------- */
.discovery {
  background: var(--ice-blue);
}

.path {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.path-track {
  position: absolute;
  top: 1.6rem;
  left: 8%;
  right: 8%;
  height: 40px;
  pointer-events: none;
}

.path-svg {
  width: 100%;
  height: 40px;
}

.path-stage {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-top: 0.5rem;
}

.path-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--clinical-white);
  border: 1.5px solid var(--emerald);
  color: var(--deep-teal);
  margin-bottom: 1.25rem;
}

.path-stage h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.path-stage p {
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 18ch;
  margin-inline: auto;
}

/* ---------- Research Areas ---------- */
.research-areas {
  background: var(--deep-teal);
  color: var(--clinical-white);
}

.area-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 2.5rem;
}

.area {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: start;
  padding: 1.75rem 0;
  border-top: 1px solid rgba(234, 248, 242, 0.15);
  transition: padding-left 0.35s var(--ease);
}

.area:last-child {
  border-bottom: 1px solid rgba(234, 248, 242, 0.15);
}

.area:hover {
  padding-left: 0.75rem;
}

.area-marker {
  width: 10px;
  height: 10px;
  margin-top: 0.45rem;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 4px rgba(34, 168, 121, 0.2);
}

.area h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  letter-spacing: -0.02em;
}

.area p {
  color: rgba(234, 248, 242, 0.72);
  max-width: 50ch;
}

/* ---------- Lab Visual ---------- */
.lab-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.lab-canvas {
  background: var(--ice-blue);
  border: 1px solid var(--line);
  overflow: hidden;
}

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

/* ---------- Library ---------- */
.search-form {
  margin: 2rem 0 1.75rem;
}

.search-label {
  display: block;
  color: var(--teal);
  margin-bottom: 0.65rem;
}

.search-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.search-row input {
  flex: 1 1 280px;
  padding: 0.95rem 1.15rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: var(--clinical-white);
  color: var(--ink);
}

.search-row input::placeholder {
  color: var(--muted);
}

.search-row input:focus {
  border-color: var(--teal);
  outline: none;
  box-shadow: 0 0 0 3px rgba(11, 133, 132, 0.15);
}

.lib-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.lib-cat {
  padding: 0.55rem 1rem;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.lib-cat:hover,
.lib-cat.is-active {
  background: var(--deep-teal);
  color: var(--clinical-white);
  border-color: var(--deep-teal);
}

.lib-entries {
  border-top: 1px solid var(--line);
}

.lib-entry {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1.65rem 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.3s;
}

.lib-entry:hover {
  background: linear-gradient(90deg, var(--soft-mint), transparent);
}

.lib-num {
  color: var(--teal);
  transition: transform 0.35s var(--ease);
}

.lib-entry:hover .lib-num {
  transform: translateX(4px);
  color: var(--emerald);
}

.lib-body h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}

.meta {
  color: var(--muted);
  font-size: 0.7rem;
}

.lib-link {
  font-weight: 600;
  color: var(--deep-teal);
  white-space: nowrap;
}

.lib-link .arrow {
  display: inline-block;
  transition: transform 0.35s var(--ease);
}

.lib-entry:hover .lib-link .arrow {
  transform: translateX(4px);
}

/* ---------- Quality ---------- */
.principle-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.principle {
  padding-top: 1.25rem;
}

.principle-dot {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald);
  margin-bottom: 1.25rem;
}

.principle h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.principle p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- Technology ---------- */
.tech {
  background: var(--ice-blue);
}

.tech-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.tech-viz {
  display: flex;
  justify-content: center;
  background: var(--clinical-white);
  border: 1px solid var(--line);
  padding: 1.5rem;
}

.tech-svg {
  width: min(100%, 360px);
  height: auto;
}

.tv-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  fill: var(--muted);
}

.tv-label--emph {
  fill: var(--deep-teal);
  font-size: 13px;
  font-weight: 500;
}

.tv-line {
  stroke: var(--teal);
  stroke-width: 1.5;
  stroke-opacity: 0.45;
}

/* ---------- Global ---------- */
.world-net {
  position: relative;
  margin-top: 1rem;
}

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

.world-labels {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: 0.7rem;
}

/* ---------- About ---------- */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.about-copy p {
  color: var(--muted);
  margin-bottom: 1.25rem;
  max-width: 48ch;
}

.about-copy .btn {
  margin-top: 0.75rem;
}

/* ---------- Insights ---------- */
.insight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2rem);
  margin-top: 1.5rem;
}

.insight {
  padding: 1.75rem 0;
  border-top: 2px solid var(--deep-teal);
  transition: border-color 0.35s var(--ease);
}

.insight:hover {
  border-top-color: var(--emerald);
}

.insight-num {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--soft-mint);
  line-height: 1;
  display: block;
  margin-bottom: 0.75rem;
  transition: transform 0.35s var(--ease), color 0.35s var(--ease);
}

.insight:hover .insight-num {
  color: var(--emerald);
  transform: translateY(-4px);
}

.insight-cat {
  color: var(--muted);
  display: block;
  margin-bottom: 0.75rem;
  font-size: 0.7rem;
}

.insight h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
}

.insight p {
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.insight-art {
  width: 120px;
  height: auto;
  opacity: 0.85;
}

/* ---------- Final CTA ---------- */
.final-cta {
  position: relative;
  background: var(--deep-teal);
  overflow: hidden;
  padding-block: clamp(5rem, 12vw, 9rem);
}

.cta-network {
  position: absolute;
  inset: 0;
  opacity: 0.9;
  pointer-events: none;
}

.cta-network svg {
  width: 100%;
  height: 100%;
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cta-title {
  margin-bottom: 1.25rem;
}

.cta-content .hero-ctas {
  justify-content: center;
  margin-top: 2rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #054a4d;
  color: rgba(234, 248, 242, 0.85);
  padding-top: clamp(3.5rem, 7vw, 5rem);
  padding-bottom: 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.1fr 2fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(234, 248, 242, 0.12);
}

.footer-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  color: var(--clinical-white);
  margin-top: 1rem;
  margin-bottom: 0.35rem;
}

.footer-desc {
  color: rgba(234, 248, 242, 0.5);
  font-size: 0.65rem;
  margin-bottom: 1rem;
}

.footer-tag {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--warm-amber);
}

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

.footer-nav h3 {
  color: var(--clinical-white);
  margin-bottom: 1rem;
  font-size: 0.7rem;
}

.footer-nav a {
  display: block;
  padding: 0.3rem 0;
  font-size: 0.95rem;
  color: rgba(234, 248, 242, 0.7);
  transition: color 0.25s;
}

.footer-nav a:hover {
  color: var(--warm-amber);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.75rem;
  font-size: 0.85rem;
  color: rgba(234, 248, 242, 0.5);
}

.footer-legal {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.footer-legal a:hover {
  color: var(--clinical-white);
}

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Animations ---------- */
@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes dash-pulse {
  to { stroke-dashoffset: -28; }
}

@keyframes core-breathe {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.92; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

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

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: calc(var(--header-h) + 2.5rem);
  }

  .hero-visual {
    order: -1;
  }

  .living-molecule {
    width: min(100%, 420px);
  }

  .micro-label {
    display: none;
  }

  .intro-grid,
  .lab-layout,
  .tech-layout,
  .about-layout,
  .footer-top {
    grid-template-columns: 1fr;
  }

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

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

  .cap-item:nth-child(3n) {
    border-right: 1px solid var(--line);
  }

  .cap-item:nth-child(2n) {
    border-right: none;
  }

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

  .path-track {
    display: none;
  }

  .insight-grid {
    grid-template-columns: 1fr;
  }

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

  .logo-desc {
    display: none;
  }
}

/* ---------- Mobile ---------- */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .primary-nav {
    position: fixed;
    inset: var(--header-h) 0 0;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 2rem var(--gutter);
    background: var(--clinical-white);
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    overflow-y: auto;
  }

  .primary-nav.is-open {
    transform: none;
  }

  .nav-list {
    flex-direction: column;
    gap: 0;
    margin-bottom: 1.5rem;
  }

  .nav-list a {
    display: block;
    padding: 1rem 0;
    font-size: 1.35rem;
    font-family: var(--font-display);
    font-weight: 600;
    border-bottom: 1px solid var(--line);
  }

  .nav-contact {
    margin-bottom: 1.25rem;
  }

  .btn--header {
    width: 100%;
    justify-content: center;
  }

  body.nav-open {
    overflow: hidden;
  }

  .pillar-grid,
  .principle-grid,
  .cap-grid {
    grid-template-columns: 1fr;
  }

  .cap-item,
  .cap-item:nth-child(3n),
  .cap-item:nth-child(2n) {
    border-right: none;
  }

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

  .path-stage {
    text-align: left;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.25rem 1rem;
    align-items: start;
  }

  .path-num {
    grid-row: span 2;
    margin-bottom: 0;
  }

  .path-stage p {
    margin-inline: 0;
    max-width: none;
  }

  .lib-entry {
    grid-template-columns: auto 1fr;
    gap: 1rem;
  }

  .lib-link {
    grid-column: 2;
  }

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

  .hero-title {
    font-size: clamp(42px, 12vw, 64px);
  }

  .ml-1, .ml-2, .ml-3, .ml-4, .ml-5 {
    display: none;
  }
}

@media (max-width: 480px) {
  .footer-nav {
    grid-template-columns: 1fr;
  }

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