:root {
  color-scheme: dark;
  --base: #07050d;
  --panel: #0d0915;
  --ink: #f5f0fa;
  --muted: #b3a8bd;
  --dim: #756c80;
  --cyan: #65f8ff;
  --pink: #f143ff;
  --violet: #8b4cff;
  --line: rgba(180, 146, 213, 0.2);
  --max: 1260px;
  --header: 84px;
  --display: "Arial Narrow", "Roboto Condensed", "Helvetica Neue", sans-serif;
  --body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--base); }
body { margin: 0; min-width: 320px; overflow-x: hidden; background: var(--base); color: var(--ink); font-family: var(--body); line-height: 1.65; }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; opacity: .19; pointer-events: none; background-image: linear-gradient(rgba(101,248,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(101,248,255,.035) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(to bottom, #000, transparent 78%); }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
::selection { background: var(--pink); color: white; }

.skip-link { position: fixed; left: 1rem; top: 1rem; z-index: 100; padding: .75rem 1rem; background: var(--cyan); color: #07050d; transform: translateY(-160%); transition: transform .2s ease; }
.skip-link:focus { transform: translateY(0); }
.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; }

.ex-header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header); padding: 0 clamp(1.2rem,4vw,4.5rem); display: flex; align-items: center; justify-content: space-between; gap: 2rem; border-bottom: 1px solid transparent; transition: height .25s ease, background .25s ease, border-color .25s ease; }
.ex-header.is-scrolled { height: 68px; background: rgba(7,5,13,.88); border-color: var(--line); backdrop-filter: blur(18px); }
.studio-brand { display: inline-flex; align-items: center; gap: .68rem; flex: none; }
.studio-brand img { width: 42px; height: 36px; display: block; object-fit: contain; }
.studio-brand path { fill: none; stroke: var(--cyan); stroke-width: 1.35; }
.studio-brand path:last-child { stroke: rgba(241,67,255,.7); }
.studio-brand > span { font: 800 1.08rem/1 var(--display); letter-spacing: .05em; text-transform: uppercase; }
.studio-brand > span span { color: var(--cyan); }
.ex-nav { display: flex; align-items: center; gap: clamp(1.25rem,2.4vw,2.5rem); font-size: .8rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.ex-nav a { color: #d3c8da; transition: color .18s ease; }
.ex-nav a:hover,.ex-nav a:focus-visible { color: var(--cyan); }
.ex-nav .back-link { padding: .65rem .9rem; border: 1px solid rgba(101,248,255,.38); color: var(--cyan); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: rgba(7,5,13,.72); color: white; }
.nav-toggle > span:not(.sr-only) { display: block; width: 19px; height: 1px; margin: 6px auto; background: currentColor; transition: transform .2s ease; }

.ex-hero { position: relative; min-height: max(680px,100svh); isolation: isolate; display: flex; align-items: flex-end; overflow: hidden; background: #07050d; }
.ex-hero__media { position: absolute; inset: 0; z-index: -3; overflow: hidden; background: #080510; }
.ex-hero__media::before { content: ""; position: absolute; inset: -2rem; background: url("assets/excursion/excursion-hero.webp") center/cover no-repeat; filter: blur(22px) brightness(.55) saturate(1.12); transform: scale(1.06); opacity: .72; }
.ex-hero__media img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: contain; object-position: center top; filter: brightness(1.12) saturate(1.05); }
.ex-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(5,4,11,.24) 0%, rgba(5,4,11,.08) 38%, transparent 64%), linear-gradient(0deg, #07050d 0%, rgba(7,5,13,.82) 17%, rgba(7,5,13,.28) 43%, transparent 70%); }
.ex-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; box-shadow: inset 0 0 100px rgba(0,0,0,.28); pointer-events: none; }
.ex-hero__scan { position: absolute; inset: 0; z-index: -1; opacity: .11; pointer-events: none; background: repeating-linear-gradient(to bottom, transparent 0 3px, rgba(101,248,255,.16) 4px); }
.ex-hero__content { width: min(760px, calc(100% - 2.5rem)); margin-left: max(1.25rem, calc((100vw - 1260px) / 2)); padding: calc(var(--header) + 4rem) 0 clamp(7rem,12vh,9rem); }
.signal,.kicker,.section-code,.ex-hero__meta,.feature__number,.crew-card__index { font-size: .73rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.signal { display: flex; align-items: center; gap: .7rem; margin: 0 0 1.35rem; color: var(--cyan); }
.signal span { width: 27px; height: 1px; background: currentColor; box-shadow: 0 0 10px currentColor; }
.ex-hero h1 { margin: 0; width: min(700px, 92%); }
.ex-hero h1 img { width: 100%; display: block; filter: drop-shadow(0 0 27px rgba(241,67,255,.28)); }
.ex-hero__lede { max-width: 630px; margin: 1.6rem 0 0; color: #e3dae8; font-size: clamp(1.08rem,1.55vw,1.32rem); line-height: 1.65; text-shadow: 0 2px 18px #05030a; }
.ex-hero__meta { display: flex; flex-wrap: wrap; gap: .7rem 1.5rem; margin-top: 1.6rem; color: #c4b7cb; }
.ex-hero__meta span { display: flex; align-items: center; gap: .65rem; }
.ex-hero__meta span::before { content: ""; width: 5px; height: 5px; background: var(--pink); box-shadow: 0 0 8px var(--pink); }
.ex-hero__actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }
.button { min-height: 49px; padding: .78rem 1.25rem; display: inline-flex; align-items: center; justify-content: center; border: 1px solid transparent; font-size: .82rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; transition: transform .18s ease, background .18s ease, border-color .18s ease; }
.button:hover,.button:focus-visible { transform: translateY(-2px); }
.button--primary { background: linear-gradient(100deg,var(--cyan),#a5ffff); color: #06060c; box-shadow: 0 0 28px rgba(101,248,255,.18); }
.button--ghost { border-color: rgba(241,67,255,.48); background: rgba(10,6,16,.52); color: #f4dcf9; }
.button--ghost:hover { border-color: var(--pink); }
.scroll-cue { position: absolute; right: clamp(1.25rem,4vw,4.5rem); bottom: 3rem; display: flex; align-items: center; gap: .7rem; color: #afa1b6; font-size: .66rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; writing-mode: vertical-rl; }
.scroll-cue span { width: 1px; height: 44px; background: linear-gradient(var(--cyan),transparent); }

.section { max-width: var(--max); margin: 0 auto; padding: clamp(6rem,10vw,10rem) clamp(1.25rem,4vw,2.5rem); }
.section-code { padding-bottom: 1rem; border-bottom: 1px solid var(--line); color: var(--dim); }
.game-grid,.crew-heading { display: grid; grid-template-columns: minmax(0,1fr) minmax(320px,.9fr); gap: clamp(3rem,8vw,8rem); margin-top: clamp(3.5rem,6vw,6rem); }
.kicker { margin: 0 0 1rem; color: var(--cyan); }
.section-title { margin: 0; font: 850 clamp(2.8rem,6vw,5.6rem)/.94 var(--display); letter-spacing: -.05em; text-transform: uppercase; }
.section-title em { color: transparent; -webkit-text-stroke: 1px rgba(241,67,255,.92); font-style: normal; }
.game-copy { color: var(--muted); }
.game-copy p { margin: 0 0 1.3rem; }
.game-copy .lead { color: #e2d9e8; font-size: 1.15rem; }
.feature-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; margin-top: clamp(4rem,8vw,7rem); border: 1px solid var(--line); background: var(--line); }
.feature { min-height: 260px; padding: clamp(1.6rem,3vw,2.7rem); background: linear-gradient(145deg,rgba(16,10,25,.98),rgba(8,7,14,.98)); }
.feature__number { color: var(--pink); }
.feature h3 { margin: 3.5rem 0 .9rem; font: 800 clamp(1.4rem,2vw,1.85rem)/1 var(--display); text-transform: uppercase; }
.feature p { margin: 0; color: var(--muted); }

.crew-section { position: relative; }
.crew-section::before { content: ""; position: absolute; inset: 3rem -100vw; z-index: -1; background: radial-gradient(circle at 25% 50%,rgba(101,248,255,.055),transparent 28%),radial-gradient(circle at 75% 50%,rgba(241,67,255,.065),transparent 28%); border-block: 1px solid rgba(170,125,207,.08); }
.crew-intro { margin: auto 0 0; padding-left: 1.3rem; border-left: 2px solid var(--pink); color: var(--muted); font-size: 1.05rem; }
.crew-duo { position: relative; margin: clamp(3.5rem,6vw,6rem) 0 0; overflow: hidden; border: 1px solid var(--line); background: #09070e; }
.crew-duo::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 90px rgba(0,0,0,.42); }
.crew-duo img { width: 100%; display: block; }
.crew-duo figcaption { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 4rem clamp(1.25rem,3vw,2.5rem) 1.4rem; display: flex; justify-content: space-between; gap: 1rem; background: linear-gradient(transparent,rgba(5,3,10,.92)); color: #d7cde0; font-size: .73rem; font-weight: 750; letter-spacing: .11em; text-transform: uppercase; }
.crew-duo figcaption span { display: flex; flex-direction: column; }
.crew-duo figcaption b { color: var(--cyan); font: 900 clamp(1.45rem,3vw,2.3rem)/1 var(--display); letter-spacing: -.02em; }
.crew-duo figcaption span:last-child { text-align: right; }
.crew-duo figcaption span:last-child b { color: var(--pink); }
.crew-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem,3vw,2rem); margin-top: clamp(1rem,3vw,2rem); }
.crew-card { position: relative; min-height: 390px; overflow: hidden; padding: clamp(2rem,4vw,4rem); border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: flex-end; background: radial-gradient(circle at 10% 0%,rgba(101,248,255,.08),transparent 38%),#0b0812; isolation: isolate; }
.crew-card--seeker { background: radial-gradient(circle at 90% 0%,rgba(241,67,255,.1),transparent 38%),#0b0812; }
.crew-card::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .12; background-image: linear-gradient(rgba(101,248,255,.2) 1px,transparent 1px),linear-gradient(90deg,rgba(101,248,255,.2) 1px,transparent 1px); background-size: 34px 34px; mask-image: linear-gradient(to bottom,#000,transparent 70%); }
.crew-card__index { position: absolute; top: 1.5rem; right: 1.5rem; color: var(--cyan); }
.crew-card__name p { margin: 0 0 .25rem; color: #c6bacd; font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.crew-card__name h3 { margin: 0; font: 900 clamp(3.2rem,6vw,6rem)/.82 var(--display); letter-spacing: -.06em; text-transform: uppercase; }
.crew-card--sauvage h3 { color: var(--cyan); }
.crew-card--seeker h3 { color: var(--pink); }
.crew-card__role { margin: 1.5rem 0 .8rem; color: #e1d7e7; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.crew-card__bio { max-width: 580px; margin: 0; color: #b8acbf; }

.visuals-section { padding: 2rem 0 clamp(6rem,10vw,10rem); }
.visuals-heading { padding-bottom: clamp(3rem,6vw,5rem); }
.visuals-heading .section-title { margin-top: 0; }
.visuals-heading .kicker { margin-top: clamp(3.5rem,6vw,6rem); }
.visual-grid { max-width: 1600px; margin: 0 auto; padding: 0 clamp(1rem,3vw,3rem); display: grid; grid-template-columns: 1.35fr .9fr; gap: clamp(1rem,2vw,2rem); align-items: start; }
.visual { position: relative; display: block; width: 100%; padding: 0; overflow: hidden; border: 1px solid var(--line); background: #08050e; color: white; cursor: zoom-in; text-align: left; }
.visual img { width: 100%; display: block; transition: transform .65s cubic-bezier(.2,.75,.2,1),filter .35s ease; }
.visual:hover img { transform: scale(1.025); filter: saturate(1.12); }
.visual > span { position: absolute; left: 0; right: 0; bottom: 0; padding: 3.5rem 1.4rem 1.25rem; background: linear-gradient(transparent,rgba(5,3,10,.9)); font-size: .74rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.visual > span b { margin-right: .8rem; color: var(--cyan); }
.visual--intro { margin-top: clamp(2rem,7vw,7rem); }
.visual--intro > span b { color: var(--pink); }

.trailer-section { padding-top: 1rem; }
.trailer-panel { position: relative; min-height: min(62vw,580px); overflow: hidden; border: 1px solid var(--line); display: grid; place-content: center; text-align: center; background: linear-gradient(rgba(5,3,10,.58),rgba(5,3,10,.9)),url("assets/excursion/excursion-hero.webp") center/cover; }
.trailer-panel::before,.trailer-panel::after { content: ""; position: absolute; width: 42px; height: 42px; border-color: var(--cyan); border-style: solid; }
.trailer-panel::before { left: 1.25rem; top: 1.25rem; border-width: 1px 0 0 1px; }
.trailer-panel::after { right: 1.25rem; bottom: 1.25rem; border-width: 0 1px 1px 0; border-color: var(--pink); }
.trailer-panel__noise { position: absolute; inset: 0; opacity: .15; background: repeating-linear-gradient(to bottom,transparent 0 4px,rgba(101,248,255,.16) 5px); }
.trailer-panel p { margin: 0; color: var(--cyan); font-size: .72rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.trailer-panel h2 { margin: .6rem 0; font: 900 clamp(4rem,11vw,10rem)/.82 var(--display); letter-spacing: -.07em; text-transform: uppercase; }
.trailer-panel > span { color: var(--pink); font-size: 1rem; font-weight: 850; letter-spacing: .25em; text-transform: uppercase; }
.final-cta { padding: clamp(7rem,13vw,12rem) 1.25rem; text-align: center; background: radial-gradient(circle at center,rgba(139,76,255,.13),transparent 44%); }
.final-cta p { margin: 0 0 .8rem; color: var(--cyan); font-size: .75rem; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.final-cta h2 { max-width: 850px; margin: 0 auto 2.5rem; font: 900 clamp(3rem,8vw,7rem)/.88 var(--display); letter-spacing: -.06em; text-transform: uppercase; }
.ex-footer { min-height: 140px; max-width: var(--max); margin: 0 auto; padding: 2rem clamp(1.25rem,4vw,2.5rem); display: grid; grid-template-columns: 1fr auto 1fr; gap: 2rem; align-items: center; color: var(--dim); font-size: .74rem; }
.ex-footer .studio-brand img { width: 36px; height: 32px; }
.ex-footer > p:last-child { text-align: right; }

.lightbox { width: min(94vw,1500px); max-width: none; padding: 0; border: 1px solid rgba(101,248,255,.35); background: #05030a; color: white; }
.lightbox::backdrop { background: rgba(2,1,5,.9); backdrop-filter: blur(8px); }
.lightbox img { display: block; width: 100%; max-height: 82vh; object-fit: contain; }
.lightbox p { margin: 0; padding: 1rem 1.25rem; color: #c5b9cc; font-size: .75rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.lightbox__close { position: absolute; z-index: 2; right: .75rem; top: .75rem; width: 42px; height: 42px; border: 1px solid rgba(101,248,255,.5); background: rgba(5,3,10,.82); color: white; font-size: 1.7rem; cursor: pointer; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .65s ease,transform .65s cubic-bezier(.2,.7,.2,1); }
.reveal--delay-1 { transition-delay: .09s; }
.reveal--delay-2 { transition-delay: .18s; }
.reveal--delay-3 { transition-delay: .27s; }
.reveal.is-visible { opacity: 1; transform: none; }
@keyframes hero-drift { from { transform: scale(1.06); } to { transform: scale(1); } }

@media (min-width: 761px) {
  .ex-hero__media img { object-position: center top; }
  .ex-hero h1 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
}

@media (max-width: 900px) {
  .game-grid,.crew-heading { grid-template-columns: 1fr; gap: 2.4rem; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature { min-height: 210px; }
  .feature h3 { margin-top: 2.2rem; }
  .crew-grid { grid-template-columns: 1fr; }
  .visual-grid { grid-template-columns: 1fr; }
  .visual--intro { margin-top: 0; }
  .ex-footer { grid-template-columns: 1fr 1fr; }
  .ex-footer > p:first-of-type { display: none; }
}

@media (max-width: 760px) {
  :root { --header: 72px; }
  .ex-header { padding-inline: 1.1rem; }
  .nav-toggle { display: block; }
  .nav-toggle[aria-expanded="true"] > span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] > span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }
  .ex-nav { position: fixed; inset: 0; z-index: -1; padding: 6rem 1.5rem 2rem; display: flex; flex-direction: column; align-items: stretch; justify-content: center; background: rgba(7,5,13,.98); transform: translateX(100%); transition: transform .28s cubic-bezier(.2,.75,.2,1); }
  .ex-nav.is-open { transform: translateX(0); }
  .ex-nav a { padding: .9rem; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
  .ex-nav .back-link { margin-top: .8rem; text-align: center; }
  .ex-hero { min-height: 760px; align-items: flex-end; }
  .ex-hero__media img { object-fit: cover; object-position: 24% center; filter: brightness(1.1) saturate(1.05); }
  .ex-hero__media::before { filter: blur(18px) brightness(.52) saturate(1.12); }
  .ex-hero::before { background: linear-gradient(0deg,#07050d 0%,rgba(5,4,11,.72) 36%,rgba(5,4,11,.05) 72%); }
  .ex-hero__content { width: calc(100% - 2.5rem); margin: 0 1.25rem; padding: 22rem 0 5.5rem; }
  .ex-hero h1 { width: 100%; }
  .ex-hero__lede { font-size: 1rem; }
  .scroll-cue { display: none; }
  .section { padding-inline: 1.25rem; }
  .crew-duo figcaption { position: relative; padding: 1.2rem; background: #0a0710; }
  .crew-duo figcaption b { font-size: 1.35rem; }
  .crew-card { min-height: 430px; padding: 1.7rem; }
  .crew-card__name h3 { font-size: clamp(3.2rem,18vw,5rem); }
  .visual-grid { padding-inline: 1rem; }
  .trailer-panel { min-height: 470px; }
  .ex-footer { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .ex-footer > p:last-child { margin: 0; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
