.site-header { background: #faf8f1; }
.site-header .header-inner { width: min(1380px, calc(100% - 48px)); min-height: 71px; }
.site-header .brand { font-size: clamp(1.35rem, 2.65vw, 2.5rem); color: #071410; }
.wordmark-green { color: #07642b; }
.site-header .main-nav a { color: #101615; }
.site-header .main-nav a[aria-current="page"] { color: #065529; box-shadow: 0 3px #086629; }
.site-header .header-search { position: relative; flex: 0 0 auto; }
.header-search summary { list-style: none; cursor: pointer; padding: 12px; }
.header-search summary::-webkit-details-marker { display: none; }
.search-icon { display: block; width: 19px; height: 19px; border: 2px solid; border-radius: 50%; position: relative; }
.search-icon::after { content: ""; position: absolute; width: 8px; height: 2px; background: currentColor; transform: rotate(45deg); right: -6px; bottom: -3px; }
.subscribe-link { background: #086329; color: white; border-radius: 8px; padding: 8px 24px; font-weight: 750; }
.subscribe-link:hover { background: #064923; color: white; }
.hero { padding: 32px 0 26px; background: radial-gradient(ellipse at -4% 120%, #6ab568 0 11%, #bfdda9 11.2% 18%, transparent 18.2%), #f9f5ea; }
.hero .hero-grid { width: min(1370px, calc(100% - 48px)); grid-template-columns: minmax(0, 41fr) minmax(0, 59fr); gap: clamp(24px, 4vw, 62px); }
.hero h1 { color: #052619; font-size: clamp(2.4rem, 4.45vw, 4.2rem); line-height: .98; letter-spacing: -.045em; margin: 0 0 30px; }
.hero-grid > div:first-child > p { font-size: clamp(1rem, 1.4vw, 1.28rem); color: #18211e; line-height: 1.4; }
.hero-grid > div:first-child > .btn { background: #086329; border-radius: 15px; margin-top: 8px; padding: 12px 27px; font-size: 1.05rem; }
.hero-card { position: relative; min-height: 0; background: #073d25; box-shadow: none; border-radius: 19px; }
.hero-card:after { content: none; }
.hero-card .hero-image { width: 100%; aspect-ratio: 2.83; object-fit: cover; }
.hero-card-copy { position: static; padding: 16px clamp(18px, 3vw, 40px) 20px; }
.hero-card-copy .featured-badge { position: absolute; top: 20px; left: 24px; background: #ffbf24; }
.hero-card h2 { margin: 0 0 10px; font-size: clamp(1.35rem, 2.45vw, 2.2rem); }
.hero-card .btn-light { float: right; background: transparent; color: #ffc629; padding: 0; }
.reference-photo { background-image: url('reference-photos.webp'); background-repeat: no-repeat; }
.hero-card .reference-photo-hero { aspect-ratio: 3.75; background-size: 189% auto; background-position: 91.7% 20%; }
.latest-section { background: #faf9f4; padding-top: 14px; }
.latest-section > .container { width: min(1400px, calc(100% - 48px)); }
.latest-section .section-head { border: 0; padding: 0; align-items: center; }
.latest-section .section-head::after { content: ""; height: 1px; background: #97aaa8; flex: 1; }
.latest-section .post-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 20px; }
.reference-card { background: #faf9f4; border-color: #dfded7; border-radius: 16px; }
.reference-card-media { position: relative; aspect-ratio: 2.55; }
.reference-card-image, .reference-card-media .reference-photo { width: 100%; height: 100%; object-fit: cover; }
.reference-card-media .reference-photo { background-size: 443% auto; }
.reference-photo-0 { background-position: 3.7% 81%; }
.reference-photo-1 { background-position: 34.7% 81%; }
.reference-photo-2 { background-position: 65.5% 81%; }
.reference-photo-3 { background-position: 96.3% 81%; }
.reference-category { position: absolute; bottom: 7px; left: 14px; background: #c9f4b3; padding: 2px 11px; border-radius: 8px; font-size: .85rem; font-weight: 750; }
.reference-card .post-card-body { padding: 12px 17px 15px; }
.reference-card h3 { margin: 0 0 8px; font-size: clamp(1.02rem, 1.5vw, 1.33rem); line-height: 1.15; }
.reference-card time { font-size: .88rem; }
@media (min-width: 1101px) {
  .site-header .main-nav { justify-content: center; }
  .site-header .main-nav > ul { gap: clamp(14px, 3vw, 48px); }
  .header-search .search-form { position: absolute; right: 0; top: 100%; width: 260px; background: white; }
}
@media (max-width: 1100px) {
  .site-header .subscribe-link { display: none; }
  .site-header.menu-open .subscribe-link { display: block; }
  .site-header .header-search { flex: 0 0 100%; }
  .latest-section .post-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 740px) {
  .hero .hero-grid { grid-template-columns: minmax(0,1fr); }
  .hero h1 { margin-bottom: 16px; }
  .latest-section > .container, .hero .hero-grid, .site-header .header-inner { width: calc(100% - 28px); }
}
@media (max-width: 460px) {
  .latest-section .post-grid { grid-template-columns: minmax(0,1fr); }
}
