:root {
  --black: #050505;
  --ink: #0d0d0b;
  --panel: #14130f;
  --stone: #d7d7d2;
  --chalk: #f4f1ec;
  --muted: #a8a6a1;
  --brass: #d8d4ca;
  --brass-strong: #ffffff;
  --silver: #c7c7c1;
  --moss: #74746d;
  --line: rgba(245, 239, 229, 0.14);
  --font-body: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-tech: "Unbounded", "Manrope", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--black);
}

body {
  margin: 0;
  color: var(--chalk);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.08), transparent 30rem),
    linear-gradient(180deg, #000 0%, #070707 42%, #000 100%);
  font-family: var(--font-body);
  overflow-x: hidden;
}

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

button,
input,
select {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: 0.11;
  mix-blend-mode: soft-light;
  background-image:
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 19px 23px;
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(9rem, 1fr) auto minmax(9rem, 1fr);
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem clamp(1rem, 3vw, 3rem);
  color: var(--chalk);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0));
}

.brand {
  display: inline-flex;
  flex-direction: column;
  width: max-content;
  gap: 0.12rem;
  font-family: var(--font-tech);
  letter-spacing: 0.12em;
}

.brand span {
  font-size: clamp(1.05rem, 1.6vw, 1.55rem);
  font-weight: 700;
}

.brand small {
  color: var(--brass);
  font-size: 0.56rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.topbar nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 2.4rem);
  padding: 0.55rem 0.9rem;
  border: 1px solid rgba(245, 239, 229, 0.11);
  border-radius: 999px;
  background: rgba(5, 5, 5, 0.28);
  backdrop-filter: blur(18px);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.topbar nav a {
  color: rgba(245, 239, 229, 0.74);
}

.topbar nav a:hover,
.topbar__cta:hover {
  color: var(--brass-strong);
}

.topbar__cta {
  justify-self: end;
  max-width: 14rem;
  padding: 0;
  background: transparent;
  color: var(--chalk);
  font-size: 0.75rem;
  font-weight: 800;
  text-align: right;
  text-transform: uppercase;
}

.cinema {
  position: relative;
  height: 660vh;
}

.film-stage {
  position: sticky;
  top: 0;
  min-height: 100vh;
  overflow: hidden;
  background: #020202;
}

.hero-frame,
.finale__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-frame {
  display: block;
  opacity: 0.94;
  filter: grayscale(1) contrast(1.18) brightness(0.68);
  transform: scale(1.012);
  will-change: transform;
  user-select: none;
}

.video-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.84) 0%, rgba(0, 0, 0, 0.26) 44%, rgba(0, 0, 0, 0.82) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.78) 0%, transparent 38%, rgba(0, 0, 0, 0.9) 100%);
}

.diagonal-grid {
  position: absolute;
  inset: -18%;
  opacity: 0.08;
  background: repeating-linear-gradient(
    116deg,
    transparent 0 31px,
    rgba(255, 255, 255, 0.28) 32px 33px,
    transparent 34px 76px
  );
  transform: translate3d(var(--grid-shift, 0), 0, 0);
}

.progress-rail {
  position: absolute;
  left: clamp(1rem, 3vw, 3rem);
  bottom: clamp(1rem, 3vw, 2.5rem);
  width: min(20rem, 42vw);
  height: 1px;
  background: rgba(245, 239, 229, 0.22);
}

.progress-rail span {
  display: block;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #ffffff, rgba(255, 255, 255, 0.35));
}

.chapter {
  position: absolute;
  z-index: 3;
  max-width: min(32rem, calc(100vw - 2rem));
  opacity: 0;
  transform: translate3d(0, 1.4rem, 0);
  transition: opacity 0.9s ease, transform 0.9s ease, filter 0.9s ease;
  filter: blur(5px);
  pointer-events: none;
}

.chapter::after {
  content: "";
  display: block;
  width: min(14rem, 42vw);
  height: 1px;
  margin-top: clamp(1rem, 2vw, 1.5rem);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.75), transparent);
}

.chapter.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
}

.chapter--center {
  left: 50%;
  top: 50%;
  width: min(62rem, calc(100vw - 2rem));
  max-width: none;
  text-align: center;
  transform: translate3d(-50%, -44%, 0);
}

.chapter--center.is-visible {
  transform: translate3d(-50%, -50%, 0);
}

.chapter--left {
  left: clamp(1.25rem, 8vw, 8.4rem);
  top: 35%;
}

.chapter--right {
  right: clamp(1.25rem, 8vw, 8.4rem);
  top: 35%;
  text-align: right;
}

.chapter--right::after {
  margin-left: auto;
  background: linear-gradient(270deg, rgba(255, 255, 255, 0.75), transparent);
}

.chapter--low {
  top: auto;
  bottom: clamp(6rem, 13vh, 8.5rem);
}

.eyebrow,
.kicker {
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--font-tech);
  font-size: clamp(0.68rem, 0.9vw, 0.8rem);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin: 0 0 0.25rem;
  color: #fff;
  font-family: var(--font-tech);
  font-size: clamp(4.5rem, 16vw, 13.5rem);
  font-weight: 700;
  line-height: 0.82;
  letter-spacing: 0.08em;
  text-shadow: 0 1.8rem 5rem rgba(0, 0, 0, 0.9);
}

.hero-copy p:last-child {
  width: min(37rem, 90vw);
  margin: 1rem auto 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(0.95rem, 1.45vw, 1.28rem);
  line-height: 1.55;
}

.chapter h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.35vw, 3.85rem);
  font-weight: 600;
  line-height: 1.03;
  text-wrap: balance;
}

.section-band {
  position: relative;
  padding: clamp(5rem, 10vw, 10rem) clamp(1rem, 4vw, 4rem);
  background: var(--black);
}

.section-band--stone {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.055), transparent 42%),
    #070707;
}

.section-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.intro__grid {
  display: grid;
  grid-template-columns: minmax(18rem, 0.84fr) minmax(20rem, 0.76fr);
  gap: clamp(2rem, 8vw, 7rem);
  align-items: start;
}

.intro h2,
.section-heading h2,
.story__sticky h2,
.finale h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.6vw, 5.25rem);
  font-weight: 600;
  line-height: 1.02;
  text-wrap: balance;
}

.lead {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: clamp(0.95rem, 1.15vw, 1.12rem);
  line-height: 1.9;
  max-width: 43rem;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #050505;
}

.metric {
  min-height: 14.5rem;
  padding: clamp(1.15rem, 2.5vw, 2.35rem);
  border-right: 1px solid var(--line);
}

.metric:last-child {
  border-right: 0;
}

.metric strong {
  display: block;
  color: var(--brass-strong);
  font-family: var(--font-tech);
  font-size: clamp(2.5rem, 4.1vw, 4.65rem);
  line-height: 0.95;
  letter-spacing: 0;
  white-space: nowrap;
}

.metric span {
  display: block;
  max-width: 13.5rem;
  margin-top: 1.25rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: clamp(0.75rem, 0.95vw, 0.88rem);
  font-weight: 700;
  line-height: 1.5;
  text-transform: uppercase;
}

.story__layout {
  display: grid;
  grid-template-columns: minmax(18rem, 0.74fr) minmax(20rem, 1fr);
  gap: clamp(2rem, 8vw, 7.5rem);
}

.story__sticky {
  position: sticky;
  top: 7rem;
  align-self: start;
}

.story__text {
  display: grid;
  gap: 1.2rem;
}

.story-block,
.feature-card {
  border: 1px solid rgba(245, 239, 229, 0.13);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.058), rgba(255, 255, 255, 0.018));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.story-block {
  padding: clamp(1.3rem, 3vw, 2.4rem);
  min-height: 15rem;
}

.story-block span {
  color: rgba(255, 255, 255, 0.58);
  font-family: var(--font-tech);
  font-size: 0.75rem;
}

.story-block h3,
.feature-card h3 {
  margin: 1rem 0 0.8rem;
  font-size: clamp(1.35rem, 2.4vw, 2.2rem);
  line-height: 1.05;
}

.story-block p,
.feature-card p,
.finale p {
  margin: 0;
  color: rgba(245, 239, 229, 0.72);
  line-height: 1.75;
}

.section-heading {
  width: min(760px, 100%);
  margin-bottom: clamp(2rem, 5vw, 4.5rem);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.feature-card {
  min-height: 19rem;
  padding: clamp(1.2rem, 2.4vw, 2rem);
  background-color: #070707;
}

.quote-section {
  padding: clamp(5rem, 9vw, 9rem) clamp(1rem, 4vw, 4rem);
  background:
    radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.07), transparent 24rem),
    #030303;
}

.quote-panel {
  width: min(1040px, 100%);
  margin: 0 auto;
  padding: clamp(2rem, 7vw, 6rem) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.quote-mark {
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.48);
  font-family: var(--font-tech);
  font-size: clamp(1rem, 1.8vw, 1.4rem);
  letter-spacing: 0.28em;
}

blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 5.5rem);
  font-weight: 600;
  line-height: 1.02;
  text-wrap: balance;
}

.finale {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(18rem, 0.86fr) minmax(20rem, 0.58fr);
  align-items: end;
  gap: clamp(2rem, 7vw, 7rem);
  overflow: hidden;
  padding: clamp(6rem, 12vw, 11rem) clamp(1rem, 4vw, 4rem);
  background: #040404;
}

.finale__media {
  position: absolute;
  inset: 0;
  opacity: 0.42;
  filter: saturate(0.76) contrast(1.08) brightness(0.58);
}

.finale::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.28)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.9));
}

.finale__content {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
}

.finale__content p:not(.eyebrow) {
  margin-top: 1.3rem;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  margin-top: 2rem;
  padding: 0 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.08);
  color: var(--chalk);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  transition: transform 0.25s ease, background 0.25s ease;
}

.button:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.18);
}

.request-panel {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1rem;
  align-content: start;
  padding: clamp(1.25rem, 3vw, 2.4rem);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.025)),
    rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(18px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 1.5rem 4rem rgba(0, 0, 0, 0.4);
}

.request-panel h3 {
  margin: -0.2rem 0 0.6rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.1vw, 3.4rem);
  font-weight: 600;
  line-height: 1;
  text-wrap: balance;
}

.request-panel label {
  display: grid;
  gap: 0.5rem;
}

.request-panel span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.request-panel input,
.request-panel select {
  width: 100%;
  min-height: 3.2rem;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 0;
  outline: none;
  background: rgba(255, 255, 255, 0.045);
  color: #fff;
  padding: 0 1rem;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.request-panel select {
  color-scheme: dark;
}

.request-panel input:focus,
.request-panel select:focus {
  border-color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.08);
}

.request-panel__submit {
  width: 100%;
  margin-top: 0.3rem;
}

.request-panel__note,
.request-panel__success {
  margin: 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.74rem;
  line-height: 1.55;
}

.request-panel__success {
  display: none;
  color: rgba(255, 255, 255, 0.88);
}

.request-panel.is-sent .request-panel__success {
  display: block;
}

.lead-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.lead-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lead-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(18px);
}

.lead-dialog {
  position: relative;
  width: min(960px, 100%);
  max-height: min(760px, calc(100vh - 2rem));
  overflow: auto;
  display: grid;
  grid-template-columns: minmax(18rem, 0.95fr) minmax(18rem, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  padding: clamp(1.4rem, 4vw, 3.5rem);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 42%),
    #030303;
  box-shadow: 0 2rem 6rem rgba(0, 0, 0, 0.72);
}

.lead-dialog::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.08;
  background: repeating-linear-gradient(
    116deg,
    transparent 0 34px,
    rgba(255, 255, 255, 0.8) 35px 36px,
    transparent 37px 92px
  );
}

.lead-dialog__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 1.45rem;
  line-height: 1;
}

.lead-dialog__intro,
.lead-form {
  position: relative;
  z-index: 1;
}

.lead-dialog__intro h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 4.4vw, 4.65rem);
  font-weight: 600;
  line-height: 1;
  text-wrap: balance;
}

.lead-dialog__intro p:not(.eyebrow) {
  margin: 1.2rem 0 0;
  color: rgba(255, 255, 255, 0.64);
  line-height: 1.8;
}

.lead-form {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.lead-form label {
  display: grid;
  gap: 0.5rem;
}

.lead-form span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.lead-form input,
.lead-form select {
  width: 100%;
  min-height: 3.25rem;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 0;
  outline: none;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  padding: 0 1rem;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.lead-form select {
  color-scheme: dark;
}

.lead-form input:focus,
.lead-form select:focus {
  border-color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.08);
}

.lead-form__submit {
  width: 100%;
  margin-top: 0.5rem;
}

.lead-form__note,
.lead-form__success {
  margin: 0;
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.76rem;
  line-height: 1.55;
}

.lead-form__success {
  display: none;
  color: rgba(255, 255, 255, 0.86);
}

.lead-form.is-sent .lead-form__success {
  display: block;
}

.reveal-up,
.reveal-side {
  opacity: 0;
  transform: translate3d(0, 2rem, 0);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal-side {
  transform: translate3d(2rem, 0, 0);
}

.reveal-up.is-visible,
.reveal-side.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@media (max-width: 980px) {
  .topbar {
    grid-template-columns: 1fr auto;
  }

  .topbar nav {
    display: none;
  }

  .intro__grid,
  .story__layout,
  .finale,
  .metrics,
  .feature-grid,
  .lead-dialog {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .metric {
    min-height: 11rem;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .metric:last-child {
    border-bottom: 0;
  }

  .story__sticky {
    position: relative;
    top: auto;
  }
}

@media (max-width: 720px) {
  .topbar {
    padding: 1rem;
  }

  .topbar__cta {
    display: none;
  }

  .cinema {
    height: 560vh;
  }

  .hero-frame {
    object-position: 50% center;
  }

  .chapter {
    left: 1rem;
    right: 1rem;
    top: 34%;
    max-width: calc(100vw - 2rem);
    text-align: left;
  }

  .chapter--center {
    left: 50%;
    top: 48%;
    text-align: center;
  }

  .chapter--right,
  .chapter--low {
    top: auto;
    bottom: 6.25rem;
    text-align: left;
  }

  .chapter--right::after {
    margin-left: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.75), transparent);
  }

  .chapter h2 {
    font-size: clamp(1.85rem, 9.5vw, 3.55rem);
    line-height: 1.04;
  }

  .hero-copy h1 {
    font-size: clamp(4rem, 22vw, 7rem);
  }

  .progress-rail {
    width: calc(100vw - 2rem);
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .lead-dialog {
    max-height: calc(100vh - 1rem);
    padding-top: 3.4rem;
  }

  .request-panel {
    padding: 1.2rem;
  }
}

@media (max-width: 430px) {
  .hero-copy h1 {
    font-size: clamp(3.15rem, 19vw, 4.4rem);
    letter-spacing: 0.04em;
  }

  .chapter h2 {
    font-size: clamp(1.75rem, 10vw, 2.8rem);
  }

  .metric strong {
    font-size: clamp(2.4rem, 16vw, 4rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
