:root {
  --black: #0b0b0c;
  --white: #faf9f6;
  --gray: #8a8a86;
  --gray-dim: #4a4a48;
  --line: rgba(250, 249, 246, 0.14);
  --line-dark: rgba(11, 11, 12, 0.12);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  background: var(--black);
  color: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 4px;
}
.proof :focus-visible,
.foundation :focus-visible {
  outline-color: var(--black);
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 1000;
  background: var(--white);
  color: var(--black);
  padding: 12px 20px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: top 0.2s var(--ease);
}
.skip-link:focus {
  top: 16px;
}

/* ---------- PROGRESS BAR ---------- */
.progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 100%;
  background: var(--white);
  transform: scaleX(0);
  transform-origin: left;
  z-index: 200;
  pointer-events: none;
}

/* ---------- GRAIN OVERLAY ---------- */
.grain {
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.045;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- CURSOR DOT ---------- */
.cursor-dot {
  position: fixed;
  top: 0; left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--white);
  mix-blend-mode: difference;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  will-change: transform;
}
.cursor-dot.is-active {
  width: 40px;
  height: 40px;
}

@media (hover: none), (pointer: coarse) {
  .cursor-dot { display: none; }
}

/* ---------- NAV ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 5vw;
}

.nav__mark {
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.14em;
  color: var(--white);
  mix-blend-mode: difference;
}

.nav__links {
  display: flex;
  gap: 36px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav__links a { color: var(--white); opacity: 0.75; transition: opacity 0.25s var(--ease); mix-blend-mode: difference; }
.nav__links a:hover,
.nav__links a[aria-current="page"] { opacity: 1; }

.nav__toggle { display: none; }

@media (max-width: 760px) {
  .nav__links {
    position: fixed;
    inset: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 36px;
    font-size: 22px;
    background: var(--black);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  }
  .nav--open .nav__links {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  .nav__toggle {
    position: relative;
    z-index: 101;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 44px; height: 44px;
    margin: -8px -8px -8px 0;
    background: none;
    border: none;
    cursor: pointer;
  }
  .nav__toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--white);
    mix-blend-mode: difference;
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
  }
  .nav--open .nav__toggle span:nth-child(1) { transform: translateY(3.25px) rotate(45deg); }
  .nav--open .nav__toggle span:nth-child(2) { transform: translateY(-3.25px) rotate(-45deg); }
}

/* ---------- HERO ---------- */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 5vw;
}

.hero__title {
  display: flex;
  flex-direction: column;
  gap: 0.02em;
  font-weight: 900;
  line-height: 0.94;
  letter-spacing: -0.02em;
  font-size: clamp(2.6rem, 9vw, 8rem);
}

.hero__title span {
  display: block;
}

.hero__title .word {
  display: inline-block;
  overflow: hidden;
}

.hero__title .char {
  display: inline-block;
  will-change: transform;
}

.hero__subhead {
  margin-top: clamp(20px, 3vh, 36px);
  font-size: clamp(1.1rem, 2.4vw, 1.5rem);
  color: var(--gray);
}

/* ---------- CAPABILITIES ---------- */
.capabilities {
  border-top: 1px solid var(--line);
  padding: clamp(40px, 6vh, 64px) 6vw;
}

.capabilities__list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 32px;
}

.capabilities__list li {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
}

.scroll-cue {
  position: absolute;
  bottom: 44px;
  width: 1px;
  height: 56px;
  background: var(--line);
  overflow: hidden;
}
.scroll-cue span {
  display: block;
  width: 100%;
  height: 40%;
  background: var(--white);
  animation: cue 1.8s ease-in-out infinite;
}
@keyframes cue {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(250%); }
}

/* ---------- STORY ---------- */
.story {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(48px, 12vh, 140px);
  padding: clamp(120px, 22vh, 260px) 6vw;
  text-align: center;
}

.story__line {
  font-size: clamp(1.6rem, 5vw, 3.4rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--gray);
  max-width: 18ch;
}

.story__line--emphasis {
  font-weight: 900;
  color: var(--white);
  font-size: clamp(2.2rem, 7vw, 5rem);
  letter-spacing: -0.02em;
}

.story__kicker {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray);
}

.story--compact {
  gap: clamp(28px, 5vh, 56px);
  padding: clamp(90px, 16vh, 180px) 6vw;
  border-top: 1px solid var(--line);
}

/* Longer, sentence-length copy reads better left-aligned and smaller
   than the short punchy lines the .story__line size is built for. */
.story--left {
  align-items: flex-start;
  text-align: left;
  max-width: 640px;
  margin: 0 auto;
}
.story__line--body {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  max-width: 60ch;
}

/* ---------- STORY: SPLIT (PORTRAIT + TEXT) ---------- */
.story--split {
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: clamp(32px, 6vw, 80px);
  text-align: left;
  max-width: 1100px;
  margin: 0 auto;
}

.story__portrait {
  width: clamp(200px, 26vw, 340px);
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 16px;
  flex-shrink: 0;
  filter: grayscale(1) contrast(1.05);
  transition: filter 0.5s var(--ease);
}
.story--split:hover .story__portrait { filter: grayscale(0); }

.story__split-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.story__split-text .story__line { max-width: 32ch; }

@media (max-width: 700px) {
  .story--split {
    flex-direction: column;
    text-align: center;
  }
  .story__split-text { align-items: center; }
}

/* ---------- ON SET (FULL-BLEED STILL) ---------- */
.still {
  position: relative;
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.still img {
  display: block;
  width: 100%;
  max-height: 70vh;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05) brightness(0.95);
  transition: filter 0.6s var(--ease);
}
.still:hover img { filter: grayscale(0) brightness(1); }
.still figcaption {
  position: absolute;
  left: clamp(20px, 4vw, 40px);
  bottom: clamp(16px, 3vw, 28px);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  mix-blend-mode: difference;
}

/* ---------- TIMELINE (CHRONOLOGICAL CREDITS) ---------- */
.timeline {
  padding: clamp(80px, 14vh, 160px) 5vw;
  border-top: 1px solid var(--line);
}

.timeline__list {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding-left: 96px;
}
.timeline__list::before {
  content: '';
  position: absolute;
  left: 60px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: var(--line);
}

.timeline__item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 28px 0;
}

.timeline__year {
  position: absolute;
  left: -122px;
  width: 72px;
  text-align: right;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
  color: var(--gray);
}

.timeline__dot {
  position: absolute;
  left: -41px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--white);
}

.timeline__poster {
  width: 108px;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
  filter: grayscale(1) contrast(1.05);
  transition: filter 0.4s var(--ease);
}
.timeline__item:hover .timeline__poster { filter: grayscale(0); }

.timeline__poster--empty {
  width: 108px;
  aspect-ratio: 2 / 3;
  flex-shrink: 0;
  border: 1px dashed var(--line);
  border-radius: 4px;
}

.timeline__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.timeline__title {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.timeline__meta {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray);
}

@media (max-width: 600px) {
  .timeline__list { padding-left: 56px; }
  .timeline__list::before { left: 32px; }
  .timeline__year { left: -74px; width: 40px; font-size: 9px; }
  .timeline__dot { left: -29px; }
  .timeline__poster,
  .timeline__poster--empty { width: 72px; }
}

/* ---------- TICKER ---------- */
.ticker {
  border-top: 1px solid var(--line);
  padding: clamp(28px, 4vh, 40px) 0;
}

.ticker__kicker {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: clamp(20px, 3vh, 32px);
}

.ticker__viewport {
  overflow: hidden;
  white-space: nowrap;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.ticker__track {
  display: inline-flex;
  animation: ticker-scroll 32s linear infinite;
  will-change: transform;
}

.ticker__group {
  display: inline-flex;
  align-items: center;
}

.ticker__group span {
  font-size: clamp(1.1rem, 2.6vw, 1.6rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--white);
  padding: 0 28px;
}

.ticker__group span.ticker__dash {
  color: var(--gray-dim);
  font-weight: 400;
  padding: 0 4px;
}

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

@media (prefers-reduced-motion: reduce) {
  .ticker__viewport { overflow-x: auto; }
  .ticker__track { animation: none; }
}

/* ---------- BACKSTAGE SHOWCASE ---------- */
.backstage {
  padding: clamp(60px, 10vh, 100px) 6vw clamp(100px, 16vh, 180px);
  border-top: 1px solid var(--line);
  text-align: center;
}

.backstage__intro {
  color: var(--gray);
  font-size: clamp(1rem, 2vw, 1.2rem);
  max-width: 40ch;
  margin: 0 auto clamp(48px, 8vh, 80px);
}

.backstage__card {
  max-width: 480px;
  margin: 0 auto;
  border: 1px solid var(--line);
  padding: clamp(48px, 8vw, 72px) clamp(24px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.4s var(--ease), background 0.4s var(--ease);
}
.backstage__card:hover {
  border-color: var(--gray);
  background: rgba(250, 249, 246, 0.03);
}

.backstage__edition {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 900;
  letter-spacing: -0.02em;
}

.backstage__location {
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  color: var(--gray);
}

.backstage__date {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-dim);
  margin-top: 8px;
}

/* ---------- UNIVERSE ---------- */
.universe {
  padding: clamp(80px, 14vh, 160px) 5vw clamp(60px, 10vh, 120px);
  border-top: 1px solid var(--line);
}

.universe__kicker {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: clamp(48px, 8vh, 90px);
}

.universe__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1400px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.area {
  position: relative;
  padding: clamp(40px, 5vw, 64px) clamp(24px, 3vw, 36px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: background 0.4s var(--ease);
  will-change: transform;
}

.area:hover { background: rgba(250, 249, 246, 0.04); }

.area__index {
  position: absolute;
  top: clamp(20px, 3vw, 28px);
  right: clamp(24px, 3vw, 36px);
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  color: var(--gray-dim);
  transition: color 0.4s var(--ease);
}
.area:hover .area__index { color: var(--gray); }

.area h2 {
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}

.area p {
  color: var(--gray);
  font-size: 1rem;
  line-height: 1.5;
}

.area__cta {
  margin-top: 32px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  align-self: flex-start;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease);
}
.area:hover .area__cta { border-color: var(--white); }

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

/* ---------- PROOF ---------- */
.proof {
  background: var(--white);
  color: var(--black);
  text-align: center;
  padding: clamp(100px, 18vh, 200px) 6vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.proof__line {
  font-size: clamp(1.8rem, 6vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.02em;
}

.proof__line--muted {
  color: var(--gray-dim);
  font-weight: 600;
  font-size: clamp(1rem, 2.4vw, 1.4rem);
  margin-top: 8px;
}

/* ---------- FOUNDATION ---------- */
.foundation {
  border-top: 1px solid var(--line-dark);
  background: var(--white);
  color: var(--gray-dim);
  text-align: center;
  padding: clamp(60px, 10vh, 100px) 6vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.foundation p {
  max-width: 46ch;
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  line-height: 1.6;
}

.foundation__link {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--black);
  border-bottom: 1px solid var(--black);
}

/* ---------- STATEMENT ---------- */
.statement {
  background: var(--black);
  color: var(--white);
  text-align: center;
  padding: clamp(120px, 22vh, 240px) 6vw;
}

.statement__line {
  font-size: clamp(1.8rem, 6vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

.statement__mark {
  margin-top: clamp(32px, 6vh, 64px);
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  font-weight: 900;
  letter-spacing: 0.1em;
  color: var(--gray);
}

/* ---------- CONTACT ---------- */
.contact {
  text-align: center;
  padding: clamp(100px, 18vh, 200px) 6vw clamp(140px, 20vh, 220px);
  border-top: 1px solid var(--line);
}

.contact__eyebrow {
  font-size: clamp(1.1rem, 2.4vw, 1.5rem);
  color: var(--gray);
  margin-bottom: 28px;
}

.contact__cta {
  display: inline-block;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 900;
  letter-spacing: 0.02em;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--white);
  transition: opacity 0.25s var(--ease);
}
.contact__cta:hover { opacity: 0.6; }

/* ---------- FOOTER ---------- */
.footer {
  padding: 48px 5vw;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
}

.footer__mark {
  font-weight: 800;
  letter-spacing: 0.14em;
  font-size: 14px;
}

.footer__links {
  display: flex;
  gap: 24px;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray);
  flex-wrap: wrap;
}
.footer__links a:hover { color: var(--white); }

.footer__legal {
  width: 100%;
  font-size: 11px;
  color: var(--gray-dim);
  letter-spacing: 0.02em;
}

.footer__address {
  width: 100%;
  font-size: 11px;
  color: var(--gray-dim);
  letter-spacing: 0.02em;
  margin-top: 4px;
}

/* ---------- FOOTER SOCIAL ICONS ---------- */
.footer__social {
  display: flex;
  align-items: center;
  gap: 4px;
  min-height: 40px;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 10px;
  transition: transform 0.25s var(--ease);
}
.social-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.social-icon:hover { transform: translateY(-2px); }

.social-icon--imdb { width: 60px; }

/* ---------- CONTACT FORM ---------- */
.form-section {
  padding: clamp(80px, 14vh, 160px) 6vw;
  border-top: 1px solid var(--line);
}

.form {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray);
}

.field input,
.field select,
.field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  color: var(--white);
  font-family: inherit;
  font-size: 1rem;
  padding: 10px 2px;
  transition: border-color 0.25s var(--ease);
}

.field select option {
  background: var(--black);
  color: var(--white);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--white);
  outline: none;
}

.field textarea {
  resize: vertical;
  min-height: 120px;
}

.form__submit {
  align-self: flex-start;
  margin-top: 12px;
  background: none;
  border: 2px solid var(--white);
  color: var(--white);
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 16px 32px;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.form__submit:hover { background: var(--white); color: var(--black); }

.form__note {
  font-size: 13px;
  color: var(--gray);
}

.form__success {
  display: none;
  text-align: center;
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 700;
  padding: 40px 0;
}

@media (max-width: 600px) {
  .form__row { grid-template-columns: 1fr; }
}

/* ---------- REVEAL ON SCROLL ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Larger, weightier lines get a slower, more deliberate reveal
   rather than sharing one blanket duration with small UI text. */
.reveal--slow {
  transform: translateY(36px);
  transition-duration: 1.1s;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scroll-cue span { animation: none; }
  .reveal, .reveal--slow { opacity: 1; transform: none; transition: none; }
  .area { transform: none !important; }
}
