:root { color-scheme:light; --ink:#514445; --heading:#292425; --paper:#f5f5ec; --yellow:#ffcc00; --line:#d7d4ca; --muted:#6c6261; }
* { box-sizing:border-box; }
html { overflow-x:clip; }
[hidden] { display:none!important; }
body { margin:0; background:var(--paper); color:var(--ink); font-family:Arial,Helvetica,sans-serif; line-height:1.65; }
a { color:var(--ink); text-decoration-thickness:1px; text-underline-offset:4px; }
a:hover { text-decoration-thickness:3px; }
:focus-visible { outline:3px solid var(--heading); outline-offset:4px; box-shadow:0 0 0 6px var(--yellow); }
.site-header, footer { max-width:1200px; margin:auto; padding:26px 40px; display:flex; align-items:center; justify-content:space-between; gap:24px; }
.site-header { border-top:8px solid var(--yellow); }
.brand { display:grid; grid-template-columns:42px auto; gap:0 12px; align-items:center; text-decoration:none; font-size:21px; font-weight:800; line-height:1.2; color:var(--heading); }
.brand > span { grid-row:span 2; display:grid; place-items:center; }
.brand img { display:block; width:42px; height:42px; }
.brand small { display:block; color:var(--ink); font-size:11px; font-weight:600; letter-spacing:.15em; text-transform:uppercase; margin-top:5px; }
.draft { font-size:11px; font-weight:700; background:white; border:1px solid var(--line); padding:5px 10px; text-transform:uppercase; letter-spacing:.04em; }
main { max-width:1200px; margin:30px auto 80px; padding:0 40px; display:grid; grid-template-columns:.85fr 1.3fr; gap:64px; align-items:start; }
.intro { padding-top:24px; }
.eyebrow { font-size:12px; text-transform:uppercase; font-weight:800; letter-spacing:.09em; color:var(--ink); }
.intro > .eyebrow { display:inline-block; padding:5px 10px; background:var(--yellow); transform:rotate(-1deg); }
h1,h2 { font-family:"Trebuchet MS",Arial,sans-serif; font-weight:900; line-height:1.03; letter-spacing:-.045em; color:var(--heading); }
h1 { font-size:clamp(44px,5vw,66px); margin:24px 0 30px; }
.intro h1::after { content:""; display:block; height:9px; max-width:230px; margin-top:24px; background:var(--yellow); clip-path:polygon(0 15%,18% 0,37% 18%,56% 0,79% 14%,100% 0,99% 90%,74% 100%,50% 82%,26% 100%,0 85%); }
h2 { font-size:38px; margin:12px 0 22px; }
h3 { color:var(--heading); line-height:1.4; }
.lead { font-size:22px; font-weight:700; line-height:1.4; color:var(--heading); }
.event-note { border-top:3px solid var(--yellow); margin-top:32px; padding-top:20px; font-size:14px; }
.form-panel { min-width:0; background:white; border:1px solid var(--line); border-top:8px solid var(--yellow); padding:32px; box-shadow:5px 5px 0 #5144450b; }
.form-panel > p { font-size:14px; }
.notice { background:var(--paper); border-left:5px solid var(--yellow); padding:12px 14px; font-size:13px; }
.hint,.optional,small { color:var(--muted); }
.hint { font-size:13px; }
.optional { font-weight:400; font-size:12px; }
fieldset { min-width:0; padding:25px 0 24px; border:0; border-bottom:1px solid var(--line); margin:25px 0 0; }
legend { max-width:100%; padding:0; font-weight:800; font-size:18px; color:var(--heading); line-height:1.4; }
legend > span { display:inline-block; background:var(--yellow); padding:1px 5px; font-size:12px; margin-right:8px; vertical-align:middle; }
.grid > *, .check > span, .creator-credit > span { min-width:0; overflow-wrap:anywhere; }
.grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:4px 18px; }
label { display:block; font-weight:700; font-size:14px; margin:0 0 18px; }
input:not([type=checkbox]),select,textarea { display:block; width:100%; min-width:0; min-height:46px; margin-top:7px; border:1px solid #aaa49d; border-radius:2px; background:white; color:var(--ink); font:inherit; font-weight:400; padding:10px 11px; }
input::placeholder,textarea::placeholder { color:#746d69; opacity:1; }
textarea { resize:vertical; }
input[type=checkbox] { width:20px; height:20px; accent-color:var(--ink); flex-shrink:0; margin:3px 0 0; }
.check { display:flex; gap:11px; align-items:flex-start; font-weight:400; }
.check small { display:block; }
.day { background:var(--paper); border-left:3px solid var(--yellow); padding:16px 16px 3px; margin-bottom:16px; }
.day h3 { font-size:17px; margin:0 0 12px; }
.day .check { margin-bottom:14px; }
button { display:flex; justify-content:space-between; align-items:center; gap:20px; width:100%; min-height:46px; border:0; border-radius:2px; padding:15px 20px; margin-top:26px; font:inherit; font-weight:800; background:var(--yellow); color:var(--heading); cursor:pointer; }
button:hover { background:var(--ink); color:white; }
button:disabled { opacity:.55; cursor:default; }
#result:not(:empty) { padding:16px; background:#f0f5e8; border-left:4px solid #4c6c2c; font-size:14px; }
#result.error { background:#fff0eb; border-color:#9b3021; color:#8b3021; }
.honeypot { position:absolute; left:-10000px; width:1px; height:1px; overflow:hidden; }
footer { border-top:3px solid var(--yellow); font-size:12px; flex-wrap:wrap; }
.creator-credit { flex-basis:100%; display:flex; align-items:center; gap:10px; padding-top:18px; border-top:1px solid var(--line); color:var(--muted); line-height:1.6; }
.creator-credit img { display:block; width:28px; height:28px; flex-shrink:0; border-radius:50%; }
.creator-credit a { display:inline-block; font-weight:700; }
.visually-hidden { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; border:0; }
.skip { position:absolute; top:-100px; left:16px; background:white; padding:10px; z-index:2; }
.skip:focus { top:10px; }
.privacy { display:block; max-width:820px; }
.privacy article { overflow-wrap:anywhere; background:white; padding:40px; border:1px solid var(--line); border-top:8px solid var(--yellow); }
.privacy h1 { font-size:clamp(29px,6vw,44px); overflow-wrap:anywhere; }
.privacy h2 { font:800 20px Arial,sans-serif; letter-spacing:-.015em; line-height:1.4; margin-top:30px; }
.step-list { list-style:none; display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:5px; margin:24px 0 10px; padding:0; }
.step-list li { min-width:0; }
.step-list button { flex-direction:column; justify-content:flex-start; gap:7px; margin:0; padding:10px 2px; background:var(--paper); color:var(--ink); font-size:10px; line-height:1.4; overflow-wrap:anywhere; min-height:72px; border-bottom:3px solid #d5d1c5; }
.step-list button .step-number { display:grid; place-items:center; border:1px solid #aaa49d; border-radius:50%; width:24px; height:24px; font-size:12px; }
.step-list button[aria-current=step] { background:var(--yellow); color:var(--heading); border-bottom-color:var(--heading); }
.step-list button:not(:disabled):hover { background:var(--ink); color:white; }
.step-list button:disabled { opacity:.65; }
.step-list button[aria-current=step] .step-number { border-color:var(--heading); }
#step-navigation { scroll-margin-top:16px; }
.form-step { margin-top:20px; padding-bottom:18px; min-inline-size:0; }
.form-step legend { scroll-margin-top:24px; }
/* Step headings receive focus for screen readers, without a control-style ring. */
.form-step legend:focus { outline:none; box-shadow:none; }
.form-actions { display:flex; gap:12px; }
.form-actions button { justify-content:center; margin-top:22px; min-width:0; flex:1 1 0; gap:10px; padding-inline:12px; }
.form-actions .secondary { flex:0 1 120px; }
.secondary { background:var(--paper); color:var(--ink); max-width:120px; border:1px solid var(--line); }
.secondary:hover { background:var(--ink); color:white; }
.day-toggle,.review-edit { display:inline-block; width:auto; min-height:40px; background:white; border:1px solid #aaa49d; color:var(--ink); font-size:12px; padding:7px 10px; margin:0 0 15px; }
.day-toggle:hover,.review-edit:hover { background:var(--yellow); color:var(--heading); border-color:var(--yellow); }
.review-section { position:relative; border-bottom:1px solid var(--line); padding:10px 0 18px; }
.review-section h3 { font-size:17px; margin:10px 0; }
.review-edit { margin:0 0 12px; }
.review-section dl { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:8px 16px; margin:0; font-size:13px; overflow-wrap:anywhere; }
.review-section dt { color:var(--muted); }
.review-section dd { margin:0; white-space:pre-wrap; }
#meal-fields .check { min-height:32px; }
@media(max-width:900px) {
  main { gap:30px; grid-template-columns:minmax(0,1fr); padding:0 24px; margin-top:16px; }
  .intro { max-width:600px; padding-top:0; }
  .site-header,footer { padding:22px 24px; }
  .event-note { margin-top:22px; }
  .form-panel { padding:28px; }
  /* iOS otherwise zooms on focus when controls inherit the 14px label font. */
  input:not([type=checkbox]), select, textarea { font-size:16px; }
}
@media(max-width:480px) {
  main { padding:0 16px; }
  .site-header,footer { padding:20px 16px; }
  .brand { font-size:17px; grid-template-columns:34px auto; gap:0 9px; }
  .brand img { width:34px; height:34px; }
  .brand small { font-size:10px; }
  .draft { font-size:9px; padding:4px 6px; }
  .grid { grid-template-columns:minmax(0,1fr); }
  .form-panel,.privacy article { padding:22px; }
  h1 { font-size:45px; }
  h2 { font-size:34px; }
  .step-list { gap:4px; }
  .step-list button { position:relative; justify-content:center; min-height:48px; padding:10px 2px; gap:0; }
  .step-list .step-label { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; border:0; }
  .review-section dl { grid-template-columns:minmax(0,1fr); gap:3px; }
  .review-section dd { margin-bottom:10px; }
  .form-actions { gap:8px; }
  .form-actions .secondary { flex-basis:100px; max-width:100px; }
}

/* Clear person groups in the contact step. */
.role-row { margin-bottom:28px; }
.person-block { margin-top:24px; }
.person-block h3 { margin:0 0 8px; font-size:19px; }
.person-block > .hint { margin:0 0 20px; }
.person-block + .person-block { border-top:1px solid var(--line); padding-top:24px; }
.label-context { color:var(--muted); font-size:12px; font-weight:400; }
.span-all { grid-column:1 / -1; }
.contact-email { border-top:1px solid var(--line); padding-top:24px; margin-top:6px; }
.contact-email > .hint { margin-top:-6px; }

/* Decorative icons share the surrounding text color and never become emoji glyphs. */
.icon { display:inline-block; width:1em; height:1em; flex-shrink:0; vertical-align:-.15em; }
.icon[hidden] { display:none; }
.footer-star { display:inline-block; width:16px; height:16px; vertical-align:-.15em; }
.form-actions .icon { width:18px; height:18px; }
.form-actions .secondary { gap:8px; padding-inline:12px; }

/* Keep both actions readable on the narrowest phones. */
@media(max-width:360px) {
  .form-actions { flex-direction:column; gap:10px; margin-top:22px; }
  .form-actions button { margin-top:0; flex:auto; }
  .form-actions .secondary { flex:auto; max-width:none; }
}
