/* Expandable service descriptions. */
.service-grid { display: flex; gap: 1px; background: #bdbcb6; }
.service-grid article { flex: 1 1 0; min-width: 0; cursor: pointer; transition: flex .65s cubic-bezier(.76, 0, .24, 1), color .35s, background .35s; }
.service-grid article::after { position:absolute; z-index:2; top:1.2rem; right:1.2rem; display:grid; place-items:center; width:2.3rem; height:2.3rem; border:1px solid currentColor; border-radius:50%; color:#504d47; content:"\2197"; font-size:1rem; line-height:1; opacity:.75; pointer-events:none; transition:transform .3s ease, background .3s ease, color .3s ease; }
.service-grid article.is-open { flex: 3.1 1 0; background: #202020; color: var(--paper); }
.service-grid article.is-open::after { color:var(--paper); background:rgba(245,241,233,.14); transform:rotate(45deg); }
.service-grid article::before { opacity: .23; filter: grayscale(.35) blur(0); }
.service-grid article.is-open::before { opacity: .43; transform: scale(1.06); }
.service-grid article.is-open > span { color: #d4d3cf; }
.service-grid article.is-open p { color: #d4d3cf; }
.service-grid article:focus-visible { z-index: 1; outline: 2px solid var(--clay); outline-offset: -2px; }
.service-detail { max-height: 0; overflow: hidden; opacity: 0; transition: max-height .55s cubic-bezier(.76, 0, .24, 1), opacity .25s ease; }
.service-detail p { margin: 1.2rem 0 0 !important; max-width: 500px !important; font-size: 1rem !important; line-height: 1.65 !important; }
.service-more-toggle { display:inline-flex; align-items:center; gap:.65rem; margin-top:1.35rem; padding:.8rem 1rem; border:1px solid rgba(245,241,233,.55); border-radius:999px; background:rgba(245,241,233,.12); color:var(--paper); cursor:pointer; font:.72rem/1 var(--mono); letter-spacing:.08em; text-transform:uppercase; transition:transform .2s ease, background .2s ease, color .2s ease; }
.service-more-toggle:hover { transform:translateY(-2px); background:var(--paper); color:#202020; }
.service-more-toggle span { display:grid; place-items:center; width:1.15rem; height:1.15rem; border:1px solid currentColor; border-radius:50%; font-size:.8rem; }
.service-more { max-height:0; margin:0!important; overflow:hidden; opacity:0; transition:max-height .45s ease, margin .45s ease, opacity .25s ease; }
.service-grid article.is-open .service-detail { max-height: 285px; opacity: 1; }
.service-grid article.is-details-open { min-height: 520px; }
.service-grid article.is-details-open .service-detail { max-height: 460px; }
.service-grid article.is-details-open .service-more { max-height: 170px; margin-top:1.1rem!important; opacity:1; }

@media (max-width: 900px) { .service-grid { display: grid; } .service-grid article.is-open { min-height: 360px; } .service-grid article.is-details-open { min-height: 480px; } }
@media (max-width: 620px) { .service-grid article { min-height: 220px; } .service-grid article.is-open { min-height: 390px; } .service-grid article.is-details-open { min-height: 500px; } }
