/* Service detail pages share the site's palette, camera heading and reveal effects. */
body.page-services .services-page{
  --services-space:112px;
  --services-rule:color-mix(in srgb,var(--text) 16%,transparent);
  min-width:0;
}
/* The page heading size and alignment are shared with portfolio and insights in heading.css. */
body.page-services .services-kicker{color:var(--mint);font:600 11px/1.5 var(--font-latin);letter-spacing:.16em}
body.page-services .services-layout{
  max-width:1180px;padding-top:64px;padding-bottom:80px;
}
body.page-services .services-content{min-width:0}
body.page-services .shortform-showcase-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:24px}
body.page-services .shortform-showcase-heading h2{margin-top:10px;font-size:clamp(24px,2.4vw,34px);line-height:1.4;letter-spacing:-.035em;font-weight:600;word-break:keep-all}
body.page-services .shortform-showcase-heading>p{flex-shrink:0;color:var(--muted);font-size:13px;line-height:1.7;text-align:right}
body.page-services .shortform-reels{
  --reel-offset:90%;--reel-tilt:3deg;--reel-drop:14px;--reel-lift:-8px;
  --reel-duration:760ms;--reel-ease:cubic-bezier(.22,1,.36,1);--reel-blur:5px;
  display:grid;grid-template-columns:minmax(0,1fr);isolation:isolate;
  max-width:930px;margin-inline:auto;padding-block:18px 30px;
}
/* Slot changes move the existing media elements without reloading their playback. */
body.page-services .shortform-reel{position:relative;grid-area:1/1;justify-self:center;width:33.333333%;min-width:0;z-index:1;transition:transform var(--reel-duration) var(--reel-ease)}
body.page-services .shortform-reel[data-reel-slot=left]{transform:translate(calc(-1 * var(--reel-offset)),var(--reel-drop)) rotate(calc(-1 * var(--reel-tilt)))}
body.page-services .shortform-reel[data-reel-slot=center]{z-index:2;transform:translateY(var(--reel-lift))}
body.page-services .shortform-reel[data-reel-slot=right]{transform:translate(var(--reel-offset),var(--reel-drop)) rotate(var(--reel-tilt))}
body.page-services .shortform-reel-frame{
  position:relative;isolation:isolate;aspect-ratio:9/16;overflow:hidden;border:1px solid var(--services-rule);border-radius:12px;
  background:var(--surface);box-shadow:0 12px 28px rgb(0 0 0 / .16);
  transition:box-shadow var(--reel-duration) var(--reel-ease),border-color .3s;
}
body.page-services .shortform-reel-frame::before{
  content:'';position:absolute;inset:12px;z-index:1;border:1px solid color-mix(in srgb,var(--text) 6%,transparent);border-radius:4px;pointer-events:none;
}
body.page-services .shortform-reel-media{
  position:absolute;inset:0;pointer-events:none;
  background:radial-gradient(ellipse at 70% 65%,color-mix(in srgb,var(--mint) 11%,transparent),transparent 70%),var(--surface);
  filter:blur(var(--reel-blur)) brightness(.65);transform:scale(1.06);
  transition:filter var(--reel-duration) var(--reel-ease),transform var(--reel-duration) var(--reel-ease);
}
body.page-services .shortform-reel[data-reel-slot=center] .shortform-reel-media{filter:blur(0) brightness(1);transform:scale(1)}
body.page-services .shortform-reel[data-reel-slot=center] .shortform-reel-frame{box-shadow:0 16px 40px rgb(0 0 0 / .26)}
body.page-services .shortform-reel-number{position:absolute;z-index:1;top:24px;left:24px;color:var(--muted);font:500 11px/1 var(--font-latin);letter-spacing:.12em}
body.page-services .shortform-reel-mark{position:absolute;top:38%;left:50%;width:50px;height:50px;translate:-50% -50%;border:1px solid color-mix(in srgb,var(--mint) 28%,transparent);border-radius:50%}
body.page-services .shortform-reel-mark i{position:absolute;inset:17px;border:1px solid var(--mint);border-radius:2px;opacity:.7}
body.page-services .shortform-reel-placeholder{position:absolute;top:52%;width:100%;padding-inline:12px;text-align:center}
body.page-services .shortform-reel-placeholder>span{font:500 10px/1.5 var(--font-latin);letter-spacing:.15em;color:var(--mint)}
body.page-services .shortform-reel-placeholder p{margin-top:8px;font-size:14px;color:var(--muted)}
body.page-services .shortform-reel-format{position:absolute;z-index:1;bottom:24px;left:24px;right:24px;display:flex;justify-content:space-between;gap:8px;font:500 8px/1.5 var(--font-latin);letter-spacing:.08em;color:var(--muted)}
body.page-services .shortform-reel-frame video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
body.page-services .shortform-reel-select{position:absolute;inset:0;z-index:2;width:100%;height:100%;border-radius:inherit;touch-action:manipulation}
body.page-services .shortform-reel-select[aria-pressed=true]{cursor:default}
body.page-services .shortform-reel-select:focus-visible{outline-offset:-5px}
/* All service pages share the reel interaction; only shortform uses portrait frames. */
body.page-services .shortform-reels[data-format=landscape]{--reel-offset:52%;--reel-tilt:2deg;--reel-drop:12px;max-width:1180px;padding-block:20px 38px}
body.page-services .shortform-reels[data-format=landscape] .shortform-reel{width:48%}
body.page-services .shortform-reels[data-format=landscape] .shortform-reel-frame{aspect-ratio:16/9}
body.page-services .shortform-reels[data-format=landscape] .shortform-reel-mark{top:35%}
body.page-services .shortform-reels[data-format=landscape] .shortform-reel-placeholder{top:56%}
body.page-services .shortform-reasons,
body.page-services .services-process{padding-top:var(--services-space)}
body.page-services .services-section-heading h2{margin-top:12px;font-size:clamp(25px,2.5vw,36px);line-height:1.45;font-weight:600;letter-spacing:-.035em;word-break:keep-all;overflow-wrap:anywhere}
body.page-services .services-section-heading>p:not(.services-kicker){margin-top:14px;color:var(--muted);font-size:15px;line-height:1.75;word-break:keep-all;overflow-wrap:anywhere}
/* Four small storyboard panels connect each benefit to the studio's visual language. */
body.page-services .shortform-reasons-heading{display:flex;align-items:end;justify-content:space-between;gap:24px}
body.page-services .shortform-reasons-count{display:flex;align-items:baseline;gap:10px;flex:none;color:var(--muted);font:500 9px/1 var(--font-latin);letter-spacing:.12em}
body.page-services .shortform-reasons-count strong{color:var(--mint);font-size:36px;font-weight:400;letter-spacing:-.06em}
body.page-services .shortform-reason-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:32px}
body.page-services .shortform-reason{
  position:relative;min-width:0;display:flex;flex-direction:column;gap:24px;padding:28px 32px 30px;
  border:1px solid var(--services-rule);border-radius:8px;background:color-mix(in srgb,var(--surface) 75%,var(--bg));
  transition:border-color .35s,background-color .35s;
}
body.page-services .shortform-reason::before{
  --corner:linear-gradient(var(--mint),var(--mint));content:'';position:absolute;inset:10px;pointer-events:none;
  background:var(--corner) left top/10px 1px,var(--corner) left top/1px 10px,var(--corner) right bottom/10px 1px,var(--corner) right bottom/1px 10px;
  background-repeat:no-repeat;opacity:.3;transition:opacity .35s;
}
body.page-services .shortform-reason-meta{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:64px}
body.page-services .shortform-reason-label{display:flex;flex-direction:column;gap:12px;min-width:0;color:var(--muted);font:500 9px/1.5 var(--font-latin);letter-spacing:.12em}
body.page-services .shortform-reason-index{color:var(--mint);font-size:30px;line-height:1;font-weight:400;letter-spacing:-.04em;font-variant-numeric:tabular-nums}
body.page-services .shortform-reason-art{flex:none;width:120px;height:auto;color:var(--mint);opacity:.8;transition:opacity .35s,transform .45s var(--ease-out)}
body.page-services .reason-art-muted{opacity:.35}
/* Animate the illustration parts on hover; transitions also ease them back on leave. */
body.page-services .reason-art-part{transform-box:fill-box;transform-origin:center;transition:transform .6s var(--ease-out),opacity .45s}
body.page-services .reason-art-progress{transform-origin:left center}
body.page-services .reason-art-progress,
body.page-services .reason-art-playhead{transition-duration:.85s}
body.page-services .reason-art-route{stroke-dasharray:1;stroke-dashoffset:1;opacity:0;transition:stroke-dashoffset .65s var(--ease-out),opacity .35s}
body.page-services .shortform-reason h3{font-size:21px;line-height:1.5;font-weight:600;letter-spacing:-.025em;word-break:keep-all;overflow-wrap:anywhere}
body.page-services .shortform-reason p{max-width:55ch;margin-top:12px;color:var(--muted);font-size:14px;line-height:1.8;word-break:keep-all;overflow-wrap:anywhere}
/* Keep the original HOW WE WORK four-column sequence. */
body.page-services .service-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin:32px 0 0;padding:0;list-style:none;border-top:1px solid var(--services-rule)}
body.page-services .service-steps li{position:relative;min-width:0;padding:24px 20px 0 0}
body.page-services .service-steps li+li{padding-left:20px;border-left:1px solid var(--services-rule)}
body.page-services .service-steps li:last-child{padding-right:0}
body.page-services .service-steps li::before{content:'';position:absolute;top:-1px;left:0;width:100%;height:2px;background:var(--mint);transform:scaleX(0);transform-origin:left;transition:transform .7s var(--ease-out)}
body.page-services .service-steps li.is-in::before{transform:scaleX(.12)}
body.page-services .step-number{display:inline-block;color:var(--mint);font:500 10px/1.5 var(--font-latin);letter-spacing:.1em;font-variant-numeric:tabular-nums}
body.page-services .service-steps h3{margin-top:20px;font-size:19px;line-height:1.5;font-weight:600;word-break:keep-all;overflow-wrap:anywhere;transition:color .35s}
body.page-services .service-steps p{margin-top:12px;color:var(--muted);font-size:14px;line-height:1.8;word-break:keep-all;overflow-wrap:anywhere}
body.page-services .services-page .glass-button{min-height:48px;max-width:100%;color:var(--text);background:color-mix(in srgb,var(--text) 12%,transparent);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--text) 18%,transparent)}
body.page-services .services-page .glass-button:hover{background:color-mix(in srgb,var(--text) 20%,transparent)}
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
  body.page-services .shortform-reel:not([data-reel-slot=center]):hover .shortform-reel-frame{border-color:color-mix(in srgb,var(--mint) 45%,transparent)}
  body.page-services .shortform-reason:hover{border-color:color-mix(in srgb,var(--mint) 40%,transparent);background:color-mix(in srgb,var(--mint) 4%,var(--surface))}
  body.page-services .shortform-reason:hover::before{opacity:.8}
  body.page-services .shortform-reason:hover .shortform-reason-art{opacity:1;transform:translateY(-3px)}
  body.page-services .shortform-reason:hover .reason-art-play{transform:scale(1.18)}
  body.page-services .shortform-reason:hover .reason-art-progress{transform:scaleX(2.4)}
  body.page-services .shortform-reason:hover .reason-art-playhead{transform:translateX(35px)}
  body.page-services .shortform-reason:hover .reason-art-phone-left{transform:translate(-4px,-2px) rotate(-8deg);opacity:.7}
  body.page-services .shortform-reason:hover .reason-art-phone-right{transform:translate(4px,-2px) rotate(8deg);opacity:.7;transition-delay:60ms}
  body.page-services .shortform-reason:hover .reason-art-phone-center{transform:translateY(-2px) scale(1.04);transition-delay:100ms}
  body.page-services .shortform-reason:hover .reason-art-route{stroke-dashoffset:0;opacity:1}
  body.page-services .shortform-reason:hover .reason-art-outputs .reason-art-part{transform:translateX(3px) scale(1.06);transition-delay:120ms}
  body.page-services .shortform-reason:hover .reason-art-outputs .reason-art-part:nth-child(2){transition-delay:190ms}
  body.page-services .shortform-reason:hover .reason-art-outputs .reason-art-part:nth-child(3){transition-delay:260ms}
  body.page-services .shortform-reason:hover .reason-art-photo{transform:translate(-2px,-2px) rotate(-6deg);opacity:.7}
  body.page-services .shortform-reason:hover .reason-art-spark{transform:rotate(90deg) scale(1.2)}
  body.page-services .shortform-reason:hover .reason-art-video{transform:translate(2px,-3px) rotate(3deg);transition-delay:100ms}
  body.page-services .service-steps li:hover::before{transform:scaleX(1)}
  body.page-services .service-steps li:hover h3{color:var(--mint)}
}
@media(max-width:1199px){
  body.page-services .services-page{--services-space:88px}
  body.page-services .services-layout{padding-top:48px}
  body.page-services .shortform-showcase-heading>p{display:none}
  body.page-services .shortform-reel-format{left:16px;right:16px}
  body.page-services .shortform-reel-format>span{display:none}
  body.page-services .shortform-reasons-count{display:none}
  body.page-services .shortform-reason{padding:24px;gap:20px}
  body.page-services .shortform-reason-art{width:100px}
  body.page-services .service-steps{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:28px}
  body.page-services .service-steps li:nth-child(odd){padding-left:0;border-left:0}
  body.page-services .service-steps li:nth-child(n+3){border-top:1px solid var(--services-rule)}
  body.page-services .service-steps li:nth-child(even){padding-right:0}
}
/* Keep the video fan and benefit panels compact on small screens. */
@media(max-width:699px){
  body.page-services .services-page{--services-space:68px}
  body.page-services .services-layout{padding-top:32px;padding-bottom:60px}
  body.page-services .shortform-showcase-heading{margin-bottom:18px}
  body.page-services .shortform-showcase-heading h2{font-size:24px}
  body.page-services .shortform-reels{--reel-tilt:2deg;--reel-drop:8px;--reel-lift:-4px;--reel-blur:3px;padding-block:10px 18px}
  body.page-services .shortform-reels[data-format=landscape]{--reel-offset:22%;--reel-tilt:1.5deg;--reel-drop:6px;padding-block:14px 24px}
  body.page-services .shortform-reels[data-format=landscape] .shortform-reel{width:68%}
  body.page-services .shortform-reel-frame{border-radius:7px}
  body.page-services .shortform-reel-frame::before{inset:6px;border-radius:2px}
  body.page-services .shortform-reel-number{top:14px;left:12px;font-size:9px}
  body.page-services .shortform-reel-mark{width:32px;height:32px}
  body.page-services .shortform-reel-mark i{inset:10px}
  body.page-services .shortform-reel-placeholder{padding-inline:5px}
  body.page-services .shortform-reel-placeholder>span{font-size:7px;letter-spacing:.02em}
  body.page-services .shortform-reel-placeholder p{font-size:11px;margin-top:5px}
  body.page-services .shortform-reel-format{display:none}
  body.page-services .services-section-heading h2{font-size:25px}
  body.page-services .shortform-reason-grid{grid-template-columns:minmax(0,1fr);gap:12px;margin-top:24px}
  body.page-services .shortform-reason{padding:22px;gap:18px}
  body.page-services .shortform-reason-meta{min-height:48px;gap:10px}
  body.page-services .shortform-reason-label{font-size:8px;gap:8px;letter-spacing:.06em}
  body.page-services .shortform-reason-index{font-size:24px}
  body.page-services .shortform-reason-art{width:88px}
  body.page-services .shortform-reason h3{font-size:18px}
  body.page-services .shortform-reason p{font-size:14px}
  body.page-services .service-steps{margin-top:24px;row-gap:24px}
  body.page-services .service-steps li{padding:20px 14px 0 0}
  body.page-services .service-steps li+li{padding-left:14px}
  body.page-services .service-steps li:nth-child(odd){padding-left:0}
  body.page-services .service-steps h3{font-size:17px;margin-top:16px}
  body.page-services .service-steps p{font-size:13px}
  body.page-services .step-number{font-size:9px;letter-spacing:.05em}
}
@media(prefers-reduced-motion:reduce){
  body.page-services .services-page *,
  body.page-services .services-page *::before,
  body.page-services .services-page *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
  body.page-services .service-steps li::before{transform:scaleX(.12)}
}
