/* Services, four cards (Liam, November 25, 2026: "we need to add 1 card (so 4 in totla that says ai snetiment
   optimiziation or somehting"). The wide AI search and SEO card stays across the top; AI sentiment, Digital PR and
   Custom websites sit three across under it. The AI sentiment picture is the About page's: the glass pages an AI
   answer came from, each source named, the client's own page lit in orange. */

#services .service.sent{position:relative;overflow:hidden}
#services .sentpic{position:absolute;left:0;right:0;bottom:0;top:58%;z-index:0;pointer-events:none}
/* the warm light the answer sits in */
#services .sentpic::before{content:'';position:absolute;left:50%;bottom:-38%;width:130%;aspect-ratio:2;translate:-50% 0;border-radius:50%;filter:blur(40px);
  background:radial-gradient(closest-side,rgba(255,150,64,.55),rgba(255,190,140,.2) 60%,rgba(255,200,150,0))}
/* wires from the three sources up into the answer; each lights when the answer cites it */
#services .sp-wires{position:absolute;inset:0;width:100%;height:100%;z-index:0;overflow:visible}
#services .sp-wires path{fill:none;stroke:rgba(25,23,20,.16);stroke-width:1.3;vector-effect:non-scaling-stroke;transition:stroke var(--dur-2) ease var(--cite-delay,0s)}
#services .sp-wires path.is-lit{stroke:rgb(226,118,40);filter:drop-shadow(0 0 4px rgba(255,150,64,.9));stroke-dasharray:1 0}
/* the buyer's question, a small bubble at the top right */
#services .sp-q{position:absolute;z-index:2;right:7%;top:0;max-width:72%;padding:9px 14px;border-radius:16px 16px 4px 16px;font:500 13px/1.3 var(--font);color:#43240c;
  background:linear-gradient(160deg,#fde7cf,#f8cfa2);box-shadow:inset 0 1px 0 rgba(255,246,234,.95),0 12px 22px -14px rgba(120,60,20,.55)}
/* The answer is visible throughout the citation animation. */
#services .sp-answer{position:absolute;z-index:1;left:7%;right:7%;top:46px;padding:14px 16px 16px;border-radius:18px;display:grid;gap:10px;
  background:linear-gradient(160deg,rgba(255,255,255,.94),rgba(255,255,255,.7));border:1px solid rgba(255,255,255,.95);
  -webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);box-shadow:inset 0 1.5px 0 #fff,0 26px 40px -22px rgba(90,50,30,.45),0 0 0 1px rgba(210,198,222,.4)}
#services .sp-top{display:flex;align-items:center;gap:10px}
#services .sp-orb{width:18px;height:18px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#ffe2bc,#f39a4c 55%,#d56f1c);box-shadow:0 0 14px rgba(255,150,64,.8)}
#services .sp-ai{display:flex;margin-left:auto}
#services .sp-ai img{width:20px;height:20px;padding:3px;border-radius:50%;background:#fff;box-shadow:0 0 0 1.5px #f1ece6;margin-left:-5px;object-fit:contain;opacity:.85}
#services .sp-text{margin:0;font:400 14.5px/1.5 var(--font);color:#191714;min-height:4.5em;max-width:none !important}
#services .sp-cite{display:inline-grid;place-items:center;width:15px;height:15px;margin:0 1px 0 3px;border-radius:50%;vertical-align:4px;font:600 9px/1 var(--font);
  color:#643711;background:#f7dfc9;transition:background var(--dur-2) ease var(--cite-delay,0s),box-shadow var(--dur-2) ease var(--cite-delay,0s)}
#services .sp-cite.is-lit{background:#f2b575;box-shadow:0 0 6px rgba(255,150,64,.55)}
/* the three sources */
#services .sp-src{position:absolute;z-index:2;bottom:22px;translate:-50% 0;display:inline-flex;align-items:center;gap:7px;padding:8px 13px 8px 10px;border-radius:20px;
  font:500 13px/1.2 var(--font);color:#4a443c;white-space:nowrap;background:rgba(255,255,255,.78);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.95),0 8px 16px -10px rgba(80,40,10,.45);transition:color var(--dur-2) ease var(--cite-delay,0s),background var(--dur-2) ease var(--cite-delay,0s),box-shadow var(--dur-2) ease var(--cite-delay,0s)}
#services .sp-src svg{width:15px;height:15px}
#services .sp-src.is-lit{color:#43240c;background:linear-gradient(160deg,#fbd3a6,#f1a25c);box-shadow:inset 0 1px 0 rgba(255,238,210,.9),0 0 20px rgba(255,150,64,.55)}
#services .sp-src.s1{left:18%}#services .sp-src.s2{left:50%}#services .sp-src.s3{left:82%}
@media(prefers-reduced-motion:reduce){#services .sentpic :is(.sp-cite,.sp-src,.sp-wires path){transition:none}}

@media(min-width:1101px){
  /* three across under the wide card */
  html.s24-svcwide #services.c2-three .c2-cards{grid-template-columns:repeat(3,minmax(0,1fr))}
  html.s24-svcwide #services.c2-three.c2 .service:not(.ai){height:clamp(560px,42vw,620px)}
  html.s24-svcwide #services.c2-three.c2 .service:not(.ai) .servicecopy h3{font-size:clamp(28px,2.4vw,36px)}
  html.s24-svcwide #services.c2-three.c2 .service:not(.ai) .servicecopy p{font-size:15.5px;min-height:7.5em}
  /* the other layout is two by two (Liam, November 25, 2026: "can we try a 2x2 i jsut wnt to see") */
  html:not(.s24-svcwide) #services.c2-three .c2-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
  html:not(.s24-svcwide) #services.c2-three.c2 .service{height:clamp(540px,40vw,600px)}
  html:not(.s24-svcwide) #services.c2-three.c2 .servicecopy p{max-width:520px;min-height:4lh}
  html:not(.s24-svcwide) #services.c2-three.c2 .keyfield{left:52%;top:84%;width:150%;height:80%}
  html:not(.s24-svcwide) #services.c2-three.c2 .web .c2wall{top:96%;width:180%;height:150%}
}
@media(min-width:761px) and (max-width:1100px){
  #services .sentpic{left:48%;top:24px !important}
}
@media(max-width:760px){
  #services .sp-src{font-size:11px;gap:5px;padding:6px 9px 6px 7px}
  #services .sp-src svg{width:12px;height:12px}
  #services .sp-answer{left:5%;right:5%}
}

/* Keep the answer compact below the question. */
#services .sp-answer{left:6%;right:auto;width:min(74%,380px);padding:11px 14px 12px;gap:6px;border-radius:16px 16px 16px 4px;
  background:rgba(255,255,255,.88);box-shadow:inset 0 1px 0 #fff,0 14px 26px -18px rgba(90,50,30,.4),0 0 0 1px rgba(210,198,222,.35)}
#services .sp-top{gap:8px}
#services .sp-orb{width:12px;height:12px;box-shadow:0 0 8px rgba(255,150,64,.6)}
#services .sp-ai img{width:17px;height:17px;padding:2.5px}
#services .sp-text{font:400 13.5px/1.45 var(--font);min-height:0}
#services .sp-q{right:6%;font-size:12.5px;padding:8px 13px}
#services .sp-cite{width:14px;height:14px;font-size:8.5px}
#services .sp-src.is-lit{background:linear-gradient(160deg,#fde3c6,#f6bd86);box-shadow:inset 0 1px 0 rgba(255,244,228,.9),0 0 12px rgba(255,150,64,.35)}
#services .sp-wires path.is-lit{filter:drop-shadow(0 0 2px rgba(255,150,64,.6))}
@media(max-width:760px){#services .sp-answer{width:84%;left:5%}}
