/* James Bullimore — opt-in analytics consent. Shared across the site. */
@font-face {
  font-family: "JB Cookie Handwriting";
  src: url("./fonts/Caveat-VariableFont_wght.ttf") format("truetype");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}
#jb-cookie-banner {
  box-sizing:border-box;
  position:fixed;
  z-index:2147483000;
  bottom:max(18px, env(safe-area-inset-bottom));
  left:50%;
  transform:translateX(-50%);
  width:min(760px, calc(100% - 32px));
  padding:23px 25px 22px;
  color:#191919;
  background:rgba(255,255,255,.99);
  border:1px solid rgba(7,7,7,.13);
  border-radius:17px;
  box-shadow:0 16px 58px rgba(0,0,0,.17);
  font:400 14px/1.52 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
}
#jb-cookie-banner[hidden] {display:none !important}
#jb-cookie-banner * {box-sizing:border-box}
#jb-cookie-banner .jb-cookie-title {
  font-size:18px;
  font-weight:800;
  letter-spacing:-.025em;
  margin:0 0 9px;
}
#jb-cookie-banner .jb-cookie-cookie {display:inline-block; transform:rotate(-12deg)}
#jb-cookie-banner .jb-cookie-copy {
  margin:0;
  color:#464646;
  font-size:13.5px;
  line-height:1.56;
}
#jb-cookie-banner .jb-cookie-copy + .jb-cookie-copy {margin-top:7px}
#jb-cookie-banner .jb-cookie-copy strong {color:#222; font-weight:700}
#jb-cookie-banner .jb-cookie-small {
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:4px 11px;
  margin-top:9px;
  color:#686868;
  font-size:11.5px;
  line-height:1.4;
}
#jb-cookie-banner .jb-cookie-small a {color:#282828; text-decoration:underline; text-underline-offset:2px}
#jb-cookie-banner .jb-cookie-sketch {
  position:relative;
  width:calc((100% - 11px)/2);
  height:76px;
  margin:8px 0 1px auto;
  color:#187643;
  pointer-events:none;
}
#jb-cookie-banner .jb-cookie-scribble {
  position:absolute;
  top:0;
  left:0;
  width:235px;
  max-width:72%;
  font:600 24px/.94 "JB Cookie Handwriting", "Comic Sans MS", cursive;
  letter-spacing:0;
  text-align:center;
  transform:rotate(-3deg);
}
#jb-cookie-banner .jb-cookie-arrow {
  position:absolute;
  top:0;
  left:calc(50% - 12px);
  width:150px;
  height:76px;
  overflow:visible;
  fill:none;
  stroke:currentColor;
  stroke-width:3;
  stroke-linecap:round;
  stroke-linejoin:round;
}
#jb-cookie-banner .jb-cookie-actions {display:flex; gap:11px; margin-top:11px}
#jb-cookie-banner .jb-cookie-action {
  appearance:none; -webkit-appearance:none; cursor:pointer;
  flex:1 1 0; min-width:0; min-height:45px;
  border:1.5px solid #191919; border-radius:9px; padding:10px 14px;
  font:700 13px/1.28 system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
  background:#fff; color:#191919; text-align:center;
  transition:background .15s ease,color .15s ease;
}
/* The options deliberately have equal visual weight and identical hit areas. */
#jb-cookie-banner .jb-cookie-action:hover {background:#191919;color:#fff}
#jb-cookie-banner .jb-cookie-action:focus-visible,
.jb-cookie-footer button:focus-visible,
.jb-cookie-footer a:focus-visible,
#jb-cookie-banner a:focus-visible {outline:3px solid #1186ff; outline-offset:3px}
.jb-cookie-footer {display:flex; justify-content:center; align-items:center; gap:18px; flex-wrap:wrap; padding:12px 24px 18px}
.jb-cookie-footer a, .jb-cookie-footer button {
  appearance:none; display:inline; border:0; background:transparent; padding:2px 0;
  color:inherit; opacity:.78; cursor:pointer;
  font:500 12px/1.4 system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
  text-decoration:underline; text-underline-offset:3px;
}
.jb-cookie-footer a:hover, .jb-cookie-footer button:hover {opacity:1}
@media (max-width:550px) {
  #jb-cookie-banner {bottom:max(10px, env(safe-area-inset-bottom));padding:18px; border-radius:13px; width:calc(100% - 20px)}
  #jb-cookie-banner .jb-cookie-title {font-size:17px}
  #jb-cookie-banner .jb-cookie-copy {font-size:12.5px}
  #jb-cookie-banner .jb-cookie-sketch {width:calc((100% - 8px)/2); height:82px; margin:8px 0 1px auto}
  #jb-cookie-banner .jb-cookie-scribble {left:-123px; width:219px; max-width:none; font-size:21px; text-align:right}
  #jb-cookie-banner .jb-cookie-arrow {top:6px; left:calc(50% - 8px); width:115px; height:72px}
  #jb-cookie-banner .jb-cookie-actions {gap:8px}
  #jb-cookie-banner .jb-cookie-action {padding:9px 8px;min-height:46px; font-size:12px}
}
@media (max-width:370px) {
  #jb-cookie-banner {padding:15px}
  #jb-cookie-banner .jb-cookie-scribble {font-size:19px}
  #jb-cookie-banner .jb-cookie-scribble {left:-117px; width:205px; font-size:19px}
  #jb-cookie-banner .jb-cookie-arrow {width:105px; height:70px}
}
