/* Real author photography in the home hero. */
.hero-photo-collage{isolation:isolate;background:#174a35;box-shadow:12px 12px 0 var(--ink);}
.hero-photo-collage::before{z-index:4;border:1px solid rgba(255,243,222,.76);border-style:solid;inset:14px;}
.hero-photo-collage::after{content:"";position:absolute;z-index:1;inset:0;background:linear-gradient(180deg,rgba(31,22,15,.36),transparent 34%,transparent 56%,rgba(31,22,15,.5));pointer-events:none;}
.hero-photo-main{position:absolute;z-index:0;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;object-position:50% 43%;transform:scale(1.015);transition:transform 900ms var(--ease-fluid,cubic-bezier(.22,1,.36,1));}
.hero-photo-collage:hover .hero-photo-main{transform:scale(1.06);}
.hero-photo-collage .visual-topline{z-index:5;color:var(--paper);text-shadow:0 1px 8px rgba(0,0,0,.35);}
.hero-photo-patch{position:absolute;z-index:3;width:clamp(92px,11vw,142px);height:clamp(120px,15vw,182px);margin:0;padding:5px;background:var(--paper);box-shadow:5px 8px 18px rgba(0,0,0,.32);}
.hero-photo-patch img{width:100%;height:100%;object-fit:cover;}
.hero-photo-patch-one{right:28px;top:83px;transform:rotate(7deg);}
.hero-photo-patch-two{left:28px;bottom:83px;transform:rotate(-7deg);}
.hero-photo-collage .visual-caption{z-index:5;max-width:190px;color:var(--paper);background:var(--orange);box-shadow:3px 3px 0 var(--ink);}
.hero-photo-collage .visual-index{z-index:2;left:auto;right:21px;top:auto;bottom:15px;color:rgba(255,255,255,.52);font-size:76px;}

/* Bring the original animated toucan card to the final CTA. */
.contact.section-shell{width:100%;max-width:none;padding-inline:max(var(--gutter),calc((100vw - var(--max))/2 + var(--gutter)));}
.contact{min-height:560px;}
.contact-content{max-width:min(58%,720px);padding-top:55px;}
.contact h2{max-width:680px;}
.hero-art-card{position:absolute;z-index:3;right:max(var(--gutter),calc((100vw - var(--max))/2 + var(--gutter)));top:50%;width:clamp(250px,28vw,390px);height:clamp(300px,30vw,420px);transform:translateY(-50%) perspective(1100px) rotateX(var(--tilt-y,0deg)) rotateY(var(--tilt-x,0deg));}
.hero-art-card:hover{transform:translateY(calc(-50% - 2px)) perspective(1100px) rotateX(var(--tilt-y,0deg)) rotateY(var(--tilt-x,0deg));}
.hero-art-card .hero-toucan{width:clamp(130px,16vw,205px);right:13%;top:16%;}
.hero-art-card .visual-topline{font-size:8px;}
.hero-art-card .visual-caption{right:22px;bottom:22px;}
.hero-art-card .visual-index{right:18px;left:auto;top:auto;bottom:7%;font-size:82px;}

@media(max-width:1050px){
  .contact.section-shell{padding-inline:var(--gutter);}
  .contact{min-height:0;padding-top:46px;padding-bottom:54px;}
  .contact-content{max-width:100%;padding-top:38px;}
  .hero-art-card{position:relative;top:auto;right:auto;width:min(72%,390px);height:340px;margin:42px auto 0;transform:perspective(1100px) rotateX(var(--tilt-y,0deg)) rotateY(var(--tilt-x,0deg));}
  .hero-art-card:hover{transform:translateY(-2px) perspective(1100px) rotateX(var(--tilt-y,0deg)) rotateY(var(--tilt-x,0deg));}
  .hero-art-card .hero-toucan{width:clamp(130px,22vw,185px);}
}
@media(max-width:640px){
  .hero-photo-collage,.hero-photo-collage:hover{box-shadow:7px 7px 0 var(--ink);}
  .hero-photo-patch{width:92px;height:118px;padding:4px;}
  .hero-photo-patch-one{right:19px;top:69px;}
  .hero-photo-patch-two{left:18px;bottom:75px;}
  .hero-photo-collage .visual-caption{right:17px;bottom:18px;max-width:145px;padding:7px 8px;font-size:8px;}
  .hero-art-card{width:min(88%,360px);height:310px;margin-top:30px;}
  .hero-art-card .hero-toucan{width:150px;right:12%;top:18%;}
}
@media(prefers-reduced-motion:reduce){
  .hero-photo-main{transition:none!important;}
  .hero-photo-collage:hover .hero-photo-main{transform:none;}
}

/* Headlines: isolated line reveal, triggered once when the heading enters view. */
.headline-reveal .headline-line{display:block;opacity:1;transform:translateY(0);transition:opacity 900ms cubic-bezier(.22,1,.36,1),transform 1050ms cubic-bezier(.22,1,.36,1);transition-delay:0ms;}
.headline-reveal .headline-line:nth-child(2){transition-delay:75ms;}
.headline-reveal .headline-line:nth-child(3){transition-delay:150ms;}
.headline-reveal.is-pending .headline-line{opacity:0;transform:translateY(.58em);}
.headline-reveal.is-visible .headline-line{opacity:1;transform:translateY(0);}
.hero h1 .headline-line{animation:hero-headline-in 980ms cubic-bezier(.22,1,.36,1) both;}
.hero h1 .headline-line:nth-child(2){animation-delay:90ms;}
@keyframes hero-headline-in{from{opacity:0;transform:translateY(.58em)}to{opacity:1;transform:translateY(0)}}
.hero h1>.headline-line:not(.headline-line-secondary){font-size:inherit;line-height:inherit;margin-top:0;letter-spacing:inherit;}
.hero h1>.headline-line-secondary{font-size:.73em;line-height:1.13;margin-top:12px;letter-spacing:-.035em;}
.intro h2>.headline-line{color:inherit;}
.intro h2>.headline-accent{color:var(--green);}
@media(prefers-reduced-motion:reduce){.headline-reveal .headline-line,.headline-reveal.is-pending .headline-line,.headline-reveal.is-visible .headline-line{opacity:1;transform:none;transition:none!important;}.hero h1 .headline-line{animation:none!important;}}
