/* Project pages: scoped additions to the existing HatimDesign design. */
.footer-projects{border-top:1px solid #d2cbbc;padding:22px 0 20px;margin-top:28px}
.footer-projects-label{font-size:11px;letter-spacing:.13em;text-transform:uppercase;color:#68675e;display:block;margin-bottom:15px}
.footer-projects-links{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px 24px}
.footer-projects-links a{font-size:13px;line-height:1.6;text-underline-offset:5px}
.footer-projects-links a:hover{text-decoration:underline}
.case-page{--case-ink:#252723;--case-gold:#a78f68;--case-paper:#faf8f3;max-width:1380px;margin:0 auto;padding:30px 4.2% 80px}
.case-breadcrumb{display:flex;flex-wrap:wrap;gap:9px 12px;font-size:12px;line-height:1.7;color:#756d5e;padding:12px 0 30px}
.case-breadcrumb a:hover{text-decoration:underline;text-underline-offset:4px}
.case-intro{border-top:1px solid #bab8af;padding:34px 0 32px}
.case-kicker{font-size:11px;line-height:1.8;letter-spacing:.15em;text-transform:uppercase;color:#756d5e;display:block}
.case-intro h1{font-family:Georgia,Times New Roman,serif;font-size:clamp(36px,5vw,72px);font-weight:400;letter-spacing:-.045em;line-height:1.08;max-width:960px;margin:22px 0}
.case-deck{font-family:Georgia,Times New Roman,serif;font-size:clamp(21px,2.3vw,29px);font-style:italic;font-weight:400;line-height:1.5;color:#716950;max-width:850px}
.case-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;border-top:1px solid #d2cbbc;margin:30px 0 0;padding:23px 0 0}
.case-facts dt{font-size:10px;letter-spacing:.14em;text-transform:uppercase;color:#756d5e;margin-bottom:8px}
.case-facts dd{margin:0;font-size:13px;line-height:1.7}
.case-board{background:var(--case-paper);border:1px solid #d5d0c4;padding:18px;margin:0}
.case-board img{width:100%;height:auto;display:block}
.case-board figcaption{display:flex;justify-content:space-between;align-items:start;gap:20px;margin:16px 3px 3px;color:#68675e;font-size:12px;line-height:1.7}
.case-board figcaption a{white-space:nowrap;border-bottom:1px solid #a69880}
.case-story{display:grid;grid-template-columns:1fr 2fr;gap:65px;border-top:1px solid #d2cbbc;padding:34px 0;margin-top:45px}
.case-story section{margin-bottom:32px}
.case-story section:last-child{margin-bottom:0}
.case-story h2{font-family:Georgia,Times New Roman,serif;font-size:clamp(25px,2.6vw,34px);font-weight:400;line-height:1.2;letter-spacing:-.025em;margin-bottom:18px}
.case-story p{font-size:15px;line-height:1.9;color:#5d6056;max-width:760px}
.case-story .case-note{font-size:12px;line-height:1.8;color:#756d5e;margin-top:18px;max-width:250px}
.case-cta{display:flex;justify-content:space-between;align-items:center;gap:28px;background:#eae5da;padding:32px;margin-top:10px}
.case-cta h2{font-family:Georgia,Times New Roman,serif;font-size:30px;line-height:1.25;font-weight:400;margin:0 0 9px}
.case-cta p{font-size:14px;color:#68675e;line-height:1.7}
.case-related{padding-top:45px}
.case-related h2{font-family:Georgia,Times New Roman,serif;font-size:30px;font-weight:400;margin:16px 0 26px}
.case-related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.case-related-card{background:var(--case-paper);border:1px solid #d5d0c4;padding:14px;display:block;transition:border-color .2s}
.case-related-card:hover{border-color:#958365}
.case-related-card img{width:100%;height:auto;display:block}
.case-related-card h3{font-family:Georgia,Times New Roman,serif;font-size:21px;font-weight:400;line-height:1.3;margin:18px 0 8px}
.case-related-card span{font-size:11px;color:#756d5e;line-height:1.7}
.case-back{display:inline-block;font-size:13px;margin-top:30px;border-bottom:1px solid #a69880;padding-bottom:6px}
.case-privacy{max-width:620px;width:calc(100% - 36px);border:1px solid #c4beb0;border-radius:3px;background:#faf8f3;color:#252723;padding:30px;box-shadow:0 20px 70px #25272330}
.case-privacy::backdrop{background:#25272390}
.case-privacy h2{font-family:Georgia,Times New Roman,serif;font-size:30px;font-weight:400;margin:0 0 20px}
.case-privacy p{font-size:14px;line-height:1.8;margin-bottom:24px}
.case-privacy .privacy-email{text-decoration:underline;overflow-wrap:anywhere}
.case-privacy form{display:flex;justify-content:flex-end}
@media(max-width:900px){.case-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.case-story{grid-template-columns:1fr;gap:28px}.case-story .case-note{max-width:700px}.footer-projects-links{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.case-page{padding:18px 6% 50px}.case-intro{padding-top:25px}.case-breadcrumb{font-size:11px;padding-bottom:20px}.case-facts{gap:18px}.case-board{padding:8px}.case-board figcaption{flex-direction:column;gap:10px;padding:3px 5px}.case-cta{flex-direction:column;align-items:flex-start;padding:25px}.case-related-grid{grid-template-columns:1fr}.case-related-card{padding:12px}.case-related-card img{max-height:240px;object-fit:contain}.footer-projects-links{gap:14px 16px}.case-story{margin-top:32px}}
@media(prefers-reduced-motion:reduce){.case-related-card{transition:none}}
