@font-face { font-family: Spectral; src: url('/Spectral-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: Spectral; src: url('/Spectral-SemiBold.ttf') format('truetype'); font-weight: 600; font-display: swap; }
@font-face { font-family: Spectral; src: url('/Spectral-Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }
:root {
  color-scheme: dark; --paper: #f2eee6; --ink: #2b211b; --soft: #e6ddd1;
  --serif: Spectral,Georgia,serif; --sans: 'Neue Haas Grotesk',Arial,sans-serif;
  --edge: clamp(24px,6.6vw,128px);
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--paper); background: var(--ink); font: 16px/1.5 var(--sans); }
::selection { color: var(--ink); background: var(--paper); }
a { color: inherit; }
:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.skip { position: absolute; z-index: 4; left: 12px; top: -80px; background: var(--ink); padding: 10px 16px; }
.skip:focus { top: 10px; }
.scene { isolation: isolate; position: relative; height: 100vh; height: 100svh; overflow: hidden; }
.backdrop, .scene::after { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; }
.backdrop { object-fit: cover; object-position: 70% center; }
.scene::after { content: ''; z-index: -1; pointer-events: none; background: linear-gradient(90deg,rgba(24,18,14,.91),rgba(24,18,14,.80) 31%,rgba(24,18,14,.40) 49%,transparent 67%); }
.foreground { height: 100%; overflow-y: auto; overflow-x: hidden; overflow-anchor: none; scrollbar-gutter: stable both-edges; }
.page-content { display: flex; flex-direction: column; min-height: 100%; }
[hidden] { display: none !important; }
header { padding: clamp(22px,4vh,51px) var(--edge) 0; }
.brand { display: inline-flex; flex-direction: column; text-align: center; font: 500 clamp(26px,2.4vw,36px)/1 var(--serif); letter-spacing: .075em; text-decoration: none; }
.brand span { padding-left: .4em; font: 10px/1.8 var(--sans); letter-spacing: .4em; }
main {
  display: flex; align-items: flex-start; justify-content: center;
  width: 64%; padding: clamp(24px,calc(22svh - 106px),140px) clamp(24px,4vw,80px) 18px;
}
.copy { width: min(100%, 398px); }
h1 { margin: 0 0 15px; font: 500 clamp(46px,4.7vw,76px)/1.07 var(--serif); letter-spacing: -.038em; text-wrap: balance; }
.intro { margin: 0 0 27px; color: var(--soft); line-height: 1.6; max-width: none; }
.fields, .field { display: grid; }
.fields { gap: 0; }
.field { gap: 6px; }
label { font-size: 14px; font-weight: 600; }
label small { color: var(--soft); font-weight: 400; font-size: 12px; }
.field label { display: flex; justify-content: space-between; align-items: baseline; }
.field input { width: 100%; min-height: 46px; border: 0; border-bottom: 1px solid #b3a797; background: rgba(25,18,13,.35); color: var(--paper); padding: 11px 12px; border-radius: 0; font: 16px/1.45 var(--sans); caret-color: var(--paper); }
.email-field input { font-size: 18px; }
.field input:focus { background: rgba(25,18,13,.62); }
.opt-in {
  display: flex; align-items: flex-start; gap: 11px; min-height: 44px;
  padding: 10px 0; cursor: pointer; font-size: 14px; font-weight: 400; line-height: 1.5;
}
.opt-in input { width: 18px; height: 18px; margin: 2px 0 0; flex: none; accent-color: var(--paper); cursor: pointer; }
.choices { margin: 6px 0 12px; }
.raffle { margin-top: 12px; }
.raffle-trigger, .raffle-fallback { display: flex; align-items: center; gap: .75rem; min-height: 46px; width: 100%; border: 1px solid #a69b8c; background: transparent; color: var(--paper); border-radius: 0; padding: 10px 15px; font: 500 15px/1.4 var(--sans); text-align: left; cursor: pointer; }
.raffle-trigger { justify-content: space-between; }
.raffle-trigger:hover { border-color: var(--paper); background: rgba(242,238,230,.06); }
.mark { position: relative; width: 12px; height: 12px; flex: none; }
.mark::before, .mark::after { content: ''; position: absolute; background: currentColor; }
.mark::before { top: calc(50% - .5px); left: 0; width: 100%; height: 1px; }
.mark::after { left: calc(50% - .5px); top: 0; width: 1px; height: 100%; }
[aria-expanded="true"] > .mark::after { display: none; }
.raffle-fallback input { accent-color: var(--paper); }
.lot-field { margin: 12px 0 4px; }
.lot-field[hidden], .raffle:has(#deelname:not(:checked)) .lot-field { display: none; }
.choice-note { margin: 0 0 8px 29px; color: var(--soft); font-size: 13px; }
.field input::placeholder { color: #d6cabf; opacity: 1; }
.help { color: var(--soft); font-size: 13px; margin: 0; }
.cta { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: 12px 24px; width: 100%; font: 600 15px/1.4 var(--sans); background: var(--paper); color: var(--ink); border: 1px solid var(--paper); border-radius: 0; text-decoration: none; cursor: pointer; }
.cta:hover { background: #e1d6c8; }
.cta:active { background: #ccbfae; }
.footnotes { margin-top: 6px; }
.notes-nav { display: flex; gap: 0 clamp(12px,2vw,24px); flex-wrap: wrap; }
.footnotes summary, .note-trigger { cursor: pointer; font: 400 13px/1.4 var(--sans); text-underline-offset: .25em; text-decoration: underline; padding: 8px 0; min-height: 44px; }
.note-trigger { display: inline-flex; align-items: center; gap: 6px; background: transparent; color: var(--paper); border: 0; border-radius: 0; text-align: left; }
.note-trigger .mark { width: 9px; height: 9px; }
.note-panel { border-top: 1px solid rgba(242,238,230,.36); padding: 12px 0 5px; }
.footnotes p { margin: 0 0 9px; white-space: pre-line; overflow-wrap: anywhere; color: var(--soft); font-size: 14px; line-height: 1.6; }
.review-status { margin: 12px 0 0; color: var(--paper); font-size: 14px; }
.review-status:empty { display: none; }
.field input[aria-invalid="true"], .opt-in input[aria-invalid="true"] { outline: 2px solid #f3bc9c; outline-offset: 2px; }
.feedback { color: #fff; padding: 9px 13px; background: #6b1f2a; }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
footer { margin-top: auto; padding: 0 var(--edge) 18px; font-size: 12px; color: var(--soft); }
@media (min-width:701px) and (max-width:950px) {
  :root { --edge: 4.5vw; }
  .copy { width: 43vw; }
  .scene::after { background: linear-gradient(90deg,rgba(24,18,14,.92),rgba(24,18,14,.76) 44%,transparent 75%); }
}
@media (max-width:700px) {
  :root { --edge: clamp(19px,6vw,36px); }
  .foreground { scrollbar-gutter: auto; scrollbar-width: none; }
  .foreground::-webkit-scrollbar { display: none; }
  header { padding-top: 19px; }
  main {
    width: 100%;
    padding: clamp(86px,calc(37svh - 55px),302px) clamp(24px,8vw,48px) 12px;
  }
  .copy { width: 100%; max-width: 450px; }
  .backdrop { object-position: 69% 25%; }
  .scene::after { background: linear-gradient(180deg,rgba(22,16,12,.32),rgba(22,16,12,.06) 17%,rgba(22,16,12,.73) 38%,rgba(22,16,12,.9) 71%,rgba(22,16,12,.95)); }
  h1 { font-size: clamp(42px,8.7vw,57px); margin-bottom: 8px; }
  .copy:has(.email-field) h1 {
    text-align: center;
  }
  .intro { margin-bottom: 17px; }

  .footnotes { margin-top: 4px; }
  footer { padding-bottom: 15px; }
}

.footnotes a { text-underline-offset: .2em; }

.closed-raffle { margin-top: 12px; }
.closed-raffle summary { list-style: none; }
.closed-raffle summary::-webkit-details-marker { display: none; }
.closed-raffle[open] .mark::after { display: none; }
.closed-raffle .help { margin: 10px 0; }

h1 { font-weight: 600; }
.brand { font-weight: 700; }
@media (min-width:951px) {
  .copy { width: min(100%, 497.5px); }
}

/* Keep the registration copy on the same measure as the form. */
.copy { container-type: inline-size; }
@media (min-width:701px) {
  .copy:has(.email-field) h1 { font-size: 13cqw; text-wrap: wrap; }
}
.consent-copy { position: relative; padding: 10px 0 8px 29px; line-height: 1.5; font-size: 14px; }
.consent-copy .opt-in { display: inline; padding: 0; }
.consent-copy input { position: absolute; top: 10px; left: 0; }
.consent-copy .choice-note { margin: 0; font-size: inherit; }
.notes-nav { justify-content: space-between; }
