/* Shared presentation for the new portfolio cases and their cards. */
.case-page h1,.case-page h2{overflow-wrap:anywhere}
.case-hero{display:grid;grid-template-columns:1fr 1fr;gap:54px;align-items:center;padding-top:74px;padding-bottom:64px}
.case-intro{min-width:0}.case-back{display:inline-block;font-size:13px;font-weight:750;color:var(--muted);margin-bottom:35px}.case-back:hover{color:var(--ink)}
.case-hero h1{font-size:clamp(44px,5.4vw,82px);line-height:.96;letter-spacing:-.055em;margin:17px 0 24px}.case-lead{font-size:clamp(18px,1.7vw,23px);line-height:1.5;color:#555a53;margin:0}
.case-facts{display:flex;flex-wrap:wrap;gap:8px;margin-top:30px}.case-facts span{font-size:11px;font-weight:700;border:1px solid var(--line);padding:8px 12px;border-radius:40px;background:var(--card)}
.case-hero-photo{margin:0;border-radius:28px;background:#e4e8e0;overflow:hidden;box-shadow:0 22px 65px #1c211b12}.case-hero-photo img{display:block;width:100%;height:auto;max-height:680px;object-fit:contain}
.case-section{padding:76px 0;border-top:1px solid var(--line)}.case-section:nth-child(even){background:#e8ece4}.case-section-head{display:grid;grid-template-columns:.95fr 1.05fr;gap:65px;margin-bottom:35px}.case-number{font-size:10px;font-weight:750;letter-spacing:.12em;text-transform:uppercase;color:#74845c}.case-section-head h2{font-size:clamp(32px,3.8vw,54px);line-height:1.04;letter-spacing:-.045em;margin:14px 0 0}.case-section-head p{font-size:18px;color:#62685d;margin:0;align-self:center}
.case-photos{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:25px;align-items:start}.case-photos figure{margin:0;min-width:0}.case-photos img{width:100%;height:auto;max-height:650px;object-fit:contain;background:#dde3d7;border-radius:22px}.case-photos figcaption{font-size:12px;color:#6c7366;margin:12px 4px 0;line-height:1.5}.case-photos.single{grid-template-columns:1fr;max-width:870px;margin:auto}.case-photos.single img{max-height:760px}.case-photos figure:last-child:nth-child(odd):not(:first-child){grid-column:1/-1;max-width:780px;width:100%;justify-self:center}
.case-ending{max-width:900px}.case-ending .kicker{color:#a9b796}.case-ending h2{font-size:clamp(40px,6vw,78px);letter-spacing:-.05em;line-height:1;margin:18px 0}.case-ending p{color:#bcc4b4;font-size:19px;max-width:600px}.case-actions{display:flex;align-items:center;flex-wrap:wrap;gap:28px;margin-top:30px}.case-other{font-size:14px;border-bottom:1px solid #68725f;padding:10px 0}.case-page a:focus-visible,.batch-card:focus-visible{outline:3px solid #92aa00;outline-offset:5px}
.batch-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.batch-card{display:block;min-width:0;background:var(--card);border:1px solid var(--line);border-radius:24px;overflow:hidden;box-shadow:0 12px 30px #1c211b08;transition:transform .2s,box-shadow .2s}.batch-card:hover{transform:translateY(-4px);box-shadow:0 18px 36px #1c211b15}.batch-card-photo{height:300px;background:#e4e8e0;padding:12px}.batch-card-photo img{width:100%;height:100%;object-fit:contain}.batch-card-caption{position:relative;padding:22px 48px 26px 23px}.batch-card-caption small{font-size:9px;letter-spacing:.09em;text-transform:uppercase;color:#788268}.batch-card-caption h3{font-size:25px;letter-spacing:-.035em;line-height:1.1;margin:10px 0 0;overflow-wrap:anywhere}.batch-card-caption>span{position:absolute;right:21px;bottom:26px;color:#7b9200;font-size:24px}
@media(max-width:1100px){.batch-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.case-hero{gap:28px}.case-section-head{gap:30px}}
@media(max-width:800px){.case-hero{grid-template-columns:1fr;padding-top:48px;padding-bottom:50px;gap:32px}.case-hero h1{font-size:clamp(43px,9vw,68px)}.case-back{margin-bottom:24px}.case-hero-photo{max-width:620px;width:100%;justify-self:center}.case-section-head{grid-template-columns:1fr;gap:20px}.case-section{padding:52px 0}.case-section-head p{font-size:17px}.case-facts{margin-top:24px}.case-photos img{max-height:540px}}
@media(max-width:600px){.batch-grid,.case-photos{grid-template-columns:1fr}.batch-card-photo{height:300px}.case-photos{gap:28px}.case-hero-photo img{max-height:560px}.case-hero .kicker{font-size:10px}.case-section-head h2{font-size:36px}.case-section-head{gap:18px}.case-photos figure:last-child:nth-child(odd){grid-column:auto}}
@media(prefers-reduced-motion:reduce){.batch-card{transition:none}.batch-card:hover{transform:none}}

.case-video{max-width:920px;margin:0 auto}.case-video video{display:block;width:100%;border-radius:22px;background:#121511}.case-video figcaption{font-size:12px;color:#6c7366;margin:12px 4px 0;line-height:1.5}

.case-photo-note{max-width:720px;margin:8px 0 0;padding:18px 20px;border-left:3px solid #8b9b73;background:#f3f5ef;color:#61695b;font-size:15px;line-height:1.55}
