/* PDBM product site. Dark cinematic language, one accent family (PDBM blue to cyan).
   Shape rule: interactive controls are full pills, surfaces are 20px, screenshots inside surfaces are 14px. */

@font-face {
  font-family: "Geist";
  src: url("../fonts/Geist-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("../fonts/GeistMono-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

@property --c1 { syntax: "<color>"; inherits: true; initial-value: #1e5fd8; }
@property --c2 { syntax: "<color>"; inherits: true; initial-value: #18b4e0; }
@property --c3 { syntax: "<color>"; inherits: true; initial-value: #0b2a5c; }

:root {
  --bg: #06080c;
  --bg-2: #0b0f15;
  --surface: #0f141c;
  --surface-2: #141a24;
  --ink: #eef2f7;
  --ink-2: #a3adbb;
  --ink-3: #5f6a7a;
  --ink-4: #2b323d;
  --line: rgba(238, 242, 247, 0.09);
  --line-2: rgba(238, 242, 247, 0.16);
  --accent: #2cc5f0;
  --accent-deep: #1e63e0;
  --accent-ink: #04121a;
  --grad: linear-gradient(100deg, #1e63e0 0%, #2cc5f0 100%);
  --light-bg: #f2f4f7;
  --light-ink: #0a0e14;
  --light-ink-2: #4a5462;
  --r-surface: 20px;
  --r-shot: 14px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1320px;
  --nav-h: 60px;
  --font: "Geist", "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  /* z-index scale: content 1, nav 50, menu 60, grain 80 */
}

*, *::before, *::after { box-sizing: border-box; }

html {
  background: var(--bg);
  color: var(--ink);
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 0;
}
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--bg);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
}

img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, p { margin: 0; }
::selection { background: var(--accent); color: var(--accent-ink); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 999px; }

.skip {
  position: fixed; left: 16px; top: -60px; z-index: 70;
  background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 999px;
  transition: top .3s var(--ease-out);
}
.skip:focus { top: 16px; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--mono); }
.icon { width: 1em; height: 1em; flex: none; }

/* ---------- ambient layers ---------- */

.aurora {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
  transition: --c1 1.4s var(--ease-out), --c2 1.4s var(--ease-out), --c3 1.4s var(--ease-out), opacity 1s ease;
}
.aurora .blob {
  position: absolute; width: 70vmax; height: 70vmax; border-radius: 50%;
  opacity: .55; will-change: transform;
}
.aurora .b1 { left: -22vmax; top: -30vmax; background: radial-gradient(closest-side, var(--c1), transparent 72%); animation: drift1 26s ease-in-out infinite alternate; }
.aurora .b2 { right: -26vmax; top: 10vh; background: radial-gradient(closest-side, var(--c2), transparent 70%); opacity: .32; animation: drift2 32s ease-in-out infinite alternate; }
.aurora .b3 { left: 20vw; bottom: -46vmax; background: radial-gradient(closest-side, var(--c3), transparent 70%); opacity: .7; animation: drift3 38s ease-in-out infinite alternate; }
.aurora::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 80% at 50% 0%, transparent 40%, var(--bg) 100%);
}
@keyframes drift1 { to { transform: translate3d(14vmax, 10vmax, 0) scale(1.15); } }
@keyframes drift2 { to { transform: translate3d(-12vmax, 14vmax, 0) scale(.9); } }
@keyframes drift3 { to { transform: translate3d(-10vmax, -8vmax, 0) scale(1.1); } }

.grain {
  position: fixed; inset: -50%; z-index: 80; pointer-events: none; opacity: .055;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

main { position: relative; z-index: 1; }

/* ---------- buttons ---------- */

.btn {
  --h: 48px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 22px; border-radius: 999px; white-space: nowrap;
  font-size: 15px; font-weight: 550; letter-spacing: -0.01em;
  transition: background-color .3s ease, color .3s ease, box-shadow .4s ease;
  isolation: isolate; overflow: hidden;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--ink); color: #05070a; }
.btn-primary::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--grad);
  transform: translateY(101%); transition: transform .6s var(--ease-out);
}
.btn-primary:hover::before { transform: translateY(0); }
.btn-primary:hover { color: #031018; }
.btn-ghost { color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-ghost:hover { background: rgba(238, 242, 247, .07); }
.btn .icon { width: 16px; height: 16px; transition: transform .5s var(--ease-out); }
.btn:hover .icon-slide { transform: translateX(3px); }

/* ---------- navigation ---------- */

.nav {
  position: fixed; top: 14px; left: 0; right: 0; z-index: 50;
  display: flex; justify-content: center; padding: 0 var(--gutter);
  transition: transform .7s var(--ease-out);
  pointer-events: none;
}
.nav.is-hidden { transform: translateY(calc(-100% - 24px)); }
.nav-inner {
  pointer-events: auto;
  position: relative; display: flex; align-items: center; gap: 8px;
  width: 100%; max-width: 1120px; height: var(--nav-h); padding: 0 8px 0 16px;
  border-radius: 999px;
  background: rgba(10, 13, 19, 0);
  box-shadow: inset 0 0 0 1px rgba(238, 242, 247, 0);
  transition: background-color .6s ease, box-shadow .6s ease, color .6s ease;
}
.nav.is-scrolled .nav-inner {
  background: rgba(12, 16, 23, .62);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  backdrop-filter: blur(22px) saturate(170%);
  box-shadow: inset 0 0 0 1px rgba(238, 242, 247, .09), inset 0 1px 0 rgba(255, 255, 255, .06), 0 20px 50px -20px rgba(0, 0, 0, .6);
}
/* parent-company mark: links out to www.trac.si, set off from the PDBM brand by a hairline */
.nav-trac { position: relative; display: grid; place-items: center; flex: none; height: 100%; padding-right: 14px; margin-right: 4px; }
.nav-trac::after { content: ""; position: absolute; right: 0; top: 50%; width: 1px; height: 22px; margin-top: -11px; background: var(--line-2); }
.nav-trac img { width: 26px; height: 26px; transition: transform .8s var(--ease-spring); }
.nav-trac:hover img { transform: scale(1.12); }
.nav.on-light .nav-trac::after { background: rgba(10, 14, 20, .14); }
.nav-brand { display: flex; align-items: center; gap: 10px; height: 100%; padding-right: 10px; flex: none; }
.nav-brand img { width: 28px; height: 28px; transition: transform .8s var(--ease-spring); }
.nav-brand:hover img { transform: rotate(-12deg) scale(1.08); }
.nav-word { position: relative; display: inline-flex; overflow: hidden; height: 22px; font-weight: 650; font-size: 17px; letter-spacing: -0.02em; line-height: 22px; }
.nav-word span { display: block; transition: transform .6s var(--ease-out); }
.nav-word span + span { position: absolute; left: 0; top: 100%; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-brand:hover .nav-word span { transform: translateY(-100%); }

.nav-links { position: relative; display: flex; align-items: center; gap: 2px; margin: 0 auto; height: 40px; }
.nav-links a {
  position: relative; z-index: 1; display: flex; align-items: center; height: 40px; padding: 0 15px;
  border-radius: 999px; font-size: 14.5px; font-weight: 500; color: var(--ink-2);
  transition: color .4s ease;
}
.nav-links a:hover, .nav-links a.is-active { color: var(--ink); }
.nav-indicator {
  position: absolute; z-index: 0; top: 0; left: 0; height: 40px; width: 0; border-radius: 999px;
  background: rgba(238, 242, 247, .09);
  box-shadow: inset 0 0 0 1px rgba(238, 242, 247, .08), inset 0 1px 0 rgba(255, 255, 255, .07);
  opacity: 0;
  transition: transform .65s var(--ease-spring), width .65s var(--ease-spring), opacity .35s ease, background-color .4s ease;
}
.nav-indicator::after {
  content: ""; position: absolute; left: 50%; bottom: 5px; width: 14px; height: 2px; margin-left: -7px;
  border-radius: 2px; background: var(--grad); opacity: .9;
}
.nav-cta { --h: 44px; padding: 0 18px; font-size: 14px; }
.nav-progress { position: absolute; left: 28px; right: 28px; bottom: 0; height: 1px; overflow: hidden; border-radius: 1px; opacity: 0; transition: opacity .6s ease; }
.nav.is-scrolled .nav-progress { opacity: 1; }
.nav-progress i { position: absolute; inset: 0; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); }

.nav-burger { display: none; width: 44px; height: 44px; border-radius: 999px; margin-left: auto; position: relative; }
.nav-burger span { position: absolute; left: 13px; right: 13px; height: 1.6px; border-radius: 2px; background: currentColor; transition: transform .55s var(--ease-out), opacity .3s ease; }
.nav-burger span:nth-child(1) { top: 17px; }
.nav-burger span:nth-child(2) { top: 26px; }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }

/* light-scene variant of the nav (the theme section) */
.nav.on-light .nav-inner { color: var(--light-ink); }
.nav.on-light.is-scrolled .nav-inner { background: rgba(250, 251, 253, .7); box-shadow: inset 0 0 0 1px rgba(10, 14, 20, .08), 0 20px 50px -24px rgba(20, 30, 50, .25); }
.nav.on-light .nav-links a { color: var(--light-ink-2); }
.nav.on-light .nav-links a:hover, .nav.on-light .nav-links a.is-active { color: var(--light-ink); }
.nav.on-light .nav-indicator { background: rgba(10, 14, 20, .06); box-shadow: inset 0 0 0 1px rgba(10, 14, 20, .06); }
.nav.on-light .btn-primary { background: var(--light-ink); color: var(--light-bg); }

/* language switch: EN / SL; the other page opens at the same place (site.js) */
.nav-lang { display: inline-flex; align-items: center; gap: 2px; flex: none; height: 32px; padding: 3px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); }
.nav-lang a {
  display: grid; place-items: center; height: 26px; min-width: 34px; padding: 0 9px; border-radius: 999px;
  font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: .08em; color: var(--ink-3);
  transition: color .3s ease, background-color .3s ease;
}
.nav-lang a:hover { color: var(--ink); }
.nav-lang a[aria-current] { color: var(--ink); background: rgba(238, 242, 247, .12); }
.nav.on-light .nav-lang { box-shadow: inset 0 0 0 1px rgba(10, 14, 20, .14); }
.nav.on-light .nav-lang a { color: var(--light-ink-2); }
.nav.on-light .nav-lang a:hover, .nav.on-light .nav-lang a[aria-current] { color: var(--light-ink); }
.nav.on-light .nav-lang a[aria-current] { background: rgba(10, 14, 20, .07); }

.menu {
  position: fixed; inset: 0; z-index: 60; display: flex; flex-direction: column; justify-content: center;
  padding: 100px var(--gutter) 40px; background: rgba(6, 8, 12, .96);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  clip-path: circle(0% at calc(100% - 44px) 44px);
  transition: clip-path .9s var(--ease-out), visibility 0s .9s; visibility: hidden;
}
.menu.is-open { clip-path: circle(150% at calc(100% - 44px) 44px); visibility: visible; transition: clip-path .9s var(--ease-out), visibility 0s; }
.menu a { display: block; overflow: hidden; font-size: clamp(36px, 10vw, 64px); font-weight: 600; letter-spacing: -0.04em; line-height: 1.15; }
.menu a span { display: block; transform: translateY(110%); transition: transform .8s var(--ease-out); }
.menu.is-open a span { transform: none; }
.menu a:nth-child(2) span { transition-delay: .05s; } .menu a:nth-child(3) span { transition-delay: .1s; }
.menu a:nth-child(4) span { transition-delay: .15s; } .menu a:nth-child(5) span { transition-delay: .2s; }
.menu a:nth-child(6) span { transition-delay: .25s; } .menu a:nth-child(7) span { transition-delay: .3s; }
.menu-close { position: absolute; top: 22px; right: calc(var(--gutter) + 8px); width: 44px; height: 44px; display: grid; place-items: center; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); }
.menu-close .icon { width: 20px; height: 20px; }
.menu .menu-lang { display: flex; gap: 8px; margin-top: 32px; opacity: 0; transition: opacity .4s ease; }
.menu.is-open .menu-lang { opacity: 1; transition-delay: .35s; }
.menu .menu-lang a {
  display: grid; place-items: center; height: 40px; min-width: 60px; padding: 0 16px; border-radius: 999px;
  font-family: var(--mono); font-size: 14px; font-weight: 500; letter-spacing: .08em; line-height: 1;
  color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-2);
}
.menu .menu-lang a[aria-current] { color: #05070a; background: var(--ink); box-shadow: none; }

/* ---------- shared section scaffolding ---------- */

.section { position: relative; padding: clamp(96px, 14vw, 180px) 0; }
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.h2 { font-size: clamp(40px, 6.2vw, 92px); line-height: 1.02; letter-spacing: -0.045em; font-weight: 620; }
.h2 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { margin-top: 22px; max-width: 58ch; font-size: clamp(17px, 1.35vw, 20px); color: var(--ink-2); line-height: 1.55; }
.label { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }

.shot {
  position: relative; border-radius: var(--r-shot); overflow: hidden; background: #111;
  box-shadow: 0 0 0 1px rgba(238, 242, 247, .1), 0 40px 80px -30px rgba(0, 0, 0, .75);
}
.shot img { width: 100%; height: auto; }

.js [data-reveal] { opacity: 0; transform: translate3d(0, 40px, 0); }
.split-line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.split-line > span { display: block; }

/* ---------- hero ---------- */

.hero { height: 210vh; }
.hero .stage { display: flex; flex-direction: column; align-items: center; perspective: 1400px; }
.hero-copy {
  position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; text-align: center;
  padding-top: calc(var(--nav-h) + clamp(28px, 7vh, 80px));
  will-change: transform, opacity, filter;
}
.brandline { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.brandline img { width: 18px; height: 18px; }
.hero-title {
  margin-top: 14px; font-size: clamp(96px, 17vw, 250px); line-height: .9; font-weight: 700; letter-spacing: -0.065em;
  display: flex; padding: 0 .04em .06em 0; perspective: 900px;
}
.hero-title .ch {
  display: inline-block;
  background: linear-gradient(180deg, #ffffff 0%, #c9d6e6 55%, #6f87a6 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  will-change: transform, opacity, filter;
  /* background-clip: text only paints inside the box; pad it so overshoots and curves are not sliced off */
  padding: .14em .03em .18em; margin: -.14em -.03em -.18em;
}
.hero-sub { margin-top: 18px; max-width: 42ch; font-size: clamp(17px, 1.5vw, 21px); color: var(--ink-2); line-height: 1.5; }
.hero-sub strong { color: var(--ink); font-weight: 560; }
.hero-ctas { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; justify-content: center; }

.hero-device-wrap {
  position: absolute; left: 50%; top: 56vh; width: min(1240px, 88vw); margin-left: calc(min(1240px, 88vw) / -2);
  transform-style: preserve-3d; z-index: 1;
}
.device {
  position: relative; margin: 0; border-radius: 18px; overflow: hidden;
  aspect-ratio: 1920 / 1152; background: #0d0d0d;
  box-shadow: 0 0 0 1px rgba(238, 242, 247, .14), 0 60px 140px -40px rgba(20, 110, 230, .55), 0 30px 60px -30px rgba(0, 0, 0, .9);
  transform-origin: 50% 0%;
  will-change: transform;
}
.device img { width: 100%; height: 100%; object-fit: cover; }
.device .sheen {
  position: absolute; inset: -20% -60%; pointer-events: none;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .13) 48%, rgba(255, 255, 255, .02) 54%, transparent 62%);
  transform: translateX(-40%);
}
.device-glow {
  position: absolute; left: 8%; right: 8%; top: 10%; bottom: -10%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(44, 197, 240, .45), rgba(30, 99, 224, .25) 50%, transparent 75%);
  filter: blur(40px); opacity: .5;
}
.hero-caption {
  position: absolute; left: 0; right: 0; bottom: clamp(24px, 6vh, 64px); z-index: 3; text-align: center;
  font-size: clamp(22px, 2.6vw, 38px); font-weight: 600; letter-spacing: -0.03em; opacity: 0;
  text-shadow: 0 2px 30px rgba(0, 0, 0, .8);
}
.hero-caption span { color: var(--ink-2); }

/* ---------- manifesto + stats ---------- */

.manifesto { padding-top: clamp(120px, 16vw, 220px); }
.manifesto-text {
  max-width: 19ch; font-size: clamp(36px, 5.4vw, 80px); line-height: 1.06; letter-spacing: -0.045em; font-weight: 600;
}
.manifesto-text .w { display: inline-block; color: var(--ink-4); transition: color .35s ease; margin-right: .22em; }
.manifesto-text .w.lit { color: var(--ink); }
.manifesto-text .w.hl.lit { color: var(--accent); }
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: clamp(80px, 10vw, 140px);
  border-top: 1px solid var(--line);
}
.stat { padding: 28px 24px 0 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }
.stat-word { display: block; font-size: clamp(26px, 2.5vw, 38px); font-weight: 640; letter-spacing: -0.035em; line-height: 1.1; }
.stat-word::before { content: ""; display: block; width: 28px; height: 3px; margin-bottom: 18px; border-radius: 3px; background: var(--grad); }
.stat-txt { display: block; margin-top: 12px; color: var(--ink-2); font-size: 15px; max-width: 28ch; }

/* ---------- recipes tour ---------- */

.tour { height: 340vh; }
.tour .stage { display: grid; grid-template-columns: minmax(300px, 0.8fr) 1.45fr; gap: clamp(24px, 4vw, 64px); align-items: center; padding: calc(var(--nav-h) + 30px) var(--gutter) 40px; max-width: 1560px; margin: 0 auto; }
.tour-copy { position: relative; align-self: center; }
.tour-copy .h2 { font-size: clamp(40px, 4.4vw, 68px); }
.tour-steps { position: relative; list-style: none; margin: 40px 0 0; padding: 0; min-height: 220px; }
.tour-step { position: absolute; inset: 0 0 auto 0; opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease-out), transform .8s var(--ease-out); pointer-events: none; }
.tour-step.is-active { opacity: 1; transform: none; pointer-events: auto; }
.tour-step h3 { font-size: clamp(24px, 2.2vw, 32px); letter-spacing: -0.03em; font-weight: 600; line-height: 1.15; }
.tour-step p { margin-top: 12px; color: var(--ink-2); max-width: 42ch; }
.tour-step .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 999px; font-size: 13px; color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.tour-ticks { display: flex; gap: 8px; margin-top: 8px; }
.tour-ticks i { position: relative; display: block; width: 44px; height: 3px; border-radius: 3px; background: var(--ink-4); overflow: hidden; }
.tour-ticks i b { position: absolute; inset: 0; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); }
.tour-frame {
  position: relative; border-radius: var(--r-surface); overflow: hidden; aspect-ratio: 1920 / 1152;
  background: #121212; box-shadow: 0 0 0 1px rgba(238, 242, 247, .12), 0 50px 120px -40px rgba(0, 0, 0, .9), 0 0 120px -40px rgba(44, 197, 240, .25);
}
.tour-cam { position: absolute; left: 0; top: 0; width: 100%; transform-origin: 0 0; will-change: transform; }
.tour-cam img { width: 100%; height: auto; }
.tour-spot {
  position: absolute; border-radius: 10px; pointer-events: none; opacity: 0;
  box-shadow: 0 0 0 2px var(--accent), 0 0 0 9999px rgba(3, 6, 10, .55), 0 0 40px 6px rgba(44, 197, 240, .35);
}

/* ---------- production journey (horizontal) ---------- */

.journey { height: 360vh; }
.journey .stage { display: flex; flex-direction: column; justify-content: center; padding-top: calc(var(--nav-h) + 28px); }
.journey-head { padding: 0 var(--gutter); max-width: var(--maxw); margin: 0 auto 4vh; width: 100%; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.journey-head .h2 { font-size: clamp(36px, 5vw, 72px); }
.journey-count { font-family: var(--mono); font-size: 13px; color: var(--ink-3); white-space: nowrap; padding-bottom: 10px; }
.journey-count b { color: var(--ink); font-weight: 500; }
.journey-track { display: flex; gap: clamp(16px, 2.4vw, 32px); padding: 0 var(--gutter); will-change: transform; width: max-content; }
.jcard {
  position: relative; flex: none; width: min(64vw, 920px, calc((100svh - 470px) * 1.95)); border-radius: var(--r-surface); overflow: hidden;
  background: linear-gradient(180deg, rgba(20, 26, 36, .9), rgba(12, 16, 22, .9));
  box-shadow: inset 0 0 0 1px var(--line), 0 40px 80px -40px rgba(0, 0, 0, .8);
}
.jcard-media { position: relative; aspect-ratio: 16 / 8.2; overflow: hidden; }
.jcard-media img { position: absolute; left: -6%; top: 0; width: 112%; height: 100%; object-fit: cover; object-position: 0 0; will-change: transform; }
.jcard-media.pos-top-left img { object-position: 0 0; }
.jcard-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(12, 16, 22, .95)); }
.jcard-body { display: grid; grid-template-columns: auto 1fr; gap: 6px 22px; padding: 6px 28px 28px; align-items: baseline; }
.jcard-k { grid-row: span 2; font-family: var(--mono); font-size: 13px; color: var(--accent); padding-top: 6px; }
.jcard h3 { font-size: clamp(22px, 2vw, 30px); letter-spacing: -0.03em; font-weight: 600; }
.jcard p { color: var(--ink-2); max-width: 60ch; font-size: 16px; }
.journey-bar { margin: 4vh auto 0; width: min(560px, 60vw); height: 2px; border-radius: 2px; background: var(--ink-4); overflow: hidden; }
.journey-bar i { display: block; height: 100%; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- insight bento ---------- */

.bento {
  display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(3, minmax(220px, auto));
  gap: 16px; margin-top: clamp(48px, 6vw, 80px);
}
.tile {
  --mx: 50%; --my: 50%;
  position: relative; border-radius: var(--r-surface); overflow: hidden; padding: 24px;
  background: linear-gradient(180deg, rgba(22, 28, 38, .92), rgba(13, 17, 24, .92));
  box-shadow: inset 0 0 0 1px var(--line);
  transform-style: preserve-3d; transition: transform .6s var(--ease-out), box-shadow .4s ease;
  display: flex; flex-direction: column; gap: 18px;
}
.tile::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s ease;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(44, 197, 240, .16), transparent 45%);
}
.tile::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; padding: 1px; opacity: 0; transition: opacity .4s ease;
  background: radial-gradient(300px circle at var(--mx) var(--my), rgba(44, 197, 240, .8), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.tile:hover::before, .tile:hover::after { opacity: 1; }
.tile h3 { font-size: 20px; letter-spacing: -0.02em; font-weight: 600; }
.tile p { color: var(--ink-2); font-size: 15px; margin-top: 6px; max-width: 46ch; }
.tile-media { position: relative; flex: 1; border-radius: var(--r-shot); overflow: hidden; min-height: 120px; box-shadow: 0 0 0 1px rgba(238, 242, 247, .08); }
.tile-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transition: transform 1.2s var(--ease-out); }
.tile:hover .tile-media img { transform: scale(1.04); }
.t-analysis { grid-column: 1 / 3; grid-row: 1 / 3; }
.t-analysis .tile-media img { object-position: 38% 30%; }
.t-success { grid-column: 3; grid-row: 1; }
.t-approval { grid-column: 4; grid-row: 1; }
.t-alarms { grid-column: 3 / 5; grid-row: 2; }
.t-palette { grid-column: 1; grid-row: 3; background: linear-gradient(160deg, #1e63e0, #1595c9 60%, #2cc5f0); }
.t-palette p { color: rgba(255, 255, 255, .82); }
.t-palette .tile-media { box-shadow: 0 30px 60px -20px rgba(0, 20, 60, .6); }
.t-palette .tile-media img { object-fit: contain; object-position: 50% 0; background: #fff; }
.t-ops { grid-column: 2 / 5; grid-row: 3; }
.t-success .tile-media img, .t-approval .tile-media img, .t-alarms .tile-media img, .t-ops .tile-media img { object-fit: contain; object-position: 50% 50%; background: #262626; }

/* ---------- reports (3D paper) ---------- */

.paper { height: 250vh; }
/* these stages are width-capped; let the 3D objects draw past the cap instead of being sliced (body clips x) */
.paper .stage, .platform .stage { overflow: visible; }
.paper .stage { display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: clamp(24px, 4vw, 72px); padding: calc(var(--nav-h) + 20px) var(--gutter) 20px; max-width: var(--maxw); margin: 0 auto; }
.paper-copy .h2 { font-size: clamp(38px, 5vw, 76px); }
.paper-notes { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 4px; }
.paper-notes li { display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: baseline; padding: 12px 0; opacity: .28; transition: opacity .6s ease; }
.paper-notes li.is-on { opacity: 1; }
.paper-notes .mono { font-size: 12px; color: var(--accent); }
.paper-notes b { display: block; font-weight: 580; font-size: 17px; letter-spacing: -0.01em; }
.paper-notes span { color: var(--ink-2); font-size: 15px; }
.paper-scene { position: relative; height: min(78vh, 760px); perspective: 1800px; }
.paper-rig { position: absolute; inset: 0; transform-style: preserve-3d; }
.page {
  position: absolute; left: 50%; top: 50%; width: min(31vw, 430px); aspect-ratio: 790 / 924;
  margin-left: calc(min(31vw, 430px) / -2); margin-top: calc(min(31vw, 430px) * 924 / 790 / -2);
  background: #fff; border-radius: 6px; overflow: hidden;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .6) inset, 0 50px 90px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(0, 0, 0, .1);
  will-change: transform; backface-visibility: hidden;
}
.page img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.page::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255, 255, 255, .0) 40%, rgba(255, 255, 255, .25) 50%, rgba(255, 255, 255, 0) 60%); background-size: 250% 100%; background-position: var(--glare, 100%) 0; pointer-events: none; }
.stamp {
  position: absolute; right: 10%; bottom: 14%; z-index: 4; display: inline-flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 16px; border-radius: 999px; font-size: 14px; font-weight: 600; color: #04121a;
  background: var(--grad); box-shadow: 0 20px 40px -12px rgba(44, 197, 240, .55); opacity: 0;
}

/* ---------- compliance stack ---------- */

.stack-head { margin-bottom: clamp(40px, 6vw, 72px); }
.stack { position: relative; }
.stack-card {
  position: sticky; top: calc(var(--nav-h) + 40px);
  display: grid; grid-template-columns: 0.9fr 1.3fr; gap: clamp(20px, 3vw, 48px); align-items: center;
  min-height: min(72vh, 680px); margin-bottom: 8vh; padding: clamp(24px, 3vw, 44px);
  border-radius: var(--r-surface); overflow: hidden;
  background: linear-gradient(180deg, #121821, #0c1017);
  box-shadow: inset 0 0 0 1px var(--line), 0 -30px 80px -30px rgba(0, 0, 0, .8);
  transform-origin: 50% 0%; will-change: transform;
}
.stack-card:last-child { margin-bottom: 0; }
.stack-card .k { font-family: var(--mono); font-size: 13px; color: var(--accent); }
.stack-card h3 { margin-top: 14px; font-size: clamp(30px, 3.4vw, 52px); letter-spacing: -0.04em; line-height: 1.04; font-weight: 620; }
.stack-card p { margin-top: 16px; color: var(--ink-2); max-width: 44ch; }
.stack-card ul { margin: 22px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.stack-media { position: relative; border-radius: var(--r-shot); overflow: hidden; aspect-ratio: 16 / 10; box-shadow: 0 0 0 1px rgba(238, 242, 247, .1); }
.stack-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 0; }
.stack-media.esign { background: linear-gradient(160deg, #eef1f5, #dfe5ee); display: flex; align-items: center; padding: 4%; }
.stack-media.esign img { position: relative; inset: auto; height: auto; object-fit: contain; border-radius: 8px; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .35); }
.stack-media.sig {
  aspect-ratio: auto; display: grid; gap: 18px; padding: clamp(16px, 2vw, 26px); perspective: 1200px;
  background: radial-gradient(120% 90% at 100% 0%, rgba(44, 197, 240, .1), transparent 60%), linear-gradient(160deg, #0b1016, #111925);
}
.stack-media.sig figure { margin: 0; transform-style: preserve-3d; }
.stack-media.sig figcaption { font-family: var(--mono); font-size: 12px; color: var(--ink-3); margin-bottom: 8px; }
.stack-media.sig img { position: relative; inset: auto; width: 100%; height: auto; object-fit: initial; border-radius: 8px; box-shadow: 0 0 0 1px rgba(238, 242, 247, .1), 0 24px 50px -24px rgba(0, 0, 0, .8); }
.stack-dim { position: absolute; inset: 0; background: #05070a; opacity: 0; pointer-events: none; border-radius: inherit; }

/* ---------- configure marquee ---------- */

.config { overflow: clip; }
.marquee { margin-top: clamp(48px, 6vw, 80px); display: grid; gap: 10px; }
.mq-row { display: flex; width: max-content; will-change: transform; }
.mq-row span {
  display: inline-flex; align-items: center; gap: 28px; padding-right: 28px;
  font-size: clamp(44px, 7vw, 108px); font-weight: 650; letter-spacing: -0.05em; line-height: 1.08; white-space: nowrap;
}
.mq-row span i { display: inline-block; width: .22em; height: .22em; border-radius: 50%; background: var(--grad); }
.mq-row.outline span { color: transparent; -webkit-text-stroke: 1.2px rgba(238, 242, 247, .32); }
.config-shot { margin-top: clamp(56px, 7vw, 96px); display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.config-shot .shot { transform-origin: 50% 100%; }
.config-points { display: grid; gap: 26px; }
.config-points div { padding-left: 18px; border-left: 2px solid var(--ink-4); transition: border-color .5s ease; }
.config-points div:hover { border-color: var(--accent); }
.config-points b { display: block; font-weight: 580; font-size: 18px; letter-spacing: -0.01em; }
.config-points span { display: block; margin-top: 6px; color: var(--ink-2); font-size: 15.5px; }

/* ---------- languages ---------- */

.lang { height: 270vh; }
.lang .stage { display: grid; place-items: center; }
.lang-inner { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(24px, 4vw, 72px); align-items: center; width: 100%; max-width: var(--maxw); padding: calc(var(--nav-h) + 20px) var(--gutter) 20px; }
.lang-copy .h2 { font-size: clamp(38px, 4.6vw, 70px); }
.lang-copy .lede { max-width: 46ch; }
.board { position: relative; margin-top: clamp(28px, 5vh, 56px); padding: 22px 0 0 24px; border-left: 2px solid var(--ink-4); }
.board::before { content: ""; position: absolute; left: -2px; top: 0; width: 2px; height: 64px; background: var(--grad); }
.board-code { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; font-family: var(--mono); font-size: 12.5px; color: var(--accent-ink); background: var(--accent); }
.flap { display: flex; flex-wrap: nowrap; white-space: nowrap; margin-top: 6px; font-size: clamp(40px, 5.2vw, 84px); font-weight: 650; letter-spacing: -0.045em; line-height: 1.12; perspective: 700px; }
.flap:first-of-type { margin-top: 14px; }
.flap:nth-of-type(2) { color: var(--ink-2); }
.flap:nth-of-type(3) { color: var(--ink-3); }
.flap .fc { display: inline-block; transform-origin: 50% 60%; backface-visibility: hidden; }
.drum-wrap {
  position: relative; height: min(68vh, 600px); perspective: 1100px;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 78%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 78%, transparent 100%);
}
.drum { position: absolute; left: 0; right: 0; top: 50%; height: 0; transform-style: preserve-3d; will-change: transform; }
.drum-item {
  position: absolute; left: 0; right: 0; top: 0; margin-top: -.62em; text-align: center; white-space: nowrap;
  font-size: clamp(28px, 3.1vw, 46px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.24; color: var(--ink-2);
  backface-visibility: hidden; transition: color .4s ease;
}
.drum-item.is-on { color: var(--ink); }
.drum-lens {
  position: absolute; left: 4%; right: 4%; top: 50%; height: 76px; margin-top: -38px; border-radius: 999px;
  background: linear-gradient(90deg, rgba(44, 197, 240, .02), rgba(44, 197, 240, .12), rgba(44, 197, 240, .02));
  box-shadow: inset 0 0 0 1px rgba(44, 197, 240, .35), 0 0 60px -12px rgba(44, 197, 240, .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; }

/* ---------- theme flip (the one light moment) ---------- */

.themes { height: 220vh; }
.themes .stage { display: grid; place-items: center; }
.theme-light-bg { position: absolute; inset: 0; background: var(--light-bg); clip-path: circle(0% at 78% 22%); will-change: clip-path; }
.theme-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 0.85fr 1.4fr; gap: clamp(24px, 4vw, 64px); align-items: center; width: 100%; max-width: var(--maxw); padding: calc(var(--nav-h) + 20px) var(--gutter) 20px; }
.theme-copy { position: relative; min-height: 260px; }
.theme-copy > div { position: absolute; inset: 0; }
.theme-copy .on-dark { color: var(--ink); }
.theme-copy .on-light { color: var(--light-ink); opacity: 0; }
.theme-copy .on-light .lede { color: var(--light-ink-2); }
.theme-copy .h2 { font-size: clamp(38px, 4.6vw, 70px); }
.theme-frame { position: relative; aspect-ratio: 1920 / 1152; border-radius: var(--r-surface); overflow: hidden; box-shadow: 0 0 0 1px rgba(128, 140, 160, .25), 0 50px 120px -40px rgba(0, 0, 0, .6); }
.theme-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.theme-frame .light { clip-path: circle(0% at 82.5% 2.2%); }
.theme-toggle { position: absolute; z-index: 2; right: 3%; top: 4%; display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(20, 24, 32, .8); box-shadow: inset 0 0 0 1px rgba(238, 242, 247, .14); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: background-color .6s ease; }
.theme-toggle i { min-width: 34px; padding: 0 7px; height: 26px; border-radius: 999px; font-style: normal; font-size: 11px; font-family: var(--mono); display: grid; place-items: center; color: var(--ink-3); transition: all .5s var(--ease-out); }
.theme-toggle i.is-on { background: var(--ink); color: var(--bg); }
.theme-toggle.is-light { background: rgba(255, 255, 255, .9); box-shadow: inset 0 0 0 1px rgba(10, 14, 20, .1); }
.theme-toggle.is-light i { color: var(--light-ink-2); }
.theme-toggle.is-light i.is-on { background: var(--light-ink); color: #fff; }

/* ---------- platform (exploded layers) ---------- */

.platform { height: 260vh; }
.platform .stage { display: grid; grid-template-columns: 0.9fr 1.3fr; align-items: center; gap: clamp(24px, 4vw, 60px); padding: calc(var(--nav-h) + 20px) var(--gutter) 20px; max-width: 1480px; margin: 0 auto; }
.platform-copy .h2 { font-size: clamp(38px, 5vw, 76px); }
.layers-scene { position: relative; height: min(80vh, 780px); perspective: 2200px; perspective-origin: 50% 30%; }
.layers { position: absolute; left: 44%; top: 52%; width: min(33vw, 520px); aspect-ratio: 1920 / 1152; margin-left: calc(min(33vw, 520px) / -2); margin-top: calc(min(33vw, 520px) * 1152 / 1920 / -2); transform-style: preserve-3d; transform: rotateX(58deg) rotateZ(-38deg); }
.layer {
  position: absolute; inset: 0; border-radius: 16px; transform-style: preserve-3d;
  background: linear-gradient(135deg, rgba(30, 99, 224, .2), rgba(44, 197, 240, .08));
  box-shadow: inset 0 0 0 1px rgba(110, 200, 255, .35), 0 0 60px -10px rgba(44, 197, 240, .25);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  display: grid; place-items: center; will-change: transform;
}
.layer.top { overflow: hidden; background: #111; box-shadow: inset 0 0 0 1px rgba(238, 242, 247, .25), 0 0 80px -10px rgba(44, 197, 240, .45); }
.layer.top img { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; }
.layer .lname { font-family: var(--mono); font-size: clamp(12px, 1.3vw, 18px); letter-spacing: .08em; color: rgba(200, 235, 255, .85); text-transform: uppercase; }
.layer .grid { position: absolute; inset: 0; border-radius: inherit; opacity: .35; background-image: linear-gradient(rgba(110, 200, 255, .25) 1px, transparent 1px), linear-gradient(90deg, rgba(110, 200, 255, .25) 1px, transparent 1px); background-size: 8% 13.3%; }
.layer-tags { position: absolute; inset: 0; pointer-events: none; }
.ltag { position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: 12px; opacity: 0; will-change: transform, opacity; white-space: nowrap; }
.ltag::before { content: ""; width: 48px; height: 1px; background: linear-gradient(90deg, transparent, var(--accent)); }
.ltag b { display: block; font-weight: 600; font-size: 16px; letter-spacing: -0.01em; }
.ltag span { display: block; color: var(--ink-2); font-size: 13.5px; }
.pulse { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 16px 4px rgba(44, 197, 240, .7); opacity: 0; }
.platform-list { margin-top: 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; }
.platform-list div b { display: block; font-weight: 600; font-size: 16px; }
.platform-list div span { display: block; color: var(--ink-2); font-size: 14.5px; margin-top: 4px; }

/* ---------- film ---------- */

.film-head { text-align: center; }
.film-head .lede { margin-left: auto; margin-right: auto; }
.film-card {
  position: relative; width: 100%; max-width: 960px; margin: clamp(40px, 5vw, 64px) auto 0; aspect-ratio: 16 / 9;
  border-radius: var(--r-surface); overflow: hidden; background: #05070a;
  box-shadow: 0 0 0 1px rgba(238, 242, 247, .12), 0 50px 120px -40px rgba(0, 0, 0, .9), 0 0 140px -40px rgba(44, 197, 240, .35);
}
.film-card video { width: 100%; height: 100%; object-fit: cover; background: #000; }
/* bottom-left so it never covers the title on the poster */
.film-play {
  position: absolute; left: clamp(14px, 2.4vw, 26px); bottom: clamp(14px, 2.4vw, 26px);
  display: inline-flex; align-items: center; gap: 12px; height: 56px; padding: 0 22px 0 8px; border-radius: 999px;
  font-size: 15px; font-weight: 560; color: #04121a; background: rgba(238, 242, 247, .94);
  box-shadow: 0 20px 50px -12px rgba(0, 0, 0, .6); transition: transform .5s var(--ease-spring), opacity .4s ease, background-color .3s ease;
}
.film-play:hover { transform: scale(1.04); background: #fff; }
.film-play-dot { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: #fff; background: var(--grad); }
.film-play-dot .icon { width: 16px; height: 16px; margin-left: 2px; }
.film-play-ring { position: absolute; inset: -6px; border-radius: 50%; box-shadow: 0 0 0 1.5px rgba(44, 197, 240, .7); animation: ring 2.4s var(--ease-out) infinite; }
@keyframes ring { from { transform: scale(.85); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
.film-card.is-playing .film-play { opacity: 0; pointer-events: none; transform: scale(.8); }

/* ---------- footer ---------- */

.footer { position: relative; padding: clamp(120px, 14vw, 200px) 0 40px; overflow: clip; }
.footer-cta { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; }
.footer-cta .h2 { font-size: clamp(44px, 6.5vw, 104px); }
.footer-cta .lede { margin-top: 0; }
.footer-actions { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.footer-mark {
  margin-top: clamp(80px, 10vw, 140px); font-size: clamp(120px, 27vw, 420px); line-height: .78; font-weight: 750; letter-spacing: -0.075em; text-align: center;
  background: linear-gradient(180deg, rgba(238, 242, 247, .16), rgba(238, 242, 247, 0) 85%);
  -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none;
  padding: .16em 0 .14em;
}
.footer-base { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 28px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 14px; flex-wrap: wrap; }
.footer-base .trac { display: inline-flex; align-items: center; gap: 10px; color: var(--ink-2); }
.footer-base .trac img { width: 26px; height: 26px; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a:hover { color: var(--ink); }

/* ---------- responsive ---------- */

@media (max-width: 1180px) {
  /* the video button shrinks to its play icon so the longer Slovenian labels fit */
  .nav-cta { width: 44px; padding: 0; }
  .nav-cta-label { display: none; }
}
@media (max-width: 1080px) {
  .nav-links a { padding: 0 11px; font-size: 14px; }
}
@media (max-width: 960px) {
  .nav-links, .nav-cta { display: none; }
  .nav-lang { margin-left: auto; }
  .nav-burger { display: block; margin-left: 4px; }
  .nav-inner { padding: 0 8px 0 16px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat { padding-bottom: 28px; }
  .tour .stage { grid-template-columns: 1fr; grid-template-rows: auto auto; align-content: center; gap: 22px; }
  .tour-frame { order: -1; }
  .tour-steps { margin-top: 18px; min-height: 200px; }
  .tour-copy .h2 { font-size: 34px; }
  .bento { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
  .t-analysis { grid-column: 1 / 3; grid-row: auto; min-height: 380px; }
  .t-success, .t-approval { grid-column: auto; grid-row: auto; }
  .t-alarms, .t-ops { grid-column: 1 / 3; grid-row: auto; }
  .t-palette { grid-column: 1 / 3; grid-row: auto; min-height: 420px; }
  .paper .stage { grid-template-columns: 1fr; align-content: center; gap: 8px; }
  .paper-notes { display: none; }
  .paper-scene { height: 52vh; }
  .page { width: min(52vw, 300px); margin-left: calc(min(52vw, 300px) / -2); margin-top: calc(min(52vw, 300px) * 924 / 790 / -2); }
  .stack-card { grid-template-columns: 1fr; min-height: 0; }
  .config-shot { grid-template-columns: 1fr; }
  .theme-inner { grid-template-columns: 1fr; gap: 10px; }
  .theme-copy { min-height: 230px; }
  .platform .stage { grid-template-columns: 1fr; align-content: center; gap: 0; }
  .platform-list { display: none; }
  .platform-copy .lede { font-size: 15px; margin-top: 14px; }
  .layers-scene { height: 50vh; margin-top: 4vh; }
  .layers { top: 64%; }
  .layers { width: min(66vw, 460px); margin-left: calc(min(66vw, 460px) / -2); margin-top: calc(min(66vw, 460px) * 1152 / 1920 / -2); }
  .ltag b { font-size: 13px; } .ltag span { display: none; } .ltag::before { width: 24px; }
  .footer-cta { grid-template-columns: 1fr; }
  .lang-inner { grid-template-columns: 1fr; gap: 0; }
  .lang-copy .lede { font-size: 15px; }
  .board { margin-top: 18px; padding-top: 14px; }
  .flap { font-size: clamp(34px, 10vw, 52px); }
  .drum-wrap { height: 30vh; order: -1; }
  .drum-item { font-size: 26px; }
  .drum-lens { height: 50px; margin-top: -25px; }
  .jcard { width: 82vw; }
  .jcard-body { grid-template-columns: 1fr; padding: 4px 20px 22px; }
  .jcard-k { grid-row: auto; }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; }
  .t-analysis, .t-alarms, .t-ops, .t-palette { grid-column: auto; }
  .t-analysis { min-height: 320px; }
  .stats { grid-template-columns: 1fr; }
  .stat + .stat { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .journey-count { display: none; }
  .film-play { height: 40px; padding: 0 14px 0 5px; gap: 8px; font-size: 13px; left: 10px; bottom: 10px; }
  .film-play-dot { width: 30px; height: 30px; }
  .film-play-dot .icon { width: 12px; height: 12px; }
  .layer-tags { display: none; }
  .layers { left: 50%; }
  .hero-device-wrap { top: 62vh; }
}

/* ---------- reduced motion: everything readable, nothing moves ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .hero, .tour, .journey, .paper, .lang, .themes, .platform, .film { height: auto; }
  .stage { position: relative; height: auto; overflow: visible; padding-top: 120px; padding-bottom: 80px; }
  .hero-device-wrap { position: relative; top: auto; left: auto; margin: 48px auto 0; }
  .tour-step { position: relative; opacity: 1; transform: none; margin-bottom: 28px; }
  .tour-steps { min-height: 0; }
  .journey-track { flex-direction: column; width: auto; }
  .jcard { width: 100%; }
  .manifesto-text .w { color: var(--ink); }
  .theme-frame .light { clip-path: inset(0 0 0 50%); }
  .theme-copy .on-light { display: none; }
  .drum-wrap { height: auto; perspective: none; -webkit-mask-image: none; mask-image: none; }
  .drum { position: static; height: auto; display: flex; flex-wrap: wrap; gap: 6px 18px; }
  .drum-item { position: static; margin: 0; font-size: 22px; width: auto; }
  .drum-lens { display: none; }
  .stamp, .hero-caption { opacity: 1; }
  .layer-tags, .pulse { display: none; }
  .layers .l1 { transform: translateZ(200px); } .layers .l2 { transform: translateZ(120px); }
  .layers .l3 { transform: translateZ(40px); } .layers .l4 { transform: translateZ(-40px); }
  .paper-notes li { opacity: 1; }
  .stack-card { position: relative; top: auto; margin-bottom: 24px; }
}
