/* ============ TRIBBON — black on black, electric cyan ============ */
:root {
  --bg: #050506;
  --bg-2: #0a0b0c;
  --ink: #f2f4f5;
  --ink-dim: #8d9499;
  --cyan: #17e6ff;
  --cyan-dim: rgba(23, 230, 255, .35);
  --hairline: rgba(255, 255, 255, .08);
  --display: 'Archivo', Impact, sans-serif;
  --body: 'Outfit', 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', Consolas, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
.preloader-mark, .logo, .o-wordmark, .chapter-title, .section-title, .model-name,
.philo-title, .modal-title, .hold-title, .rf-title, .rf-wordmark span,
.marquee-track span, .config-name {
  font-stretch: 125%;
  font-weight: 800;
}
html { scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-weight: 300;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.mono { font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--cyan); color: #000; }

/* ============ STARFIELD (fixed behind the whole page) ============ */
.starfield { position: fixed; inset: 0; z-index: -1; background: var(--bg); }
.starfield video {
  width: 100%; height: 100%; object-fit: cover;
  opacity: .72;
}
.starfield::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(rgba(5,5,6,.22), rgba(5,5,6,.22)),
    radial-gradient(120% 100% at 50% 45%, transparent 35%, rgba(5,5,6,.72) 100%);
}

/* ============ PRELOADER ============ */
.preloader {
  position: fixed; inset: 0; z-index: 100;
  background: var(--bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1.4rem;
  transition: opacity .8s ease, visibility .8s;
}
.preloader.is-done { opacity: 0; visibility: hidden; }
.preloader-mark {
  font-family: var(--display);
  font-size: clamp(2rem, 6vw, 4rem);
  letter-spacing: .18em; margin-left: .18em;
  transform: scaleY(1.1);
}
.preloader-bar {
  width: min(320px, 60vw); height: 1px;
  background: var(--hairline); overflow: hidden;
}
.preloader-bar span {
  display: block; height: 100%; width: 0%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
  transition: width .2s ease;
}
.preloader-pct { color: var(--ink-dim); }

/* ============ HEADER ============ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem clamp(1.2rem, 4vw, 3rem);
  mix-blend-mode: difference;
}
.logo {
  font-family: var(--display);
  font-size: 1.25rem; letter-spacing: .3em;
}
.header-nav { display: flex; gap: 2rem; }
.header-nav a {
  font-family: var(--mono); font-size: .68rem;
  letter-spacing: .16em; text-transform: uppercase;
  opacity: .7; transition: opacity .3s;
}
.header-nav a:hover { opacity: 1; }
.btn-reserve-sm {
  font-family: var(--mono); font-size: .68rem;
  letter-spacing: .16em; text-transform: uppercase;
  border: 1px solid currentColor;
  padding: .55rem 1.1rem; border-radius: 2rem;
  transition: background .3s, color .3s;
}
.btn-reserve-sm:hover { background: #fff; color: #000; }

/* ============ FILM OVERLAYS ============ */
.overlay {
  position: absolute; inset: 0; z-index: 3;
  padding: 0 clamp(1.2rem, 4vw, 3rem);
  display: flex; flex-direction: column; justify-content: center;
  opacity: 0; visibility: hidden;
  pointer-events: none;
  will-change: opacity, transform, filter;
}
.o-title { justify-content: flex-end; padding-bottom: clamp(1.2rem, 3vh, 2.4rem); }
.o-kicker { color: var(--cyan); margin-bottom: .8rem; text-shadow: 0 1px 14px rgba(0,0,0,.6); }
.o-wordmark {
  font-family: var(--display);
  font-size: clamp(2.8rem, 10.6vw, 11rem);
  line-height: .92;
  letter-spacing: .02em;
  white-space: nowrap;
  text-shadow: 0 2px 40px rgba(0,0,0,.35);
}
.o-wordmark span {
  display: inline-block;
  transform: scaleY(1.04);
  transform-origin: left bottom;
}
.o-sub {
  max-width: 40ch; margin-top: 1.2rem;
  color: var(--ink-dim); font-size: clamp(.95rem, 1.4vw, 1.1rem);
  text-shadow: 0 1px 12px rgba(0,0,0,.7);
}
.pos-left { align-items: flex-start; text-align: left; }
.pos-right { align-items: flex-end; text-align: right; }
.pos-center { align-items: center; text-align: center; }
.chapter-idx { color: var(--cyan); display: block; margin-bottom: .6rem; text-shadow: 0 1px 12px rgba(0,0,0,.7); }
.chapter-title {
  font-family: var(--display);
  font-size: clamp(2.8rem, 7.5vw, 6.4rem);
  line-height: .95; letter-spacing: .02em;
  text-transform: uppercase;
  text-shadow: 0 2px 34px rgba(0,0,0,.45);
}

.chapter-copy {
  margin-top: 1rem; max-width: 32ch;
  color: rgba(242,244,245,.82);
  text-shadow: 0 1px 12px rgba(0,0,0,.8);
}
.overlay.has-scrim::before {
  content: ''; position: absolute; inset: -10%;
  background: radial-gradient(58% 52% at 50% 50%, rgba(5,5,6,.62), rgba(5,5,6,0) 72%);
  z-index: -1;
}
.o-statement {
  font-family: var(--body);
  font-weight: 200;
  font-size: clamp(1.5rem, 3.6vw, 3.2rem);
  line-height: 1.55;
  letter-spacing: .42em;
  text-transform: uppercase;
  text-indent: .42em;
  text-shadow: 0 2px 30px rgba(0,0,0,.6);
}
/* telemetry chips riding along the film */
.data-chip {
  position: absolute; z-index: 3;
  padding: .7rem .95rem;
  font-size: .62rem;
  color: rgba(242,244,245,.88);
  background: rgba(5,6,8,.42);
  border: 1px solid var(--hairline);
  border-left: 2px solid var(--cyan);
  border-radius: .3rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0; visibility: hidden;
  pointer-events: none;
  will-change: opacity, transform, filter;
  white-space: nowrap;
}
.chip-tr { top: clamp(4.5rem, 10vh, 7rem); right: clamp(1.2rem, 4vw, 3rem); }
.chip-tl { top: clamp(4.5rem, 10vh, 7rem); left: clamp(1.2rem, 4vw, 3rem); }
.chip-bl { bottom: clamp(1.6rem, 5vh, 3rem); left: clamp(1.2rem, 4vw, 3rem); }

/* liquid-glass constellation that fills the screen while the film holds */
.hold-el {
  position: absolute; z-index: 4;
  border-radius: 18px;
  background:
    linear-gradient(150deg, rgba(255,255,255,.12), rgba(255,255,255,.04) 45%, rgba(255,255,255,.07)),
    rgba(8, 10, 13, .42);
  border: 1px solid rgba(255,255,255,.2);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.3),
    inset 0 -1px 0 rgba(255,255,255,.06),
    0 24px 60px rgba(0,0,0,.5);
  backdrop-filter: blur(26px) saturate(1.5);
  -webkit-backdrop-filter: blur(26px) saturate(1.5);
  opacity: 0; visibility: hidden;
  pointer-events: none;
  will-change: opacity, transform, filter;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .35);
}
.hold-el::before {
  content: ''; position: absolute; top: 0; left: 10%; right: 10%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent);
}

/* variants */
.hold-el--card {
  width: min(540px, 88vw);
  padding: 2rem 2.1rem 1.8rem;
  border-radius: 24px;
}
.hold-el--chip {
  padding: 1rem 1.35rem;
  font-size: .8rem;
  letter-spacing: .1em;
  color: rgba(242,244,245,.94);
  white-space: nowrap;
}
.hold-el--stat {
  padding: 1.1rem 1.5rem 1.2rem;
  display: flex; flex-direction: column; gap: .45rem;
  min-width: 200px;
}
.hs-num {
  font-size: clamp(2.1rem, 3.2vw, 3rem);
  font-weight: 500; line-height: 1;
  letter-spacing: .02em;
  text-shadow: 0 0 26px var(--cyan-dim);
  text-transform: none;
}
.hs-label { color: rgba(242,244,245,.62); font-size: .68rem; }
.hold-el--note {
  width: min(400px, 80vw);
  padding: 1.25rem 1.45rem;
  font-size: 1.02rem;
  line-height: 1.5;
  color: rgba(242,244,245,.88);
}

/* positions around the frame (bottom right belongs to the HUD) */
.hp-tl { top: 5.5rem; left: clamp(1.2rem, 4vw, 3rem); }
.hp-tc { top: 5.5rem; left: 50%; margin-left: -210px; width: 420px; }
.hp-tr { top: 5.5rem; right: clamp(1.2rem, 4vw, 3rem); }
.hp-ml { top: 50%; margin-top: -200px; left: clamp(1.2rem, 4vw, 3rem); }
.hp-mr { top: 50%; margin-top: -200px; right: clamp(1.2rem, 4vw, 3rem); }
.hp-bl { bottom: 2.6rem; left: clamp(1.2rem, 4vw, 3rem); }
.hp-bc { bottom: 2.6rem; left: 50%; margin-left: -210px; width: 420px; }
.hold-el--stat.hp-tc, .hold-el--stat.hp-bc { align-items: center; text-align: center; }
.hold-el--chip.hp-tc, .hold-el--chip.hp-bc { text-align: center; }
.hold-el--stat.hp-mr, .hold-el--stat.hp-ml { margin-top: 110px; min-width: 230px; }
.hold-el--note.hp-ml, .hold-el--note.hp-mr { margin-top: 40px; }

/* the holds are a desktop experience: nothing flies in on small screens */
@media (max-width: 1100px) {
  .hold-el { display: none; }
}

.hold-tag { color: var(--cyan); display: block; font-size: .8rem; }
.hold-title {
  font-family: var(--display);
  font-size: clamp(2rem, 3.6vw, 3rem);
  letter-spacing: .03em; text-transform: uppercase;
  margin-top: .7rem;
}
.hold-copy {
  margin-top: 1rem;
  font-size: 1.06rem;
  line-height: 1.5;
  color: rgba(242,244,245,.88);
}
.hold-specs { list-style: none; margin-top: 1.3rem; }
.hold-specs li {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: .7rem 0;
  border-top: 1px solid rgba(255,255,255,.14);
  font-family: var(--mono); font-size: .76rem;
  letter-spacing: .1em; text-transform: uppercase;
}
.hold-specs li span:first-child { color: rgba(242,244,245,.6); }

.scroll-cue {
  position: absolute; right: clamp(1.2rem, 4vw, 3rem); bottom: 2rem; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: .7rem;
  color: var(--ink-dim);
}
.scroll-cue .mono { writing-mode: vertical-rl; }
.scroll-line {
  width: 1px; height: 56px; overflow: hidden;
  background: var(--hairline); position: relative;
}
.scroll-line::after {
  content: ''; position: absolute; left: 0; top: -40%;
  width: 100%; height: 40%;
  background: var(--cyan);
  animation: scrollDrip 1.8s ease-in-out infinite;
}
@keyframes scrollDrip { to { top: 110%; } }

/* ============ JOURNEY ============ */
.journey { position: relative; background: transparent; }
.journey-pin {
  position: relative; height: 100vh; overflow: hidden;
}
.journey-pin video {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.journey-grain {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% 50%, transparent 55%, rgba(0,0,0,.5) 100%);
}

/* HUD */
.hud {
  position: absolute; right: clamp(1.2rem, 4vw, 3rem); bottom: clamp(1.2rem, 4vh, 2.6rem); z-index: 4;
  opacity: 0; will-change: opacity;
  width: min(300px, 74vw);
  padding: 1rem 1.2rem 1.1rem;
  background: rgba(5, 6, 8, .55);
  border: 1px solid var(--hairline);
  border-radius: .5rem;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.hud::before {
  content: ''; position: absolute; top: 0; left: 1.2rem; right: 1.2rem; height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan-dim), transparent);
}
.hud-speed { display: flex; align-items: baseline; gap: .6rem; }
.hud-mph {
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  font-weight: 500; line-height: 1;
  color: var(--ink);
  letter-spacing: .04em;
  text-shadow: 0 0 24px var(--cyan-dim);
  font-variant-numeric: tabular-nums;
}
.hud-unit { color: var(--cyan); }
.hud-bar {
  margin-top: .8rem; height: 2px;
  background: rgba(255,255,255,.1); overflow: hidden; border-radius: 2px;
}
.hud-bar span {
  display: block; height: 100%; width: 0%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
}
.hud-meta {
  margin-top: .7rem;
  display: flex; justify-content: space-between; gap: .8rem;
  color: var(--ink-dim); font-size: .6rem;
  white-space: nowrap;
}
#hudPower { color: var(--cyan); }

/* ============ SECTIONS SHARED ============ */
section { position: relative; }
.section-kicker { color: var(--cyan); margin-bottom: 1.1rem; }
.section-title {
  font-family: var(--display);
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 1.02; letter-spacing: .015em;
  text-transform: uppercase;
}

/* ============ BLOCK SYSTEM (Longbow-style panels over the stars) ============ */
.wrap { max-width: 1560px; margin: 0 auto; }
.panel {
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, .1);
  background: linear-gradient(165deg, rgba(13, 15, 18, .72), rgba(7, 8, 10, .58));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
}
.reveal-img { overflow: hidden; border-radius: 14px; }
.reveal-img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.link-plus {
  color: var(--cyan);
  padding-bottom: .3rem;
  border-bottom: 1px solid rgba(23, 230, 255, .45);
  transition: border-color .3s, letter-spacing .3s;
  white-space: nowrap;
}
.link-plus:hover { border-color: var(--cyan); letter-spacing: .2em; }

/* ============ PERFORMANCE (raster grid, stats fly through) ============ */
.performance {
  padding: clamp(5rem, 12vh, 9rem) clamp(1.2rem, 4vw, 3rem);
  background: transparent;
  position: relative;
}
.perf-panel {
  position: relative;
  padding: clamp(2.2rem, 5vw, 4.5rem);
}
.perf-panel::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(120% 90% at 50% 40%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(120% 90% at 50% 40%, #000 30%, transparent 78%);
  pointer-events: none;
}
.perf-panel::after {
  content: ''; position: absolute; left: 50%; top: 0;
  width: min(70%, 900px); height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--cyan-dim), transparent);
}
.perf-panel > * { position: relative; }
.stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  margin-top: clamp(3rem, 8vh, 5rem);
}
.stat {
  border-top: 1px solid var(--hairline);
  padding-top: 1.6rem;
}
.stat-value { display: flex; align-items: baseline; gap: .4rem; }
.stat-value .count {
  font-size: clamp(3rem, 7.5vw, 6.4rem);
  font-weight: 500; line-height: 1;
  letter-spacing: -.01em;
  font-variant-numeric: tabular-nums;
}
.stat-suffix {
  font-family: var(--mono);
  color: var(--cyan); font-size: clamp(1rem, 2vw, 1.4rem);
}
.stat-label { margin-top: .8rem; color: var(--ink-dim); }

/* ============ MARQUEE ============ */
.marquee {
  overflow: hidden;
  padding: clamp(1.4rem, 3vh, 2.2rem) 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  background: rgba(5, 5, 6, .3);
}
.marquee-track {
  display: flex; width: max-content;
  animation: marqueeRun 26s linear infinite;
}
.marquee-track span {
  font-family: var(--display);
  font-size: clamp(1.6rem, 3.4vw, 2.8rem);
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(242,244,245,.5);
}
@keyframes marqueeRun { to { transform: translateX(-50%); } }

/* ============ DESIGN ============ */
.design {
  padding: clamp(5rem, 12vh, 9rem) clamp(1.2rem, 4vw, 3rem);
  background: transparent;
}
.design-grid {
  display: grid; grid-template-columns: repeat(12, 1fr);
  gap: clamp(1rem, 2vw, 1.6rem);
  margin-top: clamp(2.4rem, 6vh, 4rem);
}
.design-item { position: relative; cursor: pointer; padding: .9rem; margin: 0; }
.design-item .reveal-img { border-radius: 14px; }
.design-item { transition: border-color .4s; }
.design-item:hover { border-color: rgba(23, 230, 255, .35); }
.design-caption {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.1rem .4rem .4rem;
}
.design-caption-text { display: flex; flex-direction: column; gap: .3rem; font-size: .95rem; }
.design-caption-text .mono { color: var(--cyan); }
.design-item:focus-visible { outline: 1px solid var(--cyan); outline-offset: 3px; }
.design-plus {
  flex: none;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  font-family: var(--mono); font-size: 1.15rem; line-height: 1;
  color: var(--ink);
  background: rgba(5,6,8,.45);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 50%;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform .35s, background .35s, border-color .35s;
}
.design-item:hover .design-plus { transform: rotate(90deg); border-color: var(--cyan); background: rgba(23,230,255,.14); }
.design-item:nth-child(1) { grid-column: 1 / 8; }
.design-item:nth-child(2) { grid-column: 8 / 13; margin-top: clamp(2rem, 8vh, 6rem); }
.design-item:nth-child(3) { grid-column: 3 / 11; margin-top: clamp(1rem, 4vh, 3rem); }

/* ============ MODELS (edition cards) ============ */
.models {
  padding: clamp(5rem, 12vh, 9rem) clamp(1.2rem, 4vw, 3rem);
}
.model-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(1rem, 2vw, 1.6rem);
  margin-top: clamp(2.4rem, 6vh, 4rem);
}
.model-card { padding: .9rem; }
.model-rows { padding: .4rem .4rem 0; }
.model-row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  padding: 1rem 0;
}
.model-row + .model-row { border-top: 1px solid var(--hairline); }
.model-name {
  font-family: var(--display);
  font-size: clamp(1.3rem, 2.4vw, 2rem);
  letter-spacing: .04em; text-transform: uppercase;
}
.model-tag { color: var(--ink-dim); }
.model-price { color: var(--ink); font-size: .8rem; }

/* ============ PHILOSOPHY (numbered blocks) ============ */
.philosophy {
  padding: clamp(5rem, 12vh, 9rem) clamp(1.2rem, 4vw, 3rem);
}
.philo-list {
  display: flex; flex-direction: column;
  gap: clamp(1rem, 2vw, 1.6rem);
  margin-top: clamp(2.4rem, 6vh, 4rem);
}
.philo-block { padding: clamp(1.6rem, 3.5vw, 3rem); }
.philo-head {
  display: grid; grid-template-columns: minmax(70px, 160px) 1fr;
  gap: clamp(1rem, 4vw, 4rem);
  align-items: start;
  padding-bottom: clamp(1.6rem, 3.5vw, 2.6rem);
}
.philo-idx { color: var(--cyan); font-size: 1rem; }
.philo-title {
  font-family: var(--display);
  font-size: clamp(2.2rem, 5.5vw, 4.6rem);
  line-height: .98; letter-spacing: .02em;
  text-transform: uppercase;
}
.philo-copy {
  margin-top: 1.1rem; max-width: 58ch;
  color: rgba(242, 244, 245, .74);
}
.philo-img img { aspect-ratio: 21 / 9; }

/* ============ CONFIGURATOR ============ */
.configurator {
  padding: clamp(5rem, 12vh, 9rem) clamp(1.2rem, 4vw, 3rem);
  background: transparent;
}
.config-panel { padding: .9rem; margin-top: clamp(2.4rem, 6vh, 4rem); }
.config-stage {
  position: relative;
  aspect-ratio: 16 / 8; width: 100%;
  border-radius: 14px; overflow: hidden;
}
.config-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0;
  transition: opacity .7s ease;
}
.config-img.is-active { opacity: 1; }
.config-ui {
  padding: 1.1rem .4rem .4rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; flex-wrap: wrap;
}
.config-swatches { display: flex; gap: .9rem; }
.swatch {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--sw);
  border: 1px solid rgba(255,255,255,.22);
  cursor: pointer;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.swatch:hover { transform: scale(1.1); }
.swatch.is-active {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(23,230,255,.18), 0 0 18px rgba(23,230,255,.25);
}
.config-label { display: flex; align-items: baseline; gap: 1rem; }
.config-name {
  font-family: var(--display); font-size: 1.6rem;
  letter-spacing: .06em; text-transform: uppercase;
}
.config-price { color: var(--ink-dim); }

/* ============ RESERVE FOOTER (solid black, logo as the sign-off) ============ */
.reserve-footer {
  position: relative;
  background: #050506;                /* opaque: the starfield ends here */
  padding: clamp(6rem, 14vh, 10rem) clamp(1.2rem, 4vw, 3rem) 0;
  overflow: hidden;
}
.rf-top {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}
.rf-title {
  font-family: var(--display);
  font-size: clamp(2.1rem, 4.3vw, 4.2rem);
  line-height: .98; letter-spacing: .015em;
  text-transform: uppercase;
  margin-top: .6rem;
}
.rf-copy {
  margin-top: 1.6rem; max-width: 54ch;
  color: rgba(242, 244, 245, .74);
}
.rf-mail {
  display: inline-flex; align-items: center; gap: .9rem;
  margin-top: clamp(1.8rem, 4vh, 2.8rem);
  padding-bottom: .55rem;
  font-family: var(--mono);
  font-size: clamp(1rem, 1.8vw, 1.4rem);
  letter-spacing: .08em;
  color: var(--cyan);
  border-bottom: 1px solid rgba(23, 230, 255, .5);
  transition: gap .35s, border-color .35s;
}
.rf-mail:hover { gap: 1.6rem; border-color: var(--cyan); }
.cta-arrow { font-family: var(--body); font-size: 1.1rem; }
.rf-facts { list-style: none; margin-top: 2.4rem; }
.rf-facts li {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 1.5rem;
  padding: 1rem 0;
  border-top: 1px solid var(--hairline);
}
.rf-facts li:last-child { border-bottom: 1px solid var(--hairline); }
.rf-facts .mono { color: var(--ink-dim); }
.rf-facts .rf-val { color: var(--ink); }

/* the marque, huge, as the sign-off */
.rf-wordmark {
  margin-top: clamp(3rem, 8vh, 6rem);
  overflow: hidden;
  line-height: .78;
  text-align: center;
}
.rf-wordmark span {
  display: inline-block;
  font-family: var(--display);
  font-size: clamp(3.6rem, 12.6vw, 14rem);
  letter-spacing: .01em;
  transform: scaleY(1.02) translateY(8%);
  transform-origin: center bottom;
  color: var(--ink);
}
.rf-bottom {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; flex-wrap: wrap;
  padding: 1.4rem 0 1.6rem;
  border-top: 1px solid var(--hairline);
  color: var(--ink-dim);
}
.rf-nav { display: flex; gap: 1.8rem; }
.rf-nav a { opacity: .7; transition: opacity .3s; }
.rf-nav a:hover { opacity: 1; }
@media (max-width: 860px) {
  .rf-top { grid-template-columns: 1fr; }
}

/* ============ MODAL (liquid glass) ============ */
.modal {
  position: fixed; inset: 0; z-index: 90;
  display: grid; place-items: center;
  padding: clamp(1rem, 3vw, 2.5rem);
  opacity: 0; visibility: hidden;
  transition: opacity .45s ease, visibility .45s;
}
.modal.is-open { opacity: 1; visibility: visible; }
.modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(2, 3, 4, .55);
  backdrop-filter: blur(18px) saturate(1.1);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
}
.modal-card {
  position: relative; z-index: 2;
  width: min(1180px, 100%);
  max-height: min(86vh, 900px);
  overflow-y: auto;
  border-radius: 26px;
  background: linear-gradient(150deg, rgba(255,255,255,.11), rgba(255,255,255,.035) 45%, rgba(255,255,255,.06));
  border: 1px solid rgba(255,255,255,.18);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.28),
    inset 0 -1px 0 rgba(255,255,255,.06),
    0 40px 90px rgba(0,0,0,.6);
  backdrop-filter: blur(30px) saturate(1.5);
  -webkit-backdrop-filter: blur(30px) saturate(1.5);
  transform: translateY(26px) scale(.96);
  transition: transform .5s cubic-bezier(.2, .9, .25, 1);
  scrollbar-width: thin;
}
.modal.is-open .modal-card { transform: translateY(0) scale(1); }
.modal-card::before {
  content: ''; position: absolute; top: 0; left: 8%; right: 8%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent);
}
.modal-close {
  position: absolute; top: 1rem; right: 1rem; z-index: 3;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  font-size: 1.3rem; line-height: 1;
  color: var(--ink);
  background: rgba(5,6,8,.4);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform .3s, background .3s;
}
.modal-close:hover { transform: rotate(90deg); background: rgba(23,230,255,.16); }
.modal-media {
  border-radius: 26px 26px 0 0;
  overflow: hidden;
}
.modal-media img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; }
.modal-body { padding: clamp(1.4rem, 3vw, 2.4rem); }
.modal-tag { color: var(--cyan); }
.modal-title {
  font-family: var(--display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  letter-spacing: .03em; text-transform: uppercase;
  margin-top: .5rem;
}
.modal-columns {
  display: grid; grid-template-columns: 1.15fr .85fr;
  gap: clamp(1.4rem, 3vw, 2.6rem);
  margin-top: 1rem;
  align-items: start;
}
.modal-copy { color: rgba(242,244,245,.75); max-width: 60ch; }
.modal-copy p + p { margin-top: .9rem; }
.modal-note {
  margin-top: 1.6rem; padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,.12);
  color: var(--ink-dim); font-size: .62rem;
}
@media (max-width: 860px) {
  .modal-columns { grid-template-columns: 1fr; }
}
.modal-specs {
  display: grid; grid-template-columns: 1fr;
  gap: 0;
}
.modal-specs > div {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: .75rem 0;
  border-top: 1px solid rgba(255,255,255,.12);
}
.modal-specs dt { font-family: var(--mono); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-dim); }
.modal-specs dd { font-family: var(--mono); font-size: .72rem; letter-spacing: .06em; color: var(--ink); text-align: right; }

/* ============ CUSTOM CURSOR ============ */
.cursor {
  position: fixed; left: -44px; top: -44px; z-index: 120;
  width: 88px; height: 88px;
  margin: -44px 0 0 -44px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(23, 230, 255, .1);
  border: 1px solid rgba(23, 230, 255, .55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s ease;
  will-change: transform;
}
.cursor span {
  font-family: var(--mono); font-size: .6rem;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--ink);
}
.cursor.is-active { opacity: 1; }
@media (hover: hover) and (pointer: fine) {
  .design-item { cursor: none; }
}
@media (hover: none) { .cursor { display: none; } }


/* ============ REVEAL / BLUR ============ */
.blur-layer { will-change: filter; }
[data-reveal] { opacity: 0; transform: translateY(36px); }

/* ============ RESPONSIVE ============ */
@media (max-width: 860px) {
  .header-nav { display: none; }
  .stats { grid-template-columns: 1fr; }
  .design-item:nth-child(1), .design-item:nth-child(2), .design-item:nth-child(3) {
    grid-column: 1 / 13; margin-top: 0;
  }
  .hud { right: 50%; transform: translateX(50%); }
  .o-statement { letter-spacing: .22em; text-indent: .22em; }
  .model-grid { grid-template-columns: 1fr; }
  .philo-head { grid-template-columns: 1fr; gap: 1rem; }
}
