/* ==========================================================================
   CELLF Life Sciences — Soft-Clinical design system (matches REFERENCE.md)
   ONE comprehensive stylesheet owning every component across all 4 pages.
   Authored once by the foundation phase. Page builders must NOT edit this file.

   Look: airy light background with a faint scattered scientific-doodle texture,
   rounded Poppins typography, teal headings, pale-teal rounded cards, soft
   shadows, white pill form fields, teal circular icon badges, breadcrumbs.
   Contrast rules from BRAND.md are enforced (white text only on brand-700+).
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Brand palette — EXACT hues from BRAND.md. No new hues. */
  --brand-50:  #f5f9f9;
  --brand-100: #e6f2f1;
  --brand-200: #cfe8e6;
  --brand-300: #69c1bb;
  --brand-400: #5ca5a3;
  --brand-500: #4ca5a3;  /* PRIMARY mid-teal */
  --brand-550: #4aa6a0;
  --brand-600: #2e7f7a;
  --brand-700: #00766f;  /* deepest teal that carries white text at AA */
  --brand-800: #00665e;  /* deep teal */
  --brand-900: #00514b;  /* deepest teal (was an off-brand forest green) */
  --ink:       #0c2a28;  /* body text */
  --ink-soft:  #355d5a;  /* muted / secondary text */
  --surface:   #ffffff;
  --line:      #dbe9e8;

  /* pale-teal translucent card fill (the form card / accent cards) */
  --card-teal: #e7f3f2;

  /* Semantic alert token — sanctioned exception to teal-only, error states only. */
  --danger:    #b3261e;
  --danger-bg: #fbeceb;
  --danger-line: #efc4c0;

  /* Fonts — Poppins everywhere (REFERENCE.md / BRAND.md) */
  --font-sans: 'Poppins', 'Segoe UI', system-ui, -apple-system, sans-serif;

  /* Spacing scale (8px base) */
  --sp-1: 0.25rem;  --sp-2: 0.5rem;  --sp-3: 0.75rem; --sp-4: 1rem;
  --sp-6: 1.5rem;   --sp-8: 2rem;    --sp-12: 3rem;   --sp-16: 4rem;
  --sp-24: 6rem;

  /* Layout */
  --container: 1200px;
  --container-pad: clamp(1.25rem, 4vw, 3rem);
  --section-pad: clamp(3.5rem, 2.6rem + 5vw, 7rem);

  /* Rounded shapes (soft-clinical) */
  --radius-card: 24px;
  --radius-sm: 16px;
  --radius-input: 16px;
  --radius-pill: 999px;

  /* Soft diffuse shadows */
  --shadow-rest:  0 10px 30px rgba(16, 48, 46, .08);
  --shadow-soft:  0 6px 18px rgba(16, 48, 46, .07);
  --shadow-hover: 0 18px 44px rgba(16, 48, 46, .14);
  --shadow-input: 0 4px 12px rgba(16, 48, 46, .06);

  /* Header height (logo ~71px + padding) for sticky offset / scroll-margin */
  --header-h: 104px;

  /* Motion */
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* --------------------------------------------------------------------------
   2. RESET / BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  font-family: var(--font-sans);
  font-size: 1.0625rem;     /* 17px */
  font-weight: 400;
  line-height: 1.7;
  color: var(--ink-soft);
  background-color: var(--brand-50);
  /* SIGNATURE faint scientific-doodle texture, tiled site-wide */
  background-image: url("assets/bg-pattern.svg");
  background-repeat: repeat;
  background-size: 600px 600px;
  background-attachment: scroll;  /* 'fixed' janks on scroll & breaks iOS — tiled look is identical */
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;       /* belt-and-braces against horizontal overflow */
}

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

a { color: var(--brand-700); text-decoration: none; }
a:hover { color: var(--brand-800); }

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

button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-sans);
  font-weight: 600;
  color: var(--brand-600);
  line-height: 1.2;
}

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

/* --------------------------------------------------------------------------
   3. FLUID TYPE
   -------------------------------------------------------------------------- */
.h1, h1 {
  font-size: clamp(2.4rem, 1.7rem + 3.2vw, 3.4rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--brand-600);
}
.h2, h2 {
  font-size: clamp(1.6rem, 1.25rem + 1.6vw, 2.1rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--brand-600);
}
h3 { font-size: 1.3rem; font-weight: 600; line-height: 1.25; color: var(--brand-600); }
h4 { font-size: 1.1rem; font-weight: 600; line-height: 1.3; color: var(--ink); }

.lead {
  font-size: clamp(1.08rem, 1.02rem + 0.4vw, 1.25rem);
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 60ch;
}

p { max-width: 68ch; color: var(--ink-soft); }

/* --------------------------------------------------------------------------
   4. LAYOUT HELPERS
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.section { padding-block: var(--section-pad); position: relative; }
.section--tight { padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem); }

/* Tonal section backgrounds. Light/white/tint sections let the body doodle
   texture show through (cards stay solid on top), matching the reference. */
.section--light  { background: transparent; color: var(--ink-soft); }
.section--white  { background: transparent; color: var(--ink-soft); }
.section--tint   { background: rgba(74,166,160,.10); color: var(--ink-soft); }
.section--deep   { background: var(--brand-800); color: #fff; }
.section--deepest{ background: var(--brand-900); color: #fff; }

/* On deep sections, headings & body flip to white (contrast-safe) */
.section--deep h1, .section--deep h2, .section--deep h3, .section--deep h4,
.section--deepest h1, .section--deepest h2, .section--deepest h3, .section--deepest h4 { color: #fff; }
.section--deep p, .section--deepest p { color: rgba(255,255,255,.88); }

.section-head { max-width: 64ch; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head .lead { margin-top: var(--sp-3); }
.section-head--center .lead { margin-inline: auto; }

.skip-link {
  position: absolute;
  left: var(--sp-4);
  top: -200%;
  z-index: 1000;
  background: var(--brand-900);
  color: #fff;
  padding: .65rem 1rem;
  border-radius: 10px;
  font-weight: 600;
}
.skip-link:focus { top: var(--sp-2); color: #fff; }

/* --------------------------------------------------------------------------
   5. BREADCRUMB + EYEBROW
   -------------------------------------------------------------------------- */
.breadcrumb {
  font-size: 0.9rem;
  font-weight: 400;
  margin-bottom: var(--sp-4);
  color: var(--ink-soft);
}
.breadcrumb ol { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .4rem; }
.breadcrumb a { color: var(--ink-soft); font-weight: 400; }
.breadcrumb a:hover { color: var(--brand-700); }
.breadcrumb__sep { color: var(--brand-300); }
.breadcrumb [aria-current="page"] { color: var(--brand-600); font-weight: 600; }

/* Optional soft eyebrow label (rounded Poppins, NOT mono uppercase) */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-700);
  margin-bottom: var(--sp-3);
}
.eyebrow::before {
  content: "";
  width: 10px; height: 11px;
  background: currentColor;
  -webkit-clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  flex: none;
}
.section--deep .eyebrow, .section--deepest .eyebrow, .hero .eyebrow { color: var(--brand-200); }

/* --------------------------------------------------------------------------
   6. BUTTONS  (solid teal pill)
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  padding: .95rem 1.8rem;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  transition: background-color .18s var(--ease), color .18s var(--ease),
              transform .18s var(--ease), border-color .18s var(--ease), box-shadow .18s var(--ease);
  text-align: center;
}
.btn:active { transform: translateY(0); }

/* Primary = brand-700 fill + white text (AA). Matches the screenshot's teal pill. */
.btn--primary { background: var(--brand-700); color: #fff; border-color: var(--brand-700); box-shadow: 0 8px 20px rgba(0,118,111,.22); }
.btn--primary:hover { background: var(--brand-800); border-color: var(--brand-800); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(0,118,111,.28); }

.btn--secondary { background: transparent; color: var(--brand-700); border-color: var(--brand-700); }
.btn--secondary:hover { background: var(--brand-100); color: var(--brand-800); transform: translateY(-2px); }

/* on deep / hero backgrounds */
.btn--on-dark.btn--primary { background: #fff; color: var(--brand-900); border-color: #fff; box-shadow: 0 8px 20px rgba(0,0,0,.18); }
.btn--on-dark.btn--primary:hover { background: var(--brand-100); color: var(--brand-900); border-color: var(--brand-100); }
.btn--on-dark.btn--secondary { color: #fff; border-color: rgba(255,255,255,.75); background: transparent; }
.btn--on-dark.btn--secondary:hover { background: #fff; color: var(--brand-900); border-color: #fff; }
.section--deep .btn:focus-visible, .section--deepest .btn:focus-visible, .hero .btn:focus-visible { outline-color: #fff; }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--sp-4); margin-top: var(--sp-8); }
.btn-row--center { justify-content: center; }

/* --------------------------------------------------------------------------
   7. HEADER + NAV  (deep-teal sticky so the white logo shows)
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--brand-700);              /* brand teal #00766f */
  border-bottom: 3px solid var(--brand-550); /* #4aa6a0 accent line */
  transition: padding .2s var(--ease), box-shadow .2s var(--ease);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
  padding-block: var(--sp-4);
}
.site-header.is-scrolled { box-shadow: 0 8px 28px -14px rgba(0,0,0,.55); }
.site-header.is-scrolled .site-header__inner { padding-block: .6rem; }

.brand-logo { display: inline-flex; align-items: center; }
.brand-logo img { width: 120px; height: auto; }
.site-header.is-scrolled .brand-logo img { width: 104px; transition: width .2s var(--ease); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border-radius: 12px;
  color: #fff;
}
.nav-toggle:hover { background: rgba(255,255,255,.1); }
.nav-toggle__bars { position: relative; width: 22px; height: 2px; background: #fff; transition: background .15s; }
.nav-toggle__bars::before, .nav-toggle__bars::after {
  content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: #fff;
  transition: transform .2s var(--ease), top .2s var(--ease);
}
.nav-toggle__bars::before { top: -7px; }
.nav-toggle__bars::after  { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after  { top: 0; transform: rotate(-45deg); }

.primary-nav ul { display: flex; align-items: center; gap: var(--sp-2); }
.nav-link {
  display: inline-block;
  color: rgba(255,255,255,.9);
  font-weight: 500;
  padding: .5rem .9rem;
  border-radius: var(--radius-pill);
  transition: color .15s, background .15s;
}
.nav-link:hover { color: #fff; background: rgba(255,255,255,.08); }
.nav-link[aria-current="page"] { color: var(--brand-900); background: #fff; }
.nav-cta { margin-left: var(--sp-2); }
.nav-cta .btn { padding: .65rem 1.4rem; }
/* Contact CTA in nav = solid teal pill on the deep header */
.nav-cta .btn--on-dark.btn--primary { background: var(--brand-500); color: #00302d; border-color: var(--brand-500); box-shadow: none; }
.nav-cta .btn--on-dark.btn--primary:hover { background: var(--brand-300); color: #00302d; border-color: var(--brand-300); }
.nav-cta .btn--on-dark.btn--primary[aria-current="page"] {
  background: #fff; color: var(--brand-900); border-color: #fff;
}

/* --------------------------------------------------------------------------
   8. HOME HERO  (photographic teal hero — assets/a1.png)
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background: linear-gradient(120deg, var(--brand-800) 0%, var(--brand-700) 100%);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero__media img {
  position: absolute;
  right: 0; top: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: .9;
}
.hero__media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--brand-900) 8%, rgba(6,59,56,.78) 42%, rgba(8,84,79,.45) 72%, rgba(8,84,79,.25) 100%);
}
.hero .container { position: relative; z-index: 2; }
.hero__inner {
  display: flex;
  align-items: center;
  min-height: 70vh;
  padding-block: clamp(3rem, 2rem + 6vw, 6rem);
}
.hero__content { max-width: 640px; width: 100%; }
.hero h1 { color: #fff; }
.hero h1 .accent { color: var(--brand-300); }
.hero__sub {
  color: rgba(255,255,255,.9);
  margin-top: var(--sp-6);
  font-size: clamp(1.05rem, 1rem + 0.5vw, 1.25rem);
  line-height: 1.65;
  max-width: 56ch;
}

/* Inner-page hero pattern (About / Products / Contact) — LIGHT doodle bg,
   breadcrumb -> big teal H1 -> soft-gray supporting paragraph. No dark banner. */
.page-hero { position: relative; padding-block: clamp(2.5rem, 2rem + 4vw, 5rem) clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.page-hero__inner { max-width: 760px; }
.page-hero h1 { margin-top: var(--sp-1); }
.page-hero .lead { margin-top: var(--sp-4); }

/* --------------------------------------------------------------------------
   9. STAT / CREDIBILITY STRIP  (rounded stat badges)
   -------------------------------------------------------------------------- */
.stat-strip { background: var(--brand-800); color: #fff; position: relative; }
.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-6);
  padding-block: clamp(2.5rem, 2rem + 3vw, 3.5rem);
}
.stat { text-align: center; }
.stat__num {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(2rem, 1.6rem + 1.8vw, 2.8rem);
  line-height: 1;
  color: #fff;
  display: block;
}
.stat__label {
  font-size: 0.95rem;
  line-height: 1.45;
  color: rgba(255,255,255,.88);
  margin-top: var(--sp-2);
  max-width: 22ch;
  margin-inline: auto;
}

/* --------------------------------------------------------------------------
   10. ICON BADGE  (circular pale-teal badge w/ teal icon) — shared
   -------------------------------------------------------------------------- */
.icon-badge {
  flex: none;
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(74,166,160,.15);  /* #4aa6a0 tint */
  color: var(--brand-700);
}
.icon-badge--sm { width: 44px; height: 44px; }
.icon-badge svg { width: 26px; height: 26px; stroke: var(--brand-700); fill: none; }
.icon-badge--sm svg { width: 20px; height: 20px; }

/* --------------------------------------------------------------------------
   11. VALUE TILES / "WHO WE ARE" TILES  (rounded white cards)
   -------------------------------------------------------------------------- */
.tile-grid { display: grid; grid-template-columns: 1fr; gap: var(--sp-6); }
.value-tile {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius-card);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-rest);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
  text-align: left;
}
.value-tile:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.value-tile .icon-badge { margin-bottom: var(--sp-4); }
.value-tile h3 { font-size: 1.15rem; color: var(--ink); margin-bottom: var(--sp-2); }
.value-tile p { color: var(--ink-soft); font-size: .98rem; }

/* --------------------------------------------------------------------------
   12. SPLIT  (text + image)
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 1.5rem + 3vw, 4rem);
  align-items: center;
}
.split--reverse .split__media { order: -1; }
.split__media {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-rest);
}
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__body h2 { margin-bottom: var(--sp-4); }
.split__body .lead { margin-bottom: var(--sp-4); }

/* hex/teal bullet lists (used in teasers, commitment, products, platforms) */
.bullet-list { display: grid; gap: var(--sp-3); margin-top: var(--sp-4); }
.bullet-list li {
  display: flex; align-items: flex-start; gap: .7rem;
  font-weight: 500; color: var(--ink); font-size: 1rem;
}
.bullet-list li::before {
  content: ""; flex: none; margin-top: .5rem;
  width: 11px; height: 12px;
  background: var(--brand-550);  /* #4aa6a0 hex bullet */
  -webkit-clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.section--deep .bullet-list li, .section--deepest .bullet-list li { color: rgba(255,255,255,.92); }
/* 2-up variant for long feature lists */
.bullet-list--2 { grid-template-columns: 1fr; }

/* --------------------------------------------------------------------------
   13. PURPOSE  (deep teal section + rounded pillars)
   -------------------------------------------------------------------------- */
.purpose { position: relative; overflow: hidden; }
.purpose__bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
  opacity: .14; mix-blend-mode: luminosity;
  pointer-events: none;
}
.purpose .container { position: relative; z-index: 1; }
.purpose__quote {
  font-weight: 600;
  font-size: clamp(1.6rem, 1.2rem + 2vw, 2.6rem);
  line-height: 1.3;
  color: #fff;
  max-width: 20ch;
  margin-block: var(--sp-4) var(--sp-6);
}
.purpose__quote .accent { color: var(--brand-300); }
.purpose__lead { color: rgba(255,255,255,.9); margin-bottom: var(--sp-12); max-width: 50ch; }

.pillar-grid { display: grid; grid-template-columns: 1fr; gap: var(--sp-6); }
.pillar {
  position: relative;
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: var(--radius-card);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(105,193,187,.4);
  transition: background .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.pillar:hover { background: rgba(255,255,255,.1); border-color: var(--brand-300); transform: translateY(-4px); }
.pillar .icon-badge { margin: 0 auto var(--sp-4); background: rgba(105,193,187,.18); }
.pillar .icon-badge svg { stroke: var(--brand-200); }
.pillar__label { font-weight: 600; font-size: 1.05rem; color: #fff; line-height: 1.3; }

/* --------------------------------------------------------------------------
   14. CARDS GRID + PRODUCT CARDS + FEATURE LISTS
   -------------------------------------------------------------------------- */
.card-grid { display: grid; grid-template-columns: 1fr; gap: var(--sp-8); }
.card-grid--2 { grid-template-columns: 1fr; }
.card-grid--3 { grid-template-columns: 1fr; }

/* Generic rounded white card */
.card {
  background: var(--surface);
  border-radius: var(--radius-card);
  padding: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  box-shadow: var(--shadow-rest);
}

.product-card {
  background: var(--surface);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-rest);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
  display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.product-card__media {
  background: radial-gradient(120% 90% at 30% 20%, var(--brand-100), var(--brand-50) 75%);
  padding: var(--sp-8);
  display: grid; place-items: center;
}
.product-card__media img { max-height: 260px; width: auto; object-fit: contain; }
.product-card__body { padding: clamp(1.5rem, 1.2rem + 1vw, 2rem); display: flex; flex-direction: column; gap: var(--sp-3); flex: 1; }
.product-card__name { font-weight: 600; font-size: 1.5rem; color: var(--brand-600); }
.product-card__tagline { color: var(--ink-soft); }
.product-card .btn { margin-top: auto; align-self: flex-start; }

/* pack/datum note line */
.pack-note {
  font-size: .9rem;
  color: var(--ink-soft);
  background: var(--brand-50);
  border-radius: var(--radius-sm);
  padding: .7rem 1rem;
}

/* feature list = the same teal hex bullets as .bullet-list, kept as an alias */
.feature-list { display: grid; grid-template-columns: 1fr; gap: var(--sp-3); }
.feature-list li {
  display: flex; align-items: flex-start; gap: .65rem;
  font-weight: 500; color: var(--ink); font-size: 1rem;
}
.feature-list li::before {
  content: ""; flex: none; margin-top: .5rem;
  width: 10px; height: 11px;
  background: var(--brand-500);
  -webkit-clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}

/* Product media frame for a side-by-side split layout (products.html) */
.product-media {
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-rest);
  overflow: hidden;
  background: radial-gradient(120% 90% at 30% 20%, var(--brand-100), var(--brand-50) 75%);
  display: grid; place-items: center;
  padding: var(--sp-8);
}
.product-media img { max-height: 380px; width: auto; height: auto; object-fit: contain; }

/* --------------------------------------------------------------------------
   15. SCIENTIFIC PLATFORM CARDS
   -------------------------------------------------------------------------- */
.platform-card {
  background: var(--surface);
  border-radius: var(--radius-card);
  padding: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  box-shadow: var(--shadow-rest);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
  display: flex; flex-direction: column; gap: var(--sp-3);
  height: 100%;
}
.platform-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.platform-card .icon-badge { margin-bottom: var(--sp-2); }
.platform-card h3 { color: var(--brand-600); }
.platform-card p { color: var(--ink-soft); font-size: 1rem; }
.platform-card .feature-list, .platform-card .bullet-list { margin-top: var(--sp-2); }

/* --------------------------------------------------------------------------
   16. MISSION / VISION CARDS
   -------------------------------------------------------------------------- */
.mv-grid { display: grid; grid-template-columns: 1fr; gap: var(--sp-6); }
.mv-card {
  background: var(--surface);
  border-radius: var(--radius-card);
  padding: clamp(1.75rem, 1.4rem + 1vw, 2.5rem);
  box-shadow: var(--shadow-rest);
}
.mv-card .icon-badge { margin-bottom: var(--sp-4); }
.mv-card h3 { color: var(--brand-600); margin-bottom: var(--sp-3); }
.mv-card p { color: var(--ink); }

/* --------------------------------------------------------------------------
   17. LEADERSHIP PROFILE CARDS
   -------------------------------------------------------------------------- */
.leader-card {
  background: var(--surface);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-rest);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
  display: flex; flex-direction: column;
}
.leader-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.leader-card__media {
  position: relative;
  height: clamp(320px, 30vw, 420px);  /* fixed = all member photos equal height */
  background: var(--brand-100);
}
.leader-card__media img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.leader-card__body { padding: 1.75rem; display: flex; flex-direction: column; gap: var(--sp-2); }
.leader-card__name { font-weight: 600; font-size: 1.25rem; color: var(--ink); }
.leader-card__role {
  font-size: .8rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: var(--brand-700);
}
.leader-card__bio { color: var(--ink-soft); font-size: .95rem; line-height: 1.65; }

/* --------------------------------------------------------------------------
   18. CONTACT  — info rows + form card (REPRODUCE THE SCREENSHOT)
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 1.8rem + 3vw, 4rem);
  align-items: start;
}
.contact-info h1 { margin-bottom: var(--sp-4); }
.contact-info > .lead { margin-bottom: var(--sp-8); }

/* circular icon badge + text rows (phone / email) */
.contact-rows { display: flex; flex-wrap: wrap; gap: var(--sp-8); margin-bottom: var(--sp-8); }
.contact-row { display: flex; align-items: center; gap: var(--sp-3); }
.contact-row__text { display: flex; flex-direction: column; }
.contact-row__label { font-size: .8rem; color: var(--ink-soft); }
.contact-row__value { font-weight: 600; color: var(--ink); word-break: break-word; }
.contact-row__value a { color: var(--ink); }
.contact-row__value a:hover { color: var(--brand-700); }

.contact-info h2 { margin-bottom: var(--sp-4); }

/* Social row (also used in footer with .is-on-dark) */
.social-row { display: flex; gap: var(--sp-3); margin-top: var(--sp-2); }
.social-link {
  width: 42px; height: 42px; display: grid; place-items: center;
  border-radius: 50%; background: var(--brand-100); color: var(--brand-700);
  transition: background .15s, color .15s;
}
.social-link:hover { background: var(--brand-700); color: #fff; }
.social-link svg { width: 18px; height: 18px; }
.is-on-dark .social-link { background: rgba(255,255,255,.12); color: #fff; }
.is-on-dark .social-link:hover { background: var(--brand-300); color: var(--brand-900); }

/* The pale-teal rounded form card */
.form-card {
  background: var(--card-teal);
  border-radius: var(--radius-card);
  padding: clamp(1.75rem, 1.3rem + 2vw, 2.5rem);
  box-shadow: var(--shadow-rest);
}
.form-card h2 { margin-bottom: var(--sp-2); }
.form-card__sub { color: var(--ink-soft); margin-bottom: var(--sp-6); }

.field { display: grid; gap: .4rem; margin-bottom: var(--sp-4); }
.field label.field-label {
  font-size: .85rem; font-weight: 500; color: var(--ink-soft);
}
.field .req { color: var(--brand-700); }
/* white pill inputs */
.field input, .field textarea {
  width: 100%;
  background: #fff;
  border: 1px solid transparent;
  border-radius: var(--radius-input);
  padding: 1rem 1.15rem;
  min-height: 56px;
  color: var(--ink);
  box-shadow: var(--shadow-input);
  transition: border-color .15s, box-shadow .15s;
}
.field input::placeholder, .field textarea::placeholder { color: #9bb0ae; }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brand-500);
  box-shadow: 0 0 0 3px rgba(76,165,163,.25);
}
.field textarea { resize: vertical; min-height: 150px; padding-top: 1rem; }
.field-error { color: var(--danger); font-size: .82rem; min-height: 1em; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--danger); }

.form-card .btn[type="submit"] { margin-top: var(--sp-4); margin-inline: auto; display: flex; min-width: 220px; }

.form-status {
  border-radius: var(--radius-sm);
  padding: .9rem 1.1rem;
  font-weight: 500;
  margin-bottom: var(--sp-4);
}
.form-status:empty { display: none; }
.form-status.is-success { background: #fff; color: var(--brand-800); border: 1px solid var(--brand-200); }
.form-status.is-error { background: var(--danger-bg); color: var(--danger); border: 1px solid var(--danger-line); font-weight: 600; }

/* --------------------------------------------------------------------------
   19. CTA BAND
   -------------------------------------------------------------------------- */
.cta-band { background: var(--brand-800); color: #fff; position: relative; overflow: hidden; text-align: center; }
.cta-band .container { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.9); margin: var(--sp-4) auto 0; }
.cta-band .btn-row { justify-content: center; }

/* --------------------------------------------------------------------------
   20. FOOTER  (deep teal so the white logo shows)
   -------------------------------------------------------------------------- */
.site-footer { background: var(--brand-700); color: rgba(255,255,255,.82); position: relative; border-top: 3px solid var(--brand-550); }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-8);
  padding-block: clamp(3rem, 2.5rem + 3vw, 4.5rem);
}
.footer-brand img { width: 130px; height: auto; margin-bottom: var(--sp-4); }
.footer-brand p { color: rgba(255,255,255,.72); font-size: .95rem; max-width: 42ch; }
.footer-col h3 { font-size: 1rem; color: #fff; margin-bottom: var(--sp-4); }
.footer-col ul { display: grid; gap: var(--sp-2); }
.footer-col a { color: rgba(255,255,255,.78); font-size: .95rem; }
.footer-col a:hover { color: var(--brand-300); }
.footer-contacts p { color: rgba(255,255,255,.72); font-size: .95rem; margin-bottom: var(--sp-3); }
.footer-contacts a { color: rgba(255,255,255,.9); }
.footer-contacts a:hover { color: var(--brand-300); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-block: var(--sp-6);
  display: flex; flex-wrap: wrap; gap: var(--sp-4);
  align-items: center; justify-content: space-between;
}
.footer-bottom p { color: rgba(255,255,255,.6); font-size: .85rem; }
.footer-legal { display: flex; flex-wrap: wrap; gap: var(--sp-4); }
.footer-legal a { color: rgba(255,255,255,.6); font-size: .85rem; }
.footer-legal a:hover { color: var(--brand-300); }

/* --------------------------------------------------------------------------
   21. UTILITIES
   -------------------------------------------------------------------------- */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-6 { margin-top: var(--sp-6); }
.mb-0 { margin-bottom: 0; }
.measure { max-width: 68ch; }
.measure-narrow { max-width: 54ch; }
.center-block { margin-inline: auto; }
.flow > * + * { margin-top: var(--sp-4); }

/* --------------------------------------------------------------------------
   22. MOTION — scroll reveal
   -------------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   23. RESPONSIVE BREAKPOINTS
   -------------------------------------------------------------------------- */
/* >= 600px : tiles & feature lists begin 2-up */
@media (min-width: 600px) {
  .feature-list, .bullet-list--2 { grid-template-columns: 1fr 1fr; gap: var(--sp-3) var(--sp-6); }
}

/* >= 768px : tablet */
@media (min-width: 768px) {
  .tile-grid { grid-template-columns: repeat(2, 1fr); }
  .pillar-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-grid { grid-template-columns: repeat(4, 1fr); }
  .card-grid--2 { grid-template-columns: repeat(2, 1fr); }
  .card-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .mv-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr 1fr; }
  .split__body .bullet-list--2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1.4fr; }
  .contact-grid { grid-template-columns: 1fr 1.05fr; }
}

/* >= 1024px : desktop */
@media (min-width: 1024px) {
  .tile-grid { grid-template-columns: repeat(4, 1fr); }
  .pillar-grid { grid-template-columns: repeat(4, 1fr); }
  .card-grid--3 { grid-template-columns: repeat(3, 1fr); }
  .split__body .bullet-list--2 { grid-template-columns: 1fr 1fr; }
  .hero__inner { padding-block: clamp(4rem, 3rem + 5vw, 7rem); }
}

/* --------------------------------------------------------------------------
   24. MOBILE NAV  (below 900px the nav collapses into a toggle panel)
   -------------------------------------------------------------------------- */
@media (max-width: 899px) {
  .nav-toggle { display: inline-flex; }
  .primary-nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--brand-900);
    border-top: 1px solid rgba(255,255,255,.1);
    box-shadow: 0 18px 40px -18px rgba(0,0,0,.6);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .primary-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .primary-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: var(--sp-4) var(--container-pad) var(--sp-6); }
  .nav-link { padding: .9rem .5rem; border-radius: 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav-link[aria-current="page"] { color: var(--brand-300); background: transparent; }
  .nav-cta { margin: var(--sp-4) 0 0; }
  .nav-cta .btn { width: 100%; }
}

/* keep desktop nav visible & static at >=900 */
@media (min-width: 900px) {
  .primary-nav { position: static; opacity: 1; visibility: visible; transform: none; }
}

/* --------------------------------------------------------------------------
   25. REDUCED MOTION
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* === PRODUCT DETAIL ===
   Detail page: 2-col split (pale-teal image panel + info), rating stars,
   price, quantity stepper + display-only cart, accordions, and tabs.
   Reuses existing teal tokens; stacks to a single column on mobile. */

/* --- Top split --- */
.pd-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 1.5rem + 3vw, 3.5rem);
  align-items: start;
}

/* Pale-teal rounded image panel */
.pd-media {
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-rest);
  overflow: hidden;
  background: radial-gradient(120% 90% at 30% 20%, var(--brand-100), var(--brand-50) 75%);
  display: grid; place-items: center;
  padding: clamp(1.5rem, 1rem + 3vw, 3rem);
}
.pd-media img { max-height: 460px; width: auto; height: auto; object-fit: contain; }

.pd-info { min-width: 0; }
.pd-info h1 { margin-bottom: var(--sp-3); }

/* Rating row — teal stars */
.pd-rating {
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem;
  margin-bottom: var(--sp-3);
  font-size: .95rem; color: var(--ink-soft);
}
.pd-rating__stars { display: inline-flex; gap: 2px; line-height: 1; }
.pd-star {
  position: relative;
  color: var(--brand-200);
  font-size: 1.15rem; line-height: 1;
}
.pd-star.is-full { color: var(--brand-500); }
.pd-star.is-half .pd-star__fill {
  position: absolute; left: 0; top: 0; width: 50%; overflow: hidden;
  color: var(--brand-500);
}
.pd-rating__value { font-weight: 600; color: var(--ink); }
.pd-rating__count { color: var(--ink-soft); }

.pd-pack {
  display: inline-block;
  font-size: .85rem; font-weight: 600;
  color: var(--brand-700);
  background: var(--brand-100);
  border-radius: var(--radius-pill);
  padding: .3rem .85rem;
  margin-bottom: var(--sp-3);
}
.pd-tagline { color: var(--ink-soft); margin-bottom: var(--sp-3); font-size: 1.05rem; }
.pd-subtitle { color: var(--brand-600); font-weight: 600; font-size: 1.1rem; margin-bottom: var(--sp-3); }
.pd-desc { color: var(--ink-soft); margin-bottom: var(--sp-6); }

/* Price block — MRP only */
.pd-price { margin-bottom: var(--sp-6); }
.pd-price__value {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.4rem);
  color: var(--brand-700);
  line-height: 1.1;
  display: block;
}
.pd-price__note { font-size: .82rem; color: var(--ink-soft); }

/* Buy row: stepper + display-only buttons */
.pd-buy { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-4); margin-bottom: var(--sp-4); }

.pd-qty {
  display: inline-flex; align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--surface);
  box-shadow: var(--shadow-input);
  overflow: hidden;
}
.pd-qty__btn {
  width: 46px; height: 52px;
  display: grid; place-items: center;
  font-size: 1.3rem; font-weight: 600; line-height: 1;
  color: var(--brand-700);
  transition: background .15s, color .15s;
}
.pd-qty__btn:hover { background: var(--brand-100); }
.pd-qty__input {
  width: 52px; height: 52px;
  text-align: center;
  border: none; background: transparent;
  font-weight: 600; color: var(--ink);
  border-inline: 1px solid var(--line);
}
.pd-qty__input:focus-visible { outline: 2px solid var(--brand-700); outline-offset: -2px; }

.pd-buy__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
.pd-buy__actions .btn { padding: .85rem 1.5rem; }

.pd-notice {
  background: var(--brand-100);
  border: 1px solid var(--brand-200);
  border-radius: var(--radius-sm);
  padding: .8rem 1.05rem;
  color: var(--brand-800);
  font-weight: 500; font-size: .95rem;
  margin-bottom: var(--sp-6);
}
.pd-notice[hidden] { display: none; }

/* --- Accordion --- */
.accordion { margin-top: var(--sp-6); border-top: 1px solid var(--line); }
.accordion__item { border-bottom: 1px solid var(--line); }
.accordion__heading { margin: 0; }
.accordion__trigger {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4);
  padding: 1.05rem 0;
  text-align: left;
  font-family: var(--font-sans);
  font-weight: 600; font-size: 1.05rem;
  color: var(--brand-600);
}
.accordion__trigger:hover { color: var(--brand-700); }
.accordion__icon { position: relative; flex: none; width: 16px; height: 16px; }
.accordion__icon::before,
.accordion__icon::after {
  content: ""; position: absolute; background: var(--brand-500);
  transition: transform .2s var(--ease), opacity .2s var(--ease);
}
.accordion__icon::before { top: 7px; left: 0; width: 16px; height: 2px; }
.accordion__icon::after  { left: 7px; top: 0; width: 2px; height: 16px; }
.accordion__trigger[aria-expanded="true"] .accordion__icon::after { transform: scaleY(0); opacity: 0; }
.accordion__panel {
  overflow: hidden;
  padding: 0 0 1.1rem;
}
.accordion__panel[hidden] { display: none; }
.accordion__panel p { color: var(--ink-soft); }
.accordion__panel .bullet-list { margin-top: var(--sp-3); }

/* Spec list (Product Details) */
.pd-spec { display: grid; gap: .55rem; }
.pd-spec__row { display: flex; gap: var(--sp-4); }
.pd-spec__row dt { flex: 0 0 38%; max-width: 180px; font-weight: 600; color: var(--ink); }
.pd-spec__row dd { margin: 0; color: var(--ink-soft); }

/* FAQ list */
.pd-faq dt { font-weight: 600; color: var(--ink); margin-top: var(--sp-3); }
.pd-faq dt:first-child { margin-top: 0; }
.pd-faq dd { margin: .25rem 0 0; color: var(--ink-soft); }

/* --- Tabs --- */
.pd-tabs__list {
  display: flex; flex-wrap: wrap; gap: var(--sp-2);
  border-bottom: 2px solid var(--line);
  margin-bottom: var(--sp-8);
}
.pd-tab {
  position: relative;
  padding: .75rem 1.1rem;
  font-family: var(--font-sans);
  font-weight: 600; font-size: 1rem;
  color: var(--ink-soft);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color .15s, border-color .15s;
}
.pd-tab:hover { color: var(--brand-700); }
.pd-tab.is-active { color: var(--brand-700); border-bottom-color: var(--brand-700); }

.pd-tabpanel { max-width: 80ch; }
.pd-tabpanel[hidden] { display: none; }
.pd-tabpanel > p { color: var(--ink-soft); }
.pd-tab-closing { margin-top: var(--sp-4); font-weight: 500; color: var(--ink); }

/* Ingredient cards */
.pd-ingredients { display: grid; gap: var(--sp-4); }
.pd-ingredient {
  background: var(--surface);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
  padding: 1.1rem 1.25rem;
}
.pd-ingredient__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .6rem; }
.pd-ingredient__name { font-weight: 600; color: var(--ink); font-size: 1.05rem; }
.pd-ingredient__amount {
  font-size: .82rem; font-weight: 600; color: var(--brand-700);
  background: var(--brand-100); border-radius: var(--radius-pill); padding: .15rem .6rem;
}
.pd-ingredient__desc { margin-top: .4rem; color: var(--ink-soft); font-size: .95rem; }

/* Detail responsive: 2-col split + spec rows from tablet up */
@media (min-width: 768px) {
  .pd-split { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .pd-split { grid-template-columns: 1.05fr 1fr; }
}
