/* ==========================================================================
   Registration — same visual language as the leaderboard (skewed bars, brand
   red, oblique display type) applied to a form.
   ========================================================================== */

/* ── hero banner ─────────────────────────────────────────────────────────── */
/* Drop a campaign image in by overriding --hero-image; the artwork crop ships
   as the default so the slot is never empty. */
.hero {
  --hero-image: url("../img/bg-art.svg");
  position: relative;
  min-height: clamp(210px, 34vw, 420px);
  display: grid; align-items: end;
  padding: clamp(22px, 4vw, 56px) var(--gutter) clamp(20px, 3.4vw, 44px);
  overflow: hidden;
  isolation: isolate;
}
.hero__media {
  position: absolute; inset: 0; z-index: -2;
  background: var(--hero-image) center right / cover no-repeat;
  opacity: .55;
}
.hero::after {          /* legibility scrim + the brand's red diagonal sweep */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(78deg, rgba(11,11,11,.94) 8%, rgba(11,11,11,.72) 46%, rgba(11,11,11,.35) 100%),
    linear-gradient(0deg, rgba(11,11,11,.96), transparent 62%),
    linear-gradient(255deg, rgba(237,28,36,.36), transparent 52%);
}
.hero__inner { max-width: 42rem; }
.hero__eyebrow {
  display: inline-block; margin-bottom: 12px; padding: 5px 14px;
  background: var(--gr-red); color: #fff;
  font-size: clamp(10px, 1.2vw, 12.5px); font-weight: 700; font-style: italic;
  letter-spacing: .16em; text-transform: uppercase;
  clip-path: polygon(7px 0, 100% 0, calc(100% - 7px) 100%, 0 100%);
}
.hero h1 {
  font-size: clamp(27px, 5.6vw, 62px); font-weight: 700; font-style: italic;
  line-height: 1.02; letter-spacing: -.015em; text-transform: uppercase;
  text-wrap: balance;
}
.hero h1 em { color: var(--gr-red); font-style: italic; }
.hero p {
  margin-top: 14px; max-width: 46ch;
  color: rgba(255,255,255,.82); font-size: clamp(14px, 1.6vw, 17.5px); font-weight: 600;
}
.hero__facts {
  display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 22px;
  list-style: none; padding: 0;
}
.hero__facts li { display: flex; flex-direction: column; gap: 2px; }
.hero__facts dt, .hero__facts .k {
  font-size: 10.5px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--muted);
}
.hero__facts .v {
  font-family: var(--font-mono); font-size: clamp(13px, 1.5vw, 16px); font-weight: 700;
}

/* ── form shell ──────────────────────────────────────────────────────────── */
.entry {
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 340px);
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
  padding: clamp(26px, 4vw, 56px) var(--gutter) clamp(30px, 4vw, 60px);
}
@media (max-width: 900px) { .entry { grid-template-columns: minmax(0, 1fr); } }

.section-title {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: clamp(16px, 2vw, 26px);
  font-size: clamp(17px, 2.3vw, 27px); font-weight: 700; font-style: italic;
  text-transform: uppercase; letter-spacing: .01em;
}
.section-title::after { content: ""; flex: 1; height: 2px; background: rgba(255,255,255,.14); }

/* ── fields ──────────────────────────────────────────────────────────────── */
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.field--wide { grid-column: 1 / -1; }
@media (max-width: 620px) { .fields { grid-template-columns: minmax(0, 1fr); } }

.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field label {
  font-size: 11.5px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted);
}
.field label .req { color: var(--gr-red); margin-inline-start: 3px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.15); border-radius: 2px;
  color: #fff; font-size: 15.5px; font-weight: 600;
  transition: border-color .15s var(--ease), background .15s var(--ease);
  appearance: none;
}
.field textarea { resize: vertical; min-height: 88px; font-family: inherit; }
.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%),
                    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
  background-size: 6px 6px, 6px 6px; background-repeat: no-repeat;
  padding-inline-end: 40px; cursor: pointer;
}
.field select option { background: #161616; color: #fff; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted-dim); font-weight: 500; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(255,255,255,.3); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gr-red); background: rgba(255,255,255,.07);
  box-shadow: 0 0 0 3px rgba(237,28,36,.18);
}
.field[data-invalid="true"] input,
.field[data-invalid="true"] select { border-color: var(--danger); }
.field__error { font-size: 12.5px; font-weight: 600; color: #ff9ba1; min-height: 0; }
.field__error:empty { display: none; }
.field__hint { font-size: 12px; font-weight: 500; color: var(--muted-dim); }

/* honeypot — off-screen, never shown to a person */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ── consent ─────────────────────────────────────────────────────────────── */
.consent {
  grid-column: 1 / -1;
  display: flex; gap: 13px; align-items: flex-start;
  padding: 15px 17px; margin-top: 4px;
  background: rgba(255,255,255,.035); border-inline-start: 3px solid rgba(255,255,255,.16);
}
.consent input {
  width: 19px; height: 19px; flex: none; margin-top: 1px; accent-color: var(--gr-red); cursor: pointer;
}
.consent label { font-size: 13.5px; font-weight: 600; line-height: 1.5; color: rgba(255,255,255,.84);
                 letter-spacing: 0; text-transform: none; }
.consent[data-invalid="true"] { border-color: var(--danger); background: rgba(224,50,60,.09); }

.actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 8px; }
.actions .btn { min-width: 210px; }
.form-status { font-size: 13.5px; font-weight: 600; color: var(--muted); }
.form-status[data-tone="error"] { color: #ff9ba1; }

/* ── side rail ───────────────────────────────────────────────────────────── */
.rail { display: grid; gap: 14px; }
.rail__card {
  padding: 20px 22px; background: rgba(255,255,255,.04);
  border-top: 3px solid var(--gr-red);
}
.rail__card h3 {
  font-size: 13px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; margin-bottom: 12px;
}
.rail__card ol, .rail__card ul { margin: 0; padding-inline-start: 18px; display: grid; gap: 9px; }
.rail__card li { font-size: 13.5px; font-weight: 600; color: rgba(255,255,255,.78); line-height: 1.5; }
.rail__card p { font-size: 13.5px; font-weight: 600; color: rgba(255,255,255,.78); line-height: 1.55; }

/* ── success panel ───────────────────────────────────────────────────────── */
.done { display: none; }
.done[data-visible="true"] { display: block; }
.form-wrap[data-hidden="true"] { display: none; }
.done__badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px;
  background: rgba(31,191,107,.15); border: 1px solid rgba(31,191,107,.4); color: #74e6ab;
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.done h2 { margin: 18px 0 10px; font-size: clamp(24px, 3.6vw, 40px); font-style: italic; text-transform: uppercase; }
.done p { color: rgba(255,255,255,.8); font-size: 15.5px; font-weight: 600; max-width: 48ch; line-height: 1.55; }
.done__ref {
  display: inline-block; margin: 22px 0;
  padding: 16px 30px; background: rgba(255,255,255,.05);
  border: 1px dashed rgba(255,255,255,.26);
}
.done__ref .k { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .18em;
                text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.done__ref .v { font-family: var(--font-mono); font-size: clamp(24px, 3.4vw, 34px); font-weight: 700;
                letter-spacing: .04em; color: #fff; }
.done__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 6px; }
