/* A quiet botanical gold finish: fine double-line framing, with small watercolor-like oak sprigs. */
body:has(.ali-page) .photo-stack{
  border:1px solid rgba(174,143,84,.72)!important;
  box-shadow:0 16px 42px rgba(58,54,42,.11),0 0 0 4px rgba(255,252,244,.74)!important;
}
body:has(.ali-page) .photo-stack::after{
  inset:8px!important;
  border:1px solid rgba(224,204,158,.76)!important;
  background:url('/assets/ali-photo-botanical-trim-v675.svg') center/100% 100% no-repeat;
}
body:has(.ali-page) .service-card{position:relative!important;isolation:isolate}
body:has(.ali-page) .service-card>img{
  border:1px solid rgba(174,143,84,.78)!important;
  outline:1px solid rgba(245,233,204,.9)!important;
  outline-offset:-5px!important;
  box-shadow:0 5px 13px rgba(50,47,38,.09)!important;
}
body:has(.ali-page) .service-gallery-window{
  position:relative!important;
  isolation:isolate;
  border:1px solid rgba(174,143,84,.78)!important;
  padding:3px!important;
  background:#f6f0e3!important;
  box-shadow:0 9px 25px rgba(50,47,38,.10)!important;
}
body:has(.ali-page) .service-gallery-window img{outline:1px solid rgba(245,233,204,.88);outline-offset:-7px}
body:has(.ali-page) .note-photo,
body:has(.ali-page) .bio-photo,
body:has(.ali-page) .experience-grid img{
  border:1px solid rgba(174,143,84,.72)!important;
  padding:3px!important;
  background:#f7f1e5!important;
  box-shadow:0 6px 17px rgba(50,47,38,.09)!important;
}
body:has(.ali-page) .ali-content h1{letter-spacing:-.025em!important}
body:has(.ali-page) .ali-experience-link:focus-visible,
body:has(.ali-page) .ali-photo-actions button:focus-visible,
body:has(.ali-page) .service-card:focus-visible{outline:2px solid #a1844f!important;outline-offset:4px!important}
@media(min-width:651px) and (max-width:900px){
  body:has(.ali-page) .ali-page{grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr)!important;gap:15px 26px!important}
  body:has(.ali-page) .service-links{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px 20px!important}
  body:has(.ali-page) .service-card>img{aspect-ratio:1.8/1!important;max-height:none!important}
}
@media(max-width:650px){
  body:has(.ali-page) .ali-top-context{left:78px!important;right:62px!important;font-size:6.5px!important;letter-spacing:.055em!important;line-height:1.25!important}
  body:has(.ali-page) .ali-brand-lockup{left:11px!important}
  body:has(.ali-page) .ali-page{gap:13px!important;padding-top:16px!important}
  body:has(.ali-page) .ali-content h1{max-width:none!important;font-size:clamp(2.15rem,8.6vw,3.1rem)!important;line-height:1.01!important}
  body:has(.ali-page) .ali-content h1 br{display:none!important}
  body:has(.ali-page) .ali-philosophy{max-width:34ch!important;line-height:1.48!important}
  body:has(.ali-page) .photo-stack{height:clamp(250px,70vw,370px)!important;border-radius:24% 24% 2px 2px / 11% 11% 2px 2px!important}
  body:has(.ali-page) .photo-stack::after{inset:6px!important}
  body:has(.ali-page) .service-card>img{aspect-ratio:1.55/1!important}
  body:has(.ali-page) footer{gap:5px 12px!important}
}
@media(prefers-reduced-motion:reduce){body:has(.ali-page) .photo-stack img{transition:none!important}}
/* Carry the same hand-drawn corner detail through the small previews and opened galleries. */
body:has(.ali-page) .service-card::before{
  content:"";position:absolute;z-index:3;top:0;left:0;width:100%;aspect-ratio:2.05/1;
  pointer-events:none;background:url('/assets/ali-photo-botanical-trim-v675.svg') center/100% 100% no-repeat;
}
body:has(.ali-page) .service-gallery-window::after{
  content:"";position:absolute;z-index:3;inset:3px;pointer-events:none;
  background:url('/assets/ali-photo-botanical-trim-v675.svg') center/100% 100% no-repeat;
}
@media(min-width:651px) and (max-width:900px){body:has(.ali-page) .service-card::before{aspect-ratio:1.8/1}}
@media(max-width:650px){body:has(.ali-page) .service-card::before{aspect-ratio:1.55/1}}
