:root {
  --ink: #060705;
  --ink-soft: #0d0e0b;
  --panel: #10110d;
  --panel-strong: #15150f;
  --paper: #f1eadc;
  --paper-soft: #c8c0b1;
  --muted: #8d877a;
  --gold: #d7a72d;
  --gold-light: #f3cf70;
  --gold-dark: #76500a;
  --line: rgba(215, 167, 45, 0.23);
  --line-soft: rgba(255, 255, 255, 0.09);
  --role-accent: var(--gold);
  --role-rgb: 215, 167, 45;
  --display: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
  --sans: "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --header-height: 74px;
  --section-x: clamp(22px, 6vw, 100px);
  --section-y: clamp(82px, 10vw, 150px);
  --max-width: 1480px;
  color-scheme: dark;
}

body[data-role="maker"] {
  --role-accent: #eeb525;
  --role-rgb: 238, 181, 37;
}

body[data-role="seller"] {
  --role-accent: #96d932;
  --role-rgb: 150, 217, 50;
}

body[data-role="investor"] {
  --role-accent: #c45cf0;
  --role-rgb: 196, 92, 240;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + env(safe-area-inset-top, 0px) + 18px);
  background: var(--ink);
}

html.is-product-site .boot-shell,
html.is-product-site .portal-gate {
  display: none !important;
  pointer-events: none !important;
  visibility: hidden !important;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 10% 8%, rgba(171, 114, 12, 0.09), transparent 25rem),
    var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

body.is-booting {
  overflow: hidden;
}

.boot-shell {
  position: fixed;
  z-index: 500;
  inset: 0;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 42%, rgba(215, 167, 45, 0.12), transparent 42%),
    #050403;
  color: var(--paper);
  transition: opacity 360ms ease, visibility 360ms ease;
}

.boot-shell.is-ready {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.boot-shell-inner {
  display: grid;
  gap: 10px;
  justify-items: center;
  text-align: center;
}

.boot-shell-eyebrow {
  margin: 0;
  color: var(--gold);
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.boot-shell-wordmark {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.4rem, 8vw, 4rem);
  letter-spacing: -0.08em;
}

.boot-shell-wordmark strong {
  margin-left: 0.08em;
  color: var(--gold);
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: -0.16em;
}

.boot-shell-status {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  animation: boot-pulse 1.4s ease-in-out infinite;
}

@keyframes boot-pulse {
  0%,
  100% {
    opacity: 0.45;
  }

  50% {
    opacity: 1;
  }
}

button,
input,
textarea {
  color: inherit;
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  border: 0;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

::selection {
  background: var(--gold);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 4px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  transform: translateY(-160%);
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.page-atmosphere,
.atmosphere-grid,
.atmosphere-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.page-atmosphere {
  z-index: 20;
  overflow: hidden;
}

.atmosphere-grid {
  opacity: 0.05;
  background-image:
    linear-gradient(rgba(215, 167, 45, 0.55) 1px, transparent 1px),
    linear-gradient(90deg, rgba(215, 167, 45, 0.55) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: linear-gradient(to bottom, #000 0, transparent 66%);
}

.atmosphere-noise {
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  height: calc(var(--header-height) + env(safe-area-inset-top, 0px));
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 20px;
  padding:
    env(safe-area-inset-top, 0px)
    max(var(--section-x), env(safe-area-inset-right, 0px))
    0
    max(var(--section-x), env(safe-area-inset-left, 0px));
  border-bottom: 1px solid transparent;
  transition:
    background-color 220ms ease,
    border-color 220ms ease,
    height 220ms ease;
}

.site-header.is-scrolled {
  height: 64px;
  border-color: var(--line);
  background: rgba(5, 6, 4, 0.88);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.page-progress {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 1px;
  overflow: hidden;
  pointer-events: none;
}

.page-progress i {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(var(--page-progress, 0));
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
  box-shadow: 0 0 10px var(--gold);
  transform-origin: left;
  transition: transform 90ms linear;
}

.wordmark {
  display: inline-flex;
  align-items: baseline;
  width: max-content;
  color: var(--paper);
  font-family: var(--display);
  font-size: 1.55rem;
  letter-spacing: -0.045em;
  line-height: 1;
  text-decoration: none;
}

.wordmark strong {
  margin-left: 2px;
  color: var(--gold);
  font-size: 1.33em;
  font-weight: 500;
}

.wordmark small {
  margin-left: 10px;
  color: var(--gold);
  font-family: var(--sans);
  font-size: 0.43em;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.main-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.5vw, 42px);
}

.main-nav a {
  position: relative;
  padding: 28px 0 24px;
  color: var(--paper-soft);
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 17px;
  left: 0;
  height: 1px;
  content: "";
  transform: scaleX(0);
  background: var(--gold);
  transform-origin: right;
  transition: transform 200ms ease;
}

.main-nav a.nav-shop {
  color: var(--gold-light);
}

.main-nav a.nav-shop::before {
  position: absolute;
  top: 22px;
  right: -4px;
  padding: 2px 5px;
  border: 1px solid rgba(215, 167, 45, 0.55);
  background: rgba(215, 167, 45, 0.12);
  color: var(--gold-light);
  content: "Shop";
  font-size: 0.42rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--gold-light);
}

.header-cta {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid var(--gold);
  background: rgba(215, 167, 45, 0.1);
  color: var(--gold-light);
  font-size: 0.58rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    opacity 180ms ease,
    transform 180ms ease;
}

.header-cta:hover {
  background: rgba(215, 167, 45, 0.18);
  border-color: var(--gold-light);
  transform: translateY(-1px);
}

.header-cta.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.site-header .header-cta[hidden] {
  display: none !important;
}

.site-header.is-scrolled .header-cta:not([hidden]) {
  display: inline-flex;
}

.hero-price-anchor {
  margin: 18px 0 0;
  color: var(--gold-light);
  font-family: var(--display);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  letter-spacing: -0.02em;
}

.hero-price-anchor strong {
  font-weight: 400;
}

.hero-visual--shop {
  display: none;
}

.hero-visual--shop img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  background:
    radial-gradient(ellipse 80% 70% at 50% 42%, rgba(215, 167, 45, 0.06), transparent 68%),
    #050604;
}

html.is-product-site .hero-visual--game {
  display: none;
}

html.is-product-site .hero-visual--shop {
  display: flex;
  flex-direction: column;
  justify-content: center;
  aspect-ratio: 4 / 3;
  max-height: min(68vw, 480px);
}

html.is-product-site .hero-visual--shop picture,
html.is-product-site .hero-visual--shop .hero-scan {
  display: none;
}

html.is-product-site .hero-visual--shop img {
  flex: 1;
  min-height: 0;
  max-height: min(68vw, 480px);
}

.hero-visual--shop picture {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.main-nav a:hover::after,
.main-nav a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-sound {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: rgba(0, 0, 0, 0.28);
  color: var(--muted);
  cursor: pointer;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition:
    color 180ms ease,
    border-color 180ms ease;
}

.header-sound:hover,
.header-sound[aria-pressed="true"] {
  border-color: rgba(215, 167, 45, 0.6);
  color: var(--gold-light);
}

.sound-bars {
  display: flex;
  height: 12px;
  align-items: center;
  gap: 2px;
}

.sound-bars i {
  display: block;
  width: 2px;
  height: 4px;
  background: currentColor;
}

.header-sound[aria-pressed="true"] .sound-bars i {
  animation: sound-bar 760ms ease-in-out infinite alternate;
}

.header-sound[aria-pressed="true"] .sound-bars i:nth-child(2) {
  animation-delay: -320ms;
}

.header-sound[aria-pressed="true"] .sound-bars i:nth-child(3) {
  animation-delay: -560ms;
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(360px, 0.77fr) minmax(520px, 1.23fr);
  align-items: center;
  gap: clamp(24px, 4vw, 74px);
  max-width: 1720px;
  margin: 0 auto;
  padding: calc(var(--header-height) + 48px) var(--section-x) 90px;
}

.hero::before {
  position: absolute;
  z-index: -1;
  top: 12%;
  left: -18%;
  width: 58vw;
  height: 58vw;
  max-width: 850px;
  max-height: 850px;
  border: 1px solid rgba(215, 167, 45, 0.1);
  border-radius: 50%;
  box-shadow:
    0 0 0 5vw rgba(215, 167, 45, 0.02),
    0 0 0 10vw rgba(215, 167, 45, 0.015);
  content: "";
}

.hero-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
  padding-top: 22px;
  overflow-wrap: anywhere;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--gold);
  font-size: 0.66rem;
  font-weight: 650;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.eyebrow span {
  color: var(--gold-light);
}

.hero h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(5rem, 9vw, 9.3rem);
  font-weight: 400;
  letter-spacing: -0.085em;
  line-height: 0.7;
  text-transform: uppercase;
  text-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
}

.hero h1 span {
  display: block;
  margin: 0 0 0.15em 0.53em;
  color: var(--paper-soft);
  font-size: 0.33em;
  font-style: italic;
  letter-spacing: 0.03em;
  line-height: 1;
  text-transform: none;
}

.hero-subtitle {
  margin: 30px 0 0;
  color: var(--gold-light);
  font-size: clamp(0.72rem, 1vw, 0.93rem);
  font-weight: 600;
  letter-spacing: 0.43em;
  text-transform: uppercase;
}

.hero-intro {
  max-width: 540px;
  margin: 25px 0 0;
  color: var(--paper-soft);
  font-family: var(--display);
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 13px;
  margin-top: 30px;
}

.button {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 0 22px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--paper);
  cursor: pointer;
  font-size: 0.66rem;
  font-weight: 650;
  letter-spacing: 0.17em;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    transform 180ms ease;
}

.button::before,
.role-cta::before {
  position: absolute;
  z-index: -1;
  inset: 4px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  content: "";
  pointer-events: none;
}

.button:hover:not(:disabled) {
  transform: translateY(-2px);
}

.button-primary {
  border-color: var(--role-accent, var(--gold));
  background:
    linear-gradient(110deg, rgba(var(--role-rgb, 215, 167, 45), 0.17), transparent 60%),
    rgba(0, 0, 0, 0.3);
  box-shadow:
    inset 0 0 18px rgba(var(--role-rgb, 215, 167, 45), 0.09),
    0 0 22px rgba(var(--role-rgb, 215, 167, 45), 0.08);
}

.button-primary:hover:not(:disabled) {
  border-color: var(--gold-light);
  background-color: rgba(var(--role-rgb, 215, 167, 45), 0.12);
}

.button-quiet {
  border-color: var(--line-soft);
  color: var(--paper-soft);
}

.button-quiet:hover {
  border-color: var(--line);
  color: var(--gold-light);
}

.button:disabled {
  opacity: 0.42;
  cursor: not-allowed;
  filter: grayscale(0.6);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 34px;
  color: var(--muted);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-trust i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold);
}

.hero-visual {
  position: relative;
  min-width: 0;
  border: 1px solid rgba(215, 167, 45, 0.32);
  background: #020302;
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.55),
    0 0 90px rgba(168, 111, 4, 0.08);
}

.hero-visual::before,
.hero-visual::after {
  position: absolute;
  z-index: 4;
  width: 34%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  content: "";
}

.hero-visual::before {
  top: -1px;
  left: 11%;
}

.hero-visual::after {
  right: 11%;
  bottom: -1px;
}

.hero-visual picture {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.05) saturate(0.9);
  transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.hero-visual:hover img {
  transform: scale(1.018);
}

.hero-frame-corner {
  position: absolute;
  z-index: 5;
  width: 38px;
  height: 38px;
  pointer-events: none;
}

.corner-one {
  top: -7px;
  left: -7px;
  border-top: 1px solid var(--gold-light);
  border-left: 1px solid var(--gold-light);
}

.corner-two {
  right: -7px;
  bottom: -7px;
  border-right: 1px solid var(--gold-light);
  border-bottom: 1px solid var(--gold-light);
}

.hero-scan {
  position: absolute;
  z-index: 3;
  inset: 0;
  overflow: hidden;
  background:
    linear-gradient(to bottom, transparent 49.5%, rgba(255, 218, 112, 0.13) 50%, transparent 50.5%);
  background-size: 100% 9px;
  opacity: 0.3;
  pointer-events: none;
}

.hero-scan::after {
  position: absolute;
  top: -20%;
  right: 0;
  left: 0;
  height: 18%;
  background: linear-gradient(to bottom, transparent, rgba(227, 183, 66, 0.12), transparent);
  content: "";
  animation: scan 7s linear infinite;
}

.hero-visual-status {
  position: absolute;
  z-index: 6;
  right: 18px;
  bottom: 17px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid rgba(215, 167, 45, 0.45);
  background: rgba(4, 5, 3, 0.8);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--gold-light);
  font-size: 0.55rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-visual-status b {
  padding-left: 7px;
  border-left: 1px solid var(--line);
  color: var(--muted);
  font-weight: 500;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #86e53e;
  box-shadow: 0 0 10px #75cf31;
  animation: status-pulse 2s ease-in-out infinite;
}

.scroll-cue {
  position: absolute;
  bottom: 24px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateX(-50%);
  color: var(--muted);
  font-size: 0.55rem;
  letter-spacing: 0.22em;
  text-decoration: none;
  text-transform: uppercase;
}

.scroll-cue i {
  position: relative;
  display: block;
  width: 22px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 20px;
}

.scroll-cue i::after {
  position: absolute;
  top: 7px;
  left: 50%;
  width: 2px;
  height: 6px;
  border-radius: 2px;
  background: var(--gold);
  content: "";
  transform: translateX(-50%);
  animation: scroll-dot 1.8s ease-in-out infinite;
}

.proof-strip {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--section-x);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.proof-item {
  display: flex;
  min-height: 126px;
  align-items: center;
  gap: 18px;
  padding: 24px clamp(18px, 3vw, 44px);
  border-right: 1px solid var(--line);
}

.proof-item:first-child {
  border-left: 1px solid var(--line);
}

.proof-item > span {
  color: var(--gold);
  font-family: var(--display);
  font-size: 1.7rem;
}

.proof-item strong,
.proof-item small {
  display: block;
}

.proof-item strong {
  color: var(--paper);
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 400;
}

.proof-item small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.45;
}

.section {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--section-y) var(--section-x);
}

.vision-section {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(330px, 0.65fr);
  align-items: center;
  gap: clamp(48px, 7vw, 105px);
}

.vision-media {
  position: relative;
  border: 1px solid var(--line);
  background: #050604;
}

.vision-media::before {
  position: absolute;
  z-index: 2;
  inset: 14px;
  border: 1px solid rgba(215, 167, 45, 0.16);
  content: "";
  pointer-events: none;
}

.vision-media img {
  width: 100%;
  min-height: 390px;
  object-fit: cover;
}

.media-label {
  position: absolute;
  z-index: 3;
  right: 30px;
  bottom: 25px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.72);
  color: var(--gold);
  font-size: 0.52rem;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.vision-copy h2,
.section-heading h2,
.product-copy h2,
.boutique-heading h2,
.cinema-heading h2,
.map-copy h2,
.community-copy h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.8rem, 5.4vw, 5.5rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.91;
}

.vision-copy h2 em {
  color: var(--gold-light);
  font-weight: 400;
}

.vision-copy > p:not(.eyebrow),
.product-copy > p:not(.eyebrow),
.cinema-heading > p,
.map-copy > p,
.community-copy > p {
  margin: 28px 0 0;
  color: var(--paper-soft);
  font-family: var(--display);
  font-size: 1.09rem;
  line-height: 1.65;
}

.vision-copy blockquote {
  margin: 30px 0;
  padding: 12px 0 12px 20px;
  border-left: 1px solid var(--gold);
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.65;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--gold-light);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-decoration: none;
  text-transform: uppercase;
}

.text-link span {
  transition: transform 180ms ease;
}

.text-link:hover span {
  transform: translate(3px, -3px);
}

.roles-section {
  max-width: none;
  overflow: hidden;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background:
    radial-gradient(circle at 50% 0, rgba(215, 167, 45, 0.08), transparent 34rem),
    #090a07;
}

.roles-section > * {
  max-width: calc(var(--max-width) - (var(--section-x) * 2));
  margin-right: auto;
  margin-left: auto;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 50px;
  margin-bottom: clamp(44px, 6vw, 76px);
  padding-bottom: 27px;
  border-bottom: 1px solid var(--line);
}

.section-heading > p {
  max-width: 410px;
  margin: 0 0 4px;
  color: var(--muted);
  font-family: var(--display);
  font-size: 1rem;
  line-height: 1.6;
}

.roles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 17px;
}

.product-section {
  display: grid;
  grid-template-columns: minmax(290px, 0.72fr) minmax(0, 1.28fr);
  align-items: center;
  gap: clamp(40px, 6vw, 90px);
}

.product-proofs {
  display: grid;
  gap: 0;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.product-proofs li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px 0;
  border-top: 1px solid var(--line-soft);
}

.product-proofs li:last-child {
  border-bottom: 1px solid var(--line-soft);
}

.product-proofs span {
  color: var(--gold);
  font-family: var(--display);
  font-size: 1.05rem;
}

.product-proofs strong,
.product-proofs small {
  display: block;
}

.product-proofs strong {
  font-size: 0.92rem;
  font-weight: 500;
}

.product-proofs small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.5;
}

.product-visual {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #050604;
}

.product-visual::after {
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(215, 167, 45, 0.12);
  content: "";
  pointer-events: none;
}

.product-visual img {
  width: 100%;
  min-height: 420px;
  object-fit: cover;
  transition: transform 800ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.product-visual:hover img {
  transform: scale(1.02);
}

.product-visual figcaption {
  position: absolute;
  z-index: 2;
  right: 22px;
  bottom: 20px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.8);
  color: var(--gold);
  font-size: 0.51rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.cinema-section {
  position: relative;
  z-index: 1;
  max-width: none;
  margin: 0;
  padding: var(--section-y) var(--section-x);
  border-top: 1px solid var(--line-soft);
  background:
    radial-gradient(circle at 80% 20%, rgba(215, 167, 45, 0.08), transparent 28rem),
    #090a07;
}

.cinema-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 50px;
  width: min(100%, calc(var(--max-width) - (var(--section-x) * 2)));
  margin: 0 auto clamp(36px, 5vw, 64px);
  padding-bottom: 27px;
  border-bottom: 1px solid var(--line);
}

.cinema-heading > p {
  max-width: 380px;
  margin: 0 0 4px;
  color: var(--muted);
  font-family: var(--display);
  font-size: 1rem;
  line-height: 1.6;
}

.cinema-frame {
  position: relative;
  width: min(100%, 420px);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #020302;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
}

.cinema-frame::after {
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(215, 167, 45, 0.14);
  content: "";
  pointer-events: none;
}

.cinema-frame video.cinema-video {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: #000;
  opacity: 0;
  transition: opacity 900ms ease;
}

.cinema-frame.is-playing video.cinema-video {
  opacity: 1;
}

.cinema-frame figcaption {
  position: absolute;
  z-index: 2;
  right: 18px;
  bottom: 18px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.8);
  color: var(--gold);
  font-size: 0.51rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.boutique-section {
  max-width: none;
  overflow: hidden;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background:
    radial-gradient(circle at 18% 0, rgba(215, 167, 45, 0.09), transparent 32rem),
    radial-gradient(circle at 82% 100%, rgba(215, 167, 45, 0.05), transparent 28rem),
    #090a07;
}

.boutique-section > * {
  max-width: calc(var(--max-width) - (var(--section-x) * 2));
  margin-right: auto;
  margin-left: auto;
}

.boutique-heading h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.8rem, 5.4vw, 5.5rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.91;
}

.boutique-price-lead {
  margin: 14px 0 0;
  color: var(--gold-light);
  font-family: var(--display);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
}

.boutique-price-lead strong {
  font-weight: 400;
}

.boutique-teaser {
  border-bottom: 1px solid var(--line-soft);
  background:
    radial-gradient(circle at 50% 0, rgba(215, 167, 45, 0.07), transparent 28rem),
    transparent;
}

.boutique-teaser-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.teaser-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #080906;
  transition:
    transform 280ms cubic-bezier(0.2, 0.7, 0.2, 1),
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.teaser-card:hover {
  transform: translateY(-4px);
  border-color: rgba(215, 167, 45, 0.5);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.3);
}

.teaser-card-featured {
  border-color: rgba(215, 167, 45, 0.55);
}

.teaser-card-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  padding: clamp(12px, 2.5vw, 20px);
  border-bottom: 1px solid var(--line-soft);
  background:
    radial-gradient(ellipse 80% 70% at 50% 42%, rgba(215, 167, 45, 0.06), transparent 68%),
    #050604;
}

.teaser-card-media.is-loading {
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.03) 8%, rgba(255, 255, 255, 0.08) 18%, rgba(255, 255, 255, 0.03) 33%),
    #0a0b08;
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.4s ease-in-out infinite;
}

.teaser-card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 360ms ease;
}

.teaser-card-media img.is-loaded {
  opacity: 1;
}

.teaser-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px 22px 24px;
}

.teaser-card-body h3 {
  margin: 8px 0 0;
  font-family: var(--display);
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  font-weight: 400;
  letter-spacing: -0.03em;
}

.teaser-card-body .button {
  width: 100%;
  margin-top: auto;
  min-height: 44px;
}

.boutique-teaser-cta {
  margin: 0;
  text-align: center;
}

.boutique-trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-bottom: clamp(36px, 5vw, 58px);
  border: 1px solid var(--line);
}

.boutique-trust-item {
  display: grid;
  gap: 6px;
  padding: clamp(20px, 3vw, 30px) clamp(18px, 3vw, 36px);
  border-right: 1px solid var(--line);
}

.boutique-trust-item:last-child {
  border-right: 0;
}

.boutique-trust-item > span {
  color: var(--gold);
  font-family: var(--display);
  font-size: 1.4rem;
}

.boutique-trust-item strong {
  color: var(--paper);
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 400;
}

.boutique-trust-item small {
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.45;
}

.catalog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: clamp(28px, 4vw, 44px);
}

.catalog-filter {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line-soft);
  background: rgba(0, 0, 0, 0.28);
  color: var(--muted);
  cursor: pointer;
  font-size: 0.58rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    transform 180ms ease;
}

.catalog-filter:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 2px;
}

.catalog-filter:hover,
.catalog-filter.is-active {
  border-color: var(--gold);
  background: rgba(215, 167, 45, 0.08);
  color: var(--gold-light);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: clamp(44px, 6vw, 72px);
}

.product-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(155deg, rgba(215, 167, 45, 0.05), transparent 48%),
    #080906;
  transition:
    transform 280ms cubic-bezier(0.2, 0.7, 0.2, 1),
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.product-card::after {
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(215, 167, 45, 0.1);
  content: "";
  pointer-events: none;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(215, 167, 45, 0.55);
  box-shadow:
    0 22px 55px rgba(0, 0, 0, 0.35),
    0 0 20px rgba(215, 167, 45, 0.08);
}

.product-card:focus-within {
  border-color: rgba(215, 167, 45, 0.62);
  box-shadow: 0 0 0 2px rgba(215, 167, 45, 0.22);
}

.product-card.is-hidden {
  display: none;
}

.catalog-grid.is-filtering .product-card:not(.is-hidden) {
  animation: catalog-card-in 260ms ease both;
}

@keyframes catalog-card-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.catalog-empty {
  margin: -28px 0 clamp(44px, 6vw, 72px);
  padding: 28px 18px;
  border: 1px dashed var(--line-soft);
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.6;
  text-align: center;
}

.catalog-empty .text-link {
  display: inline-block;
  margin-top: 8px;
  min-height: 44px;
  padding-top: 10px;
}

.product-card-featured {
  border-color: rgba(215, 167, 45, 0.42);
}

.product-card-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  padding: clamp(14px, 3vw, 22px);
  border-bottom: 1px solid var(--line-soft);
  background:
    radial-gradient(ellipse 80% 70% at 50% 42%, rgba(215, 167, 45, 0.06), transparent 68%),
    #050604;
}

.product-card-media.is-loading {
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.03) 8%, rgba(255, 255, 255, 0.08) 18%, rgba(255, 255, 255, 0.03) 33%),
    #0a0b08;
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.4s ease-in-out infinite;
}

.product-card-media.is-error {
  animation: none;
  background: #120f0a;
}

.product-card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  filter: saturate(0.88) contrast(1.03);
  opacity: 0;
  transition:
    transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1),
    opacity 360ms ease;
}

.product-card-media img.is-loaded {
  opacity: 1;
}

.product-card:hover .product-card-media img {
  transform: scale(1.03);
}

.product-tier {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 12px;
  padding: 6px 9px;
  border: 1px solid var(--line);
  background: rgba(4, 5, 3, 0.84);
  color: var(--gold);
  font-size: 0.48rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.product-tier-pro {
  border-color: rgba(215, 167, 45, 0.55);
  color: var(--gold-light);
}

.product-tier-flagship,
.product-tier-xl {
  border-color: var(--gold-light);
  background: rgba(215, 167, 45, 0.14);
  color: var(--gold-light);
}

.product-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px clamp(16px, 2.2vw, 24px) 24px;
}

.product-card-body h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.product-price {
  margin: 10px 0 0;
  color: var(--gold-light);
  font-family: var(--display);
  font-size: clamp(1.6rem, 2.5vw, 2rem);
  line-height: 1;
}

.product-price span {
  letter-spacing: -0.02em;
}

.product-benefit {
  margin: 8px 0 0;
  color: var(--paper-soft);
  font-size: 0.68rem;
  line-height: 1.45;
}

.product-features {
  display: grid;
  gap: 0;
  margin: 16px 0 20px;
  padding: 0;
  list-style: none;
}

.product-features li {
  position: relative;
  padding: 8px 0 8px 14px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 0.62rem;
  line-height: 1.45;
}

.product-features li::before {
  position: absolute;
  top: 14px;
  left: 0;
  width: 4px;
  height: 4px;
  border: 1px solid var(--gold);
  content: "";
  transform: rotate(45deg);
}

.product-actions {
  display: grid;
  gap: 8px;
  margin-top: auto;
}

.product-actions .button {
  width: 100%;
  min-height: 44px;
  gap: 10px;
  font-size: 0.58rem;
}

.product-actions .button:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 2px;
}

.product-card-bestseller {
  border-color: rgba(215, 167, 45, 0.62);
  box-shadow: 0 0 28px rgba(215, 167, 45, 0.1);
}

.product-badge-bestseller {
  position: absolute;
  z-index: 3;
  top: 12px;
  right: 12px;
  padding: 6px 10px;
  border: 1px solid var(--gold-light);
  background: rgba(215, 167, 45, 0.2);
  color: var(--gold-light);
  font-size: 0.48rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.catalog-compare {
  margin-bottom: clamp(44px, 6vw, 72px);
  border: 1px solid rgba(215, 167, 45, 0.35);
  background: rgba(0, 0, 0, 0.28);
  box-shadow: 0 0 24px rgba(215, 167, 45, 0.06);
}

.catalog-compare > summary {
  padding: 18px clamp(18px, 3vw, 28px);
  color: var(--gold-light);
  cursor: pointer;
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.16em;
  list-style: none;
  text-transform: uppercase;
}

.catalog-compare > summary::-webkit-details-marker {
  display: none;
}

.catalog-compare > summary::after {
  float: right;
  content: "+";
  color: var(--gold);
  font-size: 1rem;
}

.catalog-compare[open] > summary::after {
  content: "−";
}

.catalog-compare-scroll {
  position: relative;
  overflow-x: auto;
  border-top: 1px solid var(--line-soft);
  -webkit-overflow-scrolling: touch;
}

.compare-scroll-hint {
  display: none;
  margin: 0;
  padding: 10px 18px 0;
  color: var(--muted);
  font-size: 0.55rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.compare-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 0.72rem;
}

.compare-table th,
.compare-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line-soft);
  text-align: left;
}

.compare-table thead th {
  color: var(--gold);
  font-size: 0.55rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.compare-table tbody th {
  color: var(--paper);
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 400;
}

.compare-table td {
  color: var(--muted);
}

.compare-table tr.compare-highlight {
  background: rgba(215, 167, 45, 0.07);
}

.compare-table tr.compare-highlight th,
.compare-table tr.compare-highlight td {
  color: var(--gold-light);
}

.boutique-sticky-cta {
  position: fixed;
  z-index: 85;
  right: 0;
  bottom: 0;
  left: 0;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 18px calc(12px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: rgba(5, 6, 4, 0.94);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.35);
  pointer-events: none;
  transform: translateY(110%);
  transition: transform 280ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.boutique-sticky-cta.is-visible {
  pointer-events: auto;
  transform: translateY(0);
}

.boutique-sticky-copy {
  display: grid;
  gap: 2px;
}

.boutique-sticky-copy strong {
  color: var(--paper);
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 400;
}

.boutique-sticky-copy span {
  color: var(--muted);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.boutique-sticky-cta .button {
  min-height: 44px;
  flex-shrink: 0;
  padding: 0 16px;
  font-size: 0.55rem;
}

.media-frame {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.03) 8%, rgba(255, 255, 255, 0.08) 18%, rgba(255, 255, 255, 0.03) 33%),
    #0a0b08;
  background-size: 200% 100%;
}

.media-frame.is-loading {
  animation: skeleton-shimmer 1.4s ease-in-out infinite;
}

.media-frame img {
  width: 100%;
  height: auto;
  opacity: 0;
  transition: opacity 360ms ease;
}

.media-frame img.is-loaded {
  opacity: 1;
}

.media-frame.is-error {
  animation: none;
  background: #120f0a;
}

.media-frame.is-error::after {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  color: var(--muted);
  content: "Visuel indisponible";
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.media-frame-wide {
  border: 1px solid var(--line);
}

@keyframes skeleton-shimmer {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

.parcours-overview {
  margin-top: clamp(48px, 7vw, 90px);
  padding-top: clamp(36px, 5vw, 58px);
  border-top: 1px solid var(--line-soft);
}

.parcours-heading {
  max-width: 640px;
  margin-bottom: clamp(28px, 4vw, 44px);
}

.parcours-heading h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.parcours-heading > p:last-child {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.6;
}

.parcours-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.parcours-card {
  margin: 0;
  border: 1px solid var(--line);
  background: #080906;
}

.parcours-card .media-frame {
  aspect-ratio: 16 / 10;
}

.parcours-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.parcours-card figcaption {
  display: grid;
  gap: 6px;
  padding: 16px 18px 20px;
}

.parcours-card figcaption span {
  color: var(--gold);
  font-size: 0.55rem;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.parcours-card figcaption strong {
  color: var(--paper-soft);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.parcours-maker {
  border-color: rgba(238, 181, 37, 0.35);
}

.parcours-seller {
  border-color: rgba(150, 217, 50, 0.35);
}

.parcours-investor {
  border-color: rgba(196, 92, 240, 0.35);
}

.missions-overview {
  margin: 0 0 clamp(36px, 5vw, 58px);
}

.missions-overview figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.boutique-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(24px, 5vw, 60px);
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid var(--line);
  background:
    linear-gradient(120deg, rgba(215, 167, 45, 0.06), transparent 55%),
    rgba(0, 0, 0, 0.28);
}

.boutique-contact-copy h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1;
}

.boutique-contact-copy > p:not(.eyebrow) {
  max-width: 520px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.6;
}

.boutique-contact-actions {
  display: grid;
  gap: 10px;
  flex: 0 0 auto;
}

.boutique-contact-actions .button {
  min-width: 220px;
}

.order-dialog {
  width: min(94vw, 580px);
}

.order-dialog form {
  position: relative;
  padding: clamp(30px, 6vw, 54px);
  background:
    radial-gradient(circle at 90% 8%, rgba(215, 167, 45, 0.12), transparent 18rem),
    linear-gradient(145deg, rgba(215, 167, 45, 0.04), transparent 50%);
}

.order-dialog form::before {
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(215, 167, 45, 0.16);
  content: "";
  pointer-events: none;
}

.order-dialog h2 {
  margin: 0;
  color: var(--paper);
  font-family: var(--display);
  font-size: clamp(2rem, 6vw, 3.2rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.order-dialog-intro {
  margin: 14px 0 22px;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.6;
}

.order-summary {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 16px;
  align-items: baseline;
  margin-bottom: 22px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.35);
}

.order-summary > span {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 0.52rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.order-summary strong {
  color: var(--paper);
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 400;
}

.order-summary b {
  color: var(--gold-light);
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 400;
}

.order-dialog textarea {
  display: block;
  width: 100%;
  min-height: 88px;
  resize: vertical;
  padding: 12px 14px;
  border: 1px solid var(--line-soft);
  border-radius: 0;
  outline: 0;
  background: rgba(0, 0, 0, 0.38);
  color: var(--paper);
  font-size: 0.72rem;
  line-height: 1.6;
  transition: border-color 180ms ease;
}

.order-dialog textarea:focus {
  border-color: rgba(215, 167, 45, 0.65);
}

.order-dialog textarea::placeholder {
  color: #666257;
}

.order-dialog-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.52rem;
  line-height: 1.55;
  text-align: center;
}

.agent-input small {
  color: var(--muted);
  font-size: 0.85em;
  letter-spacing: 0;
  text-transform: none;
}

.agent-input.is-invalid input,
.agent-input.is-invalid textarea {
  border-color: rgba(220, 90, 70, 0.75);
}

.agent-input .field-error {
  display: block;
  margin-top: 6px;
  color: #e08a72;
  font-size: 0.62rem;
  line-height: 1.4;
}

/* Ambassador application */
.ambassador-section {
  position: relative;
  overflow: hidden;
}

.ambassador-section::before {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(215, 167, 45, 0.08), transparent 28rem),
    radial-gradient(circle at 88% 82%, rgba(215, 167, 45, 0.05), transparent 22rem);
  content: "";
  pointer-events: none;
}

.ambassador-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(240px, 340px) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

.ambassador-info {
  display: grid;
  gap: 12px;
}

.ambassador-info-card {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px 18px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.35);
}

.ambassador-info-card > span {
  color: var(--gold);
  font-family: var(--display);
  font-size: 1.1rem;
}

.ambassador-info-card strong {
  display: block;
  margin-bottom: 4px;
  color: var(--paper);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ambassador-info-card small {
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.55;
}

.ambassador-info-note {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.6;
}

.ambassador-info-note a {
  color: var(--gold-light);
}

.ambassador-form-panel {
  position: relative;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 92% 6%, rgba(215, 167, 45, 0.1), transparent 16rem),
    linear-gradient(145deg, rgba(215, 167, 45, 0.03), transparent 55%),
    rgba(0, 0, 0, 0.42);
}

.ambassador-form-panel::before {
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(215, 167, 45, 0.14);
  content: "";
  pointer-events: none;
}

.ambassador-form {
  position: relative;
  padding: clamp(24px, 5vw, 42px);
}

.ambassador-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 16px;
}

.ambassador-form textarea {
  display: block;
  width: 100%;
  min-height: 120px;
  resize: vertical;
  padding: 12px 14px;
  border: 1px solid var(--line-soft);
  border-radius: 0;
  outline: 0;
  background: rgba(0, 0, 0, 0.38);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 0.72rem;
  line-height: 1.6;
  transition: border-color 180ms ease;
}

.ambassador-form textarea:focus {
  border-color: rgba(215, 167, 45, 0.65);
}

.ambassador-form textarea::placeholder {
  color: #666257;
}

.ambassador-file-input input[type="file"] {
  display: block;
  width: 100%;
  padding: 12px 14px;
  border: 1px dashed rgba(215, 167, 45, 0.35);
  background: rgba(0, 0, 0, 0.38);
  color: var(--paper-soft);
  cursor: pointer;
  font-size: 0.68rem;
}

.ambassador-file-input input[type="file"]::file-selector-button {
  margin-right: 14px;
  padding: 8px 14px;
  border: 1px solid rgba(215, 167, 45, 0.45);
  background: rgba(215, 167, 45, 0.12);
  color: var(--gold-light);
  cursor: pointer;
  font-family: var(--sans);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ambassador-file-name {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.62rem;
}

.ambassador-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.ambassador-submit {
  width: 100%;
  margin-top: 8px;
}

.ambassador-submit.is-loading {
  pointer-events: none;
  opacity: 0.7;
}

.ambassador-form-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.52rem;
  line-height: 1.55;
  text-align: center;
}

.ambassador-success {
  padding: clamp(36px, 8vw, 64px);
  text-align: center;
}

.ambassador-success-icon {
  display: grid;
  width: 64px;
  aspect-ratio: 1;
  place-items: center;
  margin: 0 auto 20px;
  border: 1px solid rgba(215, 167, 45, 0.5);
  background: rgba(215, 167, 45, 0.1);
  color: var(--gold-light);
  font-size: 1.6rem;
}

.ambassador-success h3 {
  margin: 10px 0 14px;
  color: var(--paper);
  font-family: var(--display);
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  font-weight: 400;
  letter-spacing: -0.03em;
}

.ambassador-success p {
  max-width: 36ch;
  margin: 0 auto 24px;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.65;
}

.role-cta-link {
  display: inline-flex;
  margin-top: 10px;
  color: var(--gold-light);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

.role-cta-link:hover {
  color: var(--paper);
}

.agent-input.is-invalid input[type="file"] {
  border-color: rgba(220, 90, 70, 0.75);
}

.role-card {
  --card-accent: var(--gold);
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 670px;
  flex-direction: column;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid color-mix(in srgb, var(--card-accent) 38%, transparent);
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--card-accent) 6%, transparent), transparent 45%),
    #080906;
  transition:
    transform 320ms cubic-bezier(0.2, 0.7, 0.2, 1),
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.role-card::after {
  position: absolute;
  inset: 7px;
  border: 1px solid color-mix(in srgb, var(--card-accent) 14%, transparent);
  content: "";
  pointer-events: none;
}

.role-maker {
  --card-accent: #eeb525;
}

.role-seller {
  --card-accent: #96d932;
}

.role-investor {
  --card-accent: #c45cf0;
}

.role-card:hover,
.role-card.is-selected {
  z-index: 2;
  transform: translateY(-8px);
  border-color: color-mix(in srgb, var(--card-accent) 80%, transparent);
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.35),
    0 0 25px color-mix(in srgb, var(--card-accent) 12%, transparent);
}

.role-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.role-media::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, transparent 42%, #080906 100%),
    linear-gradient(120deg, color-mix(in srgb, var(--card-accent) 10%, transparent), transparent 40%);
  content: "";
}

.role-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.08);
  transition:
    transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1),
    filter 400ms ease;
}

.role-card:hover .role-media img {
  transform: scale(1.045);
  filter: saturate(0.96) contrast(1.04);
}

.role-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 22px clamp(24px, 2.8vw, 39px) 35px;
}

.role-index {
  display: flex;
  width: 100%;
  justify-content: space-between;
  color: var(--card-accent);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.role-index i {
  font-style: normal;
}

.role-content h3 {
  min-height: 2em;
  margin: 23px 0 14px;
  font-family: var(--display);
  font-size: clamp(2.25rem, 3.5vw, 3.6rem);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 0.88;
}

.role-content > strong {
  color: var(--card-accent);
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.role-content > p {
  margin: 15px 0 20px;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.65;
}

.role-content ul {
  display: flex;
  width: 100%;
  gap: 5px;
  margin: auto 0 24px;
  padding: 0;
  list-style: none;
}

.role-content li {
  flex: 1;
  padding-top: 10px;
  border-top: 1px solid color-mix(in srgb, var(--card-accent) 42%, transparent);
  color: var(--paper-soft);
  font-size: 0.52rem;
  letter-spacing: 0.07em;
  text-align: center;
  text-transform: uppercase;
}

.role-cta {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 48px;
  border: 1px solid color-mix(in srgb, var(--card-accent) 72%, transparent);
  background: color-mix(in srgb, var(--card-accent) 8%, transparent);
  color: color-mix(in srgb, var(--card-accent) 88%, white 12%);
  cursor: pointer;
  font-size: 0.62rem;
  font-weight: 650;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition:
    background-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.role-cta:hover {
  transform: translateY(-2px);
  background: color-mix(in srgb, var(--card-accent) 16%, transparent);
  color: #fff;
}

.missions-section {
  max-width: none;
  padding-right: 0;
  padding-left: 0;
}

.missions-section > .section-heading,
.mission-empty,
.mission-app {
  width: min(calc(100% - (var(--section-x) * 2)), calc(var(--max-width) - (var(--section-x) * 2)));
  margin-right: auto;
  margin-left: auto;
}

.mission-empty {
  display: grid;
  min-height: 420px;
  grid-template-columns: 0.72fr 1.28fr;
  align-items: center;
  gap: clamp(38px, 7vw, 100px);
  padding: clamp(35px, 5vw, 70px);
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 24% 50%, rgba(215, 167, 45, 0.12), transparent 23rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.025), transparent),
    #090a07;
}

.mission-empty h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.4rem, 4vw, 4.2rem);
  font-weight: 400;
}

.mission-empty > div:last-child > p:not(.eyebrow) {
  max-width: 560px;
  margin: 13px 0 27px;
  color: var(--muted);
}

.empty-radar {
  position: relative;
  display: grid;
  width: min(28vw, 260px);
  aspect-ratio: 1;
  place-items: center;
  justify-self: center;
  border: 1px solid rgba(215, 167, 45, 0.46);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(215, 167, 45, 0.15), transparent 45%),
    repeating-radial-gradient(circle, transparent 0 23px, rgba(215, 167, 45, 0.13) 24px 25px);
}

.empty-radar::before,
.empty-radar::after {
  position: absolute;
  background: var(--line);
  content: "";
}

.empty-radar::before {
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
}

.empty-radar::after {
  top: 50%;
  right: 0;
  left: 0;
  height: 1px;
}

.empty-radar i {
  position: absolute;
  inset: 50% 50% 0;
  border-top: 1px solid var(--gold);
  transform: rotate(-30deg);
  transform-origin: 0 0;
  animation: radar 5s linear infinite;
}

.empty-radar span {
  z-index: 1;
  display: grid;
  width: 64px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: #080906;
  color: var(--gold-light);
  font-family: var(--display);
  font-size: 2rem;
  box-shadow: 0 0 30px rgba(215, 167, 45, 0.2);
}

.mission-app {
  overflow: hidden;
  border: 1px solid rgba(var(--role-rgb), 0.42);
  background: #080906;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.35);
}

.mission-cover {
  position: relative;
  min-height: clamp(300px, 35vw, 480px);
  display: flex;
  align-items: flex-end;
  padding: clamp(30px, 5vw, 65px);
  overflow: hidden;
  border-bottom: 1px solid rgba(var(--role-rgb), 0.34);
}

.mission-cover-image,
.mission-cover-overlay {
  position: absolute;
  inset: 0;
}

.mission-cover-image {
  background-position: center;
  background-size: cover;
  filter: saturate(0.82) contrast(1.08);
  transition: background-image 400ms ease;
}

body[data-role="maker"] .mission-cover-image {
  background-image: url("mission-active-faiseur-privacy-2027.png");
}

body[data-role="seller"] .mission-cover-image {
  background-image: url("mission-active-vendeur-privacy-2027.png");
}

body[data-role="investor"] .mission-cover-image {
  background-image: url("mission-active-investisseur-privacy-2027.png");
}

.mission-cover-overlay {
  background:
    linear-gradient(90deg, rgba(3, 4, 2, 0.95) 0, rgba(3, 4, 2, 0.73) 38%, transparent 75%),
    linear-gradient(to top, rgba(3, 4, 2, 0.85), transparent 50%);
}

.mission-cover-copy {
  position: relative;
  z-index: 2;
  max-width: 550px;
}

.mission-cover-copy > span {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 0.58rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.mission-cover-copy h3 {
  margin: 0;
  color: var(--role-accent);
  font-family: var(--display);
  font-size: clamp(2.8rem, 6vw, 5.8rem);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 0.92;
}

.mission-cover-copy > p:last-child {
  margin: 12px 0 0;
  color: var(--paper);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.change-role {
  position: absolute;
  z-index: 3;
  top: 24px;
  right: 24px;
  padding: 10px 13px;
  border: 1px solid rgba(var(--role-rgb), 0.5);
  background: rgba(0, 0, 0, 0.7);
  color: var(--paper-soft);
  cursor: pointer;
  font-size: 0.58rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.change-role:hover {
  color: var(--role-accent);
}

.mission-dashboard {
  display: grid;
  grid-template-columns: minmax(210px, 0.72fr) minmax(420px, 1.65fr) minmax(220px, 0.83fr);
}

.agent-panel,
.mission-detail,
.intel-panel {
  min-width: 0;
  padding: clamp(25px, 3vw, 42px);
}

.agent-panel {
  border-right: 1px solid var(--line-soft);
  background: rgba(var(--role-rgb), 0.018);
}

.intel-panel {
  border-left: 1px solid var(--line-soft);
  background:
    linear-gradient(150deg, rgba(var(--role-rgb), 0.055), transparent 42%),
    rgba(255, 255, 255, 0.012);
}

.panel-label {
  margin: 0 0 21px;
  color: var(--role-accent);
  font-size: 0.57rem;
  font-weight: 650;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.agent-identity {
  display: flex;
  align-items: center;
  gap: 13px;
  padding-bottom: 23px;
  border-bottom: 1px solid var(--line-soft);
}

.agent-avatar {
  display: grid;
  width: 53px;
  aspect-ratio: 1;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--role-accent);
  border-radius: 50%;
  background: rgba(var(--role-rgb), 0.1);
  color: var(--role-accent);
  font-family: var(--display);
  font-size: 1.6rem;
}

.agent-identity strong,
.agent-identity small {
  display: block;
}

.profile-action {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-soft);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.52rem;
  letter-spacing: 0.11em;
  text-align: left;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.profile-action:hover {
  color: var(--role-accent);
}

.agent-identity strong {
  overflow: hidden;
  max-width: 135px;
  color: var(--paper);
  font-family: var(--display);
  font-size: 1.08rem;
  font-weight: 400;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.agent-identity small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
}

.agent-level {
  padding: 24px 0;
  border-bottom: 1px solid var(--line-soft);
}

.agent-level > div:first-child,
.mission-progress > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.agent-level span,
.mission-progress span {
  color: var(--muted);
  font-size: 0.54rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.agent-level b {
  color: var(--role-accent);
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 400;
}

.progress-track {
  position: relative;
  height: 5px;
  margin-top: 12px;
  overflow: hidden;
  border: 1px solid rgba(var(--role-rgb), 0.24);
  border-radius: 100px;
  background: rgba(0, 0, 0, 0.8);
}

.progress-track i {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--role-accent), color-mix(in srgb, var(--role-accent) 70%, white));
  box-shadow: 0 0 12px rgba(var(--role-rgb), 0.6);
  transition: width 450ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.agent-level > small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.56rem;
  text-align: right;
}

.mission-nav {
  display: grid;
  gap: 8px;
  margin-top: 24px;
}

.mission-nav-button {
  position: relative;
  display: grid;
  width: 100%;
  grid-template-columns: 30px 1fr;
  gap: 10px;
  padding: 13px 10px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  text-align: left;
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.mission-nav-button:hover:not(:disabled),
.mission-nav-button.is-current {
  border-color: rgba(var(--role-rgb), 0.3);
  background: rgba(var(--role-rgb), 0.06);
  color: var(--paper);
}

.mission-nav-button.is-complete {
  color: var(--role-accent);
}

.mission-nav-button:disabled {
  cursor: not-allowed;
  opacity: 0.46;
}

.mission-nav-button > span:first-child {
  color: var(--role-accent);
  font-family: var(--display);
  font-size: 1.05rem;
}

.mission-nav-button strong,
.mission-nav-button small {
  display: block;
}

.mission-nav-button strong {
  overflow: hidden;
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.mission-nav-button small {
  margin-top: 3px;
  color: inherit;
  font-size: 0.48rem;
  letter-spacing: 0.06em;
}

.mission-detail {
  background:
    radial-gradient(circle at 84% 15%, rgba(var(--role-rgb), 0.06), transparent 20rem),
    #0a0b08;
}

.mission-detail-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line-soft);
}

.mission-number {
  margin: 0 0 7px;
  color: var(--role-accent);
  font-size: 0.58rem;
  font-weight: 650;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.mission-detail h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2rem, 3.4vw, 3.5rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1;
}

.mission-state {
  flex: 0 0 auto;
  padding: 7px 9px;
  border: 1px solid rgba(var(--role-rgb), 0.36);
  color: var(--role-accent);
  font-size: 0.49rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.mission-description {
  max-width: 630px;
  margin: 21px 0 28px;
  color: var(--paper-soft);
  font-family: var(--display);
  font-size: 1rem;
  line-height: 1.6;
}

.objectives-fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.objectives-fieldset legend,
.mission-note > span {
  display: block;
  margin-bottom: 11px;
  color: var(--muted);
  font-size: 0.55rem;
  font-weight: 650;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.objectives-list {
  display: grid;
  gap: 8px;
}

.objective {
  position: relative;
  display: grid;
  min-height: 53px;
  grid-template-columns: 28px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 11px 15px;
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.016);
  cursor: pointer;
  transition:
    border-color 180ms ease,
    background-color 180ms ease;
}

.objective:hover {
  border-color: rgba(var(--role-rgb), 0.35);
}

.objective.is-done {
  border-color: rgba(var(--role-rgb), 0.27);
  background: rgba(var(--role-rgb), 0.05);
}

.objective input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.objective-check {
  display: grid;
  width: 26px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(var(--role-rgb), 0.5);
  border-radius: 50%;
  color: transparent;
  font-size: 0.72rem;
  transition:
    color 180ms ease,
    background-color 180ms ease;
}

.objective.is-done .objective-check {
  background: var(--role-accent);
  color: var(--ink);
}

.objective-copy strong,
.objective-copy small {
  display: block;
}

.objective-copy strong {
  color: var(--paper);
  font-size: 0.7rem;
  font-weight: 500;
}

.objective-copy small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.56rem;
}

.objective-index {
  color: var(--muted);
  font-family: var(--display);
  font-size: 0.9rem;
}

.mission-note {
  position: relative;
  display: block;
  margin-top: 25px;
}

.mission-note textarea {
  display: block;
  width: 100%;
  min-height: 112px;
  resize: vertical;
  padding: 15px 17px 28px;
  border: 1px solid var(--line-soft);
  border-radius: 0;
  outline: 0;
  background: rgba(0, 0, 0, 0.35);
  color: var(--paper);
  font-size: 0.72rem;
  line-height: 1.6;
  transition: border-color 180ms ease;
}

.mission-note textarea:focus {
  border-color: rgba(var(--role-rgb), 0.65);
}

.mission-note textarea::placeholder {
  color: #666257;
}

.mission-note > small {
  position: absolute;
  right: 12px;
  bottom: 8px;
  color: var(--muted);
  font-size: 0.5rem;
}

.mission-progress {
  margin-top: 20px;
  padding: 16px;
  border: 1px solid rgba(var(--role-rgb), 0.23);
  background: rgba(var(--role-rgb), 0.025);
}

.mission-progress b {
  color: var(--role-accent);
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mission-complete {
  width: 100%;
  margin-top: 13px;
}

.intel-panel h3 {
  margin: 0 0 12px;
  font-family: var(--display);
  font-size: 1.75rem;
  font-weight: 400;
}

.intel-panel > p:not(.panel-label) {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.65;
}

.intel-panel ul {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-soft);
  list-style: none;
}

.intel-panel li {
  position: relative;
  padding: 13px 0 13px 19px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--paper-soft);
  font-size: 0.62rem;
  line-height: 1.5;
}

.intel-panel li::before {
  position: absolute;
  top: 19px;
  left: 2px;
  width: 5px;
  height: 5px;
  border: 1px solid var(--role-accent);
  content: "";
  transform: rotate(45deg);
}

.intel-seal {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  padding: 14px;
  border: 1px solid rgba(var(--role-rgb), 0.3);
}

.intel-seal > span {
  color: var(--role-accent);
  font-size: 2rem;
  line-height: 1;
}

.intel-seal small,
.intel-seal strong {
  display: block;
}

.intel-seal small {
  color: var(--muted);
  font-size: 0.48rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.intel-seal strong {
  margin-top: 3px;
  color: var(--role-accent);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.map-section {
  display: grid;
  grid-template-columns: minmax(290px, 0.55fr) minmax(0, 1.45fr);
  align-items: center;
  gap: clamp(40px, 6vw, 90px);
  border-top: 1px solid var(--line-soft);
}

.map-copy > p {
  font-size: 1rem;
}

.map-mission-list {
  display: grid;
  gap: 0;
  margin: 30px 0 0;
  padding: 0;
  border-top: 1px solid var(--line-soft);
  list-style: none;
  counter-reset: none;
}

.map-mission-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line-soft);
  color: var(--paper-soft);
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.map-mission-list span {
  color: var(--gold);
  font-family: var(--display);
  font-size: 0.95rem;
}

.map-visual {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #030403;
}

.map-visual::after {
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(215, 167, 45, 0.12);
  content: "";
  pointer-events: none;
}

.map-visual img {
  width: 100%;
  transition: transform 800ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.map-visual:hover img {
  transform: scale(1.02);
}

.map-visual figcaption {
  position: absolute;
  z-index: 2;
  right: 25px;
  bottom: 23px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.8);
  color: var(--gold);
  font-size: 0.51rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.community-section {
  position: relative;
  z-index: 1;
  min-height: min(78vw, 760px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.community-background,
.community-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.community-background {
  object-fit: cover;
  filter: saturate(0.72);
}

.community-overlay {
  background:
    radial-gradient(circle at 50% 50%, rgba(3, 4, 2, 0.26), rgba(3, 4, 2, 0.88) 80%),
    linear-gradient(to top, var(--ink), transparent 35%, var(--ink));
}

.community-copy {
  position: relative;
  z-index: 2;
  max-width: 830px;
  padding: 90px 24px;
  text-shadow: 0 2px 25px rgba(0, 0, 0, 0.85);
}

.community-copy h2 {
  font-size: clamp(3.2rem, 7.2vw, 7rem);
}

.community-copy > p {
  max-width: 570px;
  margin-right: auto;
  margin-bottom: 30px;
  margin-left: auto;
}

.site-footer {
  position: relative;
  z-index: 2;
  display: grid;
  gap: clamp(28px, 4vw, 44px);
  grid-template-columns: 1fr 1fr;
  align-items: start;
  padding: clamp(44px, 6vw, 70px) var(--section-x) calc(95px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
}

.footer-brand {
  display: grid;
  gap: 10px;
}

.footer-tagline {
  margin: 0;
  color: var(--gold);
  font-family: var(--display);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-credit {
  margin: 0;
  font-size: 0.57rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  justify-content: flex-end;
  align-self: center;
}

.footer-nav a {
  color: var(--muted);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.footer-nav a:hover {
  color: var(--gold-light);
}

.footer-legal {
  grid-column: 1 / -1;
  display: grid;
  gap: 12px;
  padding-top: clamp(20px, 3vw, 32px);
  border-top: 1px solid var(--line-soft);
}

.footer-legal p {
  max-width: 72ch;
  margin: 0;
  font-size: 0.62rem;
  line-height: 1.65;
  letter-spacing: 0.02em;
  text-transform: none;
}

.audio-dock {
  position: fixed;
  z-index: 90;
  right: 22px;
  bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  background: rgba(5, 6, 4, 0.86);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.35);
  transition:
    border-color 180ms ease,
    transform 180ms ease;
}

.audio-dock.is-playing {
  border-color: rgba(215, 167, 45, 0.55);
}

.audio-main {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.audio-main small,
.audio-main strong {
  display: block;
}

.audio-main small {
  color: var(--muted);
  font-size: 0.46rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.audio-main strong {
  margin-top: 2px;
  color: var(--paper-soft);
  font-size: 0.58rem;
  font-weight: 550;
}

.audio-icon {
  display: flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--gold);
}

.audio-icon i {
  display: block;
  width: 2px;
  height: 5px;
  background: currentColor;
}

.audio-dock.is-playing .audio-icon i {
  animation: audio-wave 620ms ease-in-out infinite alternate;
}

.audio-dock.is-playing .audio-icon i:nth-child(2) {
  animation-delay: -170ms;
}

.audio-dock.is-playing .audio-icon i:nth-child(3) {
  animation-delay: -370ms;
}

.audio-dock.is-playing .audio-icon i:nth-child(4) {
  animation-delay: -510ms;
}

.volume-control {
  display: flex;
  align-items: center;
}

.volume-control input {
  width: 68px;
  height: 2px;
  appearance: none;
  border-radius: 0;
  background: var(--line);
  cursor: pointer;
}

.volume-control input::-webkit-slider-thumb {
  width: 8px;
  height: 8px;
  appearance: none;
  border: 1px solid var(--gold-light);
  border-radius: 50%;
  background: var(--gold);
}

.volume-control input::-moz-range-thumb {
  width: 8px;
  height: 8px;
  border: 1px solid var(--gold-light);
  border-radius: 50%;
  background: var(--gold);
}

dialog {
  max-width: none;
  max-height: calc(100dvh - 30px);
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 1px solid var(--line);
  background: #090a07;
  color: var(--paper);
  box-shadow: 0 35px 110px rgba(0, 0, 0, 0.85);
}

dialog::backdrop {
  background: rgba(0, 0, 0, 0.78);
  -webkit-backdrop-filter: blur(9px);
  backdrop-filter: blur(9px);
}

.role-dialog {
  width: min(94vw, 620px);
}

.role-dialog form {
  position: relative;
  padding: clamp(30px, 6vw, 60px);
  background:
    radial-gradient(circle at 90% 8%, rgba(var(--role-rgb), 0.14), transparent 18rem),
    linear-gradient(145deg, rgba(var(--role-rgb), 0.04), transparent 50%);
}

.role-dialog form::before {
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(var(--role-rgb), 0.16);
  content: "";
  pointer-events: none;
}

.dialog-close {
  position: absolute;
  z-index: 2;
  top: 17px;
  right: 17px;
  width: 34px;
  height: 34px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-family: var(--display);
  font-size: 1.7rem;
  line-height: 1;
}

.dialog-close:hover {
  color: var(--role-accent);
}

.dialog-role-mark {
  position: relative;
  display: grid;
  width: 70px;
  aspect-ratio: 1;
  place-items: center;
  margin-bottom: 20px;
  background: rgba(var(--role-rgb), 0.07);
  color: var(--role-accent);
  font-family: var(--display);
  font-size: 1.45rem;
}

.dialog-role-mark::before {
  position: absolute;
  inset: 10px;
  border: 1px solid var(--role-accent);
  content: "";
  transform: rotate(45deg);
}

.role-dialog h2 {
  margin: 0;
  color: var(--paper);
  font-family: var(--display);
  font-size: clamp(2.6rem, 8vw, 4.4rem);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 0.95;
}

.role-dialog h2 + p {
  margin: 17px 0 23px;
  color: var(--muted);
  font-family: var(--display);
  line-height: 1.6;
}

.dialog-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin: 0 0 27px;
  padding: 0;
  list-style: none;
  counter-reset: dialog-step;
}

.dialog-steps li {
  position: relative;
  padding: 11px 7px 10px 25px;
  border-top: 1px solid rgba(var(--role-rgb), 0.36);
  color: var(--paper-soft);
  font-size: 0.57rem;
  line-height: 1.4;
  counter-increment: dialog-step;
}

.dialog-steps li::before {
  position: absolute;
  top: 10px;
  left: 4px;
  color: var(--role-accent);
  content: "0" counter(dialog-step);
  font-family: var(--display);
}

.agent-input {
  display: block;
  margin-top: 20px;
}

.agent-input span,
.dialog-code span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.55rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.agent-input input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line-soft);
  border-radius: 0;
  outline: 0;
  background: rgba(0, 0, 0, 0.38);
  color: var(--paper);
}

.agent-input input:focus {
  border-color: rgba(var(--role-rgb), 0.65);
}

.dialog-code {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  padding: 12px 14px;
  border: 1px solid var(--line-soft);
}

.dialog-code span {
  margin: 0;
}

.dialog-code strong {
  color: var(--role-accent);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
}

.dialog-submit {
  width: 100%;
  margin-top: 17px;
}

.unlock-dialog {
  width: min(94vw, 760px);
  border-color: rgba(var(--role-rgb), 0.62);
}

.unlock-card {
  position: relative;
  min-height: 650px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.unlock-card-background {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(3, 4, 2, 0.24), rgba(3, 4, 2, 0.85)),
    url("Pack-de-visuels-Mission-Unlocked.png") center / cover;
  opacity: 0.78;
  filter: saturate(0.8) brightness(1.08);
  transform: scale(1.025);
}

.unlock-sparks {
  position: absolute;
  z-index: 1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.unlock-sparks span {
  --spark-size: 5px;
  position: absolute;
  bottom: 20%;
  left: var(--spark-x, 50%);
  width: var(--spark-size);
  height: var(--spark-size);
  border: 1px solid var(--role-accent);
  opacity: 0;
  transform: rotate(45deg);
  animation: unlock-spark 2.2s ease-out var(--spark-delay, 0s) infinite;
}

.unlock-card-content {
  position: relative;
  z-index: 2;
  width: min(86%, 570px);
  padding: clamp(27px, 6vw, 55px);
  border: 1px solid rgba(var(--role-rgb), 0.62);
  background: rgba(4, 5, 3, 0.87);
  -webkit-backdrop-filter: blur(13px);
  backdrop-filter: blur(13px);
  text-align: center;
}

.unlock-symbol {
  display: block;
  color: var(--role-accent);
  font-size: 2.7rem;
  line-height: 1;
  animation: status-pulse 2s ease-in-out infinite;
}

.unlock-card h2 {
  margin: 10px 0 8px;
  color: var(--role-accent);
  font-family: var(--display);
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.86;
  text-transform: lowercase;
}

.unlock-card h2 + p {
  margin: 18px 0 25px;
  color: var(--paper);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.unlock-card dl {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin: 0;
  background: rgba(var(--role-rgb), 0.22);
}

.unlock-card dl > div {
  padding: 12px;
  background: #0b0c09;
}

.unlock-card dt {
  color: var(--muted);
  font-size: 0.47rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.unlock-card dd {
  margin: 4px 0 0;
  color: var(--paper);
  font-family: var(--display);
  font-size: 1rem;
}

.unlock-signature {
  margin: 25px 0 17px;
  color: var(--gold);
  font-size: 0.58rem;
  letter-spacing: 0.38em;
  text-transform: uppercase;
}

.unlock-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.unlock-actions .button {
  min-width: 0;
  padding-right: 12px;
  padding-left: 12px;
  line-height: 1.35;
  text-align: center;
}

.button.is-loading {
  opacity: 0.55;
  pointer-events: none;
}

.portal-gate {
  position: fixed;
  z-index: 400;
  inset: 0;
  display: grid;
  align-items: end;
  overflow: hidden;
  overscroll-behavior: none;
  touch-action: manipulation;
  background: #050403;
  color: var(--paper);
  opacity: 1;
  transition: opacity 120ms ease;
}

.portal-gate[hidden] {
  display: none !important;
  pointer-events: none !important;
}

.portal-gate.is-leaving {
  opacity: 0;
  pointer-events: none;
  transition-duration: 120ms;
}

.portal-gate-picture,
.portal-gate-image,
.portal-gate-veil {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.portal-gate-picture {
  display: block;
}

.portal-gate-image {
  object-fit: cover;
  object-position: center 38%;
  filter: saturate(0.78) contrast(1.08);
}

.portal-gate-veil {
  background:
    linear-gradient(90deg, rgba(4, 5, 3, 0.88) 0, rgba(4, 5, 3, 0.42) 46%, transparent 72%),
    linear-gradient(to top, rgba(4, 5, 3, 0.92), transparent 48%);
}

.portal-gate-copy {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 0 var(--section-x) clamp(48px, 8vh, 110px);
}

.portal-kicker {
  margin: 0 0 18px;
  color: var(--gold-light);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.portal-gate-copy h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3.6rem, 9vw, 7.4rem);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.88;
  text-transform: uppercase;
}

.portal-desc {
  max-width: 420px;
  margin: 18px 0 0;
  color: var(--paper-soft);
  font-family: var(--display);
  font-size: 1.12rem;
  line-height: 1.55;
}

.portal-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 13px;
  margin-top: 28px;
}

.toast {
  position: fixed;
  z-index: 300;
  bottom: 96px;
  left: 50%;
  max-width: calc(100vw - 40px);
  padding: 11px 16px;
  transform: translate(-50%, 18px);
  border: 1px solid var(--line);
  background: rgba(5, 6, 4, 0.94);
  color: var(--paper);
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.toast.is-visible {
  transform: translate(-50%, 0);
  opacity: 1;
}

.noscript-message {
  position: fixed;
  z-index: 500;
  right: 20px;
  bottom: 20px;
  left: 20px;
  padding: 14px;
  border: 1px solid #c0392b;
  background: #180706;
  color: #fff;
  text-align: center;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 700ms ease,
    transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes scan {
  to {
    transform: translateY(680%);
  }
}

@keyframes status-pulse {
  50% {
    opacity: 0.45;
    box-shadow: 0 0 20px currentColor;
  }
}

@keyframes scroll-dot {
  0% {
    transform: translate(-50%, 0);
    opacity: 0;
  }
  35% {
    opacity: 1;
  }
  80%,
  100% {
    transform: translate(-50%, 11px);
    opacity: 0;
  }
}

@keyframes radar {
  to {
    transform: rotate(330deg);
  }
}

@keyframes sound-bar {
  to {
    height: 11px;
  }
}

@keyframes audio-wave {
  to {
    height: 17px;
  }
}

@keyframes unlock-spark {
  0% {
    opacity: 0;
    transform: translate3d(0, 0, 0) rotate(45deg) scale(0.5);
  }
  16% {
    opacity: 0.78;
  }
  75%,
  100% {
    opacity: 0;
    transform: translate3d(var(--spark-drift, 8px), -390px, 0) rotate(225deg) scale(1.2);
  }
}

@media (max-width: 1180px) {
  :root {
    --section-x: clamp(22px, 4vw, 56px);
  }

  .site-header {
    gap: 22px;
  }

  .main-nav {
    gap: 18px;
  }

  .hero {
    grid-template-columns: minmax(330px, 0.8fr) minmax(470px, 1.2fr);
  }

  .roles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .boutique-trust {
    grid-template-columns: repeat(2, 1fr);
  }

  .boutique-trust-item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .boutique-trust-item:last-child {
    border-bottom: 0;
  }

  .boutique-contact {
    flex-direction: column;
    align-items: flex-start;
  }

  .role-card:last-child {
    grid-column: 1 / -1;
    min-height: 510px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
  }

  .role-card:last-child .role-media {
    height: 100%;
    aspect-ratio: auto;
  }

  .role-card:last-child .role-content h3 {
    min-height: auto;
  }

  .mission-dashboard {
    grid-template-columns: 230px 1fr;
  }

  .intel-panel {
    grid-column: 1 / -1;
    border-top: 1px solid var(--line-soft);
    border-left: 0;
  }

  .intel-panel ul {
    grid-template-columns: repeat(3, 1fr);
  }

  .intel-panel li {
    padding-right: 18px;
  }

  .intel-seal {
    max-width: 330px;
  }
}

@media (max-width: 960px) {
  :root {
    --header-height: 66px;
  }

  .site-header {
    grid-template-columns: minmax(0, 1fr) auto auto auto;
    gap: 10px;
    padding-right: max(16px, env(safe-area-inset-right, 0px));
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    background: rgba(5, 6, 4, 0.83);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
  }

  .site-header.is-scrolled {
    height: calc(var(--header-height) + env(safe-area-inset-top, 0px));
  }

  .header-cta {
    grid-column: 3;
    grid-row: 1;
    min-height: 44px;
    padding: 0 10px;
    font-size: 0.5rem;
    letter-spacing: 0.1em;
    white-space: nowrap;
  }

  .header-cta span {
    display: none;
  }

  .menu-toggle {
    z-index: 2;
    grid-column: 4;
    display: grid;
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
    place-content: center;
    gap: 5px;
    border: 1px solid var(--line);
    background: transparent;
    cursor: pointer;
  }

  .menu-toggle span {
    display: block;
    width: 18px;
    height: 1px;
    background: var(--gold);
    transition:
      transform 180ms ease,
      opacity 180ms ease;
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(6px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-6px) rotate(-45deg);
  }

  .main-nav {
    position: fixed;
    z-index: 1;
    inset: var(--header-height) 0 auto;
    display: grid;
    gap: 0;
    padding: 25px 22px 34px;
    border-bottom: 1px solid var(--line);
    background:
      radial-gradient(circle at 80% 10%, rgba(215, 167, 45, 0.1), transparent 15rem),
      rgba(5, 6, 4, 0.98);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-14px);
    transition:
      opacity 180ms ease,
      transform 180ms ease;
  }

  .main-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .main-nav a {
    padding: 14px 5px;
    border-bottom: 1px solid var(--line-soft);
    font-family: var(--display);
    font-size: 1.35rem;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
  }

  .main-nav a.nav-shop::before {
    position: static;
    display: inline-block;
    margin-left: 8px;
    vertical-align: middle;
  }

  .main-nav a::after {
    display: none;
  }

  .header-sound {
    grid-column: 2;
    grid-row: 1;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 55px;
    padding-top: calc(var(--header-height) + env(safe-area-inset-top, 0px) + 72px);
    padding-bottom: 110px;
  }

  .hero-copy {
    max-width: 720px;
  }

  .hero h1 {
    font-size: clamp(3.4rem, 11vw, 5.8rem);
    line-height: 0.78;
  }

  .hero-price-anchor {
    font-size: clamp(1.25rem, 4.5vw, 1.65rem);
  }

  .hero-visual {
    width: min(100%, 900px);
    justify-self: center;
  }

  html.is-product-site .hero-visual--shop {
    width: 100%;
    max-height: min(72vw, 440px);
  }

  html.is-product-site .hero-visual--shop img {
    max-height: min(72vw, 440px);
  }

  .proof-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .proof-item:nth-child(2) {
    border-right: 0;
  }

  .proof-item:nth-child(3) {
    border-top: 1px solid var(--line);
  }

  .boutique-teaser-grid {
    grid-template-columns: 1fr;
  }

  .boutique-trust {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .boutique-trust-item:nth-child(2) {
    border-right: 0;
  }

  .boutique-trust-item:nth-child(3),
  .boutique-trust-item:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .boutique-trust-item {
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .vision-section,
  .product-section,
  .map-section {
    grid-template-columns: 1fr;
  }

  .catalog-grid {
    grid-template-columns: 1fr;
  }

  .boutique-contact-actions {
    width: 100%;
  }

  .boutique-contact-actions .button {
    width: 100%;
    min-width: 0;
  }

  .cinema-heading {
    display: block;
    width: 100%;
  }

  .cinema-heading > p {
    margin-top: 22px;
  }

  .vision-copy {
    max-width: 670px;
  }

  .map-copy {
    max-width: 690px;
  }
}

@media (max-width: 760px) {
  :root {
    --section-x: 20px;
    --section-y: 82px;
  }

  .wordmark {
    font-size: 1.35rem;
    min-width: 0;
  }

  .wordmark small,
  .header-sound-label {
    display: none;
  }

  .header-sound {
    min-width: 38px;
    justify-content: center;
    padding: 0;
  }

  .hero {
    gap: 42px;
    padding-top: calc(var(--header-height) + env(safe-area-inset-top, 0px) + 44px);
  }

  .hero::before {
    top: 6%;
    left: -70%;
    width: 145vw;
    height: 145vw;
  }

  .hero h1 {
    font-size: clamp(3rem, 12vw, 4.6rem);
    letter-spacing: -0.07em;
  }

  .hero-price-anchor {
    margin-top: 14px;
    font-size: clamp(1.15rem, 4.8vw, 1.5rem);
  }

  .hero-subtitle {
    max-width: 310px;
    letter-spacing: 0.3em;
  }

  .hero-intro {
    font-size: 1.05rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
    min-height: 48px;
  }

  .hero-trust {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }

  html.is-product-site .hero-visual--shop {
    max-height: min(78vw, 400px);
  }

  html.is-product-site .hero-visual--shop img {
    max-height: min(78vw, 400px);
  }

  .hero-visual picture {
    aspect-ratio: 9 / 12.8;
  }

  .hero-visual img {
    object-position: center top;
  }

  .hero-visual-status {
    right: 11px;
    bottom: 11px;
    max-width: calc(100% - 22px);
    font-size: 0.5rem;
  }

  .scroll-cue {
    display: none;
  }

  .proof-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .proof-item {
    min-height: 108px;
    padding-right: 20px;
    padding-left: 20px;
  }

  .boutique-trust-item {
    padding: 22px 18px;
  }

  .boutique-trust-item > span {
    font-size: 1.2rem;
  }

  .teaser-card-body .button {
    min-height: 48px;
  }

  .product-actions .button {
    min-height: 48px;
  }

  .vision-section {
    gap: 44px;
  }

  .product-visual {
    margin-right: -20px;
    margin-left: -20px;
    border-right: 0;
    border-left: 0;
  }

  .product-visual img {
    min-height: 360px;
  }

  .product-visual figcaption {
    right: 15px;
    bottom: 15px;
  }

  .cinema-section {
    padding-right: 20px;
    padding-left: 20px;
  }

  .cinema-frame {
    width: min(100%, 380px);
  }

  .portal-gate {
    align-items: end;
  }

  .portal-gate-veil {
    background:
      linear-gradient(to top, rgba(4, 5, 3, 0.97) 0%, rgba(4, 5, 3, 0.78) 38%, rgba(4, 5, 3, 0.42) 62%, transparent 100%);
  }

  .portal-gate-image {
    object-position: center 22%;
  }

  .portal-gate-copy {
    width: 100%;
    max-width: none;
    padding-right: max(22px, env(safe-area-inset-right));
    padding-left: max(22px, env(safe-area-inset-left));
    padding-bottom: calc(28px + env(safe-area-inset-bottom));
  }

  .portal-desc {
    max-width: none;
    font-size: 1rem;
  }

  .portal-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .portal-actions .button {
    width: 100%;
    min-height: 48px;
    touch-action: manipulation;
  }

  .catalog-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-right: -20px;
    margin-left: -20px;
    padding-right: 20px;
    padding-left: 20px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .catalog-filters::-webkit-scrollbar {
    display: none;
  }

  .catalog-filter {
    flex-shrink: 0;
    min-height: 44px;
  }

  .catalog-compare-scroll::after {
    display: block;
    padding: 10px 18px 14px;
    color: var(--muted);
    content: "Glissez pour comparer →";
    font-size: 0.55rem;
    letter-spacing: 0.1em;
    text-align: center;
    text-transform: uppercase;
  }

  .catalog-compare > summary {
    min-height: 48px;
    display: flex;
    align-items: center;
  }

  .order-dialog {
    width: min(100vw - 16px, 580px);
    max-height: calc(100dvh - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px) - 16px);
    margin: auto;
  }

  .order-dialog form {
    max-height: calc(100dvh - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px) - 16px);
    overflow-y: auto;
    padding: 34px 22px calc(28px + env(safe-area-inset-bottom, 0px));
    -webkit-overflow-scrolling: touch;
  }

  .order-dialog .dialog-submit {
    width: 100%;
    min-height: 48px;
  }

  .ambassador-layout {
    grid-template-columns: 1fr;
  }

  .ambassador-form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .ambassador-form {
    padding: 28px 20px;
  }

  .ambassador-success {
    padding: 36px 22px;
  }

  .agent-input input,
  .order-dialog textarea {
    font-size: 16px;
  }

  .order-dialog textarea {
    min-height: 96px;
  }

  .role-dialog {
    width: min(100vw - 16px, 620px);
    max-height: calc(100dvh - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px) - 16px);
  }

  .role-dialog form {
    max-height: calc(100dvh - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px) - 16px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .agent-input input {
    min-height: 48px;
  }

  .product-card-media {
    aspect-ratio: 1 / 1;
    padding: 12px;
  }

  .vision-media {
    margin-right: -20px;
    margin-left: -20px;
    border-right: 0;
    border-left: 0;
  }

  .vision-media img {
    min-height: 330px;
  }

  .media-label {
    right: 17px;
    bottom: 17px;
  }

  .vision-copy h2,
  .section-heading h2,
  .product-copy h2,
  .boutique-heading h2,
  .cinema-heading h2,
  .map-copy h2,
  .community-copy h2,
  .portal-gate-copy h2 {
    font-size: clamp(2.8rem, 15vw, 4.8rem);
  }

  .section-heading {
    display: block;
  }

  .section-heading > p {
    margin-top: 22px;
  }

  .roles-grid {
    grid-template-columns: 1fr;
  }

  .role-card,
  .role-card:last-child {
    min-height: auto;
    display: flex;
    grid-column: auto;
  }

  .role-card:last-child .role-media {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .role-content {
    padding: 20px 23px 28px;
  }

  .role-content h3 {
    min-height: 0;
    font-size: 2.75rem;
  }

  .missions-section > .section-heading,
  .mission-empty,
  .mission-app {
    width: calc(100% - 40px);
  }

  .mission-empty {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 37px 24px;
    text-align: center;
  }

  .empty-radar {
    width: min(58vw, 220px);
  }

  .mission-empty .button {
    width: 100%;
  }

  .mission-cover {
    min-height: 590px;
    align-items: flex-end;
    padding: 28px 24px;
  }

  body[data-role="maker"] .mission-cover-image {
    background-image: url("mission-mobile-faiseur-privacy-2027.png");
  }

  body[data-role="seller"] .mission-cover-image {
    background-image: url("mission-mobile-vendeur-privacy-2027.png");
  }

  body[data-role="investor"] .mission-cover-image {
    background-image: url("mission-mobile-investisseur-privacy-2027.png");
  }

  .mission-cover-image {
    background-position: center top;
  }

  .mission-cover-overlay {
    background: linear-gradient(to top, rgba(3, 4, 2, 0.96), rgba(3, 4, 2, 0.06) 74%);
  }

  .mission-cover-copy h3 {
    font-size: 3.5rem;
  }

  .change-role {
    top: 14px;
    right: 14px;
  }

  .mission-dashboard {
    grid-template-columns: 1fr;
  }

  .agent-panel {
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
  }

  .mission-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .mission-nav-button {
    display: block;
    padding: 12px 8px;
    text-align: center;
  }

  .mission-nav-button > span:first-child {
    display: block;
    margin-bottom: 3px;
  }

  .mission-nav-button strong {
    font-size: 0.5rem;
  }

  .mission-nav-button small {
    display: none;
  }

  .mission-detail-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .intel-panel {
    grid-column: auto;
  }

  .intel-panel ul {
    grid-template-columns: 1fr;
  }

  .map-section {
    gap: 45px;
  }

  .map-visual {
    margin-right: -20px;
    margin-left: -20px;
    border-right: 0;
    border-left: 0;
  }

  .map-visual img {
    min-height: 370px;
    object-fit: cover;
  }

  .map-visual figcaption {
    right: 15px;
    bottom: 15px;
  }

  .community-section {
    min-height: 740px;
  }

  .community-background {
    object-position: center;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-bottom: calc(130px + env(safe-area-inset-bottom));
    text-align: center;
  }

  .footer-nav {
    justify-content: center;
  }

  .footer-legal p {
    margin-inline: auto;
  }

  .parcours-grid {
    grid-template-columns: 1fr;
  }

  .boutique-sticky-cta {
    display: flex;
  }

  .boutique-sticky-cta.is-visible ~ .audio-dock {
    bottom: calc(88px + env(safe-area-inset-bottom));
  }

  body:has(.boutique-sticky-cta.is-visible) .site-footer {
    padding-bottom: calc(200px + env(safe-area-inset-bottom));
  }

  .footer-wordmark {
    justify-self: center;
  }

  .audio-dock {
    right: max(12px, env(safe-area-inset-right));
    bottom: calc(12px + env(safe-area-inset-bottom));
  }

  .boutique-sticky-cta .button {
    min-height: 48px;
  }

  .menu-toggle {
    min-width: 48px;
    min-height: 48px;
  }

  .main-nav a {
    min-height: 48px;
    display: flex;
    align-items: center;
  }

  .toast {
    bottom: calc(96px + env(safe-area-inset-bottom));
  }

  .volume-control {
    display: none;
  }

  .role-dialog form {
    padding: 39px 25px 28px;
  }

  .dialog-steps {
    grid-template-columns: 1fr;
  }

  .unlock-card {
    min-height: 600px;
  }

  .unlock-card-content {
    width: calc(100% - 28px);
    padding: 34px 20px;
  }

  .unlock-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: clamp(2.75rem, 14vw, 3.8rem);
    letter-spacing: -0.06em;
    line-height: 0.82;
  }

  .hero-subtitle {
    max-width: none;
    font-size: 0.66rem;
    letter-spacing: 0.2em;
  }

  .hero-price-anchor {
    font-size: clamp(1.1rem, 5.5vw, 1.35rem);
  }

  .hero-visual {
    width: 100%;
    justify-self: stretch;
  }

  html.is-product-site .hero-visual--shop {
    max-height: min(82vw, 360px);
  }

  html.is-product-site .hero-visual--shop img {
    max-height: min(82vw, 360px);
  }

  .proof-strip,
  .boutique-trust {
    grid-template-columns: 1fr;
  }

  .proof-item,
  .boutique-trust-item {
    border-right: 0 !important;
    border-top: 1px solid var(--line);
  }

  .proof-item:first-child,
  .boutique-trust-item:first-child {
    border-top: 0;
  }

  .proof-item:last-child,
  .boutique-trust-item:last-child {
    border-bottom: 0;
  }

  .header-cta {
    min-height: 48px;
    padding: 0 12px;
  }

  .portal-gate-copy h2 {
    font-size: clamp(2.35rem, 11.5vw, 3.4rem);
    line-height: 0.92;
  }

  .portal-desc {
    font-size: 0.95rem;
  }

  .boutique-sticky-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 14px 16px calc(14px + env(safe-area-inset-bottom));
  }

  .boutique-sticky-copy {
    text-align: center;
  }

  .boutique-sticky-cta .button {
    width: 100%;
    min-height: 48px;
    justify-content: center;
  }

  .boutique-sticky-cta.is-visible ~ .audio-dock {
    bottom: calc(138px + env(safe-area-inset-bottom));
  }

  body:has(.boutique-sticky-cta.is-visible) .site-footer {
    padding-bottom: calc(240px + env(safe-area-inset-bottom));
  }

  .header-sound {
    min-width: 44px;
    min-height: 44px;
  }

  .audio-dock {
    max-width: calc(100vw - 24px - env(safe-area-inset-left) - env(safe-area-inset-right));
  }

  .audio-main strong {
    max-width: 9rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .parcours-heading h3 {
    font-size: clamp(1.85rem, 9vw, 2.5rem);
  }

  .footer-legal p {
    font-size: 0.58rem;
  }
}

@media (max-width: 460px) {
  .hero-visual-status b {
    display: none;
  }

  .role-content ul {
    gap: 3px;
  }

  .role-content li {
    font-size: 0.46rem;
  }

  .missions-section > .section-heading,
  .mission-empty,
  .mission-app {
    width: calc(100% - 24px);
  }

  .mission-cover {
    min-height: 540px;
  }

  .mission-cover-copy h3 {
    font-size: 2.75rem;
  }

  .agent-panel,
  .mission-detail,
  .intel-panel {
    padding: 25px 18px;
  }

  .objective {
    grid-template-columns: 25px 1fr;
  }

  .objective-index {
    display: none;
  }

  .unlock-card dl {
    grid-template-columns: 1fr 1fr;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .cinema-frame video.cinema-video {
    opacity: 1;
    transition: none;
  }

  .product-visual img,
  .portal-gate {
    transition: none;
  }
}
