/* Oliveris demo - sparse editorial system (Flowphys-like, Wix-rebuildable). */

@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/ibm-plex-mono-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/*
  Wix Studio mapping - white section fills + coloured pattern tiles:
  White + pattern-dots.png (#E5DEFD)  -> .section--surface
  White + pattern-diag.png (#CEFFFF)  -> .section--mist
  White + pattern-grid.png (#DBDBDB)  -> .section--grid / page paper
  Photo cycle A-D                    -> .section--applications (home)
  Navy  + pattern-grid-on-dark.png   -> heroes / CTA only
  Charcoal solid (no pattern)        -> footer only
  Cards/rows: plain white - no pattern tiles.
*/
:root {
  --olv-navy: #071B3D;
  --olv-navy-2: #0C274F;
  --olv-violet: #6B3BFF;
  --olv-violet-deep: #5429E0;
  --olv-teal: #00A6A6;
  --olv-orange: #C56A00;
  --olv-green: #2EAD66;
  --olv-amber: #F3A712;
  --olv-white: #FFFFFF;
  --olv-lavender: #E5DEFD;
  --olv-cyan: #CEFFFF;
  --olv-grey: #DBDBDB;
  --olv-surface: #F7F8FA;
  --olv-surface-2: #EEF1F5;
  --olv-mist: #F7F8FA;
  --olv-paper: #FFFFFF;
  --olv-line: #D0D8E4;
  --olv-muted: #5F6B7A;
  --olv-ink: var(--olv-navy);
  --olv-ink-muted: var(--olv-muted);
  --container: 1120px;
  --pad: 48px;
  --section-y: 88px;
  --radius: 2px;
  --font-display: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --pat-dots: url("../images/patterns/pattern-dots.png");
  --pat-grid: url("../images/patterns/pattern-grid.png");
  --pat-diag: url("../images/patterns/pattern-diag.png");
  --pat-grain: url("../images/patterns/pattern-grain.png");
  --pat-grid-dark: url("../images/patterns/pattern-grid-on-dark.png");
  --pat-diag-dark: url("../images/patterns/pattern-diag-on-dark.png");
  --pat-dots-dark: url("../images/patterns/pattern-dots-on-dark.png");
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--olv-ink);
  background-color: var(--olv-paper);
  background-image: var(--pat-grain);
  background-repeat: repeat;
  background-size: 96px 96px;
  -webkit-font-smoothing: antialiased;
}

#main {
  background: transparent;
}

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

a {
  color: var(--olv-navy);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--olv-violet);
}

:focus-visible {
  outline: 2px solid var(--olv-violet);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--olv-violet);
  color: var(--olv-white);
  padding: 12px 16px;
  z-index: 1000;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

/* --- Type --- */

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.1;
  margin: 0 0 16px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--olv-navy);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}

h3 {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.lead {
  font-size: clamp(1.0625rem, 1.2vw, 1.1875rem);
  color: var(--olv-ink-muted);
  max-width: 58ch;
  line-height: 1.55;
  margin: 0 0 8px;
}

.measure {
  max-width: 68ch;
}

.mono {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rule {
  height: 1px;
  background: var(--olv-line);
  border: 0;
  margin: 0 0 32px;
}

/* --- Sections --- */

.section {
  padding: var(--section-y) 0;
  position: relative;
}

.section--surface,
.section--mist,
.section--grid,
.section--applications,
.metrics-band {
  /* Single hairline only - avoids double borders where sections meet */
  border-top: 1px solid rgba(7, 27, 61, 0.08);
  border-bottom: 0;
}

.section--surface {
  background-color: var(--olv-white);
  background-image: var(--pat-dots);
  background-repeat: repeat;
  background-size: 28px 28px;
}

.section--applications {
  background-color: #f4f1ea;
  padding: 64px 0;
  overflow: hidden;
}

.section--applications > .container {
  position: relative;
  z-index: 1;
}

.section--applications__slides {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.section--applications__slide {
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: center;
  opacity: 0;
  animation: applications-bg-cycle 24s ease-in-out infinite;
}

.section--applications__slide:nth-child(1) { animation-delay: -1.5s; }
.section--applications__slide:nth-child(2) { animation-delay: 4.5s; }
.section--applications__slide:nth-child(3) { animation-delay: 10.5s; }
.section--applications__slide:nth-child(4) { animation-delay: 16.5s; }

@keyframes applications-bg-cycle {
  0% { opacity: 0; }
  4% { opacity: 1; }
  25% { opacity: 1; }
  29% { opacity: 0; }
  100% { opacity: 0; }
}

.section--applications h2 {
  margin-bottom: 0;
  font-size: clamp(1.5rem, 2.4vw, 1.875rem);
}

.section--applications__more {
  margin-top: 18px;
}

/* Compact application tiles - shorter than full item-rows */
.app-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 22px;
}

.app-tiles .item-row {
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  padding: 12px;
  margin-bottom: 0;
  min-height: 0;
  border-left-width: 3px;
}

.app-tiles .item-row__media {
  width: 100%;
  height: 96px;
}

.app-tiles .item-row__body {
  gap: 4px;
}

.app-tiles .item-row__body h3 {
  font-size: 1.0625rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.app-tiles .item-row__body p {
  font-size: 0.8125rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.app-tiles .item-row__go {
  align-self: flex-end;
  font-size: 0.875rem;
  padding: 2px 4px;
  margin-top: auto;
}

.section--mist {
  background-color: var(--olv-white);
  background-image: var(--pat-diag);
  background-repeat: repeat;
  background-size: 8px 8px;
}

.section--tight {
  padding-top: 56px;
  padding-bottom: 56px;
}

.section--grid {
  background-color: var(--olv-white);
  background-image: var(--pat-grid);
  background-repeat: repeat;
  background-size: 16px 16px;
}

.section--navy {
  background-color: var(--olv-navy);
  background-image: var(--pat-grid-dark);
  background-repeat: repeat;
  background-size: 40px 40px;
  color: var(--olv-white);
}

.section--navy h1,
.section--navy h2,
.section--navy h3,
.section--navy h4 {
  color: var(--olv-white);
}

.section--navy a {
  color: var(--olv-white);
}

.section--navy a:hover {
  color: rgba(255, 255, 255, 0.85);
}

.section--split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  min-height: 380px;
}

.section__label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(7, 27, 61, 0.55);
  margin: 0 0 14px;
}

.section--navy .section__label {
  color: rgba(255, 255, 255, 0.55);
}

.section__head {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 56px;
}

.section__head p {
  margin: 0;
  color: var(--olv-ink-muted);
  max-width: 36ch;
  font-size: 0.98rem;
}

.section--navy .section__head p {
  color: rgba(255, 255, 255, 0.7);
}

/* --- Header --- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--olv-white);
  border-bottom: 1px solid transparent;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.site-header.is-condensed {
  border-bottom-color: var(--olv-line);
  box-shadow: 0 1px 0 rgba(7, 27, 61, 0.04);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 64px;
}

.site-logo {
  --logo-w: 148px;
  --logo-h: 40px;
  display: block;
  width: var(--logo-w);
  height: var(--logo-h);
  flex-shrink: 0;
  text-decoration: none;
}

.site-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav__list a {
  display: inline-block;
  padding: 8px 12px;
  color: var(--olv-ink);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: color 150ms ease;
}

.site-nav__list a:hover {
  color: var(--olv-violet);
}

.site-nav > .btn--primary {
  padding: 9px 16px;
  font-size: 0.875rem;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}

.nav-toggle img {
  width: 22px;
  height: 22px;
}

.nav-panel {
  display: none;
}

/* --- Buttons & links --- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 150ms ease, color 150ms ease, border-color 150ms ease;
}

.btn--primary {
  background: var(--olv-violet);
  color: var(--olv-white);
  border-color: var(--olv-violet);
}

.btn--primary:hover {
  background: var(--olv-violet-deep);
  border-color: var(--olv-violet-deep);
  color: var(--olv-white);
}

.btn--secondary {
  background: transparent;
  color: var(--olv-navy);
  border-color: var(--olv-line);
}

.btn--secondary:hover {
  background: var(--olv-navy);
  color: var(--olv-white);
  border-color: var(--olv-navy);
}

.btn--ghost-light {
  background: transparent;
  color: var(--olv-white);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn--ghost-light:hover {
  background: var(--olv-white);
  color: var(--olv-navy);
  border-color: var(--olv-white);
}

.section--navy .btn--secondary,
.hero .btn--secondary {
  color: var(--olv-white);
  border-color: rgba(255, 255, 255, 0.45);
}

.section--navy .btn--secondary:hover,
.hero .btn--secondary:hover {
  background: var(--olv-white);
  color: var(--olv-navy);
  border-color: var(--olv-white);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px;
  margin-top: 28px;
}

.btn-row .link-arrow {
  padding-bottom: 1px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--olv-navy);
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: color 150ms ease;
}

.link-arrow:hover {
  color: var(--olv-violet);
}

/* --- Hero --- */

.hero {
  position: relative;
  min-height: 58vh;
  display: flex;
  align-items: center;
  padding: 56px 0;
  color: var(--olv-white);
  overflow: hidden;
  background: var(--olv-navy);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background:
    linear-gradient(105deg, rgba(7, 27, 61, 0.92) 0%, rgba(7, 27, 61, 0.72) 48%, rgba(107, 59, 255, 0.22) 100%),
    url("../images/atmosphere/hero-atmosphere.webp") center right / cover no-repeat,
    var(--olv-navy);
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  z-index: 0;
}

.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    105deg,
    rgba(7, 27, 61, 0.88) 0%,
    rgba(7, 27, 61, 0.62) 48%,
    rgba(107, 59, 255, 0.18) 100%
  );
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 40px var(--pad) 0;
}

.hero h1 {
  color: var(--olv-white);
  max-width: 16ch;
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0 0 20px;
  padding-top: 16px;
}

.hero .lead {
  color: rgba(255, 255, 255, 0.78);
  max-width: 46ch;
  font-size: 1.0625rem;
}

.hero .btn-row {
  margin-top: 32px;
}

/* --- Pathways --- */

.pathways {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 28px;
  margin-top: 22px;
}

.pathways__aside {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px 24px;
  margin-top: 24px;
}

/* --- Metrics --- */

.metrics-band {
  padding: 56px 0;
  background-color: var(--olv-white);
  background-image: var(--pat-grid);
  background-repeat: repeat;
  background-size: 16px 16px;
  color: var(--olv-ink);
}

.metrics-band .section__label {
  margin-bottom: 8px;
  color: rgba(7, 27, 61, 0.55);
}

.metrics-band h2 {
  color: var(--olv-navy);
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  margin-bottom: 0;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 24px;
}

.metric {
  padding: 14px 14px 16px;
  border: 1px solid var(--olv-line);
  border-top: 2px solid var(--olv-violet);
  background: var(--olv-white);
}

.metric:nth-child(3n + 2) {
  border-top-color: var(--olv-teal);
}

.metric:nth-child(3n) {
  border-top-color: var(--olv-navy);
}

.metric__value {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 700;
  color: var(--olv-navy);
  line-height: 1;
  letter-spacing: -0.03em;
}

.metric__label {
  margin-top: 8px;
  color: var(--olv-ink-muted);
  font-size: 0.8125rem;
  max-width: 18ch;
  line-height: 1.35;
}

.metrics--evidence .metric {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
}

.metrics--evidence .metric__value {
  flex-shrink: 0;
}

.metrics--evidence .metric__label {
  margin-top: 0;
  max-width: none;
}

/* --- Item row (primary list pattern) --- */

.item-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px;
  margin-bottom: 10px;
  border: 1px solid var(--olv-line);
  border-left: 3px solid var(--olv-violet);
  background: var(--olv-white);
  text-decoration: none;
  color: inherit;
  transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.item-row:nth-child(even) {
  background: #F3F3F3;
  border-left-color: var(--olv-teal);
}

a.item-row:hover {
  color: inherit;
  border-color: var(--olv-navy);
  background: var(--olv-white);
  transform: translateY(-2px);
}

.item-row__media {
  flex-shrink: 0;
  width: 96px;
  height: 64px;
  overflow: hidden;
  background: var(--olv-navy);
  border: 1px solid var(--olv-line);
}

.item-row__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
}

a.item-row:hover .item-row__media img {
  transform: scale(1.08);
}

.item-row__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.item-row__body h3 {
  margin: 0;
  font-size: 1.125rem;
}

.item-row__body p {
  margin: 0;
  color: var(--olv-ink-muted);
  font-size: 0.9375rem;
  line-height: 1.45;
}

.item-row__go {
  flex-shrink: 0;
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--olv-navy);
  text-decoration: none;
  padding: 6px 8px;
  transition: background 150ms ease, color 150ms ease;
  border-radius: var(--radius);
}

a.item-row:hover .item-row__go,
.item-row__go:hover {
  background: rgba(7, 27, 61, 0.06);
  color: var(--olv-violet);
}

.cap-rows .item-row {
  align-items: center;
  overflow: hidden;
}

.cap-rows .item-row__media {
  align-self: flex-start;
}

.cap-rows .item-row__extra {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  margin: 0;
  color: var(--olv-navy);
  font-size: 0.8125rem;
  line-height: 1.4;
  transition: max-height 240ms ease, opacity 200ms ease, margin 200ms ease;
}

.cap-rows .item-row__outcomes {
  display: block;
  margin-top: 6px;
  color: var(--olv-ink-muted);
  font-size: 0.75rem;
  letter-spacing: 0.01em;
}

.cap-rows .item-row:hover .item-row__extra,
.cap-rows .item-row:focus-visible .item-row__extra {
  max-height: 7.5em;
  opacity: 1;
  margin-top: 6px;
}

.cap-rows .item-row.is-map-hot,
.app-tiles .item-row.is-map-hot {
  border-color: var(--olv-navy);
  background: var(--olv-white);
}

/* --- Homepage technology map --- */

.tech-map {
  margin-top: 20px;
  padding: 0 24px 24px;
  background: color-mix(in srgb, var(--olv-lavender) 42%, var(--olv-white));
  border: 1px solid color-mix(in srgb, var(--olv-violet) 22%, var(--olv-line));
}

.tech-map__kicker {
  margin: 0 -24px 20px;
  padding: 8px 24px;
  border-bottom: 1px solid color-mix(in srgb, var(--olv-violet) 18%, var(--olv-line));
  background: color-mix(in srgb, var(--olv-lavender) 78%, var(--olv-white));
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-align: center;
  color: var(--olv-navy);
}

.tech-map__process {
  display: flex;
  align-items: stretch;
  width: 100%;
  gap: 6px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.tech-map__step {
  position: relative;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 0;
  min-width: 0;
  gap: 6px;
  min-height: 42px;
  padding: 0 12px 0 16px;
  background: transparent;
  color: var(--olv-navy);
  border: 0;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  filter:
    drop-shadow(1px 0 0 var(--olv-line))
    drop-shadow(-1px 0 0 var(--olv-line))
    drop-shadow(0 1px 0 var(--olv-line))
    drop-shadow(0 -1px 0 var(--olv-line));
}

.tech-map__step-fill {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--olv-surface-2);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 0 100%, 12px 50%);
}

.tech-map__step:first-child {
  padding-left: 12px;
}

.tech-map__step:first-child .tech-map__step-fill {
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 0 100%);
}

.tech-map__step-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.tech-map__step--end {
  flex: 1.35 1 0;
  color: var(--olv-white);
  white-space: nowrap;
}

.tech-map__step--end .tech-map__step-fill {
  background: var(--olv-violet);
}

.tech-map__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.tech-map__block {
  --hue: var(--olv-violet);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: var(--olv-white);
  border: 1px solid var(--olv-line);
  border-left: 3px solid var(--hue);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.tech-map__block--sensing { --hue: var(--olv-teal); }
.tech-map__block--material { --hue: var(--olv-violet); }
.tech-map__block--digital { --hue: var(--olv-navy); }
.tech-map__block--geo { --hue: var(--olv-orange); }
.tech-map__block--scale { --hue: var(--olv-green); }

.tech-map__block:hover,
.tech-map__block:focus-visible {
  color: inherit;
  border-color: var(--hue);
  box-shadow: 0 8px 24px rgba(7, 27, 61, 0.06);
}

.tech-map__block:hover .tech-map__tile,
.tech-map__block:focus-visible .tech-map__tile {
  background-color: color-mix(in srgb, var(--hue) 8%, var(--olv-surface));
}

.tech-map__block:hover .tech-map__title,
.tech-map__block:focus-visible .tech-map__title {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.tech-map__tile {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 4px 0;
  background-color: var(--olv-surface);
  background-image: radial-gradient(var(--olv-line) 1px, transparent 1px);
  background-size: 14px 14px;
  border-bottom: 1px solid var(--olv-line);
}

.tech-map__tile svg {
  width: 64px;
  height: auto;
  display: block;
}

.tech-map__tile path,
.tech-map__tile line,
.tech-map__tile circle,
.tech-map__tile rect,
.tech-map__tile polyline,
.tech-map__tile polygon {
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tech-map__tile .ik { stroke: var(--olv-navy); }
.tech-map__tile .ia { stroke: var(--hue); }
.tech-map__tile .ic { stroke: var(--olv-line); }
.tech-map__tile .fk { fill: var(--olv-navy); stroke: none; }
.tech-map__tile .fa { fill: var(--hue); stroke: none; }
.tech-map__tile .dash { stroke-dasharray: 4 5; }
.tech-map__tile .thin { stroke-width: 1.3; }

.tech-map__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 4px;
  padding: 10px 20px 10px;
}

.tech-map__title {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--olv-navy);
}

.tech-map__sub {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--olv-ink-muted);
}

.tech-map__evidence {
  margin-top: auto;
  padding-top: 6px;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--olv-ink-muted);
}

.tech-map__evidence strong {
  font-weight: 600;
  color: var(--olv-navy);
}

.tech-map__dest {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 2px;
  font-size: 0.8125rem;
  color: var(--olv-ink-muted);
}

.tech-map__chip {
  width: 10px;
  height: 10px;
  flex-shrink: 0;
  background: var(--hue);
}

.section--insights {
  padding: 64px 0;
}

.section--insights h2 {
  font-size: clamp(1.5rem, 2.4vw, 1.875rem);
  margin-bottom: 0;
}

.insight-rows {
  margin-top: 20px;
}

.insight-rows .item-row {
  padding: 10px 12px;
  gap: 14px;
  margin-bottom: 16px;
  align-items: center;
}

.insight-rows .item-row__media {
  width: 120px;
  height: 80px;
}

.insight-rows .item-row__body {
  gap: 2px;
}

.insight-rows .item-row__body h3 {
  font-size: 1rem;
  line-height: 1.25;
}

.insight-rows .item-row__body p {
  font-size: 0.8125rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.insight-rows .item-row__body .card__meta {
  font-size: 0.625rem;
}

.insight-rows .item-row__go {
  font-size: 0.9375rem;
}

.section--insights__more {
  margin-top: 16px;
}

/* --- Cards (flattened) --- */

.grid {
  display: grid;
  gap: 20px;
}

.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--5 { grid-template-columns: repeat(5, 1fr); }
.grid--6 { grid-template-columns: repeat(3, 1fr); }

.card--capability-detail {
  display: grid;
  grid-template-columns: 148px 1fr;
  height: auto;
  margin-bottom: 0;
}

.cap-detail-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.card--capability-detail .card__media {
  aspect-ratio: auto;
  min-height: 0;
  height: 100%;
  width: 148px;
}

.card--capability-detail .card__body {
  padding: 28px 32px 26px;
  gap: 12px;
}

.card--capability-detail h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
}

.card--capability-detail__lead {
  font-size: 1.0625rem;
  color: var(--olv-navy);
  font-weight: 500;
  line-height: 1.45;
  margin: 0;
}

.card--capability-detail .card__body > p:not(.card--capability-detail__lead):not(.card__action) {
  color: var(--olv-ink-muted);
  margin: 0;
  line-height: 1.55;
}

.cap-detail__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 28px;
  margin-top: 4px;
}

.cap-detail__grid h3 {
  font-size: 0.6875rem;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--olv-muted);
  margin: 0 0 8px;
  font-weight: 500;
}

.cap-detail__grid ul {
  margin: 0;
  padding-left: 1.15em;
  color: var(--olv-ink-muted);
  font-size: 0.875rem;
  line-height: 1.5;
}

.cap-detail__grid p {
  margin: 0;
  color: var(--olv-ink-muted);
  font-size: 0.875rem;
  line-height: 1.5;
}

.card--project-detail {
  grid-template-columns: 88px 1fr;
}

.card--project-detail .card__media {
  width: 88px;
}

.card--project-detail__logo {
  display: block;
  max-height: 32px;
  max-width: 168px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.card--capability-detail .card__action {
  margin-top: auto !important;
}

.card {
  background: var(--olv-white);
  border: 1px solid var(--olv-line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  height: 100%;
  transition: border-color 180ms ease, transform 180ms ease;
}

.card--capability-detail {
  display: grid;
  grid-template-columns: 148px 1fr;
  height: auto;
}

.card--capability-detail.card--project-detail {
  grid-template-columns: 88px 1fr;
}

.card--capability-detail.card--project-detail .card__media {
  width: 88px;
}

a.card:hover,
.card:has(a[href]):hover {
  border-color: var(--olv-navy);
  color: inherit;
  transform: translateY(-3px);
}

a.card:focus-visible {
  outline: 2px solid var(--olv-violet);
  outline-offset: 3px;
}

.card__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--olv-navy);
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.92;
  transition: opacity 220ms ease, transform 420ms ease;
}

a.card:hover .card__media:not(.card__media--logo) img,
.card:has(a[href]):hover .card__media:not(.card__media--logo) img {
  opacity: 1;
  transform: scale(1.06);
}

a.card:hover .link-arrow,
.card:has(a[href]):hover .link-arrow {
  color: var(--olv-violet);
}

.card__body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.card__icon {
  width: 32px;
  height: 32px;
  margin-bottom: 4px;
}

.card__title {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 16px;
}

.card__title span {
  flex: 1;
  min-width: 0;
}

.card__title-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  margin-top: 2px;
  display: block;
}

.card__meta {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--olv-ink-muted);
}

.card__link {
  margin-top: auto;
  padding-top: 12px;
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--olv-navy);
  text-decoration: none;
}

a.card:hover .card__link {
  color: var(--olv-violet);
}

.card--text {
  border: 1px solid var(--olv-line);
  border-top: 3px solid var(--olv-violet);
  border-radius: var(--radius);
  background: var(--olv-white);
}

.card--text:nth-child(3n + 2) {
  border-top-color: var(--olv-teal);
}

.card--text:nth-child(3n) {
  border-top-color: var(--olv-navy);
}

.card--text .card__body {
  padding: 20px 0;
}

.card--pathway {
  border: 1px solid var(--olv-line);
  border-radius: var(--radius);
  background: var(--olv-white);
  overflow: hidden;
}

.card--pathway > .card__media {
  aspect-ratio: auto;
  height: 148px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  padding: 16px 18px 14px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
  color: var(--olv-white);
}

.card--pathway > .card__media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(7, 27, 61, 0.15) 0%,
    rgba(7, 27, 61, 0.72) 100%
  );
  pointer-events: none;
}

.card--pathway > .card__media > * {
  position: relative;
  z-index: 1;
}

.card--pathway-research > .card__media {
  background-image: url("../images/atmosphere/pathway-research-consortia.webp");
}

.card--pathway-industry > .card__media {
  background-image: url("../images/atmosphere/pathway-industry.webp");
}

.card--pathway > .card__media .card__meta {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.card--pathway > .card__media .card__title {
  margin: 0;
  color: var(--olv-white);
}

.card--pathway > .card__media .card__title-icon {
  filter: brightness(0) invert(1);
}

.card--pathway .card__body {
  padding: 22px 22px 24px;
  border-top: 3px solid var(--olv-violet);
}

.card--pathway .card__meta {
  margin-bottom: 8px;
}

.card--pathway .card__title {
  margin-bottom: 10px;
  font-size: 1.1875rem;
}

.card--pathway .card__title-icon {
  width: 24px;
  height: 24px;
}

.card--pathway > .card__body > p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.45;
}

.pathways .card--pathway:nth-child(2) .card__body {
  border-top-color: var(--olv-teal);
}

.card--pathway.card--teal .card__body {
  border-top-color: var(--olv-teal);
}

.card--pathway.card--quiet {
  background: var(--olv-white);
  transition: border-color 180ms ease, transform 180ms ease;
}

.card--pathway.card--quiet:hover {
  border-color: var(--olv-navy);
  transform: translateY(-3px);
}

.card--pathway.card--quiet .card__body {
  border-top-color: var(--olv-navy);
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.card--pathway.card--accent-navy .card__body {
  border-top-color: var(--olv-navy);
}

.card--pathway.card--accent-teal .card__body {
  border-top-color: var(--olv-teal);
}

.card--pathway.card--accent-violet .card__body {
  border-top-color: var(--olv-violet);
}

.card__icon-badge {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  border: 1px solid var(--olv-line);
  background: var(--olv-surface);
}

.card--accent-navy .card__icon-badge {
  border-color: rgba(7, 27, 61, 0.22);
  background: rgba(7, 27, 61, 0.05);
}

.card--accent-teal .card__icon-badge {
  border-color: rgba(0, 166, 166, 0.28);
  background: rgba(0, 166, 166, 0.08);
}

.card--accent-violet .card__icon-badge {
  border-color: rgba(107, 59, 255, 0.28);
  background: rgba(107, 59, 255, 0.07);
}

.card__icon-badge img {
  width: 20px;
  height: 20px;
  display: block;
}

.card--pathway.card--quiet .card__title {
  margin-bottom: 8px;
  font-size: 1.0625rem;
}

.card--pathway.card--quiet > .card__body > p {
  color: var(--olv-ink-muted);
  font-size: 0.875rem;
  margin: 0;
  flex: 1;
  line-height: 1.45;
}

.card__action {
  margin-top: 14px !important;
  padding-top: 12px;
  border-top: 1px solid var(--olv-line);
}

.card--pathway ul {
  margin: 10px 0 0;
  padding-left: 1.1em;
  color: var(--olv-ink-muted);
  font-size: 0.875rem;
  line-height: 1.45;
}

.card--pathway li {
  margin-bottom: 4px;
}

.card--pathway .card__body > p + p,
.card--pathway .card__body > ul + p {
  margin-top: 14px;
}

/* V8.15: consistently bottom-pin CTAs inside card bodies wherever the card
   uses the standard vertical flex layout. This covers direct .link-arrow CTAs,
   explicit .card__action wrappers and pathway CTA paragraphs without changing
   non-card links or whole-card navigation. */
.card__body > .card__action,
.card__body > .card__link,
.card__body > .link-arrow,
.card__body > p:last-child:has(> .link-arrow) {
  margin-top: auto !important;
  flex: 0 0 auto;
}

.card__body > p:last-child:has(> .link-arrow):not(.card__action) {
  padding-top: 14px;
}

/* --- Featured project tiles --- */

.project-tiles {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 32px;
  margin-top: 28px;
}

.project-tiles .card--project {
  grid-column: span 2;
  min-width: 0;
}

.project-tiles .card--project:nth-child(4) {
  grid-column: 2 / span 2;
}

.project-tiles .card--project:nth-child(5) {
  grid-column: 4 / span 2;
}

.card--project {
  overflow: hidden;
  position: relative;
}

.card--project::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 3px;
  background: var(--olv-navy);
  z-index: 1;
}

.card--project:nth-child(3n + 2)::before {
  background: var(--olv-teal);
}

.card--project:nth-child(3n)::before {
  background: var(--olv-violet);
}

.card--project .card__media {
  aspect-ratio: auto;
  height: 108px;
  box-sizing: border-box;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 24px;
  background: #fff;
  border-bottom: 1px solid var(--olv-line);
}

.card--project .card__media img {
  position: static;
  inset: auto;
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 56px;
  object-fit: contain;
  object-position: center;
  flex-shrink: 1;
  min-width: 0;
  min-height: 0;
  opacity: 1;
}

.card--project.card--logo-sm .card__media img {
  max-height: 40px;
  max-width: 70%;
}

.card--project.card--logo-md .card__media img {
  max-height: 48px;
  max-width: 78%;
}

.card--project.card--logo-lg .card__media img {
  max-height: 88px;
  max-width: 88%;
}

.card--project .card__media::after {
  display: none;
}

.card--project .card__body {
  padding: 16px 18px 18px;
  gap: 8px;
}

.card--project .card__meta {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.card--project .card__title {
  position: static;
  z-index: auto;
  margin: 0;
  display: block;
  color: var(--olv-navy);
  font-size: 1.125rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.card--project .card__body > p:not(.card__meta) {
  margin: 0;
  color: var(--olv-ink-muted);
  font-size: 0.8125rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.card--project .link-arrow {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--olv-line);
}

/* --- Pills --- */

.pill {
  display: inline-block;
  padding: 4px 8px;
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  background: transparent;
  color: var(--olv-ink-muted);
  border: 1px solid var(--olv-line);
  width: fit-content;
}

.pill--active {
  background: rgba(0, 166, 166, 0.08);
  color: #0A7A7A;
  border-color: rgba(0, 166, 166, 0.28);
}

.pill--completed {
  background: var(--olv-surface);
  color: var(--olv-muted);
  border-color: var(--olv-line);
}

/* --- Partners --- */

.partner-logos {
  list-style: none;
  margin: 28px 0 0;
  padding: 16px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  background: var(--olv-white);
  border: 1px solid var(--olv-line);
}

.partner-logos__item a,
.partner-logos__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  padding: 14px 8px 12px;
  min-height: 108px;
  text-decoration: none;
  color: inherit;
  border: 1px solid transparent;
  transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.partner-logos__item a:hover {
  border-color: var(--olv-navy);
  background: var(--olv-surface);
  color: inherit;
  transform: translateY(-2px);
}

.partner-logos__mark {
  width: 100%;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-logos__mark img {
  max-width: 92%;
  max-height: 48px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.partner-logos__mark--fallback {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  color: var(--olv-navy);
  background: var(--olv-surface);
  border: 1px solid var(--olv-line);
  width: 52px;
  height: 36px;
}

.partner-logos__name {
  font-size: 0.6875rem;
  text-align: center;
  color: var(--olv-navy);
  font-weight: 500;
  line-height: 1.25;
}

.partner-logos__item--featured .partner-logos__mark {
  height: 56px;
}

.partner-list {
  list-style: none;
  margin: 0;
  padding: 28px 28px 24px;
  display: block;
  line-height: 1.8;
  color: var(--olv-ink-muted);
  font-size: 0.98rem;
  background: var(--olv-white);
  border: 1px solid var(--olv-line);
}

.partner-list li {
  display: inline-block;
  margin: 0 2px 4px 0;
  color: var(--olv-navy);
  font-weight: 500;
}

.partner-list .sep,
.partner-list li .sep {
  color: var(--olv-muted);
  font-weight: 400;
  margin: 0 0.35em;
}

.partner-tile {
  background: var(--olv-white);
  border: 1px solid var(--olv-line);
  border-radius: var(--radius);
  padding: 16px 14px;
  text-align: left;
  min-height: 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  transition: border-color 180ms ease, transform 180ms ease;
}

.partner-tile:hover {
  border-color: var(--olv-navy);
  transform: translateY(-2px);
}

.partner-tile__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--olv-navy);
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.partner-tile__country {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--olv-muted);
}

/* --- Page chrome --- */

.page-hero {
  padding: 64px 0 56px;
  background-color: var(--olv-navy);
  background-image: var(--pat-grid-dark);
  background-repeat: repeat;
  background-size: 40px 40px;
  border-bottom: 1px solid var(--olv-navy);
  color: var(--olv-white);
}

.page-hero .section__label {
  color: rgba(255, 255, 255, 0.55);
}

.page-hero h1,
.page-hero h2 {
  color: var(--olv-white);
}

.page-hero .lead {
  color: rgba(255, 255, 255, 0.72);
}

.page-hero .breadcrumb,
.page-hero .breadcrumb a {
  color: rgba(255, 255, 255, 0.55);
}

.page-hero .breadcrumb a:hover {
  color: var(--olv-white);
}

.page-hero h1 {
  max-width: 18ch;
}

.page-hero--concept {
  --hero-fill: #fadfda;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 420px;
  padding: 96px 0 80px;
  background-color: var(--hero-fill);
  background-image: none;
  color: var(--olv-navy);
  border-bottom-color: var(--olv-line);
}

.page-hero--concept-plum {
  --hero-fill: #fadfda;
}

.page-hero--concept-amber {
  --hero-fill: #f8ddb2;
}

.page-hero--concept-emerald {
  --hero-fill: #dbe0c1;
}

.page-hero--concept-about {
  --hero-fill: #e3d4c2;
}

.page-hero--concept-insights {
  --hero-fill: #fdf9f4;
}

.page-hero--concept-contact {
  --hero-fill: #dbdbda;
}

.page-hero--concept-publications {
  --hero-fill: #e8e4f2;
}

.pub-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 22px;
}

.pub-list .field-pending {
  margin: 0;
}

.pub-item {
  padding: 18px 20px 20px;
  background: var(--olv-white);
  border: 1px solid var(--olv-line);
  border-left: 3px solid var(--olv-violet);
}

.pub-item h3 {
  margin: 0 0 8px;
  font-size: 1.0625rem;
  max-width: none;
}

.pub-item .card__meta {
  margin: 0;
}

.pub-item--featured {
  border-left-color: var(--olv-teal);
  padding: 22px 24px;
}

.pub-item--featured h3 {
  font-size: 1.25rem;
}

.page-hero--concept::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    var(--hero-fill) 0%,
    var(--hero-fill) 36%,
    color-mix(in srgb, var(--hero-fill) 65%, transparent) 50%,
    color-mix(in srgb, var(--hero-fill) 20%, transparent) 64%,
    transparent 78%
  );
}

.page-hero--concept .page-hero__media {
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 2%;
}

.page-hero--concept .page-hero__media img {
  width: auto;
  height: 175%;
  max-width: none;
  object-fit: contain;
  object-position: right center;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 20%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 20%, #000 100%);
}

.page-hero--concept .container {
  position: relative;
  z-index: 2;
}

.page-hero--concept .section__label {
  color: var(--olv-muted);
}

.page-hero--concept h1,
.page-hero--concept h2 {
  color: var(--olv-navy);
}

.page-hero--concept .lead {
  color: var(--olv-ink-muted);
  max-width: 38em;
}

.page-hero--concept .link-arrow {
  color: var(--olv-navy);
}

.page-hero--concept .link-arrow:hover {
  color: var(--olv-violet);
}

.page-hero--concept .btn-row {
  margin-top: 28px;
}

.page-hero--concept h1 {
  max-width: 16ch;
}

.page-hero--concept .breadcrumb,
.page-hero--concept .breadcrumb a {
  color: var(--olv-muted);
}

.page-hero--concept .breadcrumb a:hover {
  color: var(--olv-navy);
}

.page-hero--photo {
  position: relative;
  overflow: hidden;
  background-image: none;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  padding: 72px 0 56px;
}

.page-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.page-hero--photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    105deg,
    rgba(7, 27, 61, 0.88) 0%,
    rgba(7, 27, 61, 0.62) 52%,
    rgba(7, 27, 61, 0.42) 100%
  );
}

.page-hero--photo .container {
  position: relative;
  z-index: 2;
}

.page-hero--capability {
  min-height: 420px;
  padding: 80px 0 64px;
}

.page-hero--capability h1 {
  max-width: 22ch;
}

.page-hero--capability .lead {
  max-width: 44ch;
}

.page-hero--capability .btn-row {
  margin-top: 28px;
}

.page-hero--capability .logo-tile {
  margin-bottom: 16px;
}

.page-hero--capability .pill {
  margin: 4px 0 0;
  color: var(--olv-white);
  border-color: rgba(255, 255, 255, 0.35);
  background: transparent;
}

.page-hero--capability .pill--active {
  color: #9eeeee;
  border-color: rgba(0, 166, 166, 0.45);
  background: rgba(0, 166, 166, 0.16);
}

.page-hero--capability .link-arrow {
  color: var(--olv-white);
}

.page-hero--capability .link-arrow:hover {
  color: var(--olv-cyan);
}

/* --- Capability detail page --- */

.index-intro {
  margin-bottom: 36px;
  max-width: 62ch;
}

.index-intro h2 {
  margin: 0 0 12px;
}

.index-intro--full,
.index-intro--full .lead,
.lead--full {
  max-width: none;
}

.section--compact {
  padding: 40px 0;
}

.cap-page__intro {
  display: grid;
  grid-template-columns: 1.45fr 0.7fr;
  gap: 20px 36px;
  align-items: start;
}

.cap-page__intro .section__label {
  margin-bottom: 8px;
}

.cap-page__desc {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.45;
  color: var(--olv-navy);
  max-width: 38em;
}

.cap-page__note {
  margin: 10px 0 0;
  color: var(--olv-ink-muted);
  max-width: 38em;
  font-size: 0.875rem;
  line-height: 1.4;
}

.cap-page__intro--project {
  grid-template-columns: 1fr;
  gap: 20px;
}

.cap-page__facts {
  display: flex;
  flex-direction: column;
  background: var(--olv-white);
  border: 1px solid var(--olv-line);
}

.cap-page__facts--row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.cap-page__fact {
  padding: 10px 16px;
  border-bottom: 1px solid var(--olv-line);
}

.cap-page__fact:last-child {
  border-bottom: 0;
}

.cap-page__facts--row .cap-page__fact {
  border-bottom: 0;
  border-right: 1px solid var(--olv-line);
}

.cap-page__facts--row .cap-page__fact:last-child {
  border-right: 0;
}

.cap-page__facts--row .cap-page__fact-value {
  font-size: 1.125rem;
}

.cap-page__fact-value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--olv-navy);
  line-height: 1;
}

.cap-page__fact-label {
  display: block;
  margin-top: 4px;
  font-size: 0.75rem;
  color: var(--olv-ink-muted);
}

.cap-page__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 56px;
  align-items: start;
}

.cap-page__split h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
}

.cap-page__heading {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cap-page__heading-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: block;
}

.cap-page__prose {
  margin: 14px 0 0;
  color: var(--olv-ink-muted);
  font-size: 0.98rem;
  line-height: 1.5;
}

.cap-page__split .field-pending {
  margin-top: 14px;
}

.cap-page__comps {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  counter-reset: cap-comp;
}

.cap-page__comps li {
  counter-increment: cap-comp;
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--olv-line);
  color: var(--olv-navy);
  font-size: 0.98rem;
  line-height: 1.4;
}

.cap-page__comps li::before {
  content: counter(cap-comp, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.05em;
  color: var(--olv-teal);
  padding-top: 4px;
}

.cap-page__outcomes {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cap-page__outcomes li {
  background: var(--olv-white);
  border: 1px solid var(--olv-line);
  border-left: 3px solid var(--olv-teal);
  padding: 14px 16px;
  color: var(--olv-navy);
  font-size: 0.98rem;
  line-height: 1.4;
}

.cap-page__outcomes li:nth-child(2n) {
  border-left-color: var(--olv-violet);
}

.cap-page__outcomes li:nth-child(3n) {
  border-left-color: var(--olv-navy);
}

.cap-page__projects,
.cap-page__apps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 22px;
}

.cap-page__app .card__media {
  aspect-ratio: 16 / 8;
}

.cap-page__app h3 {
  margin: 0;
  font-size: 1.0625rem;
}

.cap-page__app p {
  margin: 0;
  color: var(--olv-ink-muted);
  font-size: 0.875rem;
  line-height: 1.45;
}

.cap-page__more {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.cap-page__others {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 22px;
}

.cap-page__other {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-bottom: 14px;
  text-decoration: none;
  color: inherit;
  background: var(--olv-white);
  border: 1px solid var(--olv-line);
  overflow: hidden;
  transition: border-color 180ms ease, transform 180ms ease;
}

.cap-page__other:hover {
  border-color: var(--olv-navy);
  color: inherit;
  transform: translateY(-3px);
}

.cap-page__other:hover span {
  color: var(--olv-navy);
}

.cap-page__other:focus-visible {
  outline: 2px solid var(--olv-violet);
  outline-offset: 3px;
}

.cap-page__other > img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  transition: transform 420ms ease;
}

.cap-page__other:hover > img {
  transform: scale(1.06);
}

.cap-page__other-logo {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  background: var(--olv-white);
  border-bottom: 1px solid var(--olv-line);
}

.cap-page__other-logo img {
  display: block;
  width: auto;
  height: auto;
  max-width: 88%;
  max-height: 44px;
  object-fit: contain;
  aspect-ratio: auto;
}

.cap-page__other span {
  padding: 0 14px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1.3;
  color: var(--olv-navy);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  font-size: 0.8125rem;
  color: var(--olv-muted);
}

.breadcrumb a {
  color: var(--olv-muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--olv-navy);
}

.page-hero .breadcrumb a:hover {
  color: var(--olv-white);
}

.page-hero--concept .breadcrumb a:hover {
  color: var(--olv-navy);
}

.page-hero--concept .breadcrumb__sep {
  color: rgba(7, 27, 61, 0.28);
}

.breadcrumb__sep {
  color: rgba(255, 255, 255, 0.35);
}

.back-home {
  margin: 32px 0 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
}

.back-home__sep {
  color: var(--olv-muted);
}

.hero-media {
  margin: 8px 0 40px;
  overflow: hidden;
  border: 1px solid var(--olv-line);
  border-radius: var(--radius);
  aspect-ratio: auto;
  height: 20vh;
  min-height: 88px;
  background: var(--olv-navy);
}

.content-block {
  padding: 28px 28px 30px;
  margin: 0 0 18px;
  background: var(--olv-white);
  border: 1px solid var(--olv-line);
  border-left: 3px solid var(--olv-violet);
}

.content-block:nth-of-type(even) {
  background: #F3F3F3;
  border-left-color: var(--olv-teal);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.logo-tile {
  width: 160px;
  height: 88px;
  background: var(--olv-white);
  border: 1px solid var(--olv-line);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  margin-bottom: 22px;
}

.logo-tile img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.meta-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 0;
  border: 0;
  margin: 28px 0 8px;
}

.meta-item {
  padding: 16px 16px 18px;
  background: var(--olv-navy-2);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.page-hero .meta-item__label {
  color: rgba(255, 255, 255, 0.5);
}

.page-hero .meta-item__value {
  color: var(--olv-white);
}

.meta-item__label {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--olv-muted);
  margin-bottom: 6px;
}

.meta-item__value {
  font-weight: 500;
  letter-spacing: -0.01em;
  font-size: 0.98rem;
}

.content-block h2 {
  margin-bottom: 16px;
  max-width: 22ch;
}

.page-hero .card__meta {
  color: rgba(255, 255, 255, 0.55);
}

.page-hero .mono {
  color: rgba(255, 255, 255, 0.7);
}

.content-block ul {
  padding-left: 1.15em;
}

.content-block li {
  margin-bottom: 8px;
}

.content-block .measure + .measure {
  margin-top: 1em;
}

.insight-related {
  display: grid;
  grid-template-columns: 148px 1fr;
  gap: 20px;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.insight-related__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--olv-line);
}

.insight-related__logo img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 56px;
  object-fit: contain;
}

.insight-related.card--logo-sm .insight-related__logo img {
  max-height: 40px;
}

.insight-related.card--logo-md .insight-related__logo img {
  max-height: 48px;
}

.insight-related.card--logo-lg .insight-related__logo img {
  max-height: 72px;
}

.insight-related__body h3 {
  margin: 0 0 6px;
  max-width: none;
}

.insight-related__body p {
  margin: 0 0 10px;
  color: var(--olv-ink-muted);
}

.field-pending {
  border: 1px dashed var(--olv-orange);
  background: rgba(197, 106, 0, 0.04);
  border-radius: var(--radius);
  padding: 20px;
  margin: 16px 0;
}

.field-pending__label {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--olv-orange);
  margin: 0 0 8px;
}

.field-pending__note {
  margin: 0;
  color: var(--olv-ink-muted);
  font-size: 0.9375rem;
}

.related-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 32px;
}

.related-list .card--text {
  margin: 0;
}

/* --- CTA band --- */

.cta-band {
  position: relative;
  overflow: hidden;
  padding: 72px 0;
  color: var(--olv-navy);
  background: #f2ece5;
  border-top: 0;
}

.cta-band__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 2%;
}

.cta-band__media img {
  width: auto;
  height: 168%;
  max-width: none;
  object-fit: contain;
  object-position: right center;
}

.cta-band::after {
  display: none;
}

.cta-band__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px 48px;
  align-items: center;
}

.cta-band .section__label {
  color: var(--olv-muted);
  margin-bottom: 8px;
}

.cta-band h2 {
  color: var(--olv-navy);
  margin: 0;
  max-width: 14ch;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.cta-band .lead {
  margin: 12px 0 0;
  color: var(--olv-ink-muted);
  max-width: 36em;
}

.cta-band__actions {
  display: grid;
  gap: 12px;
}

.cta-band__action {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 18px;
  background: var(--olv-white);
  color: var(--olv-navy);
  text-decoration: none;
  border: 1px solid var(--olv-line);
  border-left: 3px solid var(--olv-violet);
  transition: border-color 180ms ease, transform 180ms ease;
}

.cta-band__action:last-child {
  border-left-color: var(--olv-teal);
}

.cta-band__action:hover {
  border-color: var(--olv-navy);
  color: var(--olv-navy);
  transform: translateY(-2px);
}

.cta-band__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--olv-surface);
}

.cta-band__icon img {
  display: block;
  width: 22px;
  height: 22px;
}

.cta-band__action-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.cta-band__action-text strong {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.cta-band__action-text span {
  font-size: 0.8125rem;
  color: var(--olv-ink-muted);
  line-height: 1.3;
}

.cta-band__go {
  color: var(--olv-violet);
  font-size: 1.125rem;
  transition: transform 180ms ease;
}

.cta-band__action:hover .cta-band__go {
  transform: translateX(4px);
}

/* --- Forms --- */

.form {
  display: grid;
  gap: 18px;
  max-width: 560px;
}

.form-demo-note {
  background: var(--olv-surface);
  border: 1px solid var(--olv-line);
  border-radius: var(--radius);
  padding: 12px 14px;
  font-size: 0.875rem;
  color: var(--olv-muted);
  margin-bottom: 4px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field label {
  font-weight: 500;
  font-size: 0.875rem;
}

.form-field input,
.form-field select,
.form-field textarea {
  font: inherit;
  padding: 12px 14px;
  border: 1px solid var(--olv-line);
  border-radius: var(--radius);
  background: var(--olv-white);
  color: var(--olv-ink);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--olv-navy);
}

.form-field textarea {
  min-height: 140px;
  resize: vertical;
}

.route-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}

.route-cards .card {
  min-height: 0;
  border-radius: var(--radius);
}

.route-cards .card__media {
  aspect-ratio: 16 / 6;
}

.route-cards .card__body {
  justify-content: flex-start;
  background: transparent;
  padding: 14px 16px 16px;
  gap: 6px;
}

.route-cards .card__body h2 {
  margin: 0;
  line-height: 1.2;
}

.route-cards .card__body p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.35;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.7fr);
  gap: 36px 48px;
  align-items: start;
}

.contact-layout .form {
  max-width: none;
}

.contact-details {
  padding: 24px 24px 26px;
  background: var(--olv-white);
  border: 1px solid var(--olv-line);
  border-left: 3px solid var(--olv-violet);
}

.contact-details h2 {
  margin: 0 0 16px;
  font-size: 1.25rem;
}

.contact-details p {
  margin: 0 0 14px;
}

.contact-details__label {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--olv-muted);
  margin-bottom: 4px;
}

/* --- About / misc --- */

.page--about .page-hero--concept {
  min-height: 0;
  padding: 72px 0 48px;
}

.page--about .section {
  padding-top: 40px;
  padding-bottom: 40px;
}

.page--about .section--ri-band {
  padding-top: 56px;
  padding-bottom: 56px;
}

.page--about .index-intro {
  margin-bottom: 0;
}

.section--ri-band {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  padding: 56px 0;
}

.section--ri-band__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.section--ri-band__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

.section--ri-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.94) 0%,
    rgba(255, 255, 255, 0.86) 38%,
    rgba(255, 255, 255, 0.42) 62%,
    rgba(255, 255, 255, 0.12) 100%
  );
}

.section--ri-band > .container {
  position: relative;
  z-index: 2;
}

.about-ri__copy {
  max-width: 42em;
}

.about-ri__copy h2 {
  margin: 0 0 12px;
}

.about-ri__copy .lead {
  max-width: none;
}

.about-location {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.95fr);
  gap: 24px 40px;
  align-items: center;
}

.about-location__copy h2 {
  margin: 0 0 12px;
}

.about-location__copy .lead {
  max-width: none;
}

.about-location__map {
  aspect-ratio: 4 / 3;
  border: 1px solid var(--olv-line);
  overflow: hidden;
  background: var(--olv-surface);
}

.about-location__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.about-path__lead {
  max-width: 48em;
  margin-top: 12px;
}

.about-path {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.about-path__item {
  position: relative;
  background: var(--olv-white);
  border: 1px solid var(--olv-line);
  border-top: 3px solid var(--olv-violet);
  padding: 18px 16px 20px;
}

.about-path__item:nth-child(2) { border-top-color: var(--olv-teal); }
.about-path__item:nth-child(3) { border-top-color: var(--olv-navy); }
.about-path__item:nth-child(4) { border-top-color: var(--olv-violet); }
.about-path__item:nth-child(5) { border-top-color: var(--olv-teal); }

.about-path__item::after {
  content: "";
  position: absolute;
  right: -9px;
  top: 36px;
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--olv-violet);
  border-right: 2px solid var(--olv-violet);
  transform: rotate(45deg);
  z-index: 1;
}

.about-path__item:last-child::after {
  display: none;
}

.about-path__num {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--olv-muted);
  margin-bottom: 12px;
}

.about-path__icon {
  display: block;
  width: 28px;
  height: 28px;
  margin-bottom: 12px;
}

.about-path__item h3 {
  margin: 0 0 8px;
  font-size: 1.0625rem;
}

.about-path__item p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--olv-ink-muted);
}

.about-cap-tiles {
  margin-top: 22px;
  grid-template-columns: repeat(5, 1fr);
}

.about-more {
  margin-top: 18px;
}

.about-team {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 24px;
}

.portrait {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  object-position: center 18%;
  display: block;
  background: var(--olv-surface);
}

.team-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  overflow: hidden;
  align-items: stretch;
  padding: 0;
  height: auto;
}

.team-card__body {
  padding: 24px 24px 26px;
}

.team-card__body .section__label {
  margin-bottom: 6px;
}

.team-card__body h3 {
  margin: 0 0 4px;
  font-size: 1.35rem;
}

.team-card__body p {
  margin: 0;
  color: var(--olv-ink-muted);
  line-height: 1.5;
}

.team-card__body p.team-card__role {
  margin: 0 0 12px;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 1.3;
  color: var(--olv-violet);
}

.team-card__email {
  margin-top: 12px;
  font-size: 0.875rem;
}

.team-card__email a {
  color: var(--olv-navy);
  word-break: break-all;
}

.team-card__email a:hover {
  color: var(--olv-violet);
}

.team-card--pending {
  border-style: dashed;
}

.team-card__placeholder {
  min-height: 220px;
  background:
    linear-gradient(180deg, rgba(7, 27, 61, 0.04), rgba(7, 27, 61, 0.08)),
    var(--pat-grid);
  background-color: var(--olv-surface);
  background-size: 16px 16px;
}

.team-card--pending .field-pending {
  margin: 0;
  border: 0;
  padding: 0;
  background: transparent;
}

.approach-diagram {
  width: 100%;
  max-width: 1000px;
  margin: 36px 0 0;
  padding: 24px;
  background: var(--olv-white);
  border: 1px solid var(--olv-line);
  border-radius: var(--radius);
}

.eu-note {
  font-size: 0.875rem;
  color: var(--olv-muted);
  border-top: 1px solid var(--olv-line);
  padding-top: 16px;
  margin: 36px 0;
}

.external-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.external-links li {
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--olv-line);
}

.external-links a {
  text-decoration: none;
  font-weight: 500;
}

.external-links img {
  display: inline-block;
  width: 12px;
  height: 12px;
  vertical-align: middle;
  margin-left: 6px;
}

.feature-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 28px;
  align-items: stretch;
}

.feature-panel {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 260px;
  background: var(--olv-navy);
  border: 1px solid var(--olv-line);
}

.feature-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.88;
}

.plain-list {
  columns: 2;
  gap: 32px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.plain-list li {
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--olv-line);
  break-inside: avoid;
}

.plain-list a {
  text-decoration: none;
  font-weight: 500;
}

.project-status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 12px;
}

/* --- Footer --- */

.site-footer {
  /* Cool charcoal, no pattern - lighter than black, distinct from navy CTA */
  background-color: #2B3038;
  background-image: none;
  color: rgba(255, 255, 255, 0.68);
  padding: 56px 0 28px;
  font-size: 0.75rem;
  line-height: 1.45;
  border-top: 0;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.68);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--olv-white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 28px 28px;
  margin-bottom: 36px;
}

.footer-brand {
  max-width: 28ch;
}

.footer-brand__logo {
  display: inline-block;
  margin-bottom: 12px;
  text-decoration: none;
}

.footer-brand__logo img {
  width: min(150px, 65%);
  height: auto;
  display: block;
}

.footer-brand p {
  margin: 0;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.45;
  font-size: 0.75rem;
}

.footer-col h3 {
  font-size: 0.5625rem;
  font-family: var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
  margin-bottom: 12px;
  font-weight: 500;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin-bottom: 5px;
}

.footer-base {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.6875rem;
}

.to-confirm {
  color: var(--olv-amber);
}

/* --- Reveal --- */

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 450ms ease-out, transform 450ms ease-out;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* --- Breakpoints (Wix Studio defaults) --- */

@media (max-width: 1000px) {
  :root {
    --pad: 32px;
    --section-y: 88px;
  }

  .grid--5,
  .grid--4,
  .grid--3,
  .grid--6,
  .app-tiles,
  .project-tiles,
  .tech-map__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .partner-logos {
    grid-template-columns: repeat(4, 1fr);
  }

  .card--capability-detail {
    grid-template-columns: 1fr;
  }

  .card--capability-detail .card__media {
    aspect-ratio: 16 / 7;
    min-height: 0;
    width: 100%;
  }

  .cap-detail__grid {
    grid-template-columns: 1fr;
  }

  .cap-page__intro,
  .cap-page__split,
  .about-location {
    grid-template-columns: 1fr;
  }

  .cap-page__facts--row {
    grid-template-columns: 1fr 1fr;
  }

  .cap-page__facts--row .cap-page__fact {
    border-bottom: 1px solid var(--olv-line);
  }

  .cap-page__facts--row .cap-page__fact:nth-child(2n) {
    border-right: 0;
  }

  .cap-page__facts--row .cap-page__fact:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .cap-page__projects,
  .cap-page__apps,
  .cap-page__others {
    grid-template-columns: 1fr 1fr;
  }

  .project-tiles .card--project,
  .project-tiles .card--project:nth-child(4),
  .project-tiles .card--project:nth-child(5) {
    grid-column: auto;
  }

  .about-cap-tiles {
    grid-template-columns: 1fr 1fr;
  }

  .about-path__item::after {
    display: none;
  }

  .about-team {
    grid-template-columns: 1fr;
  }

  .metrics,
  .pathways,
  .section__head,
  .feature-row,
  .cta-band__inner,
  .footer-grid,
  .meta-strip,
  .related-list,
  .route-cards {
    grid-template-columns: 1fr 1fr;
  }

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

  .hero {
    min-height: 64vh;
    padding: 80px 0 56px;
  }

  .section--split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 750px) {
  :root {
    --pad: 24px;
    --section-y: 72px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav__list,
  .site-nav > .btn {
    display: none;
  }

  .site-nav.is-open .nav-panel {
    display: flex;
  }

  .nav-panel {
    position: fixed;
    inset: 0;
    background: var(--olv-white);
    flex-direction: column;
    padding: 88px 24px 32px;
    gap: 0;
    z-index: 99;
    overflow-y: auto;
  }

  .nav-panel a {
    display: block;
    padding: 16px 0;
    font-size: 1.25rem;
    font-weight: 500;
    font-family: var(--font-display);
    letter-spacing: -0.02em;
    color: var(--olv-navy);
    text-decoration: none;
    border-bottom: 1px solid var(--olv-line);
  }

  .nav-panel .btn {
    margin-top: 28px;
    display: inline-flex;
    border-bottom: 0;
    font-family: var(--font-body);
    font-size: 0.9375rem;
  }

  .grid--2,
  .grid--3,
  .grid--4,
  .grid--5,
  .grid--6,
  .app-tiles,
  .project-tiles,
  .tech-map__grid,
  .metrics,
  .pathways,
  .pathways__aside,
  .section__head,
  .feature-row,
  .footer-grid,
  .meta-strip,
  .related-list,
  .route-cards,
  .contact-layout,
  .cta-band__inner {
    grid-template-columns: 1fr;
  }

  .tech-map {
    padding: 0 16px 16px;
  }

  .tech-map__kicker {
    margin: 0 -16px 16px;
    padding: 8px 16px;
    font-size: 1.125rem;
  }

  .tech-map__process {
    flex-wrap: nowrap;
  }

  .tech-map__step {
    flex: 1 1 0;
  }

  .tech-map__step--end {
    flex: 1.35 1 0;
  }

  .cap-page__projects,
  .cap-page__apps,
  .cap-page__others {
    grid-template-columns: 1fr;
  }

  .partner-logos {
    grid-template-columns: repeat(3, 1fr);
    padding: 10px;
  }

  .project-tiles .card--project,
  .project-tiles .card--project:nth-child(4),
  .project-tiles .card--project:nth-child(5) {
    grid-column: auto;
  }

  .cta-band {
    padding: 56px 0;
  }

  .plain-list {
    columns: 1;
  }

  .about-path {
    grid-template-columns: 1fr;
  }

  .insight-related {
    grid-template-columns: 1fr;
  }

  .team-card {
    grid-template-columns: 1fr;
  }

  .portrait,
  .team-card__placeholder {
    min-height: 180px;
    max-height: 220px;
  }

  .item-row {
    flex-wrap: wrap;
    gap: 12px 16px;
  }

  .app-tiles .item-row {
    flex-wrap: nowrap;
    flex-direction: column;
  }

  .item-row__go {
    margin-left: auto;
  }

  .app-tiles .item-row__go {
    margin-left: 0;
  }

  .hero {
    min-height: 68vh;
    padding: 72px 0 48px;
  }

  .hero h1 {
    max-width: none;
    padding-top: 12px;
  }

  .site-header__inner {
    min-height: 56px;
  }

  .site-logo {
    --logo-w: 128px;
    --logo-h: 35px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  a.card:hover,
  .card:has(a[href]):hover,
  a.item-row:hover,
  a.cap-page__other:hover,
  a.partner-tile:hover,
  .partner-logos__item a:hover,
  .cta-band__action:hover,
  .card--pathway.card--quiet:hover {
    transform: none;
  }

  .cap-rows .item-row__extra {
    max-height: 7.5em;
    opacity: 1;
    margin-top: 6px;
  }

  .hero__video {
    display: none;
  }

  .section--applications__slide {
    animation: none !important;
    opacity: 0 !important;
  }

  .section--applications__slide:first-child {
    opacity: 1 !important;
  }
}


/* Oliveris 08.09 refinement - three continuously moving partner rows. */
.partner-marquee { margin-top: 40px; overflow: hidden; display: grid; gap: 12px; }
.partner-marquee__row { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.partner-marquee__track { list-style: none; display: flex; align-items: center; gap: 14px; width: max-content; margin: 0; padding: 2px 0; animation: partner-scroll 90s linear infinite; }
.partner-marquee__row--2 .partner-marquee__track { animation-direction: reverse; animation-duration: 100s; }
.partner-marquee__row--3 .partner-marquee__track { animation-duration: 110s; }
.partner-marquee__track .partner-logos__item { flex: 0 0 180px; height: 92px; margin: 0; background: #fff; border: 1px solid rgba(7,27,61,.11); }
.partner-marquee__track .partner-logos__item a,
.partner-marquee__track .partner-logos__inner { height: 100%; display:flex; align-items:center; justify-content:center; padding: 16px 20px; text-decoration:none; }
.partner-marquee__track .partner-logos__mark { display:flex; align-items:center; justify-content:center; width: 140px; height: 50px; margin: 0 auto; }
.partner-marquee__track .partner-logos__mark img { display:block; width:auto; height:auto; max-width:140px; max-height:50px; object-fit:contain; object-position:center; margin:auto; filter: grayscale(1); opacity:.64; transform:scale(.94); transition:filter .25s ease,opacity .25s ease,transform .25s ease; }
.partner-marquee__track .partner-logos__name { display:none; }
.partner-marquee__track .partner-logos__item:hover img { filter:grayscale(0); opacity:1; transform:scale(1.05); }
@keyframes partner-scroll { from { transform:translateX(0); } to { transform:translateX(-50%); } }
@media (prefers-reduced-motion:reduce) { .partner-marquee__track { animation:none; flex-wrap:wrap; width:auto; } }
@media (max-width:750px) { .partner-marquee__track .partner-logos__item { flex-basis:142px; height:78px; } .partner-marquee__track { gap:10px; } }


/* 08.09.2026 visual refinements */
.partner-marquee__track .partner-logos__item { display:flex; align-items:center; justify-content:center; }
.partner-marquee__track .partner-logos__item > a,
.partner-marquee__track .partner-logos__item > .partner-logos__inner { width:100%; }



/* CLEAN V6 - no glyph arrows, robust funding layout */
.link-arrow::before,.link-arrow::after,.item-row__go::before,.item-row__go::after,
.back-home a::before,.back-home a::after{content:none!important}
.link-arrow,.item-row__go,.back-home a{ text-decoration:none; border-bottom:1px solid currentColor; padding-bottom:2px;
  transition:transform 150ms ease,opacity 150ms ease}
.link-arrow:hover,.item-row:hover .item-row__go,.back-home a:hover{transform:translateX(3px);opacity:.78}
.project-funding__content{display:grid;grid-template-columns:90px minmax(0,1fr);gap:22px;align-items:start}
.project-funding__flag{width:90px;height:60px;object-fit:contain;display:block}
.eu-funding-note{display:grid;grid-template-columns:72px minmax(0,1fr);gap:18px;align-items:start;margin:36px 0;
  border-top:1px solid var(--olv-line);padding-top:16px}
.eu-funding-note__flag{width:72px;height:48px;object-fit:contain;display:block}
.eu-funding-note .eu-note{border-top:0;padding-top:0;margin:0}
.footer-funding-note{display:flex;gap:12px;align-items:flex-start}
.footer-funding-note__flag{width:54px;height:36px;object-fit:contain;flex:0 0 auto;margin-top:2px}
.section:not(.section--tight){padding-top:72px;padding-bottom:72px}
.partner-marquee__track .partner-logos__item{display:flex;align-items:center;justify-content:center}
.partner-marquee__track .partner-logos__item>a,
.partner-marquee__track .partner-logos__item>.partner-logos__inner{width:100%;height:100%;display:flex;align-items:center;justify-content:center}
.partner-marquee__track .partner-logos__mark{width:140px;height:50px;display:flex;align-items:center;justify-content:center;margin:auto}
.partner-marquee__track .partner-logos__mark img{max-width:140px;max-height:50px;width:auto;height:auto;object-fit:contain;object-position:center}
@media(max-width:750px){
  .project-funding__content{grid-template-columns:64px minmax(0,1fr);gap:14px}
  .project-funding__flag{width:64px;height:43px}
  .eu-funding-note{grid-template-columns:54px minmax(0,1fr);gap:12px}
  .eu-funding-note__flag{width:54px;height:36px}
  .section:not(.section--tight){padding-top:56px;padding-bottom:56px}
}


/* V7: glyph-free navigation links; avoids encoding-dependent arrow characters. */
.link-arrow {
  display: inline-block;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.08em;
  transition: transform 160ms ease, opacity 160ms ease;
}
.link-arrow:hover, .link-arrow:focus-visible {
  transform: translateX(3px);
  opacity: .78;
}
.back-home .link-arrow:hover, .back-home .link-arrow:focus-visible {
  transform: translateX(-3px);
}
\n\n/* V8 APPROVED BASELINE - Tao 09-09 visual refinements + V7 architecture */
.section--tight { padding: var(--section-y) 0; }
.section--applications { padding: var(--section-y) 0; }
.section:not(.section--tight) { padding-top: var(--section-y); padding-bottom: var(--section-y); }

/* Keep V7's deliberately shorter Home hero. */
.hero { min-height: 58vh; align-items: center; padding: 56px 0; }

/* Tao 09-09 edge-to-edge partner carousel. */
.partner-marquee-wrap { margin-top: 28px; width:100%; }
.partner-marquee { display:flex; flex-direction:column; gap:0; overflow:hidden; background:var(--olv-white); border-top:1px solid var(--olv-line); border-bottom:1px solid var(--olv-line); margin-top:0; }
.partner-marquee__row { overflow:hidden; border-bottom:1px solid var(--olv-line); mask-image:none; }
.partner-marquee__row:last-child { border-bottom:0; }
.partner-marquee__track { display:flex; width:max-content; align-items:center; gap:4px; margin:0; padding:0; animation:partner-marquee-ltr var(--marquee-duration,80s) linear infinite; }
.partner-marquee__row--rtl .partner-marquee__track { animation-name:partner-marquee-rtl; }
.partner-marquee__row:hover .partner-marquee__track,
.partner-marquee__row:focus-within .partner-marquee__track { animation-play-state:paused; }
.partner-marquee__item { flex:0 0 auto; display:flex; align-items:center; justify-content:center; width:156px; height:76px; padding:10px 12px; text-decoration:none; background:transparent; border:0; overflow:hidden; }
.partner-marquee__item img { width:128px; height:48px; max-width:none; max-height:none; object-fit:contain; object-position:center; filter:grayscale(1); opacity:.8; transform:scale(var(--logo-scale, 1)); transform-origin:center; transition:filter 220ms ease,transform 220ms ease,opacity 220ms ease; }
.partner-marquee__item:hover img, .partner-marquee__item:focus-visible img { filter:none; opacity:1; transform:scale(var(--logo-scale, 1)) scale(1.08); }
@keyframes partner-marquee-ltr { from{transform:translateX(0)} to{transform:translateX(-50%)} }
@keyframes partner-marquee-rtl { from{transform:translateX(-50%)} to{transform:translateX(0)} }

/* Tao EU project acknowledgement, CMS-ready. */
.project-eu__inner { display:grid; grid-template-columns:90px minmax(0,1fr); gap:22px 28px; align-items:start; }
.project-eu__emblem { width:90px; height:auto; display:block; border:1px solid var(--olv-line); }
.project-eu__copy p { margin:0 0 10px; max-width:72ch; color:var(--olv-ink-muted); line-height:1.55; }
.project-eu__lockup { font-family:var(--font-display); font-weight:700; letter-spacing:-.02em; color:var(--olv-navy); margin-bottom:8px; }
.project-eu__disclaimer { font-size:.8125rem; }

/* Footer retains only the small legal text: no EU emblem. */
.footer-funding-note { display:block; }
.footer-funding-note__flag { display:none !important; }

/* Project hero links: clean text links, no underline. */
.cap-page .btn-row .link-arrow, .page-hero .btn-row .link-arrow, body[data-wix-page-type="cms-dynamic"] .btn-row .link-arrow { border-bottom:0 !important; padding-bottom:0; text-decoration:none !important; }

@media(max-width:750px){
  :root { --section-y:72px; }
  .partner-marquee__item { width:128px; height:64px; padding:8px 10px; }
  .partner-marquee__item img { width:104px; height:40px; }
  .project-eu__inner { grid-template-columns:1fr; }
  .hero { min-height:68vh; padding:72px 0 48px; }
}
@media(prefers-reduced-motion:reduce){ .partner-marquee__track{animation:none!important;transform:none!important;flex-wrap:wrap;width:auto;} }
