/* ============================================================
   COVERDECO — Folije za enterijer i nameštaj
   Dark editorial. Espresso → cognac → brass → cream.
============================================================ */

:root {
  --bg:        #0a0706;
  --bg-1:      #120e0b;
  --bg-2:      #1a1410;
  --espresso:  #3d2817;
  --cocoa:     #5a3b22;
  --cognac:    #8b5a2b;
  --brass:     #c89968;
  --brass-hi:  #e2bd8a;
  --cream:     #e8d4a8;
  --paper:     #f5ead5;
  --ink:       #f0e6d2;
  --mute:      rgba(240, 230, 210, 0.55);
  --faint:     rgba(240, 230, 210, 0.32);
  --line:      rgba(232, 212, 168, 0.10);
  --line-2:    rgba(232, 212, 168, 0.22);

  --serif: "Cormorant Garamond", "EB Garamond", Georgia, serif;
  --sans:  "IBM Plex Sans", system-ui, sans-serif;
  --mono:  "IBM Plex Mono", ui-monospace, monospace;

  --max: 1480px;
  --gutter: clamp(20px, 4vw, 64px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

/* Accessibility / SEO — visually hidden but crawlable & screen-reader readable */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

html, body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

html { scroll-behavior: smooth; }
body { overflow-x: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

::selection { background: var(--brass); color: var(--bg); }

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--brass);
}
.eyebrow .dot { display: inline-block; width: 5px; height: 5px; background: var(--brass); border-radius: 50%; vertical-align: 2px; margin-right: 10px; }

/* ----- Film grain ----- */
.grain {
  pointer-events: none;
  position: fixed; inset: 0;
  z-index: 1000;
  opacity: 0.12;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.92' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.95  0 0 0 0 0.85  0 0 0 0 0.7  0 0 0 0.7 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.vignette {
  pointer-events: none;
  position: fixed; inset: 0;
  z-index: 999;
  background: radial-gradient(ellipse at center, transparent 55%, rgba(0,0,0,0.6) 100%);
}

/* ============================================================
   NAVIGATION — more present
============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 24px var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 40px;
  background: linear-gradient(to bottom, rgba(10,7,6,0.92), rgba(10,7,6,0));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.nav__brand { display: flex; align-items: center; gap: 13px; }
.nav__logo {
  height: 34px;
  width: auto;
  display: block;
  flex-shrink: 0;
}
.nav__name {
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 19px;
  letter-spacing: 0.005em;
  color: var(--paper);
  font-weight: 600;
}
.nav__name b { font-weight: 600; color: var(--brass-hi); }
.nav__name span { font-weight: 600; }

.nav__menu {
  display: flex; gap: 38px;
  justify-content: center;
}
.nav__menu a {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--ink);
  position: relative;
  padding: 6px 0;
  transition: color 0.3s ease;
}
.nav__menu a .ix {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  color: var(--brass);
  margin-right: 8px;
  vertical-align: 1px;
}
.nav__menu a::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  height: 1px; width: 0;
  background: var(--brass-hi);
  transition: width 0.45s cubic-bezier(0.22,1,0.36,1);
}
.nav__menu a:hover { color: var(--brass-hi); }
.nav__menu a:hover::after { width: 100%; }
.nav__menu a.current { color: var(--brass-hi); }
.nav__menu a.current::after { width: 100%; }

.nav__right { display: flex; justify-content: flex-end; align-items: center; gap: 20px; }
.nav__lang {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
}
.nav__lang a { color: var(--mute); transition: color 0.3s ease; }
.nav__lang a.active { color: var(--brass-hi); }
.nav__lang a:hover { color: var(--ink); }
.nav__lang span { color: var(--faint); }
.nav__phone {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--mute);
  transition: color 0.3s;
}
.nav__phone:hover { color: var(--brass-hi); }
.nav__cta {
  font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: 0.04em;
  padding: 12px 22px;
  border: 1px solid var(--brass-hi);
  color: var(--brass-hi);
  transition: all 0.3s ease;
  white-space: nowrap;
}
.nav__cta:hover { background: var(--brass-hi); color: var(--bg); }

/* Hamburger */
.nav__burger {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line-2);
  background: rgba(10,7,6,0.4);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  position: relative;
  z-index: 130;
  transition: border-color 0.3s ease;
}
.nav__burger span {
  display: block;
  width: 18px; height: 1.5px;
  background: var(--ink);
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1), opacity 0.3s ease, background 0.3s ease;
}
.nav__burger[aria-expanded="true"] { border-color: var(--brass-hi); }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); background: var(--brass-hi); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); background: var(--brass-hi); }

/* Mobile fullscreen menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: linear-gradient(160deg, #14100d 0%, #0a0706 100%);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px);
  transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.22,1,0.36,1);
  display: flex;
  align-items: center;
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.mobile-menu::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 80% 10%, rgba(139,90,43,0.22), transparent 55%),
    radial-gradient(ellipse at 10% 90%, rgba(232,189,138,0.10), transparent 50%);
  pointer-events: none;
}
.mobile-menu__inner {
  position: relative;
  width: 100%;
  padding: 0 var(--gutter);
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.mobile-menu__label {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--brass);
}
.mobile-menu__links {
  display: flex; flex-direction: column;
}
.mobile-menu__links a {
  display: flex; align-items: baseline; gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: clamp(34px, 9vw, 54px);
  font-weight: 400;
  color: var(--paper);
  line-height: 1;
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.22,1,0.36,1), color 0.3s ease;
}
.mobile-menu.open .mobile-menu__links a {
  opacity: 1;
  transform: translateX(0);
}
.mobile-menu.open .mobile-menu__links a:nth-child(1) { transition-delay: 0.08s; }
.mobile-menu.open .mobile-menu__links a:nth-child(2) { transition-delay: 0.14s; }
.mobile-menu.open .mobile-menu__links a:nth-child(3) { transition-delay: 0.20s; }
.mobile-menu.open .mobile-menu__links a:nth-child(4) { transition-delay: 0.26s; }
.mobile-menu.open .mobile-menu__links a:nth-child(5) { transition-delay: 0.32s; }
.mobile-menu.open .mobile-menu__links a:nth-child(6) { transition-delay: 0.38s; }
.mobile-menu__links a .mm-ix {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--brass);
  flex-shrink: 0;
}
.mobile-menu__links a.current .mm-t { font-style: italic; color: var(--brass-hi); }
.mobile-menu__links a:active .mm-t { color: var(--brass-hi); }
.mobile-menu__foot {
  display: flex; flex-wrap: wrap; gap: 10px 28px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em;
  color: var(--mute);
  margin-top: 8px;
}
.mobile-menu__foot a { transition: color 0.3s ease; }
.mobile-menu__foot a:active { color: var(--brass-hi); }

/* Mobile section indicator pill in nav */
.nav__section {
  display: none;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass);
  align-items: center;
  gap: 8px;
}
.nav__section .dot {
  width: 5px; height: 5px; border-radius: 50%; background: var(--brass-hi);
}

@media (max-width: 1000px) {
  .nav__menu { display: none; }
  .nav { grid-template-columns: 1fr auto; }
  .nav__phone { display: none; }
  .nav__burger { display: flex; }
  .nav__cta { display: none; }
}
body.menu-open { overflow: hidden; }

/* ============================================================
   CINEMATIC SCROLL — single 1000vh stage
============================================================ */
.cinema {
  position: relative;
  height: 1000vh;
  background: var(--bg);
}

.cinema-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 40%, #1c1612 0%, #0a0706 50%, #050302 100%);
}

/* When the hero scrolls off-screen, freeze every infinite animation inside it
   so it stops compositing/painting. Restored instantly when it returns. */
.cinema-sticky.cinema-idle *,
.cinema-sticky.cinema-idle {
  animation-play-state: paused !important;
}

/* Respect reduced-motion: drop the continuous ambient motion entirely. */
@media (prefers-reduced-motion: reduce) {
  .cinema-particles, .cinema-particles-conv,
  .cinema-bg-drift, .cinema-spotlight, .light-leak,
  .panel-specular, .partner-glow {
    animation: none !important;
  }
}

/* ============================================================
   ATMOSPHERE LAYER — particles, drifting samples, spotlight
============================================================ */
.cinema-atmosphere {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  overflow: hidden;
}

/* Soft spotlight behind the panel */
.cinema-spotlight {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: min(80vw, 900px);
  height: min(85vh, 900px);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(232,189,138,0.10) 0%, rgba(139,90,43,0.05) 30%, transparent 65%);
  filter: blur(40px);
  animation: spot-breathe 8s ease-in-out infinite;
}
@keyframes spot-breathe {
  0%, 100% { opacity: 0.85; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.08); }
}

/* Light leaks at corners */
.light-leak {
  position: absolute;
  width: 60vh; height: 60vh;
  border-radius: 50%;
  filter: blur(80px);
  animation: leak-breathe 10s ease-in-out infinite;
}
.light-leak.tl {
  top: -30vh; left: -30vh;
  background: radial-gradient(circle, rgba(139,90,43,0.18), transparent 70%);
}
.light-leak.br {
  bottom: -30vh; right: -30vh;
  background: radial-gradient(circle, rgba(200,153,104,0.12), transparent 70%);
  animation-delay: -5s;
}
@keyframes leak-breathe {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

/* Drifting background material samples (film leader) */
.cinema-bg-drift {
  position: absolute;
  inset: 0;
  perspective: 1400px;
  perspective-origin: 50% 50%;
  transform-style: preserve-3d;
}
.drift-sample {
  position: absolute;
  left: var(--x, 50%);
  top: var(--y, 50%);
  width: var(--w, 100px);
  height: calc(var(--w, 100px) * 1.5);
  opacity: var(--o, 0.08);
  filter: blur(var(--blur, 2px));
  transform-style: preserve-3d;
  animation: drift-float var(--dur, 28s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
  pointer-events: none;
}
.drift-sample > .sample-fill {
  position: absolute; inset: 0;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
@keyframes drift-float {
  0%, 100% {
    transform: translate3d(0, 0, var(--z, -200px)) rotateZ(var(--rot, -6deg)) rotateY(var(--ry, -8deg));
  }
  50% {
    transform: translate3d(var(--dx, 30px), var(--dy, -40px), calc(var(--z, -200px) + 80px)) rotateZ(calc(var(--rot, -6deg) + 4deg)) rotateY(calc(var(--ry, -8deg) + 6deg));
  }
}

/* Dust particles */
.cinema-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.particle {
  position: absolute;
  width: 2px; height: 2px;
  background: rgba(232, 212, 168, 0.7);
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(232,189,138,0.5);
  animation: particle-drift var(--p-dur, 14s) linear infinite;
  animation-delay: var(--p-delay, 0s);
  left: var(--p-x, 50%);
  top: var(--p-y, 100%);
  opacity: 0;
}
.particle.lg {
  width: 3px; height: 3px;
  background: rgba(232, 189, 138, 0.8);
  box-shadow: 0 0 10px rgba(232,189,138,0.7);
}
.particle.sm {
  width: 1px; height: 1px;
  background: rgba(232, 212, 168, 0.5);
  box-shadow: none;
}
@keyframes particle-drift {
  0% { transform: translate3d(0, 0, 0); opacity: 0; }
  10% { opacity: var(--p-op, 1); }
  90% { opacity: var(--p-op, 1); }
  100% { transform: translate3d(var(--p-dx, 60px), var(--p-dy, -120vh), 0); opacity: 0; }
}

/* Atmosphere fade-out past intro phases */
.cinema-atmosphere {
  opacity: var(--atm-op, 1);
}

/* Letterbox bars give cinema framing */
.letterbox {
  position: absolute; left: 0; right: 0;
  height: 60px;
  background: var(--bg);
  z-index: 50;
  pointer-events: none;
  transform: scaleY(var(--lb-scale, 1));
  transform-origin: var(--lb-origin, top);
}
.letterbox.top { top: 0; --lb-origin: top; }
.letterbox.bottom { bottom: 0; --lb-origin: bottom; }
/* note: no transitions on var-driven props (Chrome doesn't fire them; scroll rAF drives smoothness) */

/* Persistent telemetry overlays */
.cinema-overlay {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 40;
  padding: 96px var(--gutter) 36px;
  display: grid;
  grid-template-rows: auto 1fr auto;
}
.cinema-overlay .ov-row {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono); font-size: 10.5px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--mute);
}
.cinema-overlay .ov-bot { align-items: flex-end; gap: 24px; }

.cinema-overlay .scene-pill {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 8px 14px;
  border: 1px solid var(--line-2);
  background: rgba(10,7,6,0.45);
  backdrop-filter: blur(8px);
}
.cinema-overlay .scene-pill .label { color: var(--mute); }
.cinema-overlay .scene-pill .num { color: var(--brass-hi); }
.cinema-overlay .scene-pill .total { color: var(--mute); }

.cinema-overlay .tel {
  display: flex; align-items: center; gap: 10px;
}
.cinema-overlay .tel .bar { width: 38px; height: 1px; background: var(--line-2); }
.cinema-overlay .tel .val { color: var(--ink); }
.cinema-overlay .tel .val em { color: var(--brass-hi); font-style: normal; }

.cinema-overlay .progress-bar {
  flex: 1;
  height: 1px;
  background: var(--line);
  position: relative;
  max-width: 320px;
}
.cinema-overlay .progress-bar .fill {
  position: absolute; left: 0; top: 0; bottom: 0;
  background: linear-gradient(to right, var(--cognac), var(--brass-hi));
  width: calc(var(--t, 0) * 100%);
}

.cinema-overlay .progress-segments {
  display: flex; gap: 4px; flex: 1; max-width: 280px;
}
.cinema-overlay .progress-segments span {
  flex: 1; height: 2px;
  background: var(--line);
  position: relative;
}
.cinema-overlay .progress-segments span.done { background: var(--brass); }
.cinema-overlay .progress-segments span.active {
  background: linear-gradient(to right, var(--brass-hi), var(--line));
}

/* ---------- Stage center: the protagonist panel ---------- */

.cinema-stage {
  position: absolute; inset: 0;
  display: grid;
  place-items: center;
  z-index: 10;
  perspective: 1400px;
  perspective-origin: 50% 40%;
}

.cinema-panel-wrap {
  position: relative;
  width: clamp(280px, 30vw, 480px);
  height: clamp(420px, 72vh, 760px);
  transform-origin: center;
  transform:
    translate3d(calc(var(--panel-tx, 0) * 1vw), calc(var(--panel-ty, 0) * 1vh), 0)
    scale(var(--panel-scl, 1))
    rotateY(calc(var(--panel-ry, 0) * 1deg));
  transform-style: preserve-3d;
  opacity: var(--panel-op, 0);
  filter: brightness(var(--panel-bri, 1)) blur(calc(var(--panel-blur, 0) * 1px));
  will-change: transform, opacity;
}

.cinema-panel {
  position: absolute; inset: 0;
  box-shadow:
    0 80px 120px -50px rgba(0,0,0,0.95),
    0 40px 80px -20px rgba(0,0,0,0.85),
    inset 0 0 0 1px rgba(255,255,255,0.06);
  background: #1a1410;
  overflow: hidden;
}

/* Specular sweep across panel */
.panel-specular {
  position: absolute; inset: 0;
  z-index: 9;
  pointer-events: none;
  background: linear-gradient(115deg,
    transparent 35%,
    rgba(255, 248, 230, 0.10) 48%,
    rgba(255, 248, 230, 0.18) 50%,
    rgba(255, 248, 230, 0.10) 52%,
    transparent 65%);
  background-size: 250% 100%;
  background-position: -100% 0;
  mix-blend-mode: overlay;
  animation: specular-sweep 7s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}
@keyframes specular-sweep {
  0% { background-position: -100% 0; }
  60% { background-position: 200% 0; }
  100% { background-position: 200% 0; }
}

/* Brief flash when material changes */
.panel-flash {
  position: absolute; inset: 0;
  z-index: 10;
  pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(255,248,230,0.5), transparent 70%);
  opacity: var(--flash-op, 0);
  mix-blend-mode: screen;
}

/* Scan-line under the foil edge during application */
.panel-scanline {
  position: absolute;
  left: -8%; right: -8%;
  top: calc(var(--foil-progress, 0) * 100% - 2px);
  height: 4px;
  z-index: 8;
  pointer-events: none;
  background: linear-gradient(to bottom,
    transparent 0%,
    rgba(255, 248, 230, 0.9) 50%,
    transparent 100%);
  box-shadow: 0 0 14px rgba(232, 189, 138, 0.8), 0 0 30px rgba(232, 189, 138, 0.4);
  opacity: var(--scanline-op, 0);
}

/* Bare base surface — visible before foil descends */
.panel-base {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 30% 30%, rgba(0,0,0,0.4) 0%, transparent 30%),
    radial-gradient(ellipse at 70% 60%, rgba(0,0,0,0.3) 0%, transparent 25%),
    repeating-linear-gradient(180deg, rgba(0,0,0,0.18) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(180deg, rgba(255,255,255,0.03) 0 2px, transparent 2px 8px),
    linear-gradient(160deg, #2a1f17 0%, #3a2a1d 50%, #221912 100%);
}
.panel-base::after {
  content: "PRE / RAW SURFACE";
  position: absolute; left: 18px; bottom: 16px;
  font-family: var(--mono); font-size: 9px; letter-spacing: 0.26em;
  color: rgba(255,255,255,0.5);
  opacity: var(--base-label-op, 1);
}

/* Tape marks — appear briefly during foil application */
.tape {
  position: absolute; z-index: 4;
  width: 36px; height: 86px;
  background: linear-gradient(180deg, rgba(232,212,168,0.6), rgba(232,212,168,0.15));
  border: 1px dashed rgba(232,212,168,0.45);
  opacity: var(--tape-op, 0);
}
.tape.l { top: -32px; left: 22px; transform: rotate(-12deg); }
.tape.r { top: -32px; right: 22px; transform: rotate(10deg); }
.tape { transition: none; }

/* Foil clip — clip-path slides top to bottom */
.foil-clip {
  position: absolute; inset: 0;
  clip-path: inset(calc((1 - var(--foil-progress, 0)) * 100%) 0 0 0);
}

.material-layer {
  position: absolute; inset: 0;
  opacity: 0;
}

/* ============================================================
   MATERIAL TEXTURES — real product films from the CoverDeco offer
   (loaded from the pricelist image CDN; no generated/demo gradients)
============================================================ */
.mat-wood, .mat-marble, .mat-concrete, .mat-metal, .mat-textile, .mat-gloss {
  background-color: #14100d;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}
.mat-wood     { background-image: url("https://folijezanamestaj.rs/wp-content/uploads/2026/02/WG2906.png"); } /* Topli orah */
.mat-marble   { background-image: url("https://folijezanamestaj.rs/wp-content/uploads/2026/02/MS822.png"); }  /* Calacatta */
.mat-concrete { background-image: url("https://folijezanamestaj.rs/wp-content/uploads/2026/02/CS701.png"); }  /* Glačani beton */
.mat-metal    { background-image: url("https://folijezanamestaj.rs/wp-content/uploads/2026/02/BS613.png"); }  /* Brušeno staro zlato */
.mat-textile  { background-image: url("https://folijezanamestaj.rs/wp-content/uploads/2026/02/FL880.png"); }  /* Svetli lan */
.mat-gloss    { background-image: url("https://folijezanamestaj.rs/wp-content/uploads/2026/02/MS822.png"); }

/* In the cinematic (panel + drifting samples) crop the texture from the TOP so
   the model-code label baked into the bottom of each swatch stays out of frame.
   The catalog/cenovnik show the full image (own <img>) so the code stays visible. */
.foil-clip .material-layer,
.sample-fill {
  background-size: auto 128%;
  background-position: top center;
}

/* Foil descending sheet (light catching the curl) */
.foil-sheet {
  position: absolute;
  left: -4%; right: -4%;
  top: 0;
  height: calc(var(--foil-progress, 0) * 100%);
  pointer-events: none;
  z-index: 5;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(255,255,255,0.03) 90%,
    rgba(255,255,255,0.4) 98%,
    rgba(255,255,255,0.0) 100%);
}
.foil-sheet::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 6px;
  background: linear-gradient(to bottom,
    rgba(255,255,255,0.9) 0%,
    rgba(232,212,168,0.9) 50%,
    rgba(0,0,0,0.7) 100%);
  filter: blur(1px);
  box-shadow: 0 5px 14px rgba(0,0,0,0.65);
}

/* Squeegee bar following the descending sheet */
.foil-squeegee {
  position: absolute;
  z-index: 7;
  left: 50%; transform: translateX(-50%);
  top: calc(var(--foil-progress, 0) * 100% - 16px);
  width: 70%; height: 3px;
  background: linear-gradient(to bottom, var(--brass-hi), var(--cognac));
  opacity: var(--squeegee-op, 0);
  box-shadow: 0 0 12px rgba(232,189,138,0.5);
}

/* ---------- Cinematic typography layers ---------- */

.cinema-type {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 0 var(--gutter);
}

/* Phase: Brand intro — ruler + tag at bottom; canvas renders the wordmark above */
.cinema-brand-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 12vh;
  gap: 24px;
  opacity: var(--brand-op, 0);
  text-align: center;
}

/* Text-particle canvas (covers full sticky viewport) */
.cinema-text-canvas {
  position: absolute;
  inset: 0;
  z-index: 25;
  pointer-events: none;
  width: 100%;
  height: 100%;
}
.cinema-brand-overlay .word {
  font-family: "Bodoni Moda", "Didot", "Bodoni 72", serif;
  font-style: normal;
  font-weight: 400;
  font-size: clamp(64px, 9.5vw, 156px);
  letter-spacing: -0.01em;
  line-height: 0.95;
  color: var(--paper);
  background: linear-gradient(180deg, var(--paper) 0%, var(--brass-hi) 65%, var(--cognac) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transform: scale(calc(0.97 + var(--brand-op, 0) * 0.03));
}
.cinema-brand-overlay .ruler {
  display: block;
  width: 64px; height: 1px;
  background: var(--brass-hi);
  margin: 0;
  transform: scaleX(var(--brand-op, 0));
  transform-origin: center;
}
.cinema-brand-overlay .tag {
  display: block;
  margin: 0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--mute);
}

/* Materialization bloom — particles converge, then panel emerges */
.cinema-bloom {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%) scale(calc(0.4 + var(--bloom-scl, 0) * 1.4));
  width: clamp(300px, 32vw, 500px);
  height: clamp(420px, 72vh, 760px);
  border-radius: 50% / 30%;
  background:
    radial-gradient(ellipse at center, rgba(255, 248, 230, 0.45) 0%, rgba(232,189,138,0.25) 35%, rgba(139,90,43,0.08) 60%, transparent 80%);
  filter: blur(40px);
  opacity: var(--bloom-op, 0);
  z-index: 8;
  pointer-events: none;
  mix-blend-mode: screen;
}

/* Convergence particles — swirl toward center then dissolve */
.particle.conv {
  animation: particle-converge var(--p-dur, 5s) ease-in infinite;
}
@keyframes particle-converge {
  0%   { transform: translate3d(0, 0, 0) scale(1);     opacity: 0; }
  25%  { opacity: var(--p-op, 1); }
  100% { transform: translate3d(var(--p-tx, 0), var(--p-ty, 0), 0) scale(0.2); opacity: 0; }
}
.cinema-particles-conv {
  position: absolute; inset: 0;
  opacity: var(--conv-op, 0);
  pointer-events: none;
}

/* Phase: Title */
.cinema-title-overlay {
  position: absolute;
  left: 0; right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6vw;
  padding: 0 var(--gutter);
  opacity: var(--title-op, 0);
  z-index: 20;
}
.cinema-title-overlay .ttl-left,
.cinema-title-overlay .ttl-right {
  align-self: center;
}
.cinema-title-overlay .ttl-left {
  text-align: right;
  transform: translateX(calc((1 - var(--title-op, 0)) * -30px));
}
.cinema-title-overlay .ttl-right {
  text-align: left;
  transform: translateX(calc((1 - var(--title-op, 0)) * 30px));
  max-width: 460px;
}
.cinema-title-overlay h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(48px, 7vw, 130px);
  line-height: 0.92;
  letter-spacing: -0.025em;
  color: var(--paper);
}
.cinema-title-overlay h1 em {
  font-style: italic;
  color: var(--brass-hi);
}
.cinema-title-overlay .sub {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 22px;
}
.cinema-title-overlay p {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.4;
  color: var(--mute);
}

/* Phase: Material label (per-material) */
.cinema-mat-label {
  position: absolute;
  z-index: 20;
  left: 6vw;
  top: 50%; transform: translateY(-50%);
  opacity: var(--matlabel-op, 0);
  pointer-events: none;
  max-width: 360px;
}
.cinema-mat-label .ix {
  font-family: var(--mono); font-size: 11.5px;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 14px;
}
.cinema-mat-label .ix .ln { width: 40px; height: 1px; background: var(--brass); }
.cinema-mat-label .name {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(56px, 8vw, 124px);
  line-height: 0.9;
  letter-spacing: -0.025em;
  color: var(--paper);
}
.cinema-mat-label .meta {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 12px 28px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.cinema-mat-label .meta dt { color: var(--mute); }
.cinema-mat-label .meta dd { color: var(--paper); letter-spacing: 0.18em; }

.cinema-mat-desc {
  position: absolute;
  z-index: 20;
  right: 6vw;
  top: 50%; transform: translateY(-50%);
  opacity: var(--matdesc-op, 0);
  pointer-events: none;
  max-width: 320px;
  text-align: right;
}
.cinema-mat-desc p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 19px;
  line-height: 1.45;
  color: var(--ink);
}
.cinema-mat-desc .code {
  display: block;
  margin-top: 24px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.28em;
  color: var(--brass-hi);
}

/* Phase: Process — callouts around the (smaller) panel */
.cinema-process-overlay {
  position: absolute;
  inset: 0;
  z-index: 20;
  opacity: var(--process-op, 0);
  pointer-events: none;
}
.cinema-process-overlay .proc-head {
  position: absolute;
  top: 16vh;
  left: 50%; transform: translateX(-50%);
  text-align: center;
}
.cinema-process-overlay .proc-head .kx {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 14px;
}
.cinema-process-overlay .proc-head h3 {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--paper);
}
.cinema-process-overlay .proc-head h3 em { font-style: italic; color: var(--brass-hi); }

.proc-step {
  position: absolute;
  width: 280px;
  font-family: var(--sans);
  opacity: var(--step-op, 0);
  transform: translateY(calc((1 - var(--step-op, 0)) * 16px));
}
.proc-step .num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 48px;
  line-height: 1;
  color: var(--brass-hi);
  margin-bottom: 10px;
  display: block;
}
.proc-step .ttl {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.15;
  color: var(--paper);
  margin-bottom: 8px;
}
.proc-step .ttl em { font-style: italic; color: var(--brass-hi); }
.proc-step p {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--mute);
}
.proc-step .dur {
  margin-top: 12px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--brass);
}
.proc-step .ln {
  position: absolute;
  background: var(--line-2);
  pointer-events: none;
}

.proc-step.p1 { top: 26vh; left: 6vw; --step-delay: 0; }
.proc-step.p2 { top: 26vh; right: 6vw; text-align: right; --step-delay: 1; }
.proc-step.p3 { bottom: 14vh; left: 6vw; --step-delay: 2; }
.proc-step.p4 { bottom: 14vh; right: 6vw; text-align: right; --step-delay: 3; }

.proc-step.p1 .ln,
.proc-step.p3 .ln { right: -60px; top: 50%; width: 50px; height: 1px; }
.proc-step.p2 .ln,
.proc-step.p4 .ln { left: -60px; top: 50%; width: 50px; height: 1px; }

/* Phase: Compare — split screen */
.cinema-compare-overlay {
  position: absolute;
  inset: 0;
  z-index: 20;
  opacity: var(--compare-op, 0);
  pointer-events: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 14vh var(--gutter) 12vh;
  gap: 0;
}
.compare-side {
  height: 100%;
  display: flex; flex-direction: column;
  justify-content: center;
  padding: 0 4vw;
  position: relative;
}
.compare-side.old { border-right: 1px solid var(--line); }
.compare-side .ix {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 20px;
}
.compare-side.new .ix { color: var(--brass); }
.compare-side h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(36px, 5vw, 80px);
  line-height: 0.95; letter-spacing: -0.02em;
  color: var(--paper);
  margin-bottom: 36px;
}
.compare-side.old h3 { color: var(--mute); }
.compare-side h3 em { font-style: italic; color: var(--brass-hi); }
.compare-side ul {
  list-style: none;
  padding: 0;
}
.compare-side ul li {
  display: grid; grid-template-columns: 110px 1fr; gap: 24px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  align-items: baseline;
}
.compare-side ul li .k {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--mute);
}
.compare-side ul li .v {
  font-family: var(--serif); font-size: 19px;
  color: var(--ink);
}
.compare-side.old .v { color: var(--mute); }
.compare-side.new .v em { color: var(--brass-hi); font-style: italic; }

/* In compare phase, the protagonist panel sits behind one of the columns */

/* Phase: Final — closing shot */
.cinema-final-overlay {
  position: absolute;
  inset: 0;
  z-index: 22;
  opacity: var(--final-op, 0);
  display: grid; place-items: center;
  text-align: center;
  padding: 0 var(--gutter);
  pointer-events: none;
}
.cinema-final-overlay .final-inner { max-width: 1100px; pointer-events: auto; }
.cinema-final-overlay .kx {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 28px;
}
.cinema-final-overlay h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(56px, 9vw, 160px);
  line-height: 0.92;
  letter-spacing: -0.03em;
  color: var(--paper);
}
.cinema-final-overlay h2 em {
  font-style: italic; color: var(--brass-hi);
  display: block;
}
.cinema-final-overlay .rate {
  display: inline-flex; align-items: baseline; justify-content: center; gap: 10px;
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--mute);
  padding: 0;
  border: none;
  background: none;
  margin-bottom: 22px;
}
.cinema-final-overlay .rate .num {
  font-family: var(--serif); font-style: italic; font-size: 22px;
  color: var(--brass-hi);
  letter-spacing: -0.01em; line-height: 1; text-transform: none;
}
.cinema-final-overlay h2 {
  margin-top: 8px;
}
.cinema-final-overlay .cta-row {
  margin-top: 56px;
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
}

/* ============================================================
   CINEMA — MOBILE ADAPTATION
============================================================ */
@media (max-width: 760px) {
  /* Title: stack to one centered column */
  .cinema-title-overlay {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
    padding: 0 24px;
  }
  .cinema-title-overlay .ttl-left { text-align: center; transform: none; }
  .cinema-title-overlay .ttl-right { text-align: center; max-width: 100%; transform: none; }
  .cinema-title-overlay h1 { font-size: clamp(40px, 12vw, 64px); }
  .cinema-title-overlay p { font-size: 14px; }
  .cinema-title-overlay .sub { margin-bottom: 14px; }

  /* Material label: compact, top-left; description below it */
  .cinema-mat-label {
    left: 24px; right: 24px;
    top: 16vh; transform: none;
    max-width: none;
  }
  .cinema-mat-label .name { font-size: clamp(48px, 16vw, 84px); }
  .cinema-mat-label .meta { grid-template-columns: max-content 1fr; gap: 8px 20px; margin-top: 20px; padding-top: 16px; }
  .cinema-mat-desc {
    left: 24px; right: 24px;
    top: auto; bottom: 16vh; transform: none;
    max-width: none; text-align: left;
  }
  .cinema-mat-desc p { font-size: 16px; }

  /* Compare: keep two columns but shrink hard to fit width */
  .cinema-compare-overlay {
    padding: 14vh 16px 12vh;
  }
  .compare-side { padding: 0 12px; }
  .compare-side .ix { font-size: 8.5px; letter-spacing: 0.16em; margin-bottom: 12px; }
  .compare-side h3 { font-size: clamp(20px, 6.5vw, 30px); margin-bottom: 18px; }
  .compare-side ul li {
    grid-template-columns: 1fr;
    gap: 2px;
    padding: 8px 0;
  }
  .compare-side ul li .k { font-size: 8px; letter-spacing: 0.14em; }
  .compare-side ul li .v { font-size: 13px; line-height: 1.2; }

  /* Process steps: stack into a readable column, not absolute corners */
  .cinema-process-overlay .proc-head { top: 10vh; width: 100%; padding: 0 24px; }
  .cinema-process-overlay .proc-head h3 { font-size: clamp(26px, 8vw, 40px); }
  .proc-step {
    width: calc(50% - 28px);
  }
  .proc-step .num { font-size: 32px; }
  .proc-step .ttl { font-size: 17px; }
  .proc-step p { font-size: 11.5px; }
  .proc-step .ln { display: none; }
  .proc-step.p1 { top: 30vh; left: 18px; }
  .proc-step.p2 { top: 30vh; right: 18px; }
  .proc-step.p3 { bottom: 12vh; left: 18px; }
  .proc-step.p4 { bottom: 12vh; right: 18px; }

  /* Final overlay */
  .cinema-final-overlay h2 { font-size: clamp(40px, 13vw, 72px); }
  .cinema-final-overlay .cta-row { flex-direction: column; align-items: center; width: 100%; gap: 12px; }
  .cinema-final-overlay .cta-row .btn { width: 100%; max-width: 320px; justify-content: center; }

  /* Telemetry chrome: trim so it doesn't crowd small screens */
  .cinema-overlay { padding: 84px 16px 28px; }
  .cinema-overlay .ov-bot .tel:last-child { display: none; }
  .scene-pill { padding: 6px 10px; font-size: 9px; }
}

/* ============================================================
   LIGHT WIPE — inter-phase cinematic transition
============================================================ */
.cinema-light-wipe {
  position: absolute;
  inset: 0;
  z-index: 12;
  pointer-events: none;
  display: grid;
  place-items: center;
  opacity: var(--wipe-op, 0);
}
.cinema-light-wipe::before {
  content: "";
  width: 2px;
  height: 110vh;
  background: linear-gradient(to bottom,
    transparent 0%,
    rgba(232, 189, 138, 0.9) 40%,
    rgba(255, 248, 230, 1) 50%,
    rgba(232, 189, 138, 0.9) 60%,
    transparent 100%);
  box-shadow:
    0 0 30px rgba(232, 189, 138, 0.8),
    0 0 80px rgba(232, 189, 138, 0.5);
  transform: translateX(calc((var(--wipe-x, 0) - 0.5) * 130vw)) rotate(3deg);
}

/* ============================================================
   FINAL SCENE — panoramic kitchen silhouette
============================================================ */
.cinema-final-scene {
  position: absolute;
  inset: 0;
  z-index: 8;
  opacity: var(--final-op, 0);
  display: flex;
  align-items: flex-end;
  pointer-events: none;
  overflow: hidden;
}
.final-room {
  position: relative;
  width: 100%;
  height: 65vh;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 0 6vw;
  transform: translateY(calc((1 - var(--final-op, 0)) * 60px));
}
.final-room .cab {
  flex: 1;
  position: relative;
  box-shadow:
    0 -20px 40px -10px rgba(0,0,0,0.6),
    inset 0 0 0 1px rgba(255,255,255,0.04);
  opacity: clamp(0, calc((var(--final-t, 0) - var(--cab-delay, 0)) * 4), 1);
  transform: translateY(calc((1 - clamp(0, (var(--final-t, 0) - var(--cab-delay, 0)) * 4, 1)) * 90px));
}
.final-room .cab .handle {
  position: absolute;
  left: 50%; top: 50%;
  width: 32px; height: 3px;
  background: var(--brass-hi);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 8px rgba(232,189,138,0.6);
}
.final-room .cab.c1 { height: 38vh; background:
  repeating-linear-gradient(178deg, rgba(40,20,8,0.5) 0 2px, transparent 2px 7px),
  linear-gradient(180deg, #6e4423, #4a2c17); }
.final-room .cab.c2 { height: 46vh; background:
  repeating-linear-gradient(178deg, rgba(40,20,8,0.5) 0 2px, transparent 2px 7px),
  linear-gradient(180deg, #6e4423, #4a2c17); }
.final-room .cab.c3 { height: 46vh; background:
  linear-gradient(180deg, #efe3c8 0%, #e2d2b0 100%); }
.final-room .cab.c3 .handle { background: var(--espresso); box-shadow: none; }
.final-room .cab.c4 { height: 46vh; background:
  linear-gradient(180deg, #efe3c8 0%, #e2d2b0 100%); }
.final-room .cab.c4 .handle { background: var(--espresso); box-shadow: none; }
.final-room .cab.c5 { height: 38vh; background:
  repeating-linear-gradient(178deg, rgba(40,20,8,0.5) 0 2px, transparent 2px 7px),
  linear-gradient(180deg, #6e4423, #4a2c17); }
.final-room .counter {
  position: absolute;
  left: 6vw; right: 6vw;
  top: calc(46vh - 28px);
  height: 28px;
  background: linear-gradient(180deg, #efe3c8, #d6c39a);
  box-shadow: 0 12px 30px -8px rgba(0,0,0,0.7);
  z-index: 5;
  opacity: clamp(0, calc((var(--final-t, 0) - var(--cab-delay, 0)) * 4), 1);
  transform: translateY(calc((1 - clamp(0, (var(--final-t, 0) - var(--cab-delay, 0)) * 4, 1)) * 40px));
}
.cinema-final-scene::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 25%, rgba(232,189,138,0.18), transparent 60%),
    linear-gradient(to bottom, rgba(10,7,6,0.88) 0%, transparent 35%, transparent 55%, rgba(10,7,6,0.65) 100%);
  pointer-events: none;
  z-index: 6;
}
.cinema-final-scene::after {
  content: "";
  position: absolute;
  left: 50%; top: 8vh;
  width: 380px; height: 180px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center top, rgba(232,189,138,0.45), transparent 70%);
  filter: blur(24px);
  pointer-events: none;
  z-index: 7;
}

/* Buttons */
.btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 26px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  border: 1px solid var(--line-2);
  transition: transform 0.18s ease, color 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  cursor: pointer;
  will-change: transform;
  color: var(--ink);
}
.btn .arr { width: 22px; height: 1px; background: currentColor; position: relative; }
.btn .arr::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.btn--primary { background: var(--brass-hi); color: var(--bg); border-color: var(--brass-hi); }
.btn--primary:hover { background: var(--paper); border-color: var(--paper); }
.btn--ghost:hover { color: var(--brass-hi); border-color: var(--brass-hi); }

/* Scroll hint at bottom of cinema */
.cinema-scroll-hint {
  position: absolute;
  bottom: 24px;
  right: var(--gutter);
  z-index: 30;
  opacity: var(--hint-op, 1);
  display: flex; flex-direction: row; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--mute);
}
.cinema-scroll-hint .ln {
  width: 36px; height: 1px;
  background: linear-gradient(to right, var(--brass), transparent);
  position: relative; overflow: hidden;
}
.cinema-scroll-hint .ln::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 30%;
  background: var(--brass-hi);
  animation: hint-pulse 2s ease-in-out infinite;
}
@keyframes hint-pulse {
  0% { transform: translateX(-100%); opacity: 0; }
  50% { opacity: 1; }
  100% { transform: translateX(340%); opacity: 0; }
}

/* ============================================================
   SECTION SCAFFOLD (after cinema)
============================================================ */
.section {
  padding: 140px var(--gutter);
  position: relative;
}
.section-head {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 60px;
  margin-bottom: 80px;
  max-width: var(--max); margin-left: auto; margin-right: auto;
  align-items: end;
}
.section-head .num {
  font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--brass-hi);
}
.section-head h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 5vw, 80px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--paper);
}
.section-head h2 em { font-style: italic; color: var(--brass-hi); }
.section-head .blurb {
  max-width: 480px;
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.5;
  color: var(--mute);
}
@media (max-width: 800px) {
  .section-head { grid-template-columns: 1fr; gap: 24px; }
}

/* ============================================================
   OFFER SECTION — Veleprodaja / Ugradnja / Maloprodaja
============================================================ */
.offer-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 24px;
}
.offer {
  position: relative;
  background: var(--bg-1);
  border: 1px solid var(--line);
  padding: 40px 40px 36px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: border-color 0.45s ease, transform 0.55s cubic-bezier(0.22,1,0.36,1), box-shadow 0.55s ease;
}
.offer:hover {
  border-color: var(--brass-hi);
  transform: translateY(-4px);
  box-shadow: 0 30px 60px -24px rgba(0,0,0,0.7);
}
.offer__top {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 26px;
}
.offer__tag {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--brass);
}
.offer__ix {
  font-family: var(--serif); font-style: italic; font-size: 24px; color: var(--cocoa);
}
.offer__title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.02; letter-spacing: -0.015em;
  color: var(--paper);
  margin-bottom: 18px;
}
.offer__title em { font-style: italic; color: var(--brass-hi); }
.offer__desc {
  font-family: var(--sans); font-size: 14.5px; line-height: 1.65; color: var(--mute);
  margin-bottom: 28px;
}
.offer__cta {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--brass-hi);
}
.offer__cta .arr {
  width: 24px; height: 1px; background: currentColor; position: relative;
  transition: width 0.4s cubic-bezier(0.22,1,0.36,1);
}
.offer__cta .arr::after {
  content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px;
  border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg);
}
.offer:hover .offer__cta .arr { width: 38px; }

/* Featured veleprodaja card */
.offer--feature {
  background:
    linear-gradient(160deg, rgba(26,20,16,0.9), rgba(12,8,7,0.6));
  border-color: var(--line-2);
}
.offer--feature .offer__glow {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 85% 0%, rgba(139,90,43,0.28), transparent 55%);
  pointer-events: none;
}
.offer--feature > * { position: relative; z-index: 1; }
.offer--feature .offer__tag { color: var(--brass-hi); }
.offer__btns {
  margin-top: auto;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.offer__btns .btn { flex: 0 0 auto; }
@media (max-width: 480px) {
  .offer__btns { flex-direction: column; }
  .offer__btns .btn { width: 100%; justify-content: center; }
}
.offer__points {
  list-style: none; padding: 0; margin: 0 0 30px;
}
.offer__points li {
  display: grid; grid-template-columns: 130px 1fr; gap: 18px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
  align-items: baseline;
}
.offer__points li .op-k {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--mute);
}
.offer__points li .op-v {
  font-family: var(--serif); font-size: 17px; color: var(--ink);
}
.offer__points li .op-v em { color: var(--brass-hi); font-style: italic; }

.offer-stack {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 24px;
}
.offer--sm { padding: 32px 34px 30px; }

@media (max-width: 900px) {
  .offer-grid { grid-template-columns: 1fr; }
  .offer-stack { grid-template-rows: none; }
}
@media (max-width: 600px) {
  .offer { padding: 32px 26px 28px; }
  .offer__points li { grid-template-columns: 110px 1fr; gap: 12px; }
}

/* ============================================================
   MATERIAL CATALOG
============================================================ */
.catalog-tabs {
  display: flex; gap: 28px;
  max-width: var(--max); margin: 0 auto 48px;
  flex-wrap: wrap;
}
.catalog-tab {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--mute);
  padding: 10px 0;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
  cursor: pointer;
}
.catalog-tab.active { color: var(--brass-hi); border-color: var(--brass-hi); }
.catalog-tab:hover { color: var(--ink); }

.swatches {
  max-width: var(--max); margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.swatch {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  display: block;
  color: inherit;
}
.swatch:hover { transform: translateY(-8px); }
.swatch__inner { position: absolute; inset: 0; z-index: 0; }
.swatch__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  background: linear-gradient(160deg, #1a1410, #0c0807);
  z-index: 1;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1), filter 0.5s ease;
  filter: brightness(0.97);
}
.swatch:hover .swatch__img {
  transform: scale(1.06);
  filter: brightness(1.05);
}
.swatch__label {
  position: absolute; left: 14px; right: 14px; bottom: 14px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--paper);
  display: flex; justify-content: space-between;
  z-index: 2;
  text-shadow: 0 1px 3px rgba(0,0,0,0.7);
}
.swatch::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55), transparent 40%);
  z-index: 1;
}

@media (max-width: 1100px) { .swatches { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 700px) { .swatches { grid-template-columns: repeat(2, 1fr); } }

.preview-bubble {
  position: fixed;
  pointer-events: none;
  z-index: 200;
  width: 280px; height: 320px;
  border: 1px solid var(--brass);
  background: var(--bg);
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.8);
}
.preview-bubble.show { opacity: 1; transform: scale(1); }
.preview-bubble__inner { position: absolute; inset: 1px; z-index: 0; }
.preview-bubble__img {
  position: absolute; inset: 1px;
  width: calc(100% - 2px); height: calc(100% - 2px);
  object-fit: cover;
  z-index: 1;
}
.preview-bubble__meta {
  position: absolute; left: 14px; bottom: 14px; right: 14px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--paper);
  display: flex; justify-content: space-between;
  z-index: 2;
}

/* ============================================================
   STANDARDI & FILOZOFIJA section
============================================================ */

/* Manifesto block */
.manifesto {
  max-width: var(--max);
  margin: 0 auto 100px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.manifesto__left {
  display: flex; flex-direction: column; gap: 28px;
}
.manifesto__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 4.5vw, 68px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--paper);
}
.manifesto__title em { font-style: italic; color: var(--brass-hi); }
.manifesto__right {
  display: flex; flex-direction: column; gap: 24px;
  padding-top: 12px;
}
.manifesto__lead {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(20px, 1.7vw, 26px);
  line-height: 1.45;
  color: var(--ink);
}
.manifesto__lead em { color: var(--brass-hi); font-style: italic; }
.manifesto__body {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.7;
  color: var(--mute);
}
.manifesto__body em { color: var(--brass-hi); font-style: italic; font-family: var(--serif); }
@media (max-width: 900px) {
  .manifesto { grid-template-columns: 1fr; gap: 36px; }
}

/* Standards grid */
.standards {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.std {
  background: var(--bg);
  padding: 44px 40px;
  display: flex; flex-direction: column; gap: 18px;
  position: relative;
}
.std__head {
  display: flex; align-items: center; gap: 14px;
}
.std__num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 28px;
  color: var(--brass-hi);
  line-height: 1;
}
.std__cat {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--mute);
}
.std__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.05;
  color: var(--paper);
  letter-spacing: -0.01em;
}
.std__title em { font-style: italic; color: var(--brass-hi); }
.std__body {
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.65;
  color: var(--mute);
}
.std__body em { color: var(--brass-hi); font-style: italic; font-family: var(--serif); }
.std__note {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.std__note em { color: var(--brass-hi); }
.std__note--mute { color: var(--mute); font-style: normal; font-family: var(--sans); font-size: 13px; }

/* Certifications list */
.std__list {
  list-style: none; padding: 0; margin: 0;
}
.std__list li {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 18px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  align-items: baseline;
}
.std__list li .k {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--brass-hi);
}
.std__list li .v {
  font-family: var(--serif);
  font-size: 16px;
  color: var(--ink);
  font-style: italic;
}

/* Tech metrics */
.std__metrics {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 8px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.std__metrics .m-k {
  display: block;
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 6px;
}
.std__metrics .m-v {
  display: block;
  font-family: var(--serif);
  font-size: 17px;
  color: var(--paper);
  line-height: 1.2;
}
.std__metrics .m-v em { color: var(--brass-hi); font-style: italic; }

/* Eco bar */
.std__ecobar {
  display: flex; flex-direction: column; gap: 10px;
  margin-top: 8px; padding-top: 20px;
  border-top: 1px solid var(--line);
}
.bar {
  position: relative;
  padding: 14px 16px;
  display: grid; grid-template-columns: 1fr auto; gap: 12px;
  align-items: baseline;
  overflow: hidden;
}
.bar-old { background: rgba(232, 212, 168, 0.04); }
.bar-new { background: rgba(232, 189, 138, 0.08); }
.bar-label {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--mute);
  position: relative; z-index: 1;
}
.bar-val {
  font-family: var(--serif); font-style: italic;
  font-size: 22px; line-height: 1;
  color: var(--ink);
  position: relative; z-index: 1;
}
.bar-val em { color: var(--brass-hi); font-style: italic; }
.bar-fill {
  position: absolute; left: 0; top: 0; bottom: 0;
  background: linear-gradient(to right, rgba(139, 90, 43, 0.4), rgba(139, 90, 43, 0.08));
  z-index: 0;
}
.bar-new .bar-fill {
  background: linear-gradient(to right, rgba(232, 189, 138, 0.55), rgba(232, 189, 138, 0.2));
}

/* Tags list */
.std__tags {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.std__tags li {
  font-family: var(--sans);
  font-size: 13px;
  padding: 7px 14px;
  border: 1px solid var(--line-2);
  color: var(--ink);
  transition: border-color 0.3s, color 0.3s, background 0.3s;
}
.std__tags li:hover {
  border-color: var(--brass-hi);
  color: var(--brass-hi);
  background: rgba(232, 189, 138, 0.05);
}

@media (max-width: 800px) {
  .standards { grid-template-columns: 1fr; }
  .std { padding: 40px 28px; }
  .std__metrics { grid-template-columns: 1fr 1fr; }
}

/* Pull quote */
.pullquote {
  max-width: 1000px;
  margin: 110px auto 0;
  padding: 60px 40px;
  text-align: center;
  position: relative;
}
.pullquote::before, .pullquote::after {
  content: "";
  position: absolute;
  left: 50%; transform: translateX(-50%);
  height: 1px;
  width: 80px;
  background: var(--brass-hi);
}
.pullquote::before { top: 0; }
.pullquote::after { bottom: 0; }
.pullquote p {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(24px, 2.6vw, 36px);
  line-height: 1.4;
  color: var(--paper);
  letter-spacing: -0.005em;
  margin-bottom: 28px;
}
.pullquote p em {
  color: var(--brass-hi);
}
.pullquote cite {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--mute);
  font-style: normal;
}

/* ============================================================
   PORTFOLIO before/after
============================================================ */
.portfolio { max-width: var(--max); margin: 0 auto; }
.portfolio-grid {
  display: grid; grid-template-columns: 1.6fr 1fr; gap: 32px;
}
@media (max-width: 900px) { .portfolio-grid { grid-template-columns: 1fr; } }

.portfolio-main {
  position: relative; aspect-ratio: 4 / 3; overflow: hidden;
  background: var(--bg-1); user-select: none;
}
.ba-before, .ba-after {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  user-select: none; -webkit-user-drag: none;
}
.ba-after { clip-path: inset(0 0 0 var(--ba-split, 50%)); }
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: var(--ba-split, 50%);
  width: 2px; background: var(--brass-hi); z-index: 5; pointer-events: none;
}
.ba-handle::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 60px; height: 60px;
  border: 1.5px solid var(--brass-hi);
  border-radius: 50%;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(6px);
  transform: translate(-50%, -50%);
}
.ba-handle::before {
  content: "⟷"; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: 18px; color: var(--brass-hi);
  z-index: 1;
}
.ba-label {
  position: absolute; top: 20px;
  padding: 7px 16px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  color: var(--paper);
  border: 1px solid var(--line-2);
  z-index: 4;
}
.ba-label.bef { left: 20px; }
.ba-label.aft { right: 20px; color: var(--brass-hi); border-color: var(--brass-hi); }

.portfolio-meta {
  display: flex; flex-direction: column; gap: 30px;
  padding: 20px;
}
.portfolio-meta .pix {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em; color: var(--brass);
}
.portfolio-meta h3 {
  font-family: var(--serif); font-weight: 400; font-size: 36px; line-height: 1.05;
  color: var(--paper); letter-spacing: -0.01em;
}
.portfolio-meta h3 em { font-style: italic; color: var(--brass-hi); }
.portfolio-meta dl {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding-top: 24px; border-top: 1px solid var(--line);
}
.portfolio-meta dl dt {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--mute); margin-bottom: 6px;
}
.portfolio-meta dl dd {
  font-family: var(--serif); font-size: 18px; color: var(--ink);
}

.portfolio-thumbs {
  margin-top: 24px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
}
.thumb {
  aspect-ratio: 4 / 3; cursor: pointer;
  position: relative; overflow: hidden;
  opacity: 0.55;
  transition: opacity 0.3s, box-shadow 0.3s;
}
.thumb:hover, .thumb.active { opacity: 1; }
.thumb.active { box-shadow: inset 0 0 0 1px var(--brass-hi); }

/* Portfolio + section mobile fit */
@media (max-width: 760px) {
  .section { padding: 90px var(--gutter); overflow-x: hidden; }
  .section-head { margin-bottom: 48px; }
  .portfolio-grid { gap: 24px; }
  .portfolio-meta { padding: 0; }
  .portfolio-meta dl { grid-template-columns: 1fr 1fr; gap: 16px; }
  .portfolio-main { aspect-ratio: 3 / 2; }
}

.scene { position: absolute; inset: 0; overflow: hidden; }
.scene-old-1 {
  background:
    linear-gradient(0deg, transparent 30%, rgba(0,0,0,0.4) 100%),
    linear-gradient(180deg, #5a5048 0%, #3a342c 50%, #2a2520 100%);
}
.scene-old-1::before {
  content: ""; position: absolute; inset: 0;
  background:
    repeating-linear-gradient(178deg, rgba(70,55,40,0.4) 0 1px, transparent 1px 9px),
    linear-gradient(to right,
      transparent 0%, transparent 8%, rgba(90,65,40,0.5) 8%, rgba(90,65,40,0.5) 24%,
      transparent 24%, transparent 26%, rgba(90,65,40,0.5) 26%, rgba(90,65,40,0.5) 42%,
      transparent 42%, transparent 44%, rgba(90,65,40,0.5) 44%, rgba(90,65,40,0.5) 60%,
      transparent 60%, transparent 62%, rgba(90,65,40,0.5) 62%, rgba(90,65,40,0.5) 78%,
      transparent 78%);
  top: 40%; height: 50%;
}
.scene-old-1::after {
  content: ""; position: absolute; left: 0; right: 0; top: 36%; height: 32px;
  background: linear-gradient(180deg, #8a7a68, #5a4d3e);
}
.scene-new-1 {
  background:
    linear-gradient(0deg, transparent 50%, rgba(0,0,0,0.3) 100%),
    linear-gradient(180deg, #2a1f17 0%, #1a1410 100%);
}
.scene-new-1::before {
  content: ""; position: absolute; inset: 0;
  background:
    repeating-linear-gradient(178deg, rgba(20,10,5,0.5) 0 2px, transparent 2px 7px),
    linear-gradient(to right,
      transparent 0%, transparent 8%, #6e4423 8%, #6e4423 24%,
      transparent 24%, transparent 26%, #6e4423 26%, #6e4423 42%,
      transparent 42%, transparent 44%, #6e4423 44%, #6e4423 60%,
      transparent 60%, transparent 62%, #6e4423 62%, #6e4423 78%,
      transparent 78%);
  top: 40%; height: 50%;
}
.scene-new-1::after {
  content: ""; position: absolute; left: 0; right: 0; top: 36%; height: 32px;
  background: linear-gradient(180deg, #efe3c8, #d6c39a);
}
.scene-old-2 {
  background:
    linear-gradient(0deg, transparent 30%, rgba(0,0,0,0.4) 100%),
    linear-gradient(180deg, #847565 0%, #4a4035 100%);
}
.scene-old-2::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to right,
      transparent 5%, #c2b09a 5%, #c2b09a 30%,
      transparent 30%, transparent 35%, #c2b09a 35%, #c2b09a 60%,
      transparent 60%, transparent 65%, #c2b09a 65%, #c2b09a 90%, transparent 90%);
  top: 30%; height: 60%;
}
.scene-new-2 {
  background:
    radial-gradient(ellipse at 30% 30%, rgba(230,215,180,0.9), transparent 60%),
    linear-gradient(180deg, #1a1410 0%, #0c0807 100%);
}
.scene-new-2::before {
  content: ""; position: absolute; left: 10%; right: 10%; top: 20%; bottom: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(230,215,180,0.9), transparent 50%),
    linear-gradient(135deg, #efe3c8 0%, #e2d2b0 100%);
}
.scene-new-2::after {
  content: ""; position: absolute; left: 10%; right: 10%; top: 60%; height: 12px;
  background: rgba(0,0,0,0.4); filter: blur(6px);
}
.scene-new-3 { background: linear-gradient(180deg, #1a1410 0%, #0c0807 100%); }
.scene-new-3::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 60%;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(200,195,185,0.5), transparent 60%),
    linear-gradient(180deg, #7a7065 0%, #5e544a 100%);
}
.scene-old-3 { background: linear-gradient(180deg, #5a5048 0%, #3a342c 100%); }
.scene-old-3::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 60%;
  background:
    repeating-linear-gradient(0deg, rgba(0,0,0,0.3) 0 4px, transparent 4px 8px),
    linear-gradient(180deg, #b8a890, #8a7a68);
}
.scene-old-4 { background: linear-gradient(180deg, #5a4d3e 0%, #2a2520 100%); }
.scene-old-4::before {
  content: ""; position: absolute; inset: 0;
  background:
    repeating-linear-gradient(178deg, rgba(70,55,40,0.6) 0 2px, transparent 2px 10px),
    linear-gradient(180deg, #7a6850, #4a3e30);
  top: 50%;
}
.scene-new-4 { background: linear-gradient(180deg, #1a1410 0%, #0c0807 100%); }
.scene-new-4::before {
  content: ""; position: absolute; left: 0; right: 0; top: 50%; bottom: 0;
  background:
    repeating-linear-gradient(90deg,
      rgba(255,220,170,0.25) 0 1px, transparent 1px 2px,
      rgba(0,0,0,0.15) 2px 3px, transparent 3px 5px),
    linear-gradient(180deg, #d4a875 0%, #a47844 100%);
}

/* ============================================================
   FAQ — two-column, animated open/close
============================================================ */
.faq { max-width: var(--max); margin: 0 auto; }
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 60px;
  row-gap: 0;
  align-items: start;
}
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; column-gap: 0; } }
.faq-item {
  border-top: 1px solid var(--line);
  padding: 0;
}
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item .faq-q {
  display: grid;
  grid-template-columns: 1fr 28px;
  gap: 16px;
  align-items: baseline;
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  padding: 22px 0;
  font-family: var(--serif);
  font-size: clamp(17px, 1.5vw, 21px);
  color: var(--paper);
  font-weight: 400;
  line-height: 1.3;
  transition: color 0.35s ease;
}
.faq-item .faq-q:hover { color: var(--brass-hi); }
.faq-item .q-plus {
  font-family: var(--serif);
  font-size: 26px;
  color: var(--brass-hi);
  text-align: right;
  line-height: 1;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.faq-item.open .q-plus { transform: rotate(45deg); }
.faq-item .faq-a-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.faq-item.open .faq-a-wrap { grid-template-rows: 1fr; }
.faq-item .faq-a {
  overflow: hidden;
  min-height: 0;
  font-family: var(--sans);
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--mute);
  padding: 0;
  transition: padding 0.55s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.5s ease 0.05s;
  opacity: 0.6;
}
.faq-item.open .faq-a { padding: 0 0 24px 0; opacity: 1; }
.faq-item .faq-a em { color: var(--brass-hi); font-style: italic; }

/* ============================================================
   CONTACT — single viewport split
============================================================ */
.contact-frame {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
}
@media (max-width: 900px) { .contact-frame { grid-template-columns: 1fr; min-height: auto; } }

.contact-left {
  position: relative;
  overflow: hidden;
  border-right: 1px solid var(--line);
}
.contact-map {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(139,90,43,0.15) 0%, transparent 60%),
    linear-gradient(135deg, #14100d 0%, #0a0706 100%);
}
.contact-map svg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}
.contact-left-content {
  position: relative;
  z-index: 2;
  padding: 100px var(--gutter) 56px;
  height: 100%;
  display: flex; flex-direction: column; justify-content: space-between;
  gap: 40px;
}
.contact-left-content .head .ix {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--brass);
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 28px;
}
.contact-left-content .head .ix .ln { width: 40px; height: 1px; background: var(--brass); }
.contact-left-content .head h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(40px, 4.8vw, 76px);
  line-height: 0.95; letter-spacing: -0.02em;
  color: var(--paper);
}
.contact-left-content .head h2 em { font-style: italic; color: var(--brass-hi); }

.address-card {
  background: rgba(20, 16, 13, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line-2);
  padding: 28px 32px;
  max-width: 420px;
}
.address-card .pin-row {
  display: flex; align-items: center; gap: 16px; margin-bottom: 22px;
}
.address-card .pin-row .pin {
  width: 36px; height: 36px;
  border: 1px solid var(--brass-hi);
  display: grid; place-items: center;
  position: relative;
}
.address-card .pin-row .pin::before {
  content: ""; width: 8px; height: 8px; background: var(--brass-hi); border-radius: 50%;
}
.address-card .pin-row .pin::after {
  content: ""; position: absolute; inset: -6px;
  border: 1px solid var(--brass-hi); border-radius: 50%;
  opacity: 0.3;
  animation: pin-pulse 2.4s ease-in-out infinite;
}
@keyframes pin-pulse {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.6); opacity: 0; }
}
.address-card .pin-row .pin-label {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--brass-hi);
}
.address-card .addr-info {
  display: grid; grid-template-columns: 100px 1fr; gap: 12px 24px;
}
.address-card .addr-info dt {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--mute); padding-top: 4px;
}
.address-card .addr-info dd {
  font-family: var(--serif); font-size: 19px; color: var(--ink); line-height: 1.4;
}
.address-card .addr-info dd a { transition: color 0.3s; }
.address-card .addr-info dd a:hover { color: var(--brass-hi); }
.address-card .addr-info dd .addr-ig {
  display: inline-flex; align-items: center; gap: 9px;
  color: var(--ink);
}
.address-card .addr-info dd .addr-ig svg {
  width: 17px; height: 17px;
  transition: transform 0.5s cubic-bezier(0.22,1,0.36,1);
}
.address-card .addr-info dd .addr-ig:hover { color: var(--brass-hi); }
.address-card .addr-info dd .addr-ig:hover svg { transform: rotate(-6deg) scale(1.08); }

.contact-right {
  padding: 80px var(--gutter) 60px;
  display: flex; flex-direction: column; justify-content: center;
  gap: 28px;
}
.contact-right .head .ix {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--brass);
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 22px;
}
.contact-right .head .ix .ln { width: 40px; height: 1px; background: var(--brass); }
.contact-right .head h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(36px, 4vw, 60px);
  line-height: 1; letter-spacing: -0.02em;
  color: var(--paper);
}
.contact-right .head h2 em { font-style: italic; color: var(--brass-hi); }
.contact-right .head p {
  margin-top: 18px;
  font-family: var(--serif); font-style: italic;
  font-size: 18px; line-height: 1.45; color: var(--mute);
  max-width: 460px;
}

.contact-form { display: flex; flex-direction: column; gap: 24px; max-width: 540px; }
.field {
  display: flex; flex-direction: column; gap: 8px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
  transition: border-color 0.3s;
}
.field:focus-within { border-color: var(--brass-hi); }
.field label {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--mute);
}
.field input, .field textarea {
  background: none; border: none; outline: none; color: var(--ink);
  font-family: var(--serif); font-size: 20px; padding: 4px 0;
}
.field input::placeholder, .field textarea::placeholder { color: var(--faint); font-style: italic; }
.field textarea { resize: vertical; min-height: 50px; }

.consent {
  display: flex; gap: 12px; align-items: flex-start;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; color: var(--mute);
  line-height: 1.5;
}
.consent input[type=checkbox] { accent-color: var(--brass); margin-top: 4px; }

.contact-right .form-foot {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  margin-top: 4px;
}
.contact-right .form-foot .resp {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--mute);
}
.contact-right .form-foot .resp em { color: var(--brass-hi); font-style: italic; font-family: var(--serif); letter-spacing: 0; }

/* ============================================================
   FOOTER
============================================================ */
.footer {
  padding: 56px var(--gutter) 44px;
  border-top: 1px solid var(--line);
  max-width: var(--max);
  margin: 0 auto;
}
.footer-main {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 1fr;
  gap: 48px;
  align-items: stretch;
}

/* ---------- Brand column (logo + IG + copyright) ---------- */
.footer-brand-col {
  display: flex; flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  min-height: 100%;
}
.footer-brand { font-family: "Montserrat", system-ui, sans-serif; font-size: 26px; font-weight: 600; letter-spacing: 0.005em; color: var(--paper); }
.footer-brand .sub {
  display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--mute); font-style: normal; margin-top: 8px;
}
.footer-socials {
  display: flex; gap: 14px; align-items: center;
}
.footer-socials .social {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 14px 9px 11px;
  border: 1px solid var(--line-2);
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.18em; text-transform: lowercase;
  color: var(--mute);
  transition:
    color 0.4s ease,
    border-color 0.4s ease,
    background 0.4s ease,
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.footer-socials .social svg {
  width: 16px; height: 16px;
  transition: stroke 0.4s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.footer-socials .social:hover {
  color: var(--bg);
  background: var(--brass-hi);
  border-color: var(--brass-hi);
  transform: translateY(-2px);
}
.footer-socials .social:hover svg { transform: rotate(-6deg) scale(1.08); }
.footer-copy {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em;
  color: var(--mute); line-height: 1.7;
}

/* ---------- Quick links column ---------- */
.footer-cols {
  display: flex; flex-direction: column; gap: 10px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--mute);
}
.footer-cols .footer-cols-label {
  font-size: 10.5px; letter-spacing: 0.28em; color: var(--brass);
  margin-bottom: 6px;
}
.footer-cols a { transition: color 0.3s, padding-left 0.4s ease; }
.footer-cols a:hover { color: var(--brass-hi); padding-left: 6px; }

/* ---------- Partner column ---------- */
.footer-partner-col {
  display: flex; flex-direction: column; gap: 14px;
  align-items: stretch;
}
.partner-label {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--brass);
}
.partner-card {
  position: relative;
  padding: 22px 26px;
  border: 1px solid var(--line-2);
  background:
    linear-gradient(135deg, rgba(20, 16, 13, 0.7), rgba(10, 7, 6, 0.4)),
    radial-gradient(ellipse at 100% 0%, rgba(139, 90, 43, 0.25), transparent 60%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex; flex-direction: column; gap: 10px;
  text-align: right;
  transition:
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.55s ease,
    box-shadow 0.55s ease;
  overflow: hidden;
}
.partner-card:hover {
  transform: translateY(-4px);
  border-color: var(--brass-hi);
  box-shadow:
    0 24px 50px -16px rgba(0, 0, 0, 0.85),
    0 0 0 1px rgba(232, 189, 138, 0.4),
    inset 0 0 30px rgba(232, 189, 138, 0.08);
}
/* Sweep glow line at top */
.partner-glow {
  position: absolute; top: 0; left: 0;
  height: 1px; width: 100%;
  background: linear-gradient(to right,
    transparent 0%,
    rgba(232, 189, 138, 0) 30%,
    rgba(232, 189, 138, 0.95) 50%,
    rgba(232, 189, 138, 0) 70%,
    transparent 100%);
  background-size: 250% 100%;
  background-position: -125% 0;
  animation: partner-sweep 4.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  pointer-events: none;
}
@keyframes partner-sweep {
  0%   { background-position: -125% 0; opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { background-position: 225% 0;  opacity: 0; }
}
.partner-card__name {
  font-family: "Bodoni Moda", "Didot", serif;
  font-weight: 500;
  font-size: 26px;
  line-height: 1;
  color: var(--paper);
  letter-spacing: -0.005em;
}
.partner-card__name .amp {
  font-family: "Cormorant Garamond", serif;
  font-style: italic; font-weight: 400;
  color: var(--brass-hi);
  font-size: 1.18em;
  vertical-align: -0.04em;
  margin: 0 1px;
  display: inline-block;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.partner-card:hover .partner-card__name .amp {
  transform: rotate(-6deg) scale(1.08);
}
.partner-card__services {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--mute);
}
.partner-card__url {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--brass-hi);
  display: inline-flex; align-items: center; gap: 10px; justify-content: flex-end;
}
.partner-card__url .partner-arr {
  width: 18px; height: 1px; background: currentColor; position: relative;
  transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.partner-card__url .partner-arr::after {
  content: ""; position: absolute; right: 0; top: -3px;
  width: 7px; height: 7px;
  border-top: 1px solid currentColor; border-right: 1px solid currentColor;
  transform: rotate(45deg);
}
.partner-card:hover .partner-card__url .partner-arr { width: 30px; }

@media (max-width: 900px) {
  .footer-main { grid-template-columns: 1fr; gap: 36px; }
  .partner-card { text-align: left; }
  .partner-card__url { justify-content: flex-start; }
}

/* Reveal animations on non-cinema sections */
[data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 1s ease, transform 1s cubic-bezier(0.22, 1, 0.36, 1); }
[data-reveal].in { opacity: 1; transform: translateY(0); }
[data-reveal-delay="100"] { transition-delay: 0.1s; }
[data-reveal-delay="200"] { transition-delay: 0.2s; }
[data-reveal-delay="300"] { transition-delay: 0.3s; }
