:root {
  --blue: #0047ff;
  --blue-deep: #0026b0;
  --red: #ff2d2d;
  --yellow: #ffd600;
  --ink: #080a0f;
  --paper: #f6f0e4;
  --white: #fff;
  --muted: #5d6069;
  --line: #c9c2b5;
}

* { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Inter', Arial, sans-serif;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }

.skip-link {
  position: fixed;
  top: -70px;
  left: 16px;
  z-index: 2000;
  background: var(--yellow);
  border: 3px solid var(--ink);
  box-shadow: 4px 4px 0 var(--blue);
  color: var(--ink);
  font-weight: 900;
  padding: 12px 16px;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* Shared primary header */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: 80px;
  display: flex;
  align-items: center;
  padding: 0 40px;
  background: rgba(8, 10, 15, .97);
  border-bottom: 4px solid var(--blue);
  box-shadow: 0 4px 20px rgba(0, 71, 255, .25);
  color: var(--white);
}
.header-logo {
  position: relative;
  z-index: 2;
  color: var(--white);
  font: 28px/1 'Archivo Black', sans-serif;
  letter-spacing: -1px;
  text-decoration: none;
}
.header-logo span { color: var(--yellow); }
.header-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 36px;
}
.header-nav a {
  position: relative;
  min-height: 44px;
  display: flex;
  align-items: center;
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .5px;
  text-decoration: none;
  text-transform: uppercase;
}
.header-nav a:not(.header-cta)::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 3px;
  width: 0;
  height: 2px;
  background: var(--yellow);
  transition: width .2s ease;
}
.header-nav a:hover::after,
.header-nav a:focus-visible::after,
.header-nav a[aria-current="page"]::after { width: 100%; }
.header-nav a:hover { color: var(--yellow); }
.header-nav .header-cta {
  min-height: 44px;
  padding: 10px 24px;
  background: var(--red);
  border: 3px solid var(--white);
  box-shadow: 4px 4px 0 var(--white);
  font-family: 'Archivo Black', sans-serif;
  color: var(--white);
  transition: transform .15s ease, box-shadow .15s ease;
}
.header-nav .header-cta:hover,
.header-nav .header-cta:focus-visible {
  color: var(--white);
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--yellow);
}
.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  margin-left: auto;
  padding: 10px;
  border: 3px solid var(--white);
  background: var(--ink);
  box-shadow: 3px 3px 0 var(--blue);
}
.menu-toggle span {
  display: block;
  height: 3px;
  margin: 4px 0;
  background: var(--white);
  transition: transform .2s ease, opacity .2s ease;
}

/* Primary surface: configure, with a narrative comic panel */
.contact-page {
  min-height: 100svh;
  padding: 118px clamp(18px, 4.5vw, 72px) clamp(70px, 8vw, 120px);
  background-color: var(--paper);
  background-image:
    radial-gradient(rgba(8, 10, 15, .1) 1.2px, transparent 1.4px),
    linear-gradient(135deg, transparent 0 72%, rgba(0, 71, 255, .055) 72% 73%, transparent 73%);
  background-size: 9px 9px, 100% 100%;
}
.contact-shell {
  width: min(1420px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(380px, .84fr) minmax(560px, 1.16fr);
  align-items: start;
  gap: clamp(26px, 4vw, 64px);
}

.story-panel {
  position: sticky;
  top: 104px;
  min-height: calc(100svh - 128px);
  display: grid;
  grid-template-rows: auto minmax(260px, 1fr) auto;
  overflow: hidden;
  background: var(--ink);
  border: 5px solid var(--ink);
  box-shadow: 14px 14px 0 var(--blue), 20px 20px 0 var(--yellow);
  color: var(--white);
  isolation: isolate;
}
.story-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, .16) 1.4px, transparent 1.6px);
  background-size: 8px 8px;
  opacity: .42;
  pointer-events: none;
}
.story-copy {
  position: relative;
  z-index: 3;
  padding: clamp(26px, 3vw, 46px) clamp(24px, 3.2vw, 50px) 24px;
}
.intake-badge,
.form-kicker {
  display: inline-block;
  background: var(--yellow);
  border: 3px solid var(--ink);
  box-shadow: 5px 5px 0 var(--blue);
  color: var(--ink);
  font-family: 'Archivo Black', sans-serif;
  font-size: 11px;
  letter-spacing: .1em;
  line-height: 1.2;
  padding: 8px 11px;
}
.story-copy h1 {
  margin: 25px 0 18px;
  max-width: 650px;
  font: clamp(46px, 4.8vw, 76px)/.88 'Archivo Black', sans-serif;
  letter-spacing: -.065em;
  text-transform: uppercase;
  text-wrap: balance;
}
.story-copy h1 em {
  color: var(--yellow);
  font-style: normal;
  -webkit-text-stroke: 2px var(--ink);
  paint-order: stroke fill;
  text-shadow: 4px 4px 0 var(--red);
}
.story-copy p {
  max-width: 610px;
  margin: 0;
  color: rgba(255, 255, 255, .78);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.55;
}

.art-panel {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  background: #020306;
  border-block: 4px solid var(--ink);
}
.art-placeholder {
  position: absolute;
  inset: -12px;
  background: #020306 url('data:image/webp;base64,UklGRvYAAABXRUJQVlA4IOoAAABQBgCdASogACoAPtFgqVAoJSOipWmZABoJaAC7M1XJVZgVO4LHKuxYnggHFLbiEncTG64/ruWUgz1IAAD+/VmoMEMdkk+iNXiH91cvE4ZouakrlvWE7Z79My1YaXjGdZH8+3wbbm+7RsrbIy/Ab2uazpqX6FzbFm7H8grmZLBSMdRLCsJJsvnshE9yRfwpfl3Wc7w0ND8i6Jf2H0hvX2AnMh7VdWSMxxvwHr8V1hiGRBvtolbkmgYq+WDYE5KzqYpIwJS/+qSqOqlB/BUk+h4tnusq60xym+vr6ulj6UgQPYtYpgD5IR+AAAA=') center/cover no-repeat;
  filter: blur(12px);
  transform: scale(1.06);
}
.art-panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 49%;
  opacity: 0;
  transition: opacity .35s ease;
}
.art-panel.loaded img { opacity: 1; }
.art-ink {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 10, 15, .55), transparent 22%, transparent 77%, rgba(8, 10, 15, .72)),
    linear-gradient(90deg, rgba(8, 10, 15, .38), transparent 30%);
  pointer-events: none;
}
.art-caption {
  position: absolute;
  right: 18px;
  bottom: 17px;
  transform: rotate(-2deg);
  background: var(--white);
  border: 3px solid var(--ink);
  box-shadow: 5px 5px 0 var(--red);
  color: var(--ink);
  font: 18px/1 'Archivo Black', sans-serif;
  padding: 9px 11px;
}
.next-strip {
  position: relative;
  z-index: 2;
  background: var(--yellow);
  color: var(--ink);
  padding: 20px clamp(20px, 2.8vw, 42px) 22px;
}
.next-strip > strong {
  display: block;
  margin-bottom: 13px;
  font: 13px/1 'Archivo Black', sans-serif;
  letter-spacing: .1em;
}
.next-strip ol {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.next-strip li {
  display: grid;
  gap: 5px;
  border-top: 3px solid var(--ink);
  padding-top: 9px;
}
.next-strip li b { color: var(--blue); font: 21px/1 'Archivo Black', sans-serif; }
.next-strip li span { font-size: 11px; font-weight: 900; line-height: 1.25; text-transform: uppercase; }

.form-panel {
  position: relative;
  background: var(--white);
  border: 5px solid var(--ink);
  box-shadow: 14px 14px 0 var(--red);
}
.form-intro {
  position: relative;
  overflow: hidden;
  padding: clamp(30px, 4vw, 58px);
  background: var(--blue);
  border-bottom: 5px solid var(--ink);
  color: var(--white);
}
.form-intro::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  right: -120px;
  top: -125px;
  border-radius: 50%;
  background: repeating-conic-gradient(var(--yellow) 0 4deg, transparent 4deg 12deg);
  opacity: .25;
}
.form-kicker { position: relative; z-index: 1; box-shadow: 5px 5px 0 var(--red); }
.form-intro h2,
.success-panel h2 {
  position: relative;
  z-index: 1;
  margin: 24px 0 15px;
  font: clamp(54px, 6.2vw, 92px)/.84 'Archivo Black', sans-serif;
  letter-spacing: -.07em;
  text-transform: uppercase;
}
.form-intro h2 em,
.success-panel h2 em { color: var(--yellow); font-style: normal; }
.form-intro > p {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}

#project-form { padding: clamp(26px, 4vw, 58px); }
.form-section + .form-section {
  margin-top: 48px;
  padding-top: 48px;
  border-top: 4px solid var(--ink);
}
.section-heading {
  display: grid;
  grid-template-columns: 58px 1fr;
  align-items: center;
  gap: 16px;
  margin-bottom: 27px;
}
.section-heading > span {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  background: var(--red);
  border: 4px solid var(--ink);
  box-shadow: 5px 5px 0 var(--yellow);
  color: var(--white);
  font: 21px/1 'Archivo Black', sans-serif;
  transform: rotate(-2deg);
}
.form-section:nth-of-type(2) .section-heading > span { background: var(--blue); }
.form-section:nth-of-type(3) .section-heading > span { background: var(--yellow); color: var(--ink); }
.section-heading p {
  margin: 0 0 4px;
  color: var(--blue);
  font: 12px/1 'Archivo Black', sans-serif;
  letter-spacing: .13em;
}
.section-heading h3 {
  margin: 0;
  font: clamp(25px, 2.3vw, 36px)/1 'Archivo Black', sans-serif;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.field-grid { display: grid; gap: 22px; }
.two-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field { display: grid; gap: 9px; }
.field > span,
.choice-fieldset legend {
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .045em;
  text-transform: uppercase;
}
.field > span b,
.choice-fieldset legend b { color: var(--red); }
.field > span small {
  margin-left: 6px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: .1em;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 54px;
  border: 3px solid var(--ink);
  border-radius: 0;
  background: #fbfaf6;
  color: var(--ink);
  outline: none;
  padding: 14px 15px;
  font-size: 15px;
  font-weight: 700;
  transition: box-shadow .15s ease, transform .15s ease, background .15s ease;
}
.field textarea { min-height: 170px; resize: vertical; line-height: 1.5; }
.field input::placeholder,
.field textarea::placeholder { color: #747780; opacity: 1; font-weight: 600; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  background: var(--white);
  box-shadow: 5px 5px 0 var(--blue);
  transform: translate(-2px, -2px);
}
.field input:user-invalid,
.field select:user-invalid,
.field textarea:user-invalid { border-color: #b51919; box-shadow: 4px 4px 0 rgba(181, 25, 25, .25); }
.field-help { color: var(--muted); font-size: 12px; line-height: 1.4; }

.choice-fieldset { margin: 0 0 26px; padding: 0; border: 0; }
.choice-fieldset legend { margin-bottom: 13px; }
.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
.choice-card { position: relative; min-width: 0; }
.choice-card input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.choice-card span {
  min-height: 76px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 13px 14px 13px 44px;
  border: 3px solid var(--ink);
  background: #fbfaf6;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.choice-card span::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 50%;
  width: 17px;
  height: 17px;
  border: 3px solid var(--ink);
  background: var(--white);
  transform: translateY(-50%);
}
.choice-card span b { font: 15px/1 'Archivo Black', sans-serif; }
.choice-card span small { color: var(--muted); font-size: 11px; font-weight: 700; }
.choice-card:hover span { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--yellow); }
.choice-card input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 3px; }
.choice-card input:checked + span { background: var(--yellow); box-shadow: 5px 5px 0 var(--blue); transform: translate(-2px, -2px); }
.choice-card input:checked + span::before { background: var(--red); box-shadow: inset 0 0 0 3px var(--white); }
.select-row { margin-top: 4px; }
.honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.submit-row {
  margin-top: 36px;
  padding-top: 33px;
  border-top: 4px solid var(--ink);
}
.submit-button {
  width: 100%;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 4px solid var(--ink);
  background: var(--yellow);
  box-shadow: 8px 8px 0 var(--blue);
  color: var(--ink);
  padding: 14px 22px;
  font: clamp(17px, 2vw, 24px)/1 'Archivo Black', sans-serif;
  text-align: left;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.submit-button b { font-size: 34px; }
.submit-button:hover,
.submit-button:focus-visible { background: var(--white); transform: translate(-3px, -3px); box-shadow: 11px 11px 0 var(--red); }
.submit-button:disabled { cursor: wait; opacity: .65; transform: none; box-shadow: 5px 5px 0 var(--muted); }
.submit-row p { margin: 22px 0 0; color: var(--muted); font-size: 12px; font-weight: 700; line-height: 1.5; text-align: center; }
.form-status { min-height: 0; margin-top: 18px; font-weight: 800; line-height: 1.45; }
.form-status:not(:empty) { min-height: 48px; padding: 12px 14px; border: 3px solid var(--ink); background: #fff1f1; color: #8e1414; }
.form-status.success:not(:empty) { background: #ecfff0; color: #155725; }

.success-panel {
  position: relative;
  scroll-margin-top: 96px;
  min-height: 760px;
  display: grid;
  align-content: center;
  justify-items: start;
  overflow: hidden;
  padding: clamp(42px, 7vw, 90px);
  background: var(--blue);
  color: var(--white);
}
.success-panel[hidden] { display: none; }
.success-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .25) 2px, transparent 2.2px);
  background-size: 10px 10px;
  opacity: .35;
}
.success-panel > * { position: relative; z-index: 2; }
.success-badge { background: var(--yellow); border: 4px solid var(--ink); box-shadow: 6px 6px 0 var(--red); color: var(--ink); font: 13px/1 'Archivo Black', sans-serif; letter-spacing: .12em; padding: 10px 13px; }
.success-burst {
  width: 90px;
  height: 90px;
  display: grid;
  place-items: center;
  margin: 40px 0 10px;
  background: var(--yellow);
  border: 5px solid var(--ink);
  border-radius: 50%;
  box-shadow: 8px 8px 0 var(--red);
  color: var(--ink);
  font: 42px/1 'Archivo Black', sans-serif;
}
.success-panel h2 { font-size: clamp(66px, 8vw, 118px); }
.success-panel > p { max-width: 580px; margin: 0; font-size: 18px; font-weight: 700; line-height: 1.6; }
.success-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 35px; }
.success-actions a { min-height: 52px; display: inline-flex; align-items: center; border: 3px solid var(--ink); background: var(--white); box-shadow: 5px 5px 0 var(--yellow); color: var(--ink); font: 13px/1 'Archivo Black', sans-serif; padding: 12px 17px; text-decoration: none; text-transform: uppercase; }

.site-footer-meta a { color: inherit; text-underline-offset: 3px; }
.site-footer-meta a:hover,
.site-footer-meta a:focus-visible { color: var(--yellow); }

@media (max-width: 1100px) {
  .contact-shell { grid-template-columns: minmax(330px, .8fr) minmax(500px, 1.2fr); gap: 30px; }
  .story-copy h1 { font-size: clamp(43px, 5.1vw, 64px); }
  .story-copy p { font-size: 14px; }
  .next-strip ol { grid-template-columns: 1fr; gap: 7px; }
  .next-strip li { grid-template-columns: 34px 1fr; align-items: center; border-top-width: 2px; }
}

@media (max-width: 900px) {
  .header { padding: 0 20px; }
  .header-nav { gap: 16px; }
  .header-nav a { font-size: 12px; }
  .contact-shell { grid-template-columns: 1fr; width: min(760px, 100%); }
  .story-panel { position: relative; top: auto; min-height: 0; grid-template-rows: auto 430px auto; }
  .story-copy h1 { font-size: clamp(50px, 9vw, 72px); }
  .next-strip ol { grid-template-columns: repeat(3, 1fr); }
  .next-strip li { display: grid; grid-template-columns: 1fr; align-items: initial; }
}

@media (max-width: 640px) {
  .header { height: 80px; padding: 0 16px; }
  .menu-toggle { display: block; }
  .header.menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .header.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
  .header.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .header-nav {
    position: fixed;
    top: 80px;
    left: 12px;
    right: 12px;
    margin: 0;
    padding: 12px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--ink);
    border: 4px solid var(--blue);
    box-shadow: 8px 8px 0 var(--yellow);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .header.menu-open .header-nav { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
  .header-nav a { width: 100%; min-height: 48px; padding: 10px 14px; font-size: 14px; }
  .header-nav .header-cta { justify-content: center; margin-top: 8px; }

  .contact-page { padding: 102px 14px 74px; }
  .contact-shell { gap: 28px; }
  .story-panel { grid-template-rows: auto 300px auto; box-shadow: 8px 8px 0 var(--blue), 12px 12px 0 var(--yellow); }
  .story-copy { padding: 25px 20px 22px; }
  .intake-badge { font-size: 9px; }
  .story-copy h1 { margin-top: 21px; font-size: clamp(42px, 13vw, 60px); }
  .story-copy p { font-size: 14px; }
  .art-caption { right: 12px; bottom: 12px; font-size: 14px; }
  .next-strip { padding-inline: 18px; }
  .next-strip ol { grid-template-columns: 1fr; }
  .next-strip li { grid-template-columns: 34px 1fr; align-items: center; }

  .form-panel { box-shadow: 8px 8px 0 var(--red); }
  .form-intro { padding: 30px 22px; }
  .form-intro h2 { font-size: clamp(52px, 17vw, 76px); }
  #project-form { padding: 30px 20px 38px; }
  .form-section + .form-section { margin-top: 38px; padding-top: 38px; }
  .section-heading { grid-template-columns: 50px 1fr; gap: 13px; }
  .section-heading > span { width: 50px; height: 50px; font-size: 18px; }
  .section-heading h3 { font-size: 24px; }
  .two-columns, .choice-grid { grid-template-columns: 1fr; }
  .choice-card span { min-height: 68px; }
  .submit-button { font-size: 17px; }
  .success-panel { min-height: 680px; padding: 42px 24px; }
  .success-panel h2 { font-size: clamp(60px, 19vw, 88px); }
}

@media (max-height: 840px) and (min-width: 901px) {
  .story-panel { position: relative; top: auto; min-height: 740px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
