.partment-art{background:radial-gradient(ellipse at 30% 20%,#406c8b,#162c40 80%);height:320px;color:#e4f1ed;isolation:isolate}
.partment-art:before{content:'';position:absolute;inset:0;background-image:linear-gradient(#bbd5da0a 1px,transparent 1px),linear-gradient(90deg,#bbd5da0a 1px,transparent 1px);background-size:28px 28px;transform:rotate(-12deg) scale(1.4)}
.published-badge,.testing-badge{position:absolute;z-index:3;left:22px;top:20px;font:500 12px/1.5 var(--mono);letter-spacing:1px;padding:6px 10px;border:1px solid #8cb8b4;border-radius:4px;color:#d4efde;background:#173628dc}
.partment-brand{position:absolute;width:102px;height:102px;left:9%;top:115px;border-radius:20px;box-shadow:0 20px 35px #0003;transform:rotate(-8deg);z-index:2;transition:transform .3s}
.partment-phones{position:absolute;right:7%;top:28px;width:66%;height:290px}
.partment-phones img{position:absolute;height:262px;width:auto;border:5px solid #0e1722;border-radius:15px;box-shadow:10px 16px 20px #07131b55;transition:transform .3s}
.phone-one{left:6%;top:5px;transform:rotate(-8deg);z-index:1}
.phone-two{right:0;top:29px;transform:rotate(9deg)}
.project:hover .phone-one{transform:translateY(-5px) rotate(-4deg)}
.project:hover .phone-two{transform:translateY(-5px) rotate(5deg)}
.project:hover .partment-brand{transform:rotate(-3deg)}
.partment-art .art-caption{background:#142535e8;bottom:13px;padding:4px 8px;opacity:1;z-index:4;font-size:12px;left:14px;letter-spacing:.5px}
.grim-art{height:320px;background:radial-gradient(ellipse at 75% 30%,#45534a,#1c2e2a 65%);color:#dfc99d;isolation:isolate}
.bough-art{position:absolute;width:100%;height:100%;inset:0;object-fit:cover;opacity:.85}
.grim-wordmark{position:absolute;top:105px;left:12%;font:400 24px/1.2 Georgia,serif;letter-spacing:12px;text-shadow:0 4px 20px #101b13;z-index:1}
.grim-wordmark strong{display:block;font:500 44px/1.5 Georgia,serif;letter-spacing:5px}
.testing-badge{color:#e7c79a;border-color:#8d7955;background:#382f1dd9}
.grim-art .art-caption{opacity:.85;z-index:2;font-size:12px;letter-spacing:.3px;left:20px;right:15px;line-height:1.6}
.project-hearth{grid-column:1/-1;display:grid;grid-template-columns:.8fr 1.2fr;align-items:stretch}
.project-hearth .project-art{height:240px}
.project-hearth .project-copy{align-self:center;padding:32px 40px}
.project-hearth .project-copy p{max-width:500px}
.project-hearth[hidden]{display:none}
.dialog-gallery{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:25px}
.dialog-gallery figure{margin:0;min-width:0}
.dialog-gallery img{width:100%;border-radius:8px;display:block;border:1px solid #46614d}
.dialog-gallery figcaption{font-size:12px;line-height:1.7;color:#a3baa9;margin-top:12px}
@media(max-width:1100px){.partment-brand{width:80px;height:80px;left:6%;top:137px}.partment-phones{right:6%;width:69%}.partment-phones img{height:245px}.phone-one{left:0;top:10px}.phone-two{right:0;top:36px}.grim-wordmark{left:9%;letter-spacing:8px}.grim-wordmark strong{font-size:39px}.project-hearth .project-copy{padding:28px}}
@media(max-width:780px){.partment-art,.grim-art{height:290px}.partment-brand{width:65px;height:65px;left:7%;top:133px}.partment-phones{top:39px;width:64%;right:5%}.partment-phones img{height:210px;border-width:4px;border-radius:10px}.published-badge,.testing-badge{left:16px;top:16px;letter-spacing:.4px}.grim-wordmark{top:108px;font-size:22px;letter-spacing:8px}.grim-wordmark strong{font-size:34px;letter-spacing:2px}.grim-art .art-caption{font-size:12px;left:16px}.partment-art .art-caption{font-size:12px;left:10px}.project-hearth{grid-template-columns:1fr 1fr}.project-hearth .project-copy{padding:24px}.project-hearth .project-art{height:260px}}
@media(max-width:520px){.partment-art,.grim-art{height:300px}.partment-brand{width:85px;height:85px;left:7%;top:120px}.partment-phones{right:7%;width:62%;top:32px}.partment-phones img{height:240px}.phone-one{left:0}.phone-two{right:-6%;top:33px}.grim-wordmark{left:12%;top:103px;font-size:24px;letter-spacing:11px}.grim-wordmark strong{font-size:40px;letter-spacing:4px}.project-hearth{grid-template-columns:1fr}.project-hearth .project-art{height:240px}.project-hearth .project-copy{padding:24px}.dialog-gallery{gap:14px}.dialog-gallery figcaption{font-size:12px}}
@media(prefers-reduced-motion:reduce){.partment-brand,.partment-phones img{transition:none}}
