:root {
  --gold:       #c9a84c;
  --blue-deep:  #060f1c;
  --blue-dark:  #0a1828;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Inter', system-ui, -apple-system, sans-serif;
  --font-bebas: 'Bebas Neue', Impact, sans-serif;
}

/* --------------------------------------------------
   Base
   -------------------------------------------------- */
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* --------------------------------------------------
   Fluid typography
   -------------------------------------------------- */
.hero-title {
  font-family: var(--font-bebas);
  font-size: clamp(56px, 11vw, 130px);
  line-height: 0.96;
  letter-spacing: 0.04em;
  font-weight: 400;
}

.hero-subquote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(15px, 2.2vw, 24px);
  line-height: 1.55;
}

.section-title {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.1;
  font-size: clamp(26px, 4vw, 52px);
}

.manifesto-verse {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 700;
  line-height: 1.22;
  font-size: clamp(22px, 3.8vw, 48px);
  max-width: 820px;
  margin-inline: auto;
}

.manifesto-body {
  line-height: 2.1;
  font-size: clamp(14px, 1.55vw, 17px);
  max-width: 66ch;
  margin-inline: auto;
}

/* --------------------------------------------------
   Reusable component classes
   -------------------------------------------------- */
.eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.gold-divider {
  display: block;
  width: 48px;
  height: 2px;
  background: var(--gold);
  border-radius: 9999px;
}

/* --------------------------------------------------
   Hero overlay
   -------------------------------------------------- */
.hero-overlay {
  background:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.65) 0%,
      rgba(0, 0, 0, 0.14) 45%,
      rgba(0, 0, 0, 0.82) 100%
    ),
    radial-gradient(
      ellipse 85% 60% at 50% 38%,
      rgba(10, 24, 40, 0.48) 0%,
      transparent 70%
    );
}

/* --------------------------------------------------
   Manifesto section background
   -------------------------------------------------- */
.manifesto-bg {
  background: linear-gradient(160deg, var(--blue-deep) 0%, #000 55%);
}

/* --------------------------------------------------
   Image hover zoom
   -------------------------------------------------- */
.img-zoom img {
  transition: transform 0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.img-zoom:hover img {
  transform: scale(1.05);
}

/* --------------------------------------------------
   Gallery grid item — hover state
   -------------------------------------------------- */
.gallery-item {
  position: relative;
  cursor: pointer;
}

.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
  z-index: 2;
}

.gallery-item:hover .gallery-item__overlay {
  background: rgba(0, 0, 0, 0.42);
}

.gallery-item__icon {
  color: white;
  opacity: 0;
  transform: scale(0.75);
  transition: opacity 0.3s ease, transform 0.3s ease;
  border: 1px solid rgba(201, 168, 76, 0.55);
  border-radius: 50%;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  background: rgba(0, 0, 0, 0.35);
}

.gallery-item:hover .gallery-item__icon {
  opacity: 1;
  transform: scale(1);
}

/* Gold border flash on hover */
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1.5px solid rgba(201, 168, 76, 0);
  border-radius: 2px;
  transition: border-color 0.3s ease;
  pointer-events: none;
  z-index: 3;
}

.gallery-item:hover::after {
  border-color: rgba(201, 168, 76, 0.5);
}

/* --------------------------------------------------
   Lightbox
   -------------------------------------------------- */
#lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

#lightbox.is-open {
  opacity: 1;
  pointer-events: all;
}

.lb-img-wrap {
  max-width: min(90vw, 1200px);
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

#lb-img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 2px;
  animation: lbImgIn 0.25s ease both;
}

@keyframes lbImgIn {
  from { opacity: 0; transform: scale(0.97); }
  to   { opacity: 1; transform: scale(1);    }
}

#lb-close {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

#lb-close:hover {
  color: var(--gold);
  background: rgba(201, 168, 76, 0.12);
  border-color: rgba(201, 168, 76, 0.35);
}

#lb-prev,
#lb-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

#lb-prev { left: 16px; }
#lb-next { right: 16px; }

#lb-prev:hover,
#lb-next:hover {
  color: var(--gold);
  background: rgba(201, 168, 76, 0.12);
  border-color: rgba(201, 168, 76, 0.35);
}

#lb-prev.lb-hidden,
#lb-next.lb-hidden {
  opacity: 0;
  pointer-events: none;
}

.lb-counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.35);
  text-transform: uppercase;
}

body.lb-open {
  overflow: hidden;
}

/* --------------------------------------------------
   Hero LOAD animations — staggered on page open
   -------------------------------------------------- */
@keyframes heroFadeUp {
  from {opacity: 0; transform: translateY(32px);}
  to   {opacity: 1; transform: translateY(0);}
}

.hero-anim-1 { animation: heroFadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) both; animation-delay: 0.10s; }
.hero-anim-2 { animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both; animation-delay: 0.38s; }
.hero-anim-3 { animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both; animation-delay: 0.52s; }
.hero-anim-4 { animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both; animation-delay: 0.68s; }
.hero-anim-5 { animation: heroFadeUpCentered 0.8s cubic-bezier(0.16, 1, 0.3, 1) both; animation-delay: 0.95s; }


/* --------------------------------------------------
   SCROLL animations — JS adds .is-visible via
   IntersectionObserver when element enters viewport
   -------------------------------------------------- */
[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease,
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-animate].is-visible {
  opacity: 1;
  transform: none;
}

#scroll-down-btn { pointer-events: auto; }


[data-animate-stagger] > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease,
              transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-animate-stagger].is-visible > * {
  opacity: 1;
  transform: none;
}

[data-animate-stagger].is-visible > *:nth-child(1) { transition-delay: 0.00s; }
[data-animate-stagger].is-visible > *:nth-child(2) { transition-delay: 0.08s; }
[data-animate-stagger].is-visible > *:nth-child(3) { transition-delay: 0.16s; }
[data-animate-stagger].is-visible > *:nth-child(4) { transition-delay: 0.24s; }
[data-animate-stagger].is-visible > *:nth-child(5) { transition-delay: 0.32s; }
[data-animate-stagger].is-visible > *:nth-child(6) { transition-delay: 0.40s; }
[data-animate-stagger].is-visible > *:nth-child(7) { transition-delay: 0.48s; }
[data-animate-stagger].is-visible > *:nth-child(8) { transition-delay: 0.56s; }
[data-animate-stagger].is-visible > *:nth-child(9) { transition-delay: 0.64s; }

/* --------------------------------------------------
   Scroll indicator dot animation
   -------------------------------------------------- */
.scroll-mouse::after {
  content: '';
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 7px;
  background: currentColor;
  border-radius: 2px;
  animation: scrollDot 2s ease-in-out infinite;
}

@keyframes scrollDot {
  0%   { top: 5px;  opacity: 1; }
  75%  { top: 16px; opacity: 0; }
  76%  { top: 5px;  opacity: 0; }
  100% { top: 5px;  opacity: 1; }
}
