.service-page { margin-block: clamp(1rem, 3vw, 3rem) clamp(3rem, 8vw, 7rem); }
.service-hero { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.6rem; align-items: center; padding: clamp(1.5rem, 3vw, 3.5rem) 0 clamp(2rem, 5vw, 5rem); }
.service-page h1, .service-page h2, .service-copy h3 { text-wrap: balance; overflow-wrap: anywhere; }
.service-hero h1 { margin: 1.1rem 0; }
.service-back { display: inline-flex; align-items: center; gap: .4em; min-height: 2.75rem; max-width: 100%; font-size: var(--t-small); text-underline-offset: .25em; }
.service-back:is(:hover, :focus-visible) { color: var(--orange); text-decoration: underline; }
.service-lead { font: var(--font-lede); max-width: 40ch; margin: 1.4rem 0 1.8rem; }
.service-hero-art img, .service-plates img { width: 100%; height: auto; border-radius: var(--radius-media); }
.service-hero-art img { object-fit: contain; }
.service-intro { max-width: 75ch; margin: 0 auto clamp(3rem, 9vw, 7rem); }
.service-copy { font: var(--font-body); min-width: 0; overflow-wrap: anywhere; }
.service-copy p, .service-copy ul { margin: 0 0 1.1em; }
.service-copy ul { padding-inline-start: 1.35em; }
.service-copy p:last-child { margin-bottom: 0; }
.service-copy h2 { margin: 0 0 1.3rem; }
.service-copy h3 { margin: 1.6rem 0 .5rem; }
.service-copy h3 strong { font-weight: inherit; }
.service-copy a:not(.action-link) { color: var(--ink); text-decoration: underline; text-underline-offset: .2em; }
.service-copy a:not(.action-link):is(:hover, :focus-visible) { color: var(--orange); text-decoration-thickness: .12em; }
.service-chapter { padding: calc(var(--section-space) * .72) 0; border-top: 1px solid var(--line-subtle); }
.service-chapter:not(.has-art) .service-copy { max-width: 78ch; margin: auto; }
.service-chapter.has-art { display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; gap: 1.6rem; }
.service-plates { display: grid; gap: 1.2rem; }
.service-next { border-top: 1px solid var(--line-subtle); padding-top: 2rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
@media (min-width: 47rem) {
  .service-hero { grid-template-columns: minmax(0, 1fr) minmax(0, .96fr); gap: clamp(2rem, 7vw, 7rem); }
  .service-hero-art img { max-height: 32rem; }
  .service-chapter.has-art { grid-template-columns: minmax(0, .72fr) minmax(0, 1fr); grid-template-areas: "art copy"; gap: clamp(2rem, 6vw, 6rem); }
  .service-chapter.has-art > .service-copy { grid-area: copy; }
  .service-plates { grid-area: art; }
}
@media (prefers-reduced-motion: no-preference) {
  .service-back, .service-copy a:not(.action-link) { transition: color var(--duration-interaction) var(--ease-enter); }
  .service-back .lucide { transition: transform var(--duration-interaction) var(--ease-enter); }
  .service-back:is(:hover, :focus-visible) .lucide { transform: translateX(-3px); }
  .service-hero > div { animation: service-arrive var(--duration-enter) var(--ease-enter) both; }
  .service-hero .service-hero-art { animation-delay: .12s; }
  @keyframes service-arrive { from { opacity: 0; transform: translateY(.65rem); } to { opacity: 1; transform: none; } }
}

/* Hero, overview and chapter rails share the same outer edges and column break. */
.service-page { --service-gap: clamp(1.5rem, 4vw, 4rem); }
.service-hero { align-items: end; padding-top: .75rem; }
.service-hero h1 { margin-top: 0; }
.service-hero-art img, .service-chapter-heading img { display: block; width: 100%; height: auto; max-height: none; border-radius: var(--radius-media); }
.service-overview, .service-chapter { display: grid; gap: 1.5rem; align-items: start; }
.service-overview { padding-block: clamp(1.75rem, 4vw, 3.5rem); border-top: 1px solid var(--line-subtle); }
.service-overview nav { padding: 1.25rem 1.5rem; border-radius: var(--radius-media); background: var(--surface-soft); }
.service-overview h2 { font: var(--font-card); letter-spacing: var(--track-head); margin: 0 0 .65rem; }
.service-overview ul { margin: 0; padding-left: 1.2rem; list-style: square; }
.service-overview li::marker { color: var(--orange); font-size: .7em; }
.service-overview a { display: inline-block; padding-block: .34rem; line-height: 1.35; text-underline-offset: .2em; }
.service-overview a:hover { color: var(--orange); text-decoration: underline; }
.service-chapter { scroll-margin-top: 6rem; padding-block: clamp(2.25rem, 5vw, 4.75rem); }
.service-chapter-heading { display: grid; gap: 1.4rem; min-width: 0; }
.service-chapter-heading h2 { margin: 0; }
.service-chapter:not(.has-art) .service-copy { max-width: 62ch; margin: 0; }
.service-copy > :first-child { margin-top: 0; }
.service-copy p { text-wrap: pretty; }
@media (min-width: 52rem) {
  .service-hero, .service-overview, .service-chapter { grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr); gap: var(--service-gap); }
  .service-overview nav ul { columns: 2 13rem; column-gap: 2rem; }
  .service-overview li { break-inside: avoid; }
}

.service-chapter-heading:has(img + img) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.service-chapter-heading:has(img + img) h2 { grid-column: 1 / -1; margin-bottom: .65rem; }

.service-chapter > h2, .service-related h2 {
  margin: 0;
}
.chapter-media { display: grid; gap: .75rem; align-self: start; }
.chapter-media:has(img + img) { grid-template-columns: repeat(2,minmax(0,1fr)); }
.chapter-media img { width: 100%; height: auto; border-radius: var(--radius-media); }
.service-chapter.chapter-editorial {
  grid-template-columns: minmax(0, 62ch); justify-content: center;
  padding-inline: var(--gutter); background: var(--surface-soft); border: 0; border-radius: var(--radius-media);
}
.chapter-editorial > h2 { text-align: center; }
.service-related { padding-block: calc(var(--section-space) * .75); }
.service-related ul { display: grid; padding: 0; margin: 2rem 0 0; list-style: none; gap: 0 2.5rem; }
.service-related li { display: grid; border-top: 1px solid var(--line); }
.service-related a { display: flex; gap: 1rem; align-items: center; padding: 1rem .25rem; color: var(--ink); }

.service-related img { width: clamp(3rem, 6vw, 5rem); aspect-ratio: 1; object-fit: cover; border-radius: .75rem; }
.service-related strong { font: var(--font-card); letter-spacing: var(--track-head); display: block; }
.service-related small { display: block; margin-top: .3rem; font-size: var(--t-small); color: var(--text-muted); }
.service-related .lucide { flex: none; margin-left: auto; }
@media (min-width: 52rem) {
  .service-chapter:is(.chapter-image-left,.chapter-image-right) { align-content: start; row-gap: 1.2rem; grid-template-rows: auto 1fr; }
  .chapter-image-left { grid-template-areas: "media heading" "media copy"; }
  .service-chapter.chapter-image-right { grid-template-columns: minmax(0,1.16fr) minmax(0,.84fr); grid-template-areas: "heading media" "copy media"; }
  .service-chapter:has(.chapter-media) > h2 { grid-area: heading; }
  .chapter-media { grid-area: media; }
  .service-chapter:has(.chapter-media) .service-copy { grid-area: copy; }
  .service-related ul { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (prefers-reduced-motion: no-preference) {
  .service-related a, .service-related .lucide { transition: color .2s, background .2s, transform .25s var(--ease-enter); }

}

/* Expandable chapters keep the choices together on a single reading axis. */
.service-page .service-chapter:has(.accordion) {
  grid-template-columns: minmax(0, 48rem);
  grid-template-rows: auto;
  grid-template-areas: "heading" "copy";
  justify-content: center;
  row-gap: 1.25rem;
}
.service-page .service-chapter:has(.accordion):has(.chapter-media) {
  grid-template-areas: "heading" "media" "copy";
}
.service-chapter:has(.accordion) > h2 { grid-area: heading; text-align: center; }
.service-chapter:has(.accordion) > .service-copy { grid-area: copy; width: 100%; max-width: none; }
.service-chapter:has(.accordion) .service-copy > p { max-width: 60ch; margin-inline: auto; text-align: center; }
.service-chapter:has(.accordion) .chapter-media {
  grid-area: media; width: 100%;
}

.service-chapter:has(.accordion) .chapter-media img:only-child {
  aspect-ratio: 3 / 1; object-fit: cover;
}
@media (max-width: 40rem) {
  .service-chapter:has(.accordion) .chapter-media img:only-child { aspect-ratio: 2 / 1; }
}

.service-related a {
  border-radius: .85rem; padding-inline: clamp(.55rem, 1vw, 1rem);
  margin-block: .25rem;
}
.service-related .lucide {
  box-sizing: border-box; width: 2rem; height: 2rem; padding: .46rem;
  border: 1px solid var(--line); border-radius: 50%;
}
.service-related a:is(:focus-visible,:active) { background: var(--ink); color: var(--paper); }
.service-related a:is(:focus-visible,:active) small { color: var(--text-on-dark); }
.service-related a:is(:focus-visible,:active) .lucide { background: var(--accent-on-dark); color: var(--ink); border-color: transparent; }
@media (hover: hover) and (pointer: fine) {
  .service-related a:hover { background: var(--ink); color: var(--paper); }
  .service-related a:hover small { color: var(--text-on-dark); }
  .service-related a:hover .lucide { background: var(--accent-on-dark); color: var(--ink); border-color: transparent; }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .service-related a .lucide use { transform-origin: center; }
  .service-related a:hover .lucide use { animation: service-arrow-flight .45s var(--ease-enter); }
  @keyframes service-arrow-flight {
    36% { transform: translate(5px,-5px); opacity: 0; }
    37% { transform: translate(-5px,5px); opacity: 0; }
    to { transform: translate(0); opacity: 1; }
  }
}

.website-format-detail { display: grid; align-items: center; gap: 1rem; }
.website-format-detail img { width: 100%; height: auto; border-radius: .75rem; }
.website-format-detail p:last-of-type { margin-bottom: 0; }
@media (min-width: 40rem) {
  .website-format-detail { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
}

.accordion__body:has(> .website-format-detail) { max-width: none; }
@media (max-width: 40rem) {
  .service-chapter:has(.website-format-detail) { padding-inline: .75rem; }
}

/* Keep adjacent editorial panels distinct and let illustrated chapters breathe. */
.service-chapter.chapter-editorial:has(.website-format-detail) {
  background: transparent;
}
.service-chapter.chapter-handoff, .service-chapter.chapter-process {
  display: block;
}
.chapter-handoff > h2, .chapter-process > h2 { margin-bottom: 1.25rem; }
.service-chapter:is(.chapter-handoff,.chapter-process) .service-copy { max-width: none; }
.chapter-handoff p { max-width: 54ch; }
.chapter-handoff ul, .service-steps {
  display: grid; list-style: none; gap: 1.25rem; padding: 0;
}
.chapter-handoff .service-copy ul { padding: 0; margin: 1.75rem 0 0; }
.chapter-handoff li, .service-steps li { padding-top: .8rem; border-top: 1px solid var(--line); }
.service-steps { counter-reset: step; margin: 0; }
.service-steps li { counter-increment: step; }
.service-steps li::before { content: counter(step,decimal-leading-zero); color: var(--orange); font-variant-numeric: tabular-nums; }
.service-steps li h3 { margin: .55rem 0; }
@media (min-width: 52rem) {
  .chapter-handoff ul { grid-template-columns: repeat(3,1fr); }
  .service-steps { grid-template-columns: repeat(4,minmax(0,1fr)); gap: var(--service-gap); }
}

.service-page .chapter-formats { margin-top: clamp(2rem, 4vw, 4rem); }
.chapter-faq { background: var(--surface-soft); border: 0; border-radius: var(--radius-media); padding-inline: var(--gutter); }
.service-page .service-chapter.chapter-formats:has(.service-list-banner) { grid-template-areas: "heading" "copy" "media"; }
.service-list-banner { grid-area: media; display: grid; gap: 1rem; }
.service-list-banner > .chapter-media { grid-area: auto; }
.service-page .chapter-formats .chapter-media img { aspect-ratio: auto; }
.service-chapter.chapter-process .chapter-media { margin-top: 1.75rem; max-width: 52rem; margin-inline: auto; }
.service-gallery-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; }
.service-gallery-track img { flex: 0 0 100%; min-width: 0; aspect-ratio: 16 / 9; object-fit: contain; scroll-snap-align: start; }
.service-gallery-controls { display: flex; gap: .5rem; justify-content: end; margin-top: .5rem; }
.service-gallery-controls button { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); color: var(--ink); }
.service-gallery-controls button:is(:hover,:focus-visible) { background: var(--ink); color: var(--paper); }
.service-chapter:has(.chapter-media img:nth-child(5)) .chapter-media { grid-template-columns: repeat(5,minmax(0,1fr)); align-items: center; }
.site-comparison { position: relative; width: 100%; overflow: hidden; border-radius: var(--radius-media); aspect-ratio: 1.8; background: var(--surface-soft); }
.site-comparison img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.site-comparison img:first-child { z-index: 1; clip-path: inset(0 0 0 var(--split,50%)); }
.site-comparison input { position: absolute; inset: 0; z-index: 3; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: ew-resize; }
.site-comparison span { position: absolute; inset-block: 0; left: var(--split,50%); z-index: 2; border-left: 2px solid var(--paper); }
.site-comparison span::after { content: "↔"; position: absolute; top: 50%; transform: translate(-50%,-50%); border-radius: 50%; background: var(--ink); color: var(--paper); padding: .5rem; }
.site-comparison:focus-within { outline: 3px solid var(--orange); outline-offset: 3px; }
@media (min-width: 52rem) {
  .site-comparison { grid-area: media; }
  .service-chapter:has(.site-comparison) h2 { grid-area: heading; }
  .service-chapter:has(.site-comparison) .service-copy { grid-area: copy; }
}
/* When two original plates bookend one chapter, keep the closing plate below the copy. */
.service-chapter:has(.chapter-media-opening) > .chapter-media:last-child:not(.chapter-media-opening) {
  grid-area: auto; grid-column: 1 / -1; width: min(100%, 52rem); justify-self: center;
}
@media (max-width: 51.99rem) {
  .chapter-media-opening { grid-area: auto; }
}

.service-page .service-list-banner > .chapter-media { grid-area: auto; }

.service-page .chapter-comparison {
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "heading" "copy";
  gap: 1.25rem;
}
.service-page .chapter-comparison:has(.service-list-banner) { grid-template-areas: "heading" "copy" "media"; }
.chapter-comparison > h2 { grid-area: heading; text-align: center; }
.service-page .chapter-comparison > .service-copy { grid-area: copy; max-width: none; }
.chapter-comparison > .service-copy > p { max-width: 68ch; margin-inline: auto; }
.chapter-comparison .service-list-banner { width: min(100%, 48rem); justify-self: center; }
.service-comparison-scroll { overflow: auto; border: 1px solid var(--line); border-radius: var(--radius-media); }
.service-comparison-table { width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: 0; color: var(--ink); font-size: var(--t-small); line-height: 1.45; }
.service-comparison-table :is(th, td) { min-width: 12rem; padding: clamp(.75rem, 2vw, 1.375rem); vertical-align: top; text-align: start; }
.service-comparison-table :is(thead, tbody) th:first-child { min-width: 5.25rem; width: clamp(5.25rem, 12vw, 8rem); background: var(--paper); }
.service-comparison-table tbody > tr > * { border-top: 1px solid var(--line-subtle); }
.service-comparison-table thead th { background: var(--surface-soft); }
.service-comparison-table thead strong { font: var(--font-card); letter-spacing: var(--track-head); display: block; }
.service-comparison-table thead th span { display: block; margin-bottom: .6rem; font-size: var(--t-caption); letter-spacing: .06em; text-transform: uppercase; }
.service-comparison-table .comparison-featured { background: color-mix(in srgb, var(--ink) 5%, var(--paper)); }
.service-comparison-table thead .comparison-featured { background: var(--ink); color: var(--paper); }
.service-comparison-table thead small { display: inline-block; margin-top: .65rem; color: var(--accent-on-dark); }
.service-comparison-table[data-options="2"] { min-width: 30rem; }
.service-comparison-table[data-options="3"] { min-width: 43rem; }
.service-comparison-table[data-options="4"] { min-width: 56rem; }
.comparison-scroll-hint { display: none; font-size: var(--t-caption); color: var(--text-muted); }
.service-comparison-table ul { margin: 0; }
.service-comparison-table li + li { margin-top: .55rem; }
.comparison-action { display: flex; justify-content: center; margin-top: 1.5rem; }
@media (max-width: 57rem) {
  .service-comparison-table tr > th:first-child { position: sticky; inset-inline-start: 0; box-shadow: 1px 0 var(--line); z-index: 1; }
}

@media (max-width: 57rem) {
  .comparison-scroll-hint { display: block; margin: 0 0 .5rem; }
}

/* The customer outcome sits between the service name and its description. */
.service-benefit { font: var(--font-quote); letter-spacing: var(--track-section); max-width: 24ch; margin: 0; color: var(--orange); text-wrap: balance; }
.service-benefit + .service-lead { margin-top: 1rem; }
.service-actions { display: flex; flex-wrap: wrap; gap: .6rem .75rem; }
