:root {
  --ink: #17201d;
  --muted: #66736e;
  --green-950: #0f2e25;
  --green-900: #123a2e;
  --green-800: #19513f;
  --green-700: #1f6b50;
  --green-500: #2e9c70;
  --lime: #c8df70;
  --cream: #f4f2ea;
  --paper: #fffefa;
  --line: #dfe5e1;
  --danger: #a42828;
  --shadow: 0 22px 60px rgba(16, 45, 36, .12);
  --radius: 22px;
  --container: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "DM Sans", sans-serif; line-height: 1.55; }
a { color: inherit; }
img { max-width: 100%; }
.container { width: var(--container); margin-inline: auto; }
.narrow { max-width: 820px; }
.skip-link { position: absolute; left: 14px; top: -50px; background: white; color: black; padding: 10px 14px; z-index: 100; }
.skip-link:focus { top: 12px; }

.emergency-strip { background: #0b211a; color: #ecf4f0; font-size: .8rem; }
.emergency-inner { min-height: 34px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.emergency-inner a { text-decoration: none; color: #d7e5df; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 254, 250, .95); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(20, 58, 46, .08); }
.nav-wrap { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 46px; height: 46px; border-radius: 50% 50% 50% 18%; background: var(--green-900); color: var(--lime); display: grid; place-items: center; font: 700 1.6rem/1 "Newsreader", serif; transform: rotate(-4deg); }
.brand-copy { display: flex; flex-direction: column; line-height: 1.05; }
.brand-copy strong { letter-spacing: .09em; font-size: .98rem; }
.brand-copy small { color: var(--green-700); letter-spacing: .13em; font-weight: 700; font-size: .62rem; margin-top: 5px; }
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a { text-decoration: none; font-weight: 700; font-size: .93rem; color: #38443f; }
.site-nav a:hover, .site-nav a.active { color: var(--green-700); }
.site-nav .nav-cta { background: var(--green-900); color: white; padding: 12px 18px; border-radius: 999px; }
.site-nav .nav-cta:hover { color: white; background: var(--green-700); }
.nav-toggle { display: none; border: 0; background: none; font-size: 1.7rem; }

.flash-stack { position: fixed; right: 24px; top: 112px; z-index: 70; width: min(420px, calc(100% - 48px)); }
.flash { background: white; border-left: 5px solid var(--green-500); box-shadow: var(--shadow); padding: 14px 16px; border-radius: 12px; margin-bottom: 10px; }
.flash-danger { border-color: #c93b3b; }
.flash-warning { border-color: #d7a220; }

.hero { position: relative; overflow: hidden; color: white; background: radial-gradient(circle at 82% 22%, rgba(200,223,112,.18), transparent 25%), linear-gradient(135deg, #0e3025, #154a38 58%, #0d2b22); padding: 76px 0 66px; }
.hero-grid-overlay { position: absolute; inset: 0; opacity: .08; background-image: linear-gradient(rgba(255,255,255,.2) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.2) 1px, transparent 1px); background-size: 50px 50px; mask-image: linear-gradient(to right, black, transparent 75%); }
.hero-layout { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 66px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; text-transform: uppercase; letter-spacing: .13em; font-size: .72rem; font-weight: 800; color: #e2edbe; }
.eyebrow.dark { color: var(--green-700); }
.hero h1, .page-hero h1 { font-family: "Newsreader", serif; font-size: clamp(3.2rem, 6vw, 5.9rem); line-height: .94; letter-spacing: -.035em; margin: 18px 0 22px; max-width: 820px; }
.hero h1 em { color: var(--lime); font-style: normal; }
.hero-copy > p { max-width: 650px; font-size: 1.08rem; color: #d7e5df; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { border: 0; display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 12px 19px; border-radius: 999px; text-decoration: none; font: 700 .92rem/1 "DM Sans", sans-serif; cursor: pointer; transition: .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--green-700); color: white; }
.button-primary:hover { background: var(--green-800); }
.button-secondary { background: transparent; color: var(--green-900); border: 1px solid #b8c8c1; }
.hero .button-secondary { color: white; border-color: rgba(255,255,255,.35); }
.button-secondary-on-dark { border: 1px solid rgba(255,255,255,.35); color: white; background: transparent; }
.button-light { background: white; color: var(--green-900); }
.button-small { min-height: 40px; padding: 9px 15px; }
.button-full { width: 100%; }
.neighborhoods { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 34px; }
.neighborhoods span { border: 1px solid rgba(255,255,255,.17); border-radius: 999px; padding: 7px 11px; color: #c7d8d1; font-size: .75rem; }
.hero-panel { position: relative; }
.skyline-card { height: 440px; border: 1px solid rgba(255,255,255,.14); border-radius: 34px; overflow: hidden; position: relative; background: linear-gradient(#729a8d 0%, #b9c9a3 54%, #24392f 55%); box-shadow: 0 35px 70px rgba(0,0,0,.28); }
.sun { width: 120px; height: 120px; background: #e9f2b8; border-radius: 50%; position: absolute; right: 48px; top: 52px; opacity: .8; box-shadow: 0 0 70px rgba(233,242,184,.7); }
.building { position: absolute; bottom: 0; background: #172c24; border-top: 5px solid #314a40; }
.building::before { content: ""; position: absolute; inset: 18px 12px; background-image: radial-gradient(#c7d99b 1.3px, transparent 1.5px); background-size: 17px 22px; opacity: .48; }
.b1 { left: -10px; width: 85px; height: 180px; }
.b2 { left: 70px; width: 108px; height: 250px; }
.b3 { left: 168px; width: 72px; height: 320px; }
.b4 { left: 232px; width: 120px; height: 225px; }
.b5 { right: 64px; width: 95px; height: 286px; }
.b6 { right: -18px; width: 90px; height: 205px; }
.ward-badge { position: absolute; left: 30px; bottom: 26px; width: calc(100% - 60px); padding: 22px; background: rgba(9,31,24,.8); border: 1px solid rgba(255,255,255,.13); backdrop-filter: blur(12px); border-radius: 20px; display: flex; flex-direction: column; }
.ward-badge span { letter-spacing: .22em; font-size: .65rem; color: var(--lime); font-weight: 800; }
.ward-badge strong { font: 700 2.1rem/1 "Newsreader", serif; margin: 6px 0; }
.ward-badge small { font-size: .63rem; letter-spacing: .14em; color: #cfddd7; }
.office-card { width: calc(100% - 70px); position: absolute; left: 35px; bottom: -38px; background: white; color: var(--ink); border-radius: 18px; padding: 16px; display: flex; align-items: center; gap: 14px; box-shadow: var(--shadow); }
.portrait-placeholder, .portrait-large { background: linear-gradient(140deg, var(--green-700), var(--green-950)); color: var(--lime); font-family: "Newsreader", serif; display: grid; place-items: center; }
.portrait-placeholder { width: 58px; height: 58px; border-radius: 14px; font-size: 1.35rem; }
.office-card span, .bio-card > span { display: block; font-size: .62rem; letter-spacing: .13em; color: var(--green-700); font-weight: 800; }
.office-card h2 { font-size: 1rem; margin: 2px 0 4px; }
.office-card a { color: var(--green-700); font-weight: 700; font-size: .84rem; text-decoration: none; }

.quick-access { position: relative; margin-top: -1px; background: var(--cream); border-bottom: 1px solid #e5e2d9; }
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.quick-grid > a { min-height: 118px; padding: 20px; display: flex; align-items: center; gap: 13px; text-decoration: none; border-right: 1px solid #ddd9cd; }
.quick-grid > a:first-child { border-left: 1px solid #ddd9cd; }
.quick-grid > a > i:first-child { width: 43px; height: 43px; border-radius: 13px; display: grid; place-items: center; background: white; color: var(--green-700); font-size: 1.2rem; }
.quick-grid > a > i:last-child { margin-left: auto; color: #8a968f; }
.quick-grid span { display: flex; flex-direction: column; }
.quick-grid small { color: var(--muted); margin-top: 3px; }

.section { padding: 88px 0; }
.section-soft { background: var(--cream); }
.section-heading { margin-bottom: 34px; }
.section-heading h2, .two-column-copy h2, .impact-band h2, .cta-card h2 { font-family: "Newsreader", serif; font-size: clamp(2.2rem, 4vw, 3.6rem); line-height: 1.02; margin: 10px 0 0; letter-spacing: -.025em; }
.split-heading { display: flex; justify-content: space-between; align-items: end; gap: 28px; }
.text-link { color: var(--green-700); font-weight: 800; text-decoration: none; white-space: nowrap; }
.announcement-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.announcement-card { background: white; padding: 28px; border-radius: var(--radius); border: 1px solid #e5e7df; }
.announcement-card h3 { font-size: 1.25rem; margin: 14px 0 8px; }
.announcement-card p { color: var(--muted); }
.announcement-card a { text-decoration: none; color: var(--green-700); font-weight: 800; }
.date-chip { display: inline-flex; padding: 7px 10px; border-radius: 999px; background: #edf3df; color: var(--green-800); font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.resource-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.resource-card { min-height: 325px; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; background: white; transition: .2s ease; }
.resource-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.resource-icon { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; background: #edf4ef; color: var(--green-700); font-size: 1.25rem; }
.resource-category { color: var(--green-700); text-transform: uppercase; letter-spacing: .1em; font-size: .66rem; font-weight: 800; margin-top: 22px; }
.resource-card h3, .resource-card h2 { margin: 7px 0 8px; font-size: 1.3rem; }
.resource-card p { color: var(--muted); margin-top: 0; }
.resource-card > a { margin-top: auto; color: var(--green-700); text-decoration: none; font-weight: 800; }
.impact-band { background: var(--green-950); color: white; padding: 76px 0; }
.impact-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; }
.impact-points { display: grid; gap: 14px; }
.impact-points > div { display: flex; gap: 15px; border-bottom: 1px solid rgba(255,255,255,.12); padding: 0 0 16px; }
.impact-points i { color: var(--lime); font-size: 1.4rem; }
.impact-points span { display: flex; flex-direction: column; }
.impact-points small { color: #b8cbc3; }
.events-list { border-top: 1px solid var(--line); }
.event-row { display: grid; grid-template-columns: 90px 1fr auto; gap: 24px; align-items: center; padding: 24px 0; border-bottom: 1px solid var(--line); }
.event-date { width: 74px; aspect-ratio: 1; border-radius: 18px; background: var(--green-900); color: white; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.event-date strong { font: 700 2rem/1 "Newsreader", serif; }
.event-date span { color: var(--lime); text-transform: uppercase; letter-spacing: .1em; font-size: .65rem; font-weight: 800; }
.event-copy > span { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--green-700); font-weight: 800; }
.event-copy h3, .event-copy h2 { margin: 3px 0; }
.event-copy p { margin: 0; color: var(--muted); }
.cta-section { padding: 0 0 88px; }
.cta-card { background: linear-gradient(135deg, var(--green-700), var(--green-900)); color: white; padding: 52px; border-radius: 28px; display: flex; justify-content: space-between; align-items: center; gap: 50px; }
.cta-card p { max-width: 720px; color: #d8e5df; }

.page-hero { background: var(--green-950); color: white; padding: 76px 0; }
.page-hero h1 { font-size: clamp(3rem, 6vw, 5rem); margin-bottom: 18px; }
.page-hero p { color: #c8d8d1; font-size: 1.06rem; max-width: 720px; }
.resource-search { display: grid; grid-template-columns: 1fr 280px auto auto; gap: 13px; align-items: end; background: var(--cream); border: 1px solid #e4e2d8; padding: 20px; border-radius: 20px; }
.resource-search label { display: flex; flex-direction: column; gap: 7px; font-size: .78rem; font-weight: 800; color: #42504a; }
.input-icon { position: relative; }
.input-icon i { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--green-700); }
.input-icon input { padding-left: 42px; }
.resource-search input, .resource-search select, .form-control { width: 100%; min-height: 48px; border: 1px solid #cfd8d3; border-radius: 12px; background: white; padding: 11px 13px; font: inherit; color: var(--ink); }
.resource-search input:focus, .resource-search select:focus, .form-control:focus { outline: 3px solid rgba(46,156,112,.17); border-color: var(--green-500); }
.clear-link { align-self: center; color: var(--green-700); font-weight: 700; }
.results-line { margin: 26px 0 16px; color: var(--muted); }
.resource-grid-wide { grid-template-columns: repeat(2, 1fr); }
.full-card { min-height: 365px; }
.resource-meta { display: grid; gap: 7px; margin: 8px 0 20px; color: #4f5d57; font-size: .84rem; }
.empty-state { padding: 38px; border: 1px dashed #b8c5bf; border-radius: 18px; color: var(--muted); text-align: center; }
.empty-state.wide { grid-column: 1 / -1; }
.events-page-list { display: grid; gap: 18px; }
.event-detail-card { display: grid; grid-template-columns: 130px 1fr auto; align-items: center; gap: 28px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); }
.event-date.large { width: 110px; }
.event-location { margin-top: 14px; color: var(--green-700); font-weight: 700; }
.council-hero-layout { display: grid; grid-template-columns: 1fr 420px; gap: 70px; align-items: center; }
.bio-card { color: var(--ink); background: white; padding: 28px; border-radius: 24px; box-shadow: var(--shadow); }
.portrait-large { height: 270px; border-radius: 18px; font-size: 4.3rem; margin-bottom: 22px; }
.bio-card h2 { margin: 5px 0 12px; }
.bio-card p { color: var(--muted); }
.bio-card a { color: var(--green-700); font-weight: 800; text-decoration: none; }
.two-column-copy { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: start; }
.two-column-copy > div:first-child p { color: var(--muted); font-size: 1.05rem; }
.principles-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.principles-grid > div { border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.principles-grid i { color: var(--green-700); font-size: 1.4rem; }
.principles-grid h3 { margin: 10px 0 4px; }
.principles-grid p { margin: 0; color: var(--muted); }
.ward-neighborhoods { display: grid; grid-template-columns: .8fr 1.2fr; gap: 50px; align-items: center; }
.neighborhood-card-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.neighborhood-card-grid span { min-height: 110px; border-radius: 18px; background: white; border: 1px solid #dfdfd7; display: grid; place-items: center; font-weight: 800; color: var(--green-800); text-align: center; }
.form-layout { display: grid; grid-template-columns: 360px 1fr; gap: 56px; align-items: start; max-width: 1040px; }
.contact-side h2 { font-family: "Newsreader", serif; font-size: 2rem; }
.contact-side > a, .contact-side > div:not(.notice-box) { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px; text-decoration: none; }
.contact-side > a > i, .contact-side > div > i { width: 42px; height: 42px; flex: 0 0 42px; border-radius: 13px; background: #edf4ef; color: var(--green-700); display: grid; place-items: center; }
.contact-side span { display: flex; flex-direction: column; }
.contact-side small { text-transform: uppercase; letter-spacing: .09em; color: var(--green-700); font-size: .64rem; font-weight: 800; }
.notice-box { background: #fff4e6; border: 1px solid #f0d4aa; border-radius: 16px; padding: 18px; margin-top: 28px; }
.notice-box p { margin-bottom: 0; color: #745d3a; }
.form-card { border: 1px solid var(--line); padding: 30px; border-radius: var(--radius); box-shadow: 0 18px 50px rgba(18,58,46,.07); background: white; }
.form-group { display: grid; gap: 7px; margin-bottom: 18px; font-weight: 700; font-size: .84rem; }
textarea.form-control { min-height: 150px; resize: vertical; }
.field-error { color: var(--danger); font-size: .76rem; }
.privacy-note { font-size: .75rem; color: var(--muted); margin-bottom: 0; }
.steps-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; }
.steps-list li { display: flex; gap: 14px; }
.steps-list li > span { width: 36px; height: 36px; border-radius: 50%; background: var(--green-900); color: white; display: grid; place-items: center; font-weight: 800; flex: 0 0 36px; }
.steps-list p { margin: 3px 0 0; color: var(--muted); }

.admin-login-section { min-height: 72vh; display: grid; place-items: center; padding: 70px 20px; background: var(--cream); }
.admin-login-card { width: min(460px, 100%); background: white; border: 1px solid var(--line); border-radius: 24px; padding: 34px; box-shadow: var(--shadow); }
.admin-login-card h1 { font-family: "Newsreader", serif; font-size: 2.4rem; margin: 8px 0; }
.admin-form-wrap { max-width: 850px; }
.admin-header { background: var(--green-950); color: white; padding: 48px 0; }
.admin-header-row { display: flex; justify-content: space-between; gap: 30px; align-items: center; }
.admin-header h1 { font-family: "Newsreader", serif; font-size: 3rem; margin: 8px 0 0; }
.admin-actions { display: flex; flex-wrap: wrap; gap: 9px; justify-content: flex-end; }
.admin-dashboard { background: #f5f6f3; }
.admin-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 22px; }
.admin-stats > div { background: white; border: 1px solid var(--line); border-radius: 18px; padding: 22px; display: flex; flex-direction: column; }
.admin-stats strong { font: 700 2.4rem/1 "Newsreader", serif; color: var(--green-800); }
.admin-stats span { color: var(--muted); font-size: .82rem; margin-top: 8px; }
.admin-panel { background: white; border: 1px solid var(--line); border-radius: 20px; padding: 24px; margin-bottom: 20px; }
.admin-panel h2 { margin-top: 0; }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .82rem; }
th, td { text-align: left; vertical-align: top; padding: 13px 10px; border-bottom: 1px solid #e8ece9; min-width: 105px; }
th { text-transform: uppercase; letter-spacing: .08em; font-size: .65rem; color: var(--green-700); }
.inline-status { display: flex; gap: 6px; }
.inline-status select, .inline-status button { border: 1px solid #cfd7d2; border-radius: 8px; padding: 7px; background: white; }
.inline-status button { background: var(--green-900); color: white; border-color: var(--green-900); }
.admin-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.admin-list-row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid #edf0ee; }
.admin-list-row div { display: flex; flex-direction: column; }
.admin-list-row span { color: var(--muted); font-size: .78rem; }
.check-group { display: flex; align-items: center; gap: 9px; }
.check-group input { width: auto; }

.site-footer { background: #0d241d; color: #d7e2dd; padding: 64px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.25fr .7fr .7fr; gap: 60px; }
.footer-brand { color: white; font-weight: 800; letter-spacing: .08em; }
.footer-brand span { color: var(--lime); }
.footer-grid h2 { color: white; text-transform: uppercase; letter-spacing: .1em; font-size: .72rem; }
.footer-grid a { display: block; color: #c4d4cd; margin: 8px 0; text-decoration: none; }
.footer-grid p { max-width: 470px; color: #aebfb7; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 20px; display: flex; justify-content: space-between; gap: 30px; color: #91a39b; font-size: .73rem; }

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .site-nav { position: absolute; top: 82px; left: 20px; right: 20px; display: none; flex-direction: column; align-items: stretch; gap: 0; background: white; border: 1px solid var(--line); border-radius: 18px; padding: 12px; box-shadow: var(--shadow); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 13px 12px; }
  .site-nav .nav-cta { text-align: center; margin-top: 5px; }
  .hero-layout, .impact-layout, .council-hero-layout, .two-column-copy, .form-layout, .ward-neighborhoods { grid-template-columns: 1fr; }
  .hero-panel { max-width: 630px; }
  .quick-grid { grid-template-columns: repeat(2, 1fr); }
  .quick-grid > a:nth-child(odd) { border-left: 1px solid #ddd9cd; }
  .quick-grid > a { border-bottom: 1px solid #ddd9cd; }
  .resource-grid, .announcement-grid { grid-template-columns: repeat(2, 1fr); }
  .resource-search { grid-template-columns: 1fr 1fr; }
  .event-detail-card { grid-template-columns: 100px 1fr; }
  .event-detail-card > .button { grid-column: 2; justify-self: start; }
  .neighborhood-card-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .admin-header-row { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 680px) {
  :root { --container: min(100% - 28px, 1180px); }
  .emergency-inner { min-height: 42px; font-size: .68rem; }
  .emergency-inner a { display: none; }
  .nav-wrap { min-height: 72px; }
  .site-nav { top: 72px; }
  .brand-mark { width: 40px; height: 40px; }
  .brand-copy strong { font-size: .85rem; }
  .hero { padding: 56px 0 82px; }
  .hero h1, .page-hero h1 { font-size: 3.1rem; }
  .skyline-card { height: 360px; }
  .office-card { width: calc(100% - 28px); left: 14px; }
  .quick-grid, .resource-grid, .announcement-grid, .resource-grid-wide, .principles-grid, .admin-stats, .admin-two-col { grid-template-columns: 1fr; }
  .quick-grid > a { border-left: 1px solid #ddd9cd; min-height: 95px; }
  .section { padding: 66px 0; }
  .split-heading { align-items: flex-start; flex-direction: column; }
  .resource-search { grid-template-columns: 1fr; }
  .event-row { grid-template-columns: 74px 1fr; }
  .event-row > .button { grid-column: 2; justify-self: start; }
  .cta-card { padding: 34px 24px; flex-direction: column; align-items: flex-start; }
  .page-hero { padding: 58px 0; }
  .event-detail-card { grid-template-columns: 1fr; }
  .event-detail-card > .button { grid-column: auto; }
  .neighborhood-card-grid { grid-template-columns: repeat(2, 1fr); }
  .form-card { padding: 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-grid > div:first-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
  .admin-actions { justify-content: flex-start; }
}

/* Video library and admin video tools */
.field-help { color: var(--muted); font-size: .74rem; font-weight: 500; line-height: 1.5; }
.button-small { min-height: 40px; padding: 9px 15px; font-size: .78rem; }
.admin-panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.admin-panel-heading h2 { margin: 5px 0 0; }
.admin-video-list { display: grid; gap: 12px; }
.admin-video-row { display: grid; grid-template-columns: 150px 1fr auto; gap: 18px; align-items: center; border: 1px solid #e4e9e6; border-radius: 16px; padding: 12px; }
.admin-video-thumb { height: 92px; border-radius: 12px; overflow: hidden; background: #e8eeeb; display: grid; place-items: center; color: var(--green-700); font-size: 2rem; }
.admin-video-thumb img { width: 100%; height: 100%; object-fit: cover; }
.admin-video-copy { min-width: 0; }
.admin-video-copy > strong { display: block; font-size: 1rem; margin-bottom: 4px; }
.admin-video-copy p { margin: 0; color: var(--muted); font-size: .8rem; line-height: 1.5; }
.admin-video-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 7px; }
.admin-video-badges span { border-radius: 999px; padding: 4px 8px; background: #edf2ef; color: var(--green-800); font-size: .62rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.admin-video-badges .badge-featured { background: #fff1c6; color: #765a00; }
.admin-video-badges .badge-published { background: #ddf4e6; color: #17613a; }
.admin-video-badges .badge-draft { background: #f1e5e5; color: #843838; }
.admin-row-actions { display: flex; align-items: center; gap: 7px; }
.admin-row-actions form { margin: 0; }
.icon-action { width: 39px; height: 39px; border: 1px solid #d7dfda; border-radius: 10px; display: grid; place-items: center; background: white; color: var(--green-800); text-decoration: none; cursor: pointer; }
.icon-action:hover { background: #edf4ef; }
.danger-action { color: #a53939; }

.video-page-hero { background: linear-gradient(135deg, #0d2e24 0%, #195941 100%); }
.video-library-section { background: #f5f6f3; }
.video-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.video-card { background: white; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; box-shadow: 0 16px 45px rgba(18,58,46,.07); }
.video-card-featured { border-color: #b5ca86; }
.video-embed-wrap { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #09110e; overflow: hidden; }
.video-embed-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }
.video-fallback { position: relative; width: 100%; height: 100%; display: grid; place-items: center; background: #101b17; color: white; text-decoration: none; }
.video-fallback img { width: 100%; height: 100%; object-fit: cover; }
.video-fallback > span { position: absolute; width: 64px; height: 64px; border-radius: 50%; background: rgba(255,255,255,.94); color: var(--green-900); display: grid; place-items: center; font-size: 2rem; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.video-fallback-empty { gap: 8px; align-content: center; font-weight: 800; }
.video-fallback-empty > i { font-size: 3rem; }
.video-fallback-empty > span { position: static; width: auto; height: auto; background: transparent; color: white; box-shadow: none; font-size: .9rem; }
.video-card-body { padding: 24px; }
.video-card-body h2 { font: 700 1.75rem/1.08 "Newsreader", serif; margin: 10px 0; }
.video-card-body p { color: var(--muted); white-space: pre-line; }
.video-meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; color: var(--green-700); font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.featured-label { color: #775d00; }
.home-video-section { background: #eef3ef; }
.home-video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.home-video-card { background: white; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); }
.home-video-copy { padding: 20px; }
.home-video-copy > span { color: var(--green-700); font-size: .67rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.home-video-copy h3 { margin: 7px 0 8px; font-size: 1.15rem; }
.home-video-copy p { margin: 0; color: var(--muted); font-size: .86rem; }
.video-grid .empty-state > i { display: block; font-size: 2.8rem; color: var(--green-700); margin-bottom: 12px; }
.video-grid .empty-state h2 { margin: 0 0 8px; }
.video-grid .empty-state p { margin: 0; }

@media (max-width: 980px) {
  .home-video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .video-grid, .home-video-grid { grid-template-columns: 1fr; }
  .admin-video-row { grid-template-columns: 105px 1fr; }
  .admin-video-thumb { height: 78px; }
  .admin-row-actions { grid-column: 1 / -1; justify-content: flex-end; border-top: 1px solid #edf0ee; padding-top: 10px; }
  .admin-panel-heading { align-items: flex-start; flex-direction: column; }
}

/* ------------------------------------------------------------
   Refined public-site motion and scroll interactions
   ------------------------------------------------------------ */
.site-header {
  transition: box-shadow .28s ease, background-color .28s ease, border-color .28s ease;
}

.site-header.scrolled {
  background: rgba(255, 254, 250, .985);
  border-bottom-color: rgba(20, 58, 46, .14);
  box-shadow: 0 10px 32px rgba(15, 46, 37, .09);
}

.brand-mark {
  transition: transform .35s cubic-bezier(.2, .75, .2, 1), box-shadow .35s ease;
}

.brand:hover .brand-mark {
  transform: rotate(2deg) scale(1.05);
  box-shadow: 0 9px 22px rgba(18, 58, 46, .2);
}

.site-nav a:not(.nav-cta) {
  position: relative;
}

.site-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 2px;
  border-radius: 999px;
  background: var(--green-500);
  transition: right .25s ease;
}

.site-nav a:not(.nav-cta):hover::after,
.site-nav a:not(.nav-cta).active::after {
  right: 0;
}

.hero-grid-overlay {
  background-position: 0 var(--hero-shift, 0px);
  transition: background-position .08s linear;
}

.skyline-card {
  transform: translate3d(0, var(--skyline-shift, 0px), 0);
  transition: transform .08s linear, box-shadow .4s ease;
}

.hero-panel:hover .skyline-card {
  box-shadow: 0 42px 84px rgba(0, 0, 0, .32);
}

.hero-motion .eyebrow,
.hero-motion h1,
.hero-motion .hero-copy > p,
.hero-motion .hero-actions,
.hero-motion .neighborhoods,
.hero-motion .hero-panel,
.hero-motion > .container > .eyebrow,
.hero-motion > .container > h1,
.hero-motion > .container > p,
.hero-motion .narrow > .eyebrow,
.hero-motion .narrow > h1,
.hero-motion .narrow > p {
  opacity: 0;
  transform: translateY(22px);
}

.hero-motion .hero-panel {
  transform: translateY(28px) scale(.985);
}

.hero-motion-ready .eyebrow,
.hero-motion-ready h1,
.hero-motion-ready .hero-copy > p,
.hero-motion-ready .hero-actions,
.hero-motion-ready .neighborhoods,
.hero-motion-ready .hero-panel,
.hero-motion-ready > .container > .eyebrow,
.hero-motion-ready > .container > h1,
.hero-motion-ready > .container > p,
.hero-motion-ready .narrow > .eyebrow,
.hero-motion-ready .narrow > h1,
.hero-motion-ready .narrow > p {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .72s ease, transform .72s cubic-bezier(.2, .72, .2, 1);
}

.hero-motion-ready h1,
.hero-motion-ready > .container > h1,
.hero-motion-ready .narrow > h1 { transition-delay: 90ms; }
.hero-motion-ready .hero-copy > p,
.hero-motion-ready > .container > p,
.hero-motion-ready .narrow > p { transition-delay: 170ms; }
.hero-motion-ready .hero-actions { transition-delay: 250ms; }
.hero-motion-ready .neighborhoods { transition-delay: 320ms; }
.hero-motion-ready .hero-panel { transition-delay: 150ms; }

.motion-ready .scroll-reveal {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition:
    opacity .65s ease var(--reveal-delay, 0ms),
    transform .65s cubic-bezier(.2, .72, .2, 1) var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.motion-ready .scroll-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.quick-grid > a,
.announcement-card,
.resource-card,
.home-video-card,
.video-card,
.event-row,
.event-detail-card,
.principles-grid > *,
.neighborhood-card-grid > * {
  transition:
    transform .3s cubic-bezier(.2, .72, .2, 1),
    box-shadow .3s ease,
    border-color .3s ease,
    background-color .3s ease;
}

.quick-grid > a:hover {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, .64);
  transform: translateY(-5px);
  box-shadow: 0 14px 32px rgba(18, 58, 46, .1);
}

.quick-grid > a > i:first-child,
.resource-icon,
.impact-points i {
  transition: transform .32s cubic-bezier(.2, .72, .2, 1), background-color .3s ease;
}

.quick-grid > a:hover > i:first-child,
.resource-card:hover .resource-icon,
.impact-points > div:hover i {
  transform: translateY(-3px) rotate(-3deg) scale(1.06);
}

.announcement-card:hover,
.resource-card:hover,
.home-video-card:hover,
.video-card:hover,
.event-row:hover,
.event-detail-card:hover,
.principles-grid > *:hover,
.neighborhood-card-grid > *:hover {
  transform: translateY(-7px);
  border-color: rgba(31, 107, 80, .28);
  box-shadow: 0 22px 50px rgba(18, 58, 46, .11);
}

.home-video-card .video-embed-wrap,
.video-card .video-embed-wrap {
  isolation: isolate;
}

.home-video-card .video-embed-wrap::after,
.video-card .video-embed-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, transparent 25%, rgba(255,255,255,.13) 47%, transparent 68%);
  transform: translateX(-130%);
  transition: transform .75s ease;
  z-index: 2;
}

.home-video-card:hover .video-embed-wrap::after,
.video-card:hover .video-embed-wrap::after {
  transform: translateX(130%);
}

.video-fallback img {
  transition: transform .6s cubic-bezier(.2, .72, .2, 1), filter .4s ease;
}

.video-fallback:hover img {
  transform: scale(1.045);
  filter: brightness(.9);
}

.video-fallback > span {
  transition: transform .3s cubic-bezier(.2, .72, .2, 1), box-shadow .3s ease;
}

.video-fallback:hover > span {
  transform: scale(1.09);
  box-shadow: 0 14px 36px rgba(0,0,0,.32);
}

.text-link i,
.resource-card > a i,
.announcement-card > a i,
.button i {
  transition: transform .24s ease;
}

.text-link:hover i,
.resource-card > a:hover i,
.announcement-card > a:hover i,
.button:hover i {
  transform: translateX(4px);
}

.cta-card {
  overflow: hidden;
  position: relative;
}

.cta-card::before {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -120px;
  top: -150px;
  border-radius: 50%;
  background: rgba(200, 223, 112, .11);
  transition: transform .7s ease;
}

.cta-card:hover::before {
  transform: scale(1.25);
}

@media (max-width: 980px) {
  .site-nav a:not(.nav-cta)::after { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    transition-delay: 0ms !important;
  }

  .hero-motion .eyebrow,
  .hero-motion h1,
  .hero-motion .hero-copy > p,
  .hero-motion .hero-actions,
  .hero-motion .neighborhoods,
  .hero-motion .hero-panel,
  .hero-motion > .container > .eyebrow,
  .hero-motion > .container > h1,
  .hero-motion > .container > p,
  .hero-motion .narrow > .eyebrow,
  .hero-motion .narrow > h1,
  .hero-motion .narrow > p,
  .motion-ready .scroll-reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}
