/* Roundbelly's Pizza - colors taken from the Bus itself:
   bus-body red, school-bus yellow window trim, white roof, black hand-lettering, oven embers. */
@font-face { font-family: "Archivo Black"; src: url("../fonts/ArchivoBlack.fd99142802aa.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Bitter"; src: url("../fonts/Bitter.da49d92d91cd.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Bitter"; src: url("../fonts/Bitter-Italic.a77fbc3b7de1.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }

:root {
  --red: #a3281c;
  --red-deep: #6f1912;
  --yellow: #f6b400;
  --ember: #ff7a1a;
  --ink: #1b1714;
  --soot: #241a15;
  --paper: #ffffff;
  --roof: #f3f2f0;
  --line: #e4dcd6;
  --muted: #5f544d;
  --display: "Archivo Black", "Arial Black", Impact, sans-serif;
  --body: "Bitter", Georgia, "Times New Roman", serif;
  --wrap: 1160px;
  --r: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); font-size: 1.0625rem; line-height: 1.65; color: var(--ink); background: var(--paper); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-underline-offset: 3px; }
a:hover { color: var(--red-deep); }
:focus-visible { outline: 3px solid var(--ember); outline-offset: 3px; }
h1, h2, h3 { line-height: 1.1; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 2.5rem); margin-inline: auto; }
.narrow { max-width: 760px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--yellow); color: var(--ink); padding: .5rem 1rem; z-index: 99; }
.skip:focus { left: 1rem; }

.h2 { font-family: var(--display); font-weight: 400; font-size: clamp(1.6rem, 3.4vw, 2.4rem); letter-spacing: -.01em; }
.h3 { font-family: var(--display); font-weight: 400; font-size: 1.25rem; }
.link { font-weight: 700; }
.empty { color: var(--muted); font-size: 1.1rem; }
.fine { color: var(--muted); font-size: .95rem; margin-top: 1.5rem; }
.section { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.prose { max-width: 70ch; }
.prose p { font-size: 1.12rem; }

/* Buttons: chunky, with a hard printed shadow like sign lettering */
.btn { display: inline-block; font-family: var(--display); font-size: 1rem; letter-spacing: .01em; text-decoration: none;
  padding: .85rem 1.35rem; border-radius: var(--r); border: 2px solid var(--ink); color: var(--ink); background: var(--paper);
  box-shadow: 4px 4px 0 var(--ink); cursor: pointer; transition: transform .12s ease, box-shadow .12s ease; }
.btn:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--ink); color: var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.btn--yellow { background: var(--yellow); }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { color: #fff; }
.btn--ghost { background: transparent; color: #fff; border-color: #fff; box-shadow: 4px 4px 0 rgba(255,255,255,.35); }
.btn--ghost:hover { color: #fff; box-shadow: 5px 5px 0 rgba(255,255,255,.5); }
.btn--block { display: block; width: 100%; text-align: center; }
.btn--big { font-size: 1.15rem; padding: 1rem 1.75rem; }

/* Top bar: white roof with the yellow trim line under it */
.topbar { background: var(--paper); border-bottom: 5px solid var(--yellow); position: sticky; top: 0; z-index: 20; }
.topbar__row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }
.brand img { width: 210px; height: auto; }
.nav { display: flex; align-items: center; gap: 1.25rem; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--red); }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 3px; text-decoration-color: var(--yellow); }
.nav__cta { background: var(--red); color: #fff !important; padding: .5rem .9rem; border-radius: var(--r); }
.nav__cta:hover { background: var(--red-deep); }
.navtoggle { display: none; font: inherit; font-weight: 700; background: var(--yellow); border: 2px solid var(--ink); border-radius: var(--r); padding: .4rem .8rem; }
@media (max-width: 900px) {
  .navtoggle { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 5px solid var(--yellow); padding: .5rem 1.25rem 1rem; }
  .nav.is-open { display: flex; }
  .nav a { padding: .75rem 0; border-bottom: 1px solid var(--line); }
  .nav__cta { margin-top: .75rem; text-align: center; border-bottom: 0; }
  .brand img { width: 170px; }
}

/* Hero: the Bus, full bleed, with the order ticket over it */
.hero { position: relative; isolation: isolate; color: #fff; background: var(--soot); overflow: hidden; }
.hero__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; z-index: -2; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(27,23,20,.92) 0%, rgba(27,23,20,.78) 42%, rgba(27,23,20,.25) 100%); }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; padding-block: clamp(3rem, 8vw, 6rem); }
.hero__title { font-family: var(--display); font-weight: 400; font-size: clamp(2.4rem, 5.6vw, 4.4rem); line-height: 1.02; letter-spacing: -.02em; max-width: 13ch; }
.hero__lede { font-size: 1.2rem; max-width: 46ch; color: #f2ebe6; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.75rem; }

/* The order ticket - the one bold piece. Paper, torn top edge, tilted like it's clipped to the rail. */
.ticket { position: relative; background: var(--paper); color: var(--ink); padding: 1.6rem 1.5rem 1.5rem; border-radius: 0 0 var(--r) var(--r);
  box-shadow: 8px 8px 0 var(--yellow); transform: rotate(-1.2deg); max-width: 440px; justify-self: end; width: 100%; }
.ticket::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px;
  background: radial-gradient(circle at 8px 0, transparent 7px, var(--paper) 7.5px) 0 0 / 16px 10px repeat-x; }
.ticket__head { border-bottom: 2px dashed var(--line); padding-bottom: .75rem; margin-bottom: 1rem; }
.ticket__title { font-family: var(--display); font-weight: 400; font-size: 1.45rem; margin: 0; }
.ticket__sub { margin: .2rem 0 0; color: var(--muted); font-size: .95rem; }
.ticket__guests { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; margin-top: 1rem; }
.ticket__guests output { font-family: var(--display); font-size: 1.6rem; color: var(--red); }
.ticket__total { display: flex; align-items: baseline; gap: .6rem; margin-top: 1rem; padding-top: 1rem; border-top: 2px dashed var(--line); }
.ticket__amount { font-family: var(--display); font-size: clamp(2.4rem, 4vw, 3rem); line-height: 1; font-variant-numeric: tabular-nums; }
.ticket__plus { color: var(--muted); font-weight: 600; }
.ticket__note { font-size: .95rem; margin: .6rem 0 .3rem; min-height: 1.5em; }
.ticket__note strong { color: var(--red); }
.ticket__deposit { font-size: .95rem; color: var(--muted); margin-bottom: 1.1rem; }
.ticket__lines { margin: 0; display: grid; grid-template-columns: 1fr auto; gap: .35rem 1rem; font-size: .98rem; }
.ticket__lines dt { color: var(--muted); }
.ticket__lines dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
.ticket__lines .min { color: var(--red); }
.ticket__sugs { list-style: none; padding: 0; margin: 0 0 .75rem; }
.ticket__sugs li { margin: .35rem 0; }
.ticket__sugs button { font: inherit; font-size: .93rem; text-align: left; width: 100%; background: #fff7df; border: 1.5px solid var(--yellow);
  border-radius: var(--r); padding: .45rem .65rem; cursor: pointer; }
.ticket__sugs button:hover { background: var(--yellow); }
.ticket--side { position: sticky; top: 96px; transform: none; justify-self: stretch; align-self: start; max-width: none; box-shadow: 8px 8px 0 var(--red); margin-top: 10px; }

.seg { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; border: 0; padding: 0; margin: 0; }
.seg label { cursor: pointer; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: block; border: 2px solid var(--line); border-radius: var(--r); padding: .55rem .7rem; font-weight: 700; line-height: 1.25; }
.seg small { display: block; font-weight: 400; color: var(--muted); font-size: .82rem; margin-top: .15rem; }
.seg input:checked + span { border-color: var(--ink); background: var(--yellow); }
.seg input:focus-visible + span { outline: 3px solid var(--ember); outline-offset: 2px; }

.range { width: 100%; accent-color: var(--red); height: 28px; }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; padding-top: 2.5rem; }
  .hero::before { background: linear-gradient(180deg, rgba(27,23,20,.55) 0%, rgba(27,23,20,.88) 55%, rgba(27,23,20,.96) 100%); }
  .ticket { justify-self: stretch; transform: none; max-width: none; }
}

/* Two doors: catering on the bus red, fundraising on school-bus yellow */
.doors { display: grid; grid-template-columns: 1fr 1fr; }
.door { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 380px; text-decoration: none; overflow: hidden; }
.door__body { position: relative; padding: clamp(1.75rem, 4vw, 3rem); max-width: 560px; }
.door__title { font-family: var(--display); font-weight: 400; font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.door p { font-size: 1.08rem; }
.door__go { display: inline-block; font-weight: 700; border-bottom: 3px solid currentColor; padding-bottom: 2px; }
.door--bus { background: var(--red); color: #fff; }
.door--bus .door__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .28; filter: saturate(.8); }
.door--bus:hover .door__photo { opacity: .38; }
.door--bus:hover { color: #fff; }
.door--dough { background: var(--yellow); color: var(--ink); }
.door--dough:hover { color: var(--ink); background: #ffc21f; }
@media (max-width: 760px) { .doors { grid-template-columns: 1fr; } .door { min-height: 300px; } }

/* Wood fire band */
.fire { position: relative; isolation: isolate; color: #fff; background: var(--soot); min-height: 440px; display: flex; align-items: center; }
.fire__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 45%; z-index: -2; }
.fire::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(36,26,21,.9) 0%, rgba(36,26,21,.35) 60%, rgba(36,26,21,.15) 100%); }
.fire__copy { padding-block: 3rem; align-self: flex-end; }
.fire__copy p { max-width: 52ch; font-size: 1.15rem; color: #f5ece6; }

/* Events */
.band { background: var(--roof); padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.band__head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.band__lede { color: var(--muted); }
.eventlist { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: 1rem; }
.event { display: grid; grid-template-columns: 84px 1fr; gap: 1.25rem; background: var(--paper); border-left: 6px solid var(--red); padding: 1rem 1.25rem; border-radius: 0 var(--r) var(--r) 0; }
.event__date { display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--ink); color: #fff; border-radius: var(--r); padding: .5rem 0; line-height: 1.1; }
.event__mon { font-weight: 700; color: var(--yellow); font-size: .9rem; }
.event__day { font-family: var(--display); font-size: 2rem; }
.event__dow { font-size: .85rem; color: #d6cdc7; }
.event__title { font-family: var(--display); font-weight: 400; font-size: 1.25rem; margin: .1rem 0 .25rem; }
.event__title a { color: var(--ink); }
.event__meta, .event__where, .event__desc { margin: 0 0 .25rem; }
.event__meta { font-weight: 600; }
.callout { margin-top: 2.5rem; background: var(--yellow); padding: 1.5rem 1.75rem; border-radius: var(--r); border: 2px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); }
.callout a { color: var(--ink); font-weight: 700; }

/* Pizza row: sliding past like pies coming out of the oven */
.pies { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.pies__lede { color: var(--muted); }
.pies__row { list-style: none; margin: 1.5rem 0; padding: .5rem max(1.25rem, calc((100% - var(--wrap)) / 2)); display: flex; gap: 1.5rem; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: max(1.25rem, calc((100% - var(--wrap)) / 2)); }
.pie { flex: 0 0 200px; scroll-snap-align: start; text-align: center; }
.pie img { width: 200px; height: 200px; filter: drop-shadow(0 10px 12px rgba(27,23,20,.25)); }
.pie__name { display: block; font-weight: 700; margin-top: .6rem; }

.kitchen { background: var(--ink); color: #fff; padding-block: clamp(2.5rem, 6vw, 4rem); }
.kitchen__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2rem; align-items: end; }
.kitchen p { color: #e4dbd5; font-size: 1.1rem; }
@media (max-width: 760px) { .kitchen__grid { grid-template-columns: 1fr; } }

/* Inner page headers */
.pagehead { padding-block: clamp(2.5rem, 7vw, 4.5rem); }
.pagehead--red { background: var(--red); color: #fff; }
.pagehead--red a { color: #fff; }
.pagehead--yellow { background: var(--yellow); color: var(--ink); }
.pagehead--tall { min-height: 55vh; display: flex; align-items: center; }
.pagehead__title { font-family: var(--display); font-weight: 400; font-size: clamp(2.1rem, 5vw, 3.6rem); letter-spacing: -.015em; max-width: 18ch; }
.pagehead__lede { font-size: 1.18rem; max-width: 58ch; }
.pagehead__split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
@media (max-width: 860px) { .pagehead__split { grid-template-columns: 1fr; } }

.photoband { margin: 0; display: grid; grid-template-columns: 1fr 1.4fr; }
.photoband img { width: 100%; height: clamp(220px, 32vw, 420px); object-fit: cover; }
.photoband--one { grid-template-columns: 1fr; }
.photoband--one img { height: clamp(240px, 38vw, 480px); object-position: center 55%; }
@media (max-width: 640px) { .photoband { grid-template-columns: 1fr; } }

/* Catering */
.styles { display: grid; grid-template-columns: 1fr 1fr 1.1fr; gap: 1.5rem; padding-block: 3rem 1rem; }
.style { border: 2px solid var(--ink); border-radius: var(--r); padding: 1.5rem; background: var(--paper); }
.style__name { font-family: var(--display); font-weight: 400; font-size: 1.35rem; }
.style__price { font-size: 1.1rem; }
.style__price strong { font-family: var(--display); font-weight: 400; font-size: 2.4rem; color: var(--red); }
.style__facts { color: var(--muted); font-size: .95rem; margin: 0; }
.style--extras { background: var(--roof); border-color: var(--roof); }
.extras { list-style: none; padding: 0; margin: 0 0 1rem; }
.extras li { display: flex; justify-content: space-between; gap: 1rem; padding: .4rem 0; border-bottom: 1px dashed var(--line); }
.extras li span:last-child { font-weight: 700; white-space: nowrap; }
@media (max-width: 900px) { .styles { grid-template-columns: 1fr; } }
.need { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; padding-block: 2.5rem 3rem; }
@media (max-width: 760px) { .need { grid-template-columns: 1fr; gap: .5rem; } }

.request { background: var(--roof); padding-block: clamp(2.5rem, 6vw, 4.5rem); scroll-margin-top: 70px; }
.request__grid { display: grid; grid-template-columns: 1.35fr .9fr; gap: 2.5rem; align-items: start; }
@media (max-width: 960px) { .request__grid { grid-template-columns: 1fr; } .ticket--side { position: static; order: -1; } }

/* Forms */
.form { background: var(--paper); padding: clamp(1.25rem, 4vw, 2.25rem); border-radius: var(--r); border: 1px solid var(--line); }
.form__lede { color: var(--muted); }
.group { border: 0; padding: 0; margin: 0 0 1.75rem; }
.group legend { font-family: var(--display); font-size: 1.15rem; padding: 0; margin-bottom: .75rem; color: var(--red); }
.field { margin-bottom: 1.1rem; }
.field__label { display: block; font-weight: 700; margin-bottom: .35rem; }
.opt { font-weight: 400; color: var(--muted); font-size: .9rem; }
.field__help { color: var(--muted); font-size: .92rem; margin: .2rem 0 .4rem; }
.field__err, .errorlist { color: #b3160b; font-weight: 600; font-size: .95rem; margin: .3rem 0 0; list-style: none; padding: 0; }
.field--error input, .field--error select, .field--error textarea { border-color: #b3160b; }
input[type=text], input[type=email], input[type=number], input[type=date], input[type=time], input[type=tel], select, textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fff; border: 2px solid #cfc5be; border-radius: var(--r); padding: .65rem .75rem; min-height: 48px; }
input:focus, select:focus, textarea:focus { border-color: var(--ink); outline: 3px solid rgba(246,180,0,.55); outline-offset: 0; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
@media (max-width: 600px) { .row2 { grid-template-columns: 1fr; } }
.choices { display: flex; flex-wrap: wrap; gap: .5rem; }
.choices div, .choices > div > div { display: contents; }
.choice { display: inline-flex; align-items: center; gap: .5rem; border: 2px solid #cfc5be; border-radius: var(--r); padding: .55rem .8rem; cursor: pointer; background: #fff; }
.choice:has(input:checked) { border-color: var(--ink); background: #fff3cc; }
.choice input { accent-color: var(--red); width: 18px; height: 18px; margin: 0; }
.choices--cards .choice { flex: 1 1 200px; font-weight: 700; }
.check { display: flex; gap: .6rem; align-items: center; margin: .25rem 0 1rem; font-weight: 600; }
.check input { width: 20px; height: 20px; accent-color: var(--red); }
.datewarn { background: #fff3cc; border-left: 5px solid var(--yellow); padding: .6rem .9rem; margin: -.25rem 0 1rem; }
.alert { background: #fde8e6; border-left: 5px solid #b3160b; padding: .75rem 1rem; margin-bottom: 1.25rem; font-weight: 600; }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.colors { display: flex; gap: .75rem; }
.colors input[type=color] { width: 64px; height: 48px; border: 2px solid #cfc5be; border-radius: var(--r); padding: 2px; background: #fff; }

/* Fundraising */
.badge { width: 150px; height: 150px; margin-bottom: 1rem; }
.footer__motto { font-family: var(--display); color: var(--yellow); font-size: 1.15rem; margin-bottom: .5rem; }
.calc { background: var(--paper); border: 2px solid var(--ink); border-radius: var(--r); padding: 1.5rem; box-shadow: 8px 8px 0 var(--red); }
.calc__title { font-family: var(--display); font-weight: 400; font-size: 1.3rem; }
.calc label { display: flex; justify-content: space-between; font-weight: 700; margin-top: .75rem; }
.calc output { font-family: var(--display); font-size: 1.3rem; color: var(--red); }
.calc__result { margin: 1rem 0 .25rem; padding-top: .9rem; border-top: 2px dashed var(--line); font-weight: 600; }
.calc__result span { display: block; font-family: var(--display); font-size: clamp(2.4rem, 5vw, 3.2rem); line-height: 1; font-weight: 400; }
.calc__fine { color: var(--muted); font-size: .9rem; margin: 0; }
.steps { list-style: none; counter-reset: step; padding: 0; margin: 1.5rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem 1.5rem; }
.steps li { counter-increment: step; border-top: 5px solid var(--yellow); padding-top: 1rem; }
.steps li::before { content: counter(step); font-family: var(--display); font-size: 2rem; color: var(--red); line-height: 1; display: block; margin-bottom: .4rem; }
.steps h3 { font-family: var(--display); font-weight: 400; font-size: 1.1rem; }
.steps p { font-size: .98rem; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 1.5rem; }
.tier { background: var(--paper); border-radius: var(--r); padding: 1.25rem; border-top: 6px solid var(--red); }
.tier__name { font-family: var(--display); font-weight: 400; font-size: 1.3rem; }
.tier__prices { display: flex; gap: .5rem; flex-wrap: wrap; }
.tier__prices span { background: var(--ink); color: #fff; border-radius: var(--r); padding: .2rem .55rem; font-weight: 700; font-size: .95rem; }
.tier__list { list-style: none; padding: 0; margin: 0; }
.tier__list li { display: flex; gap: .75rem; align-items: center; padding: .5rem 0; border-top: 1px solid var(--line); font-size: .93rem; line-height: 1.4; }
.tier__list img { width: 56px; height: 56px; flex: none; }
@media (max-width: 860px) { .tiers { grid-template-columns: 1fr; } }

.teamphoto { margin: 0; background: var(--ink); color: #fff; }
.teamphoto img { width: 100%; height: clamp(260px, 42vw, 560px); object-fit: cover; object-position: center 60%; }
.teamphoto figcaption { padding-block: 1rem; font-weight: 600; color: #f2ebe6; }

.quotes { background: var(--paper); padding-block: clamp(2.5rem, 6vw, 4rem); }
.quote { margin: 0 auto 2rem; max-width: 760px; }
.quote:last-child { margin-bottom: 0; }
.quote blockquote { margin: 0; }
.quote p { font-family: var(--display); font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.2; margin: 0 0 .75rem; }
.quote p::before { content: "\201C"; color: var(--red); }
.quote p::after { content: "\201D"; color: var(--red); }
.quote figcaption { font-weight: 600; color: var(--muted); }
.quote figcaption::before { content: ""; display: inline-block; width: 2rem; height: 4px; background: var(--yellow); vertical-align: middle; margin-right: .6rem; }

.reward { position: relative; isolation: isolate; color: #fff; background: var(--red-deep); min-height: 420px; display: flex; align-items: flex-end; }
.reward__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.reward::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(111,25,18,.95) 0%, rgba(111,25,18,.8) 45%, rgba(111,25,18,.15) 100%); }
.reward__copy { padding-block: clamp(2.5rem, 6vw, 4rem); }
.reward__copy p { max-width: 48ch; font-size: 1.15rem; color: #fbeee9; }
.reward__title { font-family: var(--display); font-weight: 400; font-size: clamp(2rem, 4.5vw, 3.2rem); max-width: 16ch; color: var(--yellow); }
@media (max-width: 700px) { .reward::before { background: linear-gradient(0deg, rgba(111,25,18,.96) 0%, rgba(111,25,18,.8) 60%, rgba(111,25,18,.4) 100%); } }

/* Menu */
.menu { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem 2.5rem; }
.menu__item { display: grid; grid-template-columns: 150px 1fr; gap: 1.25rem; align-items: center; }
.menu__item img { width: 150px; height: 150px; }
.menu__item--gf img { width: 110px; height: 110px; margin-inline: auto; }
.menu__name { font-family: var(--display); font-weight: 400; font-size: 1.4rem; margin-bottom: .25rem; }
@media (max-width: 760px) { .menu { grid-template-columns: 1fr; } .menu__item { grid-template-columns: 110px 1fr; } .menu__item img { width: 110px; height: 110px; } }

/* Footer */
.footer { background: var(--soot); color: #e8dfd9; padding-top: 3rem; border-top: 6px solid var(--yellow); }
.footer a { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.footer__logo { width: 200px; margin-bottom: 1rem; }
.footer__h { font-family: var(--display); font-weight: 400; font-size: 1.05rem; color: var(--yellow); }
.footer__fine { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2rem; padding-block: 1.25rem; font-size: .9rem; color: #b9aca4; }
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------ Fundraiser screens */
.demobar { background: repeating-linear-gradient(45deg, var(--yellow) 0 14px, #ffd24d 14px 28px); color: var(--ink); text-align: center; padding: .55rem 1rem; font-size: .95rem; border-bottom: 2px solid var(--ink); }
.frhead { background: var(--team1, var(--red)); color: var(--teamink, #fff); padding-block: clamp(1.75rem, 5vw, 3rem); border-bottom: 6px solid var(--team2, var(--yellow)); }
.frhead__row { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2rem; align-items: end; }
.frhead__kicker { margin: 0; font-weight: 700; opacity: .85; }
.frhead__title { font-family: var(--display); font-weight: 400; font-size: clamp(2.2rem, 6vw, 3.6rem); margin: .1rem 0 .2rem; }
.frhead__group { margin: 0; font-size: 1.1rem; }
.frhead__meter p { margin: .5rem 0 0; }
@media (max-width: 760px) { .frhead__row { grid-template-columns: 1fr; gap: 1rem; } }
.meter { display: block; height: 14px; border-radius: 99px; background: rgba(255,255,255,.35); border: 2px solid currentColor; overflow: hidden; }
.meter > span { display: block; height: 100%; background: var(--team2, var(--yellow)); border-radius: 99px; min-width: 4px; }
.meter--sm { height: 10px; width: 90px; display: inline-block; vertical-align: middle; margin-right: .4rem; border-color: var(--line); background: var(--roof); }
.meter--sm > span { background: var(--red); }
.lede { font-size: 1.12rem; max-width: 65ch; }
.msgs { padding-top: 1rem; }
.msg { background: #e7f6ea; border-left: 5px solid #2e7d3a; padding: .75rem 1rem; font-weight: 600; margin: 0; }
.msg--error { background: #fde8e6; border-color: #b3160b; }

.orderform h2 { margin-top: 1.75rem; }
.grid { display: grid; gap: .75rem; margin: 1rem 0 1.5rem; }
.pick { display: grid; grid-template-columns: 72px 1fr; gap: .5rem 1rem; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: .75rem; }
.pick__img { width: 72px; height: 72px; }
.pick__name span { display: block; font-size: .88rem; color: var(--muted); line-height: 1.35; }
.pick__sizes { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
@media (min-width: 820px) { .pick { grid-template-columns: 72px 1fr 1.6fr; } .pick__sizes { grid-column: auto; } }
.qty { display: flex; flex-direction: column; gap: .25rem; border: 2px solid var(--line); border-radius: var(--r); padding: .4rem; }
.qty--on { border-color: var(--ink); background: #fff3cc; }
.qty__label { font-size: .85rem; text-align: center; }
.qty__label b { color: var(--red); }
.qty__box { display: grid; grid-template-columns: 36px minmax(44px, 1fr) 36px; gap: 4px; }
.qty__btn { font: 700 1.25rem/1 var(--body); border: 2px solid var(--ink); background: #fff; border-radius: var(--r); min-height: 40px; cursor: pointer; }
.qty__btn:active { background: var(--yellow); }
.qty input { text-align: center; padding: .3rem; min-height: 40px; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
@media (max-width: 819px) {
  .pick__sizes { grid-template-columns: 1fr; gap: .4rem; }
  .qty { flex-direction: row; align-items: center; justify-content: space-between; padding: .35rem .5rem; }
  .qty__label { text-align: left; font-size: .98rem; }
  .qty__box { grid-template-columns: 44px 58px 44px; }
}
.grid__total { position: sticky; bottom: 0; display: flex; justify-content: space-between; align-items: center; background: var(--ink); color: #fff; padding: .8rem 1rem; border-radius: var(--r); z-index: 5; }
.grid__total strong { font-family: var(--display); font-size: 1.4rem; font-weight: 400; color: var(--yellow); }
.choices--stack { flex-direction: column; align-items: stretch; }
.receipt { list-style: none; padding: 0; font-size: 1.1rem; }

.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-bottom: 2.5rem; }
@media (max-width: 900px) { .cards3 { grid-template-columns: 1fr; } }
.card { background: var(--paper); border: 2px solid var(--ink); border-radius: var(--r); padding: 1.25rem; }
.card p { font-size: .98rem; }
.card--qr { text-align: center; }
.qrwrap { width: 170px; margin: .5rem auto; background: #fff; padding: 6px; }
.qr { width: 100%; height: auto; display: block; }
.linkbox { background: var(--roof); padding: .5rem .7rem; border-radius: var(--r); word-break: break-all; font-size: .92rem; }
.btnrow { display: flex; flex-wrap: wrap; gap: .75rem; }
.btnrow .btn { font-size: .92rem; padding: .6rem .9rem; }
.linkbtn { font: inherit; font-size: .92rem; font-weight: 700; color: var(--red); background: none; border: 0; padding: .2rem .3rem; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.linkbtn--muted { color: var(--muted); }
.inline { display: inline; }
.muted { color: var(--muted); font-size: .92rem; }
.owed { background: #fff3cc; border-left: 5px solid var(--yellow); padding: .6rem .9rem; }
.orders { list-style: none; padding: 0; margin: 1rem 0; display: grid; gap: .6rem; }
.ord { display: grid; grid-template-columns: 1.1fr 1.4fr auto; gap: .5rem 1rem; align-items: center; background: var(--paper); border: 1px solid var(--line); border-left: 6px solid #2e7d3a; border-radius: var(--r); padding: .75rem 1rem; }
.ord--due { border-left-color: var(--yellow); }
.ord__how { display: block; color: var(--muted); font-size: .85rem; }
.ord__pay { text-align: right; }
.ord__form { margin-top: .2rem; }
@media (max-width: 700px) { .ord { grid-template-columns: 1fr; } .ord__pay { text-align: left; } }
.tag { display: inline-block; font-size: .8rem; font-weight: 700; padding: .1rem .5rem; border-radius: 99px; margin-left: .4rem; }
.tag--ok { background: #e7f6ea; color: #1f5e28; }
.tag--due { background: #fff3cc; color: #7a5800; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 2rem; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; } }
.stat { background: var(--roof); border-radius: var(--r); padding: 1rem 1.1rem; }
.stat__n { display: block; font-family: var(--display); font-size: clamp(1.6rem, 4vw, 2.3rem); line-height: 1.1; }
.stat__l { color: var(--muted); font-size: .95rem; }
.stat--big { background: var(--yellow); }
.stat--big .stat__l { color: var(--ink); }
.tablewrap { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: .98rem; }
.tbl th { text-align: left; font-size: .88rem; color: var(--muted); border-bottom: 2px solid var(--ink); padding: .5rem .6rem; }
.tbl td { border-bottom: 1px solid var(--line); padding: .6rem; vertical-align: top; }
.tbl .num { text-align: right; font-variant-numeric: tabular-nums; }
.tbl--tight td, .tbl--tight th { padding: .35rem .5rem; }
.addnames { margin: 1rem 0 2.5rem; }
.addnames summary { font-weight: 700; color: var(--red); cursor: pointer; }
.addnames form { margin-top: .75rem; max-width: 520px; }
.addnames textarea { margin-bottom: .75rem; }
.split2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; margin-top: 2rem; }
@media (max-width: 860px) { .split2 { grid-template-columns: 1fr; } }
.feed { list-style: none; padding: 0; margin: 0; }
.feed li { padding: .5rem 0; border-bottom: 1px solid var(--line); }
.settle { background: var(--roof); padding: 1.25rem 1.5rem; border-radius: var(--r); }
.settle__bottom { margin-top: 1rem; padding-top: .75rem; border-top: 2px dashed var(--line); font-size: 1.05rem; }
.closebox { margin-top: 2.5rem; padding: 1.25rem; border: 2px dashed var(--line); border-radius: var(--r); }

.print { background: #fff; }
.packing { padding-block: 1.5rem; }
.box { break-inside: avoid; margin-top: 1.5rem; border: 2px solid var(--ink); padding: .75rem 1rem; }
.box__h { font-family: var(--display); font-weight: 400; font-size: 1.3rem; display: flex; justify-content: space-between; gap: 1rem; border-bottom: 3px solid var(--ink); padding-bottom: .35rem; }
.box__h span { font-family: var(--body); font-size: 1rem; font-weight: 700; }
@media print { .noprint, .demobar { display: none; } .box { page-break-inside: avoid; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

/* Seller upload + family emails (update: email) */
.addways { margin: 1rem 0 2.5rem; display: grid; gap: .25rem; }
.addways .addnames { margin: 0; }
.addnames input[type=file] { display: block; margin: .5rem 0 .75rem; max-width: 100%; }
.msgbox { margin: 0 0 2.5rem; padding: 1.25rem; border: 2px solid var(--ink); border-radius: var(--r); background: var(--paper); max-width: 720px; }
.msgbox input, .msgbox textarea { width: 100%; margin-bottom: .75rem; }
.presets { display: flex; flex-wrap: wrap; gap: .5rem; margin: .5rem 0 1rem; }
.chip { font: inherit; font-weight: 700; padding: .4rem .8rem; border: 2px solid var(--ink); border-radius: 999px; background: #fff; cursor: pointer; }
.chip:hover, .chip:focus-visible { background: var(--yellow); }
.tbl__skip td { opacity: .55; }
.tag { display: inline-block; font-size: .8rem; font-weight: 700; padding: .1rem .5rem; border-radius: 4px; background: #f3ede4; }
.tag--skip { background: #fde8e6; }
.importgo { margin-top: 1.5rem; }
.check { display: flex; gap: .6rem; align-items: flex-start; font-weight: 600; margin-bottom: .75rem; }
.check input { margin-top: .3rem; width: 1.2rem; height: 1.2rem; }
.tbl--import td { overflow-wrap: anywhere; }
.tbl--import td:first-child { width: 38%; }

/* Pay page (Square) */
.paybox { border: 2px solid var(--ink); border-radius: var(--r); padding: 1.5rem; background: var(--paper); box-shadow: 6px 6px 0 var(--yellow); }
.paybox--done { border-color: #2e7d3a; box-shadow: 6px 6px 0 #2e7d3a; }
.paybox__amount { font-family: var(--display); font-size: clamp(2.4rem, 9vw, 3.4rem); line-height: 1; margin: 0; }
.paybox .h3 { margin-top: 1.5rem; }
.paybox form { margin: 1rem 0 .5rem; }

/* Team logos + event photos */
.frhead__logo { display: block; max-height: 88px; max-width: 200px; width: auto; height: auto; background: #fff; padding: .4rem; border-radius: var(--r); margin-bottom: .75rem; box-shadow: 4px 4px 0 var(--team2, var(--yellow)); }
.event__photo { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r); margin-top: .75rem; background: var(--roof); }
.logobox { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.logobox img { max-height: 80px; max-width: 160px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: .3rem; }
.logobox input[type=file] { max-width: 100%; }
.teamlogo { margin: 1.5rem 0 0; }
.event__date { align-self: start; }
