/* Polish pass for the four new sections: hero, services, AI models, case studies (Liam, November 20, 2026: "is there a
   wya we can polsi hthis? it jsut feels a tad not right", then "forge thte black forget evryghjin udner the case studies
   hats old"). Measured that day at 1440 wide, those four are 71% light, 17% orange and 12% dark, so the shares already sit
   close to 60-30-10. What differed was the detail: two greys, three heading sizes, two button styles, two card edges and
   an orange that turned redder down the page. html.c2-polish makes each of those one thing. polish.js switches it.
   He liked it the same day with the AI models section on Dark ("oh okay i really liek this actually"), so the page opens on it. */

/* 1. One ground. Case studies starts on the hero's cool grey; the glow image keeps its strength and fades in from it. */
html.c2-polish.c2-w-1 #work{--w-ground:#dcd9df;background:#dcd9df !important;--w-art-mask:linear-gradient(transparent 24%,#000 50%)}
html.c2-polish.c2-m-light .c2-models{background:linear-gradient(#e9e6e4 0%,#e2dfe2 50%,#dcd9df 100%)}

/* 2. One orange. The glow under the case studies leaned red (hue 21) against the hero's amber (hue 30). */
html.c2-polish.c2-w:not(.c2-w-dark) #work::before{filter:hue-rotate(4deg)}

/* 3. One heading size and one body colour for the three section headings (they were 75, 66 and 54px). */
html.c2-polish{--c2-h:clamp(34px,4.6vw,70px);--c2-body:#4b463f}
html.c2-polish .c2-services h2,html.c2-polish .c2-models .diagramcopy h2,html.c2-polish #work [data-proof-h] h2{font-size:var(--c2-h) !important;line-height:1.04 !important}
html.c2-polish .c2-services h2{color:#191714}
html.c2-polish .c2-services .c2-intro p{color:var(--c2-body)}
html.c2-polish.c2-w:not(.c2-w-dark) #work [data-proof-head] p{color:var(--c2-body) !important;font-size:16px !important;line-height:1.5 !important}

/* 4. Buttons are ours everywhere (Liam, November 20, 2026, on the pill buttons in the service cards: "make the buittons the
   smae as what we hav ethe naiamtion and everyhting  these are not us", and earlier on the hero buttons: "i like our bussons
   hto"). The pill buttons tried in the polish are gone. The service cards use the live Book button (square, capital letters,
   brackets that open on hover); the case studies keep the live Frame buttons and tab. */
.c2 .servicecopy .book{align-self:flex-start;justify-self:start;width:fit-content;background:#191714;color:#f3eee6}
.c2 .servicecopy .book:hover{background:#000;color:#f3eee6}
/* the framed link under the grid sits on the light ground, so it takes the light version the hero uses */
html.c2-w-bare #work a.frame.sm,html.c2-w:not(.c2-w-dark) #work a.frame.sm{--c:rgba(25,23,20,.5);color:#191714;background-color:rgba(255,255,255,.34);-webkit-backdrop-filter:blur(12px) saturate(1.4);backdrop-filter:blur(12px) saturate(1.4);box-shadow:inset 0 1px 0 rgba(255,255,255,.7)}
html.c2-w-bare #work a.frame.sm:hover,html.c2-w:not(.c2-w-dark) #work a.frame.sm:hover{background-color:rgba(255,255,255,.55);color:#191714}

/* 5. One card edge. The services cards take the case cards' 2px white rim and the same drop shadow; they stay clear inside. */
html.c2-polish.c2-glass .c2 .service{border:2px solid #fff;
  box-shadow:inset 0 0 0 1px rgba(25,23,20,.04),inset 0 2px 0 rgba(255,255,255,.95),0 0 0 1px rgba(25,23,20,.06),0 2px 5px rgba(60,40,20,.07),0 34px 60px -30px rgba(70,44,20,.5)}

/* 6. Client photos show more in every card (Liam, November 20, 2026: "ials othink we arent hsowing teh images enoguh for
   each card in genrela"), and most on the side of a card that had nothing on it: the right half of the two wide cards
   and the middle of the tall one. The white fade follows the words so they stay on a clean ground. This replaces the
   Photos: faint / more button while the polish is on. */
html.c2-polish.c2-w:not(.c2-w-panel):not(.c2-w-dark) #work{--w-photo:.66}
html.c2-polish.c2-w:not(.c2-w-panel):not(.c2-w-dark) #work .cx-cell:not([data-on]) .cx-m{-webkit-mask-image:linear-gradient(to top right,transparent 16%,#000 62%);mask-image:linear-gradient(to top right,transparent 16%,#000 62%)}
html.c2-polish.c2-w:not(.c2-w-panel):not(.c2-w-dark) #work .cx-cell.wide:not([data-on]) .cx-m{opacity:.92;-webkit-mask-image:linear-gradient(to right,transparent 26%,#000 58%);mask-image:linear-gradient(to right,transparent 26%,#000 58%)}
html.c2-polish.c2-w:not(.c2-w-panel):not(.c2-w-dark) #work .cx-cell.wide:not([data-on]) .cx-shade{background:linear-gradient(to right,rgba(255,255,255,.84) 0%,rgba(255,255,255,.5) 30%,rgba(255,255,255,0) 54%)}
html.c2-polish.c2-w:not(.c2-w-panel):not(.c2-w-dark) #work .cx-cell.tall:not([data-on]) .cx-m{opacity:.85;-webkit-mask-image:linear-gradient(to bottom,transparent 31%,#000 50%);mask-image:linear-gradient(to bottom,transparent 31%,#000 50%)}
html.c2-polish.c2-w:not(.c2-w-panel):not(.c2-w-dark) #work .cx-cell.tall:not([data-on]) .cx-shade{background:linear-gradient(to top,rgba(255,255,255,.92) 0%,rgba(255,255,255,.86) 30%,rgba(255,255,255,0) 50%)}
html.c2-polish .c2-wpick button.bgt.pht{display:none}

/* 7. The awake card (Collabstr until you point at another): its number and labels sat across the seams between the
   photos. A dark fade under the words, strongest bottom left where the number is, leaves the photos as they are. */
html.c2-polish.c2-w:not(.c2-w-panel):not(.c2-w-feat):not(.c2-w-dark) #work .cx-cell[data-on] .cx-shade{
  background:linear-gradient(to top,rgba(12,11,10,.9) 0%,rgba(12,11,10,.74) 26%,rgba(12,11,10,.4) 50%,rgba(12,11,10,0) 76%),
   linear-gradient(to bottom,rgba(12,11,10,.72) 0%,rgba(12,11,10,.4) 18%,rgba(12,11,10,0) 36%),
   linear-gradient(to right,rgba(12,11,10,.42) 0%,rgba(12,11,10,0) 58%)}

/* 8. The AI models heading: "buyers" sat alone on the second line. On a desk it now breaks "Be there / when buyers /
   ask ChatGPT."; on a phone it keeps its two lines. */
.c2-models .diagramcopy h2 br.brd{display:inline}.c2-models .diagramcopy h2 br.brm{display:none}
@media(max-width:760px){.c2-models .diagramcopy h2 br.brd{display:none}.c2-models .diagramcopy h2 br.brm{display:inline}}

/* Options shown and settled the same day (Liam, November 20, 2026: grey photos "the grey is good", the services paragraph
   stays on the right "i think it looks bette rwith the copy on the right", "remove al other topions"): the intro-under,
   black-logo and colour-photo switches are gone.

   9. The AI models section, Dark (Liam, November 20, 2026: "can u amke the backgorund clearere a bit ifit feels a bit lieka
   cheap stock. photo and amybe increas eth eheight a bit"). The glow file was 736px wide and the page stretched it to
   1150px, so it went soft. A redraw in CSS was tried and rejected the same day ("well nw the design isnt what we had, can u
   lok at what we had and jsut try to mkaem it a bit clear"). It is the same glow again, rendered at 2300 by 1800 from our
   own rebuild of it (active/background-rebuilds, "An orange glow and its reflection"), shown a little brighter. The
   section is about 100px taller on a desk. */
/* Turned down the same day (Liam, November 20, 2026: "cna u jsut make the bakgorund a little less promoinient"): .93 to .7, a little less saturated. */
html.c2-polish.c2-m-dark .c2-models .art{background-image:url(/glow13-sharp.webp);opacity:.7;filter:saturate(.9)}
@media(min-width:761px){html.c2-polish .c2-models .diagram{padding:clamp(150px,13.4vw,210px) 0}}

/* the Before / Polished switch, bottom right, above the main bar */
.c2-polish-sw{position:fixed;right:16px;bottom:66px;z-index:62;display:flex;align-items:center;gap:3px;padding:5px;background:#211e1aee;border-radius:40px;box-shadow:0 8px 24px #0004;font-family:var(--font)}
.c2-polish-sw 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-polish-sw button[aria-pressed=true]{background:#f6f4ef;color:#211e1a}
html.c2-shot .c2-polish-sw{display:none !important}
@media(max-width:760px){.c2-polish-sw{right:8px;bottom:70px}.c2-polish-sw button{font-size:12px;padding:8px 10px}}

/* Cleaned up (Liam, November 20, 2026: "all of these otions is making it hard to follow so can we clean this up"): the option bars are hidden unless the address carries ?options=1. One small bar stays for the two open decisions. */
html:not(.c2-options) :is(.c2-pick,.c2-wpick,.c2-polish-sw){display:none !important}
html.c2-options .c2-open{display:none}
.c2-open{position:fixed;left:50%;bottom:18px;transform:translateX(-50%);z-index:62;display:flex;align-items:center;gap:3px;padding:5px;background:#211e1aee;border-radius:40px;box-shadow:0 8px 24px #0004;font-family:var(--font);max-width:calc(100% - 16px);overflow-x:auto}
.c2-open span{color:#a59c8f;font-size:12px;padding:0 8px 0 12px;white-space:nowrap}
.c2-open 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-open button[aria-pressed=true]{background:#f6f4ef;color:#211e1a}
.c2-open i{width:1px;height:18px;background:#5a534a;margin:0 6px;flex:none}
html.c2-shot .c2-open{display:none !important}
@media(max-width:760px){.c2-open button{font-size:12px;padding:8px 10px}.c2-open span{padding:0 6px 0 8px}}
/* The AI models section is one screen tall on a desk (Liam, November 20, 2026: "canu increase th eheight ... are. usuppsoe to. keep the height the same liek 100vh"). It holds one idea and one picture, so it frames like the hero: 100svh, never under 680px, never over 1080px so it does not stretch on a tall monitor. The words and the diagram sit in the middle. A phone keeps the height its content needs. */
@media(min-width:761px){html.c2-polish .c2-models{min-height:clamp(680px,100svh,1080px);display:flex;align-items:center}}

/* 10. The AI models ground is the design board's "Orange blur gradient" (Liam, November 20, 2026, on seeing it: "OH FUCK I LOVE THJIS"). How it got here: he called the glow and reflection "a little intense in temrs of the backgorund design"; a first round drawn from that glow was wrong ("no liek ujsut took that and u didnt look at ourborad?"); from a second he kept Glow and Beams and asked for "more full orgnage gradients or something from our borad". Blur, Thread and Horizon were shown; he picked Blur, and the others are removed. The picture is rendered from our own rebuild of the board's pin (active/background-rebuilds, 629096641739349323), without its film grain (Liam on the hero that day: "its also a tad grainey"). polish.js puts c2-g-blur on the page; ?g=glow shows the old glow.
   A phone shows the picture upright. A desk shows it turned on its side, so three quarters of it is in view (the deep red corners and the pale pools) and the key lands on a pale pool; upright, a desk only saw a flat band from its middle. */
html.c2-polish.c2-m-dark.c2-g-blur .c2-models{color:#1d0f08;background:#f28a4c url(/bg/board-blur.webp) center 46%/cover no-repeat}
@media(min-width:761px){html.c2-polish.c2-m-dark.c2-g-blur .c2-models{background:#f28a4c url(/bg/board-blur-wide.webp) center/cover no-repeat}}
/* About 15% calmer, still orange (Liam, November 20, 2026, on the preview: "maybe for this orgnae can we try something a abotu 15% more muted or less agressive bakcgorunf"; then, on a cream wash that took colour out: "no becasue then it becomes liek peach and i want it orgnage"). The aggressive part is the deep red in the corners, so nothing pale goes on top: an orange layer set to hue pulls the reds toward orange, and a thin orange wash evens out the dark against the bright, so the colour stays as strong as before. ?blur=full shows it untouched. */
html.c2-polish.c2-m-dark.c2-g-blur:not(.c2-blur-full) .c2-models{background-image:linear-gradient(rgba(242,132,62,.16),rgba(242,132,62,.16)),linear-gradient(rgba(245,128,40,.45),rgba(245,128,40,.45)),url(/bg/board-blur.webp);background-size:auto,auto,cover;background-position:0 0,0 0,center 46%;background-repeat:no-repeat;background-blend-mode:normal,hue,normal}
@media(min-width:761px){html.c2-polish.c2-m-dark.c2-g-blur:not(.c2-blur-full) .c2-models{background-image:linear-gradient(rgba(242,132,62,.16),rgba(242,132,62,.16)),linear-gradient(rgba(245,128,40,.45),rgba(245,128,40,.45)),url(/bg/board-blur-wide.webp);background-position:0 0,0 0,center}}
html.c2-polish.c2-m-dark.c2-g-blur .c2-models .art{display:none}
/* the section is a field of orange now, so its words are dark ink with the changing phrase in white, the chips sit on white, the wires are dark and the lit wire white */
html.c2-polish.c2-m-dark.c2-g-blur .c2-models .diagramcopy h2{color:#1d0f08}
html.c2-polish.c2-m-dark.c2-g-blur .c2-models .diagramcopy span{color:#fff}
@media(max-width:760px){html.c2-polish.c2-m-dark.c2-g-blur .c2-models .diagramcopy span{color:#8a2c05}}
html.c2-polish.c2-m-dark.c2-g-blur .c2-models .nodes button{color:#1d0f08;text-shadow:none}
html.c2-polish.c2-m-dark.c2-g-blur .c2-models .nodes img{background:#fff;box-shadow:0 1px 2px rgba(70,25,5,.16),0 12px 20px -10px rgba(70,25,5,.5)}
html.c2-polish.c2-m-dark.c2-g-blur .c2-models .nodes [aria-pressed=true] img{background:#fff;box-shadow:0 0 0 3px #1d0f08,0 12px 22px -8px rgba(70,25,5,.6)}
html.c2-polish.c2-m-dark.c2-g-blur .c2-models .nodes button:focus-visible{outline-color:#1d0f08}
html.c2-polish.c2-m-dark.c2-g-blur .c2-models .wires path{stroke:rgba(60,22,6,.34)}
html.c2-polish.c2-m-dark.c2-g-blur .c2-models .wires path.lit{stroke:#fff}
/* the socket the key lands in is a soft dark hollow; a white glass plate read as a second, misprinted key */
html.c2-polish.c2-m-dark.c2-moving.c2-g-blur .c2-models .dock{background:rgba(90,30,5,.16);box-shadow:inset 0 2px 10px rgba(70,20,0,.28)}

/* 11. Under construction (Liam, November 20, 2026, before Sofiya sees the page): the old site's Five rules, Before we talk (the mountain) and Book a call are hidden, and polish.js puts one note before the footer. The footer stays. */
#rules,#questions,#book{display:none!important}
.c2-wip{position:relative;z-index:2;background:var(--bg-b);color:var(--ink);padding:var(--bay) var(--gutter);border-top:1px solid var(--line)}
.c2-wip .in{max-width:var(--shell);margin:0 auto}
.c2-wip h2{margin:0;max-width:18ch;font-family:var(--font-display);font-weight:200;font-size:var(--t-3);line-height:1.1;letter-spacing:-.035em;color:var(--ink)}
.c2-wip p{margin:var(--s-3,16px) 0 0;max-width:46ch;font-size:17px;line-height:1.5;color:var(--ink-2,rgba(237,233,225,.66))}


/* 12. The Sixty switch is gone (Liam, November 20, 2026: "remove this", on the Sixty Off / Peeking switch). Sixty keeps peeking; ?sixty=0 still turns him off. */
.c2-sixty-sw:not(.c2-pre-sw){display:none!important} /* the preloader switch shares the class and stays */
.c2-open > i:first-child{display:none} /* the bar opens on another session's group now, so its leading divider goes */
/* 13. The bar of open decisions is gone too (Liam, November 20, 2026: "remove these", on Services subtext and PR key). The page keeps Services subtext 1 and PR key 3; ?sub=2 and ?prkey=1|2|4 still show the others, and ?options=1 brings every option bar back for reference. The Preloader switch stays ("whre di the totions fo rht epreloaders go"). */
html:not(.c2-options) .c2-open{display:none!important}
html:not(.c2-options) .c2-pre-sw{bottom:20px} /* with the other switch and the bar gone, the Preloader switch sits in the corner */

/* 14. Services is one screen on a desk (Liam, November 20, 2026: "are all the sections 100vh? ... liek is there an even spacing", then "Yes, fit Services"). It was 1.09 screens with 108px above and 100px below. Now the section is at least one screen tall with the same space above and below, and the three cards take whatever height is left under the heading. On a short screen the cards stop at 500px so the words never meet the pictures, and the section runs a little longer. Stacked layouts (under 1101px) keep their own heights. */
@media(min-width:1101px){
  html.c2-polish #services.c2-three{box-sizing:border-box;min-height:100svh;padding-bottom:var(--bay);display:flex;flex-direction:column}
  html.c2-polish #services.c2-three > .c2-shell{flex:1 1 auto;display:flex;flex-direction:column}
  html.c2-polish #services.c2-three .c2-cards{flex:1 1 auto;min-height:500px;align-items:stretch}
  html.c2-polish #services.c2-three .service{height:auto}
}

/* 15. Case studies are one screen on a desk, all ten in view (Liam, November 20, 2026: "make the case studies section one
   screen too"; then, on a first version that put six cards behind arrows: "ahhhh dude? where did all of our case studies
   go ?"). The four rows (1.5 screens) became two rows of five equal cards that take the height left under the heading.
   Collabstr leads the first row. Every card uses the small card's type so the figure and line fit. Phones and tablets
   keep the stacked cards.
   Liam then asked for both ("add the abr that ahs the otpions of the orignal and then hte on u jsut drafted"): a Case
   studies switch picks One screen (these rules) or Original (the four-row grid); ?cs=original opens on it. */
@media(min-width:1101px){
  html.c2-polish:not(.c2-cs-orig) #work{box-sizing:border-box}
  html.c2-polish:not(.c2-cs-orig) #work > div:nth-child(2){flex:1 1 auto;display:flex;flex-direction:column;min-height:0}
  html.c2-polish:not(.c2-cs-orig) #work .cx-host{flex:1 1 auto;display:flex;flex-direction:column;min-height:0}
  html.c2-polish:not(.c2-cs-orig) #work .cx-bento{flex:1 1 0;min-height:370px;grid-template-columns:repeat(5,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));
    grid-template-areas:"p1 p2 p3 p4 p5" "p6 p7 p8 p9 p10"}
  html.c2-polish:not(.c2-cs-orig) #work .cx-cell .case-big,html.c2-polish:not(.c2-cs-orig) #work .cx-cell.xl .case-big,html.c2-polish:not(.c2-cs-orig) #work .cx-cell.tall .case-big{font-size:clamp(40px,3.4vw,56px)}
  html.c2-polish:not(.c2-cs-orig) #work .cx-cell .case-big.is-long{font-size:clamp(34px,2.8vw,46px)}
  html.c2-polish:not(.c2-cs-orig) #work .cx-cell.xl .cx-line,html.c2-polish:not(.c2-cs-orig) #work .cx-cell.tall .cx-line{font-size:var(--t-7);line-height:1.2;max-width:20ch;color:var(--ink-2)}
  html.c2-polish:not(.c2-cs-orig) #work .cx-cell.xl .cx-creds,html.c2-polish:not(.c2-cs-orig) #work .cx-cell.tall .cx-creds{display:none}
  html.c2-polish:not(.c2-cs-orig) #work .cx-cell.xl .case-logo .case-badge{height:48px;padding:0 15px}
  html.c2-polish:not(.c2-cs-orig) #work .cx-cell.xl .case-logo .case-badge > div{height:var(--lh,18px)}
  /* Collabstr's card was built wide: its words share a row with the Read button. Here the words take the full width and
     the button, which is the card's link, stretches invisibly over the whole card, as the other cards are links. */
  html.c2-polish:not(.c2-cs-orig) #work .cx-cell.xl .cx-foot{display:block}
  html.c2-polish:not(.c2-cs-orig) #work .cx-cell.xl .case-read{position:absolute;inset:0;z-index:9;opacity:0;margin:0}
}
/* the Case studies switch, the same pill as the Preloader one, stacked above it */
.c2-cs-sw{position:fixed;right:16px;bottom:72px;z-index:62;display:flex;align-items:center;gap:3px;padding:5px;background:#211e1aee;border-radius:40px;box-shadow:0 8px 24px #0004}
.c2-cs-sw span{color:#a59c8f;font:500 12px/1 var(--font);padding:0 6px 0 10px}
.c2-cs-sw 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-cs-sw button[aria-pressed=true]{background:#f6f4ef;color:#211e1a}
@media(max-width:1100px){.c2-cs-sw{display:none}} /* on phones and tablets both options are the same stacked cards */
/* the hero's two small far tiles, rebuilt sharp in hero-tiles/ (Liam, November 21, 2026: "the quality is ass on these").
   The second one shows Grok in place of the made-up three-node mark; its slot keeps the name "nodes" in hero.js.
   Perplexity's tile had the same muddy look and is rebuilt the same way. */
html.idea-2d.hero-wide .hero-tile[data-k=search]{--mask:url(/hero-tiles/mask-search.png)}
html.idea-2d.hero-wide .hero-tile[data-k=nodes]{--mask:url(/hero-tiles/mask-grok.png)}
html.idea-2d.hero-wide .hero-tile[data-k=perplexity],html.idea-2d:not(.hero-wide) .hero-tile[data-k=perplexity]{--mask:url(/hero-tiles/mask-perplexity.png)}

/* the whole Collabstr card opens its case page (polish.js) */
#work .cx-cell.xl{cursor:pointer}
