.page-shell--services::before,
.page-shell--services::after,
.page-shell--services .page-hero::before,
.page-shell--services .page-hero::after {
  display: none;
}

.page-shell--services {
  background:
    radial-gradient(circle at top left, rgba(59, 130, 246, 0.14), transparent 24%),
    radial-gradient(circle at bottom right, rgba(30, 64, 175, 0.12), transparent 26%),
    linear-gradient(180deg, #111a28 0%, #0a1220 100%);
}

.page-shell--services .container {
  width: min(1280px, calc(100% - 48px));
}

.services-hero {
  margin-top: 0;
  padding: 14px 0 22px;
  background:
    radial-gradient(circle at top left, rgba(59, 130, 246, 0.12), transparent 24%),
    linear-gradient(180deg, #132033 0%, #0d1726 100%);
}

.services-hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(340px, 1.06fr);
  gap: 20px;
  align-items: stretch;
  padding: 6px 0 0;
}

.services-hero-shell__intro {
  padding: 10px 0 0;
  max-width: 40rem;
}

.services-hero-shell .eyebrow,
.services-hero-shell h1,
.services-hero-shell .page-lead,
.services-hero-shell__supporting {
  color: #f8fafc;
}

.services-hero-shell .eyebrow {
  color: #60a5fa;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.services-hero-shell h1 {
  max-width: 10ch;
  margin-bottom: 16px;
  font-size: clamp(2.8rem, 4.6vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.services-hero-shell .page-lead {
  max-width: 44rem;
  color: rgba(241, 245, 249, 0.92);
}

.services-hero-shell__supporting {
  max-width: 42rem;
  margin: 10px 0 0;
  color: rgba(203, 213, 225, 0.82);
  line-height: 1.85;
}

.services-hero-shell .page-inline-actions {
  margin-top: 18px;
}

.services-hero-shell .btn-secondary {
  color: #f8fafc;
  border-color: rgba(148, 163, 184, 0.34);
  background: rgba(255, 255, 255, 0.04);
}

.services-hero-shell .btn-secondary:hover,
.services-hero-shell .btn-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(191, 219, 254, 0.44);
}

.services-hero-shell__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.services-hero-shell__chips li {
  min-height: 42px;
  padding: 0 16px;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #e2e8f0;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
}

.services-hero-stack {
  display: grid;
  gap: 14px;
}

.services-hero-stack__lead,
.services-hero-stack__card {
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 28px 64px rgba(2, 6, 23, 0.18);
}

.services-hero-stack__lead {
  display: grid;
  gap: 10px;
  padding: 18px 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.04));
}

.services-hero-stack__lead span,
.services-hero-stack__card span {
  color: #93c5fd;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.services-hero-stack__lead h2 {
  margin: 0;
  max-width: 13ch;
  color: #f8fafc;
  font-size: clamp(1.65rem, 2.2vw, 2.35rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.services-hero-stack__lead p,
.services-hero-stack__card strong,
.services-hero-stack__card li {
  color: #f8fafc;
  font-size: 1rem;
  line-height: 1.65;
}

.services-hero-stack__lead p {
  margin: 0;
  color: rgba(226, 232, 240, 0.82);
}

.services-hero-stack__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(220px, 0.85fr);
  gap: 14px;
}

.services-hero-stack__card {
  overflow: hidden;
}

.services-hero-stack__card--photo {
  position: relative;
  grid-row: span 2;
  min-height: 410px;
}

.services-hero-stack__card--photo img,
.services-hero-stack__card--image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.services-hero-stack__overlay {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border-radius: 22px;
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(10px);
}

.services-hero-stack__overlay span {
  color: #93c5fd;
}

.services-hero-stack__overlay strong {
  margin: 0;
}

.services-hero-stack__card--dark,
.services-hero-stack__card--note {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.services-hero-stack__card--dark {
  background: linear-gradient(180deg, #273650 0%, #1a2638 100%);
}

.services-hero-stack__markers {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.services-hero-stack__markers li {
  color: rgba(226, 232, 240, 0.9);
}

.services-hero-stack__markers strong {
  display: inline-block;
  min-width: 3ch;
  margin-right: 8px;
  color: #f8fafc;
  font-size: 1.3rem;
}

.services-hero-stack__card--note {
  background: linear-gradient(180deg, rgba(20, 35, 52, 0.96), rgba(14, 25, 39, 0.96));
  align-content: space-between;
}

.services-hero-stack__card--note img {
  width: 100%;
  max-width: 170px;
  margin-top: 10px;
  justify-self: end;
  opacity: 0.92;
}

.services-hero-stack__card--image {
  min-height: 204px;
}

.services-hero + .section {
  padding-top: 30px;
}

.services-lanes-section,
.services-workbench-section,
.services-rhythm-section {
  padding-top: 0;
}

.services-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 0.75fr);
  gap: 14px;
  align-items: end;
  margin-bottom: 14px;
}

.services-section-heading h2 {
  margin: 8px 0 0;
  max-width: 15ch;
  color: #f8fafc;
  font-size: clamp(2rem, 3.4vw, 3.2rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.services-section-heading p {
  margin: 0;
  color: rgba(226, 232, 240, 0.76);
  line-height: 1.8;
}

.services-lanes-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.services-lane-card {
  display: grid;
  gap: 14px;
  min-height: 238px;
  padding: 20px;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.035));
  box-shadow: 0 20px 42px rgba(2, 6, 23, 0.16);
}

.services-lane-card--dark {
  background: linear-gradient(180deg, #203047 0%, #142031 100%);
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.16);
}

.services-lane-card:nth-child(3) {
  background: linear-gradient(180deg, rgba(14, 165, 233, 0.14), rgba(255, 255, 255, 0.03));
}

.services-lane-card:nth-child(4) {
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.14), rgba(255, 255, 255, 0.03));
}

.services-lane-card__eyebrow {
  color: #93c5fd;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.services-lane-card h3 {
  margin: 0;
  color: #f8fafc;
  font-size: 1.18rem;
  line-height: 1.35;
}

.services-lane-card p {
  margin: 0;
  color: rgba(226, 232, 240, 0.78);
  line-height: 1.78;
}

.services-lane-card--dark .services-lane-card__eyebrow,
.services-lane-card--dark h3,
.services-lane-card--dark p {
  color: #f8fafc;
}

.services-lane-card--dark p {
  color: rgba(226, 232, 240, 0.82);
}

.services-workbench {
  display: grid;
  grid-template-columns: minmax(280px, 0.68fr) minmax(0, 1.32fr);
  gap: 16px;
  align-items: start;
}

.services-workbench__intro {
  position: sticky;
  top: 108px;
  display: grid;
  gap: 12px;
  padding: 18px;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.035));
  box-shadow: 0 20px 42px rgba(2, 6, 23, 0.16);
}

.services-workbench__intro h2 {
  margin: 0;
  max-width: 12ch;
  color: #f8fafc;
  font-size: clamp(2rem, 2.8vw, 3rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.services-workbench__intro p {
  margin: 0;
  color: rgba(226, 232, 240, 0.76);
  line-height: 1.82;
}

.services-workbench__list {
  display: grid;
  gap: 12px;
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
}

.services-workbench__list li {
  position: relative;
  padding-left: 18px;
  color: rgba(226, 232, 240, 0.82);
  line-height: 1.7;
}

.services-workbench__list li::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #2563eb;
}

.services-workbench__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.services-board-card {
  overflow: hidden;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.03));
  box-shadow: 0 20px 42px rgba(2, 6, 23, 0.18);
}

.services-board-card--feature {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(240px, 0.84fr) minmax(0, 1fr);
  background: linear-gradient(180deg, #152133 0%, #0f1725 100%);
  box-shadow: 0 28px 64px rgba(15, 23, 42, 0.16);
}

.services-board-card:not(.services-board-card--feature):nth-child(2) {
  background: linear-gradient(180deg, rgba(14, 165, 233, 0.12), rgba(255, 255, 255, 0.03));
}

.services-board-card:not(.services-board-card--feature):nth-child(3) {
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.12), rgba(255, 255, 255, 0.03));
}

.services-board-card:not(.services-board-card--feature):nth-child(4) {
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.12), rgba(255, 255, 255, 0.03));
}

.services-board-card__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.services-board-card__body {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.services-board-card__tag {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(239, 246, 255, 0.92);
  color: #1d4ed8;
  font-size: 0.78rem;
  font-weight: 800;
}

.services-board-card h3 {
  margin: 0;
  color: #f8fafc;
  font-size: 1.18rem;
  line-height: 1.35;
}

.services-board-card p {
  margin: 0;
  color: rgba(226, 232, 240, 0.78);
  line-height: 1.78;
}

.services-board-card--feature h3,
.services-board-card--feature p {
  color: #f8fafc;
}

.services-board-card--feature p {
  color: rgba(226, 232, 240, 0.82);
}

.services-rhythm {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(320px, 1.04fr);
  gap: 18px;
  align-items: center;
}

.services-rhythm__visual {
  display: grid;
  gap: 12px;
}

.services-rhythm__panel {
  margin: 0;
  overflow: hidden;
  border-radius: 30px;
  box-shadow: 0 24px 56px rgba(15, 23, 42, 0.12);
}

.services-rhythm__panel img {
  width: 100%;
  display: block;
}

.services-rhythm__panel figcaption {
  padding: 16px 18px 18px;
  color: rgba(226, 232, 240, 0.8);
  line-height: 1.7;
  background: rgba(255, 255, 255, 0.05);
}

.services-rhythm__panel--accent {
  max-width: 76%;
  justify-self: end;
}

.services-rhythm__panel--accent img {
  background: linear-gradient(135deg, #223044 0%, #162132 100%);
}

.services-rhythm__copy h2 {
  margin-bottom: 12px;
}

.services-rhythm__steps {
  display: grid;
  gap: 12px;
  margin-top: 10px;
}

.services-rhythm-step {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 18px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.03));
  box-shadow: 0 18px 38px rgba(2, 6, 23, 0.14);
}

.services-rhythm-step:nth-child(2) {
  background: linear-gradient(180deg, rgba(14, 165, 233, 0.11), rgba(255, 255, 255, 0.03));
}

.services-rhythm-step:nth-child(3) {
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.11), rgba(255, 255, 255, 0.03));
}

.services-rhythm-step__number {
  width: 66px;
  height: 66px;
  border-radius: 22px;
  background: linear-gradient(180deg, #1f2c3c 0%, #142032 100%);
  color: #f8fafc;
  font-size: 1rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.services-rhythm-step__body h3 {
  margin: 4px 0 8px;
  color: #f8fafc;
  font-size: 1.06rem;
}

.services-rhythm-step__body p {
  margin: 0;
  color: rgba(226, 232, 240, 0.76);
  line-height: 1.78;
}

.services-rhythm .page-inline-actions {
  margin-top: 14px;
}

.services-editorial-section .editorial-card {
  border: none;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 20px 48px rgba(2, 6, 23, 0.18);
}

.services-editorial-section .editorial-card h2,
.services-editorial-section .entry-content,
.services-editorial-section .entry-content p,
.services-editorial-section .entry-content li {
  color: #f8fafc;
}

.services-closing-section {
  padding-top: 2px;
  padding-bottom: 40px;
}

.services-cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px 24px;
  align-items: center;
  padding: 22px 24px;
  border-radius: 34px;
  background: linear-gradient(180deg, #152133 0%, #0f1725 100%);
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.16);
}

.services-cta-band .eyebrow {
  color: #60a5fa;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.services-cta-band__copy h2 {
  margin: 8px 0 8px;
  max-width: 16ch;
  color: #f8fafc;
  font-size: clamp(1.9rem, 2.7vw, 3rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.services-cta-band__copy p {
  margin: 0;
  max-width: 42rem;
  color: rgba(226, 232, 240, 0.82);
  line-height: 1.8;
}

.services-cta-band__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.services-cta-band__actions .btn-secondary {
  color: #f8fafc;
  border-color: transparent;
  background: rgba(255, 255, 255, 0.04);
}

.services-cta-band__actions .btn-secondary:hover,
.services-cta-band__actions .btn-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.08);
}

.services-cta-band__chips {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.services-cta-band__chips li {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.06);
  color: #e2e8f0;
  display: inline-flex;
  align-items: center;
  font-size: 0.88rem;
}

@media (max-width: 1180px) {
  .services-hero-shell,
  .services-rhythm,
  .services-section-heading,
  .services-workbench {
    grid-template-columns: 1fr;
  }

  .services-workbench__intro {
    position: static;
  }

  .services-lanes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .services-workbench__grid,
  .services-lanes-grid,
  .services-cta-band {
    grid-template-columns: 1fr;
  }

  .services-hero-stack__grid {
    grid-template-columns: 1fr;
  }

  .services-hero-stack__card--photo {
    min-height: 380px;
    grid-row: auto;
  }

  .services-board-card--feature {
    grid-template-columns: 1fr;
  }

  .services-rhythm__panel--accent {
    max-width: 100%;
  }

  .services-cta-band__actions {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .page-shell--services .container {
    width: min(1380px, calc(100% - 28px));
  }

  .services-hero {
    margin-top: 0;
    padding: 10px 0 28px;
  }

  .services-hero-shell h1 {
    font-size: clamp(2.4rem, 11vw, 3.7rem);
  }

  .services-hero-shell {
    padding: 8px 0 0;
  }

  .services-lane-card,
  .services-workbench__intro,
  .services-board-card,
  .services-rhythm-step,
  .services-cta-band {
    border-radius: 24px;
  }

  .services-rhythm-step {
    grid-template-columns: 56px minmax(0, 1fr);
    padding: 18px;
  }

  .services-rhythm-step__number {
    width: 56px;
    height: 56px;
    border-radius: 18px;
  }

  .services-cta-band {
    padding: 22px 18px;
  }
}
