/* ── Dedicated Services page (/services) ── */

main[data-route="services"] .page-head{
  padding: var(--stack-md) 0 var(--stack-md);
}

main[data-route="services"] .page-head .container-wide{
  align-items: start;
}

.svc-page-pillars{
  padding-bottom: 0;
}

.svc-page-pillars .services-grid{
  margin-top: 0;
}

main[data-route="services"] .service-card--static{
  cursor: default;
  min-height: 300px;
}

main[data-route="services"] .service-card--static:hover{
  background: transparent;
  padding: 40px 36px 40px 0;
}

main[data-route="services"] .service-card--static:nth-child(2n):hover{
  padding-left: 36px;
  padding-right: 0;
}

main[data-route="services"] .service-card--static.service-card--featured:hover{
  background: var(--paper-4);
}

/* Creator — standalone section */
.services-creator-section{
  padding: 0 0 var(--section-y);
  background: var(--paper-2);
}

.services-home-close{
  max-width: 60ch;
  margin: var(--stack-xl) auto 0;
  text-align: center;
  text-wrap: balance;
}

.services-home-close__actions{
  margin-top: var(--stack-md);
}

#services-home{
  padding-bottom: var(--stack-lg);
}

#services-home .services-creator-section{
  padding-bottom: 0;
}

#services-home .services-creator-section .section-eyebrow{
  margin-top: var(--stack-xl);
}

.svc-page-creator{
  padding: var(--stack-lg) 0 clamp(40px, 5.5vw, 64px);
}

.svc-page-creator .section-eyebrow,
.services-creator-section .section-eyebrow{
  border-top: none;
}

.svc-page-creator .section-eyebrow{
  margin-top: 0;
  margin-bottom: 0;
}

main[data-route="services"] .svc-page-creator .services-creator-card{
  margin-top: var(--stack-lg);
}

main[data-route="services"] .svc-page-pillars .service-card:nth-child(3),
main[data-route="services"] .svc-page-pillars .service-card:nth-child(4){
  border-bottom: none;
}

/* Creator CTA — pill button in section eyebrow */
.btn-creator{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  padding: 13px 24px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--bordeaux);
  background: var(--paper-4);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .35s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .35s var(--ease), gap .35s var(--ease);
}

.btn-creator:hover{
  background: var(--bordeaux);
  border-color: var(--bordeaux);
  color: var(--paper);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px -10px rgba(78,24,56,.45);
  gap: 14px;
}

.btn-creator__arrow{
  display: inline-flex;
  font-size: 13px;
  line-height: 1;
  transition: transform .35s var(--ease);
}

.btn-creator:hover .btn-creator__arrow{
  transform: translateX(3px);
}

.services-creator-section .section-eyebrow .btn-creator.right{
  align-self: flex-end;
  margin-left: 0;
  margin-bottom: clamp(4px, 1vw, 10px);
}

@media (max-width: 640px){
  .services-creator-section .section-eyebrow .btn-creator.right{
    align-self: flex-start;
    margin-bottom: 0;
    width: 100%;
    justify-content: center;
  }
}

.services-creator-card{
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  padding: clamp(32px, 4vw, 44px) clamp(28px, 3.5vw, 36px);
  margin-top: var(--stack-xl);
  border-top: var(--rule);
  border-right: var(--rule);
  border-bottom: var(--rule);
  background: transparent;
  text-decoration: none;
  color: inherit;
  position: relative;
  transition: background .35s var(--ease), transform .35s var(--ease);
}

.services-creator-card:hover{
  background: var(--paper-4);
  transform: translateY(-2px);
}

.services-creator-card p{
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-2);
  margin: 0;
  max-width: 42ch;
}

.services-creator-card .delivers{
  list-style: none;
  padding: 14px 0 0;
  margin: 0;
  border-top: var(--rule);
  font-family: var(--sans);
  font-size: 12.5px;
  color: var(--ink-3);
  letter-spacing: .005em;
}

.services-creator-card .delivers li{
  padding: 5px 0;
}

.services-creator-card .delivers li::before{
  content: '· ';
  color: var(--bordeaux);
}

.services-creator-card .arrow{
  position: absolute;
  right: clamp(24px, 3vw, 36px);
  bottom: clamp(24px, 3vw, 36px);
  font-size: 18px;
  color: var(--bordeaux);
  transition: transform .35s var(--ease);
}

.services-creator-card:hover .arrow{
  transform: translate(8px, -2px);
}

@media (max-width: 760px){
  .services-creator-card{
    grid-template-columns: 1fr;
    border-right: 0;
    padding-inline: 0;
    padding-bottom: 56px;
  }
  .services-creator-card .arrow{ right: 0; }
}

@media (max-width: 760px){
  /* Same 21px inset as the home grid, so the four cards line up with the
     featured one. This block outranks the base rule in components.css. */
  main[data-route="services"] .service-card--static,
  main[data-route="services"] .service-card--static:hover,
  main[data-route="services"] .service-card--static:nth-child(2n):hover{
    padding: 32px 21px 56px;
  }

  main[data-route="services"] .service-card--static.service-card--featured,
  main[data-route="services"] .service-card--static.service-card--featured:hover,
  main[data-route="services"] .service-card--static.service-card--featured:nth-child(2n):hover{
    margin: 16px 0;
    padding: 24px 20px 64px;
    border: 1px solid var(--line-strong);
  }

  main[data-route="services"] .service-card--static.service-card--featured .arrow{
    right: 20px;
    bottom: 24px;
  }
}

/* Process — two paths */
.svc-page-process{
  padding: 0 0 clamp(40px, 5.5vw, 64px);
  background: var(--paper);
  position: relative;
}

.svc-page-process::before{
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: var(--line);
}

.svc-page-process .section-eyebrow{
  margin-bottom: 0;
}

.svc-page-process__lede{
  margin: var(--stack-sm) 0 0;
  max-width: 52ch;
}

.svc-paths{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: var(--rule);
  margin-top: var(--stack-lg);
}

.svc-path{
  padding: clamp(32px, 4vw, 44px) clamp(28px, 3.5vw, 36px) clamp(32px, 4vw, 44px) 0;
  border-right: var(--rule);
  border-bottom: var(--rule);
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 100%;
  transition: background .35s var(--ease);
}

.svc-path:nth-child(2){
  padding-left: clamp(28px, 3.5vw, 36px);
  padding-right: 0;
  border-right: 0;
}

.svc-path:hover{
  background: var(--paper-4);
}

.svc-path--featured{
  background: transparent;
  position: relative;
}

.svc-path--featured::before{
  content: attr(data-tag);
  position: absolute;
  top: 16px;
  right: 16px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--bordeaux);
  border: 1px solid var(--bordeaux);
  padding: 4px 9px;
  border-radius: 999px;
  line-height: 1.4;
  max-width: calc(100% - 32px);
  text-align: center;
}

.svc-path__num{
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .26em;
  color: var(--ink-3);
}

.svc-path h3{
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.12;
  letter-spacing: -.015em;
  padding-right: clamp(72px, 20%, 120px);
}

.svc-path__summary{
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-2);
  margin: 0;
  max-width: 38ch;
}

.svc-path__list{
  list-style: none;
  counter-reset: path-step;
  padding: 14px 0 0;
  margin: auto 0 0;
  border-top: var(--rule);
  font-family: var(--sans);
  font-size: 12.5px;
  color: var(--ink-3);
}

.svc-path__list li{
  counter-increment: path-step;
  padding: 5px 0;
}

.svc-path__list li::before{
  content: counter(path-step) '. ';
  color: var(--bordeaux);
}

/* Outro — dark CTA band */
.svc-page-outro{
  background: var(--paper-2);
}

.svc-page-outro__cta{
  margin-top: 0;
}

.svc-page-outro__cta-inner{
  max-width: 100%;
}

.svc-page-outro__quote{
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1.28;
  letter-spacing: -.015em;
  font-style: italic;
  font-weight: 400;
  color: var(--paper);
  max-width: min(960px, 100%);
  margin: 0 auto;
  border: none;
  padding: 0;
  quotes: none;
  text-wrap: balance;
}

.svc-page-outro__quote::before,
.svc-page-outro__quote::after{
  content: none;
}

.svc-page-outro__quote + .cta-actions{
  margin-top: clamp(32px, 4vw, 48px);
}

main[data-route="services"] .svc-page-outro .cta-section{
  padding: clamp(56px, 8vw, 88px) 0;
}

@media (max-width: 900px){
  .svc-paths{
    grid-template-columns: 1fr;
  }

  .svc-path,
  .svc-path:nth-child(2){
    padding: var(--stack-lg) 0;
    border-right: 0;
  }

  .svc-path--featured::before{
    position: static;
    display: inline-block;
    align-self: flex-start;
    max-width: 100%;
    margin-bottom: 4px;
  }

  .svc-path h3{
    padding-right: 0;
  }
}
