:root {
  color-scheme: dark;
  --bg: #08121c;
  --panel: #0d1b27;
  --text: #eef6f5;
  --muted: #a9bbc2;
  --lime: #c5f36a;
  --line: #30414b;
  font-family: Manrope, system-ui, sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; color: var(--text); background: var(--bg); line-height: 1.6; }
a { color: inherit; text-decoration: none; }
a:hover, [aria-current="page"] { color: var(--lime); }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 4px; }
.frame { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.skip { position: absolute; inset: 12px auto auto 12px; transform: translateY(-200%); padding: 8px 16px; background: var(--lime); color: var(--bg); }
.skip:focus { transform: none; }
.masthead { min-height: 82px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-block: 14px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: .025em; }
.mark { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--lime); border-radius: 10px; color: var(--lime); transform: rotate(-8deg); }
.wordmark-end { color: var(--muted); font-weight: 500; }
nav { display: flex; gap: 8px clamp(16px, 3vw, 34px); flex-wrap: wrap; font-size: .92rem; }
.contact-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: start; gap: clamp(32px, 6vw, 88px); padding-block: clamp(48px, 8vw, 110px); }
.intro > p { max-width: 34ch; color: var(--muted); font-size: 1.08rem; }
.intro .eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 20px; font: .8rem ui-monospace, monospace; letter-spacing: .12em; text-transform: uppercase; color: var(--lime); }
.eyebrow::before { content: ""; width: 32px; height: 1px; background: currentColor; }
h1 { max-width: 10ch; margin: 0; font-size: clamp(3rem, 6.6vw, 5.6rem); line-height: 1.03; letter-spacing: -.065em; }
h1 span { color: var(--lime); }
form { display: grid; gap: 20px; padding: clamp(20px, 3.5vw, 44px); background: var(--panel); border: 1px solid var(--line); }
.field-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
label { display: grid; gap: 6px; font-weight: 650; }
small, .form-note { color: var(--muted); font-weight: 400; }
input, textarea, select { width: 100%; min-width: 0; padding: 11px 12px; border-radius: 4px; border: 1px solid #627780; background: var(--bg); color: var(--text); font: inherit; }
textarea { resize: vertical; }
.form-note { margin: 0; font-size: .9rem; }
button { justify-self: start; padding: 11px 20px; border-radius: 4px; border: 1px solid var(--line); font: inherit; font-weight: 700; color: var(--muted); background: #1a2a34; cursor: not-allowed; }
@media (max-width: 760px) {
  .contact-layout { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  .frame { width: calc(100% - 36px); }
  .field-pair { grid-template-columns: minmax(0, 1fr); }
  .masthead { align-items: flex-start; flex-direction: column; }
}
