:root {
  color-scheme: dark;
  --ink: #fff8ee;
  --muted: rgba(255, 248, 238, 0.74);
  --soft: rgba(255, 248, 238, 0.12);
  --gold: #d7aa55;
  --sand: #d9c19d;
  --coral: #c46a57;
  --ocean: #062b36;
  --evening: #07080a;
  --display: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --body: "Avenir Next", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  background:
    linear-gradient(180deg, #07080a 0%, #08232c 36%, #11100d 64%, #07080a 100%);
  color: var(--ink);
  font-family: var(--body);
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  background:
    linear-gradient(90deg, rgba(255, 248, 238, 0.055) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 248, 238, 0.035) 1px, transparent 1px);
  background-size: 96px 96px;
  content: "";
  inset: 0;
  opacity: 0.34;
  pointer-events: none;
  position: fixed;
  z-index: 10;
}

a {
  color: inherit;
}

img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.site-header {
  align-items: center;
  display: flex;
  gap: 22px;
  justify-content: space-between;
  left: 0;
  padding: 24px 32px;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 20;
}

.brand-wordmark,
.header-note,
.eyebrow,
.section-kicker {
  font-family: var(--body);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand-wordmark {
  color: var(--ink);
  text-decoration: none;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.62);
}

.header-note {
  color: rgba(255, 248, 238, 0.7);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  justify-content: center;
}

.social-links a {
  color: rgba(255, 248, 238, 0.78);
  font: 800 0.76rem / 1 var(--body);
  letter-spacing: 0;
  text-decoration: none;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.62);
  text-transform: uppercase;
}

.social-links a:hover {
  color: var(--ink);
}

.site-credit {
  bottom: 18px;
  color: rgba(255, 248, 238, 0.58);
  font: 0.72rem / 1 var(--body);
  left: 24px;
  position: fixed;
  z-index: 20;
}

.site-credit a {
  text-decoration-color: rgba(255, 248, 238, 0.3);
  text-underline-offset: 4px;
}

.site-credit a:hover {
  color: var(--ink);
}

.hero {
  display: grid;
  min-height: 100vh;
  overflow: hidden;
  padding: 96px 28px 56px;
  place-items: center;
  position: relative;
}

.hero::after,
.closing::after,
.panorama::after {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.62), transparent 26%, transparent 74%, rgba(0, 0, 0, 0.54)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.64), transparent 30%, rgba(0, 0, 0, 0.76));
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.hero-film {
  inset: 0;
  position: absolute;
}

.film-frame {
  animation: film-fade 24s ease-in-out infinite;
  filter: saturate(1.05) contrast(1.06);
  inset: 0;
  opacity: 0;
  position: absolute;
  transform: scale(1.08);
}

.frame-one {
  animation-delay: 0s;
  object-position: center center;
}

.frame-two {
  animation-delay: 8s;
  object-position: center center;
}

.frame-three {
  animation-delay: 16s;
  object-position: center center;
}

.hero-copy {
  max-width: 920px;
  position: relative;
  text-align: center;
  text-shadow: 0 5px 30px rgba(0, 0, 0, 0.72);
  z-index: 2;
}

.hero-copy::before {
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.58), transparent 68%);
  content: "";
  filter: blur(14px);
  inset: -86px -118px -78px;
  position: absolute;
  z-index: -1;
}

.eyebrow,
.section-kicker {
  color: var(--gold);
  margin: 0 0 18px;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 650;
  letter-spacing: 0;
}

h1 {
  font-size: 6.9rem;
  line-height: 0.86;
}

.hero-subtitle {
  color: var(--muted);
  font-size: 1.35rem;
  line-height: 1.6;
  margin: 32px auto 0;
  max-width: 610px;
}

.scene {
  align-items: center;
  display: grid;
  gap: 6vw;
  grid-template-columns: minmax(320px, 0.9fr) minmax(320px, 0.75fr);
  min-height: 100vh;
  padding: 120px max(28px, calc((100vw - 1180px) / 2));
  position: relative;
}

.scene-media {
  aspect-ratio: 4 / 5;
  border: 1px solid var(--soft);
  box-shadow: 0 30px 110px rgba(0, 0, 0, 0.42);
  max-height: 720px;
  overflow: hidden;
}

.scene-media img {
  animation: slow-drift 16s ease-in-out infinite alternate;
  filter: saturate(1.07) contrast(1.05);
  transform: scale(1.08);
}

.scene-copy {
  max-width: 540px;
}

.scene-copy h2,
.panorama-copy h2,
.closing-copy h2 {
  font-size: 4.2rem;
  line-height: 0.98;
}

.scene-copy p,
.closing-copy p {
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.75;
  margin-top: 28px;
}

.panorama {
  min-height: 86vh;
  overflow: hidden;
  position: relative;
}

.panorama > img {
  animation: panorama-drift 22s ease-in-out infinite alternate;
  filter: saturate(1.08) contrast(1.05) brightness(0.86);
  inset: 0;
  position: absolute;
  transform: scale(1.08);
}

.panorama-copy {
  bottom: 12vh;
  left: max(28px, calc((100vw - 1180px) / 2));
  max-width: 760px;
  position: absolute;
  right: 28px;
  text-shadow: 0 5px 24px rgba(0, 0, 0, 0.8);
  z-index: 2;
}

.experience-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 140px max(28px, calc((100vw - 1280px) / 2));
}

.experience {
  min-height: 620px;
  overflow: hidden;
  position: relative;
}

.experience::after {
  background:
    linear-gradient(180deg, transparent 22%, rgba(0, 0, 0, 0.74)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.28), transparent);
  content: "";
  inset: 0;
  position: absolute;
}

.experience img {
  filter: saturate(1.05) contrast(1.04);
  transform: scale(1.04);
  transition: transform 1200ms ease, filter 1200ms ease;
}

.experience:hover img {
  filter: saturate(1.14) contrast(1.08);
  transform: scale(1.08);
}

.experience div {
  bottom: 0;
  left: 0;
  padding: 28px;
  position: absolute;
  right: 0;
  z-index: 2;
}

.experience h3 {
  font-size: 2.2rem;
  line-height: 1.04;
}

.closing {
  display: grid;
  min-height: 100vh;
  overflow: hidden;
  padding: 120px 28px;
  place-items: center;
  position: relative;
}

.closing-backdrop {
  inset: 0;
  position: absolute;
}

.closing-backdrop img {
  animation: slow-drift 18s ease-in-out infinite alternate;
  filter: saturate(1.05) contrast(1.08) brightness(0.74);
  transform: scale(1.08);
}

.closing-copy {
  max-width: 760px;
  position: relative;
  text-align: center;
  text-shadow: 0 5px 30px rgba(0, 0, 0, 0.78);
  z-index: 2;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 900ms ease, transform 900ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes film-fade {
  0% {
    opacity: 0;
    transform: scale(1.08) translate3d(-1.4%, -0.8%, 0);
  }

  10%,
  34% {
    opacity: 1;
  }

  44%,
  100% {
    opacity: 0;
    transform: scale(1.14) translate3d(1.4%, 0.8%, 0);
  }
}

@keyframes slow-drift {
  from {
    transform: scale(1.08) translate3d(-1.1%, -0.8%, 0);
  }

  to {
    transform: scale(1.12) translate3d(1.1%, 0.8%, 0);
  }
}

@keyframes panorama-drift {
  from {
    transform: scale(1.08) translate3d(-1.8%, 0, 0);
  }

  to {
    transform: scale(1.14) translate3d(1.8%, 0, 0);
  }
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 18px 20px;
  }

  h1 {
    font-size: 4.8rem;
  }

  .hero-subtitle {
    font-size: 1.16rem;
  }

  .scene {
    gap: 44px;
    grid-template-columns: 1fr;
    padding: 96px 24px;
  }

  .scene-media {
    aspect-ratio: 16 / 11;
    max-height: none;
  }

  .scene-copy h2,
  .panorama-copy h2,
  .closing-copy h2 {
    font-size: 3.15rem;
  }

  .experience-grid {
    grid-template-columns: 1fr;
    padding: 96px 24px;
  }

  .experience {
    min-height: 480px;
  }
}

@media (max-width: 560px) {
  .header-note {
    display: none;
  }

  .social-links {
    gap: 9px 13px;
    justify-content: flex-start;
  }

  .social-links a {
    font-size: 0.68rem;
  }

  .site-credit {
    bottom: 10px;
    left: 18px;
  }

  .brand-wordmark,
  .eyebrow,
  .section-kicker {
    font-size: 0.72rem;
  }

  .hero {
    padding: 82px 18px 44px;
  }

  h1 {
    font-size: 3.3rem;
  }

  .hero-subtitle {
    font-size: 1.03rem;
    margin-top: 24px;
  }

  .scene-copy h2,
  .panorama-copy h2,
  .closing-copy h2 {
    font-size: 2.45rem;
  }

  .scene-copy p,
  .closing-copy p {
    font-size: 1rem;
  }

  .panorama-copy {
    bottom: 10vh;
    left: 20px;
    right: 20px;
  }

  .experience div {
    padding: 22px;
  }

  .experience h3 {
    font-size: 1.8rem;
  }
}

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

  .film-frame,
  .scene-media img,
  .panorama > img,
  .closing-backdrop img {
    animation: none;
  }

  .frame-one {
    opacity: 1;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
