:root {
  --studio-page-bg: #f4f2ef;
  --studio-page-text: #0f1b2d;
  --studio-stage-bg: #0b1424;
  --studio-stage-bg-2: #07111f;
  --studio-scrim-top: rgba(15, 27, 45, 0.16);
  --studio-scrim-bottom: rgba(5, 10, 18, 0.94);
  --studio-panel-bg: rgba(16, 29, 47, 0.94);
  --studio-panel-bg-solid: #101d2f;
  --studio-panel-inner: #0b1727;
  --studio-panel-border: rgba(255, 255, 255, 0.15);
  --studio-text: #fff7eb;
  --studio-muted: #c7d0db;
  --studio-faint: #93a0b2;
  --studio-glow: rgba(255, 107, 74, 0.42);
  --studio-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  --studio-canvas-max: 1760px;
  --studio-editorial-max: 1120px;
  --studio-edge: max(24px, calc((100vw - var(--studio-canvas-max)) / 2));
  --studio-editorial-edge: max(24px, calc((100vw - var(--studio-editorial-max)) / 2));
}

:root:has(#theme-switch:checked) {
  --studio-page-bg: #07111f;
  --studio-page-text: #fff7eb;
  --studio-stage-bg: #050a12;
  --studio-stage-bg-2: #02060c;
  --studio-scrim-top: rgba(2, 6, 12, 0.42);
  --studio-scrim-bottom: rgba(2, 6, 12, 0.97);
  --studio-panel-bg: rgba(11, 20, 36, 0.96);
  --studio-panel-bg-solid: #0b1424;
  --studio-panel-inner: #07111f;
  --studio-panel-border: rgba(255, 255, 255, 0.19);
  --studio-muted: #aeb9c7;
  --studio-faint: #8795a8;
  --studio-glow: rgba(255, 107, 74, 0.54);
}

body.studio-v1-page {
  overflow-x: hidden;
  background: var(--studio-page-bg);
  color: var(--studio-page-text);
}

.studio-v1-page .site-header {
  border-bottom: 1px solid rgba(15, 27, 45, 0.10);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(18px);
}

:root:has(#theme-switch:checked) .studio-v1-page .site-header {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(12, 24, 42, 0.95);
}

.studio-v1-page .header-contact-bar { display: none; }

.studio-v1-page .nav-cta,
.studio-v1-page .cta.primary {
  border-color: #df4b31;
  background: #df4b31;
  color: #fffaf0;
}

/* One full-width layout model. The historical 1200px section constraint is disabled here. */
.studio-v1-page .studio-page {
  width: 100%;
  max-width: none;
  margin: 0;
}

.studio-v1-page .studio-page > section {
  width: 100%;
  max-width: none;
  margin: 0;
  box-sizing: border-box;
}

.studio-v1-page .studio-page > section + section { border-top: 0; }

/* Editorial hero: full-width band, aligned to the same large canvas as the Studio. */
.studio-v1-page .studio-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(420px, 0.84fr);
  gap: clamp(40px, 5vw, 104px);
  align-items: center;
  min-height: clamp(640px, 72vh, 820px);
  padding: clamp(72px, 8vw, 136px) var(--studio-edge);
  background: var(--studio-page-bg);
}

.studio-v1-page .studio-hero::after {
  content: "";
  min-height: clamp(480px, 40vw, 640px);
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(15, 27, 45, 0.02), rgba(5, 10, 18, 0.50)),
    url('./assets/hero-service-92s.webp') center / cover no-repeat;
  box-shadow: var(--studio-shadow);
}

.studio-v1-page .studio-hero-copy { max-width: 760px; }
.studio-v1-page .studio-hero h1 { max-width: 13ch; }
.studio-v1-page .trust-seals { margin-top: 28px; }

/* First visual wall and configurator form one continuous dark product band. */
.studio-v1-page .vbc-block {
  position: relative;
  overflow: hidden;
  padding: clamp(40px, 5vw, 80px) var(--studio-edge) clamp(44px, 5vw, 72px);
  background:
    radial-gradient(circle at 78% 0%, var(--studio-glow), transparent 29%),
    linear-gradient(180deg, #111d30 0%, var(--studio-stage-bg) 72%);
  color: var(--studio-text);
}

.studio-v1-page .vbc-stage {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  border: 1px solid var(--studio-panel-border);
  border-radius: 26px;
  background: #120b07;
  box-shadow: var(--studio-shadow);
}

.studio-v1-page .studio-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(380px, 0.85fr);
  gap: clamp(24px, 2.5vw, 44px);
  align-items: start;
  padding: 0 var(--studio-edge) clamp(64px, 7vw, 112px);
  background: var(--studio-stage-bg);
  color: var(--studio-text);
}

.studio-v1-page .studio-form,
.studio-v1-page .studio-results {
  position: static;
  top: auto;
  align-self: stretch;
  border: 1px solid var(--studio-panel-border) !important;
  border-radius: 22px;
  background: var(--studio-panel-bg) !important;
  color: var(--studio-text) !important;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(18px);
}

.studio-v1-page .studio-form {
  padding: clamp(24px, 3vw, 42px);
}

.studio-v1-page .studio-results {
  padding: clamp(26px, 3vw, 44px);
}

.studio-v1-page .studio-form fieldset,
.studio-v1-page .form-advanced {
  border-color: var(--studio-panel-border);
  background: rgba(4, 11, 22, 0.30);
}

.studio-v1-page .form-advanced[open] > summary,
.studio-v1-page .form-advanced fieldset + fieldset {
  border-color: var(--studio-panel-border);
}

.studio-v1-page .studio-form label,
.studio-v1-page .studio-form legend,
.studio-v1-page .studio-form summary,
.studio-v1-page .studio-form output {
  color: var(--studio-text);
}

.studio-v1-page .studio-form .form-head small,
.studio-v1-page .studio-results p,
.studio-v1-page .reco-note {
  color: var(--studio-muted) !important;
}

.studio-v1-page .studio-form .eyebrow,
.studio-v1-page .studio-results .eyebrow,
.studio-v1-page .cockpit-stage .eyebrow {
  color: #ff8064 !important;
}

.studio-v1-page .studio-form input,
.studio-v1-page .studio-form select {
  border-color: var(--studio-panel-border);
  background: rgba(4, 11, 22, 0.82);
  color: var(--studio-text);
}

.studio-v1-page .studio-form input[type="range"] {
  background: rgba(255, 255, 255, 0.13);
}

.studio-v1-page .studio-form input[type="range"]::-webkit-slider-thumb {
  border-color: var(--studio-panel-bg-solid);
}

.studio-v1-page .studio-form input[type="range"]::-moz-range-thumb {
  border-color: var(--studio-panel-bg-solid);
}

.studio-v1-page .result-grid {
  gap: 12px;
}

.studio-v1-page .result-grid article {
  border: 1px solid var(--studio-panel-border) !important;
  background: var(--studio-panel-inner) !important;
  color: var(--studio-text) !important;
  box-shadow: none;
}

.studio-v1-page .result-grid span { color: var(--studio-faint) !important; }
.studio-v1-page .result-grid strong { color: var(--studio-text) !important; }

.studio-v1-page .inline-review {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  padding: 11px 17px;
  border: 1px solid #df4b31;
  border-radius: 7px;
  background: #df4b31;
  color: #fffaf0;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

/* Second product scene: same canvas, full-width background, no nested page widths. */
.studio-v1-page .cockpit-stage {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(72px, 7vw, 124px) var(--studio-edge);
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(180deg, var(--studio-scrim-top), var(--studio-scrim-bottom)),
    url('./assets/hopnbar-wall-front.webp') center 42% / cover no-repeat,
    var(--studio-stage-bg-2);
  color: var(--studio-text);
}

.studio-v1-page .cockpit-stage::before {
  content: "";
  position: absolute;
  inset: -20%;
  z-index: -1;
  background: radial-gradient(circle at 78% 8%, var(--studio-glow), transparent 31%);
  pointer-events: none;
}

.studio-v1-page .cockpit-topline,
.studio-v1-page .cockpit-kpi-strip,
.studio-v1-page .cockpit-grid,
.studio-v1-page .studio-notes {
  width: 100%;
  max-width: none;
}

.studio-v1-page .core-score-card,
.studio-v1-page .cockpit-kpi-strip article,
.studio-v1-page .cockpit-grid > article,
.studio-v1-page .risk-panel,
.studio-v1-page .watchpoints {
  border: 1px solid var(--studio-panel-border) !important;
  background: var(--studio-panel-bg) !important;
  color: var(--studio-text) !important;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
}

.studio-v1-page .core-score-card span,
.studio-v1-page .core-score-card small,
.studio-v1-page .cockpit-kpi-strip span,
.studio-v1-page .cockpit-lead,
.studio-v1-page .panel-heading span,
.studio-v1-page .panel-heading small,
.studio-v1-page .virtual-tap small,
.studio-v1-page .event-log small,
.studio-v1-page .scenario-card small,
.studio-v1-page .risk-panel p,
.studio-v1-page .watchpoints li {
  color: var(--studio-muted) !important;
}

.studio-v1-page .core-score-card strong { color: #54c79a !important; }

.studio-v1-page .cockpit-kpi-strip strong,
.studio-v1-page .cockpit-stage h2,
.studio-v1-page .cockpit-stage h3,
.studio-v1-page .panel-heading strong,
.studio-v1-page .virtual-tap strong,
.studio-v1-page .event-log strong,
.studio-v1-page .scenario-card strong {
  color: var(--studio-text) !important;
}

.studio-v1-page .virtual-wall { gap: 14px; }

.studio-v1-page .virtual-tap {
  border: 1px solid var(--studio-panel-border) !important;
  background: rgba(5, 12, 24, 0.78) !important;
  color: var(--studio-text) !important;
}

.studio-v1-page .bar-counter,
.studio-v1-page .scenario-rail {
  background: rgba(255, 255, 255, 0.11);
}

/* Explicitly override the historical light nested cards. */
.studio-v1-page .event-log li,
.studio-v1-page .scenario-bars article {
  border: 1px solid var(--studio-panel-border) !important;
  background: var(--studio-panel-inner) !important;
  color: var(--studio-text) !important;
  box-shadow: none !important;
}

.studio-v1-page .event-log li span { color: #6fb6dc !important; }
.studio-v1-page .scenario-bars article > div:first-child span,
.studio-v1-page .scenario-bars small,
.studio-v1-page .timeline-slot strong,
.studio-v1-page .timeline-slot span {
  color: var(--studio-muted) !important;
}

.studio-v1-page .scenario-bars article {
  padding: 13px 14px;
  border-radius: 8px;
}

.studio-v1-page .studio-notes {
  margin-top: clamp(22px, 3vw, 40px);
}

/* The explanatory ending returns to the editorial page language with one consistent width. */
.studio-v1-page .studio-doctrine {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 2.5vw, 36px);
  padding: clamp(72px, 8vw, 124px) var(--studio-editorial-edge);
  background: var(--studio-page-bg);
}

.studio-v1-page .studio-doctrine .card {
  background: #ffffff;
  border-color: rgba(15, 27, 45, 0.12);
}

.studio-v1-page .prudence,
.studio-v1-page #criteres-eligibilite,
.studio-v1-page .final-cta {
  padding: clamp(68px, 7vw, 112px) var(--studio-editorial-edge);
  background: var(--studio-page-bg);
  color: var(--studio-page-text);
  border-radius: 0;
  box-shadow: none;
}

.studio-v1-page .prudence {
  background: #ffffff;
  border-top: 1px solid rgba(15, 27, 45, 0.10);
  border-bottom: 1px solid rgba(15, 27, 45, 0.10);
}

.studio-v1-page #criteres-eligibilite { text-align: left; }

.studio-v1-page .final-cta {
  text-align: center;
  border-top: 1px solid rgba(15, 27, 45, 0.10);
}

.studio-v1-page .final-cta .actions { justify-content: center; }

:root:has(#theme-switch:checked) .studio-v1-page .studio-doctrine,
:root:has(#theme-switch:checked) .studio-v1-page .prudence,
:root:has(#theme-switch:checked) .studio-v1-page #criteres-eligibilite,
:root:has(#theme-switch:checked) .studio-v1-page .final-cta {
  background: #07111f;
  color: var(--studio-text);
  border-color: rgba(255, 255, 255, 0.12);
}

:root:has(#theme-switch:checked) .studio-v1-page .studio-doctrine .card {
  border-color: var(--studio-panel-border);
  background: var(--studio-panel-bg-solid);
  color: var(--studio-text);
}

:root:has(#theme-switch:checked) .studio-v1-page .studio-doctrine .card p,
:root:has(#theme-switch:checked) .studio-v1-page .prudence p,
:root:has(#theme-switch:checked) .studio-v1-page #criteres-eligibilite p {
  color: var(--studio-muted);
}

@media (max-width: 920px) {
  :root {
    --studio-edge: 24px;
    --studio-editorial-edge: 24px;
  }

  .studio-v1-page .studio-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 58px;
    padding-bottom: 64px;
  }

  .studio-v1-page .studio-hero::after {
    min-height: clamp(300px, 62vw, 520px);
  }

  .studio-v1-page .studio-shell {
    grid-template-columns: 1fr;
  }

  .studio-v1-page .studio-results {
    order: initial;
    position: static;
    top: auto;
    z-index: auto;
    padding: 28px;
  }

  .studio-v1-page .studio-results .eyebrow { margin-bottom: 14px; }
  .studio-v1-page .studio-results h2 { font-size: clamp(1.7rem, 5vw, 2.25rem); margin: 4px 0 16px; }
  .studio-v1-page .studio-results .result-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .studio-v1-page .studio-results .result-grid article { padding: 14px 16px; }
  .studio-v1-page .studio-results .result-grid span { font-size: .68rem; }
  .studio-v1-page .studio-results .result-grid strong { font-size: 1.2rem; }
  .studio-v1-page .studio-results .inline-review { display: inline-flex; }

  .studio-v1-page .cockpit-grid,
  .studio-v1-page .studio-notes {
    grid-template-columns: 1fr;
  }

  .studio-v1-page .cockpit-kpi-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .studio-v1-page .recommendation-card { grid-column: 1 / -1; }
  .studio-v1-page .virtual-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .studio-v1-page .studio-doctrine { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  :root {
    --studio-edge: 16px;
    --studio-editorial-edge: 16px;
  }

  .studio-v1-page .studio-hero {
    padding-top: 42px;
    padding-bottom: 48px;
    gap: 28px;
  }

  .studio-v1-page .studio-hero h1 {
    font-size: clamp(2.25rem, 12vw, 3.25rem);
  }

  .studio-v1-page .studio-hero::after {
    min-height: 260px;
    border-radius: 18px;
  }

  /* The composite keeps its exact geometry and becomes locally swipeable instead of shrinking to illegibility. */
  .studio-v1-page .vbc-block {
    overflow-x: auto;
    padding-top: 32px;
    padding-bottom: 38px;
    scrollbar-gutter: stable;
  }

  .studio-v1-page .vbc-stage {
    width: 760px;
    max-width: none;
    border-radius: 18px;
  }

  .studio-v1-page .studio-shell,
  .studio-v1-page .cockpit-stage {
    padding-top: 38px;
    padding-bottom: 48px;
  }

  .studio-v1-page .studio-form,
  .studio-v1-page .studio-results {
    padding: 22px;
    border-radius: 17px;
  }

  .studio-v1-page .result-grid,
  .studio-v1-page .cockpit-kpi-strip {
    grid-template-columns: 1fr;
  }

  .studio-v1-page .virtual-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .studio-v1-page .studio-doctrine,
  .studio-v1-page .prudence,
  .studio-v1-page #criteres-eligibilite,
  .studio-v1-page .final-cta {
    padding-top: 54px;
    padding-bottom: 54px;
  }
}

/* ============ STUDIO WALL CALIBRATION ============
   The real wall image is the single visual reference. Its geometry must stay
   fixed while the CSS screens, streams and glasses animate above it. */
.studio-v1-page .vbc-plate {
  animation: none !important;
  transform: none !important;
  will-change: auto;
}

/* Align the generated screen UI with the dark display area inside each
   physical frame of hopnbar-wall-front.webp (1600 x 900 reference image). */
.studio-v1-page .vbc-screen {
  top: 17.15%;
  width: 9.1%;
  height: 27.55%;
  padding: .62cqw .42cqw;
  border: 0;
  border-radius: .46cqw;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .08),
    0 0 1.1cqw rgba(236, 178, 92, .10);
}

.studio-v1-page .s1 { left: 21.35%; }
.studio-v1-page .s2 { left: 37.45%; }
.studio-v1-page .s3 { left: 53.62%; }
.studio-v1-page .s4 { left: 69.88%; }

/* Keep the animated glasses centred under the real tap spouts. */
.studio-v1-page .g1 { left: 25.35%; }
.studio-v1-page .g2 { left: 41.62%; }
.studio-v1-page .g3 { left: 57.94%; }
.studio-v1-page .g4 { left: 74.28%; }

/* The real wall appears once only. The detailed cockpit remains functional,
   but becomes a dark dashboard instead of repeating the same photograph. */
.studio-v1-page .cockpit-stage {
  background:
    radial-gradient(circle at 84% 2%, rgba(255, 107, 74, .13), transparent 27%),
    linear-gradient(180deg, #101d2f 0%, var(--studio-stage-bg-2) 100%) !important;
  background-size: auto !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

/* ============ ANALYTICAL COCKPIT RECALIBRATION ============ */
html:has(body.studio-v1-page) {
  scroll-padding-top: 92px;
}

.studio-v1-page .cockpit-stage {
  scroll-margin-top: 92px;
  gap: clamp(15px, 1.5vw, 22px);
  padding-top: clamp(74px, 5.5vw, 104px);
  padding-bottom: clamp(64px, 5vw, 92px);
}

.studio-v1-page .cockpit-topline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: clamp(24px, 3vw, 64px);
}

.studio-v1-page .cockpit-topline > div:first-child {
  max-width: 64ch;
}

.studio-v1-page .core-score-card {
  position: static !important;
  align-self: end;
  min-width: 150px;
  margin: 0;
  padding: 13px 20px !important;
  gap: 1px;
}

.studio-v1-page .core-score-card strong {
  font-size: clamp(1.8rem, 2vw, 2.5rem);
  line-height: 1;
}

.studio-v1-page .cockpit-kpi-strip {
  gap: clamp(10px, 1vw, 16px);
}

.studio-v1-page .cockpit-kpi-strip article {
  min-height: 88px;
  padding: 13px 16px !important;
  align-content: center;
}

.studio-v1-page .cockpit-grid {
  gap: clamp(16px, 1.5vw, 24px);
}

.studio-v1-page .bar-scene .virtual-wall-card {
  padding: 18px 22px 14px !important;
}

.studio-v1-page .bar-scene .virtual-wall {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 1.5vw, 24px);
  align-items: stretch;
}

.studio-v1-page .bar-scene .virtual-tap {
  min-height: 154px;
  padding: 11px 8px 9px;
  align-content: center;
  justify-items: center;
  gap: 4px;
}

.studio-v1-page .bar-scene .virtual-wall-card .virtual-tap::before {
  width: 38px;
  height: 9px;
}

.studio-v1-page .bar-scene .virtual-tap::after {
  width: 8px;
  height: 14px;
}

.studio-v1-page .bar-scene .virtual-tap .tap-meter {
  width: 66px;
  height: 108px;
}

.studio-v1-page .bar-scene .virtual-tap span {
  font-size: .62rem;
}

.studio-v1-page .bar-scene .virtual-tap strong {
  font-size: 1rem;
}

.studio-v1-page .bar-counter {
  height: 11px;
  margin-top: 8px;
}

.studio-v1-page .bar-crowd {
  min-height: 34px;
  gap: 5px;
  padding-top: 8px;
}

.studio-v1-page .bar-person {
  width: 21px;
  transform: scale(.82);
  transform-origin: center bottom;
}

.studio-v1-page .bar-person .h {
  width: 11px;
  height: 11px;
}

.studio-v1-page .bar-person .b {
  width: 19px;
  height: 20px;
}

.studio-v1-page .timeline-card,
.studio-v1-page .event-log-card,
.studio-v1-page .scenario-card {
  padding: clamp(18px, 1.5vw, 25px) !important;
}

.studio-v1-page .peak-timeline {
  height: 136px;
}

.studio-v1-page .event-log {
  gap: 7px;
}

.studio-v1-page .event-log li {
  padding: 10px 12px;
}

.studio-v1-page .studio-notes {
  margin-top: 2px;
  gap: clamp(12px, 1.3vw, 20px);
}

.studio-v1-page .risk-panel,
.studio-v1-page .watchpoints {
  padding: 16px 18px !important;
}

/* ============ STUDIO ULTRAWIDE CORRECTION ============
   Preserve the approved 1440 layout. Above 1800px, scale the composition
   instead of leaving a 1760px miniature inside a 4K viewport. */
@media (min-width: 1800px) {
  :root {
    --studio-canvas-max: min(86vw, 2600px);
    --studio-editorial-max: min(72vw, 1700px);
  }

  body.studio-v1-page {
    font-size: clamp(16px, .52vw, 21px);
  }

  .studio-v1-page .studio-hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(560px, .95fr);
    gap: clamp(64px, 5vw, 140px);
    min-height: min(820px, 70vh);
    padding-top: clamp(80px, 6vw, 132px);
    padding-bottom: clamp(80px, 6vw, 132px);
  }

  .studio-v1-page .studio-hero-copy {
    max-width: 920px;
  }

  .studio-v1-page .studio-hero h1 {
    max-width: 14ch;
    font-size: clamp(3.5rem, 3.2vw, 5.5rem);
  }

  .studio-v1-page .studio-hero .lead {
    max-width: 62ch;
    font-size: clamp(1.15rem, 1vw, 1.55rem);
  }

  .studio-v1-page .studio-hero::after {
    min-height: clamp(560px, 34vw, 760px);
  }

  .studio-v1-page .vbc-block {
    padding-top: clamp(64px, 4.5vw, 104px);
    padding-bottom: clamp(54px, 4vw, 92px);
  }

  .studio-v1-page .studio-shell {
    grid-template-columns: minmax(0, 1.12fr) minmax(520px, .88fr);
    gap: clamp(36px, 2.4vw, 64px);
    padding-bottom: clamp(88px, 6vw, 144px);
  }

  .studio-v1-page .studio-form,
  .studio-v1-page .studio-results {
    padding: clamp(34px, 2.2vw, 56px);
  }

  .studio-v1-page .cockpit-stage {
    padding-top: clamp(92px, 5vw, 126px);
    padding-bottom: clamp(82px, 4.8vw, 118px);
  }

  .studio-v1-page .cockpit-topline {
    gap: clamp(40px, 4vw, 96px);
  }

  .studio-v1-page .cockpit-grid,
  .studio-v1-page .cockpit-kpi-strip,
  .studio-v1-page .studio-notes {
    gap: clamp(16px, 1.25vw, 30px);
  }

  .studio-v1-page .cockpit-grid > article,
  .studio-v1-page .cockpit-kpi-strip article,
  .studio-v1-page .core-score-card,
  .studio-v1-page .risk-panel,
  .studio-v1-page .watchpoints {
    padding: clamp(18px, 1.15vw, 28px);
  }

  .studio-v1-page .bar-scene .virtual-tap {
    min-height: 178px;
  }

  .studio-v1-page .bar-scene .virtual-tap .tap-meter {
    width: 74px;
    height: 122px;
  }

  .studio-v1-page .studio-doctrine,
  .studio-v1-page .prudence,
  .studio-v1-page #criteres-eligibilite,
  .studio-v1-page .final-cta {
    padding-top: clamp(88px, 6vw, 144px);
    padding-bottom: clamp(88px, 6vw, 144px);
  }

  .studio-v1-page .studio-doctrine .card {
    padding: clamp(30px, 2vw, 48px);
  }
}

@media (max-width: 920px) {
  .studio-v1-page .cockpit-topline {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .studio-v1-page .core-score-card {
    justify-self: start;
  }

  .studio-v1-page .bar-scene .virtual-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  html:has(body.studio-v1-page) {
    scroll-padding-top: 76px;
  }

  .studio-v1-page .cockpit-stage {
    scroll-margin-top: 76px;
  }

  .studio-v1-page .bar-scene .virtual-tap {
    min-height: 142px;
  }

  .studio-v1-page .bar-scene .virtual-tap .tap-meter {
    width: 58px;
    height: 94px;
  }
}

@media (min-width: 3000px) {
  :root {
    --studio-canvas-max: min(82vw, 2800px);
    --studio-editorial-max: min(68vw, 1800px);
  }

  body.studio-v1-page {
    font-size: 21px;
  }
}

/* ============ HUMAN COPY + WALL KPI CENTERING ============ */
.studio-v1-page .studio-hero-note {
  max-width: 62ch;
  margin-top: 18px;
  color: #667180;
  font-size: .95rem;
  line-height: 1.65;
}

:root:has(#theme-switch:checked) .studio-v1-page .studio-hero-note {
  color: var(--studio-muted);
}

/* Four indicators, four physical displays: the centres follow the wall itself. */
.studio-v1-page .vbc-kpis {
  left: 18.8% !important;
  right: 18.8% !important;
  width: auto !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 1.2cqw !important;
}

.studio-v1-page .vbc-kpis article {
  min-width: 0;
  text-align: left;
}

.studio-v1-page .vbc-brand {
  width: 16.5%;
}

.studio-v1-page .vbc-status {
  display: grid;
  gap: .28cqw;
  margin-top: 1.1cqw;
  padding-top: .85cqw;
  border-top: 1px solid rgba(255, 255, 255, .18);
}

.studio-v1-page .vbc-status span {
  font-family: var(--mono);
  font-size: .56cqw;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255, 247, 235, .68);
}

.studio-v1-page .vbc-status strong {
  font-family: var(--display);
  font-size: 1.12cqw;
  line-height: 1.08;
  color: #54c79a;
}

.studio-v1-page .vbc-status strong.watch { color: #e6b052; }
.studio-v1-page .vbc-status strong.skip { color: #ef6a52; }

/* The journal remains visible without masking the fourth product screen. */
.studio-v1-page .vbc-replay {
  right: 2.7% !important;
  width: 18.2% !important;
}

@media (max-width: 920px) {
  .studio-v1-page .studio-hero-note { font-size: .9rem; }
}

/* ============ UNIFIED SITE GRID 1440 ============
   Background bands may span the viewport. All visible Studio content follows
   the same 1440px desktop grid as the Home and Partners pages. */
:root {
  --studio-canvas-max: 1440px;
  --studio-editorial-max: 1440px;
  --studio-edge: max(32px, calc((100vw - 1440px) / 2));
  --studio-editorial-edge: max(32px, calc((100vw - 1440px) / 2));
}

body.studio-v1-page { font-size: 16px; }

.studio-v1-page .site-header { padding-inline: 0; }
.studio-v1-page .site-header .header-main {
  width: min(1440px, calc(100% - 64px));
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.studio-v1-page .vbc-stage {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
}

.studio-v1-page .cockpit-topline,
.studio-v1-page .cockpit-kpi-strip,
.studio-v1-page .cockpit-grid,
.studio-v1-page .studio-notes {
  max-width: 1440px;
  margin-inline: auto;
}

@media (min-width: 1800px) {
  .studio-v1-page .studio-hero {
    grid-template-columns: minmax(0, .96fr) minmax(420px, .84fr);
    gap: clamp(40px, 5vw, 104px);
    min-height: clamp(640px, 72vh, 820px);
    padding: clamp(72px, 8vw, 136px) var(--studio-edge);
  }

  .studio-v1-page .studio-hero-copy { max-width: 760px; }

  .studio-v1-page .studio-hero h1 {
    max-width: 13ch;
    font-size: clamp(2.1rem, 1.3rem + 3.3vw, 3.5rem);
  }

  .studio-v1-page .studio-hero .lead {
    max-width: 58ch;
    font-size: clamp(1.02rem, .95rem + .5vw, 1.24rem);
  }

  .studio-v1-page .studio-hero::after { min-height: clamp(480px, 40vw, 640px); }

  .studio-v1-page .vbc-block {
    padding: clamp(40px, 5vw, 80px) var(--studio-edge) clamp(44px, 5vw, 72px);
  }

  .studio-v1-page .studio-shell {
    grid-template-columns: minmax(0, 1.15fr) minmax(380px, .85fr);
    gap: clamp(24px, 2.5vw, 44px);
    padding: 0 var(--studio-edge) clamp(64px, 7vw, 112px);
  }

  .studio-v1-page .studio-form { padding: clamp(24px, 3vw, 42px); }
  .studio-v1-page .studio-results { padding: clamp(26px, 3vw, 44px); }

  .studio-v1-page .cockpit-stage {
    padding: clamp(74px, 5.5vw, 104px) var(--studio-edge) clamp(64px, 5vw, 92px);
  }

  .studio-v1-page .cockpit-topline { gap: clamp(24px, 3vw, 64px); }
  .studio-v1-page .cockpit-kpi-strip { gap: clamp(10px, 1vw, 16px); }
  .studio-v1-page .cockpit-grid { gap: clamp(16px, 1.5vw, 24px); }
  .studio-v1-page .studio-notes { gap: clamp(12px, 1.3vw, 20px); }

  .studio-v1-page .core-score-card { padding: 13px 20px !important; }
  .studio-v1-page .cockpit-kpi-strip article { padding: 13px 16px !important; }
  .studio-v1-page .bar-scene .virtual-wall-card { padding: 18px 22px 14px !important; }
  .studio-v1-page .timeline-card,
  .studio-v1-page .event-log-card,
  .studio-v1-page .scenario-card { padding: clamp(18px, 1.5vw, 25px) !important; }
  .studio-v1-page .risk-panel,
  .studio-v1-page .watchpoints { padding: 16px 18px !important; }

  .studio-v1-page .bar-scene .virtual-tap { min-height: 154px; }
  .studio-v1-page .bar-scene .virtual-tap .tap-meter {
    width: 66px;
    height: 108px;
  }

  .studio-v1-page .studio-doctrine {
    padding: clamp(72px, 8vw, 124px) var(--studio-editorial-edge);
  }

  .studio-v1-page .prudence,
  .studio-v1-page #criteres-eligibilite,
  .studio-v1-page .final-cta {
    padding: clamp(68px, 7vw, 112px) var(--studio-editorial-edge);
  }

  .studio-v1-page .studio-doctrine .card {
    padding: clamp(20px, 2.3vw, 28px);
  }
}

@media (max-width: 920px) {
  :root {
    --studio-edge: 24px;
    --studio-editorial-edge: 24px;
  }
  .studio-v1-page .site-header .header-main {
    width: calc(100% - 32px);
    gap: 16px;
  }
}

@media (max-width: 600px) {
  :root {
    --studio-edge: 16px;
    --studio-editorial-edge: 16px;
  }
}
