:root {
  --ink: #17342f;
  --green: #0e5a4f;
  --green-deep: #092f2a;
  --gold: #c99b3e;
  --gold-soft: #ffe7a9;
  --plum: #4b253f;
  --teal: #dff3ec;
  --paper: #fbfaf4;
  --soft: #f1efe4;
  --line: rgba(23, 52, 47, .16);
  --shadow: 0 22px 64px rgba(15, 43, 38, .16);
  --radius: 8px;
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(30deg, rgba(201, 155, 62, .045) 12%, transparent 12.5%, transparent 87%, rgba(201, 155, 62, .045) 87.5%, rgba(201, 155, 62, .045)),
    linear-gradient(150deg, rgba(14, 90, 79, .035) 12%, transparent 12.5%, transparent 87%, rgba(14, 90, 79, .035) 87.5%, rgba(14, 90, 79, .035)),
    var(--paper);
  background-size: 92px 160px, 92px 160px, auto;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
p { line-height: 1.75; }

.skip-link {
  position: fixed;
  z-index: 20;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  background: #fff;
  border: 2px solid var(--green);
  border-radius: var(--radius);
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.topbar {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  padding: 10px clamp(18px, 4vw, 58px);
  color: rgba(255, 255, 255, .88);
  background:
    linear-gradient(90deg, rgba(201, 155, 62, .08), transparent 28%, rgba(201, 155, 62, .08)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 16px),
    var(--green-deep);
  font-size: 13px;
}

.topbar div {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 10px clamp(18px, 4vw, 58px);
  background: rgba(251, 250, 244, .95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 4px;
  background: linear-gradient(90deg, transparent, rgba(201, 155, 62, .72) 18%, rgba(14, 90, 79, .36) 50%, rgba(201, 155, 62, .72) 82%, transparent);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 850;
}

.brand img {
  width: auto;
  height: 76px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(23, 52, 47, .16));
}

.brand small {
  display: block;
  margin-top: 2px;
  color: rgba(23, 52, 47, .64);
  font-weight: 650;
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(12px, 1.7vw, 24px);
  font-size: 14px;
  font-weight: 780;
}

.nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border-bottom: 2px solid transparent;
}

.nav a:hover,
.nav a[aria-current="page"] { border-color: var(--gold); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font-weight: 820;
  box-shadow: 0 8px 22px rgba(23, 52, 47, .08);
}

.button:hover { transform: translateY(-1px); }
.button-primary {
  color: #fff;
  background: var(--green);
  border-color: var(--green);
}

.button-gold {
  color: var(--green-deep);
  background: var(--gold-soft);
  border-color: rgba(201, 155, 62, .72);
}

.page-hero {
  position: relative;
  isolation: isolate;
  min-height: 460px;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
  background: var(--green-deep);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: var(--hero-image);
  background-position: center;
  background-size: cover;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg, rgba(9, 47, 42, .96), rgba(9, 47, 42, .7) 55%, rgba(75, 37, 63, .48)),
    linear-gradient(180deg, transparent 40%, rgba(9, 47, 42, .58));
}

.page-hero-inner {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 96px 0 74px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold-soft);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.kicker::before {
  content: "";
  width: 42px;
  height: 2px;
  background: var(--gold);
}

h1,
h2,
h3 { margin: 0; letter-spacing: 0; }

h1 {
  max-width: 820px;
  margin-top: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(54px, 8vw, 94px);
  line-height: .96;
}

h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.02;
}

h3 { font-size: 21px; line-height: 1.25; }

.hero-summary {
  max-width: 720px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, .86);
  font-size: 18px;
}

.hero-actions,
.action-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.section {
  position: relative;
  padding: 88px 0;
  overflow: hidden;
}

.section-soft {
  background: rgba(241, 239, 228, .74);
  border-top: 1px solid rgba(23, 52, 47, .08);
  border-bottom: 1px solid rgba(23, 52, 47, .08);
}

.container {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(280px, .55fr);
  gap: 34px;
  align-items: end;
  margin-bottom: 38px;
}

.section-heading p {
  margin: 0;
  color: rgba(23, 52, 47, .72);
  font-size: 17px;
}

.eyebrow {
  display: block;
  margin-bottom: 10px;
  color: var(--green);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .86fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

.copy p {
  margin: 18px 0 0;
  color: rgba(23, 52, 47, .76);
  font-size: 17px;
}

.media-panel {
  min-height: 410px;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.media-panel img {
  width: 100%;
  height: 100%;
  min-height: 410px;
  object-fit: cover;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.info-card,
.action-card,
.program-card,
.donation-card {
  position: relative;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .84);
  box-shadow: 0 14px 34px rgba(23, 52, 47, .08);
}

.info-card::before,
.program-card::before,
.donation-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 54px;
  height: 4px;
  background: var(--gold);
}

.info-card p,
.action-card p,
.program-card p,
.donation-card p {
  margin: 12px 0 0;
  color: rgba(23, 52, 47, .7);
}

.action-card {
  display: flex;
  min-height: 186px;
  flex-direction: column;
  justify-content: space-between;
  background: var(--green-deep);
  color: #fff;
}

.action-card:nth-child(2n) { background: var(--plum); }
.action-card p { color: rgba(255, 255, 255, .74); }
.action-card .text-link { color: var(--gold-soft); }

.guide-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 18px;
}

.text-link {
  display: inline-flex;
  width: fit-content;
  min-height: 44px;
  align-items: center;
  margin-top: 18px;
  color: var(--green);
  font-weight: 850;
}

.text-link::after { content: " →"; }

.program-grid,
.donation-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.program-time,
.donation-label {
  color: var(--green);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.program-card h3,
.donation-card h3 { margin-top: 12px; }

.program-meta {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--plum);
  font-weight: 760;
}

.schedule-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 14px 34px rgba(23, 52, 47, .08);
}

.schedule {
  width: 100%;
  min-width: 660px;
  border-collapse: collapse;
}

.schedule th,
.schedule td {
  padding: 17px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.schedule th {
  color: #fff;
  background: var(--green-deep);
  font-size: 13px;
  text-transform: uppercase;
}

.schedule tr:last-child td { border-bottom: 0; }
.schedule td:first-child { color: var(--green); font-weight: 850; }

.feature-band {
  position: relative;
  overflow: hidden;
  padding: 72px 0;
  color: #fff;
  background:
    linear-gradient(115deg, rgba(9, 47, 42, .98), rgba(14, 90, 79, .88) 58%, rgba(75, 37, 63, .9)),
    var(--green-deep);
}

.feature-band::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .12;
  pointer-events: none;
  background-image:
    linear-gradient(30deg, rgba(255, 255, 255, .22) 12%, transparent 12.5%, transparent 87%, rgba(255, 255, 255, .22) 87.5%, rgba(255, 255, 255, .22)),
    linear-gradient(150deg, rgba(255, 255, 255, .22) 12%, transparent 12.5%, transparent 87%, rgba(255, 255, 255, .22) 87.5%, rgba(255, 255, 255, .22));
  background-size: 76px 132px;
}

.feature-band .container {
  position: relative;
  z-index: 1;
}

.feature-band h2 { color: #fff; }
.feature-band p {
  max-width: 760px;
  color: rgba(255, 255, 255, .78);
  font-size: 17px;
}

.method-list,
.service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 24px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.method-list li,
.service-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.method-list strong,
.service-list strong {
  display: block;
  margin-bottom: 4px;
}

.notice {
  margin-top: 28px;
  padding: 20px 22px;
  border-left: 4px solid var(--gold);
  background: rgba(255, 231, 169, .28);
}

.feedback-form {
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .9);
  box-shadow: var(--shadow);
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.field {
  display: grid;
  gap: 8px;
}

.field-full { grid-column: 1 / -1; }

.field label {
  color: var(--green-deep);
  font-size: 14px;
  font-weight: 820;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid rgba(23, 52, 47, .24);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.field textarea {
  min-height: 180px;
  resize: vertical;
}

.form-note {
  margin: 16px 0 0;
  color: rgba(23, 52, 47, .68);
  font-size: 14px;
}

.status-panel {
  padding: clamp(26px, 5vw, 52px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(255, 255, 255, .9)),
    var(--teal);
  box-shadow: var(--shadow);
  text-align: center;
}

.status-panel p {
  max-width: 680px;
  margin: 18px auto 0;
  color: rgba(23, 52, 47, .72);
  font-size: 17px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 260px;
  gap: 12px;
}

.gallery-grid figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-grid figcaption {
  position: absolute;
  right: 10px;
  bottom: 10px;
  left: 10px;
  padding: 10px 12px;
  color: #fff;
  background: rgba(9, 47, 42, .86);
  border-radius: 6px;
  font-weight: 760;
}

.footer {
  padding: 52px 0 26px;
  color: rgba(255, 255, 255, .82);
  background:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, .04) 0 1px, transparent 1px 16px),
    var(--green-deep);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr repeat(2, .7fr);
  gap: 34px;
}

.footer-brand {
  color: #fff;
  font-size: 20px;
  font-weight: 850;
}

.footer h3 {
  margin-bottom: 14px;
  color: var(--gold-soft);
  font-size: 14px;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-base {
  margin-top: 38px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  font-size: 13px;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .nav a { flex: 0 0 auto; }
  .card-grid,
  .program-grid,
  .donation-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .topbar {
    display: block;
    padding: 9px 16px;
  }

  .topbar div {
    gap: 8px 14px;
  }

  .topbar div:last-child { display: none; }

  .site-header {
    position: static;
    gap: 8px 12px;
    padding: 8px 14px 4px;
  }

  .brand { gap: 8px; }
  .brand img { height: 56px; }
  .brand span { font-size: 13px; line-height: 1.2; }
  .brand small { font-size: 11px; }
  .site-header > .button { padding: 9px 12px; }

  .nav {
    gap: 4px;
    padding-bottom: 5px;
  }

  .nav a {
    padding: 8px 10px;
    font-size: 12px;
  }

  .page-hero { min-height: 390px; }
  .page-hero-inner { padding: 80px 0 50px; }
  h1 { font-size: 48px; }
  h2 { font-size: 38px; }
  .hero-summary { font-size: 16px; }

  .section { padding: 56px 0; }
  .section-heading,
  .split,
  .footer-grid { grid-template-columns: 1fr; }

  .section-heading { gap: 14px; margin-bottom: 26px; }
  .card-grid,
  .card-grid.two,
  .program-grid,
  .donation-grid,
  .field-grid,
  .method-list,
  .service-list { grid-template-columns: 1fr; }

  .field-full { grid-column: auto; }

  .info-card,
  .action-card,
  .program-card,
  .donation-card { padding: 20px; }

  .media-panel,
  .media-panel img { min-height: 240px; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 230px; }
  .feature-band { padding: 54px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
