/* Shared foundation only: reset, accessibility, preview notice. Each site's look lives in site.css. */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%;scroll-behavior:smooth;scroll-padding-top:5.5rem}
body{margin:0;min-height:100vh;line-height:1.6;-webkit-font-smoothing:antialiased;overflow-x:clip}
h1,h2,h3,h4,p,ul,ol,dl,dd,figure,blockquote{margin:0}
ul,ol{padding:0;list-style:none}
img,svg,picture{display:block;max-width:100%}
img{height:auto}
a{color:inherit}
button,input,select,textarea{font:inherit;color:inherit}
button[data-contact]{min-height:1.75rem}
button{cursor:pointer;background:none;border:0;padding:0;text-align:inherit}
h1,h2,h3{text-wrap:balance;overflow-wrap:break-word}
p,li,dd{text-wrap:pretty;overflow-wrap:break-word}
[hidden]{display:none!important}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.skip{position:fixed;left:.75rem;top:-5rem;z-index:1000;background:#fff;color:#111;padding:.7rem 1rem;border-radius:.4rem;font-weight:700;text-decoration:none;box-shadow:0 4px 18px rgb(0 0 0 / .3)}
.skip:focus{top:.75rem}
:focus-visible{outline:3px solid var(--focus,#ffbf47);outline-offset:3px;border-radius:2px}
.nowrap{white-space:nowrap}

/* scroll reveal: content is only ever hidden when JS is running and motion is allowed */
@media (prefers-reduced-motion:no-preference){
  .js [data-reveal]{opacity:0;transform:translateY(22px);transition:opacity .7s cubic-bezier(.2,.7,.2,1),transform .7s cubic-bezier(.2,.7,.2,1);transition-delay:calc(var(--i,0) * 70ms)}
  .js [data-reveal].is-in{opacity:1;transform:none}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important}
}

/* preview notice shown when a contact control is used */
.pv-toast{position:fixed;left:50%;bottom:1.25rem;transform:translateX(-50%);z-index:900;width:min(26rem,calc(100vw - 2rem));background:#111418;color:#fff;border:1px solid rgb(255 255 255 / .22);border-radius:.75rem;padding:.85rem 1.1rem;box-shadow:0 18px 50px rgb(0 0 0 / .45);font:500 .95rem/1.4 system-ui,sans-serif;text-align:center}
.pv-toast p + p{opacity:.72;font-size:.85rem;margin-top:.15rem}
@media (prefers-reduced-motion:no-preference){.pv-toast{animation:pv-in .28s ease-out}}
@keyframes pv-in{from{opacity:0;transform:translate(-50%,12px)}}
