:root {
  --teal: #0F4C4A;
  --teal-deep: #0A3534;
  --teal-soft: #1A6B68;
  --forest: #1E4D3A;
  --gold: #C9952A;
  --gold-light: #E8B84A;
  --amber: #D4A017;
  --cream: #F7F1E8;
  --sand: #EDE4D4;
  --sand-light: #FAF6F0;
  --ink: #2C2A26;
  --muted: #5E5850;
  --line: #D9CFC0;
  --white: #FFFCFA;
  --shadow: 0 18px 50px rgba(15, 76, 74, 0.12);
  --shadow-sm: 0 8px 24px rgba(15, 76, 74, 0.08);
  --radius: 18px;
  --radius-sm: 12px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id], #home, #main { scroll-margin-top: 96px; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 16px/1.65 "Nunito Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .brand {
  font-family: "Lora", Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.02em;
}
a { color: inherit; text-decoration: none; }
.wrap { width: min(1120px, calc(100% - 48px)); margin: auto; }
img { max-width: 100%; display: block; }

/* Skip link */
.skip {
  position: absolute; left: -999px; top: 0; background: var(--teal); color: #fff;
  padding: 10px 16px; z-index: 100; border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 40;
  background: rgba(247, 241, 232, 0.92);
  border-bottom: 1px solid rgba(217, 207, 192, 0.85);
  backdrop-filter: blur(14px);
}
.nav-inner {
  height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  font-size: 20px; color: var(--teal); line-height: 1.15; max-width: 280px;
}
.mark {
  flex-shrink: 0; height: 44px; width: 44px; display: grid; place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--teal), var(--teal-soft));
  color: var(--gold-light); font-size: 18px;
  box-shadow: 0 6px 16px rgba(15, 76, 74, 0.25);
}
.brand small {
  display: block; margin-top: 2px;
  font: 700 9px/1.2 "Nunito Sans", sans-serif;
  letter-spacing: 0.14em; color: var(--muted); text-transform: uppercase;
}
.navlinks {
  display: flex; align-items: center; gap: 22px;
  font-size: 14px; font-weight: 700; color: var(--ink);
}
.navlinks a { position: relative; padding: 6px 0; }
.navlinks a:hover { color: var(--teal-soft); }
.navlinks a:after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--gold); transform: scaleX(0); transition: 0.2s; transform-origin: left;
}
.navlinks a:hover:after { transform: scaleX(1); }
.nav-cta { display: flex; gap: 8px; align-items: center; }
.menu-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line);
  border-radius: 12px; background: var(--white); cursor: pointer;
  align-items: center; justify-content: center;
}
.menu-toggle span,
.menu-toggle span:before,
.menu-toggle span:after {
  display: block; width: 18px; height: 2px; background: var(--teal);
  border-radius: 2px; position: relative;
}
.menu-toggle span:before,
.menu-toggle span:after { content: ""; position: absolute; left: 0; }
.menu-toggle span:before { top: -6px; }
.menu-toggle span:after { top: 6px; }
.mobile-panel {
  display: none; border-top: 1px solid var(--line);
  background: rgba(247, 241, 232, 0.98); padding: 12px 24px 20px;
}
.mobile-panel.open { display: block; }
.mobile-panel a {
  display: block; padding: 14px 4px; font-weight: 700;
  border-bottom: 1px solid var(--line);
}
.mobile-panel a:last-child { border-bottom: 0; }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px;
  background: var(--teal); color: var(--white);
  font-size: 14px; font-weight: 800; letter-spacing: 0.01em;
  transition: 0.2s ease; box-shadow: 0 10px 24px rgba(15, 76, 74, 0.22);
  border: none; cursor: pointer;
}
.button:hover { background: var(--teal-soft); transform: translateY(-1px); }
.button.gold {
  background: var(--gold); color: var(--teal-deep);
  box-shadow: 0 10px 28px rgba(201, 149, 42, 0.35);
}
.button.gold:hover { background: var(--gold-light); }
.button.light {
  border: 1.5px solid rgba(255, 255, 255, 0.8); background: transparent;
  box-shadow: none; color: #fff;
}
.button.light:hover { background: rgba(255, 255, 255, 0.12); }
.button.outline {
  background: transparent; color: var(--teal);
  border: 1.5px solid var(--teal); box-shadow: none;
}
.button.outline:hover { background: rgba(15, 76, 74, 0.06); }
.button.sm { padding: 10px 16px; font-size: 13px; }

/* Hero */
.hero {
  position: relative; display: grid; min-height: 640px; align-items: end; overflow: hidden;
  background: linear-gradient(125deg, var(--teal-deep) 0%, var(--teal) 45%, var(--forest) 100%);
}
.hero img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 40%;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    100deg,
    rgba(10, 53, 52, 0.92) 0%,
    rgba(10, 53, 52, 0.78) 42%,
    rgba(10, 53, 52, 0.35) 100%
  );
}
.hero-content { position: relative; z-index: 1; padding: 120px 0 110px; color: var(--white); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  font-weight: 800; color: var(--gold-light);
}
.eyebrow:before {
  content: ""; width: 18px; height: 2px; background: var(--gold); border-radius: 2px;
}
.hero h1 {
  max-width: 760px; margin: 16px 0 18px;
  font-size: clamp(36px, 5.6vw, 64px); line-height: 1.08; font-weight: 600;
}
.hero p {
  max-width: 560px; margin: 0 0 32px; font-size: 18px; line-height: 1.65;
  color: rgba(255, 255, 255, 0.9);
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Highlight strip under hero */
.highlights {
  position: relative; z-index: 2;
  width: min(1080px, calc(100% - 48px)); margin: -64px auto 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.highlight {
  min-height: 160px; padding: 26px 22px; background: var(--white);
  border-radius: var(--radius); box-shadow: var(--shadow);
  border: 1px solid rgba(217, 207, 192, 0.7);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.highlight:hover { transform: translateY(-4px); box-shadow: 0 22px 50px rgba(15, 76, 74, 0.14); }
.icon {
  width: 48px; height: 48px; display: grid; place-items: center;
  background: linear-gradient(145deg, var(--teal), var(--teal-soft));
  border-radius: 14px; color: var(--gold-light); font-size: 20px;
  box-shadow: 0 8px 18px rgba(15, 76, 74, 0.22);
}
.icon.gold-bg {
  background: linear-gradient(145deg, var(--gold), var(--gold-light));
  color: var(--teal-deep);
}
.highlight h3, .card h3, .serve h3, .involve-card h3 {
  margin: 16px 0 8px; font-size: 19px; line-height: 1.25; color: var(--teal);
}
.highlight p, .card p, .serve p, .involve-card p {
  margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.55;
}

section { padding: 96px 0; }
.section-label {
  font-size: 12px; font-weight: 800; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--gold);
}
h2 {
  margin: 12px 0 18px; color: var(--teal);
  font-size: clamp(30px, 4vw, 42px); line-height: 1.15;
}

/* Mission */
.mission { background: linear-gradient(180deg, var(--sand), var(--cream)); }
.split { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.visual {
  position: relative; min-height: 420px; overflow: hidden; border-radius: 24px;
  box-shadow: var(--shadow); background: var(--sand);
}
.visual img {
  width: 100%; height: 100%; min-height: 420px; object-fit: cover; display: block;
}
.copy p { margin: 0 0 16px; font-size: 17px; color: var(--ink); }
.copy .lede { font-size: 18px; color: var(--teal-deep); }

/* Who we serve */
.serve-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px;
}
.serve {
  padding: 0; background: var(--white); border-radius: var(--radius);
  border: 1px solid rgba(217, 207, 192, 0.85); box-shadow: var(--shadow-sm);
  overflow: hidden; transition: transform 0.2s ease;
}
.serve:hover { transform: translateY(-3px); }
.serve-photo { aspect-ratio: 4/3; overflow: hidden; background: var(--sand); }
.serve-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.serve-body { padding: 22px 22px 26px; border-top: 4px solid var(--gold); }

/* How we help */
.help { background: var(--white); }
.help-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 32px;
}
.card {
  padding: 28px 26px; background: var(--sand-light); border-radius: var(--radius);
  border: 1px solid rgba(217, 207, 192, 0.85); box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--teal); transition: transform 0.2s ease;
}
.card:hover { transform: translateY(-3px); }

/* Photo strip */
.photo-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 40px 0 0;
}
.photo-strip figure {
  margin: 0; border-radius: 16px; overflow: hidden; aspect-ratio: 1;
  box-shadow: var(--shadow-sm); background: var(--sand);
}
.photo-strip img { width: 100%; height: 100%; object-fit: cover; }

/* Get involved — equal three cards */
.involve { background: linear-gradient(180deg, var(--cream), var(--sand)); }
.involve-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px;
}
.involve-card {
  padding: 32px 28px; background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); border: 1px solid rgba(217, 207, 192, 0.7);
  display: flex; flex-direction: column; min-height: 280px;
  transition: transform 0.2s ease;
}
.involve-card:hover { transform: translateY(-4px); }
.involve-card .button { margin-top: auto; align-self: stretch; }
.involve-card.help-card { border-top: 4px solid var(--teal); }
.involve-card.donate-card { border-top: 4px solid var(--gold); }
.involve-card.partner-card { border-top: 4px solid var(--teal-soft); }

/* Looking ahead */
.ahead {
  background:
    linear-gradient(160deg, rgba(10, 53, 52, 0.88), rgba(15, 76, 74, 0.82)),
    url("images/saguaros.jpg") center/cover no-repeat;
  color: var(--white);
}
.ahead .section-label { color: var(--gold-light); }
.ahead h2 { color: var(--white); }
.ahead p { max-width: 640px; font-size: 17px; color: rgba(255, 255, 255, 0.9); margin: 0 0 14px; }
.ahead .note {
  display: inline-block; margin-top: 8px; padding: 10px 14px;
  background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(232, 184, 74, 0.35);
  border-radius: 12px; font-size: 14px; color: var(--gold-light);
}

/* Quotes (anonymous) */
.quotes { background: var(--cream); padding-top: 48px; padding-bottom: 24px; }
.quote-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.quote {
  padding: 28px 26px; background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); border-bottom: 4px solid var(--gold); position: relative;
}
.quote:before {
  content: "“"; position: absolute; top: 8px; right: 20px;
  font: 700 64px/1 Lora, serif; color: rgba(15, 76, 74, 0.12);
}
.quote p {
  margin: 0 0 14px; color: var(--teal-deep);
  font: italic 500 17px/1.6 "Lora", Georgia, serif;
}
.quote strong {
  color: var(--muted); font-size: 12px; letter-spacing: 0.1em;
  text-transform: uppercase; font-family: "Nunito Sans", sans-serif;
}

/* Contact */
.contact { background: var(--white); }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; margin-top: 28px; align-items: start;
}
.contact-card {
  padding: 28px; background: var(--sand-light); border-radius: var(--radius);
  border: 1px solid var(--line);
}
.contact-card dt {
  font-size: 12px; font-weight: 800; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--gold); margin: 0 0 4px;
}
.contact-card dd { margin: 0 0 18px; font-size: 17px; color: var(--ink); }
.contact-card dd:last-child { margin-bottom: 0; }
.placeholder {
  display: inline-block; padding: 2px 8px; border-radius: 6px;
  background: rgba(201, 149, 42, 0.15); border: 1px dashed var(--gold);
  font-size: 13px; font-weight: 700; color: var(--teal-deep);
}
.form {
  display: grid; gap: 14px; padding: 28px; background: var(--cream);
  border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.form label { display: grid; gap: 6px; font-size: 13px; font-weight: 700; color: var(--teal); }
.form input, .form select, .form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  font: 400 15px/1.4 "Nunito Sans", sans-serif; background: var(--white); color: var(--ink);
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: 2px solid var(--teal-soft); outline-offset: 1px;
}
.form textarea { min-height: 120px; resize: vertical; }
.form .hint { font-size: 12px; color: var(--muted); font-weight: 500; margin: -4px 0 0; }

/* Footer */
.footer {
  padding: 40px 24px 48px; background: var(--teal-deep); color: rgba(247, 241, 232, 0.75);
  text-align: center; font-size: 13px;
}
.footer .name {
  font-family: "Lora", Georgia, serif; font-size: 18px; color: var(--sand-light);
  letter-spacing: 0.02em;
}
.footer .legal { margin-top: 6px; font-size: 12px; opacity: 0.8; }
.footer .values {
  margin-top: 12px; color: var(--gold-light); font-weight: 800;
  letter-spacing: 0.06em; font-size: 11px; text-transform: uppercase;
}
.creator { margin-top: 22px; opacity: 0.95; }
.creator a {
  color: var(--gold-light); font-weight: 800;
  text-decoration: underline; text-underline-offset: 3px;
}

@media (max-width: 960px) {
  .navlinks, .nav-cta { display: none; }
  .menu-toggle { display: inline-flex; }
  .highlights { grid-template-columns: 1fr; margin-top: -48px; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .serve-grid, .involve-grid { grid-template-columns: 1fr; }
  .help-grid, .quote-grid { grid-template-columns: 1fr; }
  .photo-strip { grid-template-columns: repeat(2, 1fr); }
  .hero-content { padding: 100px 0 88px; }
  section { padding: 72px 0; }
}
@media (max-width: 540px) {
  .wrap, .highlights { width: calc(100% - 28px); }
  .nav-inner { height: 72px; }
  .brand { font-size: 16px; max-width: 200px; }
  .brand small { font-size: 7px; letter-spacing: 0.1em; }
  .mark { height: 38px; width: 38px; font-size: 16px; }
  h2 { font-size: 28px; }
  .hero h1 { font-size: 34px; }
  .actions { flex-direction: column; align-items: stretch; }
  .button { width: 100%; }
  .photo-strip { grid-template-columns: 1fr 1fr; }
}


/* Publish polish */
.muted-inline { color: var(--muted); font-weight: 500; }
.donate-note {
  margin: 12px 0 0; font-size: 12.5px; color: var(--muted); line-height: 1.45; font-weight: 500;
}
.donate-note a {
  color: var(--teal); font-weight: 700; text-decoration: underline; text-underline-offset: 2px;
}
.footer-links {
  margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 8px 12px; justify-content: center;
  font-size: 13px; font-weight: 700;
}
.footer-links a { color: var(--sand-light); }
.footer-links a:hover { color: var(--gold-light); }
a:focus-visible, .button:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--gold); outline-offset: 2px;
}
.nav-cta .button.outline {
  padding: 10px 14px; font-size: 13px;
}
@media (max-width: 1100px) {
  .nav-cta { gap: 6px; }
  .nav-cta .button.sm { padding: 8px 12px; font-size: 12px; }
}

.involve-card .button + .button { margin-top: 10px; }
.involve-card .button { width: 100%; }

/* Our work gallery */
.hero img { object-position: center center; }
.work { background: var(--sand-light); }
.work-intro { max-width: 640px; color: var(--muted); }
.work-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; margin-top: 32px; }
.work-item { margin: 0; background: var(--white); border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow-sm); }
.work-item img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.work-item figcaption { padding: 12px 14px; font-size: 14px; font-weight: 600; color: var(--teal); }

/* Facebook link */
.fb-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--teal); }
.fb-link .fb-icon { color: #1877F2; flex: none; }
.fb-link:hover span { text-decoration: underline; }
.fb-footer { color: inherit; vertical-align: middle; }
.fb-footer .fb-icon { color: inherit; }

/* Mobile hero fit (<=600px) */
html, body { overflow-x: clip; }
img, video, iframe { max-width: 100%; }
input, select, textarea { max-width: 100%; min-width: 0; }
@media (max-width: 600px) {
  .hero { min-height: 0; align-items: center; }
  .hero img { object-position: 68% 35%; }
  .hero-overlay {
    background: linear-gradient(180deg, rgba(10,53,52,0.55) 0%, rgba(10,53,52,0.82) 45%, rgba(10,53,52,0.94) 100%);
  }
  .hero-content { padding: 40px 0 72px; }
  .hero h1 { font-size: 30px; line-height: 1.12; margin: 12px 0 14px; }
  .hero p { font-size: 16px; line-height: 1.55; margin-bottom: 22px; }
  .hero .actions { gap: 10px; }
  .hero .actions .button { padding-top: 13px; padding-bottom: 13px; }
  .eyebrow { font-size: 11px; letter-spacing: 0.12em; }
}
