/* Case studies options, frosted cards (Liam, November 20, 2026: keep the background as before, "the rognage is to o
   pomrpoinntent into the cards itself, a bit more glass morphic and more borderey for the cards"; his answers the same
   day: background at full strength, cards mostly white frost, a thick bright white edge, on all 17).
   html.c2-frost is on by default; the picker's Cards button turns it off to show the first, clear cards.
   Loaded after work.css. The calm-background try of the same day is gone: he kept the full background. */

/* the card: milky white glass with a faint warm tint from behind, a 2px white rim held between two hairlines */
html.c2-frost.c2-w:not(.c2-w-dark):not(.c2-w-panel):not(.c2-w-feat) #work .cx-cell{
  background:linear-gradient(150deg,rgba(255,255,255,.88) 0%,rgba(255,255,255,.74) 42%,rgba(255,255,255,.66) 100%);
  border:2px solid #fff;
  -webkit-backdrop-filter:blur(34px) saturate(1.1);backdrop-filter:blur(34px) saturate(1.1);
  box-shadow:inset 0 0 0 1px rgba(25,23,20,.045),inset 0 2px 0 rgba(255,255,255,.95),inset 0 0 28px rgba(255,255,255,.4),
    0 0 0 1px rgba(25,23,20,.07),0 2px 5px rgba(60,40,20,.07),0 34px 60px -30px rgba(70,44,20,.5)}
html.c2-frost.c2-w:not(.c2-w-dark) #work .cx-cell:hover{border-color:#fff}
/* the live cell's grain layer, reused as light on the pane's top-left corner */
html.c2-frost.c2-w:not(.c2-w-dark):not(.c2-w-panel) #work .cx-grain{opacity:1;z-index:2;
  background:radial-gradient(110% 80% at 0% 0%,rgba(255,255,255,.55) 0%,rgba(255,255,255,0) 44%)}
html.c2-frost.c2-w:not(.c2-w-dark):not(.c2-w-panel):not(.c2-w-feat) #work .cx-cell[data-on] .cx-grain{opacity:0}
html.c2-frost.c2-w:not(.c2-w-dark) #work .case-logo .case-badge{background-color:rgba(255,255,255,.7)}
html.c2-frost.c2-w:not(.c2-w-dark) #work a.frame{background-color:rgba(255,255,255,.8)}
html.c2-frost.c2-w:not(.c2-w-dark):not(.c2-w-panel):not(.c2-w-feat) #work .cx-cell[data-on] .case-logo .case-badge{background-color:rgba(18,17,16,.35)}
html.c2-frost.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)}

/* dark options: the same card in smoke, with the same thick lit rim */
html.c2-frost.c2-w-dark #work .cx-cell{background:linear-gradient(150deg,rgba(64,40,28,.74) 0%,rgba(40,24,17,.7) 100%);border:2px solid rgba(255,230,202,.5);
  -webkit-backdrop-filter:blur(34px) saturate(1.1);backdrop-filter:blur(34px) saturate(1.1);
  box-shadow:inset 0 0 0 1px rgba(0,0,0,.25),inset 0 2px 0 rgba(255,232,206,.28),0 34px 60px -30px rgba(0,0,0,.75)}

/* filled cells: the photo or the background stays the fill, the words sit on a whiter panel, the same white rim */
html.c2-frost.c2-w-panel #work .cx-cell,html.c2-frost.c2-w-feat #work .cx-cell{border:2px solid #fff;
  box-shadow:inset 0 0 0 1px rgba(25,23,20,.05),0 0 0 1px rgba(25,23,20,.07),0 34px 60px -30px rgba(70,44,20,.5)}
html.c2-frost.c2-w-panel #work .cx-shade{background:rgba(255,255,255,.78)}
html.c2-frost.c2-w-tiles #work .cx-cell{background:linear-gradient(rgba(255,255,255,.3),rgba(255,255,255,.3)),var(--t) center/cover no-repeat}
html.c2-frost.c2-w-feat #work .cx-cell.xl{background:linear-gradient(150deg,rgba(255,255,255,.62),rgba(255,255,255,.4)),url(/bg/01.webp) center 78%/cover no-repeat}
html.c2-frost.c2-w-feat #work .cx-cell:not(.xl){background:#fff}

.c2-wpick button.bgt{padding:0 12px;margin-left:4px;color:#ffb26f}
.c2-wpick button.bgt:hover{background:#3a352e}
