/* Chat, cookie notice: lifted from the live site.css as-is so chat.js and
   consent.js keep working untouched. The aliases map the live tokens onto
   this draft's; the overrides at the bottom give the chat button the
   sticker look of the rest of the page. */
:root{--card:#F3F0F8;--card-2:#E2DEEE;--line:#D4CEE6;--mint:#03363D}
/* ═══════════════════════════════════════════════ cookie consent ══ */
/* The banner sits bottom-left, out of the way of the phone's tab bar and of
   the reading column. It arrives 300ms after load — see the reason in
   consent.js, it is a measured one and not a taste. */
/* Bottom-right, not bottom-left. The reading column on every page here is
   left-aligned, so a card in that corner sat on top of the FAQ accordion and
   the portfolio's filter buttons and swallowed the taps — which is what "it
   won't let me press" turned out to be. */
/* While the notice is up the page keeps room underneath it, so anything it
   would otherwise sit on top of can be scrolled out from under it. */
body.has-cc{padding-bottom:var(--cc-h,0px)}
.cc{position:fixed;inset-inline-end:20px;bottom:20px;z-index:60;
  width:min(400px,calc(100vw - 32px));background:rgba(252,251,254,.92);
  backdrop-filter:blur(18px);border:1.5px solid var(--line);border-radius:24px;
  padding:18px;box-shadow:0 34px 70px -26px rgba(20,26,60,.55);
  opacity:0;transform:translateY(18px) scale(.97);
  transition:opacity .3s,transform .45s cubic-bezier(.32,.72,0,1)}
.cc.is-in{opacity:1;transform:none}
.cc__top{display:flex;gap:12px;align-items:flex-start;padding-inline-end:26px}
/* The real component has this and it matters: a notice you can only answer is
   a notice that holds the page hostage. Dismissing means necessary only. */
.cc__x{position:absolute;top:14px;inset-inline-end:14px;width:26px;height:26px;
  border:0;border-radius:9px;background:none;color:var(--ink-3);cursor:pointer;
  display:flex;align-items:center;justify-content:center;font-size:17px;line-height:1;
  transition:background .25s,color .25s}
.cc__x:hover{background:var(--card-2);color:var(--ink)}
.cc__ic{width:36px;height:36px;border-radius:12px;flex-shrink:0;background:var(--lav);
  color:var(--brand);display:flex;align-items:center;justify-content:center}
.cc__ic svg{width:18px;height:18px}
.cc__top b{display:block;font-weight:800;font-size:15px;letter-spacing:-.025em}
.cc__top p{margin:5px 0 0;font-size:13px;line-height:1.55;color:var(--ink-2)}
.cc__top a{color:var(--brand);font-weight:700}
.cc__act{display:flex;align-items:center;gap:8px;margin-top:15px;flex-wrap:wrap}
.cc__act .btn{flex:1;justify-content:center;padding:10px 14px;font-size:14px;border-radius:13px}
.cc__choose{display:inline-flex;align-items:center;gap:7px;border:0;background:none;
  font:inherit;font-size:13px;font-weight:700;color:var(--ink-2);cursor:pointer;
  padding:8px 4px;transition:color .25s}
.cc__choose:hover{color:var(--brand)}
.cc__choose svg{width:15px;height:15px}
.cc__panel{max-height:min(48vh,360px);overflow-y:auto;margin-top:14px;
  border-top:1px solid var(--line);padding-top:4px}
/* With the panel open the primary takes the full width: "Save my choice" was
   wrapping to two lines inside a shared half. */
.cc.is-open .cc__act [data-yes]{flex:1 1 100%}

/* one switch list, the banner's compact form and the page's full one */
.cc__cat{display:flex;align-items:flex-start;gap:14px;padding:14px 0;
  border-bottom:1px solid var(--line)}
.cc__cat:last-child{border-bottom:0}
.cc__catb{flex:1;min-width:0}
.cc__catb b{display:block;font-weight:800;font-size:14.5px;letter-spacing:-.02em}
.cc__catb b em{font-style:normal;font-family:"Mono",ui-monospace,monospace;font-size:9px;
  font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--ink-3);
  margin-inline-start:7px;vertical-align:1px}
.cc__catb p{margin:4px 0 0;font-size:13px;line-height:1.55;color:var(--ink-2)}
.cc__sw{position:relative;flex-shrink:0;width:44px;height:25px;border:0;padding:0;
  cursor:pointer;border-radius:999px;background:var(--line);transition:background .3s}
.cc__sw.on{background:var(--brand)}
.cc__sw[disabled]{cursor:default;background:var(--sage)}
.cc__sw i{position:absolute;top:3px;inset-inline-start:3px;width:19px;height:19px;
  border-radius:99px;background:#fff;box-shadow:0 2px 6px rgba(20,26,60,.28);
  transition:transform .4s cubic-bezier(.32,.72,0,1)}
.cc__sw.on i,.cc__sw[disabled] i{transform:translateX(19px)}
.cc__sw:focus-visible{outline:3px solid var(--brand);outline-offset:3px}

/* the page */
.cc__tbl{width:100%;border-collapse:collapse;margin-top:12px;font-size:12.5px}
.cc__tbl th{text-align:start;font-family:"Mono",ui-monospace,monospace;font-size:9px;
  font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--ink-3);
  padding:0 12px 7px 0}
.cc__tbl td{padding:7px 12px 7px 0;border-top:1px solid var(--line);color:var(--ink-2)}
.cc__tbl td:first-child{font-family:"Mono",ui-monospace,monospace;color:var(--ink)}
.cc__pageact{display:flex;align-items:center;gap:12px;flex-wrap:wrap;
  margin-top:clamp(22px,3vw,32px)}
.cc__saved{display:flex;align-items:center;gap:9px;margin:0;font-size:13.5px;
  font-weight:700;color:var(--mint)}
.cc__saved svg{width:16px;height:16px;flex-shrink:0}
.foot__ck{margin-inline-start:auto;color:var(--ink-2);font-weight:700;font-size:13.5px}
.foot__ck:hover{color:var(--brand)}

@media (max-width:640px){
  /* On a phone the card was 340px of a 844px screen and it sat on top of
     whatever you were reading until you answered — which is most of why it
     felt like the page would not let you press anything. Closed, it is a
     compact bar: the notice still says what it is for, in two lines, and
     Choose opens it to full size when somebody actually wants to choose. */
  .cc{inset-inline:12px;bottom:max(12px,env(safe-area-inset-bottom));width:auto;padding:14px;border-radius:20px}
  .cc__x{top:11px;inset-inline-end:11px}
  .cc:not(.is-open) .cc__ic{width:30px;height:30px}
  .cc:not(.is-open) .cc__ic svg{width:15px;height:15px}
  .cc__act{margin-top:12px;gap:7px}
  .cc__act .btn{flex:1 1 0;min-width:0;padding:11px 10px;font-size:13.5px}
  .cc__choose{flex:1 1 100%;justify-content:center;padding:6px 4px}
  .cc.is-open .cc__act .btn{flex:1 1 100%}
  .foot__ck{margin-inline-start:0}
}
/* .wrap centres a 1180 column, so capping the page at 760 re-centred it and
   the switches stopped lining up with the heading above them. The measure
   belongs on the content, not on the container that does the centring. */
.ckpage{padding-bottom:clamp(60px,8vw,110px)}
.ckpage .cc__list,.ckpage .cc__pageact{max-width:760px}

/* ── draft overrides ─────────────────────────────────────────────── */
.cc{border:3px solid var(--ink)!important;box-shadow:6px 7px 0 var(--ink)!important}
.cc .btn{transform:none;height:44px;font-size:15px;box-shadow:3px 3px 0 var(--ink)}
/* While the cookie notice is up it owns the bottom of a phone screen. */
@media (max-width:767px){ html:has(body.has-cc)>[data-cerevision-a11y]{display:none!important} }
