@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/inter-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+2013-2014, U+2018-2019, U+201C-201D, U+2022, U+2026;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/inter-500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+2013-2014, U+2018-2019, U+201C-201D, U+2022, U+2026;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/inter-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+2013-2014, U+2018-2019, U+201C-201D, U+2022, U+2026;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/inter-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+2013-2014, U+2018-2019, U+201C-201D, U+2022, U+2026;
}

:root {
  --navy: #0a1628;
  --navy-raised: #102038;
  --ink: #f4f0e6;
  --muted: #c9bfb0;
  --gold: #b8941f;
  --gold-2: #d4b45c;
  --line: rgba(184, 148, 31, 0.28);
  --header: 4.25rem;
  --pad: clamp(1.25rem, 4vw, 2.25rem);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 0.75rem);
}

body {
  margin: 0;
  font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  background: var(--navy);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-lock {
  overflow: hidden;
}

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

::selection {
  background: var(--gold);
  color: var(--navy);
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--gold-2);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 50;
  background: var(--gold);
  color: var(--navy);
  padding: 0.55rem 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.skip:focus {
  top: 0.7rem;
}

a {
  color: var(--gold);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--gold-2);
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 1rem;
  min-height: var(--header);
  padding: 0.75rem var(--pad);
  border-top: 2px solid var(--gold);
  border-bottom: 1px solid transparent;
  background: transparent;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.site-header.is-stuck,
.site-header.is-open {
  background: rgba(10, 22, 40, 0.94);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  text-decoration: none;
}

.brand img {
  height: 1.2rem;
  width: auto;
  aspect-ratio: 3052.21 / 720;
}

.brand:hover img {
  opacity: 0.78;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 5.5rem;
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
}

.nav-toggle:hover {
  border-color: var(--gold);
  color: var(--gold);
}

#site-nav {
  display: flex;
  align-items: center;
  gap: 1.65rem;
}

#site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.4rem 0;
  border-bottom: 1px solid transparent;
}

#site-nav a:hover,
#site-nav a.is-active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--header) + 1.5rem) 1.25rem 3.5rem;
}

.particles,
.glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.particles {
  overflow: hidden;
  z-index: 0;
}

.glow {
  inset: auto;
  top: 48%;
  left: 50%;
  width: min(72vw, 680px);
  height: min(72vw, 680px);
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(184, 148, 31, 0.16) 0%, rgba(184, 148, 31, 0.05) 42%, transparent 70%);
  animation: pulse 8s ease-in-out infinite;
  z-index: 0;
}

.particle {
  position: absolute;
  top: 0;
  background: var(--gold);
  border-radius: 50%;
  opacity: 0;
  box-shadow: 0 0 6px var(--gold);
  animation-name: float;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(40rem, 100%);
}

.wordmark {
  margin: 0;
  line-height: 0;
}

.wordmark img {
  width: min(50vw, 18.5rem);
  height: auto;
  aspect-ratio: 3052.21 / 720;
  display: block;
  margin-inline: auto;
}

.tagline {
  margin: 1rem 0 0;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-2);
}

.rule {
  width: 3rem;
  height: 1px;
  margin: 1.4rem auto 0;
  border: 0;
  background: var(--gold);
}

.position {
  margin: 1.35rem auto 0;
  max-width: 34ch;
  font-size: clamp(1.05rem, 2.1vw, 1.28rem);
  line-height: 1.5;
  font-weight: 400;
  color: var(--ink);
  text-wrap: balance;
}

.hero-nav {
  display: flex;
  justify-content: center;
  gap: 1.75rem;
  margin: 2.1rem 0 0;
}

.hero-nav a {
  color: var(--gold-2);
  text-decoration: none;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 600;
  border-bottom: 1px solid rgba(184, 148, 31, 0.55);
  padding-bottom: 0.2rem;
}

.hero-nav a:hover {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

#buy,
#build,
#about,
#contact {
  scroll-margin-top: calc(var(--header) + 1rem);
}

.band {
  padding: clamp(4.25rem, 8vw, 6.75rem) var(--pad);
  border-top: 1px solid var(--line);
}

.band-buy,
.band-close {
  background: var(--navy-raised);
}

.band-inner {
  width: min(1040px, 100%);
  margin-inline: auto;
}

.section-head {
  margin-bottom: 2.35rem;
}

.section-head h2,
.error-main h1 {
  margin: 0;
  font-size: clamp(2.15rem, 4.8vw, 3.45rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.08;
  text-wrap: balance;
}

.index {
  margin-right: 0.7rem;
  color: var(--gold);
  font-size: 0.42em;
  font-weight: 600;
  letter-spacing: 0.12em;
  vertical-align: 0.55em;
}

.deck {
  margin: 0.95rem 0 0;
  max-width: 38rem;
  color: var(--ink);
  font-size: clamp(1.12rem, 2vw, 1.32rem);
  line-height: 1.5;
  text-wrap: balance;
}

.panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
}

.col {
  padding: 1.6rem 1.7rem 1.85rem;
}

.col + .col {
  border-left: 1px solid var(--line);
}

.panel h3,
.steps h3,
.work h3 {
  font-weight: 600;
}

.col > h3 {
  margin: 0 0 1.05rem;
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ticks,
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ticks {
  display: grid;
  gap: 0.75rem;
}

.ticks li {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}

.ticks li::before {
  content: "";
  width: 0.7rem;
  height: 1px;
  background: var(--gold);
  flex: none;
  transform: translateY(-0.28em);
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 1.05rem;
}

.steps li {
  display: grid;
  grid-template-columns: 1.85rem 1fr;
  column-gap: 0.6rem;
}

.steps li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  grid-column: 1;
  grid-row: 1 / span 2;
  padding-top: 0.22rem;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.steps h3 {
  margin: 0;
  grid-column: 2;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--ink);
}

.steps p,
.work p,
.about-copy,
.place {
  color: var(--muted);
}

.steps p {
  grid-column: 2;
  margin: 0.15rem 0 0;
}

.cta {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.85rem 1.5rem;
  padding: 1.15rem 1.7rem;
  border-top: 1px solid var(--line);
  background: rgba(184, 148, 31, 0.06);
}

.cta p {
  margin: 0;
}

.cta a {
  font-weight: 600;
  font-size: 1.05rem;
  white-space: nowrap;
}

.work {
  border-top: 1px solid var(--line);
}

.work article {
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: 0.4rem 2rem;
  align-items: baseline;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
}

.work h3 {
  margin: 0;
  font-size: 1.08rem;
  letter-spacing: -0.01em;
}

.work p {
  margin: 0;
  max-width: 62ch;
}

.close-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
}

.close-grid section {
  padding: clamp(1.7rem, 3vw, 2.6rem);
}

.close-grid section + section {
  border-left: 1px solid var(--line);
}

.close-grid .section-head {
  margin-bottom: 0;
}

.close-grid h2 {
  font-size: clamp(1.8rem, 3vw, 2.45rem);
}

.about-copy {
  margin: 1rem 0 0;
  max-width: 36ch;
}

.contact-block {
  margin-top: 1rem;
  font-style: normal;
}

.contact-email {
  display: inline-block;
  color: var(--gold);
  font-size: clamp(1.25rem, 2.5vw, 1.7rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  text-decoration: none;
  border-bottom: 1px solid rgba(184, 148, 31, 0.55);
  padding-bottom: 0.1rem;
  overflow-wrap: anywhere;
}

.contact-email:hover {
  color: var(--gold-2);
  border-bottom-color: var(--gold-2);
}

.place {
  display: block;
  margin-top: 0.85rem;
}

.colophon {
  border-top: 1px solid var(--line);
  padding: 1.4rem var(--pad) 1.8rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.84rem;
  letter-spacing: 0.02em;
}

.colophon p {
  margin: 0;
}

.colophon a {
  color: var(--gold);
}

.error-main {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--header) + 2rem) 1.25rem 3rem;
  position: relative;
}

.error-main .glow {
  top: 46%;
}

.error-kicker {
  position: relative;
  z-index: 1;
  margin: 0 0 1.1rem;
  line-height: 0;
}

.error-kicker img {
  width: min(42vw, 9rem);
  height: auto;
  aspect-ratio: 3052.21 / 720;
}

.error-main h1,
.error-main p,
.error-main a {
  position: relative;
  z-index: 1;
}

.error-main p {
  margin: 0.85rem 0 0;
  max-width: 34ch;
  color: var(--muted);
}

.error-main a {
  margin-top: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

@keyframes float {
  0% {
    transform: translateY(100vh) translateX(0);
    opacity: 0;
  }
  12% {
    opacity: 0.7;
  }
  88% {
    opacity: 0.45;
  }
  100% {
    transform: translateY(-12vh) translateX(var(--drift, 36px));
    opacity: 0;
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.7;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.12);
    opacity: 1;
  }
}

@media (max-width: 860px) {
  .panel,
  .close-grid,
  .work article {
    grid-template-columns: 1fr;
  }

  .col + .col,
  .close-grid section + section {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta a {
    white-space: normal;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-flex;
  }

  #site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.35rem var(--pad) 1rem;
    background: rgba(10, 22, 40, 0.98);
    border-bottom: 1px solid var(--line);
  }

  .site-header.is-open #site-nav {
    display: flex;
  }

  #site-nav a {
    font-size: 1.15rem;
    letter-spacing: 0.08em;
    padding: 0.8rem 0;
  }

  .tagline {
    letter-spacing: 0.22em;
    font-size: 0.72rem;
  }
}

@media (max-width: 380px) {
  .tagline {
    letter-spacing: 0.14em;
  }

  .hero-nav {
    gap: 1.1rem;
  }
}

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

  .glow,
  .particle,
  .site-header {
    animation: none;
    transition: none;
  }

  .particle {
    display: none;
  }
}

@media print {
  .particles,
  .glow,
  .nav-toggle,
  .hero-nav {
    display: none !important;
  }

  .site-header {
    position: static;
    border-color: #bbb;
    background: #fff;
  }

  body,
  .band-buy,
  .band-close,
  .cta {
    background: #fff;
    color: #1a1a1a;
  }

  .index,
  .tagline,
  a,
  .panel h3,
  .steps li::before {
    color: #111 !important;
  }

  .brand img,
  .wordmark img,
  .error-kicker img {
    filter: brightness(0);
  }

  .panel,
  .work,
  .work article,
  .close-grid,
  .col,
  .cta,
  .colophon,
  .band,
  .col + .col,
  .close-grid section + section {
    border-color: #ccc;
  }
}
