.service-detail { --service-radius: 6px; }
.service-detail :is(h1, h2, h3, h4, h5, h6),
.services-hub :is(h1, h2, h3, h4, h5, h6) { text-transform: uppercase; }
.service-detail .button { border-radius: var(--service-radius); }
.inner-page #content.service-detail { width: 100%; max-width: none; padding: 99px 0 0; }
.service-back { display: inline-block; font-size: 14px; padding: 4px 0; }
.service-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 16px 0 72px; }
.service-eyebrow { color: var(--red); text-transform: uppercase; letter-spacing: .12em; font-size: 12px; font-weight: 700; line-height: 1.6; margin-bottom: 16px; }
.service-intro h1 { font-size: clamp(32px, 3.4vw, 48px); }
.service-description { margin-top: 28px; font-size: var(--type-lead); line-height: 1.7; color: #444; }
.service-cover { position: relative; isolation: isolate; aspect-ratio: 1.15; overflow: hidden; }
.service-cover::before { content: ''; position: absolute; z-index: -1; left: -14px; bottom: -14px; width: 58%; height: 85%; background: var(--red); pointer-events: none; }
.service-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
@media(max-width: 700px) { .service-cover::before { left: -10px; bottom: -10px; } }
.service-work { border-top: 1px solid #d6d6d6; padding-top: 56px; }
.service-work-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 32px; }
/* One framed gallery: full photo, attached caption, and direct thumbnail navigation. */
.job-gallery { position: relative; background: #18191b; border-radius: var(--service-radius); box-shadow: 0 12px 36px #00000012; }
.job-controls[hidden], .job-thumbnails[hidden] { display: none; }
.job-controls { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.job-controls button { position: absolute; top: calc(clamp(260px, 46vw, 560px) / 2); transform: translateY(-50%); display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid #ffffff55; border-radius: 50%; color: white; background: #18191be6; cursor: pointer; pointer-events: auto; transition: background .2s, border-color .2s; }
.job-controls button[data-job-prev] { left: 20px; }
.job-controls button[data-job-next] { right: 20px; }
.job-controls button:hover { background: var(--red); border-color: var(--red); }
.job-controls svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.job-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: var(--service-radius); scrollbar-width: thin; scrollbar-color: #777 #18191b; }
.job-track:focus-visible { outline: 3px solid #1769aa; outline-offset: 5px; }
.is-enhanced .job-track { scrollbar-width: none; }
.is-enhanced .job-track::-webkit-scrollbar { display: none; }
.job-slide { flex: 0 0 100%; min-width: 0; margin: 0; scroll-snap-align: start; }
.job-slide > img { width: 100%; height: clamp(260px, 46vw, 560px); object-fit: contain; background: #18191b; }
.job-slide figcaption { padding: 10px 20px; border-top: 1px solid #ffffff20; color: white; }
.job-slide figcaption p { font-size: 16px; line-height: 1.6; overflow-wrap: anywhere; max-width: 850px; }
.job-thumbnails { display: flex; gap: 12px; overflow-x: auto; padding: 16px 4px 8px; scrollbar-width: thin; }
.job-thumbnail { position: relative; flex: 0 0 96px; padding: 3px; border: 2px solid transparent; background: transparent; border-radius: var(--service-radius); cursor: pointer; opacity: .6; transition: opacity .2s, border-color .2s; }
.job-thumbnail:hover, .job-thumbnail[aria-pressed="true"] { opacity: 1; }
.job-thumbnail[aria-pressed="true"] { border-color: var(--red); }
.job-thumbnail img { width: 100%; height: 62px; object-fit: cover; border-radius: max(0px, calc(var(--service-radius) - 5px)); }
@media(max-width: 700px) {
    .job-controls button { width: 44px; height: 44px; }
    .job-controls button[data-job-prev] { left: 12px; }
    .job-controls button[data-job-next] { right: 12px; }
    .job-slide figcaption { padding: 10px 16px; }
    .job-slide figcaption p { font-size: 14px; }
    .job-thumbnail { flex-basis: 80px; }
    .job-thumbnail img { height: 52px; }
}
@media(prefers-reduced-motion: reduce) { .job-controls button, .job-thumbnail { transition: none; } }
.service-detail-inner, .service-project-inner { width: min(var(--layout-width), calc(100% - var(--page-gutter) * 2)); margin-inline: auto; }
.service-project { position: relative; overflow: hidden; margin-top: 72px; background: #1a1d24; color: #fff; }
.service-project-inner { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 48px; padding-block: 88px 64px; }
.service-project h2 { font-size: clamp(26px, 2.5vw, 34px); line-height: 1.2; }
.service-project p:not(.service-eyebrow) { color: #ddd; line-height: 1.7; max-width: 620px; margin-top: 20px; }
.service-detail .service-project .button { margin-top: 0; }
.service-call { display: block; text-align: center; padding: 20px 0 0; font-weight: 700; }
@media(max-width: 900px) { .service-intro { gap: 32px; } .service-project-inner { grid-template-columns: 1fr; gap: 28px; } .service-project-actions { width: fit-content; } }
@media(max-width: 700px) { .inner-page #content.service-detail { padding-top: 91px; padding-bottom: 0; } .service-intro { grid-template-columns: 1fr; padding: 12px 0 48px; } .service-cover { aspect-ratio: 1.4; } .service-work { padding-top: 40px; } .service-work-heading { align-items: start; flex-direction: column; } .service-project { margin-top: 48px; } .service-project-inner { padding-block: 60px 40px; } .service-project-actions { width: 100%; } }


/* Keep position announcements accessible without visible numbering. */
.job-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media(min-width: 901px) {
    .service-work.is-enhanced { display: grid; grid-template-columns: minmax(0, 1fr) 112px; column-gap: 20px; row-gap: 32px; align-items: start; }
    .service-work.is-enhanced .service-work-heading { grid-column: 1 / -1; margin-bottom: 0; }
    .job-gallery { min-width: 0; }
    .job-thumbnails { flex-direction: column; max-height: clamp(260px, 46vw, 560px); overflow-x: hidden; overflow-y: auto; margin: 0; padding: 4px; gap: 12px; }
    .job-thumbnail { flex: 0 0 auto; width: 100%; }
    .job-thumbnail img { height: 68px; }
}
.service-breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; list-style: none; margin: 0; padding: 0; }
.service-breadcrumbs li { display: inline-flex; align-items: center; gap: 12px; }
.service-breadcrumbs a { display: inline-block; padding: 6px 0; text-underline-offset: 4px; }
.service-breadcrumbs a:hover { text-decoration: underline; }
.service-breadcrumbs li > span { color: #747474; }

