/* Small shared pieces for every page: footer spacing, colour helper classes (instead of inline styles, CSP), cookie bar. */
.site-foot .foot-about{margin-top:14px;max-width:36ch}
.site-foot .foot-follow{margin-top:14px}
.site-foot .legal a{padding-block:12px}

/* value helpers: one class per value, used where the page used to set a custom property inline */
.w21{--w:21%}.w33{--w:33%}.w50{--w:50%}.w100{--w:100%}
.c-butter{--c:var(--butter)}.c-mint{--c:var(--mint)}.c-blush{--c:var(--blush)}.c-lav{--c:#DCE3FF}
.tint-periwinkle{--a:#CBD4FF}.tint-mint{--a:var(--mint)}.tint-blush{--a:var(--blush)}.tint-cream{--a:#FFF0B3}
.tint-peach{--a:#FFD6A5}.tint-coral{--a:#FFC8BE}.tint-sand{--a:#E6E0CE}.tint-seafoam{--a:#D8F3E6}

/* cookie bar (Microsoft Clarity only loads after a clear yes). The two buttons weigh the same: a nudged consent is not free. */
.cookiebar{position:fixed;left:0;right:0;bottom:0;z-index:80;background:var(--white);color:var(--ink);border-top:1.5px solid var(--ink);box-shadow:0 -6px 24px rgba(20,20,20,.14);padding:.7rem 1rem calc(.7rem + env(safe-area-inset-bottom))}
.cookiebar-body{margin:0;font-size:.82rem;line-height:1.4;color:var(--grey)}
.cookiebar-link{font-size:.82rem;color:var(--cobalt);display:inline-block;padding-block:6px}
.cookiebar-row{display:flex;gap:.5rem}
.cookiebar-btn{flex:1 1 0;display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:.4rem .6rem;border-radius:999px;border:1.5px solid var(--ink);font:700 .88rem var(--sans);cursor:pointer;background:var(--white);color:var(--ink);transition:background .3s var(--ease),color .3s var(--ease)}
.cookiebar-btn:hover{background:var(--butter)}
@media (min-width:900px){
  .cookiebar{left:auto;right:1rem;bottom:1rem;width:min(26rem,calc(100vw - 2rem));max-width:420px;border:1.5px solid var(--ink);border-radius:14px;box-shadow:0 10px 30px rgba(20,20,20,.18);padding:.9rem 1.1rem}
}
@media (prefers-reduced-motion:no-preference){
  .cookiebar{animation:consent-in .25s var(--ease)}
  @keyframes consent-in{from{opacity:0;transform:translateY(.5rem)}}
}

/* open phone/tablet menu sits above the unanswered cookie bar, so its last rows and the social icons stay reachable */
nav.menu-panel{z-index:85}

/* desktop: the intro's "skip the animation" button sits bottom-left, so the cookie card (bottom-right) never covers it */
@media (min-width:901px){.skip{right:auto;left:clamp(16px,4vw,48px)}}
