:root {
  --ink: #092342;
  --blue: #0d4c9b;
  --deep: #062a5b;
  --teal: #2db4b0;
  --sea: #e9f8f7;
  --sand: #f7f3ea;
  --sun: #f7c95b;
  --white: #fff;
  --muted: #5e7186;
  --line: #d9e3eb;
  --danger: #a02c3d;
  --success: #126749;
  --shadow: 0 14px 38px rgba(8, 45, 87, .11);
  --radius: 18px;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); color: var(--ink); line-height: 1.55; background: var(--white); }
a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--blue); }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.08; }
h1, h2 { font-family: var(--serif); letter-spacing: -.03em; }
h1 { font-size: clamp(2.7rem, 6vw, 5.5rem); margin-bottom: 1.25rem; }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); margin-bottom: 1rem; }
h3 { font-size: 1.25rem; margin-bottom: .55rem; }
small { color: var(--muted); }
.shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.narrow { width: min(800px, 100%); }
.skip-link { position: absolute; left: -9999px; top: 10px; z-index: 99; background: var(--white); padding: .6rem 1rem; }
.skip-link:focus { left: 10px; }
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.94); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(9,35,66,.08); }
.nav-shell { min-height: 77px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { width: 41px; height: 41px; }
.brand strong, .brand small { display: block; line-height: 1.05; }
.brand strong { font-family: var(--serif); font-size: 1.22rem; letter-spacing: -.03em; }
.brand small { font-size: .63rem; letter-spacing: .18em; text-transform: uppercase; color: var(--teal); margin-top: 3px; }
.main-nav { display: flex; align-items: center; gap: 26px; font-size: .95rem; }
.main-nav > a { text-decoration: none; font-weight: 650; }
.nav-toggle { display: none; border: 1px solid var(--line); background: var(--white); color: var(--ink); border-radius: 8px; padding: .45rem .7rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; background: var(--blue); color: var(--white); text-decoration: none; font-weight: 750; border: 1px solid var(--blue); border-radius: 999px; padding: .8rem 1.18rem; box-shadow: 0 6px 16px rgba(13,76,155,.18); transition: transform .2s ease, background .2s ease; }
.button:hover { color: var(--white); background: var(--deep); transform: translateY(-1px); }
.button-small { padding: .55rem .9rem; font-size: .88rem; }
.button-ghost { color: var(--ink); background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.65); box-shadow: none; }
.button-ghost:hover { background: var(--white); color: var(--blue); }
.button-ghost-dark { color: var(--blue); background: var(--white); border-color: var(--blue); box-shadow: none; }
.button-donate { background: var(--teal); border-color: var(--teal); box-shadow: none; }
.button-donate:hover { background: #188f8c; }
.eyebrow { color: var(--teal); text-transform: uppercase; letter-spacing: .16em; font-size: .74rem; font-weight: 800; margin-bottom: .85rem; }
.hero { position: relative; overflow: hidden; color: var(--white); background: linear-gradient(132deg, #06295b 8%, #0e5297 56%, #169d9a 100%); min-height: 640px; display: flex; align-items: center; }
.hero-waves { position: absolute; inset: 0; opacity: .25; background: radial-gradient(circle at 22% 86%, rgba(255,255,255,.88) 0 1%, transparent 1.1%), radial-gradient(ellipse at 10% 115%, transparent 0 30%, rgba(255,255,255,.34) 30.5% 33%, transparent 33.5%), radial-gradient(ellipse at 60% 100%, transparent 0 27%, rgba(255,255,255,.25) 27.5% 30%, transparent 30.5%); background-size: 95px 45px, 700px 330px, 860px 330px; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.45fr .85fr; align-items: center; gap: 70px; padding: 82px 0; }
.hero h1 { max-width: 760px; font-size: clamp(3rem, 5.9vw, 5.75rem); }
.hero h1 em { color: #a4f2ec; font-style: normal; }
.hero .eyebrow { color: #b8fff6; }
.hero-text { max-width: 675px; font-size: clamp(1.06rem, 2vw, 1.25rem); color: #e8f7ff; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 2rem 0; }
.hero-points { display: flex; flex-wrap: wrap; list-style: none; gap: 1rem; margin: 0; padding: 0; font-weight: 650; font-size: .92rem; }
.hero-points li::before { content: '●'; color: var(--sun); margin-right: .45rem; }
.hero-card { padding: 34px; background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.26); border-radius: var(--radius); backdrop-filter: blur(10px); box-shadow: 0 15px 50px rgba(0,0,0,.12); }
.card-kicker { color: #b8fff6; letter-spacing: .14em; text-transform: uppercase; font-size: .75rem; font-weight: 750; }
.hero-card blockquote { font-family: var(--serif); font-size: 1.75rem; line-height: 1.19; margin: 1rem 0 1.5rem; }
.hero-card-lines { display: grid; gap: 10px; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.3); font-size: .94rem; }
.hero-card-lines span::before { content: '↗'; color: var(--sun); margin-right: .6rem; }
.section { padding: 94px 0; }
.section-tight { padding: 0 0 30px; margin-top: -38px; position: relative; z-index: 3; }
.section-last { padding-bottom: 116px; }
.sea-surface { background: var(--sea); }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.stat-card { min-height: 155px; padding: 24px; border-radius: 13px; background: var(--white); box-shadow: var(--shadow); display: flex; flex-direction: column; justify-content: center; }
.stat-card strong { font-family: var(--serif); color: var(--blue); font-size: clamp(2rem, 3vw, 2.75rem); line-height: 1; }
.stat-card span { font-weight: 800; margin-top: .45rem; }
.stat-card small { margin-top: .2rem; }
.split-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.rich-copy { font-size: 1.09rem; color: #294259; }
.rich-copy p:last-child { margin-bottom: 0; }
.rich-copy h2, .rich-copy h3 { color: var(--ink); font-family: var(--sans); letter-spacing: 0; font-size: 1.25rem; margin-top: 1.5rem; }
.rich-copy a { color: var(--blue); font-weight: 700; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 25px; margin-bottom: 2rem; }
.section-heading h2 { margin: 0; }
.section-heading > a, .text-link { color: var(--blue); font-weight: 800; text-decoration: none; white-space: nowrap; }
.event-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.event-card { padding: 28px; background: var(--white); border-radius: var(--radius); min-height: 245px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.event-card-top { color: var(--blue); font-weight: 800; font-size: .92rem; margin-bottom: 1.7rem; }
.event-card-top span { color: var(--muted); font-size: .78rem; margin-left: .5rem; }
.event-card h3 { font-family: var(--serif); font-size: 1.65rem; }
.event-card p { color: var(--muted); }
.event-card a { color: var(--blue); font-weight: 800; margin-top: auto; text-decoration: none; }
.empty-card { padding: 44px; border: 1px dashed #9fc6d6; background: var(--white); border-radius: var(--radius); }
.practice-card { background: var(--deep); color: var(--white); border-radius: var(--radius); padding: 36px; }
.practice-card h3 { margin-bottom: .25rem; }
.practice-card p { color: #d5e9fa; margin-bottom: 1.5rem; }
.practice-card p:last-child { margin-bottom: 0; }
.practice-number { display: block; color: #9ceae4; font-family: var(--serif); font-size: 2.1rem; margin-top: 1.1rem; }
.resource-list { display: grid; gap: 12px; max-width: 820px; }
.resource-item { display: flex; align-items: center; gap: 16px; padding: 17px 19px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; text-decoration: none; box-shadow: 0 2px 8px rgba(10,36,70,.04); }
.resource-item:hover { border-color: var(--teal); }
.resource-item > span:nth-last-child(1) { margin-left: auto; color: var(--blue); }
.resource-item strong, .resource-item small { display: block; }
.resource-play { width: 36px; height: 36px; flex: 0 0 36px; border-radius: 50%; display: grid; place-items: center; color: var(--blue); background: var(--sea); font-size: .86rem; }
.page-hero, .event-hero { padding: 110px 0 90px; background: linear-gradient(120deg, #eefaf9, #f5f7fb); border-bottom: 1px solid #d6e7ee; }
.page-hero h1, .event-hero h1 { max-width: 880px; }
.page-hero p:not(.eyebrow), .event-hero p:not(.eyebrow) { font-size: 1.18rem; color: #48647d; max-width: 700px; }
.story-quote { background: var(--blue); color: var(--white); padding: 40px; border-radius: var(--radius); }
.story-quote span { font-family: var(--serif); color: #a8efea; display: block; font-size: 5rem; line-height: .7; }
.story-quote p { font-family: var(--serif); font-size: 1.7rem; line-height: 1.2; margin: .3rem 0 0; }
.board-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.person-card { padding: 27px; border-radius: var(--radius); background: var(--sand); min-height: 290px; }
.person-card img, .person-mark { width: 62px; height: 62px; object-fit: cover; border-radius: 50%; margin-bottom: 24px; }
.person-mark { display: grid; place-items: center; color: var(--white); background: var(--blue); font-family: var(--serif); font-size: 1.9rem; }
.person-role { color: var(--teal); text-transform: uppercase; letter-spacing: .1em; font-size: .69rem; font-weight: 800; margin-bottom: .5rem; }
.person-card h3 { font-family: var(--serif); font-size: 1.45rem; }
.person-card p:last-child { color: var(--muted); margin-bottom: 0; font-size: .94rem; }
.callout { display: flex; align-items: center; gap: 35px; justify-content: space-between; padding: 45px; background: var(--deep); border-radius: var(--radius); color: var(--white); }
.callout h2 { max-width: 680px; }
.callout .eyebrow { color: #9ceae4; }
.callout p:not(.eyebrow) { max-width: 680px; color: #d7ebfb; }
.callout .button { background: var(--sun); border-color: var(--sun); color: var(--ink); white-space: nowrap; }
.program-overview { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
.program-overview article { padding: 23px; border-left: 2px solid var(--teal); }
.program-overview span { font-family: var(--serif); color: var(--blue); font-size: 2.6rem; }
.program-overview p { font-weight: 700; margin: 0; }
.learn-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 30px; }
.learn-grid article { padding: 25px; background: var(--white); border-radius: 14px; }
.learn-grid p { color: var(--muted); margin-bottom: 0; }
.muted-copy { max-width: 330px; color: var(--muted); margin: 0; }
.timeline { list-style: none; padding: 0; margin: 35px 0 0; max-width: 900px; }
.timeline li { display: grid; grid-template-columns: 118px 1fr; gap: 28px; padding: 0 0 34px; position: relative; }
.timeline li:not(:last-child)::before { content: ''; position: absolute; height: calc(100% - 30px); width: 1px; background: #b9dada; left: 52px; top: 34px; }
.timeline li > span { width: 104px; padding: .36rem .5rem; height: fit-content; text-align: center; background: var(--sea); color: var(--blue); border-radius: 999px; font-weight: 800; font-size: .85rem; }
.timeline h3 { margin: 0 0 .3rem; }
.timeline p { margin: 0; color: var(--muted); }
.full-event-list { display: grid; gap: 18px; }
.full-event-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; grid-template-columns: 240px 1fr; gap: 28px; align-items: center; }
.full-event-card > img { width: 240px; height: 160px; border-radius: 12px; object-fit: cover; }
.full-event-card h2 { font-size: 2rem; margin-bottom: .4rem; }
.full-event-card .button { margin-top: .8rem; }
.event-location { color: var(--muted); font-size: .94rem; }
.event-hero { position: relative; overflow: hidden; padding: 80px 0; background: linear-gradient(120deg, #e7f7f6, #f7f3ea); }
.event-hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .15; filter: saturate(.8); }
.event-hero .narrow { position: relative; }
.back-link { display: inline-block; margin-bottom: 2rem; color: var(--blue); font-weight: 750; text-decoration: none; }
.event-meta { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem; }
.event-meta span { padding: .45rem .7rem; background: rgba(255,255,255,.8); border: 1px solid #cce1e2; border-radius: 999px; font-size: .85rem; font-weight: 700; }
.event-detail-grid { display: grid; grid-template-columns: 1.4fr .6fr; gap: 55px; align-items: start; }
.qr-card { padding: 24px; background: var(--sand); border-radius: var(--radius); text-align: center; }
.qr-card img { width: 185px; height: 185px; margin: 0 auto 16px; mix-blend-mode: multiply; }
.qr-card p { font-weight: 800; margin-bottom: 0; }
.form-shell { display: grid; grid-template-columns: .7fr 1.3fr; gap: 60px; align-items: start; }
.rsvp-form { padding: 27px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); display: grid; gap: 17px; }
.rsvp-form label, .admin-form label, .admin-login-card label { display: grid; gap: 7px; font-weight: 750; font-size: .92rem; }
input, textarea, select { width: 100%; padding: .78rem .85rem; border: 1px solid #b9cbd7; border-radius: 9px; color: var(--ink); background: var(--white); }
input:focus, textarea:focus, select:focus { outline: 3px solid rgba(45,180,176,.25); border-color: var(--teal); }
textarea { resize: vertical; }
.check-label { display: flex !important; align-items: start; gap: 9px !important; font-weight: 500 !important; color: #40586e; }
.check-label input { width: 17px; height: 17px; margin-top: .2rem; flex: 0 0 auto; }
.trap { position: absolute; left: -9999px; top: auto; overflow: hidden; width: 1px; height: 1px; }
.contact-card { margin-top: 2rem; padding: 28px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); display: inline-block; }
.contact-card p { color: var(--muted); font-size: .85rem !important; margin-bottom: .25rem; }
.contact-card a { color: var(--blue); font-size: 1.25rem; font-weight: 800; }
.site-footer { background: #071e38; color: #d4e1eb; padding: 65px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr .8fr 1fr; gap: 55px; }
.footer-brand { color: var(--white); margin-bottom: 1rem; }
.site-footer p { max-width: 360px; color: #aac0d1; }
.site-footer h2 { font: 800 .78rem var(--sans); color: #a9eae6; text-transform: uppercase; letter-spacing: .13em; margin: .3rem 0 1rem; }
.site-footer section > a { display: block; margin: .46rem 0; color: #d9e7f0; font-size: .92rem; }
.site-footer .subtle-link { margin-top: 1.2rem; color: #829bb0; font-size: .76rem; }
.footer-bottom { margin-top: 40px; border-top: 1px solid rgba(255,255,255,.14); padding: 18px 0; color: #8fa8bb; font-size: .8rem; }
.flash-stack { position: relative; z-index: 40; margin-top: 17px; display: grid; gap: 9px; }
.flash { padding: .75rem 1rem; border-radius: 9px; font-weight: 650; border: 1px solid; }
.flash-success { color: #0c4c37; background: #e3f8ec; border-color: #a5dfbd; }
.flash-error { color: #7c2633; background: #ffedf0; border-color: #f2b6c0; }
.flash-warning { color: #715013; background: #fff8dc; border-color: #ecd78f; }
/* Admin */
.admin-body { background: #f2f5f8; color: var(--ink); }
.admin-header { height: 72px; background: #082442; color: var(--white); }
.admin-header-inner { max-width: 1500px; padding: 0 28px; height: 100%; margin: auto; display: flex; align-items: center; justify-content: space-between; }
.admin-header .brand { color: var(--white); }
.admin-logout { color: #d7e9f7; border: 0; background: transparent; text-decoration: underline; }
.admin-layout { max-width: 1500px; min-height: calc(100vh - 72px); margin: 0 auto; display: grid; grid-template-columns: 225px 1fr; }
.admin-sidebar { padding: 28px 17px; border-right: 1px solid #d4dfe8; background: #f8fafc; }
.admin-sidebar a { display: block; padding: .67rem .75rem; border-radius: 8px; text-decoration: none; font-size: .92rem; font-weight: 700; color: #34506c; }
.admin-sidebar a:hover { color: var(--blue); background: #e8f3f5; }
.admin-main { min-width: 0; padding: 42px 44px 70px; }
.admin-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 32px; }
.admin-heading h1 { font-size: clamp(2.2rem, 4vw, 3.8rem); margin-bottom: .65rem; }
.admin-heading p:not(.eyebrow) { color: var(--muted); max-width: 720px; margin-bottom: 0; }
.admin-stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 42px; }
.admin-stat-grid article { padding: 24px; border-radius: 14px; background: var(--white); border: 1px solid #d9e3eb; }
.admin-stat-grid strong { display: block; color: var(--blue); font: 2.75rem var(--serif); line-height: 1; }
.admin-stat-grid span { display: block; font-weight: 800; margin: .5rem 0 1rem; }
.admin-stat-grid a { color: var(--blue); font-weight: 750; font-size: .9rem; }
.admin-section { margin-top: 34px; }
.admin-section h2 { font-size: 1.65rem; font-family: var(--serif); }
.admin-table-wrap { overflow-x: auto; background: var(--white); border: 1px solid #d9e3eb; border-radius: 13px; }
table { width: 100%; border-collapse: collapse; text-align: left; }
th, td { padding: 14px 16px; border-bottom: 1px solid #e3ebf0; vertical-align: top; font-size: .9rem; }
th { color: #577087; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }
td strong, td small { display: block; }
td small { margin-top: 2px; }
.status { display: inline-block; border-radius: 999px; padding: .25rem .55rem; font-size: .74rem; font-weight: 800; text-transform: capitalize; }
.status-pending { color: #80560b; background: #fff3c8; }
.status-approved { color: #11573e; background: #ddf6e9; }
.status-denied { color: #842736; background: #ffe1e6; }
.admin-empty { padding: 40px; text-align: center; border: 1px dashed #b8cbd8; color: var(--muted); border-radius: 13px; background: var(--white); }
.admin-empty h2 { color: var(--ink); font-size: 1.6rem; }
.admin-checklist { background: #e3f5f4; border-radius: 13px; padding: 25px 30px; }
.admin-checklist li { margin: .45rem 0; }
.admin-card-list { display: grid; gap: 13px; }
.admin-event-card { padding: 18px; background: var(--white); border: 1px solid #d9e3eb; border-radius: 14px; display: grid; grid-template-columns: 104px 1fr auto; gap: 20px; align-items: center; }
.admin-event-card img, .admin-event-placeholder { width: 104px; height: 85px; border-radius: 9px; object-fit: cover; }
.admin-event-placeholder { display: grid; place-items: center; background: var(--sea); color: var(--blue); font-family: var(--serif); font-size: 1.7rem; }
.admin-event-card h2 { font-size: 1.55rem; margin: .2rem 0; }
.admin-event-card p:not(.eyebrow) { margin-bottom: .5rem; color: var(--muted); }
.inline-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.inline-tags span { font-size: .72rem; padding: .28rem .5rem; border-radius: 999px; color: #47657d; background: #edf2f5; }
.admin-event-actions { display: grid; justify-items: end; gap: 9px; }
.admin-event-actions a:not(.button) { color: var(--blue); font-size: .82rem; font-weight: 750; }
.danger-link { color: var(--danger); padding: 0; border: 0; background: transparent; font-weight: 750; text-decoration: underline; font-size: .84rem; }
.admin-form { max-width: 920px; display: grid; gap: 18px; }
.admin-form section { padding: 26px; background: var(--white); border: 1px solid #d9e3eb; border-radius: 14px; display: grid; gap: 17px; }
.admin-form section h2 { font-size: 1.55rem; margin-bottom: .3rem; }
.admin-form.compact { max-width: none; }
.form-grid { display: grid; gap: 16px; }
.form-grid.two { grid-template-columns: repeat(2,1fr); }
.form-grid.three { grid-template-columns: repeat(3,1fr); }
.admin-check { padding: .8rem; background: #f3f8fa; border-radius: 9px; align-self: end; }
.admin-form small { font-weight: 500; }
.code-help { padding: 16px; background: #092342; color: #d9eaf5; border-radius: 10px; font-size: .86rem; }
.code-help pre { white-space: pre-wrap; overflow-wrap: anywhere; color: #a9f0eb; }
.code-help p { margin: 0; }
.code-help code, .admin-form code { background: #eaf0f5; color: #22415e; padding: .06rem .25rem; border-radius: 4px; }
.code-help code { background: rgba(255,255,255,.12); color: white; }
.filter-tabs { display: flex; gap: 9px; margin-bottom: 23px; }
.filter-tabs a { padding: .47rem .75rem; text-decoration: none; color: #446078; font-weight: 750; border-radius: 999px; background: #e6edf2; }
.filter-tabs .active { background: var(--blue); color: var(--white); }
.rsvp-list { display: grid; gap: 16px; }
.rsvp-card { background: var(--white); border: 1px solid #d9e3eb; border-radius: 14px; padding: 23px; display: grid; grid-template-columns: 1fr 280px; gap: 25px; }
.rsvp-heading { display: flex; align-items: start; justify-content: space-between; gap: 15px; }
.rsvp-heading h2 { font-size: 1.6rem; margin: 0 0 .25rem; }
.rsvp-main p { color: #405c74; margin: .45rem 0; overflow-wrap: anywhere; }
.rsvp-main details { margin-top: 1rem; padding-top: .8rem; border-top: 1px solid #e4ebef; }
.rsvp-main summary { cursor: pointer; color: var(--blue); font-weight: 750; }
.rsvp-main dl { display: grid; grid-template-columns: 180px 1fr; gap: .4rem 1rem; font-size: .88rem; }
.rsvp-main dt { font-weight: 750; color: #557087; }
.rsvp-main dd { margin: 0; }
.rsvp-actions { padding-left: 22px; border-left: 1px solid #e0e7ec; }
.rsvp-actions form { display: grid; gap: 12px; margin-bottom: 15px; }
.rsvp-actions label { display: grid; gap: 7px; font-weight: 700; font-size: .84rem; }
.admin-two-column { display: grid; grid-template-columns: .8fr 1.2fr; gap: 24px; align-items: start; }
.small-admin-card { background: var(--white); border: 1px solid #d9e3eb; padding: 17px; border-radius: 11px; display: flex; justify-content: space-between; gap: 18px; align-items: start; margin-bottom: 10px; }
.small-admin-card strong, .small-admin-card small { display: block; }
.small-admin-card p { font-size: .86rem; color: var(--muted); margin: .4rem 0 0; }
.content-editor-list { display: grid; gap: 20px; }
.password-form { max-width: 560px; }
.admin-login-wrap { min-height: calc(100vh - 72px); padding: 60px 20px; display: grid; place-items: center; }
.admin-login-card { width: min(100%, 460px); padding: 42px; border-radius: 18px; background: var(--white); box-shadow: var(--shadow); display: grid; gap: 17px; }
.admin-login-card img { margin-bottom: 5px; }
.admin-login-card h1 { font-size: 2.65rem; margin-bottom: 0; }
.admin-login-card p:not(.eyebrow) { color: var(--muted); }
.admin-login-card > a { color: var(--blue); font-weight: 700; font-size: .9rem; }
@media (max-width: 900px) {
  .main-nav { display: none; position: absolute; top: 76px; left: 0; right: 0; padding: 20px; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 12px 25px rgba(9,35,66,.08); flex-direction: column; align-items: stretch; gap: 16px; }
  .main-nav.is-open { display: flex; }
  .main-nav > a { padding: .35rem; }
  .nav-toggle { display: inline-block; }
  .hero { min-height: auto; }
  .hero-grid, .split-layout, .event-detail-grid, .form-shell { grid-template-columns: 1fr; gap: 36px; }
  .hero-grid { padding: 66px 0; }
  .hero-card { max-width: 600px; }
  .stat-grid, .program-overview, .learn-grid { grid-template-columns: repeat(2, 1fr); }
  .event-grid, .board-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1.3fr 1fr; }
  .full-event-card { grid-template-columns: 180px 1fr; }
  .full-event-card > img { width: 180px; height: 135px; }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar { border-right: 0; border-bottom: 1px solid #d4dfe8; padding: 10px 18px; display: flex; overflow-x: auto; gap: 4px; }
  .admin-sidebar a { white-space: nowrap; }
  .admin-main { padding: 34px 24px 55px; }
  .rsvp-card { grid-template-columns: 1fr; }
  .rsvp-actions { padding: 20px 0 0; border-left: 0; border-top: 1px solid #e0e7ec; }
  .admin-two-column { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .shell { width: min(100% - 30px, 1180px); }
  .nav-shell { min-height: 67px; }
  .hero-grid { padding: 53px 0; }
  .section { padding: 65px 0; }
  .section-tight { margin-top: 0; padding-top: 16px; }
  .stat-grid, .program-overview, .learn-grid, .event-grid, .board-grid { grid-template-columns: 1fr; }
  .section-heading, .callout, .admin-heading { align-items: start; flex-direction: column; }
  .section-heading > a { white-space: normal; }
  .full-event-card { grid-template-columns: 1fr; }
  .full-event-card > img { width: 100%; height: 190px; }
  .timeline li { grid-template-columns: 1fr; gap: 10px; }
  .timeline li:not(:last-child)::before { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .form-grid.two, .form-grid.three { grid-template-columns: 1fr; }
  .admin-stat-grid { grid-template-columns: 1fr; }
  .admin-event-card { grid-template-columns: 68px 1fr; gap: 14px; }
  .admin-event-card img, .admin-event-placeholder { width: 68px; height: 60px; }
  .admin-event-actions { grid-column: 1 / -1; justify-items: start; display: flex; align-items: center; flex-wrap: wrap; }
  .admin-main { padding: 28px 16px 50px; }
  .admin-header-inner { padding: 0 16px; }
  .rsvp-main dl { grid-template-columns: 1fr; gap: .2rem; }
  .admin-login-card { padding: 30px 24px; }
}

/* Local Pi management additions */
.admin-note { margin: .4rem 0 1rem; color: var(--muted, #56606f); }
.admin-callout { margin-top: 1rem; padding: 1rem 1.15rem; border: 1px solid rgba(20,76,116,.25); border-radius: 12px; background: rgba(239,248,253,.75); }
.admin-callout p { margin: .45rem 0; }
.admin-status-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(180px,1fr)); gap:1rem; }
.admin-status-grid article { padding:1rem; border:1px solid rgba(14,46,69,.15); border-radius:12px; background:#fff; }
.admin-status-grid span { display:block; font-size:.82rem; color:#596775; margin-bottom:.35rem; }
.admin-status-grid strong { overflow-wrap:anywhere; }
.compact-form { max-width: 720px; }
.admin-log { margin-top:1rem; } .admin-log pre { white-space:pre-wrap; max-height:260px; overflow:auto; padding:1rem; border-radius:10px; background:#0d1b2a; color:#eaf4ff; }
.danger-zone { border-color: rgba(153, 35, 35, .25); }
.button-danger { background:#9f2d2d; border-color:#9f2d2d; }

