:root {
  --ink: #173c3a;
  --ink-soft: #41605d;
  --cream: #f8f3e9;
  --paper: #fffdf8;
  --coral: #ef775f;
  --coral-dark: #d85b45;
  --blue: #74a9b8;
  --gold: #e1b24d;
  --green: #73a786;
  --line: #e5e7df;
  --shadow: 0 18px 50px rgba(30, 63, 60, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", sans-serif;
}
button, a { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }

.demo-strip {
  min-height: 38px;
  padding: 7px clamp(20px, 4vw, 72px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #fff;
  background: var(--ink);
  font-size: 12px;
}
.demo-strip span { color: var(--ink); background: #f4d896; padding: 3px 8px; border-radius: 20px; font-weight: 700; }
.demo-strip p { margin: 0; opacity: .82; }
.strip-button { border: 0; background: transparent; color: #fff; font-weight: 700; text-decoration: underline; }

.site-header {
  height: 88px;
  padding: 0 clamp(22px, 6vw, 100px);
  display: flex;
  align-items: center;
  gap: 32px;
  border-bottom: 1px solid rgba(23, 60, 58, .08);
  background: rgba(255, 253, 248, .94);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
}
.brand { display: inline-flex; align-items: center; gap: 11px; margin-right: auto; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  color: #fff; background: var(--coral);
  font-size: 20px;
}
.brand-mark svg { width: 28px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.brand strong, .brand small { display: block; }
.brand strong { font-family: "Playfair Display", serif; font-size: 18px; line-height: 1; }
.brand small { margin-top: 4px; color: var(--ink-soft); font-size: 9px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.desktop-nav { display: flex; gap: 28px; font-size: 13px; font-weight: 600; }
.desktop-nav a:hover { color: var(--coral-dark); }

.button {
  border: 1px solid var(--coral);
  border-radius: 7px;
  padding: 14px 20px;
  display: inline-flex;
  justify-content: center;
  color: #fff;
  background: var(--coral);
  font-weight: 700;
  transition: .2s ease;
}
.button:hover { transform: translateY(-2px); background: var(--coral-dark); box-shadow: 0 8px 20px rgba(216, 91, 69, .2); }
.button-small { padding: 10px 16px; font-size: 13px; }
.button-wide { width: 100%; }
.button-outline { color: var(--coral-dark); background: transparent; }
.text-link { border: 0; padding: 0; color: var(--ink); background: transparent; font-weight: 700; }
.text-link span { margin-left: 5px; color: var(--coral); }

.hero {
  min-height: 660px;
  padding: 76px clamp(22px, 8vw, 130px) 96px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(30px, 7vw, 120px);
  overflow: hidden;
  background: radial-gradient(circle at 77% 35%, #f5e9cd 0, #f8f3e9 25%, transparent 50%), var(--cream);
}
.eyebrow { margin: 0 0 14px; color: var(--coral-dark); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: "Playfair Display", serif; }
h1 { margin-bottom: 24px; font-size: clamp(46px, 5.5vw, 76px); line-height: 1.04; letter-spacing: -.04em; }
h1 em { color: var(--coral); font-style: italic; }
h2 { margin-bottom: 16px; font-size: clamp(32px, 4vw, 50px); line-height: 1.08; letter-spacing: -.03em; }
.hero-intro { max-width: 560px; color: var(--ink-soft); font-size: 17px; line-height: 1.7; }
.hero-actions { margin-top: 34px; display: flex; align-items: center; gap: 24px; }
.trust-row { margin-top: 34px; display: flex; gap: 10px; align-items: center; color: var(--ink-soft); font-size: 12px; }
.trust-row p { margin: 0; }
.trust-icon { width: 21px; height: 21px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--green); }

.hero-visual { height: 470px; position: relative; }
.sun { width: 200px; height: 200px; border-radius: 50%; background: #f3cb6c; position: absolute; top: 5px; right: 9%; }
.arch { position: absolute; bottom: 25px; border-radius: 220px 220px 20px 20px; }
.arch-back { width: 65%; height: 80%; right: 1%; background: var(--blue); }
.arch-front { width: 74%; height: 68%; left: 0; background: var(--coral); }
.people-group { position: absolute; left: 11%; right: 9%; bottom: 25px; height: 260px; overflow: hidden; z-index: 2; }
.person { position: absolute; bottom: -30px; width: 110px; height: 230px; border-radius: 55px 55px 20px 20px; }
.person::before { content: ""; position: absolute; width: 70px; height: 70px; left: 20px; top: -45px; border-radius: 50%; background: #5d3d35; }
.person-one { left: 4%; background: #f4c965; transform: rotate(-5deg); }
.person-two { left: 35%; z-index: 2; background: #f2e7cf; }
.person-two::before { background: #956858; }
.person-three { right: 2%; background: #1f5250; transform: rotate(5deg); }
.person-three::before { background: #3f2b27; }
.heart-card {
  position: absolute; right: -8px; bottom: 1px; z-index: 3;
  width: 190px; padding: 15px;
  display: flex; align-items: center; gap: 10px;
  border-radius: 10px; background: #fff; box-shadow: var(--shadow);
}
.heart-card span { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--coral); }
.heart-card p { margin: 0; color: var(--ink-soft); font-size: 11px; line-height: 1.35; }
.heart-card strong { display: block; color: var(--ink); }
.leaf { position: absolute; z-index: 4; width: 40px; height: 70px; border-radius: 100% 0 100% 0; background: var(--green); }
.leaf-one { left: 4px; bottom: 42px; transform: rotate(-30deg); }
.leaf-two { right: 2px; top: 42px; transform: rotate(35deg); background: var(--coral); }

.section { padding: 100px clamp(22px, 8vw, 130px); }
.purpose { background: var(--paper); }
.purpose-heading { display: inline-block; width: 46%; vertical-align: top; }
.purpose-copy { width: 49%; display: inline-block; color: var(--ink-soft); font-size: 17px; line-height: 1.8; }
.impact-grid { margin-top: 54px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.impact-card { min-height: 250px; padding: 34px; border-radius: 10px; color: #fff; }
.impact-card.coral { background: var(--coral); }
.impact-card.blue { background: var(--blue); }
.impact-card.gold { color: var(--ink); background: #f0cf7d; }
.card-icon { margin-bottom: 35px; font-size: 34px; }
.impact-card h3 { margin-bottom: 10px; font-family: "Playfair Display", serif; font-size: 25px; }
.impact-card p { margin: 0; opacity: .9; font-size: 14px; line-height: 1.65; }

.events-section { background: #f4f7f5; }
.section-title-row { margin-bottom: 38px; display: flex; justify-content: space-between; align-items: end; }
.events-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.event-card { display: grid; grid-template-columns: 42% 1fr; border-radius: 10px; overflow: hidden; background: #fff; box-shadow: 0 12px 35px rgba(30, 63, 60, .08); }
.event-art { min-height: 300px; position: relative; }
.event-art::before, .event-art::after { content: ""; position: absolute; border-radius: 50%; }
.event-art-one { background: linear-gradient(150deg, #f0c268, #ef775f); }
.event-art-one::before { width: 170px; height: 170px; left: -35px; bottom: -20px; border: 25px solid rgba(255,255,255,.3); }
.event-art-one::after { width: 110px; height: 220px; right: -30px; top: 75px; border-radius: 80px 80px 0 0; background: var(--ink); }
.event-art-two { background: linear-gradient(150deg, #8cb9c4, #417c78); }
.event-art-two::before { width: 160px; height: 270px; left: 45px; bottom: -90px; border-radius: 90px 90px 0 0; background: #f6db95; }
.event-art-two::after { width: 80px; height: 80px; right: 20px; top: 30px; border: 15px solid rgba(255,255,255,.35); }
.date-badge { width: 54px; padding: 7px; position: absolute; top: 15px; left: 15px; z-index: 3; border-radius: 6px; text-align: center; background: #fff; font-size: 9px; font-weight: 800; letter-spacing: .1em; }
.date-badge strong { display: block; font-family: "Playfair Display", serif; font-size: 23px; letter-spacing: 0; }
.event-body { padding: 28px; }
.event-type { color: var(--coral-dark); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.event-body h3 { margin: 8px 0 10px; font-family: "Playfair Display", serif; font-size: 25px; }
.event-body p { color: var(--ink-soft); font-size: 13px; line-height: 1.6; }
.event-meta { margin: 25px 0 22px; display: flex; gap: 15px; color: var(--ink-soft); font-size: 11px; font-weight: 700; }

.participate { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; color: #fff; background: var(--ink); }
.participate-copy { align-self: center; }
.participate-copy p:last-child { color: rgba(255,255,255,.7); line-height: 1.8; }
.eyebrow.light { color: #f1c96e; }
.action-list { display: grid; gap: 12px; }
.action-card { width: 100%; padding: 22px 24px; display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 14px; color: #fff; text-align: left; border: 1px solid rgba(255,255,255,.15); border-radius: 8px; background: rgba(255,255,255,.06); transition: .2s ease; }
.action-card:hover { background: rgba(255,255,255,.12); transform: translateX(4px); }
.action-number { color: #f1c96e; font-family: "Playfair Display", serif; font-size: 20px; }
.action-card strong, .action-card small { display: block; }
.action-card small { margin-top: 4px; color: rgba(255,255,255,.6); }
.action-card b { color: var(--coral); font-size: 22px; }

.transparency { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; background: #f1eadc; }
.transparency-points p { margin: 10px 0; padding: 16px 18px; border-radius: 6px; background: rgba(255,255,255,.65); font-size: 14px; font-weight: 600; }
.transparency-points span { margin-right: 8px; color: var(--green); }
footer { padding: 35px clamp(22px, 6vw, 100px); display: flex; align-items: center; gap: 30px; color: rgba(255,255,255,.7); background: #102e2d; font-size: 11px; }
.brand-footer { margin-right: auto; color: #fff; }
.brand-footer .brand-mark { width: 32px; height: 32px; font-size: 14px; }
.brand-footer small { color: rgba(255,255,255,.5); }
.footer-admin { border: 0; color: rgba(255,255,255,.65); background: transparent; text-decoration: underline; }

.admin-shell { min-height: 100vh; display: none; color: #243b39; background: #f4f6f4; }
.admin-shell.visible { display: grid; grid-template-columns: 230px 1fr; }
.admin-sidebar { min-height: 100vh; padding: 25px 17px; display: flex; flex-direction: column; color: #fff; background: var(--ink); }
.admin-brand { margin: 0 5px 42px; }
.admin-brand strong { font-size: 15px; }
.admin-brand small { color: rgba(255,255,255,.55); }
.admin-brand .brand-mark { width: 35px; height: 35px; }
.admin-nav { display: grid; gap: 7px; }
.admin-nav button, .back-public { padding: 12px; border: 0; border-radius: 6px; color: rgba(255,255,255,.65); background: transparent; text-align: left; font-size: 12px; font-weight: 700; }
.admin-nav button span { margin-right: 10px; }
.admin-nav button:hover, .admin-nav button.active { color: #fff; background: rgba(255,255,255,.12); }
.back-public { margin-top: auto; border-top: 1px solid rgba(255,255,255,.12); border-radius: 0; }
.admin-main { padding: 36px clamp(25px, 5vw, 70px) 70px; overflow: hidden; }
.admin-header { display: flex; align-items: center; justify-content: space-between; }
.admin-header p { margin-bottom: 5px; color: #7b8d8a; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.admin-header h1 { margin: 0; font-family: "DM Sans", sans-serif; font-size: 27px; letter-spacing: -.03em; }
.admin-user { display: flex; align-items: center; gap: 10px; }
.admin-user > span { width: 38px; height: 38px; display: grid; place-items: center; color: #fff; border-radius: 50%; background: var(--coral); font-size: 12px; font-weight: 800; }
.admin-user p { margin: 0; text-transform: none; letter-spacing: 0; }
.admin-user strong, .admin-user small { display: block; color: var(--ink); font-size: 11px; }
.admin-user small { margin-top: 2px; color: #899996; }
.admin-notice { margin: 30px 0 22px; padding: 13px 16px; color: #46625e; border-left: 3px solid var(--blue); background: #e7f0f1; font-size: 12px; }
.admin-section { display: none; }
.admin-section.active { display: block; }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.metric-grid article, .admin-card { border: 1px solid #e8ece9; border-radius: 8px; background: #fff; box-shadow: 0 8px 28px rgba(30, 63, 60, .04); }
.metric-grid article { padding: 20px; position: relative; }
.metric-grid p { margin: 18px 0 4px; color: #778a87; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.metric-grid strong { display: block; font-size: 26px; }
.metric-grid small { color: #8b9b98; font-size: 10px; }
.metric-icon { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 6px; color: #fff; font-weight: 800; }
.metric-icon.coral, .timeline-dot.coral { background: var(--coral); }
.metric-icon.blue, .timeline-dot.blue { background: var(--blue); }
.metric-icon.gold, .timeline-dot.gold { color: var(--ink); background: var(--gold); }
.metric-icon.green { background: var(--green); }
.admin-columns { margin: 17px 0; display: grid; grid-template-columns: 1.55fr .85fr; gap: 17px; }
.admin-card { padding: 22px; }
.admin-card-title { margin-bottom: 12px; display: flex; justify-content: space-between; align-items: center; }
.admin-card-title p { margin: 0 0 4px; color: #8b9b98; font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.admin-card-title h2 { margin: 0; font-family: "DM Sans", sans-serif; font-size: 15px; letter-spacing: 0; }
.mini-button { padding: 7px 10px; color: var(--coral-dark); border: 1px solid #f2c8bf; border-radius: 5px; background: #fff7f5; font-size: 10px; font-weight: 800; }
.activity-row { padding: 13px 0; display: grid; grid-template-columns: 38px 1fr auto; gap: 11px; align-items: center; border-top: 1px solid #eef0ee; }
.activity-date { padding: 5px; color: var(--coral-dark); border-radius: 5px; text-align: center; background: #fff2ef; font-size: 7px; font-weight: 800; }
.activity-date b { display: block; font-size: 14px; }
.activity-row p { margin: 0; }
.activity-row strong, .activity-row small { display: block; font-size: 11px; }
.activity-row small { margin-top: 3px; color: #94a29f; font-size: 9px; }
.status { padding: 4px 7px; border-radius: 20px; font-size: 8px; font-weight: 800; }
.status.progress { color: #8a5a11; background: #fff0c9; }
.status.open { color: #2f6964; background: #dcefeb; }
.status.pending { color: #6d7b79; background: #eef1ef; }
.task-count { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--coral); font-size: 10px; }
.tasks-card label { padding: 12px 0; display: flex; gap: 8px; border-top: 1px solid #eef0ee; font-size: 10px; font-weight: 600; }
.tasks-card label:has(input:checked) { color: #a3aeac; text-decoration: line-through; }
.tasks-card input { accent-color: var(--green); }
.tasks-card .text-link { margin-top: 12px; font-size: 10px; }
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.timeline p { margin: 0; display: grid; grid-template-columns: 10px 1fr; column-gap: 8px; }
.timeline-dot { width: 8px; height: 8px; margin-top: 3px; border-radius: 50%; grid-row: span 2; }
.timeline strong, .timeline small { font-size: 10px; }
.timeline small { margin-top: 3px; color: #95a39f; font-size: 9px; }
.empty-state { min-height: 470px; padding: 70px; text-align: center; border: 1px dashed #d5ddda; border-radius: 10px; background: #fff; }
.empty-state span { width: 60px; height: 60px; margin: 30px auto; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--coral); font-size: 25px; }
.empty-state h2 { font-family: "DM Sans", sans-serif; font-size: 22px; }
.empty-state p { max-width: 430px; margin: auto; color: #82928f; font-size: 13px; line-height: 1.7; }
.toast { position: fixed; left: 50%; bottom: 25px; z-index: 100; padding: 12px 18px; color: #fff; border-radius: 6px; background: var(--ink); box-shadow: var(--shadow); font-size: 12px; font-weight: 700; opacity: 0; transform: translate(-50%, 20px); pointer-events: none; transition: .25s ease; }
.toast.visible { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 980px) {
  .desktop-nav { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 55px; }
  .hero-visual { max-width: 600px; width: 100%; margin: auto; }
  .purpose-heading, .purpose-copy { width: 100%; }
  .impact-grid { grid-template-columns: 1fr; }
  .impact-card { min-height: auto; }
  .events-grid, .participate, .transparency { grid-template-columns: 1fr; }
  .admin-shell.visible { grid-template-columns: 1fr; }
  .admin-sidebar { min-height: auto; padding: 14px; display: block; }
  .admin-brand, .back-public { display: none; }
  .admin-nav { display: flex; overflow-x: auto; }
  .admin-nav button { white-space: nowrap; }
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-columns { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .demo-strip p { display: none; }
  .site-header { height: 72px; padding: 0 15px; }
  .site-header .brand small, .site-header .button { display: none; }
  .hero { padding: 45px 20px 60px; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero-visual { height: 360px; }
  .heart-card { right: 0; }
  .section { padding: 70px 20px; }
  .event-card { grid-template-columns: 1fr; }
  .event-art { min-height: 190px; }
  .event-art-one::after { height: 150px; top: 60px; }
  .event-art-two::before { height: 190px; }
  .section-title-row { align-items: flex-start; gap: 20px; flex-direction: column; }
  footer { align-items: flex-start; flex-direction: column; }
  .admin-main { padding: 22px 14px 50px; }
  .admin-header { align-items: flex-start; }
  .admin-user p { display: none; }
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .metric-grid article { padding: 14px; }
  .activity-row { grid-template-columns: 38px 1fr; }
  .activity-row .status { display: none; }
  .timeline { grid-template-columns: 1fr; }
}
