/* Brand tokens lifted from eightherastudios.com — same studio, same property.
   Palette + type scale sampled live from the production site (2026-08-27):
   bg #191918, panel #1F1E1D, border #373533, text #E6DDD4, muted #A7A19A,
   accent #FF5400. Font is Transducer (self-hosted OTFs, see /fonts). */

@font-face {
  font-family: 'Transducer';
  src: url('/fonts/Transducer-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Transducer';
  src: url('/fonts/Transducer-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Transducer';
  src: url('/fonts/Transducer-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Transducer Condensed';
  src: url('/fonts/Transducer-CondensedRegular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Transducer Extended';
  src: url('/fonts/Transducer-ExtendedBold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Transducer Extended';
  src: url('/fonts/Transducer-ExtendedBlack.otf') format('opentype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #191918;
  --panel: #1f1e1d;
  --panel-2: #232221;
  --border: #373533;
  --text: #e6ddd4;
  --text-dim: #a7a19a;
  --accent: #ff5400;
  --accent-text: #0a0a09;
  --error: #ff6b52;
  --success: #ff5400;
  --font: 'Transducer', system-ui, -apple-system, sans-serif;
  --font-extended: 'Transducer Extended', 'Transducer', system-ui, sans-serif;
  --font-condensed: 'Transducer Condensed', 'Transducer', system-ui, sans-serif;
  --radius: 2px;
  --focus: 0 0 0 2px var(--bg), 0 0 0 4px var(--accent);
}

/* Site is dark-only in brand — no light variant, matching eightherastudios.com's
   default presentation rather than inventing a second brand look. */

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  min-height: 100%;
  -webkit-font-smoothing: antialiased;
}

.page {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 20px 96px;
}

/* ── Header, mirrors the site nav: mark + wordmark left, plain uppercase
   tracked links right, thin bottom border, transparent bg ── */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 56px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
}
.brand svg { color: var(--text); flex-shrink: 0; }
.brand-word {
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.header-tag {
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.05em;
}

/* ── Hero ── */
.hero { margin-bottom: 40px; }
.eyebrow {
  font-family: var(--font);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--accent);
  margin: 0 0 12px;
}
.eyebrow::before { content: '// '; }
.hero h1 {
  font-family: var(--font-extended);
  font-weight: 900;
  font-size: 40px;
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin: 0 0 16px;
}
.lede {
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
  max-width: 52ch;
}

/* ── Card / form container — sharp corners, hairline border, slightly
   lighter panel than the page bg, matching the site's content-block style ── */
.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
}

.field { margin-bottom: 20px; }
fieldset.field { border: none; padding: 0; margin: 0 0 20px; }
legend {
  padding: 0;
  margin-bottom: 8px;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dim);
}

label {
  display: block;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  margin-bottom: 8px;
}

input[type="text"], input[type="email"], select {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
}
input[type="text"]::placeholder, input[type="email"]::placeholder { color: var(--text-dim); opacity: 0.7; }

input[type="text"]:focus, input[type="email"]:focus, select:focus {
  outline: none;
  box-shadow: var(--focus);
  border-color: var(--accent);
}

.hint { color: var(--text-dim); font-size: 13px; margin: 8px 0 0; line-height: 1.4; }

.error {
  color: var(--error);
  font-size: 13px;
  margin: 8px 0 0;
  font-family: var(--font);
}
.error:empty { display: none; }
.error::before { content: '> '; }
.error:empty::before { content: ''; }

.segmented { display: flex; gap: 8px; }
.segment {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  background: var(--panel-2);
  color: var(--text-dim);
  margin: 0;
}
.segment input { position: absolute; opacity: 0; }
.segment:has(input:checked) {
  border-color: var(--accent);
  color: var(--text);
  background: color-mix(in srgb, var(--accent) 14%, var(--panel-2));
}
.segment:has(input:focus-visible) { box-shadow: var(--focus); }

.consent-group {
  margin-bottom: 20px;
  padding: 16px;
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 400;
  font-size: 14px;
  cursor: pointer;
  margin: 0 0 12px;
  min-height: 44px;
  color: var(--text);
}
.checkbox:last-child { margin-bottom: 0; }
.checkbox input {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--accent);
}
.checkbox a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

.newsletter { margin-bottom: 20px; color: var(--text-dim); }

.hp-wrap { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.turnstile { margin-bottom: 18px; min-height: 0; }
.turnstile:empty { margin-bottom: 0; }

button[type="submit"], .button {
  display: block;
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--accent-text);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  line-height: 48px;
}
button[type="submit"]:hover, .button:hover { background: transparent; color: var(--accent); }
button[type="submit"]:disabled { opacity: 0.5; cursor: not-allowed; }
button[type="submit"]:focus-visible, .button:focus-visible { box-shadow: var(--focus); }

.success { padding-top: 4px; }
.success h2 {
  font-family: var(--font-extended);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0 0 12px;
  color: var(--text);
  font-size: 24px;
}
.success h2::before { content: '> '; color: var(--accent); }
.success p { color: var(--text-dim); line-height: 1.6; font-size: 15px; }
.success .button { margin-top: 20px; max-width: 240px; }

.hidden { display: none; }

.noscript-warning {
  background: var(--panel);
  border: 1px solid var(--error);
  color: var(--error);
  padding: 12px;
  border-radius: var(--radius);
  text-align: center;
}

.footer {
  text-align: center;
  color: var(--text-dim);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

@media (max-width: 380px) {
  .segmented { flex-direction: column; }
  .hero h1 { font-size: 32px; }
}
