/* The two cards and the AI models glow, scoped under .c2 so the live styles around them stay as they are */
.c2{font-family:var(--font);color:#211e1a;-webkit-font-smoothing:antialiased}
.c2 *{box-sizing:border-box}
.c2 .c2-shell{width:var(--card);margin:0 auto}
.c2 h2,.c2 h3{font-family:var(--font-display);font-weight:200;letter-spacing:-.035em;margin:0}
.c2 p{margin:0}
.c2 a{text-decoration:none;color:inherit}
.c2-services{position:relative;z-index:2;background:var(--paper);padding:var(--bay) 0 clamp(60px,7vw,100px)}
.c2-intro{display:flex;justify-content:space-between;align-items:flex-end;gap:48px;padding-bottom:36px}
.c2-intro h2{font-size:var(--t-2);line-height:1.02;color:#171717}
.c2-intro p{max-width:340px;color:#4a4a4a;font-size:16px;line-height:1.5}
.c2-cards{display:grid;grid-template-columns:1fr 1fr;gap:clamp(12px,1.3vw,20px)}
.c2 .service{position:relative;overflow:hidden;isolation:isolate;height:clamp(560px,43vw,660px);border-radius:var(--r-card);border:1px solid #c6c0b6;background:#d4d0c9}
.c2 .keyfield{position:absolute;left:56%;top:79%;width:150%;height:96%;transform:translate(-50%,-50%) rotate(-7deg) skewX(-4deg);display:grid;grid-template:repeat(5,1fr)/repeat(6,1fr);gap:9px}
.c2 .keyfield i{position:relative;display:block;background:linear-gradient(145deg,#fffdf8 -14%,#e9e6df 63%,#dcd8d0);border-radius:14%;box-shadow:inset 2px 3px 2px #fffffff0,inset -2px -5px 3px #adaaa25a,2px 5px 7px #73695d45}
.c2 .keyfield i:before{content:'';position:absolute;width:9px;height:9px;left:14%;top:16%;border:1px solid #8f887966;border-radius:50%}
.c2 .keyfield i:after{content:'';position:absolute;width:5px;height:1px;left:calc(14% + 9px);top:calc(16% + 10px);background:#8f887966;transform:rotate(45deg)}
.c2 .keyfield #start{background:#e58431;color:#43240c;display:grid;place-items:center;box-shadow:inset 2px 4px 8px #71391948;font-size:14px;font-weight:600}
.c2 .keyfield #start:before,.c2 .keyfield #start:after{display:none}
.c2-moving .c2 .keyfield #start{background:linear-gradient(142deg,#afa492,#c1b4a4 65%,#e5d9cb);color:transparent}
.c2 .veil{position:absolute;inset:0;background:linear-gradient(#f2eee5 0%,#f2eee5 33%,#f2eee5e0 43%,#f2eee500 63%)}
.c2 .servicecopy{position:absolute;top:clamp(28px,3vw,46px);left:clamp(24px,3vw,46px);right:clamp(24px,3vw,46px);max-width:450px;display:grid;gap:16px}
.c2 .servicecopy h3{color:#171717}
.c2 .servicecopy p{max-width:410px;color:#33302b}
.c2 .web{perspective:1400px;background:#d9d4cb}
.c2 .c2wall{position:absolute;left:52%;top:84%;width:180%;height:180%;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));column-gap:10px;transform:translate(-50%,-50%) rotateX(40deg) rotateY(16deg) rotate(-20deg);opacity:0;transition:opacity var(--dur-2) cubic-bezier(.4,0,.2,1)}
.c2 .c2wall.ld{opacity:1}
.c2 .wcol{overflow:hidden}.c2 .wrun{display:flex;flex-direction:column;row-gap:10px;will-change:transform}
.c2 .wtile{width:100%;flex-shrink:0;aspect-ratio:1.6;border-radius:6px;background:#cbc5bb center top/cover no-repeat;box-shadow:0 1px 0 #fff8,0 6px 14px -6px #4a3d2e66}
.c2 .web:hover .wrun{animation-play-state:paused}
@keyframes c2rise{to{transform:translateY(calc(-1 * var(--span)))}}
@keyframes c2fall{from{transform:translateY(calc(-1 * var(--span)))}to{transform:translateY(0)}}
/* the AI models, on the glow and its reflection */
.c2-models{position:relative;z-index:2;isolation:isolate;overflow:hidden;background:#160b07;color:#faf5ec}
.c2-models .art{position:absolute;z-index:-1;pointer-events:none;width:var(--gw);height:var(--gh);left:calc(var(--dx) - var(--gw)/2);top:calc(var(--dy) - var(--gh)*.52);background:url(glow13.webp) no-repeat 0 0/100% 100%;-webkit-mask:radial-gradient(closest-side,#000 55%,transparent);mask:radial-gradient(closest-side,#000 55%,transparent);opacity:.84;filter:saturate(.9)}
.c2-models .diagram{display:grid;grid-template-columns:.87fr 1.13fr;align-items:center;gap:32px;padding:clamp(110px,10vw,160px) 0}
.c2-models .diagramcopy h2{font-size:clamp(40px,4.6vw,76px);line-height:1.04;min-height:3em;color:#faf5ec}
.c2-models .diagramcopy span{color:#ffb26f;display:block}
.c2-models .map{position:relative;height:clamp(330px,29vw,420px)}
.c2-models .nodes{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:2px;position:relative;z-index:2}
.c2-models .nodes button{border:0;padding:0;background:none;color:#f6eee3;text-shadow:0 1px 10px #1a0a0399;font:500 clamp(11px,1vw,15px)/1.2 var(--font);cursor:pointer;display:grid;gap:8px;justify-items:center}
.c2-models .nodes img{width:46px;height:46px;object-fit:contain;padding:10px;background:#edeae3;border-radius:13px;border:1px solid transparent}
.c2-models .nodes [aria-pressed=true] img{background:#fff8ed;box-shadow:0 0 0 3px #ae612f,0 0 26px #e77b2d37}
.c2-models .nodes button:focus-visible{outline:2px solid #ffb26f;outline-offset:4px;border-radius:6px}
.c2-models .wires{position:absolute;inset:0;width:100%;height:100%;overflow:visible;z-index:-1}
.c2-models .wires path{fill:none;stroke:#8a5a3a;stroke-width:1}
.c2-models .wires path.lit{stroke:#fff1d2;stroke-width:2}
.c2-models .dock{position:absolute;bottom:0;width:125px;height:99px;left:50%;transform:translateX(-50%);border-radius:17px;background:#e58431;color:#43240c;display:grid;place-items:center;font-size:14px;font-weight:600}
.c2-moving .c2-models .dock{background:#332a21;box-shadow:0 0 0 1px #6f4d30,inset 0 2px 6px #0009;color:transparent}
/* the key that travels */
.c2-tile{display:none;position:fixed;left:0;top:0;z-index:40;pointer-events:none;overflow:hidden;border-radius:15%;border:1.5px solid #fff0cda6;background:linear-gradient(125deg,#ffe4b0 0%,#ffa147 20%,#f37620 54%,#c24b0e 86%,#f8a050 100%);box-shadow:inset 3px 5px 3px #fff9de94,inset -4px -7px 5px #78320a65,0 8px 15px -6px #7b340e73,0 0 36px #ff8c2838;transform-origin:center;font-family:var(--font)}
.c2-moving .c2-tile{display:block}
.c2-tile canvas{width:100%;height:100%;position:absolute;inset:0}
.c2-tile .tileface{position:absolute;inset:16% 12%;display:flex;flex-direction:column;justify-content:space-between;align-items:flex-start;color:#331c0d}
.c2-tile b{font-size:clamp(12px,1.15vw,18px);font-weight:600;letter-spacing:-.045em;line-height:1.15}
.c2-tile .minimarks{display:flex}
.c2-tile .minimarks img{width:clamp(16px,1.6vw,24px);height:clamp(16px,1.6vw,24px);border:1px solid #b47c52;object-fit:contain;border-radius:50%;padding:4px;background:#fff5e3;margin-right:-3px}
.c2-pick{position:fixed;left:50%;bottom:18px;transform:translateX(-50%);z-index:60;display:flex;align-items:center;gap:4px;padding:5px;background:#211e1aee;border-radius:40px;box-shadow:0 8px 24px #0004;max-width:calc(100% - 24px);overflow-x:auto;font-family:var(--font)}
.c2-pick span{color:#a59c8f;font-size:12px;padding:0 8px 0 10px;white-space:nowrap}
.c2-pick button{border:0;background:none;color:#e9e2d6;font:500 13px/1 var(--font);padding:9px 14px;border-radius:30px;cursor:pointer;white-space:nowrap}
.c2-pick button[aria-pressed=true]{background:#f6f4ef;color:#211e1a}
@media(max-width:760px){
  .c2-services{padding:var(--bay-phone) 0}
  .c2-intro{display:block;padding-bottom:22px}.c2-intro p{margin-top:14px}
  .c2-cards{grid-template-columns:1fr}.c2 .service{height:480px}
  .c2 .servicecopy{top:22px;left:20px;right:18px;gap:10px}
  .c2 .veil{background:linear-gradient(#f2eee5 0%,#f2eee5 40%,#f2eee5d0 50%,#f2eee500 70%)}
  .c2 .keyfield{top:86%;height:80%;width:170%;gap:5px}.c2 .c2wall{top:92%;width:240%;height:170%}
  .c2-models .diagram{display:block;padding:72px 0 80px}.c2-models .diagramcopy h2{min-height:0;font-size:44px}.c2-models .diagramcopy span{display:inline}
  .c2-models .map{margin-top:30px;height:310px}.c2-models .nodes{gap:0}.c2-models .nodes button{font-size:11px;line-height:1.12}.c2-models .nodes img{width:38px;height:38px;padding:8px}
  .c2-models .dock{width:107px;height:86px}.c2-tile b{font-size:12px}.c2-tile .tileface{inset:13% 10%}
  .c2-pick button{font-size:12px;padding:8px 10px}.c2-pick span{display:none}}
@media(prefers-reduced-motion:reduce){.c2 .wrun{animation:none!important}}
/* Liam, November 20, 2026: "as u scroll u lsot the colour". The hero ideas fade their light with --q once the
   pinned scroll ends; this concept keeps the light at full while the hero leaves. */
html.idea .hero{--q:0 !important}
/* The blend between the hero and Services was tried and removed the same day (Liam, November 20, 2026: "it should be a clear line not bleded") */
/* Glass cards (Liam, November 20, 2026: "is there a wya to agive these gards a mroe glasshmorphism look"). Glass needs light
   behind it, so the section takes the hero's cool grey with two soft orange lights, and the cards become frosted panes. */
.c2-services .c2-shell{position:relative;z-index:1}
html.c2-glass .c2-services{background:linear-gradient(#dcd9df 0%,#e2dfe2 55%,#e9e6e4 100%)}
html.c2-glass .c2-services::after{content:'';position:absolute;inset:0;z-index:0;pointer-events:none;
  background:radial-gradient(34% 40% at 24% 74%,rgba(255,150,64,.62),rgba(255,170,90,.22) 55%,transparent 74%),radial-gradient(30% 36% at 80% 44%,rgba(255,186,104,.6),rgba(255,196,128,.2) 55%,transparent 74%)}
html.c2-glass .c2 .service{background:rgba(255,255,255,.26);border:1px solid rgba(255,255,255,.72);
  -webkit-backdrop-filter:blur(28px) saturate(1.35);backdrop-filter:blur(28px) saturate(1.35);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.95),inset 0 -1px 0 rgba(255,255,255,.3),inset 1px 0 0 rgba(255,255,255,.45),0 34px 60px -34px rgba(70,44,20,.4),0 2px 6px rgba(70,44,20,.06)}
html.c2-glass .c2 .web{background:rgba(255,255,255,.22)}
html.c2-glass .c2 .veil{background:linear-gradient(rgba(255,255,255,.5) 0%,rgba(255,255,255,.42) 30%,rgba(255,255,255,.16) 46%,rgba(255,255,255,0) 62%)}
html.c2-glass .c2 .web .veil{background:linear-gradient(rgba(255,255,255,.66) 0%,rgba(255,255,255,.6) 32%,rgba(255,255,255,.3) 46%,rgba(255,255,255,0) 60%);-webkit-backdrop-filter:blur(22px);backdrop-filter:blur(22px);-webkit-mask:linear-gradient(#000 0%,#000 36%,transparent 58%);mask:linear-gradient(#000 0%,#000 36%,transparent 58%)}
html.c2-glass .c2 .keyfield i{background:linear-gradient(145deg,rgba(255,255,255,.92) -10%,rgba(255,255,255,.5) 60%,rgba(255,255,255,.3));
  box-shadow:inset 2px 3px 2px rgba(255,255,255,.95),inset -2px -5px 4px rgba(120,96,70,.16),2px 6px 10px rgba(90,62,34,.2);border:1px solid rgba(255,255,255,.6)}
html.c2-glass .c2 .keyfield #start{background:#e58431;border-color:#f6b877}
html.c2-glass.c2-moving .c2 .keyfield #start{background:rgba(120,90,60,.18);border-color:rgba(255,255,255,.35);box-shadow:inset 2px 4px 8px rgba(90,60,30,.28)}
html.c2-glass .c2 .wtile{box-shadow:0 1px 0 rgba(255,255,255,.6),0 8px 16px -8px rgba(60,40,20,.45)}
/* Hero grain: Liam found it "a tad grainey" (November 20, 2026). light.css lays it at .6; the concept keeps a trace so the soft lights do not band. */
html.idea .hero-shade::after{opacity:.24 !important}
.c2-pick i{width:1px;height:18px;background:#5a534a;margin:0 6px;flex:none}
/* AI models section, lighter options (Liam, November 20, 2026: "its jsut a tad dark"). Dark is the first version; Lighter lifts the ground to warm brown and opens the glow; Light carries the hero's daylight down with the same glow drawn in CSS. */
html.c2-m-warm .c2-models{background:linear-gradient(#35211a 0%,#452a1c 55%,#3a2116 100%)}
html.c2-m-warm .c2-models .art{mix-blend-mode:screen;opacity:.78;filter:saturate(.88);transform:scale(1.12);-webkit-mask:radial-gradient(closest-side,#000 30%,transparent);mask:radial-gradient(closest-side,#000 30%,transparent)}
html.c2-m-warm .c2-models .wires path{stroke:#a87750}
html.c2-m-warm .c2-models .wires path.lit{stroke:#fff1d2}
html.c2-m-warm.c2-moving .c2-models .dock{background:#4a3527;box-shadow:0 0 0 1px #8a6444,inset 0 2px 6px #0007}
html.c2-m-light .c2-models{background:linear-gradient(#f4f0ea 0%,#efe9e1 100%);color:#191714}
html.c2-m-light .c2-models .art{-webkit-mask:none;mask:none;opacity:1;filter:none;
  background:radial-gradient(16% 15% at 50% 52%,rgba(255,246,226,.95),rgba(255,246,226,0) 100%),
   radial-gradient(48% 7% at 50% 63%,rgba(255,128,36,.5),rgba(255,128,36,0) 100%),
   radial-gradient(closest-side,rgba(255,140,50,.74),rgba(255,162,84,.4) 36%,rgba(255,190,128,.15) 66%,rgba(255,190,128,0) 100%)}
html.c2-m-light .c2-models .diagramcopy h2{color:#191714}
html.c2-m-light .c2-models .diagramcopy span{color:#c9580f}
html.c2-m-light .c2-models .nodes button{color:#2a2520;text-shadow:none}
html.c2-m-light .c2-models .nodes img{background:#fff;box-shadow:0 1px 2px rgba(60,40,20,.12),0 10px 18px -10px rgba(60,40,20,.4)}
html.c2-m-light .c2-models .nodes [aria-pressed=true] img{background:#fff;box-shadow:0 0 0 3px #e58431,0 10px 22px -8px rgba(229,132,49,.6)}
html.c2-m-light .c2-models .nodes button:focus-visible{outline-color:#c9580f}
html.c2-m-light .c2-models .wires path{stroke:rgba(70,45,25,.3)}
html.c2-m-light .c2-models .wires path.lit{stroke:#d9661a}
html.c2-m-light.c2-moving .c2-models .dock{background:rgba(255,255,255,.38);box-shadow:0 0 0 1px rgba(255,255,255,.85),inset 0 2px 8px rgba(120,70,30,.2),0 18px 30px -18px rgba(120,70,30,.5);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}
/* The tiles sit on a 16:9 cover frame (hero.js). Size the headline to its clear middle,
   using the larger of viewport width and frame width from viewport height, less room for the tile drift. */
#hero{--hero-heading-size:var(--t-1)}
@media(max-width:760px){
  #hero{--hero-heading-size:min(var(--t-1),9.2vw)}
}
html.idea.hero-wide #hero{--hero-heading-size:min(calc(var(--t-1) * .8),calc(max(4.1vw,7.3vh) - 11px))}
#hero .hero-head,#hero .hero-arc h2{font-size:var(--hero-heading-size)}
html.idea.hero-wide.hero-live .hero-copy{margin-top:min(2.25vh,20px)}
/* Nav: an orange-glass state for the pills was tried and removed the same day (Liam, November 20, 2026: "ew no i ahte htis"). The pills are the live ones again: light glass at the top of the hero, near-black after. */
/* the place named in the AI models heading: the leaving phrase fades on a short lift, the next rises in (c2.js switches it every 2.6s) */
.c2-models #c2-verb{transition:opacity var(--dur-1) ease,transform var(--dur-2) cubic-bezier(.22,1,.36,1)}
.c2-models #c2-verb.leave{opacity:0;transform:translateY(-.14em)}
@media(min-width:761px){.c2-models #c2-verb{white-space:nowrap}}
@media(max-width:760px){.c2-models .diagramcopy h2{min-height:3.12em}}
/* The longest phrase ("read AI Overviews.") must not widen the heading column: it pushed the whole diagram 47px to the right and back on the next phrase, which left the lines out of place on Gemini (Liam, November 20, 2026: "the gmeni thinkg kinda brekad"). */
.c2-models .diagramcopy{min-width:0}
