:root {
  --ink: #102341;
  --ink-soft: #30425e;
  --coral: #c94745;
  --coral-dark: #9f3538;
  --yellow: #f2bd4e;
  --cream: #f7f3eb;
  --paper: #fffdf9;
  --blue-pale: #e4edf2;
  --line: rgba(16, 35, 65, .18);
  --max: 1180px;
  --shadow: 0 20px 45px rgba(16, 35, 65, .12);
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--cream); color: var(--ink); line-height: 1.55; overflow-x: hidden; }
body.nav-open { overflow: hidden; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 4px; }
.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; }

.skip-link { position: fixed; z-index: 20; left: 1rem; top: -5rem; padding: .7rem 1rem; background: var(--yellow); color: var(--ink); font-weight: 800; }
.skip-link:focus { top: 1rem; }
.site-header { position: relative; z-index: 10; background: var(--paper); border-bottom: 4px solid var(--coral); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; max-width: var(--max); min-height: 112px; margin: auto; padding: .7rem 1.5rem; }
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; width: min(230px, 30vw); }
.brand img { width: 100%; height: auto; }
.site-nav { display: flex; align-items: center; gap: clamp(1.15rem, 2.2vw, 2.2rem); font-size: .94rem; font-weight: 750; }
.site-nav a { position: relative; text-decoration: none; }
.site-nav a:not(.button)::after { position: absolute; right: 0; bottom: -.45rem; left: 0; height: 2px; content: ""; background: var(--coral); transform: scaleX(0); transform-origin: right; transition: transform .2s ease; }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.menu-toggle { display: none; border: 1px solid var(--ink); background: transparent; color: var(--ink); padding: .65rem .75rem; font: inherit; font-weight: 800; cursor: pointer; }
.menu-toggle span { display: block; width: 1.4rem; height: 2px; margin: 4px 0; background: currentColor; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: .78rem 1.15rem; border: 2px solid transparent; background: var(--coral); color: var(--ink); font-size: .93rem; font-weight: 800; line-height: 1.1; text-decoration: none; transition: background .2s ease, color .2s ease, transform .2s ease; }
.button:hover { background: var(--coral-dark); transform: translateY(-2px); }
.button--outline { border-color: currentColor; background: transparent; color: inherit; }
.button--outline:hover { background: var(--ink); color: var(--cream); }
.button--light { background: var(--cream); color: var(--ink); }
.button--light:hover { background: #fff; color: var(--coral-dark); }

.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: var(--cream); }
.hero::before { position: absolute; z-index: -1; top: 0; right: -8%; width: 44vw; height: 100%; content: ""; background: var(--coral); clip-path: polygon(43% 0, 100% 0, 100% 100%, 0 100%); opacity: .95; }
.hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr); align-items: center; gap: 3rem; max-width: var(--max); min-height: 600px; margin: auto; padding: 6rem 1.5rem 5.5rem; }
.eyebrow { margin: 0 0 1.2rem; color: var(--coral); font-size: .78rem; font-weight: 900; letter-spacing: .16em; line-height: 1.2; text-transform: uppercase; }
.hero .eyebrow { color: var(--yellow); }
h1, h2, h3 { margin: 0; font-weight: 900; letter-spacing: -.055em; line-height: .98; }
h1 { max-width: 780px; font-size: clamp(3.6rem, 8.3vw, 8rem); }
h2 { font-size: clamp(2.25rem, 4.7vw, 4.8rem); }
h3 { font-size: clamp(1.45rem, 2.3vw, 2rem); }
.hero h1 em { color: var(--coral); font-style: normal; }
.hero-copy { max-width: 420px; justify-self: end; padding: 1.5rem 0 1rem 2rem; }
.hero-copy .lead { margin: 0 0 1rem; font-size: clamp(1.35rem, 2.2vw, 1.8rem); font-weight: 800; line-height: 1.15; }
.hero-copy p:not(.lead) { margin: 0 0 1.8rem; color: rgba(247, 243, 235, .92); font-size: 1.06rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-art { position: absolute; right: 8%; bottom: 5%; z-index: -1; width: min(380px, 38vw); opacity: .9; pointer-events: none; }

.section { padding: 7rem 1.5rem; }
.section-inner { max-width: var(--max); margin: auto; }
.section--paper { background: var(--paper); }
.section--navy { background: var(--ink); color: var(--cream); }
.section--coral { background: var(--coral); color: #fff; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 3rem; }
.section-heading > p { max-width: 370px; margin: 0; color: var(--ink-soft); }
.section--navy .section-heading > p, .section--coral .section-heading > p { color: inherit; opacity: .85; }
.section-kicker { margin: 0 0 .9rem; color: var(--coral); font-size: .8rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.section--navy .section-kicker { color: var(--yellow); }
.priority-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.priority { min-height: 280px; padding: 2rem 1.5rem 1.5rem 0; border-right: 1px solid var(--line); }
.priority + .priority { padding-left: 1.5rem; }
.priority:last-child { border-right: 0; }
.priority-number { display: block; margin-bottom: 4rem; color: var(--coral); font-size: 1rem; font-weight: 900; }
.priority h3 { max-width: 290px; }
.priority p { max-width: 310px; margin: 1rem 0 0; color: var(--ink-soft); }

.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: start; gap: 5rem; }
.split > .intro { max-width: 430px; }
.intro p { margin: 1.5rem 0 0; color: var(--ink-soft); font-size: 1.08rem; }
.action-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid currentColor; }
.action-list li { display: grid; grid-template-columns: 2rem 1fr; gap: 1rem; padding: 1.25rem 0; border-bottom: 1px solid currentColor; }
.action-list .action-no { color: var(--coral); font-weight: 900; }
.action-list strong { display: block; margin-bottom: .25rem; font-size: 1.15rem; }
.action-list span { display: block; opacity: .77; }
.section--navy .action-list .action-no { color: var(--yellow); }
.action-link { display: inline-flex; align-items: center; gap: .55rem; margin-top: 2rem; font-weight: 850; text-decoration-thickness: 2px; text-underline-offset: .2rem; }
.action-link::after { content: "→"; font-size: 1.3rem; text-decoration: none; }

.statement { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, .65fr); gap: 4rem; align-items: end; }
.statement h2 { max-width: 700px; }
.statement p { margin: 0; font-size: 1.08rem; }
.statement .button { justify-self: start; margin-top: 1.5rem; }
.mini-note { max-width: 370px; padding-top: 1.3rem; border-top: 2px solid currentColor; }

.page-hero { background: var(--ink); color: var(--cream); }
.page-hero-inner { max-width: var(--max); margin: auto; padding: 5.5rem 1.5rem 5rem; }
.page-hero h1 { max-width: 800px; font-size: clamp(3.2rem, 7.5vw, 7rem); }
.page-hero .page-intro { max-width: 620px; margin: 1.8rem 0 0; color: rgba(247,243,235,.86); font-size: 1.2rem; }
.content-section { padding: 5rem 1.5rem; }
.content-inner { max-width: 940px; margin: auto; }
.claim { display: grid; grid-template-columns: 5rem minmax(0, 1fr); gap: 2rem; padding: 2.5rem 0; border-top: 1px solid var(--line); }
.claim:last-child { border-bottom: 1px solid var(--line); }
.claim-number { color: var(--coral); font-size: 1.15rem; font-weight: 900; }
.claim h2 { font-size: clamp(2rem, 4vw, 3.6rem); }
.claim-copy { max-width: 640px; margin: 1.2rem 0 0; color: var(--ink-soft); font-size: 1.08rem; }
.claim-details { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem 2rem; max-width: 700px; margin: 1.7rem 0 0; padding: 0; list-style: none; }
.claim-details li { position: relative; padding-left: 1.25rem; }
.claim-details li::before { position: absolute; top: .65rem; left: 0; width: .5rem; height: .5rem; content: ""; background: var(--coral); border-radius: 50%; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.value { padding: 1.8rem 1.5rem; background: var(--blue-pale); border-top: 5px solid var(--coral); }
.value h3 { font-size: 1.8rem; }
.value p { margin: 1rem 0 0; color: var(--ink-soft); }
.participation-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.participation-card { display: flex; flex-direction: column; align-items: flex-start; min-height: 260px; padding: 1.8rem 1.5rem; border: 1px solid var(--line); background: var(--paper); }
.participation-card h2 { font-size: 2.4rem; }
.participation-card p { flex: 1; margin: 1rem 0 1.5rem; color: var(--ink-soft); }
.info-panel { padding: 1.5rem; border-left: 5px solid var(--yellow); background: var(--blue-pale); }
.info-panel h2 { font-size: 2rem; }
.info-panel p { margin: .8rem 0 0; color: var(--ink-soft); }
.info-panel a { font-weight: 800; }
.placeholder { color: var(--ink-soft); font-style: italic; }
.legal-copy { max-width: 760px; }
.legal-copy h2 { margin: 3rem 0 1rem; font-size: 2.2rem; }
.legal-copy h2:first-child { margin-top: 0; }
.legal-copy p, .legal-copy li { color: var(--ink-soft); }
.legal-copy ul { padding-left: 1.25rem; }

.event-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.event-card { display: flex; flex-direction: column; min-height: 290px; padding: 1.8rem; border-top: 5px solid var(--coral); background: var(--paper); }
.event-card-media { margin: -1.8rem -1.8rem 1.5rem; background: var(--ink); }
.event-card-media img { display: block; width: 100%; height: 190px; object-fit: cover; }
.event-card h2 { margin: .35rem 0 0; font-size: clamp(1.8rem, 3vw, 2.8rem); }
.event-meta { display: flex; flex-wrap: wrap; gap: .55rem 1.2rem; margin: 1rem 0 0; color: var(--ink-soft); font-size: .92rem; font-weight: 750; }
.event-meta span::before { margin-right: .35rem; color: var(--coral); }
.event-meta .event-date::before { content: "●"; }
.event-meta .event-location::before { content: "⌖"; }
.event-card p:not(.section-kicker) { flex: 1; margin: 1.2rem 0 0; color: var(--ink-soft); }
.empty-state { padding: 2rem; border-left: 5px solid var(--yellow); background: var(--blue-pale); }
.empty-state h2 { font-size: 2rem; }
.empty-state p { margin-bottom: 0; color: var(--ink-soft); }
.event-detail { max-width: 820px; }
.event-detail .event-meta { margin: 1.4rem 0 2rem; }
.event-detail-banner { display: block; width: 100%; height: auto; max-height: 560px; margin: 0 0 2.5rem; object-fit: cover; }
.event-description { color: var(--ink-soft); font-size: 1.1rem; white-space: pre-line; }
.featured-event-section { padding: 5.5rem 1.5rem; background: var(--coral); color: #fff; }
.featured-event { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .82fr); gap: 3rem; align-items: center; }
.featured-event h2 { max-width: 720px; margin: .35rem 0 0; font-size: clamp(2.6rem, 5vw, 5.5rem); line-height: .95; letter-spacing: -.065em; }
.featured-event .event-meta { color: #fff; }
.featured-event > div:first-child > p:not(.section-kicker) { max-width: 620px; margin: 1.5rem 0 2rem; font-size: 1.08rem; }
.featured-event-media { background: var(--ink); border: 1px solid rgba(255,255,255,.35); }
.featured-event-media img { display: block; width: 100%; height: auto; max-height: 440px; object-fit: cover; }
.admin-page { min-height: 100vh; background: var(--cream); }
.admin-shell { max-width: 1120px; margin: auto; padding: 2rem 1.5rem 5rem; }
.admin-topbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.admin-topbar h1 { font-size: clamp(2rem, 4vw, 3.5rem); }
.admin-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr); gap: 2rem; margin-top: 2rem; }
.admin-panel { padding: 1.5rem; background: var(--paper); border: 1px solid var(--line); }
.admin-panel h2 { margin-bottom: 1.2rem; font-size: 2rem; }
.admin-panel h1 { font-size: clamp(2.25rem, 5vw, 3.4rem); letter-spacing: -.055em; }
.admin-form { display: grid; gap: 1rem; }
.admin-form label { display: grid; gap: .35rem; font-weight: 800; }
.admin-form input, .admin-form textarea, .admin-form select { width: 100%; padding: .78rem .8rem; border: 1px solid var(--ink-soft); border-radius: 0; background: #fff; color: var(--ink); font: inherit; }
.admin-form textarea { min-height: 130px; resize: vertical; }
.admin-form input:focus, .admin-form textarea:focus, .admin-form select:focus { outline: 3px solid var(--yellow); outline-offset: 2px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.admin-actions { display: flex; flex-wrap: wrap; gap: .7rem; align-items: center; }
.admin-actions form { margin: 0; }
.admin-list { display: grid; gap: .8rem; }
.admin-event { display: grid; grid-template-columns: 1fr auto; gap: 1rem; padding: 1rem 0; border-top: 1px solid var(--line); }
.admin-event h3 { font-size: 1.25rem; }
.admin-event p { margin: .35rem 0 0; color: var(--ink-soft); font-size: .9rem; }
.status { display: inline-flex; align-items: center; padding: .25rem .5rem; font-size: .72rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.status--published { background: #d8eadf; color: #1f5d3b; }
.status--draft { background: #f6e9c7; color: #74551b; }
.status--featured { margin-left: .35rem; background: var(--yellow); color: var(--ink); vertical-align: middle; }
.admin-message { margin: 1rem 0; padding: .8rem 1rem; border-left: 4px solid var(--coral); background: #f8e1de; }
.admin-login { max-width: 460px; margin: 6rem auto; }
.admin-login .admin-topbar { display: block; }
.admin-login .admin-topbar p { color: var(--ink-soft); }
.admin-note { color: var(--ink-soft); font-size: .9rem; }
.admin-current-banner { display: grid; gap: .7rem; }
.admin-banner-preview { display: block; width: 100%; max-width: 460px; max-height: 220px; object-fit: cover; border: 1px solid var(--line); background: var(--ink); }
.proposal-form { display: grid; gap: 1.1rem; max-width: 820px; }
.proposal-form label { display: grid; gap: .35rem; font-weight: 800; }
.proposal-form input, .proposal-form textarea { width: 100%; padding: .8rem .85rem; border: 1px solid var(--ink-soft); border-radius: 0; background: #fff; color: var(--ink); font: inherit; }
.proposal-form textarea { min-height: 170px; resize: vertical; }
.proposal-form input:focus, .proposal-form textarea:focus { outline: 3px solid var(--yellow); outline-offset: 2px; }
.form-optional { color: var(--ink-soft); font-size: .85rem; font-weight: 500; }
.checkbox-label { display: flex !important; grid-template-columns: auto 1fr; align-items: flex-start; gap: .65rem !important; font-size: .9rem; font-weight: 500 !important; }
.checkbox-label input { width: 1.1rem; height: 1.1rem; margin-top: .2rem; accent-color: var(--coral); }
.form-success, .form-error { max-width: 820px; margin: 0 0 1.5rem; padding: 1rem 1.1rem; border-left: 5px solid; }
.form-success { border-color: #2e8a5b; background: #dcefe3; color: #205b3d; }
.form-error { border-color: var(--coral); background: #f8e1de; color: var(--ink); }
.honeypot { position: absolute !important; left: -10000px; width: 1px !important; height: 1px; overflow: hidden; }

.site-footer { background: var(--ink); color: var(--cream); }
.footer-inner { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 3rem; max-width: var(--max); margin: auto; padding: 3.5rem 1.5rem 2rem; }
.footer-brand { max-width: 300px; }
.footer-brand img { width: 230px; height: auto; padding: .35rem .5rem; background: var(--cream); opacity: .98; }
.footer-brand p { margin: 1.2rem 0 0; color: rgba(247,243,235,.7); font-size: .95rem; }
.footer-col h2 { margin: 0 0 1rem; color: var(--yellow); font-size: .8rem; letter-spacing: .13em; text-transform: uppercase; }
.footer-col ul { margin: 0; padding: 0; list-style: none; }
.footer-col li + li { margin-top: .55rem; }
.footer-col a { color: var(--cream); text-decoration: none; }
.footer-col a:hover { color: var(--yellow); text-decoration: underline; text-underline-offset: .2rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; max-width: var(--max); margin: auto; padding: 1.2rem 1.5rem 1.5rem; border-top: 1px solid rgba(247,243,235,.2); color: rgba(247,243,235,.6); font-size: .8rem; }
.footer-bottom p { margin: 0; }

@media (max-width: 820px) {
  .header-inner { min-height: 98px; padding: .6rem 1rem; }
  .brand { width: min(180px, 52vw); }
  .menu-toggle { display: block; }
  .site-nav { position: absolute; top: 100%; right: 0; left: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: .8rem 1rem 1.2rem; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: .9rem .5rem; }
  .site-nav a:not(.button)::after { bottom: .35rem; left: .5rem; right: auto; width: 2rem; }
  .site-nav .button { margin-top: .4rem; }
  .hero::before { right: -30%; width: 80vw; opacity: .88; }
  .hero-inner { grid-template-columns: 1fr; gap: 2rem; min-height: auto; padding: 5rem 1rem 4rem; }
  .hero-copy { justify-self: start; padding: 0; }
  .hero-art { right: -10%; bottom: 4%; width: 70vw; opacity: .28; }
  .section, .content-section { padding: 5rem 1rem; }
  .section-heading, .split, .statement { display: block; }
  .section-heading > p { margin-top: 1.3rem; }
  .split > .intro { margin-bottom: 3rem; }
  .statement .mini-note { margin-top: 2rem; }
  .priority-grid { grid-template-columns: 1fr; }
  .priority, .priority + .priority { min-height: auto; padding: 1.5rem 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .priority-number { margin-bottom: 2rem; }
  .priority:last-child { border-bottom: 0; }
  .page-hero-inner { padding: 4.5rem 1rem 4rem; }
  .claim { grid-template-columns: 3rem minmax(0, 1fr); gap: 1rem; }
  .claim-details, .values-grid, .participation-grid { grid-template-columns: 1fr; }
  .event-grid, .admin-layout { grid-template-columns: 1fr; }
  .admin-shell { padding-right: 1rem; padding-left: 1rem; }
  .admin-topbar { align-items: flex-start; flex-direction: column; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; padding: 3rem 1rem 2rem; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { align-items: flex-start; flex-direction: column; padding-right: 1rem; padding-left: 1rem; }
}

@media (max-width: 460px) {
  h1 { font-size: clamp(3.1rem, 16vw, 4.8rem); }
  .hero::before { opacity: .22; clip-path: polygon(80% 0, 100% 0, 100% 100%, 64% 100%); }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .form-row { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
