/* Services-only art direction. Shared pages and the homepage retain styles.css.
   Each decorative layer has a bounded region independent of disclosure height. */
.services-page .material-scene,
.services-page .service-family-section:nth-of-type(even) {
  background: var(--canvas);
}
.services-page .material-scene {
  --scene-opacity: .74;
  --scene-brightness: .82;
  --scene-position: center;
  --scene-offset: 128px;
  --scene-height: clamp(620px, 60vw, 900px);
}
.services-page .material-backdrop {
  /* The clipping layer follows content, but the image does not recrop.
     Only this decorative layer clips; focusable content stays outside it. */
  inset: 0;
  height: 100%;
  overflow: hidden;
}
.services-page .material-backdrop img {
  position: absolute;
  inset: var(--scene-offset) 0 auto;
  width: 100%;
  height: var(--scene-height);
  object-fit: cover;
  object-position: var(--scene-position);
  filter: brightness(var(--scene-brightness));
  opacity: var(--scene-opacity);
}
.services-page .services-opening {
  --scene-opacity: .86;
  --scene-brightness: .82;
  --scene-position: center 47%;
  --scene-offset: 0px;
  --scene-height: 100%;
}
.services-page .services-opening-copy { padding-block: 172px 80px; }
.services-page .services-opening h1 {
  max-width: 920px;
  font-size: clamp(42px, 3.4vw + 29px, 82px);
  line-height: 1.06;
}
.services-page .services-opening-copy > p {
  max-width: 51ch;
  margin-top: 28px;
  font-size: clamp(18px, .3vw + 16px, 20px);
}
.services-page .services-opening .hero-actions { margin-top: 32px; }
.services-page .family-index {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px 32px;
  padding-block: 24px 32px;
}
.services-page .family-index a {
  min-height: 48px;
  padding-block: 8px;
  line-height: 1.45;
}
.services-page .service-family-section { padding-block: clamp(60px, 7.15vw, 104px); }
.services-page .family-heading {
  grid-template-columns: 5fr 7fr;
  align-items: start;
  gap: clamp(32px, 5.55vw, 80px);
  margin-bottom: 56px;
}
.services-page .family-heading h2 {
  font-size: clamp(34px, 2.2vw + 24px, 56px);
  line-height: 1.1;
}
.services-page .family-introduction { max-width: 58ch; }
.services-page .family-introduction p { color: var(--muted); }
.services-page .family-introduction .family-lead {
  color: var(--text);
  font-size: clamp(20px, .35vw + 18px, 23px);
  line-height: 1.4;
  margin-bottom: 16px;
}
.services-page .capability-set { gap: 56px clamp(40px, 5.55vw, 80px); }
.services-page .capability h3 {
  font-size: clamp(26px, .7vw + 23px, 34px);
  line-height: 1.17;
  max-width: 25ch;
}
.services-page .capability > p,
.services-page .care-copy > p { margin-top: 24px; color: var(--muted); max-width: 56ch; }
.services-page .deliverables { line-height: 1.6; max-width: 55ch; }
.services-page .capability .text-link { margin-top: 12px; max-width: 100%; }
.services-page .capability details { margin-top: 24px; border-top: 1px solid var(--rule); }
.services-page .capability summary {
  min-height: 48px;
  padding-block: 13px;
  color: var(--text);
  font-size: 16px;
}
.services-page .capability details p { max-width: 64ch; font-size: 16px; line-height: 1.6; }
.services-page .capability .buying-note { font-size: 16px; line-height: 1.55; }
.services-page .family-example {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 20px 48px;
  max-width: none;
  margin-top: 48px;
  padding-top: 24px;
  font-size: 17px;
}
.services-page .family-example p { max-width: 64ch; }
.services-page .family-example .text-link { margin-top: -6px; }

/* The generated shadow perimeter joins the existing canvas. Blending affects
   only the decorative layer, never reading copy or interactive controls. */
.services-page .service-family-section .material-backdrop { mix-blend-mode: lighten; }
/* Reading regions can cross material when setup details expand. Keep those
   paragraphs chalk; the quiet family introductions retain their muted tone. */
.services-page .service-family-section .capability > p,
.services-page .service-family-section .capability details p,
.services-page .service-family-section .care-copy > p,
.services-page .service-family-section .family-example,
.services-page .services-conversion .service-routes p,
.services-page .services-conversion .service-study-link p { color: var(--text); }

/* S02: an asymmetrical, open pair. */
.services-page .services-presence {
  --scene-opacity: .46;
  --scene-brightness: 1;
  --scene-position: right bottom;
  --scene-offset: 160px;
}
.services-page .services-presence .capability-set { grid-template-columns: 7fr 5fr; }

/* S03: service scope at left; useful action sequences at right. */
.services-page .services-conversion {
  --scene-opacity: .38;
  --scene-brightness: 1;
  --scene-position: right center;
  --scene-offset: 180px;
  --scene-height: clamp(680px, 65vw, 940px);
}
.services-page .services-conversion .family-heading {
  display: block;
  max-width: 920px;
}
.services-page .services-conversion .family-introduction { margin-top: 24px; }
.services-page .conversion-composition {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(40px, 5.55vw, 80px);
  align-items: start;
}
.services-page .conversion-routes { border-top: 1px solid var(--rule); padding-top: 24px; }
.services-page .conversion-routes > h3 { font-size: clamp(24px, .5vw + 22px, 29px); line-height: 1.2; }
.services-page .service-routes { list-style: none; padding: 0; margin: 28px 0 0; }
.services-page .service-routes li + li { border-top: 1px solid var(--rule); margin-top: 24px; padding-top: 24px; }
.services-page .service-routes h4 { margin: 0 0 8px; font-size: 18px; font-weight: 700; }
.services-page .service-routes p { color: var(--muted); font-size: 17px; max-width: 45ch; }
.services-page .service-study-link { margin-top: 24px; }
.services-page .service-study-link p { color: var(--muted); margin-top: 12px; font-size: 16px; max-width: 44ch; }

/* S04: a broad introduction followed by material and campaign work. */
.services-page .services-acquisition {
  --scene-opacity: .35;
  --scene-brightness: 1;
  --scene-position: center bottom;
  --scene-offset: 168px;
}
.services-page .services-acquisition .family-heading { display: block; margin-bottom: 64px; }
.services-page .services-acquisition .family-heading h2 { max-width: 24ch; }
.services-page .services-acquisition .family-introduction { margin-top: 24px; max-width: 73ch; }
.services-page .services-acquisition .family-introduction .family-lead { max-width: 50ch; }
.services-page .services-acquisition .capability-set { grid-template-columns: 1fr 1fr; }

/* S05: two related capabilities, then maintenance spanning the offer. */
.services-page .services-follow-through {
  --scene-opacity: .36;
  --scene-brightness: 1;
  --scene-position: left bottom;
  --scene-offset: 288px;
  --scene-height: clamp(800px, 72vw, 1040px);
}
.services-page .services-follow-through .family-heading { grid-template-columns: 1fr 1fr; }
.services-page #care {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5.55vw, 80px);
  padding-top: 40px;
  border-top: 1px solid var(--rule);
}
.services-page .care-support .deliverables { margin-top: 0; }
.services-page .service-questions {
  padding-block: clamp(60px, 6.5vw, 96px);
  gap: clamp(40px, 6vw, 88px);
}
.services-page .service-questions h2 { font-size: clamp(34px, 1.7vw + 25px, 50px); }
.services-page .questions summary { min-height: 48px; font-size: clamp(18px, .2vw + 17px, 20px); }
.services-page .service-questions .questions p { margin-top: 12px; }

/* S06 stays local to the Services ending. */
.services-page .services-closing {
  --scene-opacity: .44;
  --scene-brightness: .8;
  --scene-position: right bottom;
  --scene-offset: 0px;
  --scene-height: 100%;
  border-top: 1px solid var(--rule);
  overflow: visible;
  padding-block: clamp(56px, 5.6vw, 80px);
}
.services-page .services-closing .close-title { max-width: 660px; }
.services-page .services-closing .close-title p { max-width: 57ch; color: var(--text); }
.services-page .services-closing .close-title h2 { font-size: clamp(40px, 2.4vw + 28px, 64px); }

@media (min-width: 981px) {
  .services-page .site-top { position: absolute; inset: 0 0 auto; background: transparent; }
  /* Keep reading contrast across the stronger Conversion artwork movement. */
  .services-page .services-conversion { --scene-opacity: .35; }
  /* Keep the navigation in the artwork's natural shadow without a header band. */
  .services-page .services-opening .material-backdrop img {
    width: calc(100% + 128px);
    max-width: none;
    right: auto;
    object-position: left top;
  }
}
@media (max-width: 980px) {
  .services-page .services-opening-copy { padding-block: 48px 64px; }
  .services-page .services-opening h1 { max-width: 830px; }
  .services-page .family-heading { gap: 32px; }
  .services-page .family-index { gap: 12px 20px; font-size: 15px; }
  .services-page .family-example { grid-template-columns: 1fr; gap: 16px; }
  .services-page .family-example .text-link { justify-self: start; margin-top: 0; }
}
@media (max-width: 720px) {
  .services-page .services-opening-copy { padding-block: 40px 48px; }
  .services-page .services-opening h1 { font-size: clamp(42px, 3.4vw + 29px, 82px); max-width: 15ch; }
  .services-page .services-opening .desktop-break { display: none; }
  .services-page .services-opening-copy > p { margin-top: 24px; max-width: 45ch; }
  .services-page .services-opening .hero-actions { gap: 16px 24px; margin-top: 28px; }
  .services-page .services-opening { --scene-position: right center; --scene-opacity: .69; --scene-brightness: .76; }
  .services-page .family-index { grid-template-columns: 1fr 1fr; padding-block: 16px 24px; gap: 8px 20px; font-size: 16px; }
  .services-page .service-family-section { padding-block: 56px; }
  .services-page .family-heading,
  .services-page .services-follow-through .family-heading { display: block; margin-bottom: 32px; }
  .services-page .family-heading h2 { font-size: clamp(34px, 8.5vw, 40px); line-height: 1.08; }
  .services-page .family-introduction { margin-top: 20px; }
  .services-page .family-introduction p { color: var(--text); }
  .services-page .family-introduction .family-lead { font-size: 21px; margin-bottom: 12px; }
  .services-page .capability-set,
  .services-page .services-presence .capability-set,
  .services-page .services-acquisition .capability-set,
  .services-page .conversion-composition,
  .services-page #care { grid-template-columns: 1fr; gap: 32px; }
  .services-page .capability h3 { font-size: clamp(26px, 1vw + 23px, 30px); }
  .services-page .capability > p,
  .services-page .care-copy > p { margin-top: 16px; }
  .services-page .deliverables { margin-block: 20px; }
  .services-page .capability details { margin-top: 20px; }
  .services-page .family-example { margin-top: 32px; padding-top: 20px; }
  /* Bring each portrait scene into the family's first screen. Its bounded
     artwork stays static and keeps its crop when setup details are opened. */
  .services-page .service-family-section {
    --scene-offset: 0px;
    --scene-height: clamp(620px, 160vw, 840px);
    --scene-opacity: .42;
    --scene-brightness: .86;
  }
  .services-page .services-presence { --scene-position: right top; }
  .services-page .services-conversion { --scene-position: right top; }
  .services-page .services-acquisition { --scene-position: center top; }
  .services-page .services-acquisition .family-heading { margin-bottom: 32px; }
  .services-page .services-follow-through { --scene-position: left top; }
  .services-page #care { padding-top: 32px; gap: 24px; }
  .services-page .service-questions { padding-block: 56px; }
  .services-page .services-closing { --scene-position: right bottom; --scene-opacity: .64; --scene-brightness: .76; }
  .services-page .services-closing .email-address { font-size: 18px; }
}

@media (max-width: 430px) {
  /* An explicit phone arrangement stays stable while the webfont loads. */
  .services-page .services-opening .hero-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

@media (min-width: 721px) and (max-width: 980px) {
  /* This landscape crop places textured material behind the introductory copy.
     Limit its brightest possible pixel while keeping the desktop hero intact. */
  .services-page .services-opening { --scene-opacity: .44; --scene-brightness: .8; }
}
