:root {
  --bg0: #0b0f14;
  --bg1: #0f1722;
  --paper: rgba(255, 255, 255, .74);
  --ink: #0b1320;
  --ink2: rgba(11, 19, 32, .72);
  --shadow: 0 20px 48px rgba(0, 0, 0, .31);
  --radius-xl: 26px;
  --radius-lg: 18px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  color: rgba(255, 255, 255, .86);
  background: radial-gradient(1200px 700px at 20% 12%, rgba(255, 255, 255, .12), transparent 60%),
    radial-gradient(900px 600px at 78% 22%, rgba(147, 197, 253, .16), transparent 65%),
    radial-gradient(1000px 700px at 60% 86%, rgba(167, 243, 208, .10), transparent 60%),
    linear-gradient(180deg, var(--bg1), var(--bg0));
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='260' height='260' filter='url(%23n)' opacity='.32'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  opacity: .08;
}

.wrap {
  min-height: 100vh;
}

.hero {
  padding: clamp(28px, 5.2vw, 64px) 18px 14px;
}

.hero-copy {
  max-width: var(--max);
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .72);
}

.eyebrow .pip {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(167, 243, 208, .82);
  box-shadow: 0 0 0 6px rgba(167, 243, 208, .12);
}

h1 {
  margin: 14px 0 10px;
  font-family: Fraunces, serif;
  font-weight: 400;
  letter-spacing: .01em;
  line-height: 1.05;
  font-size: clamp(32px, 4vw, 52px);
  color: rgba(255, 255, 255, .94);
}

.sub {
  margin: 0;
  color: rgba(255, 255, 255, .78);
  line-height: 1.6;
  font-size: 15.5px;
  max-width: 62ch;
}

.strip {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 18px;
}

.strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .05));
  backdrop-filter: blur(14px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .18);
}

.strip-inner p {
  margin: 0;
  font-family: Fraunces, serif;
  font-weight: 300;
  color: rgba(255, 255, 255, .86);
  letter-spacing: .01em;
  font-size: clamp(16px, 1.8vw, 20px);
}

.tag {
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .72);
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(0, 0, 0, .12);
  white-space: nowrap;
}

.flightline {
  max-width: var(--max);
  margin: 10px auto 0;
  padding: 0 18px;
}

.flightline-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 10px;
  align-items: center;
  border-radius: 16px;
  padding: 9px 11px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .03));
}

.stage {
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .8);
}

.stage-in {
  text-align: right;
}

.trajectory {
  width: clamp(120px, 20vw, 220px);
  height: 2px;
  background: linear-gradient(90deg, rgba(147, 197, 253, .28), rgba(167, 243, 208, .45), rgba(147, 197, 253, .28));
  position: relative;
}

.shuttle-dot {
  position: absolute;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(167, 243, 208, .92);
  box-shadow: 0 0 0 5px rgba(167, 243, 208, .14), 0 0 14px rgba(167, 243, 208, .42);
  transform: translateY(-50%);
  animation: shuttle-run 5s ease-in-out infinite;
}

@keyframes shuttle-run {
  0% {
    left: 0;
  }

  50% {
    left: calc(100% - 10px);
  }

  100% {
    left: 0;
  }
}

main {
  padding: 14px 18px 44px;
}

.sections {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
}

.paper {
  position: relative;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, var(--paper), rgba(255, 255, 255, .62));
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, .28);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: border-color .28s ease, box-shadow .28s ease;
}

.paper::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: radial-gradient(500px 180px at 10% 0%, rgba(167, 243, 208, .22), transparent 60%),
    radial-gradient(520px 200px at 90% 20%, rgba(147, 197, 253, .18), transparent 60%),
    linear-gradient(90deg, rgba(11, 19, 32, .06), transparent 22%, transparent 78%, rgba(11, 19, 32, .05));
  pointer-events: none;
  opacity: .52;
}

.paper-inner {
  position: relative;
  padding: clamp(16px, 2.8vw, 26px);
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(12px, 2.4vw, 22px);
  align-items: start;
}

.panel {
  width: 100%;
}

.brief-card {
  max-width: 72ch;
  background: rgba(255, 255, 255, .34);
  border: 1px solid rgba(11, 19, 32, .12);
  border-radius: 16px;
  padding: 12px 14px;
}

.paper h2 {
  margin: 0;
  font-family: Fraunces, serif;
  font-weight: 400;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: clamp(16px, 1.8vw, 20px);
  color: rgba(11, 19, 32, .82);
}

.lede {
  margin: 10px 0 0;
  color: var(--ink2);
  line-height: 1.65;
  font-size: 14.5px;
}

.mission-steps {
  margin: 14px 0 0;
  padding-left: 18px;
  color: rgba(11, 19, 32, .76);
  font-size: 13.5px;
  line-height: 1.55;
}

.pillar {
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .46);
  border: 1px solid rgba(11, 19, 32, .14);
  padding: 12px 12px 11px;
  box-shadow: 0 9px 18px rgba(0, 0, 0, .07);
}

.contact-card {
  padding: 14px 14px 16px;
}

.step-1 {
  margin-left: 0;
}

.step-2 {
  margin-left: clamp(10px, 2.6vw, 36px);
}

.step-3 {
  margin-left: clamp(10px, 2vw, 24px);
}

.step-4 {
  margin-left: clamp(16px, 2.7vw, 36px);
}

.step-wrap {
  border-left: 1px solid rgba(11, 19, 32, .1);
  padding-left: 10px;
}

.contact-form {
  display: grid;
  gap: 8px;
  line-height: 1.3;
}

.contact-form h3 {
  margin: 0;
  font-family: Inter, sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(11, 19, 32, .72);
}

.form-help {
  margin: 0 0 6px;
  color: rgba(11, 19, 32, .64);
  font-size: 13px;
}

.contact-form label {
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(11, 19, 32, .68);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(11, 19, 32, .14);
  background: rgba(255, 255, 255, .82);
  outline: none;
  font: 500 14px Inter, sans-serif;
  color: rgba(11, 19, 32, .86);
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: rgba(11, 19, 32, .34);
  box-shadow: 0 0 0 4px rgba(11, 19, 32, .06);
  background: rgba(255, 255, 255, .95);
}

.service-entry {
  border-radius: 14px;
  border: 1px solid rgba(11, 19, 32, .14);
  background: rgba(255, 255, 255, .58);
  padding: 10px;
  margin-bottom: 10px;
  box-shadow: 0 6px 14px rgba(11, 19, 32, .07);
}

#servicesList {
  display: grid;
  gap: 10px;
  padding-right: 10px;
}

.service-entry h3 {
  margin: 0 0 10px;
}

.btn,
.btn-primary {
  appearance: none;
  border-radius: 16px;
  font-weight: 600;
  min-height: 44px;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  border: 1px solid rgba(255, 255, 255, .16);
  background: linear-gradient(135deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .02)),
    linear-gradient(180deg, #3b424b, #2f353e);
  color: rgba(255, 255, 255, .92);
  padding: 10px 14px;
}

.btn:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, .24);
}

.btn-primary {
  background: linear-gradient(135deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .02)),
    linear-gradient(180deg, #132334, #0b1320);
  color: rgba(255, 255, 255, .96);
  border: 1px solid rgba(255, 255, 255, .24);
  padding: 12px 18px;
  min-width: 100px;
  box-shadow: 0 10px 20px rgba(11, 19, 32, .15), inset 0 1px 0 rgba(255, 255, 255, .14);
}

.btn-primary:hover {
  transform: translateY(-1px);
  border-color: rgba(147, 197, 253, .34);
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.form-status {
  margin: 0;
  font-size: 12.5px;
  color: rgba(11, 19, 32, .64);
}

.form-status[data-state="success"] {
  color: rgba(22, 101, 52, .92);
}

.form-status[data-state="error"] {
  color: rgba(153, 27, 27, .9);
}

.paper.mission-complete {
  border-color: rgba(110, 231, 183, .56);
  box-shadow: 0 20px 48px rgba(0, 0, 0, .3), 0 0 0 2px rgba(110, 231, 183, .12);
}

.paper.mission-complete::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 0%, rgba(110, 231, 183, .12) 48%, transparent 100%);
  animation: mission-sweep 900ms ease-out;
}

.paper.mission-error {
  border-color: rgba(252, 165, 165, .64);
  box-shadow: 0 20px 48px rgba(0, 0, 0, .3), 0 0 0 2px rgba(252, 165, 165, .11);
}

@keyframes mission-sweep {
  from {
    transform: translateX(-25%);
    opacity: .18;
  }

  to {
    transform: translateX(25%);
    opacity: 0;
  }
}

footer {
  padding: 18px 18px 36px;
  color: rgba(255, 255, 255, .68);
}

.foot {
  max-width: var(--max);
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
  justify-content: space-between;
}

.foot small {
  line-height: 1.4;
}

@media (max-width: 980px) {
  .step-2,
  .step-3,
  .step-4 {
    margin-left: 0;
  }

  .step-wrap {
    border-left: 0;
    padding-left: 0;
  }
}

@media (max-width: 560px) {
  .strip-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .flightline-inner {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .stage-in {
    text-align: left;
  }

  .trajectory {
    width: 100%;
  }

  .tag {
    width: 100%;
    text-align: center;
    white-space: normal;
  }

  .form-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (prefers-reduced-motion: reduce) {
  .shuttle-dot {
    animation: none;
    left: calc(50% - 5px);
  }

  .paper.mission-complete::after {
    animation: none;
  }
}
