/* ==========================================================================
   Events (list + detail)
   Builds on the site variables in base.html / custom.css: --primary-color, --accent-color,
   --text-color, --accent-font, --default-font. Visual language shared with the homepage
   "From the field" section (outreach.css): deep green, campaign stripes, photo prints, tape labels.
   ========================================================================== */

.ev-page {
    --ev-ink: var(--primary-color, #021708);
    --ev-green: #21322e;
    --ev-green-2: #2b3f3a;
    --ev-accent: var(--accent-color, #F26B0F);
    /* accent lifted for text on dark green / darkened for small text on white (both >= 4.5:1) */
    --ev-accent-light: color-mix(in srgb, var(--accent-color, #F26B0F) 45%, #ffffff);
    --ev-accent-dark: #B04500;
    --ev-text: var(--text-color, #495762);
    --ev-surface: #F2F4F3;
    --ev-paper: #FBF8F4;
    --ev-line: rgba(2, 23, 8, .12);
    --ev-radius: 18px;
    --ev-radius-sm: 12px;
    color: var(--ev-text);
    background: #fff;
}

.ev-page :focus-visible {
    outline: 3px solid var(--ev-accent);
    outline-offset: 3px;
    border-radius: 4px;
}

.ev-page h1, .ev-page h2, .ev-page h3, .ev-page h4 { font-family: var(--accent-font); }

/* Card pattern: the title link covers the whole card; other links sit above it. */
.ev-stretched::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.ev-above { position: relative; z-index: 2; }

/* ---------- Buttons & links ---------- */

.ev-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 12px 24px;
    border: 2px solid transparent;
    border-radius: 100px;
    font-family: var(--accent-font);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.1;
    text-align: center;
    cursor: pointer;
    transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .2s ease;
}

.ev-btn i { font-size: .85em; }
.ev-btn:active { transform: scale(.97); }

.ev-btn--primary { background: var(--ev-accent); color: var(--ev-ink); }
.ev-btn--primary:hover { background: var(--ev-ink); color: #fff; }

.ev-btn--outline { border-color: var(--ev-ink); color: var(--ev-ink); background: transparent; }
.ev-btn--outline:hover { background: var(--ev-ink); color: #fff; }

.ev-btn--ghost { border-color: rgba(255, 255, 255, .55); color: #fff; background: transparent; }
.ev-btn--ghost:hover { background: #fff; color: var(--ev-ink); border-color: #fff; }

.ev-btn--lg { min-height: 56px; padding: 14px 30px; font-size: 17px; }
.ev-btn--sm { min-height: 44px; padding: 10px 18px; font-size: 15px; }
.ev-btn--block { width: 100%; }

.ev-hero .ev-btn--primary:hover { background: #fff; color: var(--ev-ink); }

.ev-textlink {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    color: var(--ev-ink);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: rgba(2, 23, 8, .3);
    text-underline-offset: 5px;
}

.ev-textlink:hover { color: var(--ev-accent-dark); text-decoration-color: currentColor; }

/* ---------- Shared type ---------- */

.ev-kicker {
    display: inline-block;
    font-family: 'itgraflo', var(--accent-font);
    font-size: 34px;
    line-height: 1;
    color: var(--ev-accent-light);
    margin: 0 0 12px;
    transform: rotate(-2deg);
    transform-origin: left;
}

.ev-kicker--ink { color: var(--ev-ink); }

.ev-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--ev-accent-dark);
    margin: 0 0 14px;
}

.ev-eyebrow::before {
    content: '';
    width: 22px;
    height: 3px;
    border-radius: 3px;
    background: var(--ev-accent);
}

.ev-h2 {
    font-size: clamp(30px, 3.4vw, 44px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: var(--ev-ink);
    margin: 0;
}

.ev-h3 {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: var(--ev-ink);
    margin: 0 0 16px;
}

/* ---------- Badges & tags ---------- */

.ev-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-bottom: 12px; }

.ev-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 11px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}

.ev-badge::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

.ev-badge--open    { background: #E2F3E7; color: #0B5A28; }
.ev-badge--live    { background: var(--ev-accent); color: var(--ev-ink); }
.ev-badge--live::before { background: var(--ev-ink); animation: ev-pulse 1.6s ease-in-out infinite; }
.ev-badge--closed,
.ev-badge--past    { background: #ECEFED; color: #45514C; }
.ev-badge--alert   { background: #FDE9E9; color: #9F1C1C; }
.ev-badge--neutral { background: #FFF0E4; color: #8F3A00; }

@keyframes ev-pulse { 50% { transform: scale(.55); opacity: .5; } }

.ev-cat {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--ev-ink);
}

.ev-cat i { color: var(--ev-accent-dark); }
.ev-cat--light { color: #fff; }
.ev-cat--light i { color: var(--ev-accent-light); }

.ev-countdown { font-size: 14px; font-weight: 600; color: var(--ev-text); }
.ev-countdown--light { color: rgba(255, 255, 255, .75); }

/* ==========================================================================
   Hero
   ========================================================================== */

.ev-hero {
    position: relative;
    overflow: hidden;
    background: var(--ev-green);
    color: #fff;
    padding: 36px 0 110px;
}

/* faint diagonal stripes, as on the homepage "From the field" section */
.ev-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(-45deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 22px);
    pointer-events: none;
}

/* a single warm glow behind the photos (not decorative noise: it lifts the prints off the green) */
.ev-hero::after {
    content: '';
    position: absolute;
    right: -10%;
    top: 10%;
    width: 60%;
    aspect-ratio: 1;
    background: radial-gradient(closest-side, rgba(242, 107, 15, .16), transparent);
    pointer-events: none;
}

.ev-hero .container { position: relative; z-index: 1; }

.ev-crumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 0;
    list-style: none;
    padding: 0;
    margin: 0 0 56px;
    font-size: 14px;
    color: rgba(255, 255, 255, .7);
}

.ev-crumbs li + li::before { content: '/'; margin: 0 10px; opacity: .5; }
.ev-crumbs a { color: #fff; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(255, 255, 255, .35); }
.ev-crumbs a:hover { color: var(--ev-accent-light); }

.ev-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 64px;
    align-items: center;
}

.ev-hero-grid--solo { grid-template-columns: minmax(0, 860px); }

.ev-hero-title {
    font-size: clamp(46px, 6.4vw, 92px);
    font-weight: 800;
    line-height: .96;
    letter-spacing: -0.035em;
    color: #fff;
    margin: 0;
    text-wrap: balance;
}

.ev-swoosh {
    display: block;
    width: min(300px, 70%);
    height: 18px;
    margin: 10px 0 26px;
    overflow: visible;
}

.ev-swoosh path {
    fill: none;
    stroke: var(--ev-accent);
    stroke-width: 6;
    stroke-linecap: round;
    stroke-dasharray: 320;
    stroke-dashoffset: 320;
    animation: ev-draw .9s .25s cubic-bezier(.6, .1, .2, 1) forwards;
}

@keyframes ev-draw { to { stroke-dashoffset: 0; } }

.ev-hero-intro {
    max-width: 50ch;
    font-size: 19px;
    line-height: 1.65;
    color: rgba(255, 255, 255, .82);
    margin: 0 0 34px;
}

.ev-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.ev-hero-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 34px;
    list-style: none;
    padding: 28px 0 0;
    margin: 40px 0 0;
    border-top: 1px solid rgba(255, 255, 255, .14);
    font-size: 15px;
    color: rgba(255, 255, 255, .72);
}

.ev-hero-facts strong {
    display: block;
    font-family: var(--accent-font);
    font-size: 34px;
    font-weight: 800;
    line-height: 1;
    color: #fff;
    margin-bottom: 4px;
}

/* Photo prints (real outreach photos) */

.ev-hero-visual {
    position: relative;
    aspect-ratio: 1 / .95;
    max-width: 600px;
    width: 100%;
    margin: 0 0 0 auto;
}

.ev-print {
    position: absolute;
    display: block;
    padding: 10px 10px 30px;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 24px 50px -18px rgba(0, 0, 0, .6), 0 2px 6px rgba(0, 0, 0, .25);
    transition: transform .5s cubic-bezier(.2, .8, .2, 1);
}

.ev-print img { display: block; width: 100%; height: 100%; object-fit: cover; background: #d9dedc; }

.ev-print--1 { left: 4%;  top: 6%;  width: 64%; height: 66%; transform: rotate(-4deg); z-index: 3; }
.ev-print--2 { right: 0;  top: 0;   width: 44%; height: 44%; transform: rotate(5deg);  z-index: 2; }
.ev-print--3 { right: 4%; bottom: 4%; width: 50%; height: 44%; transform: rotate(-2deg); z-index: 1; }

.ev-hero-visual[data-count="1"] .ev-print--1 { left: 8%; width: 84%; height: 80%; }
.ev-hero-visual[data-count="2"] .ev-print--2 { top: auto; bottom: 6%; height: 48%; }

@media (hover: hover) {
    .ev-hero-visual:hover .ev-print--1 { transform: rotate(-6deg) translate(-8px, 4px); }
    .ev-hero-visual:hover .ev-print--2 { transform: rotate(8deg) translate(10px, -8px); }
    .ev-hero-visual:hover .ev-print--3 { transform: rotate(-4deg) translate(6px, 10px); }
}

.ev-hero-caption {
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 4;
    max-width: 62%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.ev-tape {
    display: inline-block;
    padding: 6px 16px 4px;
    background: var(--ev-accent);
    color: var(--ev-ink);
    font-family: 'itgraflo', var(--accent-font);
    font-size: 22px;
    line-height: 1.2;
    transform: rotate(-3deg);
    box-shadow: 0 6px 14px rgba(0, 0, 0, .25);
    clip-path: polygon(2% 0, 98% 4%, 100% 96%, 0 100%);
}

.ev-hero-caption a {
    display: inline-block;
    padding: 10px 14px;
    background: rgba(2, 23, 8, .82);
    border-radius: 10px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    backdrop-filter: blur(4px);
}

.ev-hero-caption a:hover { color: var(--ev-accent-light); }

/* ==========================================================================
   Featured event (ticket)
   ========================================================================== */

.ev-featured-wrap {
    position: relative;
    margin-top: -60px;
    padding-bottom: 40px;
    z-index: 2;
}

.ev-featured-wrap .ev-eyebrow {
    color: var(--ev-accent-light);
    position: relative;
    top: -18px;
}

.ev-featured {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) 150px;
    background: #fff;
    border-radius: var(--ev-radius);
    box-shadow: 0 40px 80px -40px rgba(2, 23, 8, .45), 0 0 0 1px var(--ev-line);
    overflow: hidden;
}

.ev-featured-media {
    position: relative;
    display: block;
    min-height: 340px;
    background: var(--ev-green);
}

.ev-featured-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}

.ev-featured:hover .ev-featured-media img { transform: scale(1.03); }

.ev-featured-body { padding: 38px 40px 34px; }

.ev-featured-title {
    font-size: clamp(26px, 2.5vw, 36px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin: 0 0 12px;
}

.ev-featured-title a { color: var(--ev-ink); }
.ev-featured-title a:hover { color: var(--ev-accent-dark); }

.ev-featured-summary { font-size: 17px; line-height: 1.65; margin: 0 0 22px; max-width: 58ch; }

.ev-facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 16px 24px;
    margin: 0 0 26px;
    padding: 18px 0;
    border-top: 1px dashed var(--ev-line);
    border-bottom: 1px dashed var(--ev-line);
}

.ev-facts dt {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--ev-text);
    margin-bottom: 3px;
}

.ev-facts dd { margin: 0; font-size: 16px; font-weight: 700; line-height: 1.4; color: var(--ev-ink); }
.ev-facts dd span { font-weight: 500; color: var(--ev-text); }

.ev-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.ev-actions--center { justify-content: center; }

/* ticket stub with perforation */
.ev-stub {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 24px 12px;
    background: var(--ev-accent);
    color: var(--ev-ink);
    text-align: center;
}

.ev-stub::before {
    content: '';
    position: absolute;
    left: -1px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: repeating-linear-gradient(to bottom, #fff 0 8px, transparent 8px 16px);
}

.ev-stub::after {
    /* notches top and bottom */
    content: '';
    position: absolute;
    left: -14px;
    top: -14px;
    bottom: -14px;
    width: 28px;
    background:
        radial-gradient(circle at 50% 0, #fff 13px, transparent 14px) top / 28px 28px no-repeat,
        radial-gradient(circle at 50% 100%, #fff 13px, transparent 14px) bottom / 28px 28px no-repeat;
}

.ev-stub-month, .ev-stub-week { font-size: 15px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.ev-stub-day { font-family: var(--accent-font); font-size: 64px; font-weight: 800; line-height: .95; letter-spacing: -0.04em; }
.ev-stub-count {
    margin-top: 14px;
    padding: 6px 10px 4px;
    background: var(--ev-ink);
    color: #fff;
    font-family: 'itgraflo', var(--accent-font);
    font-size: 19px;
    line-height: 1.1;
    transform: rotate(-4deg);
}

/* Placeholder for events without a cover image */
.ev-ph {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    background:
        repeating-linear-gradient(-45deg, rgba(255, 255, 255, .04) 0 2px, transparent 2px 18px),
        radial-gradient(circle at 30% 20%, rgba(242, 107, 15, .28), transparent 60%),
        var(--ev-green);
    color: #fff;
    overflow: hidden;
}

.ev-ph i { font-size: 64px; color: var(--ev-accent-light); }
.ev-ph-label { font-family: 'itgraflo', var(--accent-font); font-size: 28px; transform: rotate(-3deg); }

/* ==========================================================================
   Upcoming (agenda)
   ========================================================================== */

.ev-upcoming { padding: 70px 0 100px; scroll-margin-top: 90px; }

.ev-list-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 22px 40px;
    padding-bottom: 24px;
    border-bottom: 2px solid var(--ev-ink);
    margin-bottom: 8px;
}

.ev-count { margin: 6px 0 0; font-size: 15px; }

.ev-filters { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; min-width: 0; max-width: 100%; }

.ev-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.ev-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 18px;
    border: 1.5px solid var(--ev-line);
    border-radius: 100px;
    background: #fff;
    color: var(--ev-ink);
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}

.ev-chip:hover { border-color: var(--ev-ink); color: var(--ev-ink); }
.ev-chip[aria-current="true"] { background: var(--ev-ink); border-color: var(--ev-ink); color: #fff; }
.ev-chip i { color: var(--ev-accent-dark); font-size: 13px; }
.ev-chip[aria-current="true"] i { color: var(--ev-accent-light); }

.ev-chip-count {
    min-width: 22px;
    padding: 2px 6px;
    border-radius: 100px;
    background: var(--ev-surface);
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    color: var(--ev-ink);
}

.ev-chip[aria-current="true"] .ev-chip-count { background: rgba(255, 255, 255, .18); color: #fff; }

.ev-month { margin-top: 44px; }

.ev-month-mark {
    display: inline-block;
    font-family: 'itgraflo', var(--accent-font) !important;
    font-size: 30px;
    font-weight: 400;
    color: var(--ev-accent-dark);
    margin: 0 0 10px;
    transform: rotate(-1.5deg);
}

.ev-agenda { list-style: none; margin: 0; padding: 0; }

.ev-row {
    position: relative;
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr) auto;
    gap: 28px;
    align-items: center;
    padding: 26px 22px 26px 0;
    border-top: 1px solid var(--ev-line);
    transition: background-color .25s ease;
}

.ev-row:last-child { border-bottom: 1px solid var(--ev-line); }

.ev-row::before {
    /* accent bar that slides in on hover/focus */
    content: '';
    position: absolute;
    left: -24px;
    top: 18px;
    bottom: 18px;
    width: 4px;
    border-radius: 4px;
    background: var(--ev-accent);
    transform: scaleY(0);
    transition: transform .3s cubic-bezier(.2, .8, .2, 1);
}

.ev-row:hover::before, .ev-row:focus-within::before { transform: scaleY(1); }
.ev-row:hover .ev-row-title a { color: var(--ev-accent-dark); }
.ev-row:hover .ev-row-more i { transform: translateX(4px); }

.ev-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 96px;
    padding: 12px 6px 10px;
    border-radius: var(--ev-radius-sm);
    background: var(--ev-paper);
    border: 1.5px solid var(--ev-line);
    color: var(--ev-ink);
    text-align: center;
}

.ev-date-month { font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ev-accent-dark); }
.ev-date-day { font-family: var(--accent-font); font-size: 38px; font-weight: 800; line-height: 1; letter-spacing: -0.03em; white-space: nowrap; }
.ev-date-week { font-size: 13px; font-weight: 600; color: var(--ev-text); }

.ev-row-title { font-size: 23px; font-weight: 800; line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 8px; }
.ev-row-title a { color: var(--ev-ink); transition: color .2s ease; }

.ev-row-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 22px;
    list-style: none;
    padding: 0;
    margin: 0 0 8px;
    font-size: 15px;
    font-weight: 600;
    color: var(--ev-ink);
}

.ev-row-meta i { color: var(--ev-accent-dark); margin-right: 7px; width: 14px; text-align: center; }

.ev-row-summary, .ev-row-note {
    margin: 0;
    max-width: 70ch;
    font-size: 15.5px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ev-row-note { color: #9F1C1C; font-weight: 600; }

.ev-row-side { display: flex; align-items: center; gap: 22px; }

.ev-row-thumb {
    display: block;
    width: 168px;
    aspect-ratio: 16 / 10;
    border-radius: var(--ev-radius-sm);
    overflow: hidden;
    background: var(--ev-surface);
}

.ev-row-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.ev-row-more { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ev-ink); white-space: nowrap; }
.ev-row-more i { transition: transform .25s ease; color: var(--ev-accent-dark); }

.ev-row--inactive .ev-row-title a { text-decoration: line-through; text-decoration-thickness: 2px; text-decoration-color: rgba(159, 28, 28, .5); }
.ev-row--inactive .ev-date { opacity: .6; }

/* Empty states */

.ev-empty {
    max-width: 640px;
    margin: 56px auto 0;
    padding: 56px 36px;
    border: 2px dashed var(--ev-line);
    border-radius: var(--ev-radius);
    text-align: center;
}

.ev-empty--small { padding: 40px 28px; }

.ev-empty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    margin-bottom: 18px;
    border-radius: 50%;
    background: #FFF0E4;
    color: var(--ev-accent-dark);
    font-size: 30px;
}

.ev-empty h3 { font-size: 26px; font-weight: 800; color: var(--ev-ink); margin: 0 0 10px; }
.ev-empty p { font-size: 17px; line-height: 1.6; margin: 0 auto 26px; max-width: 46ch; }

.ev-only-one {
    margin: 30px 0 0;
    padding: 22px 26px;
    border-radius: var(--ev-radius-sm);
    background: var(--ev-paper);
    font-size: 16px;
    line-height: 1.6;
}

.ev-only-one a { color: var(--ev-ink); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }

/* ==========================================================================
   Past (secondary)
   ========================================================================== */

.ev-past { padding: 90px 0 100px; background: var(--ev-surface); scroll-margin-top: 90px; }

.ev-past-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px 30px;
    margin-bottom: 36px;
}

.ev-past-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.ev-past-card {
    position: relative;
    padding: 10px 10px 22px;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 18px 40px -26px rgba(2, 23, 8, .45);
    transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s ease;
}

.ev-past-card:nth-child(1) { transform: rotate(-1deg); }
.ev-past-card:nth-child(3) { transform: rotate(1deg); }
.ev-past-card:hover { transform: rotate(0) translateY(-6px); box-shadow: 0 28px 50px -26px rgba(2, 23, 8, .55); }

.ev-past-img {
    display: block;
    aspect-ratio: 4 / 3;
    margin-bottom: 18px;
    overflow: hidden;
    background: #d9dedc;
}

.ev-past-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

.ev-past-card > :not(.ev-past-img) { margin-left: 10px; margin-right: 10px; }

.ev-past-type { display: inline-block; font-size: 13px; font-weight: 700; color: var(--ev-accent-dark); margin-bottom: 6px; }

.ev-past-card h3 { font-size: 20px; font-weight: 800; line-height: 1.25; margin: 0 0 8px; }
.ev-past-card h3 a { color: var(--ev-ink); }
.ev-past-card:hover h3 a { color: var(--ev-accent-dark); }

.ev-past-meta { font-size: 14px; margin: 0 0 8px; }

.ev-past-media { display: flex; gap: 16px; margin: 0; font-size: 13px; font-weight: 600; color: var(--ev-ink); }
.ev-past-media i { margin-right: 6px; color: var(--ev-accent-dark); }

.ev-wrapped { margin-top: 46px; max-width: 820px; }
.ev-wrapped h3 { font-size: 18px; font-weight: 800; color: var(--ev-ink); margin: 0 0 8px; }
.ev-wrapped ul { list-style: none; margin: 0; padding: 0; }

.ev-wrapped li {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 16px;
    padding: 12px 0;
    border-top: 1px solid var(--ev-line);
}

.ev-wrapped-date { width: 100px; font-size: 14px; font-weight: 700; color: var(--ev-text); }
.ev-wrapped li > a:not(.ev-wrapped-photos) { color: var(--ev-ink); font-weight: 700; padding: 8px 0; }
.ev-wrapped li > a:hover { color: var(--ev-accent-dark); }
.ev-wrapped-photos { margin-left: auto; font-size: 14px; font-weight: 700; color: var(--ev-ink); padding: 8px 0; }
.ev-wrapped-photos i { margin-right: 6px; color: var(--ev-accent-dark); }

/* ==========================================================================
   Get involved
   ========================================================================== */

.ev-involve {
    position: relative;
    overflow: hidden;
    background: var(--ev-accent);
    color: var(--ev-ink);
    padding: 100px 0;
}

.ev-involve::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(-45deg, rgba(2, 23, 8, .05) 0 2px, transparent 2px 22px);
    pointer-events: none;
}

.ev-involve .container { position: relative; }

.ev-involve-grid {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr);
    gap: 60px;
    align-items: start;
}

.ev-involve-title {
    font-size: clamp(38px, 4.6vw, 64px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.035em;
    color: var(--ev-ink);
    margin: 0 0 20px;
}

.ev-involve-intro p:not(.ev-kicker) { font-size: 18px; line-height: 1.6; color: var(--ev-ink); margin: 0; max-width: 40ch; }

.ev-ways {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.ev-way {
    position: relative;
    padding: 26px 26px 28px;
    background: #fff;
    border-radius: var(--ev-radius-sm);
    box-shadow: 0 2px 0 rgba(2, 23, 8, .9);
    transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease;
}

.ev-way:hover, .ev-way:focus-within { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--ev-ink); }

.ev-way-num { display: block; font-family: var(--accent-font); font-size: 15px; font-weight: 800; color: var(--ev-accent-dark); margin-bottom: 14px; }

.ev-way h3 { font-size: 22px; font-weight: 800; line-height: 1.2; margin: 0 0 8px; padding-right: 30px; }
.ev-way h3 a { color: var(--ev-ink); }
.ev-way p { font-size: 15.5px; line-height: 1.55; color: var(--ev-text); margin: 0; }

.ev-way-arrow { position: absolute; top: 26px; right: 24px; color: var(--ev-ink); transition: transform .25s ease; }
.ev-way:hover .ev-way-arrow { transform: translate(3px, -3px); }

.ev-involve :focus-visible { outline-color: var(--ev-ink); }

/* ==========================================================================
   Detail page
   ========================================================================== */

.ev-hero--detail { padding-bottom: 80px; }

.ev-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(300px, 400px);
    gap: 60px;
    align-items: start;
}

.ev-detail-title {
    font-size: clamp(36px, 4.6vw, 64px);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.03em;
    color: #fff;
    margin: 6px 0 20px;
    text-wrap: balance;
}

.ev-notice {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    max-width: 60ch;
    margin: 0;
    padding: 16px 18px;
    border-radius: var(--ev-radius-sm);
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .18);
    font-size: 16px;
    line-height: 1.5;
}

.ev-notice i { margin-top: 3px; color: var(--ev-accent-light); }
.ev-notice a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.ev-notice--alert { background: rgba(253, 233, 233, .1); border-color: rgba(255, 160, 160, .45); }
.ev-notice--alert i { color: #FFB3B3; }

.ev-ticket {
    position: relative;
    background: #fff;
    color: var(--ev-text);
    border-radius: var(--ev-radius);
    box-shadow: 0 40px 70px -35px rgba(0, 0, 0, .6);
    overflow: hidden;
}

.ev-ticket-date {
    position: relative;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 12px;
    padding: 18px 20px 20px;
    background: var(--ev-accent);
    color: var(--ev-ink);
}

.ev-ticket-date::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 2px;
    background: repeating-linear-gradient(to right, #fff 0 8px, transparent 8px 16px);
}

.ev-ticket-date .ev-stub-day { font-size: 52px; }

.ev-facts--stack { grid-template-columns: 1fr; gap: 14px; margin: 0; padding: 24px 26px; border: 0; }
.ev-facts--stack > div + div { padding-top: 14px; border-top: 1px dashed var(--ev-line); }

.ev-ticket-actions { display: grid; gap: 10px; padding: 0 26px 26px; }
.ev-ticket-note { margin: 0; padding: 12px 14px; border-radius: 10px; background: var(--ev-surface); font-size: 15px; font-weight: 600; color: var(--ev-ink); }

.ev-detail-body { padding: 70px 0 100px; }

.ev-detail-cols {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(260px, 400px);
    gap: 60px;
    align-items: start;
}

.ev-detail-cover { margin: 0 0 36px; border-radius: var(--ev-radius); overflow: hidden; background: var(--ev-surface); }
.ev-detail-cover img { display: block; width: 100%; height: auto; }

.ev-prose { font-size: 18px; line-height: 1.75; color: var(--ev-text); max-width: 68ch; }
.ev-prose h2, .ev-prose h3, .ev-prose h4 { color: var(--ev-ink); font-weight: 800; margin: 1.6em 0 .5em; }
.ev-prose a { color: var(--ev-accent-dark); text-decoration: underline; text-underline-offset: 3px; }
.ev-prose img { max-width: 100%; height: auto; border-radius: 10px; }
.ev-prose ul, .ev-prose ol { padding-left: 1.3em; }

.ev-from-day { margin-top: 48px; }

.ev-from-day-strip {
    position: relative;
    display: flex;
    gap: 8px;
    border-radius: var(--ev-radius-sm);
    overflow: hidden;
}

.ev-from-day-strip img { flex: 1 1 0; min-width: 0; height: 200px; object-fit: cover; display: block; }

.ev-from-day-label {
    position: absolute;
    right: 12px;
    bottom: 12px;
    padding: 10px 16px;
    border-radius: 100px;
    background: var(--ev-ink);
    color: #fff;
    font-weight: 700;
    font-size: 15px;
}

.ev-from-day-strip:hover .ev-from-day-label { background: var(--ev-accent); color: var(--ev-ink); }

.ev-detail-side { position: sticky; top: 120px; }

.ev-mini { list-style: none; margin: 0 0 20px; padding: 0; }

.ev-mini li {
    position: relative;
    display: grid;
    grid-template-columns: 60px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    padding: 14px 0;
    border-top: 1px solid var(--ev-line);
}

.ev-mini-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 4px;
    border-radius: 10px;
    background: var(--ev-paper);
    border: 1.5px solid var(--ev-line);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--ev-accent-dark);
}

.ev-mini-date b { font-family: var(--accent-font); font-size: 24px; line-height: 1; letter-spacing: -0.02em; color: var(--ev-ink); white-space: nowrap; }
.ev-mini-text a { display: block; color: var(--ev-ink); font-weight: 800; line-height: 1.3; }
.ev-mini li:hover .ev-mini-text a { color: var(--ev-accent-dark); }
.ev-mini-text small { display: block; margin-top: 3px; font-size: 13px; }

.ev-side-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; margin: 0; }

.ev-date--range .ev-date-day { font-size: 25px; letter-spacing: -0.02em; padding: 6px 0 4px; }
.ev-stub--range .ev-stub-day { font-size: 40px; }
.ev-ticket-date.ev-stub--range .ev-stub-day { font-size: 40px; }
.ev-mini-date--range b { font-size: 16px; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1199px) {
    .ev-featured { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) 120px; }
    .ev-featured-body { padding: 32px 30px 28px; }
    .ev-row-thumb { width: 130px; }
}

@media (max-width: 991px) {
    .ev-hero { padding: 28px 0 90px; }
    .ev-crumbs ol { margin-bottom: 36px; }
    .ev-hero-grid { grid-template-columns: 1fr; gap: 54px; }
    .ev-hero-visual { margin: 0 auto; max-width: 560px; }

    .ev-featured { grid-template-columns: minmax(0, 1fr) 120px; }
    .ev-featured-media { grid-column: 1 / -1; min-height: 0; aspect-ratio: 16 / 8; }
    .ev-stub::after { display: none; }

    .ev-list-head { align-items: flex-start; flex-direction: column; }
    .ev-filters { align-items: stretch; width: 100%; }
    .ev-chips { justify-content: flex-start; }

    .ev-past-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ev-past-card:nth-child(3) { display: none; }

    .ev-involve { padding: 80px 0; }
    .ev-involve-grid { grid-template-columns: 1fr; gap: 36px; }

    .ev-detail-grid, .ev-detail-cols { grid-template-columns: 1fr; gap: 40px; }
    .ev-ticket { max-width: 520px; }
    .ev-detail-side { position: static; }
}

@media (max-width: 767px) {
    .ev-hero-intro { font-size: 17px; }
    .ev-kicker { font-size: 28px; }
    .ev-hero-facts { gap: 14px 26px; margin-top: 32px; }
    .ev-hero-facts strong { font-size: 28px; }

    .ev-featured-wrap { margin-top: -50px; }
    .ev-featured { grid-template-columns: 1fr; }
    .ev-featured-body { padding: 26px 22px 24px; }
    .ev-stub {
        grid-row: 2;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: baseline;
        justify-content: flex-start;
        gap: 10px;
        padding: 14px 22px;
    }
    .ev-stub::before { left: 0; right: 0; top: auto; bottom: -1px; width: auto; height: 2px; background: repeating-linear-gradient(to right, #fff 0 8px, transparent 8px 16px); }
    .ev-stub-day { font-size: 40px; }
    .ev-stub-count { margin: 0 0 0 auto; align-self: center; font-size: 17px; }
    .ev-actions .ev-btn { flex: 1 1 auto; }

    /* chips: one swipeable row instead of a tall wall of pills */
    .ev-chips {
        flex-wrap: nowrap;
        overflow-x: auto;
        margin: 0 -16px;
        padding: 2px 16px 8px;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
        -webkit-mask-image: linear-gradient(to right, #000 85%, transparent);
                mask-image: linear-gradient(to right, #000 85%, transparent);
    }
    .ev-chips::-webkit-scrollbar { display: none; }
    .ev-chips li { scroll-snap-align: start; }

    .ev-row {
        grid-template-columns: 68px minmax(0, 1fr);
        gap: 6px 16px;
        align-items: start;
        padding: 22px 0;
    }
    .ev-row::before { display: none; }
    .ev-date { width: 68px; padding: 8px 4px; }
    .ev-date-day { font-size: 28px; }
    .ev-date--range .ev-date-day { font-size: 18px; }
    .ev-row-title { font-size: 19px; }
    .ev-row-meta { flex-direction: column; font-size: 14px; }
    .ev-row-side { grid-column: 2; justify-content: flex-start; }
    .ev-row-thumb { display: none; }
    .ev-row-more { font-size: 15px; }

    .ev-past { padding: 70px 0 80px; }
    .ev-past-grid { grid-template-columns: 1fr; gap: 20px; }
    .ev-past-card,
    .ev-past-card:nth-child(n) { transform: none; display: grid; grid-template-columns: 116px minmax(0, 1fr); column-gap: 14px; align-items: start; padding: 10px; }
    .ev-past-img { grid-row: 1 / span 4; margin: 0; aspect-ratio: 1; }
    .ev-past-card > :not(.ev-past-img) { margin-left: 0; margin-right: 0; }
    .ev-past-card h3 { font-size: 17px; }
    .ev-past-media { flex-wrap: wrap; gap: 4px 12px; }
    .ev-wrapped-date { width: auto; }
    .ev-wrapped-photos { margin-left: 0; }

    .ev-ways { grid-template-columns: 1fr; }
    .ev-way { padding: 22px 22px 24px; }

    .ev-detail-body { padding: 50px 0 70px; }
    .ev-prose { font-size: 17px; }
    .ev-from-day-strip img { height: 130px; }
    .ev-from-day-strip img:nth-child(n+3) { display: none; }
    .ev-empty { padding: 40px 22px; }
}

@media (max-width: 575px) {
    .ev-hero-title { font-size: clamp(42px, 13vw, 56px); }
    .ev-hero-actions .ev-btn { flex: 1 1 100%; }
    .ev-hero-visual { aspect-ratio: 1 / 1.02; }
    .ev-print { padding: 6px 6px 18px; }
    .ev-print--1 { left: 0; width: 72%; height: 62%; }
    .ev-print--2 { width: 50%; height: 40%; }
    .ev-print--3 { right: 0; width: 56%; height: 40%; }
    .ev-hero-caption { max-width: 78%; }
    .ev-tape { font-size: 18px; }
    .ev-ph i { font-size: 46px; }
}

@media (prefers-reduced-motion: reduce) {
    .ev-page *, .ev-page *::before, .ev-page *::after { transition: none !important; animation: none !important; }
    .ev-swoosh path { stroke-dashoffset: 0; }
}
