/* ============================================================
   SITOT — system.css
   Single source of truth for all styling.
   ============================================================ */

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; }
/* Disable iOS double-tap highlight; we use explicit :active instead */
* { -webkit-tap-highlight-color: transparent; }
/* Prevent iOS Safari pull-to-refresh / overscroll bounce on body */
body { overscroll-behavior-y: contain; }

/* === SELF-HOSTED FONTS ===
   Manrope + Fraunces served locally (latin + latin-ext subsets) — no requests to Google.
   Mirrors Google Fonts' output: both are variable fonts, so one woff2 per subset is
   reused across weights. NOTE: Manrope has no italic by design — italic Manrope is
   browser-synthesized; do NOT add a Manrope-italic @font-face. */
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/manrope-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/manrope-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/manrope-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/manrope-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/manrope-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/manrope-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/manrope-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/manrope-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/fraunces-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/fraunces-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/fraunces-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/fraunces-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 800; font-display: swap; src: url('fonts/fraunces-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/fraunces-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/fraunces-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/fraunces-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/fraunces-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 800; font-display: swap; src: url('fonts/fraunces-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Fraunces'; font-style: italic; font-weight: 800; font-display: swap; src: url('fonts/fraunces-italic-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Fraunces'; font-style: italic; font-weight: 800; font-display: swap; src: url('fonts/fraunces-italic-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* === TOKENS === */
:root {
  /* colors */
  --paper: #FAF8F3;
  --ink: #1C1B17;
  --brick: #B85C3C;
  --brick-dark: #A04B2E;
  --peach: #F0DDD2;
  --rule: rgba(28,27,23,0.12);
  --rule-strong: rgba(28,27,23,0.22);
  --muted: #6B6660;
  --check: #2D8659;
  --placeholder: #D4D2CD;

  /* type */
  --font-sans: 'Manrope', system-ui, -apple-system, sans-serif;
  --font-display: 'Fraunces', Georgia, serif;

  /* shadows */
  --shadow-card: 0 1px 2px rgba(28,27,23,0.04), 0 4px 12px rgba(28,27,23,0.04);
  --shadow-card-hover: 0 1px 2px rgba(28,27,23,0.06), 0 8px 24px rgba(28,27,23,0.08);
  --shadow-nav: 0 1px 2px rgba(28,27,23,0.04), 0 4px 16px rgba(28,27,23,0.06);

  /* layout */
  --container-max: 1200px;
  --container-pad: 32px;
  --easing-out: cubic-bezier(0.4, 0, 0.2, 1);
}

/* === BASE TYPOGRAPHY === */
html, body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Fluid type with clamp() — body-text floor 16px (no iOS auto-zoom) */
.h0 { font: 700 clamp(38px, 8vw, 64px)/1.02 var(--font-sans); letter-spacing: -0.02em; color: var(--ink); margin: 0; text-wrap: balance; }
.h1 { font: 700 clamp(32px, 6.5vw, 56px)/1.04 var(--font-sans); letter-spacing: -0.02em; color: var(--ink); margin: 0; text-wrap: balance; }
.h2 { font: 700 clamp(26px, 4.5vw, 36px)/1.08 var(--font-sans); letter-spacing: -0.01em; color: var(--ink); margin: 0; text-wrap: balance; }
.h3 { font: 600 clamp(18px, 2.5vw, 22px)/1.25 var(--font-sans); color: var(--ink); margin: 0; text-wrap: balance; }
h1, h2, h3, h4 { text-wrap: balance; }

.h0--narrow-18 { max-width: 18ch; margin: 0 auto 24px; }
.h0--narrow-22 { max-width: 22ch; margin: 0 auto 24px; }
.h0--narrow-22-tight { max-width: 22ch; margin: 0 auto; }
.h1--narrow-18 { max-width: 18ch; margin: 0 auto 24px; }

.contact-h1 { max-width: none; }
.contact-h1__line { display: inline-block; white-space: nowrap; }
@media (max-width: 768px) {
  .contact-h1__line { white-space: normal; display: inline; }
}

.body { font: 400 16px/1.6 var(--font-sans); color: var(--ink); margin: 0; text-wrap: pretty; }
.lead { font: 400 clamp(16px, 2.5vw, 19px)/1.5 var(--font-sans); color: var(--muted); margin: 0; text-wrap: pretty; }
.caption { font: 500 13px/1.45 var(--font-sans); color: var(--muted); margin: 0; text-wrap: pretty; }
.tnum { font-variant-numeric: tabular-nums; }
/* Apply pretty-wrap globally to paragraphs to handle widows */
p { text-wrap: pretty; }

.spaced-caps {
  display: inline-block;
  font: 600 11px/1 var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink);
  margin: 0 0 16px;
}
.spaced-caps--brick { color: var(--brick); }
.spaced-caps--muted { color: var(--muted); }
.spaced-caps--paper { color: var(--paper); }
.spaced-caps--no-mb { margin: 0; }

/* Highlight pill — inline body emphasis, also used by GSAP wipe-in.
   Long pills wrap gracefully: box-decoration-break paints the pill
   background on each line segment so the emphasis stays intact. */
.pill {
  background: var(--peach);
  color: var(--ink);
  padding: 0.06em 0.4em;
  border-radius: 6px;
  font-weight: 500;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  transform-origin: left center;
}

/* Skip-to-content link — first focusable element, hidden until focused */
.skip-link {
  position: absolute;
  top: 0;
  left: 0;
  padding: 12px 16px;
  background: var(--ink);
  color: var(--paper);
  font: 600 14px/1 var(--font-sans);
  text-decoration: none;
  border-radius: 0 0 8px 0;
  z-index: 1000;
  transform: translateY(-100%);
  transition: transform 160ms var(--easing-out);
}
.skip-link:focus {
  transform: translateY(0);
  outline: 2px solid var(--brick);
  outline-offset: 2px;
}

/* Visible keyboard focus ring on every interactive element */
:focus-visible {
  outline: 2px solid var(--brick);
  outline-offset: 2px;
  border-radius: 2px;
}
/* Suppress focus ring on mouse interactions (only show for keyboard) */
:focus:not(:focus-visible) { outline: none; }

/* In-text link in legal/prose contexts */
.text-link-brick { color: var(--brick); }

/* Field hint inside <label> */
.field-hint {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  color: var(--muted);
  font-size: 11px;
}

/* === LAYOUT PRIMITIVES === */
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--container-pad); }
.container--narrow { max-width: 800px; }
.container--md { max-width: 900px; }
.container--text-center { text-align: center; }

.section { padding: 96px 0; }
.section--lg { padding: 128px 0; }
.section--sm { padding: 64px 0; }
.section--ink { background: var(--ink); color: var(--paper); }
.section--peach { background: var(--peach); }

.section-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.section-head--left { margin-left: 0; text-align: left; }
.section-title { font: 700 42px/1.05 var(--font-sans); letter-spacing: -0.01em; margin: 0 0 16px; color: var(--ink); }
.section-title--centered-narrow { margin: 0 auto 24px; max-width: 24ch; }
.section--ink .section-title { color: var(--paper); }
.section-lede { font: 400 19px/1.5 var(--font-sans); color: var(--muted); margin: 0 auto; max-width: 56ch; }
.section--ink .section-lede { color: rgba(250,248,243,0.7); }

/* === WORDMARK & LOCKUPS === */
.wordmark {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  letter-spacing: -0.045em;
  color: var(--ink);
  display: inline-flex;
  align-items: baseline;
  line-height: 1;
  text-decoration: none;
  /* Atomic — never split "sitot" + dot across lines */
  white-space: nowrap;
}
.wordmark__dot {
  display: inline-block;
  width: 0.5em; height: 0.5em;
  border-radius: 50%;
  background: var(--brick);
  margin: 0 0.04em 0 0.16em;
  align-self: baseline;
  transform: translateY(0);
  flex: none;
}
.wordmark--paper { color: var(--paper); }
.wordmark--lg { font-size: 24px; }

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: background 160ms var(--easing-out), color 160ms var(--easing-out), transform 160ms var(--easing-out), box-shadow 160ms var(--easing-out);
  border: 0;
  white-space: nowrap;
  text-decoration: none;
}
.btn-sm { height: 36px; min-width: 44px; padding: 0 12px; font-size: 13px; }
.btn-md { height: 44px; min-width: 44px; padding: 0 20px; font-size: 15px; }
.btn-lg { height: 56px; min-width: 44px; padding: 0 28px; font-size: 16px; }
/* Explicit press feedback for touch */
.btn:active { transform: translateY(0) scale(0.985); }

.btn-primary { background: var(--brick); color: var(--paper); }
.btn-primary:hover { background: var(--brick-dark); transform: translateY(-1px); }
.btn-primary:active { background: var(--brick-dark); box-shadow: inset 0 1px 0 rgba(0,0,0,0.18); transform: translateY(0); }

.btn-secondary { background: var(--paper); color: var(--ink); border: 1.5px solid var(--ink); }
.btn-secondary:hover { background: var(--peach); transform: translateY(-1px); }
.btn-secondary:active { background: var(--peach); box-shadow: inset 0 1px 0 rgba(0,0,0,0.10); transform: translateY(0); }

.btn-secondary--dark { background: transparent; color: var(--paper); border: 1.5px solid var(--paper); }
.btn-secondary--dark:hover { background: rgba(250,248,243,0.08); }

.btn-tertiary { background: transparent; color: var(--brick); padding: 0; height: auto; }
.btn-tertiary:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }

.btn-full { width: 100%; }

/* === COMPONENTS === */

/* --- Nav --- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  transition: box-shadow 200ms var(--easing-out);
  /* Respect iOS notch */
  padding-top: env(safe-area-inset-top);
}
.nav.is-scrolled { box-shadow: var(--shadow-nav); }
.nav__row {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__brand { font-size: 24px; }
.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav__link {
  font: 500 14px/1 var(--font-sans);
  color: var(--ink);
  text-decoration: none;
  padding: 4px 0;
  position: relative;
  transition: color 160ms var(--easing-out);
}
.nav__link:hover { color: var(--brick); }
.nav__link[aria-current="page"]::after,
.page-offre        .nav__link[href="offre.html"]::after,
.page-offre        .nav__link[href="/offre"]::after,
.page-voici        .nav__link[href="voici-notre-travail.html"]::after,
.page-voici        .nav__link[href="/voici-notre-travail"]::after,
.page-a-propos     .nav__link[href="a-propos.html"]::after,
.page-a-propos     .nav__link[href="/a-propos"]::after,
.page-valeurs      .nav__link[href="nos-valeurs.html"]::after,
.page-valeurs      .nav__link[href="/nos-valeurs"]::after,
.page-contact      .nav__link[href="contact.html"]::after,
.page-contact      .nav__link[href="/contact"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -4px;
  height: 1.5px;
  background: var(--brick);
}
.nav__overlay-links a { position: relative; }
.nav__overlay-links a[aria-current="page"],
.page-offre    .nav__overlay-links a[href="offre.html"],
.page-offre    .nav__overlay-links a[href="/offre"],
.page-voici    .nav__overlay-links a[href="voici-notre-travail.html"],
.page-voici    .nav__overlay-links a[href="/voici-notre-travail"],
.page-a-propos .nav__overlay-links a[href="a-propos.html"],
.page-a-propos .nav__overlay-links a[href="/a-propos"],
.page-valeurs  .nav__overlay-links a[href="nos-valeurs.html"],
.page-valeurs  .nav__overlay-links a[href="/nos-valeurs"],
.page-contact  .nav__overlay-links a[href="contact.html"],
.page-contact  .nav__overlay-links a[href="/contact"] {
  color: var(--brick);
}
.nav__overlay-links a[aria-current="page"]::after,
.page-offre    .nav__overlay-links a[href="offre.html"]::after,
.page-offre    .nav__overlay-links a[href="/offre"]::after,
.page-voici    .nav__overlay-links a[href="voici-notre-travail.html"]::after,
.page-voici    .nav__overlay-links a[href="/voici-notre-travail"]::after,
.page-a-propos .nav__overlay-links a[href="a-propos.html"]::after,
.page-a-propos .nav__overlay-links a[href="/a-propos"]::after,
.page-valeurs  .nav__overlay-links a[href="nos-valeurs.html"]::after,
.page-valeurs  .nav__overlay-links a[href="/nos-valeurs"]::after,
.page-contact  .nav__overlay-links a[href="contact.html"]::after,
.page-contact  .nav__overlay-links a[href="/contact"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: 4px;
  height: 2px;
  background: var(--brick);
}
.nav__cta { display: inline-flex; }
.nav__burger {
  display: none;
  background: transparent;
  border: 0;
  padding: 10px;
  cursor: pointer;
  color: var(--ink);
  /* 44×44 minimum touch target on mobile */
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}
.nav__burger svg { width: 24px; height: 24px; }

/* Mobile menu overlay — 100dvh prevents iOS bottom-bar pop-in jitter */
.nav__overlay {
  position: fixed;
  inset: 0;
  height: 100vh;
  height: 100dvh;
  background: var(--paper);
  z-index: 100;
  padding: max(24px, env(safe-area-inset-top)) 32px max(32px, env(safe-area-inset-bottom));
  flex-direction: column;
  display: flex;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 240ms var(--easing-out), transform 240ms var(--easing-out), visibility 240ms;
}
.nav__overlay.is-open {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}
.nav__overlay-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 48px;
}
.nav__overlay-links {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.nav__overlay-links a {
  font: 600 24px/1.2 var(--font-sans);
  color: var(--ink);
  text-decoration: none;
  /* 44px tap target */
  display: inline-block;
  padding: 8px 0;
}
.nav__overlay-cta { margin-top: 32px; align-self: flex-start; }

/* --- Footer --- */
.footer {
  background: var(--ink);
  color: var(--paper);
  padding: 64px 0 32px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer__brand { font-size: 32px; margin-bottom: 16px; }
.footer__brand .wordmark__dot { background: var(--brick); }
.footer__tagline { font: 400 14px/1.5 var(--font-sans); color: rgba(250,248,243,0.6); margin: 0 0 20px; max-width: 32ch; }
.footer__address { font: 400 13px/1.5 var(--font-sans); color: rgba(250,248,243,0.55); margin: 0; }
.footer__col-title {
  font: 600 11px/1 var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--paper);
  margin: 0 0 20px;
}
.footer__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.footer__list a {
  font: 400 14px/1.4 var(--font-sans);
  color: rgba(250,248,243,0.7);
  text-decoration: none;
  transition: color 160ms var(--easing-out);
}
.footer__list a:hover { color: var(--brick); }
.footer__bottom {
  border-top: 1px solid rgba(250,248,243,0.15);
  padding-top: 24px;
  text-align: center;
  font: 400 12px/1.4 var(--font-sans);
  color: rgba(250,248,243,0.5);
}

/* === PRICING VITRINE === */
/* V10 "Vitrine" pricing — photo hero + dual price strips, Brique palette.
   Replaces the former .pricing/.pcard cards. Used on index.html + offre.html. */
.pricing-vitrine {
  --vitrine-strips-bg: var(--brick);
  --vitrine-card-bg: var(--paper);
  --vitrine-card-bg-featured: var(--peach);
}
/* offre.html: pricing section has no header — pull the stage up to the hero */
.page-offre .pricing-vitrine { padding-top: 0; }

/* Stage = photo + strips */
.vitrine-stage { position: relative; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-card); }
/* min-height guards against the photo getting shorter than its overlay copy
   at narrow widths (engages only below ~560px) — prevents the credit/lead overlap. */
.vitrine-photo { position: relative; aspect-ratio: 16 / 8; min-height: 380px; background: var(--ink); }
.vitrine-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vitrine-photo__veil { position: absolute; inset: 0; background: linear-gradient(95deg, rgba(28,27,23,0.85) 0%, rgba(28,27,23,0.45) 45%, rgba(28,27,23,0.15) 100%); }
.vitrine-photo__seam { position: absolute; left: 0; right: 0; bottom: 0; height: 38%; pointer-events: none; z-index: 2; background: linear-gradient(180deg, transparent 0%, var(--vitrine-strips-bg) 100%); }
.vitrine-photo__copy { position: absolute; left: 56px; top: 56px; right: 56px; color: var(--paper); z-index: 2; max-width: 560px; }
.vitrine-photo__eye { font: 700 12px/1 var(--font-sans); color: var(--brick); letter-spacing: 0.14em; text-transform: uppercase; margin: 0 0 16px; }
.vitrine-photo__eye sup { font-size: 0.7em; }
.vitrine-photo__title { font: 700 52px/1.04 var(--font-sans); letter-spacing: -0.025em; margin: 0 0 16px; max-width: 14ch; }
.vitrine-photo__title .ac { color: var(--brick); }
.vitrine-photo__lead { font: 400 16px/1.5 var(--font-sans); opacity: 0.78; margin: 0; max-width: 38ch; }
.vitrine-photo__credit { position: absolute; right: 24px; bottom: 24px; color: var(--paper); opacity: 0.5; font: 500 11px/1 var(--font-sans); letter-spacing: 0.08em; text-transform: uppercase; z-index: 2; }

/* Price strips */
.vitrine-strips { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 24px; background: var(--vitrine-strips-bg); transition: background 200ms ease; }
.vitrine-strip { background: var(--vitrine-card-bg); border-radius: 10px; padding: 24px 28px; display: grid; grid-template-columns: 1.1fr auto 1.1fr; align-items: center; gap: 16px; position: relative; transition: background 200ms ease; }
.vitrine-strip--featured { background: var(--vitrine-card-bg-featured); }
.vitrine-strip__plan { position: absolute; top: -10px; left: 24px; background: var(--ink); color: var(--paper); font: 600 10px/1 var(--font-sans); padding: 5px 10px; border-radius: 4px; letter-spacing: 0.14em; text-transform: uppercase; }
.vitrine-strip--featured .vitrine-strip__plan { background: var(--brick); }

/* Anchor columns — setup price + recurring price */
.vitrine-anchor__col { display: flex; flex-direction: column; gap: 6px; }
.vitrine-anchor__col--right { text-align: right; align-items: flex-end; }
.vitrine-anchor__lbl { font: 600 11px/1 var(--font-sans); color: var(--muted); letter-spacing: 0.14em; text-transform: uppercase; margin: 0; }
.vitrine-anchor__big { font: 700 56px/0.95 var(--font-sans); color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: -0.03em; margin: 0; display: inline-flex; align-items: baseline; gap: 4px; }
.vitrine-anchor__big--brick { color: var(--brick); }
.vitrine-anchor__big .currency { font-size: 0.4em; font-weight: 600; margin-top: 0.5em; align-self: flex-start; }
.vitrine-anchor__big .per { font-size: 0.24em; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-left: 4px; align-self: flex-end; padding-bottom: 0.55em; text-transform: lowercase; }
.vitrine-anchor__big--brick .per { color: var(--brick); opacity: 0.7; }
.vitrine-anchor__sub { font: 500 12px/1.4 var(--font-sans); color: var(--muted); margin: 0; font-variant-numeric: tabular-nums; }
.vitrine-anchor__plus { font: 700 28px/1 var(--font-sans); color: var(--ink); align-self: center; padding: 0 4px; }

/* Foot, detail link, trust strip, TVA notice */
.vitrine-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 24px; flex-wrap: wrap; gap: 16px; }
.vitrine-foot__cta { display: flex; gap: 12px; }
.vitrine-detail { margin-top: 16px; }
.vitrine-trust { display: flex; gap: 32px; padding: 20px 0 0; margin-top: 32px; border-top: 1px solid var(--rule); flex-wrap: wrap; }
.vitrine-trust__item { display: inline-flex; align-items: center; gap: 8px; font: 500 13px/1 var(--font-sans); color: var(--ink); }
.vitrine-trust__check { flex: none; width: 16px; height: 16px; color: var(--check); }
.vitrine-tva { font: 400 12px/1.5 var(--font-sans); color: var(--muted); margin: 24px 0 0; }

/* --- FAQ accordion (CSS only, no GSAP) --- */
.faq { max-width: 800px; margin: 0 auto; }
.faq-item { border-top: 1px solid var(--rule); }
.faq-item:last-child { border-bottom: 1px solid var(--rule); }
.faq-q {
  width: 100%;
  background: transparent;
  border: 0;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  text-align: left;
  cursor: pointer;
  font: 600 17px/1.35 var(--font-sans);
  color: var(--ink);
}
.faq-q__icon { flex: none; width: 20px; height: 20px; transition: transform 200ms var(--easing-out); }
.faq-item.is-open .faq-q__icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 240ms var(--easing-out), padding 240ms var(--easing-out); }
.faq-item.is-open .faq-a { max-height: 600px; padding: 0 0 24px; }
.faq-a__inner { font: 400 15px/1.6 var(--font-sans); color: var(--muted); max-width: 60ch; }

/* --- Placeholder image --- */
.placeholder {
  background: var(--placeholder);
  color: rgba(28,27,23,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font: 600 11px/1.3 var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-align: center;
  padding: 16px;
}
.placeholder--16x10 { aspect-ratio: 16/10; }
.placeholder--4x3 { aspect-ratio: 4/3; }
.placeholder--4x5 { aspect-ratio: 4/5; }
.placeholder--rounded-12 { border-radius: 12px; }
.placeholder--rounded-16 { border-radius: 16px; }
.placeholder--rounded-top { border-radius: 12px 12px 0 0; }

/* --- Closer --- */
.closer { background: var(--ink); color: var(--paper); padding: 128px 0; text-align: center; }
.closer__inner { max-width: 760px; margin: 0 auto; }
.closer__title { font: 700 48px/1.06 var(--font-sans); letter-spacing: -0.02em; color: var(--paper); margin: 0 0 20px; }
.closer__lede { font: 400 18px/1.55 var(--font-sans); color: rgba(250,248,243,0.7); margin: 0 0 36px; }
.closer__cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 36px; }
.closer__rule { border: 0; border-top: 1px solid rgba(250,248,243,0.15); margin: 0 auto 24px; max-width: 480px; }
.closer__contact { font: 400 13px/1.5 var(--font-sans); color: rgba(250,248,243,0.6); margin: 0; }

/* --- Demo gallery + modal: see the DEMOS GALLERY / DEMOS MODAL
   sections further down (voici-notre-travail) --- */

/* --- Form (contact) --- */
.form-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 40px;
}
.form-title { font: 600 18px/1.2 var(--font-sans); margin: 0 0 24px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font: 600 11px/1 var(--font-sans); text-transform: uppercase; letter-spacing: 0.14em; color: var(--ink); }
.field input,
.field textarea {
  /* 16px font on mobile prevents iOS Safari auto-zoom on focus */
  font: 400 16px/1.4 var(--font-sans);
  background: var(--paper);
  border: 1.5px solid var(--rule);
  border-radius: 8px;
  padding: 14px 16px;
  color: var(--ink);
  transition: border-color 160ms var(--easing-out);
  font-family: var(--font-sans);
  width: 100%;
}
.field input:focus,
.field textarea:focus { outline: none; border-color: var(--ink); }
.field.is-invalid input,
.field.is-invalid textarea { border-color: var(--brick); }
.field__error {
  font: 500 12px/1.4 var(--font-sans);
  color: var(--brick);
  margin: 4px 0 0;
  min-height: 0;
}
.field textarea { resize: vertical; min-height: 120px; }
.form-fineprint { font: 400 12px/1.5 var(--font-sans); color: var(--muted); margin: 16px 0 0; }
.form-status {
  font: 500 13px/1.4 var(--font-sans);
  color: var(--check);
  margin: 12px 0 0;
}
.form-status:empty { display: none; }

.contact-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 48px;
  max-width: 1100px;
  margin: 0 auto;
}
.contact-side { padding: 8px 0; }
.contact-block { padding: 24px 0; border-top: 1px solid var(--rule); }
.contact-block:last-child { border-bottom: 1px solid var(--rule); }
.contact-block__label {
  font: 600 11px/1 var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin: 0 0 10px;
}
.contact-block__value-md { font: 600 18px/1.3 var(--font-sans); color: var(--ink); margin: 0 0 6px; word-break: break-word; }
.contact-block__value { font: 500 16px/1.4 var(--font-sans); color: var(--ink); margin: 0 0 4px; }
.contact-block__meta { font: 400 13px/1.4 var(--font-sans); color: var(--muted); margin: 0; }

/* --- Color utilities for dark sections --- */
.paper-text { color: var(--paper); }
.lead--paper { color: rgba(250,248,243,0.7); max-width: 60ch; margin: 0 auto; }

/* --- Founder rows (a-propos): h2 + meta caption tweaks --- */
.founder-name { margin: 8px 0 24px; }
.founder-meta { margin-top: 24px; }

/* --- Six-title (nos-valeurs dark section heading) --- */
.six-title { font-size: 36px; margin: 0 0 32px; }

/* --- Engagement block (nos-valeurs) --- */
.engagement {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
.engagement--reverse .engagement__media { order: 2; }
.engagement__media img {
  width: 100%;
  height: auto;
  display: block;
}
.engagement__num {
  font: 700 64px/1 var(--font-sans);
  color: var(--brick);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  margin: 0 0 12px;
}
.engagement__title { font: 700 32px/1.15 var(--font-sans); letter-spacing: -0.01em; color: var(--ink); margin: 8px 0 24px; max-width: 18ch; }
.engagement__body p { font: 400 17px/1.6 var(--font-sans); color: var(--ink); margin: 0 0 16px; }
.engagement__rule { border: 0; border-top: 1px solid var(--rule); margin: 28px 0 16px; }
.engagement__cgv { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

/* --- Legal pages --- */
.legal { max-width: 800px; margin: 0 auto; padding: 96px 32px; }
.legal__title { font: 700 36px/1.1 var(--font-sans); letter-spacing: -0.01em; margin: 0 0 12px; }
.legal__updated { font: 400 13px/1 var(--font-sans); color: var(--muted); margin: 0 0 48px; }
.legal__section { margin-bottom: 40px; }
.legal__section h2 { font: 700 22px/1.2 var(--font-sans); margin: 0 0 16px; color: var(--ink); }
.legal__section p { font: 400 16px/1.6 var(--font-sans); color: var(--ink); margin: 0 0 12px; }
.legal__section ul { font: 400 16px/1.6 var(--font-sans); padding-left: 20px; }
.legal__section ul li { margin-bottom: 6px; }
.legal__section a { color: var(--brick); text-decoration: underline; text-underline-offset: 3px; }

/* --- Prose blocks (a-propos / nos-valeurs) --- */
.prose {
  font: 400 16px/1.65 var(--font-sans);
  color: var(--ink);
  max-width: 50ch;
}
.prose--lg { font-size: 18px; }
.prose--center { margin: 0 auto; max-width: 60ch; }
.prose--paper { color: rgba(250,248,243,0.85); }
.prose p { margin: 0 0 16px; }
.prose p:last-child { margin: 0; }
.prose--lg p { margin: 0 0 20px; }

/* --- Founder row (a-propos) --- */
.founder-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
.founder-row__img {
  width: 100%;
  height: auto;
  aspect-ratio: 5/4;
  border-radius: 16px;
  object-fit: cover;
  display: block;
}

/* === PAGE-SPECIFIC === */

/* --- page-index: hero V4 (character + founder note + dots texture) --- */
.page-index .hero {
  position: relative;
  padding: 48px 0 56px;
  overflow: hidden;
}
/* Fixed dotted plane behind every page. z:-1 sits between body's paper
   background and every in-flow section — opaque sections (peach, ink)
   naturally veil the dots, transparent ones reveal them.
   `isolation: isolate` makes body its own stacking context so the
   negative z-index doesn't fall behind body's own --paper background.
   GPU-composited via position:fixed; no scroll listeners, no
   background-attachment:fixed (iOS-hostile). */
body { isolation: isolate; }
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: radial-gradient(rgba(28,27,23,0.08) 1.2px, transparent 1.6px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 50%, #000 55%, transparent 100%);
          mask-image: radial-gradient(ellipse 90% 80% at 50% 50%, #000 55%, transparent 100%);
}
.page-index .hero .container { position: relative; z-index: 1; }

.page-index .hero__grid {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  grid-template-areas:
    "copy art"
    "copy founder";
  column-gap: 52px;
  row-gap: 28px;
  align-items: center;
}
.page-index .hero__copy    { grid-area: copy;  align-self: center; min-width: 0; }
.page-index .hero__media   { grid-area: art;   align-self: end;    min-width: 0; }
.page-index .hero__founder {
  grid-area: founder;
  align-self: start;
  background: var(--peach);
  color: var(--ink);
  border-radius: 14px;
  padding: 26px 28px;
  box-shadow: var(--shadow-card);
}

/* Eyebrow */
.page-index .hero__eyebrow {
  font: 700 13px/1 var(--font-sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 28px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
}
.page-index .hero__eyebrow-rule {
  display: inline-block;
  width: 48px;
  height: 1.5px;
  background: var(--ink);
  transform-origin: left center;
}

/* Headline lockup — fluid clamp sized to fit two no-wrap lines in the copy column */
.page-index .hero__lockup {
  font: 700 clamp(34px, 4vw, 56px)/1.02 var(--font-sans);
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0 0 36px;
}
.page-index .hero__lockup .line { display: block; white-space: nowrap; }
.page-index .hero__lockup .wm {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  letter-spacing: -0.045em;
  color: var(--ink);
}
.page-index .hero__lockup .wm-dot {
  display: inline-block;
  width: 0.5em;
  height: 0.5em;
  border-radius: 50%;
  background: var(--brick);
  vertical-align: baseline;
  margin: 0 0.04em 0 0.16em;
  transform: translateY(0);
}
.page-index .hero__lockup .cont {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.03em;
}
.page-index .hero__lockup .echo {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  color: var(--brick);
  letter-spacing: -0.035em;
}

/* CTAs */
.page-index .hero__ctas { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.page-index .hero__cta-primary {
  border-radius: 10px;
  height: 60px;
  padding: 0 28px;
  box-shadow: 0 6px 18px rgba(184,92,60,0.22);
}
.page-index .hero__cta-secondary {
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  position: relative;
  padding: 0 0 6px;
  height: auto;
}
.page-index .hero__cta-secondary::after {
  content: "";
  position: absolute;
  left: 0; right: 32px;
  bottom: 0;
  height: 1.5px;
  background: var(--ink);
  transition: background 160ms var(--easing-out);
}
.page-index .hero__cta-secondary:hover { color: var(--brick); text-decoration: none; }
.page-index .hero__cta-secondary:hover::after { background: var(--brick); }

/* Claim */
.page-index .hero__claim {
  font: 500 16px/1.55 var(--font-sans);
  color: var(--ink);
  max-width: 48ch;
  margin: 0 0 32px;
}

/* Character illustration */
.page-index .hero__media { display: flex; justify-content: center; }
.page-index .hero__art-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 330px;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

/* Founder note */
.page-index .hero__founder-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(28,27,23,0.22);
  margin-bottom: 18px;
}
.page-index .hero__founder-eye {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font: 700 12px/1 var(--font-sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.page-index .hero__founder-rule {
  display: inline-block;
  width: 36px;
  height: 1.5px;
  background: var(--ink);
}
.page-index .hero__founder-sig {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}
.page-index .hero__founder-name {
  font: 800 italic 22px/1 var(--font-display);
  color: var(--brick);
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.page-index .hero__founder-role {
  font: 500 11px/1 var(--font-sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.page-index .hero__founder-body {
  margin: 0;
  font: 500 italic 17px/1.55 var(--font-sans);
  color: var(--ink);
}
.page-index .hero__founder-body .echo-inline {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--brick);
}

/* --- page-index: marquee --- */
.page-index .marquee-band { background: var(--peach); padding: 56px 0; overflow: hidden; }
.page-index .marquee {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: marquee 50s linear infinite;
}
.page-index .marquee__item {
  position: relative;
  width: 320px;
  aspect-ratio: 16 / 10;
  flex: none;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--rule);
  background: var(--placeholder);
  box-shadow: var(--shadow-card);
}
.page-index .marquee__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
/* Bottom gradient — keeps the wordmark + caption legible over any screenshot. */
.page-index .marquee__item::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 52%;
  background: linear-gradient(to bottom, rgba(28,27,23,0), rgba(28,27,23,0.82));
  pointer-events: none;
}
.page-index .marquee__label {
  position: absolute;
  left: 14px;
  bottom: 12px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.page-index .marquee__label .wordmark { font-size: 16px; }
.page-index .marquee__caption {
  font: 600 12px/1.3 var(--font-sans);
  color: var(--paper);
  letter-spacing: 0.01em;
}
.page-index .marquee__item--r1 { transform: rotate(-1.5deg); }
.page-index .marquee__item--r2 { transform: rotate(1deg); }
.page-index .marquee__item--r3 { transform: rotate(-0.5deg); }
.page-index .marquee__item--r4 { transform: rotate(2deg); }
.page-index .marquee__item--r5 { transform: rotate(-2deg); }
.page-index .marquee__item--r6 { transform: rotate(1.5deg); }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-50% - 12px)); }
}
/* Marquee items deep-link to their matching demo on voici-notre-travail.html.
   Hover/focus uses box-shadow + filter only — translateY would clobber the
   per-item rotation transform. Pausing the scroll on hover/focus-within
   keeps a moving target clickable. */
.page-index .marquee__item {
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 220ms var(--easing-out), filter 220ms var(--easing-out);
}
@media (hover: hover) {
  .page-index .marquee__item:hover,
  .page-index .marquee__item:focus-visible {
    box-shadow: 0 14px 32px rgba(28,27,23,0.20);
    filter: brightness(1.04);
  }
  .page-index .marquee-band:hover .marquee { animation-play-state: paused; }
}
.page-index .marquee-band:focus-within .marquee { animation-play-state: paused; }
.page-index .marquee__item:focus-visible {
  outline: 2px solid var(--brick);
  outline-offset: 4px;
}

/* --- page-index: manifeste --- */
.page-index .manifeste { padding: 128px 0; }
.page-index .manifeste__inner { max-width: 800px; margin: 0 auto; text-align: center; }
.page-index .manifeste__body {
  font: 400 22px/1.55 var(--font-sans);
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.005em;
}
.page-index .manifeste__pill {
  background: var(--peach);
  color: var(--ink);
  padding: 2px 10px;
  border-radius: 6px;
  font-weight: 500;
  /* Allow wrap: long pills paint background per line via box-decoration-break */
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  transform-origin: left center;
}
/* Short pills (e.g. "183 000 pros") stay atomic — only long ones wrap */
.page-index .manifeste__pill .countup { white-space: nowrap; }

/* --- page-index: engagements (dark) --- */
.page-index .engagements { background: var(--ink); color: var(--paper); padding: 128px 0; }
.page-index .engagements__head { max-width: 760px; margin: 0 auto 72px; text-align: center; }
.page-index .engagements__title {
  font: 700 36px/1.1 var(--font-sans);
  color: var(--paper);
  letter-spacing: -0.01em;
  margin: 0 0 16px;
}
.page-index .engagements__lede {
  font: 400 18px/1.55 var(--font-sans);
  color: rgba(250,248,243,0.6);
  margin: 0 auto;
  max-width: 56ch;
}
.page-index .engagements__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto 56px;
}
.page-index .ecard {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform 240ms var(--easing-out),
              box-shadow 240ms var(--easing-out),
              border-color 240ms var(--easing-out);
}
.page-index .ecard:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(184, 92, 60, 0.22);
  border-color: rgba(184, 92, 60, 0.5);
}
.page-index .ecard:focus-visible {
  outline: 2px solid var(--brick);
  outline-offset: 4px;
}
.page-index .ecard__icon { width: 32px; height: 32px; color: var(--brick); margin-bottom: 20px; }
.page-index .ecard__title { font: 700 18px/1.25 var(--font-sans); color: var(--ink); margin: 0 0 10px; }
.page-index .ecard__desc { font: 400 14px/1.5 var(--font-sans); color: var(--ink); margin: 0 0 24px; flex: 1; }
.page-index .ecard__rule { border: 0; border-top: 1px solid var(--rule); margin: 0 0 12px; }
.page-index .ecard__cgv {
  font: 600 11px/1 var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin: 0;
}
.page-index .engagements__foot { text-align: center; }

/* --- page-index: founders --- */
.page-index .founders { background: var(--peach); padding: 96px 0; }
.page-index .founders__inner { max-width: 900px; margin: 0 auto; text-align: center; }
.page-index .founders__photo {
  width: 100%;
  height: auto;
  aspect-ratio: 2.4/1;
  background: var(--placeholder);
  border-radius: 16px;
  margin: 24px 0 40px;
  object-fit: cover;
  display: block;
}
.page-index .founders__title {
  font: 700 38px/1.1 var(--font-sans);
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 auto 24px;
  max-width: 22ch;
}
.founders__title-accent { color: var(--brick); }
.page-index .founders__body {
  font: 400 18px/1.6 var(--font-sans);
  color: var(--ink);
  max-width: 64ch;
  margin: 0 auto 32px;
}

/* === DEMOS GALLERY === */
/* Gallery of 6 demo sites on voici-notre-travail.html. The wrapper uses
   .section-demos (not .section) so it is excluded from the GSAP opacity
   reveal in app.js — that reveal would otherwise hold the LCP thumbnail
   at opacity:0 until GSAP loads, wrecking Largest Contentful Paint. */
.section-demos { padding: 64px 0; }
.demos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

/* Wordmark scaled down for the thumbnail overlay. */
.wordmark--sm { font-size: 26px; }

/* Each demo is one clickable button — reset the button, then card chrome. */
.demo-tile {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  margin: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  text-align: left;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: transform 240ms var(--easing-out), box-shadow 240ms var(--easing-out);
}
@media (hover: hover) {
  .demo-tile:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
  }
}
.demo-tile:active { transform: translateY(-1px) scale(0.995); }
.demo-tile:focus-visible { outline-offset: 3px; border-radius: 12px; }
/* Sticky nav is 64px tall — gives the deep-linked tile breathing room. */
.demo-tile { scroll-margin-top: 88px; }
/* "Just arrived from marquee" highlight — three quick heartbeats, then gone.
   Animates box-shadow only so it never fights the hover translateY. Class is
   added by app-demos.js and removed on the visitor's first click anywhere. */
@keyframes demo-arrival-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(184,92,60,0), var(--shadow-card); }
  50%      { box-shadow: 0 0 0 6px rgba(184,92,60,0.78), 0 22px 44px rgba(184,92,60,0.28); }
}
.demo-tile.is-just-arrived {
  animation: demo-arrival-pulse 0.9s var(--easing-out) 3;
}
@media (prefers-reduced-motion: reduce) {
  .demo-tile.is-just-arrived {
    animation: none;
    box-shadow: 0 0 0 4px rgba(184,92,60,0.65), var(--shadow-card);
  }
}

/* Thumbnail — 16:10 hero screenshot. aspect-ratio reserves the layout box,
   so lazy images cause no CLS. */
.demo-tile__thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  height: auto;
  overflow: hidden;
  background: var(--placeholder);
}
.demo-tile__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.demo-tile__thumb::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 46%;
  background: linear-gradient(to bottom, rgba(28,27,23,0), rgba(28,27,23,0.74));
  pointer-events: none;
}
.demo-tile__wm {
  position: absolute;
  left: 20px;
  bottom: 16px;
  z-index: 1;
  color: var(--paper);
}

.demo-tile__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 24px 24px;
}
.demo-tile__title { font: 600 19px/1.3 var(--font-sans); color: var(--ink); }
.demo-tile__tag { font: 500 13px/1.5 var(--font-sans); color: var(--muted); }

/* === DEMOS MODAL === */
/* Floating-lightbox preview: device frame floats on a 90%-ink backdrop. */
.demos-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  background: rgba(28, 27, 23, 0.90);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 250ms var(--easing-out), visibility 0s linear 250ms;
}
.demos-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 250ms var(--easing-out), visibility 0s;
}
body.modal-open { overflow: hidden; }

.demos-modal__panel {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  padding: 20px clamp(16px, 4vw, 48px) clamp(20px, 4vw, 40px);
  transform: scale(0.96);
  transition: transform 250ms var(--easing-out);
}
.demos-modal.is-open .demos-modal__panel { transform: scale(1); }

.demos-modal__header {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
}
.demos-modal__title {
  min-width: 0;
  margin: 0;
  font: 600 clamp(16px, 2.4vw, 20px)/1.3 var(--font-sans);
  color: var(--paper);
}
.demos-modal__controls {
  flex: none;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Mobile / desktop toggle group */
.demos-modal__toggle {
  display: flex;
  gap: 2px;
  padding: 3px;
  background: rgba(250, 248, 243, 0.12);
  border-radius: 10px;
}
.demos-toggle {
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
  border: 0;
  width: 42px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: rgba(250, 248, 243, 0.62);
  border-radius: 7px;
  cursor: pointer;
  transition: background 160ms var(--easing-out), color 160ms var(--easing-out);
}
.demos-toggle svg { width: 20px; height: 20px; }
.demos-toggle:hover { color: var(--paper); }
.demos-toggle.is-active { background: var(--paper); color: var(--ink); }
.demos-toggle:focus-visible { border-radius: 7px; }

.demos-modal__close {
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
  border: 0;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(250, 248, 243, 0.12);
  color: var(--paper);
  border-radius: 50%;
  cursor: pointer;
  transition: background 160ms var(--easing-out);
}
.demos-modal__close svg { width: 20px; height: 20px; }
.demos-modal__close:hover { background: rgba(250, 248, 243, 0.24); }
.demos-modal__close:focus-visible { border-radius: 50%; }

/* Stage — both device frames absolutely centred, cross-faded on toggle. */
.demos-modal__stage {
  flex: 1;
  position: relative;
  min-height: 0;
}
.demos-modal__frame {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.98);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 260ms var(--easing-out), transform 260ms var(--easing-out), visibility 0s linear 260ms;
}
/* A frame is "active" only while the modal is open — otherwise the closed
   modal's hidden/non-interactive state would be overridden here, leaving an
   invisible frame intercepting clicks in the centre of the page. */
.demos-modal.is-open .demos-modal__stage.is-mobile .device-iphone,
.demos-modal.is-open .demos-modal__stage.is-desktop .device-mac {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
  transition: opacity 260ms var(--easing-out), transform 260ms var(--easing-out), visibility 0s;
}

/* Hidden-but-functional scrollbars inside both device screens. */
.device-iphone__screen,
.device-mac__body { scrollbar-width: none; }
.device-iphone__screen::-webkit-scrollbar,
.device-mac__body::-webkit-scrollbar { display: none; }

/* iPhone frame — pure CSS, anthracite body, Dynamic Island, home bar. */
.device-iphone {
  width: 380px;
  max-width: 86vw;
  height: min(76vh, 760px);
  padding: 14px 12px;
  background: linear-gradient(155deg, #2c2c2e, #1a1a1c);
  border-radius: 40px;
  /* Outer hairline rim defines the silhouette against the dark backdrop
     (a drop shadow alone is invisible on dark). */
  box-shadow: 0 0 0 1.5px rgba(255,255,255,0.16),
              0 26px 60px -18px rgba(0,0,0,0.7),
              inset 0 0 0 1px rgba(255,255,255,0.06);
}
.device-iphone__screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 28px;
  overflow: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--paper);
}
.device-iphone__screen img { width: 100%; height: auto; }
.device-iphone__island {
  position: absolute;
  top: 25px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 30px;
  background: #000;
  border-radius: 999px;
  z-index: 2;
}
.device-iphone__home {
  position: absolute;
  bottom: 9px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 5px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  z-index: 2;
}

/* Mac browser-window frame — pure CSS, traffic lights + URL pill. */
.device-mac {
  width: min(94vw, 1040px);
  height: min(76vh, 680px);
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 40px 90px -24px rgba(0,0,0,0.62);
}
.device-mac__bar {
  position: relative;
  flex: none;
  height: 40px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  background: #e8e8e8;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.device-mac__lights { display: flex; gap: 6px; }
.device-mac__lights i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.device-mac__lights i:nth-child(1) { background: #ff5f57; }
.device-mac__lights i:nth-child(2) { background: #febc2e; }
.device-mac__lights i:nth-child(3) { background: #28c840; }
.device-mac__url {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  max-width: 56%;
  padding: 5px 14px;
  background: #f6f6f4;
  border-radius: 7px;
  font: 500 12px/1 var(--font-sans);
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.device-mac__body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--paper);
}
.device-mac__body img { width: 100%; height: auto; }

/* === ANIMATIONS === */
/* GSAP timeline targets reach their natural rendered state, then GSAP's
   `from()` rewinds them to opacity:0 + y offset on the first frame.
   Defer-loaded scripts mean any flash before GSAP catches the initial
   frame is sub-perceptual. Elements stay visible if JS fails to load. */

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .h0 { font-size: 52px; }
  .h1 { font-size: 44px; }
  .section-title { font-size: 36px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .articles-grid { grid-template-columns: 1fr 1fr; }
  .page-index .engagements__grid { grid-template-columns: repeat(2, 1fr); }

  /* Pricing vitrine — strips stack, photo shortens */
  .vitrine-photo { aspect-ratio: 16 / 10; }
  .vitrine-photo__copy { left: 32px; right: 32px; top: 32px; }
  .vitrine-photo__title { font-size: 40px; }
  .vitrine-strips { grid-template-columns: 1fr; }
  .vitrine-strip { grid-template-columns: 1fr; row-gap: 12px; }
  .vitrine-anchor__col--right { text-align: left; align-items: flex-start; }
  .vitrine-anchor__plus { padding: 4px 0; }
  .vitrine-anchor__big { font-size: 44px; }
}

@media (max-width: 768px) {
  :root { --container-pad: 20px; }
  .section { padding: 64px 0; }
  .section--lg { padding: 80px 0; }
  .h0 { font-size: 38px; }
  .h1 { font-size: 36px; }
  .h2 { font-size: 28px; }
  .section-title { font-size: 28px; }
  .closer { padding: 80px 0; }
  .closer__title { font-size: 32px; }

  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: inline-flex; }

  /* Pricing vitrine — typography down, CTAs stack full-width */
  .vitrine-photo__title { font-size: 32px; }
  .vitrine-photo__lead { font-size: 15px; }
  .vitrine-foot { flex-direction: column; align-items: stretch; }
  .vitrine-foot__cta { flex-direction: column; }
  .vitrine-foot__cta .btn { width: 100%; }
  .demos { grid-template-columns: 1fr; gap: 24px; }

  .demos-modal__panel { padding: 14px 14px 18px; }
  .demos-modal__header { padding-bottom: 12px; }
  .device-iphone { height: min(74vh, 620px); }
  .device-mac { height: min(64vh, 470px); }
  .articles-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .founder-row { grid-template-columns: 1fr; gap: 32px; }

  .engagement { grid-template-columns: 1fr; gap: 32px; }
  .engagement--reverse .engagement__media { order: 0; }
  .engagement__title { font-size: 26px; }

  .form-card { padding: 24px; }
  .article-featured { padding: 32px 24px; }
  .article-featured__title { font-size: 24px; }

  .legal { padding: 64px 20px; }
  .legal__title { font-size: 28px; }

  .page-index .hero { padding: 24px 0 40px; }
  .page-index .hero__grid { grid-template-columns: 1fr; grid-template-areas: "copy" "art" "founder"; row-gap: 28px; }
  .page-index .hero__eyebrow { font-size: 12px; letter-spacing: 0.16em; margin-bottom: 24px; gap: 12px; }
  .page-index .hero__eyebrow-rule { width: 32px; }
  .page-index .hero__lockup { letter-spacing: -0.025em; margin-bottom: 28px; }
  .page-index .hero__lockup .line { white-space: normal; }
  .page-index .hero__claim { max-width: none; }
  .page-index .hero__ctas { flex-direction: column; align-items: stretch; gap: 16px; }
  .page-index .hero__cta-primary { width: 100%; height: 56px; padding: 0 20px; border-radius: 10px; }
  .page-index .hero__cta-secondary { align-self: flex-start; padding-bottom: 4px; }
  .page-index .hero__art-img { max-height: 250px; }
  .page-index .hero__founder-body { font-size: 16px; }
  .page-index .marquee-band { padding: 40px 0; }
  .page-index .marquee__item { width: 240px; }
  .page-index .manifeste { padding: 72px 0; }
  .page-index .manifeste__body { font-size: 18px; }
  .page-index .engagements { padding: 80px 0; }
  .page-index .engagements__grid { grid-template-columns: 1fr; }
  .page-index .founders { padding: 64px 0; }
  .page-index .founders__title { font-size: 28px; }
  .page-index .founders__body { font-size: 16px; }
}

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

/* === REDUCED MOTION === */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .page-index .marquee { animation: none; }
}

/* === DEMO ONBOARDING CUES (first-visit, subtle pulse) ============================ */

/* Make the toggle group a positioning context so the ring and caption can attach
   directly to it. Additive — does not change visual layout. */
.demos-modal__toggle { position: relative; }

/* Base: every cue starts hidden and fades in when the panel's state flips. */
.demo-cue {
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms var(--easing-out);
}
.demos-modal__panel[data-cues-state="visible"] .demo-cue { opacity: 1; }

/* --- Scroll cue: pinned inside the iPhone frame, above the home bar ----------- */
/* The cue is a sibling of .device-iphone__screen, so it is NOT clipped by the
   screen's overflow:hidden. .device-iphone is itself position:absolute (via
   .demos-modal__frame), so this absolute child positions against it. */
.demo-cue--scroll {
  position: absolute;
  left: 50%;
  bottom: 18px;                /* home bar top is at 14px from bottom → 4px gap above it */
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 14px 10px;
  background: rgba(28, 27, 23, 0.72);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border-radius: 14px;
  z-index: 3;                  /* above .device-iphone__home (z:2) and the screen */
}
.demo-cue--scroll .demo-cue__icon {
  width: 26px; height: 26px;
  color: var(--paper);
  /* Animation gated on the panel's visible state below — no point bouncing
     a hidden icon (and keeps it consistent with the ring). */
}
.demo-cue--scroll .demo-cue__text {
  margin: 0;
  font: 600 11px/1 var(--font-sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper);
}

/* --- Toggle ring: wraps the toggle group with a 6px outset, evenly all sides --- */
/* inset:-6px expands the box 6px outside on every side. Toggle has border-radius
   10px → ring outer-radius 16px keeps corners concentric. */
.demo-cue--ring {
  position: absolute;
  inset: -6px;
  border: 1.5px solid var(--brick);
  border-radius: 16px;
  /* Animation is gated on the panel's visible state below, so the ring is
     truly static when cues are hidden (the keyframes animate opacity, which
     would otherwise override the .demo-cue cascade and pulse forever). */
}

/* --- Toggle caption: centered below the toggle group --------------------------- */
.demo-cue--label {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 10px;            /* 6px ring outset + 4px gap */
  font: 600 11px/1 var(--font-sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper);
  white-space: nowrap;
}

@keyframes cue-bounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(6px); }
}
@keyframes cue-pulse-ring {
  /* Baseline 0.25 (never fully invisible) → peak 0.75. Avoids the every-1.8s
     "ring blinks out" perception; pulse still reads as motion. */
  0%, 100% { opacity: 0.25; transform: scale(1); }
  50%      { opacity: 0.75; transform: scale(1.06); }
}

/* Animations run ONLY when the panel's cue state is visible. This is what
   makes the dismiss-on-interaction actually look like a dismiss — without
   gating, the keyframes' animated opacity overrides the .demo-cue cascade
   and the ring (and icon) keep moving forever. */
.demos-modal__panel[data-cues-state="visible"] .demo-cue--ring {
  animation: cue-pulse-ring 1.8s ease-in-out infinite;
}
.demos-modal__panel[data-cues-state="visible"] .demo-cue--scroll .demo-cue__icon {
  animation: cue-bounce 1.8s ease-in-out infinite;
}

/* --- Responsive: mobile (≤600px) ---------------------------------------------- */
@media (max-width: 600px) {
  .demo-cue--scroll {
    bottom: 18px;              /* same 4px gap above home bar as desktop */
    padding: 7px 12px 9px;
  }
  .demo-cue--scroll .demo-cue__icon { width: 22px; height: 22px; }
  .demo-cue--scroll .demo-cue__text { font-size: 10px; letter-spacing: 0.12em; }

  /* On mobile the header has only 12px bottom padding — a caption below the
     toggle would overlap the stage / iPhone. Ring pulse alone is enough. */
  .demo-cue--label { display: none; }
}

/* --- Reduced motion: kill the pulse, keep a static visible cue ----------------- */
/* The global rule above sets animation-duration:0.01ms !important, which snaps
   the keyframes instantly to their end state. Without this override, the ring
   reverts to opacity 1 (visible-state cascade) — but we want a softer static
   ring when motion is suppressed, so it reads as a labelled marker rather than
   a solid border. Selector specificity matches the visible-state rule so this
   wins by source-order. */
@media (prefers-reduced-motion: reduce) {
  .demos-modal__panel[data-cues-state="visible"] .demo-cue--ring {
    opacity: 0.5;
    transform: scale(1);
  }
}
