.home-page #services { background: var(--paper); color: #19332c; }
.home-page #services.services-overview { display: flex; flex-direction: column; gap: 20px; min-height: 100svh; padding: 0; height: auto; max-height: none; overflow: visible; }
.services-hero { position: relative; isolation: isolate; display: flex; align-items: center; min-height: 300px; padding: 26px var(--page-gutter, 5vw); }
.services-hero-image { position: absolute; z-index: -2; inset: 0 0 0 auto; width: 65%; height: 100%; object-fit: cover; object-position: center; }
.services-hero::after { position: absolute; z-index: -1; inset: 0; content: ""; background: var(--paper); clip-path: polygon(0 0, 43% 0, 58% 100%, 0 100%); }
.services-hero::before { position: absolute; z-index: 1; inset: auto 0 0; height: 1px; content: ""; background: #adb6aa; pointer-events: none; }
.services-hero-copy { width: 46%; }
.services-eyebrow { margin: 0 0 9px; font-size: .65rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #52674f; }
.home-page #services .services-eyebrow { display: block; min-height: 0; line-height: 1.2; }
.home-page #services .services-eyebrow::before, .home-page #services .services-eyebrow::after { content: none; }
.services-hero h2 { margin: 0 0 12px; font: 400 clamp(2rem, 3vw, 3.1rem)/1.04 Georgia, "Times New Roman", serif; letter-spacing: -.035em; }
.services-introduction { max-width: 440px; margin: 0 0 14px; font-size: .85rem; line-height: 1.4; }
.services-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 20px; }
.services-actions a { display: inline-flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 40px; font-size: .75rem; font-weight: 600; text-decoration: none; }
.services-primary-link { padding: 9px 18px; border-radius: 999px; color: #fff; background: #52674f; }
.services-primary-link:hover { background: #19332c; }
.services-consult-link { color: #19332c; border-bottom: 1px solid #b4beaa; }
.services-directory { display: flex; flex-direction: column; flex: 1; gap: 14px; padding: 0 var(--page-gutter, 5vw) 24px; scroll-margin-top: 90px; }
.services-directory-heading h3 { margin: 0 0 7px; font: 400 clamp(1.7rem, 2.3vw, 2.3rem)/1.1 Georgia, "Times New Roman", serif; letter-spacing: -.025em; }
.services-directory-heading p { margin: 0; font-size: .85rem; line-height: 1.4; }
.services-card-grid { display: grid; flex: 1; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(min-content, 1fr)); gap: 16px; }
.services-card { display: grid; grid-template-columns: 30% minmax(0, 1fr); min-width: 0; padding: 0; border: 1px solid transparent; border-radius: 7px; overflow: hidden; color: inherit; text-decoration: none; background: var(--paper); box-shadow: 0 3px 12px rgba(25,51,44,.07); transition: background .2s, border-color .2s; }
.services-card > img { width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.services-card-copy { display: flex; flex-direction: column; padding: 10px 16px; min-width: 0; }
.services-card h4 { margin: 0 0 8px; font: 400 clamp(1.15rem, 1.5vw, 1.5rem)/1.1 Georgia, "Times New Roman", serif; letter-spacing: -.025em; }
.services-card p { margin: 0 0 7px; font-size: .8rem; line-height: 1.35; }
.services-card .services-card-tagline { margin-bottom: 7px; font-size: .8rem; font-weight: 600; }
.services-card ul { display: grid; gap: 3px; margin: 0 0 10px; padding: 0; list-style: none; }
.services-card li { position: relative; padding-left: 14px; font-size: .75rem; line-height: 1.3; }
.services-card li::before { position: absolute; top: .35em; left: 0; width: 6px; height: 9px; content: ""; background: #7a8956; border-radius: 6px 0 6px 0; transform: rotate(25deg); }
.services-card-destination { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-top: auto; color: #52674f; font-size: .75rem; font-weight: 700; }
.services-card-destination > span { display: grid; place-items: center; flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%; background: #60734a; color: #fff; font-size: 1rem; }
.services-card:hover { background: #e0e7d6; border-color: #60734a; }
.services-card:hover .services-card-destination > span { background: #19332c; }
.services-card:focus-visible, .services-actions a:focus-visible { outline: 3px solid #52674f; outline-offset: 3px; }
@media (min-width: 761px) {
  .home-page #services.services-overview { height: auto; min-height: 100svh; gap: 16px; }
  .services-hero { flex: 0 0 auto; min-height: 0; padding-block: 20px; }
  .services-hero h2 { font-size: clamp(2rem, 4.6svh, 3.1rem); }
}
@media (min-width: 1100px) and (min-height: 800px) {
  .home-page #services.services-overview { height: 100svh; }
  .services-hero { flex: 0 0 29%; }
  .services-directory, .services-card-grid { min-height: 0; }
  .services-card-grid { grid-template-rows: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1099px) {
  .services-hero-copy { width: 50%; }
  .services-hero::after { clip-path: polygon(0 0, 48% 0, 62% 100%, 0 100%); }
  .services-card { grid-template-columns: 26% minmax(0, 1fr); }
  .services-card-grid { grid-template-rows: auto; }
}
@media (max-width: 760px) {
  .home-page #services.services-overview { gap: 28px; height: auto; }
  .services-hero { min-height: 0; padding: 30px 20px 200px; }
  .services-hero-image { inset: auto 0 0; width: 100%; height: 200px; }
  .services-hero::after { clip-path: none; background: linear-gradient(var(--paper) calc(100% - 210px), transparent calc(100% - 180px)); }
  .services-hero-copy { width: 100%; }
  .services-hero h2 { font-size: clamp(2rem, 7vw, 2.8rem); }
  .services-introduction { font-size: 1rem; }
  .services-directory { padding: 0 20px 32px; }
  .services-directory-heading p { font-size: 1rem; }
  .services-card-grid { grid-template-columns: 1fr; }
  .services-card { grid-template-columns: 27% minmax(0, 1fr); }
  .services-card-copy { padding: 16px 14px; }
  .services-card h4 { font-size: 1.35rem; }
  .services-card p, .services-card li { font-size: .9rem; line-height: 1.4; }
  .services-card .services-card-tagline, .services-card-destination { font-size: .85rem; }
}
@media (prefers-reduced-motion: reduce) { .services-card { transition: none; } }

@media (max-width: 760px) {
  .home-page #services details.services-card-disclosure { display: block; }
  .home-page #services details.services-card-disclosure > img { display: none; }
  .home-page #services:has(.services-card-disclosure) .services-card-grid { flex: 0 0 auto; grid-template-rows: auto; align-items: start; }
  .services-card-disclosure > summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 14px; list-style: none; cursor: pointer; }
  .services-card-disclosure > summary::-webkit-details-marker { display: none; }
  .services-card-disclosure > summary::after { content: ""; width: 10px; height: 10px; flex: 0 0 10px; border-right: 2px solid #60734a; border-bottom: 2px solid #60734a; transform: rotate(45deg); }
  .services-card-disclosure[open] > summary::after { transform: rotate(225deg); }
  .services-card-disclosure > summary:focus-visible { outline: 2px solid #60734a; outline-offset: -3px; }
  .services-card-disclosure > summary .services-card-tagline { margin-bottom: 0; }
  .services-card-disclosure .services-card-copy { padding-top: 0; }
  .services-card-disclosure a.services-card-destination { text-decoration: none; }
  .services-card-disclosure a.services-card-destination:focus-visible { outline: 2px solid #60734a; outline-offset: 3px; }
}

@media (min-width: 761px) {
  .home-page #services.services-overview { height: 100svh; min-height: 0; scroll-margin-top: 0; }
  .services-directory, .services-card-grid { min-height: 0; }
  .services-card-grid { grid-template-rows: repeat(2, minmax(min-content, 1fr)); }
}
@media (min-width: 761px) and (max-height: 799px) {
  .home-page #services.services-overview { gap: 10px; }
  .services-hero { padding-block: 12px; }
  .services-hero h2 { font-size: 2rem; margin-bottom: 6px; }
  .services-directory { gap: 10px; padding-bottom: 16px; }
  .services-directory-heading h3 { font-size: 1.7rem; }
  .services-card-grid { gap: 10px; }
  .services-card { grid-template-columns: 1fr; }
  .services-card > img { display: none; }
  .services-card h4 { font-size: 1.15rem; margin-bottom: 5px; }
  .services-card-copy { padding: 6px 14px; }
  .services-card p, .services-card .services-card-tagline { margin-bottom: 4px; font-size: .75rem; line-height: 1.3; }
  .services-card ul { gap: 2px; margin-bottom: 6px; }
  .services-card li { font-size: .75rem; line-height: 1.2; }
  .services-card-destination > span { width: 24px; height: 24px; flex-basis: 24px; }
}

@media (max-width: 760px) {
  .home-page #services .services-card { grid-template-columns: minmax(0, 1fr); }
  .home-page #services .services-card > img { display: none; }
}
