.recruitment-hero {
  padding: clamp(2rem, 5vw, 4rem) 0 clamp(4rem, 8vw, 7rem);
  background: linear-gradient(155deg, rgb(var(--surface)), rgb(var(--accent) / 0.32));
}

.service-breadcrumbs {
  margin-bottom: clamp(2rem, 5vw, 4rem);
}

.service-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: rgb(var(--muted));
}

.service-breadcrumbs li {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.service-breadcrumbs li + li::before {
  content: "/";
  color: rgb(var(--muted) / 0.55);
}

.service-breadcrumbs a {
  text-decoration: underline;
  text-decoration-color: rgb(var(--primary) / 0.3);
  text-underline-offset: 3px;
}

.recruitment-hero__grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.recruitment-hero__copy h1 {
  max-width: 48rem;
  font-size: clamp(2.75rem, 7vw, 5rem);
  letter-spacing: -0.05em;
}

.recruitment-hero__deck {
  max-width: 45rem;
  margin-top: 1.5rem;
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  line-height: 1.7;
  color: rgb(var(--muted));
}

.recruitment-hero__actions,
.service-final__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
  margin-top: 1.75rem;
}

.recruitment-hero__qualifier {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: rgb(var(--muted));
}

.recruitment-hero__media {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgb(var(--primary) / 0.14);
  border-radius: 1.25rem;
  background: rgb(var(--night));
  box-shadow: var(--shadow-float);
}

.recruitment-hero__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 630;
}

.service-answer {
  position: relative;
  z-index: 2;
  margin-top: -2.2rem;
}

.service-answer__box {
  max-width: 62rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid rgb(var(--line));
  border-left: 5px solid rgb(var(--primary));
  border-radius: 0 1.1rem 1.1rem 0;
  background: #fff;
  box-shadow: var(--shadow-panel);
}

.service-answer h2 {
  margin-top: 0.55rem;
  font-size: clamp(1.55rem, 3vw, 2.1rem);
}

.service-answer h2 + p {
  margin-top: 0.9rem;
  font-size: 1.08rem;
  line-height: 1.75;
  color: rgb(var(--muted));
}

.service-section {
  padding: clamp(4.5rem, 9vw, 7.5rem) 0;
  background: #fff;
}

.service-section--surface {
  background: rgb(var(--surface));
}

.service-section--night {
  background: rgb(var(--night));
  color: #fff;
}

.service-section--night h2,
.service-section--night h3 {
  color: #fff;
}

.service-section--night .eyebrow {
  color: rgb(var(--accent));
}

.service-heading {
  max-width: 48rem;
}

.service-heading h2 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  letter-spacing: -0.04em;
}

.service-heading > p:last-child {
  margin-top: 1rem;
  font-size: 1.08rem;
  line-height: 1.75;
  color: rgb(var(--muted));
}

.service-section--night .service-heading > p:last-child {
  color: #ffffffbd;
}

.pain-grid,
.scope-grid,
.context-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2.5rem;
}

.pain-card,
.scope-card,
.context-grid article {
  padding: 1.5rem;
  border: 1px solid rgb(var(--line));
  border-radius: 1rem;
  background: #fff;
}

.pain-card > span,
.scope-card__number {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: rgb(var(--primary));
}

.pain-card h3,
.scope-card h3,
.context-grid h3 {
  margin-top: 0.8rem;
  font-size: 1.25rem;
}

.pain-card p,
.scope-card > p:not(.scope-card__number),
.context-grid p {
  margin-top: 0.65rem;
  line-height: 1.65;
  color: rgb(var(--muted));
}

.scope-card ul,
.fit-grid ul,
.input-grid ul {
  display: grid;
  gap: 0.65rem;
  margin-top: 1.2rem;
}

.scope-card li,
.fit-grid li,
.input-grid li {
  position: relative;
  padding-left: 1.25rem;
}

.scope-card li::before,
.fit-grid li::before,
.input-grid li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: rgb(var(--success));
  font-weight: 800;
}

.scope-note,
.service-boundary {
  max-width: 58rem;
  margin-top: 2rem;
  padding: 1rem 1.1rem;
  border-radius: 0.75rem;
  background: rgb(var(--accent) / 0.3);
  line-height: 1.7;
}

.service-process {
  display: grid;
  gap: 1rem;
  margin-top: 2.5rem;
}

.service-process > li {
  display: grid;
  grid-template-columns: 3.25rem 1fr;
  gap: 1rem;
  padding: 1.35rem;
  border: 1px solid #ffffff24;
  border-radius: 1rem;
  background: #ffffff09;
}

.service-process__number {
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 0.85rem;
  background: rgb(var(--accent));
  color: rgb(var(--on-accent));
  font-weight: 800;
}

.service-process__body h3 {
  font-size: 1.35rem;
}

.service-process dl {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.15rem;
}

.service-process dt {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgb(var(--accent));
}

.service-process dd {
  margin: 0.3rem 0 0;
  color: #ffffffc9;
  line-height: 1.6;
}

.pipeline-board {
  margin-top: 2.5rem;
  padding: clamp(1.25rem, 4vw, 2rem);
  border-radius: 1rem;
  background: rgb(var(--night));
  color: #fff;
}

.pipeline-board__label {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgb(var(--accent));
}

.pipeline-board ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 1.2rem;
}

.pipeline-board li {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  min-height: 3.25rem;
  padding: 0.7rem;
  border: 1px solid #ffffff1f;
  border-radius: 0.7rem;
  background: #ffffff0a;
  font-size: 0.88rem;
}

.pipeline-board li span {
  color: rgb(var(--accent));
  font-size: 0.72rem;
  font-weight: 800;
}

.pipeline-fields {
  margin-top: 1.5rem;
  padding: 1.5rem;
  border: 1px solid rgb(var(--line));
  border-radius: 1rem;
  background: rgb(var(--surface));
}

.pipeline-fields h3 {
  font-size: 1.2rem;
}

.pipeline-fields ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.pipeline-fields li {
  padding: 0.5rem 0.8rem;
  border: 1px solid rgb(var(--line));
  border-radius: 999px;
  background: #fff;
  font-size: 0.86rem;
  font-weight: 700;
}

.service-table {
  max-width: 100%;
  margin-top: 2.5rem;
  overflow-x: auto;
  border: 1px solid rgb(var(--line));
  border-radius: 1rem;
  background: #fff;
  box-shadow: var(--shadow-panel);
  outline-offset: 4px;
}

.service-table table {
  width: 100%;
  min-width: 58rem;
  border-collapse: collapse;
  font-size: 0.92rem;
  line-height: 1.55;
}

.service-table caption {
  padding: 1rem 1.15rem;
  text-align: left;
  color: rgb(var(--primary-deep));
  background: rgb(var(--accent) / 0.3);
  font-weight: 800;
}

.service-table th,
.service-table td {
  padding: 0.9rem 1rem;
  border-top: 1px solid rgb(var(--line));
  text-align: left;
  vertical-align: top;
}

.service-table thead th {
  color: rgb(var(--primary));
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.service-table tbody th {
  min-width: 10rem;
  color: rgb(var(--primary-deep));
}

.service-table tbody tr:nth-child(even) {
  background: rgb(var(--surface) / 0.6);
}

.service-control {
  padding: clamp(4rem, 9vw, 7rem) 0;
  background: rgb(var(--primary));
  color: #fff;
}

.service-control .container {
  display: grid;
  gap: 2rem;
}

.service-control h2 {
  margin-top: 0.6rem;
  max-width: 44rem;
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.25rem);
}

.service-control h2 + p {
  max-width: 45rem;
  margin-top: 1rem;
  color: #ffffffd1;
  line-height: 1.75;
}

.service-control ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.service-control li {
  padding: 0.8rem;
  border: 1px solid #ffffff2b;
  border-radius: 0.65rem;
  background: #ffffff0d;
  font-weight: 650;
}

.service-evidence {
  margin-top: 1.5rem;
  padding: 1rem;
  border: 1px solid #ffffff2b;
  border-radius: 0.75rem;
  background: #0000001a;
  font-size: 0.88rem;
  line-height: 1.7;
}

.service-evidence a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.fit-grid,
.input-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.fit-grid article,
.input-grid ul {
  padding: 1.5rem;
  border: 1px solid rgb(var(--line));
  border-radius: 1rem;
  background: rgb(var(--surface));
}

.fit-grid h3 {
  font-size: 1.25rem;
}

.service-boundary {
  background: #fff;
  border: 1px solid rgb(var(--line));
}

.service-evidence-note {
  max-width: 60rem;
  margin-top: 1.5rem;
  padding: 1.2rem;
  border-left: 5px solid rgb(var(--accent-text));
  border-radius: 0 0.8rem 0.8rem 0;
  background: rgb(var(--accent) / 0.28);
  line-height: 1.7;
}

.deliverables-grid {
  display: grid;
  gap: 0.75rem;
  margin-top: 2.5rem;
}

.deliverables-grid > div {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  min-height: 3.5rem;
  padding: 0.9rem 1rem;
  border: 1px solid #ffffff24;
  border-radius: 0.75rem;
  background: #ffffff0a;
  font-weight: 700;
}

.deliverables-grid span {
  color: rgb(var(--accent));
}

.assessment-steps {
  display: grid;
  gap: 1rem;
  margin-top: 2.5rem;
}

.assessment-steps li {
  display: grid;
  grid-template-columns: 2.75rem 1fr;
  gap: 1rem;
  padding: 1.25rem;
  border: 1px solid rgb(var(--line));
  border-radius: 1rem;
}

.assessment-steps > li > span {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  background: rgb(var(--primary));
  color: #fff;
  font-weight: 800;
}

.assessment-steps h3 {
  font-size: 1.2rem;
}

.assessment-steps p {
  margin-top: 0.4rem;
  color: rgb(var(--muted));
  line-height: 1.65;
}

.quote-card {
  display: grid;
  gap: 1.25rem;
  align-items: center;
  margin-top: 1.5rem;
  padding: clamp(1.5rem, 4vw, 2rem);
  border-radius: 1rem;
  background: linear-gradient(135deg, rgb(var(--accent) / 0.5), #fff);
}

.quote-card h3 {
  margin-top: 0.35rem;
  font-size: 1.45rem;
}

.quote-card h3 + p {
  max-width: 44rem;
  margin-top: 0.5rem;
  color: rgb(var(--muted));
}

.quote-card .btn {
  justify-self: start;
}

.service-guide {
  background: rgb(var(--surface));
}

.service-guide .container {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.service-guide h2 {
  font-size: clamp(2rem, 5vw, 3rem);
}

.service-guide h2 + p {
  margin-top: 1rem;
  color: rgb(var(--muted));
  line-height: 1.75;
}

.service-guide a {
  display: inline-block;
  margin-top: 1.25rem;
  color: rgb(var(--primary));
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.service-guide img {
  overflow: hidden;
  border-radius: 1rem;
  background: rgb(var(--night));
}

.service-faq__list {
  margin-top: 2rem;
  border-top: 1px solid rgb(var(--line));
}

.service-faq details {
  border-bottom: 1px solid rgb(var(--line));
}

.service-faq summary {
  min-height: 3.5rem;
  padding: 1rem 2.5rem 1rem 0;
  cursor: pointer;
  font-weight: 750;
}

.service-faq summary::marker {
  color: rgb(var(--primary));
}

.service-faq details div {
  max-width: 50rem;
  padding: 0 0 1.3rem;
  color: rgb(var(--muted));
  line-height: 1.75;
}

.service-faq a {
  color: rgb(var(--primary));
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.service-related {
  background: rgb(var(--surface));
}

.service-related .service-heading + div {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.service-related a {
  display: grid;
  gap: 0.45rem;
  padding: 1.25rem;
  border: 1px solid rgb(var(--line));
  border-radius: 1rem;
  background: #fff;
}

.service-related strong {
  color: rgb(var(--primary));
}

.service-related span {
  color: rgb(var(--muted));
}

.service-final {
  padding: clamp(4rem, 10vw, 7rem) 0;
  background: rgb(var(--primary));
  color: #fff;
}

.service-final h2 {
  max-width: 50rem;
  margin-top: 0.5rem;
  color: #fff;
  font-size: clamp(2.25rem, 6vw, 4rem);
}

.service-final h2 + p {
  max-width: 48rem;
  margin-top: 1rem;
  color: #ffffffd1;
  font-size: 1.1rem;
  line-height: 1.75;
}

.service-final__actions > a:not(.btn) {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  padding: 0.5rem;
  color: #fff;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.service-final__note {
  max-width: 55rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid #ffffff2e;
  color: #ffffffad;
  font-size: 0.85rem;
  line-height: 1.65;
}

@media (min-width: 700px) {
  .pain-grid,
  .scope-grid,
  .context-grid,
  .service-related .service-heading + div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pipeline-board ol,
  .deliverables-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .service-process dl {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .quote-card {
    grid-template-columns: 1fr auto;
  }

  .service-guide .container {
    grid-template-columns: 1fr minmax(20rem, 0.85fr);
  }
}

@media (min-width: 960px) {
  .recruitment-hero__grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(28rem, 0.9fr);
  }

  .pain-grid,
  .scope-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .service-control .container {
    grid-template-columns: minmax(0, 1.2fr) minmax(25rem, 0.8fr);
    align-items: start;
  }

  .service-related .service-heading + div {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 699px) {
  .recruitment-hero__actions,
  .service-final__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .recruitment-hero__actions .btn,
  .service-final__actions .btn {
    width: 100%;
    white-space: normal;
    min-height: 3.25rem;
    height: auto;
    padding-block: 0.75rem;
    text-align: center;
  }

  .pipeline-board ol,
  .service-control ul {
    grid-template-columns: 1fr;
  }

  .service-process > li,
  .assessment-steps li {
    grid-template-columns: 1fr;
  }

  .service-table {
    margin-inline: -0.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .recruitment-hero *,
  .service-section *,
  .service-control *,
  .service-final * {
    scroll-behavior: auto !important;
  }
}
