/* ============================================================
   ZevsArtDesigns — modern cinematic AI studio
   ============================================================ */

@font-face {
  font-family: "Blanka";
  src: url("fonts/Blanka-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
/* church Old-Slavonic Cyrillic font (used for headings in Cyrillic mode) */
@font-face {
  font-family: "MonahOCS";
  src: url("fonts/MonahOCS.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --ivory: #f7f1e6;
  --cloud: #fffaf2;
  --marble: #efe4d3;
  --charcoal: #1e1a16;
  --ink: #14110e;            /* warm onyx for dark sections */
  --warm-grey: #6d6258;
  --gold: #c2a14e;           /* antique gold */
  --gold-lite: #dcc079;      /* light gold (accents on dark) */
  --gold-deep: #9c7324;      /* deep gold (accent text on light) */
  --bronze: #8b6a3a;         /* bronze */

  --grad: linear-gradient(105deg, var(--bronze) 0%, var(--gold) 55%, var(--gold-lite) 100%);
  --grad-soft: linear-gradient(105deg, var(--gold), var(--gold-lite));

  --font-brand: "Blanka", "Space Grotesk", sans-serif;
  /* Playfair Display = Cyrillic-capable fallback (Cinzel/Fraunces are Latin-only),
     so Cyrillic headings/accents stay elegant instead of dropping to Georgia */
  --font-heading: "Cinzel", "Playfair Display", Georgia, serif;
  --font-display: "Space Grotesk", "Segoe UI", sans-serif;
  --font-accent: "Fraunces", "Playfair Display", Georgia, serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --maxw: 1340px;
}

/* CYRILLIC mode: headings use the church font Monah (set by the script toggle) */
html[lang="sr-Cyrl"] {
  --font-heading: "MonahOCS", "Playfair Display", Georgia, serif;
}

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

html { scroll-behavior: smooth; }

/* Lenis smooth-scroll (overrides native smooth while active) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--charcoal);
  background: var(--ivory);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

::selection { background: var(--gold); color: var(--cloud); }

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

/* gradient accent text — used in smaller sub-lines */
.accent {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 500;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* inside a Blanka headline the accent word is solid antique gold */
.hero__title .accent,
.chapter__title .accent,
.editorial__title .accent,
.contact__title .accent {
  font-family: inherit;
  font-style: normal;
  font-weight: inherit;
  background: none;
  -webkit-text-fill-color: var(--gold-deep);
  color: var(--gold-deep);
}
/* on dark (onyx) sections the accent shifts to lighter gold for contrast */
.editorial--dark .editorial__title .accent,
.contact__title .accent {
  -webkit-text-fill-color: var(--gold-lite);
  color: var(--gold-lite);
}

/* ============================================================
   SCROLL PROGRESS BAR
   ============================================================ */
.progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 100%;
  z-index: 200;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  will-change: transform;
}

/* ============================================================
   NAVIGATION (slim)
   ============================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 0.85rem clamp(1.1rem, 3.5vw, 2.75rem);
  transition: background 0.5s var(--ease), backdrop-filter 0.5s var(--ease),
    padding 0.4s var(--ease), box-shadow 0.5s var(--ease);
}
/* soft top scrim so the nav stays legible over the bright hero (pre-scroll) */
.nav::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 150px;
  background: linear-gradient(180deg, rgba(244, 238, 226, 0.96) 0%, rgba(244, 238, 226, 0.6) 45%, rgba(244, 238, 226, 0) 100%);
  pointer-events: none;
  z-index: -1;
  transition: opacity 0.45s var(--ease);
}
.nav.is-scrolled::before { opacity: 0; }
.nav.is-scrolled {
  background: rgba(245, 239, 227, 0);
  backdrop-filter: blur(7px) saturate(1.2);
  -webkit-backdrop-filter: blur(7px) saturate(1.2);
  /* glass pane: gold hairline edge + top highlight + soft drop */
  border-bottom: 1px solid rgba(194, 161, 78, 0.22);
  box-shadow: 0 10px 34px rgba(20, 17, 14, 0.08),
              inset 0 1px 0 rgba(255, 255, 255, 0.4);
  padding-top: 0.55rem;
  padding-bottom: 0.55rem;
}

.nav__logo img {
  width: clamp(46px, 4vw, 60px);
  height: auto;
  transition: transform 0.4s var(--ease);
}
.nav__logo:hover img { transform: translateY(-1px) scale(1.05); }

.nav__menu { display: flex; gap: clamp(1.4rem, 2.6vw, 2.4rem); margin-left: auto; }

.nav__link {
  position: relative;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink);
  padding: 0.4rem 0;
  text-shadow: 0 1px 6px rgba(247, 241, 230, 0.7);
  transition: color 0.3s var(--ease), text-shadow 0.3s var(--ease);
}
.nav.is-scrolled .nav__link { text-shadow: 0 1px 8px rgba(247, 241, 230, 0.85), 0 0 2px rgba(247, 241, 230, 0.7); }
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 2px; width: 0;
  background: var(--grad-soft);
  border-radius: 2px;
  transition: width 0.4s var(--ease);
}
.nav__link:hover { color: var(--bronze); }
.nav__link:hover::after,
.nav__link.is-active::after { width: 100%; }

/* ============================================================
   BUTTONS (modern, gradient, visible)
   ============================================================ */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.82rem 1.6rem;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  color: var(--charcoal);
  background: rgba(255, 250, 242, 0.55);
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.45s var(--ease),
    color 0.4s var(--ease), background 0.45s var(--ease), border-color 0.45s var(--ease);
  white-space: nowrap;
}
.btn > * { position: relative; z-index: 2; }
.btn__arrow {
  width: 16px; height: 16px;
  fill: none; stroke: currentColor; stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
  transition: transform 0.4s var(--ease);
}

/* shine sweep */
.btn::after {
  content: "";
  position: absolute;
  top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.45), transparent);
  transform: skewX(-18deg);
  transition: left 0.6s var(--ease);
  z-index: 1;
}
.btn:hover::after { left: 130%; }

/* primary — bronze → gold gradient fill */
.btn--solid {
  color: #fff;
  background: var(--grad);
  background-size: 160% 160%;
  background-position: 0% 50%;
  text-shadow: 0 1px 10px rgba(19, 16, 19, 0.4);
  box-shadow: 0 12px 30px -14px rgba(194, 161, 78, 0.5);
  transition: transform 0.4s var(--ease), box-shadow 0.45s var(--ease),
    background-position 0.6s var(--ease);
}
.btn--solid:hover {
  transform: translateY(-3px);
  background-position: 100% 50%;
  box-shadow: 0 18px 42px -14px rgba(194, 161, 78, 0.5), 0 0 0 1px rgba(139, 106, 58, 0.4);
}
.btn--solid:hover .btn__arrow { transform: translateX(5px); }

/* ghost — outline that reads on light video */
.btn--ghost {
  background: rgba(255, 250, 242, 0.35);
  border-color: rgba(30, 26, 22, 0.4);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.btn--ghost:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  color: var(--bronze);
  box-shadow: 0 14px 30px -16px rgba(194, 161, 78, 0.5);
}

.btn--lg { padding: 1.05rem 2.2rem; font-size: 0.82rem; }

/* nav CTA — gold-tinted glass with gradient border, high contrast */
.btn--cta {
  background: linear-gradient(rgba(255,250,242,0.85), rgba(255,250,242,0.85)) padding-box,
    var(--grad) border-box;
  border: 1.5px solid transparent;
  color: var(--ink);
  box-shadow: 0 6px 18px -10px rgba(176, 138, 69, 0.5);
}
.btn--cta:hover {
  color: var(--cloud);
  background: var(--grad) padding-box, var(--grad) border-box;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -12px rgba(194, 161, 78, 0.55);
}
.btn--cta:hover .btn__arrow { transform: translateX(4px); }

/* script toggle (latinica / ćirilica) */
.lang-toggle {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold-deep);
  background: rgba(194, 161, 78, 0.13);
  border: 1.5px solid rgba(194, 161, 78, 0.6);
  border-radius: 999px;
  padding: 0.5rem 0.95rem;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease),
    background 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
  animation: langGlow 2.8s ease-in-out infinite;
}
/* eye-catching gold pulse that still sits inside the palette */
@keyframes langGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(194, 161, 78, 0); border-color: rgba(194, 161, 78, 0.5); }
  50% { box-shadow: 0 0 16px 1px rgba(194, 161, 78, 0.45); border-color: rgba(194, 161, 78, 0.95); }
}
.lang-toggle:hover {
  color: #fff;
  background: var(--grad);
  border-color: transparent;
  box-shadow: 0 6px 18px rgba(176, 138, 69, 0.45);
  transform: translateY(-1px);
  animation: none;
}
@media (prefers-reduced-motion: reduce) { .lang-toggle { animation: none; } }
.mobile-menu__lang {
  margin-top: 0.5rem;
  font-size: 0.82rem;
  padding: 0.7rem 1.4rem;
}

/* ============================================================
   FULL-SCREEN CINEMATIC SCENE
   ============================================================ */
.scene {
  position: relative;
  height: 100vh;
  height: 100svh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: var(--ivory);
}

.scene__video { position: absolute; inset: 0; z-index: 1; }
.scene__video-el {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  /* richer, more cinematic color so the clips don't read as washed/pale */
  filter: saturate(1.18) contrast(1.06);
  /* feather top + bottom into the page so adjacent videos have NO visible edge */
  -webkit-mask-image: linear-gradient(to bottom,
    transparent 0%, #000 5%, #000 92%, transparent 100%);
  mask-image: linear-gradient(to bottom,
    transparent 0%, #000 5%, #000 92%, transparent 100%);
}

.scene__overlay { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
/* scrim only at the text edge — the subject side of the clip stays vivid */
.scene__overlay--left {
  background: linear-gradient(100deg,
    rgba(255,250,242,0.86) 0%, rgba(255,250,242,0.42) 20%,
    rgba(255,250,242,0.06) 38%, rgba(255,250,242,0) 52%);
}
.scene__overlay--right {
  background: linear-gradient(260deg,
    rgba(255,250,242,0.86) 0%, rgba(255,250,242,0.42) 20%,
    rgba(255,250,242,0.06) 38%, rgba(255,250,242,0) 52%);
}
/* faint top + bottom grounding only — the mask already removes hard edges */
.scene__overlay--vignette {
  background: linear-gradient(180deg,
    rgba(247,241,230,0.16) 0%, rgba(247,241,230,0) 16%,
    rgba(247,241,230,0) 86%, rgba(247,241,230,0.28) 100%);
}

.scene__content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(1.4rem, 6vw, 5rem);
}
.text-left .scene__content { text-align: left; }
.text-right .scene__content {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.text-right .scene__content > * { margin-left: auto; }

/* ---- eyebrow ---- */
.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--bronze);
  margin: 0 0 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}
.eyebrow::before {
  content: "";
  width: 30px; height: 2px;
  border-radius: 2px;
  background: var(--grad-soft);
}

/* ---- hero ---- */
.hero__title {
  font-family: var(--font-brand);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(2.1rem, 8vw, 5.6rem);
  line-height: 1.04;
  letter-spacing: 0.04em;
  margin: 0 0 0.7rem;
  color: var(--charcoal);
  white-space: nowrap;
}
.hero__sub {
  font-size: clamp(1.4rem, 2.6vw, 2.3rem);
  margin: 0 0 1.5rem;
  font-weight: 600;
}
.hero__desc {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  line-height: 1.45;
  max-width: 30ch;
  color: var(--charcoal);
  margin: 0 0 0.8rem;
}
.hero__support {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  max-width: 36ch;
  color: var(--warm-grey);
  margin: 0 0 2.25rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ---- chapter text ---- */
.chapter__title {
  font-family: var(--font-heading);
  font-weight: 600;
  text-transform: uppercase;
  font-size: clamp(2.1rem, 5.4vw, 4.6rem);
  line-height: 1.08;
  letter-spacing: 0.015em;
  max-width: 14ch;
  margin: 0 0 1.4rem;
}
.text-right .chapter__title { margin-left: auto; }
.chapter__text {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: clamp(1.15rem, 2vw, 1.7rem);
  font-weight: 400;
  line-height: 1.45;
  max-width: 28ch;
  color: var(--charcoal);
  margin: 0;
}
.text-right .chapter__text { margin-left: auto; }

/* ---- word-split reveal scaffolding ---- */
.line { display: block; }
.word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: 0.08em; /* room for descenders / italic */
}
.word__inner { display: inline-block; will-change: transform; }

/* ---- scroll cue ---- */
.scroll-cue {
  position: absolute;
  bottom: 2.2rem; left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: grid; place-items: center;
  width: 28px; height: 46px;
}
.scroll-cue__line {
  width: 2px; height: 38px;
  border-radius: 2px;
  background: linear-gradient(to bottom, transparent, var(--gold));
  animation: cue 2.4s var(--ease) infinite;
  transform-origin: top;
}
@keyframes cue {
  0% { transform: scaleY(0); opacity: 0; }
  40% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1) translateY(20px); opacity: 0; }
}

/* ============================================================
   EDITORIAL — CINEMATIC BENTO
   ============================================================ */
.editorial {
  position: relative;
  background: var(--ivory);
  padding: clamp(5rem, 12vh, 9rem) clamp(1.4rem, 6vw, 5rem);
  overflow: hidden;
}
/* drifting gradient-mesh atmosphere instead of a flat background */
.editorial::before {
  content: "";
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(48% 40% at 10% 6%, rgba(194,161,78,0.12), transparent 60%),
    radial-gradient(52% 46% at 94% 26%, rgba(139,106,58,0.12), transparent 60%),
    radial-gradient(46% 52% at 72% 98%, rgba(176,138,69,0.10), transparent 60%);
}
.editorial--dark { background: var(--ink); color: var(--ivory); }
.editorial--dark::before {
  background:
    radial-gradient(50% 45% at 8% 6%, rgba(194,161,78,0.18), transparent 60%),
    radial-gradient(55% 50% at 96% 30%, rgba(139,106,58,0.16), transparent 62%),
    radial-gradient(60% 55% at 60% 102%, rgba(176,138,69,0.16), transparent 60%);
}

.editorial__head {
  position: relative; z-index: 1;
  max-width: var(--maxw);
  margin: 0 auto clamp(2.4rem, 6vw, 3.6rem);
}
.editorial__title {
  font-family: var(--font-heading);
  font-weight: 600;
  text-transform: uppercase;
  font-size: clamp(2.4rem, 5.4vw, 4.4rem);
  line-height: 1.08;
  letter-spacing: 0.015em;
  margin: 0 0 1rem;
}
.editorial--dark .editorial__title { color: var(--cloud); }
.editorial--dark .eyebrow { color: var(--gold-lite); }
.editorial__sub {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: clamp(1.1rem, 1.7vw, 1.45rem);
  color: var(--warm-grey);
  max-width: 46ch;
  margin: 0;
}
.editorial--dark .editorial__sub { color: rgba(247, 241, 230, 0.64); }

/* ---- bento grid: asymmetric wide / narrow rhythm ---- */
.bento {
  position: relative; z-index: 1;
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(232px, auto);
  gap: clamp(0.8rem, 1.4vw, 1.15rem);
}
.bento__tile {
  position: relative;
  overflow: hidden;
  grid-column: span 3;
  border-radius: 22px;
  padding: clamp(1.6rem, 2.4vw, 2.4rem);
  display: flex;
  flex-direction: column;
  background: linear-gradient(158deg, #ffffff 0%, #fbf4e6 100%);
  border: 1px solid rgba(176, 138, 69, 0.26);
  box-shadow: 0 26px 56px -34px rgba(30, 26, 22, 0.55);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
}
.bento__tile:nth-child(4n+1) { grid-column: span 4; }
.bento__tile:nth-child(4n+2) { grid-column: span 2; }
.bento__tile:nth-child(4n+3) { grid-column: span 2; }
.bento__tile:nth-child(4n)   { grid-column: span 4; }

/* featured (wide) first tile gets a warm gold wash */
.bento__tile:first-child { background: linear-gradient(158deg, rgba(194,161,78,0.18) 0%, #fffdf8 62%); }

/* soft gradient glow blob in the corner */
.bento__tile::before {
  content: "";
  position: absolute;
  top: -45%; right: -18%;
  width: 60%; height: 90%;
  background: var(--grad-soft);
  filter: blur(64px);
  opacity: 0.2;
  transition: opacity 0.55s var(--ease), transform 0.6s var(--ease);
}
.bento__tile:hover {
  transform: translateY(-7px);
  border-color: rgba(194, 161, 78, 0.55);
  box-shadow: 0 40px 80px -34px rgba(194, 161, 78, 0.5);
}
.bento__tile:hover::before { opacity: 0.4; transform: scale(1.12); }

.editorial--dark .bento__tile {
  background: linear-gradient(158deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  border-color: rgba(247, 241, 230, 0.14);
  box-shadow: 0 32px 64px -34px rgba(0, 0, 0, 0.85);
}
.editorial--dark .bento__tile:first-child { background: linear-gradient(158deg, rgba(194,161,78,0.20), rgba(255,255,255,0.03)); }
.editorial--dark .bento__tile:hover { border-color: rgba(220, 192, 121, 0.5); }

/* header row: icon + index number with a hairline divider */
.tile__top {
  position: relative; z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.1rem;
  margin-bottom: 1.3rem;
  border-bottom: 1px solid rgba(176, 138, 69, 0.24);
}
.editorial--dark .tile__top { border-bottom-color: rgba(220, 192, 121, 0.18); }

.tile__icon {
  display: grid; place-items: center;
  width: 48px; height: 48px;
  flex: none;
  border-radius: 14px;
  color: var(--gold-deep);
  background: linear-gradient(150deg, rgba(194,161,78,0.18), rgba(194,161,78,0.04));
  border: 1px solid rgba(194, 161, 78, 0.32);
  transition: transform 0.5s var(--ease);
}
.bento__tile:hover .tile__icon { transform: translateY(-3px) rotate(-4deg); }
.tile__icon svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.editorial--dark .tile__icon {
  color: var(--gold-lite);
  background: linear-gradient(150deg, rgba(220,192,121,0.16), rgba(220,192,121,0.03));
  border-color: rgba(220, 192, 121, 0.3);
}

.tile__num {
  font-family: var(--font-brand);
  font-weight: 400;
  font-size: clamp(2.2rem, 3.6vw, 3.2rem);
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  opacity: 0.92;
}

.tile__title {
  position: relative; z-index: 1;
  margin-top: auto;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.35rem, 2.2vw, 1.95rem);
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin-bottom: 0.6rem;
}
.editorial--dark .tile__title { color: var(--cloud); }
.tile__text {
  position: relative; z-index: 1;
  color: var(--warm-grey);
  font-size: 1rem;
  line-height: 1.5;
  max-width: 40ch;
  margin: 0;
}
.editorial--dark .tile__text { color: rgba(247, 241, 230, 0.66); }
.tile__more {
  position: relative; z-index: 1;
  margin-top: 1.2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold-deep);
  transition: gap 0.4s var(--ease);
}
.editorial--dark .tile__more { color: var(--gold-lite); }
.bento__tile:hover .tile__more { gap: 0.9rem; }
.tile__more svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bento__tile:hover .tile__more { opacity: 1; transform: none; }
.editorial--dark .tile__more { color: var(--gold-lite); }

/* ---- marquee strip ---- */
.marquee {
  position: relative;
  overflow: hidden;
  padding: clamp(1.3rem, 3vw, 2.1rem) 0;
  background: var(--ivory);
  border-top: 1px solid rgba(176, 138, 69, 0.22);
  border-bottom: 1px solid rgba(176, 138, 69, 0.22);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee__track {
  display: inline-flex;
  white-space: nowrap;
  will-change: transform;
  animation: marquee 26s linear infinite;
}
.marquee__group {
  display: inline-flex;
  align-items: center;
  gap: clamp(1.6rem, 3vw, 2.6rem);
  padding-right: clamp(1.6rem, 3vw, 2.6rem);
}
.marquee__word {
  font-family: var(--font-brand);
  text-transform: uppercase;
  font-size: clamp(1.4rem, 3.2vw, 2.4rem);
  letter-spacing: 0.05em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(30, 26, 22, 0.30);
}
.marquee__word--fill {
  -webkit-text-stroke: 0;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.marquee__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--grad); flex: none; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 920px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento__tile,
  .bento__tile:nth-child(4n+1),
  .bento__tile:nth-child(4n+2),
  .bento__tile:nth-child(4n+3),
  .bento__tile:nth-child(4n) { grid-column: span 1; }
}
@media (max-width: 600px) {
  .bento { grid-template-columns: 1fr; }
  .bento__tile { min-height: 210px; }
}

/* ============================================================
   MEDIA GALLERY + LIGHTBOX
   ============================================================ */
.gallery {
  position: relative; z-index: 1;
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: clamp(0.8rem, 1.4vw, 1.15rem);
}
.gallery__item {
  position: relative;
  aspect-ratio: 9 / 16;
  border: 0; padding: 0; margin: 0;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  background: var(--ink);
  box-shadow: 0 24px 54px -34px rgba(30, 26, 22, 0.6);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.gallery__item:hover { transform: translateY(-6px); box-shadow: 0 40px 80px -34px rgba(194, 161, 78, 0.45); }
.gallery__item:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.gallery__media {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.gallery__item:hover .gallery__media { transform: scale(1.06); }
.gallery__overlay {
  position: absolute; inset: 0;
  display: flex; align-items: flex-end;
  padding: clamp(1rem, 1.8vw, 1.5rem);
  background: linear-gradient(180deg, rgba(19,16,14,0) 42%, rgba(19,16,14,0.74) 100%);
  z-index: 2;
}
.gallery__label {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
  font-size: clamp(0.95rem, 1.5vw, 1.3rem);
  color: var(--cloud);
}
.gallery__play {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 64px; height: 64px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(20, 17, 14, 0.45);
  border: 1.5px solid rgba(220, 192, 121, 0.85);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  transition: transform 0.5s var(--ease), background 0.5s var(--ease);
  z-index: 2;
}
.gallery__item:hover .gallery__play { transform: translate(-50%, -50%) scale(1.1); background: rgba(194, 161, 78, 0.85); }
.gallery__play svg { width: 24px; height: 24px; fill: var(--cloud); margin-left: 3px; }

/* image placeholders until photos are supplied */
.gallery__item--ph {
  cursor: default;
  background: linear-gradient(158deg, rgba(194,161,78,0.14), rgba(255,255,255,0.03));
  border: 1px dashed rgba(220, 192, 121, 0.45);
  display: grid; place-items: center;
  box-shadow: none;
}
.gallery__item--ph:hover { transform: none; box-shadow: none; }
.gallery__ph { display: flex; flex-direction: column; align-items: center; gap: 0.6rem; color: var(--gold-lite); }
.gallery__ph svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.gallery__ph span { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; }
.editorial--dark .gallery__item--ph { background: linear-gradient(158deg, rgba(194,161,78,0.16), rgba(255,255,255,0.02)); }

/* AI Slike: mixed-orientation photos → square (Instagram-style) cards,
   crop biased slightly toward the top so faces aren't cut. Full image shows
   in the lightbox on click. */
.editorial--dark .gallery { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.editorial--dark .gallery__item { aspect-ratio: 1 / 1; }
.editorial--dark .gallery__media { object-position: 50% 32%; }
@media (max-width: 560px) {
  .editorial--dark .gallery { grid-template-columns: repeat(2, 1fr); }
}

/* lightbox viewer */
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  display: grid; place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(12, 10, 8, 0.88);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  opacity: 0; visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease);
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__stage {
  max-width: min(96vw, 1100px);
  max-height: 86vh;
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.85);
  transform: scale(0.96);
  transition: transform 0.4s var(--ease);
}
.lightbox.is-open .lightbox__stage { transform: scale(1); }
.lightbox__video, .lightbox__img { display: none; width: auto; height: auto; max-width: min(96vw, 1100px); max-height: 86vh; background: #000; }
.lightbox--video .lightbox__video { display: block; }
.lightbox--image .lightbox__img { display: block; }
.lightbox__close {
  position: absolute;
  top: clamp(1rem, 3vw, 2rem); right: clamp(1rem, 3vw, 2rem);
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(247, 241, 230, 0.3);
  background: rgba(20, 17, 14, 0.6); color: var(--ivory);
  font-size: 1.6rem; line-height: 1; cursor: pointer;
  display: grid; place-items: center;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.lightbox__close:hover { background: rgba(194, 161, 78, 0.85); border-color: transparent; }

@media (max-width: 520px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   CONTACT / FOOTER — DRAMATIC FINALE
   ============================================================ */
.contact {
  position: relative;
  background: var(--ink);
  color: var(--ivory);
  padding: clamp(6rem, 16vh, 11rem) clamp(1.4rem, 6vw, 5rem) 0;
  overflow: hidden;
  border-top: 1px solid rgba(247, 241, 230, 0.08);
}
/* slowly drifting gradient mesh */
.contact::before {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(40% 40% at 25% 25%, rgba(194,161,78,0.20), transparent 60%),
    radial-gradient(40% 40% at 80% 30%, rgba(139,106,58,0.18), transparent 60%),
    radial-gradient(45% 45% at 55% 88%, rgba(176,138,69,0.20), transparent 62%);
  filter: blur(8px);
  animation: meshDrift 18s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes meshDrift {
  from { transform: translate3d(-3%, -2%, 0) scale(1); }
  to { transform: translate3d(3%, 2%, 0) scale(1.08); }
}
/* giant ghost wordmark behind the message */
.contact__ghost {
  position: absolute;
  left: 50%; top: 16%;
  transform: translateX(-50%);
  font-family: var(--font-brand);
  text-transform: uppercase;
  font-size: clamp(5rem, 24vw, 21rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(247, 241, 230, 0.06);
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
}
.contact__inner { position: relative; max-width: 960px; margin: 0 auto; text-align: center; z-index: 1; }
.contact .eyebrow { color: var(--gold-lite); justify-content: center; }
.contact__title {
  font-family: var(--font-heading);
  font-weight: 600;
  text-transform: uppercase;
  font-size: clamp(2.1rem, 5vw, 4rem);
  line-height: 1.14;
  letter-spacing: 0.015em;
  margin: 0 0 1.5rem;
  color: var(--cloud);
}
.contact__text {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: clamp(1.1rem, 1.7vw, 1.35rem);
  color: rgba(247, 241, 230, 0.72);
  max-width: 50ch;
  margin: 0 auto 3rem;
}
.contact__socials {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 1rem; margin-bottom: 3rem;
}
.btn--social {
  background: rgba(247, 241, 230, 0.05);
  border: 1px solid rgba(247, 241, 230, 0.16);
  color: var(--ivory);
}
.btn--social svg {
  width: 18px; height: 18px;
  fill: none; stroke: currentColor;
  stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.btn--social:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  color: var(--gold-lite);
  box-shadow: 0 14px 30px -16px rgba(194, 161, 78, 0.5);
}
.contact__cta { margin-bottom: clamp(4rem, 10vh, 7rem); }

.footer {
  position: relative;
  z-index: 1;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 2rem 0;
  border-top: 1px solid rgba(247, 241, 230, 0.12);
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-between;
  gap: 1rem;
}
.footer__copy { font-size: 0.82rem; color: rgba(247, 241, 230, 0.5); letter-spacing: 0.04em; }
.footer__links { display: flex; gap: 1.75rem; }
.footer__links a {
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.16em;
  color: rgba(247, 241, 230, 0.5);
  transition: color 0.3s var(--ease);
}
.footer__links a:hover { color: var(--gold-lite); }

/* ============================================================
   MOBILE MENU
   ============================================================ */
.nav__toggle {
  display: none;
  flex-direction: column; justify-content: center; gap: 6px;
  width: 42px; height: 42px;
  border: none; background: none; cursor: pointer; padding: 0;
}
.nav__toggle span {
  display: block; width: 24px; height: 2px; margin: 0 auto;
  background: var(--charcoal); border-radius: 2px;
  transition: transform 0.4s var(--ease), opacity 0.3s var(--ease);
}
.nav__toggle.is-open span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__toggle.is-open span:last-child { transform: translateY(-4px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 95;
  background: rgba(255, 250, 242, 0.97);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  display: grid; place-items: center;
  opacity: 0; visibility: hidden;
  transition: opacity 0.5s var(--ease), visibility 0.5s var(--ease);
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu__inner { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
.mobile-menu__link {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 2.1rem;
  letter-spacing: -0.02em;
  color: var(--charcoal);
  transition: color 0.3s var(--ease);
}
.mobile-menu__link:hover { color: var(--bronze); }
.mobile-menu__cta { margin-top: 1rem; }

/* ============================================================
   REVEAL HELPERS
   ============================================================ */
[data-reveal], [data-fade] {
  opacity: 0;
  transform: translateY(28px);
  will-change: opacity, transform;
}
/* split titles handle their own reveal via .word__inner */
[data-split].is-split { opacity: 1; transform: none; }
.no-gsap [data-reveal],
.no-gsap [data-fade] { opacity: 1; transform: none; }
/* hero is above the fold — always visible, no reveal gating */
.scene--hero [data-reveal] { opacity: 1; transform: none; }

/* cinematic hero entrance — rise + focus-pull (blur→sharp). Opacity stays 1
   so the hero is NEVER blank even if the animation is paused/throttled. */
@keyframes heroRise {
  from { transform: translateY(26px); filter: blur(7px); }
  to   { transform: none; filter: blur(0); }
}
@media (prefers-reduced-motion: no-preference) {
  .scene--hero .scene__content > [data-reveal] {
    animation: heroRise 1s var(--ease) both;
  }
  .scene--hero .eyebrow      { animation-delay: 0.15s; }
  .scene--hero .hero__title  { animation-delay: 0.28s; }
  .scene--hero .hero__sub    { animation-delay: 0.40s; }
  .scene--hero .hero__desc   { animation-delay: 0.50s; }
  .scene--hero .hero__support{ animation-delay: 0.58s; }
  .scene--hero .hero__actions{ animation-delay: 0.66s; }
  .scene--hero .scroll-cue   { animation: heroRise 1s var(--ease) 0.9s both; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .nav__menu, .nav__cta { display: none; }
  .nav__toggle { display: flex; }
  .scene__overlay--left {
    background: linear-gradient(165deg,
      rgba(255,250,242,0.95) 0%, rgba(255,250,242,0.7) 38%,
      rgba(255,250,242,0.2) 64%, rgba(255,250,242,0) 82%);
  }
  .scene__overlay--right {
    background: linear-gradient(195deg,
      rgba(255,250,242,0.95) 0%, rgba(255,250,242,0.7) 38%,
      rgba(255,250,242,0.2) 64%, rgba(255,250,242,0) 82%);
  }
}

@media (max-width: 720px) {
  /* keep the immersive full-screen video, but FRAME it on the subjects
     (each scene sets --focus) so people aren't cropped out on portrait phones */
  .scene__video-el {
    object-position: var(--focus, 50%) center;
    /* richer color on phones so the clips don't read as washed/pale */
    filter: saturate(1.22) contrast(1.07) brightness(0.99);
  }

  .text-right .scene__content { text-align: left; align-items: flex-start; }
  .text-right .scene__content > *,
  .text-right .chapter__title,
  .text-right .chapter__text { margin-left: 0; margin-right: auto; }

  .scene { align-items: flex-end; }
  .scene--hero { align-items: flex-end; }
  .scene__content { padding-bottom: clamp(4.5rem, 16vh, 8rem); }
  .scene--hero .scene__content { padding-bottom: 1.5rem; }

  /* scrim only the bottom strip behind the text — let the rest of the clip stay vivid */
  .scene__overlay--left, .scene__overlay--right {
    background: linear-gradient(0deg,
      rgba(247,241,230,0.92) 0%, rgba(247,241,230,0.6) 24%,
      rgba(247,241,230,0.14) 46%, rgba(247,241,230,0) 64%);
  }
  .scene__overlay--vignette {
    background: linear-gradient(180deg,
      rgba(247,241,230,0.1) 0%, rgba(247,241,230,0) 14%,
      rgba(247,241,230,0) 88%, rgba(247,241,230,0.14) 100%);
  }

  .hero__actions { flex-direction: column; align-items: stretch; width: 100%; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .footer { flex-direction: column; text-align: center; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal], [data-fade] { opacity: 1 !important; transform: none !important; }
  .word__inner { transform: none !important; }
  .scroll-cue { display: none; }
}

/* ============ PRELOADER ============ */
.preloader{
  position:fixed; inset:0; z-index:9999;
  display:flex; align-items:center; justify-content:center;
  background:radial-gradient(120% 120% at 50% 40%, #1c1813 0%, var(--ink) 70%);
  transition:opacity .7s ease, visibility .7s ease;
}
.preloader.is-done{ opacity:0; visibility:hidden; pointer-events:none; }
.preloader__inner{
  display:flex; flex-direction:column; align-items:center; gap:1.6rem;
}
.preloader__logo{
  width:clamp(120px, 22vw, 180px); height:auto;
  filter:drop-shadow(0 6px 28px rgba(0,0,0,.55));
  animation:preloadPulse 1.8s ease-in-out infinite;
}
@keyframes preloadPulse{
  0%,100%{ transform:scale(1); opacity:.92; }
  50%{ transform:scale(1.05); opacity:1; }
}
.preloader__bar{
  position:relative; width:180px; height:2px; border-radius:2px;
  background:rgba(194,161,78,.18); overflow:hidden;
}
.preloader__fill{
  position:absolute; left:0; top:0; height:100%; width:40%;
  border-radius:2px; background:var(--grad);
  animation:preloadSlide 1.4s cubic-bezier(.65,.05,.36,1) infinite;
}
@keyframes preloadSlide{
  0%{ left:-40%; }
  100%{ left:100%; }
}
@media (prefers-reduced-motion: reduce){
  .preloader__logo, .preloader__fill{ animation:none; }
}
