/* =====================================================
   Велинград · IA Art · 2026-VEL-001
   One dark body — scroll-driven cinematic presentation
   ===================================================== */

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

:root {
  --bg:      #050810;
  --text:    #eef0f5;
  --soft:    #c4c8d4;
  --muted:   #727a8e;
  --accent:  #4fb3c4;
  --gold:    #c9a455;
  --line:    rgba(255,255,255,0.08);

  --font-d: 'Cinzel', Georgia, serif;
  --font-b: 'Inter', system-ui, sans-serif;

  --px: clamp(24px, 6vw, 80px);
  --py: clamp(80px, 12vh, 160px);
  --maxw: 1100px;

  --reveal-delay: 0ms;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
  color: var(--text);
}

body {
  font-family: var(--font-b);
  font-size: clamp(15px, 1.1vw, 18px);
  line-height: 1.65;
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a   { color: inherit; text-decoration: none; }

/* ── Atmospheric canvas ─────────────────────────────── */
#atmo-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ── Progress bar ───────────────────────────────────── */
.progress {
  position: fixed; top: 0; left: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  width: 0;
  z-index: 200;
  transition: width 80ms linear;
}

/* ── Topbar ─────────────────────────────────────────── */
.topbar {
  position: fixed; top: 0; left: 0; right: 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--px);
  height: 60px;
  z-index: 100;
  transition: background 300ms, backdrop-filter 300ms;
}
.topbar.is-stuck {
  background: rgba(5,8,16,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { height: 32px; width: auto; filter: brightness(1.1); }
.brand-text { font-family: var(--font-d); font-size: 14px; letter-spacing: 0.12em; opacity: .85; }
.topbar-meta { display: flex; align-items: center; gap: 20px; }
.topbar-tag { font-size: 11px; letter-spacing: .14em; color: var(--muted); }
.topbar-cta {
  font-size: 12px; letter-spacing: .12em; padding: 7px 18px;
  border: 1px solid rgba(255,255,255,.2); border-radius: 40px;
  transition: border-color 200ms, background 200ms;
}
.topbar-cta:hover { border-color: var(--accent); background: rgba(79,179,196,.08); }

/* ── Dot nav ────────────────────────────────────────── */
.dots {
  position: fixed; right: 22px; top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 10px; z-index: 100;
}
.dots a { display: flex; align-items: center; gap: 8px; }
.dots a::before {
  content: attr(data-label);
  font-size: 10px; letter-spacing: .1em; color: var(--muted);
  opacity: 0; transform: translateX(8px);
  transition: opacity 200ms, transform 200ms;
  white-space: nowrap;
}
.dots a:hover::before, .dots a.is-active::before { opacity: 1; transform: translateX(0); }
.dots span {
  display: block; width: 6px; height: 6px;
  border-radius: 50%; background: rgba(255,255,255,.25);
  transition: background 250ms, transform 250ms;
}
.dots a.is-active span { background: var(--accent); transform: scale(1.5); }

/* ── Reveal animations ──────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease var(--reveal-delay),
              transform 700ms ease var(--reveal-delay);
}
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ══════════════════════════════════════════════════════
   SCENE — base pattern used by all sections
   ══════════════════════════════════════════════════════ */
.scene {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

/* Parallax background */
.scene-bg {
  position: absolute;
  inset: -8%;
  background-size: cover;
  background-position: center;
  z-index: 0;
  will-change: transform;
}

/* Ken Burns variants */
@keyframes kb-zoom-in  { from { transform: scale(1.00); } to { transform: scale(1.10); } }
@keyframes kb-zoom-out { from { transform: scale(1.10); } to { transform: scale(1.00); } }
@keyframes kb-pan-r    { from { transform: scale(1.07) translateX(-3%); } to { transform: scale(1.07) translateX(3%); } }
@keyframes kb-pan-l    { from { transform: scale(1.07) translateX(3%); }  to { transform: scale(1.07) translateX(-3%); } }

.kb-zoom-in  { animation: kb-zoom-in  28s infinite alternate ease-in-out; }
.kb-zoom-out { animation: kb-zoom-out 28s infinite alternate ease-in-out; }
.kb-pan-right { animation: kb-pan-r  32s infinite alternate ease-in-out; }
.kb-pan-left  { animation: kb-pan-l  32s infinite alternate ease-in-out; }

/* Veils */
.scene-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.veil-full        { background: rgba(5,8,16,.72); }
.veil-bottom-heavy {
  background: linear-gradient(to bottom,
    rgba(5,8,16,.45) 0%,
    rgba(5,8,16,.35) 40%,
    rgba(5,8,16,.80) 80%,
    rgba(5,8,16,.97) 100%);
}
.veil-left-heavy {
  background: linear-gradient(to right,
    rgba(5,8,16,.88) 0%,
    rgba(5,8,16,.65) 45%,
    rgba(5,8,16,.20) 100%);
}
.veil-right-heavy {
  background: linear-gradient(to left,
    rgba(5,8,16,.88) 0%,
    rgba(5,8,16,.65) 45%,
    rgba(5,8,16,.20) 100%);
}

/* Section body */
.scene-body {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: var(--py) var(--px);
}
.scene-body.center    { text-align: center; }
.scene-body.align-left  { text-align: left; max-width: 700px; padding-left: var(--px); }
.scene-body.align-right { text-align: right; margin-left: auto; max-width: 700px; padding-right: var(--px); }

/* ── Typography ─────────────────────────────────────── */
.kicker {
  font-size: clamp(10px, 1vw, 12px);
  letter-spacing: .20em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  display: block;
}

.display {
  font-family: var(--font-d);
  font-size: clamp(3rem, 8vw, 8rem);
  font-weight: 400;
  line-height: 1.0;
  letter-spacing: -.01em;
  margin-bottom: 1.5rem;
}
.display em { font-style: italic; color: var(--gold); }

.h-display {
  font-family: var(--font-d);
  font-size: clamp(2.4rem, 5.5vw, 5.5rem);
  font-weight: 400;
  line-height: 1.05;
  margin-bottom: 1.5rem;
}
.display-huge { font-size: clamp(3rem, 7vw, 7rem); }

.lead {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: var(--soft);
  max-width: 60ch;
  margin: 0 auto 2rem;
}
.scene-body.align-left .lead,
.scene-body.align-right .lead { margin: 0 0 2rem; }

.prose { color: var(--soft); max-width: 60ch; margin-bottom: 1.2rem; }
.prose-em {
  font-family: var(--font-d);
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  color: var(--gold);
  margin-top: 2rem;
}

/* ── Hero ───────────────────────────────────────────── */
.scene-hero { min-height: 100vh; }

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin-top: 2.5rem; }
.scene-body.align-left .hero-actions { justify-content: flex-start; }

.btn-primary, .btn-ghost {
  display: inline-block; padding: 14px 32px;
  font-size: 13px; letter-spacing: .12em; border-radius: 4px;
  transition: all 200ms;
}
.btn-primary {
  background: var(--accent); color: #050810; font-weight: 600;
}
.btn-primary:hover { background: #6ecbdb; }
.btn-ghost {
  border: 1px solid rgba(255,255,255,.28); color: var(--text);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* Scroll cue */
.scroll-cue {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 4px; z-index: 2;
}
.scroll-cue span {
  display: block; width: 1px; height: 14px;
  background: rgba(255,255,255,.35);
  animation: scrollPulse 1.8s infinite;
}
.scroll-cue span:nth-child(2) { animation-delay: .25s; }
.scroll-cue span:nth-child(3) { animation-delay: .50s; }
@keyframes scrollPulse {
  0%, 100% { opacity: .2; } 50% { opacity: .9; }
}

/* ── Nov Cirk ───────────────────────────────────────── */
.scene-novcirk { min-height: 100vh; }

/* ── Nov Cirk video window ──────────────────────────── */
.scene-screening {
  min-height: 105vh;
  background: #050810;
}
.screening-body {
  max-width: 1040px;
}
.screening-intro {
  max-width: 680px;
  margin: -0.6rem auto 2rem;
  color: var(--soft);
}
.video-window {
  width: min(920px, 100%);
  margin: 0 auto;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 12px;
  background: rgba(5,8,16,.72);
  box-shadow: 0 32px 90px rgba(0,0,0,.5), 0 0 70px rgba(79,179,196,.12);
  overflow: hidden;
  backdrop-filter: blur(16px);
}
.video-window-top {
  height: 34px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.055);
}
.video-window-top span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,.34);
}
.video-window-top span:nth-child(1) { background: rgba(201,164,85,.88); }
.video-window-top span:nth-child(2) { background: rgba(79,179,196,.82); }
.video-window-top span:nth-child(3) { background: rgba(255,255,255,.32); }
.novcirk-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #02050a;
}

/* ── Water / Legend ─────────────────────────────────── */
.water-pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  text-align: left;
}
.water-pillar { border-left: 1px solid var(--line); padding-left: 1.2rem; }
.pillar-icon { display: block; color: var(--accent); font-size: 1.2rem; margin-bottom: .5rem; }
.water-pillar p { color: var(--soft); font-size: .95rem; }

/* ── Acts ───────────────────────────────────────────── */
.acts-wrapper { position: relative; z-index: 1; }

.act {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.act-body {
  position: relative;
  z-index: 2;
  padding: var(--py) var(--px);
  max-width: 580px;
}
.act-body.center    { margin: 0 auto; text-align: center; }
.act-body.align-right { margin-left: auto; text-align: right; }

.act-num {
  display: block;
  font-family: var(--font-d);
  font-size: clamp(4rem, 10vw, 10rem);
  font-weight: 300;
  line-height: 1;
  color: rgba(255,255,255,.05);
  margin-bottom: -.5em;
  letter-spacing: -.02em;
}
.act-title {
  font-family: var(--font-d);
  font-size: clamp(1.8rem, 3.5vw, 3.2rem);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 1rem;
}
.act-desc { color: var(--soft); margin-bottom: .8rem; max-width: 44ch; font-size: 1rem; }
.act-body.align-right .act-desc { margin-left: auto; }
.act-body.center .act-desc { margin: 0 auto .8rem; }
.act-origin { font-size: .8rem; letter-spacing: .15em; color: var(--accent); }

/* ── Scroll-scrub film ───────────────────────────────── */
.scroll-film {
  position: relative;
  height: 280vh;
  background: #02050a;
}
.scroll-film-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  isolation: isolate;
}
.scroll-film-sticky::before,
.scroll-film-sticky::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.scroll-film-sticky::before {
  z-index: 1;
  background:
    radial-gradient(ellipse at 20% 18%, rgba(255,255,255,.30), transparent 22%),
    radial-gradient(ellipse at 62% 24%, rgba(214,232,242,.22), transparent 28%),
    radial-gradient(ellipse at 84% 16%, rgba(255,255,255,.18), transparent 21%);
  filter: blur(18px);
  opacity: .88;
  transform: translateX(var(--film-cloud-shift, 0%));
}
.scroll-film-sticky::after {
  z-index: 1;
  background:
    radial-gradient(ellipse at 22% 100%, rgba(26,151,190,.30), transparent 34%),
    radial-gradient(ellipse at 74% 100%, rgba(229,92,30,.42), transparent 31%),
    linear-gradient(0deg, rgba(231,83,24,.28), transparent 38%);
  mix-blend-mode: screen;
  opacity: .9;
}
.scroll-film-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: saturate(1.08) contrast(1.05);
}
.collision-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  mix-blend-mode: screen;
}
.scroll-film-veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(circle at 70% 68%, rgba(218,91,39,.14), transparent 30%),
    radial-gradient(circle at 34% 34%, rgba(79,179,196,.14), transparent 36%),
    linear-gradient(90deg, rgba(5,8,16,.86), rgba(5,8,16,.22) 52%, rgba(5,8,16,.54));
}
.scroll-film-copy {
  position: relative;
  z-index: 4;
  width: min(700px, 100%);
  padding: var(--py) var(--px);
}
.scroll-film-copy h2 {
  font-family: var(--font-d);
  font-size: clamp(2.5rem, 6vw, 6rem);
  line-height: 1.02;
  font-weight: 400;
  margin-bottom: 1.2rem;
}
.scroll-film-copy p {
  color: var(--soft);
  max-width: 52ch;
}
.film-progress {
  margin-top: 2rem;
  width: min(360px, 100%);
  height: 2px;
  background: rgba(255,255,255,.15);
}
.film-progress span {
  display: block;
  width: var(--film-progress, 0%);
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--gold));
}

/* ── Date ───────────────────────────────────────────── */
.date-mega {
  display: flex; align-items: flex-start; justify-content: center;
  gap: clamp(12px, 2vw, 24px);
  margin: 1.5rem 0;
}
.date-day {
  font-family: var(--font-d);
  font-size: clamp(7rem, 18vw, 18rem);
  font-weight: 300;
  line-height: 1;
  background: linear-gradient(135deg, #fff 40%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -.03em;
}
.date-side { display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: .4em; gap: .2em; }
.date-month {
  font-family: var(--font-d);
  font-size: clamp(1.8rem, 4vw, 4rem);
  font-weight: 400; color: var(--gold);
  letter-spacing: .06em;
}
.date-year {
  font-family: var(--font-d);
  font-size: clamp(1.4rem, 2.5vw, 2.5rem);
  color: var(--muted); letter-spacing: .1em;
}

/* ── Production ─────────────────────────────────────── */
.prod-blocks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.prod-block {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.4rem 1.6rem;
  backdrop-filter: blur(6px);
}
.prod-block h4 { font-size: .9rem; letter-spacing: .1em; margin-bottom: .5rem; color: var(--accent); }
.prod-block p  { font-size: .88rem; color: var(--soft); line-height: 1.55; }
@media (max-width: 600px) { .prod-blocks { grid-template-columns: 1fr; } }

/* ── Timeline ───────────────────────────────────────── */
.scene-timeline { min-height: 80vh; }
.tl {
  list-style: none;
  max-width: 680px;
  margin: 3rem auto 0;
  display: flex; flex-direction: column; gap: 0;
}
.tl li {
  display: grid;
  grid-template-columns: 160px 1px 1fr;
  align-items: center;
  gap: 0 20px;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--line);
}
.tl-when { font-size: .8rem; letter-spacing: .1em; color: var(--muted); text-align: right; }
.tl-dot  { width: 7px; height: 7px; background: var(--accent); border-radius: 50%; justify-self: center; }
.tl-what { font-size: .95rem; color: var(--soft); }

/* ── Price ──────────────────────────────────────────── */
.scene-price { min-height: auto; }
.price-body { max-width: 1180px; }
.price-intro {
  max-width: 760px;
  margin: -1rem auto 3rem;
  color: var(--soft);
}

.finance-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  text-align: left;
}

.finance-card {
  background: rgba(255,255,255,.045);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.5rem;
  backdrop-filter: blur(10px);
}
.finance-card.primary {
  border-color: rgba(79,179,196,.28);
  background: rgba(79,179,196,.075);
}
.finance-card.total-card {
  background: linear-gradient(180deg, rgba(201,164,85,.13), rgba(255,255,255,.04));
  border-color: rgba(201,164,85,.34);
}

.price-group {
  border-top: 1px solid var(--line);
  padding: 2rem 0 0;
  margin-bottom: 0;
}
.price-group-label {
  font-size: .75rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.price-line {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: baseline;
  gap: 0 .5rem;
  padding: .45rem 0;
  font-size: clamp(.85rem, 1.2vw, 1rem);
  color: var(--soft);
  border-bottom: 1px solid rgba(255,255,255,.04);
}
.price-dots {
  flex: 1;
  min-width: 40px;
  height: 1px;
  background: repeating-linear-gradient(
    90deg,
    rgba(255,255,255,.12) 0, rgba(255,255,255,.12) 3px,
    transparent 3px, transparent 7px
  );
  align-self: center;
  margin: 0 8px;
}
.price-line > span:last-child { font-variant-numeric: tabular-nums; color: var(--text); min-width: 70px; text-align: right; }
.finance-card .price-line > span:last-child {
  min-width: 92px;
}

.price-subtotal {
  display: flex;
  justify-content: space-between;
  padding: .8rem 0;
  font-family: var(--font-d);
  font-size: .95rem;
  letter-spacing: .06em;
  color: var(--gold);
  margin-bottom: 1.5rem;
  border-top: 1px solid rgba(201,164,85,.3);
}

.price-total {
  border-top: 1px solid rgba(255,255,255,.2);
  padding: 2.5rem 0 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
}
.price-total-label {
  font-size: .75rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted);
}
.price-total-num {
  font-family: var(--font-d);
  font-size: clamp(3.5rem, 9vw, 8rem);
  font-weight: 300;
  letter-spacing: -.02em;
  background: linear-gradient(135deg, #fff 30%, var(--gold) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.price-note {
  font-size: .8rem; color: var(--muted); text-align: center; line-height: 1.7;
  padding-bottom: var(--py);
}
.price-note.compact {
  text-align: left;
  padding-bottom: 0;
  margin-top: 1.2rem;
}
.total-row,
.grand-total {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .65rem 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
  color: var(--soft);
}
.total-row strong {
  color: var(--text);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.grand-total {
  margin-top: .6rem;
  border-top: 1px solid rgba(201,164,85,.36);
  border-bottom: 0;
  align-items: baseline;
}
.grand-total span {
  color: var(--gold);
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .78rem;
}
.grand-total strong {
  font-family: var(--font-d);
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  font-weight: 300;
  color: var(--gold);
  white-space: nowrap;
}
.doc-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .8rem;
  margin-top: 1.4rem;
}
.doc-links a {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: .9rem 1rem;
  color: var(--soft);
  background: rgba(255,255,255,.035);
  transition: border-color 200ms, color 200ms, background 200ms;
}
.doc-links a:hover {
  border-color: var(--accent);
  color: var(--text);
  background: rgba(79,179,196,.06);
}

/* ── CTA ────────────────────────────────────────────── */
.scene-cta {
  min-height: auto;
}
.final-body {
  max-width: 1180px;
}
.final-budget {
  margin: 2.2rem auto 5rem;
  text-align: left;
  border: 1px solid rgba(201,164,85,.28);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(201,164,85,.12), rgba(255,255,255,.035)),
    rgba(5,8,16,.76);
  backdrop-filter: blur(16px);
  overflow: hidden;
  box-shadow: 0 28px 90px rgba(0,0,0,.38);
}
.final-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem;
  border-bottom: 1px solid rgba(201,164,85,.22);
}
.final-total span {
  color: var(--gold);
  font-size: .8rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.final-total strong {
  font-family: var(--font-d);
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 300;
  line-height: 1;
  color: var(--gold);
  white-space: nowrap;
}
.final-budget-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.final-budget-grid div {
  padding: 1.4rem;
  border-right: 1px solid rgba(255,255,255,.08);
}
.final-budget-grid div:last-child {
  border-right: 0;
}
.final-budget-grid span {
  display: block;
  min-height: 3.1rem;
  color: var(--soft);
  font-size: .82rem;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.final-budget-grid strong {
  display: block;
  margin: .8rem 0 .6rem;
  font-family: var(--font-d);
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-weight: 400;
  color: var(--text);
}
.final-budget-grid p {
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.55;
}
.final-options {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  padding: 1.3rem 1.4rem .2rem;
}
.final-options span {
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 999px;
  padding: .55rem .8rem;
  color: var(--soft);
  background: rgba(255,255,255,.035);
  font-size: .82rem;
}
.final-docs {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 1.2rem 1.4rem 1.4rem;
  margin-top: 0;
}
.contact-kicker {
  margin-top: 1rem;
}
.contact-title {
  margin-bottom: 1rem;
}
.cta-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
  margin: 2.5rem auto 2rem;
  max-width: 800px;
}
.cta-card {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.6rem 1.8rem;
  display: flex; flex-direction: column; gap: .3rem;
  transition: border-color 220ms, background 220ms;
  backdrop-filter: blur(8px);
}
a.cta-card:hover { border-color: var(--accent); background: rgba(79,179,196,.06); }
.cta-label { font-size: .72rem; letter-spacing: .16em; color: var(--muted); }
.cta-value { font-family: var(--font-d); font-size: 1rem; color: var(--text); }
.cta-sub   { font-size: .78rem; color: var(--muted); }
.cta-fineprint { font-size: .8rem; color: var(--muted); max-width: 54ch; margin: 0 auto; }

/* ── Footer ─────────────────────────────────────────── */
.footer {
  position: relative; z-index: 2;
  border-top: 1px solid var(--line);
  padding: 1.5rem var(--px);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem;
  font-size: .75rem; color: var(--muted); letter-spacing: .08em;
}

/* ── Video background ──────────────────────────────── */
.scene-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

.video-sound-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.2);
  color: var(--text); cursor: pointer;
  padding: 11px 24px; border-radius: 40px;
  font-size: 12px; font-family: var(--font-b);
  letter-spacing: .12em; margin-top: 1.5rem;
  transition: all 220ms;
}
.video-sound-btn:hover,
.video-sound-btn.is-on { border-color: var(--accent); background: rgba(79,179,196,.1); }

/* ── Ritual canvas (timeline section) ──────────────── */
#ritual-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.ritual-section { overflow: hidden; }

/* ── Scrollbar ──────────────────────────────────────── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,.15); border-radius: 4px; }

/* ── Selection ──────────────────────────────────────── */
::selection { background: rgba(79,179,196,.35); }

/* ── z-index stack ──────────────────────────────────── */
.progress, .dots, .topbar { position: fixed; z-index: 100; }
main { position: relative; z-index: 1; }

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 768px) {
  .dots { display: none; }
  .tl li { grid-template-columns: 1fr; gap: .3rem; }
  .tl-dot { display: none; }
  .tl-when { text-align: left; }
  .act-num { font-size: clamp(3rem, 16vw, 6rem); }
  .scroll-film { height: 300vh; }
  .scroll-film-copy { padding: 6rem var(--px) 3rem; }
  .finance-grid,
  .doc-links,
  .final-budget-grid,
  .final-docs {
    grid-template-columns: 1fr;
  }
  .final-total {
    flex-direction: column;
    align-items: flex-start;
  }
  .final-budget-grid div {
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .final-budget-grid div:last-child {
    border-bottom: 0;
  }
  .price-line {
    grid-template-columns: 1fr auto;
    gap: .3rem .8rem;
  }
  .price-dots { display: none; }
  .finance-card .price-line > span:last-child { min-width: 0; }
  .grand-total { flex-direction: column; }
}
