/* Open service scenes: depth comes from the artwork, not enclosing cards. */
.services-catalog-page{background:#eef5fc;color:#09293c;color-scheme:light}
.catalog-page-content{position:relative;overflow:clip;background:linear-gradient(155deg,#eef5fc,#f7fbff 30%,#eaf3fc 65%,#f7fbff);padding:68px 0 90px}
.catalog-page-content>.wrap{width:min(1360px,92%)}
.catalog-intro{display:grid;grid-template-columns:1.35fr 1fr;gap:24px 80px;margin-bottom:44px}
.catalog-intro .catalog-eyebrow{grid-column:1/-1;color:#52718a;font:10px/1.5 var(--mono);letter-spacing:.14em;margin:0}
.catalog-intro h1{font-size:clamp(50px,5.4vw,80px);line-height:1.1;letter-spacing:-.02em;margin:0;color:#09293c;font-weight:570}
.catalog-intro h1 span{color:inherit}
.catalog-intro h1 span span{color:#376683}
.catalog-intro>#description{align-self:end;max-width:43ch;margin:0 0 5px;color:#46647c;font-size:17px;line-height:1.7}
.catalog-index{
  display:block;
  margin:0 0 clamp(24px,3.4vw,52px);
  padding:14px clamp(14px,2vw,26px) 10px;
  border:1px solid #f9fdff;
  border-radius:16px;
  background:radial-gradient(ellipse at 95% 0%,#b4dafa80,transparent 57%),
    linear-gradient(118deg,#fff9,#edf6fe70 52%,#d8ecfc99);
  box-shadow:inset 0 0 0 1px #c3dcec70,0 10px 28px #2c638412;
}
.catalog-index>p{margin:0 10px 4px;color:#46647c;font:11px/1.5 var(--mono);letter-spacing:.09em;text-transform:uppercase}
.catalog-index ul{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 clamp(10px,2.1vw,32px);padding:0;margin:0;list-style:none}
.catalog-index li{display:flex;min-width:0}
.catalog-index a{
  display:flex;align-items:center;justify-content:space-between;gap:8px;
  width:100%;min-height:44px;padding:8px 10px;border-radius:7px;
  color:#143e59;font-size:15px;font-weight:600;line-height:1.3;
  transition:background-color .18s ease,color .18s ease,box-shadow .18s ease;
}
.catalog-index a>span{flex:none;color:#246b9e;font-size:16px;transition:transform .18s ease}
.catalog-index a:hover,.catalog-index a:focus-visible{color:#0054bf;background:#ffffffa8;box-shadow:0 3px 10px #2457790d}
.catalog-index a:focus-visible{outline:2px solid #0054bf;outline-offset:1px}
@media(hover:hover){
 .catalog-index a:hover>span{transform:translateY(2px)}
}
.catalog-service-card:focus-visible{outline:2px solid #0054bf;outline-offset:-2px}
.catalog-service-grid{position:relative;isolation:isolate;display:flex;flex-direction:column;gap:12px}
.catalog-light-path{display:none}
@media(min-width:761px){
 .catalog-light-path{display:block;position:absolute;inset:0;width:100%;height:100%;z-index:-1;pointer-events:none;filter:blur(12px)}
 .catalog-service-grid:has(.catalog-light-path) .catalog-service-card::before{opacity:.45}
 .catalog-service-grid:has(.catalog-light-path) .catalog-service-card.is-featured::before{opacity:.22}
}
.catalog-service-card{position:relative;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);align-items:center;gap:7%;min-width:0;min-height:540px;padding:50px 2%;border:0;border-radius:0;background:none;box-shadow:none;isolation:isolate}
/* Soft studio lighting stays close to each illustration. */
.catalog-service-card::before{
  content:"";
  position:absolute;
  z-index:-1;
  pointer-events:none;
  inset:-4% 34% -4% 0;
  background:
    radial-gradient(ellipse var(--light-width, 39%) var(--light-height, 38%)
      at var(--light-x, 50%) var(--light-y, 48%),#fffd,transparent 100%),
    radial-gradient(ellipse 47% 44% at 51% 58%,var(--light-tint,#95b6ce4d),transparent 100%);
}
.catalog-service-card:nth-child(odd)::before{
  inset-inline:34% 0;
}
.catalog-service-card.is-influencer-marketing,
.catalog-service-card.is-social-media-management{
  --light-x:43%;
  --light-y:41%;
  --light-tint:#9db4c64d;
}
.catalog-service-card.is-ugc,
.catalog-service-card.is-marketing-automation{
  --light-x:58%;
  --light-y:54%;
  --light-tint:#91bfc44d;
}
.catalog-service-card.is-seo-ai-search,
.catalog-service-card.is-web-design{
  --light-width:46%;
  --light-height:29%;
  --light-tint:#9bb7d452;
}
.catalog-service-card.is-mobile-app-development{
  --light-width:28%;
  --light-height:47%;
  --light-x:54%;
}
.catalog-service-card.is-ai-creative-studio{
  --light-x:44%;
  --light-y:45%;
  --light-tint:#a9acc94d;
}
@supports (animation-timeline: view()){
  @media(prefers-reduced-motion:no-preference){
    .catalog-light-path{
      animation:catalog-light-drift 1ms linear both;
      animation-timeline:scroll(root);
    }
    @keyframes catalog-light-drift{
      from{translate:0 12px}
      to{translate:0 -12px}
    }
  }
}
.catalog-card-copy{position:relative;z-index:2;display:flex;align-items:flex-start;flex-direction:column;padding:28px 0;min-width:0}
.catalog-service-card:not(.is-featured) .catalog-card-art{grid-column:1;grid-row:1}
.catalog-service-card:not(.is-featured) .catalog-card-copy{grid-column:2;grid-row:1}
.catalog-service-card:nth-child(odd):not(.is-featured) .catalog-card-art{grid-column:2}
.catalog-service-card:nth-child(odd):not(.is-featured) .catalog-card-copy{grid-column:1;padding-left:5%}
.catalog-number{font:11px/1.4 var(--mono);letter-spacing:.14em;color:#51728b;margin-bottom:22px}
.catalog-card-copy h2{font-size:clamp(34px,3.65vw,52px);font-weight:600;line-height:1.1;letter-spacing:-.02em;max-width:17ch;margin:0 0 24px;color:#09293c}
.catalog-card-copy h2 a:hover{color:#006cf5}
.catalog-card-copy>p{font-size:17px;line-height:1.7;color:#46647c;margin:0 0 28px;max-width:45ch}
/* The same clear primary button for every main service. */
.catalog-service-cta{display:inline-flex;align-items:center;justify-content:center;min-width:172px;min-height:56px;padding:15px 23px;border:1px solid #006cf5;border-radius:7px;background:#006cf5;color:#fff;font-size:14px;font-weight:600;line-height:1.4;box-shadow:0 7px 16px #006cf51a;transition:background .2s,box-shadow .2s,transform .2s}
.catalog-service-cta:hover{color:#fff;background:#0054c4;border-color:#0054c4;box-shadow:0 10px 22px #006cf52b;transform:translateY(-2px)}
.catalog-service-cta:focus-visible{outline:3px solid #004ba7;outline-offset:5px}
.catalog-related{display:flex;flex-wrap:wrap;gap:9px;margin-top:24px;max-width:100%;font-size:12px;line-height:1.5}
.catalog-related a{display:inline-flex;align-items:center;min-height:44px;padding:11px 14px;border:1px solid #b3cfe2;border-radius:6px;background:#f8fcffb0;color:#2c5874}
.catalog-related a:hover{color:#0059c8;border-color:#79afe1;background:#fff}

/* Performance opens onto a field of floating platform links. */
.catalog-service-card.is-featured{grid-template-columns:minmax(0,.86fr) minmax(0,1.3fr);gap:4%;min-height:500px;padding:30px 0 65px;margin-bottom:25px}
.catalog-service-card.is-featured::before{
  inset:-9% 0 -9% 23%;
  background:url(../spatial-portal/portal-background.webp) center/cover no-repeat;
  mask-image:radial-gradient(ellipse closest-side,#000 25%,#0009 66%,transparent 100%);
  opacity:.42;
}
.is-featured .catalog-card-copy{padding-right:10px}
.is-featured .catalog-card-copy h2{max-width:13ch}
.catalog-platforms{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-content:center;gap:40px 15px;padding:40px 10px 30px;min-width:0;perspective:1200px}
.catalog-platforms>a{--tile-y:0px;--tile-rotate-y:-15deg;--tile-rotate-x:9deg;position:relative;display:block;min-width:0;min-height:148px;border-radius:14px}
.catalog-platforms>a:nth-child(2n){--tile-y:-8px}
.catalog-platforms>a:nth-child(3n){--tile-y:4px}
.catalog-platform-surface{position:absolute;inset:0;display:grid;place-items:center;overflow:hidden;pointer-events:none;padding:20px 9px;border:1px solid #ffffffed;border-radius:inherit;background:linear-gradient(125deg,#ffffffba,#e3f4ff68 60%,#b8dcf546);box-shadow:12px 22px 24px #255c8921,inset 0 0 0 3px #ffffff40;backdrop-filter:blur(14px);transform:rotateY(var(--tile-rotate-y)) rotateX(var(--tile-rotate-x)) translateY(var(--tile-y));transition:transform .55s cubic-bezier(.22,.72,.15,1),box-shadow .35s}
.catalog-platform-art{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;min-width:0;transition:filter .25s .13s,opacity .25s .13s}
.catalog-platforms img{display:block;width:58px;height:38px;object-fit:contain}
.catalog-platform-name{font-size:11px;font-weight:600;line-height:1.35;color:#254860;text-align:center}
.catalog-platform-detail{position:absolute;inset:0;display:grid;place-items:center;padding:8px;text-align:center;background:#edf9ff91;color:#075ba3;font-size:15px;font-weight:600;line-height:1.3;opacity:0;transition:opacity .15s}
.catalog-platforms>a:is(:hover,:focus-visible,:active){z-index:3}
.catalog-platforms>a:is(:hover,:focus-visible,:active) .catalog-platform-surface{transform:translateY(-10px) translateZ(22px);box-shadow:10px 28px 32px #255c8930}
.catalog-platforms>a:is(:hover,:focus-visible,:active) .catalog-platform-art{filter:blur(9px);opacity:.4;transition-delay:0s}
.catalog-platforms>a:is(:hover,:focus-visible,:active) .catalog-platform-detail{opacity:1;transition-delay:.15s}

/* A perspective stage and independent glass planes surround each illustration. */
.catalog-card-art{--scene-x:0deg;--scene-y:0deg;position:relative;display:flex;align-items:center;justify-content:center;min-width:0;height:450px;perspective:1100px;transform-style:preserve-3d;background:radial-gradient(ellipse 32% 6% at 50% 91%,#23578428,transparent 100%)}
.catalog-card-art:before,.catalog-card-art:after{content:"";position:absolute;pointer-events:none;width:66%;height:65%;left:18%;top:14%;border:1px solid #ffffffed;border-radius:24px;background:linear-gradient(130deg,#ffffff90,#b8e1ff26 55%,#e9f7ff70);box-shadow:18px 30px 44px #26618d13,inset 0 0 0 4px #ffffff30;transform:translateZ(-65px) rotateY(calc(-25deg + var(--scene-x))) rotateX(calc(10deg + var(--scene-y))) rotateZ(13deg);transition:transform .55s ease-out}
.catalog-card-art:after{width:58%;height:58%;left:11%;top:23%;border-color:#c5e6f8cc;background:linear-gradient(125deg,#d6edff30,#ffffff9c);transform:translateZ(-110px) rotateY(calc(22deg + var(--scene-x))) rotateX(calc(-10deg + var(--scene-y))) rotateZ(-16deg);box-shadow:12px 32px 34px #28668d12}
.catalog-art-sheet,.catalog-card-art>img{position:relative;z-index:1;display:block;flex-shrink:0;width:min(370px,78%);height:265px;border:1px solid #fff;border-radius:19px;background:linear-gradient(135deg,#ffffffc4,#d8eeff70);box-shadow:22px 35px 38px #24577926,inset 0 0 0 5px #ffffff38;transform:translateZ(45px) rotateY(calc(-18deg + var(--scene-x))) rotateX(calc(8deg + var(--scene-y))) rotateZ(-5deg);transition:transform .55s ease-out,box-shadow .55s;backface-visibility:hidden}
.catalog-art-sheet{display:grid;place-items:center;padding:17px;overflow:hidden}
.catalog-art-sheet svg{display:block;width:100%;height:100%;overflow:visible}
.catalog-card-art>img{object-fit:cover;padding:8px;background:#f3fbffad}
.catalog-art-influencer>img{width:270px;height:350px;object-position:center top}
.catalog-art-ugc>img{height:290px;object-position:50% 48%;transform:translateZ(55px) rotateY(calc(18deg + var(--scene-x))) rotateX(calc(6deg + var(--scene-y))) rotateZ(5deg)}
.catalog-art-social>img{width:310px;height:320px;object-position:center}
.catalog-art-creative>img{width:320px;height:320px;transform:translateZ(55px) rotateY(calc(20deg + var(--scene-x))) rotateX(calc(8deg + var(--scene-y))) rotateZ(6deg)}
.catalog-art-mobile .catalog-art-sheet{width:235px;height:350px;padding:10px;border-radius:27px;transform:translateZ(50px) rotateY(calc(22deg + var(--scene-x))) rotateX(calc(7deg + var(--scene-y))) rotateZ(7deg)}
.catalog-art-automation .catalog-art-sheet{transform:translateZ(50px) rotateY(calc(17deg + var(--scene-x))) rotateX(calc(10deg + var(--scene-y))) rotateZ(5deg)}

/* Light header, with the existing mobile-menu theme retained. */
.services-catalog-page>.site-header:not(:has(.mobile-menu[open])){background:#fff;color:#153448;border-color:#dbe5ed;color-scheme:light}
.services-catalog-page .site-header:not(:has(.mobile-menu[open])) .brand img{filter:brightness(0)}
.services-catalog-page .site-header:not(:has(.mobile-menu[open])) nav a:hover{color:#006cf5;text-shadow:none}
.services-catalog-page .site-header:not(:has(.mobile-menu[open])) .langs,
.services-catalog-page .site-header:not(:has(.mobile-menu[open])) .mobile-menu>summary{background:#f1f6fa;border-color:#cbdbe6}
.services-catalog-page .site-header:not(:has(.mobile-menu[open])) .langs a{color:#29495c}
.services-catalog-page .site-header:not(:has(.mobile-menu[open])) .langs a[aria-current=page]{background:#dcecff;color:#0054bf}
.services-catalog-page .site-header:not(:has(.mobile-menu[open])) .headcta{background:#006cf5;color:#fff;border-color:#006cf5}
.services-catalog-page .site-header:not(:has(.mobile-menu[open])) .headcta:hover{background:#0054bf}
@media(max-width:1100px){
 .catalog-intro{gap:24px 40px}
 .catalog-intro>#description{font-size:16px}
 .catalog-service-card{gap:5%;padding:40px 0;min-height:480px}
 .catalog-card-copy h2{font-size:38px}
 .catalog-card-copy>p{font-size:16px}
 .catalog-service-card.is-featured{grid-template-columns:1fr;gap:14px;padding:22px 0 50px}
 .is-featured .catalog-card-copy{padding:0}
 .is-featured .catalog-card-copy h2{max-width:none}
 .is-featured .catalog-card-copy>p{max-width:65ch}
 .catalog-platforms{padding:35px 10px 10px;column-gap:20px}
 .catalog-service-card.is-featured::before{inset:22% 0 -7% 0}
 .catalog-card-art{height:410px}
 .catalog-art-influencer>img{width:235px;height:315px}
 .catalog-art-social>img,.catalog-art-creative>img{width:270px;height:285px}
 .catalog-art-sheet,.catalog-card-art>img{max-width:82%}
 .catalog-art-mobile .catalog-art-sheet{width:210px;height:320px}
}
@media(max-width:760px){
 .catalog-page-content{padding:40px 0 60px}
 .catalog-page-content>.wrap{width:90%}
 .catalog-intro{grid-template-columns:1fr;gap:22px;margin-bottom:36px}
 .catalog-intro h1{font-size:clamp(43px,7.6vw,58px)}
 .catalog-intro>#description{max-width:55ch;font-size:16px}
 .catalog-index{padding-inline:8px}
 .catalog-index ul{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:6px}
 .catalog-index a{font-size:14px;min-height:44px}
 .catalog-service-grid{gap:24px}
 .catalog-service-card,.catalog-service-card.is-featured{grid-template-columns:1fr;gap:0;min-height:0;padding:12px 0 28px;margin:0}
 .catalog-service-card:not(.is-featured) .catalog-card-copy,
 .catalog-service-card:nth-child(odd):not(.is-featured) .catalog-card-copy{grid-column:1;grid-row:1;padding:10px 0 0}
 .catalog-service-card:not(.is-featured) .catalog-card-art,
 .catalog-service-card:nth-child(odd):not(.is-featured) .catalog-card-art{grid-column:1;grid-row:2}
 .catalog-number{margin-bottom:16px}
 .catalog-card-copy h2{font-size:36px;max-width:22ch;margin-bottom:20px}
 .catalog-card-copy>p{max-width:none;font-size:16px;margin-bottom:24px}
 .catalog-card-art{height:390px;margin-top:12px}
 .catalog-platforms{padding:45px 0 12px;gap:34px 12px}
 .catalog-platforms>a{min-height:120px}
 .catalog-platform-surface{padding:16px 6px}
 .catalog-platform-art{gap:13px}
 .catalog-platforms img{width:43px;height:32px}
 .catalog-platform-name{font-size:10px}
 .catalog-service-card:not(.is-featured)::before{inset:29% 0 -4% 0}
 .catalog-service-card.is-featured::before{inset:28% 0 -3% 0}
 .catalog-art-influencer>img{width:250px;height:320px}
 .catalog-art-sheet{width:330px;height:240px}
 .catalog-art-mobile .catalog-art-sheet{width:210px;height:320px}
}
@media(max-width:480px){
 .catalog-intro h1{font-size:clamp(36px,9.7vw,46px)}
 .catalog-card-copy h2{font-size:33px}
 .catalog-card-copy>p{font-size:15px;line-height:1.75}
 .catalog-platforms{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 15px;padding:40px 5px 12px}
 .catalog-platforms>a{--tile-rotate-y:-10deg;--tile-rotate-x:7deg;min-height:82px}
 .catalog-platforms>a:nth-child(2n){--tile-y:-8px}
 .catalog-platforms>a:nth-child(3n){--tile-y:0px}
 .catalog-platform-surface{justify-items:start;padding:16px 12px}
 .catalog-platform-art{flex-direction:row;gap:12px;justify-content:flex-start}
 .catalog-platforms img{width:32px;height:30px;flex-shrink:0}
 .catalog-platform-name{font-size:11px;text-align:left}
 .catalog-card-art{height:350px;margin-top:20px}
 .catalog-card-art:before{width:73%;height:63%;left:16%}
 .catalog-card-art:after{width:66%;left:8%}
 .catalog-art-sheet,.catalog-card-art>img{max-width:76%;height:220px}
 .catalog-art-influencer>img{width:210px;height:280px}
 .catalog-art-social>img,.catalog-art-creative>img{width:235px;height:250px}
 .catalog-art-mobile .catalog-art-sheet{width:185px;height:285px}
 .catalog-related{gap:8px}
 .catalog-related a{font-size:11px;padding:11px 12px}
}
@media(prefers-reduced-motion:reduce){
 .catalog-index a,.catalog-index a>span{transition:none}
 .catalog-index a:hover>span{transform:none}
 .catalog-platform-surface,.catalog-platform-art,.catalog-platform-detail,.catalog-service-cta,.catalog-card-art:before,.catalog-card-art:after,.catalog-art-sheet,.catalog-card-art>img{transition:none}
 .catalog-service-cta:hover{transform:none}
}
