.project .project-image {
  --wash:#778a98;
  --yaw:-14deg;
  --roll:-2deg;
  isolation:isolate;
  overflow:hidden;
  aspect-ratio:1.48;
  border-radius:4px;
  background:linear-gradient(115deg,transparent 42%,#080a0d44),linear-gradient(var(--wash),var(--wash)),url("assets/slate-stage.webp") center/cover;
  background-blend-mode:normal,color,normal;
}
.project-image[data-gallery=cuticle]{--wash:#b58291;--yaw:13deg;--roll:2deg}
.project-image[data-gallery=opulent]{--wash:#af9770}
.project-image[data-gallery=filly]{--wash:#a68671;--yaw:11deg;--roll:2deg}
.project-image[data-gallery=vassist]{--wash:#73978f}
.project-image[data-gallery=booksiq]{--wash:#768cb5;--yaw:14deg;--roll:2deg}
.project .project-image .device-pair {
  inset:11% 4% 7%;width:auto;height:auto;
  filter:none;
}
.project-image .device-pair .imac {
  top:2%;left:4%;width:81%;padding:.68% .68% 0;
  border-radius:1.6% / 2.8%;
  background:linear-gradient(120deg,#686d69,#161a1a 30%,#26292a 94%,#676b68);
  box-shadow:inset 0 1px 1px #dce0d6aa,3px 1px 0 #151918,6px 3px 1px #232927,12px 18px 22px #080b0b55;
  transform:perspective(880px) rotateY(var(--yaw)) rotateX(4deg) rotateZ(var(--roll));
  transition:transform .9s cubic-bezier(.2,.7,.2,1);
}
.project-image .imac-chin{padding-top:2.4%;margin:0;background:linear-gradient(115deg,#555a57,#272c2a 65%,#171b19)}
.project-image .imac:before{background:linear-gradient(100deg,#202522,#50564e 60%,#282b28);width:12%;left:44%;height:22%}
.project-image .imac:after{top:120%;height:2.4%;background:linear-gradient(#858a7f,#292e2a 60%,#111512);box-shadow:2px 6px 6px #05070688}
.project-image .device-pair .iphone{right:1%;bottom:1%;width:21%;padding:.65%;transform:perspective(520px) rotateY(-9deg) rotateZ(3deg);box-shadow:2px 1px 0 #31343a,5px 8px 5px #08090866,9px 16px 16px #06070666;background:linear-gradient(110deg,#a3a49b,#424640 12%,#171b19 77%,#93958e)}
@media(hover:hover) and (prefers-reduced-motion:no-preference){
.project-image:is(:hover,:focus-visible) .device-pair .imac{transform:perspective(880px) rotateY(calc(var(--yaw) * .45)) rotateZ(calc(var(--roll) * .4)) translateY(-1%)}
}
@media(prefers-reduced-motion:reduce){.project .project-image .imac{transition:none}}
.project .project-image{background-image:linear-gradient(0deg,#07090c55,transparent 50%),var(--setting);background-position:center;background-size:cover;background-blend-mode:normal}
.regal{--setting:url('assets/regal-setting.webp')}
.cuticle{--setting:url('assets/cuticle-setting.webp')}
.opulent{--setting:url('assets/opulent-setting.webp')}
.filly{--setting:url('assets/filly-setting.webp')}
.vassist{--setting:url('assets/vassist-setting.webp')}
.booksiq{--setting:url('assets/booksiq-setting.webp')}
.project.cuticle .set-detail{position:absolute;inset:17% auto auto 7%;width:48%;height:64%;object-fit:cover;border:5px solid #f7eee0;transform:rotate(-8deg);box-shadow:0 15px 28px #56334055}
.project.cuticle .device-pair .imac{left:16%;width:48%;top:47%;transform:perspective(680px) rotateY(-14deg) rotateZ(-4deg)}
.project.cuticle .device-pair .iphone{width:29%;right:9%;bottom:3%;transform:rotate(6deg)}
.project.filly .device-pair .iphone{left:2%;right:auto;transform:rotate(-4deg)}
.project.filly .device-pair .imac{left:14%}
.project-description{max-width:63ch}
#approach .decision-image{margin:0;align-self:start;padding:clamp(16px,3vw,38px);background:linear-gradient(140deg,#38302c,#1b1a20);border-radius:4px}
.decision-image img{display:block;width:100%;height:clamp(180px,20vw,290px);object-fit:contain}
.decision-image figcaption{margin-top:16px;color:#ded4c8;font-size:13px}
#contact{background:linear-gradient(90deg,#101016 25%,#101016df 54%,#10101650),url('assets/vassist-setting.webp') center/cover}
#contact h2{margin-bottom:24px}#contact .contact-bottom{max-width:520px;justify-content:flex-start;gap:18px 24px}
#contact .contact-bottom p{flex-basis:100%;max-width:43ch}
#contact .contact-circle{width:auto;height:auto;padding:13px 23px;flex-direction:row;border-radius:99px;font-size:14px}
#contact .contact-circle:hover{transform:translateY(-2px)}
@media(min-width:900px){
.project-grid:has(.regal:not([hidden])){grid-template-columns:minmax(0,1.18fr) minmax(0,1fr)}
.regal .project-image{aspect-ratio:1.64}.cuticle .project-image{aspect-ratio:1.39}
}
@media(max-width:720px){.decision-image{margin-bottom:20px!important}#contact{background-position:65% center}}

/* A quieter studio composition gives the websites room to lead. */
.project-grid,.project-grid:has(.regal:not([hidden])){grid-template-columns:repeat(2,minmax(0,1fr));gap:72px 36px}
.project .project-image{aspect-ratio:1.5;background:radial-gradient(ellipse at 45% 30%,color-mix(in srgb,var(--wash) 28%,#23262a),#121518 73%);border:1px solid #ffffff09}
.project .project-image::before{content:"";position:absolute;inset:0;z-index:-1;background:var(--setting) center/cover;filter:blur(32px);opacity:.1;transform:scale(1.12);pointer-events:none}
.project .project-image::after{content:"";position:absolute;inset:78% 0 0;background:linear-gradient(#ffffff03,#00000020);border-top:1px solid #ffffff05;pointer-events:none}
.project .project-image .device-pair{inset:17% 9% 14%;z-index:1}
.project .project-image .device-pair .imac{left:1%;top:2%;width:84%;transform:perspective(1000px) rotateY(-7deg) rotateX(2deg) rotateZ(-1deg)}
.project .project-image .device-pair .iphone{left:auto;right:0;bottom:0;width:18%;transform:perspective(800px) rotateY(-5deg) rotateZ(2deg)}
.project .project-info{margin-top:22px;align-items:flex-start}
.project .project-info h3{font-size:clamp(22px,2vw,29px)}
.project .project-info .eyebrow{font-size:10px;letter-spacing:.12em}
.project .project-description{font-size:14px;max-width:49ch;margin-top:12px;line-height:1.65}
@media(hover:hover) and (prefers-reduced-motion:no-preference){
.project .project-image:is(:hover,:focus-visible) .device-pair .imac{transform:perspective(1000px) rotateY(-3deg) rotateZ(0deg) translateY(-1%)}
}
@media(max-width:720px){
.project-grid,.project-grid:has(.regal:not([hidden])){grid-template-columns:1fr;gap:44px}
.project .project-info h3{font-size:22px}.project .project-info .notes{font-size:11px}
}

.project .project-image .device-pair{inset:10% 4% 18%}
.project .project-image .device-pair .imac{width:86%}
.project .project-image .device-pair .iphone{width:19%;right:0;bottom:0}
.project .project-image .preview-invitation{
  position:absolute;bottom:4.5%;left:50%;translate:-50% 0;z-index:4;
  display:flex;align-items:center;gap:16px;white-space:nowrap;
  padding:10px 17px;border-radius:999px;border:1px solid #ffffff24;
  background:#0d1014d9;color:#f4f1f8;font-size:12px;font-weight:500;
  box-shadow:0 3px 16px #0002;transition:background .2s,border-color .2s;
}
.project .project-image:is(:hover,:focus-visible) .preview-invitation{background:#211c29;border-color:#dfc5ff88}
@media(max-width:720px){.project .project-image .preview-invitation{font-size:11px;padding:8px 13px;bottom:3.5%}}

/* Reserve a clear footer below each device, including its stand. */
.project .project-image{aspect-ratio:1.36}
.project .project-image .device-pair{inset:7% 4% 25%}
.project .project-image .preview-invitation{bottom:3%;min-height:40px;box-sizing:border-box}
.project .project-image:focus-visible,.demo:focus-visible{outline:2px solid #dfc5ff;outline-offset:5px}
#work,#concepts,#approach,#contact{scroll-margin-top:100px}
.demo small{letter-spacing:.035em}
.demo[data-gallery=bigsky] img{object-fit:contain;background:#08111d}
@media(max-width:720px){
.project .project-image{aspect-ratio:1.3}
.project .project-image .device-pair{top:6%}
.project .project-image .preview-invitation{min-height:38px;bottom:3%}
}
@media(max-width:900px){
.project-grid,.project-grid:has(.regal:not([hidden])){grid-template-columns:1fr}
}
@media(max-width:480px){.project .project-image{aspect-ratio:1.2}}
