/* Shared finishing pass: readable photographic sections and restrained imagery. */
.runoff-feature {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(52px, 5vw, 76px) 0;
  background: #0a2023;
  border-block: 1px solid rgba(197, 210, 171, .2);
}
.runoff-backdrop { position: absolute; inset: -4% 0 0; z-index: -2; }
.runoff-backdrop img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% bottom;
}
.runoff-feature::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(5,20,23,.96) 0%, rgba(5,20,23,.88) 36%, rgba(5,20,23,.72) 51%, rgba(5,20,23,.18) 72%, rgba(5,20,23,.06)), linear-gradient(0deg,rgba(5,20,23,.20),transparent 45%);
}
.runoff-content { display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px; align-items: start; }
.runoff-heading, .runoff-copy { width: 52%; max-width: 650px; min-width: 0; }
.runoff-heading h2 { margin: 14px 0 0; color: #f5f3e4; font: 400 clamp(38px, 3.8vw, 55px)/1.09 Georgia, serif; letter-spacing: -.035em; }
.runoff-copy > p { color: #e0e6dd; font-size: 16px; line-height: 1.78; margin: 0 0 25px; }
.runoff-feature .audit-statement { margin: 26px 0; padding: 2px 0 2px 25px; border: 0; border-left: 3px solid #b8ca95; background: transparent !important; box-shadow: none; }
.runoff-feature .audit-label { color: #c5d5a6; font-size: 11px; letter-spacing: .16em; }
.runoff-feature .audit-statement strong { display: block; margin: 12px 0 16px; color: #fff8e8; font: 400 clamp(25px, 2.4vw, 33px)/1.25 Georgia, serif; }
.runoff-feature .audit-statement p { color: #e0e6dd !important; font-size: 16px; line-height: 1.78; margin: 0; }
.runoff-feature .runoff-limits { font-size: 14px; color: #c9d5c9; }
.runoff-feature .section-cta { margin-top: 2px !important; white-space: normal; text-align: left; }
.mission.community-section { display: block; padding-top: 40px; padding-bottom: 60px; }
.mission.community-section::before { content: none; }
.community-photo { margin: 0 0 38px; overflow: hidden; border-radius: 10px; }
.community-photo img { display: block; width: 100%; height: auto; }
.community-intro { display: grid; grid-template-columns: .9fr 1.25fr; gap: clamp(30px,5vw,70px); align-items: start; }
.community-intro > div { min-width: 0; }
.community-section .mission-copy p { color: #e1e8dd !important; text-shadow: none; }
.community-section .focus-badge { max-width: 100%; white-space: normal; }
.calfire-accountability::before { background-image: url('/assets/american.webp'); background-position: center 55%; opacity: .36; }
.calfire-accountability::after { background: linear-gradient(90deg, rgba(6,27,31,.91), rgba(8,33,37,.76) 60%, rgba(8,31,34,.61)); }
.calfire-accountability-head { gap: 48px; align-items: start; }
.calfire-accountability-head h2 { font-size: clamp(36px, 3.7vw, 53px); }
.calfire-accountability-head > div:last-child p { color: #d7e1d6; }
.calfire-promise { display: grid; grid-template-columns: .9fr 1.1fr; align-items: start; gap: 46px; margin: 0 0 34px; padding: 30px 0 34px; border-block: 1px solid rgba(197,210,171,.27); }
.calfire-promise blockquote { margin: 0; padding: 0; border: 0; background: none; }
.calfire-promise blockquote > p { margin: 0 0 16px; color: #f6f3e4; font: 400 clamp(28px,3vw,41px)/1.2 Georgia,serif; }
.calfire-promise cite { color: #bacd9b; font: 12px/1.6 Arial,sans-serif; }
.calfire-promise cite a { color: inherit; text-decoration: underline; text-underline-offset: 4px; }
.calfire-promise-copy p { margin: 0 0 14px; color: #d3dfd3; font-size: 15px; line-height: 1.76; }
.calfire-promise-copy p:last-child { margin-bottom: 0; }
.calfire-promise-copy strong { color: #f1f3e1; }
.calfire-source-link { display: inline-block; margin-top: 14px; color: #cad7ab; font-size: 12px; text-underline-offset: 4px; }
.calfire-accountability-grid-four article { min-height: 0; padding: 25px 23px; }
.calfire-accountability-grid-four h3 { font-size: 21px; }
.calfire-accountability-grid-four p { font-size: 14px; line-height: 1.73; }
.calfire-accountability-bottom { margin-top: 24px; background: rgba(9,35,38,.82) !important; }
.calfire-accountability-bottom .section-cta { width: auto !important; font-size: 13px; }
.photo-location, .page-location, .visual-caption, figure:has(img) > figcaption { display: none !important; }
@media(max-width:900px) {
  .runoff-feature { padding-top: 56vw; padding-bottom: 48px; }
  .runoff-content { gap: 26px; }
  .runoff-heading, .runoff-copy { width: 100%; max-width: 760px; }
  .runoff-backdrop { inset: 0 0 auto; height: 70vw; }
  .runoff-backdrop img { object-position: center bottom; }
  .runoff-feature::after { background: linear-gradient(180deg,transparent 0,rgba(10,32,35,.10) 30vw,#0a2023 65vw); }
  .calfire-promise { grid-template-columns: 1fr; gap: 24px; }
  .community-intro { grid-template-columns: 1fr; gap: 24px; }
}
@media(max-width:600px) {
  .runoff-heading h2 { font-size: clamp(37px,9vw,46px); }
  .runoff-copy > p, .runoff-feature .audit-statement p { font-size: 15px; }
  .runoff-feature .audit-statement { padding-left: 18px; }
  .runoff-feature .section-cta { width: 100% !important; font-size: 14px; }
  .calfire-promise { padding: 24px 0; }
  .mission.community-section { padding-top: 24px; padding-bottom: 40px; }
  .community-photo { margin-bottom: 26px; border-radius: 7px; }
  .community-section .mission-copy > p:not(.lead) { font-size: 15px; }
}

/* Editorial content remains visible while readers scroll and images load. */
main [data-reveal] { opacity: 1 !important; transform: none !important; filter: none !important; }

/* Readable homepage hero shading. */
body[data-release="cwmp-proposal-20261003-r1"] .hero-shade { background: linear-gradient(90deg,rgba(6,23,28,.86),rgba(8,36,41,.60) 40%,rgba(10,42,44,.08) 78%),linear-gradient(0deg,rgba(7,25,29,.38),transparent 34%) !important; }

/* Green calls to action: dark at rest, light on hover. */
:root { --cta-sage:#25684c; --cta-sage-hover:#9bb679; }

.section-cta { background:var(--cta-sage) !important; }
.section-cta:hover,.section-cta:focus-visible,.section-cta:active { background:var(--cta-sage-hover) !important; color:#092620 !important; }

.button:hover,.button:focus-visible,.button:active,.button-white:hover,.button-white:focus-visible,.button-white:active,.button-navy:hover,.button-navy:focus-visible,.nav-cta:hover,.nav-cta:focus-visible,a.button:hover,a.button:focus-visible,button.primary:hover,button.primary:focus-visible,.home-search-button:hover,.home-search-button:focus-visible,.donate-btn:hover,.donate-btn:focus-visible,header.site nav a.cta:hover,header.site nav a.cta:focus-visible { background:var(--cta-sage-hover) !important; color:#092620 !important; }

.footer-contact { display:flex; flex-wrap:wrap; gap:10px 22px; align-items:baseline; margin:26px 0 0; padding:22px 0; border-top:1px solid rgba(197,210,171,.18); color:#c1d0c6; }
.footer-contact a { color:#f1f1df; }
.footer-contact strong { font-size:15px; font-weight:500; overflow-wrap:anywhere; }
.footer-contact span { font-size:12px; color:#b8cb94; }
.contact-page { max-width:1000px; padding-block:72px; }
.contact-page h1 { color:#f1f1df; font:400 clamp(42px,5vw,64px)/1.1 Georgia,serif; }
.contact-page .lead { max-width:720px; }
.contact-email-card { margin:36px 0; padding:clamp(24px,4vw,40px); border:1px solid rgba(197,210,171,.22); border-radius:10px; background:#102e30; }
.contact-email-card strong { display:block; margin:12px 0 18px; font-size:clamp(20px,3vw,32px); overflow-wrap:anywhere; color:#f1f1df; }
.contact-email-card p { max-width:700px; }
.contact-topics { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:28px; margin-top:40px; }
.contact-topics h2 { font-size:24px; }
@media(max-width:700px) { .contact-topics { grid-template-columns:1fr; gap:20px; } .footer-contact { flex-direction:column; gap:8px; } }

/* Immediate, visible camera movement shared by every photographic hero. */
@keyframes cwmp-hero-drift {
 from { scale:1.04; translate:-.8% .25%; }
 to { scale:1.12; translate:.8% -.25%; }
}
body .hero .hero-media .hero-photo,
body .subhero .subhero-image,
body .subhero .water-scene .subhero-image,
body .article-lead-photo > img,
body .proposal-closing > img {
 animation:cwmp-hero-drift 14s linear -2s infinite alternate !important;
 animation-play-state:running !important;
 transform-origin:center center !important;
 will-change:scale,translate;
}
body .hero .hero-media .hero-photo { transform-origin:right top !important; }
html.motion-paused body .hero .hero-media .hero-photo,
html.motion-paused body .subhero .subhero-image,
html.motion-paused body .subhero .water-scene .subhero-image,
html.motion-paused body .article-lead-photo > img,
html.motion-paused body .proposal-closing > img,
body.page-hidden .hero .hero-media .hero-photo,
body.page-hidden .subhero .subhero-image,
body.page-hidden .subhero .water-scene .subhero-image,
body.page-hidden .article-lead-photo > img,
body.page-hidden .proposal-closing > img { animation-play-state:paused !important; }

/* Homepage copy enters on opening; the buttons each have their own entrance. */
@keyframes cwmp-home-entry {
 from { opacity:0; transform:translateY(24px); }
 to { opacity:1; transform:translateY(0); }
}
.hero.home-opening .hero-kicker,
.hero.home-opening .hero-title-animated,
.hero.home-opening .hero-intro-animated,
.hero.home-opening .hero-buttons > .button {
 animation:cwmp-home-entry 1s cubic-bezier(.16,.75,.24,1) both;
}
.hero.home-opening .hero-kicker { animation-delay:0s; }
.hero.home-opening .hero-title-animated { animation-delay:.08s; }
.hero.home-opening .hero-intro-animated { animation-delay:.16s; }
.hero.home-opening .hero-buttons > .button:nth-child(1) { animation-delay:.24s; }
.hero.home-opening .hero-buttons > .button:nth-child(2) { animation-delay:.32s; }
@media(prefers-reduced-motion:reduce) {
 body .hero .hero-media .hero-photo,
 body .subhero .subhero-image,
 body .subhero .water-scene .subhero-image,
 body .article-lead-photo > img,
 body .proposal-closing > img { animation:none !important; scale:1 !important; translate:none !important; will-change:auto; }
 .hero.home-opening .hero-kicker,
 .hero.home-opening .hero-title-animated,
 .hero.home-opening .hero-intro-animated,
 .hero.home-opening .hero-buttons > .button { animation:none; opacity:1; transform:none; }
}
