/* Dedicated service pages use the same Georgia, sand and forest palette as the home page. */
.sd-page {
  --sd-ink: #263d30;
  --sd-secondary: #4f5f50;
  --sd-rule: #b2b6a4;
  color: #29332a;
}
.sd-page h1, .sd-page h2 { color: var(--sd-ink); }
.sd-page h1, .sd-page h2, .sd-page h3 { text-wrap: balance; }
.sd-page h2 { margin: 0 0 1.25rem; font-size: clamp(2.125rem, 4vw, 3.75rem); }
.sd-page h3 {
  font-family: Georgia, serif;
  font-size: clamp(1.5rem, 2vw, 2rem);
  line-height: 1.15;
  font-weight: 400;
  color: var(--sd-ink);
  margin: 0 0 .65rem;
}
.sd-page p { margin: 0; }
.sd-page section[id] { scroll-margin-top: 1rem; }
.sd-crumbs { font-size: .925rem; color: var(--sd-secondary); padding-block: .6rem; }
.sd-crumbs ol, .sd-related ul { list-style: none; margin: 0; padding: 0; }
.sd-crumbs ol, .sd-crumbs li { display: flex; align-items: center; }
.sd-crumbs ol { flex-wrap: wrap; gap: 0 .65rem; }
.sd-crumbs li { gap: .65rem; min-height: 2.75rem; }
.sd-crumbs li + li::before { content: ''; height: .8em; width: 1px; background: var(--sd-rule); transform: rotate(23deg); }
.sd-crumbs a,.sd-inline,.sd-call,.sd-related a { text-decoration: underline; text-underline-offset: .24em; text-decoration-thickness: 1px; }
.sd-crumbs a, .sd-call, .sd-inline { display: inline-flex; align-items: center; min-height: 2.75rem; }
.sd-intro { padding-block: 1rem 2rem; }
.sd-page h1 {
  font-size: clamp(2.55rem, 6.2vw, 5.5rem);
  line-height: 1.04;
  margin: 0;
  letter-spacing: -.055em;
  overflow-wrap: break-word;
}
.sd-page h1 em { color: #55664a; font-weight: inherit; }
.sd-brief { margin-top: 1.4rem; }
.sd-brief > p { max-width: 59ch; font-size: clamp(1.055rem, 1.45vw, 1.33rem); line-height: 1.6; }
.sd-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .3rem 1.1rem; margin-top: 1.4rem; }
.sd-call { font-size: 1rem; font-weight: 600; color: var(--sd-ink); }
.sd-jumps { display: flex; flex-wrap: wrap; gap: 0 1.35rem; padding-block: .45rem; border-block: 1px solid var(--sd-rule); }
.sd-jumps a { display: inline-flex; align-items: center; min-height: 2.75rem; font-size: .975rem; color: var(--sd-ink); font-weight: 600; }
.sd-page a:hover:not(.button):not(.sd-photo-image) { text-decoration: underline; text-underline-offset: .24em; }
.sd-content, .sd-block, .sd-closing { padding-block: clamp(2.5rem, 6.5vw, 6.5rem); }
.sd-content { display: grid; gap: 2rem; align-items: start; }
.sd-steps { list-style: none; counter-reset: sd-step; padding: 0; margin: 0; }
.sd-steps li { counter-increment: sd-step; position: relative; border-top: 1px solid var(--sd-rule); padding: 1.4rem 0 1.6rem 2.1rem; }
.sd-steps li:last-child { padding-bottom: 0; }
.sd-steps li::before {
  content: counter(sd-step, decimal-leading-zero);
  position: absolute;
  top: 1.57rem;
  left: 0;
  font-size: .89rem;
  font-variant-numeric: tabular-nums;
  color: var(--sd-secondary);
}
.sd-aside { background: #e1e5d5; padding: clamp(1.25rem, 3.3vw, 3.5rem); }
.sd-aside h2, .sd-related h2, .sd-estimate h2 { font-size: clamp(1.85rem, 2.9vw, 2.75rem); }
.sd-aside p + p { margin-top: .9rem; }
.sd-aside section + section { border-top: 1px solid var(--sd-rule); margin-top: 1.65rem; padding-top: 1.65rem; }
.sd-projects { background: #f7f1e6; }
.sd-photos { display: grid; gap: 1.6rem; align-items: start; }
.sd-photo { margin: 0; min-width: 0; }
.sd-photo-image { display: block; width: fit-content; max-width: 100%; }
.sd-photo img { width: auto; height: auto; max-width: 100%; max-height: 32rem; }
.sd-photo figcaption { color: var(--sd-secondary); line-height: 1.5; font-size: .975rem; margin-top: .8rem; }
.sd-photo figcaption span { display: block; }
.sd-inline { color: var(--sd-ink); }
.sd-empty { max-width: 60ch; }
.sd-gallery-link { display: inline-block; max-width: 100%; margin-top: 1.3rem; padding: .8rem 1.1rem; border: 1px solid #84927e; line-height: 1.45; color: var(--sd-ink); }
.sd-gallery-link strong { font-weight: 650; }
.sd-faqs { color: #fffaf2; background: #30483a; }
.sd-faq-inner { display: grid; gap: .8rem; }
.sd-faqs h2 { color: #fffaf2; }
.sd-question { border-top: 1px solid #778878; }
.sd-question:last-child { border-bottom: 1px solid #778878; }
.sd-question summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.1rem;
  min-height: 3.25rem;
  padding-block: 1.1rem;
  list-style: none;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.45;
  cursor: pointer;
}
.sd-question summary::-webkit-details-marker { display: none; }
.sd-question summary::after { content: ''; width: .55rem; height: .55rem; border-right: 1.5px solid; border-bottom: 1.5px solid; transform: rotate(45deg); flex: none; margin-right: .5rem; }
.sd-question[open] summary::after { transform: rotate(225deg); }
.sd-question p { padding: 0 1.9rem 1.25rem 0; color: #f0eee2; max-width: 70ch; }
.sd-question summary:focus-visible { outline-color: #f2d19b; }
.sd-closing { display: grid; gap: 2.5rem; }
.sd-related ul { border-top: 1px solid var(--sd-rule); }
.sd-related li { border-bottom: 1px solid var(--sd-rule); }
.sd-related a { display: block; padding-block: .7rem; color: var(--sd-ink); }
.sd-estimate { align-self: start; }
.sd-estimate p { max-width: 54ch; margin-bottom: 1.15rem; }
@media (min-width: 701px) {
  .sd-jumps { gap: 0 2.3rem; }
  .sd-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sd-closing { grid-template-columns: 1fr 1.3fr; gap: 8%; }
}
@media (min-width: 900px) {
  .sd-intro { display: grid; grid-template-columns: 1.1fr 1fr; gap: 6%; align-items: center; padding-block: 1.6rem 3.4rem; }
  .sd-brief { margin-top: 0; border-left: 1px solid var(--sd-rule); padding-left: 8%; }
  .sd-content { grid-template-columns: minmax(0,1.2fr) minmax(0,.85fr); gap: 7%; }
  .sd-steps li { padding-left: 3.3rem; }
  .sd-faq-inner { grid-template-columns: minmax(0,.68fr) minmax(0,1.32fr); gap: 6%; }
}
@media (min-width: 1100px) {
  .sd-photos { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media print {
  .sd-jumps, .sd-actions, .sd-closing, .sd-gallery-link { display: none; }
  .sd-faqs, .sd-faqs h2, .sd-question p { background: white; color: black; }
  .sd-question > p { display: block; }
}
.sd-page .sd-reference { margin-top: 1rem; font-size: 1rem; }
