/* Gratis NYC — site.css (our own; no studio kit)
   A city poster taped to a lamppost: Anton headlines, DM Sans text, cream paper, park green, sun yellow,
   one color per borough. Borough colors are fills and edges with ink text on top, never small text on cream. */

/* ---------- fonts: metric-matched fallbacks so the page doesn't jump when the web fonts land ---------- */
@font-face { font-family: "Anton Fallback"; src: local("Impact"), local("Arial Narrow Bold"), local("Arial Bold"), local("Liberation Sans Narrow Bold"); size-adjust: 94%; ascent-override: 118%; descent-override: 33%; line-gap-override: 0%; }
@font-face { font-family: "DM Sans Fallback"; src: local("Arial"), local("Helvetica"), local("Liberation Sans"); size-adjust: 99%; ascent-override: 99%; descent-override: 31%; line-gap-override: 0%; }

:root {
  --cream: #FFF7E8;
  --paper: #FFFFFF;
  --ink: #121212;
  --ink-2: #49443C;          /* 8.9:1 on cream, 9.6:1 on white */
  --green: #0F7A4A;          /* 5.0:1 on cream; cream text on it 5.0:1 */
  --green-2: #0A5E38;
  --green-wash: #DDEFE3;
  --sun: #FFB000;            /* ink on sun 10:1 */
  --sun-wash: #FFE3A3;
  /* Borough colors, tuned so ink text on them passes AA (4.5:1+). Brooklyn and Queens lightened from the brief. */
  --b-manhattan: #E4572E;    /* ink 5.1:1 */
  --b-brooklyn: #3A93BA;     /* ink 5.4:1 */
  --b-queens: #AB66CC;       /* ink 4.9:1 */
  --b-bronx: #F18F01;        /* ink 7.8:1 */
  --b-staten-island: #3BB273;/* ink 7.0:1 */
  --b-none: #FFB000;
  --b-wknd: #FFB000;
  --b-wk: #DDEFE3;
  --display: "Anton", "Anton Fallback", Impact, "Arial Narrow", sans-serif;
  --sans: "DM Sans", "DM Sans Fallback", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --gut: 16px;
  --max: 1240px;
  --tap: 44px;
  --ground: var(--cream);
  color-scheme: light;
}
@media (min-width: 768px) { :root { --gut: 32px; } }
@media (min-width: 1200px) { :root { --gut: 40px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 1.0625rem/1.55 var(--sans); font-optical-sizing: auto; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
a { color: var(--green); text-decoration-thickness: 2px; text-underline-offset: .2em; }
a:hover { color: var(--green-2); }
b, strong { font-weight: 800; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
main:focus { outline: none; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 8px; top: -80px; z-index: 60; padding: 12px 18px; border-radius: 999px; background: var(--ink); color: var(--cream); font-weight: 800; text-decoration: none; }
.skip:focus { top: 8px; color: var(--cream); }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gut); }

/* ---------- five-borough stripe ---------- */
.bstripe { display: grid; grid-template-columns: repeat(5, 1fr); height: 8px; }
.bstripe span:nth-child(1) { background: var(--b-manhattan); }
.bstripe span:nth-child(2) { background: var(--b-brooklyn); }
.bstripe span:nth-child(3) { background: var(--b-queens); }
.bstripe span:nth-child(4) { background: var(--b-bronx); }
.bstripe span:nth-child(5) { background: var(--b-staten-island); }

/* ---------- masthead ---------- */
.mast { position: relative; z-index: 30; background: var(--cream); border-bottom: 3px solid var(--ink); }
.mast__in { display: flex; align-items: center; gap: 16px; min-height: 76px; padding-block: 10px; }
.brand { display: inline-flex; align-items: center; gap: 14px; flex: none; color: var(--ink); text-decoration: none; border-radius: 10px; }
.brand:hover { color: var(--ink); }
.brand .logo { width: auto; height: 56px; }
.brand__tag { max-width: 13.5em; font-weight: 700; font-size: .9375rem; line-height: 1.2; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { display: inline-flex; align-items: center; min-height: var(--tap); padding: 0 16px; border-radius: 999px; color: var(--ink); font-weight: 700; font-size: 1rem; text-decoration: none; }
.nav a:hover { background: var(--sun-wash); color: var(--ink); }
.nav a[aria-current="page"] { background: var(--sun); box-shadow: inset 0 0 0 2px var(--ink); }
.menu { display: none; margin-left: auto; }
.menu summary { display: inline-flex; align-items: center; gap: 10px; min-height: var(--tap); padding: 0 18px 0 14px; border: 2px solid var(--ink); border-radius: 999px; background: var(--paper); font-weight: 800; cursor: pointer; list-style: none; user-select: none; }
.menu summary::-webkit-details-marker { display: none; }
.menu__icon { position: relative; width: 18px; height: 12px; border-block: 2.5px solid currentColor; }
.menu__icon::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2.5px; margin-top: -1.25px; background: currentColor; }
.menu__open { display: none; }
.menu[open] summary { background: var(--ink); color: var(--cream); }
.menu[open] .menu__open { display: inline; }
.menu[open] .menu__closed { display: none; }
.menu[open] .menu__icon { border-color: transparent; }
.menu[open] .menu__icon::after { transform: rotate(45deg); }
.menu[open] .menu__icon::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2.5px; margin-top: -1.25px; background: currentColor; transform: rotate(-45deg); }
.menu__panel { position: absolute; left: 0; right: 0; top: 100%; display: grid; padding: 8px var(--gut) 24px; background: var(--cream); border-bottom: 3px solid var(--ink); }
.menu__panel a { display: flex; align-items: center; min-height: 56px; border-bottom: 2px solid var(--ink); color: var(--ink); font-family: var(--display); font-size: 2rem; line-height: 1; text-transform: uppercase; text-decoration: none; }
.menu__panel a[aria-current="page"] { color: var(--green); }
@media (max-width: 1023px) { .brand__tag { display: none; } }
@media (max-width: 859px) {
  .nav { display: none; }
  .menu { display: block; }
  .mast__in { min-height: 68px; }
  .brand .logo { height: 48px; }
}

/* ---------- buttons, kicker, facts ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 22px 0 24px; border: 2px solid var(--ink); border-radius: 999px; font: 800 1.0625rem/1.1 var(--sans); text-decoration: none; cursor: pointer; }
.btn .arr { width: 18px; height: 18px; flex: none; }
.btn--go { background: var(--green); color: var(--cream); }
.btn--go:hover { background: var(--green-2); color: var(--cream); }
.btn--line { background: var(--paper); color: var(--ink); }
.btn--line:hover { background: var(--sun-wash); color: var(--ink); }
.btn--sun { background: var(--sun); color: var(--ink); }
.btn--sun:hover { background: var(--sun-wash); color: var(--ink); }
.acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 14px; color: var(--green); font-weight: 800; font-size: 1.0625rem; line-height: 1.3; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; padding: 0; list-style: none; }
.facts li { padding: 6px 13px; border: 2px solid var(--ink); border-radius: 999px; background: var(--paper); font-weight: 700; font-size: .9375rem; line-height: 1.3; }

/* ---------- poster type ---------- */
.poster { font-family: var(--display); font-weight: 400; font-size: clamp(2.75rem, 1.55rem + 5.2vw, 6.5rem); line-height: .93; letter-spacing: .004em; text-transform: uppercase; text-wrap: balance; overflow-wrap: break-word; }
.poster .n { color: var(--green); }
.hl { padding-inline: .04em; background: linear-gradient(transparent 56%, var(--sun) 56%, var(--sun) 90%, transparent 90%); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.tape { display: inline-block; margin-top: .28em; padding: .14em .42em .1em; background: var(--ink); color: var(--cream); font-size: .42em; line-height: 1; transform: rotate(-2deg); transform-origin: left center; }
.lede { max-width: 35em; margin-top: 20px; font-size: clamp(1.125rem, 1.02rem + .45vw, 1.3125rem); line-height: 1.5; }
.fine { margin-top: 14px; color: var(--ink-2); font-size: .9375rem; }

/* ---------- home hero ---------- */
.hhero { padding-block: 28px 40px; }
.hhero__in { display: grid; gap: 28px; }
@media (min-width: 960px) {
  .hhero { padding-block: 52px 64px; }
  .hhero__in { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: center; gap: 56px; }
}

/* ---------- the sun sticker ---------- */
.sun { position: absolute; z-index: 2; display: grid; place-items: center; aspect-ratio: 1; container-type: inline-size; color: var(--ink); transform: rotate(-12deg); pointer-events: none; }
.sun svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.sun polygon { fill: var(--sun); stroke: var(--ink); stroke-width: 2.4; stroke-linejoin: round; }
.sun circle { fill: none; stroke: var(--ink); stroke-width: 1.4; stroke-dasharray: 3 3.2; }
.sun__t { position: relative; display: grid; justify-items: center; text-align: center; }
.sun__big { font-family: var(--display); font-size: 31cqi; line-height: .9; text-transform: uppercase; }
.sun__small { margin-top: 3cqi; font-weight: 800; font-size: 9.5cqi; line-height: 1; }

/* ---------- map ---------- */
.citymap { display: grid; gap: 14px; align-items: center; }
.citymap__art { position: relative; }
.map { width: 100%; height: auto; overflow: visible; }
.map__b { stroke: var(--ink); stroke-width: 2.6; stroke-linejoin: round; }
.map__b--manhattan { fill: var(--b-manhattan); }
.map__b--brooklyn { fill: var(--b-brooklyn); }
.map__b--queens { fill: var(--b-queens); }
.map__b--bronx { fill: var(--b-bronx); }
.map__b--staten-island { fill: var(--b-staten-island); }
.map__dots circle { fill: var(--cream); stroke: var(--ink); stroke-width: 3; }
.map a { cursor: pointer; }
.map a:hover .map__b { stroke-width: 5; filter: saturate(1.15) brightness(1.06); }
.map a:focus { outline: none; }
.map a:focus-visible .map__b { stroke-width: 7; }
.citymap .sun { left: -2%; top: 0; width: 34%; min-width: 84px; }
.citymap figcaption { font-size: .875rem; color: var(--ink-2); }
.legend { display: grid; grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr)); gap: 2px 14px; padding: 0; list-style: none; }
.legend a { display: flex; align-items: center; gap: 10px; min-height: var(--tap); color: var(--ink); font-weight: 700; text-decoration: none; }
.legend a:hover .legend__name { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .2em; }
.legend__sw { flex: none; width: 18px; height: 18px; border: 2px solid var(--ink); border-radius: 50%; background: var(--b); }
.legend b { margin-left: auto; font-variant-numeric: tabular-nums; }
@media (max-width: 959px) {
  .hhero .citymap { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 16px; }
  .hhero .legend { grid-template-columns: 1fr; }
  .hhero .legend a { min-height: var(--tap); font-size: .9375rem; }
}

/* ---------- the control band (day pills + borough chips) ---------- */
.band { padding-block: 18px 20px; background: var(--sun); border-block: 3px solid var(--ink); }
.band__row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; align-items: center; }
.band__row + .band__row { margin-top: 14px; }
.band__label { font-weight: 800; font-size: 1rem; }
@media (min-width: 900px) { .band__row { grid-template-columns: 8.5rem minmax(0, 1fr); gap: 16px; } }
.pills { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.pill { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 64px; padding: 6px 8px; border: 2px solid var(--ink); border-radius: 999px; background: var(--cream); color: var(--ink); text-align: center; text-decoration: none; cursor: pointer; }
.pill:hover { background: var(--paper); color: var(--ink); }
.pill__d { font-family: var(--display); font-size: 1.625rem; line-height: 1; text-transform: uppercase; }
.pill__s { display: flex; align-items: center; gap: 8px; font-size: .875rem; font-weight: 600; line-height: 1.1; white-space: nowrap; }
.pill__n { display: inline-block; padding: 2px 8px 3px; border-radius: 999px; background: var(--sun-wash); color: var(--ink); font-weight: 600; font-size: .8125rem; }
.pill__n b { font-weight: 800; }
.pill__date, .pill__u { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pill[aria-pressed="true"] { background: var(--ink); color: var(--cream); }
.pill[aria-pressed="true"] .pill__n { background: var(--sun); }
@media (min-width: 640px) {
  .pills { display: flex; flex-wrap: wrap; gap: 10px; }
  .pill { flex-direction: row; align-items: baseline; gap: 12px; min-height: 60px; padding: 10px 24px; }
  .pill__d { font-size: 1.875rem; }
  .pill__s { font-size: .9375rem; }
  .pill__date, .pill__u { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
}
.pills--sm { position: relative; display: flex; flex-wrap: nowrap; gap: 8px; margin-inline: calc(-1 * var(--gut)); padding: 2px var(--gut) 6px; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: var(--gut); scrollbar-width: thin; }
.pills--sm .pill { flex: none; flex-direction: row; align-items: baseline; gap: 8px; min-height: var(--tap); padding: 6px 14px; scroll-snap-align: start; }
.pills--sm .pill__d { font-size: 1.25rem; }
.pills--sm .pill__date { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
@media (min-width: 900px) { .pills--sm { flex-wrap: wrap; margin-inline: 0; padding: 0; overflow: visible; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chipb { display: inline-flex; align-items: center; gap: 8px; min-height: var(--tap); padding: 0 15px 0 11px; border: 2px solid var(--ink); border-radius: 999px; background: var(--cream); color: var(--ink); font-weight: 700; font-size: .9375rem; text-decoration: none; cursor: pointer; }
.chipb:hover { background: var(--paper); color: var(--ink); }
.chipb b { font-weight: 500; font-variant-numeric: tabular-nums; }
.chipb__dot { flex: none; width: 16px; height: 16px; border: 2px solid var(--ink); border-radius: 50%; background: var(--b, var(--paper)); }
.chipb--all .chipb__dot { background: conic-gradient(var(--b-manhattan) 0 20%, var(--b-brooklyn) 0 40%, var(--b-queens) 0 60%, var(--b-bronx) 0 80%, var(--b-staten-island) 0); }
.chipb--kids .chipb__dot { background: var(--green); }
.chipb[aria-pressed="true"] { background: var(--b, var(--ink)); box-shadow: inset 0 0 0 2px var(--ink); }
.chipb--all[aria-pressed="true"], .chipb--kids[aria-pressed="true"] { background: var(--ink); color: var(--cream); }
.chipb--all[aria-pressed="true"] .chipb__dot, .chipb--kids[aria-pressed="true"] .chipb__dot { border-color: var(--cream); }
.band__status { margin-top: 14px; font-size: .9375rem; font-weight: 500; }

/* ---------- day groups ---------- */
.evlist { padding-block: 8px 0; }
.evlist__in { padding-top: 10px; }
.evlist__in > .day:first-child:not(:has(.dayhd)) { padding-top: 18px; }
.day { scroll-margin-top: 12px; }
.day + .day { margin-top: 44px; }
.dayhd { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 18px; padding: 16px 0 10px; border-bottom: 3px solid var(--ink); background: var(--cream); }
.dayhd[data-sticky] { position: sticky; top: 0; z-index: 6; }
.dayhd__t { font-family: var(--display); font-weight: 400; font-size: clamp(1.875rem, 1.4rem + 1.9vw, 3rem); line-height: 1; text-transform: uppercase; }
.dayhd__md { color: var(--green); }
.dayhd__n { flex: none; margin-bottom: 4px; padding: 5px 12px; border-radius: 999px; background: var(--ink); color: var(--cream); font-weight: 600; font-size: .9375rem; }
.evlist__none { padding: 28px 0; font-size: 1.125rem; }
.evlist__none button { min-height: var(--tap); padding: 0 18px; margin-left: 6px; border: 2px solid var(--ink); border-radius: 999px; background: var(--paper); font: 800 1rem var(--sans); cursor: pointer; }

/* ---------- the ticket stub ---------- */
.tks { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 31rem), 1fr)); gap: 14px 18px; padding: 0; list-style: none; }
.tk { --stub: 6rem; --nr: 9px; position: relative; min-width: 0; border-radius: 14px; }
.tk__a {
  position: relative; display: grid; grid-template-columns: var(--stub) minmax(0, 1fr); height: 100%; min-height: 104px;
  border: 2px solid var(--ink); border-radius: 12px; background: var(--paper); color: var(--ink); text-decoration: none;
  /* two half-circle notches punched where the stub tears off */
  -webkit-mask:
    radial-gradient(circle at calc(var(--stub) + 2px) 0, #0000 var(--nr), #000 calc(var(--nr) + .5px)) top / 100% 51% no-repeat,
    radial-gradient(circle at calc(var(--stub) + 2px) 100%, #0000 var(--nr), #000 calc(var(--nr) + .5px)) bottom / 100% 51% no-repeat;
  mask:
    radial-gradient(circle at calc(var(--stub) + 2px) 0, #0000 var(--nr), #000 calc(var(--nr) + .5px)) top / 100% 51% no-repeat,
    radial-gradient(circle at calc(var(--stub) + 2px) 100%, #0000 var(--nr), #000 calc(var(--nr) + .5px)) bottom / 100% 51% no-repeat;
}
.tk__a:hover { color: var(--ink); }
/* ink rims around the notches */
.tk__a::before, .tk__a::after { content: ""; position: absolute; z-index: 2; left: calc(var(--stub) - var(--nr) - 2.5px); width: calc(2 * var(--nr) + 5px); aspect-ratio: 1; border: 2.5px solid var(--ink); border-radius: 50%; pointer-events: none; }
.tk__a::before { top: calc(-2px - var(--nr) - 2.5px); }
.tk__a::after { bottom: calc(-2px - var(--nr) - 2.5px); }
.tk__stub { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 1px; padding: 14px 8px 14px 13px; border-radius: 10px 0 0 10px; background: var(--b); }
/* the perforation: a dashed tear line between the notches */
.tk__stub::after { content: ""; position: absolute; top: calc(var(--nr) + 5px); bottom: calc(var(--nr) + 5px); right: -1px; width: 2px; background: linear-gradient(var(--ink) 55%, transparent 0) 0 0 / 2px 8px repeat-y; }
.tk__dow { font-weight: 800; font-size: .8125rem; line-height: 1.2; }
.tk__time { font-family: var(--display); font-size: 1.875rem; line-height: 1.02; letter-spacing: .01em; font-variant-numeric: tabular-nums; }
.tk__time--word { font-size: 1.5rem; }
.tk__ap { font-weight: 800; font-size: .8125rem; line-height: 1.2; }
.tk__until { font-weight: 600; font-size: .75rem; line-height: 1.25; }
.tk__body { display: flex; flex-direction: column; gap: 5px; min-width: 0; padding: 14px 46px 14px 20px; }
.tk__title { font-weight: 700; font-size: 1.125rem; line-height: 1.22; overflow-wrap: anywhere; text-wrap: pretty; }
.tk__where { color: var(--ink-2); font-size: .9375rem; line-height: 1.35; overflow-wrap: anywhere; }
.tk__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 6px; }
.tk__go { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 30px; height: 30px; border: 2px solid var(--ink); border-radius: 50%; background: var(--cream); }
.tk__go .arr { width: 14px; height: 14px; }
.tk__a:hover .tk__title { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .18em; }
.tk__a:hover .tk__go { background: var(--green); color: var(--cream); }
.tk:hover { filter: drop-shadow(5px 5px 0 var(--ink)); }
.tk__a:focus-visible { outline: none; }
.tk:has(.tk__a:focus-visible) { outline: 3px solid var(--green); outline-offset: 4px; }
@supports not selector(:has(*)) { .tk:focus-within { outline: 3px solid var(--green); outline-offset: 4px; } }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border: 1.5px solid var(--ink); border-radius: 999px; background: var(--cream); font-weight: 700; font-size: .8125rem; line-height: 1.2; }
.tag--b::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--b); box-shadow: 0 0 0 1.5px var(--ink); }
.tag--kids { background: var(--sun-wash); }
.tag--free { border-color: var(--green); background: var(--green-wash); color: #0A5432; }
@media (max-width: 420px) {
  .tk { --stub: 5.5rem; }
  .tk__stub { padding-inline: 11px 6px; }
  .tk__time { font-size: 1.75rem; }
  .tk__body { padding: 13px 50px 13px 16px; }
  .tk__title { font-size: 1.0625rem; }
}

/* ---------- section heads ---------- */
.sec { padding-block: 48px; }
@media (min-width: 768px) { .sec { padding-block: 72px; } }
.sec--tight { padding-top: 28px; }
.sec + .sec--rule { border-top: 3px solid var(--ink); }
.sechd { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 32px; margin-bottom: 26px; }
.sechd__t { font-family: var(--display); font-weight: 400; font-size: clamp(2.125rem, 1.5rem + 2.7vw, 4rem); line-height: .95; text-transform: uppercase; text-wrap: balance; }
.sechd__t .n { color: var(--green); }
.sechd p { max-width: 34em; color: var(--ink-2); }

.sec--list { padding-top: 40px; }
@media (min-width: 768px) { .sec--list { padding-top: 56px; } }
.sec--flush, .sec--list.sec--flush { padding-top: 0; }
.sec--rule { border-top: 3px solid var(--ink); }
.phero + .sec--flush .band { border-top: 0; }
.day__sub { margin: 0 0 10px; font-weight: 800; }
.day__sub + .tks + .tks { margin-top: 14px; }
.sec--list .sechd { margin-bottom: 22px; }
.sec--list .pager { margin-inline: 0; }

/* ---------- boroughs hub ---------- */
.bhub { display: grid; gap: 28px; }
.citymap--hub .map__b { stroke-width: 3; }
@media (min-width: 960px) {
  .bhub { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: start; gap: 40px; }
  .bhub .btiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bhub .btiles li:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
.phero__logo .logo { width: clamp(150px, 17vw, 220px); height: auto; transform: rotate(4deg); }
@media (max-width: 899px) { .phero__logo { display: none; } }

/* ---------- borough tiles ---------- */
.btiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 0; list-style: none; }
.btiles li:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (min-width: 900px) { .btiles { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; } .btiles li:last-child:nth-child(odd) { grid-column: auto; } }
.btile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 200px; padding: 16px; overflow: hidden; border: 2px solid var(--ink); border-radius: 16px; background: var(--b); color: var(--ink); text-decoration: none; isolation: isolate; }
.btile:hover { color: var(--ink); }
.btile .shape { position: absolute; z-index: -1; top: 10px; right: 10px; width: 62%; max-width: 150px; }
.btile .shape path { fill: rgba(18, 18, 18, .17); }
.btile__name { font-family: var(--display); font-size: clamp(1.625rem, 1.3rem + 1vw, 2.125rem); line-height: .95; text-transform: uppercase; }
.btile__big { margin-top: 8px; font-weight: 600; font-size: 1rem; line-height: 1.25; }
.btile__big b { font-weight: 800; }
.btile__sub { margin-top: 2px; font-size: .875rem; font-weight: 500; }
.btile:hover .btile__name { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: .12em; }

/* ---------- date chips ---------- */
.dstrip { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; padding: 0; list-style: none; }
.dchip { display: grid; justify-items: center; gap: 3px; min-height: var(--tap); padding: 10px 2px 11px; border: 2px solid var(--ink); border-radius: 12px; background: var(--paper); color: var(--ink); text-align: center; text-decoration: none; }
a.dchip:hover { background: var(--sun-wash); color: var(--ink); }
.dchip.is-wknd { background: var(--sun); }
a.dchip.is-wknd:hover { background: var(--sun-wash); }
.dchip.is-today { background: var(--ink); color: var(--cream); }
.dchip.is-empty { border-style: dashed; opacity: .75; }
.dchip__dow { font-weight: 800; font-size: .8125rem; line-height: 1; }
.dchip__n { font-family: var(--display); font-size: clamp(1.5rem, 1.15rem + 1.4vw, 2.375rem); line-height: 1; }
.dchip__c { font-size: .8125rem; font-weight: 600; line-height: 1.1; }
.dchip__c b { font-weight: 800; }
@media (max-width: 560px) { .dstrip { gap: 5px; } .dchip { border-radius: 10px; } .dchip__u { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }
.dweeks { display: grid; gap: 10px; }
.dweeks__lbl { font-weight: 800; }

/* ---------- days hub: date tickets ---------- */
.tk--date .tk__stub { align-items: center; text-align: center; padding-inline: 8px; }
.tk--date .tk__time { font-size: 2.5rem; }
.tk--date .tk__body { padding-right: 20px; justify-content: center; }
.tk--date .tk__title { font-size: 1.25rem; }


/* ---------- steps (three taped flyers) ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: 30px 22px; padding: 14px 0 0; list-style: none; }
.step { position: relative; padding: 30px 22px 24px; border: 2px solid var(--ink); border-radius: 4px; background: var(--paper); }
.step::before { content: ""; position: absolute; top: -13px; left: 50%; width: 104px; height: 26px; background: rgba(255, 176, 0, .78); transform: translateX(-50%) rotate(-3deg); }
.step:nth-child(2)::before { transform: translateX(-50%) rotate(2.5deg); }
.step:nth-child(3)::before { transform: translateX(-50%) rotate(-1.5deg); }
.step h3 { margin-bottom: 10px; font-family: var(--display); font-weight: 400; font-size: 1.875rem; line-height: 1; text-transform: uppercase; }
.step p { color: var(--ink-2); }

/* ---------- kinds of events ---------- */
.ktiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); gap: 12px; padding: 0; list-style: none; }
.ktile { display: flex; flex-direction: column; gap: 4px; height: 100%; min-height: 156px; padding: 18px 20px; border: 2px solid var(--ink); border-radius: 16px; background: var(--paper); color: var(--ink); text-decoration: none; }
.ktile:hover { background: var(--sun-wash); color: var(--ink); }
.ktile__name { font-family: var(--display); font-size: 2rem; line-height: 1; text-transform: uppercase; }
.ktile__big { margin-top: auto; font-weight: 600; }
.ktile__big b { font-family: var(--display); font-weight: 400; font-size: 2.25rem; line-height: 1; color: var(--green); margin-right: 6px; }
.ktile__sub { font-size: .9375rem; color: var(--ink-2); }

/* ---------- inner page hero ---------- */
.phero { padding-block: 22px 40px; border-bottom: 3px solid var(--ink); }
.phero__in { display: grid; gap: 28px; }
@media (min-width: 900px) { .phero { padding-block: 34px 56px; } .phero__in { grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 48px; } }
.phero .poster { font-size: clamp(2.5rem, 1.6rem + 4.1vw, 5.5rem); }
.phero__art { position: relative; }
.phero__art .shape { width: clamp(150px, 30vw, 300px); }
.phero__art .shape path { fill: var(--b); stroke: var(--ink); stroke-width: 3px; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.phero__art--sun { position: relative; width: clamp(130px, 22vw, 210px); aspect-ratio: 1; }
.phero__art--sun .sun { position: absolute; inset: 0; width: 100%; }
@media (max-width: 899px) { .phero__art { display: none; } }
.crumbs { margin-bottom: 10px; }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; padding: 0; list-style: none; font-size: .9375rem; font-weight: 600; }
.crumbs li { display: inline-flex; align-items: center; }
.crumbs li + li::before { content: "/"; margin-inline: 8px; color: var(--ink-2); }
.crumbs a { display: inline-flex; align-items: center; min-height: var(--tap); color: var(--ink); text-decoration-color: var(--green); }
.crumbs [aria-current] { color: var(--ink-2); }

/* the tear-off date on day pages */
.datetk { position: relative; display: grid; justify-items: center; width: 168px; padding: 18px 10px 20px; background: var(--sun); border: 2px solid var(--ink); border-radius: 14px; text-align: center; transform: rotate(3deg);
  -webkit-mask: radial-gradient(circle at 0 34%, #0000 11px, #000 11.5px) left / 51% 100% no-repeat, radial-gradient(circle at 100% 34%, #0000 11px, #000 11.5px) right / 51% 100% no-repeat;
  mask: radial-gradient(circle at 0 34%, #0000 11px, #000 11.5px) left / 51% 100% no-repeat, radial-gradient(circle at 100% 34%, #0000 11px, #000 11.5px) right / 51% 100% no-repeat; }
.datetk::after { content: ""; position: absolute; left: 18px; right: 18px; top: 34%; height: 2px; background: linear-gradient(90deg, var(--ink) 55%, transparent 0) 0 0 / 9px 2px repeat-x; }
.datetk__dow { font-family: var(--display); font-size: 2.25rem; line-height: 1; text-transform: uppercase; padding-bottom: 18px; }
.datetk__n { font-family: var(--display); font-size: 6rem; line-height: .95; margin-top: 10px; }
.datetk__mon { font-weight: 800; font-size: 1.125rem; }


/* ---------- pager ---------- */
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 48px; }
.pager__a { display: grid; gap: 4px; min-height: var(--tap); padding: 14px 18px; border: 2px solid var(--ink); border-radius: 14px; background: var(--paper); color: var(--ink); text-decoration: none; }
.pager__a:hover { background: var(--sun-wash); color: var(--ink); }
.pager__a small { color: var(--green); font-weight: 800; font-size: .875rem; }
.pager__a span { font-family: var(--display); font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); line-height: 1.05; text-transform: uppercase; }
.pager__a--next { text-align: right; }

/* ---------- prose ---------- */
.prose { max-width: 68ch; }
.prose h2 { margin: 44px 0 12px; font-family: var(--display); font-weight: 400; font-size: clamp(1.75rem, 1.35rem + 1.5vw, 2.5rem); line-height: 1; text-transform: uppercase; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-bottom: 16px; }
.prose .note { margin-top: 28px; padding: 18px 20px; border: 2px solid var(--ink); border-radius: 14px; background: var(--sun-wash); }

/* ---------- footer: green, with a torn top edge ---------- */
.foot { position: relative; margin-top: 24px; padding-block: 60px 36px; background: var(--green); color: var(--cream); }
.foot::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 12px; background: radial-gradient(circle at 50% 0, var(--cream) 7px, transparent 7.5px) 0 0 / 22px 12px repeat-x; }
.foot a { color: var(--cream); }
.foot a:hover { color: var(--sun-wash); }
.foot :focus-visible { outline-color: var(--cream); }
.foot__top { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 22px; }
.brand--foot .logo { height: 76px; }
.brand--foot .lg-tk { fill: var(--cream); }
.brand--foot .lg-top { fill: var(--green); }
.brand--foot .lg-btm { fill: var(--ink); }
.brand--foot .lg-tear { fill: var(--ink); }
.foot__say { max-width: 30em; font-size: 1.125rem; font-weight: 500; line-height: 1.45; }
.foot__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 26px; margin-top: 38px; padding-top: 30px; border-top: 2px solid var(--cream); }
.foot__col h2 { margin-bottom: 6px; font-family: var(--display); font-weight: 400; font-size: 1.5rem; line-height: 1; text-transform: uppercase; }
.foot__col ul { padding: 0; list-style: none; }
.foot__col li a { display: inline-flex; align-items: center; min-height: var(--tap); font-weight: 600; }
.foot__col p { max-width: 24em; padding-top: 8px; font-size: .9375rem; }
.foot__legal { display: grid; gap: 6px; margin-top: 34px; padding-top: 22px; border-top: 2px solid var(--cream); font-size: .875rem; line-height: 1.5; }
@media (max-width: 559px) { .foot__top { grid-template-columns: 1fr; } }

/* ---------- 404 ---------- */
.lost .poster { max-width: 12ch; }

/* ---------- motion, only for people who are fine with it ---------- */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .btn, .pill, .chipb, .btile, .ktile, .dchip, .pager__a { transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease; }
  .btn:hover, .btile:hover, .ktile:hover, a.dchip:hover, .pager__a:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--ink); }
  .tk { transition: transform .16s ease, filter .16s ease; }
  .tk:hover { transform: translate(-2px, -2px); }
  .hhero .sun { animation: slap .5s cubic-bezier(.2, 1.4, .4, 1) .15s both; }
  @keyframes slap { from { transform: rotate(-30deg) scale(.6); opacity: 0; } to { transform: rotate(-12deg) scale(1); opacity: 1; } }
}
@media (prefers-reduced-motion: reduce) {
  .btn:hover, .btile:hover, .ktile:hover, a.dchip:hover, .pager__a:hover { box-shadow: 4px 4px 0 var(--ink); }
}

@media print {
  .bstripe, .band, .menu, .nav, .foot::before, .sun { display: none !important; }
  .tk__a { -webkit-mask: none; mask: none; }
}
