/* Shelburne Lights — night variant on the Experience Shelburne brand system.
   Loaded AFTER the six ES files. Everything here is additive; the ES tokens
   (dark blue nav/footer, Adriano Etc headings, Public Sans body, green = action,
   blue = informational) stay as they are. */

:root {
    --night: #1B3A52;              /* deeper than brand dark blue, for night bands */
    --night-2: #22465F;            /* lighter night, for cards on night bands */
    --amber: #F4C36B;              /* warm light — the Museum's spritzer warmth */
    --amber-deep: #E0A33C;
    --warm-white: #FFF4DC;         /* lit-window white */
    --night-text: #E6EEF7;
    --night-muted: #AFC3D6;
}

/* ---------- Wordmark ---------- */
.wordmark {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: var(--dark-blue);
    line-height: 1;
}
.wordmark svg { width: 34px; height: 34px; flex-shrink: 0; }
.wordmark-text {
    font-family: 'Adriano Etc', 'Courier New', monospace;
    font-size: 1.5rem;
    letter-spacing: -0.01em;
    white-space: nowrap;
}
.wordmark-text small {
    display: block;
    font-family: 'Public Sans', sans-serif;
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--medium-blue);
    margin-top: 0.3rem;
}
.wordmark--inverse { color: var(--warm-white); }
.wordmark--inverse .wordmark-text small { color: var(--amber); }
.wordmark--inverse svg .star { fill: var(--amber); }

/* ---------- Nav: Light Up is the action button ---------- */
.nav-links .contact-btn { white-space: nowrap; }
/* /next/ 2026-10-22: sponsor badge anchored to the content column (desktop), a text line (phones) */
@media (min-width: 769px) {
    .page-banner .sponsor-badge { bottom: auto; top: 50%; transform: translateY(-50%); right: max(1.25rem, calc((100% - var(--container-xl)) / 2 + var(--space-xl))); }
    .hero-caption .sponsor-badge { top: auto; bottom: 2.25rem; transform: none; }
}
@media (max-width: 768px) {
    .page-banner .sponsor-badge, .page-banner .sponsor-badge:hover { position: static; display: inline-flex; width: auto; background: none; border: 0; padding: 0; margin: 0.9rem auto 0; gap: 0.4rem; }
    .page-banner .sponsor-badge .badge-heart { font-size: 1.05rem; -webkit-text-stroke: 0; text-shadow: none; }
    .page-banner .sponsor-badge-text { flex-direction: row; align-items: baseline; gap: 0.35em; }
    .page-banner .sponsor-badge-line1 { font-size: 0.85rem; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--night-muted); }
    .sponsor-badge-line1::after { content: ' \00b7'; }
    .page-banner .sponsor-badge-line2 { font-size: 0.85rem; text-decoration: underline; text-underline-offset: 2px; }
}

/* /next/ 2026-10-22: Home name, dates and buttons over the lower third of the hero */
.hero-caption { position: relative; }
@media (min-width: 901px) {
    .hero.short.hero--captioned { height: 82vh; min-height: 600px; max-height: 860px; }
    .hero.hero--captioned .hero-caption.page-banner { position: absolute; left: 0; right: 0; bottom: 0; z-index: 6; background: linear-gradient(180deg, rgba(27,58,82,0) 0%, rgba(27,58,82,0.72) 38%, rgba(27,58,82,0.97) 100%); padding: 6rem 0 2.25rem; }
    .hero--captioned .hero-caption .banner-title { font-size: clamp(2.6rem, 5.2vw, 3.8rem); text-shadow: 0 2px 12px rgba(0,0,0,0.35); }
    .hero--captioned .hero-caption .banner-sub { color: var(--night-text); text-shadow: 0 1px 8px rgba(0,0,0,0.45); }
    .hero--captioned .poster-overlay { align-items: flex-start; padding-top: 11%; background-position: center 35%; }
    .hero--captioned .toggle-play-button { top: 36%; }
}

@media (max-width: 900px) {
    /* phones and tablets: picture on top, the name block under it, as before */
    .hero.short.hero--captioned { height: auto; min-height: 0; max-height: none; display: block; overflow: visible; }
    .hero--captioned .hero-media-space { display: block; height: 50vh; min-height: 300px; max-height: 500px; }
    .hero--captioned .hero-video, .hero--captioned .hero-overlay, .hero--captioned .poster-overlay, .hero--captioned .video-overlay { height: 50vh; min-height: 300px; max-height: 500px; }
    .hero--captioned .toggle-play-button { top: 25vh; }
}
@media (max-width: 768px) {
    .hero--captioned .hero-media-space, .hero--captioned .hero-video, .hero--captioned .hero-overlay, .hero--captioned .poster-overlay, .hero--captioned .video-overlay { height: 40vh; min-height: 250px; max-height: 400px; }
    .hero--captioned .toggle-play-button { top: 20vh; }
}
@media (max-width: 480px) {
    .hero--captioned .hero-media-space, .hero--captioned .hero-video, .hero--captioned .hero-overlay, .hero--captioned .poster-overlay, .hero--captioned .video-overlay { height: 35vh; min-height: 220px; max-height: 350px; }
    .hero--captioned .toggle-play-button { top: 17.5vh; }
}
.hero-media-space { display: none; }

/* /next/ 2026-10-22: Community events highlights, one shape for every tile */
.evenings--tiles .evening-band.has-photo { background-size: cover; background-position: center; }
.evenings--tiles .evening-band.has-photo .date { text-shadow: 0 1px 6px rgba(0,0,0,0.5); }
.evenings--tiles .evening-band.has-photo .date small { color: var(--amber, #F3C46B); }
/* /next/ Community events: tiles + compact listing */
.hero.image-only.hero--navy { background: #1c254c; height: auto; min-height: 0; max-height: none; justify-content: center; }
.hero--navy .hero-image--contain { position: static; width: 100%; height: auto; max-height: 460px; object-fit: contain; display: block; }
.evenings--tiles { align-items: stretch; gap: 1rem; max-width: 1040px; }   /* smaller tiles (2026-10-22): capped width, shorter band, tighter type */
.evenings--tiles .evening { padding: 0; overflow: hidden; }
.evenings--tiles .evening-body { padding: 0.9rem 1.1rem 1.05rem; display: flex; flex-direction: column; flex: 1; }
.evenings--events.evenings--tiles .evening h3 { font-size: 1.05rem; line-height: 1.3; margin: 0 0 0.25rem; }
.evenings--events.evenings--tiles .evening .date { font-size: 1.4rem; }
.evenings--events.evenings--tiles .evening p { font-size: 0.85rem; }
.evenings--events.evenings--tiles .evening .when { margin-top: 0.6rem; }
.evenings--events.evenings--tiles .tier-pill { font-size: 0.66rem; }
.evenings--tiles .evening-photo { width: 100%; height: 160px; object-fit: cover; display: block; }
.evenings--tiles .evening-band { height: 118px; background: linear-gradient(160deg, var(--dark-blue), #2D5475); display: flex; align-items: flex-end; padding: 0.75rem 1.1rem; }
.evenings--events.evenings--tiles .evening-band .date { color: var(--white); font-size: 1.5rem; }
.evenings--events.evenings--tiles .evening-band .date small { font-size: 0.66rem; margin-bottom: 0.25rem; }
.evenings--tiles .evening-band .date small { color: var(--amber, #F3C46B); }
.ce-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin: 0 0 1rem; }
.ce-filter { font: 700 0.8rem/1 'Public Sans', sans-serif; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.55rem 0.9rem; border-radius: 999px; border: 1px solid var(--border-light); background: var(--white); color: var(--dark-blue); cursor: pointer; }
.ce-filter:hover { border-color: var(--bright-blue); }
.ce-filter.is-on { background: var(--dark-blue); border-color: var(--dark-blue); color: var(--white); }
.ce-count { margin-left: auto; font-size: 0.9rem; color: var(--text-tertiary); }
.ce-table { max-width: 1000px; margin: 0 auto; }
.cer-week { font-family: 'Adriano Etc', 'Courier New', monospace; font-weight: normal; font-size: 1.5rem; color: var(--dark-blue); margin: 2rem 0 0.4rem; padding-bottom: 0.3rem; border-bottom: 2px solid var(--border-light); }
.cer-week:first-child { margin-top: 0; }
.cer { display: grid; grid-template-columns: 6.5rem 9rem 1fr 11rem; gap: 0.5rem 1rem; align-items: baseline; padding: 0.7rem 0.5rem; border-bottom: 1px solid var(--border-light); color: var(--text-primary); text-decoration: none; border-radius: var(--radius-sm); }
a.cer:hover { background: var(--bg-light); }
a.cer:hover .cer-title { text-decoration: underline; }
.cer-date { color: var(--dark-blue); white-space: nowrap; } .cer-date b { font-weight: 700; }
.cer-time { color: var(--text-secondary); font-size: 0.95rem; }
.cer-title { font-weight: 700; color: var(--dark-blue); }
.cer-venue { color: var(--text-secondary); font-size: 0.92rem; text-align: right; }
.cer .tier-pill { display: inline-block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.12rem 0.4rem; border-radius: 4px; background: var(--bg-light); color: var(--dark-blue); margin-left: 0.3rem; vertical-align: middle; }
.cer .tier-pill.signature { background: var(--light-blue); } .cer .tier-pill.tbc { background: transparent; border: 1px solid var(--border-light); color: var(--text-tertiary); }
.cer.tbc .cer-title { color: var(--text-secondary); }
@media (max-width: 760px) { .cer { grid-template-columns: 1fr 1fr; gap: 0.25rem 1rem; } .cer-main { grid-column: 1 / -1; order: -1; } .cer-venue { grid-column: 1 / -1; text-align: left; } .evenings--tiles { grid-template-columns: 1fr; } }
/* /next/ Lights page: three stacked feature cards */
.tier1--static:hover { transform: none; box-shadow: var(--shadow-lg); }
.tier1 .roster-list--night { margin: 0.25rem 0 0.75rem; width: 100%; }
.tier1 .roster-list--night li { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.22); color: var(--white); font-size: 0.9rem; }
.tier1 .roster-list--night li a { color: var(--white); text-decoration: none; } .tier1 .roster-list--night li a:hover { text-decoration: underline; }
.tier1 .roster-list--night li small { color: var(--night-muted); }
.tier1 .cta-row--left { width: 100%; justify-content: flex-start; margin-top: 0.25rem; }
.tier1 .cta-row--left .cta-button { padding: 0.6rem 1.1rem; font-size: 0.95rem; }
/* /next/ Explore section (2026-10-22): hub cards, the village cards and the tour stops ported from SFM, the directory list, the Passport snowflake */
.explore-cards { display: grid; gap: 1.5rem; max-width: var(--container-xl); margin: 0 auto; }
.explore-card { display: grid; grid-template-columns: 2fr 3fr; background: var(--white); border: 2px solid var(--border-light); border-radius: var(--radius-xl); overflow: hidden; text-decoration: none; color: var(--text-primary); box-shadow: var(--shadow-md); transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base); }
.explore-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-xl); border-color: var(--bright-blue); }
.explore-card img { width: 100%; height: 100%; min-height: 240px; object-fit: cover; display: block; }
.explore-card-body { padding: 2rem 2.25rem; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 0.5rem; }
.explore-card-body h2 { font-family: 'Adriano Etc', 'Courier New', monospace; font-weight: normal; font-size: clamp(1.6rem, 2.6vw, 2.1rem); color: var(--dark-blue); margin: 0; line-height: 1.15; }
.explore-card-body p { color: var(--text-secondary); font-size: 1rem; line-height: 1.6; margin: 0 0 0.5rem; }
.explore-card-body .cta-button { padding: 0.6rem 1.1rem; font-size: 0.95rem; }
@media (max-width: 700px) { .explore-card { grid-template-columns: 1fr; } .explore-card img { min-height: 0; aspect-ratio: 16/9; } .explore-card-body { padding: 1.4rem 1.5rem 1.6rem; } }
.village-map-frame { border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-md); }
.map-caption { text-align: center; font-size: 0.85rem; color: var(--text-tertiary); margin: 0.8rem auto 0; max-width: 70ch; }
.flake { display: inline-block; color: var(--amber-deep); font-style: normal; font-size: 1.25em; line-height: 1; text-decoration: none; vertical-align: -0.1em; font-weight: 400; }
a.pp-flake { margin-right: 0.1rem; padding: 0 0.1rem; transition: transform 0.2s ease; } a.pp-flake:hover { color: var(--medium-blue); text-decoration: none; transform: scale(1.2); }
/* a Passport stop reads brighter than its neighbours: amber flake in front, a brighter name, a tinted row or card */
.is-passport .place-name, .is-passport .place-name a { color: var(--medium-blue); }
.is-passport .place-name a.pp-flake, .village-card.is-passport h3 a.pp-flake { color: var(--amber-deep); font-size: 1.4em; }
.dir-list li.is-passport { background: linear-gradient(90deg, rgba(244,195,107,0.22), rgba(244,195,107,0) 70%); margin-left: -0.6rem; padding-left: 0.6rem; border-radius: 6px; }
.village-card.is-passport { border-color: var(--amber-deep); box-shadow: 0 0 0 3px rgba(244,195,107,0.35), var(--shadow-sm); }
.village-card.is-passport h3 { color: var(--medium-blue); }
.listing-legend .flake { font-size: 1.1rem; }
.seasonal { display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-tertiary); background: var(--bg-light); border-radius: 4px; padding: 0.1rem 0.4rem; margin-left: 0.25rem; vertical-align: 0.1em; }
.seasonal-dot { display: inline-block; width: 10px; height: 10px; border-radius: 2px; background: var(--bg-light); border: 1px solid var(--border-medium); }
/* village cards (from SFM explore-village.html) */
.village-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; max-width: var(--container-xl); margin: 0 auto; align-items: stretch; }
@media (max-width: 900px) { .village-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .village-grid { grid-template-columns: 1fr; max-width: 420px; } }
.category-header { max-width: var(--container-xl); margin: 0 auto 1rem; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1.5px; font-weight: 600; padding-bottom: 0.5rem; border-bottom: 2px solid var(--border-light); }
.category-header.food { color: #C0392B; } .category-header.shopping { color: var(--dark-blue); } .category-header.landmark { color: #6B8E23; }
.category-header + .village-grid { margin-bottom: 2.5rem; }
.village-card { background: var(--white); border: 1px solid var(--border-light); border-radius: var(--radius-md); padding: 1.4rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease; }
.village-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--medium-blue); }
.village-card-num { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; color: #fff; font-size: 0.75rem; font-weight: 700; flex-shrink: 0; margin-right: 0.5rem; font-family: 'Public Sans', sans-serif; }
.village-card-num.food { background: #C0392B; } .village-card-num.shopping { background: var(--dark-blue); } .village-card-num.landmark { background: #6B8E23; }
.village-card h3 { font-family: 'Public Sans', sans-serif; font-weight: 700; color: var(--dark-blue); margin: 0 0 0.4rem; font-size: 1.05rem; display: flex; align-items: center; }
.village-card h3 a { color: inherit; text-decoration: none; } .village-card h3 a:hover { text-decoration: underline; }
.village-card .village-card-address { font-size: 0.8rem; color: var(--text-tertiary); margin: 0 0 0.5rem; }
.village-card .village-card-detail { font-size: 0.9rem; line-height: 1.65; color: var(--text-secondary); margin: 0; flex: 1; }
/* tour stops (from SFM explore-walking-tour.html) */
.tour-intro { display: flex; gap: 3rem; align-items: flex-start; max-width: var(--container-xl); margin: 0 auto; }
.tour-cover-col { flex-shrink: 0; width: 240px; display: flex; flex-direction: column; }
.tour-cover img { width: 100%; height: auto; display: block; border-radius: var(--radius-sm); box-shadow: var(--shadow-md); }
.tour-cover-btn { display: block; margin-top: 1rem; text-align: center; font-size: 0.92rem; }
.tour-intro-text p { font-size: 1.02rem; line-height: 1.8; color: var(--text-secondary); margin: 0 0 1.1rem; }
.tour-intro-text p:first-of-type { font-size: 1.1rem; color: var(--dark-blue); }
@media (max-width: 820px) { .tour-intro { flex-direction: column; align-items: center; gap: 2rem; } .tour-intro-text { max-width: 62ch; } }
.tour-map-frame { width: 640px; max-width: 100%; margin: 0 auto; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-md); }
.tour-map-frame iframe { width: 100%; height: 780px; border: none; display: block; }
@media (max-width: 700px) { .tour-map-frame iframe { height: 620px; } }
.leg-header { max-width: var(--container-xl); margin: 0 auto 1.25rem; display: flex; align-items: baseline; gap: 0.75rem; padding-bottom: 0.5rem; border-bottom: 2px solid var(--border-light); }
.leg-header h2 { font-family: 'Public Sans', sans-serif; font-size: 1.05rem; text-transform: uppercase; letter-spacing: 1.5px; font-weight: 600; color: var(--dark-blue); margin: 0; }
.leg-header .leg-range { font-size: 0.8rem; color: var(--text-tertiary); font-weight: 600; white-space: nowrap; }
.stop-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.75rem; max-width: var(--container-xl); margin: 0 auto 3rem; align-items: start; }
@media (max-width: 900px) { .stop-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .stop-grid { grid-template-columns: 1fr; max-width: 460px; } }
.stop-card { background: var(--white); border: 1px solid var(--border-light); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; overflow: hidden; scroll-margin-top: 90px; }
.stop-card:target { border-color: var(--amber-deep); box-shadow: 0 0 0 3px rgba(224,163,60,0.25), var(--shadow-md); }
.stop-card img { width: 100%; height: auto; display: block; background: var(--bg-light); }
.stop-card-body { padding: 1.2rem 1.4rem 1.4rem; }
.stop-card-num { display: inline-flex; align-items: center; justify-content: center; min-width: 26px; height: 26px; padding: 0 7px; border-radius: 13px; background: var(--dark-blue); color: #fff; font-size: 0.75rem; font-weight: 700; flex-shrink: 0; margin-right: 0.55rem; font-family: 'Public Sans', sans-serif; }
.stop-card--parade .stop-card-num { background: var(--amber-deep); color: var(--night); }
.stop-card h3 { font-family: 'Public Sans', sans-serif; font-weight: 700; color: var(--dark-blue); margin: 0 0 0.4rem; font-size: 1.05rem; line-height: 1.35; display: flex; align-items: flex-start; }
.stop-card-meta { font-size: 0.8rem; color: var(--text-tertiary); margin: 0 0 0.65rem; line-height: 1.5; }
.stop-card-meta .stop-card-style { display: block; font-style: italic; }
.stop-card p.stop-card-detail { font-size: 0.9rem; line-height: 1.65; color: var(--text-secondary); margin: 0; }
.tour-aside { max-width: var(--container-xl); margin: 0 auto 3rem; background: var(--light-blue); border-radius: var(--radius-md); padding: 1.5rem 1.9rem; border-left: 4px solid var(--medium-blue); }
.tour-aside h3 { font-family: 'Public Sans', sans-serif; color: var(--dark-blue); margin: 0 0 0.6rem; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 1px; }
.tour-aside p { font-size: 0.92rem; line-height: 1.7; color: var(--text-secondary); margin: 0; }
/* the directory */
a.subnav-label { text-decoration: none; } a.subnav-label:hover { color: var(--medium-blue); }
.dir-tools { max-width: var(--container-xl); margin: 0 auto 1.5rem; display: grid; gap: 0.9rem; justify-items: center; }
.dir-search { display: flex; align-items: center; gap: 0.6rem; width: 100%; max-width: 720px; background: var(--white); border: 2px solid var(--border-medium); border-radius: 999px; padding: 0.55rem 1.1rem; color: var(--text-tertiary); }
.dir-search:focus-within { border-color: var(--medium-blue); }
.dir-search input { flex: 1; border: 0; outline: 0; background: transparent; font: 400 1rem 'Public Sans', sans-serif; color: var(--text-primary); min-width: 0; }
.dir-search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.dir-filters { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0.5rem; }
.dir-filter { font: 700 0.95rem/1 'Public Sans', sans-serif; padding: 0.6rem 1.1rem; border-radius: 999px; border: 2px solid var(--medium-green); background: var(--white); color: var(--medium-green); cursor: pointer; }
.dir-filter:hover { background: #F2F7E6; }
.dir-filters--cat .dir-filter.is-on { background: var(--medium-green); border-color: var(--medium-green); color: var(--white); }
.dir-filters--where .dir-filter { border-color: var(--dark-blue); color: var(--dark-blue); }
.dir-filters--where .dir-filter:hover { background: var(--bg-light); }
.dir-filters--where .dir-filter.is-on { background: var(--dark-blue); color: var(--white); }
.dir-count { font-size: 0.9rem; color: var(--text-tertiary); margin-left: 0.5rem; }
@media (max-width: 600px) { .dir-filter { font-size: 0.85rem; padding: 0.5rem 0.85rem; } }
.cer[hidden], .cer-week[hidden], .dir-list[hidden], .dir-list li[hidden], .dir-section[hidden], .dir-group[hidden] { display: none !important; }
.ce-tools { margin-bottom: 0.9rem; }
.ce-filters--center { justify-content: center; }
.ce-filters--center .ce-count { margin-left: 0.5rem; }
.dir-jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin: 0 auto 1.25rem; }
.dir-jump a { font-family: 'Public Sans', sans-serif; font-weight: 600; font-size: 0.9rem; color: var(--dark-blue); background: var(--light-blue); border-radius: var(--radius-full); padding: 0.45rem 1rem; text-decoration: none; }
.dir-jump a:hover { background: var(--bright-blue); }
.dir-section { scroll-margin-top: 80px; }
/* 2026-10-23: Passport stops first in each directory section, then a labeled divider */
.dir-group--pp { display: flex; align-items: center; gap: 0.45rem; }
.dir-group--pp .flake { font-size: 1.2rem; letter-spacing: 0; }
.dir-divider { max-width: var(--container-xl); margin: 1.6rem auto 0.4rem; display: flex; align-items: center; gap: 1rem; font-family: 'Public Sans', sans-serif; font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; color: var(--text-tertiary); }
.dir-divider::before, .dir-divider::after { content: ''; flex: 1; height: 2px; background: var(--border-medium); }
.dir-divider[hidden] { display: none !important; }
/* Home "Between the lights" cards sit on the soft band (2026-10-23) */
.home-between { margin-top: 1.5rem; }
.dir-group { font-family: 'Public Sans', sans-serif; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1.5px; font-weight: 600; color: var(--dark-blue); max-width: var(--container-xl); margin: 1.5rem auto 0.75rem; padding-bottom: 0.4rem; border-bottom: 2px solid var(--border-light); }
.dir-list { list-style: none; margin: 0 auto 1rem; padding: 0; max-width: var(--container-xl); columns: 2; column-gap: 3rem; }
.dir-list li { break-inside: avoid; padding: 0.55rem 0; border-bottom: 1px solid var(--border-light); font-size: 0.95rem; line-height: 1.55; color: var(--text-secondary); }
.dir-list .place-name { font-weight: 700; color: var(--dark-blue); }
.dir-list .place-name a { color: var(--dark-blue); text-decoration: none; } .dir-list .place-name a:hover { text-decoration: underline; color: var(--medium-blue); }
.dir-list .awards { display: block; font-size: 0.8rem; color: var(--text-tertiary); margin-top: 0.15rem; }
/* 2026-10-25: Passport stop extras in the directory: the stop card's perk and Village Night hours, from passport.json */
/* 2026-10-25: Passport rows at the top of each directory section sit apart as cards; the banner's snowflake glows amber on night */
.dir-list--pp li.is-passport { margin-bottom: 0.75rem; padding: 0.7rem 0.75rem 0.75rem 0.75rem; margin-left: -0.75rem; border-bottom: 0; }
.page-banner.night .flake { color: var(--amber); }
@media (max-width: 760px) { .dir-list--pp li.is-passport { margin-left: 0; } }   /* one column on phones: keep the card inside the page edge */
.dir-list .dir-pp { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 0.8rem; margin-top: 0.4rem; }
.dir-pp-perk { font-size: 0.9rem; line-height: 1.4; color: var(--dark-blue); }
.dir-pp-k { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #8A5A00; margin-right: 0.4rem; }
.dir-pp-perk em { color: var(--text-tertiary); }
@media (max-width: 760px) { .dir-list { columns: 1; } }
/* /next/ mock-up: five items in the bar; the logo never shrinks. */
.logo { flex-shrink: 0; }
@media (min-width: 901px) { .nav-links { gap: 0.75rem; margin-left: 2.5rem; } .nav-links a { white-space: nowrap; padding-left: 0.65rem; padding-right: 0.65rem; } }

/* ---------- Hero ---------- */
.hero.lights-hero {
    height: 80vh;
    min-height: 520px;
    max-height: 860px;
    background: var(--night);
    justify-content: center;
}
.hero.lights-hero .hero-image { object-position: center 40%; }
.hero.lights-hero .hero-overlay {
    background: linear-gradient(180deg, rgba(27,58,82,0.10) 0%, rgba(27,58,82,0.30) 50%, rgba(27,58,82,0.88) 100%);
}
@media (max-width: 600px) {
    .hero.lights-hero .hero-overlay { background: linear-gradient(180deg, rgba(27,58,82,0.25) 0%, rgba(27,58,82,0.55) 45%, rgba(27,58,82,0.92) 100%); }
}
.hero.lights-hero .hero-content {
    text-align: center;
    padding-bottom: 3rem;
    align-self: flex-end;
}
.hero-kicker {
    display: inline-block;
    font-family: 'Public Sans', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: 0.75rem;
    text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}
.hero.lights-hero h1 {
    margin: 0 auto 0.75rem;
    max-width: 1000px;
    font-size: clamp(2.4rem, 6vw, 4.25rem);
}
.hero-sub {
    color: var(--warm-white);
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    max-width: 760px;
    margin: 0 auto 1.5rem;
    text-shadow: 0 1px 10px rgba(0,0,0,0.6);
    line-height: 1.55;
}
.hero-actions { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }
.hero-actions .cta-button { box-shadow: 0 4px 18px rgba(0,0,0,0.35); }
.cta-button.cta-amber { background: var(--amber); color: var(--night); border-color: transparent; }
.cta-button.cta-amber:hover { background: var(--amber-deep); border-color: var(--amber-deep); color: var(--night); box-shadow: 0 4px 12px rgba(224,163,60,0.4); }
.cta-button.cta-ghost { background: rgba(255,255,255,0.12); color: var(--warm-white); border-color: rgba(255,255,255,0.55); }
.cta-button.cta-ghost:hover { background: rgba(255,255,255,0.22); border-color: var(--warm-white); color: var(--white); }

/* ---------- Presented-by strip under the hero ---------- */
.presented-by {
    background: var(--night);
    color: var(--night-muted);
    padding: 0.9rem var(--space-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.presented-by img { height: 38px; width: auto; opacity: 0.95; }
.presented-by img.pb-museum { height: 34px; position: relative; top: -3px; }
.presented-by .sep { opacity: 0.4; }

/* ---------- Page banner (dark) ---------- */
.page-banner.night { background: var(--night); }
.page-banner.night .banner-title { color: var(--warm-white); }
/* /next/ banners */
.page-banner.night .banner-sub { color: var(--night-text); margin: 0.6rem auto 0; max-width: 760px; font-size: 1.25rem; line-height: 1.5; text-wrap: balance; }
@media (max-width: 600px) { .page-banner.night .banner-sub { font-size: 1.1rem; } }
.page-banner.night .banner-sub a { color: var(--amber); }

/* ---------- Split hero (2026-10-28): title panel beside an uncropped photo, for pages whose photo has a tall subject.
   Wrap .page-banner + .hero.image-only in <div class="hero-split">. Desktop: panel 40% / photo 60% at 4:3; phones: stacked. ---------- */
.hero-split { display: flex; align-items: stretch; }
.hero-split .page-banner { flex: 0 0 40%; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 2.5rem clamp(1.5rem, 5vw, 4rem); text-align: left; }
.hero-split .banner-content { text-align: left; margin: 0; max-width: none; padding: 0; }
.hero-split .page-banner.night .banner-sub { margin: 0.6rem 0 0; max-width: 22ch; }
.hero-split .page-banner .sponsor-badge, .hero-split .page-banner .sponsor-badge:hover { position: static; transform: none; margin: 1.5rem 0 0; display: inline-flex; }
.hero-split .hero.image-only { flex: 1 1 60%; height: auto; min-height: 0; max-height: 720px; aspect-ratio: 4 / 3; }
.hero-split .hero-image { object-position: center center; }
@media (max-width: 768px) {
    .hero-split { flex-direction: column; }
    .hero-split .page-banner { flex: none; align-items: center; text-align: center; padding: 2rem var(--space-md); }
    .hero-split .banner-content { text-align: center; padding: 0; }
    .hero-split .page-banner.night .banner-sub { margin: 0.6rem auto 0; max-width: 760px; }
    .hero-split .page-banner .sponsor-badge, .hero-split .page-banner .sponsor-badge:hover { margin: 0.9rem auto 0; }
    .hero-split .hero.image-only { width: 100%; aspect-ratio: 4 / 3; max-height: none; }
}

/* ---------- Tonight / next-up strip ---------- */
.tonight {
    background: var(--night-2);
    color: var(--night-text);
    padding: 1.1rem var(--space-xl);
}
.tonight-inner {
    max-width: var(--container-xl);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}
.tonight-label {
    font-family: 'Public Sans', sans-serif;
    font-weight: 700;
    font-size: 0.74rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--amber);
    display: flex; align-items: center; gap: 0.5rem;
}
.tonight-label::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 10px var(--amber); }
.tonight-items { display: flex; gap: 1.5rem; flex-wrap: wrap; flex: 1; }
.tonight-item { font-size: 1rem; }
.tonight-item strong { color: var(--warm-white); font-weight: 600; }
.tonight-item span { color: var(--night-muted); }
.tonight a.more { color: var(--amber); text-decoration: none; font-weight: 600; white-space: nowrap; }
.tonight a.more:hover { text-decoration: underline; }

/* ---------- Section headings ---------- */
.section-head { text-align: center; max-width: 800px; margin: 0 auto 2rem; }
.section-head h2 {
    font-family: 'Adriano Etc', 'Courier New', monospace;
    font-weight: normal;
    font-size: clamp(1.9rem, 3.4vw, 2.5rem);
    color: var(--dark-blue);
    letter-spacing: -0.01em;
    margin-bottom: 0.6rem;
}
.section-head p { color: var(--text-secondary); font-size: 1.1rem; line-height: 1.7; }
.section-kicker {
    display: block;
    font-weight: 700; font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--medium-blue); margin-bottom: 0.5rem;
}
.night-band { background: var(--night); color: var(--night-text); padding: 3.5rem 0 3rem; }
.night-band .section-head h2 { color: var(--warm-white); }
.night-band .section-head p { color: var(--night-muted); }
.night-band .section-kicker { color: var(--amber); }

/* ---------- Tier tiles ---------- */
.tiers {
    max-width: var(--container-xl);
    margin: 0 auto;
    padding: 0 var(--space-xl);
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 1.25rem;
}
.tier {
    position: relative;
    display: flex; flex-direction: column; justify-content: flex-end;
    min-height: 320px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    text-decoration: none;
    color: var(--white);
    background: var(--night-2);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.tier:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); }
.tier img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 600ms ease; }
.tier:hover img { transform: scale(1.04); }
.tier::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(27,58,82,0) 30%, rgba(27,58,82,0.92) 100%); }
.tier-body { position: relative; z-index: 1; padding: 1.5rem; }
.tier-tag {
    display: inline-block; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--night); background: var(--amber); padding: 0.3rem 0.6rem; border-radius: var(--radius-sm); margin-bottom: 0.7rem;
}
.tier-tag.blue { background: var(--light-blue); color: var(--dark-blue); }
.tier h3 { font-family: 'Adriano Etc', 'Courier New', monospace; font-weight: normal; font-size: 1.7rem; line-height: 1.15; margin-bottom: 0.4rem; color: var(--white); }
.tier--premier h3 { font-size: 1.9rem; }
.tier p { color: var(--night-text); font-size: 0.95rem; line-height: 1.5; margin: 0; }
.tier .tier-org { display: block; margin-top: 0.6rem; font-size: 0.74rem; color: var(--night-muted); letter-spacing: 0.04em; }

/* ---------- Evening cards (Village Nights) ---------- */
.evenings[hidden] { display: none; }   /* 2026-10-29: the grid rule below used to beat the hidden attribute (#ceFeatured) */
.evenings { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; max-width: var(--container-xl); margin: 0 auto; padding: 0 var(--space-xl); }
.evening {
    background: var(--white); border: 2px solid var(--border-light); border-radius: var(--radius-lg);
    padding: 1.5rem; text-decoration: none; color: var(--text-primary); display: flex; flex-direction: column;
    transition: all var(--transition-base);
}
.evening:hover { border-color: var(--bright-blue); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.evening .date { font-family: 'Adriano Etc', 'Courier New', monospace; color: var(--dark-blue); font-size: 1.9rem; line-height: 1; }
.evening .date small { display: block; font-family: 'Public Sans', sans-serif; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--medium-blue); margin-bottom: 0.4rem; }
.evening h3 { font-family: 'Public Sans', sans-serif; font-size: 1rem; font-weight: 700; color: var(--dark-blue); margin: 0.9rem 0 0.4rem; }
.evening p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.55; margin: 0; flex: 1; }
.evening .when { margin-top: 0.9rem; font-size: 0.85rem; color: var(--text-tertiary); }
.evenings--events { margin-top: 0.5rem; }
.evenings--events .evening h3 { font-family: 'Adriano Etc', 'Courier New', monospace; font-weight: normal; font-size: 1.35rem; line-height: 1.2; margin: 0.8rem 0 0.35rem; }
.evenings--events .evening .date { font-size: 1.5rem; }
.evenings--events .tier-pill { display: inline-block; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; padding: 0.15rem 0.45rem; border-radius: 4px; background: var(--bg-light); color: var(--dark-blue); }
.evenings--events .tier-pill.signature { background: var(--light-blue); }
.evening--wide { grid-column: 1 / -1; flex-direction: row; gap: 1.5rem; align-items: flex-start; }
.evening--wide:hover { transform: none; box-shadow: none; border-color: var(--border-light); }
.evening--wide .date { flex: 0 0 11rem; }
.evening--wide .evening-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.evening--wide h3 { margin-top: 0; }
.evening--wide .when a { color: var(--medium-blue); font-weight: 600; }
.ev-mini { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 0.45rem 1.5rem; align-items: start; }
.ev-mini li { display: flex; gap: 0.6rem; font-size: 0.92rem; line-height: 1.45; }
.ev-mini .d { flex: 0 0 5.6rem; white-space: nowrap; font-weight: 700; color: var(--dark-blue); }
.ev-mini .n a { color: var(--text-primary); }
.ev-mini .w { color: var(--text-tertiary); }
@media (max-width: 768px) { .evening--wide { flex-direction: column; gap: 0.5rem; } .evening--wide .date { flex: none; } }
/* community-events.html */
.ce-list { max-width: 900px; margin: 0 auto; }
.ce-loading { text-align: center; color: var(--text-tertiary); padding: 2rem 0; }
.ce-day { display: flex; align-items: baseline; gap: 0.9rem; flex-wrap: wrap; margin: 2.2rem 0 0.6rem; padding-bottom: 0.4rem; border-bottom: 2px solid var(--border-light); }
.ce-day:first-child { margin-top: 0; }
.ce-date { font-family: 'Adriano Etc', 'Courier New', monospace; font-weight: normal; font-size: 1.7rem; color: var(--dark-blue); line-height: 1.1; }
.ce-vn { font-family: 'Public Sans', sans-serif; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; background: var(--light-blue); color: var(--dark-blue); padding: 0.2rem 0.5rem; border-radius: var(--radius-sm); }
.ce { padding: 1rem 0 1.1rem; border-bottom: 1px solid var(--border-light); }
.ce:last-child { border-bottom: 0; }
.ce h3 { font-family: 'Public Sans', sans-serif; font-size: 1.1rem; font-weight: 700; margin: 0 0 0.3rem; color: var(--dark-blue); }
.ce h3 a { color: inherit; text-decoration: none; }
.ce h3 a:hover { text-decoration: underline; }
.ce-tbc { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-tertiary); margin-left: 0.3rem; }
.ce.tbc h3 { color: var(--text-secondary); }
.ce-meta { margin: 0 0 0.35rem; font-size: 0.92rem; color: var(--text-secondary); display: flex; flex-wrap: wrap; gap: 0.25rem 0; }
.ce-meta span + span::before { content: '\00b7'; margin: 0 0.5rem; color: var(--gray-300); }
.ce > p { margin: 0 0 0.35rem; color: var(--text-secondary); line-height: 1.55; }
.ce-links { font-size: 0.9rem; display: flex; gap: 1.25rem; flex-wrap: wrap; }
.ce-links .ce-more { font-weight: 600; color: var(--medium-blue); }
.ce-foot { margin-top: 1.5rem; }
.evening.tentative .date::after { content: ' ·'; color: var(--gray-300); }

/* ---------- Detail page: evening layout ---------- */
.evening-detail { max-width: 1000px; margin: 0 auto; padding: 0 var(--space-xl); }
.evening-detail { scroll-margin-top: 96px; }   /* date buttons land below the sticky header (2026-10-23) */
.vn-jump { max-width: 1000px; margin: 1.5rem auto 0.5rem; padding: 0 var(--space-xl); }
.evening-detail + .evening-detail { margin-top: 3.5rem; padding-top: 3rem; border-top: 1px solid var(--border-light); }
.evening-head { display: flex; align-items: baseline; gap: 1.25rem; flex-wrap: wrap; margin-bottom: 0.5rem; }
.evening-head .date { font-family: 'Adriano Etc', 'Courier New', monospace; font-size: 2.6rem; color: var(--dark-blue); line-height: 1; }
.evening-head h2 { font-family: 'Adriano Etc', 'Courier New', monospace; font-weight: normal; font-size: 1.9rem; color: var(--medium-blue); margin: 0; }
.evening-meta { color: var(--text-tertiary); font-size: 0.95rem; margin-bottom: 1.5rem; }
.anchors { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.anchor { background: var(--white); border: 1px solid var(--border-light); border-radius: var(--radius-md); padding: 1.1rem 1.2rem; }
.anchor h4 { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--medium-blue); margin-bottom: 0.6rem; }
.anchor ul { list-style: none; padding: 0; margin: 0; }
.anchor li { font-size: 0.95rem; line-height: 1.45; padding: 0.3rem 0; border-top: 1px solid var(--border-light); color: var(--text-primary); }
.anchor li:first-child { border-top: 0; padding-top: 0; }
.anchor li.tbc { color: var(--text-tertiary); font-style: italic; }
.also { margin-top: 1.25rem; background: var(--light-blue); border-radius: var(--radius-md); padding: 1rem 1.2rem; color: var(--dark-blue); font-size: 0.95rem; line-height: 1.55; }
.also strong { display: block; font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 0.3rem; }

/* ---------- Feature rows (image + text) ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; max-width: var(--container-xl); margin: 0 auto; padding: 0 var(--space-xl); }
.feature.reverse > .feature-text { order: -1; }
.feature img { width: 100%; border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); aspect-ratio: 4/3; object-fit: cover; }
.feature h2 { font-family: 'Adriano Etc', 'Courier New', monospace; font-weight: normal; font-size: 1.9rem; color: var(--dark-blue); margin-bottom: 0.9rem; letter-spacing: -0.01em; }
.feature p { color: var(--text-secondary); font-size: 1.1rem; line-height: 1.7; margin-bottom: 1rem; }
.feature .cta-button { margin-top: 0.5rem; }
.night-band .feature h2 { color: var(--warm-white); }
.night-band .feature p { color: var(--night-text); }

/* ---------- Simple lists: shop / dine / play / stay ---------- */
.four-lists { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; max-width: var(--container-xl); margin: 0 auto; padding: 0 var(--space-xl); }
.four-lists--five { grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.list-card { background: var(--white); border: 2px solid var(--border-light); border-radius: var(--radius-lg); padding: 1.5rem; text-decoration: none; color: inherit; transition: all var(--transition-base); }
.list-card:hover { border-color: var(--bright-blue); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.list-card h3 { font-family: 'Adriano Etc', 'Courier New', monospace; font-weight: normal; font-size: 1.5rem; color: var(--dark-blue); margin-bottom: 0.4rem; }
.list-card p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.5; margin: 0; }

/* ---------- Ways to join (Light Up page) ---------- */
.ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; align-items: start; max-width: 1000px; margin: 0 auto; padding: 0 var(--space-xl); }
.way { background: var(--white); border: 2px solid var(--border-light); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; }
.way img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.way-body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.way h3 { font-family: 'Adriano Etc', 'Courier New', monospace; font-weight: normal; font-size: 1.5rem; color: var(--dark-blue); margin-bottom: 0.5rem; }
.way p { color: var(--text-secondary); font-size: 1rem; line-height: 1.6; margin: 0 0 1rem; }
.way ul { margin: 0 0 1rem 1.1rem; color: var(--text-secondary); font-size: 0.95rem; line-height: 1.6; }
.way .cta-button { margin-top: auto; align-self: flex-start; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.25rem; align-items: stretch; max-width: 1000px; margin: 0 auto; padding: 0 var(--space-xl); }
.step { background: var(--white); border: 2px solid var(--border-light); border-radius: var(--radius-lg); padding: 1.5rem; position: relative; }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: -16px; left: 1.25rem; width: 32px; height: 32px; border-radius: 50%; background: var(--amber); color: var(--night); font-weight: 700; display: grid; place-items: center; font-size: 0.95rem; box-shadow: var(--shadow-sm); }
.step h3 { font-family: 'Public Sans', sans-serif; font-weight: 700; font-size: 1rem; color: var(--dark-blue); margin: 0.4rem 0 0.5rem; }
.step p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.55; margin: 0; }
.steps--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; max-width: 1200px; }
/* "Show, don't tell" blocks (from the host one-pagers, 2026-10-21) */
.ask-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; max-width: 1000px; margin: 0 auto; padding: 0 var(--space-xl); }
.ask { display: flex; align-items: center; gap: 0.8rem; background: var(--white); border: 2px solid var(--border-light); border-radius: var(--radius-lg); padding: 1rem 1.1rem; }
.ask svg { flex: none; width: 28px; height: 28px; color: var(--amber-deep); }
.ask p { margin: 0; font-size: 1rem; line-height: 1.35; color: var(--text-secondary); }
.ask strong, .show strong, .show-figure strong { color: var(--dark-blue); }
.section-head--wide { max-width: 960px; }
.show-note { max-width: 800px; margin: 1.25rem auto 0; font-size: 0.95rem; line-height: 1.55; }
.show-figure { max-width: 900px; margin: 0 auto; border: 2px solid var(--border-light); border-radius: var(--radius-lg); overflow: hidden; background: var(--white); }
.show-figure a { display: block; }
.show-figure img { display: block; width: 100%; height: auto; }
.show-figure figcaption { padding: 0.85rem 1.25rem; background: var(--amber); color: var(--night); font-size: 1rem; line-height: 1.4; }
.show-figure figcaption strong { color: var(--night); }
.show-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; max-width: 900px; margin: 1rem auto 0; }
.show { background: var(--white); border: 2px solid var(--border-light); border-radius: var(--radius-lg); overflow: hidden; }
.show img { display: block; width: 100%; height: 110px; object-fit: cover; object-position: left top; border-bottom: 1px solid var(--border-light); }
.show p { margin: 0; padding: 0.7rem 1rem; font-size: 0.95rem; line-height: 1.35; color: var(--text-secondary); }
.show-row--icons .show { display: flex; align-items: center; gap: 0.6rem; padding-left: 1rem; }
.show-row--icons .show svg { flex: none; width: 26px; height: 26px; color: var(--dark-blue); }
.show-row--icons .show p { padding-left: 0; }
.card-cta { display: inline-block; margin-top: 1rem; padding: 0.55rem 1.1rem; border: 2px solid var(--dark-blue); border-radius: 999px; color: var(--dark-blue); font-weight: 600; font-size: 0.95rem; }
.list-card:hover .card-cta { background: var(--dark-blue); color: var(--white); }
@media (max-width: 900px) { .ask-row { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0 var(--space-sm); } .show-row { grid-template-columns: 1fr; } .show img { height: 90px; } }
@media (max-width: 600px) { .ask-row { grid-template-columns: 1fr; } .show-figure { margin: 0 var(--space-sm); } .show-row { margin-left: var(--space-sm); margin-right: var(--space-sm); } .show-note { padding: 0 var(--space-sm); } }
@media (max-width: 1100px) { .steps--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) { .steps--5 { grid-template-columns: 1fr; } }

/* ---------- Forms (extends ES .form-group) ---------- */
.form-card { background: var(--white); border: 2px solid var(--border-light); border-radius: var(--radius-xl); padding: 2.25rem; max-width: 760px; margin: 0 auto; }
.form-card h2 { font-family: 'Adriano Etc', 'Courier New', monospace; font-weight: normal; font-size: 1.9rem; color: var(--dark-blue); margin-bottom: 0.4rem; }
.form-card > p { color: var(--text-secondary); margin-bottom: 1.5rem; line-height: 1.6; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.25rem; }
.form-group .hint { display: block; font-weight: 400; color: var(--text-tertiary); font-size: 0.85rem; margin-top: 0.25rem; }
.checks { display: grid; gap: 0; }   /* rows touch: each one is at least 44 px tall and the whole row is the tap target (2026-11-03) */
.checks label { display: flex; gap: 0.6rem; align-items: flex-start; font-weight: 400; font-size: 0.95rem; color: var(--text-primary); min-height: 44px; padding: 0.625rem 0; box-sizing: border-box; }
.checks input { width: auto; margin-top: 0.25rem; }
.checks input:focus-visible { outline: 2px solid var(--medium-blue); outline-offset: 2px; }   /* components.css removes the outline on focus; a radio or checkbox has no border to show instead (2026-11-03) */
.pp-update-hint { font-size: 0.9rem; line-height: 1.5; color: var(--text-secondary); margin: 0 0 1.1rem; }
.form-status { display: none; padding: 1rem 1.25rem; border-radius: var(--radius-md); margin-bottom: 1.25rem; font-size: 0.95rem; line-height: 1.5; }
/* Optional section of the event form, and file inputs (2026-10-15) */
.form-more { border: 1px solid var(--border-light); border-radius: var(--radius-md); padding: 0 1rem; margin: 0.25rem 0 1.5rem; background: #FAFCFF; }
.form-more summary { cursor: pointer; font-weight: 600; color: var(--dark-blue); padding: 0.85rem 0; list-style: none; display: flex; align-items: center; gap: 0.5rem; }
.form-more summary::-webkit-details-marker { display: none; }
.form-more summary::before { content: ''; width: 0.5rem; height: 0.5rem; border-right: 2px solid var(--dark-blue); border-bottom: 2px solid var(--dark-blue); transform: rotate(-45deg); transition: transform var(--transition-base); flex: none; }
.form-more[open] summary::before { transform: rotate(45deg); }
.form-more[open] summary { border-bottom: 1px solid var(--border-light); margin-bottom: 1rem; }
.form-more .form-sub { font-family: 'Public Sans', sans-serif; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--dark-blue); margin: 0.5rem 0 0.9rem; }
.form-group input[type="file"] { padding: 0.55rem 0.75rem; background: var(--white); font-size: 0.92rem; }
.form-group select { width: 100%; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.required::after { content: ' *'; color: var(--error); }

/* ---------- Calendar ---------- */
.cal-filters { display: flex; gap: 0.5rem; flex-wrap: wrap; justify-content: center; margin-bottom: 2rem; }
.cal-filters button { font-family: 'Public Sans', sans-serif; font-weight: 600; font-size: 0.85rem; padding: 0.5rem 0.95rem; border-radius: var(--radius-full); border: 1px solid var(--border-medium); background: var(--white); color: var(--dark-blue); cursor: pointer; }
.cal-filters button[aria-pressed="true"] { background: var(--dark-blue); color: var(--white); border-color: var(--dark-blue); }
.cal-day { max-width: 900px; margin: 0 auto 1.75rem; padding: 0 var(--space-xl); }
.cal-day h3 { font-family: 'Adriano Etc', 'Courier New', monospace; font-weight: normal; font-size: 1.5rem; color: var(--dark-blue); padding-bottom: 0.4rem; border-bottom: 2px solid var(--light-blue); margin-bottom: 0.6rem; }
.cal-day h3 .vn { font-family: 'Public Sans', sans-serif; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; background: var(--amber); color: var(--night); padding: 0.25rem 0.5rem; border-radius: var(--radius-sm); vertical-align: middle; margin-left: 0.6rem; }
.ev { display: grid; grid-template-columns: 110px 1fr; gap: 1rem; padding: 0.7rem 0; border-bottom: 1px solid var(--border-light); }
.ev .t { font-weight: 700; color: var(--dark-blue); font-size: 0.95rem; }
.ev .n { font-weight: 600; color: var(--text-primary); }
.ev .n a { color: var(--text-link); text-decoration: none; }
.ev .n a:hover { text-decoration: underline; }
.ev .w { color: var(--text-tertiary); font-size: 0.85rem; }
.ev .tier-pill { display: inline-block; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; padding: 0.15rem 0.45rem; border-radius: var(--radius-sm); margin-left: 0.4rem; vertical-align: middle; background: var(--bg-neutral); color: var(--text-secondary); }
.ev .tier-pill.premier { background: var(--amber); color: var(--night); }
.ev .tier-pill.signature { background: var(--light-blue); color: var(--dark-blue); }
.ev.tbc .n, .ev.tbc .t { color: var(--text-tertiary); font-style: italic; }

/* ---------- Map ---------- */
.map-frame { width: 100%; height: 78vh; min-height: 520px; border: 0; border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); display: block; }

/* ---------- Footer tweaks ---------- */
.footer-logos { display: flex; gap: 1.5rem; align-items: center; margin-top: 1rem; flex-wrap: wrap; }
.footer-logos img { height: 44px; width: auto; }
.footer-logos a { display: inline-flex; }

/* ---------- Status notes ---------- */
.note { font-size: 0.95rem; color: var(--text-tertiary); font-style: italic; text-align: center; max-width: 760px; margin: 1.25rem auto 0; line-height: 1.5; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .tiers { grid-template-columns: 1fr 1fr; }
    .tier--premier { grid-column: 1 / -1; min-height: 360px; }
    .four-lists { grid-template-columns: 1fr 1fr; }
    .four-lists--five { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
    .wordmark-text { font-size: 1.35rem; }
    .ways, .steps { grid-template-columns: 1fr; }
    .steps { gap: 2rem; }
    .feature, .feature.reverse { grid-template-columns: 1fr; gap: 1.5rem; }
    .feature.reverse > .feature-text { order: 0; }
    .form-row { grid-template-columns: 1fr; }
    .ev { grid-template-columns: 1fr; gap: 0.2rem; }
}
@media (max-width: 600px) {
    .tiers, .evenings, .four-lists, .four-lists--five { grid-template-columns: 1fr; padding: 0 var(--space-sm); }
    .tier { min-height: 240px; }
    .tier--premier { min-height: 280px; }
    .hero.lights-hero { height: 72vh; min-height: 460px; }
    .tonight { padding: 1rem var(--space-sm); }
    .tonight-items { flex-direction: column; gap: 0.5rem; }
    .form-card { padding: 1.5rem 1.1rem; border-radius: var(--radius-lg); }
    .feature, .evening-detail, .cal-day, .ways, .steps, .section-head { padding-left: var(--space-sm); padding-right: var(--space-sm); }
    .presented-by { padding: 0.9rem var(--space-sm); }
}

/* ======================================================================
   Redesign additions (2026-10-11): audience nav, sub-nav, phase, rosters
   ====================================================================== */

/* Logo: the window mark + Shelburne Lights, like the SFM mark */
.logo-image.sl-mark { height: 72px; }
@media (max-width: 900px) { .logo-image.sl-mark { height: 56px; } }

/* Sub-nav strip under the page banner: centered, tinted, with a section label */
.subnav { background: var(--light-blue); border-bottom: 1px solid rgba(45,84,117,0.15); position: sticky; top: 0; z-index: 5; }
.subnav-inner { max-width: var(--container-xl); margin: 0 auto; padding: 0 var(--space-xl); display: flex; align-items: center; justify-content: center; gap: 1.25rem; }
.subnav-label { font-family: 'Adriano Etc', 'Courier New', monospace; font-size: 1rem; color: var(--dark-blue); white-space: nowrap; padding-right: 1rem; border-right: 1px solid rgba(45,84,117,0.25); }
.subnav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.25rem; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: block; padding: 0.9rem 0.9rem; font-family: 'Public Sans', sans-serif; font-weight: 600; font-size: 0.95rem; color: var(--dark-blue); text-decoration: none; white-space: nowrap; border-bottom: 3px solid transparent; }
.subnav a:hover { border-bottom-color: var(--medium-blue); }
.subnav a.active { border-bottom-color: var(--amber); }
@media (max-width: 768px) { .subnav-label { display: none; } .subnav-inner { padding: 0 var(--space-sm); justify-content: flex-start; } .subnav ul { margin: 0 auto; } .subnav a { font-size: 0.85rem; padding: 0.75rem 0.7rem; } }

/* Phase: data-phase="season" is hidden until JS confirms the season phase */
[data-phase="season"] { display: none; }
body.phase-season [data-phase="season"] { display: revert; }
body.phase-season [data-phase="recruiting"] { display: none; }

/* Audience band on the home page */
.audience-band { background: var(--light-blue); padding: 2.5rem var(--space-xl); margin-top: 3rem; }
.audience-inner { max-width: var(--container-xl); margin: 0 auto; display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 1.5rem; align-items: center; }
.audience-inner h2 { font-family: 'Adriano Etc', 'Courier New', monospace; font-weight: normal; font-size: 1.7rem; color: var(--dark-blue); margin: 0 0 0.3rem; }
.audience-inner p { color: var(--dark-blue); margin: 0; font-size: 1rem; line-height: 1.55; }
.audience-link { display: block; background: var(--white); border-radius: var(--radius-lg); padding: 1.5rem; text-decoration: none; border: 2px solid var(--border-light); transition: all var(--transition-base); }
.audience-link:hover { border-color: var(--bright-blue); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.audience-link strong { display: block; font-family: 'Adriano Etc', 'Courier New', monospace; font-weight: normal; font-size: 1.5rem; color: var(--dark-blue); margin-bottom: 0.4rem; }
.audience-link span { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.5; }
@media (max-width: 900px) { .audience-inner { grid-template-columns: 1fr; } .audience-band { padding: 2rem var(--space-sm); } }

/* Rosters: who's in, our sponsors */
.roster { max-width: 1000px; margin: 0 auto; padding: 0 var(--space-xl); }
.roster-group { margin-bottom: 2rem; }
.roster-group h3 { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--medium-blue); margin-bottom: 0.75rem; }
.roster-list { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; padding: 0; margin: 0; }
.roster-list li { background: var(--white); border: 1px solid var(--border-medium); border-radius: var(--radius-full); padding: 0.45rem 0.9rem; font-size: 0.95rem; color: var(--text-primary); }
.roster-list li small { color: var(--text-tertiary); margin-left: 0.4rem; }
.roster-empty { color: var(--text-tertiary); font-style: italic; font-size: 0.95rem; }
.sponsor-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; }
.sponsor-card { background: var(--white); border: 1px solid var(--border-light); border-radius: var(--radius-md); padding: 1.25rem; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 110px; }
.sponsor-card img { max-height: 56px; width: auto; max-width: 160px; margin-bottom: 0.5rem; }
.sponsor-card strong { color: var(--dark-blue); font-size: 1rem; }
.sponsor-card small { color: var(--text-tertiary); font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; margin-top: 0.3rem; }
@media (max-width: 600px) { .roster { padding: 0 var(--space-sm); } }

/* Deadlines */
.deadlines { max-width: 1000px; margin: 0 auto; padding: 0 var(--space-xl); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.deadline { background: var(--night); color: var(--night-text); border-radius: var(--radius-lg); padding: 1.25rem 1.4rem; }
.deadline .d { font-family: 'Adriano Etc', 'Courier New', monospace; color: var(--amber); font-size: 1.5rem; line-height: 1.1; margin-bottom: 0.3rem; }
.deadline p { margin: 0; font-size: 0.95rem; line-height: 1.5; }
@media (max-width: 600px) { .deadlines { padding: 0 var(--space-sm); } }

/* Hub intro */
.hub-intro { max-width: 860px; margin: 2.5rem auto 0; padding: 0 var(--space-xl); font-size: 1.1rem; line-height: 1.75; color: var(--text-secondary); text-align: center; }
@media (max-width: 600px) { .hub-intro { padding: 0 var(--space-sm); font-size: 1rem; } }

/* ES video grid + click-to-play facade (mirrors shelburne-day.html on the SFM site) */
.es-video-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; max-width: 800px; margin: 1.5rem auto 0; }
.es-video-grid-3 { grid-template-columns: repeat(3, 1fr); max-width: 100%; }
.es-video h3 { color: var(--dark-blue); font-family: 'Public Sans', sans-serif; font-size: 1rem; line-height: 1.3; min-height: 2.6em; margin: 0 0 0.5rem; text-align: center; }
.es-video p { font-size: 0.85rem; color: var(--text-secondary); margin: 0.5rem 0 0; line-height: 1.5; text-align: center; }
.es-video-frame { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: 8px; box-shadow: 0 2px 12px rgba(0,0,0,0.12); }
.es-video-frame iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }
.es-video-facade { cursor: pointer; }
.es-video-facade img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.es-video-facade .es-play-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 64px; height: 64px; border-radius: 50%; background: rgba(45, 84, 117, 0.85); display: flex; align-items: center; justify-content: center; transition: background var(--transition-base), transform var(--transition-base); }
.es-video-facade:hover .es-play-btn, .es-video-facade:focus .es-play-btn { background: rgba(45, 84, 117, 1); transform: translate(-50%, -50%) scale(1.06); }
.es-video-facade .es-play-btn::after { content: ""; display: block; margin-left: 5px; border-style: solid; border-width: 11px 0 11px 19px; border-color: transparent transparent transparent #fff; }
@media (max-width: 600px) { .es-video-grid, .es-video-grid-3 { grid-template-columns: 1fr; } }

/* ======================================================================
   Calendar app: month / week / day / list
   ====================================================================== */
.cal-app { max-width: 1100px; margin: 0 auto; }
.cal-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 1rem; }
.cal-nav { display: flex; align-items: center; gap: 0.4rem; }
.cal-nav button, .cal-views button { font-family: 'Public Sans', sans-serif; font-weight: 600; font-size: 0.85rem; padding: 0.5rem 0.85rem; border-radius: var(--radius-md); border: 1px solid var(--border-medium); background: var(--white); color: var(--dark-blue); cursor: pointer; }
.cal-nav button:hover, .cal-views button:hover { border-color: var(--medium-blue); }
.cal-nav button:disabled { opacity: 0.35; cursor: default; }
.cal-title { font-family: 'Adriano Etc', 'Courier New', monospace; font-size: 1.5rem; color: var(--dark-blue); margin: 0 0.5rem; white-space: nowrap; }
.cal-views { display: flex; gap: 0.25rem; }
.cal-views button[aria-pressed="true"] { background: var(--dark-blue); color: var(--white); border-color: var(--dark-blue); }
.cal-allseason { background: var(--light-blue); border-radius: var(--radius-md); padding: 0.7rem 1rem; margin-bottom: 1rem; font-size: 0.95rem; color: var(--dark-blue); display: flex; gap: 0.5rem 1.25rem; flex-wrap: wrap; align-items: center; }
.cal-allseason strong { font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; }
.cal-allseason a { color: var(--dark-blue); font-weight: 600; text-decoration: none; }
.cal-allseason a:hover { text-decoration: underline; }

/* Month */
.cal-month { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cal-dow { text-align: center; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--medium-blue); padding: 0.25rem 0 0.5rem; }
.cal-cell { min-width: 0; background: var(--white); border: 1px solid var(--border-light); border-radius: var(--radius-sm); min-height: 108px; padding: 0.35rem 0.4rem; display: flex; flex-direction: column; gap: 0.2rem; cursor: pointer; transition: border-color var(--transition-fast), box-shadow var(--transition-fast); }
.cal-cell:hover { border-color: var(--medium-blue); box-shadow: var(--shadow-sm); }
.cal-cell.out { background: var(--bg-light); color: var(--gray-400); cursor: default; }
.cal-cell.out:hover { border-color: var(--border-light); box-shadow: none; }
.cal-cell.off { background: var(--bg-neutral); }
.cal-cell.today { border-color: var(--amber); box-shadow: inset 0 0 0 1px var(--amber); }
.cal-cell.vn { background: #FFF8E8; }
.cal-daynum { font-size: 0.85rem; font-weight: 700; color: var(--dark-blue); display: flex; justify-content: space-between; align-items: center; }
.cal-cell.out .cal-daynum { color: var(--gray-400); font-weight: 500; }
.cal-daynum .vn-dot { font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; background: var(--amber); color: var(--night); padding: 0.1rem 0.35rem; border-radius: var(--radius-sm); }
.cal-chip { font-size: 0.74rem; line-height: 1.25; padding: 0.18rem 0.35rem; border-radius: 4px; background: var(--bg-neutral); color: var(--text-primary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cal-chip.premier { background: var(--amber); color: var(--night); }
.cal-chip.signature { background: var(--light-blue); color: var(--dark-blue); }
.cal-chip.tbc { font-style: italic; color: var(--text-secondary); }   /* 2026-10-29: tertiary on the neutral chip was 3.98:1 */
.cal-more { font-size: 0.74rem; color: var(--medium-blue); font-weight: 600; }

/* Week */
.cal-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cal-week .cal-cell { min-height: 220px; cursor: default; }
.cal-week .cal-cell:hover { border-color: var(--border-light); box-shadow: none; }
.cal-week .cal-daynum { flex-direction: column; align-items: flex-start; gap: 0; margin-bottom: 0.3rem; }
.cal-week .cal-daynum small { font-weight: 500; color: var(--text-tertiary); font-size: 0.74rem; }
.cal-week .cal-daynum .big { font-family: 'Adriano Etc', 'Courier New', monospace; font-size: 1.35rem; font-weight: normal; }
.cal-wev { font-size: 0.85rem; line-height: 1.3; padding: 0.35rem 0.45rem; border-radius: 6px; background: var(--bg-neutral); border-left: 3px solid var(--gray-300); }
.cal-wev.premier { background: #FFF3DA; border-left-color: var(--amber); }
.cal-wev.signature { background: var(--light-blue); border-left-color: var(--medium-blue); }
.cal-wev.tbc { font-style: italic; color: var(--text-tertiary); }
.cal-wev .t { display: block; font-weight: 700; color: var(--dark-blue); font-size: 0.74rem; }
.cal-wev a { color: inherit; text-decoration: none; }
.cal-wev a:hover { text-decoration: underline; }

/* Day */
.cal-day-view .cal-day { padding: 0; }
.cal-day-view .cal-empty { text-align: center; color: var(--text-tertiary); font-style: italic; padding: 2rem 0; }
.cal-day-nav { display: flex; justify-content: space-between; margin-top: 1rem; }
.cal-day-nav a { color: var(--medium-blue); font-weight: 600; text-decoration: none; cursor: pointer; }

@media (max-width: 768px) {
    .cal-title { font-size: 1.2rem; }
    .cal-month { gap: 2px; }
    .cal-cell { min-height: 64px; padding: 0.25rem; }
    .cal-chip, .cal-more { display: none; }
    .cal-month .cal-daynum .vn-dot { font-size: 0; width: 9px; height: 9px; padding: 0; border-radius: 50%; }
    .cal-cell .cal-dots { display: flex; gap: 3px; flex-wrap: wrap; margin-top: auto; }
    .cal-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gray-400); }
    .cal-dot.premier { background: var(--amber-deep); }
    .cal-dot.signature { background: var(--medium-blue); }
    .cal-week { grid-template-columns: 1fr; }
    .cal-week .cal-cell { min-height: 0; }
    .cal-week .cal-cell.empty { display: none; }
}
@media (min-width: 769px) { .cal-dots { display: none; } }

/* ---------- Calendar: tools, week time grid, ics links ---------- */
.cal-tools { display: flex; gap: 0.5rem; flex-wrap: wrap; justify-content: flex-end; margin: -0.25rem 0 1rem; }
.cal-tool { font-family: 'Public Sans', sans-serif; font-weight: 600; font-size: 0.85rem; padding: 0.45rem 0.8rem; border-radius: var(--radius-full); border: 1px solid var(--border-medium); background: var(--white); color: var(--dark-blue); text-decoration: none; cursor: pointer; }
.cal-tool:hover { border-color: var(--medium-blue); }
.ev .ics, .ce-links .ics { display: inline-block; margin-top: 0.3rem; font-size: 0.74rem; font-weight: 600; color: var(--medium-blue); text-decoration: none; }
.ev .ics:hover, .ce-links .ics:hover { text-decoration: underline; }
.subscribe-card { max-width: 800px; margin: 2.5rem auto 0; background: var(--white); border: 2px solid var(--border-light); border-radius: var(--radius-xl); padding: 1.75rem 2rem; }
.subscribe-card h2 { font-family: 'Adriano Etc', 'Courier New', monospace; font-weight: normal; font-size: 1.7rem; color: var(--dark-blue); margin-bottom: 0.5rem; }
.subscribe-card p { color: var(--text-secondary); line-height: 1.6; margin-bottom: 1rem; }
.subscribe-card .btns { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.subscribe-card code { background: var(--bg-neutral); padding: 0.2rem 0.45rem; border-radius: 4px; font-size: 0.85rem; word-break: break-all; }

.cal-week { display: block; }
.cal-week-head, .cal-week-row, .cal-week-grid { display: grid; grid-template-columns: 64px repeat(7, minmax(0, 1fr)); gap: 4px; }
.cal-week-head { margin-bottom: 4px; }
.cal-week-day { background: var(--white); border: 1px solid var(--border-light); border-radius: var(--radius-sm); padding: 0.4rem 0.5rem; display: flex; flex-direction: column; }
.cal-week-day small { font-size: 0.74rem; color: var(--text-tertiary); font-weight: 500; }
.cal-week-day .big { font-family: 'Adriano Etc', 'Courier New', monospace; font-size: 1.2rem; color: var(--dark-blue); }
.cal-week-day.vn { background: #FFF8E8; }
.cal-week-day.today { border-color: var(--amber); box-shadow: inset 0 0 0 1px var(--amber); }
.cal-week-day .vn-dot { align-self: flex-start; font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; background: var(--amber); color: var(--night); padding: 0.1rem 0.35rem; border-radius: var(--radius-sm); margin-top: 0.2rem; }
.cal-week-gutter { font-size: 0.74rem; color: var(--text-tertiary); position: relative; }
.cal-week-gutter small { display: block; padding-top: 0.4rem; line-height: 1.2; }
.cal-week-cell { background: var(--white); border: 1px solid var(--border-light); border-radius: var(--radius-sm); min-height: 36px; padding: 0.3rem; display: flex; flex-direction: column; gap: 0.25rem; }
.cal-week-cell.vn { background: #FFF8E8; }
.cal-week-grid { margin-top: 4px; position: relative; }
.cal-week-grid .cal-week-gutter .cal-hour { position: absolute; right: 6px; transform: translateY(-50%); white-space: nowrap; }
.cal-week-col { position: relative; background: var(--white); border: 1px solid var(--border-light); border-radius: var(--radius-sm); overflow: hidden; }
.cal-week-col.vn { background: #FFF8E8; }
.cal-hline { position: absolute; left: 0; right: 0; border-top: 1px dashed var(--border-light); }
.cal-wev.timed { position: absolute; overflow: hidden; margin: 1px 0; box-shadow: var(--shadow-xs); }
.cal-week:not(.has-grid) .cal-week-cell { min-height: 120px; }
@media (max-width: 768px) {
    .cal-week-head { display: none; }
    .cal-week-row, .cal-week-grid { grid-template-columns: 1fr; }
    .cal-week-grid { height: auto !important; }
    .cal-week-gutter { display: none; }
    .cal-week-col { min-height: 0; margin-bottom: 0.5rem; }
    .cal-week-col .cal-hline { display: none; }
    .cal-wev.timed { position: static; height: auto !important; margin: 0.25rem; }
    .cal-week-row .cal-week-cell:empty { display: none; }
    .cal-week-col::before { content: attr(data-label); }
}

/* ---------- Print: the List view becomes the printed schedule ---------- */
@media print {
    @page { margin: 0.6in; }
    nav, footer, .subnav, .page-banner, .cal-filters, .cal-toolbar, .cal-tools, .subscribe-card, .note, .ev .ics, .tonight, .mobile-toggle { display: none !important; }
    html, body { overflow: visible !important; height: auto !important; max-width: none !important; }
    body { padding-top: 0; background: #fff; color: #000; font-size: 11pt; }
    main::before { content: "Shelburne Lights · November 27, 2026 – January 9, 2027 · shelburnelights.org"; display: block; font-family: 'Adriano Etc', serif; font-size: 18pt; color: #000; margin: 0 0 0.5rem; }
    .cal-allseason { background: none; border: 1px solid #999; color: #000; padding: 0.4rem 0.6rem; }
    .cal-day { page-break-inside: avoid; padding: 0; max-width: none; }
    .cal-day h3 { color: #000; border-bottom-color: #000; font-size: 13pt; }
    .cal-day h3 .vn { background: none; border: 1px solid #000; color: #000; }
    .ev { grid-template-columns: 90px 1fr; padding: 0.3rem 0; border-bottom: 1px solid #ccc; }
    .ev .t, .ev .n, .ev .w { color: #000; }
    .ev .n a { color: #000; text-decoration: none; }
    .tier-pill { border: 1px solid #000; background: none !important; color: #000 !important; }
    .cal-month, .cal-week { display: none; }
}

/* ---------- Home: ES-style video hero + night banner ---------- */
.poster-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.2); background-size: cover; background-position: center; background-repeat: no-repeat; display: flex; align-items: center; justify-content: center; z-index: 5; transition: opacity 0.5s ease; }
.poster-overlay.hidden { opacity: 0; pointer-events: none; }
.play-button { background: transparent; border: none; cursor: pointer; transition: all 0.3s ease; padding: 0; filter: drop-shadow(0 4px 12px rgba(0,0,0,0.4)); }
.play-button:hover { transform: scale(1.1); }
.play-button:active { transform: scale(0.95); }
.hidden { display: none; }
.video-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 3; cursor: pointer; }
.video-overlay.hidden { pointer-events: none; }
.toggle-play-button { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background: transparent; border: none; cursor: pointer; z-index: 4; transition: all 0.3s ease; padding: 0; filter: drop-shadow(0 4px 12px rgba(0,0,0,0.4)); }
.toggle-play-button.playing { opacity: 0; pointer-events: none; }
.home-banner { padding: 2.5rem 0 2.75rem; }
.home-banner .banner-title { font-size: clamp(2.6rem, 6vw, 4rem); margin: 0.25rem auto 0.5rem; }   /* auto: .hero h1 caps it at 900px; center the box (2026-10-22) */
.home-banner .hero-kicker { text-shadow: none; }
.home-banner .banner-sub { max-width: 820px; font-size: 1.3rem; }
.home-banner .hero-actions { margin-top: 1.4rem; }

/* ---------- Video cards (ES Watch-page pattern) ---------- */
.video-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; max-width: 1000px; margin: 0 auto; }
.video-card { background: var(--white); border: 2px solid var(--border-light); border-radius: var(--radius-lg); overflow: hidden; }
.video-card-embed { position: relative; padding-bottom: 56.25%; height: 0; background: #000; }
.video-card-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-card-content { padding: 1.1rem 1.25rem 1.3rem; }
.video-card-content h3 { font-family: 'Adriano Etc', 'Courier New', monospace; font-weight: normal; font-size: 1.35rem; color: var(--dark-blue); margin-bottom: 0.4rem; }
.video-card-content p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.55; margin: 0; }
@media (max-width: 900px) { .video-cards { grid-template-columns: 1fr; } }

/* ---------- Parking list ---------- */
.parking-list { list-style: none; padding: 0; margin: 0.5rem 0 0; }
.parking-list li { padding: 0.6rem 0; border-top: 1px solid var(--border-light); color: var(--text-secondary); line-height: 1.55; text-align: left; }
.parking-list li:first-child { border-top: 0; }
.parking-list li strong { color: var(--dark-blue); }
.parking-list li.tbc { font-style: italic; color: var(--text-tertiary); }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0.9rem; }
.gallery-item { position: relative; border-radius: var(--radius-md); overflow: hidden; background: var(--night); aspect-ratio: 4/3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 500ms ease; }
.gallery-item:hover img { transform: scale(1.03); }
.gallery-item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 0.6rem 0.75rem; font-size: 0.74rem; color: var(--warm-white); background: linear-gradient(180deg, rgba(27,58,82,0), rgba(27,58,82,0.85)); }
.gallery-item figcaption small { display: block; color: var(--night-muted); font-size: 0.74rem; }
.gallery-empty { color: var(--text-tertiary); font-style: italic; text-align: center; padding: 2rem 0; }

/* ---------- Three tiers, stepped: full width → thirds → strip ---------- */
.tiers3 { max-width: var(--container-xl); margin: 0 auto; padding: 0 var(--space-xl); display: grid; gap: 1.5rem; }
.tier-num { display: inline-block; font-family: 'Public Sans', sans-serif; font-weight: 700; font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--amber); }
.tier1 { display: grid; grid-template-columns: 1.15fr 1fr; background: var(--night-2); border-radius: var(--radius-xl); overflow: hidden; text-decoration: none; color: var(--night-text); box-shadow: var(--shadow-lg); transition: transform var(--transition-base), box-shadow var(--transition-base); }
.tier1:hover { transform: translateY(-3px); box-shadow: var(--shadow-xl); }
.tier1 img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; display: block; }
.tier1-body { padding: 2.25rem 2.5rem; display: flex; flex-direction: column; justify-content: center; gap: 0.6rem; align-items: flex-start; }
.tier1-body h3 { font-family: 'Adriano Etc', 'Courier New', monospace; font-weight: normal; font-size: clamp(1.7rem, 2.8vw, 2.3rem); color: var(--white); line-height: 1.15; margin: 0; }
.tier1-body p { color: var(--night-muted); font-size: 1rem; margin: 0 0 0.5rem; }
.tier-row--2 > .tier-num { display: block; margin-bottom: 0.75rem; }
.tier2-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.tier2 { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; color: var(--text-primary); display: flex; flex-direction: column; box-shadow: var(--shadow-md); transition: transform var(--transition-base), box-shadow var(--transition-base); }
.tier2:hover { transform: translateY(-3px); box-shadow: var(--shadow-xl); }
.tier2 img { width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block; }
.tier2-body { padding: 1.1rem 1.25rem 1.3rem; }
.tier2-body h3 { font-family: 'Adriano Etc', 'Courier New', monospace; font-weight: normal; font-size: 1.5rem; color: var(--dark-blue); margin: 0 0 0.3rem; }
.tier2-body p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.5; margin: 0 0 0.4rem; }
.tier2-body small { color: var(--text-tertiary); font-size: 0.74rem; letter-spacing: 0.04em; }
.tier-row--3 { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); border-radius: var(--radius-lg); padding: 1.1rem 1.5rem; text-decoration: none; color: var(--night-text); transition: background var(--transition-base); }
.tier-row--3:hover { background: rgba(255,255,255,0.11); }
.tier-row--3 p { margin: 0; flex: 1; font-size: 1rem; color: var(--night-text); }
.tier-row--3 .cta-button { padding: 0.6rem 1.2rem; font-size: 0.95rem; }
@media (max-width: 900px) { .tier1 { grid-template-columns: 1fr; } .tier1 img { min-height: 220px; max-height: 300px; } .tier2-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .tiers3 { padding: 0 var(--space-sm); } .tier1-body { padding: 1.5rem 1.25rem; } }

/* ---------- Shop / Dine listings ---------- */
.listing-legend { display: flex; gap: 1.25rem; flex-wrap: wrap; justify-content: center; font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 1.25rem; }
.listing-legend span { display: inline-flex; align-items: center; gap: 0.35rem; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; }
.dot.lit { background: var(--amber); } .dot.pp { background: var(--medium-blue); } .dot.open { background: var(--medium-green); }
.listing { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; max-width: var(--container-xl); margin: 0 auto; }
.biz { background: var(--white); border: 2px solid var(--border-light); border-radius: var(--radius-lg); padding: 1.1rem 1.25rem; display: flex; flex-direction: column; gap: 0.35rem; }
.biz h3 { font-family: 'Adriano Etc', 'Courier New', monospace; font-weight: normal; font-size: 1.35rem; color: var(--dark-blue); margin: 0; }
.biz h3 a { color: inherit; text-decoration: none; } .biz h3 a:hover { text-decoration: underline; }
.biz .addr { color: var(--text-tertiary); font-size: 0.85rem; }
.biz .badges { display: flex; gap: 0.4rem; flex-wrap: wrap; margin-top: 0.3rem; }
.badge { display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 0.2rem 0.5rem; border-radius: var(--radius-sm); background: var(--bg-neutral); color: var(--text-secondary); }
.badge.lit { background: #FFF3DA; color: #7A5200; } .badge.pp { background: var(--light-blue); color: var(--dark-blue); } .badge.open { background: #E6F2D9; color: var(--dark-green); }
.biz .hours { font-size: 0.95rem; color: var(--dark-green); margin-top: 0.2rem; }
.biz .offer { font-size: 0.95rem; color: var(--dark-blue); margin-top: 0.2rem; }
.listing-empty { grid-column: 1 / -1; text-align: center; color: var(--text-tertiary); font-style: italic; padding: 1.5rem 0; }
.listing-also { grid-column: 1 / -1; margin-top: 0.75rem; }
.listing-also > h3 { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--medium-blue); margin-bottom: 0.5rem; }

/* Photos & video: two carousels, side by side on desktop, stacked under 900px */
.media-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; max-width: 1100px; margin: 0 auto; }
.carousel { min-width: 0; }
.carousel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.75rem; }
.carousel-head h2 { font-size: 1.35rem; color: var(--dark-blue); margin: 0; }
.carousel-nav { display: flex; align-items: center; gap: 0.5rem; }
.carousel-btn { width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--border-light); background: var(--white); color: var(--dark-blue); font-size: 1.35rem; line-height: 1; cursor: pointer; transition: background var(--transition-base), border-color var(--transition-base); }
.carousel-btn:hover, .carousel-btn:focus-visible { background: var(--light-blue); border-color: var(--dark-blue); }
.carousel-btn[disabled] { opacity: 0.35; cursor: default; }
.carousel-count { font-size: 0.85rem; color: var(--text-tertiary); min-width: 3.2em; text-align: center; font-variant-numeric: tabular-nums; }
.carousel-track { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; scrollbar-width: none; border-radius: var(--radius-lg); }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-slide { flex: 0 0 100%; min-width: 0; scroll-snap-align: start; scroll-snap-stop: always; }
.carousel-slide .gallery-item { aspect-ratio: 16/9; border: 2px solid var(--border-light); border-radius: var(--radius-lg); }
.carousel-slide .gallery-item figcaption { font-size: 0.95rem; padding: 0.9rem 1rem; }
.carousel-slide .gallery-item figcaption small { font-size: 0.74rem; }
.carousel-slide .video-card { height: 100%; }
@media (max-width: 900px) { .media-row { grid-template-columns: 1fr; gap: 2.5rem; } }
@media print { .carousel-track { overflow: visible; flex-wrap: wrap; } .carousel-nav { display: none; } }

/* Fixed nav height (nav padding 16px top and bottom + logo). The ES body padding assumes
   the ES logo; the SL mark is a different height, so the offset is set here per breakpoint. */
:root { --nav-h: 105px; }
@media (max-width: 900px) { :root { --nav-h: 89px; } }
@media (max-width: 768px) { :root { --nav-h: 81px; } .logo-image.sl-mark { height: 48px; } }
@media (max-width: 480px) { :root { --nav-h: 77px; } .logo-image.sl-mark { height: 44px; } }
body { padding-top: var(--nav-h); }
.subnav { top: var(--nav-h); }
@media (max-width: 900px) { .subnav { position: static; } }
@media print { body { padding-top: 0; } }

/* Map page: the map alone up top, legend and listing below it */
#slmap { width: 100%; height: 62vh; min-height: 420px; max-height: 640px; border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); background: #eef3f8; z-index: 1; }
.map-pin { width: 28px; height: 28px; border-radius: 50%; color: #fff; display: flex; align-items: center; justify-content: center; font: 700 12px 'Public Sans', system-ui, sans-serif; border: 2.5px solid #fff; box-shadow: 0 1px 5px rgba(0,0,0,0.4); }
.map-pop h3 { font-family: 'Public Sans', sans-serif; font-size: 1rem; font-weight: 700; color: var(--dark-blue); margin: 0.2rem 0 0.15rem; }
.map-pop .tag { display: inline-block; font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700; padding: 2px 6px; border-radius: 4px; color: #fff; }
.map-pop .addr { font-size: 0.74rem; color: var(--text-tertiary); margin-bottom: 0.3rem; }
.map-pop .note { font-size: 0.85rem; color: var(--text-primary); line-height: 1.4; font-style: normal; text-align: left; margin: 0; max-width: none; }   /* 2026-10-19: undo the page-level .note italics/centering inside popups */
.map-pop a { display: inline-block; margin-top: 0.4rem; font-size: 0.85rem; font-weight: 600; color: var(--dark-blue); }
.map-legend { display: flex; gap: 1.25rem; flex-wrap: wrap; justify-content: center; font-size: 0.85rem; color: var(--text-secondary); margin: 1.5rem 0 0.5rem; }
.map-legend span { display: inline-flex; align-items: center; gap: 0.4rem; }
.map-legend .dot { width: 13px; height: 13px; border-radius: 50%; display: inline-block; }
.map-legend .swline { width: 24px; height: 6px; border-radius: 3px; background: var(--dark-blue); display: inline-block; }
.map-dir { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 2.5rem; max-width: 1000px; margin: 1.5rem auto 0; }
.map-sec h3 { font-family: 'Public Sans', sans-serif; font-size: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; margin: 0 0 0.2rem; }
.map-sec-note { font-size: 0.85rem; color: var(--text-tertiary); margin: 0 0 0.6rem; }
.map-sec ul { list-style: none; margin: 0; padding: 0; }
.map-item { display: flex; align-items: center; gap: 0.65rem; width: 100%; text-align: left; background: none; border: 0; border-radius: var(--radius-md); padding: 0.45rem 0.5rem; cursor: pointer; font-family: inherit; }
.map-item:hover, .map-item:focus-visible { background: var(--light-blue); }
.map-item .num { width: 26px; height: 26px; border-radius: 50%; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 0.74rem; font-weight: 700; flex-shrink: 0; }
.map-item .nm { font-size: 1rem; color: var(--text-primary); font-weight: 600; line-height: 1.25; }
.map-item .nm small { display: block; font-size: 0.85rem; color: var(--text-tertiary); font-weight: 400; }
@media (max-width: 768px) { .map-dir { grid-template-columns: 1fr; } #slmap { height: 55vh; min-height: 360px; } }
@media print { #slmap { height: 5in; box-shadow: none; } .leaflet-control-container { display: none; } }
.map-pin-light { color: #1F2933; border-style: dashed; }
.map-sec--wide { grid-column: 1 / -1; }
.map-sec--wide ul { columns: 2; column-gap: 2.5rem; }
.map-sec--wide li { break-inside: avoid; }
@media (max-width: 768px) { .map-sec--wide ul { columns: 1; } }

/* ======================================================================
   Visitor-page additions (2026-10-12): tickets/free pair, FAQ
   ====================================================================== */
.ticket-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; max-width: 1000px; margin: 0 auto; }
.ticket-card { border-radius: var(--radius-lg); padding: 1.75rem 1.75rem 1.6rem; display: flex; flex-direction: column; align-items: flex-start; gap: 0.5rem; }
.ticket-card .tier-num { margin-bottom: 0.1rem; }
.ticket-card h3 { font-family: 'Adriano Etc', 'Courier New', monospace; font-weight: normal; font-size: 1.7rem; line-height: 1.15; margin: 0; }
.ticket-card p { font-size: 1rem; line-height: 1.6; margin: 0 0 0.6rem; }
.ticket-card--night { background: var(--night); color: var(--night-text); box-shadow: var(--shadow-lg); }
.ticket-card--night h3 { color: var(--white); }
.ticket-card--night p { color: var(--night-muted); }
.ticket-card--free { background: var(--light-blue); border: 2px solid rgba(45,84,117,0.15); }
.ticket-card--free .tier-num { color: var(--medium-blue); }
.ticket-card--free h3 { color: var(--dark-blue); }
.ticket-card--free p { color: var(--text-secondary); }
.faq { max-width: 800px; margin: 0 auto; padding: 0 var(--space-xl); }
.faq details { border-bottom: 1px solid var(--border-light); padding: 0.85rem 0; }
.faq details:first-of-type { border-top: 1px solid var(--border-light); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-weight: 700; color: var(--dark-blue); font-size: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-weight: 400; font-size: 1.35rem; line-height: 1; color: var(--medium-blue); flex-shrink: 0; }
.faq details[open] summary::after { content: '\2013'; }
.faq details p { margin: 0.6rem 0 0; color: var(--text-secondary); line-height: 1.65; font-size: 1rem; }
.faq details p a { color: var(--dark-blue); font-weight: 600; }
@media (max-width: 768px) { .ticket-pair { grid-template-columns: 1fr; } .faq { padding: 0 var(--space-sm); } }
@media (max-width: 600px) { .tier-row--3 { flex-direction: column; align-items: flex-start; gap: 0.6rem; } .tier-row--3 p { flex: none; } }

/* Visit page hero: three-photo strip with a Watch pill (2026-10-13) */
.hero-strip { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: 100%; gap: 4px; height: 42vh; min-height: 280px; max-height: 460px; background: var(--night); overflow: hidden; }
.hero-strip img { width: 100%; height: 100%; min-height: 0; min-width: 0; object-fit: cover; display: block; }
.hero-strip .watch-pill { position: absolute; right: 1.25rem; bottom: 1.25rem; display: inline-flex; align-items: center; padding: 0.55rem 1.1rem; border-radius: 999px; background: rgba(27,58,82,0.8); color: var(--warm-white); font-family: 'Public Sans', sans-serif; font-weight: 600; font-size: 0.95rem; line-height: 1; text-decoration: none; border: 1px solid rgba(255,255,255,0.5); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); transition: background 0.2s, border-color 0.2s; }
.hero-strip .watch-pill:hover { background: rgba(27,58,82,0.95); border-color: var(--warm-white); color: var(--white); }
@media (max-width: 768px) {
    .hero-strip { grid-template-columns: 1fr 1fr; grid-template-rows: 170px 120px; height: auto; min-height: 0; max-height: none; }
    .hero-strip img:first-child { grid-column: 1 / -1; }
    .hero-strip .watch-pill { right: 0.75rem; bottom: calc(124px + 0.75rem); font-size: 0.85rem; padding: 0.5rem 0.95rem; }
}

/* ---------- Sponsor page in the farmers-market Support pattern (2026-10-13): pitch, photo strip, one card, one heart button ---------- */
/* Our sponsors page (2026-10-15): one column, tiers with slots, patterned on the farmers market's sponsors page */
.cs-col { max-width: 640px; margin: 0 auto; background: var(--white); border: 1px solid var(--border-light); border-radius: 10px; box-shadow: 0 1px 4px rgba(0,0,0,0.06); padding: clamp(1.5rem, 3vw, 2.25rem); }
.cs-col h2 { font-family: 'Adriano Etc', 'Courier New', monospace; font-weight: normal; font-size: 1.9rem; color: var(--dark-blue); margin: 0 0 0.6rem; text-align: center; }
.cs-desc { font-size: 0.95rem; line-height: 1.65; color: var(--text-secondary); margin: 0 0 1.5rem; text-align: left; }
.cs-tier { margin-bottom: 1.4rem; }
.cs-tier-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 0.6rem; padding-bottom: 0.4rem; border-bottom: 2px solid var(--dark-blue); }
.cs-tier-head h3 { font-family: 'Public Sans', sans-serif; font-size: 1.05rem; font-weight: 700; color: var(--dark-blue); margin: 0; }
.cs-tier-head .cs-amt { font-size: 0.85rem; font-weight: 700; color: var(--dark-blue); opacity: 0.65; }
.cs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 0.75rem; align-items: stretch; }
.cs-slot { background: var(--light-blue); border: 2px dashed rgba(45, 84, 117, 0.3); border-radius: 10px; padding: 1.25rem 1.5rem; min-height: 90px; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--dark-blue); font-size: 0.95rem; font-weight: 600; font-style: italic; text-decoration: none; }
.cs-slot--filled { background: var(--white); border-style: solid; border-color: var(--border-light); box-shadow: 0 1px 4px rgba(0,0,0,0.06); font-style: normal; }
.cs-slot--filled a { color: var(--dark-blue); text-decoration: none; }
.cs-slot--filled a:hover { text-decoration: underline; }
.cs-slot--logo { padding: 0.5rem 1rem; }
.cs-slot--logo a { display: block; line-height: 0; }
.cs-slot--logo img { max-height: 70px; max-width: 160px; display: block; margin: 0 auto; }
.cs-slot--wide { grid-column: span 2; }
.cs-slot--wide img { max-height: 80px; max-width: 100%; }
.cs-tier--top .cs-slot { padding: 1.75rem 2rem; min-height: 100px; font-size: 1rem; }
.cs-tier--top .cs-slot--logo { padding: 0.75rem 2rem; }
.cs-tier--top .cs-slot img { max-width: 200px; }
a.cs-slot { transition: border-color var(--transition-base), background var(--transition-base), transform var(--transition-base); }
a.cs-slot:hover { border-color: rgba(45, 84, 117, 0.6); background: var(--amber); transform: translateY(-1px); text-decoration: none; }
a.cs-slot:focus-visible { outline: 2px solid var(--medium-blue); outline-offset: 2px; }
a.cs-slot--plus { font-size: 2rem; font-style: normal; font-weight: 400; color: rgba(45, 84, 117, 0.55); }
a.cs-slot--plus:hover { color: var(--dark-blue); }
.cs-tier--top a.cs-slot--plus { font-size: 2rem; }
/* Friend of the Lights: five small boxes across */
.cs-tier--small .cs-grid { grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 0.5rem; }
.cs-tier--small .cs-slot { min-height: 64px; padding: 0.6rem 0.5rem; font-size: 0.82rem; line-height: 1.3; overflow-wrap: anywhere; }
.cs-tier--small .cs-slot--logo { padding: 0.4rem 0.5rem; }
.cs-tier--small .cs-slot--logo img { max-height: 44px; max-width: 100%; }
.cs-tier--small a.cs-slot--plus { font-size: 1.5rem; }
.cs-names { font-size: 0.95rem; line-height: 1.7; color: var(--text-primary); }
.cs-names div { padding: 0.15rem 0; }
.cs-names a { color: var(--dark-blue); text-decoration: none; }
.cs-names a:hover { text-decoration: underline; }
.cs-other { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--border-light); }
.cs-other h4 { font-family: 'Public Sans', sans-serif; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--dark-blue); margin: 0 0 0.5rem; }
.cs-other p { font-size: 0.92rem; color: var(--text-secondary); margin: 0.75rem 0 0; }
.cs-donate { margin-top: 1.5rem; text-align: center; }
.cs-note { max-width: 640px; margin: 2rem auto 0; font-size: 0.85rem; line-height: 1.6; color: var(--text-tertiary); text-align: left; }
.cs-note p { margin: 0 0 0.75rem; }
.cs-note a { color: var(--dark-blue); font-weight: 600; }
.cs-cta { margin-top: 1.5rem; }
@media (max-width: 380px) { .cs-slot--wide { grid-column: auto; } }
.sp-pitch { max-width: 62ch; margin: 2.5rem auto 0; padding: 0 var(--space-xl); font-size: 1.1rem; line-height: 1.8; color: var(--dark-blue); text-align: center; }
.sp-pitch p { margin: 0 0 1.1rem; }
.sp-pitch p:last-child { margin-bottom: 0; }
.sp-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; max-width: 900px; margin: 2.5rem auto 0; padding: 0 var(--space-xl); }
.sp-strip img { width: 100%; height: 170px; object-fit: cover; border-radius: 8px; }
.sp-card { max-width: 560px; margin: 2rem auto 0; background: var(--white); border: 1px solid var(--border-light); border-radius: 10px; box-shadow: 0 1px 4px rgba(0,0,0,0.06); padding: clamp(1.5rem, 3vw, 2.25rem); }
.sp-card h2 { font-family: 'Adriano Etc', 'Courier New', monospace; font-weight: normal; font-size: 1.9rem; color: var(--dark-blue); margin: 0 0 0.6rem; text-align: center; }
.sp-card .desc { font-size: 0.95rem; line-height: 1.65; color: var(--text-secondary); margin: 0 0 1.5rem; text-align: center; }
.goal-bar-wrap { margin: 0 0 1.25rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--border-light); }
.tier-list { list-style: none; margin: 0 0 1.5rem; padding: 0; }
.tier-item { display: flex; justify-content: space-between; align-items: baseline; padding: 0.7rem 0; border-bottom: 1px solid var(--border-light); }
.tier-item:last-child { border-bottom: none; }
.tier-name { font-weight: 600; color: var(--dark-blue); font-size: 1rem; }
.tier-amount { font-weight: 700; color: var(--dark-blue); font-size: 1rem; white-space: nowrap; }
.donate-button-wrap { display: flex; justify-content: center; margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px solid var(--border-light); }
.gb-heart { display: inline-flex; align-items: center; gap: 0.5rem; background: #F4385A; color: #fff; font-family: 'Public Sans', sans-serif; font-weight: 600; font-size: 1rem; padding: 0.7rem 1.4rem; border-radius: 999px; text-decoration: none; box-shadow: 0 2px 6px rgba(0,0,0,0.15); transition: background 0.2s; }
.gb-heart:hover { background: #E02E4E; color: #fff; }
.sp-shared { font-size: 0.85rem; line-height: 1.6; color: var(--text-secondary); text-align: center; max-width: 66ch; margin: 1.75rem auto 0; padding: 0 var(--space-xl); }
.sp-shared a, .sp-contact a { color: var(--dark-blue); font-weight: 600; }
.sp-contact { font-size: 0.95rem; line-height: 1.6; color: var(--text-secondary); text-align: center; max-width: 60ch; margin: 1.25rem auto 0; padding: 0 var(--space-xl); }
@media (max-width: 768px) { .sp-strip { gap: 0.4rem; } .sp-strip img { height: 100px; } .sp-card { max-width: 420px; } }
@media (max-width: 600px) { .sp-strip { grid-template-columns: 1fr; } .sp-strip img { height: 150px; } .sp-pitch { text-align: left; } }
.presented-by img.pb-town { height: 38px; }
.footer-logos img.fl-town { height: 44px; }
.footer-logos img[src*="museum-logo-black"] { position: relative; top: -4px; }

/* ---------- About: five-up row and card kickers (2026-10-12) ---------- */
.five-lists { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.five-lists > .list-card { grid-column: span 2; }
.five-lists > .list-card:nth-child(4) { grid-column: 2 / span 2; }
.five-lists > .list-card:nth-child(5) { grid-column: 4 / span 2; }
.lc-kicker { display: block; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--medium-blue); margin-bottom: 0.4rem; }
.five-lists .list-card h3 { font-size: 1.35rem; }
@media (max-width: 1100px) { .five-lists { grid-template-columns: 1fr 1fr; } .five-lists > .list-card, .five-lists > .list-card:nth-child(4), .five-lists > .list-card:nth-child(5) { grid-column: auto; } }
@media (max-width: 600px) { .five-lists { grid-template-columns: 1fr; } }

/* ---------- Design-review batch (2026-10-13 evening) ---------- */
/* Primary buttons: Dark Green on light backgrounds (8.6:1); blue becomes the outline secondary. */
.cta-button { background: var(--dark-green); border-color: var(--dark-green); }
.cta-button:hover { background: #0A3F09; border-color: #0A3F09; }
.content-card .cta-button { background: var(--dark-green); color: var(--white); border: 2px solid var(--dark-green); }
.content-card:hover .cta-button { background: #0A3F09; }
.cta-button.content-button-blue, .content-card .cta-button.content-button-blue { background: var(--white); color: var(--dark-blue); border: 2px solid var(--dark-blue); box-shadow: none; }
.cta-button.content-button-blue:hover, .content-card .cta-button.content-button-blue:hover { background: var(--dark-blue); color: var(--white); }
.cta-button.cta-amber { background: var(--amber); border-color: transparent; color: var(--night); }
.cta-button.cta-amber:hover { background: var(--amber-deep); border-color: var(--amber-deep); color: var(--night); }
.cta-button.cta-ghost { background: rgba(255,255,255,0.12); color: var(--warm-white); border-color: rgba(255,255,255,0.55); }
.cta-button.cta-ghost:hover { background: rgba(255,255,255,0.22); border-color: var(--warm-white); color: var(--white); }
.nav-links .contact-btn { color: var(--night); }
/* Buttons inside content cards: a row, not stretched bars. */
.content-card .cta-button { align-self: center; width: auto; min-width: 200px; max-width: 320px; margin-left: 0 !important; }
.content-card .cta-row { align-self: center; }
.cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin-top: 0.25rem; }
.cta-row .cta-button { margin: 0 !important; }
/* Static CTA blocks are not links. */
.content-card--light-blue, .content-card--light-blue:hover { cursor: default; border-color: transparent; transform: none; }
/* Kickers on light backgrounds: Dark Blue (7.7:1). Night-band kickers stay amber. */
.section-kicker, .evening .date small, .anchor h4, .roster-group h3, .listing-also > h3, .lc-kicker, .ticket-card--free .tier-num { color: var(--dark-blue); }
/* Long paragraphs read better left-aligned; headings stay centered. */
.hub-intro, .sp-pitch, .sp-shared, .content-card--left-text p, .content-card--left-text li, .feature-text p, #two-miles .section-head p { text-align: left; }
.sp-contact { text-align: center; }
.sp-shared { max-width: 62ch; margin-left: auto; margin-right: auto; }
.sponsor-grid .roster-empty, .listing-empty, .gallery-empty, .note { text-align: center; }
@media (max-width: 600px) { .section-head p { text-align: left; } }
/* Village Nights: "Also that evening" on the soft neutral so Light Blue is reserved for CTAs. */
.also { background: var(--bg-light); border: 1px solid var(--border-light); }
/* Stacked blocks on the Host sub-pages share one width. */
.host-sub .content-card { max-width: 760px !important; }
/* Subnav: show that it scrolls. */
.subnav-inner { position: relative; }
@media (max-width: 768px) {
    .subnav-inner::after { content: ''; position: absolute; right: 0; top: 0; bottom: 0; width: 2.5rem; pointer-events: none; background: linear-gradient(90deg, rgba(209,229,252,0), var(--light-blue)); }
}
/* Home strip and logo row on phones. */
@media (max-width: 768px) {
    .tonight-inner { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
    .tonight-items { flex-direction: column; gap: 0.35rem; }
    .presented-by { gap: 0.75rem 1.25rem; }
    .presented-by span:first-child { width: 100%; text-align: center; }
    .presented-by .sep { display: none; }
}
/* Orphan-free grids on phones and tablets. */
@media (max-width: 900px) { .anchors, .deadlines { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .anchors, .deadlines { grid-template-columns: 1fr; } }
/* Six router cards on Visit: three across. */
.six-lists { grid-template-columns: repeat(3, 1fr); max-width: 1000px; }
@media (max-width: 900px) { .six-lists { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .six-lists { grid-template-columns: 1fr; } }
/* Home: the white card rows sit on a soft band so they read as cards. */
.band-soft { background: var(--bg-light); padding-bottom: 3rem; }
/* Footer in night, closing the loop with the page banners; the pre-footer Light Blue blocks now sit on contrast. */
footer { background: var(--night); margin-top: 3.5rem; }
.footer-main-content h3 { color: var(--warm-white); }
.footer-main-content p, .footer-copyright p, .social-coming-soon { color: var(--night-text); opacity: 1; font-weight: 400; }
.footer-credits summary, .footer-credits div, .footer-credits p { color: var(--night-muted) !important; }
.footer-credits .credits-arrow { color: var(--amber) !important; }
footer a { color: var(--warm-white); }
.footer-copyright { border-top-color: rgba(255,255,255,0.14); }
.footer-logos img { height: 40px; }
.footer-logos img[src*="museum-logo-white"] { position: relative; top: -3px; }
.footer-logos img.fl-town { height: 40px; }
.footer-simplified { grid-template-columns: 1fr auto; gap: 3rem; }
.footer-nav { list-style: none; margin: 0 0 0.75rem; padding: 0; display: flex; flex-wrap: wrap; gap: 0.35rem 1.1rem; justify-content: center; max-width: 420px; }
/* Footer sitemap: three short columns with Adriano headings (2026-10-14). */
.footer-sitemap { display: grid; grid-template-columns: repeat(3, auto); gap: 1rem 2.75rem; justify-content: end; text-align: left; }
.footer-sitemap--2 { grid-template-columns: repeat(2, auto); }   /* pre-launch public pages: Visit column removed by .deploy/publish-public.py */
.fs-col { display: flex; flex-direction: column; gap: 0.3rem; }
.fs-col h4 { font-family: 'Adriano Etc', 'Courier New', monospace; font-weight: normal; font-size: 1.1rem; color: var(--warm-white); margin: 0 0 0.35rem; letter-spacing: 0.01em; }
.fs-col a { font-family: 'Public Sans', sans-serif; font-size: 0.85rem; color: var(--night-muted); text-decoration: none; line-height: 1.4; white-space: nowrap; }
.fs-col a:hover { color: var(--amber); }
.footer-simplified { align-items: start; }
@media (max-width: 900px) { .footer-simplified { grid-template-columns: 1fr; gap: 2rem; } .footer-sitemap { justify-content: center; gap: 1rem 2.5rem; } .footer-social { margin: 0 auto; } }
@media (max-width: 768px) { .footer-sitemap { justify-content: center; grid-template-columns: repeat(3, auto); gap: 1rem 1.75rem; } .fs-col a { white-space: normal; } }
@media (max-width: 480px) { .footer-sitemap { grid-template-columns: repeat(2, auto); gap: 1.25rem 2.5rem; } }
.audience-band { margin-bottom: 0; }
footer.footer--flush { margin-top: 0; }
.footer-nav a { font-family: 'Adriano Etc', 'Courier New', monospace; font-size: 1rem; color: var(--warm-white); text-decoration: none; }
.footer-nav a:hover { color: var(--amber); }
.footer-social { align-items: center; }
@media (max-width: 768px) {
    .footer-logos { justify-content: center; }
    .footer-social { align-items: center; }
}
/* Elf page */
.elf .elf-mark { display: inline-block; margin-bottom: 1.25rem; }
.elf .elf-mark img { height: 56px; width: auto; display: block; margin: 0 auto 0.35rem; }
.elf .elf-mark small { display: block; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--amber); }
.elf a.elf-link { display: inline-block; margin-top: 1rem; color: var(--night-muted); font-size: 0.95rem; }
.elf a.elf-link:hover { color: var(--warm-white); }

/* ---------- Batch 3 housekeeping (2026-10-13 night) ---------- */
/* Spacing utilities, replacing per-page inline padding-top on .container. */
.pt-0 { padding-top: 0 !important; } .pt-xs { padding-top: 1rem !important; } .pt-sm { padding-top: 1.5rem !important; } .pt-md { padding-top: 2rem !important; } .pt-lg { padding-top: 2.5rem !important; } .pt-xl { padding-top: 3rem !important; } .pt-2xl { padding-top: 3.5rem !important; }
.mt-xs { margin-top: 0.75rem !important; } .mt-sm { margin-top: 1rem !important; } .mt-2xl { margin-top: 3.5rem !important; } .mb-0 { margin-bottom: 0 !important; }
.center { text-align: center; }
.spacer { height: 2.5rem; }
.fine { color: var(--text-tertiary); font-size: 0.85rem; }
.strong-link { color: var(--dark-blue); font-weight: 600; }
textarea { min-height: 100px; }
/* Components that used to carry inline styles. */
.hero.image-only { height: 42vh; min-height: 280px; max-height: 460px; }
.content-card.card-wide { max-width: 1000px; margin-left: auto; margin-right: auto; cursor: default; }
.card-title { font-size: 1.7rem; text-align: center; }
.card-title--left { text-align: left; }
.four-lists--fill { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.four-lists.two-lists { grid-template-columns: repeat(2, 1fr); max-width: 960px; }   /* the Host hub's two ways in (2026-10-19) */
.four-lists.two-lists .list-card p { font-size: 1rem; line-height: 1.55; }
@media (max-width: 700px) { .four-lists.two-lists { grid-template-columns: 1fr; } }
.footer-logos.who-logos { justify-content: center; margin-top: 1.5rem; }
.footer-credits { margin-top: 1rem; font-size: 0.74rem; }
.footer-credits summary { cursor: pointer; list-style: none; display: inline-block; padding: 0.25rem 0; user-select: none; font-weight: 500; }
.footer-credits summary::-webkit-details-marker { display: none; }
.footer-credits .credits-arrow { font-size: 0.6em; display: inline-block; }
.footer-credits .credits-body { margin-top: 0.5rem; font-size: 0.95em; line-height: 1.5; }
.footer-credits .credits-body p { margin: 0; }
.social-coming-soon { font-size: 0.85rem; }
#two-miles .lit-line { font-size: 0.95rem; }

/* ---------- Early-look band (pre-launch public pages; inserted at the top of <main> by .deploy/publish-public.py) ---------- */
.early-band { background: var(--amber); color: var(--night, #1F2933); font-family: 'Public Sans', sans-serif; font-size: 0.88rem; font-weight: 600; letter-spacing: 0.01em; text-align: center; padding: 0.55rem 1rem; }
.early-band a { color: inherit; text-decoration: underline; }


/* ---------- Event page (event.php, rendered from data/events.json; 2026-10-15) ---------- */
.evp-banner .banner-kicker { display: block; font-family: 'Public Sans', sans-serif; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--amber); margin-bottom: 0.6rem; }
.evp-banner .banner-sub strong { color: var(--warm-white); font-weight: 600; }
.evp-lead { max-width: 1000px; margin: -2.5rem auto 0; padding: 0 var(--space-xl); position: relative; }
.evp-lead img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; border-radius: var(--radius-xl); box-shadow: 0 10px 30px rgba(0,0,0,0.18); display: block; background: var(--light-blue); }
.evp-lead figcaption { font-size: 0.8rem; color: var(--text-tertiary); text-align: right; margin-top: 0.4rem; }
.evp-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 2.5rem; max-width: 1000px; margin: 0 auto; padding: 0 var(--space-xl); align-items: start; }
.evp-main p { font-size: 1.05rem; line-height: 1.7; color: var(--text-primary); margin: 0 0 1.1rem; text-align: left; }
.evp-main h2 { font-family: 'Public Sans', sans-serif; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--dark-blue); margin: 2rem 0 0.8rem; }
.evp-main h2:first-child { margin-top: 0; }
.evp-facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; }
.evp-facts li { font-size: 0.98rem; line-height: 1.55; color: var(--text-primary); padding-left: 1.4rem; position: relative; }
.evp-facts li::before { content: ''; position: absolute; left: 0.2rem; top: 0.6rem; width: 0.45rem; height: 0.45rem; border-radius: 50%; background: var(--amber-deep); }
.evp-photos { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0.75rem; margin-top: 0.5rem; }
.evp-photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-md); display: block; background: var(--light-blue); }
.evp-side { display: grid; gap: 1.25rem; position: sticky; top: 110px; }
.evp-card { background: var(--white); border: 1px solid var(--border-light); border-radius: var(--radius-lg); box-shadow: 0 1px 4px rgba(0,0,0,0.06); padding: 1.4rem 1.5rem; }
.evp-card h3 { font-family: 'Public Sans', sans-serif; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dark-blue); margin: 0 0 0.6rem; }
.evp-card p { font-size: 0.98rem; line-height: 1.55; color: var(--text-primary); margin: 0 0 0.6rem; text-align: left; }
.evp-card p:last-child { margin-bottom: 0; }
.evp-card .evp-when { font-family: 'Adriano Etc', 'Courier New', monospace; font-size: 1.35rem; color: var(--dark-blue); line-height: 1.25; margin-bottom: 0.25rem; }
.evp-card .evp-vn { display: inline-block; background: var(--light-blue); color: var(--dark-blue); font-size: 0.8rem; font-weight: 700; padding: 0.2rem 0.6rem; border-radius: 999px; margin-top: 0.4rem; }
.evp-card .cta-button { width: 100%; text-align: center; margin-top: 0.6rem; box-sizing: border-box; }
.evp-card a.plain { color: var(--dark-blue); font-weight: 600; }
.evp-quote { border-left: 3px solid var(--amber); padding: 0.1rem 0 0.1rem 1rem; margin: 0.8rem 0 0; font-style: italic; color: var(--text-secondary); font-size: 0.98rem; line-height: 1.6; }
.evp-quote cite { display: block; font-style: normal; font-size: 0.85rem; color: var(--text-tertiary); margin-top: 0.35rem; }
.evp-links { display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; font-size: 0.95rem; }
.evp-links a { color: var(--dark-blue); font-weight: 600; }
.evp-more { max-width: 1000px; margin: 3rem auto 0; padding: 0 var(--space-xl); }
.evp-tbc { background: var(--light-blue); color: var(--dark-blue); font-size: 0.92rem; padding: 0.7rem 1rem; border-radius: var(--radius-md); margin-bottom: 1.25rem; }
@media (max-width: 900px) { .evp-grid { grid-template-columns: 1fr; gap: 2rem; } .evp-side { position: static; } .evp-lead { margin-top: -1.5rem; } }
@media (max-width: 600px) { .evp-lead, .evp-grid, .evp-more { padding: 0 var(--space-md); } .evp-lead img { aspect-ratio: 4 / 3; } }
/* Stop and sponsor pages (2026-10-20): the 'Adapted from' line, the owner's invitation, the sponsor's logo and Q&A */
.evp-source { margin-top: -0.4rem; }
.evp-own { margin: 0 0 1rem; }
.evp-logo { display: block; max-width: 220px; max-height: 110px; width: auto; height: auto; margin: 0 0 0.9rem; }
.evp-qa h3 { font-family: 'Public Sans', sans-serif; font-size: 1.05rem; font-weight: 700; color: var(--dark-blue); line-height: 1.4; margin: 1.4rem 0 0.4rem; }
.evp-qa h3:first-child { margin-top: 0; }

/* ---------- "With gratitude · Our sponsors" badge in the top banners (2026-10-15), after the farmers market's ---------- */
.page-banner { position: relative; }
.sponsor-badge { position: absolute; bottom: 0.9rem; right: 3%; z-index: 2; display: flex; align-items: center; gap: clamp(5px, 0.8vw, 8px); background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.3); border-radius: 8px; padding: clamp(5px, 0.7vw, 9px) clamp(9px, 1.2vw, 14px); text-decoration: none; cursor: pointer; transition: background 0.2s, border-color 0.2s; }
.sponsor-badge:hover { background: rgba(255,255,255,0.2); border-color: rgba(255,255,255,0.55); text-decoration: none; }
.sponsor-badge .badge-heart { font-size: clamp(1.7rem, 2.8vw, 2.4rem); color: #F4385A; line-height: 1; display: flex; align-items: center; transition: color 0.2s, text-shadow 0.2s; -webkit-text-stroke: 1px rgba(255,255,255,0.5); text-shadow: 0 2px 4px rgba(0,0,0,0.35), 0 0 10px rgba(244,56,90,0.4); }
.sponsor-badge:hover .badge-heart { color: #E02E4E; text-shadow: 0 2px 5px rgba(0,0,0,0.4), 0 0 14px rgba(244,56,90,0.55); }
.sponsor-badge-text { display: flex; flex-direction: column; text-align: left; }
.sponsor-badge-line1 { font-family: 'Public Sans', sans-serif; font-size: clamp(0.45rem, 0.7vw, 0.6rem); font-weight: 600; color: rgba(255,255,255,0.85); text-transform: uppercase; letter-spacing: 0.1em; line-height: 1.3; }
.sponsor-badge-line2 { font-family: 'Public Sans', sans-serif; font-size: clamp(0.62rem, 0.95vw, 0.8rem); font-weight: 700; color: #FFFFFF; line-height: 1.2; }
/* heart only, set by lights.js when the full badge would touch the banner text */
.sponsor-badge--mini .sponsor-badge-text { display: none; }
.sponsor-badge--mini { padding: clamp(4px, 0.5vw, 6px) clamp(6px, 0.7vw, 9px); }
@media (max-width: 1100px) { .sponsor-badge { right: 1.25rem; } }
@media (max-width: 768px) {
    /* a centered chip under the banner text, so it never sits on the title */
    .sponsor-badge { position: static; transform: none; width: max-content; margin: 1.1rem auto 0; padding: 0.4rem 0.75rem; gap: 0.45rem; }
    .sponsor-badge .badge-heart { font-size: 1.5rem; }
    .sponsor-badge-line1 { font-size: 0.5rem; }
    .sponsor-badge-line2 { font-size: 0.68rem; }
    .page-banner { padding-bottom: 2.5rem; }
}

/* ---------- Lightbox for event and stop page photos (2026-10-19); a.zoom links in event.php and stop.php ---------- */
a.zoom { display: block; cursor: zoom-in; }
a.zoom img { display: block; }
.lightbox { position: fixed; inset: 0; z-index: 10000; background: rgba(12, 24, 40, 0.94); display: none; align-items: center; justify-content: center; padding: 3rem 1rem 1.5rem; }
.lightbox.open { display: flex; }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 0.6rem; }
.lightbox img { max-width: 96vw; max-height: calc(100vh - 6rem); width: auto; height: auto; object-fit: contain; border-radius: var(--radius-md); box-shadow: 0 10px 40px rgba(0,0,0,0.5); background: #fff; }
.lightbox figcaption { color: var(--warm-white); font-size: 0.9rem; text-align: center; max-width: 90vw; }
.lightbox button { position: absolute; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.35); color: #fff; width: 44px; height: 44px; border-radius: 50%; font-size: 1.8rem; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; font-family: inherit; }
.lightbox button:hover, .lightbox button:focus-visible { background: rgba(255,255,255,0.25); outline: none; }
.lightbox .lb-close { top: 0.9rem; right: 0.9rem; }
.lightbox .lb-prev { left: 0.9rem; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 0.9rem; top: 50%; transform: translateY(-50%); }
body.lightbox-open { overflow: hidden; }
@media (max-width: 600px) { .lightbox { padding: 3.5rem 0.5rem 1rem; } .lightbox .lb-prev, .lightbox .lb-next { top: auto; bottom: 0.75rem; transform: none; } .lightbox img { max-height: calc(100vh - 8rem); } }

/* ---------- Home sponsor card (2026-10-22): "Our Sponsors" garland on night blue ----------
   Fed by renderSponsorCard() in lights.js from the same merged list as our-sponsors.html. Firekeeper and up hang as lit
   ornaments on the swag, center outward by level (Season at the bottom of the curve); Lamplighters as outline rings with
   a lit cap; Friends of the Lights (and gifts with no level) in the typeset roster below. Empty positions are drawn as
   decoration so the string always looks full; the last position is the "Your name here" invitation, all season. */
.home-sponsors { background: var(--night); color: var(--night-text); padding: 2.5rem var(--space-xl) 2.25rem; margin-top: 3rem; }
.band-soft + .home-sponsors { margin-top: 0; }   /* straight after the events band, no pale gap (2026-10-22) */
.sc-inner { max-width: 1120px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.sc-rule { width: 100%; height: 1px; background: var(--amber); opacity: 0.8; position: relative; }
.sc-rule::after { content: ""; position: absolute; left: 0; right: 0; top: 4px; height: 1px; background: var(--amber); opacity: 0.4; }
.sc-rule--bottom { margin-top: 1.9rem; }
.sc-rule--bottom::after { top: -4px; }
.sc-head { text-align: center; margin: 1.9rem 0 0; max-width: 700px; }
.sc-kicker { display: inline-flex; align-items: center; gap: 0.6rem; font-weight: 700; font-size: 0.74rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--amber); }
.sc-kicker svg { width: 12px; height: 11px; display: block; }
.sc-head h2 { font-family: 'Adriano Etc', 'Courier New', monospace; font-weight: normal; font-size: clamp(1.9rem, 3.4vw, 2.5rem); color: var(--warm-white); letter-spacing: -0.01em; margin: 0.5rem 0 0.4rem; }
.sc-head p { color: var(--night-muted); font-style: italic; font-size: 1.05rem; line-height: 1.55; margin: 0; }
.sc-garland { width: 100%; margin-top: 1.4rem; }
.sg-row { position: relative; width: 100%; }
.sg-row + .sg-row { margin-top: 0.25rem; }
.sg-row > svg { position: absolute; left: 0; top: 0; width: 100%; height: 80px; display: block; }
.sg-slots { display: flex; justify-content: space-evenly; align-items: flex-start; position: relative; }
.sg-orn { display: flex; flex-direction: column; align-items: center; padding-top: var(--y, 8px); text-decoration: none; flex: 0 0 auto; }
.sg-string { width: 1px; height: var(--s, 40px); background: rgba(255,244,220,0.32); }
.sg-cap { width: 11px; height: 7px; background: var(--amber); border-radius: 2px 2px 0 0; }
.sg-ball { width: var(--d, 72px); height: var(--d, 72px); border-radius: 50%; display: flex; align-items: center; justify-content: center; text-align: center; box-sizing: border-box; overflow: hidden; }
.sg-orn--season { --d: 140px; } .sg-orn--night { --d: 124px; } .sg-orn--firekeeper { --d: 76px; } .sg-orn--lamplighter { --d: 64px; }
.sg-orn--season .sg-cap { width: 14px; height: 9px; } .sg-orn--night .sg-cap { width: 12px; height: 8px; }
.sg-lit .sg-ball { border: 1.5px solid var(--amber); box-shadow: 0 0 26px rgba(244,195,107,0.26); }
.sg-orn--season .sg-ball { box-shadow: 0 0 0 4px var(--night), 0 0 0 5.5px rgba(244,195,107,0.9), 0 0 34px rgba(244,195,107,0.32); }
.sg-ball--lit { background: radial-gradient(circle at 50% 38%, rgba(244,195,107,0.34), rgba(244,195,107,0.10) 70%); }
.sg-ball--lit svg { display: block; }
.sg-orn--firekeeper .sg-ball--lit svg { width: 22px; height: 22px; }
.sg-tag { display: block; max-width: 150px; margin-top: 8px; font-size: 12.5px; line-height: 1.3; font-weight: 600; letter-spacing: 0.02em; color: var(--night-text); text-align: center; overflow-wrap: normal; word-break: keep-all; hyphens: manual; }
.sg-orn--season .sg-tag, .sg-orn--night .sg-tag { font-size: 13.5px; }
.sg-orn--season .sg-tag { margin-top: 14px; }   /* the halo ring sits 6px outside the ball */
.sg-orn:hover .sg-tag { color: var(--amber); }
.sg-ball--logo { background: var(--warm-white); padding: 14%; }
.sg-ball--logo img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
.sg-ball--photo { background: var(--warm-white); }
.sg-ball--photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sg-orn--lamplighter .sg-ball { border: 1.5px solid rgba(255,244,220,0.7); box-shadow: none; background: none; }
.sg-orn--lamplighter .sg-cap { width: 10px; box-shadow: 0 0 10px rgba(244,195,107,0.7); }
.sg-deco .sg-string { background: rgba(255,244,220,0.2); }
.sg-deco .sg-cap { width: 8px; height: 5px; opacity: 0.6; }
.sg-deco--ring .sg-ball { border: 1.5px solid rgba(255,244,220,0.42); }
.sg-deco--ring svg { display: block; }
.sg-deco--bead .sg-ball { background: var(--amber); opacity: 0.8; box-shadow: 0 0 14px rgba(244,195,107,0.6); }
.sg-plus { --d: 72px; }
.sg-plus .sg-cap { width: 10px; opacity: 0.5; }
.sg-plus .sg-ball { border: 1.5px dashed rgba(255,244,220,0.55); }
.sg-plus .sg-tag { font-weight: 600; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--night-muted); }
.sg-plus .sg-ball b { font-family: 'Adriano Etc', 'Courier New', monospace; font-weight: normal; font-size: 26px; line-height: 1; color: var(--amber); }
.sg-plus:hover .sg-ball { border-color: var(--amber); }
.sc-roster { width: 100%; margin-top: 1.4rem; text-align: center; }
.sc-roster-head { display: flex; align-items: center; gap: 1rem; }
.sc-roster-head::before, .sc-roster-head::after { content: ""; flex: 1; height: 1px; background: rgba(244,195,107,0.4); }
.sc-roster-head span { font-weight: 700; font-size: 0.69rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--amber); }
.sc-roster p { margin: 0.8rem auto 0; max-width: 980px; font-size: 0.95rem; line-height: 1.9; color: var(--night-text); }
.sc-roster p a { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(244,195,107,0.45); }
.sc-roster p a:hover { color: var(--amber); }
.sc-dot { color: var(--amber); margin: 0 0.5rem; }
.sc-links { display: flex; align-items: center; gap: 1.4rem; margin-top: 2rem; font-weight: 700; font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; }
.sc-links a { color: var(--night-text); border-bottom: 1px solid rgba(244,195,107,0.6); padding-bottom: 3px; text-decoration: none; }
.sc-links a:hover { color: var(--amber); }
.sc-sep { width: 1px; height: 14px; background: rgba(255,244,220,0.4); }
@media (max-width: 900px) {
    .sg-orn--season { --d: 120px; } .sg-orn--night { --d: 104px; } .sg-orn--firekeeper { --d: 66px; } .sg-orn--lamplighter { --d: 56px; } .sg-plus { --d: 62px; }
}
@media (max-width: 760px) {
    .home-sponsors { padding: 1.75rem 1.25rem 1.5rem; margin-top: 2rem; }
    .sc-head { margin-top: 1.5rem; } .sc-head p { font-size: 1rem; }
    .sg-row > svg { height: 50px; }
    .sg-plus .sg-tag { font-size: 10px; max-width: 64px; letter-spacing: 0.06em; } .sg-plus .sg-ball b { font-size: 22px; }
    .sg-orn { max-width: 31%; }
    .sg-orn--season { --d: 96px; } .sg-orn--night { --d: 84px; } .sg-orn--firekeeper { --d: 54px; } .sg-orn--lamplighter { --d: 50px; } .sg-plus { --d: 54px; }
    .sg-orn--firekeeper .sg-ball--lit svg { width: 16px; height: 16px; } .sg-orn--firekeeper .sg-tag { font-size: 10.5px; max-width: 84px; }
    .sg-tag { font-size: 11.5px; max-width: 110px; margin-top: 6px; } .sg-orn--season .sg-tag { margin-top: 12px; } .sg-orn--season .sg-tag, .sg-orn--night .sg-tag { font-size: 12px; }
    .sc-roster p { font-size: 0.88rem; }
    .sc-links { flex-direction: column; gap: 0.75rem; margin-top: 1.2rem; }
    .sc-sep { width: 14px; height: 1px; }
}

/* Home: Passport invitation between the events and the sponsors (2026-10-22) */

/* 2026-10-22: the phone menu carries the pages the top bar leaves to the footer */
.nav-links .nav-more { display: none; }
@media (max-width: 900px) {
    .nav-links .nav-more { display: block; }
    .nav-links .nav-more a { font-size: 0.95rem; padding: 0.5rem 1rem; color: var(--text-secondary, #4b5563); }
    .nav-links .nav-more--first { border-top: 1px solid rgba(45, 84, 117, 0.18); margin-top: 0.5rem; padding-top: 0.5rem; }
}

/* 2026-10-22: Passport stop cards and the map filter */
.map-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin: 0 0 1rem; }
.map-filter { font-family: 'Public Sans', sans-serif; font-size: 0.9rem; font-weight: 600; padding: 0.45rem 1rem; border-radius: 999px; border: 1.5px solid var(--medium-green, #639605); background: var(--white); color: var(--dark-green, #3F6B00); cursor: pointer; transition: all var(--transition-base); }
.map-filter:hover { background: #EEF6E4; }
.map-filter.is-on { background: var(--medium-green, #639605); color: var(--white); }
.stop-map-wrap { max-width: var(--container-xl); margin: 0 auto 1.75rem; padding: 0 var(--space-xl); }
#slmap.slmap--compact { height: 46vh; min-height: 320px; max-height: 480px; }
.stop-map-wrap .note { text-align: center; margin-top: 0.75rem; }
.stop-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; max-width: var(--container-xl); margin: 0 auto; padding: 0 var(--space-xl); }
.stop-card { background: var(--white); border: 2px solid var(--border-light); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: all var(--transition-base); }
.stop-card:hover { border-color: var(--bright-blue); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.stop-card--lit { border-color: #E9D3A3; box-shadow: 0 0 0 3px #FFF3DA inset; }
.stop-photo { display: block; aspect-ratio: 3 / 2; background: var(--night, #1B3A52); overflow: hidden; position: relative; }
.stop-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.stop-photo-empty { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 3rem; color: var(--amber, #F4C36B); opacity: 0.85; }
.stop-body { padding: 1.1rem 1.25rem 1.25rem; display: flex; flex-direction: column; gap: 0.35rem; flex: 1; }
.stop-body h3 { font-family: 'Adriano Etc', 'Courier New', monospace; font-weight: normal; font-size: 1.35rem; color: var(--dark-blue); margin: 0; }
.stop-body h3 a { color: inherit; text-decoration: none; } .stop-body h3 a:hover { text-decoration: underline; }
.stop-short { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.5; margin: 0; }
.stop-addr { color: var(--text-tertiary); font-size: 0.85rem; margin: 0; }
.stop-perk { font-size: 0.95rem; line-height: 1.45; color: var(--dark-blue); margin: 0.45rem 0 0.1rem; background: #FFF3DA; border-left: 3px solid var(--amber-deep, #E0A33C); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 0.55rem 0.8rem; }
.stop-perk-k { display: block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #8A5A00; margin-bottom: 0.15rem; }
.stop-perk em { color: var(--text-tertiary); }
.stop-links { margin-top: auto; padding-top: 0.7rem; display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; }
.stop-links a { font-size: 0.9rem; font-weight: 600; color: var(--dark-green, #3F6B00); text-decoration: none; }
.stop-links a:hover { text-decoration: underline; }
.stop-card:target { border-color: var(--amber-deep); box-shadow: 0 0 0 3px rgba(224,163,60,0.35), var(--shadow-md); }
.show-figure--card { max-width: 400px; }
.stop-card .badges { display: flex; gap: 0.4rem; flex-wrap: wrap; margin-top: 0.3rem; }
.stop-map { margin-top: auto; padding-top: 0.6rem; font-size: 0.9rem; font-weight: 600; color: var(--dark-green, #3F6B00); text-decoration: none; }
.stop-map:hover { text-decoration: underline; }
@media (max-width: 900px) { .stop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .stop-grid { grid-template-columns: 1fr; } }

/* ---------- Passport: prizes so far, as a gift box (2026-10-24) ---------- */
.step-link { margin-top: 0.6rem !important; font-size: 0.9rem !important; }
.step-link a { color: var(--dark-green, #0F590D); font-weight: 600; text-decoration: none; }
.step-link a:hover { text-decoration: underline; }
#prizes { scroll-margin-top: calc(var(--nav-h, 100px) + 16px); padding-bottom: 3.5rem; }
.gift { position: relative; max-width: 720px; margin: 0 auto; padding-top: 72px; }
.gift-bow { position: absolute; top: 0; left: 50%; width: 200px; height: 92px; transform: translateX(-50%); fill: var(--amber); z-index: 2; }
.gift-bow ellipse { fill: var(--amber-deep); }
.gift-bow-fold { fill: var(--amber-deep); opacity: 0.55; }
.gift-bow-tail { fill: var(--amber-deep); }
.gift-lid { position: relative; height: 30px; margin: 0 -14px; background: var(--night-2); border-radius: 6px; box-shadow: 0 3px 0 rgba(0,0,0,0.18); z-index: 1;
    background-image: linear-gradient(90deg, transparent calc(50% - 22px), var(--amber) calc(50% - 22px), var(--amber) calc(50% + 22px), transparent calc(50% + 22px)); }
.gift-box { background: var(--night); border-radius: 0 0 var(--radius-md, 10px) var(--radius-md, 10px); padding: 2.25rem 1.5rem 2.5rem;
    background-image: linear-gradient(90deg, transparent calc(50% - 22px), var(--amber) calc(50% - 22px), var(--amber) calc(50% + 22px), transparent calc(50% + 22px)); }
.gift-tag { position: relative; background: var(--warm-white); border-radius: var(--radius-md, 10px); padding: 1.75rem 1.75rem 1.5rem; max-width: 560px; margin: 0 auto; text-align: center; box-shadow: 0 6px 18px rgba(0,0,0,0.25); }
.gift-tag h2 { font-family: 'Adriano Etc', 'Courier New', monospace; font-weight: 400; margin: 0.25rem 0 1rem; color: var(--dark-blue); }
.gift-list { list-style: none; margin: 0 0 1rem; padding: 0; }
.gift-list li { padding: 0.65rem 0; border-top: 1px dashed rgba(27,58,82,0.25); display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 0.2rem 0.5rem; }
.gift-list li:first-child { border-top: 0; }
.gift-prize { font-size: 1.1rem; font-weight: 700; color: var(--dark-blue); }
.gift-from { font-size: 0.95rem; color: var(--text-secondary); }
.gift-from a { color: var(--dark-blue); }
.gift-empty { font-style: italic; color: var(--text-tertiary); margin: 0 0 1rem; }
.gift-fine { font-size: 0.9rem; line-height: 1.55; color: var(--text-secondary); margin: 0; }
@media (max-width: 480px) { .gift-lid { margin: 0 -4px; } .gift-bow { width: 160px; height: 74px; } .gift { padding-top: 58px; } .gift-box { padding: 1.75rem 0.9rem 2rem; } .gift-tag { padding: 1.4rem 1.1rem 1.2rem; } }

/* My Passport pop-up on phones (2026-10-27) */
.app-pop { position: fixed; inset: 0; z-index: 90; display: grid; place-items: end center; padding: 1rem; opacity: 0; transition: opacity 0.25s ease; }
.app-pop.is-in { opacity: 1; }
.app-pop-bg { position: absolute; inset: 0; background: rgba(15, 30, 45, 0.55); }
.app-pop-card { position: relative; width: 100%; max-width: 380px; background: var(--night); color: var(--night-text); border-radius: 20px; padding: 1.5rem 1.25rem calc(1.25rem + env(safe-area-inset-bottom)); text-align: center; box-shadow: 0 16px 48px rgba(0,0,0,0.45); transform: translateY(24px); transition: transform 0.3s cubic-bezier(.2,.8,.2,1); }
.app-pop.is-in .app-pop-card { transform: none; }
.app-pop-x { position: absolute; top: 0.4rem; right: 0.5rem; background: none; border: 0; color: var(--night-muted); font-size: 1.7rem; line-height: 1; min-width: 44px; min-height: 44px; cursor: pointer; }
.app-pop-icon { width: 72px; height: 72px; border-radius: 16px; margin: 0 auto 0.75rem; display: block; box-shadow: 0 4px 14px rgba(0,0,0,0.35); }
.app-pop-card h2 { font-family: 'Adriano Etc', 'Courier New', monospace; font-weight: normal; font-size: 1.6rem; color: var(--warm-white); margin: 0 0 0.4rem; line-height: 1.1; text-wrap: balance; }
.app-pop-card p { font-size: 0.95rem; line-height: 1.5; color: var(--night-text); margin: 0 0 1rem; }
.app-pop-btn { display: block; background: var(--amber); color: #1F2933; font-weight: 700; text-decoration: none; padding: 0.85rem 1rem; border-radius: 999px; font-size: 1.02rem; }
.app-pop-later { display: block; width: 100%; background: none; border: 0; color: var(--night-muted); font: inherit; font-size: 0.92rem; padding: 0.75rem 0 0; cursor: pointer; text-decoration: underline; }
@media (prefers-reduced-motion: reduce) { .app-pop, .app-pop-card { transition: none; } }

/* Home sponsor card, 2026-10-27 art-director review: balanced line breaks (no "Store" or "Mui" alone on a line, no
   "you." alone under the intro); an amber focus ring on the night band (the site's blue ring is 2.8:1 here); a taller
   tap area on the two links; phone name tags no smaller than 11.5 px. */
.sg-tag, .sc-head p { text-wrap: balance; }
.home-sponsors a:focus-visible { outline: 2px solid var(--amber); outline-offset: 4px; border-radius: 6px; }
.sc-links a { padding-top: 8px; }
@media (max-width: 760px) {
    .sg-orn { flex: 0 1 auto; }   /* a name tag narrows (and wraps) rather than pushing the swag off the card */
    .sg-plus .sg-tag { max-width: 84px; }
    .sg-orn--firekeeper .sg-tag { font-size: 11.5px; max-width: 100px; }
}
@media (max-width: 400px) {   /* the two Season balls side by side on the smallest phones */
    .sg-orn--season { --d: min(96px, 27vw); } .sg-orn--night { --d: min(84px, 24vw); }
}

/* Ornament glazes (2026-10-27): optional sponsors[].glaze in passport.json, for a ball with an ornament image or logo;
   cream is the default. Dark or full-color marks go on the light glazes (cream, gold, frost, sage); a one-color mark,
   reversed to cream, on the deep ones (spruce, lake). The ornament image must be a transparent PNG for the glaze to show.
   Picked by hand per sponsor; neighbors on the garland shouldn't share a glaze. Colors: the season's amber and the
   Experience Shelburne brand palette. */
.sg-ball.sg-glaze--cream { background: var(--warm-white, #FFF4DC); }
.sg-ball.sg-glaze--gold { background: var(--amber, #F4C36B); }
.sg-ball.sg-glaze--frost { background: var(--light-blue, #D1E5FC); }
.sg-ball.sg-glaze--sage { background: var(--spring-sage, #A3BD6B); }
.sg-ball.sg-glaze--spruce { background: var(--dark-green, #0F590D); }
.sg-ball.sg-glaze--lake { background: var(--medium-blue, #4D7DB8); }
/* 2026-11-14: social handles. Footer follow row (all pages with the footer), the Village Nights and Plan-your-evening follow lines. */
.fs-follow { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 0.5rem 0.9rem; margin-top: 0.75rem; font-family: 'Public Sans', sans-serif; font-size: 0.85rem; color: var(--night-muted); }
.fs-follow strong { color: var(--warm-white); font-weight: 600; }
.fs-follow a { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; color: var(--warm-white); border-radius: 50%; }
.fs-follow a:hover, .fs-follow a:focus-visible { color: var(--amber); }
.fs-follow svg { width: 22px; height: 22px; fill: currentColor; }
.hub-follow { font-size: 1rem; margin-top: 1rem; }
.pl-follow { margin-top: 1rem; }
