/* Simple service details use the product typography without the rack spec panel. */
.service-page .site-header { position: relative; }
.service-page main { min-width: 0; }
.service-page .service-hero {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #0b0c0d;
}
.service-page .service-hero__copy {
  padding: 28px clamp(24px, 4vw, 54px) 32px;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 54px 54px;
}
.service-page .back-link {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--muted);
  font-family: var(--font-technical);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}
.service-page .back-link:hover { color: var(--accent); }
.service-page .service-hero .eyebrow {
  margin: 0 0 12px;
  font-size: 0.76rem;
}
.service-page .service-hero h1 {
  max-width: 24ch;
  margin: 0;
  font-size: clamp(3rem, 5.8vw, 6rem);
  font-weight: 650;
  line-height: 1.02;
  letter-spacing: -0.055em;
  text-wrap: balance;
  overflow-wrap: break-word;
}
.service-page .service-hero__lede {
  max-width: 75ch;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  line-height: 1.6;
}
.service-page .service-hero__image {
  height: clamp(280px, 34vw, 480px);
  overflow: hidden;
  background: #111;
}
.service-page .service-hero__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service-page .service-hero__image--contained img {
  object-fit: contain;
  /* Trim the photograph's empty surround, keeping the complete controller visible. */
  transform: scale(1.25);
}
.service-page .service-content {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 6vw, 100px);
  padding: clamp(44px, 6vw, 80px) clamp(24px, 4vw, 54px);
  border-bottom: 1px solid var(--border);
}
.service-page .service-content h2 {
  max-width: 18ch;
  margin: 0;
  font-size: clamp(2rem, 3.4vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.service-page .service-content__copy { min-width: 0; }
.service-page .service-content__copy p {
  max-width: 65ch;
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}
.service-page .service-content .button {
  min-width: 0;
  max-width: 100%;
  justify-content: space-between;
  margin-top: 12px;
  padding: 16px 22px;
  border-radius: 10px;
  font-size: 0.8rem;
  line-height: 1.5;
  letter-spacing: 0.08em;
}
.service-page .button span { flex-shrink: 0; }
.service-page .product-footer {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 48px 0 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.76rem;
}
.service-page .product-footer img { width: 64px; opacity: 0.7; }
.service-page .product-footer p { margin: 0; }
.service-page .product-footer a {
  margin-left: auto;
  color: inherit;
  font-family: var(--font-technical);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.service-page .back-link:focus-visible,
.service-page .button:focus-visible,
.service-page .product-footer a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}
@media (max-width: 760px) {
  .service-page .site-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .service-page .site-nav {
    position: relative;
    width: 100%;
    min-width: 0;
    overflow: visible;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 12px 18px;
  }
  .service-page .site-nav__menu { position: static; }
  .service-page .site-nav__dropdown { position: absolute; top: calc(100% + 12px); left: 0; right: 0; width: 100%; min-width: 0; }
  .service-page .site-nav__dropdown a { white-space: normal; }
  .service-page .service-hero__copy { padding: 24px 28px 28px; }
  .service-page .service-hero__image { height: clamp(240px, 50vw, 380px); }
  .service-page .service-content { grid-template-columns: 1fr; gap: 24px; padding: 40px 28px; }
  .service-page .service-content h2 { max-width: 24ch; }
  .service-page .product-footer { flex-wrap: wrap; gap: 18px; }
}
@media (max-width: 560px) {
  .service-page .site-shell { padding-bottom: 32px; }
  .service-page .service-hero { border-radius: 16px; }
  .service-page .service-hero__copy { padding-inline: 20px; }
  .service-page .service-hero h1 { font-size: clamp(2.4rem, 10vw, 3.2rem); }
  .service-page .back-link { margin-bottom: 24px; }
  .service-page .service-hero__image { height: 240px; }
  .service-page .service-content { padding: 36px 20px; }
  .service-page .service-content .button { width: 100%; }
  .service-page .product-footer p { width: calc(100% - 82px); }
  .service-page .product-footer a { margin-left: 0; }
}
