:root {
    --produce: #3F6B45;
    --produce-dark: #2D5133;
    --crate: #E8D9C0;
    --berry: #8B3A4A;
    --chalk: #F6F3EC;
    --ink: #1D2920;
    --muted: #69746B;
    --line: rgba(29, 41, 32, .16);
    --soft-line: rgba(29, 41, 32, .09);
    --radius: 18px;
    --display: 'Space Grotesk', sans-serif;
    --sans: 'DM Sans', sans-serif;
}

* { box-sizing: border-box; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--chalk); color: var(--ink); font-family: var(--sans); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select { font: inherit; }

.site-shell { min-height: 100vh; }
.site-header { border-bottom: 1px solid var(--line); background: rgba(246,243,236,.95); position: sticky; top: 0; z-index: 10; }
.header-inner { max-width: 1240px; margin: 0 auto; padding: 18px 28px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--display); font-weight: 700; letter-spacing: -.04em; font-size: 1.12rem; }
.brand-mark { width: 28px; height: 28px; border-radius: 50% 50% 50% 8px; background: var(--produce); transform: rotate(-28deg); position: relative; }
.brand-mark::after { content: ''; width: 11px; height: 5px; border-radius: 100%; background: var(--berry); position: absolute; right: -2px; top: 3px; transform: rotate(28deg); }
.primary-nav { display: flex; justify-content: center; gap: 24px; font-size: .9rem; color: var(--muted); }
.primary-nav a:hover, .primary-nav a:focus-visible { color: var(--produce); }
.header-search { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: #fff; padding: 7px 8px 7px 13px; border-radius: 999px; min-width: 240px; }
.header-search input { border: 0; outline: 0; background: transparent; width: 100%; color: var(--ink); }
.header-search button { border: 0; background: var(--produce); color: #fff; border-radius: 999px; padding: 8px 13px; cursor: pointer; font-size: .78rem; font-weight: 700; }
.header-search button:hover, .header-search button:focus-visible { background: var(--produce-dark); }

.page-wrap { max-width: 1240px; margin: 0 auto; padding: 48px 28px 84px; }
.kicker { color: var(--berry); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -.045em; margin: 0; }
h1 { font-size: clamp(2.5rem, 6vw, 5.4rem); line-height: .95; }
h2 { font-size: clamp(1.8rem, 3vw, 2.7rem); line-height: 1; }
h3 { font-size: 1.15rem; line-height: 1.1; }
p { line-height: 1.55; }

.wayfinding { display: grid; grid-template-columns: 1fr auto; gap: 22px; align-items: end; margin-bottom: 26px; }
.wayfinding h1 { max-width: 680px; }
.wayfinding-note { color: var(--muted); max-width: 330px; font-size: .95rem; margin: 0; }
.filter-bar { display: grid; grid-template-columns: minmax(220px, 1.5fr) repeat(2, minmax(150px, .55fr)) auto; gap: 10px; padding: 12px; border: 1px solid var(--line); background: #fff; margin-bottom: 28px; }
.filter-bar input, .filter-bar select { min-width: 0; border: 0; border-right: 1px solid var(--soft-line); background: transparent; padding: 10px 12px; color: var(--ink); outline: 0; }
.filter-bar select { padding-inline-end: 34px; }
.filter-bar button, .solid-button { border: 0; background: var(--berry); color: white; padding: 12px 19px; cursor: pointer; font-weight: 700; }
.filter-bar button:hover, .filter-bar button:focus-visible, .solid-button:hover, .solid-button:focus-visible { background: #6f2c3b; }

.mosaic { display: grid; grid-template-columns: 1.35fr .8fr .8fr; grid-template-rows: repeat(2, minmax(190px, 1fr)); gap: 12px; }
.mosaic-tile { position: relative; min-height: 190px; overflow: hidden; background: var(--crate); border: 1px solid var(--line); }
.mosaic-tile:nth-child(1) { grid-row: span 2; min-height: 400px; }
.mosaic-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 260ms cubic-bezier(.16,1,.3,1); }
.mosaic-tile:hover img, .mosaic-tile:focus-within img { transform: scale(1.035); }
.mosaic-tile::after { content: ''; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(16,24,18,.85)); pointer-events: none; }
.tile-copy { position: absolute; z-index: 1; left: 18px; right: 18px; bottom: 16px; color: white; }
.tile-copy .meta-line { color: rgba(255,255,255,.78); }
.tile-copy h3 { font-size: clamp(1rem, 2vw, 1.55rem); }
.mosaic-tile:first-child .tile-copy h3 { font-size: clamp(1.55rem, 3vw, 2.5rem); max-width: 460px; }
.meta-line { display: flex; gap: 9px; flex-wrap: wrap; color: var(--muted); font-size: .74rem; letter-spacing: .04em; text-transform: uppercase; margin: 0 0 7px; }

.section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin: 72px 0 18px; border-bottom: 1px solid var(--line); padding-bottom: 14px; }
.text-link { color: var(--produce); font-weight: 700; font-size: .88rem; }
.text-link:hover, .text-link:focus-visible { color: var(--berry); }
.event-list { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.event-row { display: grid; grid-template-columns: 78px 1fr; gap: 16px; padding: 18px 14px 18px 0; border-bottom: 1px solid var(--line); }
.event-date { color: var(--berry); font-family: var(--display); font-weight: 700; font-size: 1.55rem; line-height: .9; }
.event-date small { display: block; color: var(--muted); font-family: var(--sans); font-size: .68rem; letter-spacing: .08em; margin-top: 6px; text-transform: uppercase; }
.event-row h3 { margin-bottom: 7px; }
.event-row p { color: var(--muted); font-size: .86rem; margin: 0; }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.image-card { border: 1px solid var(--line); background: #fff; }
.image-card img { width: 100%; aspect-ratio: 1.45; object-fit: cover; }
.image-card-copy { padding: 16px; }
.image-card-copy p { color: var(--muted); font-size: .88rem; margin: 8px 0 0; }

.detail-grid { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(260px,.75fr); gap: 42px; align-items: start; }
.detail-image { width: 100%; aspect-ratio: 1.3; object-fit: cover; border: 1px solid var(--line); }
.detail-copy { border-top: 1px solid var(--line); padding-top: 18px; }
.detail-copy p { color: var(--muted); max-width: 680px; }
.detail-aside { border-left: 1px solid var(--line); padding-left: 24px; }
.detail-aside dl { margin: 0; }
.detail-aside dt { color: var(--berry); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; margin-top: 18px; }
.detail-aside dd { margin: 5px 0 0; font-weight: 600; }

.site-footer { border-top: 1px solid var(--line); padding: 28px; background: var(--crate); }
.footer-inner { max-width: 1240px; margin: 0 auto; display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font-size: .85rem; }
.footer-inner strong { color: var(--ink); font-family: var(--display); }

@media (max-width: 900px) {
    .header-inner { grid-template-columns: 1fr auto; }
    .primary-nav { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; order: 3; overflow-x: auto; padding-top: 3px; }
    .header-search { min-width: 0; }
    .wayfinding { grid-template-columns: 1fr; }
    .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, 190px); }
    .mosaic-tile:nth-child(1) { grid-row: span 2; }
    .mosaic-tile:nth-child(3) { grid-column: 2; }
    .event-list, .card-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
    .header-inner, .page-wrap { padding-left: 17px; padding-right: 17px; }
    .header-inner { gap: 14px; }
    .header-search { grid-column: 1 / -1; grid-row: 2; }
    .primary-nav { grid-row: 3; }
    .filter-bar { grid-template-columns: 1fr; }
    .filter-bar input, .filter-bar select { border-right: 0; border-bottom: 1px solid var(--soft-line); }
    .mosaic { display: flex; flex-direction: column; }
    .mosaic-tile, .mosaic-tile:nth-child(1) { min-height: 240px; }
    .event-list, .card-grid, .detail-grid { grid-template-columns: 1fr; }
    .detail-aside { border-left: 0; border-top: 1px solid var(--line); padding: 18px 0 0; }
    .footer-inner { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 1ms !important; animation-duration: 1ms !important; }
}
