:root {
  --landing-night: #080909;
  --landing-carbon: #111315;
  --landing-steel: #2B3034;
  --landing-concrete: #A8ADB0;
  --landing-paper: #F4F2EC;
  --landing-amber: #FF9B3D;
  --landing-blue: #2878FF;
  --landing-iridescent: linear-gradient(120deg, #79D8C4, #8B76D8);
  --landing-line: rgba(168, 173, 176, .2);
  --landing-shadow: 0 28px 80px rgba(0, 0, 0, .32);
}

* { box-sizing: border-box; }

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--landing-paper);
  background: var(--landing-night);
  font-family: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

main { overflow: clip; }
a { color: inherit; }
img { max-width: 100%; }

.landing-shell {
  width: min(1500px, 100%);
  margin: 0 auto;
  padding-right: clamp(24px, 4vw, 64px);
  padding-left: clamp(24px, 4vw, 64px);
}

.landing-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 100svh;
  align-items: end;
  overflow: hidden;
  padding: clamp(128px, 15vh, 180px) 0 clamp(52px, 8vh, 88px);
  border-bottom: 1px solid var(--landing-line);
  background: #07101a;
}

.hero-media,
.hero-poster,
.hero-poster img,
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media { z-index: -2; background: #07101a; }
.hero-poster { display: block; }
.hero-poster img,
.hero-video { display: block; object-fit: cover; object-position: center; }

.hero-video {
  z-index: 1;
  opacity: 0;
  transition: opacity .8s ease;
}

.hero-video.is-playing { opacity: 1; }

.motion-control {
  display: inline-flex;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border: 1px solid rgba(244, 242, 236, .55);
  border-radius: 2px;
  color: var(--landing-paper);
  background: rgba(8, 9, 9, .72);
  font: 700 .7rem/1 "Archivo", sans-serif;
  letter-spacing: .07em;
  text-transform: uppercase;
  cursor: pointer;
  backdrop-filter: blur(8px);
}

.motion-control[hidden] { display: none; }

.hero-motion-control {
  position: absolute;
  z-index: 3;
  top: 94px;
  right: clamp(24px, 4vw, 64px);
}

.flock-motion-control { margin-top: 24px; }

.landing-hero::before,
.landing-hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
}

.landing-hero::before {
  background:
    linear-gradient(90deg, rgba(8, 9, 9, .93) 0%, rgba(8, 9, 9, .76) 28%, rgba(8, 9, 9, .1) 62%),
    linear-gradient(0deg, rgba(8, 9, 9, .94) 0%, rgba(8, 9, 9, .24) 42%, rgba(8, 9, 9, .18) 100%);
}

.landing-hero::after {
  background: radial-gradient(circle at 56% 56%, rgba(40, 120, 255, .12), transparent 38%);
  mix-blend-mode: screen;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 1500px;
}

.hero-copy > * { max-width: 680px; }

.eyebrow,
.section-index {
  margin: 0;
  color: var(--landing-amber);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  text-transform: uppercase;
}

h1 {
  margin: 20px 0 24px;
  font-size: clamp(4.8rem, 8.5vw, 9rem);
  font-weight: 600;
  line-height: .82;
  letter-spacing: -.045em;
  text-wrap: balance;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(3.2rem, 6vw, 6.5rem);
  font-weight: 600;
  line-height: .84;
  letter-spacing: -.035em;
  text-wrap: balance;
}

h3 {
  margin-bottom: 14px;
  font-size: clamp(1.8rem, 2.6vw, 2.35rem);
  font-weight: 600;
  line-height: .92;
  letter-spacing: -.015em;
}

.hero-intro {
  margin-bottom: 32px;
  color: #d2d5d4;
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  line-height: 1.55;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.action,
.landing-card a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-decoration: none;
  text-transform: uppercase;
}

.action { border: 1px solid transparent; transition: color .18s ease, background-color .18s ease, border-color .18s ease, transform .18s ease; }
.action-primary { color: var(--landing-night); background: var(--landing-paper); }
.action-secondary { border-color: rgba(244, 242, 236, .52); color: var(--landing-paper); background: rgba(8, 9, 9, .24); }

.scroll-invitation {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 12px;
  margin-top: clamp(24px, 5vh, 52px);
  color: #d2d5d4;
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-underline-offset: 5px;
  text-transform: uppercase;
}

.scroll-invitation span { color: var(--landing-amber); animation: invitation-drift 1.8s ease-in-out infinite; }

@keyframes invitation-drift {
  50% { transform: translateY(4px); }
}

.landing-section {
  position: relative;
  padding: clamp(84px, 10vw, 156px) 0;
  border-bottom: 1px solid var(--landing-line);
}

.flock-section,
.collection-section,
.community-section { background: var(--landing-carbon); }

.section-heading {
  display: grid;
  grid-template-columns: minmax(170px, .32fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
  margin-bottom: clamp(36px, 5vw, 64px);
}

.section-heading > div > p,
.story-copy > p,
.mission-layout > div > p,
.community-layout p {
  max-width: 600px;
  margin-bottom: 0;
  color: var(--landing-concrete);
  font-size: clamp(.98rem, 1.25vw, 1.12rem);
  line-height: 1.72;
}

.landing-rail {
  display: grid;
  grid-auto-columns: minmax(270px, 23vw);
  grid-auto-flow: column;
  gap: 18px;
  margin: 0 calc(clamp(24px, 4vw, 64px) * -1) 32px 0;
  padding: 0 clamp(24px, 4vw, 64px) 14px 0;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-padding-inline: 0 clamp(24px, 4vw, 64px);
  scroll-snap-type: x mandatory;
  scrollbar-color: var(--landing-amber) var(--landing-steel);
  scrollbar-width: thin;
}

.landing-rail.is-auto-moving { scroll-snap-type: none; }

.landing-rail::-webkit-scrollbar { height: 5px; }
.landing-rail::-webkit-scrollbar-track { background: var(--landing-steel); }
.landing-rail::-webkit-scrollbar-thumb { background: var(--landing-amber); }

.landing-card {
  position: relative;
  min-width: 0;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--landing-line);
  background: #0e1012;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.landing-rail .landing-card { scroll-snap-align: start; }
.landing-card p { margin-bottom: 0; color: var(--landing-concrete); line-height: 1.65; }

.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  color: var(--landing-paper);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-underline-offset: 5px;
  text-transform: uppercase;
}

.pigeon-card { padding: 0; overflow: hidden; }
.pigeon-card-link { display: block; color: inherit; text-decoration: none; }

.pigeon-card-image,
.story-image {
  display: block;
  width: 100%;
  object-fit: cover;
  background: var(--landing-steel);
}

.pigeon-card-image { aspect-ratio: 1; transition: transform .45s ease; }
.pigeon-card-details { padding: 22px; }
.pigeon-card h3 { margin-bottom: 10px; font-size: 1.65rem; }

.pigeon-card-identity,
.story-identity {
  color: var(--landing-amber) !important;
  font-size: .72rem !important;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.story-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 18%, rgba(139, 118, 216, .13), transparent 28rem),
    linear-gradient(135deg, var(--landing-carbon), var(--landing-night) 68%);
}

.story-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, .72fr);
  gap: clamp(42px, 8vw, 120px);
  align-items: end;
}

.story-image {
  aspect-ratio: 1;
  margin-top: 32px;
  border: 1px solid var(--landing-line);
  box-shadow: var(--landing-shadow);
}

.story-copy { padding-bottom: clamp(0px, 4vw, 64px); }
.story-copy .text-link { margin-top: 30px; }

.explore-section { background: var(--landing-night); }
.explore-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.explore-grid .landing-card { display: flex; min-height: 280px; flex-direction: column; }
.explore-grid .landing-card:first-child,
.explore-grid .landing-card:last-child { grid-column: span 2; }

.explore-grid .landing-card::before {
  width: 38px;
  height: 3px;
  margin-bottom: 40px;
  background: var(--landing-iridescent);
  content: "";
}

.explore-grid .landing-card a {
  width: fit-content;
  margin-top: auto;
  padding: 18px 0 0;
  color: var(--landing-amber);
  justify-content: flex-start;
}

.landing-card-status { border-color: rgba(255, 155, 61, .5); }

.availability-panel {
  margin-top: 36px;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--landing-line);
  border-left: 3px solid var(--landing-amber);
  background: var(--landing-carbon);
}

.availability-panel h3 { margin: 12px 0 14px; }
.availability-panel p:last-child { max-width: 700px; margin-bottom: 0; color: var(--landing-concrete); line-height: 1.7; }

.mission-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 25%, rgba(121, 216, 196, .1), transparent 27rem),
    var(--landing-night);
}

.mission-layout {
  display: grid;
  grid-template-columns: minmax(170px, .32fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 80px);
}

.city-filmstrip {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
  margin-top: clamp(34px, 7vw, 88px);
}

.city-filmstrip figure {
  grid-column: span 6;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--landing-line);
  background: var(--landing-carbon);
}

.city-filmstrip figure:last-child { grid-column: 3 / 11; }
.city-filmstrip img { display: block; width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .7s ease; }

.collection-section .action { margin-top: 6px; }

.community-layout {
  display: grid;
  grid-template-columns: minmax(220px, .7fr) minmax(0, 1fr);
  gap: clamp(34px, 8vw, 120px);
}

.community-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.community-links a { display: grid; width: 46px; min-height: 46px; place-items: center; border: 1px solid var(--landing-line); transition: border-color .18s ease, background-color .18s ease, transform .18s ease; }
.community-links img { width: 18px; height: 18px; filter: invert(1); opacity: .82; }

.landing-footer-fallback {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  width: min(1500px, 100%);
  min-height: 78px;
  margin: 0 auto;
  padding: 30px clamp(24px, 4vw, 64px);
  color: var(--landing-concrete);
  font-size: .72rem;
  text-transform: uppercase;
}

:where(a, button, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--landing-amber);
  outline-offset: 4px;
}

@media (hover: hover) {
  .action-primary:hover { color: var(--landing-paper); background: var(--landing-blue); transform: translateY(-2px); }
  .action-secondary:hover { border-color: var(--landing-paper); background: rgba(244, 242, 236, .1); transform: translateY(-2px); }
  .landing-card:hover,
  .landing-card:focus-within { border-color: rgba(244, 242, 236, .44); background: #141719; box-shadow: var(--landing-shadow); transform: translateY(-4px); }
  .pigeon-card:hover .pigeon-card-image,
  .pigeon-card:focus-within .pigeon-card-image,
  .city-filmstrip figure:hover img { transform: scale(1.025); }
  .community-links a:hover { border-color: var(--landing-amber); background: #191c1e; transform: translateY(-2px); }
  .motion-control:hover { border-color: var(--landing-amber); background: rgba(17, 19, 21, .9); }
}

@media (max-width: 980px) {
  .landing-hero::before {
    background:
      linear-gradient(90deg, rgba(8, 9, 9, .86), rgba(8, 9, 9, .16) 72%),
      linear-gradient(0deg, rgba(8, 9, 9, .94), rgba(8, 9, 9, .18) 62%);
  }
  .section-heading,
  .mission-layout { grid-template-columns: minmax(140px, .3fr) minmax(0, 1fr); }
  .story-layout { grid-template-columns: minmax(0, 1fr) minmax(280px, .85fr); gap: 44px; }
  .explore-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .explore-grid .landing-card:first-child,
  .explore-grid .landing-card:last-child { grid-column: auto; }
}

@media (max-width: 760px) {
  .section-heading,
  .story-layout,
  .mission-layout,
  .community-layout { grid-template-columns: 1fr; }
  .story-copy { padding-bottom: 0; }
  .explore-grid { grid-template-columns: 1fr; }
  .explore-grid .landing-card { min-height: 240px; }
  .city-filmstrip { grid-template-columns: 1fr; }
  .city-filmstrip figure,
  .city-filmstrip figure:last-child { grid-column: auto; }
}

@media (max-width: 560px) {
  html { scroll-padding-top: 76px; }
  .landing-shell { padding-right: 18px; padding-left: 18px; }
  .landing-hero { min-height: 100svh; padding: 104px 0 28px; }
  .hero-poster img,
  .hero-video { object-position: center; }
  .landing-hero::before {
    background:
      linear-gradient(0deg, rgba(8, 9, 9, .97) 0%, rgba(8, 9, 9, .86) 34%, rgba(8, 9, 9, .14) 68%),
      linear-gradient(90deg, rgba(8, 9, 9, .56), rgba(8, 9, 9, .04));
  }
  .hero-copy > * { max-width: 100%; }
  h1 { margin: 14px 0 16px; font-size: clamp(3.7rem, 18vw, 5.5rem); }
  h2 { font-size: clamp(3rem, 15vw, 4.8rem); }
  .hero-intro { margin-bottom: 20px; font-size: 1rem; }
  .hero-actions { display: grid; gap: 10px; }
  .hero-actions .action { width: 100%; }
  .scroll-invitation { margin-top: 14px; }
  .hero-motion-control { top: 80px; right: 18px; }
  .landing-section { padding: 76px 0; }
  .landing-rail {
    grid-auto-columns: minmax(245px, 82vw);
    margin-right: -18px;
    padding-right: 18px;
    scroll-padding-right: 18px;
  }
  .landing-card { padding: 24px; }
  .pigeon-card { padding: 0; }
  .explore-grid .landing-card { min-height: 220px; }
  .city-filmstrip { gap: 12px; margin-top: 34px; }
  .landing-footer-fallback { padding-right: 18px; padding-left: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-video { display: none; }
  .scroll-invitation span { animation: none; }
  .action,
  .hero-video,
  .landing-card,
  .pigeon-card-image,
  .city-filmstrip img,
  .community-links a { transition: none; }
  .hero-motion-control,
  .flock-motion-control { display: none; }
}
