/* OK Events — design system
   Editorial, light, data-forward. Inter for UI, Fraunces for display.
   One confident accent (deep green), hairline borders, flat surfaces. */

:root {
    --bg: #f7f6f2;              /* warm paper */
    --bg2: #efece5;
    --surface: #ffffff;
    --text: #17191d;           /* near-black, editorial */
    --text-2: #545b64;
    --text-3: #8b919b;
    --border: #e5e2da;         /* hairline */
    --border-strong: #cfcbc0;
    --accent: #0f5132;         /* deep oklahoma green — the one accent */
    --accent-hover: #0a3d26;
    --accent-soft: #e7f1eb;
    --accent-text: #ffffff;
    --live: #c0392b;           /* functional-only red */
    --amber: #7a5314;          /* functional-only: long-running */
    --amber-soft: #f2ecdf;
    --radius: 10px;
    --radius-sm: 7px;
    /* shadows: reserved for genuinely floating surfaces only */
    --shadow-pop: 0 8px 30px rgba(23,25,29,.12);
    --shadow-sheet: 0 -8px 28px rgba(23,25,29,.12);
    --font: 'Inter', system-ui, -apple-system, sans-serif;
    --font-display: 'Fraunces', Georgia, serif;
    --tap: 40px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); text-decoration: underline; }
img { max-width: 100%; display: block; }

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    border-radius: 4px;
}

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

/* Uppercase letter-spaced micro-label, used for metadata keys/pills */
.eyebrow {
    font-size: 11px; font-weight: 700; text-transform: uppercase;
    letter-spacing: .12em; color: var(--text-2);
}

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(247,246,242,.85);
    backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--border);
}
/* Distinctive touch: 3px accent edge flush to the viewport top */
.site-header::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0;
    height: 3px; background: var(--accent);
}
.header-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center; gap: 16px;
    height: 66px;
}

/* Brand: crafted star tile + two-weight wordmark (Inter + Fraunces) */
.brand {
    display: inline-flex; align-items: center; gap: 10px;
    justify-self: start; color: var(--text); padding: 6px 0;
    line-height: 1;
}
.brand:hover { text-decoration: none; color: var(--text); }
.brand-mark {
    display: inline-flex; width: 26px; height: 26px; flex-shrink: 0;
    transition: transform .2s ease;
}
.brand-mark svg { display: block; }
.brand:hover .brand-mark { transform: rotate(-6deg); }
.brand-text {
    display: inline-flex; align-items: baseline; gap: 5px;
    letter-spacing: -0.02em;
}
.brand-name { font-size: 19px; font-weight: 800; }
.brand-serif {
    font-family: var(--font-display); font-weight: 600;
    font-size: 20px; letter-spacing: -0.01em;
}

/* Nav: segmented control on a hairline track */
.header-nav {
    display: inline-flex; gap: 2px; justify-self: center;
    background: var(--bg2); border: 1px solid var(--border);
    border-radius: 999px; padding: 3px;
}
.nav-link {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 7px 15px; border-radius: 999px;
    border: 1px solid transparent;
    color: var(--text-2); font-weight: 550; font-size: 14px;
    transition: color .15s, background .15s, border-color .15s;
}
.nav-link:hover { color: var(--text); text-decoration: none; }
.nav-icon { width: 16px; height: 16px; display: block; flex-shrink: 0; }
.nav-link.active {
    background: var(--surface); border-color: var(--border-strong);
    color: var(--accent); font-weight: 650;
}
.nav-link.active:hover { color: var(--accent); }

/* Search: left affordance icon shifts to accent + border draws in on focus */
.header-search {
    justify-self: end; display: flex; align-items: center; gap: 8px;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: 999px; padding: 5px 5px 5px 14px;
    width: 280px; transition: border-color .15s, box-shadow .15s;
}
.header-search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.search-icon {
    display: flex; color: var(--text-3); flex-shrink: 0;
    transition: color .15s;
}
.header-search:focus-within .search-icon { color: var(--accent); }
.header-search input {
    border: 0; background: transparent; outline: none;
    font: inherit; font-size: 14px; flex: 1; color: var(--text);
    min-width: 0;
}
.header-search button {
    border: 0; background: var(--accent); color: #fff;
    width: 32px; height: 32px; border-radius: 50%;
    display: grid; place-items: center; cursor: pointer; flex-shrink: 0;
    transition: background .15s;
}
.header-search button:hover { background: var(--accent-hover); }

/* ---------- Hero ---------- */
.hero {
    padding: 72px 0 20px; text-align: center;
    max-width: 780px; margin: 0 auto;
}
.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(42px, 6vw, 68px);
    font-weight: 700; margin: 0 0 14px;
    letter-spacing: -0.025em; line-height: 1.03;
    color: var(--text);
}
.hero-sub {
    color: var(--text-2); font-size: 18px; margin: 0 0 30px;
    font-variant-numeric: tabular-nums;
}
.hero-search {
    display: flex; align-items: center; gap: 10px;
    background: var(--surface); border: 1px solid var(--border-strong);
    border-radius: 10px; padding: 7px 7px 7px 18px;
    transition: border-color .15s, box-shadow .15s;
    text-align: left;
}
.hero-search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.hero-search-icon { color: var(--text-3); flex-shrink: 0; }
.hero-search input {
    border: 0; background: transparent; outline: none;
    font: inherit; font-size: 16px; flex: 1; color: var(--text); min-width: 0;
}
.hero-search-btn {
    border: 0; background: var(--accent); color: #fff;
    padding: 11px 26px; border-radius: 7px;
    font: inherit; font-size: 14.5px; font-weight: 600; cursor: pointer;
    flex-shrink: 0; transition: background .15s; min-height: var(--tap);
}
.hero-search-btn:hover { background: var(--accent-hover); }

/* ---------- Section titles / featured rail ---------- */
.section-title {
    font-family: var(--font-display);
    font-size: clamp(26px, 3.2vw, 32px); font-weight: 700; margin: 0;
    letter-spacing: -0.03em; line-height: 1.08;
}
/* Small uppercase letter-spaced label above a section title */
.section-kicker {
    display: block;
    font-size: 11.5px; font-weight: 700; text-transform: uppercase;
    letter-spacing: .16em; color: var(--accent); margin-bottom: 6px;
}
.featured-head-titles { display: flex; flex-direction: column; }
.section-link {
    font-size: 13px; font-weight: 700; text-transform: uppercase;
    letter-spacing: .08em; color: var(--accent);
    display: inline-block; padding: 10px 0;
}
.section-link:hover { color: var(--accent-hover); text-decoration: none; }
.featured { padding: 52px 0 8px; }
.featured-head {
    display: flex; align-items: baseline; justify-content: space-between;
    margin-bottom: 20px; padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
}
.featured-row {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}

/* ---------- Filter bar (single sticky row) ---------- */
.filter-bar {
    position: sticky; top: 66px; z-index: 40;
    display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
    padding: 14px 0; margin: 36px 0 4px;
    background: rgba(247,246,242,.9);
    backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid var(--border);
}
.chip-group { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 15px; border-radius: 999px; min-height: var(--tap);
    background: var(--surface); border: 1px solid var(--border);
    color: var(--text-2); font-weight: 550; font-size: 13.5px;
    cursor: pointer; transition: border-color .15s, color .15s, background .15s;
    text-decoration: none; box-sizing: border-box;
}
.chip:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }
.chip-active { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 600; }
.chip-active:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: #fff; }
.chip-clear { border-color: var(--border-strong); color: var(--text-2); }
.chip-clear:hover { border-color: var(--live); color: var(--live); }
.filter-bar-right { margin-left: auto; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.select {
    padding: 0 34px 0 13px; height: var(--tap); border-radius: var(--radius-sm);
    border: 1px solid var(--border); background: var(--surface);
    font: inherit; font-size: 14px; color: var(--text);
    cursor: pointer; min-width: 170px;
    appearance: none; -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238b919b' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 12px center;
}
.select:hover { border-color: var(--border-strong); }
.select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.result-count {
    font-size: 13px; color: var(--text-2); font-weight: 600;
    font-variant-numeric: tabular-nums; white-space: nowrap;
}

/* ---------- Grid & cards ---------- */
.grid {
    display: grid; gap: 24px;
    grid-template-columns: repeat(3, 1fr);
    padding: 28px 0 32px;
}
@media (max-width: 1080px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .grid { grid-template-columns: 1fr; } }

.event-card {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius); overflow: hidden;
    transition: border-color .15s;
    cursor: pointer; height: 100%;
    display: flex; flex-direction: column;
}
.event-card:hover, .event-card:focus-within {
    border-color: var(--accent);
}
.event-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.card-link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.card-link:hover { text-decoration: none; }
.card-image {
    position: relative; aspect-ratio: 16/10; overflow: hidden;
    background: var(--bg2);
    border-bottom: 1px solid var(--border);
}
.card-image.img-missing::after {
    content: '🎪'; position: absolute; inset: 0; z-index: 2;
    display: grid; place-items: center;
    font-size: 40px; opacity: .35;
}
/* Duotone-at-rest: a subtle deep-green tint unifies every card image with the
   palette; on hover the tint lifts and the photo returns to full colour. */
.card-image::before {
    content: ''; position: absolute; inset: 0; z-index: 1;
    background: var(--accent); mix-blend-mode: color;
    opacity: .30; transition: opacity .3s ease; pointer-events: none;
}
.event-card:hover .card-image::before,
.event-card:focus-within .card-image::before { opacity: 0; }
.card-image img {
    width: 100%; height: 100%; object-fit: cover;
    filter: saturate(.82); transition: transform .4s ease, filter .3s ease;
}
.event-card:hover .card-image img,
.event-card:focus-within .card-image img { transform: scale(1.04); filter: saturate(1); }
.date-badge {
    position: absolute; top: 10px; left: 10px; z-index: 2;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: 8px; padding: 6px 9px; text-align: center; line-height: 1.05;
    display: flex; flex-direction: column; align-items: center;
    font-variant-numeric: tabular-nums;
    font-size: 17px; font-weight: 700; color: var(--text);
}
.date-badge strong {
    font-size: 10px; font-weight: 700; color: var(--accent);
    text-transform: uppercase; letter-spacing: .1em;
}
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-meta {
    display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px;
    font-size: 12px; font-weight: 700; text-transform: uppercase;
    letter-spacing: .07em; color: var(--text-2);
    font-variant-numeric: tabular-nums;
}
.card-date { color: var(--accent); font-weight: 700; }
.card-live {
    color: var(--live); font-weight: 700; font-size: 11.5px; letter-spacing: .07em;
    display: inline-flex; align-items: center; gap: 4px;
}
.card-title {
    font-size: 17px; font-weight: 650; margin: 0;
    letter-spacing: -0.015em; line-height: 1.32; color: var(--text);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    transition: color .15s;
}
.event-card:hover .card-title { color: var(--accent); }
.card-price {
    font-size: 13px; color: var(--text-2); font-weight: 550;
    font-variant-numeric: tabular-nums;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.card-price strong { color: var(--text); font-weight: 700; }
.card-foot {
    display: flex; align-items: center; gap: 10px;
    margin-top: auto; padding-top: 10px;
    border-top: 1px solid var(--border);
}
.card-city {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: 13px; color: var(--text-2); font-weight: 500;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0;
}
.card-city::before {
    content: ''; flex-shrink: 0;
    width: 12px; height: 12px; background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M12 21s-7-6.5-7-11a7 7 0 0 1 14 0c0 4.5-7 11-7 11z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E") center/contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M12 21s-7-6.5-7-11a7 7 0 0 1 14 0c0 4.5-7 11-7 11z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E") center/contain no-repeat;
    color: var(--text-3);
}
.card-cat {
    display: inline-flex; align-self: center;
    font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
    background: var(--accent-soft); color: var(--accent);
    padding: 4px 9px; border-radius: 5px; margin-left: auto;
    flex-shrink: 0; white-space: nowrap;
}
.card-cat-long { background: var(--amber-soft); color: var(--amber); }

/* ---------- Empty state ---------- */
.empty-state {
    grid-column: 1 / -1; text-align: center; padding: 72px 20px;
    color: var(--text-2);
}
.empty-icon { font-size: 42px; margin-bottom: 14px; opacity: .5; }
.empty-state h3 { margin: 0 0 6px; color: var(--text); font-size: 19px; }
.empty-state p { margin: 0 0 18px; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 11px 20px; border-radius: var(--radius-sm); min-height: var(--tap);
    font: inherit; font-size: 14.5px; font-weight: 600;
    cursor: pointer; border: 1px solid transparent; transition: background .15s, border-color .15s, color .15s;
    text-decoration: none;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; }
.btn-secondary { background: var(--surface); border-color: var(--border-strong); color: var(--text); }
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }
.btn-block { width: 100%; }

/* ---------- Pagination ---------- */
.pagination { padding: 12px 0 64px; }
.pagination-nav { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; }
.page-link {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: var(--tap); min-height: var(--tap); padding: 0 14px;
    border-radius: var(--radius-sm);
    background: var(--surface); border: 1px solid var(--border);
    color: var(--text-2); font-size: 14px; font-weight: 550;
    font-variant-numeric: tabular-nums;
}
a.page-link:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }
.page-current { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 700; }
.page-link.disabled { opacity: .4; cursor: default; }

/* ---------- Detail page ---------- */
.detail-wrap { padding: 40px 32px 72px; max-width: 1020px; }
.detail-hero {
    border-radius: var(--radius); overflow: hidden;
    aspect-ratio: 21/9; margin-bottom: 32px;
    background: var(--bg2); border: 1px solid var(--border);
}
.detail-hero img { width: 100%; height: 100%; object-fit: cover; }
.detail-dates { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 12px; }
.detail-date-big {
    color: var(--accent); font-weight: 700; font-size: 13px;
    text-transform: uppercase; letter-spacing: .09em;
    font-variant-numeric: tabular-nums;
}
.detail-time {
    color: var(--text-2); font-size: 13px; font-weight: 600;
    text-transform: uppercase; letter-spacing: .05em;
    font-variant-numeric: tabular-nums;
}
.pill-live {
    background: transparent; color: var(--live); font-size: 11.5px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .07em;
    padding: 0; border-radius: 0;
    display: inline-flex; align-items: center; gap: 6px;
}
.pill-live::before {
    content: ''; width: 7px; height: 7px; border-radius: 999px;
    background: var(--live); animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .3; } }
.detail-title {
    font-family: var(--font-display); font-size: clamp(30px, 4.4vw, 46px);
    font-weight: 700; margin: 0 0 14px; letter-spacing: -0.025em; line-height: 1.08;
}
.detail-meta { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 34px; }
.detail-city {
    display: inline-flex; align-items: center; gap: 6px;
    color: var(--text-2); font-size: 14.5px; font-weight: 500;
}
.detail-city::before {
    content: ''; flex-shrink: 0;
    width: 15px; height: 15px; background: var(--text-3);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M12 21s-7-6.5-7-11a7 7 0 0 1 14 0c0 4.5-7 11-7 11z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E") center/contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M12 21s-7-6.5-7-11a7 7 0 0 1 14 0c0 4.5-7 11-7 11z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E") center/contain no-repeat;
}
.detail-grid { display: grid; grid-template-columns: 1fr 320px; gap: 48px; }
@media (max-width: 800px) { .detail-grid { grid-template-columns: 1fr; } }
.detail-main h2 {
    font-size: 12px; font-weight: 700; margin: 0 0 14px;
    text-transform: uppercase; letter-spacing: .1em; color: var(--text-2);
}
.detail-desc { white-space: pre-line; color: var(--text); font-size: 16px; line-height: 1.7; margin: 0; }
.detail-aside { display: flex; flex-direction: column; gap: 16px; }
.info-card {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 18px 20px;
}
.info-card h3 {
    font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .11em;
    color: var(--text-2); margin: 0 0 12px;
}
.info-card p { margin: 0; font-size: 14.5px; color: var(--text); }
.hours-list, .detail-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; }
.detail-list li { display: flex; gap: 10px; align-items: baseline; color: var(--text-2); }
.detail-list a { color: var(--accent); }
.detail-list a:hover { color: var(--accent-hover); }
.detail-back { margin-top: 36px; }
.hours-list strong { display: block; font-size: 13px; color: var(--text); font-weight: 650; }
.hours-list span { color: var(--text-2); }
.detail-map { margin-top: 28px; text-align: center; }
.detail-map a {
    display: inline-flex; align-items: center; min-height: var(--tap);
    padding: 10px 20px; border-radius: var(--radius-sm);
    background: var(--accent-soft); color: var(--accent); font-weight: 600; font-size: 14.5px;
}
.detail-map a:hover { text-decoration: none; background: #d8e8df; }

/* ---------- Footer ---------- */
.site-footer {
    border-top: 1px solid var(--border);
    background: var(--surface);
    padding: 56px 0 0; margin-top: 40px;
}
.footer-grid {
    display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px;
    padding-bottom: 48px;
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }
.footer-brand .brand { margin-bottom: 12px; }
.footer-blurb { color: var(--text-2); font-size: 14px; line-height: 1.6; max-width: 320px; margin: 0; }
.footer-col h3 {
    font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .11em;
    color: var(--text-2); margin: 0 0 10px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.footer-col a {
    color: var(--text-2); font-size: 14px; font-weight: 500;
    display: inline-block; padding: 9px 0;   /* ~40px tap target */
}
.footer-col a:hover { color: var(--accent); }
.footer-legal {
    border-top: 1px solid var(--border);
    padding: 20px 32px;
}
.footer-legal p { margin: 0; color: var(--text-2); font-size: 12.5px; }
.footer-legal a { color: var(--text-2); font-weight: 500; display: inline-block; padding: 10px 0; }
.footer-legal a:hover { color: var(--accent); }

/* Mobile detail: top back link (hidden on desktop) */
.back-top { display: none; }
@media (max-width: 720px) {
    .back-top {
        display: inline-flex; align-items: center; gap: 6px;
        font-size: 14px; font-weight: 600; color: var(--text-2);
        margin-bottom: 14px; padding: 8px 0;
    }
    .back-top:hover { color: var(--accent); text-decoration: none; }
}

/* Info-card links (tel/mailto/web) need real tap height */
.detail-list a { display: inline-block; padding: 6px 0; }

/* ---------- Mobile ---------- */
@media (max-width: 720px) {
    /* Full-bleed scroll rails (carousel, chip row) must not widen the page */
    html, body { overflow-x: clip; }
    .wrap { padding: 0 16px; }

    /* Header: brand + segmented toggle only; search lives in hero.
       Grid keeps 1fr auto 1fr so the toggle still sits far right. */
    .header-inner { gap: 10px; height: 58px; }
    .header-search { display: none; }
    .brand-mark { width: 24px; height: 24px; }
    .brand-name { font-size: 17px; }
    .brand-serif { font-size: 18px; }
    .header-nav { justify-self: end; margin-left: 0; }
    .nav-link { padding: 9px 13px; font-size: 13.5px; }   /* ~40px tap height */
    .filter-bar { top: 58px; }

    /* Hero */
    .hero { padding: 44px 0 12px; }
    .hero h1 { font-size: clamp(34px, 9vw, 46px); }
    .hero-sub { font-size: 15.5px; margin-bottom: 22px; }
    .hero-search { padding: 6px 6px 6px 16px; }
    /* 16px prevents iOS auto-zoom on focus */
    .hero-search input { font-size: 16px; }
    .hero-search-btn { padding: 11px 18px; }

    /* Featured rail: horizontal scroll-snap carousel */
    .featured { padding: 36px 0 4px; }
    .featured-head { margin-bottom: 14px; }
    .featured-row {
        display: flex; gap: 14px;
        overflow-x: auto; scroll-snap-type: x mandatory;
        padding: 4px 16px 16px;
        margin: 0 -16px;              /* bleed to screen edges */
        scrollbar-width: none;
        scroll-padding-left: 16px;
    }
    .featured-row::-webkit-scrollbar { display: none; }
    .featured-row .event-card {
        flex: 0 0 82%; scroll-snap-align: start;
    }

    /* Sticky filter bar: scrollable chip row, stacked selects */
    .filter-bar {
        gap: 10px; padding: 10px 0;
        margin: 22px 0 0;
    }
    .chip-group {
        flex-wrap: nowrap; overflow-x: auto;
        margin: 0 -16px; padding: 0 16px 2px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
        mask-image: linear-gradient(to right, #000 88%, transparent 100%);  /* soft right fade = scroll cue */
        -webkit-mask-image: linear-gradient(to right, #000 88%, transparent 100%);
    }
    .chip-group::-webkit-scrollbar { display: none; }
    .chip {
        flex: 0 0 auto; padding: 10px 15px;   /* 40px+ tap target */
        font-size: 14px;
    }
    .filter-bar-right { margin-left: 0; width: 100%; gap: 8px; }
    .select { min-width: 0; flex: 1 1 45%; }
    .result-count { font-size: 13px; }

    /* Grid & cards */
    .grid { gap: 16px; padding: 18px 0 8px; }
    .card-body { padding: 14px 15px 15px; }
    .card-title { font-size: 16.5px; }
    .card-foot { flex-wrap: wrap; row-gap: 8px; }
    .card-cat { margin-left: auto; }

    /* Pagination: generous tap targets */
    .pagination { padding: 8px 0 44px; }

    /* Detail page */
    .detail-wrap { padding: 24px 16px 52px; }
    .detail-hero { aspect-ratio: 16/9; margin-bottom: 20px; }
    .detail-grid { gap: 28px; }
    .detail-title { font-size: clamp(28px, 7.5vw, 38px); }
    .info-card { padding: 16px 17px; }

    /* Footer */
    .site-footer { padding: 40px 0 0; }
    .footer-grid { gap: 26px; padding-bottom: 32px; }
    .footer-legal { padding: 16px 16px; }
}

/* Small phones */
@media (max-width: 380px) {
    .featured-row .event-card { flex-basis: 88%; }
    .nav-link { padding: 8px 10px; font-size: 13px; }
}

/* ============================================================
   PASS 2 — Bold editorial: photographic hero, accent bands, voice
   ============================================================ */

/* ---------- Full-bleed photographic hero (home only) ---------- */
.hero-full {
    position: relative; isolation: isolate;
    display: flex; align-items: flex-end;
    min-height: clamp(468px, 60vh, 640px);   /* cover-crops ~21:9 on desktop */
    overflow: hidden;
    background: #0a3d26;                       /* deep-green fallback under photo */
    border-bottom: 1px solid var(--border);
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
/* The one gradient in the whole system: a scrim strong enough for AA white text */
.hero-scrim {
    position: absolute; inset: 0; z-index: -1;
    background:
        linear-gradient(180deg, rgba(8,22,15,.25) 0%, rgba(8,22,15,.15) 34%, rgba(8,22,15,.82) 100%),
        linear-gradient(75deg, rgba(8,22,15,.70) 0%, rgba(8,22,15,.20) 58%, rgba(8,22,15,0) 82%);
}
.hero-full-inner {
    position: relative; width: 100%; color: #fff;
    padding-top: 60px; padding-bottom: 46px;
}
/* Centered hero variant: everything axis-centered, scrim deepened centrally */
.hero-full-center { text-align: center; }
.hero-full-center .hero-display { margin-inline: auto; }
.hero-full-center .hero-scrim {
    background:
        linear-gradient(180deg, rgba(8,22,15,.30) 0%, rgba(8,22,15,.22) 38%, rgba(8,22,15,.86) 100%);
}
.hero-kicker {
    display: inline-block; margin: 0 0 18px;
    font-size: 12px; font-weight: 700; text-transform: uppercase;
    letter-spacing: .18em; color: #fff;
    background: var(--accent); padding: 6px 13px; border-radius: 6px;
}
.hero-display {
    font-family: var(--font-display);
    font-size: clamp(42px, 8.4vw, 92px);
    font-weight: 700; line-height: .97; letter-spacing: -0.03em;
    margin: 0 auto 26px; max-width: 16ch; color: #fff;
    text-shadow: 0 2px 34px rgba(0,0,0,.34);
}
.hero-search-over {
    max-width: 620px; margin-inline: auto; margin-bottom: 22px;
    border-color: transparent; box-shadow: var(--shadow-pop);
}
/* Stats row sits on a solid accent block — tabular-nums, AA white-on-green */
.hero-stats {
    display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center;
    gap: 9px;
    margin: 0 auto 22px; padding: 9px 16px; border-radius: 8px;
    background: var(--accent); color: #fff;
    font-size: 14px; font-weight: 500; font-variant-numeric: tabular-nums;
}
.hero-stat strong { font-weight: 800; }
.hero-stat-dot { opacity: .5; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.hero-chip {
    display: inline-flex; align-items: center; min-height: var(--tap);
    padding: 8px 16px; border-radius: 999px;
    border: 1.5px solid rgba(255,255,255,.55); color: #fff;
    background: rgba(255,255,255,.08);
    font-weight: 600; font-size: 14px;
    transition: background .15s, border-color .15s, color .15s;
}
.hero-chip:hover { background: #fff; border-color: #fff; color: var(--accent); text-decoration: none; }

/* ---------- Editorial strip (rotating weekly voice) ---------- */
.editorial {
    display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
    padding: 34px 0 8px; margin-top: 6px;
}
.editorial-label {
    align-self: center; white-space: nowrap;
    font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .14em;
    color: var(--accent); background: var(--accent-soft);
    padding: 6px 12px; border-radius: 999px;
}
.editorial-line {
    margin: 0; font-family: var(--font-display);
    font-size: clamp(20px, 3vw, 30px); font-weight: 600;
    letter-spacing: -0.02em; line-height: 1.18; color: var(--text);
}

/* ---------- Full-width accent CTA band ---------- */
.band-cta { background: var(--accent); color: #fff; margin-top: 8px; }
.band-cta-inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 24px; flex-wrap: wrap;
    padding-top: 34px; padding-bottom: 34px;
}
.band-cta-kicker { color: rgba(255,255,255,.72); margin-bottom: 4px; }
.band-cta-line {
    margin: 0; font-family: var(--font-display);
    font-size: clamp(22px, 3.4vw, 32px); font-weight: 600;
    letter-spacing: -0.02em; line-height: 1.15; color: #fff;
}
.band-cta-btn {
    display: inline-flex; align-items: center; min-height: var(--tap);
    padding: 13px 26px; border-radius: var(--radius-sm); flex-shrink: 0;
    background: #fff; color: var(--accent); font-weight: 700; font-size: 15px; white-space: nowrap;
    transition: background .15s, color .15s;
}
.band-cta-btn:hover { background: var(--bg); color: var(--accent-hover); text-decoration: none; }

/* ---------- Mobile: hero stacks, chips scroll, band stacks ---------- */
@media (max-width: 720px) {
    .hero-full { min-height: clamp(440px, 84vw, 560px); }   /* cover-crops ~16:9+ */
    .hero-full-inner { padding-top: 38px; padding-bottom: 30px; }
    .hero-kicker { margin-bottom: 14px; }
    .hero-display { font-size: clamp(33px, 11vw, 48px); margin-bottom: 20px; }
    .hero-search-over { max-width: 100%; margin-bottom: 18px; }
    /* 16px prevents iOS auto-zoom on focus */
    .hero-search-over input { font-size: 16px; }
    .hero-stats { font-size: 13px; padding: 8px 13px; }
    .hero-chips {
        flex-wrap: nowrap; overflow-x: auto;
        margin: 0 -16px; padding: 2px 16px 4px;
        scrollbar-width: none; -webkit-overflow-scrolling: touch;
    }
    .hero-chips::-webkit-scrollbar { display: none; }
    .hero-chip { flex: 0 0 auto; }

    .editorial { padding: 24px 0 4px; gap: 10px; }

    .band-cta-inner { flex-direction: column; align-items: flex-start; padding-top: 26px; padding-bottom: 26px; }
    .band-cta-btn { width: 100%; justify-content: center; }
}




/* ============================================================
   ==== HEADER CONCEPT B — App bar ====
   Single dense sticky row (logo, growing search, pill nav) with
   a sticky, horizontally scrollable category chip strip beneath.
   ============================================================ */
.appbar { position: sticky; top: 0; z-index: 50; background: var(--surface); border-bottom: 1px solid var(--border); }
.appbar-row {
    display: flex; align-items: center; gap: 16px;
    max-width: 1280px; margin: 0 auto; padding: 10px 24px; height: 62px;
}
.apb-brand { display: inline-flex; align-items: center; gap: 9px; flex-shrink: 0; color: var(--text); }
.apb-brand:hover { text-decoration: none; color: var(--text); }
.apb-logo svg { display: block; }
.apb-wordmark { font-size: 18px; font-weight: 800; letter-spacing: -0.02em; }
/* Wordmark inside the appbar reuses the brand-name/brand-serif two-weight treatment */
.apb-wordmark .brand-name { font-size: 18px; font-weight: 800; }
.apb-wordmark .brand-serif { font-size: 19px; }
.apb-search {
    display: flex; align-items: center; gap: 8px;
    background: var(--bg2); border: 1px solid var(--border);
    border-radius: 999px; padding: 0 16px; height: 42px; width: 260px; flex-shrink: 1;
    transition: width .28s cubic-bezier(.4,0,.2,1), box-shadow .15s, border-color .15s, background .15s;
}
.apb-search:focus-within {
    width: 460px; background: var(--surface);
    border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft);
}
.apb-search-icon { display: flex; color: var(--text-3); flex-shrink: 0; }
.apb-search:focus-within .apb-search-icon { color: var(--accent); }
.apb-search input {
    flex: 1; min-width: 0; border: 0; background: transparent; outline: none;
    font: inherit; font-size: 14px; color: var(--text);
}
.apb-nav { display: flex; align-items: center; gap: 6px; margin-left: auto; flex-shrink: 0; }
.apb-pill {
    display: inline-flex; align-items: center; gap: 7px;
    height: var(--tap); padding: 0 14px; border-radius: 999px;
    border: 1px solid var(--border); background: var(--surface);
    color: var(--text-2); font-size: 13.5px; font-weight: 600;
    transition: color .15s, border-color .15s, background .15s;
}
.apb-pill:hover { color: var(--accent); border-color: var(--accent); background: var(--accent-soft); text-decoration: none; }
.apb-pill svg { width: 16px; height: 16px; flex-shrink: 0; }
.apb-submit {
    display: inline-flex; align-items: center; gap: 6px;
    height: var(--tap); padding: 0 16px; border-radius: 999px;
    background: var(--accent); color: #fff; border: 1px solid var(--accent);
    font-size: 13.5px; font-weight: 650; transition: background .15s;
}
.apb-submit:hover { background: var(--accent-hover); color: #fff; text-decoration: none; }
.apb-submit svg { width: 16px; height: 16px; flex-shrink: 0; }
.apb-chip-strip {
    position: sticky; top: 62px; z-index: 49;
    background: rgba(247,246,242,.92); backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid var(--border);
}
.apb-chip-strip-inner {
    display: flex; gap: 8px; align-items: center;
    max-width: 1280px; margin: 0 auto; padding: 10px 24px;
    overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.apb-chip-strip-inner::-webkit-scrollbar { display: none; }
.apb-chip {
    flex: 0 0 auto; display: inline-flex; align-items: center; height: 36px;
    padding: 0 16px; border-radius: 999px; border: 1px solid var(--border);
    background: var(--surface); color: var(--text-2); font-size: 13.5px; font-weight: 600;
    transition: color .15s, border-color .15s, background .15s;
}
.apb-chip:hover { color: var(--accent); border-color: var(--accent); text-decoration: none; }
.apb-chip-on { background: var(--accent); border-color: var(--accent); color: #fff; }
.apb-chip-on:hover { background: var(--accent-hover); color: #fff; }
.header-variant-b .filter-bar { top: 119px; }   /* app bar 62 + chip strip ~57 */

@media (max-width: 720px) {
    .appbar-row { gap: 10px; padding: 8px 16px; height: 56px; }
    .apb-wordmark { display: none; }
    .apb-search { width: auto; flex: 1; }
    .apb-search:focus-within { width: auto; }
    .apb-search input { font-size: 16px; }        /* no iOS zoom */
    .apb-pill-wide { display: none; }             /* those categories live in the chip strip */
    .apb-pill span, .apb-submit span { display: none; }
    .apb-pill, .apb-submit { padding: 0; width: var(--tap); justify-content: center; }
    .apb-chip-strip { top: 56px; }
    .apb-chip-strip-inner { padding: 8px 16px; }
    .header-variant-b .filter-bar { top: 109px; } /* 56 + ~53 */
}
