/* Shared structure for every look. A look (sunday.css, zine.css, gallery.css) sets the variables below and
   dresses the same markup. Colours from the property's canon/site/site.toml arrive as --ink --paper --accent --b1..b5. */
:root {
  --ink: #1b1b1b; --paper: #fff; --accent: #d6336c;
  --muted: color-mix(in srgb, var(--ink) 60%, var(--paper));
  --line: color-mix(in srgb, var(--ink) 14%, var(--paper));
  --card: var(--paper);
  --stage: var(--paper);
  --max: 1180px;
  --radius: 10px;
  --display: Georgia, serif;
  --body: system-ui, sans-serif;
  --gap: clamp(16px, 3vw, 28px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.55 var(--body); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.skip { position: absolute; left: -999px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { left: 16px; top: 16px; background: var(--paper); padding: 8px 12px; z-index: 9; }
main, .masthead, .foot { width: 100%; max-width: var(--max); margin: 0 auto; padding-left: 16px; padding-right: 16px; }
main { padding-bottom: 48px; }

/* masthead */
.masthead { text-align: center; padding-top: 18px; }
.mast-rule { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--muted); }
.logo { display: inline-block; text-decoration: none; margin: 10px auto 4px; }
.logo-img { width: min(440px, 78vw); height: auto; margin: 0 auto; }
.wordmark { font-family: var(--display); font-size: clamp(44px, 9vw, 92px); line-height: 1; letter-spacing: -0.01em; }
.tagline { margin: 4px auto 10px; max-width: 46ch; color: var(--muted); }
.nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 22px; padding: 12px 0; }
.nav a { text-decoration: none; font-weight: 600; padding: 4px 2px; border-bottom: 2px solid transparent; }
.nav a[aria-current] { border-color: var(--accent); }

/* today / a strip */
.today { padding: var(--gap) 0; text-align: center; }
.kicker { text-transform: uppercase; letter-spacing: .14em; font-size: 13px; font-weight: 700; color: var(--accent); }
.strip-title { font-family: var(--display); font-size: clamp(30px, 5vw, 52px); line-height: 1.08; margin: 8px 0 10px; }
.meta { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 8px 14px; color: var(--muted); font-size: 15px; }
.chip { --c: var(--accent); text-decoration: none; font-weight: 700; font-size: 14px; color: #fff; background: var(--c); padding: 3px 12px; border-radius: 99px; }
.strip { margin: var(--gap) auto 12px; background: var(--stage); }
.strip img { width: 100%; height: auto; margin: 0 auto; }
.dek { max-width: 60ch; margin: 10px auto 0; font-size: 19px; }
.strip-nav { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.story-nav { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; }
.story-nav > span { font-weight: 700; color: var(--c); }
.btn { display: inline-block; text-decoration: none; font-weight: 700; padding: 9px 16px; border: 2px solid var(--ink); border-radius: var(--radius); background: var(--paper); }
.btn.ghost { border-color: var(--line); }
.btn.off { opacity: .32; cursor: default; }
.btn.big { font-size: 19px; padding: 13px 24px; }
.note { color: var(--muted); }
.read { max-width: 70ch; margin: 28px auto 0; text-align: left; }
.read summary { cursor: pointer; font-weight: 700; }

/* sections */
.section-head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin: calc(var(--gap) * 1.6) 0 16px; }
.section-head h2 { font-family: var(--display); font-size: clamp(26px, 4vw, 38px); margin: 0; }
.section-head > a { margin-left: auto; font-weight: 700; text-decoration: none; }
.badge { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; background: var(--accent); color: #fff; padding: 3px 10px; border-radius: 99px; }
.badge.big { font-size: 14px; padding: 7px 14px; }
.page-head { text-align: center; padding: var(--gap) 0 8px; }
.page-head h1 { font-family: var(--display); font-size: clamp(34px, 6vw, 60px); line-height: 1.05; margin: 8px 0; }
.lede { max-width: 58ch; margin: 0 auto; font-size: 19px; color: var(--muted); }

/* stories */
.theme-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: var(--gap); }
.theme-grid.wide { margin-top: var(--gap); }
.theme-card { --c: var(--accent); display: flex; flex-direction: column; gap: 4px; text-decoration: none; background: var(--card); }
.cover { display: grid; place-items: center; aspect-ratio: 16 / 9; overflow: hidden; background: color-mix(in srgb, var(--c) 18%, var(--paper)); }
.cover img { width: 100%; height: 100%; object-fit: cover; object-position: left center; }
.cover-letter { font-family: var(--display); font-size: 72px; color: var(--c); line-height: 1; }
.theme-name { font-family: var(--display); font-size: 24px; line-height: 1.15; margin-top: 8px; }
.theme-count { font-size: 14px; color: var(--muted); }
.theme-blurb { font-size: 15px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: var(--gap); margin-top: var(--gap); }
.tile { position: relative; display: flex; flex-direction: column; gap: 6px; text-decoration: none; }
.tile img { aspect-ratio: 3 / 1; object-fit: cover; object-position: left center; width: 100%; }
.tile .n { font-family: var(--display); font-size: 30px; color: var(--c); line-height: 1; }
.tile .t { font-weight: 700; }
.tile time { font-size: 13px; color: var(--muted); }
.tile.soon { min-height: 130px; justify-content: space-between; border: 2px dashed color-mix(in srgb, var(--c) 45%, var(--paper)); padding: 14px; color: var(--muted); }

/* shop */
.shirt-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: var(--gap); }
.shirt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: calc(var(--gap) * 1.2); margin-top: var(--gap); }
.shirt { display: flex; flex-direction: column; gap: 6px; text-decoration: none; }
.shirt-pics { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: var(--card); }
.shirt-pics .pic { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .45s ease, transform .6s ease; }
.shirt-pics .pic:not(.p0) { opacity: 0; }
.shirt:hover .shirt-pics.n2 .p0, .shirt:hover .shirt-pics.n3 .p0 { opacity: 0; }
.shirt:hover .shirt-pics .p1 { opacity: 1; }
.shirt:hover .shirt-pics .pic { transform: scale(1.04); }
.shirt-name { font-weight: 800; font-size: 18px; }
.shirt-meta { display: flex; justify-content: space-between; align-items: center; }
.dots { display: flex; gap: 6px; }
.dots i { width: 14px; height: 14px; border-radius: 50%; background: var(--s); box-shadow: inset 0 0 0 1px rgba(0,0,0,.2); }
.price { font-weight: 700; }
.shop-hero { text-align: center; padding: calc(var(--gap) * 1.4) 0 var(--gap); }
.shop-hero h1 { font-family: var(--display); font-size: clamp(44px, 9vw, 104px); line-height: .95; margin: 10px 0 14px; }
.hero-actions { display: flex; justify-content: center; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 22px; }
.ribbon { overflow: hidden; white-space: nowrap; padding: 10px 0; margin: 0 -16px; background: var(--ink); color: var(--paper); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: 14px; }
.ribbon div { display: inline-block; animation: slide 38s linear infinite; }
@keyframes slide { to { transform: translateX(-33.33%); } }
@media (prefers-reduced-motion: reduce) { .ribbon div { animation: none; } .shirt-pics .pic { transition: none; } }

/* about */
.prose { max-width: 66ch; margin: 0 auto; font-size: 19px; }
.about-art { margin: 0 auto calc(var(--gap) * 1.2); max-width: min(520px, 100%); }
.about-art img { width: 100%; height: auto; }
.prose h2, .prose h3 { font-family: var(--display); }

/* footer */
.foot { border-top: 1px solid var(--line); padding-top: 22px; padding-bottom: 40px; display: grid; gap: 8px; text-align: center; }
.foot-name { font-family: var(--display); font-size: 22px; }
.foot-name span { font-family: var(--body); font-size: 15px; color: var(--muted); }
.foot-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 20px; font-weight: 600; }
.foot-small { font-size: 13px; color: var(--muted); }

@media (max-width: 640px) {
  body { font-size: 16px; }
  .strip-nav { justify-content: center; }
  .section-head > a { margin-left: 0; }
  .mast-rule .issue { display: none; }
  .mast-rule { justify-content: center; }
}
@media (max-width: 640px) {
  .strip { max-width: 520px; }
  .tile.soon { min-height: 84px; }
}
@media (max-width: 640px) {
  .strip-nav { display: grid; grid-template-columns: 1fr 1fr; }
  .strip-nav > :nth-child(1) { justify-self: start; }
  .strip-nav > :nth-child(3) { justify-self: end; }
  .strip-nav > :nth-child(2) { grid-column: 1 / -1; order: 3; justify-self: center; }
}
.wordmark .w { display: inline-block; white-space: nowrap; }

/* follow links */
.follow { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px 12px; margin: 16px 0 4px; }
.follow-label { font-weight: 700; font-size: 15px; }
.soc-row { display: inline-flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.soc { position: relative; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  border: 2px solid var(--ink); color: var(--ink); background: var(--paper); text-decoration: none; transition: transform .15s, background .15s; }
.soc svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.soc:hover { transform: translateY(-2px); background: var(--accent); color: #fff; border-color: var(--accent); }
.soc.soon::after { content: "soon"; position: absolute; bottom: -7px; right: -8px; font-size: 9px; font-weight: 800; letter-spacing: .04em;
  text-transform: uppercase; background: var(--accent); color: #fff; padding: 1px 4px; border-radius: 6px; opacity: 0; transition: opacity .2s; }
.soc.soon:hover::after, .soc.soon.said::after { opacity: 1; }
.follow.in-head { margin: 0 0 12px; }
.follow.in-head .soc { width: 32px; height: 32px; border-width: 1.5px; }
.follow.in-head .soc svg { width: 16px; height: 16px; }

/* mailing list */
.signup { display: grid; gap: 10px 24px; align-items: center; margin: calc(var(--gap) * 1.4) 0 0; padding: 18px; border: 2px solid var(--ink); border-radius: var(--radius); background: var(--card); }
.signup.big { grid-template-columns: 1fr minmax(0, 1.1fr); padding: clamp(18px, 3vw, 32px); }
.signup h2 { font-family: var(--display); font-size: clamp(24px, 3.4vw, 34px); margin: 0 0 4px; line-height: 1.1; }
.signup p { margin: 0; color: var(--muted); }
.signup-form { display: flex; flex-wrap: wrap; gap: 8px; }
.signup-form input[type=email] { flex: 1 1 200px; min-width: 0; font: inherit; padding: 10px 14px; border: 2px solid var(--ink); border-radius: var(--radius); background: var(--paper); color: var(--ink); }
.signup-form .btn { background: var(--accent); color: #fff; border-color: var(--accent); cursor: pointer; font: inherit; font-weight: 700; }
.signup-form .btn:disabled { opacity: .6; }
.signup-msg { flex-basis: 100%; min-height: 1.2em; font-weight: 600; color: var(--ink) !important; }
.signup-form.done input[type=email] { border-color: var(--accent); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.foot .signup { text-align: left; margin: 0 0 8px; }
@media (max-width: 760px) { .signup.big { grid-template-columns: 1fr; } }

/* thumbs: every link and button at least 44px tall on a phone or touch screen */
@media (max-width: 640px), (pointer: coarse) {
  .nav a, .foot-links a, .section-head > a, .story-nav .btn, .strip-nav .btn { display: inline-flex; align-items: center; min-height: 44px; }
  .chip { display: inline-flex; align-items: center; min-height: 40px; }
  .foot-links { gap: 0 22px; }
  .follow.in-head .soc, .soc { width: 44px; height: 44px; }
  .follow.in-head .soc svg, .soc svg { width: 20px; height: 20px; }
  .signup-form input[type=email], .signup-form .btn { min-height: 48px; }
  .read summary { padding: 10px 0; }
}

/* the reader: the whole strip, then each panel full size. The track slides by transform (see SCRIPT). */
.reader { position: relative; }
.reader-view { position: relative; overflow: hidden; outline: none; touch-action: pan-y; transition: height .4s cubic-bezier(.2, .75, .25, 1); }
.reader-view:focus-visible { box-shadow: 0 0 0 3px var(--accent); }
.reader-track { display: flex; align-items: flex-start; will-change: transform; transition: transform .45s cubic-bezier(.2, .75, .25, 1); }
.slide { flex: 0 0 100%; min-width: 0; display: flex; justify-content: center; user-select: none; -webkit-user-select: none; }
/* without JavaScript the reader is a plain sideways scroller */
.reader:not(.ready) .reader-view { overflow-x: auto; }
.whole-btn { all: unset; display: block; width: 100%; cursor: zoom-in; -webkit-tap-highlight-color: transparent; }
.whole-btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.slide img { -webkit-user-drag: none; pointer-events: none; }
.slide.panel img { width: auto; max-width: 100%; max-height: min(78vh, 900px); margin: 0 auto; opacity: .4; transition: opacity .4s; }
.slide.panel.active img { opacity: 1; }
.reader.ready .slide.panel { cursor: pointer; }
.rd { position: absolute; top: 50%; translate: 0 -50%; z-index: 2; width: 46px; height: 46px; border-radius: 50%; border: 0;
  display: grid; place-items: center; font: 400 30px/1 system-ui, sans-serif; padding-bottom: 3px; color: var(--ink); cursor: pointer;
  background: color-mix(in srgb, var(--paper) 90%, transparent); box-shadow: 0 2px 12px rgba(0, 0, 0, .18);
  opacity: 0; transition: opacity .25s, transform .2s; }
.rd[hidden] { display: none; }
.rd-prev { left: 12px; } .rd-next { right: 12px; }
.reader:hover .rd, .rd:focus-visible { opacity: 1; }
.rd:hover { transform: scale(1.06); }
.reader:not(.reading) .rd-next { opacity: .9; }
@media (hover: none) { .rd { display: none; } }
.reader-foot { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-top: 14px; }
.dots { display: flex; align-items: center; gap: 10px; }
.dot { position: relative; width: 8px; height: 8px; padding: 0; border: 0; border-radius: 99px; cursor: pointer;
  background: color-mix(in srgb, var(--ink) 24%, transparent); transition: width .35s cubic-bezier(.2, .75, .25, 1), background .3s; }
.dot::before { content: ""; position: absolute; inset: -14px -6px; }
.dot:first-child { border-radius: 2px; }
.dot.on { width: 28px; background: var(--accent); }
.dot:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.reader-hint { font-size: 13px; color: var(--muted); letter-spacing: .02em; }
@media (prefers-reduced-motion: reduce) { .reader-view, .reader-track, .slide.panel img, .dot { transition: none; } }

/* read it / watch it */
.formats-wrap { margin-top: 8px; }
.formats { display: inline-flex; gap: 4px; padding: 4px; margin: 12px auto 0; border-radius: 99px;
  background: color-mix(in srgb, var(--ink) 7%, transparent); }
.formats button { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 16px; border: 0; border-radius: 99px;
  background: transparent; color: var(--muted); font: inherit; font-weight: 700; font-size: 14px; cursor: pointer; transition: background .2s, color .2s; }
.formats button svg { width: 16px; height: 16px; fill: currentColor; }
.formats button[aria-selected="true"] { background: var(--paper); color: var(--ink); box-shadow: 0 1px 5px rgba(0, 0, 0, .14); }
.watch video { display: block; margin: var(--gap) auto 0; height: min(78vh, 760px); max-width: 100%; aspect-ratio: 9 / 16;
  background: #111; border-radius: 14px; box-shadow: 0 10px 30px rgba(0, 0, 0, .18); }
.watch .note { text-align: center; font-size: 13px; color: var(--muted); margin: 10px 0 0; }
@media (max-width: 640px) { .formats button { padding: 0 12px; font-size: 13px; } .watch video { height: auto; width: 100%; } }

/* her masthead drawing in place of the logo (looks with a hero: Style.hero) */
.logo[class*="hero-"] { display: block; max-width: 980px; margin: 14px auto 6px; }
.masthead-img { width: 100%; height: auto; }
.stack { position: relative; display: block; width: 100%; }
.stack .ly { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; }
.definition { max-width: 62ch; margin: 4px auto 12px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.definition b { font-weight: 700; color: var(--ink); }
.definition cite { white-space: nowrap; }
.definition cite::before { content: "— "; }

/* Pop Overlay: The Bay's topper on loud colour. Her funniest lines run in bands that slide across the page in
   opposite directions as you scroll (pop.js), her objects are small stickers, the topper's pieces fall down the page
   as you scroll, the stories ride a swipeable rail, and phones get a tab bar at thumb's reach. Colours are the
   letters of her logo. Show, don't tell: over a strip only the date (`spare` in website.py). */
:root:root {
  --g1: #d23b6e; --g2: #c9f23d; --g3: #ff6a5f; --g4: #ffcb0b; --g5: #2ec6cb; --g6: #9ccc96; --g7: #c86ad2;
  --top: #8a5cd0;   /* the header: medium purple (Pear's pick over the fuchsia) */
  --paper: #fff8ec;
  --card: #ffffff;
  --stage: #ffffff;
  --ink: #141414;
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --body: "Bricolage Grotesque", system-ui, sans-serif;
  --radius: 18px;
  --max: 1160px;
}
body { background: var(--paper); font-variation-settings: "opsz" 14; }
.masthead { max-width: none; padding: 12px 16px 18px; background: var(--top); }   /* one solid colour (Pear) */
.masthead > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.mast-rule { color: #fff; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.logo.hero-layers, .logo.hero-art { background: #fff; border: 4px solid var(--ink); border-radius: 22px; padding: clamp(6px, 1.4vw, 16px);
  box-shadow: 10px 10px 0 var(--ink); transform: rotate(-1.2deg); margin-bottom: 26px; }
.definition { color: #fff; font-size: 15px; }
.definition b { color: var(--g4); }
.tagline { color: #fff; font-weight: 700; }
.nav { gap: 10px; }
.nav a { font-weight: 800; font-size: 16px; color: var(--ink); background: #fff; border: 3px solid var(--ink); border-radius: 99px;
  padding: 7px 18px; box-shadow: 4px 4px 0 var(--ink); transition: transform .12s, box-shadow .12s; }
.nav a:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.nav a[aria-current] { background: var(--g4); border-color: var(--ink); }
.nav a:nth-child(3):not([aria-current]) { background: var(--g2); }   /* the shop stands out */
.nav a:nth-child(3)::before { content: "★ "; color: var(--g1); }
.masthead .soc { border-color: #fff; color: #fff; background: transparent; }

.kicker { display: inline-block; background: var(--ink); color: var(--g2); padding: 4px 12px; border-radius: 6px; letter-spacing: .14em; }
.strip-title, .page-head h1, .section-head h2, .shop-hero h1 { font-weight: 800; letter-spacing: -.03em; font-variation-settings: "opsz" 96; }
.strip-title { font-size: clamp(34px, 6.5vw, 76px); line-height: .95; }
.strip { background: #fff; border: 4px solid var(--ink); border-radius: 20px; padding: clamp(6px, 1.2vw, 14px); box-shadow: 12px 12px 0 var(--g5); }
.btn { border: 3px solid var(--ink); border-radius: 99px; font-weight: 800; box-shadow: 4px 4px 0 var(--ink); }
.btn:not(.off):hover { background: var(--g2); }
.chip { color: var(--ink); border: 3px solid var(--ink); font-weight: 800; }
.section-head h2 { font-size: clamp(36px, 6vw, 64px); }
.section-head > .btn.more { font-size: 18px; padding: 10px 22px; background: var(--g4); text-decoration: none; }
.section-head > .btn.more:hover { background: var(--g2); }
.today .meta { font-weight: 800; color: var(--ink); font-size: 17px; margin-top: 10px; }
.page-today .shop-teaser { margin-top: 10px; }

/* the stories ride a rail you swipe */
.theme-grid { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 14px 6px 26px; margin: 0 -16px;
  padding-left: 16px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.theme-grid::-webkit-scrollbar { display: none; }
.theme-card { flex: 0 0 min(76vw, 320px); scroll-snap-align: center; border: 4px solid var(--ink); border-radius: 22px; padding: 10px 10px 16px;
  background: var(--card); box-shadow: 8px 8px 0 var(--c); transition: transform .2s; }
.theme-card:nth-child(odd) { transform: rotate(-1.6deg); } .theme-card:nth-child(even) { transform: rotate(1.4deg) translateY(10px); }
.theme-card:hover { transform: rotate(0) translateY(-6px); }
.cover { border-radius: 14px; border: 3px solid var(--ink); }
.theme-name { font-weight: 800; font-size: 26px; letter-spacing: -.02em; }
.theme-grid.wide { display: grid; overflow: visible; margin: var(--gap) 0 0; padding: 0; }
.theme-grid.wide .theme-card { transform: none; }
.tile, .shirt { border: 3px solid var(--ink); border-radius: 18px; padding: 10px; background: var(--card); box-shadow: 6px 6px 0 var(--ink); }
.about-art img { background: #fff; border: 4px solid var(--ink); border-radius: 20px; padding: 10px; box-shadow: 10px 10px 0 var(--g4); transform: rotate(-1deg); }
.signup { border: 4px solid var(--ink); border-radius: 26px; background: var(--g2); box-shadow: 10px 10px 0 var(--ink); }
.signup-form input[type=email] { border: 3px solid var(--ink); border-radius: 99px; }
.signup-form .btn { background: var(--g1); color: #fff; border: 3px solid var(--ink); }
.ribbon { background: var(--g4); color: var(--ink); border-top: 4px solid var(--ink); border-bottom: 4px solid var(--ink); }
.dot.on { background: var(--g1); }
.foot { border-top: 4px solid var(--ink); }

/* the quote bands (pop.js) */
.band { position: relative; margin: clamp(30px, 6vw, 70px) -16px; padding: 14px 0; overflow: hidden; transform: rotate(-2.5deg); pointer-events: none; }
.band.alt { transform: rotate(2deg); }
.band-row { display: flex; gap: .6em; white-space: nowrap; will-change: transform; font: 800 clamp(24px, 3.4vw, 46px)/1.1 var(--display);
  letter-spacing: -.04em; font-variation-settings: "opsz" 96; text-transform: uppercase; }
.band-row + .band-row { margin-top: .08em; }
.band-row span { flex: none; }
.band-row .fill { color: var(--ink); }
.band-row .hollow { color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.band-row .who { font-size: .5em; align-self: center; letter-spacing: .08em; padding: .3em .7em; border-radius: 99px; background: var(--ink); color: var(--g4); }
.band.c1 { background: var(--g4); } .band.c2 { background: var(--g5); } .band.c3 { background: var(--g2); } .band.c4 { background: var(--g7); }
.sticker { position: absolute; z-index: 3; width: var(--s); height: auto; max-width: none; pointer-events: none;
  filter: drop-shadow(0 0 0 #fff) drop-shadow(3px 0 0 #fff) drop-shadow(-3px 0 0 #fff) drop-shadow(0 3px 0 #fff) drop-shadow(0 -3px 0 #fff) drop-shadow(6px 8px 0 rgba(0,0,0,.25));
  transform: scale(0) rotate(var(--r)); transition: transform .5s cubic-bezier(.3, 1.6, .5, 1); }
.sticker.in { transform: scale(1) rotate(var(--r)); }
/* today's can stands beside the date, its foot clear of the strip (pop.js sets its top and a little parallax, --py,
   only ever upwards) */
.sticker.under { right: max(6px, calc(50% - 420px)); translate: 0 var(--py, 0px); }
/* the topper's pieces, falling down the margins (pop.js) */
.margins { position: fixed; inset: 0; pointer-events: none; z-index: -1; overflow: hidden; }
.margins img { position: absolute; top: 0; width: var(--s); height: auto; max-width: none; will-change: transform; }
.stack .ly { will-change: transform; }
@media (max-width: 900px) { .margins { display: none; } }
main > section { position: relative; }

/* phones: the tab bar at thumb's reach, the topper straight */
@media (max-width: 760px) {
  body { padding-bottom: 86px; }
  .masthead .nav { position: fixed; left: 10px; right: 10px; bottom: max(10px, env(safe-area-inset-bottom)); z-index: 50; margin: 0;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 6px; background: var(--ink); border-radius: 22px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .3); }
  .masthead .nav a { justify-content: center; box-shadow: none; border: 0; background: transparent; color: #fff; font-size: 14px; padding: 8px 4px; min-height: 48px; }
  .masthead .nav a[aria-current] { background: var(--g4); color: var(--ink); }
  .logo.hero-layers, .logo.hero-art { transform: none; box-shadow: 6px 6px 0 var(--ink); border-width: 3px; }
  .band-row { font-size: clamp(20px, 5.6vw, 28px); }
  .sticker.under { right: 6px; }
  .sticker:not(.under) { display: none; }   /* no room beside the words on a phone */
  .strip { box-shadow: 7px 7px 0 var(--g5); }
}
@media (prefers-reduced-motion: reduce) { .sticker { transition: none; transform: scale(1) rotate(var(--r)); } .theme-card { transition: none; } }
