/* Gentiss prototype: shared styles. The scroll hero keeps its own styles in index.html. */
:root {
  --paper: #f6f8fa;
  --paper-deep: #e9eef3;
  --ink: #062a57;
  --ink-soft: #4b5c76;
  --line: #cdd6e0;
  --accent: #17757c;        /* teal: links on hover, markers, the one action colour next to navy */
  --skin: #e6b9a1;          /* warm counterpoint to navy, used only for evidence marks on dark */
  --on-image: #f8fafc;
  --on-image-soft: #d6dde6;
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5.5rem; scrollbar-color: var(--ink-soft) var(--paper-deep); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Host Grotesk", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--ink); color: var(--paper); }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; border-radius: 2px; }
a { color: inherit; text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-weight: 400; letter-spacing: -0.03em; line-height: 1.04; text-wrap: balance; }
img { max-width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- Logo: mark drawn in SVG, letters as a mask ---------- */
.logo { position: relative; display: block; width: 8.75rem; aspect-ratio: 3888 / 1141; color: inherit; flex: none; }
.logo svg { position: absolute; left: 0; top: 0; width: 13.07%; height: 100%; overflow: visible; }
.logo .logo-type {
  position: absolute; left: 15.43%; top: 0; width: 84.57%; height: 100%; background: currentColor;
  -webkit-mask: url(../img/gentiss-letters.png) center / 100% 100% no-repeat; mask: url(../img/gentiss-letters.png) center / 100% 100% no-repeat;
}
.mark path, .mark circle { fill: none; stroke: currentColor; stroke-width: 20; stroke-linecap: round; stroke-linejoin: round; }
.logo:hover .mark-draw, .logo:focus-visible .mark-draw, .mark.is-drawing .mark-draw { animation: mark-draw 1.1s var(--ease-out) both; }
.logo:hover .mark-draw + .mark-draw, .logo:focus-visible .mark-draw + .mark-draw, .mark.is-drawing .mark-draw + .mark-draw { animation-delay: 0.18s; }
@keyframes mark-draw { from { stroke-dasharray: 1; stroke-dashoffset: 1; } to { stroke-dasharray: 1; stroke-dashoffset: 0; } }

/* ---------- Page loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center;
  background: var(--paper); color: var(--ink);
  transition: clip-path 0.8s var(--ease-out), visibility 0s 0.8s;
  clip-path: inset(0 0 0 0);
}
.loader.is-quiet { opacity: 0; animation: loader-late 0.3s 0.35s forwards; }   /* repeat visits: only show if the page is slow */
@keyframes loader-late { to { opacity: 1; } }
.loader.is-done { clip-path: inset(0 0 100% 0); visibility: hidden; pointer-events: none; }
.loader-logo { position: relative; width: clamp(11rem, 28vw, 17rem); aspect-ratio: 3888 / 1141; }
.loader-logo .mark { position: absolute; left: 0; top: 0; width: 13.07%; height: 100%; overflow: visible; }
.loader-type { position: absolute; left: 15.43%; top: 0; width: 84.57%; height: 100%; }
.loader-type i {
  position: absolute; inset: 0; background: currentColor;
  -webkit-mask: url(../img/gentiss-letters.png) center / 100% 100% no-repeat; mask: url(../img/gentiss-letters.png) center / 100% 100% no-repeat;
  clip-path: inset(-20% var(--r) -20% var(--l));
  opacity: 0; transform: translateY(22%);
  animation: letter-in 0.75s var(--ease-out) forwards paused; animation-delay: calc(var(--i) * 0.07s);
}
.loader.is-type .loader-type i { animation-play-state: running; }
@keyframes letter-in { to { opacity: 1; transform: none; } }
.loader .mark-draw { stroke-dasharray: 1; stroke-dashoffset: 1; }
.loader circle.mark-draw { animation: mark-draw 0.9s var(--ease-out) 0.1s forwards; }
/* The logo is an outline, so loading is shown as the drop being drawn: its line follows real progress. */
.loader path.mark-draw { stroke-dashoffset: calc(1 - var(--p, 0)); transition: stroke-dashoffset 0.7s var(--ease-out); }

/* Small inline loader: a dash running around the drop */
.g-loader { display: inline-flex; width: 1.1em; }
.g-loader svg { width: 100%; height: auto; overflow: visible; }
.g-loader path { fill: none; stroke: currentColor; stroke-width: 60; stroke-linecap: round; }
.g-loader path:first-child { opacity: 0.25; }
.g-loader path:last-child { stroke-dasharray: 0.3 0.7; animation: mark-trace 1.2s linear infinite; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.25rem var(--gutter);
  color: var(--ink); background: var(--paper);
  transition: color 0.4s var(--ease-out), background-color 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.site-header.is-stuck { box-shadow: 0 1px 0 var(--line); }
.site-nav { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.25rem); font-size: 0.9375rem; }
.site-nav a { text-decoration: none; position: relative; }
.site-nav a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -0.3rem; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform 0.45s var(--ease-out);
}
.site-nav a:not(.nav-cta):hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav .nav-cta { border: 1px solid currentColor; padding: 0.5rem 1.05rem; border-radius: 999px; transition: background-color 0.3s var(--ease-out), color 0.3s var(--ease-out), border-color 0.3s var(--ease-out); }
.site-nav .nav-cta:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.nav-toggle { display: none; }

@media (max-width: 820px) {
  .nav-toggle {
    display: inline-flex; align-items: center; gap: 0.6rem; position: relative; z-index: 31;
    border: 1px solid currentColor; border-radius: 999px; background: none; color: inherit;
    font: inherit; font-size: 0.9375rem; padding: 0.5rem 1.05rem; min-height: 2.75rem; cursor: pointer;
  }
  .nav-toggle i { position: relative; width: 0.9rem; height: 1px; background: currentColor; transition: background-color 0.2s; }
  .nav-toggle i::before, .nav-toggle i::after { content: ""; position: absolute; left: 0; width: 100%; height: 1px; background: currentColor; transition: transform 0.4s var(--ease-out); }
  .nav-toggle i::before { transform: translateY(-4px); }
  .nav-toggle i::after { transform: translateY(4px); }
  .nav-open .nav-toggle i { background: transparent; }
  .nav-open .nav-toggle i::before { transform: rotate(45deg); }
  .nav-open .nav-toggle i::after { transform: rotate(-45deg); }
  .site-nav {
    position: fixed; inset: 0; z-index: 30; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 0.35rem;
    padding: 6rem var(--gutter) 2.5rem; background: var(--ink); color: var(--on-image);
    font-size: clamp(2rem, 9vw, 2.75rem); letter-spacing: -0.03em; line-height: 1.15;
    clip-path: inset(0 0 100% 0); visibility: hidden;
    transition: clip-path 0.6s var(--ease-out), visibility 0s 0.6s;
  }
  .nav-open .site-nav { clip-path: inset(0); visibility: visible; transition: clip-path 0.6s var(--ease-out); }
  .site-nav a:not(.nav-cta)::after { display: none; }
  .site-nav .nav-cta { margin-top: 1.5rem; font-size: 1.0625rem; letter-spacing: 0; padding: 0.85rem 1.5rem; }
  .site-nav .nav-cta:hover { background: var(--on-image); color: var(--ink); border-color: var(--on-image); }
  .nav-open .site-header, .nav-open .site-header.on-paper { color: var(--on-image); background: transparent; box-shadow: none; }
  .nav-open .logo { position: relative; z-index: 31; }
  .nav-open body { overflow: hidden; }
}

/* ---------- Bands and common blocks ---------- */
.band { padding: clamp(4.5rem, 10vw, 9rem) var(--gutter); }
.band + .band { border-top: 1px solid var(--line); }
.band h2 { font-size: clamp(2.125rem, 4.4vw, 4rem); max-width: 16ch; }
.band p { max-width: 46ch; color: var(--ink-soft); }
.band-deep { background: var(--paper-deep); }
.band-ink { background: var(--ink); color: var(--on-image); border-top: 0 !important; }
.band-ink p { color: var(--on-image-soft); }
.band-ink + .band { border-top: 0; }
.split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 2.5rem clamp(2rem, 6vw, 6rem); align-items: end; }
.split-top { align-items: start; }
.split > div > h2 + p { margin-top: 1.5rem; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.section-head { display: grid; gap: 1.5rem; margin-bottom: clamp(3rem, 6vw, 5rem); }

.prose { display: grid; gap: 1.1rem; }
.prose .lead, .lead { font-size: clamp(1.25rem, 1.9vw, 1.625rem); line-height: 1.3; letter-spacing: -0.015em; color: var(--ink); max-width: 28ch; }
.band-ink .lead { color: var(--on-image); }
.text-link { justify-self: start; display: inline-flex; align-items: center; gap: 0.6rem; margin-top: 0.5rem; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 0.15rem; transition: color 0.3s var(--ease-out), gap 0.4s var(--ease-out); }
.text-link::after { content: ""; width: 0.45rem; height: 0.45rem; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.text-link:hover { color: var(--accent); gap: 0.95rem; }
.band-ink .text-link:hover { color: var(--skin); }

.button {
  display: inline-flex; align-items: center; gap: 0.7rem; margin-top: 0.75rem; padding: 0.95rem 1.6rem; border: 0; border-radius: 999px;
  background: var(--ink); color: var(--paper); text-decoration: none; font: inherit; font-weight: 500; cursor: pointer;
  transition: background-color 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.button:hover { background: var(--accent); }
.button:active { transform: translateY(1px); }
.button[disabled] { opacity: 0.7; cursor: progress; }
.band-ink .button { background: var(--on-image); color: var(--ink); }
.band-ink .button:hover { background: var(--skin); }

/* Figures reveal with a wipe, once */
.js [data-reveal] { clip-path: inset(0 0 96% 0); opacity: 0; transition: clip-path 1.2s var(--ease-out), opacity 0.3s linear; }
.js [data-reveal] img { transform: scale(1.08); transition: transform 1.6s var(--ease-out); }
.js [data-reveal].is-in { clip-path: inset(0); opacity: 1; }
.js [data-reveal].is-in img { transform: none; }
/* Hairlines draw in */
.js [data-rule] { position: relative; border-top-color: transparent !important; }
.js [data-rule]::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--line); transform: scaleX(0); transform-origin: left; transition: transform 1.1s var(--ease-out); }
.js [data-rule].is-in::before { transform: scaleX(1); }
.band-ink [data-rule]::before { background: rgba(248, 250, 252, 0.28); }

/* ---------- Page hero (subpages) ---------- */
.page-hero { padding: clamp(3rem, 7vw, 6rem) var(--gutter) clamp(3rem, 6vw, 5rem); }
.crumbs { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 0 0 clamp(2rem, 4vw, 3rem); padding: 0; list-style: none; font-size: 0.9375rem; color: var(--ink-soft); }
.crumbs li + li::before { content: "/"; margin-right: 0.6rem; opacity: 0.5; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; color: var(--ink); }
.page-hero h1 { font-size: clamp(2.75rem, 7vw, 6rem); max-width: 14ch; }
.page-hero .split { margin-top: 0; }
.page-hero .lead { max-width: 30ch; }
.page-hero .prose p:not(.lead) { color: var(--ink-soft); max-width: 44ch; }
.page-figure { margin: clamp(2.5rem, 6vw, 5rem) 0 0; overflow: hidden; background: var(--paper-deep); }
.page-figure img { display: block; width: 100%; height: auto; aspect-ratio: 21 / 9; object-fit: cover; }
.page-figure.is-illustration { background: #fff; }
.page-figure.is-illustration img { aspect-ratio: auto; max-height: 34rem; object-fit: contain; }
.caption { margin-top: 0.7rem; font-size: 0.875rem; color: var(--ink-soft); }
@media (max-width: 640px) { .page-figure img { aspect-ratio: 4 / 3; } }

/* Rotating word (models page) */
.swap { display: inline-grid; vertical-align: bottom; color: var(--accent); }
.swap span { grid-area: 1 / 1; opacity: 0; transform: translateY(0.35em); transition: opacity 0.5s var(--ease-out), transform 0.7s var(--ease-out); white-space: nowrap; }
.swap span.is-on { opacity: 1; transform: none; }
.swap span.is-off { opacity: 0; transform: translateY(-0.35em); transition-duration: 0.22s, 0.5s; }
.swap span.is-on { transition-delay: 0.18s; }

/* ---------- Lists that read like a ledger ---------- */
.ledger { margin: 0; border-top: 1px solid var(--line); }
.ledger > div {
  display: grid; grid-template-columns: minmax(8.5rem, 0.7fr) minmax(0, 1.3fr); gap: 0.35rem 2rem;
  padding: 1.35rem 0; border-bottom: 1px solid var(--line);
}
.ledger dt { font-weight: 500; }
.ledger.is-large dt { font-size: 1.3125rem; font-weight: 400; letter-spacing: -0.015em; line-height: 1.25; }
.ledger dd { margin: 0; color: var(--ink-soft); }
.band-ink .ledger, .band-ink .ledger > div { border-color: rgba(248, 250, 252, 0.22); }
.band-ink .ledger dd { color: var(--on-image-soft); }
@media (max-width: 520px) { .ledger > div { grid-template-columns: 1fr; } }

.facts { list-style: none; margin: 0.75rem 0 0; padding: 0; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 0.9688rem; }
.facts li { padding: 0.6rem 0; border-bottom: 1px solid var(--line); }
.facts.is-large { font-size: clamp(1.1875rem, 1.7vw, 1.4375rem); letter-spacing: -0.015em; color: var(--ink); }
.facts.is-large li { padding: 1rem 0; }

.fields { list-style: none; margin: 1.5rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 2.25rem; color: var(--ink); }
.fields li { display: flex; align-items: center; gap: 0.6rem; }
.fields li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); flex: none; }
.band-ink .fields { color: var(--on-image); }
.band-ink .fields li::before { background: var(--skin); }

.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tags li { border: 1px solid var(--line); border-radius: 999px; padding: 0.4rem 0.95rem; font-size: 0.9688rem; background: var(--paper); transition: border-color 0.3s var(--ease-out), background-color 0.3s var(--ease-out), color 0.3s var(--ease-out); }
.tags li:hover { border-color: var(--ink); }
.band-deep .tags li { background: transparent; border-color: #b9c5d2; }

/* Fact strip: real numbers, one line */
.strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: 0; margin: 0; border-top: 1px solid var(--line); }
.strip > div { padding: 1.5rem 1.5rem 1.6rem 0; border-bottom: 1px solid var(--line); }
.strip dt { font-size: clamp(2rem, 3.6vw, 3.25rem); letter-spacing: -0.035em; line-height: 1; font-variant-numeric: tabular-nums; }
.strip dd { margin: 0.6rem 0 0; color: var(--ink-soft); font-size: 0.9688rem; max-width: 22ch; }
.band-ink .strip, .band-ink .strip > div { border-color: rgba(248, 250, 252, 0.22); }
.band-ink .strip dd { color: var(--on-image-soft); }

/* ---------- Platforms ---------- */
.platforms { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem clamp(1.5rem, 4vw, 4rem); }
.platforms > li { display: grid; align-content: start; gap: 0.6rem; }
.platform-figure { margin: 0 0 1.5rem; background: #fff; overflow: hidden; }
.platform-figure img { display: block; width: 100%; height: auto; transition: transform 0.9s var(--ease-out); }
.platforms > li:hover .platform-figure img { transform: scale(1.035); }
.platforms h3 { font-size: clamp(1.375rem, 2vw, 1.75rem); font-weight: 400; letter-spacing: -0.02em; line-height: 1.15; margin: 0; }
.platforms h3 a { text-decoration: none; }
.platforms h3 a:hover { text-decoration: underline; color: var(--accent); }
.platforms .tagline { color: var(--ink); }
@media (max-width: 860px) { .platforms { grid-template-columns: 1fr; } .platform-figure { max-width: 30rem; } }

/* Platform rows (models page) */
.rows { list-style: none; margin: 0; padding: 0; }
.rows > li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem clamp(2rem, 6vw, 6rem); align-items: center; padding: clamp(2.5rem, 5vw, 4.5rem) 0; border-top: 1px solid var(--line); }
.rows > li:nth-child(even) .rows-figure { order: 2; }
.rows-figure { margin: 0; background: #fff; overflow: hidden; }
.rows-figure img { display: block; width: 100%; height: auto; }
.rows h2, .rows h3 { font-size: clamp(1.875rem, 3.4vw, 3rem); max-width: none; line-height: 1.06; }
.rows h2 a, .rows h3 a { text-decoration: none; transition: color 0.3s var(--ease-out); }
.rows h2 a:hover, .rows h3 a:hover { color: var(--accent); }
.rows .tagline { margin-top: 0.75rem; font-size: 1.1875rem; color: var(--ink); }
.rows .facts { margin-top: 1.5rem; }
.rows .text-link { margin-top: 1.5rem; }
@media (max-width: 860px) { .rows > li { grid-template-columns: 1fr; } .rows > li:nth-child(even) .rows-figure { order: 0; } }

/* Comparison table */
.table-wrap { overflow-x: auto; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); }
.compare { width: 100%; min-width: 40rem; border-collapse: collapse; font-size: 0.9688rem; }
.compare caption { text-align: left; padding-bottom: 1rem; color: var(--ink-soft); font-size: 0.875rem; caption-side: bottom; padding-top: 1rem; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 1rem 1.5rem 1rem 0; border-bottom: 1px solid var(--line); font-weight: 400; }
.compare thead th { font-weight: 500; border-bottom-color: var(--ink); padding-bottom: 0.9rem; }
.compare tbody th { color: var(--ink-soft); width: 22%; }
.compare .yes::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-right: 0.6rem; vertical-align: middle; }
.compare .no { color: var(--ink-soft); }
.compare tbody tr { transition: background-color 0.25s var(--ease-out); }
.compare tbody tr:hover { background: rgba(6, 42, 87, 0.035); }
.band-deep .compare th, .band-deep .compare td { border-bottom-color: #c3ceda; }
.band-deep .compare thead th { border-bottom-color: var(--ink); }

/* Next-gen list */
.nextgen-head { display: grid; gap: clamp(2rem, 4vw, 3.5rem); }
.nextgen-head figure { margin: 0; max-width: 26rem; }
.nextgen-head img { display: block; width: 100%; height: auto; }
.nextgen-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.nextgen-list > li { display: grid; gap: 0.5rem; padding: 1.75rem 0 1.9rem; border-bottom: 1px solid var(--line); }
.nextgen-list h3 { margin: 0; font-size: 1rem; font-weight: 500; }
.nextgen-list h3 a { text-decoration: none; }
.nextgen-list h3 a:hover { text-decoration: underline; color: var(--accent); }
.nextgen-list .tagline { font-size: clamp(1.5rem, 2.5vw, 2.125rem); letter-spacing: -0.02em; line-height: 1.15; color: var(--ink); max-width: 20ch; }

/* Advanced model index */
.model-index { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.2rem 1.1rem; font-size: clamp(1.625rem, 3vw, 2.625rem); letter-spacing: -0.025em; line-height: 1.25; }
.model-index li:not(:last-child)::after { content: "/"; margin-left: 1.1rem; opacity: 0.35; }
.model-index a { text-decoration: none; transition: opacity 0.3s var(--ease-out), color 0.3s var(--ease-out); }
.model-index:hover a { opacity: 0.45; }
.model-index a:hover, .model-index a:focus-visible { opacity: 1; color: var(--skin); }

/* Claims */
.claim-pair { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: 2.5rem clamp(2rem, 6vw, 6rem); margin-top: clamp(2.5rem, 6vw, 4.5rem); align-items: start; }
.claim { margin: 0; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.claim figcaption { font-size: 0.9375rem; color: var(--ink-soft); }
.claim blockquote { margin: 1rem 0 0; letter-spacing: -0.025em; line-height: 1.12; }
.claim-old blockquote { font-size: clamp(1.5rem, 2.6vw, 2.25rem); color: var(--ink-soft); }
.claim-old blockquote span { background: linear-gradient(currentColor, currentColor) 0 58% / 100% 1px no-repeat; }
.js .claim-old blockquote span { background-size: 0 1px; transition: background-size 0.9s var(--ease-out) 0.5s; }
.js .claim-pair.is-in .claim-old blockquote span { background-size: 100% 1px; }
.claim-new { border-top-color: var(--ink); }
.claim-new blockquote { font-size: clamp(1.875rem, 4vw, 3.5rem); max-width: 18ch; }
.js .claim-new { opacity: 0.25; transition: opacity 1s var(--ease-out) 1.1s; }
.js .claim-pair.is-in .claim-new { opacity: 1; }
.claims-note { margin-top: clamp(2rem, 4vw, 3rem); }
@media (max-width: 720px) { .claim-pair { grid-template-columns: 1fr; } }

/* Pipeline (services) */
.pipeline { list-style: none; margin: clamp(2.5rem, 5vw, 4rem) 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); position: relative; }
.pipeline::before { content: ""; position: absolute; left: 0; right: 0; top: 4px; height: 1px; background: var(--line); }
.pipeline::after { content: ""; position: absolute; left: 0; right: 0; top: 4px; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform 2.2s var(--ease-out) 0.2s; }
.pipeline.is-in::after { transform: scaleX(1); }
.pipeline li { position: relative; padding: 1.75rem 1rem 0 0; font-size: clamp(1.125rem, 1.8vw, 1.5rem); letter-spacing: -0.02em; }
.pipeline li::before { content: ""; position: absolute; left: 0; top: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--paper); border: 1.5px solid var(--ink); z-index: 1; transition: background-color 0.4s var(--ease-out); transition-delay: calc(var(--i) * 0.4s + 0.3s); }
.pipeline.is-in li::before { background: var(--ink); }
.pipeline small { display: block; margin-top: 0.4rem; font-size: 0.9375rem; letter-spacing: 0; color: var(--ink-soft); max-width: 18ch; }
@media (max-width: 760px) {
  .pipeline { grid-template-columns: 1fr; gap: 1.4rem; }
  .pipeline::before, .pipeline::after { left: 4px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; transform-origin: top; }
  .pipeline::after { transform: scaleY(0); }
  .pipeline.is-in::after { transform: scaleY(1); }
  .pipeline li { padding: 0 0 0 1.75rem; }
  .pipeline li::before { top: 0.5em; }
}

/* Tabs */
.tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 clamp(2rem, 4vw, 3rem); }
.tabs button {
  border: 1px solid var(--line); border-radius: 999px; background: none; color: var(--ink); font: inherit; padding: 0.6rem 1.2rem; min-height: 2.75rem; cursor: pointer;
  transition: background-color 0.3s var(--ease-out), color 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}
.tabs button:hover { border-color: var(--ink); }
.tabs button[aria-selected="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.tab-panel[hidden] { display: none; }
.tab-panel { animation: panel-in 0.6s var(--ease-out); }
@keyframes panel-in { from { opacity: 0; transform: translateY(10px); } }
.tab-panel h3 { font-size: clamp(1.5rem, 2.5vw, 2.125rem); font-weight: 400; letter-spacing: -0.02em; line-height: 1.15; max-width: 22ch; }
.tab-panel .split { align-items: start; }
.tab-panel p { margin-top: 1rem; }
.standards { display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; margin: 1.5rem 0 0; padding: 0; list-style: none; font-variant-numeric: tabular-nums; }
.standards li { font-weight: 500; }
.standards li span { display: block; font-weight: 400; font-size: 0.875rem; color: var(--ink-soft); }

/* Layer strip (technology) */
.layers { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem clamp(1rem, 2vw, 2rem); }
.layers figure { margin: 0 0 1rem; overflow: hidden; }
.layers img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.layers li:hover img { transform: scale(1.06); }
.layers h3 { font-size: 1.1875rem; font-weight: 500; }
.layers p { font-size: 0.9688rem; margin-top: 0.3rem; }
@media (max-width: 860px) { .layers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Timeline (about) */
.timeline { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.timeline li { display: grid; grid-template-columns: minmax(6rem, 0.35fr) minmax(0, 1fr); gap: 0.5rem 2rem; padding: 1.75rem 0; border-bottom: 1px solid var(--line); }
.timeline b { font-weight: 400; font-size: clamp(1.5rem, 2.5vw, 2.125rem); letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.timeline p { color: var(--ink-soft); }
.statement { font-size: clamp(2.5rem, 7vw, 6.5rem); letter-spacing: -0.04em; line-height: 0.98; max-width: 12ch; text-wrap: balance; }

/* ---------- Model detail ---------- */
.ideal { display: inline-flex; align-items: center; gap: 0.6rem; margin-top: 1.5rem; color: var(--ink); font-weight: 500; }
.ideal::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.model-nav { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.model-nav a { text-decoration: none; display: grid; gap: 0.25rem; }
.model-nav small { color: var(--ink-soft); font-size: 0.875rem; }
.model-nav span { font-size: clamp(1.375rem, 2.4vw, 2rem); letter-spacing: -0.02em; transition: color 0.3s var(--ease-out); }
.model-nav a:hover span { color: var(--accent); }
.model-nav a:last-child { text-align: right; margin-left: auto; }
.pending { border: 1px dashed #9fb0c2; padding: 1.25rem 1.5rem; color: var(--ink-soft); max-width: 46rem; }
.pending b { color: var(--ink); font-weight: 500; }
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--ink); }
.duo > div { padding: 1.5rem 2rem 1.75rem 0; }
.duo > div + div { padding-left: 2rem; border-left: 1px solid var(--line); }
.duo h3 { font-size: clamp(1.5rem, 2.5vw, 2.125rem); font-weight: 400; letter-spacing: -0.02em; }
.duo ul { list-style: none; margin: 1rem 0 0; padding: 0; color: var(--ink-soft); display: grid; gap: 0.4rem; }
@media (max-width: 560px) { .duo { grid-template-columns: 1fr; } .duo > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); } }

/* ---------- Contact ---------- */
.form { display: grid; gap: 1.5rem; max-width: 38rem; }
.field { display: grid; gap: 0.45rem; }
.field label, .field legend { font-weight: 500; font-size: 0.9688rem; padding: 0; }
.field .hint { font-size: 0.875rem; color: var(--ink-soft); }
.field input, .field textarea {
  font: inherit; color: var(--ink); background: #fff; border: 1px solid #9fb0c2; border-radius: 4px; padding: 0.85rem 1rem; width: 100%;
  caret-color: var(--accent); transition: border-color 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}
.field textarea { min-height: 8.5rem; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #66758c; }
.field input:hover, .field textarea:hover { border-color: var(--ink); }
.field input:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(23, 117, 124, 0.28); }
.field.has-error input, .field.has-error textarea { border-color: #a12a2a; }
.field .error { color: #a12a2a; font-size: 0.875rem; min-height: 1.2em; }
.field .error:empty { display: none; }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.3rem; }
.choices label { position: relative; font-weight: 400; cursor: pointer; }
.choices input { position: absolute; opacity: 0; width: 100%; height: 100%; inset: 0; margin: 0; cursor: pointer; }
.choices span { display: inline-block; border: 1px solid #9fb0c2; border-radius: 999px; padding: 0.5rem 1rem; background: #fff; transition: background-color 0.25s var(--ease-out), color 0.25s var(--ease-out), border-color 0.25s var(--ease-out); }
.choices label:hover span { border-color: var(--ink); }
.choices input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.choices input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 3px; }
.form-done { display: grid; gap: 1.25rem; justify-items: start; max-width: 34rem; }
.form-done .mark { width: 3.25rem; height: auto; overflow: visible; color: var(--ink); }
.form-done h2 { font-size: clamp(2rem, 4vw, 3.25rem); }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; border-top: 1px solid var(--line); }
.steps li { counter-increment: step; display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); gap: 0.25rem 1rem; padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(step); font-variant-numeric: tabular-nums; color: var(--accent); font-weight: 500; }
.steps h2 { font-size: 1.1875rem; font-weight: 500; letter-spacing: 0; line-height: 1.4; }
.steps p { grid-column: 2; color: var(--ink-soft); }

/* ---------- Closing call and footer ---------- */
.closing { background: var(--paper-deep); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem clamp(2rem, 6vw, 6rem); align-items: end; }
.closing h2 { font-size: clamp(2.5rem, 6vw, 5.25rem); max-width: 12ch; }
.closing p { margin-top: 1.5rem; }
.closing .mark { width: clamp(5rem, 11vw, 9rem); height: auto; overflow: visible; color: var(--ink); opacity: 0.9; }
.closing .mark path, .closing .mark circle { stroke-width: 9; }
.js .closing .mark .mark-draw { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .closing .mark.is-in .mark-draw { animation: mark-draw 2s var(--ease-out) forwards; }
.js .closing .mark.is-in .mark-draw + .mark-draw { animation-delay: 0.45s; }
@media (max-width: 720px) { .closing { grid-template-columns: 1fr; } .closing .mark { justify-self: end; order: -1; } }

.site-footer { background: var(--ink); color: var(--on-image-soft); padding: clamp(3.5rem, 7vw, 6rem) var(--gutter) 2.5rem; font-size: 0.9688rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 2.5rem 2rem; }
.site-footer .logo { color: var(--on-image); width: 9.5rem; }
.footer-line { margin-top: 1.25rem; max-width: 26ch; color: var(--on-image-soft); }
.site-footer h2 { font-size: 0.9375rem; font-weight: 500; letter-spacing: 0; color: var(--on-image); margin-bottom: 0.9rem; line-height: 1.4; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.site-footer a { text-decoration: none; transition: color 0.25s var(--ease-out); }
.site-footer a:hover { color: var(--on-image); text-decoration: underline; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; margin-top: clamp(3rem, 6vw, 5rem); padding-top: 1.5rem; border-top: 1px solid rgba(248, 250, 252, 0.2); font-size: 0.875rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-grid > div:first-child { grid-column: 1 / -1; } }

@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; transition-delay: 0s !important; }
  .loader .mark-trace { display: none; }
}

/* ---------- Layer explorer: an image with points you can step through ---------- */
.anatomy { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 2rem clamp(2rem, 5vw, 5rem); align-items: center; margin-top: clamp(2.5rem, 6vw, 5rem); }
.anatomy-figure { position: relative; margin: 0; background: #fff; }
.anatomy-figure img { display: block; width: 100%; height: auto; }
.anatomy-dot {
  position: absolute; left: calc(var(--x) * 100%); top: calc(var(--y) * 100%); width: 2.75rem; height: 2.75rem; margin: -1.375rem 0 0 -1.375rem;
  border: 0; padding: 0; background: none; cursor: pointer; border-radius: 50%; display: grid; place-items: center;
}
.anatomy-dot::before {
  content: ""; width: 0.8rem; height: 0.8rem; border-radius: 50%; background: var(--paper); border: 1.5px solid var(--ink);
  box-shadow: 0 0 0 0 rgba(23, 117, 124, 0.35); transition: transform 0.4s var(--ease-out), background-color 0.3s var(--ease-out), border-color 0.3s var(--ease-out), box-shadow 0.5s var(--ease-out);
}
.anatomy-dot:hover::before { transform: scale(1.25); }
.anatomy-dot[aria-pressed="true"]::before { background: var(--accent); border-color: var(--accent); transform: scale(1.3); box-shadow: 0 0 0 0.6rem rgba(23, 117, 124, 0.16); }
.anatomy-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); counter-reset: layer; }
.anatomy-list li { border-bottom: 1px solid var(--line); }
.anatomy-list button {
  counter-increment: layer; display: grid; grid-template-columns: 2rem minmax(0, 1fr); gap: 0 0.5rem; width: 100%; text-align: left;
  padding: 1rem 0; border: 0; background: none; color: var(--ink); font: inherit; cursor: pointer;
}
.anatomy-list button::before { content: counter(layer); color: var(--ink-soft); font-variant-numeric: tabular-nums; font-size: 0.9375rem; padding-top: 0.2rem; transition: color 0.3s var(--ease-out); }
.anatomy-list b { font-weight: 400; font-size: clamp(1.1875rem, 1.7vw, 1.4375rem); letter-spacing: -0.015em; transition: color 0.3s var(--ease-out); }
.anatomy-list span { grid-column: 2; color: var(--ink-soft); display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.5s var(--ease-out), margin 0.5s var(--ease-out); }
.anatomy-list span > i { font-style: normal; overflow: hidden; }
.anatomy-list button[aria-pressed="true"] span { grid-template-rows: 1fr; margin-top: 0.35rem; }
.anatomy-list button[aria-pressed="true"]::before, .anatomy-list button:hover::before { color: var(--accent); }
.anatomy-list button[aria-pressed="true"] b, .anatomy-list button:hover b { color: var(--accent); }
.anatomy-hint { margin-top: 0.9rem; font-size: 0.875rem; color: var(--ink-soft); }
@media (max-width: 860px) { .anatomy { grid-template-columns: 1fr; } }

/* ---------- Next-gen switcher: the image follows the model you hover or scroll to ---------- */
.ng { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 2.5rem clamp(2rem, 6vw, 6rem); align-items: start; }
.ng-stage { position: sticky; top: 6.5rem; margin: 0; aspect-ratio: 4 / 3; background: #fff; overflow: hidden; }
.ng-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transform: scale(1.04); transition: opacity 0.7s var(--ease-out), transform 1.4s var(--ease-out); }
.ng-stage img.is-on { opacity: 1; transform: none; }
.ng-list > li { position: relative; cursor: default; }
.ng-list > li::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform 0.7s var(--ease-out); }
.ng-list > li.is-active::before { transform: scaleX(1); }
.ng-list > li h3 a { transition: color 0.3s var(--ease-out); }
.ng-list > li.is-active h3 a { color: var(--accent); }
.ng-inline { display: none; }
@media (max-width: 860px) {
  .ng { grid-template-columns: 1fr; }
  .ng-stage { display: none; }
  .ng-inline { display: block; width: 100%; height: auto; background: #fff; margin-bottom: 1.25rem; }
}

/* ---------- Footer: newsletter and funding ---------- */
.footer-news { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 1.5rem clamp(2rem, 6vw, 6rem); align-items: end; padding-bottom: clamp(3rem, 6vw, 4.5rem); margin-bottom: clamp(3rem, 6vw, 4.5rem); border-bottom: 1px solid rgba(248, 250, 252, 0.2); }
.site-footer .footer-news h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); font-weight: 400; letter-spacing: -0.025em; line-height: 1.1; margin-bottom: 0.9rem; }
.footer-news p { max-width: 40ch; }
.news-row { display: flex; gap: 0.5rem; }
.news-row input {
  flex: 1; min-width: 0; font: inherit; color: var(--on-image); background: rgba(248, 250, 252, 0.06); border: 1px solid rgba(248, 250, 252, 0.4);
  border-radius: 999px; padding: 0.8rem 1.25rem; caret-color: var(--on-image); transition: border-color 0.25s var(--ease-out), background-color 0.25s var(--ease-out);
}
.news-row input::placeholder { color: rgba(248, 250, 252, 0.6); }
.news-row input:hover { border-color: var(--on-image); }
.news-row input:focus-visible { outline: none; border-color: var(--on-image); background: rgba(248, 250, 252, 0.1); box-shadow: 0 0 0 3px rgba(248, 250, 252, 0.25); }
.news-row input[aria-invalid="true"] { border-color: #f0a3a3; }
.news-row .button { margin: 0; background: var(--on-image); color: var(--ink); white-space: nowrap; }
.news-row .button:hover { background: var(--paper-deep); }
.news-row .button:disabled { opacity: 0.8; cursor: progress; }
.news-error { color: #f6b8b8; font-size: 0.875rem; margin-top: 0.6rem; }
.news-error:empty { display: none; }
.news-note { font-size: 0.875rem; margin-top: 0.75rem; }
.news-done { display: flex; gap: 1rem; align-items: center; outline: none; }
.news-done .mark { width: 1.6rem; height: auto; flex: none; overflow: visible; color: var(--on-image); }
.news-done b { color: var(--on-image); font-weight: 500; }
.footer-funding { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-top: clamp(3rem, 6vw, 4.5rem); }
.footer-funding p { font-size: 0.875rem; }
.footer-funding ul { display: flex; flex-wrap: wrap; gap: 0.75rem; list-style: none; margin: 0; padding: 0; }
.footer-funding li { background: #fff; border-radius: 4px; padding: 0.55rem 0.9rem; display: grid; place-items: center; }
.footer-funding img { display: block; height: 2.1rem; width: auto; }
.footer-base a { text-decoration: underline; text-underline-offset: 0.2em; }
@media (max-width: 760px) { .footer-news { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .news-row { flex-direction: column; } .news-row .button { justify-content: center; } }

/* ---------- Service pages ---------- */
.readouts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(2rem, 5vw, 4rem); margin: 0; border-top: 1px solid var(--line); }
.readouts > div { padding: 1.15rem 0; border-bottom: 1px solid var(--line); display: grid; gap: 0.3rem; }
.readouts dt { font-size: clamp(1.125rem, 1.6vw, 1.3125rem); letter-spacing: -0.015em; }
.readouts dd { margin: 0; color: var(--ink-soft); }
@media (max-width: 720px) { .readouts { grid-template-columns: 1fr; } }
.case { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 2rem clamp(2rem, 6vw, 6rem); align-items: start; }
.case-steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(248, 250, 252, 0.22); }
.case-steps li { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 0.25rem 1.5rem; padding: 1.25rem 0; border-bottom: 1px solid rgba(248, 250, 252, 0.22); }
.case-steps b { font-weight: 500; color: var(--skin); }
@media (max-width: 760px) { .case { grid-template-columns: 1fr; } .case-steps li { grid-template-columns: 1fr; } }
.spec { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: 0 clamp(1.5rem, 4vw, 3rem); border-top: 1px solid var(--line); }
.spec > div { padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.spec dt { font-size: 0.9375rem; color: var(--ink-soft); }
.spec dd { margin: 0.35rem 0 0; font-size: clamp(1.125rem, 1.6vw, 1.375rem); letter-spacing: -0.015em; font-variant-numeric: tabular-nums; }
.service-next { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(1.5rem, 4vw, 3rem); list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.service-next a { display: grid; gap: 0.4rem; padding: 1.4rem 0; text-decoration: none; border-bottom: 1px solid var(--line); }
.service-next a span { font-size: clamp(1.375rem, 2.3vw, 1.875rem); letter-spacing: -0.02em; transition: color 0.3s var(--ease-out); }
.service-next a small { color: var(--ink-soft); font-size: 0.9375rem; }
.service-next a:hover span, .service-next a[aria-current="page"] span { color: var(--accent); }
@media (max-width: 760px) { .service-next { grid-template-columns: 1fr; } }

/* ---------- Insights: index and article ---------- */
.insight-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.insight-list > li { border-bottom: 1px solid var(--line); }
.insight-list a { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) minmax(9rem, 0.6fr); gap: 1.25rem clamp(1.5rem, 4vw, 3.5rem); align-items: center; padding: clamp(1.5rem, 3vw, 2.25rem) 0; text-decoration: none; }
.insight-list figure { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: #fff; }
.insight-list img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.insight-list a:hover img { transform: scale(1.04); }
.insight-list h2 { font-size: clamp(1.5rem, 2.8vw, 2.375rem); line-height: 1.1; transition: color 0.3s var(--ease-out); }
.insight-list a:hover h2 { color: var(--accent); }
.insight-list p { margin-top: 0.8rem; color: var(--ink-soft); max-width: 52ch; }
.insight-meta { display: grid; gap: 0.25rem; font-size: 0.9375rem; color: var(--ink-soft); justify-self: end; text-align: right; }
.insight-meta b { color: var(--ink); font-weight: 500; }
@media (max-width: 820px) {
  .insight-list a { grid-template-columns: 1fr; }
  .insight-meta { justify-self: start; text-align: left; grid-auto-flow: column; gap: 1rem; }
}
.placeholder-note { display: inline-block; font-size: 0.875rem; border: 1px dashed var(--ink-soft); color: var(--ink-soft); border-radius: 999px; padding: 0.3rem 0.85rem; margin-top: 1.5rem; }
.article-head { max-width: 52rem; }
.article-head h1 { font-size: clamp(2.5rem, 6vw, 4.75rem); max-width: 18ch; }
.article-head .lead { margin-top: 1.75rem; max-width: 46ch; }
.article-meta { display: flex; flex-wrap: wrap; gap: 0.4rem 1.75rem; margin-top: 2rem; font-size: 0.9375rem; color: var(--ink-soft); }
.article-meta b { color: var(--ink); font-weight: 500; }
.article-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 42rem) minmax(0, 1fr); padding: 0 var(--gutter) clamp(4rem, 8vw, 7rem); }
.article-body > * { grid-column: 2; }
.article-body > figure { grid-column: 1 / -1; margin: 0 0 clamp(3rem, 6vw, 5rem); }
.article-body > figure img { display: block; width: 100%; height: auto; max-height: 70vh; object-fit: cover; }
.article-body h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 2.75rem 0 1rem; line-height: 1.15; }
.article-body p, .article-body li { font-size: 1.0625rem; line-height: 1.7; }
.article-body p + p { margin-top: 1.1rem; }
.article-body ul { padding-left: 1.2rem; margin: 1.1rem 0; display: grid; gap: 0.5rem; }
.article-body ul li::marker { color: var(--accent); }
.article-body blockquote { margin: 2.5rem 0; padding: 0; font-size: clamp(1.5rem, 2.6vw, 2.125rem); letter-spacing: -0.02em; line-height: 1.2; color: var(--ink); }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.share p { margin-right: 0.5rem; font-size: 0.9375rem; color: var(--ink-soft); }
.share a, .share button { font: inherit; font-size: 0.9375rem; color: var(--ink); background: #fff; border: 1px solid #9fb0c2; border-radius: 999px; padding: 0.5rem 1rem; text-decoration: none; cursor: pointer; transition: border-color 0.25s var(--ease-out), background-color 0.25s var(--ease-out), color 0.25s var(--ease-out); }
.share a:hover, .share button:hover { border-color: var(--ink); }
.share button.is-copied { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.field[hidden] { display: none; }

/* ---------- Publications ---------- */
.pubs { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.pubs li { border-bottom: 1px solid var(--line); }
.pubs a { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr) auto; gap: 0.3rem 1.5rem; padding: 1.25rem 0; text-decoration: none; align-items: baseline; }
.pubs b { font-weight: 500; color: var(--accent); font-variant-numeric: tabular-nums; }
.pubs span { font-size: clamp(1.0625rem, 1.5vw, 1.25rem); letter-spacing: -0.01em; transition: color 0.3s var(--ease-out); }
.pubs small { grid-column: 2; color: var(--ink-soft); font-size: 0.9375rem; }
.pubs i { font-style: normal; font-size: 0.875rem; color: var(--ink-soft); grid-row: 1; grid-column: 3; }
.pubs a:hover span { color: var(--accent); }
@media (max-width: 640px) { .pubs a { grid-template-columns: 1fr; } .pubs small, .pubs i { grid-column: 1; grid-row: auto; } }

/* ---------- Model hero: what it is used for, and the one action ---------- */
.used-for { margin-top: 1.75rem; font-size: 0.9375rem; color: var(--ink-soft); }
.used-for + .fields { margin-top: 0.6rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; margin-top: 2rem; }
.hero-actions .button { margin: 0; }

/* ---------- Layer explorer zoom: the camera moves to the layer, the rest softens ---------- */
.anatomy-figure { overflow: hidden; }
.anatomy-stage { position: relative; transform-origin: 0 0; transition: transform 1s var(--ease-out); }
.anatomy.is-zoomed .anatomy-stage { transform: translate(50%, 50%) scale(1.85) translate(calc(var(--zx) * -100%), calc(var(--zy) * -100%)); }
.anatomy-figure::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.8s var(--ease-out);
  background: radial-gradient(circle at 50% 50%, rgba(246, 248, 250, 0) 26%, rgba(246, 248, 250, 0.7) 72%);
}
.anatomy.is-zoomed .anatomy-figure::after { opacity: 1; }
.anatomy-dot { transition: opacity 0.4s var(--ease-out); }
.anatomy.is-zoomed .anatomy-dot { opacity: 0; pointer-events: none; }
.anatomy.is-zoomed .anatomy-stage { cursor: zoom-out; }
.anatomy-out {
  position: absolute; left: 1rem; bottom: 1rem; z-index: 2; font: inherit; font-size: 0.875rem; color: var(--ink); background: var(--paper);
  border: 1px solid var(--line); border-radius: 999px; padding: 0.45rem 0.95rem; cursor: pointer;
  opacity: 0; transform: translateY(6px); pointer-events: none; transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out), border-color 0.25s;
}
.anatomy-out:hover { border-color: var(--ink); }
.anatomy.is-zoomed .anatomy-out { opacity: 1; transform: none; pointer-events: auto; }
/* The pin: a fine ring on the exact spot and a hairline running out towards the list. Replaces the dots. */
.anatomy-pin { position: absolute; left: 50%; top: 50%; width: 50%; height: 0; pointer-events: none; z-index: 1; }
.anatomy-pin::before {
  content: ""; position: absolute; left: -0.6rem; top: -0.6rem; width: 1.2rem; height: 1.2rem; border-radius: 50%;
  border: 1.5px solid var(--ink); box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.85), inset 0 0 0 2px rgba(255, 255, 255, 0.6);
  opacity: 0; transform: scale(1.8); transition: opacity 0.35s var(--ease-out), transform 0.6s var(--ease-out);
}
.anatomy-pin::after {
  content: ""; position: absolute; left: 0.6rem; right: 0; top: -0.5px; height: 1px; background: var(--ink);
  transform: scaleX(0); transform-origin: left; transition: transform 0.7s var(--ease-out) 0.1s;
}
.anatomy.is-pointing .anatomy-pin::before { opacity: 1; transform: none; }
.anatomy.is-pointing .anatomy-pin::after { transform: scaleX(1); }
.anatomy-stage { cursor: zoom-in; }

.band-divided { border-top: 1px solid var(--line); }
/* Cards: the whole card is the link, so it reads as clickable */
.platforms > li { position: relative; }
.platforms h3 a::after { content: ""; position: absolute; inset: 0; }
.platforms > li:hover h3 a { color: var(--accent); }
.platforms h3 a:focus-visible { outline: none; }
.platforms > li:has(a:focus-visible) { outline: 2px solid var(--ink); outline-offset: 6px; }
.service-next .unlinked { display: grid; gap: 0.4rem; padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.service-next .unlinked span { font-size: clamp(1.375rem, 2.3vw, 1.875rem); letter-spacing: -0.02em; }
.service-next .unlinked small { color: var(--ink-soft); font-size: 0.9375rem; }

/* ---------- Advanced models read as add-ons: a plus on each, and the sum spelled out ---------- */
.plus { width: 1.5rem; height: 1.5rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; }
.formula { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1rem; margin: 0 0 clamp(2rem, 4vw, 3rem); max-width: none !important; color: var(--ink) !important; font-size: clamp(1.0625rem, 1.5vw, 1.25rem); }
.formula span { border: 1px solid var(--line); border-radius: 999px; padding: 0.45rem 1rem; background: var(--paper); }
.formula span:last-child { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.formula .plus { color: var(--accent); }
.service-next.is-addon a, .service-next.is-addon .unlinked { grid-template-columns: auto minmax(0, 1fr); column-gap: 0.9rem; }
.service-next.is-addon a::before, .service-next.is-addon .unlinked::before {
  content: ""; grid-row: 1 / span 2; width: 1.6rem; height: 1.6rem; margin-top: 0.3rem; border: 1.4px solid currentColor; border-radius: 50%;
  background: linear-gradient(currentColor, currentColor) center / 0.7rem 1.4px no-repeat, linear-gradient(currentColor, currentColor) center / 1.4px 0.7rem no-repeat;
  color: var(--accent); transition: transform 0.4s var(--ease-out);
}
.service-next.is-addon a:hover::before { transform: rotate(90deg); }
.service-next.is-addon a > *, .service-next.is-addon .unlinked > * { grid-column: 2; }
.anatomy-stage { cursor: default; }
.anatomy.is-zoomed .anatomy-stage { cursor: zoom-out; }
.page-figure.is-illustration img { aspect-ratio: auto !important; margin: 0 auto; width: auto; max-width: 100%; }

/* ---------- Header dropdowns (full site) ---------- */
.nav-item { display: inline-flex; align-items: center; gap: 0.15rem; }
.nav-more { display: inline-grid; place-items: center; width: 1.75rem; height: 1.75rem; margin-right: -0.4rem; padding: 0; border: 0; border-radius: 50%; background: none; color: inherit; cursor: pointer; }
.nav-more svg { width: 0.75rem; height: 0.75rem; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.3s var(--ease-out); }
.nav-more:focus-visible { outline: 2px solid currentColor; outline-offset: 1px; }
.nav-menu {
  position: absolute; top: calc(100% - 0.5rem); right: var(--gutter); z-index: 25;
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(10.5rem, auto); gap: 2.25rem;
  padding: 1.6rem 1.9rem 1.7rem; background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: 6px;
  box-shadow: 0 18px 40px -18px rgba(6, 42, 87, 0.28), 0 2px 6px rgba(6, 42, 87, 0.06);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity 0.25s var(--ease-out), transform 0.35s var(--ease-out), visibility 0s 0.25s;
}
.nav-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -1.25rem; height: 1.25rem; }   /* keeps hover alive across the gap */
.nav-menu p { margin: 0 0 0.75rem; font-size: 0.8125rem; color: var(--ink-soft); max-width: none; }
.nav-menu ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.15rem; }
.site-nav .nav-menu a { display: block; padding: 0.35rem 0; font-size: 0.9688rem; color: var(--ink); text-decoration: none; transition: color 0.2s var(--ease-out); }
.site-nav .nav-menu a::after { display: none; }
.site-nav .nav-menu a:hover, .site-nav .nav-menu a:focus-visible { color: var(--accent); }
.has-menu:hover .nav-menu, .has-menu:focus-within .nav-menu, .has-menu.is-open .nav-menu { opacity: 1; visibility: visible; transform: none; transition: opacity 0.25s var(--ease-out), transform 0.35s var(--ease-out); }
.has-menu:hover .nav-more svg, .has-menu.is-open .nav-more svg { transform: rotate(180deg); }
.nav-sub { display: none; }
@media (max-width: 820px) {
  .nav-item { display: grid; gap: 0.35rem; }
  .nav-more, .nav-menu { display: none; }
  .nav-sub { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; margin: 0 0 0.6rem; }
  .site-nav .nav-sub a { font-size: 1rem; letter-spacing: 0; color: var(--on-image-soft); text-decoration: underline; text-underline-offset: 0.25em; }
  .site-nav:has(.nav-item) { overflow-y: auto; }
}

/* Juridische pagina's (privacy en cookies): rustige leesbreedte */
.legal { max-width: 68ch; display: grid; gap: 1rem; color: var(--ink-soft); line-height: 1.6; }
.legal h2, .legal h3 { line-height: 1.3; }
.legal h2 { color: var(--ink); font-size: clamp(1.375rem, 2vw, 1.75rem); letter-spacing: -0.015em; margin-top: 2rem; max-width: none; }
.legal h3, .legal p { max-width: none; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { color: var(--ink); font-size: 1.125rem; margin-top: 0.75rem; }
.legal ul { display: grid; gap: 0.5rem; padding-left: 1.25rem; list-style: disc; }
.legal a { color: var(--ink); text-decoration: underline; text-underline-offset: 0.2em; }

/* Footer: juridische links en de knop voor cookie-instellingen */
.footer-legal { display: inline-flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
/* Signatuur van de bouwer: klein en ingetogen, het is de site van de klant */
.footer-made { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.75rem; color: var(--on-image-soft); }
.footer-made svg { width: 14px; height: 14px; }
.footer-base .footer-made a { margin-left: -0.1rem; color: var(--on-image); text-decoration: none; padding-block: 0.75rem; margin-block: -0.75rem; }
.footer-base .footer-made a:hover { text-decoration: underline; }
.link-button { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 0.2em; cursor: pointer; }

/* Cookiekeuze: rustig onderaan, weigeren en accepteren even groot */
.consent { position: fixed; z-index: 80; left: var(--gutter); right: var(--gutter); bottom: 1rem; max-width: 34rem; margin-left: auto;
  background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: 1rem; padding: 1.25rem 1.5rem;
  box-shadow: 0 18px 40px -18px rgba(6, 42, 87, 0.35); line-height: 1.55; animation: consentIn 0.5s var(--ease-out) both; }
.consent h2 { font-size: 1.125rem; margin: 0 0 0.35rem; max-width: none; }
.consent p { color: var(--ink-soft); margin: 0; max-width: none; }
.consent a { color: var(--ink); text-decoration: underline; text-underline-offset: 0.2em; }
.consent-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-top: 1rem; }
.consent-actions .button { margin: 0; justify-content: center; }
@media (max-width: 480px) { .consent { left: 1rem; right: 1rem; padding: 1.1rem 1.1rem; } }
@keyframes consentIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .consent { animation: none; } }

/* Pigmented: huidtypes naast elkaar */
.skin-types { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(0.75rem, 2vw, 1.5rem); list-style: none; padding: 0; margin: 0; }
.skin-types figure { margin: 0; }
.skin-types img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 0.75rem; }
.skin-types figcaption { margin-top: 0.75rem; font-weight: 500; color: var(--ink); }
@media (max-width: 560px) { .skin-types { grid-template-columns: 1fr; } }

/* Contactformulier: verborgen veld tegen spambots */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

#send-error { color: #a12a2a; font-size: 0.875rem; margin-top: 0.75rem; }
#send-error a { color: inherit; text-decoration: underline; }
