/* ==========================================================================
   Stork Biopharma — Design System & Components
   ========================================================================== */

:root {
  /* Brand — primary #0158FC + matching companions */
  --blue: #0158FC;
  --blue-deep: #003FC4;
  --blue-soft: #E8F0FF;
  --teal: #00C2D1;
  --teal-deep: #0098A6;
  --teal-soft: #E5FBFD;
  --coral: #FF6A3D;
  --coral-deep: #E85228;
  --coral-soft: #FFF1EC;

  /* Neutrals */
  --bg: #F5F8FC;
  --bg-tint: #EEF3FA;
  --white: #FFFFFF;
  --charcoal: #121A2A;
  --text: #121A2A;
  --text-muted: #536074;
  --border: #DCE5F2;
  --shadow: 0 10px 30px rgba(1, 88, 252, 0.08);
  --shadow-lg: 0 18px 50px rgba(1, 88, 252, 0.14);
  --shadow-hover: 0 14px 36px rgba(1, 88, 252, 0.18);

  /* Gradients */
  --grad-brand: linear-gradient(135deg, #0158FC 0%, #00C2D1 100%);
  --grad-hero: linear-gradient(120deg, rgba(1, 40, 140, 0.88) 0%, rgba(1, 88, 252, 0.72) 48%, rgba(0, 194, 209, 0.62) 100%);
  --grad-band: linear-gradient(90deg, #003FC4 0%, #0158FC 50%, #00A8B8 100%);
  --grad-soft: linear-gradient(180deg, #E8F0FF 0%, #E5FBFD 100%);

  /* Typography */
  --font-display: "Sora", "Segoe UI", sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;

  /* Spacing & layout */
  --container: 1280px;
  --pad: clamp(1.25rem, 3vw, 2rem);
  --section-y: clamp(4rem, 8vw, 6.5rem);
  --radius: 16px;
  --radius-sm: 12px;
  --radius-lg: 20px;
  --header-h: 84px;
  --header-h-scrolled: 68px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --transition: 0.3s var(--ease);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h-scrolled) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--charcoal);
  line-height: 1.2;
  margin: 0 0 0.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

.container {
  width: min(100% - (var(--pad) * 2), var(--container));
  margin-inline: auto;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.85rem;
}

.section {
  padding: var(--section-y) 0;
}

.section--bg {
  background: var(--bg);
}

.section--tint {
  background: var(--grad-soft);
}

.section-head {
  max-width: 720px;
  margin-bottom: 2.75rem;
}

.section-head--center {
  text-align: center;
  margin-inline: auto;
}

.section-head h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
}

.section-head p {
  font-size: 1.05rem;
  margin-bottom: 0;
}

/* Reveal animations */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

[data-reveal="left"] { transform: translateX(-28px); }
[data-reveal="right"] { transform: translateX(28px); }
[data-reveal="left"].is-visible,
[data-reveal="right"].is-visible { transform: none; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--teal) 45%, white);
  outline-offset: 2px;
}

.btn--primary {
  background: var(--coral);
  color: var(--white);
  box-shadow: 0 8px 22px rgba(255, 106, 61, 0.28);
}

.btn--primary:hover {
  background: var(--coral-deep);
  box-shadow: 0 12px 28px rgba(255, 106, 61, 0.36);
}

.btn--enquire {
  background: #345feb;
  color: var(--white);
  box-shadow: 0 8px 22px rgba(52, 95, 235, 0.28);
}

.btn--enquire:hover {
  background: #2a4fd4;
  box-shadow: 0 12px 28px rgba(52, 95, 235, 0.36);
}

.btn--blue {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 8px 22px rgba(1, 88, 252, 0.25);
}

.btn--blue:hover {
  background: var(--blue-deep);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
}

.btn--outline {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}

.btn--outline:hover {
  background: var(--blue);
  color: var(--white);
}

.btn--teal {
  background: var(--teal);
  color: var(--white);
}

.btn--teal:hover {
  background: var(--teal-deep);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--blue);
  transition: gap var(--transition), color var(--transition);
}

.link-arrow:hover {
  gap: 0.7rem;
  color: var(--teal);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: height var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.site-header.is-scrolled {
  box-shadow: 0 8px 24px rgba(1, 88, 252, 0.08);
  border-bottom-color: var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  transition: min-height var(--transition);
}

.site-header.is-scrolled .header-inner {
  min-height: var(--header-h-scrolled);
}

.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
}

.logo__img {
  display: block;
  height: 52px;
  width: auto;
  max-width: min(220px, 48vw);
  object-fit: contain;
}

.site-header.is-scrolled .logo__img {
  height: 44px;
}

.footer-brand .logo__img {
  height: 56px;
  max-width: 240px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav a {
  position: relative;
  padding: 0.55rem 0.75rem;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color var(--transition);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.2rem;
  height: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.nav a:hover,
.nav a.is-active {
  color: var(--blue);
}

.nav a:hover::after,
.nav a.is-active::after {
  transform: scaleX(1);
}

.header-cta {
  flex-shrink: 0;
}

.header-ctas {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--blue);
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--blue-deep);
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__media img,
.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__video {
  display: block;
  pointer-events: none;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(1, 28, 100, 0.90) 0%, rgba(1, 63, 196, 0.80) 40%, rgba(1, 88, 252, 0.62) 68%, rgba(0, 194, 209, 0.45) 100%);
}

.hero__pattern {
  position: absolute;
  inset: -8%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.18;
  background-color: transparent;
  background-image: url("../assets/images/hero-pattern.svg");
  background-repeat: repeat;
  background-size: 420px 420px;
  background-position: center;
  mix-blend-mode: soft-light;
  animation: heroPatternDrift 70s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes heroPatternDrift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-36px, -22px, 0) scale(1.03); }
}

@media (prefers-reduced-motion: reduce) {
  .hero__pattern {
    animation: none;
  }
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: calc(var(--header-h) + 2rem) 0 5rem;
  max-width: 820px;
  text-shadow: 0 2px 18px rgba(1, 24, 80, 0.45);
}

.hero .eyebrow {
  color: #5EE4F2;
  letter-spacing: 0.18em;
  font-weight: 800;
  text-shadow: 0 1px 12px rgba(1, 24, 80, 0.55);
}

.hero h1 {
  color: #ffffff;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  margin-bottom: 1.1rem;
  font-weight: 800;
  line-height: 1.15;
  text-shadow:
    0 2px 4px rgba(1, 24, 80, 0.35),
    0 10px 28px rgba(1, 24, 80, 0.45);
}

.hero h1 .accent {
  color: #7EEAF5;
}

.hero h1 .accent-warm {
  color: #FF9B78;
}

.hero p {
  color: #F3FAFF;
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  max-width: 620px;
  margin-bottom: 1.75rem;
  font-weight: 500;
  line-height: 1.65;
  text-shadow: 0 2px 14px rgba(1, 24, 80, 0.5);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: var(--font-display);
  animation: bounce 2s ease-in-out infinite;
}

.scroll-indicator svg {
  width: 22px;
  height: 22px;
}

@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* Page banner */
.page-banner {
  position: relative;
  min-height: 42vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--grad-band);
  padding: 5rem 0 3.5rem;
}

.page-banner__media {
  position: absolute;
  inset: 0;
}

.page-banner__media video,
.feature-bleed__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.page-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(1, 28, 100, 0.88) 0%, rgba(1, 63, 196, 0.78) 45%, rgba(0, 194, 209, 0.55) 100%);
}

.page-banner__pattern {
  position: absolute;
  inset: 0;
  opacity: 0.15;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cpath d='M10 40c25 35 50 35 75 0s50-35 75 0' fill='none' stroke='%23fff' stroke-width='1.2'/%3E%3C/svg%3E");
  z-index: 1;
  pointer-events: none;
}

.page-banner .container {
  position: relative;
  z-index: 2;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.75);
}

.breadcrumb a:hover {
  color: var(--white);
  text-decoration: underline;
}

.page-banner h1 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.6rem;
}

.page-banner p {
  color: rgba(255, 255, 255, 0.88);
  max-width: 640px;
  margin: 0;
  font-size: 1.1rem;
}

/* Stats */
.stat-strip {
  background: var(--grad-band);
  color: var(--white);
  padding: 2.75rem 0;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.stat-item {
  text-align: center;
}

.stat-item__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 0.85rem;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.12);
  color: #7EEAF5;
}

.stat-item__icon svg {
  width: 24px;
  height: 24px;
}

.stat-item__value {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-item__label {
  font-size: 0.95rem;
  opacity: 0.88;
}

/* Split layouts */
.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.split--reverse {
  grid-template-columns: 1fr 1.05fr;
}

.split--reverse .split__media {
  order: 2;
}

.media-frame {
  position: relative;
}

.media-frame img,
.media-frame__video {
  width: 100%;
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  box-shadow: var(--shadow);
  transition: transform 0.6s var(--ease);
}

.media-frame__video {
  display: block;
  pointer-events: none;
  background: var(--blue-deep);
}

.media-frame:hover img,
.media-frame:hover .media-frame__video {
  transform: scale(1.03);
}

.media-frame--cover {
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.media-frame--cover img,
.media-frame--cover .media-frame__video {
  transition: transform 0.7s var(--ease);
}

.floating-card {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.1rem;
  box-shadow: var(--shadow-lg);
  max-width: 220px;
}

.floating-card strong {
  display: block;
  font-family: var(--font-display);
  color: var(--blue);
  font-size: 0.95rem;
}

.floating-card span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Cards */
.card-grid {
  display: grid;
  gap: 1.35rem;
}

.card-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.card-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.card-grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.pillar-card,
.feature-card,
.value-card,
.product-card,
.news-card,
.job-card,
.location-card,
.cert-card,
.leader-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.pillar-card:hover,
.feature-card:hover,
.value-card:hover,
.product-card:hover,
.news-card:hover,
.job-card:hover,
.leader-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: color-mix(in srgb, var(--teal) 35%, var(--border));
}

.leader-card {
  text-align: center;
  padding: 1.25rem 1.15rem 1.4rem;
}

.leader-card__photo {
  width: 100%;
  aspect-ratio: 1;
  border-radius: calc(var(--radius) - 4px);
  overflow: hidden;
  background: var(--blue-soft);
  margin-bottom: 1rem;
}

.leader-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.leader-card h3 {
  font-size: 1.05rem;
  margin: 0 0 0.35rem;
  color: var(--charcoal);
}

.leader-card__role {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.leadership-grid {
  margin-top: 0.5rem;
}

.icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--teal-soft);
  color: var(--teal-deep);
  margin-bottom: 1.1rem;
}

.icon-badge svg {
  width: 26px;
  height: 26px;
  stroke-width: 2;
}

.icon-badge--blue {
  background: var(--blue-soft);
  color: var(--blue);
}

.icon-badge--coral {
  background: var(--coral-soft);
  color: var(--coral-deep);
}

.pillar-icon {
  width: 110px;
  height: 110px;
  margin-bottom: 1.15rem;
  display: grid;
  place-items: center;
}

.pillar-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform var(--transition);
}

.pillar-card:hover .pillar-icon img {
  transform: scale(1.05);
}

.pillar-card h3,
.feature-card h3,
.value-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.55rem;
}

.pillar-card p,
.feature-card p,
.value-card p {
  margin-bottom: 1rem;
  font-size: 0.98rem;
}

/* Therapeutic chips */
.therapy-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}

.therapy-card {
  text-align: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 0.85rem;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.therapy-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--teal);
}

.therapy-card .icon-badge img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  display: block;
}

.therapy-card h3 {
  font-size: 0.95rem;
  margin: 0;
}

/* Quote */
.quote-block {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  padding: 1rem 0;
}

.quote-block::before {
  content: "\201C";
  font-family: Georgia, serif;
  font-size: 7rem;
  line-height: 0.7;
  color: color-mix(in srgb, var(--teal) 35%, white);
  position: absolute;
  top: -0.4rem;
  left: 50%;
  transform: translateX(-50%);
}

.quote-block blockquote {
  margin: 2rem 0 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  font-weight: 600;
  color: var(--charcoal);
  line-height: 1.45;
}

.quote-block cite {
  font-style: normal;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.quote-block cite strong {
  display: block;
  color: var(--blue);
  font-family: var(--font-display);
  margin-bottom: 0.15rem;
}

/* CTA banner */
.cta-banner {
  background: var(--grad-brand);
  color: var(--white);
  padding: 3.5rem 0;
}

.cta-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cta-banner h2 {
  color: var(--white);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin: 0 0 0.4rem;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

/* Editorial / values */
.editorial {
  position: relative;
  overflow: hidden;
}

.editorial__number {
  position: absolute;
  top: -0.4rem;
  left: -0.2rem;
  font-family: var(--font-display);
  font-size: clamp(6rem, 14vw, 11rem);
  font-weight: 800;
  line-height: 0.8;
  color: color-mix(in srgb, var(--blue) 8%, transparent);
  pointer-events: none;
  z-index: 0;
}

.editorial .split {
  position: relative;
  z-index: 1;
}

.subhead {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--blue);
  margin: 1.25rem 0 0.4rem;
}

.pull-quote {
  margin: 1.35rem 0;
  padding: 1rem 1.2rem;
  border-left: 4px solid var(--coral);
  background: var(--coral-soft);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--charcoal);
}

.check-list {
  display: grid;
  gap: 0.65rem;
  margin-top: 1.2rem;
}

.check-list li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  color: var(--text-muted);
}

.check-list svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--teal);
  margin-top: 0.15rem;
}

/* Vision band */
.vision-band {
  text-align: center;
  padding: var(--section-y) 0;
  background: var(--grad-soft);
}

.vision-band h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  max-width: 860px;
  margin: 0 auto 1rem;
}

.vision-band p {
  max-width: 640px;
  margin: 0 auto;
}

/* Timeline */
.timeline {
  display: grid;
  gap: 0;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(var(--blue), var(--teal));
}

.timeline-item {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 1rem;
  padding: 0.85rem 0;
}

.timeline-dot {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--teal);
  box-shadow: 0 0 0 6px var(--teal-soft);
  z-index: 1;
}

.timeline-item h3 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.timeline-item .year {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--blue);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.process-step {
  text-align: center;
  position: relative;
  padding: 1.25rem 0.75rem;
}

.process-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 42px;
  right: -0.55rem;
  width: calc(100% - 70px);
  height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--blue));
  opacity: 0.35;
  left: calc(50% + 35px);
}

.process-step .icon-badge {
  margin-inline: auto;
}

.process-step h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.process-step p {
  font-size: 0.9rem;
  margin: 0;
}

/* Sticky tabs */
.anchor-tabs {
  position: sticky;
  top: var(--header-h-scrolled);
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
}

.anchor-tabs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.anchor-tab {
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.anchor-tab:hover,
.anchor-tab.is-active {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

/* Feature full-bleed */
.feature-bleed {
  position: relative;
  min-height: 520px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}

.feature-bleed__media {
  position: absolute;
  inset: 0;
}

.feature-bleed__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-bleed__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 63, 196, 0.92) 0%, rgba(1, 88, 252, 0.78) 55%, rgba(0, 194, 209, 0.55) 100%);
}

.feature-bleed__content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  padding: var(--section-y) 0;
}

.feature-bleed h2,
.feature-bleed .eyebrow,
.feature-bleed p,
.feature-bleed .subhead {
  color: var(--white);
}

.feature-bleed p {
  color: rgba(255, 255, 255, 0.9);
}

.feature-bleed .callout {
  margin-top: 1.5rem;
  padding: 1rem 1.2rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-family: var(--font-display);
  font-weight: 700;
}

/* Products toolbar */
.products-toolbar {
  position: sticky;
  top: var(--header-h-scrolled);
  z-index: 40;
  background: rgba(247, 249, 250, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}

.toolbar-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

.search-field {
  flex: 1 1 240px;
  position: relative;
}

.search-field input,
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.7rem 0.95rem;
  background: var(--white);
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.search-field input:focus,
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(0, 194, 209, 0.15);
}

.filter-chips {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.5rem;
  margin-top: 1rem;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 0.15rem;
}

.filter-chips::-webkit-scrollbar {
  display: none;
}

.chip {
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text-muted);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  flex: 0 0 auto;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.chip:hover,
.chip.is-active {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(30, 90, 140, 0.18);
}

.sort-field select {
  min-width: 150px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.product-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.product-card__media {
  background: linear-gradient(160deg, #eef5f3 0%, #e8eef6 100%);
  aspect-ratio: 5 / 4;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 0.75rem;
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s var(--ease);
}

.product-card:hover .product-card__media img {
  transform: scale(1.04);
}

.product-card__body {
  padding: 1.15rem 1.2rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}

.product-card__body h3 {
  font-size: 1.1rem;
  margin: 0;
}

.product-card__composition {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tag {
  display: inline-flex;
  align-self: flex-start;
  margin-top: 0.35rem;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.product-card .btn {
  margin-top: auto;
  align-self: stretch;
  margin-top: 0.9rem;
}

.product-card__actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.9rem;
}

.product-card__actions .btn {
  margin-top: 0;
  align-self: stretch;
}

.category-heading {
  grid-column: 1 / -1;
  font-size: 1.35rem;
  margin: 1rem 0 0.25rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
}

.category-heading:first-child {
  border-top: 0;
  padding-top: 0;
  margin-top: 0;
}

.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-muted);
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal.is-open {
  display: flex;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 28, 42, 0.55);
  backdrop-filter: blur(4px);
}

.modal__dialog {
  position: relative;
  width: min(100%, 760px);
  max-height: min(90vh, 860px);
  overflow: auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
}

.modal__media {
  background: linear-gradient(160deg, #eef5f3 0%, #e8eef6 100%);
  min-height: 260px;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.modal__media img {
  width: 100%;
  height: 100%;
  max-height: 420px;
  object-fit: contain;
}

.modal__body {
  padding: 1.6rem;
}

.modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--white);
  box-shadow: var(--shadow);
  cursor: pointer;
  font-size: 1.3rem;
  line-height: 1;
  color: var(--charcoal);
}

.modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

/* Forms */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
}

.info-panel {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}

.info-panel h3 {
  margin-bottom: 1rem;
}

.info-list {
  display: grid;
  gap: 1rem;
}

.info-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 0.7rem;
  color: var(--text-muted);
}

.info-list svg {
  color: var(--teal);
  margin-top: 0.2rem;
}

.map-embed {
  margin-top: 1.25rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 16 / 10;
  background: var(--blue-soft);
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-field {
  display: grid;
  gap: 0.4rem;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-field label {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--charcoal);
}

.form-field textarea {
  min-height: 130px;
  resize: vertical;
}

.form-field .error {
  color: #C0392B;
  font-size: 0.82rem;
  display: none;
}

.form-field.is-invalid input,
.form-field.is-invalid select,
.form-field.is-invalid textarea {
  border-color: #C0392B;
}

.form-field.is-invalid .error {
  display: block;
}

.form-success {
  display: none;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-sm);
  background: var(--teal-soft);
  color: var(--teal-deep);
  font-weight: 600;
  margin-bottom: 1rem;
}

.form-success.is-visible {
  display: block;
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 0.75rem;
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.05rem 1.2rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--charcoal);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  color: var(--teal);
  font-size: 1.2rem;
}

.faq-item[open] summary::after {
  content: "\2013";
}

.faq-item p {
  padding: 0 1.2rem 1.15rem;
  margin: 0;
}

/* Certifications */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.cert-card {
  text-align: center;
  padding: 1.5rem 1rem;
}

.cert-badge {
  width: 72px;
  height: 72px;
  margin: 0 auto 0.85rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--grad-soft);
  border: 2px solid var(--border);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.72rem;
  color: var(--blue);
  letter-spacing: 0.02em;
  text-align: center;
  line-height: 1.15;
  padding: 0.4rem;
}

.cert-card h3 {
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

.cert-card p {
  font-size: 0.85rem;
  margin: 0;
}

/* News / careers */
.news-card__media {
  margin: -1.5rem -1.5rem 1rem;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
}

.news-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.news-card:hover .news-card__media img {
  transform: scale(1.04);
}

.meta {
  font-size: 0.82rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-family: var(--font-display);
  font-weight: 700;
}

.job-card {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.job-card h3 {
  margin-bottom: 0.25rem;
}

/* Footer */
.site-footer {
  background: #011B52;
  color: rgba(255, 255, 255, 0.86);
  padding-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr 1.2fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.72);
  margin: 1rem 0;
  font-size: 0.95rem;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.25rem;
}

.socials a {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  overflow: visible;
  line-height: 0;
  transition: background var(--transition), transform var(--transition);
}

.socials a:hover {
  background: var(--teal);
  transform: translateY(-2px);
}

.socials svg {
  width: 18px;
  height: 18px;
  display: block;
  flex-shrink: 0;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  padding: 0.28rem 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
  transition: color var(--transition), padding-left var(--transition);
}

.footer-col a:hover {
  color: #7EEAF5;
  padding-left: 0.25rem;
}

.footer-contact li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 0.55rem;
  margin-bottom: 0.7rem;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.72);
  align-items: start;
}

.footer-contact li strong {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 700;
}

.newsletter {
  display: grid;
  gap: 0.55rem;
}

.newsletter input {
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  padding: 0.65rem 1rem;
}

.newsletter input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.footer-certs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-certs span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.85);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 1.2rem 0 1.5rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
}

.footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom a:hover {
  color: #7EEAF5;
}

/* Utility */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mb-0 { margin-bottom: 0; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

body.modal-open {
  overflow: hidden;
}

/* Responsive */
@media (max-width: 1280px) {
  .therapy-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1024px) {
  .split,
  .split--reverse,
  .contact-grid,
  .modal__dialog {
    grid-template-columns: 1fr;
  }
  .split--reverse .split__media {
    order: 0;
  }
  .stat-grid,
  .card-grid--4,
  .process-steps,
  .cert-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-step:not(:last-child)::after {
    display: none;
  }
  .card-grid--3,
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .therapy-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition), opacity var(--transition);
    box-shadow: var(--shadow);
  }

  .nav.is-open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    padding: 0.85rem 1rem;
  }

  .header-cta,
  .header-ctas {
    display: none;
  }

  .hero {
    min-height: 78vh;
  }

  .stat-grid,
  .card-grid--2,
  .card-grid--3,
  .card-grid--4,
  .therapy-grid,
  .product-grid,
  .process-steps,
  .cert-grid,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cta-banner__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .page-banner {
    min-height: 34vh;
    padding-top: 4.5rem;
  }

  /* Products toolbar: compact single-line on mobile */
  .products-toolbar {
    padding: 0.55rem 0;
  }

  .products-toolbar .container {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.45rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .products-toolbar .container::-webkit-scrollbar {
    display: none;
  }

  .toolbar-row {
    flex: 0 0 auto;
    flex-wrap: nowrap;
    gap: 0.4rem;
    width: min(72vw, 260px);
  }

  .search-field {
    flex: 1 1 auto;
    min-width: 0;
  }

  .search-field input {
    min-height: 38px;
    padding: 0.45rem 0.7rem;
    font-size: 0.82rem;
    border-radius: 10px;
  }

  .sort-field {
    flex: 0 0 auto;
  }

  .sort-field select {
    min-width: 0;
    width: 7.5rem;
    min-height: 38px;
    padding: 0.4rem 0.45rem;
    font-size: 0.72rem;
    border-radius: 10px;
  }

  .filter-chips {
    margin-top: 0;
    flex: 0 0 auto;
    padding-bottom: 0;
  }

  .chip {
    padding: 0.4rem 0.75rem;
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 16px;
  }

  .hero__actions,
  .modal__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .floating-card {
    position: static;
    margin-top: 0.85rem;
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
