/* The disclosure action is an actual layout row; its icon never floats over text. */
#services .service-panel { overflow: hidden; }
#services .service-panel.expertise-animating { will-change: height; transition-property: border-color, box-shadow, background-color; }
#services .service-panel .service-content { animation: none; }
#services .service-panel summary .service-disclosure {
  grid-column: 2 / -1;
  grid-row: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  margin-block-start: 15px;
  padding-block-start: 13px;
  border-block-start: 1px solid #b49a6c55;
  min-height: 48px;
  color: #9a7c3e;
}
#services .service-panel summary .service-open-label {
  display: block;
  width: auto;
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: 0;
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: inherit;
  letter-spacing: .1px;
}
#services .service-panel summary .plus {
  position: static;
  inset: auto;
  display: grid;
  place-items: center;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  padding: 0;
  margin: 0;
  border: 1px solid #b49a6c80;
  border-radius: 50%;
  color: inherit;
  background: transparent;
  transform: none;
  transition: background-color .35s, border-color .35s;
}
#services .service-panel summary .plus svg {
  display: block;
  width: 18px;
  height: 18px;
  transform: rotate(0);
  transition: transform .5s cubic-bezier(.22,1,.36,1);
}
#services .service-panel.expertise-expanded summary .plus svg { transform: rotate(45deg); }
#services .service-panel.expertise-expanded summary .service-disclosure { color: #e7cc98; }
#services .service-panel summary:hover .plus { background: #c2a36b16; border-color: #c2a36b; }
#services .service-panel summary:focus-visible { outline: 2px solid var(--gold); outline-offset: -5px; }
@media (max-width: 700px) {
  /* Keep the photograph stable while the content underneath opens. */
  #services .service-panel summary,
  #services .service-panel[open] summary { height: clamp(500px,76svh,680px); }
  #services .service-panel summary .service-disclosure { margin-block-start: 0; flex-shrink: 0; color: #e7cc98; }
  #services .service-panel summary .service-open-label { font-size: 12px; }
  #services .service-panel summary .plus { flex-basis: 38px; width: 38px; height: 38px; }
  #services .service-panel .service-content { padding: 30px 7vw 38px; }
}
@media (prefers-reduced-motion: reduce) {
  #services .service-panel summary .plus svg { transition: none; }
}
body.motion-off #services .service-panel summary .plus svg { transition: none; }

/* Reveal the actual text as it enters the screen, rather than its tall panel. */
#services .service-panel summary .service-icon,
#services .service-panel summary h3,
#services .service-panel summary p { opacity: 1; translate: none; }
#services .service-panel summary .expertise-waiting { opacity: 0; transform: translate3d(0,24px,0); }
@media (prefers-reduced-motion: reduce) {
  #services .service-panel summary .expertise-waiting { opacity: 1; transform: none; }
}
body.motion-off #services .service-panel summary .expertise-waiting { opacity: 1; transform: none; }
