/* Nestorly prototype: shared tokens and components. Bold black-figure style: thick black outlines, hard shadows, cream paper, navy text, cobalt accent, green for donations. */
:root{
  --paper:#F5F0E6; --ink:#141414; --navy:#14254F; --cobalt:#2251FF; --green:#1F9D55; --white:#ffffff; --muted:#4A5675; --soft:#E9E2D3; --burgundy:#7A1F2B; --amber:#E0A21B; --sun:#F6C344;
  --head:'DM Serif Display', Georgia, serif; --body:'Source Sans 3', Arial, sans-serif; --ui:'Outfit', Arial, sans-serif;
  color-scheme: light;
}
*{box-sizing:border-box}
[hidden]{display:none!important}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--paper);color:var(--navy);font-family:var(--body);font-size:20px;line-height:1.55}
body::before{content:"";position:fixed;inset:0 0 auto;height:env(safe-area-inset-top,0px);z-index:10;background:#FBEFC6}
img{max-width:100%}
.gut{padding-left:max(40px,env(safe-area-inset-left,0px));padding-right:max(40px,env(safe-area-inset-right,0px))}
.inner{max-width:1180px;margin:0 auto}
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,label.chip:focus-within,summary:focus-visible{outline:3px solid var(--cobalt);outline-offset:3px}

/* top bar */
.top{position:sticky;top:env(safe-area-inset-top,0px);z-index:5;background:#FBEFC6;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:20px 36px;padding-block:14px}
.top nav{display:flex;gap:28px;flex-wrap:wrap}
.top nav.r{justify-content:flex-end}
.top nav a{color:#14254F;text-decoration:none;font-family:var(--ui);font-weight:600;font-size:16px;letter-spacing:.04em;text-transform:uppercase}
.top nav a:hover{color:#1F9D55}
.top nav a.here{text-decoration:underline;text-decoration-thickness:3px;text-underline-offset:6px}
.logo{display:block;height:56px;width:auto}

/* footer */
.foot{background:var(--navy);color:var(--paper);padding-block:56px 40px;border-top:3px solid var(--ink)}
.foot .inner{display:grid;grid-template-columns:minmax(0,1.3fr) repeat(2,minmax(0,1fr));gap:40px}
.foot .mark{height:88px;width:auto}
.foot p{margin:14px 0 0;font-size:17px;max-width:42ch;color:#DCE3F5}
.foot h4{margin:0 0 12px;font-family:var(--ui);font-size:14px;letter-spacing:.1em;text-transform:uppercase;color:#C9D3F2}
.foot ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.foot a{color:var(--paper);text-decoration:none;font-size:18px}
.foot a:hover{text-decoration:underline}
.foot .base{grid-column:1/-1;border-top:1px solid rgba(245,240,230,.25);padding-top:18px;font-size:15px;color:#C9D3F2;display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}
.proto{position:fixed;right:max(14px,env(safe-area-inset-right,0px));bottom:calc(14px + env(safe-area-inset-bottom,0px));z-index:20;font-family:var(--ui);font-size:13px;font-weight:600;background:var(--ink);color:var(--white);border-radius:8px;padding:6px 12px;opacity:.85}

/* type */
h1.page{margin:0;font-family:var(--head);font-weight:400;font-size:clamp(38px,4.6vw,66px);line-height:1;text-transform:uppercase;text-wrap:balance}
h2.sec{margin:0;font-family:var(--head);font-weight:400;font-size:clamp(30px,3.4vw,48px);line-height:1.05;text-transform:uppercase;text-wrap:balance}
.lead{margin:0;color:var(--muted);max-width:60ch;font-size:21px}
.eyebrow{font-family:var(--ui);font-weight:700;font-size:14px;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}

/* buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;font-family:var(--ui);font-weight:700;font-size:19px;letter-spacing:.03em;text-transform:uppercase;padding:18px 32px;border-radius:12px;border:3px solid var(--ink);cursor:pointer;box-shadow:4px 4px 0 var(--ink);background:var(--cobalt);color:var(--white);text-decoration:none;line-height:1.2;text-align:center}
.btn:active{transform:translate(2px,2px);box-shadow:2px 2px 0 var(--ink)}
.btn.ghost{background:var(--white);color:var(--navy)}
.btn.green{background:var(--green)}
.btn.sm{font-size:16px;padding:11px 18px;box-shadow:3px 3px 0 var(--ink)}
.btn[disabled]{opacity:.4;cursor:default}
.link{color:var(--cobalt);font-weight:700}

/* cards */
.card{background:var(--white);border:3px solid var(--ink);border-radius:22px;box-shadow:6px 6px 0 var(--ink);padding:36px;min-width:0}
.box{border:3px solid var(--ink);border-radius:16px;padding:20px 22px;background:var(--paper);min-width:0}

/* forms */
.f{display:flex;flex-direction:column;gap:8px;min-width:0}
.f label,.lab{font-family:var(--ui);font-weight:700;font-size:18px}
.opt{font-family:var(--body);font-weight:400;color:var(--muted);font-size:16px}
.f small,.hint{color:var(--muted);font-size:16px}
input[type=text],input[type=email],input[type=url],input[type=tel],input[type=number],input[type=search],input[type=date],input[type=time],textarea,select{font:inherit;font-size:20px;color:var(--navy);background:var(--paper);border:3px solid var(--ink);border-radius:12px;padding:13px 16px;width:100%}
textarea{min-height:150px;resize:vertical;line-height:1.5}
.row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.row3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.chips{display:flex;flex-wrap:wrap;gap:10px}
label.chip,button.chip{cursor:pointer;display:inline-flex;align-items:center;gap:8px;border:3px solid var(--ink);border-radius:999px;padding:8px 16px;font-family:var(--ui);font-weight:600;font-size:16px;background:var(--white);color:var(--navy)}
label.chip input{position:absolute;opacity:0;width:1px;height:1px}
label.chip:has(input:checked),button.chip[aria-pressed="true"]{background:var(--ink);color:var(--white)}
.tick{display:flex;gap:14px;align-items:flex-start;font-size:19px;cursor:pointer;border:3px solid var(--ink);border-radius:14px;padding:14px 18px;background:var(--white)}
.tick input,.radio input{width:24px;height:24px;accent-color:var(--cobalt);flex:none;margin-top:3px}
.radio{display:flex;gap:12px;align-items:flex-start;font-size:19px;cursor:pointer}
.note{background:var(--paper);border-left:6px solid var(--navy);border-radius:0 12px 12px 0;padding:14px 18px;font-size:18px}
.note p{margin:0 0 6px}.note p:last-child{margin:0}

/* tabs */
.tabs{display:flex;gap:8px;flex-wrap:wrap;border-bottom:3px solid var(--ink);padding-bottom:0}
.tabs button{font-family:var(--ui);font-weight:700;font-size:17px;border:3px solid var(--ink);border-bottom:none;border-radius:14px 14px 0 0;padding:12px 20px;background:var(--soft);color:var(--navy);cursor:pointer;margin-bottom:-3px;display:inline-flex;gap:8px;align-items:center}
.tabs button[aria-selected="true"]{background:var(--white);padding-bottom:15px}
.badge{display:inline-grid;place-items:center;min-width:24px;height:24px;border-radius:999px;background:var(--cobalt);color:var(--white);font-size:14px;padding:0 6px}
.panel{background:var(--white);border:3px solid var(--ink);border-top:none;border-radius:0 0 22px 22px;padding:32px;display:flex;flex-direction:column;gap:22px;box-shadow:6px 6px 0 var(--ink)}

/* status pills */
.pill{display:inline-flex;align-items:center;gap:6px;font-family:var(--ui);font-weight:700;font-size:14px;letter-spacing:.04em;text-transform:uppercase;border:2px solid var(--ink);border-radius:999px;padding:4px 12px;background:var(--white);white-space:nowrap}
.pill.wait{background:#FCEFC7}.pill.ok{background:#D6F1E1}.pill.no{background:#F6D9DC}.pill.go{background:#DCE5FF}

/* small static tracker for dashboards */
.trk{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));position:relative;gap:8px}
.trk .ln{position:absolute;top:19px;height:8px;border:2px solid var(--ink);border-radius:8px;background:var(--white);overflow:hidden}
.trk .ln i{display:block;height:100%;background:var(--green)}
.trk .st{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px;font-family:var(--ui);font-weight:600;font-size:15px;color:var(--muted)}
.trk .st b{width:46px;height:46px;border-radius:50%;border:3px solid var(--ink);background:var(--white);display:grid;place-items:center;color:var(--ink);font-size:18px}
.trk .st.on{color:var(--navy)}
.trk .st.on b{background:var(--green);color:var(--white)}

/* list rows */
.item{border:3px solid var(--ink);border-radius:18px;padding:22px 24px;display:flex;flex-direction:column;gap:14px;background:var(--paper)}
.item-h{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;flex-wrap:wrap}
.item-h b{font-family:var(--ui);font-size:21px;display:block}
.item .meta{color:var(--muted);font-size:17px}
.acts{display:flex;gap:12px;flex-wrap:wrap}
.dl{display:grid;grid-template-columns:max-content minmax(0,1fr);gap:6px 18px;margin:0;font-size:18px}
.dl dt{font-family:var(--ui);font-weight:700}
.dl dd{margin:0}

@media (max-width:900px){
  /* phones: logo on top, then Join, Find and Sign in in one centred row */
  .top{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;column-gap:16px;row-gap:10px}
  .top > a{flex:0 0 100%;display:flex;justify-content:center;order:-1}
  .top nav,.top nav.r{flex-wrap:nowrap;justify-content:center;gap:16px}
  .top nav a{font-size:15px}
  .gut{padding-left:max(16px,env(safe-area-inset-left,0px));padding-right:max(16px,env(safe-area-inset-right,0px))}
  .foot .inner{grid-template-columns:1fr}
  .row,.row3{grid-template-columns:1fr}
  .card,.panel{padding:22px}
  .dl{grid-template-columns:1fr}
}
@media (prefers-reduced-motion:reduce){*{transition:none!important}}

/* Donation tracker: original website style (chosen 25 Oct). White card, grey line, stops turn green with a tick; one sentence below fades between stages. Stages are clickable. */
.ot{padding:36px;border:3px solid var(--ink);border-radius:16px;background:var(--white);color:#000}
.ot-stops{display:grid;grid-template-columns:repeat(4,1fr);margin:8px 0 26px;padding:0;list-style:none}
.ot-stop{position:relative;text-align:center}
.ot-stop+.ot-stop::before{content:"";position:absolute;top:30px;right:50%;width:100%;height:6px;background:#cfcfcf;transition:background .4s ease}
.ot-stop.on+.ot-stop.on::before{background:#18743a}
.ot-btn{all:unset;box-sizing:border-box;width:100%;cursor:pointer;display:flex;flex-direction:column;align-items:center;gap:12px;font-family:var(--ui);font-weight:600;font-size:19px;color:#000;padding:0 4px;border-radius:12px}
.ot-btn:focus-visible{outline:3px solid var(--cobalt);outline-offset:4px}
.ot-btn:hover .ot-dot{border-color:#18743a}
.ot-dot{position:relative;z-index:1;display:grid;place-items:center;width:66px;height:66px;border:4px solid #8a8a8a;border-radius:50%;background:var(--white);color:transparent;transition:background .4s,border-color .4s,color .4s}
.ot-dot svg{width:32px;height:32px}
.ot-stop.on .ot-dot{border-color:#18743a;background:#18743a;color:var(--white)}
.ot-stop.cur .ot-btn{text-decoration:underline;text-decoration-thickness:3px;text-underline-offset:6px}
.ot-status{min-height:3.2em;margin:0;font-size:21px;color:#000;transition:opacity .5s ease;max-width:52ch}
.ot-status.out{opacity:0}
.ot-hint{margin:6px 0 0;font-size:15px;color:var(--muted);font-family:var(--ui);font-weight:600}
.ot.static{padding:22px 18px}
.ot.static .ot-stops{margin:4px 0 0}
.ot.static .ot-dot{width:48px;height:48px;border-width:3px}
.ot.static .ot-dot svg{width:24px;height:24px}
.ot.static .ot-stop+.ot-stop::before{top:21px;height:5px}
.ot.static .ot-btn{font-size:15px;gap:8px;cursor:default}
@media (max-width:640px){
  .ot{padding:22px}
  .ot-stops{grid-template-columns:1fr;gap:0;margin-bottom:20px}
  .ot-stop{text-align:left;padding:6px 0}
  .ot-btn{flex-direction:row;gap:16px}
  .ot-dot{flex:none;width:54px;height:54px}
  .ot-stop+.ot-stop::before{top:auto;bottom:50%;left:24px;right:auto;width:6px;height:100%}
  .ot.static .ot-dot{width:44px;height:44px}
  .ot.static .ot-stop+.ot-stop::before{left:19px;width:5px;top:auto;height:100%}
}
@media (prefers-reduced-motion:reduce){.ot-dot,.ot-stop+.ot-stop::before,.ot-status{transition:none}}

/* Homepage style carried to every page (25 Oct): coloured header band with a wavy edge, chunky label headings, gentle reveals, chunky hover on buttons and cards. */
.phead{background:var(--pb);color:var(--pt);padding-block:64px 40px}
.phead .inner{display:flex;flex-direction:column;gap:18px}
.phead .lead,.phead .eyebrow,.phead p{color:var(--pt);opacity:.92}
.phead .link{color:var(--pt)}
.phead > .inner > *{margin:0}
.pwave{display:block;width:100%;height:28px;margin-top:-1px} /* half height (30 Oct) */
h1.lbl{font-family:var(--head);font-weight:400;font-size:clamp(40px,5.4vw,80px);line-height:1.3;text-transform:uppercase;color:var(--navy);margin:0}
/* Headlines sit straight on the background, no label boxes (30 Oct). span.l is still added by site.js, unstyled. */
h1.lbl > span.l,h2.sec > span.l{background:none;border:0;border-radius:0;padding:0;box-shadow:none}
h2.sec{line-height:1.3}
.btn{transition:transform .2s ease, box-shadow .2s ease}
.btn:hover{transform:translate(-2px,-2px);box-shadow:6px 6px 0 var(--ink)}
.item,.ec,.three .card,.steps li{transition:transform .3s ease, box-shadow .3s ease}
.item:hover,.three .card:hover,.steps li:hover{transform:translateY(-3px)}
.rv{transition:transform .8s ease, opacity .8s ease}
.js .rv:not(.in){transform:translateY(22px);opacity:.35}
@media (prefers-reduced-motion:reduce){.js .rv:not(.in){transform:none;opacity:1}.btn:hover,.item:hover{transform:none}}
.hero h1.lbl{color:var(--paper)}
.phead .saved{color:var(--navy)}

/* Band headlines: centred in every band. Colour by background (30 Oct): navy on cream, white and sun yellow; cream on cobalt, navy and burgundy. */
.phead h1.lbl{color:var(--pt)}
h1.lbl{text-align:center}
.phead .inner{align-items:center;text-align:center}
.phead .inner > div{display:flex;flex-direction:column;align-items:center;text-align:center;gap:14px}
.phead .hello,.phead .intro{justify-content:center}
.phead .acts{justify-content:center}
section.hero .inner{align-items:center!important;text-align:center}
.hero .inner p{margin-inline:auto}

/* Full-width colour bands with wavy top and bottom edges, used inside pages (26 Oct) */
html{overflow-x:clip}
.bleed{position:relative;margin-inline:calc(50% - 50vw);padding:72px max(24px,calc(50vw - 50% + 24px));background:var(--bb);margin-block:56px}
.bleed::before,.bleed::after{content:"";position:absolute;left:0;right:0;height:20px;background:var(--bb);-webkit-mask-size:100% 100%;mask-size:100% 100%;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}
.bleed::before{top:-19px;-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 40' preserveAspectRatio='none'%3E%3Cpath d='M0 40 L0 20 C240 40 480 0 720 16 S1200 36 1440 8 L1440 40 Z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 40' preserveAspectRatio='none'%3E%3Cpath d='M0 40 L0 20 C240 40 480 0 720 16 S1200 36 1440 8 L1440 40 Z'/%3E%3C/svg%3E")}
.bleed::after{bottom:-19px;-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 40' preserveAspectRatio='none'%3E%3Cpath d='M0 0 L0 22 C300 0 560 40 820 18 S1260 2 1440 28 L1440 0 Z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 40' preserveAspectRatio='none'%3E%3Cpath d='M0 0 L0 22 C300 0 560 40 820 18 S1260 2 1440 28 L1440 0 Z'/%3E%3C/svg%3E")}
.bleed .sec{color:var(--navy)}
h2.sec{color:var(--navy)!important}
.bleed h2.sec{color:inherit!important}
main:has(> .bleed:last-child){padding-bottom:0}
main > .bleed:last-child{margin-bottom:0}
main > .bleed:last-child::after{display:none}
@media (max-width:900px){.bleed{padding-block:52px}}

/* Neighbouring colour bands join directly, with no cream gap (26 Oct) */
.bleed:has(+ .bleed){margin-bottom:0;z-index:2}
.bleed + .bleed{margin-top:-56px;z-index:1}
.bleed + .bleed::before{display:none}
.bleed:has(+ .bleed)::after{z-index:3}
.bleed + .bleed{padding-top:96px}

/* Thin burgundy strip with wavy top and bottom, for one-line facts (26 Oct) */
.tstrip{position:relative;margin-inline:calc(50% - 50vw);background:var(--burgundy);color:var(--paper);padding:14px max(24px,calc(50vw - 50% + 24px));margin-bottom:0}
.tstrip::before,.tstrip::after{content:"";position:absolute;left:0;right:0;height:11px;background:var(--burgundy);-webkit-mask-size:100% 100%;mask-size:100% 100%;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}
.tstrip::before{top:-10px;-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 22' preserveAspectRatio='none'%3E%3Cpath d='M0 22 L0 11 C240 24 480 0 720 9 S1200 20 1440 4 L1440 22 Z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 22' preserveAspectRatio='none'%3E%3Cpath d='M0 22 L0 11 C240 24 480 0 720 9 S1200 20 1440 4 L1440 22 Z'/%3E%3C/svg%3E")}
.tstrip::after{bottom:-10px;z-index:2;-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 22' preserveAspectRatio='none'%3E%3Cpath d='M0 0 L0 12 C300 0 560 22 820 9 S1260 0 1440 15 L1440 0 Z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 22' preserveAspectRatio='none'%3E%3Cpath d='M0 0 L0 12 C300 0 560 22 820 9 S1260 0 1440 15 L1440 0 Z'/%3E%3C/svg%3E")}
.tstrip ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:6px 22px;font-family:var(--ui);font-weight:600;font-size:clamp(15px,1.25vw,18px);text-align:center}
@media (min-width:1100px){.tstrip ul{flex-wrap:nowrap;white-space:nowrap}}
.tstrip li{display:flex;align-items:center;gap:22px}
.tstrip li:first-child{color:var(--sun)}
.tstrip li+li::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--sun);display:inline-block;margin-right:0}
.tstrip{margin-bottom:-56px}
.tstrip + .bleed{margin-top:0}
.tstrip + .bleed::before{display:none}
.tstrip + .bleed{padding-top:84px}
.tstrip{margin-top:-56px;margin-bottom:22px}
.tstrip.mid{margin-top:0}

.isdone{background:#D6F1E1!important;color:var(--navy)!important}

/* ===== Shared (30 Oct): moved from the homepage so the Join page can use it ===== */
/* 2 How it works (30 Oct): centred heading, three columns, each box then its text; plays once on arrival */
.hiw{display:flex;flex-direction:column;align-items:center;gap:40px}
/* intro between the heading and the three steps (1 Nov): centred and balanced; ~72 characters a line so the 213-character text sits on 3 lines (60 would need 4) */
.hiw-intro{margin:-16px 0 4px;max-width:74ch;text-align:center;text-wrap:balance;font-family:var(--body);font-size:23px;line-height:1.55;color:var(--navy)}
.hiw-ready .hiw-intro .w{opacity:0;transition:opacity .35s ease}
.hiw > h2.hd{text-align:center}
.hiw-cols{list-style:none;margin:0;padding:0;width:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:72px;align-items:start}
.hiw-col{display:flex;flex-direction:column;gap:26px;min-width:0}
.hiw-box{display:flex;align-items:center;gap:18px;background:#fff;border:3px solid var(--ink);border-radius:20px;box-shadow:6px 6px 0 var(--ink);padding:16px 20px}
.hiw-box .wi{width:56px;height:56px;flex:none;border-radius:50%;background:var(--sun);border:3px solid var(--ink);display:grid;place-items:center}
.hiw-box .wi svg{width:33px;height:33px}
.hiw-box b{font-family:var(--ui);font-size:24px;line-height:1.2;color:var(--navy)}
.hiw-text{position:relative;margin:0;font-family:var(--body);font-size:21px;line-height:1.6;color:var(--navy)}
/* divider: centred in the gap to the left, only as tall as this column's text */
.hiw-line{position:absolute;top:0;height:var(--hiw-h,100%);left:-37px;width:2px;background:var(--navy)} /* --hiw-h: tallest step text in the row, set by site.js, so both dividers match */
.hiw-sep{display:none}
/* sequence states (only when motion is allowed; the script adds .hiw-ready) */
.hiw-ready .hiw-box{opacity:0;transform:translateY(14px);transition:opacity .4s ease,transform .4s ease}
.hiw-ready .hiw-text .w,.hiw-ready .hiw-line,.hiw-ready .hiw-sep{opacity:0;transition:opacity .35s ease}
.hiw-ready .on{opacity:1!important;transform:none!important}
@media (max-width:900px){
  .hiw{gap:30px}
  .hiw-intro{font-size:20px;margin:-8px 0 0}
  .hiw-cols{grid-template-columns:1fr;row-gap:28px}
  .hiw-line{display:none}
  .hiw-sep{display:block;width:64px;height:2px;background:var(--navy);margin:0 auto 6px}
}


/* How it works on a navy band (Join page): light text and dividers */
.navy .hiw > .hd,.navy .hiw-text{color:var(--paper)}
.navy .hiw-line,.navy .hiw-sep{background:var(--paper)}

/* Owl divider between neighbouring apricot sections (30 Oct): zero height, so layout and snapping are unchanged */
.owl-div{position:relative;height:0;z-index:4;pointer-events:none}
.owl-div > span{position:absolute;left:50%;top:0;width:40%;transform:translate(-50%,-50%);display:flex;align-items:center;gap:14px}
.owl-div > span::before,.owl-div > span::after{content:"";flex:1;height:2px;background:var(--navy)}
.owl-div img{display:block;flex:none;height:40px;width:auto}

/* Click-to-enlarge pop-up (30 Oct), same look as the homepage certificate; site.js wires up [data-enlarge] */
[data-enlarge]{cursor:zoom-in}
.enlhint{font-family:var(--ui);font-weight:600;font-size:16px;color:var(--navy)}
.enldlg{padding:0;border:0;background:none;max-width:none;max-height:none;overflow:visible}
.enldlg::backdrop{background:rgba(20,37,79,.8)}
.enldlg-in{position:relative}
.enldlg-box > *{margin:0!important;box-shadow:10px 10px 0 var(--ink)!important;cursor:auto}
.enldlg-x{position:absolute;z-index:2;top:-18px;right:-18px;width:48px;height:48px;border-radius:50%;background:#fff;border:3px solid var(--ink);color:var(--ink);font:700 30px/1 var(--ui);display:grid;place-items:center;cursor:pointer;padding:0}
.enldlg-x:hover{background:var(--sun)}
@media (prefers-reduced-motion:no-preference){
  .enldlg,.enldlg::backdrop{transition:opacity .2s ease}
  .enldlg.fading,.enldlg.fading::backdrop{opacity:0}
}

/* Firm trust (30 Oct): badges shown to experts and in the firm's account, and the signed pledge */
.fbadges{display:flex;flex-wrap:wrap;gap:8px}
.fbadge{display:inline-flex;align-items:center;gap:7px;font-family:var(--ui);font-weight:700;font-size:15px;border:2px solid var(--ink);border-radius:999px;padding:4px 12px 4px 6px;background:#fff;color:var(--navy)}
.fbadge svg{width:20px;height:20px;flex:none}
.fbadge.rel{background:#1F9D55;color:#fff}
.signed{background:#fff;border:3px solid var(--ink);border-radius:14px;padding:16px 18px;display:flex;flex-direction:column;gap:8px;box-shadow:4px 4px 0 var(--ink)}
.signed q{font-family:var(--body);font-size:18px;line-height:1.55;font-style:italic;quotes:"“" "”"}
.signed .by{font-family:var(--ui);font-weight:700;font-size:16px;color:var(--navy)}
.signed .by span{font-weight:600;color:var(--muted)}
/* signed-out prompt on Find an expert, in the pop-up style */
.gatecard{background:#fff;border:3px solid var(--ink);border-radius:20px;box-shadow:8px 8px 0 var(--ink);padding:36px 32px 30px;max-width:min(520px,86vw);box-sizing:border-box;display:flex;flex-direction:column;align-items:center;gap:18px;text-align:center;color:var(--navy)}
.gatecard h2{margin:0;font-family:var(--head);font-weight:400;font-size:clamp(26px,3vw,34px);line-height:1.2;text-transform:uppercase;text-wrap:balance}
.gatecard p{margin:0;font-size:19px;line-height:1.5}
.gatecard .acts{justify-content:center}

/* Page-specific top bar button (30 Oct): compact, white text, black outline, small hard shadow, ~44px tall */
.top nav.r{align-items:center}
.top nav a.topcta{display:inline-flex;align-items:center;min-height:44px;box-sizing:border-box;padding:0 16px;border:2px solid var(--ink);border-radius:10px;box-shadow:3px 3px 0 var(--ink);background:#2251FF;color:#fff;font-size:15px;white-space:nowrap;transition:transform .2s ease,box-shadow .2s ease,background .2s ease}
.top nav a.topcta:hover{color:#fff;background:#1A40D6;transform:translate(-1px,-1px);box-shadow:4px 4px 0 var(--ink)}
.top nav a.topcta.tang{background:#FF7A1A;color:#14254F}
.top nav a.topcta.tang:hover{background:#E86A0C;color:#14254F}
.top nav a.topcta:focus-visible{outline:3px solid var(--navy);outline-offset:3px}
@media (max-width:900px){
  .top nav a.topcta{min-height:40px;padding:0 10px;font-size:12.5px;letter-spacing:.02em}
}
@media (max-width:420px){
  .top nav,.top nav.r{gap:12px}
  .top nav a{font-size:14px}
  .top nav a.topcta{font-size:12px;padding:0 8px}
}
@media (prefers-reduced-motion:reduce){.top nav a.topcta:hover{transform:none}}

/* Signed-in top bar (2 Nov): role-aware links, bell with unread count, account menu */
.sr{position:absolute!important;left:-9999px;width:1px;height:1px;overflow:hidden}
.top nav.r{align-items:center}
.tb-pop{position:relative}
.tb-bell{all:unset;box-sizing:border-box;cursor:pointer;position:relative;width:46px;height:46px;display:grid;place-items:center;border-radius:50%;transition:background .2s ease}
.tb-bell svg{width:26px;height:26px}
.tb-bell:hover,.tb-bell[aria-expanded="true"]{background:rgba(20,37,79,.1)}
.tb-count{position:absolute;top:1px;right:-1px;min-width:22px;height:22px;box-sizing:border-box;padding:0 5px;border-radius:11px;background:#9B1236;color:#fff;border:2px solid #FBEFC6;font:700 12px/18px var(--ui);text-align:center}
.tb-acct{all:unset;box-sizing:border-box;cursor:pointer;display:flex;align-items:center;gap:8px;min-height:44px;padding:4px 12px 4px 4px;border:2px solid var(--ink);border-radius:999px;background:#fff;box-shadow:3px 3px 0 var(--ink);font:700 16px var(--ui);color:#14254F;transition:transform .2s ease,box-shadow .2s ease}
.tb-acct:hover{transform:translate(-1px,-1px);box-shadow:4px 4px 0 var(--ink)}
.tb-av{width:34px;height:34px;border-radius:50%;background:#14254F;color:#F5F0E6;display:grid;place-items:center;font:700 14px var(--ui);letter-spacing:.02em}
.tb-caret{width:12px;height:8px}
.tb-bell:focus-visible,.tb-acct:focus-visible{outline:3px solid var(--navy);outline-offset:3px}
.tb-menu{position:absolute;right:0;top:calc(100% + 12px);z-index:30;box-sizing:border-box;min-width:270px;max-width:calc(100vw - 32px);background:#fff;border:3px solid var(--ink);border-radius:16px;box-shadow:6px 6px 0 var(--ink);padding:8px;text-align:left}
.tb-menu ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:2px}
.top nav .tb-menu a,.tb-menu li > button{all:unset;box-sizing:border-box;cursor:pointer;display:block;width:100%;padding:10px 12px;border-radius:10px;font:600 17px/1.35 var(--body);color:#14254F;text-transform:none;letter-spacing:0}
.top nav .tb-menu a:hover,.tb-menu li > button:hover{background:#F5F0E6;color:#14254F}
.top nav .tb-menu a:focus-visible,.tb-menu li > button:focus-visible{outline:3px solid var(--navy);outline-offset:-3px}
.tb-menu li > button[data-signout]{border-top:2px solid #E9E2D3;border-radius:0 0 10px 10px;margin-top:4px}
.tb-who{display:flex;flex-direction:column;padding:8px 12px 12px;border-bottom:2px solid #E9E2D3;margin-bottom:6px}
.tb-who b{font:700 17px var(--ui);color:#14254F}
.tb-who span{font-size:14px;color:#4A5675;overflow-wrap:anywhere}
.tb-alerts{width:360px}
.tb-mh{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:6px 10px 10px;border-bottom:2px solid #E9E2D3;margin-bottom:6px}
.tb-mh b{font:700 17px var(--ui);color:#14254F}
.tb-mh button{all:unset;cursor:pointer;font:700 14px var(--ui);color:#14254F;text-decoration:underline;text-underline-offset:3px}
.tb-mh button:focus-visible{outline:3px solid var(--navy);outline-offset:2px}
.top nav .tb-alerts li a{font-size:16px;font-weight:400;border-left:4px solid transparent}
.top nav .tb-alerts li.unread a{font-weight:700;border-left-color:#FF7A1A;background:#FFF6EC}
.tb-alerts li a span{display:block;font-size:13px;font-weight:400;color:#4A5675;margin-top:2px}
.tb-alerts li.none{padding:12px;color:#4A5675;font-size:16px}
@media (max-width:700px){
  .tb-pop{position:static}
  .tb-menu{position:fixed;left:16px;right:16px;top:var(--tbm-top,120px);width:auto;max-width:none;max-height:calc(100svh - var(--tbm-top,120px) - 16px);overflow:auto}
  .tb-nm{display:none}
  .tb-acct{padding-right:10px}
}
/* footer: Reset prototype */
.foot-reset{all:unset;cursor:pointer;color:var(--paper);font-size:18px}
.foot-reset:hover{text-decoration:underline}
.foot-reset:focus-visible{outline:3px solid var(--paper);outline-offset:3px}
#reset-dlg .gatecard .btn{box-shadow:4px 4px 0 var(--ink)}
#reset-dlg .gatecard p{color:var(--navy);margin:0;max-width:none;font-size:19px}
