/* Site-wide compact redesign pass */
:root {
  --page-x: clamp(16px, 4vw, 56px);
  --section-y: clamp(26px, 4vw, 48px);
  --content-max: 1180px;
}

body {
  font-size: 16px;
  line-height: 1.58;
}

.topbar {
  min-height: 68px;
  padding: 8px var(--page-x);
  gap: 18px;
}

.brand img {
  width: 50px;
  height: 44px;
}

.brand strong {
  font-size: 13px;
  letter-spacing: .05em;
}

.brand em {
  font-size: 12px;
}

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

.hero {
  min-height: auto;
  grid-template-columns: minmax(0, .98fr) minmax(280px, 440px);
  gap: clamp(20px, 4vw, 40px);
  padding: clamp(34px, 6vw, 64px) var(--page-x);
}

.hero-copy {
  max-width: 690px;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.04;
  margin-bottom: 14px;
}

.hero p {
  max-width: 650px;
  font-size: clamp(16px, 1.6vw, 19px);
}

.hero img {
  max-height: 360px;
  width: 100%;
}

.hero-actions {
  margin-top: 22px;
}

.btn {
  min-height: 42px;
  padding: 10px 15px;
  font-size: 14px;
}

.eyebrow {
  padding: 5px 10px;
  font-size: 11px;
  letter-spacing: .1em;
}

.page-title {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 42px var(--page-x) 14px;
}

.page-title h1 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  margin: 8px 0 10px;
}

.page-title p {
  font-size: clamp(15px, 1.5vw, 18px);
}

.content-grid,
.cards,
.leader-grid,
.contact-layout,
.gallery,
.video-grid,
.product-grid,
.post-list,
.faq-list,
.download-grid,
.values,
.crew-links,
.law,
.map,
.video-frame {
  max-width: var(--content-max);
  margin-left: auto;
  margin-right: auto;
  padding: 16px var(--page-x) var(--section-y);
}

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

.cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.leader-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.panel,
.cards article,
.leader-grid article,
.post-list article,
details,
.video-grid article,
.product-grid article {
  padding: 18px;
  border-radius: 12px;
}

.cards article {
  padding: 0;
}

.panel h2,
.cards h3,
.leader-grid h2,
.post-list h2,
.video-grid h2,
.product-grid h2 {
  font-size: 20px;
  line-height: 1.2;
}

.panel p,
.cards p,
.leader-grid p,
.post-list p,
details p {
  font-size: 15px;
}

.cards img {
  height: 180px;
}

.cards h3,
.cards p {
  margin-left: 16px;
  margin-right: 16px;
}

.band {
  max-width: var(--content-max);
  grid-template-columns: minmax(0, 1fr) minmax(250px, 360px);
  margin: 22px auto;
  padding: 24px var(--page-x);
  border-radius: 12px;
}

.band h2 {
  margin-top: 0;
  font-size: clamp(24px, 3vw, 34px);
}

.band img {
  max-height: 280px;
  width: 100%;
}

.feed {
  padding: 32px var(--page-x);
}

.feed h2,
.values h2,
.crew-links h2,
.law h2,
.map h2 {
  font-size: 26px;
  margin: 0 0 14px;
}

.values span,
.crew-links a,
.download-grid a,
.socials a,
.audio-links a {
  margin: 4px;
  padding: 8px 12px;
  font-size: 14px;
}

.gallery {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.gallery img {
  height: 190px;
}

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

.video-grid article {
  padding: 14px;
}

.video-grid h2 {
  font-size: 17px;
  margin: 10px 0 4px;
}

.anthem-panel,
.shop-note {
  max-width: calc(var(--content-max) - (var(--page-x) * 2));
  margin: 0 auto 14px;
  padding: 18px;
}

.product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.product-grid article {
  padding: 14px;
}

.product-grid h2 {
  min-height: 48px;
  font-size: 17px;
  margin: 12px 0 4px;
}

.product-grid p {
  margin: 0 0 12px;
}

.product-image {
  aspect-ratio: 4 / 3;
}

.contact-layout {
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
}

.map iframe,
.video-frame iframe {
  min-height: 300px;
}

.law ol {
  margin-top: 0;
  columns: 2;
}

.footer-main {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 36px var(--page-x) 28px;
}

.footer-bottom {
  padding: 16px var(--page-x);
}

@media (max-width: 980px) {
  .site-nav {
    top: 61px;
  }

  .hero,
  .band,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero img,
  .band img {
    max-height: 320px;
  }

  .content-grid,
  .cards,
  .leader-grid,
  .gallery,
  .video-grid,
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .topbar {
    min-height: 62px;
  }

  .brand img {
    width: 44px;
    height: 40px;
  }

  .hero {
    padding-top: 30px;
  }

  .hero h1 {
    font-size: clamp(30px, 11vw, 42px);
  }

  .page-title {
    padding-top: 30px;
  }

  .content-grid,
  .cards,
  .leader-grid,
  .gallery,
  .video-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .gallery img,
  .cards img {
    height: 210px;
  }

  .product-image {
    aspect-ratio: 16 / 10;
  }

  .product-grid h2 {
    min-height: 0;
  }

  .law ol {
    columns: 1;
  }
}

/* Final scale correction after reviewing the local pages */
:root {
  --page-x: clamp(14px, 3.4vw, 44px);
  --section-y: clamp(20px, 3.2vw, 38px);
  --content-max: 1120px;
}

.hero {
  grid-template-columns: minmax(0, 1fr) minmax(250px, 380px);
  gap: clamp(18px, 3vw, 32px);
  padding: clamp(28px, 4.8vw, 48px) var(--page-x);
}

.hero h1 {
  max-width: 640px;
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.08;
  margin-bottom: 12px;
}

.hero p {
  max-width: 610px;
  font-size: clamp(15px, 1.25vw, 17px);
}

.hero img {
  max-height: 300px;
}

.page-title {
  padding: 28px var(--page-x) 8px;
}

.page-title h1 {
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.12;
  margin: 6px 0 8px;
}

.page-title p {
  max-width: 680px;
  font-size: 15px;
  margin-top: 0;
}

.content-grid,
.cards,
.leader-grid,
.contact-layout,
.gallery,
.video-grid,
.product-grid,
.post-list,
.faq-list,
.download-grid,
.values,
.crew-links,
.law,
.map,
.video-frame {
  gap: 14px;
  padding-top: 12px;
  padding-bottom: var(--section-y);
}

.panel,
.leader-grid article,
.post-list article,
details,
.video-grid article,
.product-grid article {
  padding: 14px;
}

.panel h2,
.cards h3,
.leader-grid h2,
.post-list h2,
.video-grid h2,
.product-grid h2,
.anthem-panel h2,
.shop-note h2 {
  font-size: 18px;
}

.panel p,
.cards p,
.leader-grid p,
.post-list p,
details p,
.shop-note p,
.anthem-panel p {
  font-size: 14px;
}

.cards img {
  height: 155px;
}

.cards h3,
.cards p {
  margin-left: 14px;
  margin-right: 14px;
}

.gallery img {
  height: 160px;
}

.product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-image {
  aspect-ratio: 16 / 11;
}

.product-grid h2 {
  min-height: 42px;
  font-size: 16px;
}

.band {
  margin: 16px auto;
  padding: 20px var(--page-x);
}

.band h2,
.feed h2,
.values h2,
.crew-links h2,
.law h2,
.map h2 {
  font-size: clamp(22px, 2.4vw, 28px);
}

.band img {
  max-height: 230px;
}

.feed {
  padding-top: 24px;
  padding-bottom: 24px;
}

.social-feed {
  display: grid;
  grid-template-columns: minmax(240px, .72fr) minmax(0, 1.28fr);
  align-items: center;
  gap: clamp(22px, 4vw, 54px);
  max-width: 1240px;
  margin: 0 auto var(--section-y);
  padding: clamp(28px, 5vw, 52px) var(--page-x);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(4, 62, 30, .96), rgba(13, 72, 38, .9)),
    #043e20;
  color: #fff;
  text-align: left;
}

.social-feed h2 {
  color: #fff;
  font-size: clamp(28px, 4.2vw, 48px);
  line-height: 1.02;
}

.social-feed p {
  max-width: 520px;
  color: rgba(255, 255, 255, .84);
}

.social-feed .story-link {
  color: #f4ba41;
}

.social-feed-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-top: 20px;
}

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

.social-frame {
  overflow: hidden;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 24px 52px rgba(0, 0, 0, .2);
}

.social-frame h3 {
  margin: 0;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(4, 62, 30, .12);
  color: #12361f;
  font-size: 1rem;
}

.social-frame iframe {
  display: block;
  width: 100%;
  border: 0;
}

.facebook-frame {
  min-height: 500px;
}

.facebook-frame iframe {
  min-height: 620px;
}

.instagram-frame {
  min-height: 500px;
  display: flex;
  flex-direction: column;
}

.instagram-frame iframe {
  min-height: 420px;
  flex: 1;
}

.instagram-frame p {
  margin: 0;
  padding: 14px 16px 0;
  color: #5c6a60;
  font-size: .92rem;
  line-height: 1.5;
}

.instagram-frame .btn {
  align-self: flex-start;
  margin: 14px 16px 16px;
  box-shadow: none;
}

.social-link-card {
  min-height: 190px;
  display: flex;
  flex-direction: column;
}

.social-link-card p {
  margin: 0;
  padding: 18px 18px 0;
  color: #5c6a60;
  font-size: .94rem;
  line-height: 1.55;
}

.social-link-card .btn {
  align-self: flex-start;
  margin: auto 18px 18px;
  box-shadow: none;
}

.social-tabs-section {
  display: block;
  max-width: 1240px;
  margin-bottom: var(--section-y);
  padding: clamp(22px, 4vw, 36px) var(--page-x) clamp(42px, 5vw, 62px);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #0f315f;
  text-align: center;
}

.social-tab-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.social-tabs-section .social-feed-intro {
  max-width: none;
}

.social-tabs-section .social-feed-intro h2 {
  margin: 0;
  font-size: clamp(26px, 3.6vw, 50px);
  line-height: 1;
  color: #0f315f;
  text-transform: capitalize;
}

.social-tab {
  min-width: 0;
  min-height: 0;
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 8px;
  padding: 12px;
  border: 1px solid #dbe4dd;
  border-radius: 16px;
  color: #0f315f;
  text-decoration: none;
  background: #fff;
  box-shadow: 0 18px 40px rgba(16, 32, 24, .08);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.social-tab-head {
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
}

.social-tab:hover {
  transform: translateY(-4px);
  border-color: rgba(231, 126, 0, .5);
  background: #fffdf8;
}

.social-tab span {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #f4ba41;
  color: #06331b;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.social-tab strong {
  color: #0f315f;
  font-size: .96rem;
  line-height: 1.1;
}

.social-tab p {
  margin: 0;
  color: #5c6a60;
  font-size: .72rem;
  line-height: 1.25;
  text-align: left;
}

.social-preview {
  width: 100%;
  height: clamp(76px, 8vw, 132px);
  overflow: hidden;
  border: 1px solid #dde6dc;
  border-radius: 12px;
  background: #f7faf5;
}

.social-preview iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.x-preview {
  padding: 10px;
  text-align: left;
}

.x-preview a {
  color: #0f315f;
  font-size: .82rem;
}

.youtube-preview {
  background: #000;
}

.social-open {
  margin-top: auto;
  min-width: 0;
  overflow-wrap: anywhere;
  color: #df7300;
  font-size: .74rem;
  font-weight: 800;
  line-height: 1.3;
  text-decoration: none;
}

.social-open:hover {
  text-decoration: underline;
}

.anthem-panel,
.shop-note {
  padding: 14px;
}

.map iframe,
.video-frame iframe {
  min-height: 260px;
}

.footer-main {
  padding-top: 28px;
  padding-bottom: 22px;
}

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

  .hero img,
  .band img {
    max-height: 260px;
  }

  .page-title {
    padding-top: 24px;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 24px;
    padding-bottom: 28px;
  }

  .hero h1 {
    font-size: clamp(28px, 9.5vw, 36px);
  }

  .page-title h1 {
    font-size: clamp(25px, 8vw, 32px);
  }

  .gallery img,
  .cards img {
    height: 185px;
  }
}

.home-landing {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: clamp(128px, 15vh, 170px) var(--page-x) clamp(78px, 10vh, 120px);
  color: #fff;
  background: #082919;
  overflow: hidden;
  text-align: center;
}

.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slideshow img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--hero-position, center 60%);
  opacity: 0;
  transform: scale(1.2);
  filter: saturate(1.05) contrast(1.02);
  animation: heroFade 60s infinite;
  animation-delay: calc(var(--slide-index) * -6s);
  animation-fill-mode: both;
}

.hero-slideshow img.active {
  opacity: 1;
}

@keyframes heroFade {
  0%,
  8% {
    opacity: 1;
    transform: scale(1.16);
  }

  11%,
  96% {
    opacity: 0;
    transform: scale(1.22);
  }

  100% {
    opacity: 1;
    transform: scale(1.18);
  }
}

.home-landing::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(rgba(0, 0, 0, .46), rgba(0, 0, 0, .52)),
    linear-gradient(90deg, rgba(2, 18, 10, .18), rgba(2, 18, 10, .08));
  pointer-events: none;
}

.home-landing > * {
  position: relative;
  z-index: 1;
  width: min(100%, var(--content-max));
  margin-left: auto;
  margin-right: auto;
}

.hero-inner {
  display: block;
  max-width: 1120px;
}

.home-landing .hero-copy {
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  text-shadow: 0 3px 18px rgba(0, 0, 0, .42);
}

.home-landing .eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 20px;
  border-radius: 999px;
  background: rgba(4, 42, 24, .66);
  color: #f4ba41;
  font-size: .78rem;
  letter-spacing: .12em;
}

.home-landing h1 {
  max-width: 1060px;
  margin: 26px auto 18px;
  color: #fff;
  font-size: clamp(41px, 6.9vw, 91px);
  line-height: .98;
}

.home-landing p {
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, .88);
  max-width: 820px;
  font-size: clamp(16px, 1.95vw, 25px);
}

.home-landing .hero-actions {
  justify-content: center;
  margin-top: clamp(24px, 4vw, 42px);
}

.home-landing .btn {
  background: #f4ba41;
  color: #12361f;
  box-shadow: 0 16px 34px rgba(0, 0, 0, .18);
}

.home-landing .btn:hover {
  background: #ffd36b;
}

.home-landing .btn + .btn {
  background: rgba(255, 255, 255, .12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .34);
  box-shadow: none;
}

.home-landing .btn + .btn:hover {
  background: rgba(255, 255, 255, .2);
}

.hero-photo-stack {
  display: none;
}

.hero-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: clamp(30px, 5vw, 58px);
}

.home-landing .hero-highlights,
.home-landing .landing-steps {
  margin-top: clamp(28px, 5vw, 48px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.home-landing .highlight-card,
.home-landing .landing-steps article {
  min-height: 102px;
  padding: 14px 16px;
  border-color: rgba(255, 255, 255, .28);
  background: rgba(3, 31, 18, .48);
  backdrop-filter: blur(8px);
}

.hero-dots span {
  width: 34px;
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, .35);
}

.hero-dots span::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: #f4ba41;
  transform: scaleX(0);
  transform-origin: left;
  animation: dotFill 30s infinite;
  animation-delay: calc(var(--slide-index) * 6s);
}

@keyframes dotFill {
  0%,
  18% {
    transform: scaleX(1);
  }

  25%,
  100% {
    transform: scaleX(0);
  }
}

.landing-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: clamp(28px, 5vw, 48px);
}

.landing-steps article {
  min-height: 102px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: 8px;
  background: rgba(2, 25, 14, .5);
  backdrop-filter: blur(10px);
}

.landing-steps span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-bottom: 10px;
  border-radius: 999px;
  background: #f4ba41;
  color: #143d24;
  font-weight: 900;
}

.landing-steps strong {
  display: block;
  color: #fff;
  font-size: 17px;
  line-height: 1.2;
}

.landing-steps p {
  margin: 5px 0 0;
  color: rgba(255, 255, 255, .78);
  font-size: 13px;
}

@media (max-width: 980px) {
  .home-landing {
    min-height: 88vh;
    padding-top: 120px;
  }
}

@media (max-width: 720px) {
  .landing-steps {
    grid-template-columns: 1fr;
  }

  .landing-steps article {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .home-landing {
    min-height: 84vh;
    padding-top: 112px;
    padding-bottom: 58px;
  }

  .home-landing h1 {
    font-size: clamp(36px, 12vw, 56px);
  }
}

.about-hero,
.about-timeline,
.about-story,
.sdg-section,
.library-shell {
  width: min(100% - 28px, var(--content-max));
  margin-left: auto;
  margin-right: auto;
}

.about-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 410px);
  gap: clamp(20px, 4vw, 42px);
  align-items: center;
  padding: 34px 0 24px;
}

.about-hero h1 {
  max-width: 680px;
  margin: 8px 0 12px;
  color: var(--green);
  font-size: clamp(34px, 4.8vw, 58px);
  line-height: 1.02;
}

.about-hero p {
  max-width: 660px;
  color: var(--muted);
  font-size: 16px;
}

.about-hero img {
  width: 100%;
  min-height: 280px;
  max-height: 360px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.about-timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 8px 0 24px;
}

.about-timeline article,
.about-story article,
.sdg-grid article,
.library-docs article {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 8px 24px rgba(16, 32, 24, .06);
}

.about-timeline article {
  padding: 16px;
}

.about-timeline span {
  display: block;
  color: var(--gold);
  font-size: 25px;
  font-weight: 900;
  line-height: 1;
}

.about-timeline p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.about-story {
  display: grid;
  grid-template-columns: 1.2fr .85fr .85fr;
  gap: 14px;
  padding-bottom: 24px;
}

.about-story article {
  padding: 18px;
}

.about-story h2 {
  margin: 0 0 8px;
  color: var(--green);
  font-size: 21px;
}

.about-story p {
  color: var(--muted);
  font-size: 14px;
}

.about-values {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  align-items: start;
  gap: 18px;
  padding-top: 18px;
}

.about-values h2,
.section-heading h2 {
  margin: 4px 0 0;
  color: var(--green);
  font-size: clamp(24px, 3vw, 34px);
}

.about-crews {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 18px;
}

.section-heading p {
  color: var(--muted);
}

.sdg-section {
  padding: 22px 0 38px;
}

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

.sdg-grid article {
  display: flex;
  min-height: 250px;
  flex-direction: column;
  padding: 18px;
}

.sdg-grid h3 {
  margin: 0 0 8px;
  color: var(--green);
  font-size: 19px;
}

.sdg-grid p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14px;
}

.sdg-grid a {
  margin-top: auto;
  color: var(--gold);
  font-weight: 900;
  text-decoration: none;
}

.sdg-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.sdg-tags span {
  border-radius: 999px;
  background: #edf5ec;
  color: #174627;
  padding: 6px 9px;
  font-size: 12px;
  font-weight: 800;
}

.library-shell {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 16px;
  padding: 12px 0 42px;
}

.library-tabs {
  position: sticky;
  top: 84px;
  align-self: start;
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 8px 24px rgba(16, 32, 24, .06);
}

.library-tabs button {
  width: 100%;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font: 800 14px/1.2 inherit;
  padding: 12px 14px;
  text-align: left;
}

.library-tabs button:hover,
.library-tabs button.active {
  background: var(--green);
  color: #fff;
}

.library-panel {
  display: none;
}

.library-panel.active {
  display: block;
}

.library-panel-head {
  margin-bottom: 12px;
}

.library-panel-head h2 {
  margin: 5px 0 0;
  color: var(--green);
  font-size: 26px;
}

.library-docs {
  display: grid;
  gap: 10px;
}

.library-docs article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 16px;
}

.library-docs h3 {
  margin: 0 0 5px;
  color: var(--ink);
  font-size: 17px;
}

.library-docs p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.doc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.btn.ghost {
  background: #edf5ec;
  color: var(--green);
  box-shadow: none;
}

.shop-hero {
  display: grid;
  border-color: rgba(18, 107, 58, .2);
  background: linear-gradient(135deg, #fff 0%, #edf5ec 100%);
}

.shop-hero h2 {
  margin: 4px 0 8px;
  color: var(--green);
  font-size: clamp(26px, 3vw, 38px);
}

.shop-grid article {
  transition: transform .18s ease, box-shadow .18s ease;
}

.shop-grid article:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(16, 32, 24, .1);
}

.shop-open {
  width: 100%;
}

.shop-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(5, 25, 15, .72);
}

.shop-modal[hidden] {
  display: none;
}

.shop-dialog {
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, 360px) minmax(0, 1fr);
  gap: 22px;
  width: min(100%, 780px);
  border-radius: 14px;
  background: #fff;
  padding: 18px;
  box-shadow: 0 26px 80px rgba(0, 0, 0, .26);
}

.shop-dialog img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  object-fit: cover;
  background: var(--shade);
}

.shop-dialog h2 {
  margin: 5px 0 8px;
  color: var(--green);
  font-size: clamp(24px, 3vw, 34px);
}

.shop-price {
  display: block;
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 18px;
}

.shop-desc {
  color: var(--muted);
}

.shop-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: #edf5ec;
  color: var(--green);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

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

.footer-links a {
  text-decoration: none;
}

.footer .socials {
  display: grid;
  gap: 8px;
}

.footer .socials a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  margin: 0;
  border-color: rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .08);
}

.social-icon {
  display: grid;
  place-items: center;
  min-width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #f4ba41;
  color: #12361f;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .about-hero,
  .about-story,
  .about-values,
  .library-shell,
  .shop-dialog {
    grid-template-columns: 1fr;
  }

  .about-timeline,
  .sdg-grid {
    grid-template-columns: 1fr;
  }

  .library-tabs {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .about-hero {
    padding-top: 24px;
  }

  .about-hero img {
    min-height: 210px;
  }

  .library-tabs,
  .library-docs article {
    grid-template-columns: 1fr;
  }

  .doc-actions {
    justify-content: stretch;
  }

  .doc-actions .btn {
    flex: 1 1 130px;
  }
}

/* Finished footer redesign */
.footer {
  display: block;
  margin-top: 34px;
  padding: 0;
  background:
    radial-gradient(circle at 12% 0%, rgba(244, 186, 65, .16), transparent 30%),
    linear-gradient(135deg, #082b1a 0%, #10361f 52%, #071f14 100%);
  color: #fff;
}

.footer-wrap {
  width: min(100% - 32px, 1120px);
  margin: 0 auto;
  padding: 28px 0 16px;
}

.footer-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 0 22px;
  border-bottom: 1px solid rgba(255, 255, 255, .16);
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
}

.footer-logo img {
  width: 54px;
  height: 50px;
  border-radius: 12px;
  background: #fff;
  object-fit: contain;
  padding: 5px;
}

.footer-logo strong {
  display: block;
  color: #fff;
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.05;
}

.footer-logo em {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, .7);
  font-style: normal;
  font-size: 14px;
}

.footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.footer-actions .btn {
  min-height: 40px;
  background: #f4ba41;
  color: #15351f;
  box-shadow: none;
}

.footer-actions .btn.ghost {
  border: 1px solid rgba(255, 255, 255, .25);
  background: rgba(255, 255, 255, .1);
  color: #fff;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.25fr .72fr .78fr 1.04fr 1fr;
  gap: clamp(18px, 3vw, 34px);
  max-width: none;
  padding: 24px 0 22px;
}

.footer section {
  min-width: 0;
}

.footer-brand h2 {
  max-width: 260px;
  margin: 0 0 10px;
  color: #fff;
  font-size: 22px;
  line-height: 1.15;
}

.footer-brand p,
.footer-contact span {
  max-width: 280px;
  margin: 0;
  color: rgba(255, 255, 255, .72);
  font-size: 14px;
}

.footer h2 {
  margin: 0 0 12px;
  color: #f4ba41;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.footer-links,
.footer-contact {
  display: grid;
  gap: 8px;
}

.footer-links a,
.footer-contact a {
  color: rgba(255, 255, 255, .84);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: #f4ba41;
}

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

.footer .socials a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 10px;
  background: rgba(255, 255, 255, .07);
  color: #fff;
  padding: 9px 10px;
  text-decoration: none;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.footer .socials a:hover {
  border-color: rgba(244, 186, 65, .7);
  background: rgba(244, 186, 65, .13);
  color: #fff;
  transform: translateY(-1px);
}

.social-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 8px;
  background: #f4ba41;
  color: #12361f;
}

.social-icon svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid rgba(255, 255, 255, .16);
  padding: 14px 0 0;
  color: rgba(255, 255, 255, .6);
  font-size: 13px;
}

@media (max-width: 1060px) {
  .footer-main {
    grid-template-columns: 1.3fr 1fr 1fr;
  }

  .footer-social {
    grid-column: span 2;
  }

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

@media (max-width: 720px) {
  .footer-cta,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-actions {
    justify-content: flex-start;
  }

  .footer-main,
  .footer .socials {
    grid-template-columns: 1fr;
  }

  .footer-social {
    grid-column: auto;
  }
}

/* About values and crews redesign */
.values-crews {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, .88fr);
  gap: 16px;
  width: min(100% - 28px, var(--content-max));
  margin: 8px auto 34px;
}

.values-card,
.crews-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(18, 107, 58, .16);
  box-shadow: 0 16px 40px rgba(16, 32, 24, .08);
}

.values-card {
  padding: clamp(20px, 3vw, 30px);
  background:
    radial-gradient(circle at 88% 8%, rgba(217, 119, 6, .24), transparent 30%),
    linear-gradient(135deg, #142842 0%, #1e3a5f 58%, #142842 100%);
  color: #fff;
}

.values-card .eyebrow {
  display: inline-flex;
  width: auto;
  background: rgba(255, 255, 255, .14);
  color: #f6b15b;
}

.values-card h2,
.crews-card h2 {
  margin: 10px 0 8px;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.05;
}

.values-card h2 {
  color: #fff;
}

.values-card p {
  max-width: 600px;
  margin: 0 0 18px;
  color: rgba(255, 255, 255, .78);
}

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

.value-cloud span {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 10px;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 800;
}

.value-cloud strong {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 8px;
  background: #f6b15b;
  color: #142842;
  font-size: 12px;
}

.crews-card {
  padding: clamp(20px, 3vw, 30px);
  border-color: rgba(30, 58, 95, .13);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .94), rgba(255, 255, 255, .82)),
    linear-gradient(145deg, #fff 0%, #eef2f6 100%);
}

.crews-card .eyebrow {
  display: inline-flex;
  width: auto;
  background: rgba(217, 119, 6, .12);
  color: #d97706;
}

.crews-card h2 {
  color: var(--green);
}

.crew-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.crew-card-grid a {
  position: relative;
  min-height: 92px;
  border: 1px solid rgba(30, 58, 95, .13);
  border-radius: 12px;
  background: rgba(255, 255, 255, .86);
  color: var(--ink);
  padding: 16px;
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.crew-card-grid a::after {
  content: "View";
  position: absolute;
  right: 12px;
  bottom: 12px;
  color: #d97706;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.crew-card-grid a:hover {
  transform: translateY(-3px);
  border-color: rgba(217, 119, 6, .45);
  box-shadow: 0 14px 30px rgba(30, 58, 95, .1);
}

.crew-card-grid strong {
  display: block;
  color: var(--green);
  font-size: 18px;
  line-height: 1.1;
}

.crew-card-grid span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.crew-card-grid a:last-child {
  grid-column: 1 / -1;
}

@media (max-width: 920px) {
  .values-crews {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .value-cloud,
  .crew-card-grid {
    grid-template-columns: 1fr;
  }

  .crew-card-grid a:last-child {
    grid-column: auto;
  }
}

/* Finished header and clean logo treatment */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  min-height: 72px;
  padding: 10px var(--page-x);
  background: rgba(253, 250, 242, .94);
  color: var(--ink);
  border-bottom: 1px solid rgba(30, 58, 95, .1);
  box-shadow: 0 14px 36px rgba(20, 31, 48, .08);
  backdrop-filter: blur(18px);
}

.brand {
  gap: 10px;
}

.brand img,
.footer-logo img {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
}

.brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.brand span {
  display: grid;
  gap: 1px;
}

.brand strong,
.brand em {
  color: var(--green);
  letter-spacing: .08em;
}

.brand strong {
  font-size: 12px;
  font-weight: 900;
}

.brand em {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
}

.site-nav {
  margin-left: auto;
}

.site-nav > ul {
  gap: 4px;
}

.site-nav a,
.site-nav button {
  border-radius: 999px;
  color: #263342;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .02em;
  padding: 10px 11px;
}

.site-nav a:hover,
.site-nav button:hover,
.site-nav a.active {
  background: #1e3a5f;
  color: #fff;
}

.has-menu button span {
  border-top-color: currentColor;
}

.has-menu ul {
  min-width: 244px;
  padding: 10px;
  border: 1px solid rgba(30, 58, 95, .12);
  border-radius: 14px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 20px 48px rgba(20, 31, 48, .14);
}

.has-menu ul a {
  border-radius: 10px;
  color: var(--ink);
  padding: 11px 12px;
  text-transform: none;
}

.has-menu ul a:hover {
  background: #eef2f6;
  color: var(--green);
}

.site-nav button.active-parent {
  background: var(--green);
  color: #fff;
}

.menu-toggle {
  border-color: rgba(30, 58, 95, .18);
  background: #fff;
  box-shadow: 0 8px 20px rgba(20, 31, 48, .08);
}

.menu-toggle span {
  background: var(--green);
}

.eyebrow {
  display: inline-flex;
  width: auto;
  max-width: 100%;
  border: 0;
  border-radius: 999px;
  background: rgba(217, 119, 6, .12);
  color: var(--gold);
  padding: 6px 10px;
  text-shadow: none;
}

.home-landing .eyebrow,
.values-card .eyebrow {
  background: rgba(255, 255, 255, .14);
  color: #f4ba41;
}

.footer-logo img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

@media (max-width: 1100px) {
  .site-nav a,
  .site-nav button {
    padding-inline: 8px;
    font-size: 11px;
  }
}

@media (max-width: 980px) {
  .site-nav {
    top: 72px;
    padding: 12px var(--page-x);
    background: rgba(253, 250, 242, .98);
    border-bottom: 1px solid rgba(30, 58, 95, .1);
    box-shadow: 0 18px 36px rgba(20, 31, 48, .12);
  }

  .site-nav a,
  .site-nav button {
    width: 100%;
    justify-content: space-between;
    border-radius: 10px;
    color: var(--ink);
    padding: 12px 10px;
  }

  .site-nav a:hover,
  .site-nav button:hover,
  .site-nav a.active {
    background: #1e3a5f;
    color: #fff;
  }

  .has-menu ul {
    background: rgba(30, 58, 95, .04);
    border: 0;
    box-shadow: none;
    padding: 5px 0 6px 12px;
  }

  .has-menu ul a {
    color: var(--ink);
  }
}

@media (max-width: 560px) {
  .topbar {
    min-height: 66px;
  }

  .brand img {
    width: 44px;
    height: 44px;
  }

  .brand strong,
  .brand em {
    font-size: 11px;
  }

  .site-nav {
    top: 66px;
  }
}

body:has(.home-landing) .topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  border-bottom: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .5), rgba(0, 0, 0, 0));
  box-shadow: none;
}

body:has(.home-landing) .brand strong,
body:has(.home-landing) .site-nav a,
body:has(.home-landing) .site-nav button {
  color: #fff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .42);
}

body:has(.home-landing) .brand em {
  color: #f4ba41;
}

body:has(.home-landing) .site-nav a.active,
body:has(.home-landing) .site-nav a:hover,
body:has(.home-landing) .site-nav button:hover,
body:has(.home-landing) .site-nav button.active-parent {
  background: #f4ba41;
  color: #12361f;
  text-shadow: none;
}

body:has(.home-landing) .menu-toggle {
  border-color: rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .16);
}

body:has(.home-landing) .menu-toggle span {
  background: #fff;
}

@media (max-width: 980px) {
  body:has(.home-landing) .site-nav {
    background: rgba(8, 41, 25, .96);
    border-bottom-color: rgba(255, 255, 255, .12);
  }

  body:has(.home-landing) .site-nav a,
  body:has(.home-landing) .site-nav button {
    color: #fff;
  }
}

/* Projects section redesign */
.project-hero,
.project-tabs,
.project-stats,
.project-pillars,
.project-docs,
.project-detail,
.project-sdgs {
  width: min(100% - 28px, var(--content-max));
  margin-left: auto;
  margin-right: auto;
}

.project-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
  gap: clamp(22px, 4vw, 44px);
  align-items: center;
  padding: 34px 0 16px;
}

.project-hero h1 {
  max-width: 680px;
  margin: 10px 0 12px;
  color: var(--green);
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.02;
}

.project-hero p {
  max-width: 660px;
  color: var(--muted);
  font-size: 16px;
}

.project-hero img {
  width: 100%;
  min-height: 280px;
  max-height: 360px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: var(--shadow-hover);
}

.project-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.project-tabs {
  position: sticky;
  top: 72px;
  z-index: 15;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px;
  border: 1px solid rgba(30, 58, 95, .11);
  border-radius: 16px;
  background: rgba(253, 250, 242, .9);
  box-shadow: 0 12px 32px rgba(20, 31, 48, .08);
  backdrop-filter: blur(16px);
}

.project-tabs a {
  flex: 1 1 130px;
  border-radius: 12px;
  color: var(--green);
  padding: 11px 14px;
  text-align: center;
  text-decoration: none;
  font-weight: 900;
}

.project-tabs a:hover,
.project-tabs a.active {
  background: var(--green);
  color: #fff;
}

.project-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 14px 0 8px;
}

.project-stats article {
  border: 1px solid rgba(30, 58, 95, .12);
  border-radius: 14px;
  background: #fff;
  padding: 18px;
  box-shadow: var(--shadow);
}

.project-stats strong {
  display: block;
  color: #d97706;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1;
}

.project-stats span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 800;
}

.project-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 14px 0 24px;
}

.project-pillars article {
  display: flex;
  min-height: 260px;
  flex-direction: column;
  border: 1px solid rgba(30, 58, 95, .12);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .92), rgba(255, 255, 255, .78)),
    linear-gradient(145deg, #fff 0%, #eef2f6 100%);
  padding: 20px;
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.project-pillars article:hover {
  transform: translateY(-3px);
  border-color: rgba(217, 119, 6, .42);
  box-shadow: var(--shadow-hover);
}

.project-pillars span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #f6b15b;
  color: #142842;
  font-weight: 950;
}

.project-pillars h2 {
  margin: 18px 0 8px;
  color: var(--green);
  font-size: 23px;
  line-height: 1.1;
}

.project-pillars p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 14px;
}

.project-pillars a {
  margin-top: auto;
  color: #d97706;
  font-weight: 950;
  text-decoration: none;
}

.project-docs {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  margin-bottom: 28px;
  border: 1px solid rgba(30, 58, 95, .12);
  border-radius: 18px;
  background: #fff;
  padding: 18px;
  box-shadow: var(--shadow);
}

.project-docs h2 {
  margin: 8px 0 0;
  color: var(--green);
  font-size: 26px;
  line-height: 1.1;
}

.project-doc-list {
  display: grid;
  gap: 10px;
}

.project-doc-list article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fdfaf2;
  padding: 14px;
}

.project-doc-list strong {
  display: block;
  color: var(--ink);
  font-size: 16px;
}

.project-doc-list span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.project-doc-list article > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.project-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 16px;
  padding: 18px 0 34px;
}

.project-detail article,
.project-detail aside {
  border: 1px solid rgba(30, 58, 95, .12);
  border-radius: 16px;
  background: #fff;
  padding: 20px;
  box-shadow: var(--shadow);
}

.project-detail h2 {
  margin: 8px 0 10px;
  color: var(--green);
  font-size: 26px;
}

.project-detail p {
  color: var(--muted);
}

.project-side-links {
  display: grid;
  gap: 8px;
}

.project-side-links a {
  border-radius: 10px;
  background: #eef2f6;
  color: var(--green);
  padding: 11px 12px;
  text-decoration: none;
  font-weight: 850;
}

.project-side-links a:hover {
  background: var(--green);
  color: #fff;
}

.project-sdgs .sdg-grid article {
  min-height: 280px;
}

@media (max-width: 920px) {
  .project-hero,
  .project-docs,
  .project-detail {
    grid-template-columns: 1fr;
  }

  .project-pillars,
  .project-stats {
    grid-template-columns: 1fr;
  }

  .project-tabs {
    position: static;
  }
}

@media (max-width: 620px) {
  .project-hero {
    padding-top: 24px;
  }

  .project-hero img {
    min-height: 220px;
  }

  .project-doc-list article {
    grid-template-columns: 1fr;
  }

  .project-doc-list article > div {
    justify-content: stretch;
  }

  .project-doc-list .btn {
    flex: 1 1 130px;
  }
}

/* Footer social fit correction */
.footer-social .socials {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.footer-social .socials a {
  min-width: 0;
  gap: 7px;
  border-radius: 9px;
  padding: 7px 8px;
  font-size: 12px;
  line-height: 1.1;
}

.footer-social .socials a > span:last-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.footer-social .social-icon {
  width: 24px;
  height: 24px;
  min-width: 24px;
  border-radius: 7px;
}

.footer-social .social-icon svg {
  width: 14px;
  height: 14px;
}

@media (max-width: 420px) {
  .footer-social .socials {
    grid-template-columns: 1fr;
  }
}

/* Audio-only anthem refinement */
.audio-only-anthem {
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  align-items: stretch;
  gap: 16px;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(4, 62, 30, .97), rgba(12, 92, 47, .92)),
    linear-gradient(180deg, #063e20, #102b1c);
  border-color: rgba(251, 186, 49, .28);
  color: #fff;
}

.audio-only-anthem .anthem-copy h2,
.audio-only-anthem .anthem-copy p {
  color: #fff;
}

.audio-only-anthem .eyebrow {
  background: rgba(251, 186, 49, .16);
  color: #fbba31;
}

.anthem-audio-list {
  display: grid;
  gap: 12px;
}

.audio-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 14px;
  padding: 16px;
  background: rgba(255, 255, 255, .1);
  box-shadow: 0 18px 34px rgba(0, 0, 0, .12);
}

.audio-card span {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 8px;
  border-radius: 999px;
  padding: 4px 9px;
  background: #fbba31;
  color: #05351b;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .06em;
}

.audio-card h3 {
  margin: 0 0 5px;
  color: #fff;
  font-size: 20px;
}

.audio-card p,
.audio-card small {
  margin: 0;
  color: rgba(255, 255, 255, .82);
  font-size: 13px;
  line-height: 1.55;
}

.audio-card audio {
  width: 100%;
  min-height: 44px;
  border-radius: 999px;
}

.audio-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.audio-actions .btn {
  min-height: 40px;
  padding: 10px 16px;
  border-radius: 999px;
  box-shadow: none;
}

.anthem-lyrics {
  margin: 0 clamp(16px, 5vw, 72px) 26px;
  border: 1px solid rgba(4, 62, 30, .12);
  border-radius: 18px;
  padding: clamp(18px, 3vw, 28px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(247, 250, 246, .92)),
    #fff;
  box-shadow: 0 16px 38px rgba(22, 44, 30, .08);
}

.anthem-lyrics h2 {
  margin: 7px 0 16px;
  color: var(--green);
  font-size: clamp(24px, 3vw, 34px);
}

.anthem-lyrics article {
  display: grid;
  gap: 10px;
  max-width: 820px;
  border-left: 4px solid #fbba31;
  padding-left: 18px;
}

.anthem-lyrics p {
  margin: 0;
  color: #334236;
  font-size: 16px;
  line-height: 1.7;
}

@media (max-width: 820px) {
  .audio-only-anthem {
    grid-template-columns: 1fr;
  }
}

/* Activities hub */
.activities-hub {
  margin: 34px clamp(16px, 5vw, 72px);
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid rgba(4, 62, 30, .12);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(247, 250, 246, .94)),
    #fff;
  box-shadow: 0 18px 44px rgba(20, 42, 28, .08);
}

.activities-hub .section-heading {
  max-width: 760px;
  margin-bottom: 18px;
}

.activities-hub .section-heading h2 {
  margin: 8px 0 8px;
  color: var(--green);
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.06;
}

.activities-hub .section-heading p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.activity-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.activity-tabs button {
  border: 1px solid rgba(4, 62, 30, .14);
  border-radius: 999px;
  background: #fff;
  color: var(--green);
  padding: 10px 15px;
  font: 850 13px/1.1 inherit;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, color .18s ease;
}

.activity-tabs button:hover,
.activity-tabs button.active {
  transform: translateY(-1px);
  background: var(--green);
  color: #fff;
}

.activity-stage {
  position: relative;
  min-height: 292px;
}

.activity-panel {
  display: none;
  grid-template-columns: minmax(240px, 390px) minmax(0, 1fr);
  gap: clamp(16px, 3vw, 28px);
  align-items: center;
  border: 1px solid rgba(4, 62, 30, .12);
  border-radius: 16px;
  padding: 14px;
  background:
    linear-gradient(135deg, rgba(4, 62, 30, .04), rgba(251, 186, 49, .08)),
    #fff;
}

.activity-panel.active {
  display: grid;
}

.activity-panel img {
  width: 100%;
  height: 264px;
  border-radius: 13px;
  object-fit: cover;
  box-shadow: 0 16px 34px rgba(20, 42, 28, .12);
}

.activity-panel span {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(251, 186, 49, .18);
  color: #ba6500;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.activity-panel h3 {
  margin: 12px 0 8px;
  color: var(--green);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.08;
}

.activity-panel p {
  max-width: 680px;
  margin: 0 0 18px;
  color: #435047;
  font-size: 16px;
}

.activity-widgets {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.activity-widgets article {
  border-radius: 14px;
  padding: 14px;
  background: #063e20;
  color: #fff;
}

.activity-widgets strong {
  display: block;
  color: #fbba31;
  font-size: 22px;
  line-height: 1.1;
}

.activity-widgets span {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, .84);
  font-size: 13px;
}

.activity-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.activity-card-grid a {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(4, 62, 30, .12);
  border-radius: 14px;
  background: #fff;
  color: var(--green);
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
}

.activity-card-grid a:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(20, 42, 28, .1);
}

.activity-card-grid img {
  width: 100%;
  height: 118px;
  object-fit: cover;
}

.activity-card-grid span,
.activity-card-grid strong {
  display: block;
  margin: 0 12px;
}

.activity-card-grid span {
  margin-top: 10px;
  color: #ba6500;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .07em;
}

.activity-card-grid strong {
  margin-top: 3px;
  margin-bottom: 13px;
  font-size: 15px;
  line-height: 1.2;
}

@media (max-width: 920px) {
  .activity-panel,
  .activity-widgets,
  .activity-card-grid {
    grid-template-columns: 1fr;
  }

  .activity-stage {
    min-height: 0;
  }

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

@media (max-width: 560px) {
  .activities-hub {
    margin: 24px 14px;
    padding: 15px;
    border-radius: 16px;
  }

  .activity-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .activity-tabs button {
    width: 100%;
    padding: 10px 8px;
  }

  .activity-panel {
    padding: 10px;
  }

  .activity-panel img {
    height: 210px;
  }

  .activity-card-grid {
    grid-template-columns: 1fr;
  }
}

/* Site library */
.site-library-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 22px clamp(16px, 5vw, 72px) 58px;
}

.site-library-grid article {
  display: flex;
  min-height: 250px;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid rgba(4, 62, 30, .12);
  border-radius: 16px;
  padding: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(247, 250, 246, .94)),
    #fff;
  box-shadow: 0 16px 36px rgba(20, 42, 28, .08);
}

.site-library-grid span {
  border-radius: 999px;
  padding: 5px 9px;
  background: rgba(251, 186, 49, .16);
  color: #ba6500;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .07em;
}

.site-library-grid h2 {
  margin: 13px 0 8px;
  color: var(--green);
  font-size: 22px;
  line-height: 1.12;
}

.site-library-grid p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
}

.site-library-grid .btn {
  margin-top: auto;
  box-shadow: none;
}

@media (max-width: 1020px) {
  .site-library-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .site-library-grid {
    grid-template-columns: 1fr;
    padding-inline: 14px;
  }
}

/* Library system redesign */
.library-masthead {
  max-width: var(--content-max);
  margin: 24px auto 0;
  padding: clamp(22px, 4vw, 38px) var(--page-x);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 360px);
  gap: 24px;
  align-items: end;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(4, 62, 30, .96), rgba(8, 91, 47, .9)),
    linear-gradient(180deg, #063e20, #102b1c);
  color: #fff;
  box-shadow: 0 22px 48px rgba(4, 40, 20, .16);
}

.library-masthead h1 {
  margin: 9px 0 10px;
  color: #fff;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.02;
}

.library-masthead p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, .82);
  font-size: 16px;
}

.library-masthead .eyebrow {
  background: rgba(251, 186, 49, .16);
  color: #fbba31;
}

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

.library-counts span {
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 12px;
  padding: 12px 10px;
  background: rgba(255, 255, 255, .1);
  color: #fff;
  font-weight: 850;
  text-align: center;
}

.library-counts span:last-child {
  grid-column: 1 / -1;
}

.library-nav-strip {
  max-width: var(--content-max);
  margin: 14px auto 8px;
  padding: 0 var(--page-x);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.library-nav-strip a {
  min-width: 0;
  border: 1px solid rgba(4, 62, 30, .12);
  border-radius: 14px;
  padding: 12px;
  background: #fff;
  color: var(--green);
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(20, 42, 28, .06);
  transition: transform .18s ease, background .18s ease, color .18s ease;
}

.library-nav-strip a:hover,
.library-nav-strip a.active {
  transform: translateY(-2px);
  background: #063e20;
  color: #fff;
}

.library-nav-strip span {
  display: block;
  color: #ba6500;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .07em;
}

.library-nav-strip a:hover span,
.library-nav-strip a.active span {
  color: #fbba31;
}

.library-nav-strip strong {
  display: block;
  margin-top: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
}

.library-home-grid {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 18px var(--page-x) 14px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.library-home-grid a {
  min-height: 230px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(4, 62, 30, .12);
  border-radius: 18px;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(247, 250, 246, .94)),
    #fff;
  color: var(--green);
  text-decoration: none;
  box-shadow: 0 16px 36px rgba(20, 42, 28, .08);
  transition: transform .18s ease, box-shadow .18s ease;
}

.library-home-grid a:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 44px rgba(20, 42, 28, .12);
}

.library-home-grid span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: #fbba31;
  color: #07361d;
  font-weight: 950;
}

.library-home-grid h2 {
  margin: 18px 0 8px;
  color: var(--green);
  font-size: 22px;
  line-height: 1.12;
}

.library-home-grid p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.library-home-grid strong {
  margin-top: auto;
  color: #ba6500;
  font-size: 13px;
}

.library-feature-row {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--page-x) var(--section-y);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.library-feature-row article {
  border-radius: 18px;
  padding: 22px;
  background: #063e20;
  color: #fff;
}

.library-feature-row article:nth-child(2) {
  background: #fff;
  color: var(--green);
  border: 1px solid rgba(4, 62, 30, .12);
}

.library-feature-row h2 {
  margin: 8px 0;
  font-size: 24px;
}

.library-feature-row p {
  color: inherit;
  opacity: .82;
}

.library-feature-row .ghost {
  background: #f4f7f2;
  color: var(--green);
}

.has-menu ul {
  min-width: 250px;
  border-radius: 14px;
  padding: 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(247, 250, 246, .96)),
    #fff;
}

.has-menu ul a {
  border-radius: 10px;
  padding: 11px 12px;
  font-weight: 850;
}

@media (max-width: 1050px) {
  .library-home-grid,
  .library-nav-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .library-masthead,
  .library-feature-row {
    grid-template-columns: 1fr;
  }

  .library-home-grid,
  .library-nav-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .library-masthead {
    margin: 14px 14px 0;
    padding: 20px 16px;
    border-radius: 18px;
  }

  .library-nav-strip,
  .library-home-grid,
  .library-feature-row {
    padding-inline: 14px;
    grid-template-columns: 1fr;
  }
}

/* Activities tab redesign */
.activities-hub {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  grid-template-areas:
    "heading heading"
    "tabs stage"
    "widgets cards";
  gap: 14px;
  border-radius: 24px;
  padding: clamp(18px, 3vw, 28px);
  background:
    linear-gradient(135deg, rgba(4, 62, 30, .05), rgba(251, 186, 49, .08)),
    #fff;
}

.activities-hub .section-heading {
  grid-area: heading;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: end;
  max-width: none;
  margin: 0;
  border-bottom: 1px solid rgba(4, 62, 30, .1);
  padding-bottom: 14px;
}

.activities-hub .section-heading::after {
  content: "4 active areas";
  border-radius: 999px;
  padding: 8px 12px;
  background: #063e20;
  color: #fbba31;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.activity-tabs {
  grid-area: tabs;
  display: grid;
  gap: 9px;
  align-self: stretch;
  margin: 0;
}

.activity-tabs button {
  position: relative;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  grid-template-areas:
    "num label"
    "num detail";
  column-gap: 10px;
  align-items: center;
  min-height: 74px;
  width: 100%;
  border: 1px solid rgba(4, 62, 30, .12);
  border-radius: 16px;
  padding: 12px 13px;
  background: rgba(255, 255, 255, .84);
  color: var(--green);
  text-align: left;
  box-shadow: 0 12px 28px rgba(20, 42, 28, .06);
}

.activity-tabs button::after {
  content: "";
  position: absolute;
  inset: auto 12px 10px 56px;
  height: 3px;
  border-radius: 999px;
  background: rgba(4, 62, 30, .1);
}

.activity-tabs button span {
  grid-area: num;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: rgba(251, 186, 49, .2);
  color: #9b5600;
  font-size: 12px;
  font-weight: 950;
}

.activity-tabs button strong {
  grid-area: label;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 15px;
  line-height: 1.15;
}

.activity-tabs button em {
  grid-area: detail;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  line-height: 1.2;
}

.activity-tabs button:hover,
.activity-tabs button.active {
  transform: translateY(-1px);
  border-color: rgba(251, 186, 49, .45);
  background: #063e20;
  color: #fff;
}

.activity-tabs button:hover span,
.activity-tabs button.active span {
  background: #fbba31;
  color: #063e20;
}

.activity-tabs button:hover em,
.activity-tabs button.active em {
  color: rgba(255, 255, 255, .78);
}

.activity-tabs button:hover::after,
.activity-tabs button.active::after {
  background: #fbba31;
}

.activity-stage {
  grid-area: stage;
  min-height: auto;
}

.activity-panel {
  min-height: 344px;
  grid-template-columns: minmax(260px, 42%) minmax(0, 1fr);
  border-radius: 20px;
  padding: 12px;
  background:
    linear-gradient(135deg, rgba(6, 62, 32, .96), rgba(20, 116, 62, .88)),
    #063e20;
  color: #fff;
  overflow: hidden;
}

.activity-panel img {
  height: 320px;
  border-radius: 16px;
}

.activity-panel > div {
  padding: clamp(14px, 2.5vw, 24px);
}

.activity-panel span {
  background: rgba(251, 186, 49, .18);
  color: #fbba31;
}

.activity-panel h3 {
  color: #fff;
}

.activity-panel p {
  color: rgba(255, 255, 255, .84);
}

.activity-panel .btn {
  background: #fbba31;
  color: #063e20;
}

.activity-widgets {
  grid-area: widgets;
  grid-template-columns: 1fr;
  margin: 0;
}

.activity-card-grid {
  grid-area: cards;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
}

@media (max-width: 980px) {
  .activities-hub {
    grid-template-columns: 1fr;
    grid-template-areas:
      "heading"
      "tabs"
      "stage"
      "widgets"
      "cards";
  }

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

  .activity-panel {
    grid-template-columns: 1fr;
  }

  .activity-panel img {
    height: 250px;
  }

  .activity-widgets {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .activities-hub .section-heading {
    grid-template-columns: 1fr;
  }

  .activities-hub .section-heading::after {
    width: fit-content;
  }

  .activity-tabs,
  .activity-widgets,
  .activity-card-grid {
    grid-template-columns: 1fr;
  }

  .activity-tabs button {
    min-height: 68px;
  }
}

/* Final activities redesign: nonprofit story-card treatment. */
.activities-hub.activity-stories {
  display: block;
  max-width: none;
  margin: 0;
  padding: clamp(42px, 6vw, 76px) var(--page-x);
  background:
    linear-gradient(180deg, rgba(250, 249, 239, .96), rgba(246, 248, 239, .98)),
    var(--cream);
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.activity-stories .section-heading {
  display: block;
  max-width: 760px;
  margin: 0 auto 28px;
  text-align: center;
  border: 0;
}

.activity-stories .section-heading::after {
  content: none;
}

.activity-stories .section-heading h2 {
  margin: 8px 0 10px;
  color: #113315;
  font-size: clamp(2rem, 4vw, 3.65rem);
  line-height: .98;
}

.activity-stories .section-heading p:last-child {
  max-width: 670px;
  margin: 0 auto;
  color: #40533d;
  font-size: 1rem;
}

.activity-stories .activity-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 760px;
  margin: 0 auto 32px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.activity-stories .activity-tabs button {
  flex: 0 0 auto;
  width: auto;
  min-height: 0;
  padding: 12px 22px;
  background: #fff;
  border: 1px solid rgba(20, 79, 38, .18);
  border-radius: 14px;
  color: #244223;
  box-shadow: 0 12px 26px rgba(38, 55, 25, .06);
}

.activity-stories .activity-tabs button::after {
  content: none;
}

.activity-stories .activity-tabs button strong {
  display: block;
  color: inherit;
  font-size: .9rem;
  letter-spacing: 0;
}

.activity-stories .activity-tabs button span,
.activity-stories .activity-tabs button em {
  display: none;
}

.activity-stories .activity-tabs button:hover,
.activity-stories .activity-tabs button.active {
  background: #0b3d1d;
  border-color: #0b3d1d;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(11, 61, 29, .18);
}

.activity-stories .activity-stage {
  max-width: 1180px;
  margin: 0 auto;
}

.activity-stories .activity-panel {
  display: none;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(20, 79, 38, .16);
  border-radius: 22px;
  box-shadow: 0 26px 70px rgba(38, 55, 25, .09);
}

.activity-stories .activity-panel.active {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.activity-stories .activity-story-card {
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-width: 0;
  padding: clamp(20px, 3.2vw, 44px);
  border-right: 1px solid rgba(20, 79, 38, .14);
}

.activity-stories .activity-story-card:last-child {
  border-right: 0;
}

.activity-stories .activity-story-card img {
  width: 100%;
  height: clamp(220px, 28vw, 345px);
  object-fit: cover;
  border-radius: 14px;
  box-shadow: none;
}

.activity-stories .activity-panel > div {
  padding: clamp(20px, 3.2vw, 44px);
}

.activity-stories .activity-story-card > div {
  padding: 0;
}

.activity-stories .activity-panel span {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 12px;
  padding: 7px 12px;
  background: #f8ebd8;
  border-radius: 999px;
  color: #c66700;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.activity-stories .activity-panel h3 {
  margin: 0 0 10px;
  color: #102f14;
  font-size: clamp(1.35rem, 2.1vw, 2rem);
  line-height: 1.08;
}

.activity-stories .activity-panel p {
  margin: 0 0 22px;
  color: #40533d;
  font-size: .98rem;
  line-height: 1.7;
}

.activity-stories .story-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #0b3418;
  font-weight: 900;
  text-decoration: none;
}

.activity-stories .story-link:hover {
  color: #c66700;
}

.activity-stories .activity-widgets {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 920px;
  margin: 22px auto 0;
}

.activity-stories .activity-widgets article {
  padding: 18px 20px;
  background: rgba(255, 255, 255, .76);
  border: 1px solid rgba(20, 79, 38, .14);
  border-radius: 16px;
  box-shadow: 0 16px 34px rgba(38, 55, 25, .06);
}

.activity-stories .activity-widgets strong {
  color: #0a3218;
  font-size: 1.1rem;
}

.activity-stories .activity-widgets span {
  color: #52614c;
}

@media (max-width: 860px) {
  .activity-stories .activity-panel.active,
  .activity-stories .activity-widgets {
    grid-template-columns: 1fr;
  }

  .activity-stories .activity-story-card {
    border-right: 0;
    border-bottom: 1px solid rgba(20, 79, 38, .14);
  }

  .activity-stories .activity-story-card:last-child {
    border-bottom: 0;
  }

  .activity-stories .activity-tabs {
    max-width: 520px;
  }
}

@media (max-width: 520px) {
  .activity-stories .activity-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 100%;
  }

  .activity-stories .activity-tabs button {
    width: 100%;
    padding: 10px 8px;
  }

  .activity-stories .activity-story-card img {
    height: 210px;
  }
}

/* Final library redesign: cleaner media hub without repeated bulky controls. */
.library-masthead.library-home-hero {
  max-width: 1180px;
  margin: 28px auto 0;
  padding: clamp(18px, 3vw, 34px);
  grid-template-columns: minmax(0, .95fr) minmax(320px, .72fr);
  align-items: stretch;
  gap: clamp(18px, 3vw, 34px);
  background:
    linear-gradient(135deg, rgba(4, 62, 30, .98), rgba(11, 78, 39, .94)),
    #063e20;
  border: 1px solid rgba(251, 186, 49, .18);
  border-radius: 20px;
  box-shadow: 0 22px 52px rgba(20, 42, 28, .13);
}

.library-home-hero > div {
  align-self: center;
  padding: clamp(6px, 1.5vw, 18px);
}

.library-home-hero h1 {
  max-width: 720px;
  margin: 10px 0 12px;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  letter-spacing: 0;
}

.library-home-hero p {
  max-width: 640px;
  font-size: 1.04rem;
  line-height: 1.7;
}

.library-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.library-hero-actions .btn {
  box-shadow: none;
}

.library-hero-actions .ghost {
  background: rgba(255, 255, 255, .1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .22);
}

.library-home-hero figure {
  position: relative;
  min-height: 300px;
  margin: 0;
  overflow: hidden;
  border-radius: 16px;
  background: rgba(255, 255, 255, .08);
}

.library-home-hero figure img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  display: block;
}

.library-home-hero figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(4, 34, 18, .78);
  color: #fff;
  font-size: .86rem;
  font-weight: 800;
}

.library-masthead.library-sub-hero {
  max-width: 1180px;
  margin: 22px auto 0;
  padding: clamp(18px, 3vw, 30px);
  display: block;
  border-radius: 18px;
}

.library-sub-hero h1 {
  font-size: clamp(2.1rem, 4vw, 3.45rem);
}

.library-home-grid {
  max-width: 1180px;
  padding: 24px var(--page-x) 18px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.library-home-grid .library-home-card {
  grid-column: span 2;
  min-height: 0;
  display: grid;
  grid-template-rows: 168px 1fr;
  padding: 0;
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(20, 79, 38, .14);
  box-shadow: 0 18px 42px rgba(38, 55, 25, .08);
}

.library-home-grid .library-home-card:nth-child(1),
.library-home-grid .library-home-card:nth-child(2) {
  grid-column: span 3;
  grid-template-rows: 230px 1fr;
}

.library-home-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.library-home-card > div {
  padding: 20px;
}

.library-home-card span {
  width: auto;
  height: auto;
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: #f8ebd8;
  color: #c66700;
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.library-home-card h2 {
  margin: 14px 0 8px;
  color: #102f14;
  font-size: clamp(1.22rem, 1.8vw, 1.7rem);
}

.library-home-card p {
  min-height: 0;
  color: #4a5946;
  font-size: .96rem;
  line-height: 1.62;
}

.library-home-card strong {
  display: inline-flex;
  margin-top: 6px;
  color: #0b3d1d;
  font-size: .88rem;
}

.library-feature-row {
  max-width: 1180px;
  gap: 16px;
}

.library-feature-row article {
  min-height: 190px;
  padding: clamp(22px, 3vw, 34px);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(6, 62, 32, .98), rgba(14, 86, 44, .96)),
    #063e20;
  box-shadow: 0 18px 42px rgba(38, 55, 25, .08);
}

.library-feature-row article:nth-child(2) {
  background: #fff;
}

.library-feature-row h2 {
  color: inherit;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
}

@media (max-width: 900px) {
  .library-masthead.library-home-hero {
    grid-template-columns: 1fr;
  }

  .library-home-grid,
  .library-home-grid .library-home-card,
  .library-home-grid .library-home-card:nth-child(1),
  .library-home-grid .library-home-card:nth-child(2) {
    grid-column: auto;
  }

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

@media (max-width: 560px) {
  .library-masthead.library-home-hero {
    margin: 16px 14px 0;
    padding: 16px;
  }

  .library-home-hero figure,
  .library-home-hero figure img {
    min-height: 220px;
  }

  .library-home-grid {
    grid-template-columns: 1fr;
    padding-inline: 14px;
  }

  .library-home-grid .library-home-card,
  .library-home-grid .library-home-card:nth-child(1),
  .library-home-grid .library-home-card:nth-child(2) {
    grid-template-rows: 190px 1fr;
  }
}

/* Blog redesign */
.blog-hero {
  max-width: 1180px;
  margin: 28px auto 0;
  padding: 0 var(--page-x);
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(360px, .62fr);
  gap: 20px;
  align-items: stretch;
}

.blog-hero > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 360px;
  padding: clamp(26px, 4vw, 48px);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(4, 62, 30, .98), rgba(12, 86, 43, .93)),
    #063e20;
  color: #fff;
  box-shadow: 0 22px 52px rgba(20, 42, 28, .13);
}

.blog-hero h1 {
  max-width: 680px;
  margin: 12px 0 14px;
  color: #fff;
  font-size: clamp(2.35rem, 5vw, 4.8rem);
  line-height: .98;
  letter-spacing: 0;
}

.blog-hero p {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, .84);
  font-size: 1.04rem;
  line-height: 1.72;
}

.blog-hero article {
  display: grid;
  grid-template-rows: 1fr auto;
  overflow: hidden;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(20, 79, 38, .14);
  box-shadow: 0 18px 42px rgba(38, 55, 25, .08);
}

.blog-hero article img {
  width: 100%;
  height: 100%;
  min-height: 230px;
  object-fit: cover;
}

.blog-hero article div {
  padding: 22px;
}

.blog-hero article span,
.blog-grid article p {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #f8ebd8;
  color: #c66700;
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.blog-hero article h2 {
  margin: 0 0 8px;
  color: #102f14;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 1.08;
}

.blog-hero article p {
  color: #53604f;
  font-size: .94rem;
}

.post-list.blog-grid {
  max-width: 1180px;
  margin: 0 auto;
  padding: 22px var(--page-x) var(--section-y);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.blog-grid article {
  min-width: 0;
  overflow: hidden;
  padding: 0;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(20, 79, 38, .14);
  box-shadow: 0 16px 36px rgba(38, 55, 25, .07);
  transition: transform .18s ease, box-shadow .18s ease;
}

.blog-grid article:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 44px rgba(38, 55, 25, .11);
}

.blog-grid article img {
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.blog-grid article div {
  padding: 18px;
}

.blog-grid article h2 {
  margin: 0 0 10px;
  color: #102f14;
  font-size: 1.18rem;
  line-height: 1.16;
}

.blog-grid article span {
  display: block;
  color: #566451;
  font-size: .9rem;
}

.blog-grid article a {
  display: inline-flex;
  margin-top: 18px;
  color: #0b3d1d;
  font-weight: 900;
  text-decoration: none;
}

.blog-grid article a:hover {
  color: #c66700;
}

@media (max-width: 980px) {
  .blog-hero {
    grid-template-columns: 1fr;
  }

  .blog-hero > div {
    min-height: 280px;
  }

  .post-list.blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .blog-hero {
    padding-inline: 14px;
  }

  .blog-hero > div {
    min-height: 0;
    padding: 24px 18px;
  }

  .post-list.blog-grid {
    grid-template-columns: 1fr;
    padding-inline: 14px;
  }
}

/* Photo library gallery refinement */
.gallery-intro {
  max-width: 1180px;
  margin: 24px auto 0;
  padding: clamp(24px, 4vw, 44px) var(--page-x);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(4, 62, 30, .98), rgba(11, 78, 39, .94)),
    #063e20;
  color: #fff;
  box-shadow: 0 22px 52px rgba(20, 42, 28, .12);
}

.gallery-intro h1 {
  max-width: 760px;
  margin: 10px 0 12px;
  color: #fff;
  font-size: clamp(2.2rem, 4.8vw, 4rem);
  line-height: 1;
}

.gallery-intro p:not(.eyebrow) {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, .84);
  font-size: 1.04rem;
  line-height: 1.7;
}

.gallery {
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px var(--page-x) var(--section-y);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.gallery button {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(38, 55, 25, .08);
}

.gallery button:nth-child(1),
.gallery button:nth-child(10) {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery img {
  width: 100%;
  height: 220px;
  border-radius: 16px;
  object-fit: cover;
  transition: transform .22s ease, filter .22s ease;
}

.gallery button:nth-child(1) img,
.gallery button:nth-child(10) img {
  height: 454px;
}

.gallery button:hover img {
  transform: scale(1.035);
  filter: saturate(1.08);
}

@media (max-width: 980px) {
  .social-feed {
    grid-template-columns: 1fr;
  }

  .social-feed-grid {
    grid-template-columns: 1fr;
  }

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

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

  .gallery button:nth-child(1),
  .gallery button:nth-child(10) {
    grid-column: span 2;
  }
}

@media (max-width: 560px) {
  .social-feed {
    margin-inline: 14px;
    padding: 24px 16px;
    border-radius: 14px;
  }

  .facebook-frame {
    min-height: 430px;
  }

  .facebook-frame iframe,
  .instagram-frame iframe {
    min-height: 500px;
  }

  .social-tab-grid {
    grid-template-columns: 1fr;
  }

  .social-tab {
    aspect-ratio: auto;
    min-height: 260px;
  }

  .gallery-intro {
    margin: 16px 14px 0;
    padding: 24px 18px;
  }

  .gallery {
    grid-template-columns: 1fr;
    padding-inline: 14px;
  }

  .gallery button:nth-child(1),
  .gallery button:nth-child(10) {
    grid-column: auto;
    grid-row: auto;
  }

  .gallery img,
  .gallery button:nth-child(1) img,
  .gallery button:nth-child(10) img {
    height: 235px;
  }
}

/* Final blog card layout matching the SDG-style records. */
.blog-head {
  max-width: 1180px;
  margin: 28px auto 0;
  padding: 34px var(--page-x) 10px;
}

.blog-head h1 {
  margin: 8px 0 8px;
  color: #0b3767;
  font-size: clamp(2.35rem, 5vw, 4.4rem);
  line-height: 1;
}

.blog-head p:not(.eyebrow) {
  max-width: 680px;
  margin: 0;
  color: #59645a;
  font-size: 1.02rem;
}

.post-list.blog-grid.blog-record-grid {
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px var(--page-x) var(--section-y);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.blog-record-grid article {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(20, 79, 38, .14);
  box-shadow: 0 18px 42px rgba(38, 55, 25, .07);
  transition: transform .18s ease, box-shadow .18s ease;
}

.blog-record-grid article:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 50px rgba(38, 55, 25, .1);
}

.blog-record-grid article img {
  display: none;
}

.blog-record-grid .blog-card-body {
  flex: 1;
  padding: clamp(22px, 3vw, 30px);
}

.blog-record-grid h2 {
  margin: 0 0 14px;
  color: #0b3767;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  line-height: 1.22;
}

.blog-record-grid .blog-card-body > p {
  margin: 0;
  color: #59645a;
  font-size: 1rem;
  line-height: 1.65;
}

.blog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.blog-tags span,
.blog-grid.blog-record-grid article p {
  display: inline-flex;
  width: fit-content;
  margin: 0;
  padding: 7px 11px;
  border-radius: 999px;
  background: #eaf3e8;
  color: #043e20;
  font-size: .84rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: none;
}

.blog-record-grid footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 clamp(22px, 3vw, 30px) clamp(22px, 3vw, 28px);
}

.blog-record-grid footer a {
  color: #d46900;
  font-size: 1.02rem;
  font-weight: 900;
  text-decoration: none;
}

.blog-record-grid footer a:hover {
  color: #0b3767;
}

.blog-record-grid footer span {
  color: #516055;
  font-size: .92rem;
  font-weight: 800;
  text-align: right;
}

@media (max-width: 780px) {
  .post-list.blog-grid.blog-record-grid {
    grid-template-columns: 1fr;
  }

  .blog-record-grid article {
    min-height: 0;
  }
}

@media (max-width: 520px) {
  .blog-head {
    padding-inline: 14px;
  }

  .post-list.blog-grid.blog-record-grid {
    padding-inline: 14px;
  }

  .blog-record-grid footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .blog-record-grid footer span {
    text-align: left;
  }
}

/* Final homepage hero: full image behind centered words, matching the requested reference. */
body:has(.home-landing) .home-landing {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 100vh !important;
  padding: clamp(118px, 16vh, 172px) var(--page-x) clamp(72px, 10vh, 112px) !important;
  text-align: center !important;
}

body:has(.home-landing) .hero-inner {
  display: block !important;
  width: min(100%, 1080px) !important;
  max-width: 1080px !important;
  margin: 0 auto !important;
}

body:has(.home-landing) .home-landing .hero-copy {
  width: 100% !important;
  max-width: 1080px !important;
  margin: 0 auto !important;
  text-align: center !important;
}

body:has(.home-landing) .home-landing h1 {
  width: 100% !important;
  max-width: 1040px !important;
  margin: 24px auto 18px !important;
  font-size: clamp(43px, 6.7vw, 87px) !important;
  line-height: .98 !important;
  text-align: center !important;
}

body:has(.home-landing) .home-landing p {
  max-width: 780px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
}

body:has(.home-landing) .home-landing .hero-actions,
body:has(.home-landing) .hero-dots {
  justify-content: center !important;
}

body:has(.home-landing) .hero-slideshow img {
  object-position: var(--hero-position, center 58%) !important;
  transform: scale(1.12) !important;
  filter: saturate(1.08) contrast(1.04) brightness(1.06) !important;
  animation-delay: calc(var(--slide-index) * -6s) !important;
}

body:has(.home-landing) .home-landing::after {
  background:
    linear-gradient(rgba(0, 0, 0, .34), rgba(0, 0, 0, .44)),
    linear-gradient(90deg, rgba(2, 18, 10, .14), rgba(2, 18, 10, .04)) !important;
}

body:has(.home-landing) .hero-photo-stack,
body:has(.home-landing) .landing-steps {
  display: none !important;
}

@media (max-width: 720px) {
  body:has(.home-landing) .home-landing {
    min-height: 86vh !important;
    padding-top: 108px !important;
    padding-bottom: 58px !important;
  }

  body:has(.home-landing) .home-landing h1 {
    font-size: clamp(38px, 12vw, 58px) !important;
  }
}

.page-home .topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  border-bottom: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .5), rgba(0, 0, 0, 0));
  box-shadow: none;
}

.page-home .brand strong,
.page-home .site-nav a,
.page-home .site-nav button {
  color: #fff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .42);
}

.page-home .brand em {
  color: #f4ba41;
}

.page-home .site-nav a.active,
.page-home .site-nav a:hover,
.page-home .site-nav button:hover,
.page-home .site-nav button.active-parent {
  background: #f4ba41;
  color: #12361f;
  text-shadow: none;
}

.page-home .home-landing {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 100vh !important;
  padding: clamp(118px, 16vh, 172px) var(--page-x) clamp(72px, 10vh, 112px) !important;
  background-image:
    linear-gradient(rgba(0, 0, 0, .28), rgba(0, 0, 0, .38)),
    var(--hero-image) !important;
  background-position: center 58% !important;
  background-size: cover !important;
  text-align: center !important;
}

.page-home .hero-slideshow {
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

.page-home .hero-inner {
  position: absolute !important;
  top: 52% !important;
  left: 50% !important;
  z-index: 2 !important;
  display: block !important;
  width: min(92vw, 1040px) !important;
  max-width: 1040px !important;
  margin: 0 !important;
  transform: translate(-50%, -50%) !important;
}

.page-home .home-landing .hero-copy {
  width: 100% !important;
  max-width: 1080px !important;
  margin: 0 auto !important;
  text-align: center !important;
}

.page-home .home-landing h1 {
  width: 100% !important;
  max-width: 1040px !important;
  margin: 24px auto 18px !important;
  font-size: clamp(43px, 6.7vw, 87px) !important;
  line-height: .98 !important;
  text-align: center !important;
}

.page-home .home-landing p {
  max-width: 780px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
}

.page-home .home-landing .hero-actions,
.page-home .hero-dots {
  justify-content: center !important;
}

body.page-home .home-landing .hero-slideshow img {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  object-position: var(--hero-position, center 52%) !important;
  transform: scale(1.12) !important;
  filter: saturate(1.03) contrast(1.02) brightness(.84) !important;
  animation-delay: calc(var(--slide-index) * -6s) !important;
}

body.page-home .home-landing::after {
  background:
    linear-gradient(rgba(0, 0, 0, .44), rgba(0, 0, 0, .56)),
    linear-gradient(90deg, rgba(2, 18, 10, .24), rgba(2, 18, 10, .10)) !important;
}

.page-home .site-nav .has-menu ul {
  background: rgba(255, 255, 255, .98) !important;
  border: 1px solid rgba(18, 54, 31, .14) !important;
  box-shadow: 0 24px 58px rgba(0, 0, 0, .24) !important;
}

.page-home .site-nav .has-menu ul a,
.page-home .site-nav .has-menu ul a:visited {
  display: block !important;
  color: #12361f !important;
  background: transparent !important;
  text-shadow: none !important;
}

.page-home .site-nav .has-menu ul a:hover,
.page-home .site-nav .has-menu ul a:focus {
  background: rgba(244, 186, 65, .20) !important;
  color: #0b2b18 !important;
}

.page-home .hero-photo-stack,
.page-home .landing-steps {
  display: none !important;
}

@media (max-width: 980px) {
  .page-home .site-nav {
    background: rgba(8, 41, 25, .96);
    border-bottom-color: rgba(255, 255, 255, .12);
  }
}

@media (max-width: 720px) {
  .page-home .home-landing {
    min-height: 86vh !important;
    padding-top: 108px !important;
    padding-bottom: 58px !important;
  }

  .page-home .home-landing h1 {
    font-size: clamp(38px, 12vw, 58px) !important;
  }
}

/* Production hardening/accessibility additions */
.skip-link{position:fixed;left:12px;top:12px;z-index:99999;padding:10px 14px;background:#fff;color:#0f315f;border-radius:8px;transform:translateY(-160%);box-shadow:0 8px 24px rgba(0,0,0,.2)}.skip-link:focus{transform:translateY(0)}
.hp-field{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}.form label{display:block;font-weight:800;margin:10px 0 5px}.form input,.form textarea,.form select{width:100%;box-sizing:border-box}.form-status{padding:10px 12px;border-radius:8px;background:#e5f6e9;color:#155f2b;font-weight:700}.form-status.error{background:#ffe7e7;color:#8b1d1d}.modal-open{overflow:hidden}.blog-article{max-width:900px;margin-left:auto;margin-right:auto}.blog-article>img{width:100%;max-height:520px;object-fit:cover;border-radius:16px;margin:12px 0 20px}.shop-grid:empty::after{content:'No products are currently published. Please contact Flamingo Rovers for current availability.';display:block;padding:24px;border:1px dashed #cfd9d1;border-radius:14px;color:#65736b}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important}.hero-slideshow img{animation:none!important}}


/* Footer administration shortcut */
.footer-copyright {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-manage-link {
  color: rgba(255, 255, 255, .82);
  text-decoration: none;
  font-weight: 700;
  padding-left: 8px;
  border-left: 1px solid rgba(255, 255, 255, .28);
}

.footer-manage-link:hover,
.footer-manage-link:focus-visible {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 2026-09-06 final consistency: one typeface across the public website. */
html,
body,
button,
input,
select,
textarea,
optgroup,
option {
  font-family: "Instrument Sans", "Segoe UI", Arial, sans-serif !important;
}

h1, h2, h3, h4, h5, h6,
.brand,
.site-nav,
.btn,
.eyebrow {
  font-family: "Instrument Sans", "Segoe UI", Arial, sans-serif !important;
}

/* Social feeds: give embeds more breathing room without becoming oversized. */
.social-tabs-section {
  max-width: 1480px;
  margin-inline: auto;
  padding-inline: clamp(18px, 4vw, 54px);
}

.social-tab-grid {
  gap: clamp(16px, 1.7vw, 24px);
}

.social-tab {
  aspect-ratio: auto;
  min-height: 390px;
  padding: 16px;
  gap: 12px;
}

.social-tab strong {
  font-size: 1.02rem;
}

.social-tab p {
  font-size: .82rem;
  line-height: 1.45;
}

.social-preview {
  height: 220px;
  min-height: 220px;
}

.social-preview iframe {
  width: 100% !important;
  height: 100% !important;
}

.x-preview {
  min-height: 220px;
  padding: 12px;
}

.social-open {
  font-size: .8rem;
}

@media (max-width: 1180px) {
  .social-tab-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .social-tab-grid {
    grid-template-columns: 1fr;
  }

  .social-tab {
    min-height: 370px;
  }

  .social-preview,
  .x-preview {
    height: 210px;
    min-height: 210px;
  }
}
