/* depth.css
   Purpose: the owner's 11.11 notes on depth: photos under the intro and "What brings you in?", translucent cards and
   plaques over them, the office's own wallpaper behind "Your visit". "Before you call" is the model she pointed to.
   NOT for: the plaque colours shared by the care list and the FAQ (warm.css) or scroll timing (walkthrough.js).
   WHY <img loading=lazy> and not CSS backgrounds: a CSS background downloads at first paint and competes with the hero
   photo for bandwidth on phones; the images here are far below the fold.
   WHY no backdrop blur on the intro card: it rides the curtain over the pinned hero, and a blur on a moving layer is
   the costly case on phones. It is cream glass with some photo showing through instead. */

/* Intro ("Part of Park Ridge since 1954"): the darker sheet is now a photo that drifts slower than the page,
   so it slides under the card while you read (--sq: the sheet's trip through the screen, from walkthrough.js). */
.intro{isolation:isolate}
.intro-photo{position:absolute;inset:0;z-index:-1;overflow:hidden;border-radius:var(--radius) var(--radius) 0 0;background:var(--charcoal-deep)}
/* Drift: ±12% of its own height (1.32 × the sheet) stays inside the 16% overhang at both ends, so no edge shows. */
.intro-photo img{position:absolute;left:0;top:-16%;width:100%;height:132%;object-fit:cover;transform:translate3d(0,calc((var(--sq,.5) - .5)*24%),0)}
.intro-photo::after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,#2a1d13a8,#2a1d1385 45%,#2a1d13c2)}
.intro-card{background:linear-gradient(165deg,#f8f2eae6,#f3eadfc7);border:1px solid #ffffff8c;box-shadow:inset 0 1px 0 #ffffffb3,0 30px 70px #1a100a59}
/* The circle was a cut-out in the cream sheet; on the photo it becomes a plaque like the ones in "Before you call". */
.intro-circle{background:linear-gradient(180deg,#7d6551,#4d3a2b);border-color:#2e2118;color:#fbf5ee;box-shadow:inset 0 1px 0 #ffffff47,inset 0 0 0 2px #c9a58533,0 14px 30px #1a100a73}
.intro-circle:hover{border-color:#e6c4a4}
/* It straddles the cream card and the dark photo, so one outline colour vanishes on one of them: light ring, dark rim. */
.intro-circle:focus-visible{outline-color:#fbf5ee;box-shadow:0 0 0 9px #2a1d13,0 14px 30px #1a100a73}

/* "What brings you in?": the same recipe as "Before you call": a photo of a treatment room under a light veil,
   a glass card over it, and the choices as raised brown plaques. */
.care-finder{position:relative;isolation:isolate;padding-block:clamp(64px,8vw,112px)}
.finder-bg{position:absolute;inset:0;z-index:-2;width:100%;height:100%;object-fit:cover}
.care-finder::before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(#e8dccd8f,#e8dccdb3)}
.finder-card{background:linear-gradient(165deg,#f8f2eacc,#f3eadfad);border:1px solid #ffffff99;backdrop-filter:blur(16px) saturate(1.1);-webkit-backdrop-filter:blur(16px) saturate(1.1);box-shadow:inset 0 1px 0 #ffffffb3,0 30px 70px #2a1c1240}
.finder-tabs button{border:1px solid #2e2118;background:linear-gradient(180deg,#75604de6,#513e2ef2);color:#fbf5ee;box-shadow:inset 0 1px 0 #ffffff47,inset 0 0 0 2px #c9a58533,inset 0 -2px 3px #0000004d,0 10px 22px #2a1c1240;transition:background .3s,box-shadow .3s,transform .3s var(--ease)}
.finder-tabs button:after{border-color:#e6c4a4}
.finder-tabs button:hover{border-color:#2e2118;background:linear-gradient(180deg,#826a55f0,#5c4735f7);transform:translateX(4px)}
.finder-tabs button[aria-selected=true]{background:linear-gradient(180deg,#fbf6f0,#eadfd0);border-color:#c9a585;color:var(--ink);box-shadow:inset 0 1px 0 #fff,0 12px 26px #2a1c1240}
.finder-tabs button[aria-selected=true]:after{background:var(--rose);border-color:var(--rose)}
.finder-panels{background:linear-gradient(180deg,#fbf7f2f0,#f3eadfe6);border:1px solid #ffffffb3;box-shadow:inset 0 1px 0 #fff,0 18px 40px #2a1c1226}

/* "Your visit": the grasscloth wallpaper from behind the reception sign (tools/wallpaper.py) instead of a flat colour,
   and the three steps as translucent raised plaques. */
.visit-card-wrap{background:linear-gradient(180deg,#ffffff0d,#0000002e),url(/assets/tex-wallpaper.webp) 0 0/480px 390px repeat var(--charcoal);box-shadow:inset 0 1px 0 #ffffff21,0 30px 60px #2a1c1240}
.visit-steps li{background:linear-gradient(180deg,#8a705ab3,#46342680);border:1px solid #2a1d14;box-shadow:inset 0 1px 0 #ffffff40,inset 0 0 0 2px #c9a58526,inset 0 -2px 3px #0000004d,0 12px 24px #1a100a66}
.visit-steps p{color:#efe8e0}
.visit-body .eyebrow{color:#ead6c2}
