/* ============================================================
   JEDNIM KLIKOM — Samira & Melvis
   Warm cinematic dark · cream #FFF2DC · gold #FFDCA8
   ============================================================ */
:root {
  --bg: #0e0906;
  --bg-2: #14100b;
  --bg-3: #0a0a12;
  --cream: #fff2dc;
  --gold: #ffdca8;
  --gold-deep: #c9a15f;
  --muted: rgba(255, 242, 220, 0.62);
  --line: rgba(255, 220, 168, 0.16);
  --serif: "Cormorant Garamond", Georgia, serif;
  --script: "Great Vibes", cursive;
  --sans: "Manrope", -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--bg);
  color: var(--cream);
  font-family: var(--sans);
  font-weight: 300;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.script { font-family: var(--script); font-weight: 400; }
.gold { color: var(--gold); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 2.2rem;
  background: linear-gradient(rgba(10, 7, 4, 0.75), transparent);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.nav-brand { text-decoration: none; }
.nav-brand .script { color: var(--gold); font-size: 1.9rem; line-height: 1; }
.nav-links { display: flex; gap: 2rem; }
.nav-links a {
  color: var(--muted); text-decoration: none; font-size: 0.78rem;
  letter-spacing: 0.22em; text-transform: uppercase; transition: color 0.3s;
}
.nav-links a:hover { color: var(--gold); }
.nav-right { display: flex; align-items: center; gap: 1.1rem; }
.lang-switch { display: flex; align-items: center; gap: 0.35rem; }
.lang-switch button {
  background: none; border: none; cursor: pointer; padding: 0.2rem 0.15rem;
  font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.14em;
  color: var(--muted); transition: color 0.3s;
}
.lang-switch button:hover { color: var(--cream); }
.lang-switch button.on { color: var(--gold); }
.lang-sep { color: var(--line); }
.nav-cta {
  color: var(--gold); text-decoration: none; font-size: 0.8rem;
  letter-spacing: 0.08em; border: 1px solid var(--line);
  padding: 0.5rem 1.1rem; border-radius: 999px; transition: all 0.3s;
}
.nav-cta:hover { background: var(--gold); color: #241708; border-color: var(--gold); }

/* ---------- Cinematic scrub sections ---------- */
.cinematic { position: relative; height: 320vh; }
.cinematic .sticky {
  position: sticky; top: 0; height: 100vh; overflow: hidden;
}
.cinematic canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.film-grade {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(14, 9, 6, 0.35) 0%, transparent 30%, transparent 62%, rgba(14, 9, 6, 0.55) 100%);
}
.vignette {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 52%, rgba(8, 5, 3, 0.62) 100%);
}

.overlay {
  position: absolute; inset: 0; display: grid; place-items: center;
  text-align: center; pointer-events: none; padding: 0 6vw;
}
.overlay .reveal-line { grid-area: 1 / 1; opacity: 0; will-change: opacity, transform; }
.hero-line h1 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.4rem, 6.2vw, 5.2rem);
  line-height: 1.08; letter-spacing: 0.01em;
  text-shadow: 0 2px 30px rgba(8, 5, 3, 0.8), 0 0 90px rgba(8, 5, 3, 0.55);
}
.hero-line h1.script {
  font-size: clamp(3rem, 7.5vw, 6.4rem); line-height: 1.15; font-weight: 400;
}
.hero-line .amp { font-size: 0.75em; color: var(--gold); }
.hero-line .kicker { margin-bottom: 1.2rem; }
.hero-line .sub {
  margin-top: 1.2rem; font-family: var(--serif); font-style: italic;
  font-size: clamp(1.05rem, 2vw, 1.5rem); color: var(--muted);
  text-shadow: 0 2px 18px rgba(8, 5, 3, 0.9);
}

.kicker {
  font-size: 0.72rem; letter-spacing: 0.42em; text-transform: uppercase;
  color: var(--gold); font-weight: 500;
}

.progress {
  position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: rgba(255, 242, 220, 0.12);
}
.progress-fill { height: 100%; width: 0; background: var(--gold); }
.scroll-hint {
  position: absolute; bottom: 2.2rem; left: 50%; transform: translateX(-50%);
  font-size: 0.7rem; letter-spacing: 0.4em; color: var(--muted);
  transition: opacity 0.5s;
}
.scroll-hint span { display: inline-block; animation: bob 1.6s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(5px); } }

/* ---------- Content blocks ---------- */
.block { position: relative; padding: 9rem 0; background: var(--bg); }
.block.dark { background: var(--bg-2); }
.block .wrap { max-width: 1160px; margin: 0 auto; padding: 0 2.2rem; }

.block h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.3rem, 5vw, 4rem); line-height: 1.1;
  margin: 1.1rem 0 3rem;
}
.block h2 em.script { font-style: normal; font-size: 1.15em; }

.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.lead {
  font-family: var(--serif); font-size: clamp(1.15rem, 1.7vw, 1.45rem);
  line-height: 1.65; color: var(--muted); font-weight: 400;
}
.lead em { color: var(--cream); }
.lead.solo { max-width: 46rem; margin-bottom: 4rem; }

/* stats */
.stats {
  margin-top: 5rem; display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 2rem; border-top: 1px solid var(--line); padding-top: 3rem;
}
.stat-num {
  display: block; font-family: var(--serif);
  font-size: clamp(2.6rem, 4.5vw, 4rem); color: var(--gold); line-height: 1;
}
.stat-label {
  display: block; margin-top: 0.7rem; font-size: 0.8rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
}

/* ---------- Characters ---------- */
.chars { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.char { position: relative; }
.char-img {
  overflow: hidden; border-radius: 4px; aspect-ratio: 3 / 4;
  border: 1px solid var(--line);
}
.char-img img {
  width: 100%; height: 100%; object-fit: cover; object-position: top;
  filter: saturate(0.96);
  transition: transform 1.2s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.char:hover .char-img img { transform: scale(1.04); }
.char figcaption { padding: 1.6rem 0.2rem 0; }
.char h3 {
  font-family: var(--serif); font-size: 1.9rem; font-weight: 600;
  margin-bottom: 0.6rem;
}
.char-meta {
  font-family: var(--sans); font-size: 0.75rem; font-weight: 400;
  letter-spacing: 0.2em; color: var(--gold); vertical-align: middle;
}
.char p { color: var(--muted); line-height: 1.7; font-size: 0.98rem; max-width: 34rem; }
.char-sign { text-align: center; font-size: 2rem; margin-top: 4rem; opacity: 0.85; }

/* supporting cast */
.side-chars {
  margin-top: 4.5rem; display: grid; grid-template-columns: 1fr 1fr;
  gap: 2rem; border-top: 1px solid var(--line); padding-top: 3.4rem;
}
.side-char { display: flex; gap: 1.4rem; align-items: center; }
.side-img {
  flex: 0 0 110px; width: 110px; height: 110px; border-radius: 50%;
  overflow: hidden; border: 1px solid var(--line);
}
.side-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.side-img img.pos-face { object-position: center 26%; }
.side-char h4 { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; margin-bottom: 0.4rem; }
.side-char p { color: var(--muted); font-size: 0.88rem; line-height: 1.6; }

/* ---------- Episodes ---------- */
.eps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; }
.ep-img {
  overflow: hidden; border-radius: 4px; aspect-ratio: 9 / 16;
  border: 1px solid var(--line);
}
.ep-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.ep:hover .ep-img img { transform: scale(1.05); }
.ep h3 { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; margin: 1.1rem 0 0.35rem; }
.ep p { color: var(--muted); font-size: 0.88rem; line-height: 1.55; }

.quotes {
  margin-top: 5.5rem; display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2rem; border-top: 1px solid var(--line); padding-top: 3.4rem;
}
.quotes blockquote p {
  font-family: var(--serif); font-style: italic;
  font-size: 1.25rem; line-height: 1.4; color: var(--muted);
}
.quotes blockquote footer {
  margin-top: 0.8rem; font-family: var(--script);
  font-size: 1.7rem; color: var(--gold);
}

/* ---------- Brand / IP pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }
.pillar {
  border: 1px solid var(--line); border-radius: 4px; padding: 2.2rem;
  background: rgba(255, 220, 168, 0.025); transition: border-color 0.4s, background 0.4s;
}
.pillar:hover { border-color: rgba(255, 220, 168, 0.4); background: rgba(255, 220, 168, 0.05); }
.pillar-num {
  font-family: var(--serif); font-size: 0.95rem; color: var(--gold-deep);
  letter-spacing: 0.2em;
}
.pillar h3 { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; margin: 0.9rem 0 0.7rem; }
.pillar p { color: var(--muted); line-height: 1.7; font-size: 0.95rem; }

.cta-band { margin-top: 5.5rem; text-align: center; }
.cta-script { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 2.2rem; }
.cta-actions { display: flex; gap: 1.2rem; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block; text-decoration: none;
  background: var(--gold); color: #241708;
  font-weight: 600; font-size: 0.92rem; letter-spacing: 0.04em;
  padding: 1rem 2.2rem; border-radius: 999px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(255, 220, 168, 0.25); }
.btn.ghost { background: transparent; color: var(--gold); border: 1px solid var(--line); }
.btn.ghost:hover { border-color: var(--gold); box-shadow: none; }

/* ---------- Footer ---------- */
.footer {
  padding: 6rem 2rem 3.5rem; text-align: center;
  background: var(--bg); border-top: 1px solid var(--line);
}
.footer-sign { font-size: clamp(2.4rem, 5vw, 3.6rem); }
.footer-meta {
  margin-top: 1.8rem; font-size: 0.72rem; letter-spacing: 0.26em;
  text-transform: uppercase; color: rgba(255, 242, 220, 0.4);
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.2, 0.6, 0.2, 1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav { padding: 1rem 1.2rem; }
  .nav-links { display: none; }
  .cols, .chars, .pillars { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .eps { grid-template-columns: repeat(2, 1fr); }
  .quotes { grid-template-columns: 1fr; }
  .block { padding: 6rem 0; }
  .cinematic { height: 280vh; }
}

@media (max-width: 640px) {
  .nav { padding: 0.8rem 0.9rem; }
  .nav-brand .script { font-size: 1.45rem; }
  .nav-right { gap: 0.6rem; }
  .lang-switch button { font-size: 0.72rem; padding: 0.2rem 0.05rem; }
  .nav-cta { font-size: 0.68rem; padding: 0.42rem 0.75rem; letter-spacing: 0.04em; }
  .side-chars { grid-template-columns: 1fr; gap: 1.6rem; }
  .side-img { flex-basis: 88px; width: 88px; height: 88px; }
  .block .wrap { padding: 0 1.4rem; }
  .stats { gap: 1.4rem; }
  .cta-actions { flex-direction: column; align-items: center; }
  .btn { width: 100%; max-width: 20rem; text-align: center; }
  .hero-line h1 { font-size: clamp(2rem, 8.5vw, 3rem); }
  .hero-line h1.script { font-size: clamp(2.5rem, 10vw, 3.8rem); }
}
