/* =====================================================================
   NORA — landing page styles
   A Selius (Pty) Ltd product. Self-hosted fonts (CSP-safe, no CDNs).
   ===================================================================== */

/* -------- Fonts (self-hosted) -------- */
@font-face {
  font-family: 'Anton';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/anton-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('assets/fonts/inter-var.woff2') format('woff2');
}

/* -------- Tokens -------- */
:root {
  --bg: #08070f;
  --bg-2: #0d0a1a;
  --panel: rgba(255, 255, 255, 0.045);
  --panel-2: rgba(255, 255, 255, 0.075);
  --ink: #f5f2ff;
  --muted: #b6abd8;
  --faint: #8578ad;
  --line: rgba(167, 139, 250, 0.16);
  --line-strong: rgba(167, 139, 250, 0.34);
  --vio: #8b5cf6;
  --vio-2: #a476ff;
  --vio-3: #c9a8ff;
  --vio-4: #e6d8ff;
  --deep: #4c1d95;
  --glow: rgba(139, 92, 246, 0.5);
  --grad: linear-gradient(120deg, #e6d8ff 0%, #c9a8ff 28%, #a476ff 55%, #7c3aed 100%);
  --grad-soft: linear-gradient(120deg, rgba(201, 168, 255, .22), rgba(124, 58, 237, .22));
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 24px 70px -28px rgba(0, 0, 0, .85);
  --font-display: 'Anton', 'Arial Narrow', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, -apple-system, Arial, sans-serif;
  --wrap: 1180px;
}

/* -------- Reset / base -------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--vio-3); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(164, 118, 255, .45); }
.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;
}
.nowrap { white-space: nowrap; }
.muted { color: var(--muted); }
.center { text-align: center; }

.wrap { width: min(var(--wrap), calc(100% - 48px)); margin-inline: auto; }

/* -------- Buttons -------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border-radius: 999px; font-weight: 600; letter-spacing: .01em;
  transition: transform .22s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease, opacity .2s;
  will-change: transform;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary {
  background: linear-gradient(135deg, #b98bff 0%, #8b5cf6 48%, #6d28d9 100%);
  color: #fff;
  box-shadow: 0 10px 34px -12px var(--glow), inset 0 1px 0 rgba(255,255,255,.34);
  border: 1px solid rgba(230, 216, 255, .28);
  text-shadow: 0 1px 0 rgba(40, 10, 90, .35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 48px -14px rgba(139, 92, 246, .75), inset 0 1px 0 rgba(255,255,255,.34); }
.btn-ghost {
  background: var(--panel);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(8px);
  color: var(--vio-4);
}
.btn-ghost:hover { background: var(--panel-2); border-color: var(--vio-2); transform: translateY(-2px); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-lg { padding: 16px 30px; font-size: 17px; }
.btn-xl { padding: 20px 40px; font-size: 19px; }
.btn-block { width: 100%; }
.hammer { display: inline-block; transform-origin: 60% 90%; }
.btn:hover .hammer { animation: hammerTap .6s ease; }
@keyframes hammerTap {
  0%, 100% { transform: rotate(0); }
  30% { transform: rotate(-18deg); }
  60% { transform: rotate(6deg); }
}

/* -------- Ribbon -------- */
.ribbon {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 9px 16px;
  font-size: 13.5px; letter-spacing: .02em;
  color: var(--vio-4);
  background: linear-gradient(90deg, rgba(60, 20, 130, .92), rgba(96, 39, 205, .92) 50%, rgba(60, 20, 130, .92));
  border-bottom: 1px solid rgba(201, 168, 255, .35);
  backdrop-filter: blur(10px);
}
.ribbon-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #d8b4fe; box-shadow: 0 0 12px 2px rgba(216, 180, 254, .9);
  animation: pulseDot 1.8s ease-in-out infinite;
}
@keyframes pulseDot { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.72); opacity: .65; } }
.ribbon-text b { color: #fff; }
.ribbon-cta { color: #fff; font-weight: 600; white-space: nowrap; }
.ribbon:hover .ribbon-cta { text-decoration: underline; }
.ribbon:hover { background: linear-gradient(90deg, rgba(70, 26, 150, .95), rgba(110, 48, 230, .95) 50%, rgba(70, 26, 150, .95)); }

/* -------- Nav -------- */
.nav {
  position: fixed; top: 37px; left: 0; right: 0; z-index: 50;
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(9, 7, 18, .78);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.nav-inner {
  width: min(var(--wrap), calc(100% - 48px)); margin-inline: auto;
  display: flex; align-items: center; gap: 28px;
  padding: 10px 0;
}
.brand { display: inline-flex; align-items: center; }
.brand-logo { height: 54px; width: auto; filter: drop-shadow(0 4px 18px rgba(139, 92, 246, .45)); }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a {
  font-size: 15px; color: var(--muted); font-weight: 500; position: relative;
  transition: color .2s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--grad); border-radius: 2px; transition: width .25s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { margin-left: 4px; }
.nav-burger { display: none; flex-direction: column; gap: 5px; padding: 10px; }
.nav-burger span { display: block; width: 22px; height: 2px; background: var(--vio-4); border-radius: 2px; transition: transform .25s, opacity .2s; }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-mobile {
  display: grid; gap: 4px; padding: 12px 24px 20px;
  background: rgba(9, 7, 18, .96); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav-mobile a:not(.btn) { padding: 12px 4px; color: var(--muted); border-bottom: 1px solid rgba(167,139,250,.1); }
.nav-mobile a:not(.btn):hover { color: var(--ink); }
.nav-mobile .btn { margin-top: 14px; }

/* -------- Hero -------- */
.hero {
  position: relative; min-height: max(640px, 100vh); min-height: max(640px, 100svh);
  display: flex; align-items: flex-end; overflow: hidden;
  padding: 150px 0 96px;
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-art {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  animation: kenburns 26s ease-in-out infinite alternate;
}
@keyframes kenburns {
  from { transform: scale(1) translateY(0); }
  to { transform: scale(1.07) translateY(-1.5%); }
}
.hero-vignette {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(8,7,15,.62) 0%, rgba(8,7,15,0) 22%, rgba(8,7,15,0) 40%, rgba(8,7,15,.9) 78%, var(--bg) 100%),
    linear-gradient(90deg, rgba(8,7,15,.62) 0%, rgba(8,7,15,.18) 38%, rgba(8,7,15,0) 62%),
    radial-gradient(120% 90% at 78% 12%, rgba(124, 58, 237, .16), transparent 55%);
}
.hero-aurora {
  position: absolute; inset: -20%;
  background:
    radial-gradient(38% 30% at 18% 76%, rgba(139, 92, 246, .28), transparent 70%),
    radial-gradient(30% 26% at 82% 30%, rgba(199, 130, 255, .18), transparent 70%),
    radial-gradient(26% 22% at 55% 92%, rgba(109, 40, 217, .26), transparent 70%);
  filter: blur(10px);
  animation: auroraShift 16s ease-in-out infinite alternate;
}
@keyframes auroraShift {
  from { transform: translate3d(-2%, 1%, 0) scale(1); opacity: .9; }
  to { transform: translate3d(2%, -1.5%, 0) scale(1.06); opacity: 1; }
}
.hero-sparkles i {
  position: absolute; width: 3px; height: 3px; border-radius: 50%;
  background: #e9dcff; box-shadow: 0 0 10px 2px rgba(216, 180, 254, .85);
  opacity: 0; animation: twinkle 5.5s ease-in-out infinite;
}
.hero-sparkles i:nth-child(1) { left: 12%; top: 30%; animation-delay: .2s; }
.hero-sparkles i:nth-child(2) { left: 24%; top: 62%; animation-delay: 1.4s; }
.hero-sparkles i:nth-child(3) { left: 38%; top: 22%; animation-delay: 2.6s; }
.hero-sparkles i:nth-child(4) { left: 55%; top: 74%; animation-delay: .9s; }
.hero-sparkles i:nth-child(5) { left: 68%; top: 18%; animation-delay: 3.4s; }
.hero-sparkles i:nth-child(6) { left: 78%; top: 56%; animation-delay: 1.9s; }
.hero-sparkles i:nth-child(7) { left: 88%; top: 34%; animation-delay: 4.2s; }
.hero-sparkles i:nth-child(8) { left: 46%; top: 48%; animation-delay: 2.2s; }
@keyframes twinkle {
  0%, 100% { opacity: 0; transform: scale(.6); }
  50% { opacity: .95; transform: scale(1.25); }
}
.hero-content {
  position: relative; z-index: 2;
  width: min(var(--wrap), calc(100% - 48px)); margin-inline: auto;
  display: grid; gap: 20px; justify-items: start;
  animation: heroRise 1s cubic-bezier(.2, .65, .25, 1) both .15s;
}
@keyframes heroRise { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
.hero-logo { width: min(320px, 58vw); height: auto; filter: drop-shadow(0 10px 34px rgba(139, 92, 246, .5)); }
.hero-tag { max-width: 640px; font-size: clamp(16px, 2vw, 19px); color: var(--vio-4); text-shadow: 0 2px 14px rgba(5, 3, 12, .8); }
.hero-tag .muted { color: #cbbcf2; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }
.cta-row.center { justify-content: center; }
.hero-note { font-size: 13.5px; letter-spacing: .14em; text-transform: uppercase; color: #c9b8f5; opacity: .85; }
.scroll-cue {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 3;
  width: 26px; height: 42px; border: 1.5px solid rgba(201, 168, 255, .55); border-radius: 14px;
  display: flex; justify-content: center; padding-top: 7px;
}
.scroll-cue span { width: 4px; height: 8px; border-radius: 4px; background: var(--vio-3); animation: cueDrop 2s ease-in-out infinite; }
@keyframes cueDrop { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* -------- Marquee -------- */
.marquee {
  overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(124, 58, 237, .07), rgba(124, 58, 237, .02));
  padding: 16px 0;
}
.marquee-track {
  display: flex; align-items: center; gap: 28px; width: max-content;
  animation: marquee 34s linear infinite;
}
.marquee-track span {
  font-family: var(--font-display); font-size: clamp(17px, 2.2vw, 24px);
  letter-spacing: .1em; text-transform: uppercase; color: var(--vio-4); opacity: .92; white-space: nowrap;
}
.marquee-track i { color: var(--vio-2); font-style: normal; font-size: 12px; opacity: .8; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* -------- Sections -------- */
.section { padding: clamp(76px, 9vw, 128px) 0; position: relative; }
.eyebrow {
  font-size: 13px; letter-spacing: .24em; text-transform: uppercase;
  color: var(--vio-2); font-weight: 700; margin-bottom: 14px;
}
.h2 {
  font-family: var(--font-display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(34px, 5vw, 58px); line-height: 1.04; letter-spacing: .015em;
  margin-bottom: 22px;
}
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(16.5px, 1.9vw, 19px); color: var(--muted); max-width: 780px; }
.lead.narrow { max-width: 620px; }
.lead b { color: var(--vio-4); font-weight: 600; }
.footnote { margin-top: 26px; font-size: 14.5px; color: var(--faint); max-width: 720px; }
.footnote.center { margin-inline: auto; }

.intro { background: radial-gradient(80% 60% at 50% 0%, rgba(124, 58, 237, .09), transparent 70%); }

/* Stats */
.stats {
  margin-top: 46px; display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--panel); overflow: hidden;
}
.stat { padding: 26px 30px; border-right: 1px solid var(--line); display: grid; gap: 4px; }
.stat:last-child { border-right: 0; }
.stat-num {
  font-family: var(--font-display); font-size: clamp(32px, 4vw, 46px); line-height: 1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat span { font-size: 14px; color: var(--muted); letter-spacing: .02em; }

/* Grids / cards */
.grid { display: grid; gap: 18px; margin-top: 44px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  position: relative; padding: 26px 26px 24px;
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease, background .3s ease;
}
.card:hover {
  transform: translateY(-5px);
  border-color: var(--line-strong);
  box-shadow: 0 26px 60px -30px rgba(124, 58, 237, .55);
  background: linear-gradient(180deg, rgba(164,118,255,.09), rgba(255,255,255,.02));
}
.card-ico {
  display: inline-grid; place-items: center; width: 42px; height: 42px; margin-bottom: 16px;
  border-radius: 12px; font-size: 19px; color: var(--vio-3);
  background: var(--grad-soft); border: 1px solid var(--line-strong);
}
.card h3 { font-size: 19px; font-weight: 700; letter-spacing: .01em; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15.5px; }
.card.feature h3 { display: flex; align-items: center; gap: 12px; }
.card.feature h3 span {
  display: inline-grid; place-items: center; flex: none; width: 38px; height: 38px;
  border-radius: 10px; font-size: 17px; color: var(--vio-3);
  background: var(--grad-soft); border: 1px solid var(--line-strong);
}

/* Pipeline */
.pipeline {
  list-style: none; margin: 48px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 14px;
  counter-reset: step;
}
.step {
  position: relative; padding: 20px 18px 18px;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-sm);
  transition: border-color .3s, background .3s, transform .3s;
}
.step::after {
  content: ""; position: absolute; top: 50%; right: -14px; width: 14px; height: 1.5px;
  background: linear-gradient(90deg, var(--line-strong), rgba(167,139,250,.05));
}
.step:last-child::after { display: none; }
.step-n {
  font-family: var(--font-display); font-size: 15px; letter-spacing: .12em;
  color: var(--vio-2); display: block; margin-bottom: 10px;
}
.step h4 { font-size: 15.5px; font-weight: 700; margin-bottom: 6px; }
.step p { font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.pipeline.run .step { animation: stepPop .7s cubic-bezier(.2,.65,.25,1) both; }
.pipeline.run .step:nth-child(1) { animation-delay: .05s; }
.pipeline.run .step:nth-child(2) { animation-delay: .18s; }
.pipeline.run .step:nth-child(3) { animation-delay: .31s; }
.pipeline.run .step:nth-child(4) { animation-delay: .44s; }
.pipeline.run .step:nth-child(5) { animation-delay: .57s; }
.pipeline.run .step:nth-child(6) { animation-delay: .70s; }
.pipeline.run .step:nth-child(7) { animation-delay: .83s; }
.pipeline.run .step { border-color: var(--line-strong); }
@keyframes stepPop { from { opacity: .25; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* Gallery */
.gallery { background: radial-gradient(70% 50% at 50% 100%, rgba(124, 58, 237, .08), transparent 70%); }
.shots {
  margin-top: 44px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.shot {
  margin: 0; position: relative; height: 300px; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: #0c0916; cursor: zoom-in;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .5s ease; }
.shot:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: 0 24px 54px -28px rgba(124,58,237,.6); }
.shot:hover img { transform: scale(1.045); }
.shot figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 12px;
  font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--vio-4);
  background: linear-gradient(180deg, transparent, rgba(6, 5, 12, .92));
}
.shot:nth-child(2) { grid-row: span 2; height: auto; min-height: 300px; }
.shot:nth-child(9) { grid-row: span 2; height: auto; min-height: 300px; }

/* Auction */
.auction-card {
  position: relative; overflow: hidden; text-align: center;
  padding: clamp(40px, 6vw, 72px) clamp(22px, 5vw, 64px);
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(124, 58, 237, .14), rgba(255,255,255,.03) 60%), var(--bg-2);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
}
.auction-glow {
  position: absolute; inset: -60% -20% auto; height: 140%;
  background: radial-gradient(45% 42% at 50% 30%, rgba(139, 92, 246, .3), transparent 70%);
  animation: auroraShift 12s ease-in-out infinite alternate;
  pointer-events: none;
}
.auction-card .h2 { margin-bottom: 16px; }
.auction-card .lead { margin-inline: auto; }
.auction-list {
  list-style: none; margin: 30px auto 34px; padding: 8px;
  display: grid; gap: 2px; max-width: 640px; text-align: left;
}
.auction-list li {
  position: relative; padding: 12px 16px 12px 40px; color: var(--vio-4);
  background: rgba(255,255,255,.03); border: 1px solid rgba(167,139,250,.1);
  border-radius: 10px; font-size: 15.5px;
}
.auction-list li::before {
  content: "✦"; position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  color: var(--vio-2); font-size: 13px;
}
.auction-list b { color: #fff; }
.auction-card .btn-xl { animation: ctaPulse 3.2s ease-in-out infinite; }
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 10px 34px -12px var(--glow), inset 0 1px 0 rgba(255,255,255,.34); }
  50% { box-shadow: 0 16px 54px -10px rgba(139, 92, 246, .8), inset 0 1px 0 rgba(255,255,255,.34); }
}

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 56px 0 44px; background: #060510; }
.footer-inner { display: grid; gap: 10px; justify-items: center; text-align: center; }
.footer-logo { height: 72px; width: auto; opacity: .95; filter: drop-shadow(0 6px 22px rgba(139,92,246,.4)); }
.footer-line { color: var(--muted); font-size: 15px; }
.footer-links a { color: var(--vio-3); font-weight: 600; font-size: 15px; }
.footer-links a:hover { text-decoration: underline; }
.footer-copy { color: var(--faint); font-size: 13px; letter-spacing: .04em; margin-top: 6px; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center; padding: 4vmin;
  background: rgba(5, 4, 11, .93); backdrop-filter: blur(10px);
  animation: lbIn .25s ease;
}
@keyframes lbIn { from { opacity: 0; } to { opacity: 1; } }
.lb-figure { margin: 0; display: grid; gap: 14px; justify-items: center; max-width: 100%; }
.lb-figure img {
  max-width: min(1080px, 92vw); max-height: 82vh; width: auto; height: auto;
  border-radius: 14px; border: 1px solid var(--line-strong);
  box-shadow: 0 40px 120px -40px rgba(124, 58, 237, .65);
  background: #0c0916;
}
.lb-figure figcaption { color: var(--vio-4); font-size: 14.5px; letter-spacing: .04em; }
.lb-close {
  position: absolute; top: 22px; right: 26px;
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; font-size: 17px;
  background: var(--panel-2); border: 1px solid var(--line-strong); color: var(--vio-4);
  transition: transform .2s, background .2s;
}
.lb-close:hover { transform: scale(1.08) rotate(90deg); background: rgba(164,118,255,.22); }

/* -------- Reveal animations (JS-enabled only) -------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .75s cubic-bezier(.2,.65,.25,1), transform .75s cubic-bezier(.2,.65,.25,1); }
.js .reveal.in { opacity: 1; transform: none; }
.js .grid .reveal:nth-child(2) { transition-delay: .07s; }
.js .grid .reveal:nth-child(3) { transition-delay: .14s; }
.js .grid .reveal:nth-child(4) { transition-delay: .07s; }
.js .grid .reveal:nth-child(5) { transition-delay: .14s; }
.js .grid .reveal:nth-child(6) { transition-delay: .21s; }
.js .grid .reveal:nth-child(7) { transition-delay: .14s; }
.js .grid .reveal:nth-child(8) { transition-delay: .21s; }

/* -------- Responsive -------- */
@media (max-width: 1100px) {
  .pipeline { grid-template-columns: repeat(4, 1fr); }
  .step::after { display: none; }
  .shots { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-burger { display: flex; margin-left: auto; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2n) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .pipeline { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .wrap, .nav-inner, .hero-content { width: calc(100% - 36px); }
  .ribbon { font-size: 12px; padding: 8px 10px; gap: 8px; }
  .ribbon-cta { display: none; }
  .ribbon-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .nav { top: 33px; }
  .brand-logo { height: 44px; }
  .hero { padding: 130px 0 88px; }
  .hero-logo { width: min(260px, 70vw); }
  .cta-row .btn-lg, .cta-row .btn-xl { width: 100%; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .shots { grid-template-columns: 1fr 1fr; gap: 12px; }
  .shot { height: 210px; }
  .shot:nth-child(2), .shot:nth-child(9) { grid-row: auto; min-height: 0; height: 210px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 18px; }
  .pipeline { grid-template-columns: 1fr; }
  .lb-close { top: 12px; right: 14px; }
}

.lightbox[hidden] { display: none !important; }

/* -------- Capture mode (?capture=1): freeze for screenshots -------- */
.capture .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
.capture .hero-content { animation: none !important; opacity: 1 !important; transform: none !important; }
.capture .hero-art { animation: none !important; transform: none !important; }
.capture .hero-aurora, .capture .ribbon-dot, .capture .scroll-cue span, .capture .marquee-track,
.capture .auction-card .btn-xl, .capture .auction-glow, .capture .hero-sparkles i { animation: none !important; }
.capture .hero-sparkles i { opacity: .8 !important; }
.capture .pipeline.run .step { animation: none !important; opacity: 1 !important; transform: none !important; }

/* -------- Reduced motion -------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero-art { transform: none !important; }
  .marquee-track { animation: none; }
}
