:root {
  --background: #eeeac4;
  --text: #000;
  --input-text: #262626;
  --accent: #38b54a;
  --danger: #d74c18;
  --input-background: #f5f5dc;
  --input-border: #959595;
  --heavy-border: 12px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: "Arvo", "Museo Slab", Rockwell, serif;
  line-height: 1.45;
}

a { color: inherit; }

.site-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.25rem clamp(1rem, 4vw, 4rem);
  border-bottom: var(--heavy-border) solid var(--text);
}

.wordmark {
  display: inline-block;
  font-size: clamp(2rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: .85;
  text-decoration: none;
  letter-spacing: -.08em;
}

.eyebrow {
  margin: 0;
  max-width: 18rem;
  text-align: right;
  font-weight: 700;
  text-transform: uppercase;
  font-size: .8rem;
  letter-spacing: .08em;
}

.hero {
  position: relative;
  min-height: 64vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: clamp(3rem, 8vw, 8rem) clamp(1rem, 4vw, 4rem);
  border-bottom: var(--heavy-border) solid var(--text);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 980px;
}

.kicker,
.section-number {
  display: inline-block;
  margin: 0 0 1.25rem;
  padding: .45rem .65rem;
  background: var(--accent);
  border: 3px solid var(--text);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}

h1, h2, p { margin-top: 0; }

h1 {
  margin-bottom: 1.5rem;
  font-size: clamp(3.2rem, 10vw, 9rem);
  line-height: .88;
  letter-spacing: -.065em;
  text-transform: uppercase;
}

.intro {
  max-width: 760px;
  margin-bottom: 0;
  font-size: clamp(1.05rem, 2.3vw, 1.65rem);
  font-weight: 700;
}

.field-marking {
  position: absolute;
  inset: auto -10vw -28vw auto;
  width: min(68vw, 850px);
  aspect-ratio: 1;
  border: 12px solid var(--accent);
  opacity: .75;
  transform: rotate(-8deg);
}

.field-circle {
  position: absolute;
  inset: 20%;
  border: 12px solid var(--accent);
  border-radius: 50%;
}

.field-line {
  position: absolute;
  inset: 0 49%;
  border-left: 12px solid var(--accent);
}

.registration {
  padding: clamp(3rem, 7vw, 7rem) clamp(1rem, 4vw, 4rem);
}

.registration-heading {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem 1.5rem;
  align-items: start;
  margin-bottom: 2.5rem;
}

.registration-heading h2 {
  margin-bottom: .35rem;
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  line-height: 1;
  text-transform: uppercase;
}

.registration-heading p { margin-bottom: 0; }

form {
  border: var(--heavy-border) solid var(--text);
  background: var(--input-background);
  padding: clamp(1rem, 3vw, 2.5rem);
  box-shadow: 18px 18px 0 var(--accent);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

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

label {
  display: block;
  margin-bottom: .5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .035em;
}

input {
  width: 100%;
  min-height: 3.8rem;
  padding: .85rem 1rem;
  border: 1px solid var(--input-border);
  border-radius: 0;
  background: var(--input-background);
  color: var(--input-text);
  font: inherit;
  font-size: 1.05rem;
}

input:focus {
  outline: 5px solid var(--accent);
  outline-offset: 2px;
  border-color: var(--text);
}

input[aria-invalid="true"] {
  border: 4px solid var(--danger);
}

.field-error {
  min-height: 1.3em;
  margin: .45rem 0 0;
  color: var(--danger);
  font-size: .88rem;
  font-weight: 700;
}

.honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  white-space: nowrap !important;
}

.form-actions {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--input-border);
}

.privacy-note {
  max-width: 620px;
  margin-bottom: 0;
  font-size: .85rem;
}

button {
  flex: 0 0 auto;
  min-height: 4rem;
  padding: .9rem 1.2rem;
  border: 4px solid var(--text);
  border-radius: 0;
  background: var(--danger);
  color: #fff;
  font: inherit;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 7px 7px 0 var(--text);
  transition: transform .12s ease, box-shadow .12s ease;
}

button:hover { transform: translate(-2px, -2px); box-shadow: 9px 9px 0 var(--text); }
button:active { transform: translate(4px, 4px); box-shadow: 3px 3px 0 var(--text); }
button:disabled { cursor: wait; opacity: .7; }

.form-status {
  display: none;
  margin-top: 1.5rem;
  padding: 1rem;
  border: 4px solid var(--text);
  font-weight: 700;
}

.form-status.is-visible { display: block; }
.form-status.success { background: var(--accent); }
.form-status.error { background: var(--danger); color: #fff; }

footer {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 1rem;
  padding: 1.5rem clamp(1rem, 4vw, 4rem);
  border-top: var(--heavy-border) solid var(--text);
  background: var(--text);
  color: var(--background);
  font-size: .9rem;
}

footer p { margin-bottom: 0; }
footer a { text-underline-offset: .2em; }

@media (max-width: 760px) {
  .site-header { align-items: start; }
  .eyebrow { max-width: 10rem; }
  .hero { min-height: 72vh; }
  .field-marking { width: 115vw; bottom: -42vw; right: -45vw; }
  .registration-heading { grid-template-columns: 1fr; }
  .section-number { width: fit-content; }
  .form-grid { grid-template-columns: 1fr; }
  .field-wide { grid-column: auto; }
  .form-actions { align-items: stretch; flex-direction: column; }
  button { width: 100%; }
  footer { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
