@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/manrope-400.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/manrope-600.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --acid: #caff87;
  --ink: #111411;
  --paper: #f0f0e9;
  --white: #f7f7f2;
  --hairline: rgba(255, 255, 255, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
  background: var(--ink);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--white);
  background: var(--ink);
  font-family: "Manrope", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 22px clamp(22px, 4vw, 64px);
  mix-blend-mode: difference;
  color: #fff;
  pointer-events: none;
}

.site-header a {
  pointer-events: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.2);
}

.brand-name {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.header-cta,
.scene-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid currentColor;
  padding: 9px 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.13em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}

.header-cta svg,
.scene-link svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
  transition: transform 250ms ease;
}

.header-cta:hover svg,
.scene-link:hover svg {
  transform: translateX(5px);
}

.film {
  position: relative;
  height: 720vh;
  background: #161a17;
}

.film-sticky {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  isolation: isolate;
}

#film-canvas {
  position: absolute;
  z-index: -3;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  background: #c7d5dd;
}

.film-shade {
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 10, 8, 0.42) 0%, transparent 25%, transparent 62%, rgba(8, 10, 8, 0.5) 100%),
    radial-gradient(circle at center, rgba(0, 0, 0, 0.05) 20%, rgba(0, 0, 0, 0.3) 100%);
  pointer-events: none;
}

.film::after {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 1px;
  height: 64px;
  background: var(--white);
  content: "";
  transform: translateX(-50%);
}

.loader {
  position: absolute;
  z-index: 20;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 18px;
  background: var(--ink);
  color: var(--white);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-align: center;
  text-transform: uppercase;
  transition: opacity 650ms ease, visibility 650ms ease;
}

.loader.is-ready {
  visibility: hidden;
  opacity: 0;
}

.loader-mark {
  width: 40px;
  height: 40px;
  margin: auto;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  animation: spin 1.2s linear infinite;
}

.loader-mark span {
  display: block;
  width: 7px;
  height: 7px;
  margin: -4px auto 0;
  border-radius: 50%;
  background: var(--acid);
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.eyebrow {
  position: absolute;
  top: 100px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.eyebrow-line {
  width: 32px;
  height: 1px;
  background: var(--hairline);
}

.scenes {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 100px clamp(20px, 7vw, 120px);
  text-align: center;
}

.scene {
  position: absolute;
  display: flex;
  align-items: center;
  flex-direction: column;
  max-width: 1000px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(32px);
  transition: opacity 180ms ease, transform 460ms cubic-bezier(.2,.7,.2,1), visibility 180ms ease;
  pointer-events: none;
}

.scene.is-active {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  transition-delay: 150ms;
  pointer-events: auto;
}

.scene-kicker,
.scene-meta {
  margin: 0;
  text-transform: uppercase;
}

.scene-kicker {
  margin-bottom: clamp(18px, 3vh, 30px);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.24em;
}

.scene-kicker::before {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin: 0 10px 1px 0;
  border-radius: 50%;
  background: var(--acid);
  content: "";
}

.scene h1,
.scene h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(58px, 9.5vw, 150px);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.82;
  text-wrap: balance;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.28);
}

.scene h2 {
  font-size: clamp(46px, 7.6vw, 116px);
}

.scene h1 em,
.scene h2 em {
  color: var(--acid);
  font-weight: 400;
}

.scene-meta {
  margin-top: clamp(24px, 4vh, 42px);
  font-size: clamp(10px, 1vw, 13px);
  letter-spacing: 0.16em;
  line-height: 1.8;
}

.scene-link {
  margin-top: 38px;
  color: var(--white);
}

.scroll-cue {
  position: absolute;
  bottom: 42px;
  left: 50%;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 12px;
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transform: translateX(-50%);
  transition: opacity 300ms ease;
}

.scroll-cue i {
  position: relative;
  width: 1px;
  height: 34px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.3);
}

.scroll-cue i::after {
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  content: "";
  animation: scroll-line 1.8s ease-in-out infinite;
}

@keyframes scroll-line {
  0% { transform: translateY(0); }
  70%, 100% { transform: translateY(200%); }
}

.progress {
  position: absolute;
  right: clamp(22px, 4vw, 64px);
  bottom: 46px;
  display: flex;
  align-items: center;
  gap: 9px;
}

.progress-number {
  min-width: 16px;
  font-size: 9px;
  letter-spacing: 0.12em;
}

.progress-track {
  display: block;
  width: clamp(70px, 9vw, 130px);
  height: 1px;
  background: var(--hairline);
}

.progress-track i {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--acid);
  transform: scaleX(0);
  transform-origin: left;
}

.summary {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  padding: clamp(96px, 14vw, 190px) clamp(24px, 7vw, 110px) 48px;
  color: var(--ink);
  background: var(--paper);
}

.summary-intro {
  display: grid;
  grid-template-columns: minmax(130px, 0.65fr) minmax(300px, 2fr) minmax(230px, 0.8fr);
  gap: 4vw;
  align-items: start;
  padding-bottom: clamp(70px, 10vw, 140px);
}

.summary-kicker,
.summary-intro > p {
  margin: 0;
  font-size: 10px;
  letter-spacing: 0.13em;
  line-height: 1.8;
  text-transform: uppercase;
}

.summary-intro h2 {
  max-width: 900px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(44px, 6.5vw, 100px);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.93;
}

.property-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  border-top: 1px solid rgba(17, 20, 17, 0.25);
}

.property-grid div {
  min-height: 210px;
  padding: 24px 20px;
  border-right: 1px solid rgba(17, 20, 17, 0.25);
}

.property-grid div:first-child {
  padding-left: 0;
}

.property-grid div:last-child {
  border-right: 0;
}

.property-grid dt {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(52px, 6vw, 92px);
  letter-spacing: -0.05em;
}

.property-grid dd {
  margin: 36px 0 0;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.summary-footer {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 80px;
  padding-top: 28px;
  border-top: 1px solid rgba(17, 20, 17, 0.25);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.summary-footer img {
  border-radius: 50%;
}

.summary-footer p {
  margin: 0;
}

.summary-footer a {
  margin-left: auto;
  text-underline-offset: 5px;
}

.noscript {
  position: fixed;
  z-index: 100;
  bottom: 0;
  width: 100%;
  padding: 14px;
  color: #111;
  background: var(--acid);
  text-align: center;
}

@media (max-width: 760px) {
  .site-header {
    padding: 18px 20px;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .brand-name {
    display: none;
  }

  .film {
    height: 620vh;
  }

  .eyebrow {
    top: 82px;
    white-space: nowrap;
  }

  .scenes {
    padding-inline: 22px;
  }

  .scene h1,
  .scene h2 {
    line-height: 0.9;
  }

  .scene-meta {
    max-width: 340px;
  }

  .scroll-cue {
    bottom: 28px;
  }

  .scroll-cue span {
    display: none;
  }

  .progress {
    right: 20px;
    bottom: 29px;
  }

  .progress-track {
    width: 64px;
  }

  .summary {
    padding-inline: 22px;
  }

  .summary-intro {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .summary-intro > p {
    max-width: 320px;
  }

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

  .property-grid div {
    min-height: 170px;
    padding: 20px 14px;
    border-bottom: 1px solid rgba(17, 20, 17, 0.25);
  }

  .property-grid div:first-child {
    padding-left: 0;
  }

  .property-grid div:nth-child(2) {
    border-right: 0;
  }

  .property-grid div:nth-child(3) {
    padding-left: 0;
  }

  .property-grid dd {
    margin-top: 24px;
    line-height: 1.5;
  }

  .summary-footer {
    flex-wrap: wrap;
  }

  .summary-footer a {
    width: 100%;
    margin: 8px 0 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
