:root {
  --navy: #071b3a;
  --navy-2: #0c2c59;
  --navy-deep: #050f24;
  --blue: #0057b8;
  --blue-dark: #00479a;
  --cyan: #00aeef;
  --cyan-soft: #7fdcff;
  --mint: #21c7a8;
  --ink: #0f1b2d;
  --muted: #5a6678;
  --line: #e2e9f2;
  --soft: #f5f8fc;
  --soft-blue: #edf6ff;
  --white: #ffffff;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(7, 27, 58, .04), 0 8px 24px rgba(7, 27, 58, .05);
  --shadow: 0 2px 6px rgba(7, 27, 58, .05), 0 22px 50px rgba(7, 27, 58, .10);
  --shadow-strong: 0 30px 80px rgba(7, 27, 58, .20);
  --gutter: max(1.25rem, calc((100% - 1180px) / 2 + 1.25rem));
  --font: "Inter", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Inter", "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --dark-bg:
    radial-gradient(55% 75% at 88% 12%, rgba(0, 174, 239, .26), transparent 62%),
    radial-gradient(45% 65% at 6% 100%, rgba(33, 199, 168, .16), transparent 62%),
    linear-gradient(160deg, #04122b 0%, #071b3a 45%, #0b2e63 100%);
}

/* Base */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-dark); }
:focus-visible { outline: 3px solid rgba(0, 174, 239, .55); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(0, 174, 239, .22); }
h1, h2, h3 {
  margin: 0;
  color: var(--navy);
  font-family: var(--font-display);
  line-height: 1.12;
  letter-spacing: -.02em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 5.2vw, 4.25rem); font-weight: 800; letter-spacing: -.03em; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.85rem); font-weight: 800; }
h3 { margin-bottom: .6rem; font-size: 1.18rem; font-weight: 700; letter-spacing: -.01em; }
p { text-wrap: pretty; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 50;
  border-radius: 10px;
  background: var(--navy);
  color: var(--white);
  padding: .75rem 1rem;
}
.skip-link:focus { top: 1rem; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Icons */
.icon {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-badge {
  display: inline-grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 1.15rem;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(0, 87, 184, .09), rgba(0, 174, 239, .16));
  color: var(--blue);
  transition: background .25s ease, color .25s ease, transform .25s ease;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, .82);
  border-bottom: 1px solid transparent;
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, .94);
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(7, 27, 58, .06);
}
.nav {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: .8rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  color: var(--navy);
  text-decoration: none;
  line-height: 1.2;
}
.brand:hover { color: var(--navy); }
.brand strong { font-size: 1rem; letter-spacing: -.01em; }
.brand-mark {
  display: grid;
  place-items: center;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.brand-mark img {
  display: block;
  width: auto;
  height: auto;
  max-width: 34px;
  max-height: 36px;
  object-fit: contain;
}
.brand small { display: block; color: var(--muted); font-size: .8rem; font-weight: 500; }
.nav-menu {
  display: flex;
  align-items: center;
  gap: .25rem;
  font-size: .94rem;
}
.nav-menu a:not(.button) {
  padding: .5rem .75rem;
  border-radius: 10px;
  color: #26344a;
  font-weight: 550;
  text-decoration: none;
  transition: background .15s ease, color .15s ease;
}
.nav-menu a:not(.button):hover,
.nav-menu a:not(.button):focus-visible,
.nav-menu a[aria-current="page"] {
  background: var(--soft-blue);
  color: var(--blue);
}
.nav-menu .button { margin-left: .5rem; }
.nav-toggle { display: none; }
.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-left: .5rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
  background: var(--soft);
}
.language-switch button {
  min-width: 38px;
  border: 0;
  border-radius: 999px;
  padding: .3rem .55rem;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: .8rem;
  font-weight: 750;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.language-switch button:hover { color: var(--navy); }
.language-switch button.active {
  background: var(--white);
  color: var(--blue);
  box-shadow: 0 1px 3px rgba(7, 27, 58, .14);
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 48px;
  border: 1.5px solid var(--blue);
  border-radius: 12px;
  padding: .75rem 1.3rem;
  background: var(--blue);
  color: var(--white);
  font: inherit;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
}
.button:hover,
.button:focus-visible {
  color: var(--white);
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0, 87, 184, .25);
}
.button:active { transform: translateY(0); }
.button.secondary { background: var(--navy); border-color: var(--navy); }
.button.secondary:hover, .button.secondary:focus-visible { background: var(--navy-2); border-color: var(--navy-2); }
.button.ghost { background: var(--white); color: var(--blue); border-color: var(--line); }
.button.ghost:hover, .button.ghost:focus-visible { background: var(--soft-blue); color: var(--blue); border-color: rgba(0, 87, 184, .3); box-shadow: none; }
.button.small { min-height: 38px; padding: .45rem 1rem; border-radius: 10px; font-size: .9rem; }

/* Eyebrow */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin: 0 0 1rem;
  color: var(--blue);
  font-weight: 750;
  text-transform: uppercase;
  font-size: .76rem;
  letter-spacing: .12em;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}

/* Hero */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, .88fr);
  align-items: center;
  gap: 3.5rem;
  padding: 5.5rem var(--gutter) 9rem;
  background: var(--dark-bg);
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(80% 90% at 70% 30%, #000 20%, transparent 80%);
  mask-image: radial-gradient(80% 90% at 70% 30%, #000 20%, transparent 80%);
}
.hero h1 { color: var(--white); max-width: 820px; }
.hero .eyebrow {
  padding: .45rem .9rem;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  color: var(--cyan-soft);
  letter-spacing: .08em;
  font-size: .72rem;
}
.hero .eyebrow::before { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(33, 199, 168, .2); }
.lead {
  max-width: 720px;
  margin: 1.5rem 0 0;
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: #2b3a52;
}
.hero .lead { color: rgba(255, 255, 255, .78); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-top: 2.2rem; }
.hero .button { background: var(--white); border-color: var(--white); color: var(--navy); }
.hero .button:hover, .hero .button:focus-visible { background: var(--soft-blue); border-color: var(--soft-blue); color: var(--navy); box-shadow: 0 14px 34px rgba(0, 174, 239, .28); }
.hero .button.secondary { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .3); color: var(--white); }
.hero .button.secondary:hover, .hero .button.secondary:focus-visible { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .5); }
.hero .button.ghost { background: transparent; border-color: transparent; color: var(--cyan-soft); padding-inline: .6rem; }
.hero .button.ghost::after { content: "→"; transition: transform .18s ease; }
.hero .button.ghost:hover, .hero .button.ghost:focus-visible { background: transparent; color: var(--white); box-shadow: none; transform: none; }
.hero .button.ghost:hover::after { transform: translateX(4px); }
.signal-row {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 2.2rem;
}
.signal-row span {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  padding: .35rem .85rem;
  background: rgba(255, 255, 255, .05);
  color: rgba(255, 255, 255, .86);
  font-weight: 600;
  font-size: .84rem;
}
.signal-row span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
}
.hero-visual {
  position: relative;
  width: 100%;
  max-width: 520px;
  justify-self: end;
}
.hero-network { display: block; width: 100%; height: auto; overflow: visible; }
.hn-orbits { fill: none; stroke: rgba(255, 255, 255, .12); stroke-width: 1; }
.hn-orbit-dashed { stroke-dasharray: 2 9; animation: spin 80s linear infinite; transform-origin: 240px 220px; }
.hn-links { fill: none; stroke: rgba(127, 220, 255, .28); stroke-width: 1.2; }
.hn-flow { fill: none; stroke: var(--cyan-soft); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 4 22; animation: flow 2.6s linear infinite; }
.hn-flow path:nth-child(2n) { animation-delay: -1.3s; }
.hn-nodes circle { fill: var(--cyan); stroke: rgba(0, 174, 239, .25); stroke-width: 8; animation: pulse 3.6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.hn-nodes circle:nth-child(2n) { animation-delay: -1.8s; fill: var(--mint); stroke: rgba(33, 199, 168, .25); }
.hn-pill rect { fill: var(--blue); stroke: rgba(255, 255, 255, .3); }
.hn-pill text { fill: var(--white); font: 800 15px var(--font); text-anchor: middle; letter-spacing: .04em; }
.hn-pill-light rect { fill: var(--white); stroke: none; }
.hn-pill-light text { fill: var(--blue); }
.hn-core-ring { fill: none; stroke: rgba(127, 220, 255, .4); stroke-width: 1.5; animation: ring 3.6s ease-out infinite; transform-origin: 240px 220px; }
.hn-chip rect { fill: rgba(5, 15, 36, .35); stroke: rgba(255, 255, 255, .85); stroke-width: 1.6; }
.hn-chip path { fill: none; stroke: rgba(255, 255, 255, .85); stroke-width: 1.6; stroke-linecap: round; }
.metric-panel {
  position: absolute;
  z-index: 2;
  display: grid;
  gap: .1rem;
  min-width: 150px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 14px;
  padding: .8rem 1rem;
  background: rgba(255, 255, 255, .08);
  color: var(--white);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .25);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.metric-panel strong { font-size: 1rem; letter-spacing: .1em; }
.metric-panel span { font-size: .78rem; color: rgba(255, 255, 255, .72); }
.metric-panel::before {
  content: "";
  width: 28px;
  height: 3px;
  margin-bottom: .45rem;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--mint));
}
.metric-top { right: -2%; top: 2%; animation: float 7s ease-in-out infinite; }
.metric-bottom { left: -2%; bottom: 4%; animation: float 7s ease-in-out -3.5s infinite; }

/* Partner strip */
.partner-strip {
  position: relative;
  z-index: 3;
  width: calc(100% - 2.5rem);
  max-width: 1100px;
  margin: -4.75rem auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
  box-shadow: var(--shadow-strong);
  overflow: hidden;
}
.partner-strip span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .9rem;
  min-height: 112px;
  padding: 1.25rem 1.5rem;
  color: var(--navy);
  font-weight: 700;
  text-align: left;
  line-height: 1.25;
}
.partner-strip span + span { border-left: 1px solid var(--line); }
.partner-strip img {
  display: block;
  width: auto;
  height: auto;
  max-width: 140px;
  max-height: 52px;
  object-fit: contain;
  flex: 0 0 auto;
}
.partner-strip .partner-logo-eurocc3 { max-height: 66px; }

/* Sections */
.section { padding: 6.5rem 1.25rem; }
.section > * { max-width: 1180px; margin-left: auto; margin-right: auto; }
.tint { background: linear-gradient(180deg, var(--soft) 0%, var(--soft-blue) 100%); }
.section-heading { margin-bottom: 3rem; max-width: 860px; margin-left: auto; margin-right: auto; }
.section > .section-heading { max-width: 1180px; }
.section-heading > :not(.eyebrow) { max-width: 820px; }
.section-heading p:not(.eyebrow) { margin: 1.1rem 0 0; color: var(--muted); font-size: 1.08rem; }

.two-column, .three-column, .card-grid, .journey-grid, .use-case-grid {
  display: grid;
  gap: 1.25rem;
}
.two-column { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.three-column, .journey-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card-grid, .service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.use-case-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Cards */
.panel, .card, .journey, .use-case-grid article, .resource-card, .contact-cards article {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.panel p, .card p, .journey p, .use-case-grid p, .resource-card p, .contact-cards p { color: var(--muted); margin: 0 0 1rem; }
.panel p:last-child, .use-case-grid p:last-child { margin-bottom: 0; }
.card, .journey, .use-case-grid article, .panel, .resource-card {
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card::before, .journey::before {
  content: "";
  position: absolute;
  left: 1.75rem;
  right: 1.75rem;
  top: -1px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, var(--blue), var(--cyan), var(--mint));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}
.card:hover, .journey:hover, .resource-card:hover, .resource-card:focus-within, .panel:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 87, 184, .22);
  box-shadow: var(--shadow);
}
.card:hover::before, .journey:hover::before, .card:focus-within::before, .journey:focus-within::before { transform: scaleX(1); }
.card:hover .icon-badge, .journey:hover .icon-badge, .card:focus-within .icon-badge, .journey:focus-within .icon-badge {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: var(--white);
  transform: rotate(-4deg) scale(1.04);
}

/* About panels */
.panel { padding: 2.1rem; }
.panel h3 { font-size: 1.4rem; }
.panel-dark {
  background: var(--dark-bg);
  border-color: transparent;
  color: var(--white);
}
.panel-dark h3 { color: var(--white); }
.panel-dark p { color: rgba(255, 255, 255, .76); }
.panel-dark .icon-badge { background: rgba(255, 255, 255, .1); color: var(--cyan-soft); }

/* Services */
.service-card { display: flex; flex-direction: column; }
.service-card h3 { min-height: 2.6em; }
.service-card a {
  margin-top: auto;
  padding-top: .5rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}
.service-card a::after { content: "→"; transition: transform .2s ease; }
.service-card:hover a::after, .service-card a:focus-visible::after { transform: translateX(4px); }
.service-card a::before { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }

/* Journeys and steps */
.journey { display: flex; flex-direction: column; }
.journey a {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  border-radius: 10px;
  padding: .55rem .9rem;
  background: var(--soft-blue);
  font-weight: 700;
  font-size: .93rem;
  text-decoration: none;
  transition: background .2s ease, color .2s ease;
}
.journey a::after { content: "→"; transition: transform .2s ease; }
.journey a:hover, .journey a:focus-visible { background: var(--blue); color: var(--white); }
.journey a:hover::after { transform: translateX(3px); }
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  padding: 0;
  margin-top: 3.5rem;
  list-style: none;
  counter-reset: step;
}
.steps::before {
  content: "";
  position: absolute;
  top: 23px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--cyan), var(--mint));
  opacity: .5;
}
.steps li {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: .85rem;
  padding: 0 .5rem;
  text-align: center;
  color: var(--navy);
  font-weight: 650;
  line-height: 1.35;
}
.steps li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: relative;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--blue);
  color: var(--blue);
  font-size: .9rem;
  font-weight: 800;
  box-shadow: 0 0 0 6px var(--white), var(--shadow-sm);
  transition: background .2s ease, color .2s ease;
}
.steps li:hover::before { background: var(--blue); color: var(--white); }

/* Dark section (use cases) */
.section.dark {
  position: relative;
  background: var(--dark-bg);
  color: var(--white);
  isolation: isolate;
  overflow: hidden;
}
.section.dark::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  max-width: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%);
  mask-image: linear-gradient(180deg, #000, transparent 85%);
}
.section.dark h2 { color: var(--white); }
.section.dark .eyebrow { color: var(--cyan-soft); }
.section.dark .use-case-grid article {
  border-color: rgba(255, 255, 255, .1);
  background: rgba(255, 255, 255, .04);
  box-shadow: none;
  backdrop-filter: blur(6px);
}
.section.dark .use-case-grid article:hover {
  transform: translateY(-4px);
  border-color: rgba(127, 220, 255, .35);
  background: rgba(255, 255, 255, .07);
}
.section.dark h3 { color: var(--white); }
.section.dark .use-case-grid p { color: rgba(255, 255, 255, .7); }
.section.dark .icon-badge { background: rgba(0, 174, 239, .14); color: var(--cyan-soft); }

/* Resources */
.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.resource-card { display: flex; flex-direction: column; }
.resource-card strong {
  display: block;
  margin-bottom: .55rem;
  color: var(--navy);
  font-size: 1.1rem;
  line-height: 1.3;
  letter-spacing: -.01em;
}
.resource-card > a, .resource-video-body a {
  margin-top: auto;
  align-self: flex-start;
  font-weight: 700;
  text-decoration: none;
}
.external::after { content: " ↗"; display: inline-block; transition: transform .2s ease; }
.external:hover::after, .external:focus-visible::after { transform: translate(2px, -2px); }
.resource-featured {
  background: var(--dark-bg);
  border-color: transparent;
  color: var(--white);
  padding: 2rem;
}
.resource-featured strong { color: var(--white); font-size: 1.45rem; }
.resource-featured p { color: rgba(255, 255, 255, .76); }
.resource-featured .resource-meta {
  display: inline-block;
  align-self: flex-start;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  padding: .3rem .8rem;
  font-size: .82rem;
  color: var(--cyan-soft);
}
.resource-featured .icon-badge { background: rgba(255, 255, 255, .1); color: var(--cyan-soft); }
.resource-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: auto; padding-top: .5rem; }
.resource-featured .button { background: var(--white); border-color: var(--white); color: var(--navy); }
.resource-featured .button:hover { background: var(--soft-blue); border-color: var(--soft-blue); color: var(--navy); }
.resource-featured .button.secondary { background: transparent; border-color: rgba(255, 255, 255, .35); color: var(--white); }
.resource-featured .button.secondary:hover { background: rgba(255, 255, 255, .1); color: var(--white); }
.resource-video { grid-column: span 2; padding: 0; overflow: hidden; }
.resource-video iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  background: var(--navy);
}
.resource-video-body {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  padding: 1.25rem 1.5rem 1.4rem;
}
.resource-video-body p { margin: 0; }
.resource-video-body a { flex: 0 0 auto; margin-top: 0; }

/* Contact */
.contact-section { background: linear-gradient(180deg, var(--white), var(--soft)); }
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 1.5rem;
  align-items: start;
}
.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 2rem;
  background: var(--white);
  box-shadow: var(--shadow);
}
.contact-form label { display: grid; gap: .4rem; font-weight: 650; font-size: .92rem; color: var(--navy); }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%;
  border: 1.5px solid #d3deea;
  border-radius: 12px;
  min-height: 48px;
  padding: .7rem .9rem;
  background: var(--soft);
  color: var(--ink);
  font: inherit;
  font-weight: 400;
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.contact-form textarea { resize: vertical; min-height: 140px; }
.contact-form input:hover, .contact-form select:hover, .contact-form textarea:hover { border-color: #b5c6d9; }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  background: var(--white);
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(0, 174, 239, .16);
}
.contact-form label:has(textarea), .contact-form .checkbox, .contact-form button { grid-column: 1 / -1; }
.contact-form .checkbox {
  display: flex;
  align-items: center;
  gap: .7rem;
  font-weight: 500;
  color: var(--ink);
}
.checkbox input { width: 20px; min-height: 20px; height: 20px; flex: 0 0 20px; accent-color: var(--blue); }
.contact-form button { justify-self: start; min-width: 200px; }
.contact-cards { display: grid; gap: 1rem; position: sticky; top: 100px; }
.contact-cards article {
  background: var(--dark-bg);
  border-color: transparent;
  color: var(--white);
  padding: 2rem;
  box-shadow: var(--shadow);
}
.contact-cards strong { display: block; color: rgba(255, 255, 255, .7); font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; }
.contact-cards a {
  display: block;
  margin: .35rem 0 1rem;
  color: var(--white);
  font-size: 1.35rem;
  font-weight: 750;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.contact-cards a:hover { color: var(--cyan-soft); }
.contact-cards p { color: rgba(255, 255, 255, .72); margin: 0; }
.contact-cards .icon-badge { background: rgba(255, 255, 255, .1); color: var(--cyan-soft); }

/* Footer */
.footer {
  padding: 3.5rem 1.25rem 2.5rem;
  background: var(--navy-deep);
  color: var(--white);
}
.footer-main {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.footer-brand { display: flex; align-items: center; gap: .9rem; }
.footer-brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 12px;
  background: var(--white);
  padding: 6px;
}
.footer-brand p { margin: .15rem 0 0; color: rgba(255, 255, 255, .65); }
.footer-main > div p { margin: .15rem 0 0; color: rgba(255, 255, 255, .65); }
.footer a { color: rgba(255, 255, 255, .82); text-decoration: none; }
.footer a:hover { color: var(--white); }
.footer nav { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; font-size: .92rem; }
.footer nav a:hover { text-decoration: underline; }
.funding-footer {
  max-width: 1180px;
  margin: 2rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .6);
  font-size: .8rem;
  line-height: 1.55;
}
.funding-footer p { max-width: 1080px; margin: .6rem 0 0; }
.funding-footer strong { color: rgba(255, 255, 255, .88); }
.funding-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.75rem;
  margin-bottom: 1.4rem;
}
.funding-logos a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  opacity: .92;
  transition: opacity .2s ease;
}
.funding-logos a:hover { opacity: 1; }
.funding-logos img {
  display: block;
  width: auto;
  max-width: 220px;
  max-height: 48px;
  object-fit: contain;
}
.funding-logos .funding-logo-eurocc3 { max-height: 70px; }

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 60;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .6rem;
  width: min(420px, calc(100% - 2rem));
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.1rem 1.2rem;
  background: rgba(255, 255, 255, .97);
  box-shadow: var(--shadow-strong);
  backdrop-filter: blur(10px);
  animation: slideUp .4s ease both;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { flex: 1 0 100%; margin: 0 0 .25rem; color: var(--muted); font-size: .9rem; line-height: 1.5; }

/* Inner pages */
.page-hero {
  position: relative;
  padding: 4.5rem var(--gutter) 4.5rem;
  background: var(--dark-bg);
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(70% 100% at 80% 0%, #000 20%, transparent 80%);
  mask-image: radial-gradient(70% 100% at 80% 0%, #000 20%, transparent 80%);
}
.page-hero h1 { max-width: 920px; color: var(--white); font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
.page-hero .lead { max-width: 760px; color: rgba(255, 255, 255, .78); }
.page-hero .eyebrow { color: var(--cyan-soft); }
.breadcrumbs { margin: 0 0 1.5rem; color: rgba(255, 255, 255, .6); font-size: .9rem; }
.breadcrumbs a { color: var(--cyan-soft); text-decoration: none; }
.breadcrumbs a:hover { color: var(--white); text-decoration: underline; }
.section.service-detail { padding-top: 4rem; }
.service-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 2rem;
  align-items: start;
}
.service-detail-layout > div {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 2.25rem;
  background: var(--white);
  box-shadow: var(--shadow);
}
.service-detail-layout h2 { font-size: 1.5rem; margin-bottom: 1rem; }
.service-description { margin: 0; font-size: 1.12rem; line-height: 1.8; color: #2b3a52; }
.service-facts {
  position: sticky;
  top: 100px;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.75rem;
  background: linear-gradient(180deg, var(--soft), var(--soft-blue));
}
.service-facts dl { margin: 0; }
.service-facts dt { margin-top: 1.4rem; color: var(--muted); font-size: .74rem; font-weight: 750; text-transform: uppercase; letter-spacing: .1em; }
.service-facts dt:first-child { margin-top: 0; }
.service-facts dd { margin: .35rem 0 0; color: var(--navy); font-weight: 650; }
.service-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

/* Policy pages */
.policy-page { background: linear-gradient(180deg, var(--soft-blue), var(--soft) 400px); min-height: 100vh; }
.policy-page main.section {
  max-width: 820px;
  margin: 3rem auto;
  padding: 3rem;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow);
}
.policy-page main.section > * { max-width: none; }
.policy-page h1 { font-size: clamp(2rem, 4vw, 2.75rem); margin-bottom: 1.25rem; }
.policy-page h2 { font-size: 1.2rem; margin: 2rem 0 .5rem; letter-spacing: -.01em; }
.policy-page p { color: #3a4759; }

/* Scroll reveal (enabled by app.js) */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
.reveal.is-visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1060px) {
  .nav-toggle {
    display: inline-grid;
    place-items: center;
    gap: 4px;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 0;
    background: var(--white);
    cursor: pointer;
    align-content: center;
  }
  .nav-toggle span:not(.sr-only) { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--navy); transition: transform .2s ease, opacity .2s ease; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .nav-menu {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: calc(100% + .25rem);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: .2rem;
    padding: .75rem;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--white);
    box-shadow: var(--shadow-strong);
  }
  .nav-menu.open { display: flex; animation: slideDown .2s ease both; }
  .nav-menu a:not(.button) { padding: .75rem .9rem; }
  .nav-menu .button { margin: .4rem 0 0; }
  .language-switch { align-self: flex-start; margin: .5rem 0 0; }
  .hero { grid-template-columns: 1fr; gap: 2.5rem; padding-top: 4rem; }
  .hero-visual { justify-self: center; max-width: 440px; }
  .contact-layout, .service-detail-layout { grid-template-columns: 1fr; }
  .contact-cards, .service-facts { position: static; }
  .card-grid, .service-grid, .use-case-grid, .resource-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .resource-video { grid-column: span 2; }
  .journey-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .section { padding: 4.5rem 1rem; }
  .nav { padding: .65rem 1rem; }
  .brand strong { font-size: .92rem; }
  .brand small { font-size: .75rem; }
  .brand-mark { flex-basis: 40px; width: 40px; height: 40px; }
  .hero { padding: 3rem 1rem 7rem; }
  .hero-actions .button { flex: 1 1 auto; }
  .hero .button.ghost { flex: 0 0 auto; }
  .metric-panel { min-width: 0; padding: .6rem .8rem; }
  .metric-top { right: 0; top: 0; }
  .metric-bottom { left: 0; bottom: 0; }
  .partner-strip { grid-template-columns: 1fr; width: calc(100% - 2rem); margin-top: -4rem; }
  .partner-strip span { min-height: 88px; }
  .partner-strip span + span { border-left: 0; border-top: 1px solid var(--line); }
  .two-column, .card-grid, .service-grid, .use-case-grid, .resource-grid, .contact-form { grid-template-columns: 1fr; }
  .resource-video { grid-column: auto; }
  .resource-video-body { flex-direction: column; align-items: flex-start; }
  .service-card h3 { min-height: 0; }
  .panel, .card, .journey, .use-case-grid article, .resource-card, .contact-cards article { padding: 1.4rem; }
  .resource-video { padding: 0; }
  .contact-form { padding: 1.4rem; }
  .contact-form button { justify-self: stretch; }
  .steps { grid-template-columns: 1fr; gap: 1.1rem; margin-top: 2.5rem; }
  .steps::before { top: 10px; bottom: 10px; left: 23px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, var(--blue), var(--cyan), var(--mint)); }
  .steps li { grid-template-columns: 48px 1fr; justify-items: start; align-items: center; text-align: left; padding: 0; gap: 1rem; }
  .page-hero { padding: 3rem 1rem; }
  .service-detail-layout > div { padding: 1.5rem; }
  .policy-page main.section { margin: 1rem; padding: 1.75rem; }
  .footer-main { flex-direction: column; align-items: flex-start; }
  .funding-logos img { max-width: 170px; }
  .cookie-banner { left: 1rem; right: 1rem; width: auto; }
}

/* Motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
@keyframes flow { to { stroke-dashoffset: -52; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.25); } }
@keyframes ring { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.7); opacity: 0; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes slideUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes slideDown { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
