/* Yinzider homepage — the sections that only exist on /.
   Requires yinzider.css first. Explorer chrome lives in styles.css. */

/* ---------- header + bridge artwork ---------------------------------- */
.site-header picture.scene{display:block;line-height:0}
.site-header .scene-art{width:100%;height:auto;aspect-ratio:1200/470;object-fit:contain;object-position:center}

/* ---------- event lead ------------------------------------------------- */
.event-lead{max-width:850px;margin-bottom:clamp(30px,4vw,48px)}
.event-lead h1{font-family:var(--display);font-size:clamp(38px,5.8vw,60px);line-height:1.02;
  letter-spacing:-.01em;font-weight:400;text-wrap:balance}
.event-lead h1 span{color:var(--kielbasa)}
.lede{font-size:19px;color:var(--ink-soft);max-width:52ch;margin-top:16px}
.filters{display:flex;align-items:center;gap:8px;flex-wrap:nowrap;max-width:520px;margin-top:22px;overflow-x:auto;
  scrollbar-width:none}
.filters::-webkit-scrollbar{display:none}
.event-filter-group{position:relative;min-width:0;flex:0 0 auto}
.event-filter-group:not(.is-expanded):after{content:"";position:absolute;right:15px;top:50%;width:7px;height:7px;
  border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:translateY(-70%) rotate(45deg);
  pointer-events:none;color:var(--ink-soft)}
.home-filter-pills{display:none;align-items:center;gap:6px;flex-wrap:nowrap}
.event-filter-group.is-expanded .home-filter-pills{display:flex}
.event-filter-group.is-expanded .home-filter-select{display:none}
.filters .f{min-height:44px;white-space:nowrap;font-size:13px;padding:8px 11px;
  transition:background .16s,border-color .16s,color .16s}
.filters button.f:disabled{opacity:.48;cursor:not-allowed;border-color:var(--line);background:var(--cream);color:var(--ink-soft)}
.home-filter-select{width:max-content;min-width:0;max-width:calc(100vw - 20px);min-height:44px;appearance:none;border:2px solid var(--line);border-radius:var(--r-pill);
  background:var(--cream);color:var(--ink);font:700 14px/1.2 var(--body);padding:9px 38px 9px 14px;cursor:pointer;
  overflow:hidden;text-overflow:ellipsis;transition:border-color .16s,box-shadow .16s}
.home-filter-select:hover{border-color:var(--ink)}
.home-filter-select:focus-visible{outline:3px solid var(--mustard-deep);outline-offset:2px;border-color:var(--ink)}
.home-filter-select:disabled{opacity:.48;cursor:not-allowed;color:var(--ink-soft)}
.section-end-action{display:flex;justify-content:flex-end;margin-top:clamp(18px,2.5vw,28px)}
.section-end-action .a{display:inline-flex;align-items:center;min-height:44px;font-weight:700;font-size:15px;
  text-decoration:none;color:var(--kielbasa);border-bottom:2.5px solid var(--mustard)}
.section-end-action .a:hover{color:var(--ink)}

/* ---------- tonight ---------------------------------------------------- */
.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(285px,1fr));gap:20px}
.events-heading{margin-top:0}
.ev .event-day{position:absolute;left:12px;top:12px;background:var(--mustard);color:var(--ink-on-mustard);
  font-weight:700;font-size:12px;letter-spacing:.06em;text-transform:uppercase;padding:5px 10px;border-radius:var(--r-sm)}
.ev .event-day + .clock{top:48px}

/* ---------- a section with nothing in it yet ---------------------------- */
/* Empty is not the same as broken: a section with no records collapses to a
   single quiet line, while a section whose feed failed keeps its .nowt state
   and says so. */
section.is-soon{padding:clamp(18px,2.4vw,26px) 0}
section.is-soon > .wrap > .sh,
section.is-soon > .sh,
section.is-soon > .wrap > .cards,
section.is-soon > .cards,
section.is-soon > .wrap > .specials-grid,
#weekly.is-soon .sh,
#weekly.is-soon .nebby-feature,
section.is-soon .section-end-action{display:none}
.soon{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;padding:16px 18px;border-radius:var(--r-md);
  border:2px dashed var(--line);background:var(--cream-2);color:var(--ink-soft);font-size:15px}
.soon strong{font-family:var(--display);font-weight:400;font-size:19px;color:var(--ink)}
.soon a{margin-left:auto;color:var(--kielbasa);font-weight:700;text-decoration:none;
  border-bottom:2.5px solid var(--mustard)}
.soon a:hover{color:var(--ink)}
@media(max-width:640px){
  .soon a{margin-left:0}
}

/* ---------- specials as a diner check ---------------------------------- */
.check-sec{background:var(--cream-2)}
.specials-grid{display:grid;grid-template-columns:minmax(0,560px) 1fr;gap:clamp(24px,4vw,52px);align-items:start}
.check{background:var(--cream);border-radius:4px;padding:clamp(20px,3vw,32px);position:relative;
  box-shadow:0 6px 18px oklch(0.28 0.026 62 / .07)}
/* torn stub along the bottom edge, the way a check comes off the pad */
.check:after{content:"";position:absolute;left:0;right:0;bottom:-11px;height:12px;
  background:repeating-linear-gradient(-45deg,var(--cream) 0 9px,transparent 9px 18px)}
.check h3{font-family:var(--display);font-size:24px;font-weight:400;text-align:center;padding-bottom:12px;
  border-bottom:2px dashed var(--line)}
.check .sub{text-align:center;font-size:13px;color:var(--ink-soft);margin:6px 0 16px;font-weight:700;
  letter-spacing:.06em;text-transform:uppercase}
.item{display:flex;gap:14px;align-items:flex-start;padding:12px 0;border-bottom:1px dashed var(--line)}
.item .d{flex:1}
.item h4{font-size:17px;font-weight:700;line-height:1.3}
.item p{font-size:14px;color:var(--ink-soft)}
.item .amt{font-family:var(--display);font-size:20px;white-space:nowrap}
.check .tot{display:flex;justify-content:space-between;align-items:baseline;padding-top:14px;
  font-family:var(--display);font-size:19px}
.check-side{display:grid;gap:14px;align-content:start}
.tip{background:var(--mustard);border-radius:var(--r-md);padding:20px}
.tip h4{font-family:var(--display);font-size:19px;font-weight:400;margin-bottom:7px}
.tip p{font-size:15px;color:var(--ink-on-mustard)}
.tip a{color:var(--ink);font-weight:700}
.tip.green{background:var(--pickle);color:var(--cream-on-pickle)}
.tip.green h4{color:inherit}
.tip.green p{color:var(--cream-on-pickle-soft)}
.tip.green a{color:var(--cream)}

/* ---------- the current Nebby briefing -------------------------------- */
#weekly{padding-top:clamp(28px,3.8vw,48px);position:relative;isolation:isolate}
#weekly::before{content:"";position:absolute;z-index:-1;inset:0 0 auto;height:min(56.667vw,680px);
  background:url('/assets/brand/yinzider_ohio_river_tail.webp') top left/100% auto no-repeat;
  pointer-events:none}
#weekly > .wrap{position:relative}
#weekly .sh h2{color:var(--cream)}
.nebby-feature{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);background:var(--cream-2);
  border-radius:var(--r-lg);overflow:hidden;min-height:440px}
.nebby-feature > .fb:only-child,.nebby-feature > .nowt:only-child{grid-column:1/-1;align-self:center;margin:clamp(20px,4vw,42px)}
.nebby-media{min-height:100%;background:var(--cream-3);display:grid;place-items:center;overflow:hidden}
.nebby-lead-image{width:100%;height:100%;min-height:440px;object-fit:cover}
.nebby-media-placeholder{width:100%;height:100%;min-height:440px;display:grid;place-items:center;padding:32px;
  background:var(--porch);color:var(--mustard);font-family:var(--display);font-size:clamp(30px,5vw,58px);
  line-height:1;text-align:center}
.nebby-feature .fb{padding:clamp(24px,3.4vw,42px);align-self:center}
.nebby-feature h3{font-family:var(--display);font-size:clamp(28px,3.5vw,42px);line-height:1.06;
  font-weight:400;text-wrap:balance}
.nebby-feature .meta{display:inline-block;background:var(--kielbasa);color:var(--cream);font-weight:700;
  font-size:12px;letter-spacing:.1em;text-transform:uppercase;padding:4px 11px;border-radius:20px;margin-bottom:14px}
.nebby-feature .dek{font-size:19px;line-height:1.45;color:var(--ink);margin-top:15px;max-width:58ch}
.nebby-feature .nebby-intro{color:var(--ink-soft);margin-top:12px;max-width:64ch}
.nebby-teasers{display:grid;margin-top:24px;border-top:1px solid var(--line)}
.nebby-teaser{padding:13px 0;border-bottom:1px solid var(--line)}
.nebby-teaser h4{font-size:16px;line-height:1.3}
.nebby-teaser p{font-size:14px;line-height:1.45;color:var(--ink-soft);margin-top:4px}
.nebby-lead-video{width:100%;height:100%;min-height:440px;object-fit:cover;display:block;background:var(--porch)}
/* The stories the narration covers, linked to their sources. */
.nebby-covered{display:grid;margin-top:24px;border-top:1px solid var(--line)}
.nebby-covered-title{font-size:12px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;
  color:var(--ink-soft);padding:14px 0 4px}
.nebby-covered-item{display:flex;justify-content:space-between;align-items:baseline;gap:14px;
  padding:11px 0;border-bottom:1px solid var(--line);text-decoration:none;color:inherit}
a.nebby-covered-item:hover .nebby-covered-head{text-decoration:underline}
.nebby-covered-head{font-size:15px;line-height:1.35;font-weight:600}
.nebby-covered-src{font-size:12px;color:var(--ink-soft);white-space:nowrap}
.nebby-actions{display:flex;gap:18px;align-items:center;flex-wrap:wrap;margin-top:22px}
.nebby-actions .go{display:inline-flex;background:var(--ink);color:var(--cream);font-weight:700;padding:11px 20px;
  border-radius:var(--r-pill);text-decoration:none;font-size:15px}
.nebby-actions .go:hover{background:var(--porch-deep)}
.nebby-actions .source-link{color:var(--kielbasa);font-weight:700;text-decoration-thickness:2px;text-underline-offset:3px}

/* ---------- podcast: the stoop radio ----------------------------------- */
.radio{background:var(--porch);color:var(--cream);border-radius:var(--r-lg);padding:clamp(22px,3.4vw,34px);
  display:grid;grid-template-columns:auto 1fr;gap:clamp(20px,3vw,36px);align-items:center;margin-top:26px}
.set{width:150px;background:var(--porch-set);border-radius:var(--r-md);padding:14px;display:grid;gap:11px}
.grille{height:54px;border-radius:var(--r-sm);
  background:repeating-linear-gradient(var(--porch-set-lo) 0 3px,var(--porch-set-hi) 3px 6px)}
.dial{height:9px;border-radius:var(--r-meter);background:var(--porch-dial);position:relative}
.dial i{position:absolute;left:62%;top:-5px;width:5px;height:19px;border-radius:var(--r-micro);background:var(--mustard)}
.knobs{display:flex;gap:9px;justify-content:center}
.knobs i{width:19px;height:19px;border-radius:50%;background:var(--mustard);opacity:.85}
.radio h3{font-family:var(--display);font-size:clamp(26px,3.4vw,38px);line-height:1.06;font-weight:400}
.radio .ep{font-weight:700;font-size:12.5px;letter-spacing:.14em;text-transform:uppercase;color:var(--mustard);
  margin:10px 0}
.radio p{color:var(--cream-dim);max-width:58ch}
.radio .nowt{background:var(--porch-set);border-color:oklch(0.955 0.022 92 / .3);color:var(--cream-dim)}
.radio .nowt strong{color:var(--cream)}
.play-row{display:flex;align-items:center;gap:14px;margin-top:20px;flex-wrap:wrap}
.play{width:56px;height:56px;border-radius:50%;border:none;background:var(--mustard);color:var(--ink);cursor:pointer;
  display:grid;place-items:center}
.play:hover{background:var(--mustard-light)}
.play svg{width:22px;height:22px;margin-left:3px}
.chaps{display:flex;gap:8px;flex-wrap:wrap}
.chaps span{background:var(--porch-chip);border-radius:20px;padding:6px 13px;font-size:13.5px;font-weight:600}

/* ---------- the lore deck ---------------------------------------------- */
/* Category reads from a labelled swatch. Every card carries its source —
   that is what makes it lore rather than flavour text. */
.deck-sec{background:var(--cream-2)}
.deck{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:16px}
.lore{background:var(--cream);border-radius:var(--r-md);padding:18px;--cat:var(--mustard-deep)}
.lore[data-category="food"]{--cat:var(--pickle)}
.lore[data-category="terrain"]{--cat:var(--kielbasa)}
.lore[data-category="pittsburghese"]{--cat:var(--chair)}
.lore[data-category="wildlife"]{--cat:var(--pickle)}
.lore[data-category="roads-and-transit"]{--cat:var(--porch)}
.lore h4{font-family:var(--display);font-size:19px;line-height:1.15;font-weight:400}
.lore .cat{display:flex;align-items:center;gap:7px;font-weight:700;font-size:11.5px;letter-spacing:.14em;
  text-transform:uppercase;color:var(--cat);margin:8px 0}
.lore .cat:before{content:"";width:10px;height:10px;border-radius:var(--r-micro);background:var(--cat);flex:0 0 auto}
.lore p{font-size:14.5px;color:var(--ink-soft)}
.lore cite{display:block;font-style:normal;font-size:11.5px;color:var(--ink-soft);margin-top:11px;padding-top:9px;
  border-top:1px solid var(--line)}
.lore cite a{color:inherit}
.deck-foot{margin-top:20px;display:flex;gap:14px;align-items:center;flex-wrap:wrap;font-size:15px;color:var(--ink-soft)}
.deck-foot a{color:var(--kielbasa);font-weight:700}

@media(max-width:960px){
  .nebby-feature,.specials-grid,.radio{grid-template-columns:1fr}
  .nebby-media,.nebby-lead-image,.nebby-media-placeholder{min-height:clamp(250px,58vw,420px)}
  .set{width:100%;max-width:260px}
}

@media(max-width:640px){
  .site-header .scene-art{aspect-ratio:1200/540}
  #weekly{padding-top:8px}
  #weekly::before{height:min(95.833vw,460px);
    background-image:url('/assets/brand/yinzider_ohio_river_tail_mobile.webp')}
  #weekly .sh h2{color:var(--ink)}
  .event-lead h1{font-size:clamp(30px,9.5vw,38px);line-height:1.04}
  .filters{gap:8px;margin-top:18px}
  .home-filter-select{font-size:13px;padding-inline:12px 34px}
  .event-filter-group:after{right:13px}
  .nebby-feature{min-height:0}
  .nebby-feature .nebby-media{display:grid;min-height:0;height:auto;padding:0;background:var(--porch)}
  .nebby-feature .nebby-lead-video,.nebby-feature .nebby-lead-image{
    display:block;width:100%;height:auto;min-height:0;object-fit:contain;border-radius:0}
  .nebby-feature .fb{padding:20px}
  .nebby-feature h3{font-size:26px}
  .nebby-feature .dek{font-size:16px;margin-top:10px}
  .nebby-feature .nebby-intro{display:none}
  .nebby-feature .nebby-covered{display:grid;margin-top:20px}
  .nebby-feature .nebby-covered-item{align-items:flex-start;gap:10px}
  .nebby-feature .nebby-covered-head{min-width:0}
  .nebby-feature .nebby-covered-src{white-space:normal;text-align:right;max-width:6.5rem}
  .nebby-feature .nebby-actions{margin-top:16px}
  .nebby-teaser p{font-size:14px}
  
  .card-venue, .ev-venue, .event-card h4, .ev h4 {
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
  }
  
  
  .card-venue, .ev-venue, .event-card h4, .ev h4 {
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
  }
  
  .calendar-view, .calendar-grid {
    min-width: 0;
    overflow-x: auto;
  }
  
  #scrollTopBtn, .scroll-to-top {
    bottom: 80px;
    right: 16px;
    z-index: 90;
  }
}

/* Anchor smooth scroll offset for sticky header (#1778) */
#lore, #specials, #weekly, #tonight, #events, section[id] {
  scroll-margin-top: 80px;
}

/* Small mobile date picker horizontal overflow fix (#1656) */
@media(max-width:360px){
  .filters{flex-wrap:wrap;max-width:100%;overflow-x:visible}
  .event-filter-group{width:100%}
  .home-filter-select{width:100%;max-width:100%}
}

/* The Yinzider Brief — email capture (#brief) */
.home-brief{padding:34px 0 10px}
.home-brief .sh{margin-bottom:6px}
.brief-pitch{max-width:52ch;margin:0 0 14px;font-size:15.5px;color:rgba(28,26,22,.75)}
.brief-form{display:flex;gap:8px;flex-wrap:wrap;max-width:460px}
.brief-form input[type=email]{flex:1 1 220px;padding:11px 13px;border:1.5px solid rgba(28,26,22,.35);border-radius:10px;font:inherit;background:#fff}
.brief-form button{padding:11px 18px;border:0;border-radius:10px;background:var(--mustard,#e0ad23);font:inherit;font-weight:700;cursor:pointer}
.brief-status{min-height:1.2em;margin:8px 0 22px;font-size:14px;color:rgba(28,26,22,.7)}
