/* ==========================================================================
   Overview (template-about-overview.php) — Oct 2026 rebuild
   Loaded only on that template. Colours from main.css tokens. Heading sizes
   match the rest of the site (section titles 1.5rem, 1.75rem on desktop).
   ========================================================================== */

.ov-sec { padding-block: 4.5rem; }
.ov-sec--sm { padding-block: 3rem; }
@media (min-width: 1024px) { .ov-sec { padding-block: 5.5rem; } }

.ov-head { max-width: 52rem; }
.ov-head__title { margin: .75rem 0 0; font-size: 1.5rem; line-height: 1.25; letter-spacing: -.02em; font-weight: 700; color: var(--ink-foreground); text-wrap: balance; }
@media (min-width: 1024px) { .ov-head__title { font-size: 1.75rem; } }

.ov-icon { flex: none; width: 2.75rem; height: 2.75rem; border-radius: 12px; display: inline-grid; place-items: center; background: var(--brand-tint); color: var(--brand); }
.ov-icon svg { width: 1.35rem; height: 1.35rem; }
.ov-icon--lg { width: 3.25rem; height: 3.25rem; }
.ov-icon--lg svg { width: 1.6rem; height: 1.6rem; }
.ov-icon--solid { background: var(--brand); color: #fff; }

/* ---------- Hero ---------- */
.ov-hero { position: relative; overflow: hidden; background: var(--ink); border-bottom: 1px solid var(--border); }
.ov-hero::after { content: ""; position: absolute; right: -10rem; top: -6rem; width: 34rem; height: 34rem; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, color-mix(in oklab, var(--brand) 9%, transparent), transparent); }
.ov-hero__inner { position: relative; z-index: 1; padding-block: 2rem 6.5rem; }
.ov-hero__grid { margin-top: 1.75rem; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 3.5rem; align-items: center; }
.ov-hero__title { margin: .9rem 0 0; font-size: clamp(1.9rem, 3.6vw, 2.75rem); line-height: 1.12; letter-spacing: -.025em; font-weight: 800; color: var(--ink-foreground); text-wrap: balance; }
.ov-hero__intro { margin: 1.1rem 0 0; max-width: 40rem; font-size: 1.075rem; line-height: 1.7; color: var(--muted-foreground); }
.ov-hero__label { margin: 1.5rem 0 .6rem; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-foreground); }
.ov-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.ov-chips li { padding: .45rem .85rem; border-radius: 999px; font-size: .86rem; font-weight: 600; color: var(--ink-foreground); background: var(--background); border: 1px solid var(--border); }
.ov-hero__media { position: relative; margin: 0; }
.ov-hero__media img { display: block; width: 100%; height: auto; aspect-ratio: 600 / 337; object-fit: cover; border-radius: 18px; border: 1px solid var(--border); background: #fff; box-shadow: 0 34px 64px -40px var(--shadow-color); }
.ov-hero__since { position: absolute; left: -1.25rem; bottom: -1.25rem; display: grid; gap: .1rem; padding: .85rem 1.15rem; border-radius: 14px; background: var(--brand); color: #fff; box-shadow: 0 18px 36px -18px color-mix(in oklab, var(--brand) 80%, transparent); }
.ov-hero__since strong { font-size: 1.05rem; font-weight: 800; letter-spacing: -.01em; }
.ov-hero__since span { font-size: .78rem; opacity: .85; }

/* ---------- Key facts ---------- */
.ov-facts { position: relative; z-index: 2; margin-top: -3.75rem; }
.ov-facts__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-radius: 18px; overflow: hidden; background: var(--background); border: 1px solid var(--border); box-shadow: 0 28px 56px -40px var(--shadow-color); }
.ov-facts__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ov-facts__grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ov-fact { padding: 1.5rem 1.6rem; display: grid; gap: .3rem; }
.ov-fact + .ov-fact { border-left: 1px solid var(--border); }
.ov-fact__value { font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1; font-weight: 800; letter-spacing: -.02em; color: var(--brand); }
.ov-fact__label { font-size: .9rem; color: var(--muted-foreground); }

/* ---------- Who we are ---------- */
.ov-about__grid { margin-top: 2rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.ov-card { padding: 1.6rem; border-radius: 16px; background: var(--background); border: 1px solid var(--border); transition: border-color .2s, box-shadow .2s; }
.ov-card:hover { border-color: color-mix(in oklab, var(--brand) 30%, var(--border)); box-shadow: 0 24px 48px -38px var(--shadow-color); }
.ov-card__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.ov-card__fact { font-size: 1.35rem; font-weight: 800; letter-spacing: -.02em; color: var(--brand); }
.ov-card__title { margin: 1rem 0 0; font-size: 1.125rem; font-weight: 700; color: var(--ink-foreground); }
.ov-card__body { margin: .5rem 0 0; font-size: .98rem; line-height: 1.65; color: var(--muted-foreground); }
.ov-card--brand { background: linear-gradient(135deg, var(--brand-tint), var(--background) 70%); border-color: color-mix(in oklab, var(--brand) 18%, var(--border)); }
.ov-regs { list-style: none; margin: 1.1rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
.ov-regs li { display: grid; gap: .15rem; padding: .75rem .9rem; border-radius: 10px; background: var(--neutral-soft); border-left: 3px solid var(--brand); }
.ov-regs strong { font-size: .92rem; color: var(--ink-foreground); }
.ov-regs span { font-size: .82rem; color: var(--muted-foreground); }
.ov-certchips { list-style: none; margin: 1.1rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.ov-certchips li { padding: .5rem .9rem; border-radius: 10px; font-size: .88rem; font-weight: 700; color: var(--brand); background: var(--background); border: 1px solid color-mix(in oklab, var(--brand) 25%, var(--border)); }

/* ---------- ELISA manufacturing callout ---------- */
.ov-mfg-wrap { padding-bottom: 1rem; }
.ov-mfg { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.5rem; padding: 1.75rem 2rem; border-radius: 18px; color: #fff;
  background: linear-gradient(120deg, var(--brand), color-mix(in oklab, var(--brand) 78%, black)); box-shadow: 0 30px 60px -40px color-mix(in oklab, var(--brand) 90%, transparent); }
.ov-mfg__icon { width: 3.5rem; height: 3.5rem; border-radius: 14px; display: grid; place-items: center; background: color-mix(in oklab, white 16%, transparent); }
.ov-mfg__icon svg { width: 1.8rem; height: 1.8rem; }
.ov-mfg__title { margin: 0; font-size: 1.3rem; line-height: 1.3; font-weight: 700; color: #fff; }
.ov-mfg__text { margin: .35rem 0 0; font-size: .98rem; opacity: .88; }
.ov-mfg__btn { background: #fff; color: var(--brand); font-weight: 700; white-space: nowrap; }
.ov-mfg__btn:hover { background: var(--brand-tint); color: var(--brand); }

/* ---------- Our Strengths ---------- */
.ov-strengths { background: var(--neutral-soft); }
.ov-str { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.ov-str__item { display: flex; flex-direction: column; align-items: flex-start; gap: .85rem; padding: 1.4rem 1.4rem 1.5rem; border-radius: 16px; background: var(--background); border: 1px solid var(--border); }
.ov-str__top { display: flex; align-items: center; justify-content: space-between; gap: .75rem; width: 100%; min-height: 2.75rem; }
.ov-str__value { font-size: 2rem; line-height: 1; font-weight: 800; letter-spacing: -.03em; color: var(--brand); }
.ov-str__label { font-size: 1rem; line-height: 1.45; font-weight: 600; color: var(--ink-foreground); }
.ov-story { margin-top: 2.5rem; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 1.25rem; }
.ov-story__quote { margin: 0; padding: 1.9rem 2rem; border-radius: 18px; background: var(--ink-foreground); color: #fff; font-size: 1.25rem; line-height: 1.55; font-weight: 600; position: relative; }
.ov-story__quote::before { content: "\201C"; position: absolute; top: .4rem; right: 1.25rem; font-size: 5rem; line-height: 1; color: var(--brand); opacity: .9; font-family: Georgia, serif; }
.ov-story__growth { padding: 1.75rem 2rem; border-radius: 18px; background: var(--background); border: 1px solid var(--border); }
.ov-story__growth p { margin: 1.25rem 0 0; font-size: 1rem; line-height: 1.7; color: var(--muted-foreground); }
.ov-grow { display: flex; align-items: center; gap: 1rem; }
.ov-grow__n { display: grid; font-size: 2.1rem; line-height: 1; font-weight: 800; letter-spacing: -.03em; color: var(--ink-foreground); }
.ov-grow__n small { margin-top: .35rem; font-size: .75rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted-foreground); }
.ov-grow__n--to { color: var(--brand); }
.ov-grow__line { flex: 1; height: 3px; border-radius: 3px; background: var(--border); position: relative; overflow: hidden; }
.ov-grow__line span { position: absolute; inset: 0; background: linear-gradient(90deg, var(--border), var(--brand)); transform-origin: left; animation: ov-grow 2.2s ease-out both; }
.ov-grow__line::after { content: ""; position: absolute; right: 0; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; background: var(--brand); }
@keyframes ov-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- Our Values ---------- */
.ov-values__grid { margin-top: 2rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.ov-value { padding: 1.9rem 2rem; border-radius: 18px; background: var(--background); border: 1px solid var(--border); border-top: 3px solid var(--brand); }
.ov-value__head { display: flex; align-items: center; gap: .9rem; }
.ov-value__title { margin: 0; font-size: 1.35rem; font-weight: 800; color: var(--ink-foreground); }
.ov-value__body { margin-top: 1rem; font-size: 1rem; line-height: 1.7; color: var(--muted-foreground); }
.ov-value__body p { margin: 0 0 .85rem; }
.ov-value__body p:last-child { margin-bottom: 0; }
.ov-small { margin-top: 2.5rem; padding: 2rem; border-radius: 20px; background: var(--neutral-soft); border: 1px solid var(--border); }
.ov-small__title { margin: 0; font-size: 1.25rem; font-weight: 800; color: var(--ink-foreground); }
.ov-small__grid { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.ov-small__item { position: relative; padding: 1.25rem 1.25rem 1.35rem; border-radius: 14px; background: var(--background); border: 1px solid var(--border); }
.ov-small__num { position: absolute; top: 1.1rem; right: 1.2rem; font-size: .8rem; font-weight: 800; color: color-mix(in oklab, var(--brand) 55%, var(--border)); }
.ov-small__item p { margin: .85rem 0 0; font-size: .95rem; line-height: 1.6; color: var(--ink-foreground); }

/* ---------- Supplier partners ---------- */
.ov-partners { background: var(--ink); border-block: 1px solid var(--border); overflow: hidden; }
.ov-partners__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: end; }
.ov-partners__text { margin: .75rem 0 0; max-width: 46rem; font-size: 1.05rem; line-height: 1.7; color: var(--muted-foreground); }
.ov-marquee { margin-top: 2.5rem; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ov-marquee__track { display: flex; gap: 1rem; width: max-content; animation: ov-marquee 60s linear infinite; }
.ov-marquee:hover .ov-marquee__track { animation-play-state: paused; }
.ov-marquee__logo { flex: none; width: 10.5rem; height: 5rem; display: grid; place-items: center; padding: .9rem 1.2rem; border-radius: 14px; background: #fff; border: 1px solid var(--border); }
.ov-marquee__logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
@keyframes ov-marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ov-marquee__track, .ov-grow__line span { animation: none; } }

/* ---------- Certifications & trademarks ---------- */
.ov-badges { list-style: none; margin: 1rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.ov-badges li { display: inline-flex; align-items: center; gap: .5rem; padding: .6rem 1rem; border-radius: 999px; font-size: .9rem; font-weight: 600; color: var(--ink-foreground); background: var(--background); border: 1px solid var(--border); }
.ov-badges__tick { width: 1.3rem; height: 1.3rem; border-radius: 50%; display: grid; place-items: center; font-size: .72rem; background: var(--brand); color: #fff; }
.ov-tm { margin-top: 1.75rem; display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.ov-tm__label { font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-foreground); }
.ov-tm ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.ov-tm li { padding: .35rem .7rem; border-radius: 8px; font-size: .82rem; font-weight: 700; letter-spacing: .02em; color: var(--ink-foreground); background: var(--neutral-soft); }

/* ---------- Responsive ---------- */
@media (max-width: 1023px) {
  .ov-hero__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .ov-hero__media { max-width: 36rem; }
  .ov-hero__since { left: 1rem; }
  .ov-facts__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ov-fact:nth-child(3) { border-left: 0; }
  .ov-fact:nth-child(n+3) { border-top: 1px solid var(--border); }
  .ov-str { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ov-story { grid-template-columns: 1fr; }
  .ov-small__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ov-partners__grid { grid-template-columns: 1fr; align-items: start; }
}
@media (max-width: 767px) {
  .ov-about__grid, .ov-values__grid, .ov-small__grid, .ov-regs { grid-template-columns: 1fr; }
  .ov-mfg { grid-template-columns: 1fr; padding: 1.5rem; }
  .ov-mfg__btn { justify-self: start; }
  .ov-story__quote { font-size: 1.1rem; }
}
@media (max-width: 479px) {
  .ov-facts__grid, .ov-str { grid-template-columns: 1fr; }
  .ov-fact + .ov-fact { border-left: 0; border-top: 1px solid var(--border); }
}
