:root {
  --bg: #070706;
  --bg-soft: #0e0f0c;
  --card: #121309;
  --ink: #ece9e0;
  --dim: #85857a;
  --placeholder: #4a473d;
  --field-line: #726f63;
  --acid: #8f9a57;
  --acid-bright: #b7c479;
  --moss-dim: #59613a;
  --line: #201f1a;
  --danger: #ff2a4f;
  --mono: "Space Mono", monospace;
  --sans: "Space Grotesk", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
}
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.grain {
  position: fixed;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitchTiles'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
}
.topbar {
  height: 72px;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 4vw;
  position: sticky;
  top: 0;
  z-index: 8;
  background: #070706ee;
  backdrop-filter: blur(15px);
}
.brand, .save-state { font: 500 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.brand { color: var(--ink); text-decoration: none; }
.top-note { margin: 0; color: var(--dim); font: 11px var(--mono); }
.save-state { justify-self: end; border: 0; padding: 12px 0; background: none; color: var(--acid); cursor: pointer; }
.save-state:hover { color: var(--ink); }

.shell { min-height: calc(100vh - 72px); display: grid; grid-template-columns: minmax(350px, 42%) minmax(480px, 58%); }
.signal-panel { min-height: calc(100vh - 72px); position: sticky; top: 72px; height: calc(100vh - 72px); overflow: hidden; padding: clamp(42px, 5.5vw, 90px) 5vw 38px; border-right: 1px solid var(--line); background: var(--bg-soft); display: flex; flex-direction: column; justify-content: space-between; }
.eyebrow, .kicker { margin: 0; color: var(--acid); font: 11px var(--mono); letter-spacing: .17em; text-transform: uppercase; }
.signal-panel h1 { position: relative; z-index: 2; margin: 35px 0 27px; font-size: clamp(52px, 6.6vw, 106px); line-height: .82; letter-spacing: -.078em; font-weight: 600; color: var(--ink); }
.signal-panel h1 span { color: var(--acid); }
.aside-copy { position: relative; z-index: 2; max-width: 390px; margin: 0; color: var(--dim); font-size: 17px; line-height: 1.55; }
.progress-wrap { position: relative; z-index: 2; max-width: 430px; }
.progress-meta { display: flex; justify-content: space-between; gap: 20px; color: var(--acid); font: 11px var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.progress-track { height: 2px; margin: 12px 0 15px; background: var(--line); overflow: hidden; }
.progress-track span { display: block; width: 12.5%; height: 100%; background: var(--acid); transition: width .35s ease; }
.progress-wrap p, .field-note { margin: 0; color: var(--dim); font: 11px/1.5 var(--mono); }

.form-panel { min-width: 0; padding: clamp(48px, 7vw, 108px) clamp(24px, 7vw, 110px) 64px; background: var(--bg); }
#projectForm { width: 100%; max-width: 760px; margin: 0 auto; }
.step { display: none; animation: enter .34s ease both; }
.step.is-active { display: block; }
@keyframes enter { from { opacity: 0; transform: translateY(9px); } }
.step-heading { margin-bottom: 34px; }
.step-heading h2, .success h2 { margin: 17px 0 13px; max-width: 650px; font-size: clamp(36px, 4.4vw, 64px); line-height: .96; letter-spacing: -.062em; font-weight: 600; color: var(--ink); }
.step-heading h2:focus-visible, .success h2:focus-visible { outline: 2px solid var(--acid); outline-offset: 6px; }
.step-heading p, .success > p { max-width: 610px; margin: 0; color: var(--dim); font-size: 17px; line-height: 1.55; }
fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.choice-grid { display: grid; gap: 10px; }
.choice-grid--two { grid-template-columns: 1fr 1fr; }
.choice, .package, .tag { position: relative; display: block; cursor: pointer; }
.choice input, .package input, .tag input { position: absolute; opacity: 0; pointer-events: none; }
.choice > span { min-height: 88px; border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; padding: 18px 20px; color: var(--ink); font-size: 17px; transition: background .18s, border-color .18s, color .18s; background: var(--card); }
.choice small { display: block; margin-top: 7px; color: var(--dim); font: 11px/1.35 var(--mono); }
.choice--wide { grid-column: 1 / -1; }
.choice:hover > span, .choice input:focus-visible + span, .package:hover > span, .package input:focus-visible + span, .tag:hover > span, .tag input:focus-visible + span { border-color: var(--moss-dim); }
.choice input:checked + span, .tag input:checked + span { border-color: var(--acid); background: var(--acid); color: var(--bg); }
.choice input:checked + span small { color: #1c1f13; }

.package-list { display: grid; border-top: 1px solid var(--line); }
.package > span { min-height: 70px; display: grid; grid-template-columns: 1fr 76px; align-items: center; gap: 18px; border-bottom: 1px solid var(--line); color: var(--ink); transition: background .18s, padding .18s, color .18s; }
.package strong { font-size: 19px; font-weight: 500; }
.package b { color: var(--acid); font: 500 16px var(--mono); text-align: right; }
.package em { grid-column: 1 / -1; margin-top: -8px; padding: 0 0 17px; color: var(--dim); font: 13px/1.45 var(--sans); font-style: normal; }
.package input:checked + span { padding: 0 15px; background: var(--acid); color: var(--bg); }
.package input:checked + span b { color: #1c1f13; }
.package input:checked + span em { color: #23271a; }
.package--help span { border-top: 12px solid transparent; }
.text-link { display: inline-block; margin-top: 25px; color: var(--acid); font: 12px var(--mono); text-underline-offset: 5px; }

.field { display: block; margin-bottom: 22px; color: var(--dim); font: 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.field input, .field textarea { display: block; width: 100%; margin-top: 10px; padding: 14px 0; border: 0; border-bottom: 1px solid var(--field-line); border-radius: 0; outline: none; background: transparent; color: var(--ink); font: 16px/1.45 var(--sans); letter-spacing: 0; text-transform: none; }
.field textarea { min-height: 126px; padding: 14px; border: 1px solid var(--field-line); resize: vertical; }
.field input:focus { border-bottom-color: var(--acid); }
.field textarea:focus { border-color: var(--acid); }
.field input::placeholder, .field textarea::placeholder { color: var(--placeholder); opacity: 1; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.inline-check { display: flex; gap: 12px; align-items: flex-start; margin: 22px 0; color: var(--dim); font-size: 14px; line-height: 1.5; cursor: pointer; }
.inline-check input { width: 17px; height: 17px; margin: 2px 0 0; flex: 0 0 auto; accent-color: var(--acid); }
.field-note { margin-top: -7px; }
.date-field { margin-top: 27px; max-width: 340px; }
.consent { margin-top: 27px; font: 12px/1.5 var(--mono); }

.tag-fieldset { display: flex; flex-wrap: wrap; gap: 9px; }
.tag-fieldset legend { width: 100%; margin-bottom: 11px; color: var(--dim); font: 11px var(--mono); text-transform: uppercase; letter-spacing: .1em; }
.tag > span { display: block; padding: 12px 14px; border: 1px solid var(--line); color: var(--ink); font-size: 14px; transition: .18s; }
.palette-fieldset { margin-top: 35px; }
.form-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 42px; padding-top: 23px; border-top: 1px solid var(--line); }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 10px; min-height: 48px; padding: 13px 18px; border: 1px solid var(--acid); text-decoration: none; font: 11px var(--mono); letter-spacing: .09em; text-transform: uppercase; cursor: pointer; transition: .18s; }
.button--primary { background: var(--acid); color: var(--bg); }
.button--primary:hover { background: var(--acid-bright); border-color: var(--acid-bright); }
.button--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.button--ghost:hover { border-color: var(--acid); color: var(--acid); }
#backButton { visibility: hidden; }
#submitButton { display: none; }
.form-error { min-height: 24px; margin-top: 18px; color: var(--danger); font: 12px/1.5 var(--mono); }
.has-error { animation: shake .28s ease; }
@keyframes shake { 33% { transform: translateX(5px); } 66% { transform: translateX(-5px); } }

.success { max-width: 680px; margin: 8vh auto 0; animation: enter .45s ease both; }
.success-mark { margin: 35px 0 7px; color: var(--acid); font-size: 84px; font-weight: 300; line-height: 1; }
.success-note { padding-top: 22px; }
.success-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
footer { min-height: 64px; display: flex; justify-content: space-between; gap: 25px; align-items: center; padding: 20px 4vw; border-top: 1px solid var(--line); color: var(--dim); font: 10px var(--mono); text-transform: uppercase; letter-spacing: .09em; }

@media (max-width: 900px) {
  .topbar { grid-template-columns: 1fr auto; padding: 0 20px; }
  .top-note { display: none; }
  .shell { display: block; }
  .signal-panel { position: relative; top: 0; min-height: 0; height: auto; padding: 46px 24px 28px; border-right: 0; border-bottom: 1px solid var(--line); }
  .signal-panel h1 { margin: 26px 0 20px; font-size: clamp(54px, 12vw, 84px); }
  .aside-copy { max-width: 520px; }
  .progress-wrap { margin-top: 48px; max-width: none; }
  .form-panel { padding: 54px 24px 70px; min-height: 620px; }
}
@media (max-width: 590px) {
  .topbar { height: 64px; }
  .brand { font-size: 10px; }
  .save-state { font-size: 9px; }
  .signal-panel { padding-top: 38px; }
  .signal-panel h1 { font-size: 53px; }
  .aside-copy { font-size: 16px; }
  .choice-grid--two, .field-row { grid-template-columns: 1fr; }
  .choice--wide { grid-column: auto; }
  .choice > span { min-height: 78px; }
  .package > span { grid-template-columns: 1fr 68px; gap: 10px; }
  .step-heading h2, .success h2 { font-size: 39px; }
  .form-nav .button { flex: 1; }
  .success-links { flex-direction: column; }
  footer { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
