@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/fonts/bricolage-grotesque.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("/fonts/ibm-plex-sans-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("/fonts/ibm-plex-sans-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --steel: #EEF0EC;
  --steel-deep: #E1E5DE;
  --paper: #F8F9F6;
  --ink: #16211D;
  --ink-soft: #3D4A45;
  --spruce: #1F4A3C;
  --spruce-deep: #173A2F;
  --tag: #F2C230;
  --line: #C5CCC4;
  --danger: #9B1C1C;
  --display: "Bricolage Grotesque", "Arial Narrow", Arial, sans-serif;
  --body: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --wrap: 72rem;
  --radius: 6px;
}

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

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 5rem; }

body {
  margin: 0;
  background: var(--steel);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}

main { flex: 1; }

h1, h2, h3 { font-family: var(--display); line-height: 1.08; margin: 0; letter-spacing: -0.015em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 9vw, 4.75rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 5vw, 2.75rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; line-height: 1.25; letter-spacing: -0.005em; }
p { margin: 0 0 1rem; }
a { color: var(--spruce); text-underline-offset: 0.18em; text-decoration-thickness: 0.08em; }
a:hover { color: var(--ink); }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 2px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 1.25rem; }
.narrow { max-width: 44rem; }

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 10;
  background: var(--ink); color: #fff; padding: 0.75rem 1rem; border-radius: var(--radius);
}
.skip:focus { top: 1rem; color: #fff; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--steel); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; min-height: 4rem; }
.brand {
  font-family: var(--display); font-weight: 800; font-size: 1.5rem; letter-spacing: -0.03em;
  color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px;
}
.nav { display: flex; align-items: center; gap: 0.25rem; }
.nav-link {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 0.75rem;
  color: var(--ink); font-weight: 600; text-decoration: none;
}
.nav-link:hover { text-decoration: underline; }
.inline-form { margin: 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0.75rem 1.5rem;
  background: var(--spruce); color: #fff; border: 2px solid var(--spruce);
  font: 600 1.0625rem/1.2 var(--body); text-decoration: none; border-radius: var(--radius); cursor: pointer;
}
.btn:hover { background: var(--spruce-deep); border-color: var(--spruce-deep); color: #fff; }
.btn-ghost { background: transparent; color: var(--spruce); }
.btn-ghost:hover { background: var(--spruce); color: #fff; }
.btn-small { min-height: 44px; padding: 0.5rem 1rem; font-size: 1rem; }

/* Hero */
.hero { padding: 2.5rem 0 3.5rem; }
.hero-grid { display: grid; gap: 2.5rem; }
.eyebrow {
  font-weight: 600; font-size: 0.875rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--spruce); margin-bottom: 1rem;
}
.lede { font-size: 1.1875rem; color: var(--ink-soft); max-width: 38rem; margin-top: 1.25rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.75rem 0 1.25rem; }
.status-note {
  display: inline-block; margin: 0; padding: 0.5rem 0.75rem; font-size: 0.9375rem;
  border-left: 4px solid var(--tag); background: var(--paper); color: var(--ink);
}

/* Lot ticket: the one loud element */
.ticket {
  position: relative; background: var(--tag); color: var(--ink);
  padding: 3.25rem 1.5rem 1.5rem; border-radius: 10px 10px 4px 4px;
  box-shadow: 0 1px 0 rgba(22, 33, 29, 0.25), 0 18px 30px -18px rgba(22, 33, 29, 0.55);
  transform: rotate(-1.5deg); max-width: 24rem; width: 100%; justify-self: center;
}
.ticket-hole {
  position: absolute; top: 1rem; left: 50%; width: 1.5rem; height: 1.5rem; margin-left: -0.75rem;
  border-radius: 50%; background: var(--steel); box-shadow: inset 0 2px 3px rgba(22, 33, 29, 0.35);
}
.ticket-title {
  font-family: var(--display); font-weight: 800; font-size: 2rem; line-height: 1; letter-spacing: -0.02em;
  text-transform: uppercase; margin: 0 0 1rem; padding-bottom: 1rem; border-bottom: 2px dashed var(--ink);
}
.ticket-rows { margin: 0; }
.ticket-rows div {
  display: flex; justify-content: space-between; gap: 1rem; padding: 0.5rem 0;
  border-bottom: 1px solid rgba(22, 33, 29, 0.3);
}
.ticket-rows dt { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding-top: 0.15rem; }
.ticket-rows dd { margin: 0; font-weight: 600; text-align: right; }
.ticket-foot { margin: 1rem 0 0; font-family: var(--display); font-weight: 700; font-size: 1.125rem; }

/* Bands */
.band { padding: 3.5rem 0; border-top: 1px solid var(--line); }
.band h2 { margin-bottom: 2rem; }
.band-dark { background: var(--spruce); color: #fff; border-top: 0; }
.band-dark h2, .band-dark h3 { color: #fff; }
.band-dark p { color: #DCE6E0; }
.band-dark :focus-visible { outline-color: var(--tag); }
.band-cta { background: var(--steel-deep); }
.band-cta h2 { margin-bottom: 0.75rem; }
.band-cta p { font-size: 1.125rem; color: var(--ink-soft); margin-bottom: 1.5rem; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; counter-reset: step; }
.steps li {
  counter-increment: step; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.5rem;
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block; font-family: var(--display); font-weight: 800; font-size: 2.25rem; line-height: 1;
  color: var(--spruce); margin-bottom: 0.75rem;
}
.steps h3, .rules h3 { margin-bottom: 0.5rem; }
.steps p, .rules p { margin: 0; color: var(--ink-soft); }

.rules { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.75rem; }
.rules li { border-top: 3px solid var(--tag); padding-top: 1rem; }
.rules p { color: #DCE6E0; }

.faq-item { border-top: 1px solid var(--line); padding: 1.25rem 0; }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item h3 { margin-bottom: 0.5rem; }
.faq-item p { margin: 0; color: var(--ink-soft); }

/* Inner pages */
.page { padding: 2.5rem 0 4rem; }
.page h1 { font-size: clamp(2.25rem, 7vw, 3.5rem); }
.page h2 { font-size: 1.5rem; margin: 2.5rem 0 0.75rem; }
.prose p { color: var(--ink-soft); }
.fine { font-size: 0.9375rem; color: var(--ink-soft); }
.next { padding-left: 1.25rem; color: var(--ink-soft); }
.next li { margin-bottom: 0.5rem; }

/* Forms */
.form { margin-top: 2rem; display: grid; gap: 1.25rem; }
.field label { display: block; font-weight: 600; margin-bottom: 0.25rem; }
.optional { font-weight: 400; color: var(--ink-soft); }
.hint { margin: 0 0 0.375rem; font-size: 0.9375rem; color: var(--ink-soft); }
.error { margin: 0 0 0.375rem; font-size: 0.9375rem; font-weight: 600; color: var(--danger); }
input, select {
  width: 100%; min-height: 48px; padding: 0.625rem 0.75rem;
  font: 400 1.0625rem/1.4 var(--body); color: var(--ink);
  background: #fff; border: 2px solid #5B6862; border-radius: var(--radius);
}
input:focus-visible, select:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; border-color: var(--spruce); }
.has-error input, .has-error select { border-color: var(--danger); }
.form .btn { justify-self: start; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile { min-height: 65px; }

.alert {
  margin-top: 1.5rem; padding: 1rem 1.25rem; background: #FDF1F1;
  border: 2px solid var(--danger); border-radius: var(--radius);
}
.alert h2 { font-size: 1.125rem; margin: 0 0 0.5rem; color: var(--danger); }
.alert ul { margin: 0; padding-left: 1.25rem; }
.alert a { color: var(--danger); font-weight: 600; }

/* Member area */
.panel-grid { display: grid; gap: 1.25rem; margin-top: 2rem; }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.panel h2 { font-size: 1.25rem; margin: 0 0 0.75rem; }
.panel p { color: var(--ink-soft); }
.panel p:last-child { margin-bottom: 0; }
.tag {
  display: inline-block; background: var(--tag); color: var(--ink) !important; font-weight: 600;
  padding: 0.25rem 0.625rem; border-radius: 3px; font-size: 0.9375rem;
}
.facts { margin: 0 0 1rem; }
.facts div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.5rem 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--ink-soft); }
.facts dd { margin: 0; font-weight: 600; text-align: right; overflow-wrap: anywhere; }

/* Footer */
.site-footer { background: var(--ink); color: #D5DBD6; padding: 2.5rem 0; font-size: 0.9375rem; }
.site-footer :focus-visible { outline-color: var(--tag); }
.foot { display: grid; gap: 1.25rem; }
.foot p { margin: 0; max-width: 40rem; }
.foot-nav { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 1.25rem; }
.foot-nav a { display: inline-flex; align-items: center; min-height: 44px; color: #fff; }
.foot-copy { color: #AEB8B2; }

@media (min-width: 40rem) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .rules { grid-template-columns: repeat(2, 1fr); gap: 2rem 2.5rem; }
  .panel-grid { grid-template-columns: repeat(2, 1fr); }
  .wrap { padding: 0 2rem; }
}

@media (min-width: 60rem) {
  .hero { padding: 4.5rem 0 5.5rem; }
  .hero-grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr); align-items: center; gap: 4rem; }
  .ticket { justify-self: end; transform: rotate(2deg); }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .rules { grid-template-columns: repeat(4, 1fr); }
  .panel-grid { grid-template-columns: repeat(3, 1fr); }
  .band { padding: 5rem 0; }
}

@media (prefers-reduced-motion: no-preference) {
  .btn { transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease; }
}

@media print {
  .site-header, .site-footer, .actions { display: none; }
  body { background: #fff; }
}
