/* Xerovi theme: components (S7 A1, agent s7-a1-foundation, 2026-11-28). Loads after layout.css.
   The 15 DESIGN.md components plus the 7 gaps from 02-strategy/04-page-specs.md §6.
   Every colour is a --xv- token. Movement uses transform/opacity only and the amplitude switches
   in base.css (--xv-move-*), so reduced motion and "Pause motion" stop it (D42).
   Hover styles sit behind (hover: hover) and (pointer: fine): touch taps never stick a hover.
   Targets: >= 24px everywhere, >= 44px under (pointer: coarse) (DESIGN.md Components).

   Contents
     1 Buttons            2 Text link          3 Header             4 Services mega menu
     5 Mobile menu        6 Breadcrumbs        7 Cards              8 Proof strip
     9 Status chip       10 Case list         11 Product card      12 FAQ (disclosure)
    13 Enquiry form      14 Cookie banner     15 Footer + Pause    16 Language switcher
    17 Filter chips      18 Commitment list   19 Facts list        20 Table
    21 Table of contents 22 Demo frame        23 Author byline */

/* =============================================================== 1 Buttons */
.xv-button {
  --_bg: var(--xv-button-primary-bg);
  --_fg: var(--xv-button-primary-text);
  --_bg-hover: var(--xv-button-primary-bg-hover);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--xv-space-3);
  min-height: var(--xv-button-height);
  max-width: 100%;
  padding: var(--xv-button-padding);
  border: 0;
  border-radius: var(--xv-button-radius);
  background: var(--_bg);
  color: var(--_fg);
  font-family: var(--xv-font-sans);
  font-size: var(--xv-size-ui);
  font-weight: 500;
  line-height: var(--xv-leading-ui);
  letter-spacing: var(--xv-tracking-snug);
  text-align: center;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition:
    background-color var(--xv-duration-fast) var(--xv-ease-out),
    transform var(--xv-duration-base) var(--xv-ease-out);
}
.xv-button--secondary { --_bg: var(--xv-button-secondary-bg); --_fg: var(--xv-button-secondary-text); --_bg-hover: var(--xv-button-secondary-bg-hover); }
.xv-button--brand { --_bg: var(--xv-button-brand-bg); --_fg: var(--xv-button-brand-text); --_bg-hover: var(--xv-button-brand-bg-hover); }
.xv-button--sm { min-height: var(--xv-button-height-sm); padding: 10px 18px 10px 20px; font-size: var(--xv-size-small); }
.xv-button .xv-icon { transition: transform var(--xv-duration-base) var(--xv-ease-out); }
@media (hover: hover) and (pointer: fine) {
  .xv-button:not(:disabled, [aria-disabled="true"]):hover { background: var(--_bg-hover); transform: translateY(var(--xv-move-lift)); }
  .xv-button:not(:disabled, [aria-disabled="true"]):hover .xv-icon { transform: translate(var(--xv-move-nudge), calc(-1 * var(--xv-move-nudge))); }
}
.xv-button:not(:disabled, [aria-disabled="true"]):active { transform: scale(var(--xv-move-press)); transition-duration: var(--xv-duration-press); }
.xv-button:disabled, .xv-button[aria-disabled="true"] { background: var(--xv-button-disabled-bg); color: var(--xv-button-disabled-text); }
@media (max-width: 600px) {
  .xv-actions > .xv-button, .xv-button--block { width: 100%; }
}
@media (pointer: coarse) { .xv-button--sm { min-height: var(--xv-target-touch); } }

/* =============================================================== 2 Text link (standalone)
   Underline grows from the left as a scaleX pseudo-element (D42; v3 used background-size). */
.xv-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: var(--xv-target-touch);
  max-width: 100%;
  padding-block: 10px;
  color: var(--xv-link-text);
  font-size: var(--xv-size-ui);
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.xv-link__label { position: relative; min-width: 0; }
.xv-link__label::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -3px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--xv-duration-slow) var(--xv-ease-out);
}
.xv-link .xv-icon { color: var(--xv-link-icon); transition: transform var(--xv-duration-base) var(--xv-ease-out); }
@media (hover: hover) and (pointer: fine) {
  .xv-link:hover .xv-link__label::after { transform: scaleX(1); }
  .xv-link:hover .xv-icon { transform: translate(var(--xv-move-nudge), calc(-1 * var(--xv-move-nudge))); }
}

/* =============================================================== 3 Header (fixed tone: ink)
   Fixed-tone components (header, mega menu, cookie notice, footer, hero) carry the class
   xv-tone-ink in their markup, so their semantic tokens (focus ring included) stay ink when
   they sit over or inside a paper band. */
.xv-header {
  position: fixed;
  isolation: isolate;
  background: transparent;
  inset: 0 0 auto 0;
  z-index: var(--xv-z-header);
  color: var(--xv-header-text);
}
.xv-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--xv-header-bg-solid);
  border-bottom: 1px solid var(--xv-header-border);
  opacity: 0;
  transition: opacity var(--xv-duration-base) var(--xv-ease-out);
}
.xv-header.is-solid::before, .xv-header.is-open::before { opacity: 1; }
.xv-header__inner {
  position: relative;
  width: var(--xv-wrap);
  min-height: var(--xv-header-height);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--xv-space-6);
}
.xv-identity {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: var(--xv-target-touch);
  color: var(--xv-header-text);
  text-decoration: none;
}
.xv-identity .xv-mark { width: 30px; height: 30px; }
.xv-wordmark { font-size: var(--xv-size-ui); font-weight: var(--xv-weight-semibold); line-height: 1; letter-spacing: var(--xv-tracking-wordmark); }
/* The mark: option 2 "hand-off" of v3's flat two-stroke X (D44, D51, owner's choice D68). Stroke A = text
   colour, stroke B = accent. .xv-mark--small is the heavier cut for sizes under 32 px (D62). */
.xv-mark { overflow: visible; }
.xv-mark path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.xv-mark__a { stroke: var(--_mark-a, var(--xv-text)); stroke-width: 56; }
.xv-mark__b { stroke: var(--_mark-b, var(--xv-accent)); stroke-width: 82; }
.xv-mark--small .xv-mark__a { stroke-width: 80; }
.xv-mark--small .xv-mark__b { stroke-width: 104; }
.xv-header .xv-mark, .xv-footer .xv-mark { --_mark-a: var(--xv-header-text); --_mark-b: var(--xv-header-current-mark); }

.xv-nav { justify-self: center; }
.xv-nav__list { display: flex; align-items: center; gap: var(--xv-space-1); }
.xv-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: var(--xv-target-touch);
  padding: 0 var(--xv-space-3);
  border: 0;
  background: none;
  color: var(--xv-header-text);
  font-size: var(--xv-size-ui);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: var(--xv-tracking-snug);
  text-decoration: none;
  opacity: .82;
  transition: opacity var(--xv-duration-fast) var(--xv-ease-out);
}
.xv-nav__link[aria-current="page"], .xv-nav__link[aria-expanded="true"] { opacity: 1; }
.xv-nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: var(--xv-space-3); right: var(--xv-space-3); bottom: 6px;
  height: 2px;
  border-radius: var(--xv-radius-xs);
  background: var(--xv-header-current-mark);
}
.xv-nav__chevron { width: 12px; height: 12px; transition: transform var(--xv-duration-base) var(--xv-ease-out); }
.xv-nav__link[aria-expanded="true"] .xv-nav__chevron { transform: rotate(180deg); }
@media (hover: hover) and (pointer: fine) { .xv-nav__link:hover { opacity: 1; } }
.xv-header__end { justify-self: end; display: flex; align-items: center; gap: var(--xv-space-3); }
.xv-nav__end { display: none; }
/* Menu control: a link to the footer navigation without JS, a disclosure button with JS. */
.xv-menu-toggle {
  display: none;
  align-items: center;
  gap: var(--xv-space-2);
  min-height: var(--xv-target-touch);
  padding: 0 var(--xv-space-2);
  border: 0;
  background: none;
  color: var(--xv-header-text);
  font-size: var(--xv-size-ui);
  font-weight: 500;
  text-decoration: none;
}
.xv-menu-toggle .xv-icon { width: 20px; height: 20px; }
.xv-menu-toggle [data-icon-close] { display: none; }
.xv-menu-toggle[aria-expanded="true"] [data-icon-open] { display: none; }
.xv-menu-toggle[aria-expanded="true"] [data-icon-close] { display: block; }
.xv-js .xv-menu-toggle--nojs { display: none !important; }
html:not(.xv-js) button.xv-menu-toggle { display: none !important; }
html:not(.xv-js) [data-xv-js-only] { display: none !important; }
.xv-js [data-xv-nojs] { display: none !important; }

/* Header collapse point: 1230px for English (DESIGN.md C21; measured per language in S10). */
@media (max-width: 1230px) {
  .xv-header__inner { grid-template-columns: 1fr auto; }
  .xv-menu-toggle { display: inline-flex; }
  .xv-header .xv-nav { display: none; }
  .xv-header.is-open .xv-nav {
    display: block;
    position: fixed;
    inset: var(--xv-header-height) 0 0 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: var(--xv-space-4) var(--xv-space-gutter) var(--xv-space-12);
    border-top: 1px solid var(--xv-mobile-menu-divider);
    background: var(--xv-mobile-menu-bg);
  }
  .xv-header__end .xv-lang { display: none; }
}
@media (max-width: 600px) { .xv-header__end .xv-button { display: none; } }

/* =============================================================== 4 Services mega menu
   Disclosure navigation (not role="menu"); one button opens it (DESIGN.md C20). */
.xv-mega {
  position: absolute;
  left: 0; right: 0;
  top: calc(100% - var(--xv-space-2));
  max-height: calc(100vh - var(--xv-header-height) - var(--xv-space-6));
  overflow-y: auto;
  padding: var(--xv-space-4);
  border: 1px solid var(--xv-menu-border);
  border-radius: var(--xv-radius-lg);
  background: var(--xv-menu-bg);
  box-shadow: var(--xv-shadow-overlay);
  color: var(--xv-menu-title-text);
}
.xv-mega.is-entering { animation: xv-panel-in var(--xv-duration-fast) var(--xv-ease-out); }
@keyframes xv-panel-in { from { opacity: 0; transform: translateY(var(--xv-move-panel)); } }
.xv-mega__hub { margin-bottom: var(--xv-space-3); }
.xv-mega__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: var(--xv-space-2) var(--xv-space-4);
}
.xv-mega__group { min-width: 0; }
.xv-mega__heading {
  display: block;
  padding: var(--xv-space-3) var(--xv-space-3) var(--xv-space-2);
  color: var(--xv-menu-heading-text);
  font-size: var(--xv-size-label);
  font-weight: 500;
  line-height: var(--xv-leading-label);
  letter-spacing: var(--xv-tracking-caps);
  text-transform: uppercase;
}
.xv-mega__group-toggle { display: none; }
.xv-mega__list { display: grid; gap: 2px; }
.xv-mega__row {
  display: grid;
  gap: 2px;
  min-height: var(--xv-target-touch);
  padding: 10px var(--xv-space-3);
  border-radius: var(--xv-radius-base);
  color: var(--xv-menu-title-text);
  text-decoration: none;
  transition: background-color var(--xv-duration-fast) var(--xv-ease-out);
}
.xv-mega__row:focus-visible { outline-offset: -2px; }
.xv-mega__title { font-size: var(--xv-size-ui); font-weight: 500; line-height: var(--xv-leading-ui); overflow-wrap: anywhere; }
.xv-mega__desc { color: var(--xv-menu-desc-text); font-size: var(--xv-size-small); line-height: 1.4; overflow-wrap: anywhere; }
.xv-mega__tile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--xv-space-3);
  min-height: var(--xv-target-touch);
  margin-top: var(--xv-space-3);
  padding: var(--xv-space-4);
  border-radius: var(--xv-radius-base);
  background: var(--xv-menu-tile-bg);
  color: var(--xv-menu-tile-text);
  font-size: var(--xv-size-ui);
  font-weight: 500;
  text-decoration: none;
}
@media (hover: hover) and (pointer: fine) {
  .xv-mega__row:hover { background: var(--xv-menu-row-bg-hover); }
}
.xv-mega.is-static { position: relative; top: auto; max-height: none; }

/* =============================================================== 5 Mobile menu
   .is-panel is set by menu.js below the collapse point (and on static gallery specimens). */
.xv-nav.is-panel { color: var(--xv-mobile-menu-text); }
.xv-nav.is-panel .xv-nav__list { display: block; }
.xv-nav.is-panel .xv-nav__item { border-bottom: 1px solid var(--xv-mobile-menu-divider); }
.xv-nav.is-panel .xv-nav__link {
  display: flex;
  width: 100%;
  justify-content: space-between;
  min-height: 56px;
  padding: var(--xv-space-4) 0;
  color: var(--xv-mobile-menu-text);
  font-size: var(--xv-size-menu-row);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -.02em;
  text-align: left;
  opacity: 1;
  overflow-wrap: anywhere; /* long ET/FI labels wrap (DESIGN.md Mobile menu) */
}
.xv-nav.is-panel .xv-nav__link[aria-current="page"]::after { left: 0; right: auto; width: 24px; bottom: 8px; }
.xv-nav.is-panel .xv-nav__chevron { width: 16px; height: 16px; }
.xv-nav.is-panel .xv-mega {
  position: static;
  max-height: none;
  overflow: visible;
  padding: 0 0 var(--xv-space-3);
  border: 0;
  background: none;
  box-shadow: none;
  animation: none;
}
.xv-nav.is-panel .xv-mega__grid { display: block; }
.xv-nav.is-panel .xv-mega__heading { display: none; }
.xv-nav.is-panel .xv-mega__group-toggle {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: var(--xv-space-3);
  min-height: var(--xv-target-touch);
  padding: var(--xv-space-2) 0;
  border: 0;
  background: none;
  color: var(--xv-menu-heading-text);
  font-size: var(--xv-size-ui);
  font-weight: 500;
  text-align: left;
}
.xv-nav.is-panel .xv-mega__group-toggle[aria-expanded="true"] .xv-nav__chevron { transform: rotate(180deg); }
.xv-nav.is-panel .xv-mega__list { display: none; padding-bottom: var(--xv-space-2); }
.xv-nav.is-panel .xv-mega__group.is-open .xv-mega__list { display: grid; }
.xv-nav.is-panel .xv-mega__row { padding-inline: 0; }
.xv-nav.is-panel .xv-mega__row:focus-visible { outline-offset: 2px; }
.xv-nav.is-panel .xv-nav__end { display: grid; gap: var(--xv-space-6); padding-top: var(--xv-space-8); }
.xv-nav.is-panel .xv-nav__end .xv-button { width: 100%; }
.xv-nav.is-static { display: block; padding: var(--xv-space-4) var(--xv-space-6) var(--xv-space-8); border-radius: var(--xv-radius-lg); background: var(--xv-mobile-menu-bg); }

/* =============================================================== 6 Breadcrumbs
   Items flow as text so a long segment wraps under itself, not into a narrow column. */
.xv-breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 var(--xv-space-2); }
.xv-breadcrumbs li { display: block; min-width: 0; max-width: 100%; color: var(--xv-breadcrumb-text); font-size: var(--xv-size-small); font-weight: 500; line-height: 1.5; overflow-wrap: anywhere; }
.xv-breadcrumbs li + li::before { content: "/" / ""; margin-inline-end: var(--xv-space-2); color: var(--xv-breadcrumb-text); }
.xv-breadcrumbs a {
  display: inline-block;
  min-height: var(--xv-target-min);
  padding-block: 2px;
  color: var(--xv-breadcrumb-text);
  text-decoration: none;
  transition: color var(--xv-duration-fast) var(--xv-ease-out);
}
.xv-breadcrumbs [aria-current="page"] { color: var(--xv-breadcrumb-current); }
@media (hover: hover) and (pointer: fine) { .xv-breadcrumbs a:hover { color: var(--xv-breadcrumb-text-hover); } }
@media (pointer: coarse) { .xv-breadcrumbs a { min-height: var(--xv-target-touch); padding-block: 11px; } }

/* =============================================================== 7 Cards (offer, insight, sector, application)
   One link per card: the title link stretches over the card. */
.xv-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--xv-space-4);
  min-width: 0;
  padding: var(--xv-card-padding);
  border: 1px solid var(--xv-card-border);
  border-radius: var(--xv-card-radius);
  background: var(--xv-card-bg);
  color: var(--xv-card-title-text);
  transition:
    transform var(--xv-duration-base) var(--xv-ease-out),
    box-shadow var(--xv-duration-base) var(--xv-ease-out),
    border-color var(--xv-duration-fast) var(--xv-ease-out);
}
.xv-card__index {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 28px;
  padding: 0 10px;
  border-radius: var(--xv-radius-pill);
  background: var(--xv-card-index-bg);
  color: var(--xv-card-index-text);
  font-size: var(--xv-size-small);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: var(--xv-tracking-number);
}
.xv-card__title { color: var(--xv-card-title-text); }
.xv-card__link { color: inherit; text-decoration: none; }
.xv-card__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.xv-card__body { color: var(--xv-card-body-text); font-size: var(--xv-size-body); }
.xv-card__more { margin-top: auto; padding-top: var(--xv-space-2); }
.xv-card__more.xv-link { min-height: 0; padding-block: 0; }
@media (hover: hover) and (pointer: fine) {
  .xv-card:has(.xv-card__link):hover {
    transform: translateY(var(--xv-move-lift));
    border-color: color-mix(in srgb, var(--xv-text) 22%, transparent);
    box-shadow: var(--xv-shadow-raise);
  }
  .xv-card:has(.xv-card__link):hover .xv-card__more .xv-link__label::after { transform: scaleX(1); }
  .xv-card:has(.xv-card__link):hover .xv-card__more .xv-icon { transform: translate(var(--xv-move-nudge), calc(-1 * var(--xv-move-nudge))); }
}
.xv-card:has(.xv-card__link:active) { transform: none; }
@supports selector(:has(*)) {
  .xv-card:has(.xv-card__link:focus-visible) {
    outline: var(--xv-focus-ring-width) solid var(--xv-focus-ring-color);
    outline-offset: var(--xv-focus-ring-offset);
  }
  .xv-card__link:focus-visible { outline: none; }
}

/* Card diagram panel: decorative (aria-hidden). Plays one 3.2s cycle when it enters view and on
   hover or focus, then rests in its finished state (D42, WCAG 2.2.2). Without JS it shows the
   finished state. */
.xv-diagram {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--xv-space-4);
  height: 168px;
  padding: var(--xv-space-6);
  border-radius: var(--xv-radius-md);
  background: var(--xv-card-diagram-bg);
  overflow: hidden;
}
@media (max-width: 600px) { .xv-diagram { height: 150px; } }
.xv-diagram__node { width: 14px; height: 14px; border-radius: 50%; background: var(--xv-text); }
.xv-diagram__lanes { display: grid; gap: var(--xv-space-3); }
.xv-diagram__lane { height: 6px; border-radius: var(--xv-radius-pill); background: var(--xv-line); overflow: hidden; }
.xv-diagram__fill { display: block; height: 100%; border-radius: inherit; background: var(--xv-accent); transform-origin: left center; }
.xv-diagram__lane:nth-child(2) .xv-diagram__fill { transform: scaleX(.72); }
.xv-diagram__lane:nth-child(3) .xv-diagram__fill { transform: scaleX(.46); }
.xv-diagram__done {
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--xv-accent);
  color: var(--xv-on-fill);
}
.xv-diagram__done .xv-icon { width: 16px; height: 16px; stroke-width: 2.4; }
.xv-diagram.is-playing .xv-diagram__fill { animation: xv-diagram-fill var(--xv-duration-loop) var(--xv-ease-in-out) both; }
.xv-diagram.is-playing .xv-diagram__lane:nth-child(2) .xv-diagram__fill { animation-name: xv-diagram-fill-2; }
.xv-diagram.is-playing .xv-diagram__lane:nth-child(3) .xv-diagram__fill { animation-name: xv-diagram-fill-3; }
.xv-diagram.is-playing .xv-diagram__done { animation: xv-diagram-done var(--xv-duration-loop) var(--xv-ease-out) both; }
@keyframes xv-diagram-fill   { 0% { transform: scaleX(0); } 45%, 100% { transform: scaleX(1); } }
@keyframes xv-diagram-fill-2 { 0%, 15% { transform: scaleX(0); } 60%, 100% { transform: scaleX(.72); } }
@keyframes xv-diagram-fill-3 { 0%, 30% { transform: scaleX(0); } 75%, 100% { transform: scaleX(.46); } }
@keyframes xv-diagram-done   { 0%, 75% { opacity: 0; transform: scale(.9); } 90%, 100% { opacity: 1; transform: scale(1); } }

/* =============================================================== 8 Proof strip (verified proof only, D9; never a price, D13) */
.xv-proof {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  background: var(--xv-proof-bg);
}
.xv-proof__item { display: flex; flex-direction: column; gap: var(--xv-space-2); min-width: 0; padding: var(--xv-space-6) 0; border-top: 1px solid var(--xv-proof-divider); }
.xv-proof__item:first-child { border-top: 0; }
@media (min-width: 1024px) {
  .xv-proof { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); grid-auto-flow: column; }
  .xv-proof__item { padding: 0 var(--xv-space-8); border-top: 0; border-left: 1px solid var(--xv-proof-divider); }
  .xv-proof__item:first-child { padding-left: 0; border-left: 0; }
}
.xv-proof__value { color: var(--xv-proof-value-text); overflow-wrap: anywhere; }
.xv-proof__label { color: var(--xv-proof-label-text); font-size: var(--xv-size-small); font-weight: 500; }
.xv-proof__meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--xv-space-2) var(--xv-space-4); }
.xv-proof:empty { display: none; }

/* =============================================================== 9 Status chip (non-interactive)
   State is carried by the text and the mark's shape, never by colour alone:
   live = filled dot, beta = ring, planned = dash. */
.xv-status {
  display: inline-flex;
  align-items: center;
  gap: var(--xv-space-2);
  max-width: 100%;
  min-height: 26px;
  padding: 3px 10px 3px 9px;
  border-radius: var(--xv-radius-pill);
  background: var(--xv-proof-status-bg);
  color: var(--xv-proof-status-text);
  font-size: var(--xv-size-label);
  font-weight: 500;
  line-height: 1.3;
  vertical-align: middle;
  overflow-wrap: anywhere;
}
.xv-status::before {
  content: "";
  flex-shrink: 0;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--xv-accent);
}
.xv-status[data-status="beta"]::before { background: transparent; border: 2px solid var(--xv-accent); }
.xv-status[data-status="planned"]::before { width: 10px; height: 2px; border-radius: var(--xv-radius-xs); background: var(--xv-text-muted); }

/* =============================================================== 10 Case list (editorial rows)
   No client names, dates or metrics on the card (D31). Floating preview: not in A1 (needs the
   case images, Q-S5D-3). */
.xv-cases { border-bottom: 1px solid var(--xv-case-divider); }
.xv-case {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--xv-space-3);
  padding: var(--xv-space-row) 0;
  border-top: 1px solid var(--xv-case-divider);
}
@media (min-width: 1024px) {
  .xv-case { grid-template-columns: 80px minmax(0, 6fr) minmax(0, 4fr); gap: var(--xv-space-8); align-items: start; }
}
.xv-case__number { color: var(--xv-case-number-text); font-size: var(--xv-size-small); font-weight: 500; font-variant-numeric: tabular-nums; transition: color var(--xv-duration-fast) var(--xv-ease-out); }
.xv-case__eyebrow { color: var(--xv-case-eyebrow-text); margin-bottom: var(--xv-space-3); overflow-wrap: anywhere; }
.xv-case__title { color: var(--xv-case-title-text); transition: transform var(--xv-duration-base) var(--xv-ease-out); }
.xv-case__link { color: inherit; text-decoration: none; }
.xv-case__link::after { content: ""; position: absolute; inset: 0; }
.xv-case__summary { color: var(--xv-case-summary-text); }
.xv-case__more { min-height: 0; padding-block: var(--xv-space-3) 0; }
@media (hover: hover) and (pointer: fine) {
  .xv-case:hover .xv-case__title { transform: translateX(var(--xv-move-shift)); }
  .xv-case:hover .xv-case__number { color: var(--xv-case-number-text-hover); }
  .xv-case:hover .xv-case__more .xv-link__label::after { transform: scaleX(1); }
}
@supports selector(:has(*)) {
  .xv-case:has(.xv-case__link:focus-visible) { outline: var(--xv-focus-ring-width) solid var(--xv-focus-ring-color); outline-offset: var(--xv-focus-ring-offset); border-radius: var(--xv-radius-focus); }
  .xv-case__link:focus-visible { outline: none; }
}
.xv-empty { padding: var(--xv-space-8) 0; color: var(--xv-text-muted); }

/* =============================================================== 11 Product card ("Built by Xerovi")
   The stage is always light (bone); its insides use the product tokens. No price slot (D13). */
.xv-product {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--xv-card-border);
  border-radius: var(--xv-card-radius);
  background: var(--xv-product-bg);
  overflow: hidden;
}
.xv-product__stage { padding: clamp(20px, 3vw, 40px); background: var(--xv-product-stage-bg); }
.xv-window { border-radius: var(--xv-radius-md); background: var(--xv-product-paper-bg); box-shadow: var(--xv-shadow-screen); overflow: hidden; }
.xv-window__bar { display: flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 var(--xv-space-3); border-bottom: 1px solid var(--xv-bone-250); }
.xv-window__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--xv-bone-400); }
.xv-window__title { margin-left: var(--xv-space-2); color: var(--xv-product-window-title-text); font-size: var(--xv-size-label); font-weight: 500; overflow-wrap: anywhere; }
.xv-window__body { padding: var(--xv-space-4); transition: transform var(--xv-duration-reveal) var(--xv-ease-out); transform-origin: center top; }
.xv-sheet { display: grid; grid-template-columns: 32px minmax(0, 1.4fr) minmax(0, 1fr); gap: 2px; color: var(--xv-product-paper-text); font-size: var(--xv-size-label); font-variant-numeric: tabular-nums; }
.xv-sheet > span { min-height: 30px; padding: 6px 8px; background: var(--xv-bone-150); overflow-wrap: anywhere; }
.xv-sheet > .xv-sheet__head { color: var(--xv-product-paper-muted); }
.xv-sheet > .xv-sheet__linked { background: var(--xv-product-evidence-bg); color: var(--xv-product-evidence-text); box-shadow: inset 0 0 0 1px var(--xv-product-evidence-border); }
.xv-product__caption { margin-top: var(--xv-space-3); color: var(--xv-product-caption-text); font-size: var(--xv-size-label); }
.xv-product__body { display: flex; flex-direction: column; gap: var(--xv-space-3); padding: var(--xv-card-padding); }
.xv-product__head { display: flex; flex-wrap: wrap; align-items: center; gap: var(--xv-space-3); }
.xv-product__line { color: var(--xv-card-body-text); }
.xv-product__link::after { content: ""; position: absolute; inset: 0; }
@media (hover: hover) and (pointer: fine) {
  .xv-product:hover .xv-window__body { transform: scale(var(--xv-move-zoom)); }
  .xv-product:hover .xv-product__link .xv-link__label::after { transform: scaleX(1); }
}
@supports selector(:has(*)) {
  .xv-product:has(.xv-product__link:focus-visible) { outline: var(--xv-focus-ring-width) solid var(--xv-focus-ring-color); outline-offset: var(--xv-focus-ring-offset); }
  .xv-product__link:focus-visible { outline: none; }
}

/* =============================================================== 12 FAQ (disclosure)
   Native <details>: answers stay in the DOM for find-in-page and FAQPage schema. */
.xv-faq { border-bottom: 1px solid var(--xv-faq-divider); }
.xv-faq__item { border-top: 1px solid var(--xv-faq-divider); }
.xv-faq__q {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--xv-space-6);
  min-height: 56px;
  padding: var(--xv-space-5) 0;
  color: var(--xv-faq-question-text);
  cursor: pointer;
  list-style: none;
}
.xv-faq__q::-webkit-details-marker { display: none; }
.xv-faq__q-text { min-width: 0; color: var(--xv-faq-question-text); overflow-wrap: anywhere; hyphens: manual; }
.xv-faq__icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--xv-faq-icon-bg);
  color: var(--xv-faq-icon-text);
  transition: background-color var(--xv-duration-fast) var(--xv-ease-out), transform var(--xv-duration-base) var(--xv-ease-out);
}
.xv-faq__icon .xv-icon { width: 14px; height: 14px; stroke-width: 2; }
.xv-faq__item[open] .xv-faq__icon { background: var(--xv-faq-icon-bg-open); color: var(--xv-faq-icon-text-open); transform: rotate(var(--xv-move-rotate)); }
.xv-faq__q:active .xv-faq__icon { transform: scale(calc(var(--xv-move-press) - .02)); }
.xv-faq__item[open] .xv-faq__q:active .xv-faq__icon { transform: rotate(var(--xv-move-rotate)) scale(calc(var(--xv-move-press) - .02)); }
.xv-faq__a { padding: 0 0 var(--xv-space-6); max-width: var(--xv-measure); color: var(--xv-faq-answer-text); }
.xv-faq__a p { color: var(--xv-faq-answer-text); }
@media (hover: hover) and (pointer: fine) {
  .xv-faq__q:hover .xv-faq__icon { background: var(--xv-faq-icon-bg-hover); }
  .xv-faq__item[open] .xv-faq__q:hover .xv-faq__icon { background: var(--xv-faq-icon-bg-open); }
}
/* Home function rows: a tonal fill sweeps in as a scaleX pseudo-element, content shifts by
   transform (D42; v3 animated background-size and padding-left). */
.xv-faq--rows .xv-faq__q { padding-inline: var(--xv-space-3); isolation: isolate; }
.xv-faq--rows .xv-faq__q::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: var(--xv-radius-base);
  background: var(--xv-tonal);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--xv-duration-slow) var(--xv-ease-out);
}
.xv-faq--rows .xv-faq__q-text { transition: transform var(--xv-duration-base) var(--xv-ease-out); }
.xv-faq--rows .xv-faq__a { padding-inline: var(--xv-space-3); }
@media (hover: hover) and (pointer: fine) {
  .xv-faq--rows .xv-faq__q:hover::before { transform: scaleX(1); }
  .xv-faq--rows .xv-faq__q:hover .xv-faq__q-text { transform: translateX(var(--xv-move-shift)); }
}

/* =============================================================== 13 Enquiry form */
.xv-form {
  display: grid;
  gap: var(--xv-space-6);
  min-width: 0;
  padding: var(--xv-space-card);
  border: 1px solid var(--xv-form-border);
  border-radius: var(--xv-radius-lg);
  background: var(--xv-form-bg);
}
.xv-form__row { display: grid; gap: var(--xv-space-6); }
@media (min-width: 700px) { .xv-form__row--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.xv-field { display: grid; gap: var(--xv-space-2); min-width: 0; }
.xv-field__label, .xv-fieldset__legend { overflow-wrap: anywhere; color: var(--xv-field-label); font-size: var(--xv-size-ui); font-weight: 500; line-height: var(--xv-leading-ui); }
.xv-field__help { color: var(--xv-field-help); font-size: var(--xv-size-small); }
.xv-field__input {
  width: 100%;
  min-height: var(--xv-field-height);
  padding: 12px 16px;
  border: 1px solid var(--xv-field-border);
  border-radius: var(--xv-field-radius);
  background: var(--xv-field-bg);
  color: var(--xv-field-text);
  font-size: 1rem; /* 16px: iOS does not zoom */
  line-height: 1.4;
  transition: border-color var(--xv-duration-fast) var(--xv-ease-out), box-shadow var(--xv-duration-fast) var(--xv-ease-out);
}
textarea.xv-field__input { min-height: 140px; resize: vertical; }
.xv-field__input::placeholder { color: var(--xv-field-placeholder); opacity: 1; }
@media (hover: hover) and (pointer: fine) {
  .xv-field__input:not(:disabled, [readonly], :focus, [aria-invalid="true"]):hover { border-color: var(--xv-field-border-hover); }
}
.xv-field__input:focus, .xv-field__input:focus-visible {
  outline: none;
  border-color: var(--xv-field-border-focus);
  box-shadow: 0 0 0 3px var(--xv-focus-halo);
}
.xv-field__input[aria-invalid="true"] { border-color: var(--xv-field-border-error); box-shadow: inset 0 0 0 1px var(--xv-field-border-error); }
.xv-field__input[aria-invalid="true"]:focus { box-shadow: inset 0 0 0 1px var(--xv-field-border-error), 0 0 0 3px var(--xv-focus-halo); }
.xv-field__input:disabled { background: var(--xv-field-disabled-bg); color: var(--xv-field-disabled-text); border-color: var(--xv-field-disabled-text); }
.xv-field__input[readonly] { background: var(--xv-field-disabled-bg); }
.xv-select { position: relative; }
.xv-select .xv-field__input { appearance: none; padding-right: 44px; }
.xv-select .xv-icon { position: absolute; right: 16px; top: 50%; width: 14px; height: 14px; transform: translateY(-50%); pointer-events: none; color: var(--xv-field-text); }
.xv-field__error { display: flex; align-items: flex-start; gap: var(--xv-space-2); color: var(--xv-field-error); font-size: var(--xv-size-small); font-weight: 500; overflow-wrap: anywhere; }
.xv-field__error .xv-icon { width: 16px; height: 16px; margin-top: 2px; stroke-width: 2; }
/* Radio group as 44px chips. The native radio stays visible and focusable. */
.xv-fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.xv-fieldset__legend { padding: 0; margin-bottom: var(--xv-space-3); }
.xv-choices { display: flex; flex-wrap: wrap; gap: var(--xv-space-2); }
.xv-choice {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: var(--xv-target-touch);
  max-width: 100%;
  padding: 0 18px 0 14px;
  border: 1px solid var(--xv-chip-border);
  border-radius: var(--xv-radius-pill);
  color: var(--xv-chip-text);
  font-size: var(--xv-size-small);
  font-weight: 500;
  cursor: pointer;
  transition: background-color var(--xv-duration-fast) var(--xv-ease-out), transform var(--xv-duration-press) var(--xv-ease-out);
}
.xv-choice__input {
  appearance: none;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 18px; height: 18px;
  margin: 0;
  border: 1.5px solid var(--xv-border-control);
  border-radius: 50%;
  background: var(--xv-field-bg);
}
.xv-choice__input::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--xv-on-fill); transform: scale(0); }
.xv-choice__input:checked { border-color: var(--xv-on-fill); background: var(--xv-fill); }
.xv-choice__input:checked::before { transform: scale(1); }
.xv-choice:has(.xv-choice__input:checked) { border-color: var(--xv-chip-bg-selected); background: var(--xv-chip-bg-selected); color: var(--xv-chip-text-selected); }
.xv-choice:has(.xv-choice__input:focus-visible) { outline: var(--xv-focus-ring-width) solid var(--xv-focus-ring-color); outline-offset: var(--xv-focus-ring-offset); }
.xv-choice__input:focus-visible { outline: none; }
.xv-choice:active { transform: scale(var(--xv-move-press)); }
.xv-choice:has(.xv-choice__input:disabled) { background: var(--xv-disabled-bg); color: var(--xv-disabled-text); cursor: not-allowed; }
@media (hover: hover) and (pointer: fine) {
  .xv-choice:not(:has(.xv-choice__input:checked, .xv-choice__input:disabled)):hover { background: var(--xv-chip-bg-hover); }
}
.xv-form__note { color: var(--xv-field-help); font-size: var(--xv-size-small); }
.xv-form__submit { display: flex; flex-wrap: wrap; align-items: center; gap: var(--xv-space-4); }
.xv-form__status { min-height: 1.5em; color: var(--xv-field-help); font-size: var(--xv-size-small); font-weight: 500; }
.xv-form__status[data-state="success"] { color: var(--xv-form-status-success); }
.xv-form__status[data-state="error"] { color: var(--xv-field-error); }
/* Error summary: lists every error as a link, receives focus on submit. */
.xv-form__summary {
  display: grid;
  gap: var(--xv-space-2);
  padding: var(--xv-space-4) var(--xv-space-5);
  border: 2px solid var(--xv-field-border-error);
  border-radius: var(--xv-radius-md);
  color: var(--xv-field-error);
}
.xv-form__summary-title { color: var(--xv-field-error); font-size: var(--xv-size-ui); font-weight: 500; }
.xv-form__summary ul { display: grid; gap: var(--xv-space-1); padding-left: 1.1em; list-style: disc; }
.xv-form__summary a { color: var(--xv-field-error); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.xv-form__summary:focus-visible { outline-offset: 2px; }

/* =============================================================== 14 Cookie banner and preferences dialog (fixed tone: ink)
   "Essential only" and "Allow analytics" share one style (D43). */
.xv-cookie {
  position: fixed;
  left: var(--xv-space-gutter);
  right: var(--xv-space-gutter);
  bottom: max(var(--xv-space-4), env(safe-area-inset-bottom));
  z-index: var(--xv-z-cookie);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--xv-space-4) var(--xv-space-6);
  max-width: 760px;
  padding: var(--xv-space-5) var(--xv-space-6);
  border: 1px solid var(--xv-cookie-border);
  border-radius: var(--xv-radius-lg);
  background: var(--xv-cookie-bg);
  color: var(--xv-cookie-text);
  box-shadow: var(--xv-shadow-overlay);
}
.xv-cookie__text { flex: 1 1 280px; min-width: 0; color: var(--xv-cookie-text); font-size: var(--xv-size-ui); }
.xv-cookie__choices { display: flex; flex-wrap: wrap; gap: var(--xv-space-3); }
.xv-cookie__choice {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--xv-button-height);
  padding: 0 var(--xv-space-6);
  border: 1px solid var(--xv-cookie-choice-border);
  border-radius: var(--xv-radius-pill);
  background: var(--xv-cookie-choice-bg);
  color: var(--xv-cookie-choice-text);
  font-size: var(--xv-size-ui);
  font-weight: 500;
  line-height: var(--xv-leading-ui);
  transition: background-color var(--xv-duration-fast) var(--xv-ease-out), transform var(--xv-duration-press) var(--xv-ease-out);
}
.xv-cookie__choice:active { transform: scale(var(--xv-move-press)); }
@media (hover: hover) and (pointer: fine) { .xv-cookie__choice:hover { background: var(--xv-cookie-choice-bg-hover); } }
@media (max-width: 600px) {
  .xv-cookie__choices { width: 100%; flex-direction: column; }
  .xv-cookie__choice { width: 100%; }
}
/* Short viewports (400% zoom, phones in landscape): a compact banner that never takes more
   than 45% of the screen and scrolls inside itself (A1 check S2). */
@media (max-height: 520px) {
  .xv-cookie { padding: var(--xv-space-3) var(--xv-space-4); gap: var(--xv-space-2) var(--xv-space-3); max-height: 45vh; overflow-y: auto; }
  .xv-cookie__text { flex-basis: 100%; font-size: var(--xv-size-small); }
  .xv-cookie__choices { width: auto; flex-direction: row; }
  .xv-cookie__choice { width: auto; padding: 0 var(--xv-space-4); }
}
.xv-cookie.is-static { position: relative; left: auto; right: auto; bottom: auto; z-index: auto; box-shadow: none; }
.xv-cookie-dialog {
  width: min(560px, calc(100% - 2 * var(--xv-space-gutter)));
  max-height: calc(100% - 2 * var(--xv-space-6));
  padding: var(--xv-space-8);
  border: 1px solid var(--xv-cookie-border);
  border-radius: var(--xv-radius-lg);
  background: var(--xv-cookie-bg);
  color: var(--xv-cookie-text);
  box-shadow: var(--xv-shadow-overlay);
}
.xv-cookie-dialog[open] { animation: xv-dialog-in var(--xv-duration-fast) var(--xv-ease-out); }
@keyframes xv-dialog-in { from { opacity: 0; transform: scale(.97); } }
.xv-cookie-dialog::backdrop { background: var(--xv-cookie-backdrop); }
.xv-cookie-dialog__title { color: var(--xv-cookie-text); margin-bottom: var(--xv-space-4); }
.xv-cookie-dialog__text { color: var(--xv-cookie-muted); margin-bottom: var(--xv-space-6); }
.xv-cookie-dialog__close { margin-top: var(--xv-space-4); }
.xv-cookie-dialog .xv-cookie__choices { margin-bottom: var(--xv-space-2); }

/* =============================================================== 15 Footer and Pause motion (fixed tone: ink) */
.xv-footer {
  position: relative;
  overflow: clip;
  border-top: 1px solid var(--xv-footer-border);
  background: var(--xv-footer-bg);
  color: var(--xv-footer-text);
  padding-top: var(--xv-space-18);
}
.xv-footer__inner { display: grid; gap: var(--xv-space-10); }
@media (min-width: 1024px) {
  .xv-footer__inner { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
  .xv-footer__base { grid-column: 1 / -1; }
}
.xv-footer__brand { display: grid; gap: var(--xv-space-4); align-content: start; }
.xv-footer .xv-identity { color: var(--xv-footer-text); }
.xv-footer__tagline { color: var(--xv-footer-muted); }
.xv-footer__contact { display: grid; gap: 0; }
.xv-footer .xv-link { color: var(--xv-footer-text); }
.xv-footer .xv-link .xv-icon { color: var(--xv-footer-icon); }
.xv-footer__nav ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr)); gap: 0 var(--xv-space-6); }
.xv-footer__base { display: grid; gap: var(--xv-space-4); padding-top: var(--xv-space-8); border-top: 1px solid var(--xv-footer-border); }
.xv-footer__address, .xv-footer__copy { color: var(--xv-footer-muted); font-size: var(--xv-size-small); }
.xv-footer__controls { display: flex; flex-wrap: wrap; align-items: center; gap: var(--xv-space-2) var(--xv-space-4); }
.xv-control {
  display: inline-flex;
  align-items: center;
  gap: var(--xv-space-2);
  min-height: var(--xv-target-touch);
  padding: 0 var(--xv-space-3);
  border: 0;
  border-radius: var(--xv-radius-pill);
  background: none;
  color: var(--xv-footer-control-text);
  font-size: var(--xv-size-small);
  font-weight: 500;
  text-decoration: none;
  transition: color var(--xv-duration-fast) var(--xv-ease-out);
}
.xv-control:first-child { padding-left: 0; }
.xv-control .xv-icon { width: 16px; height: 16px; }
.xv-control[aria-pressed="true"] { color: var(--xv-footer-control-text-hover); }
.xv-control[aria-pressed="true"] [data-icon-pause], .xv-control:not([aria-pressed="true"]) [data-icon-play] { display: none; }
@media (hover: hover) and (pointer: fine) { .xv-control:hover { color: var(--xv-footer-control-text-hover); } }
/* Hero corner instance of Pause motion: same control on the hero's ink. */
.xv-control--hero { padding: 0 var(--xv-space-4); background: var(--xv-hero-chip-bg); color: var(--xv-lang-text); }
.xv-control--hero:first-child { padding-left: var(--xv-space-4); }
.xv-footer__word {
  display: block;
  margin-top: clamp(40px, 6vw, 88px);
  font-size: var(--xv-size-word);
  font-weight: 500;
  line-height: var(--xv-leading-word);
  letter-spacing: var(--xv-tracking-word);
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
  color: transparent;
  background: linear-gradient(180deg, var(--xv-footer-text) 0%, color-mix(in srgb, var(--xv-footer-text) 12%, transparent) 92%);
  -webkit-background-clip: text;
  background-clip: text;
  transform: translateY(.1em);
  user-select: none;
}

/* =============================================================== 16 Language switcher (fixed tone: ink)
   Hidden while only English exists (render nothing, or the hidden attribute). */
.xv-lang { position: relative; }
.xv-lang__toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: var(--xv-target-touch);
  padding: 0 var(--xv-space-2);
  border: 0;
  border-radius: var(--xv-radius-pill);
  background: none;
  color: var(--xv-lang-text);
  font-size: var(--xv-size-small);
  font-weight: 500;
  transition: color var(--xv-duration-fast) var(--xv-ease-out);
}
.xv-lang__toggle .xv-icon { width: 16px; height: 16px; }
.xv-lang__toggle[aria-expanded="true"] { color: var(--xv-lang-text-hover); }
.xv-lang__menu {
  position: absolute;
  right: 0;
  top: calc(100% + var(--xv-space-1));
  min-width: 180px;
  padding: var(--xv-space-2);
  border: 1px solid var(--xv-menu-border);
  border-radius: var(--xv-radius-base);
  background: var(--xv-menu-bg);
  box-shadow: var(--xv-shadow-overlay);
}
.xv-lang__list { display: grid; gap: 2px; }
.xv-lang__list--inline { display: flex; flex-wrap: wrap; gap: 0 var(--xv-space-2); }
.xv-lang__item {
  display: flex;
  align-items: center;
  gap: var(--xv-space-2);
  min-height: var(--xv-target-touch);
  padding: 0 var(--xv-space-3);
  border-radius: var(--xv-radius-md);
  color: var(--xv-lang-text);
  font-size: var(--xv-size-small);
  font-weight: 500;
  text-decoration: none;
  transition: color var(--xv-duration-fast) var(--xv-ease-out);
}
.xv-lang__item[aria-current="true"] { color: var(--xv-lang-current-text); }
.xv-lang__item[aria-current="true"]::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--xv-lang-current-mark); }
@media (hover: hover) and (pointer: fine) {
  .xv-lang__toggle:hover, a.xv-lang__item:hover { color: var(--xv-lang-text-hover); }
  .xv-lang__menu a.xv-lang__item:hover { background: var(--xv-menu-row-bg-hover); }
}

/* =============================================================== 17 Filter chips (aria-pressed) and tabs (aria-selected) */
.xv-chips { display: flex; flex-wrap: wrap; gap: var(--xv-space-2); }
.xv-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  max-width: 100%;
  padding: 6px 16px;
  border: 1px solid var(--xv-chip-border);
  border-radius: var(--xv-radius-pill);
  background: transparent;
  color: var(--xv-chip-text);
  font-size: var(--xv-size-small);
  font-weight: 500;
  line-height: 1.3;
  text-align: center;
  overflow-wrap: anywhere;
  transition: background-color var(--xv-duration-fast) var(--xv-ease-out), transform var(--xv-duration-press) var(--xv-ease-out);
}
.xv-chip[aria-pressed="true"], .xv-chip[aria-selected="true"] { border-color: var(--xv-chip-bg-selected); background: var(--xv-chip-bg-selected); color: var(--xv-chip-text-selected); }
.xv-chip:not(:disabled):active { transform: scale(var(--xv-move-press)); }
.xv-chip:disabled { border-color: var(--xv-disabled-text); background: var(--xv-disabled-bg); color: var(--xv-disabled-text); }
@media (hover: hover) and (pointer: fine) {
  .xv-chip:not(:disabled, [aria-pressed="true"], [aria-selected="true"]):hover { background: var(--xv-chip-bg-hover); }
}
@media (pointer: coarse) { .xv-chip { min-height: var(--xv-target-touch); } }

/* =============================================================== 18 Commitment list (page specs §6; S-COMMIT, T-11)
   Shown only for promises ticked in D-4 §3 and cleared by the lawyer (T8). Stable anchors. */
.xv-commit { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--xv-space-4); counter-reset: xv-commit; }
@media (min-width: 700px) { .xv-commit { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1180px) { .xv-commit { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.xv-commit:empty { display: none; }
.xv-commit__item { display: flex; flex-direction: column; gap: var(--xv-space-3); min-width: 0; padding: var(--xv-space-card-sm); border: 1px solid var(--xv-card-border); border-radius: var(--xv-card-radius); background: var(--xv-card-bg); }
.xv-commit__item::before {
  counter-increment: xv-commit;
  content: counter(xv-commit, decimal-leading-zero);
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 28px;
  padding: 0 10px;
  border-radius: var(--xv-radius-pill);
  background: var(--xv-card-index-bg);
  color: var(--xv-card-index-text);
  font-size: var(--xv-size-small);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.xv-commit__text { color: var(--xv-card-title-text); font-size: var(--xv-size-h4); font-weight: 500; line-height: 1.35; overflow-wrap: anywhere; }
.xv-commit__item .xv-link { margin-top: auto; }

/* =============================================================== 19 Facts list (definition list) */
.xv-facts { border-bottom: 1px solid var(--xv-line); }
.xv-facts__row { display: grid; gap: var(--xv-space-1) var(--xv-space-6); padding: var(--xv-space-4) 0; border-top: 1px solid var(--xv-line); }
@media (min-width: 600px) { .xv-facts__row { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); align-items: baseline; } }
.xv-facts dt { font-size: var(--xv-size-label); font-weight: 500; line-height: var(--xv-leading-label); letter-spacing: var(--xv-tracking-caps); text-transform: uppercase; color: var(--xv-text-muted); }
.xv-facts dd { min-width: 0; color: var(--xv-text); overflow-wrap: anywhere; }

/* =============================================================== 20 Table
   Caption, th scope, accent headings (DESIGN.md Colors: deep green table headings on paper;
   the ink accent on ink; both pairs on --xv-surface-2 are in tokens.css). Stacked rows under 600px. */
.xv-table { width: 100%; border-collapse: collapse; font-size: var(--xv-size-body); }
.xv-table caption { padding-bottom: var(--xv-space-4); color: var(--xv-text-muted); font-size: var(--xv-size-small); font-weight: 500; text-align: left; caption-side: top; }
.xv-table th, .xv-table td { padding: var(--xv-space-3) var(--xv-space-4); border-bottom: 1px solid var(--xv-table-border); text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.xv-table thead th { background: var(--xv-table-head-bg); color: var(--xv-accent); font-size: var(--xv-size-small); font-weight: 500; }
.xv-table tbody th { color: var(--xv-table-head-text); font-weight: 500; }
.xv-table td { color: var(--xv-text-soft); }
.xv-table__empty { color: var(--xv-text-muted); }
@media (max-width: 600px) {
  .xv-table--stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .xv-table--stack, .xv-table--stack tbody, .xv-table--stack tr, .xv-table--stack th, .xv-table--stack td { display: block; }
  .xv-table--stack tr { padding: var(--xv-space-3) 0; border-top: 1px solid var(--xv-table-border); }
  .xv-table--stack tbody th, .xv-table--stack td { padding: var(--xv-space-1) 0; border: 0; }
  .xv-table--stack td::before {
    content: attr(data-label);
    display: block;
    color: var(--xv-accent);
    font-size: var(--xv-size-label);
    font-weight: 500;
    letter-spacing: var(--xv-tracking-caps);
    text-transform: uppercase;
  }
}

/* =============================================================== 21 Table of contents
   A list of links; a disclosure below 1024px (JS only; without JS the list stays open). */
.xv-toc { min-width: 0; }
.xv-toc__title { margin-bottom: var(--xv-space-2); }
.xv-toc__toggle {
  display: none;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: var(--xv-space-3);
  min-height: var(--xv-target-touch);
  padding: 0 var(--xv-space-4);
  border: 1px solid var(--xv-border-control);
  border-radius: var(--xv-radius-md);
  background: transparent;
  color: var(--xv-text);
  font-size: var(--xv-size-ui);
  font-weight: 500;
  text-align: left;
}
.xv-toc__toggle .xv-icon { width: 14px; height: 14px; transition: transform var(--xv-duration-base) var(--xv-ease-out); }
.xv-toc__toggle[aria-expanded="true"] .xv-icon { transform: rotate(180deg); }
.xv-toc__list { display: grid; gap: 0; border-left: 1px solid var(--xv-line); }
.xv-toc__list a {
  display: flex;
  align-items: center;
  min-height: var(--xv-target-touch);
  margin-left: -1px;
  padding: var(--xv-space-2) var(--xv-space-4);
  border-left: 2px solid transparent;
  color: var(--xv-text-muted);
  font-size: var(--xv-size-ui);
  font-weight: 500;
  line-height: 1.35;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: color var(--xv-duration-fast) var(--xv-ease-out);
}
.xv-toc__list a[aria-current="true"] { border-left-color: var(--xv-accent); color: var(--xv-text); }
.xv-toc__list a:focus-visible { outline-offset: -2px; }
@media (hover: hover) and (pointer: fine) { .xv-toc__list a:hover { color: var(--xv-text); } }
@media (max-width: 1023px) {
  .xv-js .xv-toc .xv-toc__toggle { display: flex; }
  .xv-js .xv-toc .xv-toc__title { display: none; }
  .xv-js .xv-toc .xv-toc__list { display: none; margin-top: var(--xv-space-2); }
  .xv-js .xv-toc.is-open .xv-toc__list { display: grid; }
}

/* =============================================================== 22 Embedded demo frame
   Titled iframe in a card, the "sample data" caption, a text summary next to it; loads on view
   (loading="lazy"). */
.xv-demo { display: grid; gap: var(--xv-space-3); min-width: 0; margin: 0; }
.xv-demo__frame { border: 1px solid var(--xv-card-border); border-radius: var(--xv-card-radius); background: var(--xv-card-bg); overflow: hidden; }
.xv-demo__frame iframe { width: 100%; height: clamp(360px, 46vw, 520px); border: 0; background: var(--xv-surface-2); }
.xv-demo__frame:has(iframe:focus) { outline: var(--xv-focus-ring-width) solid var(--xv-focus-ring-color); outline-offset: var(--xv-focus-ring-offset); }
.xv-demo__caption { color: var(--xv-text-caption); font-size: var(--xv-size-small); }
.xv-demo__summary { color: var(--xv-text-soft); max-width: var(--xv-measure); }

/* =============================================================== 23 Author byline (Person markup after D-2) */
.xv-byline { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--xv-space-1) var(--xv-space-2); color: var(--xv-text-muted); font-size: var(--xv-size-small); font-weight: 500; }
.xv-byline__name { color: var(--xv-text); overflow-wrap: anywhere; }
.xv-byline__sep { color: var(--xv-text-muted); }
.xv-byline__role { overflow-wrap: anywhere; }

/* =============================================================== motion: reduced or paused
   Colour changes become instant too, so nothing eases in either state. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; }
}
html[data-xv-motion="paused"] *, html[data-xv-motion="paused"] *::before, html[data-xv-motion="paused"] *::after { transition-duration: 0s !important; }

/* Header mark "arrival" (D63; from 06-build/logo/motion/mark-motion.css, merged 2026-11-28 after the
   owner chose option 2, D68). Plays once on the first page of a visit, when the head line sets
   html[data-xv-mark-intro]; transform and opacity only; none under reduced motion or Pause motion. */
@keyframes xv-mark-arrive-a {
  from { opacity: 0; transform: translateX(-72px); }
}
@keyframes xv-mark-arrive-b {
  from { opacity: 0; transform: translateX(-36px); }
}

html[data-xv-mark-intro] .xv-header .xv-mark__a {
  animation: xv-mark-arrive-a 460ms var(--xv-ease-out, cubic-bezier(.22, 1, .36, 1)) 140ms backwards;
}
html[data-xv-mark-intro] .xv-header .xv-mark__b {
  animation: xv-mark-arrive-b 360ms var(--xv-ease-out, cubic-bezier(.22, 1, .36, 1)) backwards;
}

@media (prefers-reduced-motion: reduce) {
  html[data-xv-mark-intro] .xv-header .xv-mark path { animation: none; }
}
html[data-xv-motion="paused"] .xv-header .xv-mark path { animation: none; }
