/* ================================================================== ET TU, BRAD?: THE CASE FILE
   Alon, 2026-12-03 (direction B of sites/content/et-tu-brad/LP-EVAL.md). The page is the personnel file the temp is
   handed on Monday: a manila folder on a dark desk, the headline typed on it and the book's joke stamped in red, the
   book clipped on; the puzzles as evidence slips, the cast as a staff wall, the confessions as statements, the offer
   as a Hollis & Grant cover note. Loaded only by this line (line.yaml css), on top of glow.css. Paper is lit by a desk
   lamp, so its shadows are soft and offset downward; no hard block shadows, no labels above headings. */

body.glow.casefile {
  --desk: #15110e; --desk-2: #1d1712; --manila: #e6d6b1; --manila-edge: #d2bd8c; --paper: #f4efe4; --paper-2: #fbf8f1;
  --type: #221d17; --type-soft: #4f463b; --stamp: #c3262c; --stamp-deep: #9f1b20; --pin: #c3262c;
  --accent: #e5484d; --line: #352c24; --surface: #1d1712; --panel: #241d17;
  --lamp: 0 1px 1px rgba(0, 0, 0, .25), 0 14px 28px -6px rgba(0, 0, 0, .55), 0 30px 60px -20px rgba(0, 0, 0, .6);
  background: radial-gradient(1100px 620px at 78% -6%, rgba(255, 208, 140, .13), transparent 62%),
    radial-gradient(800px 500px at 0% 45%, rgba(255, 190, 120, .05), transparent 60%), var(--desk);
}
body.glow.casefile ::selection { background: rgba(229, 72, 77, .35); color: inherit; }

/* ---- every button presses like a stamp; every text link draws its underline ---- */
body.glow.casefile .btn { transition: background-color .18s ease, color .18s ease, transform .12s ease, box-shadow .18s ease; }
body.glow.casefile .btn.accent { box-shadow: 0 2px 0 var(--stamp-deep), 0 8px 18px -6px rgba(195, 38, 44, .55); }
body.glow.casefile .btn.accent:hover { background: var(--stamp); border-color: var(--stamp); }
body.glow.casefile .btn.accent:active { transform: translateY(2px); box-shadow: 0 0 0 var(--stamp-deep), inset 0 2px 6px rgba(0, 0, 0, .3); }
body.glow.casefile .btn:not(.accent):hover { background: var(--paper); color: var(--type); border-color: var(--paper); }
body.glow.casefile .btn:not(.accent):active { transform: translateY(2px); }
body.glow.casefile .btn:disabled, body.glow.casefile .btn[aria-disabled="true"] { background: #5b524a; border-color: #5b524a; color: #e8e1d6; box-shadow: none; transform: none; opacity: 1; cursor: not-allowed; }
body.glow.casefile .learn-more, body.glow.casefile .jump, body.glow.casefile .foot a, body.glow.casefile .faq a {
  text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size .25s ease, color .2s ease; padding-bottom: 2px; }
body.glow.casefile .learn-more:hover, body.glow.casefile .jump:hover, body.glow.casefile .foot a:hover, body.glow.casefile .faq a:hover {
  background-image: linear-gradient(var(--accent), var(--accent)); background-size: 100% 2px; color: var(--accent); }
body.glow.casefile :is(a, button, select, input, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
body.glow.casefile .foot a, body.glow.casefile .foot .linkish { display: inline-block; min-height: 40px; padding-block: 9px; }

/* ---- the hero: a manila folder on the desk, the book clipped to it ---- */
body.glow.casefile .hero-product { grid-template-columns: minmax(0, 1fr) minmax(0, 360px); gap: 0; align-items: center;
  padding-block: 56px 64px; }
body.glow.casefile .hero .backdrop img { opacity: .2; filter: blur(6px) saturate(.6) sepia(.3); }
body.glow.casefile .hero-product .stack { position: relative; z-index: 1; background: var(--manila); color: var(--type);
  padding: 44px 44px 40px; border-radius: 4px 14px 8px 8px; box-shadow: var(--lamp);
  background-image: linear-gradient(180deg, rgba(255, 255, 255, .22), transparent 30%),
    repeating-linear-gradient(0deg, rgba(120, 90, 40, .025) 0 2px, transparent 2px 4px);
  transform: rotate(-.6deg); margin-right: -70px; padding-right: 110px; gap: 22px; }
body.glow.casefile .hero-product .stack::before { /* the folder's tab, with the temp's name on it */
  content: "New starter: Accounts Payable"; position: absolute; left: 28px; top: -30px; height: 31px; padding: 0 22px;
  background: var(--manila); border-radius: 9px 9px 0 0; font: 500 14px/31px var(--mono); color: var(--type-soft);
  white-space: nowrap; letter-spacing: .02em; }
body.glow.casefile .hero-product h1 { color: var(--type); font-size: clamp(40px, 5vw, 64px); line-height: 1.02; margin: 0; }
body.glow.casefile .hero-product h1 .hline { display: block; }
body.glow.casefile .hero-product h1 .hline.hl { /* the book's joke, stamped */
  display: inline-block; margin-top: 22px; color: var(--stamp); font-size: .46em; line-height: 1.08; letter-spacing: .02em;
  text-transform: uppercase; border: 4px solid currentColor; border-radius: 8px; padding: 10px 16px 8px; max-width: 13em;
  transform: rotate(-3deg); transform-origin: 0 50%; mix-blend-mode: multiply;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='60'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.9' numOctaves='2' seed='4'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -2.2 1.9'/%3E%3C/filter%3E%3Crect width='160' height='60' filter='url(%23n)'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='60'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.9' numOctaves='2' seed='4'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -2.2 1.9'/%3E%3C/filter%3E%3Crect width='160' height='60' filter='url(%23n)'/%3E%3C/svg%3E"); }
body.glow.casefile .hero-product .cta { gap: 18px 24px; align-items: center; }
body.glow.casefile .hero-product .cta .btn.accent { font-size: 19px; padding: 16px 26px; }
body.glow.casefile .hero-product .learn-more { color: var(--type); font-weight: 600; font-size: 18px; }
body.glow.casefile .hero-product .learn-more:hover { color: var(--stamp); }
body.glow.casefile .hero-photo { position: relative; z-index: 2; width: 100%; transform: rotate(4deg); margin: 0; }
body.glow.casefile .hero-photo img { border-radius: 0; box-shadow: none; filter: drop-shadow(0 22px 28px rgba(0, 0, 0, .6)); }
body.glow.casefile .hero-photo::before { /* the paper clip holding the book to the folder */
  content: ""; position: absolute; z-index: 3; left: 10%; top: -26px; width: 30px; height: 84px; transform: rotate(-12deg);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 84'%3E%3Cpath d='M9 26V12a6 6 0 0 1 12 0v52a9 9 0 0 1-18 0V18' fill='none' stroke='%23b9bcc2' stroke-width='3.2' stroke-linecap='round'/%3E%3Cpath d='M9 26V12a6 6 0 0 1 12 0v52a9 9 0 0 1-18 0V18' fill='none' stroke='%23ffffff' stroke-opacity='.55' stroke-width='1' stroke-linecap='round' transform='translate(-.8 -.8)'/%3E%3C/svg%3E") center / contain no-repeat;
  filter: drop-shadow(0 3px 3px rgba(0, 0, 0, .45)); }

@media (max-width: 860px) {
  body.glow.casefile .hero-product { grid-template-columns: 1fr; padding-block: 44px 36px; }
  body.glow.casefile .hero-product .stack { margin: 0; padding: 30px 22px 26px; transform: rotate(-.8deg); }
  body.glow.casefile .hero-product .stack::before { left: 16px; top: -26px; height: 27px; line-height: 27px; font-size: 13px; padding: 0 14px; }
  body.glow.casefile .hero-product h1 { font-size: clamp(31px, 8.6vw, 40px); }
  body.glow.casefile .hero-product h1 .hline.hl { font-size: .58em; margin-top: 16px; padding: 8px 12px 6px; border-width: 3px; }
  body.glow.casefile .hero-product .cta { padding-right: 38%; }
  body.glow.casefile .hero-product .cta .btn.accent { flex: 1 1 100%; }
  body.glow.casefile .hero-product .learn-more { font-size: 17px; }
  body.glow.casefile .hero-photo { order: 0; width: 40%; max-width: 220px; justify-self: end; margin: -170px -4px 0 0; }
  body.glow.casefile .hero-photo::before { top: -18px; width: 22px; height: 60px; }
}
@media (max-width: 360px) {
  body.glow.casefile .hero-product .cta { padding-right: 34%; }
  body.glow.casefile .hero-product .cta .btn.accent { font-size: 17px; padding: 14px 12px; }
  body.glow.casefile .hero-photo { width: 36%; margin-top: -150px; }
}

/* ---- the trailer, on the monitor at the temp's desk ---- */
body.glow.casefile .film-band video, body.glow.casefile .film-band .film img { border-radius: 10px; border: 10px solid #0b0b0c;
  box-shadow: 0 0 0 1px #2a2a2e, var(--lamp); }

/* ---- the puzzle kinds: evidence slips pinned to the desk, the kind of thinking as a red stamp ---- */
body.glow.casefile .thinking .think-tiles { counter-reset: none; gap: 30px 26px; }
body.glow.casefile .think-tile { background: var(--paper); color: var(--type); border: 0; border-radius: 2px;
  padding: 26px 22px 22px; box-shadow: var(--lamp); display: flex; flex-direction: column; gap: 12px; transform: rotate(-.8deg);
  transition: transform .3s ease, box-shadow .3s ease; }
body.glow.casefile .think-tile:nth-child(3n+2) { transform: rotate(.7deg); }
body.glow.casefile .think-tile:nth-child(3n) { transform: rotate(-.3deg); }
body.glow.casefile .think-tile:hover { transform: rotate(0deg); box-shadow: var(--lamp); }
body.glow.casefile .think-tile::before { /* a pin, not a number */
  content: ""; position: absolute; top: -7px; left: 50%; width: 15px; height: 15px; margin-left: -7px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ff8a8d, var(--pin) 55%, #7a1114); box-shadow: 0 3px 4px rgba(0, 0, 0, .45);
  border: 0; inset: auto; top: -7px; left: 50%; }
body.glow.casefile .think-tile::after { display: none; }
body.glow.casefile .think-tile h3 { color: var(--type); font-size: 26px; margin: 0; padding-right: 92px; order: 1; }
body.glow.casefile .think-tile .skill { order: 0; position: absolute; top: 18px; right: 14px; margin: 0; color: var(--stamp);
  border: 2px solid currentColor; border-radius: 4px; padding: 4px 7px 3px; font: 600 13px/1.1 var(--mono); letter-spacing: .06em;
  text-transform: uppercase; transform: rotate(4deg); mix-blend-mode: multiply; max-width: 92px; text-align: center; }
body.glow.casefile .think-tile .ev { order: 2; background: #fff; transform: none; border-radius: 0; padding: 8px;
  box-shadow: inset 0 0 0 1px rgba(34, 29, 23, .12); }
body.glow.casefile .think-tile:nth-child(even) .ev { transform: none; }
body.glow.casefile .think-tile > p:not(.skill) { order: 3; color: var(--type-soft); font-size: 17px; line-height: 1.5; margin: 0; }
body.glow.casefile .think-tile .tile-play { order: 4; align-self: flex-start; margin-top: 4px; font-size: 17px; padding: 12px 18px; }
body.glow.casefile .thinking .lead { max-width: 40em; }
@media (max-width: 760px) {
  body.glow.casefile .think-tiles { padding: 18px 16px 26px; gap: 18px; }
  body.glow.casefile .think-tile { flex: 0 0 82%; }
  body.glow.casefile .think-tile h3 { font-size: 23px; }
}

/* ---- the story: three pages from the file, each with its photo clipped on ---- */
body.glow.casefile .story .beats { gap: 26px; }
body.glow.casefile .story .beat { background: var(--paper); color: var(--type); padding: 18px 18px 20px; border-radius: 2px;
  box-shadow: var(--lamp); gap: 14px; }
body.glow.casefile .story .beat:nth-child(2) { transform: rotate(.6deg); }
body.glow.casefile .story .beat:nth-child(odd) { transform: rotate(-.5deg); }
body.glow.casefile .story .beat b { color: var(--type); font-size: 20px; font-weight: 700; margin: 0; }
body.glow.casefile .story .beat img { border-radius: 0; border: 6px solid #fff; box-shadow: 0 6px 14px rgba(0, 0, 0, .25); }

/* ---- the cast: a staff wall of pinned photos, each with what they said ---- */
body.glow.casefile .cast-voices .voice-row { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px 24px; margin-top: 10px; }
body.glow.casefile .cast-voices blockquote { background: var(--paper-2); color: var(--type); border: 0; border-radius: 2px;
  padding: 12px 12px 18px; box-shadow: var(--lamp); display: flex; flex-direction: column; gap: 12px; position: relative;
  transform: rotate(-1.4deg); }
body.glow.casefile .cast-voices blockquote:nth-child(2) { transform: rotate(1.2deg); }
body.glow.casefile .cast-voices blockquote:nth-child(3) { transform: rotate(-.4deg); }
body.glow.casefile .cast-voices blockquote:nth-child(4) { transform: rotate(1.8deg); }
body.glow.casefile .cast-voices blockquote::before { content: ""; position: absolute; top: -7px; left: 50%; width: 15px; height: 15px;
  margin-left: -7px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #ff8a8d, var(--pin) 55%, #7a1114);
  box-shadow: 0 3px 4px rgba(0, 0, 0, .45); }
body.glow.casefile .cast-voices footer { order: -1; flex-direction: column; align-items: stretch; gap: 6px; color: var(--type); }
body.glow.casefile .cast-voices footer .face { width: 100%; height: auto; aspect-ratio: 1; border-radius: 0; border: 0; filter: saturate(.9); }
body.glow.casefile .cast-voices footer span { font: 600 25px/1.05 "Caveat", cursive; color: var(--type); text-align: center; }
body.glow.casefile .cast-voices footer span b { font-weight: 600; }
body.glow.casefile .cast-voices blockquote p { font-size: 17px; line-height: 1.45; color: var(--type-soft); padding: 0 4px; }
body.glow.casefile .cast-voices blockquote p b { color: var(--type); display: block; margin-bottom: 4px; }
@media (max-width: 860px) { body.glow.casefile .cast-voices .voice-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 16px; } }
@media (max-width: 400px) {
  body.glow.casefile .cast-voices blockquote { padding: 8px 8px 14px; }
  body.glow.casefile .cast-voices footer span { font-size: 22px; }
}

/* ---- puzzle 1: the case file itself ---- */
body.glow.casefile .play.case { background: var(--desk-2); border-color: var(--line); }
body.glow.casefile .play .case-file { background: var(--manila); color: var(--type); border: 0; border-radius: 3px 12px 6px 6px; box-shadow: var(--lamp); }
body.glow.casefile .play .case-file :is(.case-title, .chat-head, dt, dd, .setup) { color: var(--type); }
body.glow.casefile .play .case-file .tab { color: var(--stamp); }
body.glow.casefile .play .evidence .ev { background: var(--paper); color: var(--type); border: 0; box-shadow: var(--lamp); }
body.glow.casefile .play .evidence .ev :is(b, span) { color: var(--type); }
body.glow.casefile .play .chat div { flex-wrap: wrap; }
@media (max-width: 620px) {   /* the chat stacks: the name above the message, never three words to a row */
  body.glow.casefile .play .chat div { display: block; }
  body.glow.casefile .play .chat dt { display: block; margin-bottom: 2px; }
  body.glow.casefile .play .chat dd { margin: 0 0 10px; }
}

/* ---- the reasons: three statements from the floor, typed, each beside its photo ---- */
body.glow.casefile .reason { border-top: 0; }
body.glow.casefile .reason .body.split > .stack { background: var(--paper); color: var(--type); padding: 34px 32px 30px;
  border-radius: 2px; box-shadow: var(--lamp); position: relative; transform: rotate(-.5deg); }
body.glow.casefile .reason:nth-of-type(even) .body.split > .stack { transform: rotate(.5deg); }
body.glow.casefile .reason .body.split > .stack::before { /* statement paper: a typed rule at the top */
  content: ""; position: absolute; left: 32px; right: 32px; top: 16px; border-top: 1px solid rgba(34, 29, 23, .25); }
body.glow.casefile .reason h3 { color: var(--type); }
body.glow.casefile .reason .say { color: var(--type-soft); }
body.glow.casefile .reason .art:has(.scene) { border: 10px solid var(--paper-2); border-bottom-width: 34px; border-radius: 2px; }
@media (max-width: 760px) { body.glow.casefile .reason .body.split > .stack { padding: 30px 20px 22px; } }

/* ---- the open book on the desk ---- */
body.glow.casefile .gallery-wide img { border-radius: 2px; border: 10px solid var(--paper-2); box-shadow: var(--lamp); }

/* ---- the offer: a Hollis & Grant cover note ---- */
body.glow.casefile .offer { background: var(--paper); color: var(--type); border: 0; border-radius: 2px; box-shadow: var(--lamp);
  position: relative; }
body.glow.casefile .offer::before { content: ""; position: absolute; inset: 12px; border: 1.5px solid rgba(34, 29, 23, .35);
  outline: 1px solid rgba(34, 29, 23, .18); outline-offset: 3px; pointer-events: none; }
body.glow.casefile .offer :is(h2, h3, p, label, legend, .price, .fact, small) { color: var(--type); }
body.glow.casefile .offer .note, body.glow.casefile .offer .fact { color: var(--type-soft); }
body.glow.casefile .offer .tag { background: transparent; color: var(--stamp); border: 2px solid currentColor; border-radius: 4px;
  transform: rotate(-2deg); display: inline-block; align-self: flex-start; padding: 3px 8px; }
body.glow.casefile .offer .book-offer > img { box-shadow: 0 14px 26px -8px rgba(0, 0, 0, .55); }
body.glow.casefile .offer :is(select, input[type="text"], input[type="email"]) { background: #fff; color: var(--type);
  border: 1.5px solid #6d6153; border-radius: 6px; min-height: 44px; }
body.glow.casefile .offer .btn.accent { background: var(--stamp); border-color: var(--stamp); color: #fff; }
body.glow.casefile .offer .btn.accent:hover { background: var(--stamp-deep); border-color: var(--stamp-deep); }
body.glow.casefile .offer .ship-options { border-color: rgba(34, 29, 23, .3); }
body.glow.casefile .offer a { color: var(--stamp-deep); }
body.glow.casefile .offer .result:empty { display: none; }

/* ---- questions and the last word ---- */
body.glow.casefile .faq details { background: var(--desk-2); border-color: var(--line); }
body.glow.casefile .final { background: radial-gradient(600px 300px at 50% 0%, rgba(255, 208, 140, .12), transparent 70%), var(--desk-2);
  border-color: var(--line); }

/* the address never splits inside a number */
body.glow.casefile .foot-legal { text-wrap: pretty; }

/* ---- office light: through the blinds, and a monitor left on after hours ---- */
.casefile .bd-blinds .f1 { inset: -10% -20%; mix-blend-mode: screen; opacity: .55;
  background: repeating-linear-gradient(172deg, rgba(255, 214, 150, .16) 0 26px, transparent 26px 52px);
  -webkit-mask: radial-gradient(60% 70% at 70% 30%, #000, transparent 75%); mask: radial-gradient(60% 70% at 70% 30%, #000, transparent 75%);
  animation: blinds 34s ease-in-out infinite alternate; }
.casefile .bd-blinds .f2 { display: none; }
@keyframes blinds { from { transform: translate3d(-3%, -2%, 0); } to { transform: translate3d(3%, 2%, 0); } }
.casefile .bd-monitor .f1 { inset: auto 0 -20% 0; height: 80%; mix-blend-mode: screen;
  background: radial-gradient(38% 46% at 50% 100%, rgba(150, 190, 255, .2), transparent 70%); animation: monitor 7s ease-in-out infinite; }
.casefile .bd-monitor .f2 { inset: auto 0 0 0; height: 60%; mix-blend-mode: screen; opacity: .6;
  background: radial-gradient(28% 36% at 22% 100%, rgba(255, 196, 120, .14), transparent 70%); animation: monitor 11s ease-in-out -4s infinite; }
@keyframes monitor { 0%, 100% { opacity: .75; } 45% { opacity: 1; } 47% { opacity: .82; } 49% { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  body.glow.casefile .btn, body.glow.casefile .think-tile { transition: none; }
  .casefile .bd-blinds .f1, .casefile .bd-monitor .fx { animation: none; }
}

/* the hero's buttons sit on the folder's left edge; the story's one line is quiet type, not a red wall */
body.glow.casefile .hero-product .cta { justify-content: flex-start; }
body.glow.casefile .story .story-lead { color: var(--ink-soft); font-weight: 400; font-size: 19px; line-height: 1.5; max-width: 40em; }

/* every red button is the stamp red: white on #e5484d is 3.9:1, under 4.5:1 for 17 px type (jury, 2026-12-03) */
body.glow.casefile .btn.accent { background: var(--stamp); border-color: var(--stamp); color: #fff; }
body.glow.casefile .btn.accent:hover { background: var(--stamp-deep); border-color: var(--stamp-deep); }
body.glow.casefile .sticky-buy b { background: var(--stamp); }

/* nothing under 17 px on a phone (tests/test_sites.py::test_no_small_print_on_a_phone): the stamps and the tab */
body.glow.casefile .think-tile .skill { font-size: 17px; max-width: 124px; padding: 5px 8px 4px; }
body.glow.casefile .think-tile h3 { padding-right: 128px; }
body.glow.casefile .hero-product .stack::before { content: "Temp: Accounts Payable"; font-size: 17px; }
@media (max-width: 860px) { body.glow.casefile .hero-product .stack::before { font-size: 17px; } }
/* the stamp at the foot of the slip, so the title keeps the slip's whole width (no title in three short rows) */
body.glow.casefile .think-tile h3 { padding-right: 0; }
body.glow.casefile .think-tile .skill { position: static; order: 5; align-self: flex-end; max-width: none; margin: 2px 4px 0 0; }

/* after the re-score (2026-12-03) */
/* the chosen postage is the filled one, in stamp red; the other stays empty */
body.glow.casefile .offer input[type="radio"] { accent-color: var(--stamp); width: 20px; height: 20px; vertical-align: -4px; }
/* the hero's words and buttons share one left edge on desktop */
body.glow.casefile .hero-product .stack { align-items: flex-start; text-align: left; }
/* the questions as typed memo lines with a red tick, not default triangles */
body.glow.casefile .faq details { background: var(--paper); color: var(--type); border: 0; border-radius: 2px; box-shadow: 0 8px 18px -8px rgba(0, 0, 0, .6); }
body.glow.casefile .faq summary { color: var(--type); list-style: none; cursor: pointer; }
body.glow.casefile .faq summary::-webkit-details-marker { display: none; }
body.glow.casefile .faq summary::marker { content: ""; }
body.glow.casefile .faq summary::before { content: "+"; display: inline-block; width: 1.1em; color: var(--stamp); font: 600 22px/1 var(--mono); transition: transform .2s ease; }
body.glow.casefile .faq details[open] summary::before { transform: rotate(45deg); }
body.glow.casefile .faq details :is(p, div) { color: var(--type-soft); }
body.glow.casefile .faq details a { color: var(--stamp-deep); }
body.glow.casefile .faq summary:hover { color: var(--stamp-deep); }
/* the cookie buttons answer the pointer too */
body.glow.casefile #consent .btn:hover { filter: brightness(1.12); }
body.glow.casefile .hero-product .cta { align-items: flex-start; }
@media (max-width: 860px) { body.glow.casefile .hero-product .cta { align-items: stretch; } }
/* drawn radios: an empty ring until chosen, then a red dot (the native one filled the unchosen option dark) */
body.glow.casefile .offer input[type="radio"] { appearance: none; -webkit-appearance: none; flex: none; margin: 0 8px 0 0;
  border: 2px solid #6d6153; border-radius: 50%; background: #fff; cursor: pointer; }
body.glow.casefile .offer input[type="radio"]:checked { border-color: var(--stamp); background: radial-gradient(circle, var(--stamp) 0 45%, #fff 50%); }
body.glow.casefile .hero-product .learn-more { align-self: flex-start; margin-inline: 0; }
@media (max-width: 860px) { body.glow.casefile .hero-product .learn-more { align-self: center; } }

/* ================= the signature moments (2026-12-03, round 2) */
/* 1. the joke is stamped onto the folder as the page opens: it lands hard and the folder gives under it */
@keyframes stamp-in { 0% { opacity: 0; transform: scale(1.9) rotate(-9deg); } 55% { opacity: 1; transform: scale(.94) rotate(-2deg); }
  75% { transform: scale(1.03) rotate(-3.4deg); } 100% { opacity: 1; transform: scale(1) rotate(-3deg); } }
@keyframes folder-give { 0%, 40% { transform: rotate(-.6deg) translateY(0); } 52% { transform: rotate(-.6deg) translateY(4px); } 100% { transform: rotate(-.6deg) translateY(0); } }
@media (prefers-reduced-motion: no-preference) {
  body.glow.casefile .hero-product h1 .hline.hl { animation: stamp-in .62s cubic-bezier(.2, .9, .3, 1) .45s both; }
  body.glow.casefile .hero-product .stack { animation: folder-give .9s ease-out .45s both; }
}
@media (max-width: 860px) and (prefers-reduced-motion: no-preference) {
  @keyframes folder-give-m { 0%, 40% { transform: rotate(-.8deg) translateY(0); } 52% { transform: rotate(-.8deg) translateY(4px); } 100% { transform: rotate(-.8deg) translateY(0); } }
  body.glow.casefile .hero-product .stack { animation-name: folder-give-m; }
}

/* 2. puzzle 1 waits as a closed file; when it comes into view its cover swings open onto the book's two real pages */
body.glow.casefile .play .case-head { display: grid; gap: 18px; justify-items: start; }
body.glow.casefile .case-book { --w: min(42vw, 230px); position: relative; display: block; width: calc(var(--w) * 2); height: calc(var(--w) * 1.304);
  perspective: 1800px; margin: 6px 0 10px; transform: translateX(calc(var(--w) * -.5)); transition: transform 1.3s cubic-bezier(.3, .7, .2, 1);
  text-decoration: none; color: inherit; border-radius: 4px; }
body.glow.casefile .case-book.open { transform: none; }
body.glow.casefile .case-book .cb-page, body.glow.casefile .case-book .cb-cover { position: absolute; top: 0; left: 50%; width: 50%; height: 100%; }
body.glow.casefile .case-book .cb-page { background: #fff; box-shadow: var(--lamp); border-radius: 0 3px 3px 0; overflow: hidden; }
body.glow.casefile .case-book img { display: block; width: 100%; height: 100%; object-fit: cover; }
body.glow.casefile .case-book .cb-cover { transform-origin: 0 50%; transform-style: preserve-3d; transition: transform 1.3s cubic-bezier(.3, .7, .2, 1) .15s; z-index: 2; }
body.glow.casefile .case-book.open .cb-cover { transform: rotateY(-180deg); }
body.glow.casefile .case-book .cb-front, body.glow.casefile .case-book .cb-back { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
body.glow.casefile .case-book .cb-front { background: var(--manila); color: var(--type); border-radius: 0 6px 6px 0; box-shadow: var(--lamp);
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 10px; padding: 0 9%;
  background-image: linear-gradient(90deg, rgba(0, 0, 0, .12), transparent 8%), repeating-linear-gradient(0deg, rgba(120, 90, 40, .03) 0 2px, transparent 2px 4px); }
body.glow.casefile .case-book .cb-tab { font: 500 17px/1 var(--mono); color: var(--type-soft); }
body.glow.casefile .case-book .cb-front b { font: 800 clamp(26px, 5vw, 40px)/1 var(--display); letter-spacing: -.02em; }
body.glow.casefile .case-book .cb-stamp { margin-top: 6px; color: var(--stamp); border: 3px solid currentColor; border-radius: 6px; padding: 4px 10px 3px;
  font: 800 19px/1 var(--display); text-transform: uppercase; letter-spacing: .04em; transform: rotate(-6deg); mix-blend-mode: multiply; }
body.glow.casefile .case-book .cb-back { transform: rotateY(180deg); background: #fff; border-radius: 3px 0 0 3px; overflow: hidden; box-shadow: var(--lamp); }
body.glow.casefile .case-book:hover .cb-page, body.glow.casefile .case-book:focus-visible .cb-page { box-shadow: 0 0 0 3px var(--stamp), var(--lamp); }
body.glow.casefile .play.case:not(.closed) .case-book { display: none; }
@media (prefers-reduced-motion: reduce) { body.glow.casefile .case-book, body.glow.casefile .case-book .cb-cover { transition: none; } }

/* ================= after the round 2 re-score */
/* buttons press like a stamp under the pointer, not only on click */
@media (hover: hover) {
  body.glow.casefile .btn.accent:hover { transform: translateY(2px); box-shadow: 0 0 0 var(--stamp-deep), 0 3px 8px -4px rgba(0, 0, 0, .5); }
  body.glow.casefile .btn:not(.accent):hover { transform: translateY(2px); }
  /* pinned paper lifts and straightens when pointed at */
  body.glow.casefile :is(.think-tile, .cast-voices blockquote, .story .beat):hover { transform: rotate(0deg) translateY(-4px);
    box-shadow: 0 2px 2px rgba(0, 0, 0, .2), 0 26px 40px -12px rgba(0, 0, 0, .7); }
  body.glow.casefile #consent .btn:hover { filter: none; transform: translateY(2px); }
  body.glow.casefile #consent .btn.accent:hover { background: #2f5a42; border-color: #2f5a42; }
  body.glow.casefile #consent .btn.alt:hover { background: var(--ink); color: var(--bg); }
}
body.glow.casefile :is(.cast-voices blockquote, .story .beat) { transition: transform .3s ease, box-shadow .3s ease; }
/* the footer: ink links whose underline grows, red kept for buying; every link a full tap target */
body.glow.casefile .foot a:not(.foot-mark), body.glow.casefile .foot .linkish { color: var(--ink-soft); background-size: 0 1px;
  background-image: linear-gradient(var(--accent), var(--accent)); }
body.glow.casefile .foot a:not(.foot-mark):hover, body.glow.casefile .foot .linkish:hover { color: var(--ink); background-size: 100% 2px; }
body.glow.casefile .offer .guarantee a, body.glow.casefile #consent a { display: inline-block; padding-block: 10px; margin-block: -10px; }
/* the skip link drops below the header instead of covering the name */
body.glow.casefile .skip:focus { top: 76px; }
body.glow.casefile .offer p a[href^="/legal/"] { display: inline-block; padding-block: 10px; margin-block: -10px; }

/* the opening book fills the play card on a wide screen */
@media (min-width: 900px) { body.glow.casefile .case-book { --w: min(38vw, 420px); margin-inline: auto; } }
/* "Try puzzle 1 free": a red pen stroke draws under it on hover, not just a colour change (jury h-06) */
body.glow.casefile .hero-product .learn-more { background: linear-gradient(var(--stamp), var(--stamp)) 0 100% / 0 3px no-repeat;
  transition: background-size .25s ease, color .2s; }
body.glow.casefile .hero-product .learn-more:hover { background-size: 100% 3px; text-decoration-color: transparent; }
/* focus on paper is an ink ring with a red halo: a red ring vanished on the red buttons and a pale one on manila
   (measured by tabbing in Chrome, 2026-12-04) */
body.glow.casefile :is(.hero-product, .think-tile, .play, .offer, .faq, .case-file, .reason) :is(a, button, select, input, summary):focus-visible,
body.glow.casefile .case-book:focus-visible { outline: 3px solid var(--type); outline-offset: 3px; box-shadow: 0 0 0 7px rgba(195, 38, 44, .45); }
/* the play card and the closed book sit on the dark desk: their ring is paper-white */
body.glow.casefile .play > :not(.case-file) :is(a, button):focus-visible, body.glow.casefile .play > :is(a, button):focus-visible,
body.glow.casefile .case-book:focus-visible { outline-color: var(--paper); }

/* ---- The One Deadly series (Alon, 2026-12-04) ---- */
/* the series name above the book's name in the top row */
body.glow.casefile .brand .series-mark { display: block; margin-bottom: 4px; font: 600 17px/1.1 var(--mono); letter-spacing: .08em;
  text-transform: uppercase; color: #e2575c; }
/* the files: four folders in a drawer; this book's is open, the others closed and stamped */
body.glow.casefile .series { display: grid; gap: 14px; }
body.glow.casefile .series-kicker { margin: 0; font: 600 17px/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #e2575c; }
body.glow.casefile .series h2 { margin: 0; text-wrap: balance; }
body.glow.casefile .series-lead { margin: 0; max-width: 60ch; color: var(--ink-soft); text-wrap: pretty; }
body.glow.casefile .series-drawer { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 40px 18px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
body.glow.casefile .sf { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 24px 20px 22px;
  background: #cdbb93; color: var(--type); border-radius: 3px 12px 6px 6px; box-shadow: var(--lamp); transform: rotate(-.6deg);
  transition: transform .3s ease, box-shadow .3s ease; }
body.glow.casefile .sf:nth-child(even) { transform: rotate(.7deg); }
body.glow.casefile .sf-open { background: var(--manila); transform: rotate(0) translateY(-6px); }
body.glow.casefile .sf-tab { position: absolute; left: 16px; top: -30px; height: 31px; padding: 0 14px; line-height: 31px; max-width: calc(100% - 32px);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; background: inherit; border-radius: 8px 8px 0 0;
  font: 500 17px/31px var(--mono); color: var(--type-soft); }
body.glow.casefile .sf-title { font: 800 26px/1.1 var(--display); letter-spacing: -.01em; text-wrap: balance; }
body.glow.casefile .sf p { margin: 0; font-size: 17px; line-height: 1.45; color: var(--type-soft); text-wrap: pretty; flex: 1; }
body.glow.casefile .sf .btn { align-self: flex-start; }
body.glow.casefile .sf-stamp { align-self: flex-start; margin-top: 4px; padding: 5px 12px 4px; border: 3px solid currentColor; border-radius: 6px;
  color: var(--stamp-deep); font: 800 17px/1.1 var(--display); letter-spacing: .04em; text-transform: uppercase; transform: rotate(-4deg); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  body.glow.casefile .sf:hover { transform: rotate(0) translateY(-6px); }
}
/* the series sign-up on the desk */
body.glow.casefile .series-form { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 10px; max-width: 720px; }
body.glow.casefile .series-form input[type=email] { flex: 1 1 240px; min-height: 52px; }
body.glow.casefile .series-form .btn { min-height: 52px; }
body.glow.casefile .series-form .note { flex-basis: 100%; margin: 0; color: var(--ink-soft); font-size: 17px; }
body.glow.casefile .series-form :focus-visible { outline: 3px solid var(--paper); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { body.glow.casefile .sf { transition: none; } }
body.glow.casefile .sf-place { margin-top: -4px; font: 600 17px/1.25 var(--mono); color: var(--stamp-deep); text-wrap: balance; }
body.glow.casefile .series-form input[type=email] { background: var(--paper); color: var(--type); border: 2px solid var(--paper); }
body.glow.casefile .series-form .series-reward { flex-basis: 100%; order: -1; margin: 0 0 2px; font-weight: 700; color: var(--paper); text-wrap: balance; }
