/* South Bay Weekends — Stitch design system applied to the site's content classes.
   Palette: paper #FAF7F0 · ink #1D2B2E · deep teal #0C5A63 · rust #A8431F · dune #E2DAC8.
   Type: Bricolage Grotesque (display) · Caveat (script accents) · Hanken Grotesk (body).
   0px corners, no gradients, no shadows. Loaded after the Tailwind Play build. */

/* ---- behavior hooks (contract with app.js — do not rename) ---- */
[data-hidden="true"]{display:none!important}
#mobile-nav{display:none}
#mobile-nav[data-open="true"]{display:block}
#nl-confirm{display:none}
#nl-confirm[data-show="true"]{display:block}
#empty-state{display:none}
#empty-state[data-show="true"]{display:block}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.skip-link{position:absolute;left:-9999px;top:0;background:#1D2B2E;color:#FAF7F0;padding:.5rem 1rem;z-index:60;font-family:"Hanken Grotesk",sans-serif}
.skip-link:focus{left:0}
header nav a[aria-current="page"]{color:#A8431F}

/* ---- base typography (Tailwind preflight strips margins; restore rhythm) ---- */
body{font-family:"Hanken Grotesk",sans-serif;background:#FAF7F0;color:#1D2B2E}
main h1,main h2,main h3,main h4{font-family:"Bricolage Grotesque",sans-serif;color:#1D2B2E}
main p{line-height:1.65}
main a{color:#0C5A63}
main a:hover{color:#A8431F}
main ul,main ol{line-height:1.65}
.section{padding:3.5rem 0}
.section-tight{padding:1.75rem 0}
.container{max-width:57.5rem;margin:0 auto;padding:0 1.25rem}
.container-wide{max-width:80rem;margin:0 auto;padding:0 1.25rem}
@media(min-width:768px){.container,.container-wide{padding:0 3rem}}
.section-head{margin-bottom:1.75rem}
.section-head h2{font-size:clamp(1.7rem,3.4vw,2.4rem);font-weight:800;letter-spacing:-.02em;line-height:1.05;text-transform:uppercase}
.section-head p{margin-top:.5rem;color:#49585B;max-width:44rem}
main h2{font-size:clamp(1.45rem,2.8vw,2rem);font-weight:700;letter-spacing:-.015em;line-height:1.12}
main h3{font-size:1.2rem;font-weight:700;line-height:1.25}
.prose p{margin:0 0 1.1rem}
.prose p:last-child{margin-bottom:0}
main table{border-collapse:collapse;width:100%}
main th,main td{border:1px solid #C8D1D3;padding:.55rem .75rem;text-align:left;vertical-align:top}
main th{font-family:"Hanken Grotesk",sans-serif;text-transform:uppercase;letter-spacing:.08em;font-size:.72rem;background:#EFE9DE}

/* ---- hero / page head ---- */
.page-hero{background:#0C5A63;color:#FAF7F0;padding:3.25rem 0 3rem;border-bottom:2px solid #1D2B2E}
.page-hero--rust{background:#A8431F}
.page-hero h1{color:#FAF7F0;font-size:clamp(2.3rem,5.2vw,3.9rem);font-weight:800;text-transform:uppercase;letter-spacing:-.025em;line-height:.98;margin:.35rem 0 .8rem}
.page-hero .lede{color:#D9ECEC;font-size:1.13rem;line-height:1.6;max-width:46rem}
.page-hero--rust .lede{color:#FFE3D6}
.page-hero a{color:#FAF7F0}
.eyebrow{font-family:"Hanken Grotesk",sans-serif;font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.14em;color:#A8431F;margin:0}
.page-hero .eyebrow{color:#FFB59D}
.lede{font-size:1.13rem;line-height:1.6;color:#33474B}
.stat-strip{display:flex;flex-wrap:wrap;gap:2.25rem;margin-top:1.75rem}
.stat-strip>div{display:flex;flex-direction:column}
.stat-strip b{font-family:"Bricolage Grotesque",sans-serif;font-size:2.1rem;font-weight:800;line-height:1;color:#FAF7F0}
.stat-strip span{font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.12em;color:#BFDCDC;margin-top:.3rem}
.page-hero--rust .stat-strip span{color:#FFD9C7}
.hero__actions{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:1.75rem}

/* ---- buttons ---- */
.btn{display:inline-flex;align-items:center;gap:.5rem;background:#FAF7F0;color:#1D2B2E;border:1.5px solid #1D2B2E;padding:.7rem 1.3rem;font-family:"Hanken Grotesk",sans-serif;font-size:.78rem;font-weight:700;text-transform:uppercase;letter-spacing:.12em;text-decoration:none;cursor:pointer;border-radius:0}
.btn:hover{background:#1D2B2E;color:#FAF7F0}
.btn-primary{background:#0C5A63;border-color:#0C5A63;color:#fff}
.btn-primary:hover{background:#A8431F;border-color:#A8431F;color:#fff}
.btn-ghost{background:transparent}
.page-hero .btn-ghost{color:#FAF7F0;border-color:#FAF7F0}
.page-hero .btn-ghost:hover{background:#FAF7F0;color:#1D2B2E}
.page-hero .btn-primary{background:#FAF7F0;border-color:#FAF7F0;color:#1D2B2E}
.page-hero .btn-primary:hover{background:#1D2B2E;border-color:#1D2B2E;color:#FAF7F0}

/* ---- listing cards ---- */
.card-grid{display:grid;grid-template-columns:1fr;gap:1.25rem}
@media(min-width:640px){.card-grid{grid-template-columns:repeat(2,1fr)}}
@media(min-width:1024px){.card-grid{grid-template-columns:repeat(3,1fr)}}
.listing-card{background:#fff;border:1.5px solid #1D2B2E;padding:1.3rem 1.3rem 1.15rem;display:flex;flex-direction:column;gap:.45rem}
.listing-card .card-photo{width:100%;height:auto;display:block;margin:-1.3rem -1.3rem .8rem;width:calc(100% + 2.6rem);max-width:none}
.meta-line{font-size:.7rem;font-weight:700;text-transform:uppercase;letter-spacing:.12em;color:#A8431F;display:flex;flex-wrap:wrap;gap:.4rem;align-items:center}
.meta-line a{color:#A8431F}
.listing-card h3{font-size:1.28rem;font-weight:700;letter-spacing:-.01em;line-height:1.15}
.listing-card h3 a{color:#1D2B2E;text-decoration:none}
.listing-card h3 a:hover{color:#A8431F}
.listing-card p{color:#3C4B4F;font-size:.95rem}
.address-line{font-size:.85rem;color:#5A6B6F}
.address-line .city,.city{font-weight:700;color:#0C5A63}
.tag-row{display:flex;flex-wrap:wrap;gap:.4rem;margin-top:auto;padding-top:.5rem}
.tag{display:inline-block;background:#E2DAC8;color:#1D2B2E;font-size:.68rem;font-weight:700;text-transform:uppercase;letter-spacing:.09em;padding:.22rem .55rem}
.tag--accent{background:#A8431F;color:#fff}
.more{margin-top:1.5rem;font-weight:700}
.photo-credit{font-size:.72rem;color:#5A6B6F;margin-top:.4rem}

/* ---- directory filters ---- */
.filter-bar{margin:0 0 1.5rem;display:flex;flex-direction:column;gap:.9rem}
.search-wrap input[type="search"]{width:100%;background:#fff;border:1.5px solid #1D2B2E;padding:.8rem 1rem;font-family:"Hanken Grotesk",sans-serif;font-size:1rem;border-radius:0;color:#1D2B2E}
.search-wrap input[type="search"]:focus{outline:2.5px solid #0C5A63;outline-offset:0}
.filter-toggle{display:inline-flex;align-items:center;gap:.5rem;align-self:flex-start;background:#FAF7F0;border:1.5px solid #1D2B2E;padding:.55rem 1rem;font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.1em;cursor:pointer;border-radius:0}
.filter-toggle:hover{background:#1D2B2E;color:#FAF7F0}
.filter-count{color:#A8431F;font-weight:800}
.active-filters{display:flex;flex-wrap:wrap;gap:.45rem}
.active-filters:empty{display:none}
.active-chip{background:#0C5A63;color:#fff;border:1.5px solid #0C5A63;font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em;padding:.35rem .7rem;cursor:pointer;border-radius:0}
.active-chip:hover{background:#A8431F;border-color:#A8431F}
.filter-groups{display:flex;flex-direction:column;gap:.8rem}
.chip-row{display:flex;flex-wrap:wrap;gap:.45rem;align-items:center}
.chip{background:#FAF7F0;border:1.5px solid #1D2B2E;color:#1D2B2E;font-family:"Hanken Grotesk",sans-serif;font-size:.74rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em;padding:.45rem .8rem;cursor:pointer;border-radius:0}
.chip:hover{border-color:#A8431F;color:#A8431F}
.chip[aria-pressed="true"]{background:#0C5A63;border-color:#0C5A63;color:#fff}
.chip-row-hint{font-size:.75rem;color:#5A6B6F;font-style:italic}
.result-count{font-size:.78rem;font-weight:700;text-transform:uppercase;letter-spacing:.12em;color:#49585B;margin:0 0 1.1rem}
#load-more{margin-top:1.75rem}
.empty-state{border:1.5px solid #1D2B2E;background:#EFE9DE;padding:1.75rem;text-align:left}
.empty-state h3{margin-bottom:.5rem}

/* ---- events ---- */
.day-block{margin-bottom:2.75rem}
.day-block>h2,.day-block>h3{margin-bottom:1.1rem}
.event-card .when{font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.11em;color:#A8431F}
.price{font-weight:800;color:#0C5A63;font-size:.85rem;text-transform:uppercase;letter-spacing:.06em}
.card-actions{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:auto;padding-top:.7rem}
.card-action{display:inline-flex;align-items:center;background:#0C5A63;color:#fff!important;border:1.5px solid #0C5A63;font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.1em;padding:.5rem .85rem;text-decoration:none;cursor:pointer;border-radius:0}
.card-action:hover{background:#A8431F;border-color:#A8431F;color:#fff}
.card-action--ghost{background:transparent;color:#1D2B2E!important;border-color:#1D2B2E}
.card-action--ghost:hover{background:#1D2B2E;color:#FAF7F0!important}
.notice{background:#EFE9DE;border:1.5px solid #1D2B2E;padding:1.1rem 1.3rem;line-height:1.6}
.notice a{font-weight:700}

/* ---- city cards (cities index) ---- */
.city-card{display:block;background:#fff;border:1.5px solid #1D2B2E;padding:1.4rem;text-decoration:none;color:#1D2B2E}
.city-card:hover{border-color:#A8431F}
.city-card h2,.city-card h3{margin-bottom:.4rem}
.city-card p{color:#3C4B4F;font-size:.95rem}

/* ---- venue pages (generator template contract) ---- */
.venue-hero-sec{padding:2.5rem 0 0}
.venue-meta{font-size:.74rem;font-weight:700;text-transform:uppercase;letter-spacing:.12em;color:#49585B}
.venue-meta a{color:#A8431F}
.venue-title{font-size:clamp(2.4rem,5.5vw,4.2rem);font-weight:800;text-transform:uppercase;letter-spacing:-.025em;line-height:.98;margin:.5rem 0 .4rem}
.venue-rating{font-size:.95rem;font-weight:700}
.venue-rating a{color:#1D2B2E;text-decoration:none}
.venue-rating a:hover{color:#A8431F}
.venue-rating .stars{color:#D97706;letter-spacing:.1em;margin-right:.35rem}
.venue-hero-fig{margin:1.75rem 0 0;border-top:2px solid #1D2B2E;border-bottom:2px solid #1D2B2E;background:#1D2B2E}
.venue-hero-fig img.venue-hero{width:100%;height:auto;max-height:560px;object-fit:cover;display:block}
.venue-credit{background:#1D2B2E;color:#E7E0CC;font-size:.72rem;padding:.5rem 1.25rem;letter-spacing:.04em}
@media(min-width:768px){.venue-credit{padding:.5rem 3rem}}
.venue-body{padding:2.75rem 0 0}
.venue-grid{display:grid;grid-template-columns:1fr;gap:2.5rem}
@media(min-width:1024px){.venue-grid{grid-template-columns:minmax(0,1fr) 22rem}}
.venue-lede{font-size:1.2rem;line-height:1.65;color:#24363A}
.venue-lede::first-letter{font-family:"Bricolage Grotesque",sans-serif;font-weight:800;font-size:3.4em;float:left;line-height:.82;padding-right:.12em;color:#0C5A63}
.action-row{display:flex;flex-wrap:wrap;gap:.55rem;margin-top:1.5rem}
.action-row--sticky{position:sticky;top:.75rem;z-index:20;background:#FAF7F0;padding:.4rem 0}
.action-row--fixed{position:fixed;left:0;right:0;bottom:0;z-index:40;background:#FAF7F0;border-top:2px solid #1D2B2E;padding:.6rem 1rem;margin:0;justify-content:center}
.action-row--fixed[hidden]{display:none}
.venue-facts-panel{border:2px solid #1D2B2E;background:#F4F0E6;align-self:start}
.venue-facts-title{background:#1D2B2E;color:#FAF7F0;font-size:.95rem;text-transform:uppercase;letter-spacing:.06em;padding:.8rem 1.2rem;margin:0}
.venue-facts{padding:1.1rem 1.2rem 1.2rem;display:flex;flex-direction:column;gap:1rem}
.venue-facts dt{font-size:.68rem;font-weight:700;text-transform:uppercase;letter-spacing:.13em;color:#A8431F;margin-bottom:.2rem}
.venue-facts dd{font-size:.95rem;line-height:1.55;color:#1D2B2E}
.venue-facts-panel .last-checked{padding:0 1.2rem 1.2rem;font-size:.82rem;color:#5A6B6F;line-height:1.55}
.last-checked a{font-weight:700}
.venue-more-sec{padding:3rem 0 3.5rem}
.venue-more-sec h2{margin-bottom:1.2rem}
.related-grid{display:grid;grid-template-columns:1fr;gap:1rem;margin-bottom:1.5rem}
@media(min-width:640px){.related-grid{grid-template-columns:repeat(2,1fr)}}
@media(min-width:1024px){.related-grid{grid-template-columns:repeat(3,1fr)}}
.related-card{display:flex;flex-direction:column;gap:.25rem;background:#fff;border:1.5px solid #1D2B2E;padding:1.05rem 1.15rem;text-decoration:none}
.related-card:hover{border-color:#A8431F}
.related-card__name{font-family:"Bricolage Grotesque",sans-serif;font-weight:700;font-size:1.08rem;color:#1D2B2E;line-height:1.2}
.related-card__meta{font-size:.78rem;font-weight:700;text-transform:uppercase;letter-spacing:.09em;color:#5A6B6F}
button.card-action{font-family:"Hanken Grotesk",sans-serif}
button.card-action.is-saved{background:#A8431F;border-color:#A8431F;color:#fff}

/* ---- newsletter band (non-phase-1 pages keep ids; section restyled by markup) ---- */
.nl-status{font-weight:700}
.form-note{font-size:.85rem;opacity:.85}

/* ---- misc content ---- */
.breadcrumb,.breadcrumbs{font-size:.78rem;font-weight:700;text-transform:uppercase;letter-spacing:.1em;color:#49585B}
.breadcrumb a,.breadcrumbs a{color:#A8431F}
img.card-photo{object-fit:cover}

/* ---------- misc page furniture ---------- */
.city-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:1.1rem}
.kicker{font-family:"Hanken Grotesk",sans-serif;font-size:.78rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:var(--teal);margin:0 0 .4rem}
.kicker--rust{color:var(--rust)}
.muted{color:#5A6B6E}
.link-list{list-style:none;margin:0;padding:0}
.link-list li{padding:.7rem 0;border-bottom:1px solid #E3DCCB}
.link-list a{font-family:"Bricolage Grotesque",sans-serif;font-weight:700;color:var(--teal);text-decoration:none}
.link-list a:hover{text-decoration:underline}
.source-list{padding-left:1.2rem}
.source-list li{margin-bottom:.5rem}
.count-split{font-weight:600;color:#5A6B6E}
.clear-all{font-family:"Hanken Grotesk",sans-serif;font-size:.8rem;font-weight:700;letter-spacing:.04em;padding:.55rem .9rem;border:1.5px solid var(--ink);background:transparent;color:var(--ink);cursor:pointer}
.clear-all:hover{background:var(--sand)}
.filter-sheet-footer{display:flex;gap:.6rem;align-items:center;margin-top:1rem}
.filter-toggle-label{font-weight:700}

.byline{font-family:"Hanken Grotesk",sans-serif;font-size:.85rem;color:#5A6B6E;letter-spacing:.02em;margin:0}

/* Plan nav (Nov 17, 2026) */
.plan-menu{position:relative;display:inline-flex}
.plan-btn{background:none;border:none;padding:0;margin:0;cursor:pointer;color:inherit;font:inherit;letter-spacing:inherit;text-transform:inherit;display:inline-flex;align-items:center;gap:.35rem}
.plan-btn .plan-chevron{width:12px;height:12px;flex:none;transition:transform .15s ease}
.plan-menu[data-open="true"] .plan-chevron{transform:rotate(180deg)}
.plan-dropdown{display:none;position:absolute;top:calc(100% + 33px);right:0;min-width:232px;background:#FAF7F0;border:2px solid #1D2B2E;padding:.45rem 0;z-index:60;text-align:left}
.plan-dropdown::before{content:"";position:absolute;left:0;right:0;top:-35px;height:35px}
.plan-menu[data-open="true"] .plan-dropdown{display:block}
/* Plan nav no-JS fallback (Nov 17, 2026): app.js adds .js to <html> and drives the menu; without JS it opens on hover/focus instead. */
html:not(.js) .plan-menu:hover .plan-dropdown,html:not(.js) .plan-menu:focus-within .plan-dropdown{display:block}
html:not(.js) .plan-menu:hover .plan-chevron,html:not(.js) .plan-menu:focus-within .plan-chevron{transform:rotate(180deg)}
.plan-dropdown a{display:block;padding:.6rem 1.15rem;color:#1D2B2E;text-decoration:none;white-space:nowrap}
.plan-dropdown a:hover{color:#A8431F;background:#EFE9DE}
.mobile-plan-label{color:#A8431F;font-size:11px;font-weight:700;letter-spacing:.18em;text-transform:uppercase}
.mobile-nav li.plan-item{padding-left:.85rem}
