:root {
  --ink: #0c1424;
  --ink-2: #17233a;
  --paper: #f4f0e8;
  --text: #f6f3ec;
  --muted: #c9d3e4;
  --line: rgba(246, 243, 236, 0.16);
  --lime: #e7b15a;
  --lime-2: #f6d7a2;
  --coral: #8eb7ff;
  --sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --nav: 76px;
  --wrap: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(900px 420px at 100% 0%, rgba(231, 177, 90, 0.1), transparent 55%),
    var(--ink);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

a {
  color: inherit;
  text-underline-offset: 0.18em;
}

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

h1,
h2,
.pull,
.markets li {
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

h2 {
  font-size: clamp(2.2rem, 4.4vw, 3.8rem);
  max-width: 14ch;
}

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 1rem;
  top: 0;
  z-index: 50;
  transform: translateY(-120%);
  background: var(--lime);
  color: var(--ink);
  padding: 0.75rem 1rem;
  border-radius: 999px;
}

.skip:focus {
  transform: none;
}

.progress {
  position: fixed;
  z-index: 40;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg, var(--lime), var(--coral));
  transform: scaleX(0);
  transform-origin: 0 50%;
}

.wrap {
  width: min(var(--wrap), calc(100% - 2.5rem));
  margin-inline: auto;
}

.nav {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--nav);
  padding: 0 1.25rem;
  border-bottom: 1px solid transparent;
  transition: background 200ms ease, border-color 200ms ease;
}

.nav.is-stuck,
body.nav-open .nav {
  background: rgba(16, 22, 20, 0.92);
  border-bottom-color: var(--line);
  backdrop-filter: blur(16px);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: -0.03em;
  cursor: pointer;
}

.wordmark svg {
  width: 34px;
  height: 34px;
}

.wordmark svg rect:first-child {
  fill: none;
  stroke: var(--lime);
  stroke-width: 1.4;
}

.wordmark svg path {
  fill: none;
  stroke: var(--lime);
  stroke-width: 1.8;
  stroke-linecap: round;
}

.wordmark .core {
  fill: var(--lime);
  stroke: none;
}

.wordmark em {
  font-style: normal;
  color: var(--lime);
}

.nav nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.nav nav a {
  text-decoration: none;
  color: var(--muted);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.nav nav a:hover,
.nav nav a[aria-current="true"] {
  color: var(--text);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  padding: 0;
  cursor: pointer;
  position: relative;
}

.nav-toggle i {
  position: absolute;
  left: 14px;
  right: 14px;
  height: 1.5px;
  background: var(--text);
}

.nav-toggle i:first-of-type {
  top: 20px;
}

.nav-toggle i:last-of-type {
  top: 27px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--lime);
  color: #1a140c;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease;
}

.btn:hover {
  background: var(--lime-2);
  transform: translateY(-1px);
}

.btn:disabled {
  opacity: 0.65;
  cursor: wait;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}

.btn-ghost:hover {
  background: rgba(246, 243, 236, 0.06);
}

.btn-small {
  min-height: 42px;
  padding: 0 1rem;
  color: #1a140c;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: calc(var(--nav) + 2rem) 0 4.5rem;
}

.hero-mark {
  position: absolute;
  right: 6vw;
  top: 14%;
  width: min(28vw, 340px);
  aspect-ratio: 1;
  pointer-events: none;
}

.hero-mark svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.ring,
.mono {
  fill: none;
  stroke-linecap: round;
}

.ring-a {
  stroke: rgba(231, 177, 90, 0.55);
  stroke-width: 1.2;
  stroke-dasharray: 8 10;
  transform-origin: 110px 110px;
  animation: spin 28s linear infinite;
}

.ring-b {
  stroke: rgba(142, 183, 255, 0.7);
  stroke-width: 1.2;
  transform-origin: 110px 110px;
  animation: spin 18s linear infinite reverse;
}

.mono {
  stroke: var(--lime);
  stroke-width: 3.2;
  stroke-dasharray: 280;
  stroke-dashoffset: 280;
  animation: draw 1.6s ease forwards 0.2s;
}

.hero-mark .core {
  fill: var(--lime);
  transform-origin: 110px 110px;
  animation: pop 0.6s ease both 1.1s;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 740px;
}

.eyebrow,
.kicker {
  margin: 0 0 1rem;
  color: var(--lime);
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 0 rgba(231, 177, 90, 0.7);
  animation: ping 1.8s ease infinite;
}

.hero h1 {
  font-size: clamp(3rem, 7vw, 6.1rem);
  max-width: 11ch;
}

.hero h1 span {
  display: block;
  animation: rise 0.8s ease both;
}

.hero h1 span:nth-child(2) {
  animation-delay: 0.12s;
}

.hero h1 span:nth-child(3) {
  animation-delay: 0.24s;
  color: var(--lime);
}

.lede {
  max-width: 38rem;
  margin-top: 1.3rem;
  color: var(--muted);
  font-size: 1.125rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.7rem;
}

.scroll-hint {
  position: absolute;
  z-index: 1;
  right: 1.5rem;
  bottom: 1.4rem;
  margin: 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.scroll-hint::after {
  content: "";
  display: block;
  width: 1px;
  height: 42px;
  margin: 0.55rem auto 0;
  background: linear-gradient(var(--lime), transparent);
  animation: drip 1.6s ease infinite;
}

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  padding: 0.9rem 0;
  background: var(--ink-2);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: ticker 42s linear infinite;
}

.marquee span {
  padding: 0 1.3rem;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.marquee span::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 1.3rem;
  background: var(--coral);
  transform: translateY(-1px);
}

.band {
  padding: 6.5rem 0;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: end;
}

.prose p + p {
  margin-top: 1rem;
}

.pull {
  margin-top: 1.5rem;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  max-width: 16ch;
  color: var(--lime);
}

.rail {
  height: 280vh;
  position: relative;
}

.rail-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(231, 177, 90, 0.06), transparent 30%),
    var(--ink);
  border-block: 1px solid var(--line);
}

.rail-head {
  margin-bottom: 1.5rem;
}

.rail-head h2 {
  max-width: none;
}

.rail-track {
  display: flex;
  gap: 1rem;
  padding-inline: max(1.25rem, calc((100% - var(--wrap)) / 2));
  width: max-content;
  will-change: transform;
}

.service {
  width: min(68vw, 380px);
  min-height: 280px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 22px;
  transition: border-color 200ms ease, transform 200ms ease;
}

.service:hover {
  border-color: rgba(231, 177, 90, 0.6);
  transform: translateY(-4px);
}

.num,
.steps span,
.markets span {
  color: var(--lime);
  font-family: var(--mono);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
}

.service h3,
.steps h3 {
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.service p:last-child,
.steps p {
  color: var(--muted);
  margin-top: auto;
}

.band-course {
  background:
    radial-gradient(ellipse at 90% 10%, rgba(142, 183, 255, 0.16), transparent 42%),
    var(--ink-2);
}

.course-layout {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 2rem 3rem;
  align-items: end;
}

.course-layout .btn {
  margin-top: 1.5rem;
}

.markets {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.markets li {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

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

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}

.steps li {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.quotes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.quotes blockquote {
  margin: 0;
  padding: 1.6rem;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 22px;
}

.quotes p {
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: start;
}

.contact-grid a {
  color: var(--lime);
}

form {
  display: grid;
  gap: 0.45rem;
}

label {
  margin-top: 0.55rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #0a101c;
  color: var(--text);
}

textarea {
  resize: vertical;
  min-height: 140px;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.btn:focus-visible,
.nav a:focus-visible,
.wordmark:focus-visible,
.nav-toggle:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}

form .btn {
  margin-top: 0.8rem;
  justify-self: start;
}

.form-status {
  margin: 0.4rem 0 0;
  color: var(--lime);
}

.form-status[data-state="err"] {
  color: #ffc2b3;
}

.hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 1.4rem 0 1.8rem;
  color: var(--muted);
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer a {
  color: var(--text);
}

.missing {
  min-height: 100svh;
  display: grid;
  align-content: center;
  padding: 2rem;
  width: min(40rem, calc(100% - 2.5rem));
  margin-inline: auto;
}

.missing h1 {
  font-size: clamp(2.8rem, 7vw, 5rem);
  max-width: 12ch;
}

.missing .btn {
  margin-top: 1.6rem;
  justify-self: start;
}

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 700ms ease, transform 700ms ease;
}

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

@keyframes draw {
  to { stroke-dashoffset: 0; }
}

@keyframes pop {
  from { transform: scale(0); }
  to { transform: scale(1); }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

@keyframes ticker {
  to { transform: translateX(-50%); }
}

@keyframes ping {
  70% { box-shadow: 0 0 0 8px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

@keyframes drip {
  0% { transform: scaleY(0.2); transform-origin: top; opacity: 0; }
  40% { opacity: 1; }
  100% { transform: scaleY(1); transform-origin: top; opacity: 0; }
}

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

  .nav nav {
    position: fixed;
    inset: var(--nav) 0 0 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
    padding: 1rem 1.25rem 2rem;
    background: #0c1424;
  }

  .nav nav.is-open {
    display: flex;
  }

  .nav nav a {
    font-size: 1.35rem;
  }
}

@media (max-width: 980px) {
  .split,
  .steps,
  .quotes,
  .contact-grid,
  .course-layout {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .hero-mark {
    right: 50%;
    top: 12%;
    width: min(70vw, 280px);
    translate: 50% 0;
    opacity: 0.45;
  }

  .hero-copy {
    padding-top: 12rem;
  }
}

@media (max-width: 800px) {
  .rail {
    height: auto;
  }

  .rail-sticky {
    position: static;
    height: auto;
    overflow: visible;
    padding: 4.5rem 0;
  }

  .rail-track {
    flex-direction: column;
    width: min(var(--wrap), calc(100% - 2.5rem));
    margin-inline: auto;
    padding-inline: 0;
    transform: none !important;
  }

  .service {
    width: auto;
  }

  .steps,
  .quotes {
    grid-template-columns: 1fr;
  }

  .scroll-hint {
    display: none;
  }

  .band {
    padding: 4.5rem 0;
  }
}

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

  .marquee-track,
  .ring-a,
  .ring-b,
  .mono,
  .hero-mark .core,
  .hero h1 span,
  .pulse,
  .scroll-hint::after,
  .js .reveal,
  .btn,
  .service,
  .progress {
    animation: none;
    transition: none;
    transform: none;
    opacity: 1;
    stroke-dashoffset: 0;
  }
}
