:root { color-scheme:light; --ink:#302116; --muted:#675545; --cream:#f8f1dd; --paper:#fffaf0; --red:#ab3427; --gold:#f8d37a; --line:#d4c5ab; }
* { box-sizing:border-box; }
[hidden] { display:none !important; }
body { margin:0; background:var(--cream); color:var(--ink); font:1rem/1.5 system-ui,-apple-system,"Segoe UI",sans-serif; }
a { color:inherit; }
.masthead { background:#b23427; color:#fff2cb; border-bottom:4px solid #7b2219; }
.bar { max-width:1140px; margin:auto; min-height:70px; padding:8px 26px; display:flex; gap:18px; align-items:center; justify-content:space-between; }
.brand { display:inline-flex; align-items:center; gap:12px; text-decoration:none; text-transform:uppercase; letter-spacing:.055em; font-weight:850; color:var(--gold); }
.brand img { width:48px; height:48px; }
nav { display:flex; flex-wrap:wrap; gap:16px; align-items:center; }
nav a { font-weight:650; text-decoration:none; font-size:.93rem; padding:6px 0; }
nav a[aria-current] { border-bottom:2px solid var(--gold); }
nav a:hover, .brand:hover { color:white; }
.spread { max-width:1140px; margin:0 auto; padding: clamp(30px,5vw,72px) 26px; display:grid; grid-template-columns:minmax(220px,.78fr) minmax(0,1.22fr); align-items:start; gap:clamp(32px,6vw,85px); }
.intro { padding-top:8px; }
.stamp { display:block; width:clamp(118px,13vw,168px); height:auto; margin-bottom:18px; }
h1,h2 { line-height:1.05; text-wrap:balance; margin:0; }
h1 { font-family:Georgia,"Times New Roman",serif; font-weight:900; font-size:clamp(3.5rem,6vw,5.6rem); letter-spacing:-.066em; max-width:8.5ch; }
h1 span { color:var(--red); }
.intro p { max-width:32ch; font-size:1.13rem; margin:20px 0; }
.details { border-top:2px solid var(--ink); width:fit-content; padding:15px 0 0; color:var(--muted); font-size:.94rem; }
.details strong { color:var(--ink); }
.text-link { display:inline-block; margin-top:14px; color:var(--red); font-weight:700; text-underline-offset:3px; }
.paper { min-width:0; background:var(--paper); border:2px solid var(--ink); border-top:7px solid var(--red); border-radius:9px; padding:clamp(20px,3.2vw,40px); box-shadow:5px 5px 0 #e4d5b5; }
.progress { display:flex; gap:8px; margin-bottom:26px; }
.progress span { width:50%; border-bottom:3px solid var(--line); padding-bottom:6px; font-weight:700; font-size:.87rem; color:var(--muted); }
.progress span.current { border-color:var(--red); color:var(--red); }
h2 { font-size:clamp(1.75rem,2.3vw,2.25rem); font-family:Georgia,"Times New Roman",serif; letter-spacing:-.045em; }
h2:focus { outline:none; }
.lead { margin:9px 0 23px; color:var(--muted); }
.fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px 16px; }
.wide { grid-column:1 / -1; }
label,legend { font-weight:700; font-size:.95rem; }
label span,small,.fine { color:var(--muted); font-weight:400; font-size:.88rem; }
input,select,textarea,button { font:inherit; }
input:not([type=radio]):not([type=checkbox]):not([type=hidden]),select,textarea { display:block; width:100%; min-width:0; max-width:100%; min-height:47px; border:1px solid #a58d72; border-radius:6px; background:#fffdf7; color:var(--ink); margin-top:5px; padding:10px 11px; font-size:1rem; font-weight:400; }
select { padding-right:30px; }
textarea { resize:vertical; }
small { display:block; margin-top:5px; }
fieldset { margin:0; border:0; padding:0; min-width:0; }
legend { padding:0; margin-bottom:7px; }
.pills { display:flex; gap:8px; flex-wrap:wrap; }
.pills label { border:1px solid #a58d72; background:#fffdf7; padding:8px 12px; border-radius:6px; min-height:44px; display:flex; align-items:center; gap:6px; cursor:pointer; }
.pills label:has(input:checked) { background:#fae4af; border-color:#76532c; }
input[type=radio],input[type=checkbox] { accent-color:var(--red); width:17px; height:17px; margin:0; flex:none; }
.check { display:flex; gap:9px; align-items:center; min-height:44px; cursor:pointer; }
.inset,.followup { background:#f5ead3; border-left:3px solid #c9a45e; padding:14px; border-radius:4px; }
.confirm-note { padding-top:14px; border-top:1px dashed #bbaa8e; color:var(--muted); margin:22px 0 12px; }
.actions { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:24px; flex-wrap:wrap; }
button,.button-link { display:inline-flex; align-items:center; justify-content:center; min-height:46px; padding:11px 19px; border:1px solid #88271d; border-radius:7px; background:var(--red); color:#fff; font-weight:750; text-decoration:none; cursor:pointer; }
button:hover,.button-link:hover { background:#8a271d; }
button.secondary { background:transparent; color:var(--ink); border-color:#ac997d; }
button:disabled { opacity:.65; }
:focus-visible { outline:3px solid #176580; outline-offset:3px; }
.fine { margin:14px 0 0; }
#event-step:not([hidden]) { margin-top:24px; }
#contact-step[hidden] + #event-step { margin-top:0; }
footer { border-top:1px solid var(--line); padding:18px 24px; text-align:center; font-size:.93rem; color:var(--muted); }
footer a { font-weight:700; color:var(--ink); text-underline-offset:3px; }
.receipt { max-width:620px; margin:clamp(28px,7vw,90px) auto; }
.receipt h1 { font-size:clamp(2.6rem,6vw,4.3rem); max-width:none; }
.receipt p { max-width:43ch; }
@media(max-width:760px) {
  .bar { padding:8px 16px; flex-wrap:wrap; gap:3px 14px; }
  .brand { font-size:.93rem; }
  .brand img { width:38px; height:38px; }
  nav { gap:15px; }
  .spread { grid-template-columns:1fr; gap:20px; padding:24px 16px; }
  .intro { padding:0; }
  .stamp { display:none; }
  h1 { font-size:clamp(2.7rem,9vw,4.5rem); max-width:none; }
  .intro p { margin:8px 0; max-width:48ch; font-size:1rem; }
  .details { padding:0; border:0; font-size:.9rem; }
  .details br { display:none; }
  .details strong { margin-right:.45em; }
  .intro .text-link { display:none; }
  .receipt { margin:28px 16px; }
}
@media(max-width:520px) {
  .fields { grid-template-columns:1fr; gap:14px; }
  .paper { padding:20px 16px; }
  .progress { margin-bottom:22px; }
  .actions { margin-top:18px; }
  .actions button:not(.secondary) { flex:1; }
}
