:root {
  --ash-950: #12140f;
  --ash-900: #1a1d16;
  --ash-800: #262b20;
  --ash-700: #3a4232;
  --mist: #c8cfc0;
  --mist-dim: #9aa38c;
  --copper: #c47a3a;
  --copper-hot: #e09a52;
  --bone: #ebe6d8;
  --ink: #0e100c;
  --font-display: "Syne", sans-serif;
  --font-body: "Instrument Serif", Georgia, serif;
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--bone);
  background:
    radial-gradient(120% 80% at 70% 10%, #2a3224 0%, transparent 55%),
    radial-gradient(90% 60% at 10% 90%, #3a2a18 0%, transparent 50%),
    linear-gradient(165deg, #1c2118 0%, var(--ash-950) 45%, #17140f 100%);
  background-attachment: fixed;
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.55;
  min-height: 100vh;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 50;
  background: var(--bone);
  color: var(--ink);
  padding: 0.5rem 0.75rem;
}

.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 2.5rem);
  background: linear-gradient(180deg, rgba(18, 20, 15, 0.88), transparent);
  pointer-events: none;
}

.topbar a,
.brand-mark {
  pointer-events: auto;
}

.brand-mark {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--mist);
}

.topnav {
  display: flex;
  gap: 1.25rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.topnav a {
  text-decoration: none;
  color: var(--mist-dim);
  transition: color 180ms ease;
}

.topnav a:hover,
.topnav a:focus-visible {
  color: var(--copper-hot);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: end;
  gap: clamp(1rem, 4vw, 3rem);
  padding:
    clamp(5.5rem, 12vh, 7rem)
    clamp(1rem, 5vw, 3.5rem)
    clamp(2rem, 6vh, 3.5rem);
  overflow: hidden;
}

.hero-atmosphere {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 20, 15, 0.92) 0%, rgba(18, 20, 15, 0.55) 42%, rgba(18, 20, 15, 0.15) 70%),
    linear-gradient(180deg, transparent 40%, rgba(18, 20, 15, 0.85) 100%),
    repeating-linear-gradient(
      -18deg,
      transparent 0 14px,
      rgba(196, 122, 58, 0.03) 14px 15px
    );
  z-index: 1;
  pointer-events: none;
}

.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.18;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
  animation: grain-shift 8s steps(6) infinite;
}

@keyframes grain-shift {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-1.5%, 1%); }
}

.hero-visual {
  position: relative;
  z-index: 0;
  margin: 0;
  min-height: min(78vh, 720px);
  align-self: stretch;
}

.hero-figure {
  position: absolute;
  bottom: 0;
  height: min(88vh, 780px);
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 28px 40px rgba(0, 0, 0, 0.55));
  animation: rise-in 1.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-figure--primary {
  right: 8%;
  z-index: 3;
  animation-delay: 0.15s;
}

.hero-figure--secondary {
  right: 38%;
  z-index: 2;
  opacity: 0.55;
  transform: scale(0.88);
  animation-delay: 0.28s;
}

.hero-figure--tertiary {
  right: 58%;
  z-index: 1;
  opacity: 0.32;
  transform: scale(0.78);
  animation-delay: 0.4s;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(36px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.hero-figure--secondary {
  animation-name: rise-in-secondary;
}

.hero-figure--tertiary {
  animation-name: rise-in-tertiary;
}

@keyframes rise-in-secondary {
  from { opacity: 0; transform: translateY(36px) scale(0.84); }
  to { opacity: 0.55; transform: translateY(0) scale(0.88); }
}

@keyframes rise-in-tertiary {
  from { opacity: 0; transform: translateY(36px) scale(0.74); }
  to { opacity: 0.32; transform: translateY(0) scale(0.78); }
}

.hero-copy {
  position: relative;
  z-index: 3;
  max-width: 34rem;
  padding-bottom: 1rem;
  animation: copy-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

@keyframes copy-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.brand {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--bone);
}

.hero h1 {
  margin: 0 0 1rem;
  font-family: var(--font-body);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.45rem, 3.2vw, 2.05rem);
  line-height: 1.25;
  color: var(--mist);
}

.lede {
  margin: 0 0 1.75rem;
  max-width: 28rem;
  color: var(--mist-dim);
  font-size: 1.15rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-bottom: 1.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.7rem 1.25rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--copper);
  color: var(--ink);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--copper-hot);
}

.btn-primary.is-waiting,
.btn-primary[aria-disabled="true"] {
  background: var(--ash-700);
  color: var(--mist);
  cursor: not-allowed;
}

.btn-ghost {
  background: transparent;
  border-color: rgba(200, 207, 192, 0.35);
  color: var(--mist);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: var(--copper);
  color: var(--copper-hot);
}

.release {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--copper-hot);
}

.section {
  position: relative;
  padding: clamp(3.5rem, 9vh, 6rem) clamp(1rem, 5vw, 3.5rem);
  max-width: calc(var(--max) + 7rem);
  margin: 0 auto;
}

.section-head {
  max-width: 36rem;
  margin-bottom: 2.25rem;
}

.section-head h2 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.section-head p {
  margin: 0;
  color: var(--mist-dim);
}

.roster {
  border-top: 1px solid rgba(200, 207, 192, 0.12);
}

.roster-rail {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(140px, 180px);
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.75rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.roster-rail li {
  scroll-snap-align: start;
  display: grid;
  gap: 0.65rem;
}

.roster-rail img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: contain;
  object-position: bottom center;
  background:
    linear-gradient(180deg, transparent 20%, rgba(196, 122, 58, 0.08) 100%),
    radial-gradient(circle at 50% 70%, rgba(58, 66, 50, 0.9), rgba(18, 20, 15, 0.2));
  transition: transform 280ms ease;
}

.roster-rail li:hover img {
  transform: translateY(-6px);
}

.roster-rail span {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mist-dim);
}

.craft {
  border-top: 1px solid rgba(200, 207, 192, 0.12);
}

.craft-visual {
  margin: 0;
  max-width: 52rem;
}

.craft-visual img {
  width: 100%;
  border-radius: 0;
  object-fit: cover;
  aspect-ratio: 3 / 2;
  background: #0a0b08;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.craft-visual figcaption {
  margin-top: 0.85rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mist-dim);
}

.roadmap-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
}

.roadmap-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem 1.25rem;
  align-items: start;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(200, 207, 192, 0.12);
}

.step {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--copper);
  line-height: 1;
}

.roadmap-list h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.roadmap-list p {
  margin: 0;
  color: var(--mist-dim);
  max-width: 36rem;
}

.download {
  border-top: 1px solid rgba(200, 207, 192, 0.12);
  padding-bottom: 5rem;
}

.download-actions {
  display: grid;
  gap: 1rem;
  justify-items: start;
}

.download-note {
  margin: 0;
  max-width: 34rem;
  color: var(--mist-dim);
}

.site-footer {
  padding: 1.5rem clamp(1rem, 5vw, 3.5rem) 2.5rem;
  border-top: 1px solid rgba(200, 207, 192, 0.1);
  color: var(--mist-dim);
  font-size: 0.95rem;
}

.brand-inline {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--bone);
}

.fine {
  margin: 0.35rem 0 0;
  font-size: 0.85rem;
  opacity: 0.75;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    align-items: start;
    min-height: auto;
    padding-top: 5rem;
  }

  .hero-visual {
    order: -1;
    min-height: 52vh;
    margin-inline: -1rem;
  }

  .hero-figure {
    height: min(58vh, 520px);
  }

  .hero-figure--primary {
    right: 50%;
    left: auto;
    animation: none;
    opacity: 1;
    transform: translateX(50%);
  }

  .hero-figure--secondary,
  .hero-figure--tertiary {
    display: none;
  }

  .hero-atmosphere {
    background:
      linear-gradient(180deg, rgba(18, 20, 15, 0.2) 0%, rgba(18, 20, 15, 0.88) 62%),
      repeating-linear-gradient(
        -18deg,
        transparent 0 14px,
        rgba(196, 122, 58, 0.03) 14px 15px
      );
  }

  .brand {
    font-size: clamp(2.4rem, 12vw, 3.4rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-figure,
  .hero-copy,
  .hero-grain,
  .roster-rail img {
    animation: none !important;
    transition: none !important;
  }
}
