/* Deerfield Community Center: Four Seasons on the designer's deer mark (production, from proposal round 7).
   Brand: brown #4D2E1F + cream #FFECCA (screen colors from DCC-LOGO-COLOR.png; print CMYK in logo\README.txt). Each season retints the page around that anchor.
   Fonts self-hosted (Alegreya / Alegreya Sans, SIL OFL; see fonts/OFL-LICENSE.txt). */
@font-face { font-family: "Alegreya"; font-weight: 500; font-display: swap; src: url(fonts/alegreya-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Alegreya"; font-weight: 700; font-display: swap; src: url(fonts/alegreya-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Alegreya"; font-weight: 800; font-display: swap; src: url(fonts/alegreya-latin-800-normal.woff2) format("woff2"); }
@font-face { font-family: "Alegreya Sans"; font-weight: 400; font-display: swap; src: url(fonts/alegreya-sans-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Alegreya Sans"; font-weight: 400; font-style: italic; font-display: swap; src: url(fonts/alegreya-sans-latin-400-italic.woff2) format("woff2"); }
@font-face { font-family: "Alegreya Sans"; font-weight: 500; font-display: swap; src: url(fonts/alegreya-sans-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Alegreya Sans"; font-weight: 700; font-display: swap; src: url(fonts/alegreya-sans-latin-700-normal.woff2) format("woff2"); }

:root {
  --brown: #4D2E1F; --cream: #FFECCA;
  --ink: #2B1D16; --muted: #6A5A50; --line: #EADFD2; --paper: #FFFBF4;
  --serif: "Alegreya", Georgia, serif;
  --sans: "Alegreya Sans", "Segoe UI", system-ui, sans-serif;
  --radius: 14px;
}
body[data-season="fall"]   { --deep: #4D2E1F; --mark: #FFECCA; --accent: #A3471D; --tint: #FBEFE2; --leaf: #E39A4E; }
body[data-season="winter"] { --deep: #22364C; --mark: #DCE8F3; --accent: #2E5C88; --tint: #EDF2F8; --leaf: #9DBCDB; }
body[data-season="spring"] { --deep: #2F4A2D; --mark: #D5EBB8; --accent: #3B7428; --tint: #EFF6E8; --leaf: #A6D27A; }
/* Summer: lemon yellow with pool-water teal (Julie picked it over lemon & navy, Nov 2 2026; round 6).
   Orange and sunflower gold with brown were dropped in round 5 (too close to fall). */
body[data-season="summer"] { --deep: #FFD43B; --mark: #08606F; --accent: #0A6B7C; --tint: #FFF7D1; --leaf: #FFD43B;
  --on-deep: #14262B; --deep-ink: #0A5A68; --tabs-bg: rgba(20,38,43,.08); --tabs-hover: rgba(20,38,43,.10); }
/* --on-deep: text on a --deep background. --deep-ink: --deep used as text or an outline on a light background.
   Both follow --deep except in summer, where --deep is too light for white text or for text on cream. */
body { --on-deep: #fff; --deep-ink: var(--deep); --tabs-bg: rgba(255,255,255,.1); --tabs-hover: rgba(255,255,255,.14); }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 400 1.15rem/1.55 var(--sans); color: var(--ink); background: var(--paper); }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); text-underline-offset: 3px; transition: color .6s; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--serif); margin: 0 0 .45em; line-height: 1.08; color: var(--ink); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.35rem; font-weight: 700; }
p { margin: 0 0 1em; }
small { font-size: .82em; font-weight: 400; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 8px; top: 8px; z-index: 99; background: #fff; padding: 8px 12px; }
[id] { scroll-margin-top: 20px; }

.btn { display: inline-block; font: 700 1.1rem/1 var(--sans); padding: .85em 1.35em; border-radius: 10px; text-decoration: none; border: 2px solid transparent; transition: background-color .6s, color .3s, filter .2s; }
.btn--solid { background: var(--deep); color: var(--on-deep); }
.btn--solid:hover { color: var(--on-deep); filter: brightness(1.25); }
body[data-season="summer"] .btn--solid:hover { filter: brightness(1.08); }
.btn--outline { border-color: var(--deep-ink); color: var(--deep-ink); }
.btn--outline:hover { background: var(--tint); }
.btn--light { background: var(--mark); color: var(--deep); }


/* Header */
.head { position: relative; z-index: 30; background: #fff; border-bottom: 1px solid var(--line); }
.util { background: var(--brown); color: var(--cream); font-size: 1rem; }
.util__in { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 40px; }
.util p { margin: 0; }
.util a { color: var(--cream); }
.util__acts { display: flex; align-items: center; gap: 14px; }
.util__fb svg, .foot__social svg { width: 22px; height: 22px; display: block; }
.util__donate { background: var(--cream); color: var(--brown) !important; font-weight: 700; text-decoration: none; padding: 4px 14px; border-radius: 999px; }
.util__donate:hover { background: #fff; }
.head__in { display: flex; align-items: center; gap: 20px; padding: 10px 0; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--brown); }
.brand__mark { width: 34px; height: 66px; color: var(--brown); flex: none; }
.brand__name { font: 700 1.2rem/1.05 var(--serif); max-width: 9.5em; }
.brand__name b { display: block; font-weight: 800; font-size: 1.5rem; letter-spacing: .01em; }
.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav__list a, .mega-btn { display: block; color: var(--ink); text-decoration: none; font: 500 1.12rem var(--sans); padding: 8px 12px; border-radius: 8px; background: none; border: 0; cursor: pointer; }
.nav__list a:hover, .mega-btn:hover, .mega-btn[aria-expanded="true"] { background: var(--tint); }
.nav__list a[aria-current="page"], .mega-btn[data-current] { box-shadow: inset 0 -3px 0 var(--accent); border-radius: 8px 8px 0 0; }
.mega-btn::after { content: ""; display: inline-block; width: .45em; height: .45em; margin-left: .45em; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-.2em) rotate(45deg); transition: transform .2s; }
.mega-btn[aria-expanded="true"]::after { transform: translateY(.05em) rotate(-135deg); }
.nav__list .nav__reg { background: var(--deep); color: var(--on-deep); padding: 10px 18px; margin-left: 8px; transition: background-color .6s; }
.nav__list .nav__reg:hover { background: var(--accent); color: #fff; }
.menu-btn { display: none; margin-left: auto; font: 700 1.05rem var(--sans); background: var(--tint); color: var(--deep-ink); border: 0; border-radius: 8px; padding: 10px 18px; cursor: pointer; }

/* Programs mega menu */
.mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--line); border-bottom: 4px solid var(--accent); box-shadow: 0 18px 40px rgba(43,29,22,.14); }
.mega__grid { display: grid; grid-template-columns: repeat(4, 1fr) 1.1fr; gap: 28px; padding: 26px 0 30px; }
.mega h2 { font-size: 1.2rem; color: var(--accent); margin-bottom: .5em; }
.mega ul { list-style: none; margin: 0; padding: 0; }
.mega li a { padding: 5px 0; border-radius: 0; font-size: 1.08rem; }
.mega li a:hover { background: none; color: var(--accent); text-decoration: underline; }
.mega__cta { background: var(--tint); border-radius: var(--radius); padding: 18px; align-self: start; }
.mega__cta p { color: var(--muted); }

/* Home hero */
.hero { background: var(--deep); color: var(--on-deep); overflow: hidden; transition: background-color .7s ease; }
.hero__grid { display: grid; grid-template-columns: 1.3fr .7fr; align-items: center; gap: 32px; min-height: 470px; }
.hero__copy { padding: 56px 0; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-weight: 700; font-size: .95rem; color: var(--mark); margin-bottom: .6em; transition: color .7s; }
.hero h1 { color: var(--on-deep); font-size: clamp(2.6rem, 5.4vw, 4.4rem); font-weight: 800; letter-spacing: -.01em; }
.hero__lede { font-size: 1.35rem; max-width: 28em; opacity: .92; }
.hero__mark { height: 430px; width: auto; justify-self: center; color: var(--mark); transition: color .8s ease; margin: 20px 0; }  /* round 4: no bleed, the tail tip stays whole */
.tabs { display: inline-flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; padding: 6px; background: var(--tabs-bg); border-radius: 12px; }
.tabs button { font: 700 1.15rem var(--sans); padding: 10px 20px; border-radius: 8px; border: 0; background: transparent; color: var(--on-deep); cursor: pointer; }
.tabs button:hover { background: var(--tabs-hover); }
.tabs button[aria-selected="true"] { background: var(--mark); color: var(--deep); }

/* Season panels */
.seasons { padding: 56px 0 40px; }
.js .season[hidden] { display: none; }
.season + .season { margin-top: 56px; }
.js .season + .season { margin-top: 0; }
.season__title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; padding-bottom: 14px; border-bottom: 4px solid var(--accent); transition: border-color .6s; }
.season__title span { font: 400 1.2rem var(--sans); color: var(--muted); }
.season__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 26px; }
.season h3, .seasons h3 { color: var(--accent); transition: color .6s; }
.season ul { list-style: none; padding: 0; margin: 0; }
.season li { padding: 12px 0; border-top: 1px solid var(--line); }
.season li a { font-weight: 700; color: var(--ink); text-decoration-color: var(--leaf); text-decoration-thickness: 2px; display: block; }
.season li a:hover { color: var(--accent); }
.season li span { display: block; color: var(--muted); font-size: 1.05rem; }

/* Coming up + newsletter */
.upnext { padding: 24px 0 64px; }
.upnext__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: start; }
.events { list-style: none; margin: 0 0 14px; padding: 0; }
.events a { display: grid; grid-template-columns: 64px 1fr auto; gap: 16px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.events li:last-child a { border-bottom: 1px solid var(--line); }
.events a:hover strong { color: var(--accent); text-decoration: underline; }
.events time, .datelist time { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 12px; background: var(--tint); color: var(--accent); font-weight: 700; font-size: .95rem; line-height: 1; text-transform: uppercase; transition: background-color .6s; }
.events time b, .datelist time b { font: 800 1.7rem/1 var(--serif); text-transform: none; }
.events__body strong { display: block; font-size: 1.15rem; }
.events__body span { color: var(--muted); font-size: 1.02rem; }
.events__price { font-weight: 700; color: var(--deep-ink); background: var(--tint); padding: 4px 10px; border-radius: 999px; font-size: .98rem; }
.more { font-weight: 700; }
.more::after { content: " \2192"; }
.news { display: grid; grid-template-columns: 180px 1fr; gap: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.news > * { min-width: 0; }  /* round 5: without this the email field's built-in width pushed Subscribe past the card edge */
.news__thumb img { border-radius: 6px; box-shadow: 0 6px 18px rgba(43,29,22,.18); transition: transform .3s; }
.news__thumb:hover img { transform: rotate(-1.5deg) scale(1.02); }
.news h2 { font-size: 1.7rem; }
.news__links a { font-weight: 700; margin-right: 14px; }
.signup label { display: block; font-weight: 700; margin-bottom: 6px; }
.signup__row { display: flex; flex-wrap: wrap; gap: 8px; }
.signup input { flex: 1 1 12em; width: 100%; min-width: 0; font: inherit; padding: 10px 12px; border: 1px solid #cdbfb1; border-radius: 8px; background: #fff; }
.signup button { flex: none; font: 700 1.05rem var(--sans); padding: 10px 16px; border: 0; border-radius: 8px; background: var(--deep); color: var(--on-deep); cursor: pointer; }
.signup__note { color: var(--muted); font-size: .95rem; margin: 6px 0 0; }

/* Photo placeholders (replace with real photos) */
.photo { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; display: grid; place-items: end start;
  background: linear-gradient(135deg, var(--tint), color-mix(in srgb, var(--leaf) 45%, var(--tint))); transition: background .6s; }
.photo__mark { position: absolute; right: 8%; top: 8%; height: 84%; width: auto; color: var(--deep); opacity: .09; }
.photo span { position: relative; margin: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.85); color: var(--muted); font-size: .92rem; font-style: italic; }

/* Every week cards */
.always { background: var(--tint); padding: 60px 0; transition: background-color .6s; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 8px; }
.card { background: #fff; border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.card .photo { border-radius: 0; }
.card__body { padding: 20px 22px 22px; }
.card h3 a { color: var(--deep-ink); }
.card dl { display: grid; grid-template-columns: 3em 1fr; gap: 6px 10px; margin: 0 0 14px; }
.card dt { font-weight: 700; color: var(--accent); }
.card dd { margin: 0; }
.card p { margin: 0 0 6px; color: var(--muted); }

/* Give */
.give { padding: 64px 0; }
.give__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; }
.give__acts { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.give__acts p { width: 100%; margin: 4px 0 0; color: var(--muted); }

/* Inner page hero */
.page-hero { background: var(--deep); color: var(--on-deep); overflow: hidden; transition: background-color .7s; }
.page-hero__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 230px; }
.page-hero h1 { color: var(--on-deep); font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 800; margin-top: 36px; }
.page-hero__lede { font-size: 1.25rem; max-width: 36em; opacity: .92; }
.page-hero p:last-child { margin-bottom: 36px; }
.page-hero__mark { height: 190px; width: auto; color: var(--mark); flex: none; margin: 20px 4% 20px 0; transition: color .8s; }  /* round 4: fits inside the 230px banner, no bleed */

/* Calendar */
.week { padding: 48px 0 24px; }
.week__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; }
.week__head p { color: var(--muted); margin: 0; }
.everyday { background: #fff; border: 1px solid var(--line); border-left: 6px solid var(--accent); border-radius: 10px; padding: 14px 18px; margin: 18px 0; }
.everyday strong { margin-right: 6px; }
.days { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.day { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.day.is-today { border: 2px solid var(--accent); box-shadow: 0 8px 24px rgba(43,29,22,.12); }
.day.is-today .day__name::after { content: "Today"; display: block; width: max-content; margin-top: 6px; font: 700 .85rem var(--sans); text-transform: uppercase; letter-spacing: .08em; color: #fff; background: var(--accent); padding: 2px 8px; border-radius: 999px; }
.day__name { font-size: 1.35rem; }
.day__date { display: block; font: 400 1rem var(--sans); color: var(--muted); }
.day ul { list-style: none; margin: 0; padding: 0; }
.day li { padding: 10px 0; border-top: 1px solid var(--line); }
.day li time { display: block; font-weight: 700; color: var(--accent); font-size: .98rem; }
.day li strong, .day li span { display: block; }
.day li span { color: var(--muted); font-size: 1rem; }
.day .quiet strong { font-weight: 500; font-style: italic; }
.keydates { padding: 40px 0 48px; }
.keydates__grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: start; }
.keydates__note { color: var(--muted); }
.datelist { list-style: none; margin: 0; padding: 0; }
.datelist li { display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.datelist h3 { font-size: 1.2rem; margin: 0 0 2px; }
.datelist h3 a { color: var(--ink); }
.datelist p { margin: 0; color: var(--muted); font-size: 1.02rem; }
.datelist .is-past { opacity: .45; }
.regbox { background: var(--tint); border-radius: var(--radius); padding: 24px; position: sticky; top: 76px; transition: background-color .6s; }
.regbox h2 { font-size: 1.7rem; }
.regbox dl { margin: 0 0 18px; }
.regbox dt { font-weight: 700; margin-top: 10px; }
.regbox dd { margin: 0; color: var(--muted); }
.gcal { padding: 0 0 64px; }
.gcal__in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.gcal__in p { max-width: 44em; color: var(--muted); margin: 0; }

/* Rentals */
.quickfacts { list-style: none; margin: 32px 0 20px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr) 1.4fr; gap: 14px; }
.quickfacts li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; color: var(--muted); }
.quickfacts b { display: block; font: 800 1.6rem/1.1 var(--serif); color: var(--ink); }
.quickfacts .quickfacts__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.chips ul { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { display: block; padding: 6px 14px; border-radius: 999px; background: var(--tint); color: var(--deep-ink); font-weight: 700; text-decoration: none; transition: background-color .6s; }
.chips a:hover { background: var(--leaf); }
.space, .sport { display: grid; grid-template-columns: 1fr 1.35fr; gap: 36px; padding: 40px 0; border-top: 1px solid var(--line); align-items: start; }
.space h2, .sport h2 { font-size: clamp(1.8rem, 3vw, 2.3rem); }
.space__facts { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.space__facts li { background: var(--tint); border-radius: 10px; padding: 6px 12px; color: var(--muted); transition: background-color .6s; }
.space__facts b { color: var(--ink); font-size: 1.15rem; }
.fees { overflow-x: auto; }
.fees table { width: 100%; border-collapse: collapse; font-size: 1.02rem; background: #fff; border-radius: 10px; overflow: hidden; }
.fees caption { text-align: left; font-weight: 700; color: var(--accent); padding-bottom: 6px; }
.fees th, .fees td { padding: 9px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.fees thead th { background: var(--deep); color: var(--on-deep); font-weight: 700; line-height: 1.2; transition: background-color .6s; }
.fees tbody th { font-weight: 500; }
.fees td { white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; }
.ready { border-top: 1px solid var(--line); padding: 40px 0 64px; }
.ready .btn { margin: 4px 8px 4px 0; }

/* Youth sports */
.jump { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 32px 0 8px; }
.jump__season { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.jump__season.is-now { border: 2px solid var(--accent); }
.jump__season.is-now h2::after { content: "Now"; margin-left: 8px; font: 700 .8rem var(--sans); vertical-align: middle; text-transform: uppercase; letter-spacing: .08em; color: #fff; background: var(--accent); padding: 2px 8px; border-radius: 999px; }
.jump h2 { font-size: 1.35rem; }
.jump ul { list-style: none; margin: 0; padding: 0; }
.jump li { padding: 3px 0; }
.jump a { font-weight: 700; }
.sport h2 span { display: block; font: 500 1.15rem var(--sans); color: var(--muted); margin-top: 4px; }
.sport__tags { margin: 0 0 8px; display: flex; gap: 6px; }
.tag { font: 700 .82rem var(--sans); text-transform: uppercase; letter-spacing: .08em; padding: 3px 9px; border-radius: 999px; color: #fff; }
.tag--fall { background: #A3471D; } .tag--winter { background: #2E5C88; } .tag--spring { background: #3B7428; } .tag--summer { background: #0A6B7C; }
.sport__facts { margin: 0 0 14px; }
.sport__facts div { display: grid; grid-template-columns: 11em 1fr; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); }
.sport__facts dt { font-weight: 700; }
.sport__facts dd { margin: 0; }
.sport__acts { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.fine { border-top: 1px solid var(--line); padding: 40px 0 64px; }
.fine__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.fine__grid p { color: var(--muted); }

/* Notes page */
.prose { max-width: 820px; padding: 40px 0 64px; }
.prose h2 { font-size: 1.9rem; margin-top: 1.2em; }
.prose li { margin-bottom: .6em; }

/* Footer */
.foot { background: var(--brown); color: rgba(255,236,202,.85); padding: 48px 0; }
.foot a { color: var(--cream); }
.foot h2 { font-size: 1.25rem; color: var(--cream); }
.foot address { font-style: normal; margin-bottom: .6em; }
.foot__grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 28px; }
.foot__brand { display: flex; gap: 14px; align-items: flex-start; }
.foot__brand b { color: var(--cream); font: 800 1.3rem var(--serif); }
.foot__mark { width: 44px; height: 86px; color: var(--cream); flex: none; }
.foot__social { display: flex; align-items: center; gap: 14px; }
.foot__donate { background: var(--cream); color: var(--brown) !important; font-weight: 700; text-decoration: none; padding: 4px 14px; border-radius: 999px; }

/* Scroll reveal (only when JS is on and motion is OK) */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
  .js .reveal.is-in { opacity: 1; transform: none; }
}

@media (max-width: 1060px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 18px 40px rgba(43,29,22,.14); max-height: 80vh; overflow-y: auto; }
  .nav.is-open { display: block; }
  .nav__list { flex-direction: column; align-items: stretch; padding: 8px 16px 16px; }
  .nav__list a, .mega-btn { width: 100%; text-align: left; padding: 12px; }
  .nav__list .nav__reg { margin: 8px 0 0; text-align: center; }
  .mega { position: static; box-shadow: none; border: 0; background: var(--tint); border-radius: 10px; }
  .mega__grid { grid-template-columns: 1fr 1fr; gap: 16px; padding: 14px; width: 100%; }
  .mega li a { padding: 6px 0; }
  .hero__grid { grid-template-columns: 1fr; min-height: 0; gap: 0; }
  .hero__copy { padding: 40px 0 8px; }
  .hero__mark { height: 200px; margin: 0 0 28px auto; justify-self: end; }
  .season__cols { grid-template-columns: 1fr 1fr; }
  .upnext__grid, .keydates__grid, .give__grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr 1fr; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .days { grid-template-columns: repeat(5, minmax(220px, 1fr)); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .day { scroll-snap-align: start; }
  .quickfacts { grid-template-columns: 1fr 1fr; }
  .jump { grid-template-columns: 1fr 1fr; }
  .regbox { position: static; }
}
@media (max-width: 680px) {
  body { font-size: 1.1rem; }
  .util__addr { font-size: .9rem; }
  .brand__name { font-size: 1.05rem; } .brand__name b { font-size: 1.3rem; }
  .brand__mark { width: 28px; height: 54px; }
  .tabs { display: grid; grid-template-columns: repeat(4, 1fr); width: 100%; }
  .tabs button { padding: 10px 4px; font-size: 1.05rem; }
  .season__cols, .cards, .foot__grid, .mega__grid, .fine__grid { grid-template-columns: 1fr; }
  .season__cols { gap: 24px; }
  .news { grid-template-columns: 1fr; } .news__thumb img { max-width: 220px; }
  .space, .sport { grid-template-columns: 1fr; gap: 18px; }
  .sport__facts div { grid-template-columns: 1fr; gap: 2px; }
  .page-hero__mark { height: 120px; margin: 18px 0; }
  .events a { grid-template-columns: 56px 1fr; } .events__price { grid-column: 2; justify-self: start; }
  .events time, .datelist time { width: 56px; height: 56px; }
  .quickfacts, .jump { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
.nav__list .mega__cta a.btn { display: inline-block; width: auto; background: var(--deep); color: var(--on-deep); padding: .8em 1.2em; border-radius: 10px; font-weight: 700; }
.nav__list .mega__cta a.btn:hover { filter: brightness(1.25); text-decoration: none; }
.quickfacts b, .events time b, .datelist time b, .events__price { font-variant-numeric: lining-nums; }
.upnext__grid > *, .space > *, .sport > *, .keydates__grid > *, .give__grid > * { min-width: 0; }
.events time b.sm, .datelist time b.sm { font-size: 1.05rem; }
@media (max-width: 680px) { .util__street { display: none; } }

/* ---------- Round 3 additions ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Real photos (same box as the placeholder) */
.photo--img { margin: 0; display: block; background: var(--tint); }
.photo--img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.photo--wide { aspect-ratio: 21 / 9; }

/* Featured events & fundraisers (home + calendar) */
.featured { padding: 8px 0 56px; }
.featured__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 18px; padding-bottom: 14px; margin-bottom: 22px; border-bottom: 4px solid var(--accent); transition: border-color .6s; }
.featured__head h2 { margin: 0; font-size: clamp(1.8rem, 3vw, 2.3rem); }
.featured__head p { margin: 0; color: var(--muted); }
.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
.feat { position: relative; display: grid; grid-template-columns: 72px 1fr; gap: 16px; align-content: start; background: #fff; border: 1px solid var(--line); border-top: 6px solid var(--deep); border-radius: var(--radius); padding: 20px; transition: border-color .6s; }
.feat__date { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 12px; background: var(--deep); color: var(--mark); font-weight: 700; font-size: .92rem; line-height: 1; text-transform: uppercase; transition: background-color .6s, color .6s; }
.feat__date b { font: 800 1.9rem/1 var(--serif); text-transform: none; font-variant-numeric: lining-nums; }
.feat__date b.sm { font-size: 1.15rem; }
.feat__body h3 { font-size: 1.45rem; margin: 0 0 4px; }
.feat__body p { margin: 0 0 10px; }
.feat__kind { font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: .08em; font-size: .9rem; }
.feat__badge { margin-left: 8px; padding: 2px 8px; border-radius: 999px; background: #FFF3C4; color: #6B4E00; letter-spacing: 0; text-transform: none; font-size: .85rem; }
.feat__when { color: var(--muted); font-weight: 500; }
.feat__img { grid-column: 1 / -1; }
.feat__img img { display: block; width: 100%; border-radius: 10px; }
.btn--sm { font-size: 1rem; padding: .65em 1.1em; }
.feat[hidden], .featured[hidden] { display: none; }

/* Footer hours */
.foot__hours { font-size: 1rem; }

/* Summer camp */
.camp-note { margin: 28px 0 0; padding: 14px 18px; border-radius: var(--radius); background: var(--tint); border-left: 6px solid var(--accent); transition: background-color .6s; }
.rhythm { border-top: 1px solid var(--line); padding: 40px 0; }
.rhythm__days { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.rhythm__days li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.rhythm__days b { color: var(--accent); text-transform: uppercase; letter-spacing: .08em; font-size: .92rem; }
.rhythm__days strong { font: 700 1.25rem/1.15 var(--serif); }
.rhythm__days span { color: var(--muted); font-size: 1rem; }
.themes { border-top: 1px solid var(--line); padding: 40px 0 24px; }
.themes .fees td { white-space: normal; }
.themes .fees tr.half td:nth-child(3) { font-weight: 700; color: var(--accent); }
.strip { padding: 8px 0 40px; }

@media (max-width: 1060px) {
  .feats { grid-template-columns: 1fr 1fr; }
  .rhythm__days { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .feats, .rhythm__days { grid-template-columns: 1fr; }
  .feat { grid-template-columns: 60px 1fr; padding: 16px; }
  .feat__date { width: 60px; height: 60px; }
  .photo--wide { aspect-ratio: 16 / 9; }
}
.page-hero .eyebrow { margin: 36px 0 0; }
.page-hero .eyebrow + h1 { margin-top: 6px; }
.page-hero + .featured { padding-top: 40px; }

/* Sticky header (round 3, internal feedback): the menu stays pinned at the top and slims down once you scroll.
   The brown address/Donate bar above it scrolls away. Anchor jumps land below the pinned bar. */
html { scroll-padding-top: 112px; }  /* slim header (~53px) + the ~30px it shrinks after a jump + breathing room */
.head { position: sticky; top: 0; transition: box-shadow .25s; }
.head .head__in { transition: padding .25s; }
.head .brand__mark { transition: width .25s, height .25s; }
.head .brand__name, .head .brand__name b { transition: font-size .25s; }
.head.is-stuck { box-shadow: 0 6px 18px rgba(43,29,22,.12); }
.head.is-stuck .head__in { padding: 4px 0; }
.head.is-stuck .brand__mark { width: 22px; height: 44px; }
.head.is-stuck .brand__name { font-size: 1rem; }
.head.is-stuck .brand__name b { font-size: 1.2rem; }
.head.is-stuck .nav__list a, .head.is-stuck .mega-btn { padding-top: 6px; padding-bottom: 6px; }
.head.is-stuck .nav__list .nav__reg { padding: 8px 16px; }
.mega { max-height: calc(100vh - 72px); overflow-y: auto; }
@media (max-width: 1060px) {
  .nav { max-height: calc(100vh - 64px); max-height: calc(100dvh - 64px); }
  .head.is-stuck .menu-btn { padding: 8px 16px; }
}
@media (max-width: 680px) { html { scroll-padding-top: 92px; } }

/* ---------- Inner pages (round 3, part 2) ---------- */
.block { border-top: 1px solid var(--line); }
.block--text { padding: 40px 0; }
.block--text > h2, .block h2 { font-size: clamp(1.8rem, 3vw, 2.3rem); }
.block--flip .space__media { order: 2; }
.block--flip { grid-template-columns: 1.35fr 1fr; }  /* round 4: keep the photo in the narrower column when flipped */
.block__lede { font-size: 1.2rem; color: var(--muted); max-width: 46em; }
.block__sub { font-size: 1.25rem; margin: 18px 0 6px; color: var(--accent); }
.ticks { list-style: none; margin: 0 0 14px; padding: 0; }
.ticks li { position: relative; padding: 0 0 8px 28px; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: .5em; width: 12px; height: 7px; border: solid var(--accent); border-width: 0 0 3px 3px; transform: rotate(-45deg); }
.callout { background: #FFF3C4; border-left: 6px solid #C99A00; border-radius: 10px; padding: 12px 16px; color: #4a3a00; }

/* "Content needed" placeholder box */
.needed { border: 2px dashed color-mix(in srgb, var(--accent) 55%, white); border-radius: var(--radius); padding: 20px 24px; background: #fff; max-width: 820px; }
.needed__tag { display: inline-block; margin: 0 0 8px; padding: 2px 10px; border-radius: 999px; background: #FFF3C4; color: #6B4E00; font-weight: 700; font-size: .9rem; }
.needed h3 { font-size: 1.35rem; }
.needed ul { margin: 0 0 10px; padding-left: 1.2em; color: var(--muted); }
.needed p:last-child { margin-bottom: 0; }

/* About: mission */
.mission { padding: 44px 0 40px; }
.mission__label { font: 700 1rem var(--sans); text-transform: uppercase; letter-spacing: .14em; color: var(--accent); margin-bottom: 10px; }
.mission__quote { margin: 0 0 28px; padding: 0 0 0 24px; border-left: 6px solid var(--deep); max-width: 34em; transition: border-color .6s; }
.mission__quote p { margin: 0; font: 500 clamp(1.45rem, 2.6vw, 2rem)/1.3 var(--serif); color: var(--ink); }
.mission__pillars { list-style: none; margin: 0 0 16px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mission__pillars li { background: var(--tint); border-radius: var(--radius); padding: 16px 18px; color: var(--muted); transition: background-color .6s; }
.mission__pillars b { display: block; font: 700 1.25rem var(--serif); color: var(--ink); margin-bottom: 4px; }
.mission__pillars a { display: block; margin-top: 6px; font-weight: 700; }
.mission__note { color: var(--muted); }

/* About: people, visit, board, partners */
.people { list-style: none; margin: 18px 0 24px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.person { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.person h3 { font-size: 1.35rem; margin-bottom: 2px; }
.person__role { margin: 0 0 8px; font-weight: 700; color: var(--accent); }
.person p { margin: 0 0 8px; }
.person__reach { margin: 0 !important; font-size: 1.02rem; overflow-wrap: anywhere; }
.story { max-width: 820px; }
.story p { font-size: 1.08rem; }
.person--open { border-style: dashed; background: transparent; }
.person--pantry { background: var(--tint); border-color: transparent; transition: background-color .6s; }
.visit { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.visit h3 { font-size: 1.2rem; margin-bottom: 4px; }
.visit p { margin: 0; color: var(--muted); }
.board { display: grid; grid-template-columns: 1fr 1.3fr; gap: 24px; margin: 18px 0; align-items: start; }
.board__officers, .board__members { list-style: none; margin: 0; padding: 0; }
.board__officers { display: grid; gap: 10px; }
.board__officers li { display: flex; flex-direction: column; background: var(--deep); color: var(--on-deep); border-radius: var(--radius); padding: 14px 18px; transition: background-color .6s; }
.board__officers span { color: var(--mark); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: .88rem; transition: color .6s; }
.board__officers b { font: 700 1.4rem var(--serif); }
.board__members { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.board__members li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; font: 700 1.2rem var(--serif); }
.board__members::before { content: "Members"; grid-column: 1 / -1; color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: .88rem; }
.partners { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
/* Partners, names only for now (Julie, Nov 2: skip the logos). If a logo file is ever added, it sits in a 96x56 box
   so none looks bigger than the others. */
.partner a { display: flex; align-items: center; gap: 14px; height: 100%; padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); }
.partner a:hover .partner__name { color: var(--accent); text-decoration: underline; }
.partner__logo { flex: none; display: grid; place-items: center; width: 96px; height: 56px; }
.partner__logo img { max-width: 96px; max-height: 56px; width: auto; height: auto; }
.partner__name { font-weight: 700; line-height: 1.25; }

/* School-year care */
.er-dates { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.er-dates li { background: var(--deep); color: var(--mark); font-weight: 700; border-radius: 8px; padding: 6px 12px; font-variant-numeric: lining-nums; transition: background-color .6s, color .6s; }
.fine__grid--4 { grid-template-columns: repeat(4, 1fr); }
.fine__more { margin-top: 18px; }

/* Seniors week */
.week-sr { padding: 40px 0 8px; }
.wks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.wk { background: #fff; border: 1px solid var(--line); border-top: 6px solid var(--deep); border-radius: var(--radius); padding: 18px; transition: border-color .6s; }
.wk__day { margin: 0; color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: .92rem; }
.wk h3 { font-size: 1.6rem; margin: 2px 0; }
.wk__time { font-weight: 700; margin: 0 0 6px; }
.wk p:last-child { margin: 0; color: var(--muted); }
.wks__note { margin-top: 16px; color: var(--muted); }
.weather { margin-top: 20px; background: #fff; border: 1px solid var(--line); border-left: 6px solid var(--deep-ink); border-radius: var(--radius); padding: 14px 18px; max-width: 46rem; }
.weather h3 { font-size: 1.15rem; margin: 0 0 4px; }
.weather p { margin: 0; }

/* Food pantry */
.needs { border-top: 1px solid var(--line); padding: 40px 0; }
.needs__list { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.needs__list li { background: var(--tint); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-weight: 700; transition: background-color .6s; }
.needs__note { color: var(--muted); }
.fine__small-h { font-size: 1.2rem; }
.fine__small { font-size: .98rem; color: var(--muted); max-width: 60em; }

/* Forms */
.docs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 40px; padding: 16px 0 56px; }
.docs { padding-top: 24px; }
.docs h2 { font-size: 1.6rem; padding-bottom: 8px; border-bottom: 4px solid var(--accent); transition: border-color .6s; }
.doclist { list-style: none; margin: 0; padding: 0; }
.doclist a { display: flex; justify-content: space-between; gap: 16px; padding: 11px 2px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.doclist a:hover span { color: var(--accent); text-decoration: underline; }
.doclist small { flex: none; align-self: center; font-weight: 700; color: var(--muted); background: var(--tint); border-radius: 999px; padding: 2px 10px; transition: background-color .6s; }

/* News */
.issues { list-style: none; margin: 0; padding: 22px 0 16px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
/* Round 5: newsletters grouped by year */
.news-year { padding-top: 32px; }
.news-year:last-of-type { padding-bottom: 24px; }
.news-year h2 { font-size: 1.6rem; margin: 0; padding-bottom: 8px; border-bottom: 4px solid var(--accent); transition: border-color .6s; }
.issue a { display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: var(--ink); }
.issue img { width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--line); box-shadow: 0 8px 20px rgba(43,29,22,.10); margin-bottom: 8px; }
.issue__t { font: 700 1.35rem var(--serif); }
.issue a:hover .issue__t { color: var(--accent); text-decoration: underline; }
.issue__d { color: var(--muted); font-size: 1.02rem; }
.news-signup { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; background: var(--tint); border-radius: var(--radius); padding: 24px 28px; margin-bottom: 56px; transition: background-color .6s; }
.news-signup h2 { font-size: 1.7rem; }
.news-signup p { margin: 0; }

@media (max-width: 1060px) {
  .mission__pillars, .wks, .fine__grid--4, .issues { grid-template-columns: 1fr 1fr; }
  .partners { grid-template-columns: 1fr 1fr; }
  .board, .news-signup { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .mission__pillars, .wks, .fine__grid--4, .visit, .partners, .docs-grid, .board__members { grid-template-columns: 1fr; }
  .block--flip .space__media { order: 0; }
  .block--flip { grid-template-columns: 1fr; }
  .issues { grid-template-columns: 1fr 1fr; gap: 16px; }
}
.page-hero + .wrap > .chips:first-child { margin-top: 24px; }

/* ---------- Register stays visible on phones (Julie, Nov 17 2026) ----------
   At <=1060px the nav collapses behind Menu, so Register moves out of it and into the pinned header,
   next to Menu (not the brown bar: that one scrolls away). Below 420px Menu becomes a hamburger icon
   (the word stays for screen readers) so the brand, Register and Menu fit on one line down to 320px. */
.head__reg { display: none; }
.menu-btn__icon { display: none; }
@media (max-width: 1060px) {
  .head__in { gap: 10px; }
  .head__reg { display: block; margin-left: auto; white-space: nowrap; background: var(--deep); color: var(--on-deep); font: 700 1.05rem var(--sans); text-decoration: none; padding: 10px 16px; border-radius: 8px; transition: background-color .6s; }
  .head__reg:hover { background: var(--accent); color: #fff; }
  .menu-btn { margin-left: 0; white-space: nowrap; }
  .nav__list .nav__reg { display: none; }  /* the header button replaces it; the Programs panel keeps "Register for a program" */
  .head.is-stuck .head__reg { padding: 8px 14px; }
}
@media (max-width: 419px) {
  .menu-btn { padding: 10px 12px; }
  .head.is-stuck .menu-btn { padding: 8px 12px; }
  .menu-btn__txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .menu-btn__icon { display: block; width: 20px; height: 2px; margin: 8px 0; background: currentColor; border-radius: 1px; box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor; }
  .head__reg { padding: 10px 12px; }
}
