/* iCube BioPharma and Medical — US site stylesheet
   Design library: Montserrat + Open Sans; Electric Blue, Leaf Green, Amber, Aubergine, Cool Gray, Mist. */

@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat.woff2") format("woff2"); font-weight: 300 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-italic.woff2") format("woff2"); font-weight: 300 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Open Sans"; src: url("../fonts/opensans.woff2") format("woff2"); font-weight: 300 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Open Sans"; src: url("../fonts/opensans-italic.woff2") format("woff2"); font-weight: 300 800; font-style: italic; font-display: swap; }

:root {
  --blue: #007AC9;          /* iCube / Electric Blue */
  --blue-deep: #005A96;
  --green: #71B730;         /* Leaf Green */
  --green-deep: #3B7A16;
  --amber: #F7931E;         /* Amber */
  --amber-text: #B85F00;
  --aubergine: #4B0082;     /* Aubergine (shared with Dermivexa / Vedarin) */
  --gray: #595959;          /* Cool Gray / Charcoal */
  --ink: #15233A;
  --text: #2F3744;
  --muted: #5B6472;
  --mist: #F2F6FA;
  --mist-green: #F1F8EA;
  --line: #DDE4EC;
  --white: #FFFFFF;

  --accent: var(--blue);
  --accent-ink: var(--blue-deep);
  --accent-soft: #E7F2FB;

  --font-head: "Montserrat", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Open Sans", "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --sec: clamp(64px, 9vw, 120px);
  --r-lg: 22px;
  --r-md: 14px;
  --r-sm: 8px;
  --shadow: 0 18px 40px -24px rgba(21, 35, 58, .35);
  --header-h: 76px;
}

body.brand-dermivexa { --accent: #3E9A06; --accent-ink: #4B0082; --accent-soft: #E4F8E8; --accent-2: #4B0082; }
body.brand-vedarin   { --accent: #E86F00; --accent-ink: #4B0082; --accent-soft: #FFF1E3; --accent-2: #71B730; }
body.brand-respivaro { --accent: #0068C9; --accent-ink: #0B3A7E; --accent-soft: #E6F3FF; --accent-2: #18A84A; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65; color: var(--text); background: var(--white); text-rendering: optimizeLegibility; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-deep); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 4px; }
button { font: inherit; cursor: pointer; }
p { margin: 0 0 1em; max-width: 68ch; }
ul, ol { padding-left: 1.2em; }
li { margin-bottom: .35em; }
strong { color: var(--ink); font-weight: 650; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
sup { font-size: .55em; line-height: 0; }

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.015em; }
h1 { font-size: clamp(2.15rem, 4.6vw, 3.6rem); font-weight: 750; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.55rem); font-weight: 720; }
h3 { font-size: 1.28rem; font-weight: 700; line-height: 1.25; letter-spacing: -.005em; }
h4 { font-size: 1.05rem; font-weight: 700; }
.lead { font-size: clamp(1.12rem, 1.6vw, 1.3rem); line-height: 1.6; color: var(--text); max-width: 60ch; }
.small { font-size: .9rem; }
.muted { color: var(--muted); }
.center { text-align: center; }
.center p, .center .lead { margin-inline: auto; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: 860px; }
.sec { padding-block: var(--sec); }
.sec-tight { padding-block: clamp(44px, 6vw, 72px); }
.sec-mist { background: var(--mist); }
.sec-green { background: var(--mist-green); }
.sec-accent { background: var(--accent-soft); }
.sec-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.sec-head.center { margin-inline: auto; }
.kicker { font-family: var(--font-head); font-weight: 650; font-size: .95rem; color: var(--accent-ink); margin: 0 0 .7rem; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 200; border-radius: var(--r-sm); }
.skip:focus { left: 8px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Placeholder text: content to fill before launch (kept visible on purpose) */
.ph { background: #FFF6D6; border-bottom: 1px dashed #C9A227; color: #6A5200; padding: 0 .2em; border-radius: 3px; font-style: normal; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; font-family: var(--font-head); font-weight: 650; font-size: 1rem; line-height: 1.2; padding: .9em 1.5em; border-radius: 999px; border: 2px solid transparent; text-decoration: none; transition: background-color .2s, color .2s, border-color .2s; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-deep); color: #fff; }
.btn-accent { background: var(--accent-ink); color: #fff; }
.btn-accent:hover { background: var(--ink); color: #fff; }
.btn-amber { background: var(--amber); color: var(--ink); }
.btn-amber:hover { background: #E07F0A; color: var(--ink); }
.btn-ghost { border-color: currentColor; color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--mist); color: var(--ink); }
.btn-ghost-light { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--ink); }
.btn-sm { font-size: .9rem; padding: .65em 1.15em; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.75rem; }
.link-cta { font-family: var(--font-head); font-weight: 650; text-decoration: none; color: var(--accent-ink); display: inline-flex; align-items: center; gap: .4em; border-bottom: 2px solid var(--accent); padding-bottom: 2px; }
.link-cta:hover { color: var(--ink); border-color: var(--ink); }
.link-cta svg { width: 16px; height: 16px; transition: transform .2s; }
.link-cta:hover svg { transform: translateX(3px); }

/* ---------- Geo + notices ---------- */
.geo-banner { background: var(--ink); color: #fff; font-size: .95rem; }
.geo-banner .wrap { display: flex; align-items: center; justify-content: center; gap: 16px; padding-block: 10px; flex-wrap: wrap; }
.geo-banner a { color: #fff; font-weight: 600; }
.geo-banner button { background: none; border: 0; color: #fff; padding: 4px 8px; font-size: 1.2rem; line-height: 1; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo img { height: 46px; width: auto; }
.nav { margin-left: auto; }
.nav > ul { list-style: none; display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; }
.nav li { margin: 0; position: relative; }
.nav a, .nav .nav-btn { display: flex; align-items: center; gap: 4px; padding: 10px 12px; font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: var(--ink); text-decoration: none; background: none; border: 0; border-radius: var(--r-sm); white-space: nowrap; }
.nav a:hover, .nav .nav-btn:hover, .nav [aria-current="page"], .nav .is-current > .nav-btn { color: var(--blue); }
.nav [aria-current="page"] { box-shadow: inset 0 -2px 0 var(--blue); border-radius: 0; }
.nav-btn svg { width: 12px; height: 12px; transition: transform .2s; }
.nav-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.dropdown { position: absolute; top: calc(100% + 8px); left: -8px; min-width: 260px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow); padding: 8px; list-style: none; margin: 0; display: none; }
.nav-btn[aria-expanded="true"] + .dropdown { display: block; }
.dropdown a { padding: 10px 12px; font-weight: 600; white-space: normal; flex-direction: column; align-items: flex-start; gap: 0; }
.dropdown a span { font-family: var(--font-body); font-weight: 400; font-size: .85rem; color: var(--muted); }
.dropdown a:hover { background: var(--mist); color: var(--ink); }
.dropdown .dd-brand { flex-direction: row; align-items: center; gap: 12px; }
.dropdown .dd-brand img { width: 34px; height: 34px; object-fit: contain; }
.header-tools { display: flex; align-items: center; gap: 10px; }
.icon-btn { width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 50%; background: transparent; border: 1px solid var(--line); color: var(--ink); }
.icon-btn:hover { background: var(--mist); }
.icon-btn svg { width: 20px; height: 20px; }
.menu-toggle { display: none; }

@media (max-width: 1120px) {
  .nav a, .nav .nav-btn { padding: 10px 8px; font-size: .9rem; }
}
@media (max-width: 1000px) {
  .menu-toggle { display: inline-grid; }
  .nav { position: fixed; inset: var(--header-h) 0 0 0; background: #fff; overflow-y: auto; padding: 16px var(--gutter) 40px; display: none; border-top: 1px solid var(--line); }
  .nav.open { display: block; }
  .nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav > ul > li { border-bottom: 1px solid var(--line); }
  .nav a, .nav .nav-btn { width: 100%; justify-content: space-between; padding: 16px 4px; font-size: 1.05rem; }
  .nav [aria-current="page"] { box-shadow: none; }
  .dropdown { position: static; box-shadow: none; border: 0; padding: 0 0 12px 8px; min-width: 0; }
  .header-tools .btn-amber { display: none; }
  body.nav-open { overflow: hidden; }
  .nav-mobile-cta { display: block !important; margin-top: 24px; }
  .logo img { height: 40px; }
}
.nav-mobile-cta { display: none !important; }

/* ---------- Home hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #F7FAFD 0%, #fff 100%); }
.hero .wrap { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(24px, 4vw, 56px); align-items: center; padding-block: clamp(40px, 6vw, 80px) clamp(40px, 5vw, 72px); }
.hero-title { font-size: clamp(2.4rem, 5.6vw, 4.4rem); font-weight: 780; line-height: 1.04; letter-spacing: -.03em; margin-bottom: .45em; }
.hero-title span { display: block; }
.t-blue { color: var(--blue); }
.t-green { color: var(--green-deep); }
.t-amber { color: var(--amber-text); }
.hero .lead { margin-bottom: 0; }
.hero-art { position: relative; aspect-ratio: 1 / 1; max-width: 560px; justify-self: end; width: 100%; }
.hero-art svg { width: 100%; height: 100%; }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-art { max-width: 380px; justify-self: center; order: -1; margin-bottom: -12px; }
}

/* Hero helix: one orchestrated draw-in on load */
.helix-strand { stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: draw 2.2s .25s cubic-bezier(.6,.1,.2,1) forwards; }
.helix-strand.b { animation-delay: .45s; }
.helix-rung { opacity: 0; animation: fadein .5s forwards; }
.float-sq { animation: drift 9s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: center; }
.float-sq:nth-child(2n) { animation-duration: 11s; animation-direction: alternate-reverse; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadein { to { opacity: 1; } }
@keyframes drift { from { transform: translateY(-6px) rotate(-4deg); } to { transform: translateY(8px) rotate(5deg); } }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; background: var(--mist); overflow: hidden; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: url("../patterns/brand-squares-tile.svg") right -120px top -80px / 560px no-repeat; opacity: .55; pointer-events: none; }
.page-hero .wrap { position: relative; z-index: 1; padding-block: clamp(44px, 6vw, 84px); display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.page-hero.no-media .wrap { grid-template-columns: 1fr; }
.page-hero.no-media .ph-text { max-width: 820px; }
.page-hero h1 { font-size: clamp(2rem, 4.2vw, 3.25rem); }
.page-hero .lead { margin-bottom: 0; }
.crumbs { font-size: .88rem; margin-bottom: 1rem; color: var(--muted); }
.crumbs a { color: var(--muted); }
.crumbs span[aria-hidden] { margin: 0 .4em; }
@media (max-width: 860px) { .page-hero .wrap { grid-template-columns: 1fr; } }

/* Photo frame with cube-corner accent (from the logo's open hexagon corner) */
.photo { position: relative; margin: 0; }
.photo img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-lg); aspect-ratio: var(--ar, 4 / 3); background: var(--mist); }
.photo::before { content: ""; position: absolute; width: 56px; height: 56px; top: -12px; right: -12px; border-top: 4px solid var(--c1, var(--amber)); border-right: 4px solid var(--c1, var(--amber)); border-top-right-radius: 6px; pointer-events: none; }
.photo::after { content: ""; position: absolute; width: 18px; height: 18px; left: -9px; bottom: 28px; background: var(--c2, var(--green)); border-radius: 3px; opacity: .9; pointer-events: none; }
.photo.wide { --ar: 16 / 9; }
.photo.tall { --ar: 4 / 5; }
.photo figcaption { font-size: .85rem; color: var(--muted); margin-top: .6rem; }
.photo.plain::before, .photo.plain::after { display: none; }

/* ---------- Layout helpers ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split.flip > :first-child { order: 2; }
.split.top { align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.flip > :first-child { order: 0; } }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 3vw, 32px); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 32px); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 28px); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* The idea */
.idea-quote { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.35rem); line-height: 1.2; color: var(--ink); letter-spacing: -.02em; margin: 0 0 1.25rem; }

/* Pillars: open columns with a coloured rule, not boxed cards */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); }
.pillar { border-top: 4px solid var(--pc, var(--blue)); padding-top: 22px; }
.pillar img { width: 56px; height: 56px; margin-bottom: 14px; }
.pillar h3 { margin-bottom: .4rem; }
.pillar p { margin: 0; color: var(--muted); }
@media (max-width: 760px) { .pillars { grid-template-columns: 1fr; } }
.pillars.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .pillars.four { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .pillars.four { grid-template-columns: 1fr; } }

/* Icon list items */
.icon-item { display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: start; }
.icon-item img { width: 52px; height: 52px; }
.icon-item h3 { font-size: 1.12rem; margin-bottom: .3rem; }
.icon-item p { margin: 0; color: var(--muted); font-size: 1rem; }

/* ---------- Brand cards ---------- */
.brand-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 32px); }
@media (max-width: 980px) { .brand-cards { grid-template-columns: 1fr; max-width: 620px; margin-inline: auto; } }
.brand-card { --bc: var(--blue); --bc-ink: var(--blue-deep); --bc-soft: #E7F2FB; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; position: relative; }
.brand-card.dermivexa { --bc: #3E9A06; --bc-ink: #4B0082; --bc-soft: #E4F8E8; }
.brand-card.vedarin { --bc: #E86F00; --bc-ink: #4B0082; --bc-soft: #FFF1E3; }
.brand-card.respivaro { --bc: #0068C9; --bc-ink: #0B3A7E; --bc-soft: #E6F3FF; }
.brand-card .bc-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bc-soft); }
.brand-card .bc-media img { width: 100%; height: 100%; object-fit: cover; }
.brand-card .bc-media::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--bc); }
.status-pill { position: absolute; top: 14px; left: 14px; z-index: 2; font-family: var(--font-head); font-weight: 650; font-size: .8rem; padding: .35em .8em; border-radius: 999px; background: #fff; color: var(--ink); box-shadow: 0 4px 12px -6px rgba(0,0,0,.4); }
.status-pill.live { background: var(--bc-ink); color: #fff; }
.brand-card .bc-body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.bc-lockup { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.bc-lockup img { width: 50px; height: 50px; object-fit: contain; }
.wordmark { font-family: var(--font-head); font-style: italic; font-weight: 800; letter-spacing: -.02em; line-height: 1; color: var(--bc-ink, var(--accent-ink)); display: block; font-size: 1.7rem; }
.wordmark sup { font-style: normal; font-weight: 600; font-size: .45em; vertical-align: super; margin-left: 1px; }
.complex { display: block; font-family: var(--font-head); font-weight: 600; font-size: .85rem; color: var(--muted); margin-top: 4px; }
.bc-tagline { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: var(--ink); margin: 0 0 .4rem; }
.brand-card .bc-body p { color: var(--muted); font-size: 1rem; }
.brand-card .bc-foot { margin-top: auto; padding-top: 8px; }
.brand-card .link-cta { color: var(--bc-ink); border-color: var(--bc); }
.signup-inline { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.signup-inline input[type="email"] { flex: 1 1 180px; }
.signup-inline .consent-line { flex-basis: 100%; font-size: .8rem; color: var(--muted); margin: 0; }

/* ---------- PhytoStream ---------- */
.stream-sec { background: linear-gradient(180deg, #fff 0%, var(--mist) 100%); }
.stream-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
@media (max-width: 900px) { .stream-grid { grid-template-columns: 1fr; } }
.stream-figure { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(14px, 2.5vw, 28px); }
.stream-figure svg { width: 100%; }
.stream-path { fill: none; stroke-width: 12; stroke-linecap: round; opacity: .9; }
.stream-flow { fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 4 22; opacity: .85; }
.stream-figure.in .stream-path { animation: draw 1.8s cubic-bezier(.6,.1,.2,1) forwards; }
.stream-figure .stream-path { stroke-dasharray: 900; stroke-dashoffset: 900; }
.stream-figure.in .stream-flow { animation: flow 2.4s linear infinite; }
.stream-figure .check { opacity: 0; }
.stream-figure.in .check { animation: fadein .4s forwards; }
@keyframes flow { to { stroke-dashoffset: -52; } }
.stream-legend { list-style: none; padding: 0; margin: 18px 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.stream-legend li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; font-size: .82rem; line-height: 1.3; color: var(--text); font-weight: 600; margin: 0; }
.stream-legend img { width: 36px; height: 36px; }
.stream-legend .sw { width: 28px; height: 6px; border-radius: 3px; }
@media (max-width: 560px) { .stream-legend { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Intelligence band ---------- */
.band { background: var(--ink); color: #DCE6F2; position: relative; overflow: hidden; }
.band::before { content: ""; position: absolute; inset: 0; background: url("../patterns/brand-squares-hero.svg") right -260px center / 900px no-repeat; opacity: .12; }
.band .wrap { position: relative; }
.band h2, .band h3 { color: #fff; }
.band p { color: #C9D6E5; }
.band .link-cta { color: #fff; border-color: var(--green); }
.band .photo img { aspect-ratio: 16 / 10; }
.module-chain { list-style: none; padding: 0; margin: 1.5rem 0 1.75rem; display: flex; flex-wrap: wrap; gap: 8px; }
.module-chain li { margin: 0; font-family: var(--font-head); font-weight: 650; font-size: .88rem; padding: .45em .9em; border-radius: 999px; border: 1px solid rgba(255,255,255,.28); color: #fff; }

/* ---------- Quality promise ---------- */
.promise { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 8px; }
.promise > div { padding: 30px 28px 30px 0; }
.promise > div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.promise .q { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.25rem, 2vw, 1.55rem); line-height: 1.25; color: var(--ink); margin: 0 0 .5rem; }
.promise p { margin: 0; color: var(--muted); font-size: 1rem; }
.promise-close { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: var(--ink); margin-top: 28px; }
@media (max-width: 820px) { .promise { grid-template-columns: 1fr; } .promise > div, .promise > div + div { padding: 22px 0; border-left: 0; } .promise > div + div { border-top: 1px solid var(--line); } }

/* ---------- News ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 32px); }
@media (max-width: 900px) { .news-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .news-grid { grid-template-columns: 1fr; } }
.news-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.news-card .nc-img { aspect-ratio: 3 / 2; border-radius: var(--r-md); overflow: hidden; background: var(--mist); margin-bottom: 16px; }
.news-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.news-card:hover img { transform: scale(1.03); }
.news-card .tag { font-family: var(--font-head); font-weight: 650; font-size: .82rem; color: var(--blue-deep); }
.news-card h3 { margin: .35rem 0 .4rem; font-size: 1.18rem; }
.news-card:hover h3 { color: var(--blue-deep); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.news-card p { color: var(--muted); font-size: .98rem; margin: 0; }
.sec-head-row { display: flex; align-items: end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 36px; }
.sec-head-row h2 { margin: 0; }

/* ---------- Closing CTA ---------- */
.closing { background: var(--blue-deep); color: #fff; position: relative; overflow: hidden; }
.closing::before { content: ""; position: absolute; inset: 0; background: url("../patterns/brand-squares-hero.svg") center / 1100px; opacity: .25; mix-blend-mode: screen; }
.closing .wrap { position: relative; text-align: center; }
.closing h2 { color: #fff; font-size: clamp(2rem, 4.5vw, 3.4rem); font-weight: 780; letter-spacing: -.03em; }
.closing h2 span { display: inline-block; margin: 0 .12em; }
.closing p { color: #DCEBF7; margin-inline: auto; }
.closing .btn-row { justify-content: center; }

/* ---------- Steps (true sequences only) ---------- */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; gap: 0; }
.steps > li { counter-increment: s; display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding: 26px 0; border-top: 1px solid var(--line); margin: 0; }
.steps > li:last-child { border-bottom: 1px solid var(--line); }
.steps > li::before { content: counter(s); font-family: var(--font-head); font-weight: 750; font-size: 1.5rem; color: var(--accent); width: 52px; height: 52px; border-radius: 50%; border: 2px solid currentColor; display: grid; place-items: center; }
.steps h3 { margin-bottom: .3rem; }
.steps p { margin: 0; color: var(--muted); }
.steps .step-icon { width: 40px; height: 40px; float: right; margin-left: 12px; }

.ladder { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: l; }
.ladder li { counter-increment: l; margin: 0; padding: 28px 22px 28px; border-left: 1px solid var(--line); position: relative; }
.ladder li:first-child { border-left: 0; padding-left: 0; }
.ladder li::before { content: counter(l); display: block; font-family: var(--font-head); font-weight: 780; font-size: 2.6rem; line-height: 1; color: var(--blue); margin-bottom: 14px; }
.ladder li:nth-child(2)::before { color: var(--green-deep); }
.ladder li:nth-child(3)::before { color: var(--amber-text); }
.ladder li:nth-child(4)::before { color: var(--aubergine); }
.ladder h3 { font-size: 1.12rem; margin-bottom: .35rem; }
.ladder p { margin: 0; color: var(--muted); font-size: .98rem; }
@media (max-width: 900px) { .ladder { grid-template-columns: 1fr 1fr; } .ladder li:nth-child(3) { border-left: 0; padding-left: 0; } }
@media (max-width: 560px) { .ladder { grid-template-columns: 1fr; } .ladder li { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); } }

/* Pipeline (quality steps) */
.pipeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; counter-reset: p; }
.pipeline li { counter-increment: p; margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px 16px; position: relative; }
.pipeline li::before { content: counter(p); font-family: var(--font-head); font-weight: 750; color: var(--blue); font-size: .95rem; display: block; margin-bottom: 8px; }
.pipeline img { width: 38px; height: 38px; margin-bottom: 10px; }
.pipeline h3 { font-size: 1rem; margin: 0 0 .3rem; }
.pipeline p { font-size: .9rem; margin: 0; color: var(--muted); }
@media (max-width: 1000px) { .pipeline { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .pipeline { grid-template-columns: 1fr 1fr; } }

/* Modules */
.modules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.module { padding: 30px 26px 30px 0; border-bottom: 1px solid var(--line); }
.module:not(:nth-child(3n+1)) { padding-left: 26px; border-left: 1px solid var(--line); }
.module img { width: 48px; height: 48px; margin-bottom: 14px; }
.module h3 { margin-bottom: .45rem; }
.module dl { margin: 0; }
.module dt { font-family: var(--font-head); font-weight: 650; font-size: .85rem; color: var(--muted); margin-top: .7rem; }
.module dd { margin: .15rem 0 0; font-size: 1rem; }
@media (max-width: 900px) { .modules { grid-template-columns: 1fr 1fr; } .module, .module:not(:nth-child(3n+1)) { padding: 26px 22px 26px 0; border-left: 0; } .module:nth-child(2n) { padding-left: 22px; border-left: 1px solid var(--line); } }
@media (max-width: 560px) { .modules { grid-template-columns: 1fr; } .module:nth-child(2n) { padding-left: 0; border-left: 0; } }

/* Promise quote */
.pull { font-family: var(--font-head); font-weight: 700; font-style: italic; font-size: clamp(1.4rem, 2.8vw, 2.1rem); line-height: 1.3; color: var(--ink); border-left: 5px solid var(--green); padding: .2em 0 .2em 1em; margin: 0; max-width: 34ch; }

/* Three i's */
.three-i { font-family: var(--font-head); font-weight: 780; font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.12; letter-spacing: -.025em; margin: 0; }
.three-i span { display: block; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; }
table.data { width: 100%; border-collapse: collapse; font-size: .98rem; min-width: 640px; }
table.data th, table.data td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data thead th { background: var(--mist); font-family: var(--font-head); font-weight: 650; font-size: .88rem; color: var(--ink); }
table.data tbody tr:last-child td { border-bottom: 0; }
table.data td.empty { text-align: center; color: var(--muted); padding: 28px; }

/* ---------- Brand pages ---------- */
.brand-hero { background: var(--accent-soft); position: relative; overflow: hidden; }
.brand-hero::before { content: ""; position: absolute; width: 520px; height: 520px; right: -140px; top: -160px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,255,255,.9), rgba(255,255,255,0)); }
.brand-hero .wrap { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; padding-block: clamp(40px, 6vw, 84px); }
.brand-lockup { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.brand-lockup img { width: 72px; height: 72px; object-fit: contain; }
.brand-lockup .wordmark { font-size: clamp(2.2rem, 4vw, 3rem); color: var(--accent-ink); }
.brand-lockup .complex { font-size: 1rem; }
.brand-hero h1 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
.brand-hero .photo { --c1: var(--accent); --c2: var(--accent-2); }
@media (max-width: 860px) { .brand-hero .wrap { grid-template-columns: 1fr; } }
.name-story { font-family: var(--font-head); font-style: italic; font-weight: 600; font-size: 1.15rem; color: var(--accent-ink); max-width: 60ch; }

.product-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column; gap: 10px; border-top: 6px solid var(--accent); }
.product-card h3 { margin: 0; }
.product-card .pc-format { font-family: var(--font-head); font-weight: 650; font-size: .9rem; color: var(--accent-ink); }
.product-card ul { margin: 0; padding-left: 1.1em; }
.product-card .pc-foot { margin-top: auto; padding-top: 10px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.chip { display: inline-block; font-family: var(--font-head); font-weight: 650; font-size: .8rem; padding: .35em .8em; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }

.ingredients { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.ingredient { border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px; background: #fff; }
.ingredient.active { border-color: var(--accent); background: var(--accent-soft); }
.ingredient h3 { font-size: 1.05rem; margin: 0 0 .15rem; }
.ingredient .latin { font-style: italic; font-size: .9rem; color: var(--muted); display: block; }
.ingredient .role { display: inline-block; margin-top: 10px; font-family: var(--font-head); font-weight: 650; font-size: .75rem; color: var(--muted); }
.ingredient.active .role { color: var(--accent-ink); }

/* Drug Facts–style panel (content must match the final approved label) */
.drug-facts { border: 2px solid #111; border-radius: 4px; background: #fff; color: #111; font-family: "Helvetica Neue", Arial, sans-serif; max-width: 640px; }
.drug-facts .df-title { font-weight: 800; font-size: 1.6rem; padding: 8px 14px 6px; border-bottom: 6px solid #111; margin: 0; font-family: "Helvetica Neue", Arial, sans-serif; color: #111; letter-spacing: -.01em; }
.drug-facts .df-row { padding: 10px 14px; border-bottom: 1px solid #111; font-size: .95rem; line-height: 1.5; }
.drug-facts .df-row:last-child { border-bottom: 0; }
.drug-facts .df-row h3 { display: inline; font-family: inherit; font-size: 1rem; font-weight: 800; color: #111; margin-right: .4em; letter-spacing: 0; }
.drug-facts ul { margin: .3em 0 0; padding-left: 1.2em; }
.drug-facts li { margin: .15em 0; }
.drug-facts p { margin: .2em 0; max-width: none; }
.df-note { font-size: .85rem; color: var(--muted); margin-top: .8rem; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative; font-family: var(--font-head); font-weight: 650; font-size: 1.08rem; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .faq-a { padding: 0 0 22px; color: var(--text); }
.faq .faq-a p:last-child { margin-bottom: 0; }
.faq-group + .faq-group { margin-top: 48px; }
.faq-group h2 { font-size: 1.5rem; display: flex; align-items: center; gap: 12px; }
.faq-group h2 img { width: 36px; height: 36px; object-fit: contain; }

/* Buy buttons */
.buy-row { display: flex; flex-wrap: wrap; gap: 12px; }
.buy-btn { display: inline-flex; align-items: center; gap: 10px; padding: .85em 1.3em; border-radius: var(--r-sm); border: 1px solid var(--line); background: #fff; font-family: var(--font-head); font-weight: 650; color: var(--ink); text-decoration: none; }
.buy-btn:hover { border-color: var(--ink); color: var(--ink); }
.buy-btn img { width: 24px; height: 24px; }

/* Tabs */
.tabs [role="tablist"] { display: flex; gap: 6px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.tabs [role="tab"] { background: none; border: 0; padding: 14px 18px; font-family: var(--font-head); font-weight: 650; color: var(--muted); border-bottom: 3px solid transparent; display: flex; gap: 10px; align-items: center; white-space: nowrap; }
.tabs [role="tab"] img { width: 28px; height: 28px; object-fit: contain; }
.tabs [role="tab"][aria-selected="true"] { color: var(--ink); border-color: var(--tab-c, var(--blue)); }
.tabs [role="tabpanel"] { padding: 36px 0 0; }
.tabs [role="tabpanel"][hidden] { display: none; }

/* ---------- Forms ---------- */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }
.field label, .field legend { display: block; font-family: var(--font-head); font-weight: 650; font-size: .92rem; color: var(--ink); margin-bottom: 6px; }
.field .opt { font-weight: 400; color: var(--muted); font-family: var(--font-body); }
input[type="text"], input[type="email"], input[type="tel"], input[type="date"], input[type="search"], select, textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 1.5px solid #C5CFDB; border-radius: var(--r-sm); padding: .75em .9em; min-height: 48px; }
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,122,201,.2); }
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: #C0392B; }
.field-error { color: #B42318; font-size: .85rem; margin-top: 4px; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: .92rem; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--blue); }
fieldset { border: 0; padding: 0; margin: 0; }
.radio-row { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.radio-row label { display: flex; align-items: center; gap: 8px; font-family: var(--font-body); font-weight: 400; font-size: 1rem; color: var(--text); margin: 0; }
.radio-row input { width: 18px; height: 18px; accent-color: var(--blue); }
.form-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 4vw, 40px); }
.form-success { display: none; background: var(--mist-green); border: 1px solid #BFE0A2; border-radius: var(--r-md); padding: 20px 22px; }
.form-success h3 { margin-bottom: .3rem; }
form.sent { display: none; }
form.sent + .form-success { display: block; }
.alert { border-radius: var(--r-md); padding: 18px 22px; border: 1px solid; }
.alert-urgent { background: #FEF3F2; border-color: #F4B4AE; color: #7A271A; }
.alert-urgent strong { color: #7A271A; }
.alert-info { background: var(--accent-soft); border-color: transparent; }

/* Route cards (contact) */
.routes { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
@media (max-width: 1000px) { .routes { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .routes { grid-template-columns: 1fr 1fr; } }
.route { display: flex; flex-direction: column; gap: 8px; padding: 20px; border: 1px solid var(--line); border-radius: var(--r-md); text-decoration: none; color: var(--ink); background: #fff; }
.route:hover { border-color: var(--blue); color: var(--ink); }
.route img { width: 40px; height: 40px; }
.route strong { font-family: var(--font-head); }
.route span { font-size: .88rem; color: var(--muted); }

/* People placeholders */
.person { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; background: #fff; }
.person .avatar { width: 88px; height: 88px; border-radius: 50%; background: var(--mist); display: grid; place-items: center; margin-bottom: 16px; border: 2px dashed #C5CFDB; }
.person .avatar img { width: 40px; height: 40px; opacity: .6; }
.person h3 { margin-bottom: .1rem; }

/* Article */
.article { max-width: 760px; }
.article h2 { font-size: 1.6rem; margin-top: 2rem; }
.article .meta { color: var(--muted); font-size: .92rem; }

/* Legal */
.legal h2 { font-size: 1.45rem; margin-top: 2.2rem; }
.legal-toc { list-style: none; padding: 0; columns: 2; font-size: .95rem; }
@media (max-width: 600px) { .legal-toc { columns: 1; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #B9C6D6; font-size: .95rem; }
.site-footer a { color: #E4ECF5; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-top { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: 32px; padding-block: 64px 40px; }
.footer-brand img { height: 52px; width: auto; margin-bottom: 18px; }
.footer-brand p { color: #B9C6D6; font-size: .95rem; max-width: 30ch; }
.footer-col h2 { font-size: .95rem; color: #fff; margin-bottom: 14px; letter-spacing: 0; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 9px; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.25); }
.socials a:hover { background: rgba(255,255,255,.1); }
.socials svg { width: 18px; height: 18px; fill: #fff; }
.region-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-family: var(--font-head); font-weight: 650; border: 1px solid rgba(255,255,255,.3); padding: .55em 1em; border-radius: 999px; }
.region-link img { width: 20px; height: 20px; filter: brightness(0) invert(1); }
.footer-disclaimer { border-top: 1px solid rgba(255,255,255,.14); padding-block: 26px; font-size: .88rem; line-height: 1.6; color: #A9B7C8; }
.footer-disclaimer p { max-width: 110ch; margin: 0; font-style: italic; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); padding-block: 22px 28px; display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; font-size: .86rem; }
.footer-bottom ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0; padding: 0; }
.footer-bottom li { margin: 0; }
.footer-bottom button { background: none; border: 0; color: #E4ECF5; padding: 0; font-size: inherit; }
.footer-bottom button:hover { text-decoration: underline; color: #fff; }
.privacy-choices { display: inline-flex; align-items: center; gap: 6px; }
.privacy-choices svg { width: 28px; height: 14px; }
@media (max-width: 1000px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-top { grid-template-columns: 1fr; } }

/* ---------- Overlays ---------- */
.overlay { position: fixed; inset: 0; z-index: 300; background: rgba(21, 35, 58, .55); display: none; align-items: flex-start; justify-content: center; padding: clamp(16px, 8vh, 96px) 16px 16px; }
.overlay.open { display: flex; }
.dialog { background: #fff; border-radius: var(--r-lg); width: 100%; max-width: 680px; max-height: calc(100vh - 32px); overflow: auto; box-shadow: 0 30px 60px -20px rgba(0,0,0,.45); }
.dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.dialog-head h2 { font-size: 1.25rem; margin: 0; }
.dialog-body { padding: 24px; }
.search-box { display: flex; gap: 10px; }
.search-results { list-style: none; padding: 0; margin: 18px 0 0; }
.search-results li { margin: 0; border-top: 1px solid var(--line); }
.search-results a { display: block; padding: 14px 4px; text-decoration: none; color: var(--ink); }
.search-results a:hover, .search-results a:focus { background: var(--mist); }
.search-results strong { display: block; font-family: var(--font-head); }
.search-results span { font-size: .9rem; color: var(--muted); }
.search-empty { color: var(--muted); margin-top: 16px; }

.cookie-bar { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 250; max-width: 980px; margin-inline: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: 0 24px 50px -20px rgba(21,35,58,.45); padding: 20px 24px; display: none; gap: 16px 28px; align-items: center; flex-wrap: wrap; }
.cookie-bar.open { display: flex; }
.cookie-bar p { margin: 0; flex: 1 1 380px; font-size: .95rem; }
.cookie-bar .btn-row { margin: 0; }
.toggle-row { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.toggle-row h3 { font-size: 1rem; margin: 0 0 .2rem; }
.toggle-row p { margin: 0; font-size: .9rem; color: var(--muted); }
.switch { position: relative; width: 50px; height: 28px; }
.switch input { opacity: 0; width: 100%; height: 100%; margin: 0; position: absolute; cursor: pointer; z-index: 1; }
.switch span { position: absolute; inset: 0; border-radius: 999px; background: #C5CFDB; transition: .2s; }
.switch span::after { content: ""; position: absolute; width: 22px; height: 22px; top: 3px; left: 3px; background: #fff; border-radius: 50%; transition: .2s; }
.switch input:checked + span { background: var(--blue); }
.switch input:checked + span::after { transform: translateX(22px); }
.switch input:disabled + span { opacity: .55; }
.switch input:focus-visible + span { outline: 3px solid var(--amber); outline-offset: 2px; }

.gate-locked .gated { filter: blur(6px); pointer-events: none; user-select: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .helix-strand, .stream-figure .stream-path { stroke-dashoffset: 0 !important; }
  .helix-rung, .stream-figure .check { opacity: 1 !important; }
  .stream-flow { display: none; }
}
@media print {
  .site-header, .site-footer, .cookie-bar, .geo-banner, .overlay { display: none !important; }
}
