:root {
  color-scheme: light;
  --ink: #183d32;
  --body: #344d42;
  --paper: #fffdf8;
  --orange: #a73620;
  font-family: "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; }
p { line-height: 1.6; margin: 0 0 1rem; color: var(--body); }
a { color: inherit; }
button, input, select { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #1856b5; outline-offset: 4px; }
.skip { position: fixed; top: .5rem; left: .5rem; z-index: 5; background: white; padding: .75rem; transform: translateY(-150%); }
.skip:focus { transform: none; }
.wrap { width: min(100% - 2rem, 72rem); margin-inline: auto; }
.top { background: var(--paper); }
nav, .footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .25rem 1rem; padding-block: .85rem; }
.brand { font-weight: 800; font-size: 1.15rem; text-decoration: none; display: inline-flex; gap: .45rem; align-items: center; min-height: 44px; }
.brand span { color: var(--orange); font-size: 1.5rem; line-height: 1; }
.nav-links { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.nav-links a { min-height: 44px; padding: .55rem .75rem; text-decoration: none; font-weight: 700; }
.nav-links a:hover, .brand:hover { text-decoration: underline; }
.nav-cta { border: 1px solid #7e9888; border-radius: 999px; }
.hero { background: #f5eee0; padding-block: clamp(2.5rem, 7vw, 5.2rem); overflow: hidden; }
.hero-layout, .interest-layout { display: grid; gap: 2rem; align-items: center; }
.hero-copy > p:not(.kicker) { font-size: clamp(1.05rem, 2vw, 1.25rem); max-width: 28rem; margin-bottom: 1.55rem; }
.kicker { color: var(--orange); font-weight: 800; text-transform: uppercase; letter-spacing: .1em; font-size: .875rem; margin-bottom: .55rem; }
h1, h2, h3 { margin: 0 0 .7rem; line-height: 1.04; }
h1, h2 { font-family: Georgia, serif; letter-spacing: -.045em; }
h1 { font-size: clamp(3rem, 8vw, 6.3rem); }
h1 em { color: var(--orange); font-weight: inherit; }
h2 { font-size: clamp(2rem, 5vw, 3.6rem); }
h3 { font-size: 1.35rem; line-height: 1.15; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .6rem 1.25rem; font-weight: 750; border: 1px solid var(--ink); background: var(--ink); color: white; border-radius: 999px; text-decoration: none; }
.button:hover { background: #285848; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; font-weight: 700; }
.hero-actions > a { display: inline-flex; align-items: center; min-height: 48px; }
.nav-links [aria-current="page"] { text-decoration: underline; text-underline-offset: .25em; }
.mission-copy h1 { max-width: 13ch; }
.mission-copy p:not(.kicker) { max-width: 65ch; font-size: 1.125rem; }
.calendar { padding-block: clamp(2.5rem, 6vw, 4rem); background: #f5eee0; }
.calendar-days { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 8.75rem), 1fr)); gap: .6rem; }
.calendar-day { background: var(--paper); border: 1px solid #d9ded6; border-radius: .75rem; padding: .75rem; min-width: 0; }
.calendar-day h3 { font-size: 1rem; }
.calendar-day p { margin: 0; font-size: .875rem; }
.calendar-session { display: block; width: 100%; min-height: 44px; margin-top: .4rem; padding: .4rem; background: var(--tile, white); border: 1px solid #778e82; border-radius: .55rem; color: var(--ink); font-weight: 700; font-size: .9rem; overflow-wrap: anywhere; }
.calendar-session:hover { text-decoration: underline; }
.hero-art { margin-inline: .75rem; position: relative; }
.hero-photo { aspect-ratio: 1.48; border-radius: 32% 36% 22% 27% / 37% 34% 26% 23%; background: radial-gradient(circle at 24% 32%, #f7d475 0 12%, transparent 12.5%), radial-gradient(circle at 66% 61%, #c26950 0 22%, transparent 22.5%), #a8ccba; }
.hero-photo { background: #a8ccba url("hero.png") center 52% / cover; }
.spark, .petal { position: absolute; line-height: 1; }
.spark { top: -7%; right: 0; color: #ab3822; font-size: clamp(2.5rem, 7vw, 5.15rem); }
.petal { bottom: -8%; left: -3%; color: #f7c95b; text-shadow: 0 1px #986927; font-size: clamp(3rem, 7vw, 6rem); }
.directory { padding-block: clamp(3rem, 7vw, 5rem); }
.notice { padding: .8rem 1rem; border-radius: .65rem; background: #f8eed7; border-inline-start: 4px solid #9a6a26; margin-block: 1.3rem; }
.filters { display: grid; gap: .9rem; }
label { display: grid; gap: .35rem; font-weight: 700; }
label span { display: inline; font-weight: 400; }
input, select { width: 100%; min-width: 0; min-height: 48px; padding: .55rem .75rem; border: 1px solid #778e82; border-radius: .6rem; color: var(--ink); background: #fff; }
select { appearance: none; padding-right: 2.5rem; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 19px) 52%, calc(100% - 14px) 52%; background-size: 5px 5px; background-repeat: no-repeat; }
.results { margin: 1rem 0 .7rem; font-size: .925rem; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 1rem; }
.card { display: flex; flex-direction: column; align-items: flex-start; padding: 1.15rem; border: 1px solid #d9ded6; border-radius: 1.1rem; background: var(--tile, white); }
.blue { --tile: #e9f3fc; }
.pink { --tile: #fae9e7; }
.yellow { --tile: #fbf0cf; }
.green { --tile: #e8f2e4; }
.icon { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: .9rem; background: var(--paper); font-size: 1.65rem; margin-bottom: .85rem; }
.card-meta { font-size: .875rem; font-weight: 700; margin-bottom: .4rem; }
.summary { margin-bottom: 1rem; }
.details-button, .close { min-height: 44px; background: white; border: 1px solid #7e9888; color: var(--ink); border-radius: 999px; font-weight: 700; }
.details-button { padding: .5rem .85rem; margin-top: auto; }
.details-button:hover, .close:hover { background: #f5f6f2; }
.interest { background: #e7f0e7; padding-block: clamp(2.5rem, 6vw, 4rem); }
.interest form { display: grid; justify-items: start; gap: .9rem; background: var(--paper); padding: clamp(1rem, 3vw, 1.75rem); border-radius: 1rem; }
.interest label { display: block; width: 100%; }
.interest input, .interest select { display: block; margin-top: .4rem; }
.form-status { margin: 0; }
.form-status:empty { position: absolute; }
.volunteer { background: #f8eae3; }
.volunteer form[hidden] { display: none; }
.dashboard-title { font-size: clamp(2.6rem, 7vw, 5rem); }
.signin-form { max-width: 34rem; }
.signin-form h2 { font-size: 1.8rem; }
.stats-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.volunteer-totals { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); }
.volunteer-totals > div, .activity-history > li { background: var(--paper); border: 1px solid #d9ded6; border-radius: .75rem; padding: 1rem; }
.volunteer-totals dd { font-size: 1.5rem; font-weight: 750; color: var(--ink); }
.activity-history { list-style: none; display: grid; gap: .5rem; padding: 0; }
.activity-history > li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .35rem 1rem; }
.account-forms { align-items: start; }
.account-forms[hidden] { display: none; }
.account-forms h2 { font-size: 2rem; }
.account-forms .account-check { display: flex; align-items: center; gap: .6rem; min-height: 44px; }
.account-forms .account-check input { width: 1.15rem; height: 1.15rem; min-height: 0; flex: none; margin: 0; }
#offering-list p { margin: .2rem 0 0; }
.volunteer fieldset { margin: 0; min-width: 0; width: 100%; border: 1px solid #778e82; border-radius: .6rem; }
.volunteer legend { font-weight: 700; }
.volunteer fieldset label, .volunteer .eligibility { display: flex; align-items: center; gap: .65rem; min-height: 44px; font-weight: 500; }
.volunteer input[type="checkbox"] { width: 1.15rem; min-height: 0; height: 1.15rem; margin: 0; accent-color: var(--ink); }
.footer > span { font-size: .9rem; }
dialog { width: min(38rem, 100% - 1.5rem); max-height: calc(100% - 1.5rem); padding: clamp(1rem, 4vw, 2rem); border: 1px solid #849a8c; border-radius: 1rem; background: var(--paper); color: var(--ink); }
dialog::backdrop { background: #102c25b8; }
.dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .4rem; }
.close { width: 44px; font-size: 1.45rem; }
dl { margin: 1rem 0 1.2rem; }
dl > div { padding-block: .55rem; border-top: 1px solid #d9ded6; }
dt { font-weight: 800; }
dd { margin: .2rem 0 0; line-height: 1.5; color: var(--body); }
@media (min-width: 42rem) {
  .wrap { width: min(100% - 4rem, 72rem); }
  .hero-layout { grid-template-columns: 1fr 1fr; }
  .filters { grid-template-columns: 2fr 1fr 1fr; }
  .interest-layout { grid-template-columns: 1fr 1fr; gap: 3rem; }
}
