:root {
  --brand: #391fe6;
  --accent: #15a0ff;
  --bg: #07090d;
  --surface: #0c1018;
  --card: #111722;
  --text: #f7f7f7;
  --muted: #aab2c0;
  --line: #252d3a;
  --light: #f2f2f2;
  --radius: 14px;
  --font-body: "Barlow", sans-serif;
  --font-display: "Nunito", sans-serif;
  --page-pad: clamp(1.25rem, 5vw, 5rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1rem/1.6 var(--font-body); overflow-x: hidden; }
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; padding: .7rem 1rem; background: var(--accent); color: #000; border-radius: 8px; }
.skip-link:focus { top: 1rem; }

.site-header { position: fixed; z-index: 50; inset: 0 0 auto; height: 76px; padding: 0 var(--page-pad); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid transparent; transition: background .25s, border-color .25s; }
.site-header.scrolled { background: rgba(7,9,13,.82); backdrop-filter: blur(16px); border-color: rgba(255,255,255,.08); }
.brand { display: inline-flex; align-items: center; }
.brand img { width: clamp(128px, 11vw, 158px); height: auto; }
.site-nav { display: flex; gap: clamp(1.5rem, 3vw, 3.5rem); font-size: .875rem; color: rgba(255,255,255,.72); }
.site-nav a { position: relative; padding: .7rem 0; transition: color .2s; }
.site-nav a::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.site-nav a:hover, .site-nav a:focus-visible { color: #fff; }
.site-nav a:hover::after, .site-nav a:focus-visible::after { transform: scaleX(1); }
.menu-toggle { display: none; background: none; border: 0; padding: 10px; color: white; }

.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; padding: 8rem var(--page-pad) clamp(5rem, 9vh, 8rem); overflow: hidden; }
.hero-media { position: absolute; inset: -3%; overflow: hidden; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0; background: #000; transform: translate3d(var(--hero-x, 0), var(--hero-y, 0), 0) scale(1.04); transition: transform .18s linear; }
.hero-video-strip { position: relative; min-width: 0; overflow: hidden; margin-right: -1px; background: #000; }
.hero-video-strip:last-child { margin-right: 0; }
.hero-video-strip iframe { position: absolute; left: 50%; top: 50%; width: max(178vh,535%); height: 100%; border: 0; transform: translate(-50%,-50%); pointer-events: none; }
.hero-video-strip:nth-child(1) iframe { left: 43%; }
.hero-video-strip:nth-child(3) iframe { left: 57%; }
.hero-media::before { content: ""; position: absolute; z-index: 2; inset: 0; background: linear-gradient(90deg, rgba(7,9,13,.96) 0%, rgba(7,9,13,.72) 38%, rgba(7,9,13,.3) 68%, rgba(7,9,13,.12) 100%), linear-gradient(0deg, var(--bg) 0%, transparent 38%); }
.hero-media::after { content: ""; position: absolute; z-index: 2; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(to right, #000, transparent 80%); }
.hero-scan { position: absolute; width: 1px; height: 45%; left: 63%; top: 18%; background: linear-gradient(transparent, var(--accent), transparent); box-shadow: 0 0 18px var(--accent); opacity: .6; animation: scanFloat 5s ease-in-out infinite; }
.hero-content { position: relative; z-index: 2; max-width: 920px; }
.eyebrow { margin: 0 0 1.25rem; text-transform: uppercase; letter-spacing: .2em; font-size: .75rem; font-weight: 600; color: var(--accent); }
h1, h2, h3 { font-family: var(--font-display); letter-spacing: -.035em; margin-top: 0; }
.hero h1 { margin-bottom: 1.5rem; max-width: 1100px; font-size: clamp(3.3rem, 7vw, 7rem); line-height: .92; font-weight: 800; }
.hero h1 span, .display-title span, .technical-copy h2 span, .closing h2 span { color: transparent; -webkit-text-stroke: 1.4px rgba(255,255,255,.7); }
.hero-copy { max-width: 650px; margin: 0; font-size: clamp(1.1rem, 1.7vw, 1.35rem); color: rgba(255,255,255,.72); line-height: 1.5; }
.hero-copy strong { color: #fff; font-weight: 600; }
.scroll-cue { position: absolute; z-index: 3; right: var(--page-pad); bottom: 4.8rem; display: flex; align-items: center; gap: 1rem; text-transform: uppercase; font-size: .72rem; letter-spacing: .17em; }
.scroll-cue i { width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; position: relative; }
.scroll-cue i::after { content: ""; position: absolute; width: 7px; height: 7px; border-right: 1px solid #fff; border-bottom: 1px solid #fff; transform: rotate(45deg); left: 16px; top: 14px; }
.hero-index { position: absolute; right: var(--page-pad); top: 110px; font: 700 .8rem var(--font-display); letter-spacing: .1em; color: rgba(255,255,255,.42); }
.hero-index span { color: var(--accent); margin: 0 .35rem; }

.section { padding: clamp(6rem, 12vw, 11rem) var(--page-pad); }
.section-kicker { display: flex; align-items: center; gap: 1rem; margin-bottom: clamp(3rem, 8vw, 7rem); }
.section-kicker .eyebrow { margin: 0; color: var(--muted); }
.section-number { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; font: 700 .68rem var(--font-display); color: var(--accent); }
.intro { background: var(--bg); }
.intro-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr); gap: clamp(3rem, 8vw, 9rem); align-items: end; }
.display-title { font-size: clamp(2.8rem, 6.3vw, 6.6rem); line-height: .98; margin-bottom: 0; }
.intro-copy { color: var(--muted); font-size: 1.08rem; max-width: 560px; }
.intro-copy p:first-child { color: var(--text); font-size: 1.25rem; }
.wide-media { position: relative; margin-top: clamp(4rem, 9vw, 8rem); overflow: hidden; border-radius: var(--radius); aspect-ratio: 16 / 7; background: var(--surface); }
.wide-media img { height: 100%; object-fit: cover; filter: saturate(.72) contrast(1.08); transition: transform .8s ease; }
.wide-media:hover img { transform: scale(1.02); }
.impact-panel { padding: 0 var(--page-pad) clamp(6rem, 10vw, 10rem); display: grid; grid-template-columns: repeat(3, 1fr); background: var(--bg); }
.impact-item { min-height: 220px; padding: clamp(1.5rem, 3vw, 2.5rem); border: 1px solid var(--line); border-right: 0; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.impact-item:first-child { border-radius: var(--radius) 0 0 var(--radius); }
.impact-item:last-child { border-right: 1px solid var(--line); border-radius: 0 var(--radius) var(--radius) 0; }
.impact-item::after { content: ""; position: absolute; width: 130px; height: 130px; top: -70px; right: -70px; border-radius: 50%; background: var(--brand); filter: blur(45px); opacity: .12; }
.impact-item strong { display: flex; align-items: baseline; gap: .18rem; font: 800 clamp(3.8rem, 7vw, 6.5rem)/.85 var(--font-display); font-variant-numeric: tabular-nums; letter-spacing: -.06em; }
.impact-item strong small { font: 700 clamp(.78rem, 1.3vw, 1rem)/1 var(--font-display); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.metric-prefix { color: var(--accent); font-size: .48em; transform: translateY(-.1em); }
.impact-item strong small { margin-left: .5rem; }
.impact-item p { margin: 1.5rem 0 0; color: var(--muted); line-height: 1.35; }

.possibilities { background: #090c12; color: var(--text); }
.possibilities .section-number { border-color: var(--line); color: var(--accent); }
.possibilities .section-kicker .eyebrow { color: var(--muted); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: clamp(3rem, 6vw, 5rem); }
.section-heading h2, .gallery-heading h2 { font-size: clamp(2.7rem, 5.5vw, 5.3rem); line-height: .98; margin: 0; }
.possibilities .section-heading h2 { max-width: 920px; font-size: clamp(2.7rem, 4.7vw, 4.8rem); }
.section-heading p, .gallery-heading p { max-width: 410px; color: var(--muted); font-size: 1.08rem; margin: 0; }
.use-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.use-card { min-height: 220px; padding: clamp(1.5rem, 3vw, 2.4rem); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; transition: background .3s, transform .3s; }
.use-card::before { content: ""; position: absolute; inset: auto 0 0; height: 2px; background: linear-gradient(90deg, var(--brand), var(--accent)); transform: scaleX(0); transform-origin: left; transition: transform .35s; }
.use-card:hover { background: var(--card); transform: translateY(-3px); }
.use-card:hover::before { transform: scaleX(1); }
.use-card h3 { font-size: clamp(1.3rem, 2.1vw, 1.75rem); margin-bottom: .6rem; }
.use-card p { color: var(--muted); margin: 0; line-height: 1.45; }

.immersive-band { min-height: 88svh; position: relative; display: grid; align-items: end; overflow: hidden; padding: clamp(5rem, 10vw, 9rem) var(--page-pad); }
.immersive-image { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,9,13,.9), rgba(7,9,13,.3)), linear-gradient(0deg, rgba(7,9,13,.82), transparent 50%), url("https://www.moon-event.fr/wp-content/uploads/2016/04/Barres-led-2.jpg") center/cover; }
.immersive-content { position: relative; max-width: 980px; }
.immersive-content h2 { font-size: clamp(3rem, 6.2vw, 6.4rem); line-height: .94; margin-bottom: 1.5rem; }
.immersive-content h2 span { color: transparent; -webkit-text-stroke: 1.4px rgba(255,255,255,.7); }
.immersive-content p:last-child { font-size: 1.15rem; color: rgba(255,255,255,.72); max-width: 560px; }

.technical { background: var(--surface); }
.technical-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 9vw, 10rem); }
.technical-copy h2 { font-size: clamp(2.7rem, 5.5vw, 5.5rem); line-height: .96; }
.technical-copy > p { max-width: 520px; color: var(--muted); font-size: 1.08rem; }
.preliminary-note { margin-top: 3rem; padding-left: 1rem; border-left: 2px solid var(--accent); font-size: .88rem !important; }
.spec-list { border-top: 1px solid var(--line); }
.spec { display: grid; grid-template-columns: minmax(95px,.6fr) 1.4fr; gap: 1rem; padding: 1.6rem 0; border-bottom: 1px solid var(--line); }
.spec span { color: var(--accent); font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; }
.spec strong { font: 600 1.05rem/1.35 var(--font-display); }
.rider { margin-top: clamp(6rem, 12vw, 11rem); }
.rider-heading { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(3rem, 8vw, 8rem); align-items: end; margin-bottom: 3rem; }
.rider-heading h2 { margin: 0; font-size: clamp(2.7rem, 5vw, 5.2rem); line-height: .96; }
.rider-heading > p { margin: 0; color: var(--muted); font-size: 1.06rem; }
.rider-status { display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: .75rem; padding: 1rem 1.25rem; margin-bottom: 1rem; border: 1px solid rgba(21,160,255,.25); border-radius: var(--radius); background: rgba(21,160,255,.035); }
.status-pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(21,160,255,.55); animation: statusPulse 2.2s infinite; }
.rider-status strong { font: 700 .9rem var(--font-display); }
.rider-status small { justify-self: end; color: var(--muted); }
.rider-groups { border-top: 1px solid var(--line); }
.rider-group { border-bottom: 1px solid var(--line); }
.rider-group summary { min-height: 92px; padding: 1.25rem .25rem; display: grid; grid-template-columns: 70px 1fr auto; align-items: center; cursor: pointer; list-style: none; }
.rider-group summary::-webkit-details-marker { display: none; }
.rider-group summary > span { font: 700 .72rem var(--font-display); color: var(--accent); letter-spacing: .12em; }
.rider-group summary strong { font: 700 clamp(1.25rem, 2.2vw, 1.7rem) var(--font-display); }
.rider-group summary i { width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; position: relative; transition: transform .25s, border-color .25s; }
.rider-group summary i::before, .rider-group summary i::after { content: ""; position: absolute; left: 12px; top: 18px; width: 12px; height: 1px; background: var(--text); }
.rider-group summary i::after { transform: rotate(90deg); transition: transform .25s; }
.rider-group[open] summary i { transform: rotate(180deg); border-color: var(--accent); }
.rider-group[open] summary i::after { transform: rotate(0); }
.rider-content { margin: 0 0 2rem 70px; display: grid; grid-template-columns: minmax(230px,.7fr) 1.3fr; gap: clamp(1.5rem,4vw,4rem); }
.rider-feature { padding: 1.5rem; border: 1px solid rgba(21,160,255,.28); border-radius: var(--radius); background: linear-gradient(145deg,rgba(21,160,255,.08),rgba(57,31,230,.035)); }
.rider-feature b { display: block; margin-bottom: 1.4rem; color: var(--accent); font-size: .72rem; letter-spacing: .15em; text-transform: uppercase; }
.rider-feature strong { display: block; font: 800 clamp(2rem,3.5vw,3.6rem)/1 var(--font-display); letter-spacing: -.05em; }
.rider-feature p { margin: 1rem 0 0; color: var(--muted); line-height: 1.45; }
.rider-content ul { margin: 0; padding: 0; list-style: none; columns: 2; column-gap: 2rem; }
.rider-content li { break-inside: avoid; padding: .65rem 0; border-bottom: 1px solid rgba(170,178,192,.13); color: #dbe1ea; line-height: 1.35; }
.rider-content-wide { grid-template-columns: minmax(230px,.6fr) 1.4fr; }
.equipment-zones { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 2rem; }
.equipment-zones h3 { margin: 0 0 .55rem; color: var(--accent); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; }
.equipment-zones h3:not(:first-child) { margin-top: 1.6rem; }
.equipment-zones ul { columns: 1; }

.commercial-flow { background: #090c12; }
.flow-intro { display: grid; grid-template-columns: .65fr 1.35fr; gap: 3rem; align-items: start; margin-bottom: clamp(4rem, 8vw, 7rem); }
.flow-intro h2 { max-width: 880px; margin: 0; font-size: clamp(2.6rem, 5.2vw, 5.4rem); line-height: .98; }
.flow-track { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 3vw, 3rem); }
.flow-line { position: absolute; top: 20px; left: 1rem; right: 1rem; height: 1px; background: var(--line); }
.flow-line i { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--brand), var(--accent)); box-shadow: 0 0 12px rgba(21,160,255,.7); transition: width .1s linear; }
.flow-step { position: relative; padding-top: 4.4rem; }
.flow-step > span { position: absolute; top: 0; left: 0; width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: #090c12; color: var(--accent); font: 700 .67rem var(--font-display); z-index: 2; }
.flow-step h3 { font-size: 1.35rem; margin-bottom: .5rem; }
.flow-step p { color: var(--muted); margin: 0; line-height: 1.45; }

.gallery { background: var(--bg); }
.gallery-light { --text: #11131a; --muted: #606674; --line: #d9dce3; background: #f4f5f7; color: var(--text); }
.gallery-light .section-number { border-color: #cbd0da; color: #391fe6; }
.gallery-light .section-kicker .eyebrow { color: #6b7280; }
.gallery-light .gallery-heading .eyebrow { color: #391fe6; }
.gallery-light .reel-card { border-color: #cfd3dc; box-shadow: 0 14px 36px rgba(18,23,34,.09); }
.gallery-heading { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: clamp(3rem, 6vw, 5rem); }
.gallery-heading p { color: var(--muted); }
.reels-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; align-items: start; }
.reel-card { position: relative; aspect-ratio: 9 / 16; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #000; content-visibility: auto; contain-intrinsic-size: 280px 498px; }
.reel-card::before { content: ""; position: absolute; inset: 0; z-index: 0; background: radial-gradient(circle at 50% 42%, rgba(21,160,255,.14), transparent 35%), linear-gradient(145deg, rgba(57,31,230,.12), transparent 55%); }
.reel-card iframe { position: relative; z-index: 1; display: block; width: 100%; height: 100%; border: 0; background: transparent; }

.closing { min-height: 76svh; padding: 7rem var(--page-pad); display: grid; place-content: center; text-align: center; position: relative; overflow: hidden; background: #080a10; }
.closing h2 { position: relative; font-size: clamp(3rem, 7vw, 7.2rem); line-height: .95; margin: 0; }
.closing .eyebrow { position: relative; }
.closing-copy { position: relative; max-width: 620px; margin: 2rem auto 0; color: var(--muted); font-size: 1.08rem; }
.closing-orbit { position: absolute; left: 50%; top: 50%; width: min(76vw, 900px); aspect-ratio: 1; transform: translate(-50%,-50%); border: 1px solid rgba(21,160,255,.12); border-radius: 50%; }
.closing-orbit i { position: absolute; inset: 14%; border: 1px solid rgba(57,31,230,.18); border-radius: 50%; }
.closing-orbit i:nth-child(2) { inset: 29%; border-color: rgba(21,160,255,.22); }
.closing-orbit i:nth-child(3) { inset: 45%; background: linear-gradient(135deg, var(--brand), var(--accent)); filter: blur(34px); opacity: .18; }
footer { padding: 2rem var(--page-pad); border-top: 1px solid var(--line); color: var(--muted); font-size: .78rem; text-align: center; }
footer p { margin: 0; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in-view { opacity: 1; transform: none; }
@keyframes scanFloat { 0%,100% { transform: translateY(-4%); opacity: .35; } 50% { transform: translateY(18%); opacity: .7; } }
@keyframes statusPulse { 0% { box-shadow: 0 0 0 0 rgba(21,160,255,.5); } 70% { box-shadow: 0 0 0 9px rgba(21,160,255,0); } 100% { box-shadow: 0 0 0 0 rgba(21,160,255,0); } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } .reveal { opacity: 1; transform: none; } }

@media (max-width: 760px) {
  .site-header { height: 66px; }
  .menu-toggle { display: grid; width: 44px; height: 44px; place-content: center; gap: 5px; cursor: pointer; }
  .menu-toggle span:not(.sr-only) { width: 22px; height: 1px; background: #fff; display: block; transition: transform .2s, opacity .2s; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .site-nav { position: fixed; inset: 66px 0 auto; padding: 1.5rem var(--page-pad) 2rem; display: grid; background: rgba(7,9,13,.96); backdrop-filter: blur(16px); transform: translateY(-130%); opacity: 0; transition: transform .25s, opacity .25s; border-bottom: 1px solid var(--line); }
  .site-nav.open { transform: none; opacity: 1; }
  .site-nav a { font-size: 1rem; }
  .hero { min-height: 92svh; }
  .hero-media { gap: 0; }
  .hero-video-strip iframe { width: max(178vh,1200%); }
  .hero-video-strip:nth-child(1) iframe { left: 46%; }
  .hero-video-strip:nth-child(3) iframe { left: 54%; }
  .hero-media::before { background: linear-gradient(90deg, rgba(7,9,13,.94) 0%, rgba(7,9,13,.68) 60%, rgba(7,9,13,.3) 100%), linear-gradient(0deg, var(--bg) 0%, transparent 45%); }
  .hero h1 { font-size: clamp(3.25rem, 15vw, 5rem); }
  .hero-copy { font-size: 1rem; max-width: 88%; }
  .scroll-cue { right: auto; left: var(--page-pad); bottom: 1.4rem; }
  .hero-index { display: none; }
  .intro-grid, .technical-layout { grid-template-columns: 1fr; }
  .impact-panel { grid-template-columns: 1fr; }
  .impact-item { min-height: 180px; border-right: 1px solid var(--line); border-bottom: 0; }
  .impact-item:first-child { border-radius: var(--radius) var(--radius) 0 0; }
  .impact-item:last-child { border-bottom: 1px solid var(--line); border-radius: 0 0 var(--radius) var(--radius); }
  .section-heading, .gallery-heading { align-items: start; flex-direction: column; }
  .wide-media { aspect-ratio: 4/5; }
  .wide-media img { object-position: 58% center; }
  .use-grid { grid-template-columns: 1fr; }
  .use-card { min-height: 220px; }
  .immersive-band { min-height: 78svh; }
  .rider-heading, .flow-intro { grid-template-columns: 1fr; }
  .rider-status { grid-template-columns: auto 1fr; }
  .rider-status small { grid-column: 2; justify-self: start; }
  .rider-group summary { grid-template-columns: 42px 1fr auto; }
  .rider-content, .rider-content-wide { margin-left: 0; grid-template-columns: 1fr; }
  .rider-content ul { columns: 1; }
  .equipment-zones { grid-template-columns: 1fr; gap: 1.5rem; }
  .flow-track { grid-template-columns: 1fr; gap: 2.5rem; }
  .flow-line { left: 20px; right: auto; top: 1rem; bottom: 1rem; width: 1px; height: auto; }
  .flow-line i { width: 100%; height: 0; transition-property: height; }
  .flow-step { padding: 0 0 0 4rem; min-height: 90px; }
  .reels-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
}
