@font-face {
  font-family: "Reign";
  src: url("assets/Reign-ExtraBoldCondensed.woff") format("woff");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Reign Black";
  src: url("assets/Reign-BlackSemiCondensed.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0a0a0b;
  --bg-elevated: #121214;
  --text: #f2efe8;
  --text-muted: rgba(242, 239, 232, 0.65);
  --line: rgba(242, 239, 232, 0.18);
  --accent: #b61233;
  --font-display: "Cormorant Garamond", "Times New Roman", Times, serif;
  --font-ui: "Jost", system-ui, sans-serif;
  --font-reign: "Reign", var(--font-display);
  --font-reign-black: "Reign Black", var(--font-display);
  --header-h: 3.5rem;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 2rem;
  --space-7: 4rem;
}

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

html {
  scroll-behavior: auto;
}

html.lenis,
html.lenis body {
  height: auto;
}

body {
  margin: 0;
  font-family: var(--font-ui);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.55;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.main {
  padding-top: var(--header-h);
}

/* ——— Header ——— */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(10, 10, 11, 0.72);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.site-header__bar {
  max-width: 90rem;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: 0 var(--space-4);
}

.site-brand {
  font-family: var(--font-reign);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text);
  white-space: nowrap;
  z-index: 1002;
}

.site-brand:hover,
.site-brand:focus-visible {
  color: var(--accent);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-wrap: nowrap;
}

.site-nav__link {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-muted);
  padding: var(--space-2) var(--space-1);
  transition: color 0.25s ease;
}

.site-nav__link:hover,
.site-nav__link:focus-visible {
  color: var(--text);
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-left: var(--space-3);
  padding-left: var(--space-4);
  border-left: 1px solid var(--line);
}

.lang-switcher__btn {
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  padding: var(--space-2) var(--space-3);
  border: 1px solid transparent;
  border-radius: 0;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.lang-switcher__btn:hover,
.lang-switcher__btn:focus-visible {
  color: var(--text);
}

.lang-switcher__btn.is-active {
  color: var(--bg);
  background: var(--accent);
  border-color: var(--accent);
}

/* Hamburger */
.nav-toggle {
  display: none;
  position: relative;
  z-index: 1002;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav-toggle__icon,
.nav-toggle__icon::before,
.nav-toggle__icon::after {
  display: block;
  width: 1.1rem;
  height: 1px;
  background: currentColor;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle__icon::before,
.nav-toggle__icon::after {
  content: "";
  position: absolute;
}

.nav-toggle__icon::before {
  transform: translateY(-5px);
}

.nav-toggle__icon::after {
  transform: translateY(5px);
}

body.is-nav-open .nav-toggle__icon {
  background: transparent;
}

body.is-nav-open .nav-toggle__icon::before {
  transform: translateY(0) rotate(45deg);
}

body.is-nav-open .nav-toggle__icon::after {
  transform: translateY(0) rotate(-45deg);
}

@media (max-width: 960px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    top: var(--header-h);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: var(--space-6) var(--space-6) var(--space-7);
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--line);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease,
      visibility 0.35s;
    pointer-events: none;
  }

  body.is-nav-open .site-nav {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .site-nav__link {
    font-size: 0.85rem;
    padding: var(--space-4) 0;
    border-bottom: 1px solid var(--line);
  }

  .lang-switcher {
    margin-left: 0;
    margin-top: var(--space-5);
    padding-left: 0;
    padding-top: var(--space-5);
    border-left: none;
    border-top: 1px solid var(--line);
    justify-content: flex-start;
  }
}

/* ——— Sections ——— */
.section {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100dvh - var(--header-h));
}

.section--hero {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: 100vh;
  min-height: 100dvh;
  margin-top: calc(-1 * var(--header-h));
  padding-top: var(--header-h);
  background-color: var(--bg);
  background-image: linear-gradient(
      180deg,
      rgba(10, 10, 11, 0.05) 0%,
      rgba(10, 10, 11, 0.35) 55%,
      rgba(10, 10, 11, 0.55) 100%
    ),
    var(--hero-image);
  background-size: cover;
  background-position: center;
}

.section--hero__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 80% 70% at 50% 40%, transparent 0%, rgba(10, 10, 11, 0.12) 100%);
}

.section--hero__inner {
  position: relative;
  z-index: 1;
  max-width: 52rem;
  padding: clamp(4rem, 14vh, 10rem) var(--space-4) var(--space-7);
  text-align: center;
}

.hero-cast {
  display: flex;
  justify-content: center;
  /* increase the gap*/
  gap: clamp(3rem, 10vw, 8rem);
  margin: 0 0 var(--space-6);
}

.hero-cast__name {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1em;
  font-family: var(--font-ui);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  line-height: 1.15;
  color: var(--text-muted);
}

.hero-cast__name span {
  font-size: 0.6rem;
  font-weight: 400;
}

.hero-cast__name strong {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
}

.hero-kicker {
  margin: 0 0 var(--space-4);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero-title {
  width: min-content;
  margin: 0 auto var(--space-4);
  font-family: var(--font-reign-black);
  /* font-size: clamp(5.5rem, 18vw, 10rem); */
  /* font-size: clamp(2.75rem, 9vw, 5rem); */
  font-size: clamp(3.75rem, 15vw, 7rem);
  font-weight: 500;
  line-height: 0.95;
  color: var(--accent);
}

.hero-tagline {
  margin: 0 auto;
  max-width: 36rem;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.8vw, 1.5rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.45;
  color: var(--text-muted);
}

/* Split sections */
.section--split {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  min-height: auto;
}

.section--split .section__media,
.section--split .section__body {
  flex: 1 1 50%;
  min-width: 0;
}

.section--split.section--image-right {
  flex-direction: row-reverse;
}

.section__media {
  position: relative;
  min-height: 22rem;
}

.section__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.02) saturate(0.92);
}

#split-3-img {
  object-fit: contain;
}

.section__media--video {
  cursor: pointer;
}

.section__media--video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: opacity 0.25s ease;
}

.video-play-btn.is-playing {
  opacity: 0;
}

.video-play-btn.is-playing:hover {
  opacity: 1;
}

.video-play-btn__icon {
  display: block;
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background: rgba(10, 10, 11, 0.55);
  border: 2px solid rgba(242, 239, 232, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  position: relative;
  transition: background 0.2s ease, transform 0.2s ease;
}

.video-play-btn:hover .video-play-btn__icon {
  background: rgba(196, 165, 116, 0.25);
  transform: scale(1.06);
}

.video-play-btn__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 0.65rem 0 0.65rem 1.15rem;
  border-color: transparent transparent transparent var(--text);
}

@keyframes gallery-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.section__media--gallery {
  overflow: hidden;
  padding: 0;
  display: flex;
  align-items: center;
}

.gallery-reel {
  width: 100%;
  height: clamp(20rem, 60vh, 38rem);
  overflow: hidden;
  flex-shrink: 0;
}

.gallery-track {
  display: flex;
  align-items: stretch;
  height: 100%;
  width: max-content;
  animation: gallery-scroll 20s linear infinite;
  will-change: transform;
}

.gallery-track:hover {
  animation-play-state: paused;
}

.gallery-item {
  position: relative;
  flex-shrink: 0;
  width: clamp(22rem, 55vw, 42rem);
  height: 100%;
  overflow: hidden;
}

.gallery-item + .gallery-item {
  margin-left: 0.5rem;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: contrast(1.02) saturate(0.88);
}

.gallery-item__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2.5rem 1rem 0.9rem;
  background: linear-gradient(transparent, rgba(10, 10, 11, 0.78));
  color: var(--text);
  text-align: center;
  pointer-events: none;
}

.gallery-item__title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.3;
}

.gallery-item__meta {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-top: 0.35rem;
  font-family: var(--font-ui);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.section__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-7) var(--space-6);
  background: var(--bg);
}

.section__heading {
  margin: 0 0 var(--space-5);
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.65rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0.02em;
}

.section__text {
  margin: 0;
  font-size: 1.02rem;
  color: var(--text-muted);
  max-width: 36rem;
}

.section__text ul,
.section__text ol {
  padding-left: 1.4rem;
  margin: var(--space-4) 0;
}

.section__text li {
  margin-bottom: var(--space-3);
}

@media (max-width: 960px) {
  .section--split,
  .section--split.section--image-right {
    flex-direction: column;
  }

  .section--split .section__media {
    flex: none;
    min-height: 42vw;
    max-height: 70vh;
  }

  .section__media--video {
    aspect-ratio: 9 / 16;
    min-height: unset;
    max-height: 85vh;
    background: #000;
  }

  .section__media--video video {
    object-fit: contain;
  }

  .section__body {
    padding: var(--space-6) var(--space-4);
  }
}

/* GSAP prep: hidden until animated */
.reveal:not(.is-animated) {
  opacity: 0;
  transform: translateY(2.25rem);
}

/* After animation hook */
.reveal.is-animated {
  opacity: 1;
  transform: translateY(0);
}

.error-state {
  position: fixed;
  bottom: var(--space-4);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2000;
  max-width: 28rem;
  padding: var(--space-4);
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 0.9rem;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.5);
}

.error-state p {
  margin: 0;
}

#grain-video {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  z-index: 900;
  opacity: 0;
  mix-blend-mode: overlay;
  filter: contrast(1.1) brightness(0.95);
}

#iris-mask-layer {
  --iris-x: 50%;
  --iris-y: 50%;
  --iris-r: 90vmax;
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 880;
  opacity: 0;
  background: radial-gradient(
    circle at var(--iris-x) var(--iris-y),
    rgba(0, 0, 0, 0) 0,
    rgba(0, 0, 0, 0) calc(var(--iris-r) * 0.62),
    rgba(0, 0, 0, 0.78) calc(var(--iris-r) * 0.86),
    rgba(0, 0, 0, 1) var(--iris-r)
  );
}

.main.cinematic {
  position: relative;
  padding-top: 0;
  height: 100vh;
  overflow: hidden;
}

.main.cinematic .section {
  position: absolute;
  inset: 0;
  height: 100vh;
  min-height: 0;
  margin-top: 0;
  padding-top: 0;
  pointer-events: none;
}

.main.cinematic .section.is-cinematic-active {
  pointer-events: auto;
}

.main.cinematic .section--hero {
  min-height: 100vh;
  margin-top: 0;
  padding-top: 0;
}

.main.cinematic .reveal:not(.is-animated) {
  opacity: 1 !important;
  transform: none !important;
}
