.case-list { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(18px,2vw,32px); }
.case-card { display:block; min-width:0; color:var(--paper); text-decoration:none; }
.case-art { position:relative; display:grid; place-items:center; aspect-ratio:1.56; overflow:hidden; isolation:isolate; border-radius:12px; }
.case-art img { height:auto; object-fit:contain; transition:transform .25s ease; }
.art-business { background:linear-gradient(145deg,#a5e0d7,#62babc); }
.art-wide,.art-demo,.art-phone { border:1px solid #ffffff80; box-shadow:0 12px 30px #263e3545; }
.art-wide { position:absolute; width:78%; top:15%; left:6%; border-radius:4px; transform:rotate(-4deg); }
.art-phone { position:absolute; width:22%; bottom:5%; right:6%; border-radius:5px; transform:rotate(4deg); }
.art-store { background:linear-gradient(130deg,#ddc9ff,#a895ef); }
.art-jira { background:linear-gradient(135deg,#ffba8f,#f19864); }
.art-demo { width:78%; max-height:85%; object-position:center; border-radius:7px; transform:rotate(-3deg); }
.case-category,.case-status,.case-more-label,.case-story dt { font:500 .78rem/1.45 var(--mono); letter-spacing:.04em; }
.case-category { text-transform:uppercase; margin-top:18px; color:var(--lime); }
.case-card h3 { font-size:clamp(1.35rem,1.9vw,1.9rem); line-height:1.15; letter-spacing:-.035em; margin:7px 0 11px; }
.case-card p,.case-more small { color:var(--muted); font:400 1rem/1.54 Inter,Arial,sans-serif; }
.case-read,.case-link,.case-nav { display:inline-block; font-weight:650; text-decoration:underline; text-underline-offset:.28em; }
.case-read { margin:17px .75em 0 0; }
.case-status { color:var(--muted); display:inline-block; }
.case-more-label { margin:35px 0 8px; color:var(--muted); }
.case-more { display:grid; grid-template-columns:1fr 1fr; gap:24px; }
.case-more a { border-top:1px solid var(--line); border-bottom:1px solid var(--line); padding:16px 0; display:flex; justify-content:space-between; align-items:center; gap:16px; }
.case-more strong,.case-more small { display:block; }
.case-more small { margin-top:5px; }
.case-more i { color:var(--lime); font-size:1.5rem; font-style:normal; }
.case-header,.case-footer { display:flex; align-items:center; justify-content:space-between; gap:18px; }
.case-header { padding-block:19px; }
.case-header .brand { margin-right:auto; }
.case-langs { font:500 .86rem/1 var(--mono); color:var(--muted); }
.case-langs [aria-current] { color:var(--lime); }
.case-intro { padding:clamp(36px,5vw,76px) 0 32px; max-width:960px; }
.case-intro h1 { max-width:100%; margin:15px 0 18px; line-height:1.06; font-size:clamp(2.4rem,5vw,5.5rem); letter-spacing:-.045em; overflow-wrap:anywhere; }
.case-intro p,.case-example>p { color:var(--muted); line-height:1.6; }
.case-intro p { font-size:clamp(1.05rem,1.6vw,1.36rem); max-width:810px; margin:0 0 23px; }
.case-columns { display:grid; grid-template-columns:minmax(280px,.88fr) minmax(320px,1.12fr); gap:clamp(24px,5vw,86px); padding:28px 0 48px; border-top:1px solid var(--line); }
.case-story { margin:0; }
.case-story > div { margin-bottom:18px; }
.case-story dt { color:var(--lime); margin-bottom:5px; text-transform:uppercase; }
.case-story dd { color:var(--paper); line-height:1.55; margin:0; }
.case-example { min-width:0; scroll-margin-top:20px; }
.case-example h2 { font-size:clamp(1.6rem,2.5vw,2.6rem); }
.case-example>p { margin:10px 0 22px; }
.case-shots { display:grid; grid-template-columns:2.5fr 1fr; align-items:start; gap:8px; margin-bottom:20px; }
.case-shots figure { margin:0; }
.case-shots img { display:block; width:100%; height:auto; border-radius:5px; }
.case-footer { flex-wrap:wrap; border-top:1px solid var(--line); padding:28px 0; }
.case-demo { --pr-bg:#f4f2eb; --pr-ink:#202320; --pr-stroke:#c6c7bd; --pr-accent:#ffad77; background:var(--pr-bg); color:var(--pr-ink); color-scheme:light; border-radius:12px; padding:clamp(16px,2.4vw,32px); font-size:1rem; line-height:1.45; }
.case-demo[data-kind="interview"],.case-demo[data-kind="store"] { --pr-accent:#c8c0ff; }
.case-demo[data-kind="atlas"] { --pr-accent:#ceee91; }
.case-demo [hidden] { display:none!important; }
.case-demo .pr-action,.case-demo .pr-tag,.shop-counter button { display:inline-flex; justify-content:center; align-items:center; color:inherit; border:1px solid #858b80; border-radius:6px; background:transparent; cursor:pointer; font:inherit; line-height:1.22; }
.case-demo :disabled { cursor:default; opacity:.48; }
.case-demo h3 { margin:0 0 15px; font-size:clamp(1.25rem,1.7vw,1.6rem); font-weight:650; letter-spacing:-.035em; }
.shop-products { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.shop-item { background:#fffdf7; border:1px solid var(--pr-stroke); padding:12px; border-radius:8px; }
.shop-item h4 { font-size:1rem; line-height:1.25; margin:10px 0 4px; }
.shop-item p { font:500 1rem/1.35 var(--mono); }
.shop-item small,.shop-total small { color:#4b5045; font-size:.83rem; }
.shop-book { background:linear-gradient(150deg,#b7c066,#f0f6cc); height:92px; display:grid; place-items:center; border-radius:4px; }
.shop-book.lilac { background:linear-gradient(146deg,#b8a9e0,#ddd3f9); }
.shop-book i { position:relative; display:block; width:42px; height:60px; transform:rotate(-13deg) skewY(3deg); background:linear-gradient(90deg,#34382c 2%,#bdde54 5%,#4c5938 8%,#b6d955 10%); border-radius:1px 3px 3px 1px; box-shadow:1px 2px #fbf4db,2px 3px #b6b19b,3px 5px #2e362d,7px 10px 8px #585f3d4d; }
.shop-book i::after { position:absolute; content:""; inset:12% 13% 64% 20%; background:repeating-linear-gradient(#485730 0 1px,transparent 1px 4px); }
.shop-book.lilac i { background:linear-gradient(90deg,#43374b 2%,#af92d2 5%,#59416e 8%,#b897dc 10%); transform:rotate(9deg) skewY(-2deg); }
.shop-counter { display:flex; align-items:center; gap:9px; margin-top:10px; }
.shop-counter button { width:36px; height:36px; font-size:1.2rem; color:#222; }
.shop-counter output { min-width:1ch; text-align:center; }
.shop-checkout { margin-top:20px; }
.shop-total { display:flex; justify-content:space-between; align-items:center; gap:12px; flex-wrap:wrap; margin-top:16px; padding-top:14px; border-top:1px solid var(--pr-stroke); }
.shop-total small,.shop-total strong { display:block; }
.shop-total strong { font:600 1.22rem/1.3 var(--mono); }
.shop-status { color:#4c5148; margin-top:10px; font-size:.88rem; }
.shop-status:empty { display:none; }
.shop-ticket { margin-top:18px; padding:16px; border-radius:8px; background:#e6ecd5; border:1px solid #adb79b; }
.shop-ticket strong { display:block; margin:8px 0; }
@media(hover:hover) and (prefers-reduced-motion:no-preference){.case-card:hover .art-demo,.case-card:hover .art-wide { transform:rotate(0deg) scale(1.03); }}
@media(max-width:800px) { .case-list { grid-template-columns:1fr 1fr; }.case-columns { grid-template-columns:1fr; } }
@media(max-width:600px) { .case-list,.case-more { grid-template-columns:1fr; }.case-more { gap:0; }.case-more a+a { border-top:0; }.case-list { gap:30px; }.case-nav { font-size:.9rem; }.case-header { flex-wrap:wrap; gap:12px; }.case-header .brand { font-size:1.22rem; }.case-header .brand img { width:26px; height:26px; }.case-langs { font-size:.8rem; }.case-intro .eyebrow { line-height:1.5; }.case-shots { grid-template-columns:2fr 1fr; }.case-footer .button { white-space:normal; }.shop-products { gap:8px; }.shop-item { padding:8px; }.shop-counter { gap:5px; }.shop-counter button { width:32px; height:34px; } }
@media(max-width:370px){
  .shop-checkout .pr-filter,.shop-products { grid-template-columns:minmax(0,1fr); }
  .shop-item { display:grid; grid-template-columns:48px minmax(0,1fr); gap:4px 10px; align-items:center; }
  .shop-book { grid-row:span 2; height:72px; }
  .shop-book i { scale:.75; }
  .shop-item h4,.shop-counter { margin-top:0; }
}
@media print {
  .case-page[data-story="interview"] { background:white; color:black; }
  .case-page[data-story="interview"] :is(.mast,.case-intro,.case-story,.case-footer,.skip,.case-example>p,.case-example>h2) { display:none; }
  .case-page[data-story="interview"] .case-columns { display:block; padding:0; border:0; }
  .case-page[data-story="interview"] [data-case-demo]>:not(.pr-printout) { display:none; }
  .case-page[data-story="interview"] .pr-printout { display:block; white-space:pre-wrap; overflow-wrap:anywhere; }
  .case-page[data-story="interview"] .case-demo { background:white; color:black; }
}

.more-examples { display:inline-flex; align-items:center; gap:8px; min-height:44px; color:var(--lime); font-weight:600; text-decoration:underline; text-underline-offset:.28em; }
@media(max-width:650px) { .more-examples { margin-top:6px; } }
