:root {
  --ink: #1B1B1B;
  --paper: #FFFFFF;
  --muted: #4A4A4A;
  --tile: #EFEFEF;
  --line: #C4C4C4;
  --week: #FFE14D;
  --link: #173F8F;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: 'Bricolage Grotesque', system-ui, sans-serif; }
a { color: var(--link); }
a:hover { color: #0E2A63; }
:focus-visible { outline: 3px solid var(--link); outline-offset: 2px; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 32px clamp(16px, 4vw, 48px) 64px; display: flex; flex-direction: column; gap: 36px; }

.top { display: flex; flex-direction: column; gap: 16px; }
.top-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; font-weight: 600; font-size: 16px; }
.pill { background: var(--ink); color: var(--paper); border-radius: 20px; padding: 6px 16px; }
h1 { margin: 0; font-weight: 800; font-size: clamp(48px, 10vw, 132px); line-height: 0.92; letter-spacing: -0.04em; }
.intro { margin: 0; flex: 1 1 360px; max-width: 640px; font-size: 21px; line-height: 1.4; }
.intro-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 32px; }

/* The sponsored banner and the calendar share one band: banner and buttons on the left, dates on the right. */
.lead { display: grid; grid-template-columns: minmax(0, 1fr) 320px; grid-template-areas: "ad grid" "side grid"; gap: 16px 48px; align-items: start; }
.lead > .ad { grid-area: ad; }
.cal { display: contents; }
.cal-side { grid-area: side; max-width: 640px; display: flex; flex-direction: column; gap: 12px; }
.cal-grid { grid-area: grid; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
@media (max-width: 820px) {
  .lead { grid-template-columns: minmax(0, 1fr); grid-template-areas: "ad" "side" "grid"; }
  .cal-grid { max-width: 360px; }
}
.cal-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px; }
.cal-head h2 { margin: 0; font-weight: 800; font-size: 22px; letter-spacing: -0.02em; }
.cal-head span { font-weight: 600; font-size: 15px; color: var(--muted); }
.dows, .days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.dows span { text-align: center; font-size: 12px; font-weight: 600; color: var(--muted); }
.day { appearance: none; min-height: 40px; border-radius: 10px; border: 2px solid var(--tile); background: var(--tile); color: var(--ink); font-family: inherit; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; padding: 2px 0; }
.day .mon { font-size: 9px; font-weight: 600; line-height: 1; min-height: 9px; }
.day .num { font-size: 15px; font-weight: 800; line-height: 1.1; }
.day .dots { font-size: 8px; line-height: 1; letter-spacing: 1px; min-height: 8px; }
.day.quiet { background: var(--paper); border-color: var(--line); color: var(--muted); }
.day.week { background: var(--week); border-color: var(--week); color: var(--ink); }
.day.sel { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.day:hover { border-color: var(--ink); }
.hint { margin: 0; font-size: 14px; color: var(--muted); }
@media (max-width: 520px) {
  .cal-grid { max-width: none; }
  .day { min-height: 42px; }
  .block { padding: 22px; }
}

.list { display: flex; flex-direction: column; gap: 24px; }
.list-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.kicker { font-weight: 600; font-size: 16px; color: var(--muted); }
.list-head h2 { margin: 4px 0 0; font-weight: 800; font-size: clamp(34px, 5.5vw, 64px); line-height: 1; letter-spacing: -0.03em; }
.clear { appearance: none; background: var(--paper); color: var(--ink); border: 2px solid var(--ink); border-radius: 24px; min-height: 48px; padding: 0 22px; font-family: inherit; font-weight: 600; font-size: 16px; cursor: pointer; }
.clear:hover { background: var(--ink); color: var(--paper); }
.quick { display: flex; flex-wrap: wrap; gap: 8px; }
.quick button { appearance: none; background: var(--paper); color: var(--ink); border: 2px solid var(--ink); border-radius: 20px; min-height: 40px; padding: 0 16px; font-family: inherit; font-weight: 600; font-size: 15px; cursor: pointer; }
.quick button:hover, .quick button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.quick .free { border-style: dashed; }
.quick .free[aria-pressed="true"] { border-style: solid; }
.empty { margin: 0; background: var(--tile); border-radius: 28px; padding: 28px; font-size: 20px; }

.blocks { display: flex; gap: 20px; align-items: flex-start; }
.col { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.block { border-radius: 28px; padding: 28px; display: flex; flex-direction: column; gap: 4px; background: var(--a); color: var(--b); }
.block-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 12px; }
.block-head h3, .block-head span { margin: 0; font-weight: 800; font-size: 30px; line-height: 1.05; letter-spacing: -0.02em; }
.ev { border-top: 2px solid var(--b); padding: 14px 0; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; scroll-margin-top: 16px; }
.ev img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 14px; margin-bottom: 6px; display: block; }
.ev .when { font-weight: 800; font-size: 15px; }
.ev h4 { margin: 0; font-weight: 600; font-size: 21px; line-height: 1.2; color: var(--ink); }
.ev .meta, .ev .addr, .ev p { margin: 0; font-size: 15px; line-height: 1.4; color: var(--ink); }
.ev .more { appearance: none; border: 0; font-family: inherit; cursor: pointer; margin-top: 6px; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 22px; background: var(--b); color: #FFFFFF; font-weight: 600; font-size: 15px; }
.ev .more::after { content: ''; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.ev .more[aria-expanded="true"]::after { transform: translateY(2px) rotate(-135deg); }
.ev .more:hover { background: var(--ink); color: #FFFFFF; }
.ev .details { align-self: stretch; margin-top: 8px; padding: 16px; border-radius: 16px; background: rgba(255, 255, 255, 0.65); display: flex; flex-direction: column; gap: 12px; }
.ev .details[hidden] { display: none; }
.ev .facts { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 15px; line-height: 1.4; color: var(--ink); }
.ev .facts .price { background: rgba(255, 255, 255, 0.65); color: var(--b); font-weight: 600; font-size: 14px; border-radius: 12px; padding: 2px 10px; }
.ev .sold { background: #B3261E; color: #FFFFFF; font-weight: 600; font-size: 14px; border-radius: 12px; padding: 2px 10px; }
.ev .details .about { margin: 0; font-size: 16px; line-height: 1.45; color: var(--ink); }
.ev .details dl { margin: 0; display: flex; flex-direction: column; }
.ev .details dl > div { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 12px; padding: 9px 0; border-top: 1px solid rgba(27, 27, 27, 0.14); }
.ev .details dl > div:last-child { border-bottom: 1px solid rgba(27, 27, 27, 0.14); }
.ev .details dt { font-weight: 800; font-size: 13px; line-height: 1.6; color: var(--b); }
.ev .details dd { margin: 0; font-size: 15px; line-height: 1.4; color: var(--ink); }
.ev .actions { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 8px; }
.ev .visit, .act { appearance: none; background: none; font-family: inherit; cursor: pointer; align-self: flex-start; display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 2px solid var(--b); border-radius: 22px; font-weight: 600; font-size: 15px; color: var(--b); text-decoration: none; }
.ev .visit:hover, .act:hover, .addcal[open] > summary { background: var(--b); color: #FFFFFF; }
.addcal summary { list-style: none; }
.addcal summary::-webkit-details-marker { display: none; }
.addcal .opts { display: flex; flex-direction: column; gap: 4px; margin-top: 8px; padding: 10px 14px; border-radius: 14px; background: #FFFFFF; }
.addcal .opts a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; font-size: 15px; color: var(--b); }
.ev .feat { background: var(--ink); color: #FFFFFF; font-weight: 600; font-size: 14px; border-radius: 12px; padding: 2px 10px; }
.ev.flash { outline: 3px solid var(--ink); outline-offset: 6px; border-radius: 6px; }

.theatre { --a: #E9DDF7; --b: #4B2A7B; }
.music { --a: #D6E4FF; --b: #173F8F; }
.comedy { --a: #FFE0C7; --b: #8A3A00; }
.exhibits { --a: #CFEFEA; --b: #0B5A50; }
.seasonal { --a: #FBD5D5; --b: #8E1B1B; }
.markets { --a: #DDF0C8; --b: #2F5A0E; }
.kids { --a: #FFF0B3; --b: #6B4E00; }
.sport { --a: #DCE3EA; --b: #2B3A4A; }

.submit { background: var(--tile); border-radius: 20px; padding: 20px 24px; display: flex; flex-direction: column; gap: 4px; max-width: 560px; }
.submit p + h2 { margin-top: 12px; }
.submit h2 { margin: 0; font-weight: 800; font-size: 20px; letter-spacing: -0.01em; }
.submit p { margin: 0; font-size: 16px; line-height: 1.45; }
.submit a { font-weight: 600; }
.ad:not([hidden]) { display: flex; flex-direction: column; gap: 6px; }
.ad-preview { min-height: 120px; }
.ad-sponsor { display: block; max-width: 640px; }
.ad-sponsor img { display: block; width: 100%; height: auto; border-radius: 16px; }
@media (max-width: 600px) { .ad-sponsor { max-width: 280px; } }
.ad-open { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 120px; padding: 20px; text-align: center; border: 2px dashed var(--ink); border-radius: 20px; color: var(--ink); }
.ad-open strong { font-weight: 800; font-size: 24px; letter-spacing: -0.02em; }
.ad-open span { font-size: 16px; line-height: 1.4; }
.ad-open a { color: var(--ink); font-weight: 600; }
.formats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 20px; }
.formats article { background: var(--tile); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.formats h2 { margin: 0; font-weight: 800; font-size: 24px; letter-spacing: -0.02em; }
.formats p { margin: 0; font-size: 16px; line-height: 1.45; }
.formats .where { font-weight: 600; font-size: 14px; color: var(--muted); }
.formats .size { font-weight: 600; }
.prose { max-width: 640px; display: flex; flex-direction: column; gap: 12px; }
.prose h2 { margin: 12px 0 0; font-weight: 800; font-size: 28px; letter-spacing: -0.02em; }
.prose p, .prose li { margin: 0; font-size: 17px; line-height: 1.5; }
.prose ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.ad-label { font-size: 13px; font-weight: 600; color: var(--muted); }
.ad-preview { align-items: center; justify-content: center; border: 2px dashed var(--line); border-radius: 20px; color: var(--muted); font-weight: 600; font-size: 16px; }
footer { border-top: 2px solid var(--ink); padding-top: 12px; font-size: 15px; line-height: 1.45; color: var(--muted); }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Our picks: plain text on the page background, above the sections */
.picks { background: var(--paper); color: var(--ink); display: flex; flex-direction: column; gap: 16px; }
.picks h3 { margin: 0; font-weight: 800; font-size: 30px; line-height: 1.05; letter-spacing: -0.02em; color: var(--ink); }
.picks-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 20px; }
.pick { border-top: 2px solid var(--ink); padding-top: 14px; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.pick .when { font-weight: 800; font-size: 15px; color: var(--muted); }
.pick h4 { margin: 0; font-weight: 600; font-size: 21px; line-height: 1.2; }
.pick p { margin: 0; font-size: 16px; line-height: 1.4; }
.pick a { display: inline-flex; align-items: center; min-height: 44px; color: var(--link); font-weight: 600; font-size: 15px; }
.pick a:hover { color: #0E2A63; }

/* Newsletter sign-up panel */
.signup { background: var(--week); border-radius: 28px; padding: 28px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 32px; }
.signup h2 { margin: 0; font-weight: 800; font-size: 30px; line-height: 1.05; letter-spacing: -0.02em; }
.signup p { margin: 6px 0 0; font-size: 17px; line-height: 1.4; }
.btn { appearance: none; border: 2px solid var(--ink); font-family: inherit; cursor: pointer; display: inline-flex; align-items: center; min-height: 48px; padding: 0 24px; border-radius: 24px; background: var(--ink); color: #FFFFFF; font-weight: 600; font-size: 16px; text-decoration: none; white-space: nowrap; }
.btn:hover { background: #FFFFFF; color: var(--ink); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #FFFFFF; }

/* Single-event pages and the submit form */
.back { font-weight: 600; font-size: 16px; }
.wordmark { margin: 0; font-weight: 800; font-size: 34px; letter-spacing: -0.03em; line-height: 1; }
.wordmark a { color: var(--ink); text-decoration: none; }
.page { border-radius: 28px; padding: clamp(22px, 4vw, 40px); background: var(--a, var(--tile)); display: flex; flex-direction: column; align-items: flex-start; gap: 14px; max-width: 760px; }
.page .sect { font-weight: 800; font-size: 16px; color: var(--b); }
.page h1 { font-size: clamp(34px, 6vw, 56px); line-height: 1; letter-spacing: -0.03em; }
.page .when { font-weight: 800; font-size: 19px; color: var(--b); }
.page .about { margin: 0; font-size: 19px; line-height: 1.45; }
.page dl { margin: 0; align-self: stretch; display: flex; flex-direction: column; }
.page dl > div { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 12px; padding: 11px 0; border-top: 1px solid rgba(27, 27, 27, 0.2); }
.page dl > div:last-child { border-bottom: 1px solid rgba(27, 27, 27, 0.2); }
.page dt { font-weight: 800; font-size: 14px; line-height: 1.7; color: var(--b); }
.page dd { margin: 0; font-size: 17px; line-height: 1.4; }
.page .sold, .page .feat { color: #FFFFFF; font-weight: 600; font-size: 14px; border-radius: 12px; padding: 2px 10px; }
.page .sold { background: #B3261E; } .page .feat { background: var(--ink); }
.page .actions { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 8px; }
.page .act, .page .visit { min-height: 48px; padding: 0 22px; border: 2px solid var(--b); border-radius: 24px; font-weight: 600; font-size: 16px; color: var(--b); text-decoration: none; display: inline-flex; align-items: center; }
.page .visit { background: var(--b); color: #FFFFFF; }
.page .visit:hover { background: var(--ink); border-color: var(--ink); }
.page .ended { margin: 0; font-weight: 600; font-size: 17px; }

.form { max-width: 640px; display: flex; flex-direction: column; gap: 18px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 16px; }
.form .opt { font-weight: 400; color: var(--muted); }
.form input, .form select, .form textarea { font: inherit; font-weight: 400; font-size: 17px; color: var(--ink); background: #FFFFFF; border: 2px solid var(--ink); border-radius: 14px; min-height: 48px; padding: 10px 14px; width: 100%; }
.form textarea { min-height: 120px; resize: vertical; }
.form .pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 18px; align-items: end; }
.form .row { display: flex; flex-wrap: wrap; gap: 10px; }
.form .note { margin: 0; font-size: 15px; line-height: 1.45; color: var(--muted); }
.form .msg { margin: 0; font-weight: 600; font-size: 16px; }

.signup-form { flex: 0 1 400px; max-width: 420px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.signup-form > div { width: 100%; }
.btn[hidden] { display: none; }
.signup-form iframe { max-height: 400px; }
