/* EndLine Systems — site styles */

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: swap;
  src: url('fonts/archivo-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: swap;
  src: url('fonts/archivo-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/plex-mono-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/plex-mono-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #101418;
  --ink-line: #2A3038;
  --ink-line-strong: #4A5058;
  --accent: #D9590D;
  --accent-hover: #A84508;
  --accent-bright: #E97132;
  --text: #2C2C2C;
  --text-heading: #1A1A1A;
  --text-secondary: #595959;
  --text-on-dark: #C9CDD2;
  --text-muted-dark: #8A9098;
  --panel: #F2F2F5;
  --hairline: #E8E8E8;
  --field-border: #C9CDD2;
  --font-display: 'Archivo', -apple-system, 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'IBM Plex Mono', 'Courier New', monospace;
  --ease: cubic-bezier(.2, 0, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; }
body {
  margin: 0;
  background: #FFFFFF;
  color: var(--text);
  font-family: var(--font-display);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-decoration-color: var(--accent); }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: var(--ink);
  border-bottom: 1px solid var(--ink-line);
}
.site-header .wrap {
  height: 64px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: flex; align-items: center; }
.brand img { height: 22px; width: auto; display: block; }
.nav {
  display: flex; gap: 28px; align-items: center;
  font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
}
.nav a { color: var(--text-on-dark); }
.nav a:hover { color: var(--accent-bright); text-decoration: none; }

/* Hero */
.hero { background: var(--ink); color: #FFFFFF; position: relative; overflow: hidden; }
.hero-art { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-art .pulse { filter: drop-shadow(0 0 8px #E97132); animation: elPulse 2.4s ease-in-out infinite; }
@keyframes elPulse { 0%, 100% { opacity: 1; } 50% { opacity: .4; } }
.hero .wrap { position: relative; padding-top: 128px; padding-bottom: 120px; }
.hero h1 {
  margin: 0; max-width: 14ch;
  font-size: clamp(44px, 7vw, 96px); font-weight: 900; line-height: 0.98;
  letter-spacing: -0.02em; text-transform: uppercase; text-wrap: pretty;
}
.hero-rule { width: 96px; border-bottom: 3px solid var(--accent); margin: 32px 0; }
.hero p {
  margin: 0; max-width: 58ch;
  font-size: 19px; line-height: 1.5; color: var(--text-on-dark); text-wrap: pretty;
}
.hero-actions { display: flex; gap: 12px; margin-top: 40px; flex-wrap: wrap; }

/* Buttons */
.btn {
  font-family: var(--font-display); font-weight: 600; font-size: 14px;
  letter-spacing: 0.06em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px;
  border: 1px solid transparent; border-radius: 3px;
  cursor: pointer;
  transition: background 120ms var(--ease), color 120ms var(--ease), border-color 120ms var(--ease);
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--accent); color: #FFFFFF; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-secondary { background: transparent; color: var(--text-heading); border-color: var(--text); }
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }
.btn-ghost-dark { background: transparent; color: #FFFFFF; border-color: var(--ink-line-strong); border-radius: 0; }
.btn-ghost-dark:hover { border-color: var(--accent-bright); }
.btn[disabled] { opacity: .6; cursor: progress; }

/* Sections */
.section { border-bottom: 1px solid var(--hairline); }
.section-alt { background: var(--panel); }
.section .grid {
  padding-top: 96px; padding-bottom: 96px;
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 64px;
}
.section-header h2 {
  margin: 0;
  font-size: 26px; font-weight: 800; letter-spacing: -0.02em;
  text-transform: uppercase; line-height: 1.15; color: var(--text-heading);
}
.section-header .rule { border-bottom: 3px solid var(--accent); margin-top: 10px; }
.section-header .kicker { font-size: 13px; font-weight: 700; color: var(--text-secondary); margin-top: 10px; }
.section-intro { margin: 24px 0 0; font-size: 15px; line-height: 1.6; color: var(--text-secondary); text-wrap: pretty; }

.mission-lead {
  margin: 0; font-size: 30px; font-weight: 800; line-height: 1.2;
  letter-spacing: -0.02em; text-wrap: pretty;
}
.mission-body {
  margin: 24px 0 0; max-width: 64ch;
  font-size: 16px; line-height: 1.6; color: var(--text-secondary); text-wrap: pretty;
}

/* Forms */
.form { display: grid; gap: 20px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: grid; gap: 8px; }
.label, .fineprint {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--text-secondary);
}
.field input, .field textarea {
  font-family: var(--font-display); font-size: 15px; color: var(--text);
  background: #FFFFFF; border: 1px solid var(--field-border); border-radius: 0;
  padding: 12px 14px; outline: none; transition: border-color 150ms;
  width: 100%;
}
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--accent); }
.form-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.turnstile:empty { display: none; }
.form-status {
  border-left: 3px solid var(--accent);
  padding: 12px 16px; background: #FFFFFF; font-size: 14px; color: var(--text);
}
.section:not(.section-alt) .form-status { background: var(--panel); }
.form-status[hidden] { display: none; }
.form-status.is-error { border-left-color: #B42318; }

/* Footer */
.site-footer { background: var(--ink); color: var(--text-on-dark); }
.site-footer .wrap {
  padding-top: 48px; padding-bottom: 48px;
  display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; align-items: center;
}
.footer-logo { height: 40px; width: auto; display: block; }
.copyright {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--text-muted-dark);
}

/* Small screens */
@media (max-width: 800px) {
  .wrap { padding: 0 16px; }
  .hero .wrap { padding-top: 88px; padding-bottom: 80px; }
  .section .grid { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-top: 64px; padding-bottom: 64px; }
  .form-row { grid-template-columns: minmax(0, 1fr); }
  .mission-lead { font-size: 24px; }
  .hero p { font-size: 17px; }
}
@media (max-width: 420px) {
  .nav { gap: 16px; font-size: 12px; }
  .brand img { height: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-art .pulse { animation: none; }
}
