/* 2027 MLK Peace Breakfast – event branding */
:root {
  --navy: #0b1940;
  --navy-2: #1b2a55;
  --slate: #5e759f;
  --slate-2: #8ea2c8;
  --mist: #e6ebf4;
  --paper: #f6f8fc;
  --ink: #1d2433;
  --muted: #54565a;
  --red: #d11242;
  --green: #2e7d32;
  --line: #cfd7e6;
  --radius: 10px;
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Source Sans 3', 'Segoe UI', Arial, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.5; }
a { color: var(--navy-2); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; background: #fff; padding: 8px; z-index: 9; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px 40px; }

/* hero: full banner on the first screen, a slim title bar after that.
   Add ?embed=1 to the page address to hide the banner entirely (when MSU Denver's page already shows it). */
body.compact .hero img { display: none; }
body.compact .hero::before { content: '2027 MLK PEACE BREAKFAST'; display: block; color: #fff; font: 800 22px var(--serif); letter-spacing: 1.5px; text-align: center; padding: 12px 16px 4px; }
body.embed .hero { display: none; }
/* hero */
.hero { background: var(--navy); }
.hero img { display: block; width: 100%; max-width: 1180px; margin: 0 auto; height: auto; }
.eventbar { background: var(--navy-2); color: #fff; text-align: center; padding: 10px 16px; font-size: 15px; letter-spacing: .2px; }
.eventbar strong { font-weight: 700; }

h1, h2, h3 { font-family: var(--serif); color: var(--navy); line-height: 1.2; }
h2 { font-size: 28px; margin: 28px 0 8px; }
h3 { font-size: 20px; margin: 18px 0 6px; }
.lead { color: var(--muted); margin-top: 0; }

/* step 1 choices */
.choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 16px; }
.choice { background: #fff; border: 2px solid var(--line); border-radius: var(--radius); padding: 20px; cursor: pointer; text-align: left; font: inherit; color: inherit; }
.choice:hover, .choice:focus-visible { border-color: var(--slate); outline: none; box-shadow: 0 4px 14px rgba(11,25,64,.12); }
.choice h3 { margin-top: 0; }
.price-list { list-style: none; padding: 0; margin: 8px 0 0; font-size: 15px; }
.price-list li { display: flex; justify-content: space-between; border-bottom: 1px dashed var(--line); padding: 4px 0; }

.levels { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin: 12px 0; }
.level { background: #fff; border: 2px solid var(--line); border-radius: var(--radius); padding: 16px; cursor: pointer; font: inherit; text-align: left; color: inherit; }
.level[aria-pressed="true"] { border-color: var(--navy); box-shadow: inset 0 0 0 2px var(--navy); }
.level:disabled { opacity: .5; cursor: not-allowed; }
.level .amt { font-family: var(--serif); font-size: 26px; color: var(--navy); font-weight: 800; }
.level .left { font-size: 13px; color: var(--muted); }
.level { display: flex; flex-direction: column; }
.benefits { margin: 10px 0 0; padding-left: 18px; font-size: 14px; line-height: 1.4; color: var(--ink); }
.benefits li { margin: 3px 0; }

/* sponsorship package */
.pkg { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; margin: 14px 0 6px; }
@media (min-width: 1100px) { .pkg { grid-template-columns: minmax(0, 1fr) 320px; align-items: start; } }
table.cmp { width: 100%; min-width: 680px; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: 14px; }
table.cmp th, table.cmp td { padding: 9px 10px; border-bottom: 1px solid var(--mist); text-align: center; vertical-align: middle; }
table.cmp thead th { background: var(--navy); color: #fff; vertical-align: top; }
table.cmp thead th:first-child { background: var(--navy); }
table.cmp tbody th { text-align: left; font-weight: 600; color: var(--navy-2); width: 24%; }
table.cmp tbody tr:nth-child(even) td, table.cmp tbody tr:nth-child(even) th { background: var(--paper); }
table.cmp tbody tr:last-child th, table.cmp tbody tr:last-child td { border-bottom: 0; }
.cmp-name { font-weight: 700; font-size: 15px; }
.cmp-amt { font: 800 24px var(--serif); margin: 2px 0; }
.cmp-left { font-size: 12px; font-weight: 400; opacity: .85; }
table.cmp .yes { color: var(--red); font-weight: 800; font-size: 18px; }
table.cmp .no { color: #b9bfcb; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.pkg-steps { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; }
.pkg-steps h3 { margin-top: 0; }
.pkg-steps ol { padding-left: 20px; margin: 0; font-size: 15px; }
.pkg-steps li { margin: 6px 0; }
.pkg-link { color: var(--red); font-weight: 700; margin: 8px 0 0; }
.spon-levels { margin-top: 28px; }
.level-info { cursor: default; background: #fff; }
.level-info .benefits { flex: 1; }
.pick-level { margin-top: 12px; align-self: flex-start; }

/* toggles */
.seg { display: inline-flex; border: 2px solid var(--navy); border-radius: 999px; overflow: hidden; margin: 6px 0; }
.seg button { border: 0; background: #fff; color: var(--navy); padding: 8px 16px; font: inherit; font-weight: 600; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--navy); color: #fff; }

/* map */
.shop { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 20px; align-items: start; margin-top: 12px; }
@media (max-width: 900px) { .shop { grid-template-columns: 1fr; } }
.mapcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; }
.maptools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.mapscroll { overflow-x: auto; }
svg.floor { width: 100%; min-width: 640px; height: auto; display: block; user-select: none; }
.room { fill: #fbfcfe; stroke: var(--slate); stroke-width: 3; }
.void { fill: var(--mist); stroke: var(--slate-2); stroke-dasharray: 6 5; }
.void-lbl, .fixture-lbl { font: 600 15px var(--sans); fill: var(--slate); text-anchor: middle; }
.fixture { fill: var(--mist); stroke: var(--slate-2); }
.stage { fill: var(--navy); }
.stage-lbl { font: 800 22px var(--serif); fill: #fff; letter-spacing: 6px; text-anchor: middle; dominant-baseline: middle; }
.halo { fill: none; }
.table-btn circle { fill: var(--navy); stroke: #fff; stroke-width: 2; cursor: pointer; }
.table-btn text { fill: #fff; font: 700 17px var(--sans); text-anchor: middle; pointer-events: none; }
.table-btn:hover circle, .table-btn:focus-visible circle { fill: var(--slate); outline: none; }
.seat circle { stroke-width: 2; cursor: pointer; }
.seat text { font: 600 10px var(--sans); text-anchor: middle; pointer-events: none; }
.seat.available circle { fill: #fff; stroke: var(--slate); }
.seat.available text { fill: var(--slate); }
.seat.available:hover circle, .seat.available:focus-visible circle { fill: var(--mist); stroke: var(--navy); outline: none; }
.seat.mine circle, .seat.selected circle { fill: var(--red); stroke: var(--red); }
.seat.mine text, .seat.selected text { fill: #fff; }
.seat.sold circle, .seat.held circle { fill: #c4c8cf; stroke: #c4c8cf; cursor: not-allowed; }
.seat.sold text, .seat.held text { fill: #fff; }
.seat.reserved circle { fill: var(--slate-2); stroke: var(--slate-2); cursor: not-allowed; }
.seat.reserved text { fill: #fff; }
.tbl.reserved .table-btn circle { fill: var(--slate-2); cursor: not-allowed; }
.tbl.sponsor-pick .halo { stroke: var(--red); stroke-width: 3; stroke-dasharray: 5 4; }
.legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: 13px; color: var(--muted); margin: 8px 4px 0; }
.legend span::before { content: ''; display: inline-block; width: 13px; height: 13px; border-radius: 50%; margin-right: 5px; vertical-align: -2px; border: 2px solid var(--slate); background: #fff; }
.legend .l-mine::before { background: var(--red); border-color: var(--red); }
.legend .l-sold::before { background: #c4c8cf; border-color: #c4c8cf; }
.legend .l-res::before { background: var(--slate-2); border-color: var(--slate-2); }
.hint { font-size: 14px; color: var(--muted); margin: 6px 4px; }

/* cart */
.cart { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; position: sticky; top: 12px; }
.cart h3 { margin-top: 0; }
.cart ul { list-style: none; margin: 0; padding: 0; max-height: 300px; overflow: auto; }
.cart li { display: flex; justify-content: space-between; gap: 6px; padding: 5px 0; border-bottom: 1px solid var(--mist); font-size: 15px; }
.cart li button { border: 0; background: none; color: var(--red); cursor: pointer; font-size: 18px; line-height: 1; }
.total { display: flex; justify-content: space-between; font-weight: 700; font-size: 18px; margin-top: 10px; color: var(--navy); }
.timer { font-size: 13px; color: var(--muted); margin-top: 6px; }
.timer.warn { color: var(--red); font-weight: 700; }

/* buttons & forms */
.btn { display: inline-block; border: 0; border-radius: 999px; background: var(--red); color: #fff; font: 700 16px var(--sans); padding: 12px 22px; cursor: pointer; text-decoration: none; }
.btn:hover { background: #b00f38; }
.btn:disabled { background: #b9bcc3; cursor: not-allowed; }
.btn.secondary { background: #fff; color: var(--navy); border: 2px solid var(--navy); }
.btn.block { width: 100%; margin-top: 12px; }
.linkbtn { background: none; border: 0; color: var(--navy-2); text-decoration: underline; cursor: pointer; font: inherit; padding: 0; }

.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin: 16px 0; }
.panel legend, fieldset legend { font-family: var(--serif); font-weight: 700; color: var(--navy); font-size: 19px; padding: 0 6px; }
fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px 16px; margin: 16px 0; background: #fff; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
label.f { display: block; font-size: 14px; font-weight: 600; color: var(--navy-2); }
label.f input, label.f select, label.f textarea { display: block; width: 100%; margin-top: 4px; padding: 9px 10px; border: 1px solid #aab5c9; border-radius: 6px; font: inherit; background: #fff; }
label.f input:focus, label.f select:focus { outline: 3px solid rgba(94,117,159,.35); border-color: var(--slate); }
.req::after { content: ' *'; color: var(--red); }
.check { display: flex; gap: 8px; align-items: flex-start; font-size: 15px; margin: 8px 0; }
.check input { margin-top: 4px; width: 18px; height: 18px; flex: none; }
.guest { border-top: 1px solid var(--mist); padding: 12px 0; }
.guest:first-of-type { border-top: 0; }
.guest-hd { font-weight: 700; color: var(--navy); margin-bottom: 6px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.guest .grid { grid-template-columns: 1fr 1fr 1.4fr auto; align-items: end; }
@media (max-width: 700px) { .guest .grid { grid-template-columns: 1fr 1fr; } }
.diet { display: flex; gap: 14px; font-size: 14px; padding-bottom: 8px; }
.diet label { display: flex; gap: 5px; align-items: center; white-space: nowrap; }
.paybox { display: grid; gap: 10px; }
.payopt { display: flex; gap: 10px; align-items: flex-start; border: 2px solid var(--line); border-radius: var(--radius); padding: 12px; cursor: pointer; }
.payopt:has(input:checked) { border-color: var(--navy); background: var(--paper); }
.payopt input { margin-top: 4px; }
.note { background: var(--mist); border-left: 4px solid var(--slate); padding: 10px 14px; border-radius: 6px; font-size: 15px; margin: 10px 0; }
.err { background: #fde8ee; border-left: 4px solid var(--red); padding: 10px 14px; border-radius: 6px; color: #7d0a28; margin: 10px 0; }
.ok { background: #e8f4ea; border-left: 4px solid var(--green); padding: 10px 14px; border-radius: 6px; margin: 10px 0; }
.summary-row { display: flex; justify-content: space-between; padding: 3px 0; }
.hidden { display: none !important; }
.done { text-align: center; padding: 30px 16px; }
.done .big { font-family: var(--serif); font-size: 32px; color: var(--navy); }
.small { font-size: 13px; color: var(--muted); }
.footer { text-align: center; font-size: 13px; color: var(--muted); padding: 20px; }

/* first screen: ticket cards + sponsorship section */
.ticket-card { cursor: default; display: flex; flex-direction: column; }
.ticket-card .price-list { margin-bottom: 8px; }
.ticket-card .btn { margin-top: auto; align-self: flex-start; }
.ticket-card .small { margin: 4px 0 14px; }
.spon-section { margin-top: 36px; padding-top: 8px; border-top: 3px solid var(--navy); }
table.cmp tfoot td, table.cmp tfoot th { background: #fff; border-top: 2px solid var(--line); padding: 12px 8px; }
table.cmp tfoot .btn.sm { padding: 8px 12px; font-size: 13px; white-space: nowrap; }
.btn.sm { padding: 8px 14px; font-size: 14px; }
