@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/barlow-condensed-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/barlow-condensed-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/barlow-condensed-latin-700-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/source-sans-3-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/source-sans-3-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/source-sans-3-latin-700-normal.woff2") format("woff2");
}

/* Brand palette. Logo ink is #57585C. Change colors here only. */
:root {
  --ink: #1e242b;
  --charcoal: #57585c;
  --slate: #2a3138;
  --steel: #3d727c;
  --steel-deep: #1d5560;
  --paper: #f3f1ec;
  --paper-2: #e6e1d8;
  --surface: #fffcf8;
  --line: #d5d0c7;
  --amber: #e2a312;
  --amber-ink: #1e242b;
  --white: #ffffff;
  --danger: #8d2e2e;
  --ok: #1d5560;
  --shadow: 0 18px 40px rgba(30, 36, 43, 0.1);
  --radius: 18px;
  --font-display: "Barlow Condensed", "Arial Narrow", "Franklin Gothic Medium", sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", "Helvetica Neue", sans-serif;
  --max: 1120px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.55;
}

img { max-width: 100%; height: auto; }

a { color: var(--steel-deep); }

a:hover { color: var(--ink); }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: 0.02em;
  margin: 0 0 0.4em;
}

h1 {
  font-size: clamp(3.1rem, 8vw, 5.6rem);
  text-transform: uppercase;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.15rem);
  text-transform: uppercase;
}

h3 {
  font-size: 1.7rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

p { margin: 0 0 0.9rem; }

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--amber);
  color: var(--ink);
  padding: 8px 12px;
  z-index: 10;
}

.skip:focus { top: 12px; }

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

.narrow { max-width: 42rem; }

.eyebrow {
  margin: 0 0 0.6rem;
  color: var(--steel-deep);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow.light, .lede.light, .light { color: #f4f1ea; }

.light a { color: #f3d48a; }

.rule {
  width: 56px;
  height: 4px;
  border: 0;
  background: var(--amber);
  margin: 1rem 0 1.15rem;
}

.lede { font-size: 1.22rem; max-width: 42rem; }

.utility {
  background: var(--charcoal);
  color: var(--white);
  font-size: 0.92rem;
}

.utility a { color: var(--white); text-decoration: none; }

.utility a:hover { text-decoration: underline; }

.utility-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  padding: 0.55rem 0;
}

.site-header {
  background: var(--surface);
  border-bottom: 3px solid var(--ink);
}

.nav-bar {
  position: relative;
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
  min-height: 76px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
  text-decoration: none;
  padding: 0.7rem 0;
}

.brand-mark { height: 52px; width: auto; }

.brand-text { display: flex; flex-direction: column; gap: 0.15rem; }

.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 1.45rem;
  color: var(--charcoal);
  line-height: 0.9;
}

.brand-since {
  color: var(--steel-deep);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav-check {
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 0;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  border: 0;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  border: 1px solid var(--ink);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  min-height: 44px;
  padding: 0.4rem 0.9rem;
  cursor: pointer;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem 1.1rem;
  margin-left: auto;
}

.nav-links a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  padding: 0.35rem 0;
}

.nav-links a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--steel); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

.btn-amber {
  background: var(--amber);
  color: var(--amber-ink);
}

.btn-amber:hover { background: #f0b428; color: var(--ink); }

.btn-ink {
  background: var(--ink);
  color: var(--white);
}

.btn-ink:hover { background: var(--slate); color: var(--white); }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.75);
}

.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); color: var(--white); }

.nav-links .btn { color: var(--amber-ink); padding-inline: 1rem; }

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

.hero {
  background:
    linear-gradient(180deg, rgba(30, 36, 43, 0.15), rgba(30, 36, 43, 0.45)),
    var(--ink);
  color: #f4f1ea;
  padding: 3.2rem 0 3.6rem;
}

.hero-grid, .page-hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.hero-logo, .about-logo {
  justify-self: center;
  background: transparent;
}

.hero-logo img { width: min(280px, 78vw); }

.about-logo {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.about-logo img { width: min(240px, 70vw); }

.page-hero { padding: 2.6rem 0 0.4rem; }

.section { padding: 2.8rem 0; }

.section.tight { padding-top: 1rem; }

.card-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.2rem;
}

.card, .form-card, .terminal, .partner {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1.2rem 0.4rem;
  box-shadow: var(--shadow);
}

.card { border-top: 4px solid var(--steel); }

.role {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-top: 4px solid var(--amber);
  border-radius: var(--radius);
  padding: 1rem 1rem 0.3rem;
  color: #f4f1ea;
}

.partner {
  margin-top: 1rem;
  border-left: 4px solid var(--steel);
}

.band {
  background: var(--slate);
  color: #f4f1ea;
  padding: 3rem 0;
}

.light-heading { color: #f4f1ea; }

.split, .split-panel, .contact-grid, .footer-grid {
  display: grid;
  gap: 1.5rem;
}

.split { margin-top: 1.5rem; }

.checks {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}

.checks li {
  position: relative;
  padding-left: 1.3rem;
  margin: 0.45rem 0;
}

.checks li::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  background: var(--steel);
  position: absolute;
  left: 0;
  top: 0.55em;
}

.checks.light li::before { background: var(--amber); }

.terminal, .split-panel {
  display: grid;
  gap: 1rem;
  align-items: center;
  padding: 1.4rem;
}

.terminal-mark, .contact-mark, .requirements-mark img {
  width: min(160px, 42vw);
  justify-self: center;
}

.facts { margin: 0 0 1rem; }

.facts div { padding: 0.45rem 0; border-top: 1px solid var(--line); }

.facts dt {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--charcoal);
  font-weight: 700;
}

.facts dd { margin: 0.1rem 0 0; }

.form-card { padding: 1.4rem; }

.form-grid, .stack-form { display: grid; gap: 0.9rem; }

.field { display: flex; flex-direction: column; gap: 0.3rem; }

.field-wide { grid-column: 1 / -1; }

label, legend { font-weight: 700; }

.req { color: var(--danger); }

.hint { color: var(--charcoal); font-size: 0.92rem; }

input, select, textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid #b7b2aa;
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  padding: 0.55rem 0.75rem;
}

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

input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] {
  border-color: var(--danger);
}

.checks-field {
  border: 1px solid var(--line);
  border-radius: 12px;
  margin: 0;
  padding: 0.8rem 1rem 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.2rem;
}

.check {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  min-height: 44px;
}

.check input { width: 1.15rem; height: 1.15rem; min-height: 0; }

.form-status { min-height: 1.4em; font-weight: 700; }

.form-status.is-error { color: var(--danger); }

.form-status.is-ok { color: var(--ok); }

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.site-footer {
  background: var(--ink);
  color: #f4f1ea;
  padding-top: 2.4rem;
}

.site-footer a { color: #f3d48a; }

.site-footer h2 {
  font-size: 1.15rem;
  letter-spacing: 0.12em;
  margin-bottom: 0.7rem;
}

.footer-lockup { width: min(180px, 50vw); margin-bottom: 0.8rem; }

.footer-name { font-weight: 700; }

.footer-base {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 1.5rem;
  padding: 0.9rem 0 1.2rem;
  color: #c8c4bd;
  font-size: 0.92rem;
}

.fine { color: #c8c4bd; font-size: 0.92rem; }

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
}

.btn-amber:focus-visible { outline-color: var(--ink); }

@media (min-width: 720px) {
  .card-grid.two { grid-template-columns: 1fr 1fr; }
  .card-grid.three { grid-template-columns: 1fr 1fr 1fr; }
  .split, .contact-grid, .footer-grid { grid-template-columns: 1.2fr 0.8fr; }
  .footer-grid { grid-template-columns: 1.1fr 0.9fr 1fr; }
  .form-grid { grid-template-columns: 1fr 1fr; }
  .terminal, .split-panel { grid-template-columns: 1fr auto; }
}

@media (min-width: 960px) {
  .hero-grid, .page-hero-grid { grid-template-columns: 1.3fr 0.7fr; }
  .card-grid.four { grid-template-columns: repeat(4, 1fr); }
  .split { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; align-items: center; }
  .nav-links {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    margin: 0 0 0.9rem;
    padding-bottom: 0.4rem;
  }
  .nav-check:checked ~ .nav-links { display: flex; }
  .nav-check:focus-visible + .nav-toggle { outline: 3px solid var(--amber); outline-offset: 3px; }
  .nav-links .btn { width: fit-content; }
}

@media (max-width: 420px) {
  .brand-mark { height: 44px; }
  .brand-name { font-size: 1.05rem; }
  h1 { font-size: 2.7rem; }
}

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