/* Hallmark · v2.0.0 · the Trial Match case page, in the Folders system: cream ground, Bricolage, folder colours as stickers · one reveal (the three figures) */
.case-hero__in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--space-6); align-items: center; min-height: calc(100svh - 72px); padding-block: var(--space-6) var(--space-8); }
.case-hero__words { grid-column: 1 / 6; display: grid; gap: var(--space-4); }
.case-hero h1 { font-size: clamp(56px, 7.4vw, 112px); line-height: .95; letter-spacing: -0.045em; }
.case-back a { font-weight: 600; font-size: 15px; color: var(--muted); }
@media (hover: hover) { .case-back a:hover { color: var(--ink); } }
.case-what { font-size: 17px; max-width: 46ch; }
.case-tags { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.case-tags li { padding: var(--space-1) var(--space-3); border-radius: 999px; background: var(--card); font-size: 14px; font-weight: 600; }
.case-shot { grid-column: 6 / 13; margin: 0; padding: var(--space-3); border-radius: 26px; background: var(--f-software); box-shadow: 0 30px 50px -34px var(--shadow); transform: rotate(var(--rot)); transition: transform .4s var(--ease-out); }
@media (hover: hover) { .case-shot:hover { transform: rotate(0deg); } }
.case-shot img { border-radius: 16px; }
.case-figs { padding-block: var(--space-10) var(--space-9); border-top: 1px solid var(--line); }
.figs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5); }
.figs li { display: grid; gap: var(--space-2); align-content: start; padding: var(--space-6); border-radius: 20px; color: var(--f-light-ink); rotate: var(--tilt); box-shadow: 0 0 0 4px var(--bg), 0 14px 26px -18px var(--shadow); transition: rotate .3s var(--ease-out); }
@media (hover: hover) { .figs li:hover { rotate: 0deg; } }
.figs li:nth-child(1) { background: var(--f-systems); --tilt: -1.5deg; --stamp: -6deg; }
.figs li:nth-child(2) { background: var(--f-quant); --tilt: 1.2deg; --stamp: 5deg; }
.figs li:nth-child(3) { background: var(--f-graphics); --tilt: -1deg; --stamp: -4deg; }
.figs b { font-family: var(--font-display); font-weight: 800; font-size: clamp(56px, 6vw, 96px); line-height: 1; letter-spacing: -0.05em; }
.figs span { font-size: 18px; max-width: 26ch; }
.case-how { padding-block: var(--space-9); border-top: 1px solid var(--line); }
.case-how__in { display: grid; gap: var(--space-6); }
.case-how h2 { font-size: clamp(32px, 3.6vw, 54px); max-width: 22ch; }
.stack-list { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.stack-list li { padding: var(--space-3) var(--space-5); border-radius: 14px; background: var(--sheet); box-shadow: 0 1px 0 var(--line), 0 12px 22px -18px var(--shadow); font-weight: 700; transition: transform .2s var(--ease-out); }
@media (hover: hover) { .stack-list li:hover { transform: translateY(-2px); } }
/* Touch: what crosses the middle of the screen takes its hover look (fx.js sets .is-near) */
.case-shot.is-near { transform: rotate(0deg); }
.figs li.is-near { rotate: 0deg; }
.stack-list li.is-near { transform: translateY(-2px); }
.case-close { font-size: 19px; color: var(--muted); max-width: 60ch; }
.case-close b { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(28px, 3vw, 44px); letter-spacing: -0.03em; color: var(--ink); margin-bottom: var(--space-2); }
@media (max-width: 1080px) {
  .case-hero__words, .case-shot { grid-column: 1 / -1; }
  .case-shot { margin-top: var(--space-6); }
  .case-hero__in { min-height: 0; }
}
@media (max-width: 760px) { .figs { grid-template-columns: minmax(0, 1fr); } .actions .btn { flex: 1 1 100%; } }
.lost__in { display: grid; gap: var(--space-5); justify-items: start; align-content: center; min-height: calc(100svh - 72px); padding-block: var(--space-8); }
.lost h1 { font-size: clamp(48px, 7vw, 104px); line-height: .96; letter-spacing: -0.045em; }
.lost__note { padding: var(--space-2) var(--space-4); background: var(--sticky); color: var(--sticky-ink); font-family: var(--font-note); font-size: 28px; rotate: -4deg; box-shadow: 0 10px 18px -12px var(--shadow); }
