:root {
  --green-900: #0b301f;
  --green-800: #123e29;
  --green-700: #1a5739;
  --wheat: #d79c20;
  --cream: #f7f5ed;
  --white: #fffef8;
  --ink: #15231b;
  --muted: #5f6d64;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--cream); font-family: "DM Sans", sans-serif; }
a { color: inherit; }
.site-header { height: 88px; padding: 0 clamp(24px, 5vw, 78px); display: flex; align-items: center; justify-content: space-between; background: var(--white); position: relative; z-index: 10; }
.brand { display: flex; align-items: center; gap: 13px; color: var(--green-900); text-decoration: none; }
.brand img { width: 58px; height: 58px; object-fit: contain; }
.brand span { display: flex; flex-direction: column; line-height: 1; }
.brand strong { font-family: "Libre Franklin", sans-serif; font-size: 18px; letter-spacing: .035em; text-transform: uppercase; }
.brand small { margin-top: 7px; color: var(--wheat); font-size: 10px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; }
nav { display: flex; align-items: center; gap: 34px; }
nav a { font-size: 14px; font-weight: 600; text-decoration: none; }
.nav-give { padding: 12px 20px; color: var(--white); background: var(--green-800); border-radius: 999px; }

.hero { min-height: calc(100vh - 88px); position: relative; display: grid; align-items: center; overflow: hidden; background: var(--green-900); }
.hero-photo, .hero-shade { position: absolute; inset: 0; }
.hero-photo { background: url("assets/nashville-community.png") center center / cover no-repeat; transform: scale(1.01); }
.hero-shade { background: linear-gradient(90deg, rgba(4, 24, 15, .93) 0%, rgba(4, 24, 15, .7) 39%, rgba(4, 24, 15, .12) 72%, rgba(4, 24, 15, .05) 100%), linear-gradient(0deg, rgba(4, 24, 15, .34), transparent 50%); }
.hero-content { width: min(680px, 88vw); margin-left: clamp(24px, 9vw, 150px); padding: 80px 0 108px; position: relative; z-index: 2; color: var(--white); }
.eyebrow { margin: 0 0 24px; color: #efd184; font-family: "Libre Franklin", sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.hero h1 { margin: 0; font-family: "Barlow Condensed", sans-serif; font-size: clamp(82px, 11vw, 170px); font-weight: 700; line-height: .75; letter-spacing: -.045em; text-transform: uppercase; }
.hero h1 em { color: var(--wheat); font-style: normal; }
.hero-copy { max-width: 590px; margin: 38px 0 34px; color: rgba(255,255,255,.87); font-size: clamp(18px, 1.7vw, 23px); line-height: 1.55; }
.hero-actions { display: flex; align-items: center; gap: 30px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 52px; padding: 0 26px; border: 0; border-radius: 999px; font: 700 14px/1 "DM Sans", sans-serif; text-decoration: none; cursor: pointer; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button:focus-visible, a:focus-visible, .amounts button:focus-visible { outline: 3px solid #f4c85a; outline-offset: 3px; }
.button-gold { color: #173522; background: var(--wheat); }
.text-link { color: var(--white); font-size: 14px; font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.6); padding-bottom: 4px; }
.photo-note { position: absolute; z-index: 2; right: 28px; bottom: 26px; margin: 0; color: rgba(255,255,255,.8); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; writing-mode: vertical-rl; }

.mission { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(40px, 9vw, 150px); padding: 130px clamp(24px, 9vw, 150px); background: var(--wheat); overflow: hidden; }
.mission-mark { position: absolute; right: -35px; bottom: -110px; color: rgba(255,255,255,.17); font-family: Georgia, serif; font-size: 360px; font-weight: 700; line-height: 1; }
.eyebrow-dark { color: var(--green-900); }
.mission h2, .section-heading h2, .give h2 { margin: 0; font-family: "Barlow Condensed", sans-serif; font-size: clamp(50px, 6vw, 88px); line-height: .94; letter-spacing: -.025em; text-transform: uppercase; }
.mission-copy { align-self: end; position: relative; margin: 0 0 7px; font-size: clamp(18px, 1.55vw, 22px); line-height: 1.7; }

.work { padding: 130px clamp(24px, 7vw, 110px) 145px; background: var(--white); }
.section-heading { max-width: 760px; margin-bottom: 70px; }
.work-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid #cad1cb; border-bottom: 1px solid #cad1cb; }
.work-grid article { min-height: 320px; padding: 38px 30px; border-right: 1px solid #cad1cb; }
.work-grid article:last-child { border-right: 0; }
.service-icon { display: grid; place-items: center; width: 46px; height: 46px; color: var(--green-800); background: #edf1eb; border: 1px solid #9bac9f; border-radius: 50%; font-size: 21px; }
.work-grid h3 { margin: 70px 0 15px; color: var(--green-900); font-family: "Barlow Condensed", sans-serif; font-size: 30px; text-transform: uppercase; }
.work-grid p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.7; }

.give { display: grid; grid-template-columns: 1.1fr .75fr; gap: clamp(50px, 10vw, 160px); padding: 130px clamp(24px, 9vw, 150px); color: var(--white); background: var(--green-900); }
.give-copy > p:not(.eyebrow):not(.tax-note) { max-width: 710px; color: rgba(255,255,255,.76); font-size: 19px; line-height: 1.7; }
.tax-note { max-width: 660px; margin: 34px 0 0; display: flex; gap: 12px; color: #dbdfdb; font-size: 13px; line-height: 1.55; }
.tax-note span { color: var(--wheat); }
.donation-card { align-self: center; padding: 34px; color: var(--ink); background: var(--white); border-top: 7px solid var(--wheat); }
.donation-label { margin: 0 0 20px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.amounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.amounts button { min-height: 54px; color: var(--green-900); background: #eef1ec; border: 1px solid #a7b2a9; border-radius: 5px; font: 700 18px "DM Sans", sans-serif; cursor: pointer; }
.amounts button.selected { color: var(--white); background: var(--green-700); border-color: var(--green-700); }
.button-green { width: 100%; color: var(--white); background: var(--green-800); }
.donation-status { display: none; margin: 18px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.donation-status.visible { display: block; }

.city-line { height: 280px; padding: 40px clamp(24px, 9vw, 150px) 32px; display: grid; grid-template-columns: 1fr auto; align-items: end; position: relative; color: var(--green-900); background: #e8e5d8; overflow: hidden; }
.city-line p { align-self: start; margin: 0; color: var(--muted); font-size: 12px; letter-spacing: .15em; text-transform: uppercase; }
.city-line strong { font: 700 clamp(34px, 5vw, 70px)/1 "Barlow Condensed", sans-serif; letter-spacing: .02em; }
.skyline { position: absolute; left: 0; right: 0; bottom: 0; height: 190px; display: flex; justify-content: center; align-items: end; gap: 8px; opacity: .13; border-bottom: 14px solid var(--green-900); }
.skyline span { width: 80px; height: 90px; background: var(--green-900); }
.skyline span:nth-child(2) { height: 130px; }
.skyline .batman { width: 105px; height: 175px; clip-path: polygon(18% 100%,18% 36%,30% 36%,30% 18%,40% 18%,40% 0,45% 14%,55% 14%,60% 0,60% 18%,70% 18%,70% 36%,82% 36%,82% 100%); }
.skyline span:nth-child(4) { height: 110px; }.skyline span:nth-child(5) { height: 70px; }.skyline span:nth-child(6) { height: 145px; }
.city-line > *:not(.skyline) { position: relative; z-index: 1; }

footer { min-height: 210px; padding: 50px clamp(24px, 5vw, 78px); display: flex; align-items: center; justify-content: space-between; color: var(--white); background: #071d13; }
.footer-brand { display: flex; align-items: center; gap: 20px; }
.footer-brand img { width: 74px; height: 74px; object-fit: contain; }
.footer-brand p, footer > p { margin: 0; color: rgba(255,255,255,.66); font-size: 12px; line-height: 1.7; }
.footer-brand strong { color: var(--white); font-size: 14px; }

@media (max-width: 900px) {
  nav a:not(.nav-give) { display: none; }
  .hero-photo { background-position: 58% center; }
  .mission, .give { grid-template-columns: 1fr; }
  .mission-copy { max-width: 680px; }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .work-grid article:nth-child(2) { border-right: 0; }
  .work-grid article:nth-child(-n+2) { border-bottom: 1px solid #cad1cb; }
}

@media (max-width: 600px) {
  .site-header { height: 74px; padding: 0 18px; }
  .brand img { width: 48px; height: 48px; }
  .brand strong { font-size: 14px; }.brand small { font-size: 8px; }
  .nav-give { padding: 11px 15px; }
  .hero { min-height: calc(100svh - 74px); align-items: end; }
  .hero-photo { background-position: 64% center; }
  .hero-shade { background: linear-gradient(0deg, rgba(4,24,15,.95) 0%, rgba(4,24,15,.75) 52%, rgba(4,24,15,.12) 100%); }
  .hero-content { margin: 0; padding: 160px 22px 56px; width: 100%; }
  .hero h1 { font-size: clamp(74px, 27vw, 112px); }
  .hero-copy { margin: 28px 0; font-size: 17px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .photo-note { display: none; }
  .mission, .work, .give { padding: 88px 22px; }
  .work-grid { grid-template-columns: 1fr; }
  .work-grid article { min-height: auto; border-right: 0; border-bottom: 1px solid #cad1cb; }
  .work-grid article:last-child { border-bottom: 0; }
  .work-grid h3 { margin-top: 38px; }
  .donation-card { padding: 24px; }
  .city-line { height: 230px; grid-template-columns: 1fr; }
  footer { align-items: flex-start; flex-direction: column; gap: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
