/* Case studies, lighter options (Liam, November 20, 2026: "a lighter colour and using some of our backgrounds and
   glassmorphism ... show me 5-20 different options and variants"). The live bento is untouched: every option is a
   class on <html> that restyles #work. html.c2-w = any option; c2-w-N = which one; work.js lists them.
   Modes: c2-w-dark keeps the light text, c2-w-panel puts the words on a frosted panel over a filled cell,
   c2-w-photo keeps every cell's photo on, c2-w-tiles gives each cell its own background, c2-w-feat lights only the big cell. */

/* ---- shared: the light ink, the ground, the one background behind the grid ---- */
html.c2-w:not(.c2-w-dark) #work{--ink:#191714;--ink-2:#3b352f;--quiet:#6d655b;--line:rgba(25,23,20,.16);--bg-b:#efedea;--edge-3:rgba(25,23,20,.28)}
html.c2-w #work{background:var(--w-ground,#e4e1e3);isolation:isolate}
html.c2-w #work::before{content:"";position:absolute;inset:var(--w-art-inset,0);z-index:0;pointer-events:none;
  background:var(--w-art,none);opacity:var(--w-art-op,1);transform:var(--w-art-tf,none);mix-blend-mode:var(--w-art-blend,normal);
  -webkit-mask:var(--w-art-mask,none);mask:var(--w-art-mask,none)}
html.c2-w #work>:not(.wall){position:relative;z-index:2}
html.c2-w #work .peek-fan img{filter:none}

/* ---- shared: the glass cell ---- */
html.c2-w #work .cx-cell{background:var(--w-cell,rgba(255,255,255,.24));border:1px solid var(--w-rim,rgba(255,255,255,.74));
  -webkit-backdrop-filter:blur(var(--w-blur,26px)) saturate(1.3);backdrop-filter:blur(var(--w-blur,26px)) saturate(1.3);
  box-shadow:inset 0 1px 0 var(--w-top,rgba(255,255,255,.92)),inset 0 -1px 0 rgba(255,255,255,.22),inset 1px 0 0 rgba(255,255,255,.3),0 30px 54px -36px var(--w-drop,rgba(70,44,20,.45))}
html.c2-w #work .cx-cell:hover{border-color:var(--w-rim-on,#fff)}
html.c2-w #work .cx-creds{text-shadow:none}
html.c2-w #work .cx-grain{opacity:0}
html.c2-w #work .case-logo .case-badge{--c:rgba(25,23,20,.4);background-color:rgba(255,255,255,.28)}

/* the two framed buttons (Read the case study, View all case studies) sit on dark glass on the live site */
html.c2-w:not(.c2-w-dark) #work a.frame{background-color:rgba(255,255,255,.5);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
html.c2-w:not(.c2-w-dark):not(.c2-w-panel):not(.c2-w-feat) #work .cx-cell[data-on] a.frame{background-color:rgba(12,11,10,.72)}

/* At rest each client's photo shows faintly through the glass, in the live site's grey (Liam, November 20, 2026: "if u
   loo kat th eorignal the pghotos are still slightly showing per case sutdyu"), with a white fade under the words.
   The one awake cell (the big cell until you point at another) shows its footage in full colour, as on the live site.
   No CSS filter on the footage: the live site found Firefox redraws a filtered clip on every scroll frame. */
html.c2-w:not(.c2-w-panel) #work .cx-m{opacity:var(--w-photo,.2);filter:none;transition:opacity var(--dur-3) var(--ease),transform 2s var(--ease)}
html.c2-w-dark:not(.c2-w-panel) #work .cx-m{opacity:.5}
/* Photos: more (Liam, November 20, 2026: "shwo them atad more as ano oitni to review"). The picker's Photos button, or ?photos=more. */
html.c2-photo-more.c2-w:not(.c2-w-dark) #work{--w-photo:.36}
html.c2-photo-more.c2-w-dark:not(.c2-w-panel) #work .cx-m{opacity:.72}
html.c2-photo-more.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 0%,#000 50%);mask-image:linear-gradient(to top right,transparent 0%,#000 50%)}
/* on the light cards the photo lives in the top-right half and fades out toward the words, so the card stays white where you read */
html.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 10%,#000 64%);mask-image:linear-gradient(to top right,transparent 10%,#000 64%)}
html.c2-w:not(.c2-w-panel) #work .cx-shade{opacity:1;
  background:linear-gradient(to top,rgba(255,255,255,.82) 0%,rgba(255,255,255,.5) 30%,rgba(255,255,255,0) 60%)}
html.c2-w-dark:not(.c2-w-panel) #work .cx-shade{background:linear-gradient(to top,rgba(24,14,10,.8) 0%,rgba(24,14,10,.4) 32%,rgba(24,14,10,0) 62%)}
html.c2-w:not(.c2-w-panel):not(.c2-w-feat) #work .cx-cell[data-on] .cx-shade{
  background:linear-gradient(to top,rgba(12,11,10,.8) 0%,rgba(12,11,10,.42) 32%,rgba(12,11,10,0) 62%),linear-gradient(to bottom,rgba(12,11,10,.5) 0%,rgba(12,11,10,0) 30%)}
html.c2-w:not(.c2-w-panel):not(.c2-w-feat) #work .cx-cell[data-on]{--ink:#EDE9E1;--ink-2:#DCD6CA;--quiet:#B8B0A3;--edge-3:rgba(237,233,225,.4)}
html.c2-w:not(.c2-w-panel):not(.c2-w-feat) #work .cx-cell[data-on] :is(.cx-m,.cx-shade){opacity:1}
html.c2-w:not(.c2-w-panel):not(.c2-w-feat) #work .cx-cell[data-on] .cx-creds{text-shadow:0 1px 14px rgba(12,11,10,.9)}
html.c2-w:not(.c2-w-panel):not(.c2-w-feat) #work .cx-cell[data-on] .case-logo .case-badge{--c:rgba(237,233,225,.55);background-color:rgba(18,17,16,.35)}

/* ---- mode: dark kept, glass smoked ---- */
html.c2-w-dark #work{--w-cell:rgba(58,34,22,.36);--w-rim:rgba(255,214,170,.24);--w-rim-on:rgba(255,226,190,.6);--w-top:rgba(255,226,190,.3);--w-drop:rgba(0,0,0,.6)}
html.c2-w-dark #work .case-logo .case-badge{--c:rgba(237,233,225,.55);background-color:rgba(18,17,16,.25)}
html.c2-w-dark #work .cx-cell{box-shadow:inset 0 1px 0 var(--w-top),0 30px 54px -36px var(--w-drop)}

/* ---- mode: the words on a frosted panel over a filled cell (photo, or a background of its own) ---- */
html.c2-w-panel #work .cx-cell{--pm:63%;-webkit-backdrop-filter:none;backdrop-filter:none}
html.c2-w-panel #work .cx-cell.xl{--pm:58%}
html.c2-w-panel #work .cx-cell.tall{--pm:45%}
html.c2-w-panel #work .cx-cell.wide{--pm:63%}
html.c2-w-panel #work .cx-shade{opacity:1;background:rgba(255,255,255,.56);-webkit-backdrop-filter:blur(22px) saturate(1.25);backdrop-filter:blur(22px) saturate(1.25);
  inset:auto 0 0 0;height:var(--pm);border-top:1px solid rgba(255,255,255,.8)}
html.c2-w-panel #work .case-logo .case-badge,html.c2-w-panel #work .cx-cell[data-on] .case-logo .case-badge{--c:rgba(25,23,20,.45);background-color:rgba(255,255,255,.72);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}
html.c2-w-panel #work .cx-creds{color:#fff;text-shadow:0 1px 12px rgba(12,11,10,.75)}
html.c2-w-panel #work .cx-cell .case-read{background-color:rgba(255,255,255,.7)}
html.c2-w-panel #work .cx-arr{background:rgba(255,255,255,.7)}
html.c2-w-photo #work .cx-m{filter:none;transform:none}
html.c2-w-photo #work .cx-m .cx-g{opacity:0}
html.c2-w-tiles #work .cx-m{opacity:0}
html.c2-w-tiles #work .cx-creds{color:var(--ink);text-shadow:none}
html.c2-w-tiles #work .cx-cell{background:var(--t) center/cover no-repeat;border-color:rgba(255,255,255,.8)}
html.c2-w-tiles #work .cx-cell:nth-child(1){--t:url(/bg/01.webp)}
html.c2-w-tiles #work .cx-cell:nth-child(2){--t:url(/bg/14.webp)}
html.c2-w-tiles #work .cx-cell:nth-child(3){--t:url(/bg/07.webp)}
html.c2-w-tiles #work .cx-cell:nth-child(4){--t:url(/bg/15.webp)}
html.c2-w-tiles #work .cx-cell:nth-child(5){--t:url(/bg/12.webp)}
html.c2-w-tiles #work .cx-cell:nth-child(6){--t:url(/bg/05.webp)}
html.c2-w-tiles #work .cx-cell:nth-child(7){--t:url(/bg/08.webp)}
html.c2-w-tiles #work .cx-cell:nth-child(8){--t:url(/bg/04.webp)}
html.c2-w-tiles #work .cx-cell:nth-child(9){--t:url(/bg/03.webp)}
html.c2-w-tiles #work .cx-cell:nth-child(10){--t:url(/bg/11.webp)}

/* ---- mode: only the big cell is lit ---- */
html.c2-w-feat #work .cx-cell{-webkit-backdrop-filter:none;backdrop-filter:none}
html.c2-w-feat #work .cx-cell.xl{background:url(/bg/01.webp) center 78%/cover no-repeat;border-color:rgba(255,255,255,.9)}
html.c2-w-feat #work .cx-cell.xl .case-read{background-color:rgba(255,255,255,.6)}

/* ---- the options ---- */
/* 1 Glow on grey: our "orange glow rising on light grey" behind the whole grid */
html.c2-w-1 #work{--w-ground:#d9d9d9;--w-art:url(/bg/01.webp) center/100% 100% no-repeat}
/* 2 Two orbs on white */
html.c2-w-2 #work{--w-ground:#fdfdfd;--w-art:url(/bg/14.webp) 62% 46%/cover no-repeat;--w-cell:rgba(255,255,255,.3);--w-rim:rgba(255,255,255,.9);--w-drop:rgba(120,60,10,.4)}
html.c2-w-2 #work .cx-cell{outline:1px solid rgba(25,23,20,.06);outline-offset:0}
/* 3 Orbs on cream */
html.c2-w-3 #work{--w-ground:#ead3a9;--w-art:url(/bg/07.webp) center 44%/cover no-repeat;--w-cell:rgba(255,250,240,.26)}
/* 4 Orbs on paper */
html.c2-w-4 #work{--w-ground:#f4eddf;--w-art:url(/bg/12.webp) center 48%/106% auto no-repeat;--w-cell:rgba(255,255,255,.3);--w-drop:rgba(120,60,10,.4)}
/* 5 Amber horizon: cream at the heading, amber rising under the grid (the rebuild turned upside down) */
html.c2-w-5 #work{--w-ground:#e7dcc9;--w-art:url(/bg/05.webp) center/100% 100% no-repeat;--w-art-tf:scaleY(-1);--w-cell:rgba(255,248,236,.3)}
/* 6 Stacked glows */
html.c2-w-6 #work{--w-ground:#fff2dd;--w-art:url(/bg/04.webp) center/100% 100% no-repeat;--w-art-inset:11% 0 0 0;--w-cell:rgba(255,255,255,.4);--w-blur:30px}
/* 7 Disc behind glass: a flat orange disc on warm grey, sharp in the gaps and soft behind each cell */
html.c2-w-7 #work{--w-ground:#bdb9b1;--w-art:radial-gradient(circle at 50% 60%,#f2643c 0,#f2643c 27.8%,rgba(242,100,60,0) 28%);--w-cell:rgba(255,255,255,.2);--w-blur:34px;--w-rim:rgba(255,255,255,.55)}
/* 8 Amber sphere on paper */
html.c2-w-8 #work{--w-ground:#f5eee0;--w-art:url(/bg/15.webp) center 58%/auto 96% no-repeat;--w-cell:rgba(255,255,255,.26);--w-drop:rgba(110,40,10,.4)}
/* 9 Orange blur: the whole section is the gradient */
html.c2-w-9 #work{--w-ground:#f28241;--w-art:url(/bg/08.webp) center/100% 100% no-repeat;--w-cell:rgba(255,255,255,.3);--w-rim:rgba(255,255,255,.6);--w-drop:rgba(120,30,0,.5)}
/* 10 Warm light study: soft columns of orange light, drawn in CSS after the efektly pin */
html.c2-w-10 #work{--w-ground:#fdf4e8;--w-cell:rgba(255,255,255,.28);--w-drop:rgba(140,50,0,.42);
  --w-art:repeating-linear-gradient(90deg,rgba(255,250,240,0) 0,rgba(255,250,240,.34) 8.2%,rgba(255,250,240,0) 8.3%),
   linear-gradient(180deg,#fdf4e8 0%,rgba(253,244,232,0) 30%,rgba(253,244,232,0) 86%,#fdf4e8 100%),
   radial-gradient(34% 58% at 50% 66%,#ff4d14 0%,#ff6a22 34%,#ff9a52 62%,rgba(255,190,140,0) 100%),
   radial-gradient(62% 70% at 50% 70%,#ffb37a 0%,#ffd3ad 52%,rgba(253,244,232,0) 100%)}
/* 11 Photos under frost: every client photo in colour, the words on frosted glass */
html.c2-w-11 #work{--w-ground:linear-gradient(#dcd9df,#e6e3e3);
  --w-art:radial-gradient(34% 30% at 20% 70%,rgba(255,150,64,.55),rgba(255,170,90,.2) 55%,transparent 74%),radial-gradient(30% 28% at 82% 34%,rgba(255,186,104,.55),rgba(255,196,128,.2) 55%,transparent 74%)}
/* 12 Warm brown: the dark version, lifted, with the glow and its reflection behind smoked glass */
html.c2-w-12 #work{--w-ground:linear-gradient(#35211a 0%,#452a1c 55%,#3a2116 100%);--w-art:url(/glow13.webp) center 58%/min(1150px,84%) auto no-repeat;--w-art-blend:screen;--w-art-op:.85;
  --w-art-mask:radial-gradient(48% 46% at 50% 58%,#000 40%,transparent 100%)}
/* 13 A background per case */
html.c2-w-13 #work{--w-ground:#f2efe9}
/* 14 Only the big case is lit */
html.c2-w-14 #work{--w-ground:#f2efe9;--w-cell:rgba(255,255,255,.7);--w-rim:rgba(25,23,20,.1);--w-rim-on:rgba(25,23,20,.3);--w-drop:rgba(70,44,20,.25)}
/* 15 Thread of light */
html.c2-w-15 #work{--w-ground:#f88f4a;--w-art:url(/bg/03.webp) center/100% 100% no-repeat;--w-cell:rgba(255,255,255,.32);--w-rim:rgba(255,255,255,.62);--w-drop:rgba(120,30,0,.5)}
/* 16 Orange band on grey */
html.c2-w-16 #work{--w-ground:#c1bbb7;--w-art:url(/bg/11.webp) center/100% 100% no-repeat;--w-art-inset:8% 0 0 0;--w-art-mask:linear-gradient(transparent 0,#000 16%);--w-cell:rgba(255,255,255,.3)}
/* 17 Amber beams: dark, for comparison */
html.c2-w-17 #work{--w-ground:#0b0a10;--w-art:url(/bg/06.webp) center/100% 100% no-repeat;--w-art-op:.9}

/* ---- the option picker (shown while the case studies are on screen) ---- */
.c2-wpick{position:fixed;left:50%;bottom:18px;transform:translateX(-50%);z-index:61;display:none;align-items:center;gap:3px;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)}
html.c2-in-work .c2-wpick{display:flex}
html.c2-in-work .c2-pick{display:none}
.c2-wpick b{color:#f6f4ef;font:500 13px/1 var(--font);padding:0 12px 0 12px;white-space:nowrap;min-width:13.5em}
.c2-wpick b em{font-style:normal;color:#a59c8f;margin-right:6px}
.c2-wpick button{border:0;background:none;color:#e9e2d6;font:500 12px/1 var(--font);min-width:28px;height:28px;padding:0 6px;border-radius:30px;cursor:pointer;flex:none}
.c2-wpick button[aria-pressed=true]{background:#f6f4ef;color:#211e1a}
.c2-wpick button:hover{background:#3a352e}
.c2-wpick button[aria-pressed=true]:hover{background:#f6f4ef}
.c2-wpick a{color:#ffb26f;font:500 12px/1 var(--font);padding:0 12px;white-space:nowrap;text-decoration:none}
html.c2-shot :is(.c2-pick,.c2-wpick,.c2-tile,header.nav){display:none!important}
@media(max-width:760px){.c2-wpick b{min-width:0}.c2-wpick a{display:none}}
/* the websites wall (the other view of this section) fades into near-black on the live site; on a light ground it fades into nothing */
html.c2-w:not(.c2-w-dark) #work .wall::after{background:none}
/* Firefox frosts only what sits inside the same transformed box as the glass. The cases wrapper rests on an identity transform (for its view switch), which cut the background off from the cells there: the disc showed sharp through the glass. At rest the wrapper carries no transform. */
html.c2-w #work:not([data-view="web"]):not([data-prime]) [data-proof-cases]{transform:none}

/* ---- the live black cards on the light page (Liam, November 20, 2026: "this whoek case study desingi s jsu toff i cant aritucalr te it sjsut off").
   Our read: the white frosted cards with grey photos fading through them looked washed out; the live cards he likes are dark, with the
   photo filling each one and light words on top. On November 19, 2026 he also rejected a tint on these cards and asked to "keep the black",
   on a light ground. html.c2-w-bare leaves every card exactly as the live site draws it and changes only the ground behind them. */
html.c2-w-bare #work{background:#dcd9df !important;isolation:isolate}
html.c2-w-bare #work::before{content:"";position:absolute;inset:0;z-index:0;pointer-events:none;background:var(--w-art,none);-webkit-mask:var(--w-art-mask,none);mask:var(--w-art-mask,none);filter:var(--w-art-filter,none)}
html.c2-w-bare #work>:not(.wall){position:relative;z-index:2}
html.c2-w-bare #work [data-proof-head]{--ink:#191714;--ink-2:#3b352f;--quiet:#4b463f;--line:rgba(25,23,20,.16);--bg-b:#efedea;--edge-3:rgba(25,23,20,.28)}
html.c2-w-bare #work .peek-fan img{filter:none}
html.c2-w-bare #work .wall::after{background:none}
html.c2-w-bare #work .cx-cell{border-color:rgba(255,255,255,.34);box-shadow:0 0 0 1px rgba(25,23,20,.1),0 34px 60px -30px rgba(40,22,10,.62),0 4px 10px rgba(40,22,10,.12)}
html.c2-w-bare #work:not([data-view="web"]):not([data-prime]) [data-proof-cases]{transform:none}
html.c2-w-18 #work{--w-art:url(/bg/01.webp) center/100% 100% no-repeat;--w-art-mask:linear-gradient(transparent 24%,#000 50%);--w-art-filter:hue-rotate(4deg)}
html.c2-w-19 #work{--w-art:radial-gradient(42% 44% at 20% 80%,rgba(255,150,64,.6),rgba(255,170,90,.22) 55%,transparent 76%),radial-gradient(36% 40% at 84% 38%,rgba(255,186,104,.56),rgba(255,196,128,.2) 55%,transparent 76%)}
html.c2-polish.c2-w-bare #work [data-proof-head] p{color:#4b463f !important;font-size:16px !important;line-height:1.5 !important}
html.c2-w-bare .c2-wpick button.bgt{display:none}
/* After the taste check, November 20, 2026 (the reviewer named: photos too dim against "we arent showing the images enough", opaque slabs against "more glass morphic and more borderey", the awake card's words crossing photo seams, the calm lights smearing on a phone). */
html.c2-w-bare #work .cx-cell{border:2px solid rgba(255,255,255,.62);box-shadow:inset 0 0 0 1px rgba(255,255,255,.1),inset 0 2px 0 rgba(255,255,255,.28),0 0 0 1px rgba(25,23,20,.12),0 34px 60px -30px rgba(40,22,10,.62),0 4px 10px rgba(40,22,10,.12)}
html.c2-w-bare #work .cx-cell:not([data-on]) .cx-shade{background:linear-gradient(to top,rgba(12,11,10,.86) 0%,rgba(12,11,10,.46) 30%,rgba(12,11,10,0) 56%),linear-gradient(to bottom,rgba(12,11,10,.34) 0%,rgba(12,11,10,0) 28%)}
html.c2-w-bare #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%)}
@media(max-width:760px){html.c2-w-19 #work{--w-art:radial-gradient(90% 30% at 50% 34%,rgba(255,170,90,.42),rgba(255,186,110,.16) 60%,transparent 100%),radial-gradient(90% 30% at 50% 80%,rgba(255,150,64,.4),rgba(255,170,90,.14) 60%,transparent 100%)}}
