.service-page {
  --pale-blue: #f8fbff;
  --section-space: clamp(48px, 6.5vw, 88px);
}
.service-page .site-header { position: relative; }
.service-page .header-inner { min-height: 76px; }
.service-page .nav-contact { color: white; background: var(--blue); }
.service-page .nav-contact:hover { color: white; background: #004588; }
.service-page h1, .service-page h2, .service-page h3 { letter-spacing: -.04em; }
.service-page h2, .service-page h3 { font-weight: 500; }

.service-intro, .service-scope { background: var(--pale-blue); }
.service-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  padding-block: 26px 0;
}
.service-nav a {
  padding: 8px 15px;
  border-radius: 4px;
  background: #edf0f4;
  color: #414b54;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}
.service-nav a:hover, .service-nav a:focus-visible { color: var(--blue); box-shadow: inset 0 0 0 1px currentColor; }
.service-nav a[aria-current="page"] { background: var(--blue); color: white; }
.service-heading {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(28px, 6vw, 88px);
  padding-block: clamp(32px, 4vw, 60px) var(--section-space);
}
.service-lead { margin-top: 18px; max-width: 48ch; color: var(--muted); font-size: clamp(16px, 1.45vw, 20px); line-height: 1.6; }
.service-actions, .gallery-links { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.service-actions { margin-top: 28px; }
.service-link { color: var(--blue); font-size: 15px; font-weight: 500; text-decoration: underline; text-underline-offset: 4px; }
.service-link:hover { color: #003971; }
.service-feature { margin: 0; }
.service-feature img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  border-radius: 14px;
  background: #edf1f5;
}
.service-feature figcaption { margin-top: 10px; color: var(--muted); font-size: 14px; }
.service-work, .service-scope { padding-block: var(--section-space); }
.service-work-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; }
.service-projects, .scope-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.8vw, 38px);
  margin-top: 32px;
}
.service-project { min-width: 0; }
.service-project button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  text-align: left;
  color: var(--ink);
  background: transparent;
  cursor: zoom-in;
}
.service-project .project-preview { border-radius: 10px; background: #f1f4f7; }
.service-project img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; }
.service-project strong { display: block; margin-block: 14px 4px; font-size: 20px; font-weight: 600; line-height: 1.3; letter-spacing: -.025em; }
.service-project button:hover .project-hover, .service-project button:focus-visible .project-hover { opacity: 1; }
.service-page .viewer-toolbar h2 { --heading-2-size: 20px; }
.service-project p, .scope-list p { color: var(--muted); line-height: 1.6; }
.scope-list { padding: 0; list-style: none; }
.scope-list li { padding-top: 20px; border-top: 2px solid #ccdeed; }
.scope-list p { margin-top: 10px; }
.service-scope .button { margin-top: 32px; }

@media (max-width: 760px) {
  .service-heading, .service-projects, .scope-list { grid-template-columns: 1fr; }
  .service-heading { gap: 28px; }
  .service-nav { gap: 6px; padding-top: 20px; }
  .service-nav a { padding: 8px 10px; }
  .service-projects { gap: 32px; }
  .service-project img { max-height: 340px; }
  .scope-list { gap: 24px; }
}
