/* ==========================================================
   DINGO DUO — dingoduo.com  (v8: the edgy cut)
   Golden/orange grade on warm black, badge teal accents.
   Anton display, Archivo body, Space Mono HUD.
   Hard edges. No pills, no soft cards. Film frame, not web page.
   ========================================================== */

:root {
  --orange: #F15A24;
  --teal:   #006F6F;
  --teal-hi:#2FD3C5;
  --ocean:  #003F4A;
  --sand:   #F2B233;
  --black:  #000000;
  --white:  #FFFFFF;
  --coral:  #D64427;
  --forest: #032B24;
  --ink:    #0E0804;
  --ember:  #1C1006;
  --bone:   #EDE3D3;   /* off-white for body copy, less clinical than pure white */

  --font-display: "Bungee", Impact, sans-serif;
  /* drive-in marquee: Bungee signage lettering, Atkinson Hyperlegible for reading */
  --font-body: "Atkinson Hyperlegible Next", "Trebuchet MS", sans-serif;
  --font-mono: "Bungee", Impact, sans-serif;   /* labels, menu, buttons, HUD */

  --wrap: 1240px;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --snap: cubic-bezier(.7, 0, .2, 1);

  /* letterbox bar height in journey mode: true 2.39:1 where it fits */
  --bar: clamp(48px, calc((100vh - 100vw / 2.39) / 2), 11vh);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.55;
  color: var(--bone);
  background: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--orange); color: var(--black); }

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

/* ---------- Type ---------- */
h1, h2, h3 { font-family: var(--font-display); text-transform: uppercase; font-weight: 400; letter-spacing: 0; line-height: 1; color: var(--white); }
h2 { font-size: clamp(2.2rem, 5.4vw, 4.4rem); margin-bottom: 1.1rem; line-height: 1; }
h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); margin-bottom: .6rem; line-height: 1.05; }
strong { color: var(--white); font-weight: 700; }
.mono { font-family: var(--font-mono); font-size: .76rem; letter-spacing: .02em; text-transform: uppercase; }
.lead { font-size: clamp(1rem, 1.5vw, 1.18rem); max-width: 40rem; }
.c-white { color: var(--white); }
.c-orange { color: var(--orange); }
.c-teal { color: var(--teal-hi); }
.c-sand { color: var(--sand); }
.center { text-align: center; }
.center .btn { margin-top: 2.2rem; }
.center .lead { margin-left: auto; margin-right: auto; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(1.2rem, 4vw, 3rem); }

/* slate label: ── SC_02 // SHORT_FILM */
.scene-label { color: var(--teal-hi); margin-bottom: 1rem; }

/* ---------- Buttons: hard edges, mono labels ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; gap: .7rem;
  font-family: var(--font-mono);
  font-size: .92rem; letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none;
  padding: 1rem 1.6rem;
  border-radius: 6px;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn--solid { background: var(--orange); color: var(--black); font-weight: 700; box-shadow: 5px 5px 0 var(--black); }
.btn--solid:hover { background: var(--white); color: var(--black); transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--orange); }
.btn--solid:hover::after { transform: translateX(4px); }
.btn--ghost { border: 2px solid var(--teal-hi); color: var(--teal-hi); background: rgba(0,0,0,.3); }
.btn--ghost:hover { border-color: var(--orange); color: var(--orange); }
.btn--sm { padding: .65rem 1rem; font-size: .82rem; }
.btn--lg { padding: 1.2rem 2rem; font-size: 1.02rem; }
.btn--nav { padding: .6rem 1rem; font-size: .82rem; box-shadow: none; }
.btn--nav::after { display: none; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem;
  padding: .8rem clamp(1.2rem, 3vw, 2.4rem);
  transition: background .35s var(--ease);
}
.nav.is-scrolled { background: rgba(0,0,0,.92); }
.nav__brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--teal-hi); font-family: var(--font-display); font-size: 1.2rem; letter-spacing: 0; }
.nav__brand img { border-radius: 50%; width: 38px; height: 38px; }
.nav__links { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.2rem); }
.nav__links a:not(.btn) { position: relative; color: var(--bone); text-decoration: none; font-family: var(--font-mono); font-size: .78rem; letter-spacing: .02em; text-transform: uppercase; opacity: .9; transition: color .2s, opacity .2s; }
.nav__links a:not(.btn):hover { color: var(--orange); opacity: 1; }
.nav__burger { display: none; background: none; border: 0; cursor: pointer; padding: .4rem; }
.nav__burger span { display: block; width: 26px; height: 2px; background: var(--white); margin: 6px 0; transition: transform .3s var(--ease), opacity .3s; }

/* ---------- Scenes ---------- */
.scene { position: relative; padding: clamp(5rem, 10vw, 8.5rem) 0; }
.scene--film { background: #060402; border-top: 1px solid rgba(241,90,36,.4); }
.scene--founders { background: var(--ember); border-top: 1px solid rgba(241,90,36,.4); }
.scene--services { background: var(--teal); }
.scene--reel { background: #060402; border-top: 1px solid rgba(241,90,36,.4); }
.reel-embed { position: relative; width: 100%; padding-top: 56.25%; }
.reel-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.scene--lara { background: var(--ink); border-top: 1px solid rgba(241,90,36,.4); }
.scene--contact { background: var(--black); padding-bottom: clamp(4rem, 8vw, 6rem); }

/* frame corners: crop marks on anything that holds an image or video */
.marks { position: relative; }
.marks::before, .marks::after {
  content: ""; position: absolute; width: 18px; height: 18px; pointer-events: none; z-index: 2;
  border-color: var(--orange); border-style: solid;
}
.marks::before { top: -7px; left: -7px; border-width: 2px 0 0 2px; }
.marks::after { bottom: -7px; right: -7px; border-width: 0 2px 2px 0; }

/* ---------- Scene 01 · Hero ---------- */
.hero {
  min-height: 100svh;
  display: flex; align-items: center;
  padding: 0;
  overflow: hidden;
  background: var(--ink);
}
.hero__layers { position: absolute; inset: -6% -4%; z-index: 0; perspective: 1000px; }
.hero__layer { position: absolute; inset: 0; will-change: transform; }
.hero__layer img { width: 100%; height: 100%; object-fit: cover; }
.hero__layer:nth-child(1) { opacity: .25; filter: blur(3px) saturate(.8); }
.hero__layer:nth-child(2) { opacity: .35; filter: blur(1.5px); transform: scale(1.04); }
.hero__layer--front { opacity: .85; }
.hero__grade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.35) 55%, rgba(0,0,0,.1) 100%),
    linear-gradient(180deg, rgba(14,8,4,.4) 0%, rgba(14,8,4,.1) 45%, rgba(14,8,4,.97) 100%),
    radial-gradient(ellipse at 75% 28%, rgba(241,90,36,.28), transparent 55%);
}
.hero__content { position: relative; z-index: 2; max-width: var(--wrap); margin: 0 auto; padding: 7rem clamp(1.2rem, 4vw, 3rem) 5rem; width: 100%; }
.eyebrow { color: var(--teal-hi); margin-bottom: 1.4rem; }
.hero__title { font-size: clamp(2.6rem, 7.8vw, 7.2rem); line-height: .98; margin-bottom: 1.6rem; letter-spacing: 0; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero__title .line span { display: inline-block; transform: translateY(110%); animation: maskUp .9s var(--snap) forwards; }
.hero__title .line:nth-child(2) span { animation-delay: .12s; }
.hero__title .line:nth-child(3) span { animation-delay: .24s; }
@keyframes maskUp { to { transform: translateY(0); } }
/* outline line: the third line is drawn, not filled */
.hero__title .c-sand { color: var(--sand); }
.hero__sub { max-width: 34rem; font-size: clamp(.98rem, 1.4vw, 1.1rem); margin-bottom: 2.2rem; }
.hero__ctas { display: flex; gap: 1.2rem; flex-wrap: wrap; align-items: center; }
/* scroll prompt: a lit slate with a dropping arrow. Unmissable, then gone
   the moment the ride starts */
.hero__scroll {
  position: relative; margin: -.4rem 0 1.6rem;
  display: flex; flex-direction: column; align-items: flex-start; gap: .55rem;
  color: var(--orange);
  font-family: var(--font-mono); font-weight: 400; font-size: .9rem; letter-spacing: .04em; text-transform: uppercase;
  transition: opacity .5s var(--ease);
}
.hero__scroll-text {
  position: relative; overflow: hidden; border-radius: 6px;
  padding: .7rem 1.1rem .7rem 1.42rem;
  border: 1px solid var(--orange);
  background: rgba(241,90,36,.14);
  box-shadow: 0 0 0 0 rgba(241,90,36,.55);
  animation: scrollGlow 1.8s ease-out infinite;
}
/* a light sweep crossing the slate */
.hero__scroll-text::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -40%; width: 30%;
  background: linear-gradient(90deg, transparent, rgba(255,214,170,.55), transparent);
  transform: skewX(-20deg);
  animation: scrollSweep 2.6s var(--ease) infinite;
}
.hero__scroll-arrow { margin-left: 1.1rem; width: 16px; height: 16px; border-right: 2px solid var(--orange); border-bottom: 2px solid var(--orange); transform: rotate(45deg); animation: scrollDrop 1.3s var(--ease) infinite; }
@keyframes scrollGlow { 0% { box-shadow: 0 0 0 0 rgba(241,90,36,.6); } 100% { box-shadow: 0 0 0 16px rgba(241,90,36,0); } }
@keyframes scrollSweep { 0% { left: -40%; } 60%, 100% { left: 130%; } }
@keyframes scrollDrop { 0% { transform: translateY(-6px) rotate(45deg); opacity: 0; } 40% { opacity: 1; } 100% { transform: translateY(10px) rotate(45deg); opacity: 0; } }
body.has-scrolled .hero__scroll { opacity: 0 !important; pointer-events: none; }

/* ---------- Scene 02 · The Last Run ---------- */
.trailer { margin: 2.6rem 0 1.6rem; }
.placeholder {
  display: flex; align-items: center; justify-content: center; text-align: center;
  border: 1px dashed rgba(242,178,51,.5);
  background: rgba(0,0,0,.35); color: var(--sand);
  padding: 1rem;
}
.placeholder--video { aspect-ratio: 16 / 9; }
.trailer__video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; object-fit: cover; }
.placeholder--laurels { min-height: 110px; border-style: dotted; }
.laurels { margin-bottom: 2.6rem; }

.stills { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.stills figure { overflow: hidden; cursor: zoom-in; position: relative; }
.stills img { aspect-ratio: 2.36 / 1; object-fit: cover; width: 100%; filter: saturate(.85); transition: transform .5s var(--ease), filter .5s var(--ease); }
.stills figure:hover img { transform: scale(1.05); filter: saturate(1.1) brightness(1.1); }

/* ---------- Scene 03 · Founders ---------- */
.founders { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); margin-top: 3rem; }
.founder__photo { aspect-ratio: 1 / 1; margin-bottom: 1.4rem; overflow: visible; }
.founder__photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.25) brightness(.95); transition: filter .5s var(--ease); }
.founder:hover .founder__photo img { filter: grayscale(0) contrast(1.05); }
.founder__role { color: var(--orange); margin-bottom: .5rem; }
.founder h3 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); }
.credits { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1.2rem; }
.credits span { border: 1px solid rgba(237,227,211,.3); color: rgba(237,227,211,.85); padding: .2rem .6rem; font-size: .76rem; white-space: nowrap; }

.philosophy { margin: clamp(3.5rem, 7vw, 5.5rem) auto 0; max-width: 56rem; text-align: left; border-left: 3px solid var(--orange); padding: .4rem 0 .4rem 1.6rem; }
.philosophy p { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(1.2rem, 2.4vw, 1.8rem); line-height: 1.1; color: var(--white); margin-bottom: .8rem; }
.philosophy cite { color: var(--orange); font-style: normal; }

/* ---------- Scene 04 · Services ---------- */
.scene--services .scene-label { color: var(--white); }
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin-top: 2.6rem; max-width: 56rem; border: 1px solid rgba(237,227,211,.25); }
.card { position: relative; background: rgba(0,0,0,.45); padding: 1.8rem 1.6rem; display: flex; flex-direction: column; transition: background .3s var(--ease); }
.card + .card { border-left: 1px solid rgba(237,227,211,.25); }
.card:hover { background: rgba(241,90,36,.16); }
.card--primary { box-shadow: inset 0 3px 0 var(--orange); }
.card__tag { color: var(--orange); margin-bottom: .9rem; }
.card p { font-size: .95rem; flex: 1; }
.card__link { margin-top: 1.4rem; color: var(--white); font-family: var(--font-mono); font-size: .86rem; letter-spacing: .05em; text-transform: uppercase; text-decoration: none; }
.card__link:hover { color: var(--orange); }

.pipeline { display: flex; flex-wrap: wrap; gap: 0; margin-top: 2rem; }
.pipeline span { color: var(--bone); padding: .2rem .9rem; font-size: .8rem; border-left: 1px solid rgba(237,227,211,.35); }
.pipeline span:first-child { border-left: 0; padding-left: 0; }

/* ---------- Scene 06 · Lara Kai ---------- */
.wrap--split { display: grid; grid-template-columns: 380px 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.lara__photo { max-width: 340px; margin: 0 auto; }
.lara__photo img { width: 100%; height: auto; }
.lara__socials { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 1.8rem; }

/* ---------- Scene 07 · Contact ---------- */
.contact__title { font-size: clamp(2.6rem, 7vw, 6rem); line-height: 1; }
.contact__ctas { margin-top: 2.4rem; }
.contact__alt { margin-top: 1.4rem; color: rgba(237,227,211,.6); }
.contact__badge { margin: 3rem auto 0; }

/* ---------- Footer ---------- */
.footer { background: var(--black); border-top: 1px solid rgba(241,90,36,.35); padding: 2.2rem 0; }
.footer__grid { display: flex; align-items: center; justify-content: space-between; gap: 1.6rem; flex-wrap: wrap; }
.footer__grid > div { display: flex; align-items: center; gap: 1rem; }
.footer__grid img { border-radius: 50%; }
.footer .mono { color: rgba(237,227,211,.55); }
.footer__social { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.footer__social a { color: rgba(237,227,211,.7); text-decoration: none; }
.footer__social a:hover { color: var(--orange); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,.95); display: flex; align-items: center; justify-content: center; padding: 4vmin; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 100%; }
.lightbox__close { position: absolute; top: 1rem; right: 1.4rem; background: none; border: 0; color: var(--white); font-size: 2.6rem; cursor: pointer; line-height: 1; }
.lightbox__close:hover { color: var(--orange); }

/* ---------- Film finish overlays (grain + vignette), all modes ---------- */
.grain, .vignette { position: fixed; pointer-events: none; z-index: 90; }
.vignette { inset: 0; background: radial-gradient(ellipse at 50% 50%, transparent 55%, rgba(0,0,0,.55) 100%); }
.grain {
  inset: -50%;
  background-image: var(--grain-url, none);
  background-size: 256px 256px;
  opacity: .11;
  mix-blend-mode: overlay;
  animation: grainShift .5s steps(6) infinite;
}
@keyframes grainShift {
  0% { transform: translate(0, 0); } 17% { transform: translate(-6%, 4%); } 33% { transform: translate(5%, -7%); }
  50% { transform: translate(-3%, 8%); } 67% { transform: translate(7%, 2%); } 83% { transform: translate(-8%, -4%); } 100% { transform: translate(0, 0); }
}

/* ---------- HUD, letterbox, cold open, reticle: journey mode only ---------- */
.letterbox, .hud, .intro-card, .reticle { display: none; }

/* ==========================================================
   MOBILE (flat site)
   ========================================================== */
@media (max-width: 900px) {
  .founders { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .card + .card { border-left: 0; border-top: 1px solid rgba(237,227,211,.25); }
  .wrap--split { grid-template-columns: 1fr; }
  .lara__media { order: 2; }
  .stills { grid-template-columns: repeat(2, 1fr); }
}

/* tablets and phones: the slide-out menu (the full link row needs ~1100px) */
@media (max-width: 1100px) {
  .nav__links {
    position: fixed; inset: 0; background: rgba(0,0,0,.98);
    flex-direction: column; justify-content: center; align-items: flex-start; gap: 1.6rem;
    padding: 0 2rem;
    transform: translateX(100%);
    transition: transform .4s var(--snap);
  }
  .nav__links.is-open { transform: translateX(0); }
  /* open menu sits above the letterbox HUD */
  .nav:has(.nav__links.is-open) { z-index: 130; }
  .nav__links a:not(.btn) { font-family: var(--font-display); font-size: 2rem; letter-spacing: 0; opacity: 1; }
  .nav__burger { display: block; position: absolute; right: 1.1rem; top: 50%; transform: translateY(-50%); z-index: 110; }
  .nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

@media (max-width: 767px) {

  .hero__layer:nth-child(1), .hero__layer:nth-child(2) { display: none; }
  .hero__layer--front { opacity: .7; }
  .hero__content { padding-top: 6rem; padding-bottom: 6rem; }
  .hero__ctas .btn { width: 100%; justify-content: center; }

  .stills { display: flex; overflow-x: auto; gap: 6px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding-bottom: .6rem; }
  .stills figure { flex: 0 0 82%; scroll-snap-align: center; }
  .credits { overflow-x: auto; flex-wrap: nowrap; padding-bottom: .4rem; }
}

/* ==========================================================
   JOURNEY MODE — the ride (WebGL, JS-activated)
   ========================================================== */
#journeyCanvas { display: none; }
.journey-spacer { display: none; }

html.journey-boot main .scene { opacity: 0; }

body.journey #journeyCanvas { display: block; position: fixed; inset: 0; z-index: 1; }
body.journey .journey-spacer { display: block; height: 1110vh; }

/* ---- letterbox bars: the screen is a 2.39 frame ---- */
body.journey .letterbox { display: block; position: fixed; left: 0; right: 0; height: var(--bar); background: #000; z-index: 95; pointer-events: none; transition: height 1.4s var(--snap); }
body.journey .letterbox--top { top: 0; }
body.journey .letterbox--bot { bottom: 0; }
body.journey .nav { height: var(--bar); padding-top: 0; padding-bottom: 0; background: transparent !important; z-index: 100; }

/* ---- HUD in the bottom bar ---- */
body.journey .hud {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  position: fixed; left: 0; right: 0; bottom: 0; height: var(--bar); z-index: 100;
  padding: 0 clamp(1.2rem, 3vw, 2.4rem);
  font-family: var(--font-mono); font-size: .8rem; letter-spacing: .05em; text-transform: uppercase;
  color: rgba(237,227,211,.65);
}
.hud__left, .hud__right { display: flex; align-items: center; gap: 1.4rem; }
.hud__rec { display: inline-flex; align-items: center; gap: .5rem; color: var(--orange); }
.hud__rec::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); animation: recBlink 1.2s steps(2, end) infinite; }
@keyframes recBlink { 50% { opacity: 0; } }
.hud__scene { color: var(--white); }
.hud__tc { color: var(--white); font-variant-numeric: tabular-nums; min-width: 11ch; }
.hud__bar { width: clamp(60px, 14vw, 220px); height: 1px; background: rgba(237,227,211,.25); position: relative; }
.hud__bar i { position: absolute; left: 0; top: -1px; height: 3px; width: 0; background: var(--orange); }
.hud__sound { background: none; border: 1px solid rgba(237,227,211,.4); color: var(--bone); font: inherit; letter-spacing: inherit; text-transform: inherit; padding: .4rem .7rem; cursor: pointer; display: inline-flex; align-items: center; gap: .5rem; }
.hud__sound:hover { border-color: var(--orange); color: var(--orange); }
.hud__sound[aria-pressed="true"] { border-color: var(--orange); color: var(--orange); }
.hud__eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 10px; }
.hud__eq i { width: 2px; height: 3px; background: currentColor; }
.hud__sound[aria-pressed="true"] .hud__eq i { animation: eq .9s ease-in-out infinite; }
.hud__sound[aria-pressed="true"] .hud__eq i:nth-child(2) { animation-delay: .2s; }
.hud__sound[aria-pressed="true"] .hud__eq i:nth-child(3) { animation-delay: .45s; }
@keyframes eq { 0%, 100% { height: 3px; } 50% { height: 10px; } }

@media (max-width: 1100px) { body.journey .hud__fmt { display: none; } }

/* ---- reticle cursor (fine pointers only) ---- */
@media (hover: hover) and (pointer: fine) {
  body.journey, body.journey a, body.journey button { cursor: none; }
  body.journey .reticle { display: block; position: fixed; left: 0; top: 0; z-index: 120; pointer-events: none; width: 0; height: 0; }
  body.journey .reticle i {
    position: absolute; left: -10px; top: -10px; width: 20px; height: 20px;
    transition: transform .25s var(--snap);
  }
  /* a plus with an open centre: two bars, gapped in the middle */
  body.journey .reticle i::before, body.journey .reticle i::after {
    content: ""; position: absolute;
    background: linear-gradient(90deg, var(--orange) 0 38%, transparent 38% 62%, var(--orange) 62% 100%);
  }
  body.journey .reticle i::before { left: 0; top: 9px; width: 20px; height: 2px; }
  body.journey .reticle i::after { left: 9px; top: 0; width: 2px; height: 20px; background: linear-gradient(180deg, var(--orange) 0 38%, transparent 38% 62%, var(--orange) 62% 100%); }
  /* over anything clickable it spins into an X and tightens */
  body.journey .reticle.is-link i { transform: rotate(45deg) scale(1.25); }
  body.journey .reticle.is-link i::before, body.journey .reticle.is-link i::after { background: var(--white); }
  body.journey .reticle span { position: absolute; left: 15px; top: 7px; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .04em; color: var(--orange); white-space: nowrap; }
}

/* ---- overlay scenes ---- */
body.journey main .scene {
  position: fixed; inset: 0; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  min-height: 0; padding: calc(var(--bar) + 1.2rem) 0 calc(var(--bar) + 1rem);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .45s var(--ease), visibility .45s;
  background: transparent !important;
  border: none !important;
}
body.journey main .scene.is-beat-active { opacity: 1; visibility: visible; pointer-events: auto; }
/* legibility: a hard directional grade, no soft boxes */
body.journey main .scene::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.55) 42%, rgba(0,0,0,.08) 78%);
}
body.journey main .scene--founders::before,
body.journey main .scene--reel::before { background: radial-gradient(ellipse at 50% 50%, rgba(0,0,0,.82) 0%, rgba(0,0,0,.62) 55%, rgba(0,0,0,.3) 100%); }
body.journey main .scene--contact::before { background: linear-gradient(270deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.5) 40%, transparent 62%); }
body.journey .scene .wrap { width: 100%; }

/* text block enters with a hard slide when its scene activates */
body.journey .scene .wrap > * { transition: transform .6s var(--snap), opacity .6s var(--snap); }
body.journey .scene:not(.is-beat-active) .wrap > * { transform: translateX(-24px); opacity: 0; }

/* ---- compaction: one screen per scene, no inner scroll ---- */
body.journey .scene h2 { font-size: clamp(2rem, 4.6vw, 4rem); margin-bottom: .7rem; }
body.journey .scene .lead { font-size: clamp(.9rem, 1.25vw, 1.05rem); }
body.journey .scene-label { margin-bottom: .6rem; }
body.journey .stills { display: none; }
body.journey .trailer { margin: 1.2rem 0; max-width: min(100%, calc(150vh - 30rem)); }
body.journey .founders { margin-top: 1rem; gap: clamp(1rem, 2.5vw, 2.4rem); grid-template-columns: 1fr 1fr; }
body.journey .founder__photo { max-width: 150px; margin-bottom: 1rem; }
body.journey .founder h3 { font-size: clamp(1.3rem, 2.2vw, 1.8rem); }
body.journey .founder p { font-size: .95rem; }
body.journey .credits { display: none; }
body.journey .philosophy { margin: 1.4rem 0 0; padding: .2rem 0 .2rem 1.2rem; }
body.journey .philosophy p { font-size: clamp(.95rem, 1.5vw, 1.25rem); margin-bottom: .3rem; }
body.journey .cards { margin-top: 1.1rem; }
body.journey .card { padding: 1.2rem 1.1rem; }
body.journey .card p { font-size: .85rem; }
body.journey .pipeline { margin-top: 1.2rem; }
body.journey .center .btn, body.journey .contact__ctas { margin-top: 1.1rem; }
body.journey .lara__photo { max-width: min(220px, 28vh); }
body.journey .contact__title { font-size: clamp(2.2rem, 4.8vw, 4.4rem); }
body.journey .scene--film .center,
body.journey .scene--services .center { text-align: left; }

/* Lara: the resolved frame IS her portrait, so the small photo goes and
   the copy takes the open space to the right of her face */
body.journey .lara__media { display: none; }
body.journey main .scene--lara::before { background: linear-gradient(270deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.5) 40%, transparent 62%); }
@media (min-aspect-ratio: 1/1) {
  /* a right-hand column sized in viewport units, text width capped,
     so it reads the same on a laptop and an ultrawide */
  body.journey .scene--lara .wrap--split { display: block; max-width: none; width: 44vw; margin-left: 56vw; padding-left: 0; padding-right: clamp(1.5rem, 6vw, 8rem); box-sizing: border-box; }
  body.journey .scene--lara .lara__copy { max-width: 32rem; }
}
@media (max-aspect-ratio: 1/1) {
  body.journey .scene--lara .wrap--split { display: block; }
  body.journey main .scene--lara { align-items: flex-end; }
  body.journey main .scene--lara::before { background: linear-gradient(0deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.5) 40%, transparent 60%); }
}

/* contact sits beside the badge on landscape screens, under it on portrait */
@media (min-aspect-ratio: 1/1) {
  body.journey .scene--contact .wrap { text-align: right; max-width: none; width: 50vw; margin-left: 50vw; padding-left: 2rem; padding-right: clamp(1.5rem, 9vw, 12rem); box-sizing: border-box; display: flex; flex-direction: column; align-items: flex-end; }
  body.journey .scene--contact .wrap > * { max-width: 36rem; }
  body.journey .scene--contact .scene-label { justify-content: flex-end; }
  body.journey .scene--contact .lead { margin-left: auto; margin-right: 0; max-width: 26rem; }
  body.journey .contact__credits { justify-content: flex-end; }
}
@media (max-aspect-ratio: 1/1) {
  body.journey main .scene--contact { align-items: flex-end; }
  body.journey main .scene--contact::before { background: linear-gradient(0deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.5) 45%, transparent 65%); }
}

@media (max-width: 767px) {
  :root { --bar: 52px; }
  body.journey .scene { padding: calc(var(--bar) + .8rem) 0 calc(var(--bar) + .6rem); }
  body.journey .founders { grid-template-columns: 1fr 1fr; gap: .8rem; }
  body.journey .founder__photo { max-width: 100px; }
  body.journey .founder h3 { font-size: 1.05rem; }
  body.journey .founder p { font-size: .8rem; }
  body.journey .philosophy { display: none; }
  body.journey .card p { font-size: .78rem; }
  body.journey .pipeline { display: none; }
  body.journey .lara__photo { max-width: 130px; }
  body.journey .hud__bar, body.journey .hud__rec, body.journey .hud__fmt { display: none; }
  body.journey .hud { font-size: .72rem; }
  body.journey .nav__brand span { display: none; }
  body.journey .contact__title { font-size: 2.2rem; }
  /* phones: the prompt sits in the CTA stack, one line, no overlap */
  body.journey .hero__scroll { margin: -.2rem 0 1.1rem; }
  body.journey .hero__scroll-text { white-space: nowrap; font-size: .76rem; letter-spacing: .24em; padding: .6rem .9rem .6rem 1.14rem; }
  body.journey .hero__ctas { gap: .7rem; }
  body.journey .hero__ctas .btn { padding: .85rem 1rem; }
  body.journey .hero__sub { font-size: .9rem; margin-bottom: 1.4rem; }
  body.journey .contact__alt { display: none; }
  body.journey .scene--contact .btn--lg { font-size: .72rem; padding: 1rem 1.2rem; }
}

body.journey .hero__layers { display: none; }
body.journey .contact__badge { display: none; }
body.journey .reveal { opacity: 1; transform: none; transition: none; }
/* the ride ends on the badge: the footer's links live on the end card instead */
body.journey .footer { display: none; }
.contact__credits { display: none; }
body.journey .contact__credits { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; margin-top: 1.4rem; color: rgba(237,227,211,.5); font-size: .76rem; }
body.journey .contact__credits a { color: rgba(237,227,211,.75); text-decoration: none; }
body.journey .contact__credits a:hover { color: var(--orange); }
/* scroll prompt: centred above the bottom bar, out of the CTA row */
body.journey .hero__scroll { align-items: flex-start; }
html.intro body.journey .hero__scroll { opacity: 0; }
html.intro--rest body.journey .hero__scroll { opacity: 1; }
/* the flat entrance animation is replaced by the cold open */
body.journey .hero__title .line span { animation: none; transform: none; }

/* ==========================================================
   COLD OPEN — journey mode, first ~5s
   journey.js steps html through: intro → intro--open →
   intro--card → intro--title → intro--rest, then drops "intro".
   Any scroll, click or key skips straight to the end state.
   ========================================================== */
body.journey .intro-card {
  display: flex; position: fixed; inset: 0; z-index: 96; pointer-events: none;
  align-items: center; justify-content: center; flex-direction: column; gap: .9rem;
  font-family: var(--font-mono); font-size: .74rem; letter-spacing: .4em; text-transform: uppercase;
  color: var(--bone); opacity: 0;
}
.intro-card b { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.6rem, 3.4vw, 2.6rem); letter-spacing: .3em; color: var(--white); }
html.intro body.journey .letterbox { height: 50vh; }
html.intro.intro--open body.journey .letterbox { height: var(--bar); }
html.intro.intro--card body.journey .intro-card { animation: cardInOut 2.3s var(--ease) forwards; }
@keyframes cardInOut { 0% { opacity: 0; letter-spacing: .9em; } 30% { opacity: 1; letter-spacing: .4em; } 72% { opacity: 1; } 100% { opacity: 0; } }

html.intro body.journey .nav,
html.intro body.journey .hud,
html.intro body.journey .hero .eyebrow,
html.intro body.journey .hero__sub,
html.intro body.journey .hero__ctas { opacity: 0; }
/* titles wipe on left to right like a burned-in credit. Transform and
   clip only: nothing that changes layout, so lines never re-wrap mid-move */
html.intro body.journey .hero__title .line span { opacity: 0; clip-path: inset(0 100% 0 0); transform: translateX(-.12em); }

body.journey .nav, body.journey .hud,
body.journey .hero .eyebrow, body.journey .hero__sub, body.journey .hero__ctas { transition: opacity .9s var(--ease); }
body.journey .hero__title .line span { transition: opacity .35s var(--ease), clip-path 1s var(--snap), transform 1.2s var(--ease); }

html.intro--title body.journey .hero__title .line span { opacity: 1; clip-path: inset(0 0 0 0); transform: none; }
html.intro--title body.journey .hero__title .line:nth-child(2) span { transition-delay: .18s; }
html.intro--title body.journey .hero__title .line:nth-child(3) span { transition-delay: .36s; }
html.intro--rest body.journey .hero .eyebrow,
html.intro--rest body.journey .hero__sub,
html.intro--rest body.journey .hero__ctas,
html.intro--rest body.journey .nav,
html.intro--rest body.journey .hud { opacity: 1; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__title .line span { animation: none; transform: none; }
  .hero__scroll-text, .hero__scroll-text::after, .hero__scroll-arrow, .grain { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__layer { transform: none !important; }
}
