
/* ---------- Design tokens ---------- */
:root {
  --bg: #05101D;
  --surface: #101D2B;
  --border: #2D3A49;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);

  --gold: #C79A58;
  --gold-light: #F0C86E;
  --blue-light: #A6DEFF;

  --text: #EDF1F5;
  --text-2: #9AA5B3;
  --text-3: #667180;

  --gold-rgb: 199, 154, 88;
  --blue-rgb: 101, 185, 235;

  --grad-gold: linear-gradient(135deg, #8F6739 0%, #C79A58 45%, #F0C86E 75%, #FFE69A 100%);
  --grad-gold-warm: linear-gradient(150deg, #F4D488 0%, #E1AF56 46%, #B98039 100%);

  --font-display: "Sora", "Manrope", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --radius: 18px;
  --radius-sm: 12px;
  --radius-btn: 12px;

  --header-h: 68px;
  --container: 1240px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  -webkit-text-size-adjust: 100%; scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
}
body {
  min-height: 100vh;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  font-size: 1rem; line-height: 1.65; letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden; overflow-x: clip;
}
/* Fixed gradient wash — a fixed layer instead of background-attachment: fixed,
   which iOS Safari ignores and Chrome repaints on every scroll */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(1100px 620px at 80% -5%, rgba(199, 154, 88, 0.07), transparent 60%),
    radial-gradient(1000px 600px at 10% 8%, rgba(101, 185, 235, 0.06), transparent 60%),
    linear-gradient(180deg, #071522 0%, #05101D 55%, #030A13 100%);
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.1; font-weight: 700; letter-spacing: -0.02em; }
strong { color: var(--text); font-weight: 700; }
::selection { background: rgba(199, 154, 88, 0.32); color: #fff; }
:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; border-radius: 4px; }

/* Film-grain overlay — makes gradients feel like cinema, not CSS */
.noise {
  position: fixed; inset: -50%; z-index: 1000; pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 220px 220px;
  mix-blend-mode: screen;
}
.scroll-progress {
  position: fixed; top: 0; left: 0; z-index: 120; height: 2px; width: 100%;
  background: var(--grad-gold); transform-origin: left; transform: scaleX(0);
  box-shadow: 0 0 12px rgba(240, 200, 110, 0.6);
}

/* ---------- Utilities ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
.section > .container { position: relative; z-index: 1; }
.text-gold { background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 1200;
  background: var(--surface); color: var(--text); border: 1px solid var(--border);
  padding: 10px 16px; border-radius: 8px; transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; }

/* Mono labels — the typographic "signal" of the system */
.mono-label, .sec-index {
  font-family: var(--font-mono); font-size: 0.74rem; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-light);
}
.mono-label { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.mono-label .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-light); box-shadow: 0 0 12px rgba(240, 200, 110, 0.8); animation: pulse 2.4s ease-in-out infinite; }
.sec-index { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; color: var(--text-2); }
.sec-index span { color: var(--gold-light); }
.sec-index::after { content: ""; flex: 0 0 48px; height: 1px; background: linear-gradient(90deg, rgba(199, 154, 88, 0.7), transparent); }

/* Sections + headings */
.section { padding-block: clamp(64px, 8vw, 104px); position: relative; }
.sec-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.sec-head--row { max-width: none; display: grid; gap: 24px; align-items: end; }
.sec-head--wide { max-width: none; }
.h2 {
  font-size: clamp(2rem, 1.1rem + 3.6vw, 3.6rem);
  font-weight: 700; letter-spacing: -0.03em; line-height: 1.04; color: #fff;
}
.lead { margin-top: 22px; font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem); color: var(--text-2); max-width: 640px; }
.lead--sm { font-size: 1.02rem; margin-top: 0; }
.lead-quote { margin-top: 16px; color: var(--text); font-weight: 500; }

/* Faint engineering grid behind key sections */
.grid-bg::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 40%, #000 20%, transparent 100%);
  mask-image: radial-gradient(70% 60% at 50% 40%, #000 20%, transparent 100%);
}

/* HUD corner brackets — the signature decoration of v2 */
.corners { position: relative; }
.corners::before, .corners::after {
  content: ""; position: absolute; width: 14px; height: 14px; pointer-events: none; z-index: 2;
  border-color: rgba(var(--gold-rgb), 0.7); border-style: solid; transition: border-color 0.3s var(--ease), width 0.3s var(--ease), height 0.3s var(--ease);
}
.corners::before { top: -1px; left: -1px; border-width: 1.5px 0 0 1.5px; border-top-left-radius: 4px; }
.corners::after { bottom: -1px; right: -1px; border-width: 0 1.5px 1.5px 0; border-bottom-right-radius: 4px; }
.corners:hover::before, .corners:hover::after { width: 22px; height: 22px; border-color: var(--gold-light); }

/* Spotlight — cursor-following highlight on cards (set via JS --mx/--my) */
.spot { --mx: 50%; --my: 50%; }
.spot > .spot-layer {
  position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; z-index: 0;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(var(--gold-rgb), 0.13), transparent 45%);
  transition: opacity 0.4s var(--ease);
}
.spot:hover .spot-layer { opacity: 1; }

/* Checkmark bullet */
.chk {
  display: inline-grid; place-items: center; flex: none;
  width: 20px; height: 20px; border-radius: 50%;
  border: 1px solid rgba(var(--gold-rgb), 0.6); background: rgba(var(--gold-rgb), 0.12);
}
.chk::after { content: ""; width: 5px; height: 8px; border: solid var(--gold-light); border-width: 0 1.8px 1.8px 0; transform: translateY(-1px) rotate(42deg); }
.chk--dark { border-color: rgba(26, 18, 6, 0.5); background: rgba(26, 18, 6, 0.12); }
.chk--dark::after { border-color: #1A1206; }

/* ---------- Buttons ---------- */
.btn {
  --py: 14px; --px: 26px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: var(--py) var(--px); border-radius: var(--radius-btn);
  font-family: var(--font-body); font-size: 0.86rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  cursor: pointer; border: 1px solid transparent; white-space: nowrap;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
  will-change: transform;
}
.btn .arrow { display: inline-block; transition: transform 0.3s var(--ease-out); font-weight: 600; }
.btn:hover .arrow { transform: translateX(4px); }
.btn-gold { background: var(--grad-gold); color: #1A1206; box-shadow: 0 10px 26px rgba(199, 154, 88, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
.btn-gold:hover { box-shadow: 0 16px 36px rgba(199, 154, 88, 0.42), 0 0 24px rgba(240, 200, 110, 0.3); }
.btn-ghost { background: rgba(16, 29, 43, 0.35); color: var(--text); border-color: var(--line-strong); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: rgba(199, 154, 88, 0.8); color: var(--gold-light); background: rgba(199, 154, 88, 0.06); }
.btn-dark { background: #0A1522; color: #F5E9CF; box-shadow: 0 12px 26px rgba(0, 0, 0, 0.30); }
.btn-dark:hover { background: #0E1D30; box-shadow: 0 16px 34px rgba(0, 0, 0, 0.4); }
.btn-outline-dark { background: transparent; color: #241809; border-color: rgba(26, 18, 6, 0.45); }
.btn-outline-dark:hover { background: rgba(26, 18, 6, 0.10); border-color: rgba(26, 18, 6, 0.85); }
.btn-lg { --py: 17px; --px: 34px; font-size: 0.92rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h); display: flex; align-items: center;
  background: rgba(5, 16, 29, 0.35);
  backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), height 0.35s var(--ease);
}
/* --header-h shrinks too, so the fixed mobile menu stays glued under the bar */
.site-header.scrolled { --header-h: 60px; background: rgba(5, 16, 29, 0.82); border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { filter: drop-shadow(0 0 10px rgba(199, 154, 88, 0.35)); flex: none; }
.brand-name { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; letter-spacing: 0.2em; color: #fff; }

.main-nav { display: flex; align-items: center; }
.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 11px;
  background: transparent; border: 1px solid var(--line-strong); border-radius: 10px; cursor: pointer;
}
.nav-toggle span { display: block; height: 1.5px; width: 100%; background: var(--text); border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.2s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 899px) {
  .nav-menu {
    position: fixed; inset: var(--header-h) 0 auto 0;
    display: flex; flex-direction: column; gap: 2px;
    padding: 14px 20px 24px; background: rgba(6, 13, 23, 0.97);
    border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px rgba(0, 0, 0, 0.4);
    transform: translateY(-12px); opacity: 0; visibility: hidden; pointer-events: none;
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease), visibility 0.3s var(--ease);
  }
  .nav-menu.open { transform: translateY(0); opacity: 1; visibility: visible; pointer-events: auto; }
  .nav-menu a { display: flex; align-items: center; padding: 14px 12px; border-radius: 10px; color: var(--text-2); font-weight: 600; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .nav-menu a:hover, .nav-menu a.is-active { color: #fff; }
  .nav-menu .nav-cta { margin-top: 12px; justify-content: center; background: var(--grad-gold); color: #1A1206; text-transform: uppercase; font-size: 0.85rem; letter-spacing: 0.06em; border: none; }
  .nav-menu .nav-cta:hover { color: #1A1206; }
}
@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .nav-menu { display: flex; align-items: center; gap: 4px; }
  .nav-menu a { position: relative; display: inline-flex; align-items: center; padding: 8px 14px; color: var(--text-2); font-weight: 600; font-size: 0.9rem; transition: color 0.2s var(--ease); }
  .nav-menu a:not(.nav-cta)::after {
    content: ""; position: absolute; left: 14px; right: 14px; bottom: 1px; height: 1.5px;
    background: var(--grad-gold); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease-out);
  }
  .nav-menu a:not(.nav-cta):hover, .nav-menu a.is-active { color: #fff; }
  .nav-menu a:not(.nav-cta):hover::after, .nav-menu a.is-active::after { transform: scaleX(1); }
  .nav-menu .nav-cta {
    margin-left: 10px; padding: 10px 20px; border-radius: var(--radius-btn); gap: 8px;
    background: var(--grad-gold); color: #1A1206; text-transform: uppercase; font-size: 0.78rem; letter-spacing: 0.08em;
    box-shadow: 0 8px 20px rgba(199, 154, 88, 0.24); transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease);
  }
  .nav-menu .nav-cta .arrow { transition: transform 0.3s var(--ease-out); }
  .nav-menu .nav-cta:hover { color: #1A1206; box-shadow: 0 12px 28px rgba(199, 154, 88, 0.4); }
  .nav-menu .nav-cta:hover .arrow { transform: translateX(3px); }
}
section[id] { scroll-margin-top: calc(var(--header-h) - 8px); }

/* =====================================================================
   HERO (kept — lightly polished)
   ===================================================================== */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  padding-top: calc(var(--header-h) + 40px); padding-bottom: clamp(48px, 9vh, 92px);
  overflow: hidden; isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
/* The picture keeps its own aspect ratio and fades out at the top/bottom,
   so no hard letterbox edge appears on wide or short viewports */
.hero-media img {
  position: absolute; top: 60%; right: 0; width: 90%; height: auto;
  transform: translateY(-60%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 16%, #000 86%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 16%, #000 86%, transparent 100%);
}
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 16, 29, 0.80) 0%, rgba(5, 16, 29, 0.62) 34%, rgba(5, 16, 29, 0.72) 62%, rgba(3, 11, 20, 0.96) 100%),
    radial-gradient(120% 70% at 50% 118%, rgba(3, 11, 20, 0.7), transparent 55%);
}
.hero-vignette { position: absolute; inset: 0; background: radial-gradient(125% 105% at 46% 50%, transparent 64%, rgba(2, 8, 16, 0.30) 100%); }
.hero-content { position: relative; z-index: 3; }
.hero-title {
  max-width: 600px;
  font-size: clamp(2.3rem, 1.3rem + 3.6vw, 3.7rem);
  font-weight: 700; letter-spacing: -0.035em; line-height: 1.15; color: #fff;
  text-shadow: 0 2px 34px rgba(0, 0, 0, 0.6);
}
.hero-lead { margin-top: 26px; max-width: 540px; font-size: clamp(1.02rem, 0.95rem + 0.4vw, 1.2rem); line-height: 1.78; color: #C6D0DC; text-shadow: 0 1px 16px rgba(0, 0, 0, 0.55); }
.hero-lead strong { color: var(--gold-light); }
.hero-actions { margin-top: 30px; display: flex; flex-direction: column; align-items: stretch; gap: 14px; }
.hero-actions .btn { width: 100%; }
.hero-cta { width: fit-content; max-width: 100%; }
.hero-trust { margin-top: 42px; display: flex; flex-wrap: wrap; width: 100%; }
.hero-trust li { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 9px; padding: 2px 0 2px 18px; text-align: left; }
.hero-trust li:first-child { padding-left: 0; }
.hero-trust li + li { border-left: 1px solid rgba(255, 255, 255, 0.16); }
.t-ic { display: inline-grid; place-items: center; width: 30px; height: 30px; color: var(--gold-light); }
.t-label { font-family: var(--font-mono); font-size: 0.55rem; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-2); white-space: nowrap; }
.hero-slogan {
  margin-top: 22px; font-family: var(--font-display); font-weight: 700;
  font-size: clamp(0.72rem, 0.6rem + 0.4vw, 0.88rem);
  letter-spacing: 0.05em; text-transform: uppercase; color: var(--gold-light);
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.55);
}
.hero-slogan::after { content: ""; display: block; width: 86px; height: 2px; margin-top: 10px; background: var(--grad-gold); }

.scroll-cue {
  position: absolute; left: 50%; bottom: 22px; z-index: 4; transform: translateX(-50%);
  display: none; flex-direction: column; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--text-3);
}
.scroll-cue-line { width: 1px; height: 44px; background: linear-gradient(180deg, var(--gold-light), transparent); position: relative; overflow: hidden; }
.scroll-cue-line::after { content: ""; position: absolute; left: 0; top: -100%; width: 100%; height: 100%; background: linear-gradient(180deg, transparent, #fff); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { to { top: 100%; } }

@media (max-width: 767px) {
  .hero { display: block; min-height: auto; padding-top: 0; padding-bottom: 0; overflow: visible; }
  .hero-media { position: relative; height: 46vh; height: 46svh; min-height: 330px; }
  .hero-media img {
    position: static; width: 100%; height: 100%; transform: none;
    object-fit: cover; object-position: 63% 45%;
    -webkit-mask-image: none; mask-image: none;
  }
  .hero-scrim { background: linear-gradient(180deg, rgba(5, 16, 29, 0.35) 0%, rgba(5, 16, 29, 0) 30%, rgba(5, 16, 29, 0.5) 74%, #05101D 100%); }
  .hero-vignette { display: none; }
  .hero-content { padding-top: 30px; padding-bottom: 48px; }
  .hero-title, .hero-lead { max-width: none; }
  .hero-cta { width: 100%; }
  .hero-trust li { padding: 2px 0 2px 16px; flex: 0 0 50%; box-sizing: border-box; }
  .hero-trust li:nth-child(odd) { border-left: none; padding-left: 0; }
  .hero-trust li:nth-child(n+3) { margin-top: 15px; }
  .hero-slogan::after { width: 64px; }
}

/* =====================================================================
   ECO STRIP — partner wordmarks with roles
   ===================================================================== */
.eco-strip { position: relative; border-block: 1px solid var(--line); background: rgba(11, 22, 35, 0.4); }
.eco-strip-list { display: grid; grid-template-columns: 1fr; }
.eco-strip-item {
  display: grid; gap: 4px; padding: 22px 8px;
  border-bottom: 1px solid var(--line); transition: background 0.3s var(--ease);
}
.eco-strip-item:last-child { border-bottom: none; }
.eco-strip-item:hover { background: rgba(255, 255, 255, 0.02); }
.eco-strip-idx { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-3); }
.eco-strip-name { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; letter-spacing: 0.04em; color: #fff; }
.eco-strip-role { font-size: 0.86rem; color: var(--text-2); }
.eco-strip-item--v .eco-strip-name { color: var(--gold-light); }

/* =====================================================================
   01 — EKOSISTEM (diagram)
   ===================================================================== */
.eco-diagram { position: relative; }
/* Mobile/tablet: a vertical thread runs behind the stacked cards (visible in the gaps) */
.eco-pillars::before, .eco-hub::after {
  content: ""; position: absolute; left: 50%; width: 1px; z-index: 0; pointer-events: none;
  background: rgba(var(--gold-rgb), 0.5);
}
.eco-pillars::before { top: 40px; bottom: -96px; background: linear-gradient(180deg, transparent, rgba(var(--gold-rgb), 0.5) 10%, rgba(var(--gold-rgb), 0.5)); }
.eco-hub::after { top: 100%; height: 64px; }
.eco-lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; display: none; overflow: visible; }
.eco-lines .base { fill: none; stroke: rgba(255, 255, 255, 0.12); stroke-width: 1.2; }
.eco-lines .sig {
  fill: none; stroke: url(#lineGold); stroke-width: 1.8; stroke-linecap: round;
  stroke-dasharray: 14 260; animation: flow 3.2s linear infinite; animation-delay: var(--d, 0s);
  opacity: 0.9; filter: drop-shadow(0 0 6px rgba(240, 200, 110, 0.5));
}
.eco-lines .sig--out { stroke: var(--gold-light); stroke-dasharray: 18 120; animation-duration: 2.2s; }
.eco-lines .base.is-hot { stroke: rgba(var(--gold-rgb), 0.6); stroke-width: 1.6; }
@keyframes flow { from { stroke-dashoffset: 600; } to { stroke-dashoffset: 0; } }
.eco-lines .node { fill: var(--bg); stroke: rgba(var(--gold-rgb), 0.8); stroke-width: 1.5; }

.eco-pillars { position: relative; z-index: 1; display: grid; gap: 18px; }
.pillar {
  position: relative;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(16, 29, 43, 0.85), rgba(10, 19, 30, 0.92));
  padding: 26px 26px 28px;
  transition: transform 0.4s var(--ease-out), border-color 0.3s var(--ease), box-shadow 0.4s var(--ease);
}
.pillar:hover { transform: translateY(-6px); border-color: rgba(var(--gold-rgb), 0.55); box-shadow: var(--shadow), 0 0 40px rgba(var(--gold-rgb), 0.10); }
.pillar > * { position: relative; z-index: 1; }
.pillar-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.pillar-idx { font-family: var(--font-mono); font-size: 0.72rem; color: var(--gold-light); letter-spacing: 0.16em; }
.pillar-partner {
  font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-2);
  padding: 5px 10px; border: 1px solid var(--line-strong); border-radius: 999px; background: rgba(255, 255, 255, 0.03);
}
.pillar-ic {
  display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; margin-bottom: 20px;
  border: 1px solid rgba(var(--blue-rgb), 0.3); background: rgba(var(--blue-rgb), 0.08); color: var(--blue-light);
}
.pillar--gold .pillar-ic { border-color: rgba(var(--gold-rgb), 0.4); background: rgba(var(--gold-rgb), 0.1); color: var(--gold-light); }
.pillar-title { font-size: 1.45rem; margin-bottom: 10px; color: #fff; }
.pillar-text { color: var(--text-2); font-size: 0.97rem; }
.pillar-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.pillar-tags li { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-2); }
.pillar-tags li::before { content: "/ "; color: var(--gold); }

.eco-hub { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; margin: 96px auto 0; width: 100%; }
.hub-core {
  position: relative; display: grid; place-items: center; width: 108px; height: 108px; border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, #17283A, #0A1522 70%);
  border: 1px solid rgba(var(--gold-rgb), 0.55);
  box-shadow: 0 0 0 8px rgba(var(--gold-rgb), 0.06), 0 0 60px rgba(var(--gold-rgb), 0.25), inset 0 0 30px rgba(0, 0, 0, 0.5);
}
.hub-ring {
  position: absolute; top: 54px; left: 50%; width: 150px; height: 150px; border-radius: 50%;
  transform: translate(-50%, -50%); pointer-events: none;
  border: 1px dashed rgba(var(--gold-rgb), 0.45);
  animation: spin 26s linear infinite;
}
.hub-ring--2 { width: 196px; height: 196px; border: 1px solid rgba(var(--blue-rgb), 0.18); animation: spin 40s linear infinite reverse; }
.hub-ring--2::before { content: ""; position: absolute; top: -4px; left: 50%; width: 7px; height: 7px; border-radius: 50%; background: var(--blue-light); box-shadow: 0 0 10px var(--blue-light); transform: translateX(-50%); }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.hub-label { margin-top: 58px; font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: #fff; }
.hub-label span { display: block; margin-top: 6px; font-family: var(--font-mono); font-size: 0.66rem; font-weight: 500; letter-spacing: 0.14em; color: var(--text-3); }
.hub-label .hub-note { margin-top: 12px; max-width: 34ch; margin-inline: auto; font-family: var(--font-body); font-size: 0.86rem; font-weight: 400; letter-spacing: 0; text-transform: none; line-height: 1.55; color: var(--text-2); }

.eco-out {
  position: relative; z-index: 1; margin: 64px auto 0; max-width: 560px; width: 100%;
  border: 1px solid rgba(var(--gold-rgb), 0.35); border-radius: var(--radius);
  background: radial-gradient(120% 100% at 50% 0%, rgba(var(--gold-rgb), 0.12), transparent 60%), linear-gradient(180deg, #0F1E2E, #0A141F);
  padding: 28px 28px 30px; text-align: center;
}
.eco-out .sec-index { justify-content: center; margin-bottom: 12px; }
.eco-out .sec-index::after { display: none; }
.eco-out-title { font-size: 1.45rem; color: #fff; margin-bottom: 18px; }
.eco-out-list { display: grid; gap: 10px; width: max-content; max-width: 100%; margin-inline: auto; text-align: left; }
.eco-out-list li { display: flex; align-items: center; gap: 10px; color: var(--text-2); font-size: 0.97rem; }

/* =====================================================================
   02 — SCENARIJ (scrollytelling)
   ===================================================================== */
.story-grid { display: grid; gap: 36px; }
.story-sticky { display: none; }
.stage {
  position: relative; aspect-ratio: 4 / 3; max-height: 560px;
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  background: radial-gradient(100% 80% at 50% 0%, rgba(var(--blue-rgb), 0.08), transparent 60%), linear-gradient(180deg, #0D1B2A, #07111C);
  box-shadow: var(--shadow);
}
.stage-bar {
  position: absolute; top: 0; left: 0; right: 0; z-index: 5; display: flex; align-items: center; gap: 10px;
  border-radius: var(--radius) var(--radius) 0 0;
  padding: 12px 16px; border-bottom: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-2);
  background: rgba(5, 16, 29, 0.6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.stage-bar-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-light); box-shadow: 0 0 10px var(--gold-light); animation: pulse 2s infinite; }
.stage-bar-label { color: #fff; }
.stage-bar-right { margin-left: auto; color: var(--text-3); }
.scene { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; padding: 62px 22px 22px; opacity: 0; transform: scale(0.97); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease-out); pointer-events: none; }
.scene.is-active { opacity: 1; transform: none; }
.scene-tag {
  position: absolute; left: 18px; bottom: 16px; z-index: 3;
  font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-2);
  padding: 7px 10px; border: 1px solid var(--line); border-radius: 8px; background: rgba(5, 16, 29, 0.7);
}

/* Scene 1: radar */
.scan-grid { position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 40px 40px; -webkit-mask-image: radial-gradient(circle at 50% 55%, #000 30%, transparent 75%); mask-image: radial-gradient(circle at 50% 55%, #000 30%, transparent 75%); }
.radar { position: absolute; left: 50%; top: 55%; width: 62%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; }
.radar-ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(var(--blue-rgb), 0.25); }
.radar-ring.r2 { inset: 20%; } .radar-ring.r3 { inset: 40%; }
.radar-sweep { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgba(var(--blue-rgb), 0.42) 0deg, rgba(var(--blue-rgb), 0.12) 40deg, rgba(var(--blue-rgb), 0) 70deg, rgba(var(--blue-rgb), 0) 360deg); animation: sweep 3.2s linear infinite; }
@keyframes sweep { to { transform: rotate(360deg); } }
.blip { position: absolute; left: var(--x); top: var(--y); width: 8px; height: 8px; border-radius: 50%; background: var(--blue-light); box-shadow: 0 0 14px var(--blue-light); animation: blip 3.2s ease-out infinite; animation-delay: var(--d); }
.blip--gold { background: var(--gold-light); box-shadow: 0 0 14px var(--gold-light); }
@keyframes blip { 0% { transform: scale(0.4); opacity: 0; } 15% { transform: scale(1.2); opacity: 1; } 70% { opacity: 0.6; } 100% { transform: scale(0.6); opacity: 0; } }

/* Scene 2: network topology */
.net-svg { width: 100%; height: 100%; }
.net-lines line { stroke: rgba(255, 255, 255, 0.12); stroke-width: 1.2; stroke-dasharray: 300; stroke-dashoffset: 300; }
.scene--net.is-active .net-lines line { animation: draw 1.2s var(--ease-out) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.net-nodes circle { fill: #0F1E2E; stroke: rgba(var(--blue-rgb), 0.7); stroke-width: 1.5; opacity: 0; }
.scene--net.is-active .net-nodes circle { animation: nodeIn 0.6s var(--ease-out) forwards; animation-delay: var(--d, 0s); }
.net-core { stroke: var(--gold-light) !important; fill: #1B2837 !important; filter: drop-shadow(0 0 12px rgba(240, 200, 110, 0.7)); }
@keyframes nodeIn { from { opacity: 0; transform: scale(0.4); transform-origin: center; transform-box: fill-box; } to { opacity: 1; transform: scale(1); transform-origin: center; transform-box: fill-box; } }

/* Scene 3: dashboard */
.dash { display: grid; gap: 14px; height: 100%; grid-template-rows: auto 1fr; padding-bottom: 46px; }
.dash-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.dash-tile { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; background: rgba(255, 255, 255, 0.02); display: grid; gap: 6px; }
.dash-tile--gold { border-color: rgba(var(--gold-rgb), 0.5); background: rgba(var(--gold-rgb), 0.06); }
.dash-k { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); }
.dash-v { font-family: var(--font-display); font-size: 1.1rem; color: #fff; }
.dash-tile--gold .dash-v { color: var(--gold-light); }
.dash-bars { display: flex; align-items: flex-end; gap: 8px; padding: 10px 4px 28px; border-bottom: 1px solid var(--line); }
.dash-bars span { flex: 1; height: var(--h); border-radius: 4px 4px 0 0; background: linear-gradient(180deg, rgba(var(--blue-rgb), 0.9), rgba(var(--blue-rgb), 0.25)); transform: scaleY(0); transform-origin: bottom; }
.dash-bars span:nth-child(4n) { background: var(--grad-gold); }
.scene--dash.is-active .dash-bars span { animation: grow 0.9s var(--ease-out) forwards; }
.scene--dash.is-active .dash-bars span:nth-child(1) { animation-delay: 0.05s; } .scene--dash.is-active .dash-bars span:nth-child(2) { animation-delay: 0.12s; }
.scene--dash.is-active .dash-bars span:nth-child(3) { animation-delay: 0.19s; } .scene--dash.is-active .dash-bars span:nth-child(4) { animation-delay: 0.26s; }
.scene--dash.is-active .dash-bars span:nth-child(5) { animation-delay: 0.33s; } .scene--dash.is-active .dash-bars span:nth-child(6) { animation-delay: 0.40s; }
.scene--dash.is-active .dash-bars span:nth-child(7) { animation-delay: 0.47s; } .scene--dash.is-active .dash-bars span:nth-child(8) { animation-delay: 0.54s; }
@keyframes grow { to { transform: scaleY(1); } }

/* Scene 4: document */
.doc { position: relative; margin: 0 auto; width: min(78%, 340px); height: calc(100% - 30px); border: 1px solid var(--line-strong); border-radius: 12px; background: linear-gradient(180deg, #132235, #0C1826); padding: 20px; box-shadow: var(--shadow); }
.doc-head { display: flex; justify-content: space-between; margin-bottom: 18px; }
.doc-head span { height: 10px; width: 36%; border-radius: 4px; background: rgba(255, 255, 255, 0.16); }
.doc-head span:last-child { width: 18%; background: rgba(var(--gold-rgb), 0.5); }
.doc-lines { display: grid; gap: 10px; }
.doc-lines i { display: block; height: 7px; width: var(--w); border-radius: 4px; background: rgba(255, 255, 255, 0.1); transform: scaleX(0); transform-origin: left; }
.scene--doc.is-active .doc-lines i { animation: grow 0.8s var(--ease-out) forwards; }
.scene--doc.is-active .doc-lines i:nth-child(2) { animation-delay: 0.1s; } .scene--doc.is-active .doc-lines i:nth-child(3) { animation-delay: 0.2s; } .scene--doc.is-active .doc-lines i:nth-child(4) { animation-delay: 0.3s; }
.doc-steps { display: grid; gap: 8px; margin-top: 22px; }
.doc-steps span { position: relative; padding-left: 22px; font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); }
.doc-steps span::before { content: ""; position: absolute; left: 0; top: 4px; width: 10px; height: 10px; border-radius: 50%; border: 1px solid var(--line-strong); }
.doc-steps span.done { color: var(--text-2); } .doc-steps span.done::before { background: var(--gold); border-color: var(--gold); }
.doc-steps span.now { color: var(--gold-light); } .doc-steps span.now::before { border-color: var(--gold-light); box-shadow: 0 0 10px var(--gold-light); animation: pulse 1.6s infinite; }
.doc-seal { position: absolute; right: 18px; bottom: 18px; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--gold-light); color: var(--gold-light); background: rgba(var(--gold-rgb), 0.1); transform: scale(0) rotate(-20deg); }
.scene--doc.is-active .doc-seal { animation: seal 0.6s var(--ease-out) 0.8s forwards; }
@keyframes seal { to { transform: scale(1) rotate(0); } }

/* Scene 5: checklist */
.checks { display: grid; gap: 12px; max-width: 360px; margin: 10px auto 0; }
.checks li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255, 255, 255, 0.02); color: var(--text-2); font-size: 0.92rem; opacity: 0; transform: translateX(-12px); }
.scene--check.is-active .checks li { animation: slideIn 0.5s var(--ease-out) forwards; animation-delay: var(--d); }
@keyframes slideIn { to { opacity: 1; transform: none; } }
.status-pill { position: absolute; right: 18px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; border: 1px solid rgba(var(--blue-rgb), 0.45); background: rgba(var(--blue-rgb), 0.08); font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue-light); }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue-light); box-shadow: 0 0 10px var(--blue-light); animation: pulse 1.6s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

.story-progress { display: none; }

/* Mobile: scenes live inside their step cards (JS moves them) */
.step-scene {
  position: relative; aspect-ratio: 4 / 3; margin: 0 0 20px; overflow: hidden;
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  background: radial-gradient(100% 80% at 50% 0%, rgba(var(--blue-rgb), 0.08), transparent 60%), linear-gradient(180deg, #0D1B2A, #07111C);
}
.step-scene .scene { opacity: 1; transform: none; padding: 16px 14px 14px; pointer-events: none; }
.step-scene .scene-tag { left: 12px; bottom: 12px; max-width: calc(100% - 24px); }
.step-scene .status-pill, .step-scene .doc-steps, .step-scene .scene--check .scene-tag { display: none; }
.step-scene .dash-tile { padding: 8px 10px; min-width: 0; overflow: hidden; }
.step-scene .dash-k { font-size: 0.52rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.step-scene .dash-v { font-size: 0.95rem; }
.step-scene .radar { width: 58%; top: 50%; }
.step-scene .doc { height: calc(100% - 40px); padding: 14px; width: min(80%, 300px); }
.step-scene .checks { margin-top: 0; gap: 7px; }
.step-scene .checks li { padding: 7px 12px; font-size: 0.8rem; }
.step-scene .dash { padding-bottom: 40px; }

.story-steps { display: grid; gap: 22px; }
.step {
  position: relative; padding: 28px 26px 26px; border-radius: var(--radius);
  border: 1px solid var(--line); background: rgba(16, 29, 43, 0.35);
  transition: border-color 0.4s var(--ease), background 0.4s var(--ease), opacity 0.4s var(--ease);
}
.step.is-active { border-color: rgba(var(--gold-rgb), 0.55); background: rgba(16, 29, 43, 0.75); }
.step-num { display: block; font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.18em; color: var(--gold-light); margin-bottom: 14px; }
.step-title { font-size: 1.4rem; color: #fff; margin-bottom: 10px; }
.step-text { color: var(--text-2); }
.step-out { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 0.92rem; color: var(--text); display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.step-out span { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-3); }

/* =====================================================================
   03 — STORITVE (bento)
   ===================================================================== */
.bento { display: grid; gap: 18px; grid-template-columns: 1fr; }
.bento-card {
  position: relative; display: flex; flex-direction: column; min-height: 360px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(16, 29, 43, 0.8), rgba(10, 19, 30, 0.9));
  transition: transform 0.4s var(--ease-out), border-color 0.3s var(--ease), box-shadow 0.4s var(--ease);
}
.bento-card:hover { transform: translateY(-5px); border-color: rgba(var(--gold-rgb), 0.5); box-shadow: var(--shadow), 0 0 36px rgba(var(--gold-rgb), 0.08); }
.bento-card > * { position: relative; z-index: 1; }
.bento-top { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px 0; }
.bento-idx { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-light); }
.bento-partner { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-2); padding: 4px 9px; border: 1px solid var(--line-strong); border-radius: 999px; }
.bento-body { padding: 0 22px 24px; margin-top: auto; }
.bento-title { font-size: 1.25rem; color: #fff; margin-bottom: 8px; }
.bento-text { color: var(--text-2); font-size: 0.95rem; }
.bento-meta { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); }
.bento-card--gold .bento-meta { border-top-color: rgba(26, 18, 6, 0.22); color: rgba(24, 16, 5, 0.62); }

/* Visual areas */
.viz { position: relative; margin: 18px 22px 18px; flex: 1; min-height: 150px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: rgba(5, 14, 24, 0.55); overflow: hidden; }
.viz-chip { position: absolute; display: inline-flex; align-items: center; gap: 7px; padding: 6px 9px; border-radius: 7px; border: 1px solid var(--line); background: rgba(5, 16, 29, 0.75); font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-2); }
.viz-chip--tl { top: 10px; left: 10px; } .viz-chip--br { bottom: 10px; right: 10px; color: var(--blue-light); }
.live { width: 6px; height: 6px; border-radius: 50%; background: var(--blue-light); box-shadow: 0 0 8px var(--blue-light); animation: pulse 1.6s infinite; }

/* Network viz */
.viz-net svg { width: 100%; height: 100%; }
.vn-lines path { stroke: rgba(255, 255, 255, 0.13); stroke-width: 1.2; fill: none; }
.vn-pulse path { stroke: var(--blue-light); stroke-width: 2; fill: none; stroke-linecap: round; stroke-dasharray: 10 200; stroke-dashoffset: 210; animation: vnflow 3.6s linear infinite; animation-delay: var(--d); filter: drop-shadow(0 0 4px var(--blue-light)); }
@keyframes vnflow { to { stroke-dashoffset: 0; } }
.vn-nodes rect { fill: #0F1E2E; stroke: rgba(var(--blue-rgb), 0.6); stroke-width: 1.3; }
.vn-core { fill: #1B2837; stroke: var(--gold-light); stroke-width: 1.6; filter: drop-shadow(0 0 14px rgba(240, 200, 110, 0.55)); }
.vn-core-chk { fill: none; stroke: var(--gold-light); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* Camera viz */
.viz-cam { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 8px; }
.cam { position: relative; min-height: 64px; border-radius: 7px; overflow: hidden; background: linear-gradient(135deg, #10202F, #07111C); border: 1px solid var(--line); }
.cam::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1.4px); background-size: 10px 10px; }
.cam-id { position: absolute; left: 8px; top: 7px; font-family: var(--font-mono); font-size: 0.56rem; letter-spacing: 0.12em; color: var(--text-2); }
.cam-rec { position: absolute; right: 8px; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: #E58B7B; box-shadow: 0 0 8px #E58B7B; animation: pulse 1.2s infinite; }
.cam-scan { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, transparent, rgba(var(--blue-rgb), 0.9), transparent); animation: scan 3s linear infinite; animation-delay: var(--d, 0s); }
@keyframes scan { from { top: -2px; } to { top: 100%; } }

/* POS viz */
.viz-pos { display: grid; place-items: center; padding: 14px; }
.receipt { width: min(100%, 240px); padding: 14px 16px; border-radius: 8px; background: #F2EEE4; color: #1B1710; font-family: var(--font-mono); font-size: 0.68rem; box-shadow: 0 14px 30px rgba(0, 0, 0, 0.4); position: relative; }
.receipt::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 6px; background: radial-gradient(circle at 6px -2px, transparent 5px, #F2EEE4 5.5px) 0 0 / 12px 6px; }
.rc-row { display: flex; justify-content: space-between; padding: 3px 0; } .rc-row b { font-weight: 600; }
.rc-sep { border-top: 1px dashed rgba(0, 0, 0, 0.25); margin: 6px 0; }
.rc-total { font-weight: 600; font-size: 0.76rem; }
.rc-ok { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase; color: #6A4E1F; }
.rc-ok .chk { width: 14px; height: 14px; border-color: #9A7A3F; background: rgba(154, 122, 63, 0.15); } .rc-ok .chk::after { width: 3px; height: 6px; border-color: #6A4E1F; border-width: 0 1.4px 1.4px 0; }

/* Web viz */
.viz-web { display: grid; place-items: end center; padding: 16px 16px 0; }
.browser { width: 100%; border: 1px solid var(--line-strong); border-bottom: none; border-radius: 10px 10px 0 0; background: #0C1826; overflow: hidden; }
.br-bar { display: flex; align-items: center; gap: 5px; padding: 8px 10px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); }
.br-bar i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, 0.18); }
.br-url { margin-left: 8px; flex: 1; padding: 4px 8px; border-radius: 5px; background: rgba(255, 255, 255, 0.05); font-family: var(--font-mono); font-size: 0.58rem; color: var(--text-3); }
.br-body { padding: 14px 14px 0; }
.br-hero { display: grid; gap: 7px; margin-bottom: 12px; }
.br-hero i { display: block; height: 8px; width: var(--w); border-radius: 4px; background: rgba(255, 255, 255, 0.16); }
.br-hero b { display: block; width: 58px; height: 16px; border-radius: 4px; background: var(--grad-gold); margin-top: 4px; }
.br-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.br-cols i { display: grid; place-items: center; height: 34px; border-radius: 5px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); font-family: var(--font-mono); font-style: normal; font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); text-align: center; }

/* Code viz */
.viz-code { padding: 14px 16px; display: grid; align-items: center; }
.viz-code pre { margin: 0; font-family: var(--font-mono); font-size: 0.68rem; line-height: 1.75; color: var(--text-2); white-space: pre-wrap; }
.c-k { color: var(--blue-light); } .c-f { color: var(--gold-light); } .c-c { color: var(--text-3); } .c-ok { color: #8FD3A0; }
.cursor { display: inline-block; width: 7px; height: 12px; vertical-align: -2px; margin-left: 3px; background: var(--gold-light); animation: pulse 1s steps(2) infinite; }

/* Funding card (gold) */
.bento-card--gold { border-color: rgba(255, 230, 154, 0.6); background: var(--grad-gold-warm); color: #1A1206; box-shadow: 0 20px 46px rgba(0, 0, 0, 0.4), 0 0 40px rgba(199, 154, 88, 0.22); }
.bento-card--gold::before, .bento-card--gold::after { border-color: rgba(26, 18, 6, 0.55); }
.bento-card--gold .bento-idx { color: #3A2A0E; } .bento-card--gold .bento-partner { color: #2A1D08; border-color: rgba(26, 18, 6, 0.4); }
.bento-card--gold .bento-title { color: #160F04; } .bento-card--gold .bento-text { color: rgba(24, 16, 5, 0.82); }
.bento-card--gold .spot-layer { background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255, 255, 255, 0.25), transparent 45%); }
.bento-card--gold:hover { border-color: rgba(255, 240, 190, 0.95); box-shadow: 0 28px 60px rgba(0, 0, 0, 0.5), 0 0 46px rgba(240, 200, 110, 0.4); }
.bento-fund-grid { display: grid; gap: 8px; flex: 1; }
.bento-card--fund .bento-body { margin-top: 0; padding-top: 18px; }
.fund-list { display: grid; gap: 9px; margin-top: 16px; }
.fund-list li { display: flex; align-items: center; gap: 10px; font-size: 0.93rem; font-weight: 600; color: #1A1206; }
.viz-fund { margin: 0 22px 22px; background: rgba(26, 18, 6, 0.12); border-color: rgba(26, 18, 6, 0.2); min-height: 0; flex: none; }
.fund-track { display: grid; gap: 0; padding: 14px 16px; }
.fund-stage { position: relative; display: flex; align-items: center; gap: 12px; padding: 7px 0; }
.fund-stage::before { content: ""; position: absolute; left: 5px; top: 0; bottom: 0; width: 1px; background: rgba(26, 18, 6, 0.25); }
.fund-stage:first-child::before { top: 50%; } .fund-stage:last-child::before { bottom: 50%; }
.fund-dot { position: relative; z-index: 1; width: 11px; height: 11px; border-radius: 50%; border: 1.5px solid rgba(26, 18, 6, 0.45); background: #E1AF56; flex: none; }
.fund-stage.done .fund-dot { background: #1A1206; border-color: #1A1206; }
.fund-stage.now .fund-dot { background: #fff; border-color: #1A1206; box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.35); animation: pulse 1.6s infinite; }
.fund-lbl { font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(26, 18, 6, 0.55); }
.fund-stage.done .fund-lbl, .fund-stage.now .fund-lbl { color: #1A1206; font-weight: 600; }

/* =====================================================================
   KAKO DELUJE — vodoravna casovnica
   ===================================================================== */
.how .lead { max-width: 780px; }
.how-track {
  position: relative; margin-top: clamp(44px, 6vw, 78px);
  display: grid; grid-template-columns: 1fr; gap: 26px;
}
.how-track::before {
  content: ""; display: none; position: absolute; top: 9px; left: 9px; right: calc(20% - 9px);
  height: 1px; background: linear-gradient(90deg, rgba(var(--gold-rgb), 0.45), rgba(var(--gold-rgb), 0.16));
}
.how-step { position: relative; padding-left: 32px; }
.how-step .how-dot { position: absolute; left: 0; top: 2px; }
.how-dot {
  position: relative; z-index: 1; display: grid; place-items: center;
  width: 18px; height: 18px; border-radius: 50%;
  border: 1px solid rgba(var(--gold-rgb), 0.6); background: #0A1420;
}
.how-dot::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--grad-gold); }
.how-idx { display: block; margin-top: 0; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.18em; color: var(--gold-light); }
.how-title { margin: 10px 0 10px; font-size: 1.02rem; line-height: 1.3; color: #fff; }
.how-text { font-size: 0.88rem; line-height: 1.65; color: var(--text-2); }

.how-result {
  margin-top: clamp(36px, 5vw, 60px); padding: 22px 26px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.025);
  font-size: 1rem; color: var(--text-2);
}
.how-result strong { color: #fff; font-weight: 700; }

/* =====================================================================
   MANIFEST — marquee
   ===================================================================== */
.manifest { padding-block: clamp(40px, 6vw, 80px); border-block: 1px solid var(--line); overflow: hidden; background: rgba(11, 22, 35, 0.35); }
.manifest-head { max-width: 720px; margin-inline: auto; text-align: center; margin-bottom: clamp(36px, 5vw, 64px); }
.manifest-head .sec-index { justify-content: center; }
.manifest-head .sec-index::after { display: none; }
.manifest-head .lead { margin-inline: auto; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee + .marquee { margin-top: 10px; }
.marquee-track { display: flex; align-items: center; gap: 34px; width: max-content; animation: marquee 38s linear infinite; padding-inline: 17px; }
.marquee--rev .marquee-track { animation-direction: reverse; animation-duration: 46s; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee-track span { font-family: var(--font-display); font-size: clamp(2.4rem, 1.6rem + 4vw, 5rem); font-weight: 700; letter-spacing: -0.03em; text-transform: uppercase; color: #fff; white-space: nowrap; }
.marquee-track span.outline { color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.35); }
.marquee-track i { font-style: normal; color: var(--gold-light); font-size: 1.2rem; }

/* =====================================================================
   05 — ZA KOGA (editorial list)
   ===================================================================== */
.ind-list { border-top: 1px solid var(--line-strong); }
.ind-row {
  position: relative; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 14px 20px;
  padding: 24px 6px; border-bottom: 1px solid var(--line); overflow: hidden;
  transition: padding 0.35s var(--ease-out);
}
.ind-row::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--grad-gold); transform: scaleY(0); transform-origin: bottom; transition: transform 0.35s var(--ease-out); }
.ind-row::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(var(--gold-rgb), 0.08), transparent 60%); opacity: 0; transition: opacity 0.35s var(--ease); }
.ind-row:hover { padding-left: 22px; }
.ind-row:hover::before { transform: scaleY(1); } .ind-row:hover::after { opacity: 1; }
.ind-row > * { position: relative; z-index: 1; }
.ind-idx { font-family: var(--font-mono); font-size: 0.72rem; color: var(--gold-light); letter-spacing: 0.16em; }
.ind-name { font-family: var(--font-display); font-size: clamp(1.3rem, 1rem + 1.6vw, 2.2rem); font-weight: 600; letter-spacing: -0.025em; color: #fff; transition: color 0.3s var(--ease); }
.ind-tags { grid-column: 2; display: flex; flex-wrap: wrap; gap: 6px; }
.ind-tags span { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); padding: 5px 9px; border: 1px solid rgba(var(--gold-rgb), 0.32); border-radius: 999px; background: rgba(var(--gold-rgb), 0.06); transition: color 0.3s var(--ease), border-color 0.3s var(--ease), background-color 0.3s var(--ease); }
.ind-row:hover .ind-tags span { color: var(--gold-light); border-color: rgba(var(--gold-rgb), 0.6); background: rgba(var(--gold-rgb), 0.12); }

/* =====================================================================
   CTA BAND — gold
   ===================================================================== */
.cta-band {
  position: relative; overflow: hidden; padding-block: clamp(72px, 10vw, 128px); color: #1A1206;
  background: radial-gradient(120% 170% at 50% -30%, #F7DA96 0%, #E7BC63 38%, #C99B54 78%, #B4863F 100%);
}
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 15% 20%, rgba(255, 255, 255, 0.28), transparent 55%), radial-gradient(50% 70% at 90% 90%, rgba(120, 78, 24, 0.28), transparent 55%); pointer-events: none; }
.cta-v { position: absolute; right: -6%; top: 50%; width: clamp(280px, 42vw, 640px); height: auto; transform: translateY(-50%); color: rgba(26, 18, 6, 0.12); pointer-events: none; }
.cta-inner { position: relative; z-index: 1; text-align: center; max-width: 860px; margin-inline: auto; }
.cta-eyebrow { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(26, 18, 6, 0.62); margin-bottom: 18px; }
.cta-title { font-size: clamp(1.8rem, 1rem + 3vw, 3.1rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.06; color: #140E04; margin-bottom: 18px; }
.cta-text { color: rgba(20, 14, 4, 0.78); font-size: 1.12rem; margin-bottom: 34px; max-width: 680px; margin-inline: auto; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.cta-fine { margin-top: 26px; font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(26, 18, 6, 0.6); }

/* =====================================================================
   06 — KONTAKT
   ===================================================================== */
.contact-grid { display: grid; gap: clamp(36px, 5vw, 70px); }
.contact-list { margin-top: 36px; border-top: 1px solid var(--line-strong); }
.contact-list li { display: grid; grid-template-columns: 110px 1fr; align-items: center; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-k { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-3); }
.contact-v { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; color: #fff; transition: color 0.2s var(--ease); }
a.contact-v:hover { color: var(--gold-light); }

.contact-form {
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  background: linear-gradient(160deg, #0F1E2E, #0A141F); box-shadow: var(--shadow);
  padding: clamp(24px, 3.5vw, 38px);
}
.form-title { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 22px; display: flex; align-items: center; gap: 12px; }
.form-title::after { content: ""; flex: 1; height: 1px; background: var(--line-strong); }
.field { display: flex; flex-direction: column; margin-bottom: 20px; }
.field label { font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-3); margin-bottom: 8px; }
.field input, .field textarea {
  -webkit-appearance: none; appearance: none;
  font-family: var(--font-body); font-size: 1rem; color: #fff;
  background: transparent; border: none; border-bottom: 1px solid var(--border); border-radius: 0;
  padding: 10px 0 12px; width: 100%; resize: vertical;
  transition: border-color 0.25s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-3); opacity: 1; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--gold-light); }
/* Chrome/Safari autofill: keep the dark theme instead of the default light fill */
.field input:-webkit-autofill {
  -webkit-text-fill-color: #fff;
  caret-color: #fff;
  transition: background-color 9999s ease-out;
}
.field-row { display: grid; gap: 0 20px; grid-template-columns: 1fr; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 8px 13px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; font-size: 0.84rem; font-weight: 600; color: var(--text-2); cursor: pointer; transition: all 0.25s var(--ease); }
.chip:hover { border-color: rgba(var(--gold-rgb), 0.7); color: #fff; }
.chip.is-on { background: var(--grad-gold); color: #1A1206; border-color: transparent; box-shadow: 0 6px 16px rgba(199, 154, 88, 0.3); }
.form-note { margin-top: 14px; font-size: 0.82rem; color: var(--text-3); text-align: center; }
.form-note.error { color: #E58B7B; } .form-note.success { color: var(--blue-light); }

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer { position: relative; overflow: hidden; border-top: 1px solid var(--line); background: linear-gradient(180deg, rgba(11, 22, 35, 0.5), rgba(3, 11, 20, 0.95)); padding-top: clamp(56px, 7vw, 90px); }
.site-footer::before { content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(199, 154, 88, 0.6), rgba(101, 185, 235, 0.4), transparent); }
.footer-grid { display: grid; gap: 36px 28px; grid-template-columns: 1fr; padding-bottom: 48px; position: relative; z-index: 1; }
.footer-brand .brand { margin-bottom: 16px; }
.footer-tagline { color: var(--text-2); font-size: 0.95rem; max-width: 340px; }
.footer-copy { margin-top: 18px; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.06em; color: var(--text-3); }
.footer-col h4 { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-3); margin-bottom: 16px; font-weight: 500; }
.footer-col ul { display: grid; gap: 11px; }
.footer-col a, .footer-col li { color: var(--text-2); font-size: 0.94rem; transition: color 0.2s var(--ease); }
.footer-col a:hover { color: var(--gold-light); }
.footer-word {
  font-family: var(--font-display); font-weight: 800; letter-spacing: 0.08em; line-height: 0.8; text-align: center;
  font-size: clamp(4.6rem, 17.5vw, 17rem); user-select: none; pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.0) 85%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-top: 10px; margin-bottom: -0.1em; position: relative; z-index: 0;
}

/* =====================================================================
   Reveal animation (staggered via --i)
   ===================================================================== */
.reveal-ready .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms); }
.reveal-ready .reveal.is-visible { opacity: 1; transform: none; }

/* =====================================================================
   Responsive
   ===================================================================== */
@media (min-width: 560px) {
  .how-track { grid-template-columns: repeat(2, 1fr); gap: 30px 24px; }

  .field-row { grid-template-columns: 1fr 1fr; }
  .hero-actions { flex-direction: row; flex-wrap: wrap; align-items: center; }
  .hero-actions .btn { width: auto; min-width: 200px; }
  .eco-strip-list { grid-template-columns: 1fr 1fr; }
  .eco-strip-item { border-right: 1px solid var(--line); padding: 24px 20px; }
  .eco-strip-item:nth-child(2n) { border-right: none; }
  .eco-strip-item:nth-last-child(-n + 2) { border-bottom: none; }
  .viz-cam .cam { min-height: 78px; }
}
@media (min-width: 720px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .bento-card--net, .bento-card--fund { grid-column: 1 / -1; }
  .bento-fund-grid { grid-template-columns: 1.2fr 1fr; align-items: end; }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
}
@media (min-width: 768px) {
  .hero { align-items: center; }
  .scroll-cue { display: flex; }
}
@media (min-width: 900px) {
  .how-track { grid-template-columns: repeat(5, 1fr); gap: 22px; }
  .how-track::before { display: block; }
  .how-step { padding-left: 0; padding-right: 10px; }
  .how-step .how-dot { position: static; }
  .how-idx { margin-top: 26px; }

  .sec-head--row { grid-template-columns: 1.3fr 1fr; gap: 48px; }
  .sec-head--row .lead { justify-self: end; max-width: 420px; padding-bottom: 8px; }

  /* Ecosystem: three pillars → hub → result, with JS-drawn connectors */
  .eco-pillars::before, .eco-hub::after { display: none; }
  .eco-lines { display: block; }
  .eco-pillars { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .eco-hub { margin-top: 130px; }
  .eco-out { margin-top: 120px; }

  /* Story: sticky stage left, steps right */
  .story-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 64px; align-items: start; }
  .story-sticky { display: block; position: sticky; top: max(calc(var(--header-h) + 24px), calc(50vh - 250px)); z-index: 2; }
  .stage { aspect-ratio: 4 / 3; max-height: none; }
  .story-progress { display: flex; gap: 8px; margin-top: 18px; }
  .story-progress li { flex: 1; height: 2px; border-radius: 2px; background: var(--line-strong); transition: background 0.4s var(--ease); }
  .story-progress li.is-active { background: var(--grad-gold); box-shadow: 0 0 10px rgba(240, 200, 110, 0.5); }
  .story-steps { gap: 28px; padding-top: 0; padding-bottom: 6vh; }
  .step { padding: 34px 32px 30px; opacity: 0.55; transform: translateX(0); }
  .step.is-active { opacity: 1; }
  .step-title { font-size: 1.6rem; }

  .eco-strip-list { grid-template-columns: repeat(4, 1fr); }
  .eco-strip-item { border-bottom: none; border-right: 1px solid var(--line); padding: 26px 24px; }
  .eco-strip-item:nth-child(2n) { border-right: 1px solid var(--line); }
  .eco-strip-item:last-child { border-right: none; }

  .ind-row { grid-template-columns: 60px 1.2fr 1fr; padding: 30px 10px; }
  .ind-tags { grid-column: auto; justify-content: flex-end; }
  .ind-row:hover { padding-left: 28px; }

  .contact-grid { grid-template-columns: 1fr 1.1fr; align-items: start; }
}
@media (min-width: 1024px) {
  .hero-media img { top: 62%; transform: translateY(-62%); }
  .hero-scrim {
    background:
      linear-gradient(96deg, rgba(3, 11, 20, 0.95) 0%, rgba(4, 12, 21, 0.88) 30%, rgba(5, 16, 29, 0.34) 50%, rgba(5, 16, 29, 0) 66%),
      linear-gradient(180deg, rgba(5, 16, 29, 0.42) 0%, rgba(5, 16, 29, 0) 26%, rgba(5, 16, 29, 0.12) 70%, rgba(3, 11, 20, 0.92) 100%),
      radial-gradient(104% 58% at 50% 124%, rgba(3, 11, 20, 0.62), transparent 60%);
  }

  /* Bento: 12-col asymmetric grid */
  .bento { grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(250px, auto); gap: 20px; }
  .bento-card { min-height: 0; }
  .bento-card--net { grid-column: span 8; grid-row: span 2; }
  .bento-card:nth-child(2) { grid-column: span 4; }
  .bento-card:nth-child(3) { grid-column: span 4; }
  .bento-card:nth-child(4) { grid-column: span 3; }
  .bento-card:nth-child(5) { grid-column: span 3; }
  .bento-card--fund { grid-column: span 6; }
  .bento-card--net .viz { min-height: 280px; }
}

/* ---------- Touch devices: don't leave cards stuck in a hover-lift state after a tap ---------- */
@media (hover: none) {
  .pillar:hover, .bento-card:hover { transform: none; border-color: var(--line); box-shadow: none; }
  .bento-card--gold:hover { border-color: rgba(255, 230, 154, 0.6); box-shadow: 0 20px 46px rgba(0, 0, 0, 0.4), 0 0 40px rgba(199, 154, 88, 0.22); }
  .corners:hover::before, .corners:hover::after { width: 14px; height: 14px; border-color: rgba(var(--gold-rgb), 0.7); }
  .spot:hover .spot-layer { opacity: 0; }
  .ind-row:hover { padding-left: 6px; }
  .ind-row:hover::before { transform: scaleY(0); }
  .ind-row:hover::after { opacity: 0; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal-ready .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
  .scene { transform: none; }
  .dash-bars span, .doc-lines i { transform: none; }
  .checks li, .net-nodes circle { opacity: 1; transform: none; }
  .doc-seal { transform: none; }
}