/* Pink Team — base: reset, ground, typography defaults, focus. Mobile-first. */

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%;background:var(--paper)}
body{margin:0;min-height:100vh;color:var(--ink);font-family:var(--sans);font-weight:420;font-size:var(--fs-body);line-height:1.5;
  -webkit-font-smoothing:antialiased;overflow-x:hidden}

/* The pearl ground. A fixed layer rather than background-attachment:fixed,
   which iOS ignores (it would stretch the image over the whole page). */
body::before{content:"";position:fixed;inset:0;z-index:-2;pointer-events:none;
  background:var(--paper) url("../img/liquid-pearl.jpg") 50%/cover no-repeat;
  background-image:image-set(url("../img/liquid-pearl.webp") type("image/webp"),url("../img/liquid-pearl.jpg") type("image/jpeg"))}
body::after{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background:var(--veil)}

img{max-width:100%;height:auto;display:block}
a{color:inherit}
h1,h2,h3,p{margin:0}
h1,h2,h3{text-wrap:balance}
p{text-wrap:pretty}
button,input,select,textarea{font:inherit;color:inherit}
[hidden]{display:none !important}

:focus-visible{outline:3px solid var(--ink);outline-offset:3px;box-shadow:0 0 0 7px rgba(255,255,255,.85)}

.pt-skip{position:absolute;left:-999px;top:0;z-index:100;padding:12px 16px;background:var(--ink);color:#fff;
  font-family:var(--mono);font-size:12px;letter-spacing:var(--track-mono);text-transform:uppercase;text-decoration:none;border-radius:0 0 12px 0}
.pt-skip:focus{left:0}

.pt-sr{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation:none !important;transition:none !important}
}

@media print{
  body::before,body::after{display:none}
  html,body{background:#fff}
}
