:root {
  --bg: #060606;
  --text: #f2efe7;
  --muted: rgba(242, 239, 231, 0.68);
  --line: rgba(255,255,255,0.12);
  --panel: rgba(0,0,0,0.22);
  --footer: rgba(5,5,5,0.92);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  overflow-x: hidden;
}

.video-shell {
  position: fixed;
  inset: 0;
  z-index: -3;
  background: #000;
}

.bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.34), rgba(0,0,0,0.56)),
    radial-gradient(circle at 50% 35%, rgba(255,255,255,0.06), transparent 40%);
}

.noise {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image:
    linear-gradient(rgba(255,255,255,.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.5) 1px, transparent 1px);
  background-size: 4px 4px;
  mix-blend-mode: soft-light;
}

.section {
  min-height: 100vh;
  position: relative;
}

.hero {
  display: grid;
  place-items: center;
  padding: 8vh 7vw;
}

.language-switcher {
  position: absolute;
  top: 1.6rem;
  right: 1.6rem;
  z-index: 10;
}

.lang-toggle {
  appearance: none;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(0,0,0,0.28);
  color: rgba(255,255,255,0.9);
  width: 3rem;
  height: 3rem;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.lang-toggle:hover,
.language-switcher.is-open .lang-toggle {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.42);
  transform: translateY(-1px);
}

.globe-icon {
  font-size: 1.05rem;
  line-height: 1;
}

.language-menu {
  position: absolute;
  top: calc(100% + 0.65rem);
  right: 0;
  min-width: 11.5rem;
  padding: 0.45rem;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(8,8,8,0.86);
  backdrop-filter: blur(14px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.28);
  opacity: 0;
  transform: translateY(-8px) scale(0.98);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.language-switcher.is-open .language-menu {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.lang-option {
  appearance: none;
  width: 100%;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,0.82);
  text-align: left;
  padding: 0.72rem 0.8rem;
  font-size: 0.9rem;
  line-height: 1.2;
  cursor: pointer;
  transition: background 140ms ease, color 140ms ease;
}

.lang-option:hover,
.lang-option:focus-visible {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.98);
  outline: none;
}

.lang-option.is-active {
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,1);
}

.hero-inner {
  display: grid;
  justify-items: center;
  gap: 1.2rem;
  text-align: center;
}

.fade-in {
  opacity: 0.01;
  transform: translateY(24px);
  animation: heroFade 3.6s ease forwards;
}

@keyframes heroFade {
  from { opacity: 0.01; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-logo {
  width: min(80vw, 84px);
  min-width: 350px;
  filter: drop-shadow(0 12px 36px rgba(0,0,0,.35));
}

.eyebrow,
.section-label {
  margin: 0 0 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-size: 1.20rem;
}

.brand-name {
  margin: 0;
  font-family: "Goudy", Garamond, Georgia, serif;
  font-size: clamp(1rem, 2vw, 2rem);
  font-weight: 20;
  letter-spacing: 0.01em;
}

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 2rem;
  transform: translateX(-50%);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
}

.story-section {
  min-height: 170vh;
  position: relative;
}

.sticky-frame {
  position: sticky;
  top: 0;
  min-height: 100vh;
  display: grid;
  align-items: center;
  overflow: clip;
}

.content-layer {
  width: min(1100px, calc(100vw - 10vw));
  margin: 0 auto;
  padding: min(9vw, 88px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.015));
  backdrop-filter: blur(3px);
  box-shadow: 0 4px 80px rgba(0,0,0,.22);
}

.slide-title,
.slide-copy {
  will-change: transform, opacity, filter;
}

.slide-title {
  margin: 0;
  max-width: 20ch;
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  line-height: 0.94;
  white-space: pre-line;
  letter-spacing: -0.04em;
  transform: translate3d(var(--title-x, 0), 0, 0);
  opacity: var(--title-opacity, 0.2);
  filter: blur(var(--title-blur, 10px));
}

.slide-copy {
  margin: 1.25rem 0 0;
  max-width: 42rem;
  font-size: clamp(0.8rem, 1.45vw, 1.28rem);
  line-height: 1.7;
  color: var(--muted);
  transform: translate3d(var(--copy-x, 0), 0, 0);
  opacity: var(--copy-opacity, 0.15);
  filter: blur(var(--copy-blur, 8px));
}

.footer-stage {
  min-height: 110vh;
  position: relative;
}

.footer-panel {
  position: sticky;
  top: 18vh;
  width: min(1180px, calc(100vw - 8vw));
  margin: 0 auto 6vh;
  padding: clamp(2rem, 5vw, 4rem);
  border-top: 1px solid var(--line);
  background: var(--footer);
  box-shadow: 0 -24px 90px rgba(0,0,0,.35);
  transform: translateY(var(--footer-y, 26vh));
  opacity: var(--footer-opacity, 0.35);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
}

.footer-grid h3 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
}

.footer-copy {
  margin: 0 0 1rem;
  color: var(--muted);
  line-height: 1.7;
}

.contact-link {
  color: var(--text);
  text-decoration: none;
  font-size: clamp(1.1rem, 1.8vw, 1.6rem);
  border-bottom: 1px solid rgba(255,255,255,.35);
}

.contact-link:hover {
  border-color: rgba(255,255,255,.8);
}

@media (max-width: 800px) {
  .language-switcher {
    top: 1rem;
    right: 1rem;
    left: 1rem;
    max-width: none;
  }
  .lang-btn {
    padding: 0.5rem 0.65rem;
    min-width: 2.8rem;
    font-size: 0.68rem;
  }
  .story-section { min-height: 150vh; }
  .content-layer { width: calc(100vw - 12vw); padding: 8vw 6vw; }
  .slide-title { max-width: 11ch; }
  .footer-panel { top: 10vh; width: calc(100vw - 10vw); }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .language-switcher { top: 1rem; right: 1rem; }
  .language-menu { min-width: 10rem; }
}
