:root {
  --black: #000;
  --deep: #080808;
  --graphite: #151515;
  --graphite-light: #1e1e1e;
  --silver-dark: #777;
  --silver: #bfc0c2;
  --silver-bright: #e8e8e8;
  --white: #fff;

  --condensed: "Barlow Condensed", "Bahnschrift", "Arial Narrow", sans-serif;
  --sans: "Barlow", "Bahnschrift", system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --gutter: clamp(20px, 6vw, 120px);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--black);
  color: var(--silver-bright);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

::selection {
  background: var(--silver-bright);
  color: var(--black);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 56px;
  padding: 0 30px;
  border-radius: 999px;
  background: var(--silver-bright);
  color: var(--black);
  font-weight: 600;
  font-size: 18px;
  text-decoration: none;
  transition: background 0.15s, transform 0.15s;
}

.btn:hover {
  background: var(--white);
}

.btn:active {
  transform: scale(0.98);
}

.btn svg {
  width: 18px;
  height: 18px;
}

.btn-small {
  height: 42px;
  padding: 0 20px;
  font-size: 15px;
}

.btn:focus-visible,
.link:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 4px;
}

.link {
  color: var(--silver);
  text-decoration: none;
  transition: color 0.15s;
}

.link:hover {
  color: var(--white);
}

.logo {
  font-family: var(--condensed);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: 6px;
  text-decoration: none;
  color: var(--white);
}

header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--gutter);
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--graphite);
}

nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 15px;
}

h1,
h2,
h3 {
  font-family: var(--condensed);
  text-transform: uppercase;
  color: var(--white);
}

h1 em,
h2 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  color: var(--silver-bright);
}

.eyebrow {
  font-family: var(--condensed);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--silver-dark);
}

.hero {
  display: grid;
  padding: 0;
  grid-template-columns: 1fr 1fr;
  height: clamp(640px, calc(100vh - 79px), 920px);
  overflow: hidden;
  border-bottom: 1px solid var(--graphite);
}

.hero-text {
  align-self: center;
  padding: clamp(56px, 10vh, 120px) 0 72px var(--gutter);
}

.hero .eyebrow {
  font-size: 16px;
  color: var(--silver);
}

h1 {
  margin-top: 26px;
  font-size: clamp(86px, 11vw, 196px);
  line-height: 0.84;
  letter-spacing: -1px;
}

h1 em {
  display: block;
  font-size: 1.04em;
  line-height: 0.9;
}

.intro {
  margin-top: 32px;
  max-width: 34ch;
  font-size: clamp(20px, 1.6vw, 25px);
  line-height: 1.4;
  color: var(--silver);
}

.intro strong {
  font-weight: 500;
  color: var(--white);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 28px;
  margin-top: 40px;
}

.details {
  font-family: var(--condensed);
  font-size: 17px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--silver-dark);
}

.details span + span::before {
  content: "/";
  margin: 0 10px;
  color: var(--graphite-light);
}

.reel {
  display: flex;
  justify-content: center;
  gap: 22px;
  height: 100%;
  padding-left: 24px;
  overflow: hidden;
  mask-image: linear-gradient(transparent, #000 12%, #000 88%, transparent);
}

.reel-column {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: min(300px, 19vw);
  animation: scroll-up 60s linear infinite;
}

.reel-column.reverse {
  animation-name: scroll-down;
}

.reel img,
.gallery img {
  width: 100%;
  aspect-ratio: 720 / 1452;
  object-fit: cover;
  border-radius: 22px;
  outline: 1px solid var(--graphite-light);
  background: var(--deep);
}

@keyframes scroll-up {
  from { transform: translateY(0); }
  to { transform: translateY(-50%); }
}

@keyframes scroll-down {
  from { transform: translateY(-50%); }
  to { transform: translateY(0); }
}

section {
  padding: clamp(64px, 8vw, 120px) var(--gutter);
  border-bottom: 1px solid var(--graphite);
  scroll-margin-top: 80px;
}

h2 {
  margin-top: 14px;
  font-size: clamp(52px, 6.4vw, 104px);
  line-height: 0.9;
}

.two-col {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 48px 8vw;
  align-items: start;
}

.screens-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
}

.screens-header p {
  max-width: 36ch;
  color: var(--silver-dark);
}

.gallery {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 1fr);
  gap: 24px;
  margin: 48px calc(var(--gutter) * -1) 0;
  padding: 10px var(--gutter) 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.gallery::-webkit-scrollbar {
  display: none;
}

.gallery figure {
  scroll-snap-align: start;
}

.gallery img {
  transition: transform 0.2s;
}

.gallery figure:hover img {
  transform: scale(1.025);
  outline: 3px solid var(--silver-bright);
  outline-offset: 4px;
}

figcaption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  font-size: 15px;
  color: var(--silver-dark);
}

figcaption b {
  font-family: var(--condensed);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--silver-bright);
}

.about {
  position: sticky;
  top: 120px;
}

.about p {
  margin-top: 24px;
  max-width: 34ch;
  color: var(--silver);
}

.features {
  border-top: 1px solid var(--graphite-light);
}

.features div {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 8px 32px;
  padding: 30px 0;
  border-bottom: 1px solid var(--graphite-light);
}

.features dt {
  font-family: var(--condensed);
  font-weight: 600;
  font-size: 30px;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--white);
}

.features dd {
  max-width: 46ch;
  color: var(--silver);
}

.badge {
  display: inline-block;
  margin-left: 8px;
  padding: 3px 8px;
  border: 1px solid var(--silver-dark);
  border-radius: 6px;
  vertical-align: 6px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--silver);
}

.steps {
  list-style: none;
  counter-reset: step;
  border-top: 1px solid var(--graphite-light);
}

.steps li {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 24px;
  padding: 34px 0;
  border-bottom: 1px solid var(--graphite-light);
  counter-increment: step;
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--condensed);
  font-weight: 500;
  font-size: 44px;
  line-height: 1;
  color: var(--silver-dark);
}

.steps h3 {
  font-weight: 600;
  font-size: 30px;
  line-height: 1.1;
}

.steps p {
  margin-top: 10px;
  max-width: 48ch;
  color: var(--silver);
}

.steps .btn {
  margin-top: 20px;
}

.note {
  margin-top: 28px;
  max-width: 60ch;
  font-size: 15px;
  color: var(--silver-dark);
}

.closing {
  padding: clamp(80px, 10vw, 150px) var(--gutter);
}

.closing h2 {
  font-size: clamp(64px, 9vw, 160px);
}

.closing h2 em {
  display: block;
}

.closing .actions {
  margin-top: 48px;
}

footer {
  padding: 40px var(--gutter) 48px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.footer-top .logo {
  font-size: 22px;
}

.credits {
  margin-top: 28px;
  max-width: 80ch;
  font-size: 13px;
  color: #555;
}

@media (max-width: 900px) {
  .hide-mobile {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    height: auto;
  }

  .hero-text {
    padding: 56px var(--gutter) 40px;
  }

  .reel {
    height: 520px;
    padding: 0;
  }

  .reel-column {
    width: 44vw;
  }

  .two-col {
    grid-template-columns: 1fr;
  }

  .about {
    position: static;
  }

  .features div {
    grid-template-columns: 1fr;
  }

  .steps li {
    grid-template-columns: 56px 1fr;
    gap: 16px;
  }

  .steps li::before {
    font-size: 32px;
  }

  .gallery {
    grid-auto-columns: 70vw;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reel-column {
    animation: none;
  }

  .gallery img {
    transition: none;
  }

  .gallery figure:hover img {
    transform: none;
  }
}
