/* Services category and service pages, APPROVED 24 Nov 2026: round 7 A2, Dark film. Builds on options.css (the approved hub). */
.il-l { text-decoration: underline; text-decoration-color: rgba(1,1,1,.3); text-underline-offset: 3px; transition: text-decoration-color .25s var(--ease); }
@media (hover: hover) { .il-l:hover { text-decoration-color: #010101; } }

/* the service mark: the service's own icon, drawn in fine white line on the black stage */
.stg .mk { display: block; width: 100%; height: 100%; overflow: visible; fill: none; stroke: currentColor; stroke-width: .17; stroke-linecap: round; stroke-linejoin: round; }
.stg .sc:has(.mk) { width: 34%; aspect-ratio: 1; }
.so-js .stg .mk * { stroke-dasharray: 1.02; stroke-dashoffset: 1.02; }
.so-js .sc.live .mk * { animation: mkDraw 2.6s var(--ease) both; }
.so-js .sc.live .mk :nth-child(2) { animation-delay: .3s; stroke: var(--blue); }
.so-js .sc.live .mk :nth-child(3) { animation-delay: .6s; }
.so-js .sc.live .mk :nth-child(4) { animation-delay: .9s; }
@keyframes mkDraw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .so-js .stg .mk * { stroke-dashoffset: 0; } }

/* body text, shared */
.tx { display: grid; align-content: start; gap: 18px; max-width: 40rem; font-size: 16px; line-height: 1.55; }
.tx p { color: rgba(1,1,1,.78); }
.bl { display: grid; margin: 4px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.bl li { position: relative; padding: 13px 0 13px 26px; border-bottom: 1px solid var(--line); }
.bl li::before { content: ""; position: absolute; left: 2px; top: 1.32em; width: 9px; height: 1px; background: #010101; }
.stp { display: grid; margin-top: 4px; border-top: 1px solid var(--line); counter-reset: s; }
.stp li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 4px 18px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.stp .n { grid-row: span 2; font-size: 40px; line-height: .9; font-weight: 300; letter-spacing: -.04em; color: rgba(1,1,1,.32); }
.stp h3 { font-size: 18px; line-height: 1.25; letter-spacing: -.02em; }
.stp p { font-size: 15px; }

.sv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gut); margin: var(--sp-big) var(--gm) 0; padding-top: 24px; border-top: 1px solid #010101; }
.nw { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gut); margin: var(--sp-big) var(--gm) 0; padding-top: 24px; border-top: 1px solid #010101; }
.nw > div { display: grid; gap: 16px; max-width: 37rem; font-size: 16px; }
.fq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gut); margin: var(--sp-big) var(--gm) 0; padding-top: 24px; border-top: 1px solid #010101; }
.fq details { border-top: 1px solid var(--line); }
.fq details:last-child { border-bottom: 1px solid var(--line); }
.fq summary { display: flex; justify-content: space-between; align-items: center; gap: 18px; min-height: 62px; cursor: pointer; list-style: none; font-size: clamp(17px, 1.3vw, 20px); letter-spacing: -.02em; }
.fq summary::-webkit-details-marker { display: none; }
.fq summary i { position: relative; flex: none; width: 14px; height: 14px; }
.fq summary i::before, .fq summary i::after { content: ""; position: absolute; left: 0; top: 50%; width: 14px; height: 1px; background: #010101; transition: transform .35s var(--ease); }
.fq summary i::after { transform: rotate(90deg); }
.fq details[open] summary i::after { transform: none; }
.fq details p { padding: 0 0 20px; max-width: 37rem; font-size: 15px; color: rgba(1,1,1,.75); }
.fq details::details-content { block-size: 0; overflow: hidden; transition: block-size .45s var(--ease), content-visibility .45s allow-discrete; }
.fq details[open]::details-content { block-size: auto; }


/* Case study type scale (.sp7).
   Section heads at the case heading size (27px), not H1 size; text from column 7; the lead becomes a statement; facts become the case table rows. */
.sp7 { --sec: var(--sp-sec); }
.sp7 h2 { font-size: var(--fs-l); line-height: 1.2; letter-spacing: -.03em; }
.sp7 .fpush h2 { font-size: var(--fs-h1); line-height: 1; letter-spacing: -.05em; }
.sp7 :is(.sn, .sv, .nw, .fq) { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 var(--gut); margin: var(--sec) var(--gm) 0; padding-top: 14px; border-top: 1px solid #010101; }
.sp7 :is(.sn, .sv, .nw, .fq) > h2 { grid-column: 1 / span 5; position: sticky; top: 96px; align-self: start; padding-right: 6%; }
.sp7 :is(.sn, .sv, .nw, .fq) > :not(h2) { grid-column: 7 / -1; }
.sp7 .sn .tx, .sp7 .nw > div { max-width: 38rem; font-size: 17px; line-height: 1.6; }
.sp7 .wk { margin-top: var(--sec); }
.sp7 .wk h2 { max-width: none; margin-bottom: 32px; padding-top: 14px; border-top: 1px solid #010101; }
.sp7 .fpush { margin-top: var(--sp-enorm); }

.sp7 .sv .rows .r:first-child, .sp7 .fq details:first-child { border-top: 0; }
/* rows sit in half the width here: the name keeps one line, the hover description takes what is left */
@media (min-width: 700px) and (hover: hover) { .sp7 .r { grid-template-columns: 21px auto minmax(0, 1fr) 16px; } .sp7 .rn { white-space: nowrap; } }

/* statement (case brief: indented first line) and ruled facts (case table: label left, value from column 7) */
.ito { margin: var(--sec) var(--gm) 0; }
.stm { max-width: 21em; font-size: clamp(24px, 2.36vw, 44px); line-height: 1.18; letter-spacing: -.03em; text-indent: 25%; }
.fx2 { margin: var(--sp-big) 0 0; }
.fx2 > div { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gut); padding: 10px 0 20px; border-top: 1px solid #010101; font-size: 16px; line-height: 1.5; }
.fx2 > div:last-child { border-bottom: 1px solid #010101; }
.fx2 dt { grid-column: 1 / span 6; }
.fx2 dd { grid-column: 7 / -1; margin: 0; }
.fx2 [data-nd] dd::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 9px; vertical-align: .12em; border: 1px solid #010101; border-radius: 50%; }
.fx2 .fr:nth-child(2) { --d: .07s; } .fx2 .fr:nth-child(3) { --d: .14s; } .fx2 .fr:nth-child(4) { --d: .21s; } .fx2 .fr:nth-child(5) { --d: .28s; }
/* steps rise one after another */
@media (prefers-reduced-motion: no-preference) {
  .so-js .sp7 .stp li { opacity: 0; transform: translate3d(0, 28px, 0); }
  .so-js .sp7 .stp.in li { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .9s var(--ease); }
  .so-js .sp7 .stp.in li:nth-child(2) { transition-delay: .09s; } .so-js .sp7 .stp.in li:nth-child(3) { transition-delay: .18s; }
  .so-js .sp7 .stp.in li:nth-child(4) { transition-delay: .27s; } .so-js .sp7 .stp.in li:nth-child(5) { transition-delay: .36s; }
}
/* the drawing drifts slower than the page (--y set on scroll) */
.stg.px .sc { translate: 0 var(--y, 0); }

/* Dark film. The approved media hero holds the stage; the title sits at column 7; the page slides up over it */
.sh2 .mh-bgi .stg { height: 100%; max-height: none; aspect-ratio: auto; border-radius: 0; background-color: #0c0d0f; }
.sh2 .mh-bg::before { display: none; }
.sh2 .mh-bgi .sc { position: absolute; left: var(--gm); top: 50%; width: calc(var(--w6) * .78); margin-top: calc(var(--w6) * -.27); opacity: calc(1 - var(--p, 0) * .75); }
.sh2 .mh-bgi .sc:has(.mk) { width: calc(var(--w6) * .44); aspect-ratio: 1; margin-top: calc(var(--w6) * -.22); left: calc(var(--gm) + var(--w6) * .2); }
.sh2 .mh-in { align-items: flex-start; padding-top: max(33.33vh, 150px); }
.sh2 h1 { flex: none; width: var(--w6); max-width: none; margin-left: calc(var(--w6) + var(--gut)); font-size: clamp(40px, 4.6vw, 88px); line-height: 1; letter-spacing: -.05em; }
.sh2-bc { position: relative; z-index: 1; padding: 22px var(--gm) 0; background: #fff; }
.sh2-bc .st-bc { margin: 0; }
.sp-a2 #opt > :not(.sh2) { position: relative; z-index: 1; background: #fff; }
.sp-a2 #opt { background: #fff; }

@media (max-width: 999px) {
  .sp7 { --sec: 96px; }
  .sp7 :is(.sn, .sv, .nw, .fq) { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .sp7 :is(.sn, .sv, .nw, .fq) > h2 { position: static; grid-column: 1; }
  .sp7 :is(.sn, .sv, .nw, .fq) > :not(h2) { grid-column: 1; }
  .stm { text-indent: 0; }
  .fx2 > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .fx2 dt { grid-column: 1; color: rgba(1,1,1,.55); font-size: 14px; }
  .fx2 dd { grid-column: 1; }
  .sh2 .mh-in { padding-top: 0; padding-bottom: 88px; }
  .sh2 h1 { width: auto; margin-left: 0; font-size: clamp(40px, 12vw, 72px); }
  .sh2 .mh-bgi .sc { left: 15%; top: 18%; width: 70%; margin: 0; }
  .sh2 .mh-bgi .sc:has(.mk) { width: 52%; left: 24%; margin: 0; }
}
@media (max-width: 699px) {
  .stp li { grid-template-columns: 44px minmax(0, 1fr); }
  .stp .n { font-size: 30px; }
  .sp7 .sn .tx { font-size: 16px; }
}
