/* ============================================================
   LE TRANSAT' — SAGA Architecture
   DA « Silencio » : white room, ink black, one warm gray.
   Hairlines instead of shadows. Three faces, three roles.
   ============================================================ */

:root {
  --ink: #000000;
  --paper-card: #dbdad9;
  --graphite: #808080;   /* hairlines only */
  --mute: #565553;       /* secondary text on white — AA contrast */
  --mute-dark: #b0afac;  /* secondary text on ink */
  --white: #ffffff;

  --font-body: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-display: 'Inter Tight', 'Inter', ui-sans-serif, system-ui, sans-serif;
  --font-mono: 'PT Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --text-display: clamp(56px, 10vw, 141px);
  --text-heading: clamp(36px, 4.8vw, 62px);
  --text-sub: clamp(20px, 2vw, 25px);
  --text-body: 18px;

  --radius-card: 7.2px;
  --radius-pill: 129.6px;

  --ease: cubic-bezier(.22, .8, .24, 1);
  --nav-h: 64px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--text-body);
  line-height: 1.55;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
::selection { background: var(--ink); color: var(--white); }
a { color: var(--ink); }

/* museum label */
.label {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.2;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* ============ 3D canvas ============ */
#scene {
  position: fixed; inset: 0;
  width: 100vw; height: 100vh;
  z-index: 0;
  /* opacity is scroll-driven from main.js — a CSS transition here
     rubber-bands against the scrub and reads as a stutter (13.07) */
}
#scene.is-off { visibility: hidden; }

/* ============ Nav ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(16px, 3vw, 43px);
  transition: background .4s var(--ease);
}
.nav.is-scrolled {
  background: color-mix(in srgb, var(--white) 88%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--ink);
}
.nav-logo {
  font-family: var(--font-body);
  font-weight: 700; font-size: 14px; letter-spacing: .06em;
  text-decoration: none; color: var(--ink);
}
.nav-links { display: none; gap: 29px; }
.nav-links a {
  text-decoration: none; color: var(--ink);
  font-size: 13px; letter-spacing: .06em; text-transform: uppercase;
}
.nav-links a:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 860px) { .nav-links { display: flex; } }

/* ============ Buttons — transparent pill, the outline IS the button ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-body);
  font-size: 13px; letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  border: 1px solid var(--ink);
  border-radius: var(--radius-pill);
  padding: 14px 29px;
  color: var(--ink); background: transparent;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.btn:hover { background: var(--ink); color: var(--white); }
.btn--nav { padding: 9px 22px; }
.btn--big { padding: 17px 43px; }
.section--dark .btn, .footer .btn { border-color: var(--white); color: var(--white); }
.section--dark .btn:hover, .footer .btn:hover { background: var(--white); color: var(--ink); }

/* ============ Hero — full-bleed photo series, the build comes after ============ */
.hero {
  position: relative; z-index: 2;
  min-height: 100svh;
  display: flex; flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-h) + 2vh) clamp(16px, 4vw, 72px) clamp(86px, 12vh, 130px);
  pointer-events: none;
  color: var(--white);
  overflow: hidden;
  background: var(--ink);
}
.hero-media { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.6s var(--ease);
  will-change: opacity, transform;
}
/* the Ken Burns zoom is driven from the inline script (WAAPI) so it keeps
   running on the outgoing slide during the crossfade — see index.html */
.hero-slide.is-on { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .hero-slide { transition: none; }
}
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.30) 0%, rgba(0,0,0,0) 26%),
    linear-gradient(12deg, rgba(0,0,0,.42) 0%, rgba(0,0,0,.10) 46%, rgba(0,0,0,0) 70%);
}
.hero > p, .hero > h1 { position: relative; } /* above the scrim ; the cue stays absolute */
.hero-overline {
  font-family: var(--font-mono); font-size: 12px;
  letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: 22px;
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 200;
  font-size: var(--text-display);
  line-height: 0.92;
  letter-spacing: -.01em;
  text-transform: uppercase;
}
.hero-title span { display: block; }
.hero-title em { font-style: normal; }
.hero-sub {
  margin-top: 43px;
  font-size: clamp(19px, 2vw, 25px);
  font-weight: 400;
  line-height: 1.4;
  max-width: 36ch;
}
.hero-cue {
  position: absolute; bottom: 4vh; left: clamp(16px, 4vw, 72px);
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-mono); font-size: 12px;
  letter-spacing: .08em; text-transform: uppercase;
}
.hero-cue i {
  width: 1px; height: 43px;
  background: var(--white);
  animation: cue 1.8s var(--ease) infinite;
  transform-origin: top;
}
/* nav sits on the hero photo while at the very top */
.nav:not(.is-scrolled) .nav-logo,
.nav:not(.is-scrolled) .nav-links a { color: var(--white); }
.nav:not(.is-scrolled) .btn--nav { border-color: var(--white); color: var(--white); }
.nav:not(.is-scrolled) .btn--nav:hover { background: var(--white); color: var(--ink); }
@keyframes cue {
  0% { transform: scaleY(0); }
  50% { transform: scaleY(1); }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============ Scroll stage ============ */
.scrolly { height: 620vh; position: relative; z-index: 1; }

#stage-ui {
  position: fixed; inset: 0;
  z-index: 10;
  pointer-events: none;
}
#stage-ui.is-off { display: none; }

/* progress rail */
.rail {
  position: absolute; right: clamp(14px, 3vw, 43px); top: 50%;
  transform: translateY(-50%);
  display: flex; gap: 14px;
  opacity: 0;
  transition: opacity .5s var(--ease);
}
#stage-ui.in-stage .rail { opacity: 1; }
.rail-line { position: relative; width: 1px; background: var(--graphite); }
.rail-fill { position: absolute; top: 0; left: 0; right: 0; height: 0%; background: var(--ink); }
.rail ol {
  list-style: none;
  display: flex; flex-direction: column; justify-content: space-between;
  height: 240px;
}
.rail li { display: flex; align-items: center; gap: 10px; justify-content: flex-end; }
.rail em {
  font-family: var(--font-mono); font-style: normal;
  font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  opacity: 0; transform: translateX(6px);
  transition: opacity .3s, transform .3s;
  order: -1;
}
.rail i {
  width: 6px; height: 6px; border-radius: 50%;
  border: 1px solid var(--ink);
  background: transparent;
  transition: background .3s, transform .3s;
}
.rail li.is-active i { background: var(--ink); transform: scale(1.25); }
.rail li.is-active em { opacity: 1; transform: translateX(0); }
@media (max-width: 700px) { .rail { display: none; } }

/* chapter cards — paper card, hairline, no shadow */
.chapter {
  position: absolute;
  bottom: clamp(20px, 6vh, 64px);
  left: clamp(16px, 4vw, 72px);
  width: min(400px, calc(100vw - 32px));
  background: color-mix(in srgb, var(--paper-card) 88%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-card);
  padding: 29px;
  opacity: 0;
  transform: translateY(var(--cy, 46px));
  visibility: hidden;
  pointer-events: none;
}
.chapter[data-side="right"] { left: auto; right: clamp(16px, 5vw, 96px); }
@media (min-width: 1000px) {
  .chapter { bottom: auto; top: 50%; transform: translateY(calc(-50% + var(--cy, 46px))); }
}
.chapter-num {
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  margin-bottom: 14px;
}
.chapter h3 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 300; line-height: 0.98;
  margin-bottom: 14px;
}
.chapter-body { font-size: 17px; font-weight: 400; line-height: 1.55; }
.chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 17px; }
.chips span {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .04em;
  text-transform: uppercase;
  border: 1px solid var(--graphite); border-radius: var(--radius-pill);
  padding: 5px 12px;
}

/* finale card — a chapter card on the right: centered it covered the
   chair during the finale orbit (Tanguy, 12.07) */
.chapter--finale { width: min(440px, calc(100vw - 32px)); }
.chapter--finale .btn { pointer-events: auto; margin-top: 17px; }
.chapter--finale .chapter-body { max-width: 40ch; }

/* mobile : compact chapter cards — the white boxes covered the whole
   build (Tanguy, 13.07). Small type, no chips, the chair stays visible. */
@media (max-width: 700px) {
  .chapter {
    width: min(230px, calc(100vw - 80px));
    padding: 13px 16px;
    background: color-mix(in srgb, var(--paper-card) 82%, transparent);
  }
  .chapter-num { font-size: 10px; margin-bottom: 5px; }
  .chapter h3 { font-size: 18px; margin-bottom: 6px; }
  .chapter-body { font-size: 12px; line-height: 1.45; }
  .chapter .chips { display: none; }
  .chapter--finale { width: min(270px, calc(100vw - 80px)); }
  .chapter--finale .btn { margin-top: 10px; padding: 11px 24px; font-size: 13px; }
}

/* (v11.1 : callout styles removed — the pinned technical points are gone,
   only the side chapter cards narrate the build) */

/* ============ Sections ============ */
.section {
  position: relative; z-index: 2;
  background: var(--white);
  border-top: 1px solid var(--ink);
  padding: clamp(72px, 10vh, 144px) 0;
}
.wrap {
  width: min(1440px, calc(100% - clamp(32px, 6vw, 86px)));
  margin: 0 auto;
}
.overline {
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  margin-bottom: 22px;
}
.section h2 {
  font-family: var(--font-display);
  font-size: var(--text-heading);
  font-weight: 200; line-height: 0.92;
  margin-bottom: clamp(43px, 6vh, 72px);
}

/* reveals */
.reveal {
  opacity: 0;
  transform: translateY(29px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============ L'objet ============ */
/* the section slides over the fading 3D: transparent only at the very
   seam, solid white fast so the text is always readable (13.07) */
.section--histoire {
  background: linear-gradient(to bottom, transparent 0, var(--white) min(30vh, 300px));
  border-top: none;
}
/* manifesto : four short lines instead of the long explanation — each one
   "plants" itself (drops in with a settle) as it enters the viewport */
.manifesto {
  list-style: none;
  margin: 0 0 clamp(43px, 8vh, 86px);
}
.manifesto li {
  font-family: var(--font-display);
  font-size: clamp(29px, 4.6vw, 60px);
  font-weight: 200; line-height: 1.08;
  letter-spacing: -0.01em;
}
.manifesto li + li { margin-top: 0.42em; }
.manifesto li.reveal {
  transform: translateY(-36px);
  transition: opacity .7s var(--ease) var(--d, 0ms),
    transform .8s cubic-bezier(0.32, 1.36, 0.45, 1) var(--d, 0ms);
}
.manifesto li.reveal.is-visible { transform: none; }
.histoire-img { max-width: 820px; margin: 0 auto; }
.histoire-img img { border-radius: var(--radius-card); }
.histoire-img figcaption {
  font-family: var(--font-mono); font-size: 12px;
  letter-spacing: .04em; text-transform: uppercase;
  margin-top: 14px;
}
.quote {
  margin: clamp(43px, 9vh, 100px) auto;
  max-width: 720px;
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 400; line-height: 1.3;
  text-align: center;
}
/* ============ Marquee ============ */
.marquee {
  position: relative; z-index: 2;
  background: var(--ink); color: var(--white);
  overflow: hidden;
  padding: 14px 0;
}
.marquee-track { display: flex; white-space: nowrap; animation: marquee 30s linear infinite; }
.marquee-track span {
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  padding-right: 10px;
}
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ============ Production ============ */
.stats-grid {
  display: grid; gap: 0;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--ink);
}
@media (min-width: 800px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat { padding: 29px 22px 29px 0; border-bottom: 1px solid var(--graphite); }
@media (min-width: 800px) { .stat + .stat { padding-left: 22px; border-left: 1px solid var(--graphite); } }
.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(39px, 5vw, 58px);
  font-weight: 200; line-height: 0.9;
  margin-bottom: 10px;
}
.stat span { font-size: 15px; }
.ateliers { list-style: none; margin-top: clamp(43px, 6vh, 72px); }
.ateliers li {
  display: grid;
  grid-template-columns: 170px 1fr auto;
  gap: 16px; align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--graphite);
}
.ateliers b { font-weight: 700; font-size: 16px; }
.ateliers span { font-size: 15px; }
.ateliers em {
  font-style: normal;
  font-family: var(--font-mono); font-size: 12px;
}
@media (max-width: 640px) {
  .ateliers li { grid-template-columns: 1fr auto; }
  .ateliers span { grid-column: 1 / -1; }
}

/* ============ Technique (ink surface) ============ */
.section--dark { background: var(--ink); color: var(--white); }
.tech-grid { display: grid; gap: clamp(29px, 4vw, 72px); align-items: center; }
@media (min-width: 960px) { .tech-grid { grid-template-columns: 1.1fr 1fr; } }
.tech-drawing { color: #d5d4d2; }
.tech-drawing svg { width: 100%; height: auto; }
.tech-drawing .cable { stroke: var(--white); }
.tech-drawing .fabric { stroke: #9b9a98; }
.tech-drawing .draw line, .tech-drawing .draw path, .tech-drawing .draw circle {
  stroke-dasharray: 600; stroke-dashoffset: 600;
  transition: stroke-dashoffset 2.4s var(--ease);
}
.tech-drawing.is-visible .draw line,
.tech-drawing.is-visible .draw path,
.tech-drawing.is-visible .draw circle { stroke-dashoffset: 0; }
.tech-drawing figcaption {
  font-family: var(--font-mono); font-size: 13px;
  letter-spacing: .02em;
  color: var(--mute-dark); margin-top: 17px;
}
.specs { display: grid; }
.specs > div {
  display: grid; grid-template-columns: 160px 1fr; gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid #3a3a3a;
  font-size: 15px;
}
.specs dt {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--mute-dark);
  padding-top: 2px;
}
.specs dd { color: var(--white); font-weight: 400; }
.tech-axo { margin-top: clamp(43px, 6vh, 86px); }
.tech-axo img {
  width: min(680px, 100%);
  margin: 0 auto;
  border-radius: var(--radius-card);
}
.tech-axo figcaption {
  font-family: var(--font-mono); font-size: 13px;
  letter-spacing: .02em;
  color: var(--mute-dark);
  text-align: center;
  margin-top: 17px;
}
.tech-footnote {
  margin-top: clamp(29px, 5vh, 58px);
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: .03em; text-transform: uppercase;
  color: var(--mute-dark);
}

/* ============ Matière ============ */
.section--matiere { background: linear-gradient(0deg, var(--paper-card), var(--white)); }
.matiere-grid {
  display: grid; gap: 14px;
  grid-template-columns: 1fr;
  padding: 0 clamp(12px, 2vw, 22px);
}
@media (min-width: 760px) { .matiere-grid { grid-template-columns: 1fr 1fr; } }
.matiere-grid figure { border-radius: var(--radius-card); overflow: hidden; position: relative; }
.matiere-grid video {
  display: block; width: 100%;
  aspect-ratio: 9 / 12;
  object-fit: cover;
}
.matiere-grid figcaption {
  position: absolute; left: 17px; bottom: 14px; right: 17px;
  font-family: var(--font-mono); font-size: 13px;
  letter-spacing: .04em; text-transform: uppercase;
  color: #fff;
  text-shadow: 0 1px 10px rgba(0,0,0,.5);
}

/* ============ Galerie — museum wall of images ============ */
.section-intro { max-width: 52ch; margin: -22px 0 43px; font-weight: 400; font-size: 19px; line-height: 1.55; }
.florilege { columns: 1; column-gap: 14px; }
@media (min-width: 620px) { .florilege { columns: 2; } }
@media (min-width: 1020px) { .florilege { columns: 3; } }
.fl-item {
  break-inside: avoid;
  margin: 0 0 14px;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--paper-card);
}
.fl-item img {
  width: 100%; height: auto;
  display: block;
  transform: scale(1.001);
  transition: transform 1.1s var(--ease);
}
.fl-item:hover img { transform: scale(1.045); }
.fl-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; align-items: baseline; gap: 10px;
  padding: 34px 14px 12px;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.55) 100%);
  color: var(--white);
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: .06em; text-transform: uppercase;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
  pointer-events: none;
}
.fl-item:hover figcaption, .fl-item:focus-within figcaption { opacity: 1; transform: none; }
@media (hover: none) { .fl-item figcaption { opacity: 1; transform: none; padding-top: 26px; } }
.fl-num { opacity: .6; }
/* gallery reveal: soft fade with a whisper of scale, staggered by --d */
.florilege .reveal {
  opacity: 0;
  transform: translateY(18px) scale(.985);
  transition: opacity 1s var(--ease) var(--d, 0ms), transform 1s var(--ease) var(--d, 0ms);
}
.florilege .reveal.is-visible { opacity: 1; transform: none; }
.edition-note {
  margin-top: 43px;
  font-family: var(--font-mono); font-size: 12px;
  letter-spacing: .06em; text-transform: uppercase;
}

/* ============ Configurateur ============ */
.config { position: fixed; inset: 0; z-index: 100; }
.config[hidden] { display: none; }
.config-backdrop {
  position: absolute; inset: 0;
  background: color-mix(in srgb, var(--ink) 32%, transparent);
}
.config-panel {
  position: relative;
  width: min(1240px, 100%);
  height: 100dvh;
  margin: 0 auto;
  background: var(--white);
  border-left: 1px solid var(--ink); border-right: 1px solid var(--ink);
  overflow-y: auto;
  padding: clamp(22px, 4vw, 58px);
}
.config-head {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 22px;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 22px; margin-bottom: clamp(22px, 4vh, 43px);
}
.config-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 48px);
  font-weight: 200; line-height: 0.95;
}
.config-sub { max-width: 58ch; font-size: 17px; line-height: 1.55; margin-top: 12px; }
.config-close { flex-shrink: 0; padding: 9px 22px; }
.config-body { display: grid; gap: clamp(29px, 4vw, 58px); align-items: start; }
@media (min-width: 960px) { .config-body { grid-template-columns: 1.05fr 1fr; } }
/* sticky preview only on the two column desktop layout — on mobile it sat
   over the swatch texts (13.07) : the whole figure now scrolls with the flow,
   and the axo is drawn a touch smaller */
@media (min-width: 960px) { .config-preview { position: sticky; top: 0; } }
@media (max-width: 959px) {
  .config-axo { max-width: 82%; margin: 0 auto; }
}
/* live axonometric drawing — fabric and structure recolor with the choices */
.config-axo {
  --axo-etoffe: #9caf88;
  --axo-metal: #8f8f8b;
  border: 1px solid var(--graphite);
  border-radius: var(--radius-card);
  background: var(--white);
  padding: clamp(10px, 2vw, 22px);
}
.config-axo svg { display: block; width: 100%; height: auto; }
.config-axo .axo-metal { stroke: var(--axo-metal); transition: stroke .35s var(--ease); }
.config-axo .axo-cable { stroke: color-mix(in srgb, var(--axo-metal) 72%, var(--white)); transition: stroke .35s var(--ease); }
.config-axo .axo-etoffe { fill: var(--axo-etoffe); transition: fill .35s var(--ease); }
.config-axo .axo-ground { stroke: var(--graphite); }
.config-axocap {
  font-family: var(--font-mono); font-size: 12px;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--mute);
  margin-top: 14px;
}
.config-price {
  font-family: var(--font-mono); font-size: 12px;
  letter-spacing: .06em; text-transform: uppercase;
  margin-top: 7px;
}
.config-opts h3 {
  font-family: var(--font-mono); font-weight: 400;
  font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  margin-bottom: 17px;
}
.config-opts h3 + .config-swatches, .config-structs { margin-bottom: 22px; }
.config-swatches {
  display: grid; gap: 8px;
  grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
}
.config-swatch {
  border: 1px solid var(--graphite);
  border-radius: var(--radius-card);
  background: transparent;
  padding: 6px; cursor: pointer;
  text-align: left;
  transition: border-color .2s;
}
.config-swatch:hover { border-color: var(--ink); }
.config-swatch.is-active { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.config-swatch img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: 4px;
  background: var(--paper-card);
}
.config-swatch span {
  display: block;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: .04em; text-transform: uppercase;
  margin-top: 6px;
  color: var(--ink);
}
.config-note { font-size: 16px; line-height: 1.55; margin: 0 0 29px; max-width: 52ch; }
.config-omega {
  border: 1px solid var(--graphite);
  border-radius: var(--radius-card);
  padding: 17px;
  margin: -7px 0 29px;
}
.config-omega h4 {
  font-family: var(--font-mono); font-weight: 400;
  font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: 10px;
}
.config-omega dl > div {
  display: grid; grid-template-columns: 140px 1fr; gap: 14px;
  padding: 7px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--graphite) 40%, transparent);
  font-size: 14px;
}
.config-omega dl > div:last-child { border-bottom: none; }
.config-omega dt {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--mute);
  padding-top: 1px;
}
.config-structs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.config-struct {
  border: 1px solid var(--graphite);
  border-radius: var(--radius-card);
  background: transparent;
  padding: 6px 6px 12px; cursor: pointer;
  text-align: left;
  transition: border-color .2s;
}
.config-struct:hover { border-color: var(--ink); }
.config-struct.is-active { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.config-struct img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: 4px;
  background: var(--paper-card);
}
.config-struct b { display: block; font-size: 16px; font-weight: 700; margin: 10px 4px 2px; }
.config-struct span { display: block; font-size: 14px; margin: 0 4px; color: var(--ink); }
.config-recap {
  border-top: 1px solid var(--ink);
  margin-top: 29px; padding-top: 17px;
}
.config-recap h4 {
  font-family: var(--font-mono); font-weight: 400;
  font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 10px;
}
.config-recap > div {
  display: flex; justify-content: space-between; gap: 14px;
  font-family: var(--font-mono); font-size: 12px;
  letter-spacing: .05em; text-transform: uppercase;
  padding: 8px 0;
  border-bottom: 1px solid var(--graphite);
}
.config-recap > div b { font-weight: 400; text-align: right; }
.config-recap .btn { width: 100%; margin-top: 22px; }

/* ============ CTA ============ */
.section--cta { text-align: center; }
.section--cta h2 { margin-bottom: 22px; }
.cta-text { max-width: 640px; margin: 0 auto; font-size: var(--text-sub); font-weight: 400; line-height: 1.4; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 43px; }

/* ============ Footer — the catalogue page ============ */
.footer {
  position: relative; z-index: 2;
  background: var(--white);
  border-top: 1px solid var(--ink);
  padding: clamp(43px, 7vh, 86px) 0 29px;
}
.ft-display {
  font-family: var(--font-display);
  font-weight: 200;
  font-size: clamp(48px, 9.5vw, 141px);
  line-height: 0.9;
  text-transform: uppercase;
  letter-spacing: -.01em;
  text-align: center;
}
.ft-sig {
  font-family: var(--font-mono); font-size: 13px;
  letter-spacing: .1em; text-transform: uppercase;
  text-align: center;
  margin: 17px 0 clamp(43px, 6vh, 72px);
}
.ft-catalog {
  border-top: 1px solid var(--ink);
  margin-bottom: clamp(29px, 5vh, 58px);
}
.ft-catalog > div {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--graphite);
  font-family: var(--font-mono); font-size: 12px;
  letter-spacing: .05em; text-transform: uppercase;
}
.ft-catalog > div > span:last-child { text-align: right; }
.ft-cols {
  display: grid; gap: 29px;
  grid-template-columns: 1fr;
  margin-bottom: clamp(43px, 6vh, 72px);
}
@media (min-width: 800px) { .ft-cols { grid-template-columns: repeat(4, 1fr); } }
.ft-col h4 {
  font-family: var(--font-mono); font-weight: 400;
  font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 14px;
}
.ft-col, .ft-col address { font-style: normal; font-size: 15px; line-height: 1.7; }
.ft-col a { text-decoration: none; }
.ft-col a:hover { text-decoration: underline; text-underline-offset: 3px; }
.langs { display: flex; flex-wrap: wrap; gap: 6px; }
.lang-btn {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em;
  border: 1px solid var(--graphite); border-radius: var(--radius-pill);
  background: transparent; color: var(--ink);
  padding: 5px 10px; cursor: pointer;
  transition: border-color .2s, background .2s, color .2s;
}
.lang-btn:hover { border-color: var(--ink); }
.lang-btn.is-active { background: var(--ink); color: var(--white); border-color: var(--ink); }
.ft-legal {
  border-top: 1px solid var(--ink);
  padding-top: 14px;
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink);
}

/* ============ WebGL fallback : the photo hero already stands on its own ============ */
body.no-webgl #scene, body.no-webgl #stage-ui { display: none; }
body.no-webgl .scrolly { height: 0; }

/* focus */
a:focus-visible, button:focus-visible {
  outline: 1px solid var(--ink);
  outline-offset: 3px;
}
