:root {
  --bg: #05070c;
  --bg-elevated: #0a0e15;
  --bg-surface: rgba(15, 20, 31, 0.72);
  --bg-surface-strong: rgba(17, 22, 34, 0.92);
  --line: rgba(210, 176, 92, 0.16);
  --line-strong: rgba(210, 176, 92, 0.26);
  --gold: #d8b45d;
  --gold-soft: #f0d79c;
  --text-primary: #f5f3ee;
  --text-secondary: rgba(245, 243, 238, 0.78);
  --text-muted: rgba(245, 243, 238, 0.58);
  --shadow-soft: 0 24px 80px rgba(0, 0, 0, 0.32);
  --shadow-card: 0 16px 40px rgba(0, 0, 0, 0.22);
  --shadow-card-hover: 0 22px 52px rgba(0, 0, 0, 0.28);
  --radius-s: 0.9rem;
  --radius-m: 1.25rem;
  --radius-l: 1.75rem;
  --container: 1240px;
  --transition: 180ms ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behaviour: smooth;
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text-primary);
  background:
    radial-gradient(circle at 78% 12%, rgba(25, 104, 111, 0.18), transparent 30%),
    radial-gradient(circle at 22% 18%, rgba(190, 145, 58, 0.06), transparent 22%),
    linear-gradient(180deg, #06080d 0%, #05070c 34%, #04060a 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 999;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  background: #111826;
  color: var(--text-primary);
  border: 1px solid var(--line-strong);
  transition: top var(--transition);
}

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

.container {
  width: min(var(--container), calc(100% - 2.25rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 7, 12, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.header-inner {
  min-height: 4.65rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.1rem;
  align-items: center;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
}

.brand-lockup {
  min-width: 9rem;
}

.brand-lockup-image {
  width: clamp(9.8rem, 13.2vw, 12rem);
  height: auto;
  object-fit: contain;
}

.nav-toggle {
  display: none;
}

.site-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.55rem;
  flex-wrap: wrap;
}

.site-nav a,
.footer-nav a,
.parent-brand-link {
  color: var(--text-secondary);
  transition: color var(--transition), opacity var(--transition);
}

.site-nav a:hover,
.site-nav a:focus-visible,
.footer-nav a:hover,
.footer-nav a:focus-visible,
.parent-brand-link:hover,
.parent-brand-link:focus-visible {
  color: var(--gold-soft);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.95rem;
}

.parent-brand-link {
  font-size: 0.95rem;
  white-space: nowrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.82rem 1.15rem;
  border-radius: 0.95rem;
  border: 1px solid transparent;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition:
    transform var(--transition),
    border-color var(--transition),
    background-color var(--transition),
    color var(--transition),
    box-shadow var(--transition);
}

.header-cta {
  min-height: 2.85rem;
  padding: 0.76rem 1.05rem;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(180deg, #dfbd67 0%, #c79a35 100%);
  color: #111;
  border-color: rgba(255, 232, 179, 0.36);
  box-shadow: 0 10px 28px rgba(186, 140, 36, 0.2);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: linear-gradient(180deg, #e6c777 0%, #d3a644 100%);
  box-shadow: 0 12px 32px rgba(186, 140, 36, 0.24);
}

.button-secondary {
  background: rgba(14, 18, 28, 0.68);
  color: var(--text-primary);
  border-color: var(--line-strong);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(216, 180, 93, 0.42);
  background: rgba(18, 23, 35, 0.88);
}

.hero-section {
  position: relative;
  overflow: clip;
  padding: 3.75rem 0 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 76% 30%, rgba(25, 145, 157, 0.14), transparent 26%),
    radial-gradient(circle at 28% 18%, rgba(212, 176, 93, 0.05), transparent 18%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 4.55fr) minmax(0, 5.45fr);
  align-items: center;
  gap: 2.6rem;
}

.hero-copy {
  max-width: 38rem;
}

.section-eyebrow {
  margin: 0 0 1rem;
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-title,
.section-title {
  margin: 0;
  letter-spacing: -0.03em;
  font-weight: 760;
}

.hero-title {
  max-width: 9.5ch;
  font-size: clamp(2.4rem, 4vw, 4.1rem);
  line-height: 0.94;
}

.hero-subtitle,
.section-body,
.product-body,
.standard-body,
.hero-supporting-note,
.hero-visual-caption,
.footer-legal,
.hero-subtitle {
  margin: 1.05rem 0 0;
  max-width: 33rem;
  font-size: clamp(1rem, 1.15vw, 1.14rem);
}

.hero-actions,
.closing-cta-actions {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.hero-actions {
  margin-top: 1.75rem;
}

.hero-supporting-note {
  margin: 1.05rem 0 0;
  font-size: 0.98rem;
}

.hero-media {
  margin: 0;
  width: 100%;
}

.hero-image {
  width: 100%;
  max-width: 100%;
  border-radius: var(--radius-l);
  background: linear-gradient(180deg, rgba(9, 12, 18, 0.94), rgba(6, 8, 13, 0.96));
  box-shadow: var(--shadow-soft);
}

.hero-visual-caption {
  margin-top: 0.65rem;
  font-size: 0.96rem;
  text-align: center;
}

.content-section {
  position: relative;
  padding: 4.8rem 0;
}

.range-section {
  padding-top: 4.55rem;
  background:
    linear-gradient(180deg, rgba(4, 6, 10, 0.22), rgba(5, 7, 12, 0.12)),
    radial-gradient(circle at 82% 10%, rgba(24, 103, 110, 0.08), transparent 26%);
}

.standards-section {
  padding-top: 4.1rem;
  padding-bottom: 4.45rem;
  background:
    linear-gradient(180deg, rgba(6, 8, 13, 0.22), rgba(10, 13, 20, 0.54)),
    radial-gradient(circle at 15% 12%, rgba(212, 176, 93, 0.05), transparent 20%);
}

.closing-cta-section {
  padding: 3.8rem 0 2.2rem;
}

.section-heading {
  max-width: 46rem;
  margin-bottom: 2rem;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.65rem);
  line-height: 1.03;
}

.range-section .section-title {
  max-width: 11ch;
}

.section-body {
  margin: 1rem 0 0;
  max-width: 42rem;
  font-size: 1.02rem;
}

.narrow-content {
  max-width: 42rem;
  text-align: center;
}

.narrow-content .section-title,
.section-body-centered {
  margin-inline: auto;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.35rem;
}

.product-card,
.standard-card,
.closing-cta-panel {
  position: relative;
  background: linear-gradient(180deg, rgba(15, 20, 31, 0.8), rgba(10, 14, 21, 0.94));
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-card);
}

.product-card,
.standard-card {
  padding: 1.45rem;
}

.product-card {
  --product-accent-rgb: 216, 180, 93;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.product-card--prime {
  --product-accent-rgb: 145, 78, 255;
}

.product-card--01 {
  --product-accent-rgb: 28, 213, 187;
}

.product-card--mito {
  --product-accent-rgb: 255, 145, 45;
}

.product-card--calm {
  --product-accent-rgb: 45, 169, 255;
}

.product-card::before,
.standard-card::before,
.closing-cta-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    180deg,
    rgba(216, 180, 93, 0.16),
    rgba(30, 130, 142, 0.08),
    rgba(255, 255, 255, 0.03)
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.product-media {
  margin: -0.2rem -0.2rem 1.1rem;
  min-height: 12.25rem;
  display: grid;
  place-items: center;
  border-radius: 1.15rem;
  background:
    radial-gradient(circle at 50% 22%, rgba(214, 180, 93, 0.07), transparent 35%),
    radial-gradient(circle at 50% 70%, rgba(18, 99, 111, 0.08), transparent 42%),
    linear-gradient(180deg, rgba(9, 12, 18, 0.92), rgba(7, 10, 16, 0.96));
  overflow: hidden;
}

.product-image {
  width: min(84%, 13rem);
  max-height: 14.75rem;
  object-fit: contain;
  filter: drop-shadow(0 18px 26px rgba(0, 0, 0, 0.34));
}

.product-sku {
  margin: 0 0 0.72rem;
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-title,
.standard-title {
  margin: 0;
  font-size: 1.26rem;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.product-body,
.standard-body {
  margin: 0.85rem 0 1.35rem;
  font-size: 0.98rem;
  line-height: 1.62;
}

.product-link {
  margin-top: auto;
  align-self: flex-start;
}

.standards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}

.standard-card {
  min-height: 100%;
}

.closing-cta-panel {
  padding: 1.8rem 1.6rem;
  text-align: center;
  background:
    radial-gradient(circle at 50% 12%, rgba(214, 180, 93, 0.07), transparent 30%),
    radial-gradient(circle at 78% 24%, rgba(22, 112, 124, 0.08), transparent 26%),
    linear-gradient(180deg, rgba(15, 20, 31, 0.88), rgba(10, 14, 21, 0.96));
}

.closing-cta-panel .section-title {
  font-size: clamp(1.8rem, 2.8vw, 2.45rem);
}

.closing-cta-panel .section-body {
  max-width: 37rem;
  font-size: 0.99rem;
}

.closing-cta-actions {
  justify-content: center;
  margin-top: 1.15rem;
}

/* === OVA footer — finalised 05/05 === */
.site-footer,
.ova-footer {
  margin-top: 32px;
  padding: 42px 24px 34px;
  border-top: 1px solid rgba(226, 205, 152, 0.18);
  background:
    radial-gradient(circle at 50% 0%, rgba(226, 205, 152, 0.10), transparent 34%),
    rgba(5, 8, 18, 0.72);
}

.footer-inner,
.ova-footer__inner {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.2fr;
  gap: 32px;
  align-items: start;
}

.ova-footer__eyebrow {
  margin-bottom: 12px;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(226, 205, 152, 0.88);
}

.site-footer p,
.ova-footer p {
  margin: 0;
  color: rgba(244, 241, 232, 0.70);
  line-height: 1.65;
}

.footer-nav,
.ova-footer__nav {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 10px;
}

.footer-nav a,
.ova-footer__nav a {
  color: rgba(244, 241, 232, 0.74);
  text-decoration: none;
  font-size: 0.95rem;
}

.footer-nav a:hover,
.footer-nav a:focus-visible,
.ova-footer__nav a:hover,
.ova-footer__nav a:focus-visible {
  color: rgba(226, 205, 152, 0.96);
}

.ova-footer__status {
  padding: 18px 20px;
  border: 1px solid rgba(226, 205, 152, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
}

.ova-footer__status strong {
  color: rgba(244, 221, 165, 0.95);
  font-weight: 600;
}

.footer-legal,
.ova-footer__legal {
  width: min(1120px, 100%);
  margin: 36px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.78rem;
  color: rgba(244, 241, 232, 0.52);
}

.footer-legal p,
.ova-footer__legal p {
  font-size: 0.78rem;
  color: rgba(244, 241, 232, 0.52);
}

@media (max-width: 780px) {
  .site-footer,
  .ova-footer {
    margin-top: 72px;
    padding: 44px 20px 30px;
  }

  .footer-inner,
  .ova-footer__inner {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .footer-nav,
  .ova-footer__nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px 18px;
  }
}

.site-nav a:focus-visible,
.footer-nav a:focus-visible,
.brand-mark:focus-visible,
.button:focus-visible,
.parent-brand-link:focus-visible {
  outline: 2px solid rgba(240, 215, 156, 0.8);
  outline-offset: 3px;
  border-radius: 0.8rem;
}

.standard-card:hover,
.standard-card:focus-within,
.closing-cta-panel:hover {
  border-color: rgba(216, 180, 93, 0.14);
  box-shadow: var(--shadow-card-hover);
}

.product-card:hover,
.product-card:focus-within {
  border-color: rgba(var(--product-accent-rgb), 0.58);
  box-shadow:
    var(--shadow-card-hover),
    0 0 0 1px rgba(var(--product-accent-rgb), 0.28),
    0 0 30px rgba(var(--product-accent-rgb), 0.20);
}

.product-card:hover,
.product-card:focus-within,
.standard-card:hover,
.standard-card:focus-within {
  transform: translateY(-2px);
}

.product-card,
.standard-card,
.closing-cta-panel {
  transition:
    transform var(--transition),
    border-color var(--transition),
    box-shadow var(--transition),
    background-color var(--transition);
}

body.page-enter {
  opacity: 1;
  transform: none;
  filter: none;
  animation: none;
}

@keyframes ovaPageEnter {
  from {
    opacity: 0;
    transform: none;
    filter: brightness(0.96);
  }
  to {
    opacity: 1;
    transform: none;
    filter: brightness(1);
  }
}

@media (max-width: 1200px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 2rem;
  }

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

@media (max-width: 1100px) {
  .header-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 1rem 0;
  }

  .site-nav {
    order: 3;
  }

  .header-actions {
    order: 2;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-grid,
    .hero-copy,
  .hero-media {
    max-width: 100%;
  }

  .hero-media {
    max-width: 54rem;
    width: 100%;
    justify-self: center;
  }

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

@media (max-width: 760px) {
  .container {
    width: min(var(--container), calc(100% - 1.4rem));
  }

  .hero-section {
    padding: 3.35rem 0 2.75rem;
  }

  .content-section,
  .closing-cta-section {
    padding-top: 3.7rem;
    padding-bottom: 3.95rem;
  }

  .range-section {
    padding-top: 3.9rem;
  }

  .hero-actions,
  .closing-cta-actions,
  .header-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button,
  .header-cta {
    width: 100%;
  }

  .parent-brand-link {
    text-align: center;
  }

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

    .hero-visual-caption {
    text-align: left;
  }

  .footer-nav,
  .ova-footer__nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  body.page-enter {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

/* === OVA consolidated final layout v0.2 — 15/07/2026 === */

/* Stable anchor positioning beneath the sticky header */
html {
  scroll-padding-top: 5rem;
}

/* Final hero typography */
.hero-title {
  max-width: 12.2ch;
  font-size: clamp(2rem, 3.2vw, 3.2rem);
  line-height: 0.95;
}

.hero-subtitle {
  max-width: 31rem;
  font-size: clamp(0.97rem, 1.04vw, 1.04rem);
}

/* Consistent hero actions */
.hero-actions {
  margin-top: 1.35rem;
}

.hero-actions .button {
  min-height: 2.75rem;
  padding: 0.66rem 0.95rem;
  border-radius: 0.78rem;
  font-size: 0.92rem;
  line-height: 1;
}

/* Compact section rhythm across the complete page */
.range-section {
  padding-top: 2.65rem;
  padding-bottom: 2.25rem;
}

.range-section .section-heading {
  margin-bottom: 1.55rem;
}

.standards-section {
  padding-top: 2.6rem;
  padding-bottom: 2.55rem;
}

.closing-cta-section {
  padding: 2.15rem 0 1.25rem;
}

.closing-cta-panel {
  padding: 1.65rem 1.5rem;
}

/* Product-card density */
.product-grid {
  gap: 1.05rem;
}

.product-card,
.standard-card {
  padding: 1.2rem;
}

.product-media {
  margin: -0.1rem -0.1rem 0.95rem;
  min-height: 12rem;
}

.product-image {
  width: min(90%, 14rem);
  max-height: 15.25rem;
}

/* Compact footer transition */
.site-footer,
.ova-footer {
  margin-top: 16px;
  padding: 30px 24px 28px;
}

.footer-inner,
.ova-footer__inner {
  gap: 26px;
}

.footer-legal,
.ova-footer__legal {
  margin-top: 26px;
  padding-top: 18px;
}

/* Desktop header and hero */
@media (min-width: 1101px) {
  .header-inner {
    min-height: 4.25rem;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 1rem;
  }

  /* Fixed slots prevent padded source canvases from inflating the header. */
  .brand-mark,
  .parent-brand-wordmark-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 3.45rem;
    overflow: hidden;
  }

  .brand-lockup {
    width: 12rem;
    min-width: 12rem;
  }

  .parent-brand-wordmark-link {
    width: 10.5rem;
  }

  .brand-lockup-image,
  .parent-brand-wordmark-image {
    position: absolute;
    left: 50%;
    top: 50%;
    max-width: none;
    height: auto;
    object-fit: contain;
    mix-blend-mode: screen;
    transform-origin: center;
  }

  .brand-lockup-image {
    width: 12rem;
    transform: translate(-50%, -50%) scale(1.22);
  }

  .parent-brand-wordmark-image {
    width: 10.5rem;
    transform: translate(-50%, -50%) scale(1.30);
  }

  .site-nav {
    gap: 1.35rem;
  }

  .header-actions {
    justify-content: flex-end;
    gap: 0.8rem;
  }

  .header-cta {
    min-height: 2.65rem;
    padding: 0.66rem 0.95rem;
    border-radius: 0.78rem;
    font-size: 0.92rem;
    line-height: 1;
    box-shadow: 0 7px 18px rgba(186, 140, 36, 0.14);
  }

  .hero-section {
    padding: 2.25rem 0 1.85rem;
  }

  .hero-grid {
    gap: 2.2rem;
  }
}

/* Tablet */
@media (min-width: 761px) and (max-width: 1100px) {
  .header-inner {
    padding: 0.8rem 0;
    row-gap: 0.65rem;
  }

  .brand-mark,
  .parent-brand-wordmark-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 3.2rem;
    overflow: hidden;
  }

  .brand-lockup-image,
  .parent-brand-wordmark-image {
    mix-blend-mode: screen;
  }

  .hero-section {
    padding: 2.7rem 0 2.25rem;
  }
}

/* Mobile */
@media (max-width: 760px) {
  html {
    scroll-padding-top: 4.5rem;
  }

  .header-inner {
    min-height: 4rem;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "brand toggle"
      "nav nav"
      "actions actions";
    justify-items: stretch;
    gap: 0;
    padding: 0.5rem 0;
  }

  .brand-lockup {
    grid-area: brand;
    position: relative;
    width: 9rem;
    min-width: 0;
    height: 3rem;
    overflow: hidden;
    justify-self: start;
  }

  .brand-lockup-image {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 9rem;
    max-width: none;
    height: auto;
    object-fit: contain;
    mix-blend-mode: screen;
    transform: translate(-50%, -50%) scale(1.22);
    transform-origin: center;
  }

  .nav-toggle {
    grid-area: toggle;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    gap: 0.55rem;
    min-width: 5.6rem;
    min-height: 2.75rem;
    padding: 0.65rem 0.8rem;
    border: 1px solid var(--line-strong);
    border-radius: 0.78rem;
    color: var(--text-primary);
    background: rgba(14, 18, 28, 0.78);
    font: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    cursor: pointer;
  }

  .nav-toggle:hover,
  .nav-toggle:focus-visible {
    border-color: rgba(216, 180, 93, 0.42);
    background: rgba(18, 23, 35, 0.94);
  }

  .nav-toggle:focus-visible {
    outline: 2px solid rgba(240, 215, 156, 0.8);
    outline-offset: 3px;
  }

  .nav-toggle-icon,
  .nav-toggle-icon::before,
  .nav-toggle-icon::after {
    display: block;
    width: 1rem;
    height: 1px;
    background: currentColor;
    transition: transform var(--transition), opacity var(--transition);
  }

  .nav-toggle-icon {
    position: relative;
  }

  .nav-toggle-icon::before,
  .nav-toggle-icon::after {
    content: "";
    position: absolute;
    left: 0;
  }

  .nav-toggle-icon::before {
    top: -0.32rem;
  }

  .nav-toggle-icon::after {
    top: 0.32rem;
  }

  .is-menu-open .nav-toggle-icon {
    background: transparent;
  }

  .is-menu-open .nav-toggle-icon::before {
    top: 0;
    transform: rotate(45deg);
  }

  .is-menu-open .nav-toggle-icon::after {
    top: 0;
    transform: rotate(-45deg);
  }

  .site-nav {
    grid-area: nav;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.35rem;
    width: 100%;
    margin-top: 0;
    padding-top: 0;
    border-top: 0 solid transparent;
  }

  .header-actions {
    grid-area: actions;
    display: grid;
    grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
    align-items: center;
    gap: 0.6rem;
    width: 100%;
    padding-top: 0;
  }

  .site-nav,
  .header-actions {
    max-height: 0;
    min-height: 0;
    overflow: clip;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-0.2rem);
    transition:
      max-height 300ms cubic-bezier(0.22, 1, 0.36, 1),
      margin-top 300ms cubic-bezier(0.22, 1, 0.36, 1),
      padding-top 300ms cubic-bezier(0.22, 1, 0.36, 1),
      border-top-width 300ms cubic-bezier(0.22, 1, 0.36, 1),
      border-color 300ms cubic-bezier(0.22, 1, 0.36, 1),
      opacity 220ms ease-out,
      transform 300ms cubic-bezier(0.22, 1, 0.36, 1),
      visibility 0s linear 300ms;
  }

  .is-menu-open .site-nav,
  .is-menu-open .header-actions {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition-delay: 0s;
  }

  .is-menu-open .site-nav {
    max-height: 3.5rem;
    margin-top: 0.5rem;
    padding-top: 0.65rem;
    border-top-width: 1px;
    border-top-color: rgba(255, 255, 255, 0.06);
  }

  .is-menu-open .site-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    padding: 0.55rem 0.35rem;
    border-radius: 0.7rem;
    text-align: center;
  }

  .is-menu-open .header-actions {
    max-height: 3.4rem;
    padding-top: 0.6rem;
  }

  .parent-brand-wordmark-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 2.75rem;
    overflow: hidden;
  }

  .parent-brand-wordmark-image {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 8.6rem;
    max-width: none;
    height: auto;
    object-fit: contain;
    mix-blend-mode: screen;
    transform: translate(-50%, -50%) scale(1.3);
    transform-origin: center;
  }

  .header-cta {
    min-height: 2.75rem;
    padding: 0.65rem 0.75rem;
    font-size: 0.88rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 1.6rem;
  }

  .hero-copy,
  .hero-media {
    width: 100%;
    max-width: 100%;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-section {
    padding: 2rem 0 2.1rem;
  }

  .hero-title {
    max-width: 11.5ch;
    font-size: clamp(1.9rem, 8vw, 2.8rem);
  }

  .hero-image {
    width: 100%;
  }

  .range-section {
    padding-top: 2.35rem;
    padding-bottom: 2rem;
  }

  .standards-section {
    padding-top: 2.45rem;
    padding-bottom: 2.8rem;
  }

  .closing-cta-section {
    padding-top: 2.35rem;
    padding-bottom: 2.5rem;
  }

  .product-media {
    min-height: 12.2rem;
  }

  .product-image {
    width: min(90%, 14rem);
    max-height: 15rem;
  }

  .site-footer,
  .ova-footer {
    margin-top: 28px;
  }
}

/* === OVA homepage final polish v0.3 — 11/08/2026 === */

/* Keep the hero caption visually centred beneath the full hero render. */
.hero-visual-caption {
  width: 100%;
  max-width: none;
  margin: 0.95rem auto 0;
  text-align: center;
}

/* Recovered OVA process imagery: second-screen visual sequence. */
.process-section {
  padding-top: 2.7rem;
  padding-bottom: 2.4rem;
  background:
    linear-gradient(180deg, rgba(5, 7, 12, 0.16), rgba(7, 10, 16, 0.44)),
    radial-gradient(circle at 78% 14%, rgba(22, 112, 124, 0.07), transparent 26%),
    radial-gradient(circle at 18% 18%, rgba(216, 180, 93, 0.045), transparent 22%);
}

.process-section .section-heading {
  max-width: 48rem;
  margin-bottom: 1.55rem;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.05rem;
}

.process-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-m);
  background: linear-gradient(180deg, rgba(15, 20, 31, 0.8), rgba(10, 14, 21, 0.94));
  box-shadow: var(--shadow-card);
}

.process-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: rgba(7, 10, 16, 0.96);
}

.process-card figcaption {
  padding: 0.9rem 1rem 1rem;
  color: var(--text-primary);
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: 0.045em;
}

/* Slightly leaner CTA proportions. Keep paired buttons equal in height. */
@media (min-width: 761px) {
  .header-cta {
    min-height: 2.45rem;
    padding: 0.56rem 0.86rem;
    border-radius: 0.72rem;
    font-size: 0.88rem;
  }

  .hero-actions .button {
    min-height: 2.5rem;
    padding: 0.56rem 0.86rem;
    border-radius: 0.72rem;
    font-size: 0.9rem;
  }

  .closing-cta-actions .button {
    min-height: 2.62rem;
    padding: 0.62rem 0.95rem;
    border-radius: 0.78rem;
    font-size: 0.92rem;
  }
}

@media (max-width: 1200px) {
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .process-section {
    padding-top: 2.35rem;
    padding-bottom: 2.2rem;
  }

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

  .hero-visual-caption {
    text-align: center;
  }
}


/* === OVA homepage refinement v0.4 — 11/08/2026 === */

/* Process imagery: soften the recovered photography so it sits inside the
   darker OVA visual system rather than jumping forward from the page. */
.process-card {
  position: relative;
}

.process-image {
  filter: brightness(0.86) saturate(0.9) contrast(0.98);
}

.process-card::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  width: 100%;
  aspect-ratio: 4 / 3;
  background:
    linear-gradient(180deg, rgba(5, 7, 12, 0.08), rgba(5, 7, 12, 0.18));
  pointer-events: none;
}

/* Desktop CTAs: noticeably leaner and less block-like. */
@media (min-width: 761px) {
  .header-cta {
    min-height: 2.3rem;
    padding: 0.46rem 0.72rem;
    border-radius: 0.64rem;
    font-size: 0.84rem;
    line-height: 1;
  }

  .hero-actions .button {
    min-height: 2.35rem;
    padding: 0.48rem 0.78rem;
    border-radius: 0.66rem;
    font-size: 0.86rem;
    line-height: 1;
  }

  .closing-cta-actions .button {
    min-height: 2.4rem;
    padding: 0.5rem 0.82rem;
    border-radius: 0.68rem;
    font-size: 0.88rem;
    line-height: 1;
  }
}

/* === OVA homepage refinement v0.5 — 11/08/2026 === */
/* Final desktop CTA reduction: precision-control proportions rather than blocks. */
@media (min-width: 761px) {
  .header-cta {
    min-height: 2.15rem;
    padding: 0.36rem 0.64rem;
    border-radius: 0.58rem;
    font-size: 0.80rem;
    line-height: 1;
  }

  .hero-actions .button {
    min-height: 2.18rem;
    padding: 0.38rem 0.68rem;
    border-radius: 0.60rem;
    font-size: 0.82rem;
    line-height: 1;
  }

  .closing-cta-actions .button {
    min-height: 2.25rem;
    padding: 0.42rem 0.74rem;
    border-radius: 0.62rem;
    font-size: 0.84rem;
    line-height: 1;
  }
}

/* === OVA homepage actual-size responsive repair r1 — 20/08/2026 ===
   Scope: homepage only. Keeps product/programme pages on their existing shared
   responsive rules while removing the oversized laptop/tablet hybrid state. */
@media (min-width: 901px) {
  body.ova-homepage .header-inner {
    min-height: 4.25rem;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 1rem;
    justify-items: stretch;
    padding: 0;
  }

  body.ova-homepage .brand-mark,
  body.ova-homepage .parent-brand-wordmark-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 3.45rem;
    overflow: hidden;
  }

  body.ova-homepage .brand-lockup {
    width: 12rem;
    min-width: 12rem;
  }

  body.ova-homepage .parent-brand-wordmark-link {
    width: 10.5rem;
  }

  body.ova-homepage .brand-lockup-image,
  body.ova-homepage .parent-brand-wordmark-image {
    position: absolute;
    left: 50%;
    top: 50%;
    max-width: none;
    height: auto;
    object-fit: contain;
    mix-blend-mode: screen;
    transform-origin: center;
  }

  body.ova-homepage .brand-lockup-image {
    width: 12rem;
    transform: translate(-50%, -50%) scale(1.22);
  }

  body.ova-homepage .parent-brand-wordmark-image {
    width: 10.5rem;
    transform: translate(-50%, -50%) scale(1.30);
  }

  body.ova-homepage .site-nav {
    order: initial;
    gap: 1.35rem;
  }

  body.ova-homepage .header-actions {
    order: initial;
    flex-wrap: nowrap;
    justify-content: flex-end;
    gap: 0.8rem;
  }

  body.ova-homepage .hero-grid {
    grid-template-columns: minmax(0, 4.55fr) minmax(0, 5.45fr);
    gap: 2.2rem;
  }

  body.ova-homepage .product-grid,
  body.ova-homepage .process-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  body.ova-homepage .standards-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 761px) and (max-width: 900px) {
  body.ova-homepage .product-grid,
  body.ova-homepage .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* === OVA product-card visual compacting v1 — 26/08/2026 === */
body.ova-homepage .product-media {
  min-height: 9.75rem;
}

body.ova-homepage .product-image {
  width: min(82%, 11.75rem);
  max-height: 12.25rem;
}

/* === OVA product-card visual compacting v2 — 26/08/2026 === */
body.ova-homepage .product-media {
  min-height: 8.9rem;
}

body.ova-homepage .product-image {
  width: min(78%, 10.9rem);
  max-height: 11.4rem;
}

/* OVA nav wordmark vertical alignment tweak */
.parent-brand-wordmark-image{
  top: calc(50% + 2px);
}

/* OVA homepage hero top-spacing tighten — 26/08/2026 */
@media (min-width: 901px) {
  body.ova-homepage .hero-section {
    padding-top: 1.25rem;
  }
}

/* OVA desktop anchor landing calibration — 26/08/2026 */
@media (min-width: 761px) {
  html {
    scroll-padding-top: 2rem;
  }
}

/* OVA tablet anchor landing calibration — 26/08/2026 */
@media (min-width: 761px) and (max-width: 1100px) {
  html {
    scroll-padding-top: 5rem;
  }

  main > section[id] {
    scroll-margin-top: 5rem;
  }
}

/* OVA NeuroBios nav wordmark compacting — 26/08/2026 */
@media (min-width: 901px) {
  .parent-brand-wordmark-image,
  body.ova-homepage .parent-brand-wordmark-image {
    width: 9.9rem;
  }
}

/* OVA desktop header CTA fixed slot — 26/08/2026 */
@media (min-width: 1101px) {
  .header-cta {
    width: 11rem;
    flex: 0 0 11rem;
  }
}


/* === OVA header breakpoint unification — 26/08/2026 ===
   901–1100px now uses one header geometry across homepage,
   programme and all product pages. */
@media (min-width: 901px) and (max-width: 1100px) {

  .header-inner {
    min-height: 4.25rem;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 1rem;
    justify-items: stretch;
    padding: 0;
  }

  .brand-mark,
  .parent-brand-wordmark-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 3.45rem;
    overflow: hidden;
  }

  .brand-lockup {
    width: 12rem;
    min-width: 12rem;
    justify-self: start;
  }

  .parent-brand-wordmark-link {
    width: 10.5rem;
  }

  .brand-lockup-image,
  .parent-brand-wordmark-image {
    position: absolute;
    left: 50%;
    top: 50%;
    max-width: none;
    height: auto;
    object-fit: contain;
    mix-blend-mode: screen;
    transform-origin: center;
  }

  .brand-lockup-image {
    width: 12rem;
    transform: translate(-50%, -50%) scale(1.22);
  }

  .parent-brand-wordmark-image {
    width: 9.9rem;
    top: calc(50% + 2px);
    transform: translate(-50%, -50%) scale(1.30);
  }

  .site-nav {
    order: initial;
    gap: 1.35rem;
  }

  .header-actions {
    order: initial;
    flex-wrap: nowrap;
    justify-content: flex-end;
    gap: 0.8rem;
  }

  .header-cta {
    width: 11rem;
    flex: 0 0 11rem;
  }
}
