/* Existing native-scroll service sequence, styled for this company preview. */
.services { --service-header-height: 76px; }
.services .section-body { padding-bottom: 25px; }
.services-sequence { position: relative; min-width: 0; overflow-anchor: none; }
.services-sticky { background: var(--paper); border-block: 1px solid var(--line); }
.services-stage { display: flex; flex-direction: column; gap: 22px; padding: 20px 12px; }
.service-step-nav { display: flex; flex: none; gap: 6px; overflow-x: auto; scrollbar-width: thin; scroll-padding-inline: 4px; padding: 4px; margin-inline: -4px; }
.service-step-nav a { flex: 1 0 110px; display: flex; align-items: center; justify-content: center; gap: 8px; min-width: 44px; min-height: 48px; padding: 8px 12px; border: 1px solid var(--line-strong); border-bottom: 2px solid var(--line-strong); background: var(--surface); color: var(--muted); font-size: .875rem; white-space: nowrap; }
.service-step-number { font-size: .75rem; font-variant-numeric: tabular-nums; }
.service-step-label { font-weight: 600; }
.service-step-nav a:is(:hover,[aria-current="step"]) { color: var(--accent); border-color: var(--accent-line); border-bottom-color: var(--accent); background: var(--accent-surface); }
.service-slides { display: grid; gap: 56px; min-height: 0; }
.service-slide { display: grid; grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr); grid-template-areas: "art copy"; gap: 44px; align-items: center; padding-block: 28px; scroll-margin-top: calc(var(--service-header-height) + 20px); }
.service-slide:nth-child(even) { grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr); grid-template-areas: "copy art"; }
.service-slide > * { min-width: 0; min-height: 0; }
.service-art { grid-area: art; justify-self: center; width: 100%; aspect-ratio: 1; overflow: hidden; border: 1px solid var(--line); background: var(--surface-sunken); }
.service-art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.service-copy { grid-area: copy; display: flex; flex-direction: column; justify-content: center; min-height: 0; }
.service-heading { flex: none; padding-bottom: 20px; }
.service-copy h3 { font-size: 29px; margin: 13px 0 8px; line-height: 1.3; }
.service-lead { color: var(--accent); font-size: 15px; font-weight: 600; }
.service-reading { min-height: 0; }
.service-reading-content { padding-bottom: 2px; }
.service-description { max-inline-size: 65ch; font-size: 1rem; line-height: 1.8; }
.service-description p + p { margin-top: 1em; }
.service-tag { display: inline-block; font-size: 10px; border: 1px solid var(--line); padding: 4px 9px; margin-top: 18px; color: var(--muted); }
.service-stage-footer { display: none; }

/* Native wheel, touch, keyboard and scrollbar movement share the same sequence. */
.services--pinned .services-sticky { position: sticky; top: var(--service-header-height); height: calc(100svh - var(--service-header-height)); }
.services--pinned .services-stage { height: 100%; }
.services--pinned .service-slides { position: relative; display: block; flex: 1; }
.services--pinned .service-slide { position: absolute; inset: 0; padding-block: 0; visibility: hidden; pointer-events: none; }
.services--pinned .service-slide.is-active { visibility: visible; pointer-events: auto; }
.services--pinned .service-art { width: min(100%,calc(100svh - var(--service-header-height) - 200px)); }
.services--pinned .service-copy { height: 100%; }
.services--pinned .service-reading { --reading-top: 0px; --reading-bottom: 0px; flex: 0 1 auto; overflow: hidden; overflow: clip; mask-image: linear-gradient(to bottom,transparent,#000 var(--reading-top),#000 calc(100% - var(--reading-bottom)),transparent); }
.services--pinned .service-reading[data-reading-before] { --reading-top: 16px; }
.services--pinned .service-reading[data-reading-after] { --reading-bottom: 16px; }
/* Reveal the incoming content in place; the service tabs and controls stay sharp. */
.services--pinned .service-slide.is-active .service-art,
.services--pinned .service-slide.is-active .service-copy { animation: service-reveal .5s ease-out both; }
.services--pinned .service-stage-footer { display: flex; flex: none; align-items: center; gap: 16px; color: var(--muted); font-size: .75rem; }
.service-scroll-hint { flex: 0 1 290px; line-height: 1.6; }
.service-progress { height: 3px; flex: 1; min-width: 30px; background: var(--line-strong); }
.service-progress span { display: block; width: 100%; height: 100%; background: var(--accent); transform: scaleX(var(--service-progress,0)); transform-origin: left; }
[data-service-position] { white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--accent); }
.service-stage-actions { display: flex; gap: 8px; }
.service-stage-actions button { min-width: 44px; min-height: 44px; padding: 6px 10px; border: 1px solid var(--line-strong); background: var(--surface); font-size: 18px; }
.service-stage-actions [data-service-next] { color: var(--accent); }
.service-stage-actions button:hover:not(:disabled) { color: var(--on-accent); border-color: var(--accent); background: var(--accent); }
.service-stage-actions button:disabled { opacity: .4; cursor: default; }
@keyframes service-reveal { from { opacity: .45; filter: blur(12px); } to { opacity: 1; filter: blur(0); } }

@media(max-width:1050px) {
  .service-slide { gap: 28px; }
  .service-step-nav a { flex-basis: 108px; gap: 6px; }
  .service-copy h3 { font-size: 26px; }
}
@media(max-width:700px) {
  .services-stage { padding: 16px 4px; gap: 14px; }
  .service-step-nav a { flex: 0 0 auto; min-width: 108px; min-height: 44px; padding: 8px 12px; }
  .service-slide,.service-slide:nth-child(even) { grid-template-columns: 1fr; grid-template-areas: "art" "copy"; gap: 20px; }
  .service-art { width: min(100%,300px); }
  .service-copy h3 { font-size: 23px; margin-top: 8px; }
  .service-heading { padding-bottom: 14px; }
  .service-lead { font-size: 14px; }
  .service-tag { margin-top: 16px; }
  .services--pinned .service-slide { --service-image-size: clamp(92px,18svh,160px); grid-template-rows: var(--service-image-size) minmax(0,1fr); gap: 18px; }
  .services--pinned .service-art { width: min(100%,var(--service-image-size)); }
  .services--pinned .service-copy { justify-content: flex-start; }
  .services--pinned .service-stage-footer { display: grid; grid-template-columns: minmax(24px,1fr) auto auto; gap: 8px 12px; }
  .service-scroll-hint { grid-column: 1 / -1; min-height: 20px; }
}
@media(max-width:370px) {
  .service-copy h3 { font-size: 20px; }
  .services--pinned .service-slide { --service-image-size: 92px; gap: 14px; }
}
@media(max-width:700px) and (max-height:720px) {
  .services--pinned .services-stage { padding-block: 10px; gap: 10px; }
  .services--pinned .service-slide { --service-image-size: 64px; gap: 10px; }
  .services--pinned .service-copy h3 { font-size: 20px; margin-block: 6px; }
  .services--pinned .service-heading { padding-bottom: 8px; }
  .services--pinned .service-lead { line-height: 1.5; }
}
@media print {
  .services .services-sequence { height: auto !important; }
  .services .services-sticky { position: static; height: auto; border: 0; }
  .services .services-stage { height: auto; display: block; }
  .services .service-slides { display: block; }
  .services .service-slide { position: static; visibility: visible; display: grid; grid-template-columns: 1fr 1fr; grid-template-areas: "art copy"; grid-template-rows: auto; margin-block: 32px; break-inside: avoid; }
  .services .service-slide:nth-child(even) { grid-template-areas: "copy art"; }
  .services .service-art { width: 100%; }
  .services .service-copy { display: block; height: auto; }
  .services .service-reading { overflow: visible; mask-image: none; }
  .services .service-reading-content { transform: none !important; }
  .services .service-step-nav,.services .service-stage-footer { display: none; }
}
