/* ============================================================
   Humane Society of Atchison — core styles
   Loaded on every page. Brand: teal + amber + coral on cream,
   Chewy (display) + Nunito (body). Matches the coming-soon page.
   ============================================================ */

:root {
  --teal: #1f6f7d;
  --teal-dk: #17545f;
  --teal-lt: #2b8ba8;
  --amber: #e0913a;
  --amber-dk: #cf8130;
  --coral: #e0503a;
  --coral-dk: #c9412c;
  --cream: #faf7f1;
  --cream-2: #f3eee3;
  --card: #ffffff;
  --ink: #232a2d;
  --ink-soft: #5c686c;
  --line: #e8e2d6;
  --ok: #2e9e6b;
  --err: #cf3b45;
  --shadow: 0 18px 45px -18px rgba(20, 50, 60, .32);
  --shadow-sm: 0 6px 18px -10px rgba(20, 50, 60, .4);
  --wrap: 1160px;           /* legacy; containers are full-bleed now */
  --team-ph: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 400'><defs><linearGradient id='g' x1='0' y1='0' x2='1' y2='1'><stop offset='0' stop-color='%23f3eee3'/><stop offset='1' stop-color='%23ffffff'/></linearGradient></defs><rect width='400' height='400' fill='url(%23g)'/><g fill='%231f6f7d' opacity='.9' transform='translate(120 150) rotate(-18)'><ellipse cx='0' cy='30' rx='34' ry='30'/><ellipse cx='-38' cy='-8' rx='13' ry='17'/><ellipse cx='-13' cy='-30' rx='13' ry='17'/><ellipse cx='13' cy='-30' rx='13' ry='17'/><ellipse cx='38' cy='-8' rx='13' ry='17'/></g><g fill='%23e0913a' opacity='.9' transform='translate(268 232) rotate(16)'><ellipse cx='0' cy='22' rx='24' ry='21'/><ellipse cx='-27' cy='-4' rx='9' ry='12'/><ellipse cx='-9' cy='-20' rx='9' ry='12'/><ellipse cx='9' cy='-20' rx='9' ry='12'/><ellipse cx='27' cy='-4' rx='9' ry='12'/></g><g fill='%231f6f7d' opacity='.18'><circle cx='60' cy='330' r='8'/><circle cx='84' cy='352' r='6'/><circle cx='330' cy='70' r='8'/><circle cx='352' cy='48' r='6'/></g><text x='200' y='352' text-anchor='middle' font-family='Nunito,Segoe UI,Arial,sans-serif' font-size='19' font-weight='800' fill='%235c686c'>Photo coming soon</text></svg>");  /* paw-print "photo coming soon" placeholder (team cards) */
  --gutter: clamp(22px, 4vw, 64px);
  --radius: 16px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }  /* the hidden attribute must beat class display rules (e.g. .admin-login{display:grid}) */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: "Nunito", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: var(--teal); }

h1, h2, h3, .display {
  font-family: "Chewy", "Nunito", system-ui, cursive;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: .01em;
  color: var(--teal);
}
h2 { font-size: clamp(26px, 4.2vw, 38px); margin-bottom: .4em; }
h3 { font-size: clamp(20px, 2.6vw, 25px); }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* Full-bleed layout: every container spans the viewport with a fluid gutter. */
.wrap { width: 100%; max-width: none; margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--ink-soft); }
.center { text-align: center; }
.section { padding: clamp(48px, 7vw, 88px) 0; }
.section--alt { background: var(--cream-2); }
.lede { font-size: clamp(16px, 2.2vw, 19px); color: var(--ink-soft); max-width: 60ch; }
.eyebrow {
  display: inline-block; font-weight: 800; font-size: 12.5px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--coral-dk);
  background: rgba(224,80,58,.10); padding: 6px 14px; border-radius: 999px; margin-bottom: 14px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 9px; cursor: pointer;
  font-family: "Nunito", sans-serif; font-weight: 800; font-size: 16px;
  text-decoration: none; padding: 13px 26px; border-radius: 999px; border: 0;
  background: var(--teal); color: #fff; transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
  box-shadow: 0 12px 24px -14px rgba(31,111,125,.8);
}
.btn:hover { transform: translateY(-2px); background: var(--teal-dk); }
.btn--amber { background: var(--amber); box-shadow: 0 12px 24px -14px rgba(224,145,58,.8); }
.btn--amber:hover { background: var(--amber-dk); }
.btn--coral { background: var(--coral); box-shadow: 0 12px 24px -14px rgba(224,80,58,.8); }
.btn--coral:hover { background: var(--coral-dk); }
.btn--ghost { background: transparent; color: var(--teal); border: 2px solid var(--line); box-shadow: none; }
.btn--ghost:hover { background: #fff; border-color: var(--teal); transform: translateY(-2px); }
.btn--lg { font-size: 17px; padding: 15px 30px; }

/* ── Topbar ── */
/* Topbar — a slim teal card above the header card */
.topbar { background: transparent; color: #fff; font-size: 13.5px; padding: 10px var(--gutter) 0; }
.topbar .wrap {
  max-width: none; display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 6px 8px 6px 14px; background: var(--teal-dk); border-radius: 999px;
  box-shadow: 0 14px 30px -18px rgba(23,84,95,.7);
}
.topbar__hours, .topbar__addr { font-weight: 700; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; max-width: 46vw; overflow: hidden; text-overflow: ellipsis; }
.topbar__addr { color: #cfe0e2; }
.topbar__ico { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(255,255,255,.14); font-size: 12px; flex: 0 0 auto; }
.topbar__call {
  color: var(--teal-dk); background: #fff; text-decoration: none; font-weight: 800; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 6px; border-radius: 999px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.topbar__call .topbar__ico { background: rgba(31,111,125,.14); }
.topbar__call:hover { transform: translateY(-1px); box-shadow: 0 8px 18px -10px rgba(0,0,0,.4); }
@media (max-width: 1100px) { .topbar__addr { display: none; } }

/* ── Header / nav ── */
/* Header — a floating card pinned to the top */
#site-header { display: contents; } /* so .site-header sticks to the viewport, not to its own wrapper */
.site-header { position: sticky; top: 0; z-index: 100; background: transparent; padding: 10px var(--gutter); pointer-events: none; }
.site-header .wrap {
  pointer-events: auto; max-width: none; padding: 8px 12px 8px 12px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: rgba(255,255,255,.97); border: 1px solid var(--line); border-radius: 20px;
  box-shadow: 0 18px 40px -22px rgba(20,50,60,.45);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; padding: 2px; }
.brand img { height: 46px; width: auto; border-radius: 12px; border: 1px solid var(--line); background: #fff; }
.brand__text { font-family: "Chewy", cursive; font-size: 20px; color: var(--teal); line-height: 1; }
.brand__text span { display: block; font-size: 14px; color: var(--amber-dk); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav > a, .nav__item > a {
  text-decoration: none; color: var(--ink); font-weight: 700; font-size: 15px;
  padding: 9px 14px; border-radius: 999px; white-space: nowrap; transition: background .15s ease, color .15s ease;
}
.nav > a:hover, .nav__item > a:hover { background: var(--cream-2); color: var(--teal); }
.nav .is-active { color: var(--teal); background: var(--cream-2); }
.nav__item { position: relative; }
.nav__menu {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 220px; background: #fff;
  border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow);
  padding: 8px; display: none; z-index: 50;
}
.nav__item::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 8px; } /* hover bridge to the menu */
.nav__item:hover .nav__menu { display: block; }
.nav__menu a { display: block; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 14.5px; padding: 9px 12px; border-radius: 10px; }
.nav__menu a:hover { background: var(--cream-2); color: var(--teal); }
.nav__ico, .nav__chev { display: none; }
.nav__cta { color: #fff !important; margin-left: 8px; }
.nav-backdrop { display: none; }
.nav__cta:hover { color: #fff !important; }
.nav-toggle { display: none; background: none; border: 0; color: var(--teal); cursor: pointer; padding: 6px; }
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 900px) {
  .nav-toggle { display: block; position: relative; z-index: 3; }
  .site-header { padding: 8px var(--gutter); }
  .site-header .wrap { padding: 6px 8px 6px 10px; }
  .brand img { height: 42px; }
  .nav-toggle svg line { transition: transform .25s cubic-bezier(.32,.72,0,1), opacity .2s ease; transform-origin: 12px 12px; }
  body.nav-open .nav-toggle .l1 { transform: translateY(5px) rotate(45deg); }
  body.nav-open .nav-toggle .l2 { opacity: 0; }
  body.nav-open .nav-toggle .l3 { transform: translateY(-5px) rotate(-45deg); }
  .nav-backdrop {
    display: block; position: fixed; inset: 0; z-index: 1; background: rgba(20,40,45,.45); pointer-events: auto;
    backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px);
    opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility 0s linear .3s;
  }
  body.nav-open .nav-backdrop { opacity: 1; visibility: visible; transition: opacity .2s ease, visibility 0s; }
  .nav {
    position: absolute; top: calc(100% - 2px); left: var(--gutter); right: var(--gutter); z-index: 2; pointer-events: auto;
    display: flex; flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 10px;
    box-shadow: 0 30px 60px -20px rgba(20,50,60,.45);
    opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.98); transform-origin: top right;
    transition: opacity .22s ease, transform .28s cubic-bezier(.32,.72,0,1), visibility 0s linear .3s;
    max-height: calc(100vh - 140px); overflow-y: auto; overscroll-behavior: contain;
  }
  .nav.open { opacity: 1; visibility: visible; transform: none; transition: opacity .2s ease, transform .3s cubic-bezier(.32,.72,0,1), visibility 0s; }
  .nav > a, .nav__item > a { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-radius: 14px; font-size: 16px; }
  .nav__ico { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--cream-2); font-size: 17px; flex: 0 0 auto; }
  .nav a.is-active .nav__ico { background: rgba(31,111,125,.14); }
  .nav__chev { display: inline-block; margin-left: auto; color: var(--ink-soft); transition: transform .2s ease; }
  .nav__item.open .nav__chev { transform: rotate(180deg); }
  .nav__menu { position: static; display: none; box-shadow: none; border: 0; border-radius: 0; margin: 0 0 6px 46px; padding: 0; }
  .nav__item.open .nav__menu { display: block; }
  .nav__menu a { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px; font-size: 15px; }
  .nav__menu .nav__ico { width: 30px; height: 30px; font-size: 15px; }
  .nav__cta { text-align: center; justify-content: center; margin: 8px 0 0; padding: 13px 18px !important; border-radius: 999px !important; }
  body.nav-open { overflow: hidden; }
  .topbar { padding: 8px var(--gutter) 0; }
  .topbar .wrap { justify-content: space-between; padding: 5px 6px 5px 12px; }
  .topbar__hours { font-size: 12.5px; }
  .topbar__hours .topbar__ico { display: none; }
  @media (max-width: 420px) { .topbar__hours { display: none; } .topbar .wrap { justify-content: center; padding-left: 6px; } }
}
@media (prefers-reduced-motion: reduce) { .nav, .nav-backdrop, .nav-toggle svg line, .nav__chev { transition: none !important; } }

/* ── Footer (cards on the teal band) ── */
.site-footer { background: var(--teal-dk); color: #dfeaec; margin-top: 0; }
.site-footer .wrap { padding-top: 56px; padding-bottom: 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.1fr; gap: 24px; max-width: 1400px; margin: 0 auto; align-items: start; }
.fcard {
  background: #fff; color: var(--ink); border-radius: 20px; overflow: hidden; box-shadow: 0 24px 50px -24px rgba(0,0,0,.5);
  display: flex; flex-direction: column; transition: transform .22s cubic-bezier(.32,.72,0,1), box-shadow .22s ease;
}
.fcard:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -24px rgba(0,0,0,.55); }
.fcard__band {
  display: grid; place-items: center; padding: 22px 22px 18px; border-bottom: 1px solid var(--line);
  background: radial-gradient(160px 90px at 50% 115%, rgba(31,111,125,.22), transparent 70%), linear-gradient(160deg, var(--cream-2), #fff);
}
.fcard__band img { height: 72px; width: auto; border-radius: 10px; }
.fcard__band--ico { font-size: 34px; line-height: 1; height: 84px; padding: 0; }
.fcard__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 12px; flex: 1 1 auto; }
.site-footer h4 { font-family: "Chewy", cursive; color: var(--teal); font-weight: 400; font-size: 22px; letter-spacing: .01em; text-transform: none; margin: 0; line-height: 1.1; }
.fcard--brand p { color: var(--ink-soft); font-size: 14.5px; margin: 0; }
.fcard__btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 4px; }
.fcard__btns .btn { padding: 9px 14px; font-size: 13.5px; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.footer-list a { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 14.5px; padding: 6px 8px; border-radius: 10px; transition: background .15s ease, color .15s ease; }
.footer-list a:hover { background: var(--cream-2); color: var(--teal); }
.footer-list .ico, .frow .ico { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--cream-2); font-size: 14px; flex: 0 0 auto; }
.footer-contact { display: grid; gap: 10px; font-size: 14.5px; color: var(--ink); }
.frow { display: flex; gap: 10px; align-items: flex-start; line-height: 1.45; font-weight: 600; overflow-wrap: anywhere; }
.frow a { color: var(--teal); text-decoration: none; font-weight: 800; }
.frow a:hover { text-decoration: underline; }
.frow .muted { color: var(--ink-soft); font-weight: 600; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.15); max-width: 1400px; margin: 34px auto 0; padding-top: 20px; font-size: 13px; color: #9fb6b9; text-align: center; }
.footer-bottom a { color: #cfe0e2; }

@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } .fcard--brand { grid-column: 1 / -1; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } .fcard--brand { grid-column: auto; } }

/* ── Forms ── */
.form { display: grid; gap: 14px; }
.form label { font-weight: 700; font-size: 14px; color: var(--ink); display: block; margin-bottom: 5px; }
.form input, .form select, .form textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px;
  font-family: inherit; font-size: 15.5px; background: #fff; color: var(--ink);
}
.form textarea { min-height: 130px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(31,111,125,.15);
}
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .form .row2 { grid-template-columns: 1fr; } }
.form .hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; overflow: hidden; }
.form-note { font-size: 13.5px; color: var(--ink-soft); }
.form-status { font-weight: 700; padding: 10px 0; }
.form-status.ok { color: var(--ok); }
.form-status.err { color: var(--err); }

/* ── Lightbox (tap a card photo to enlarge) ── */
.animal-card__photo img { cursor: zoom-in; }
#hs-lb {
  position: fixed; inset: 0; z-index: 2000; background: rgba(15,30,34,.92);
  display: flex; align-items: center; justify-content: center; padding: 24px;
  opacity: 0; visibility: hidden; transition: opacity .22s ease, visibility 0s linear .25s;
  touch-action: none; overscroll-behavior: contain; user-select: none;
}
#hs-lb.open { opacity: 1; visibility: visible; transition: opacity .22s ease, visibility 0s; }
.hs-lb__img {
  max-width: min(96vw, 1200px); max-height: 92vh; width: auto; height: auto; border-radius: 14px;
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.8); transform-origin: center center; will-change: transform;
  transition: transform .08s linear; cursor: zoom-in; -webkit-user-drag: none;
}
#hs-lb.zoomed .hs-lb__img { cursor: grab; transition: none; }
#hs-lb.open .hs-lb__img { animation: hs-lb-in .28s cubic-bezier(.32,.72,0,1); }
@keyframes hs-lb-in { from { opacity: 0; transform: scale(.94); } }
.hs-lb__close {
  position: fixed; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,.14); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; z-index: 1;
  display: grid; place-items: center; transition: background .15s ease, transform .15s ease;
}
.hs-lb__close:hover { background: rgba(255,255,255,.28); transform: rotate(90deg); }
body.hs-lb-open { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { #hs-lb, .hs-lb__img { transition: none; animation: none !important; } }

/* ── Reveal animation ── */
/* ── Skip link (first Tab stop on every page) ── */
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 3000; background: var(--teal); color: #fff; font-weight: 800; padding: 10px 16px; border-radius: 999px; text-decoration: none; transition: top .15s ease; }
.skip-link:focus { top: 12px; outline: 3px solid var(--amber); outline-offset: 2px; }
main:focus { outline: none; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
.footer-legal { display: flex; justify-content: center; gap: 18px; margin-top: 10px; }
.footer-legal a { color: #cfe0e2; font-weight: 700; text-decoration: none; font-size: 13px; }
.footer-legal a:hover { color: #fff; text-decoration: underline; }

/* ── Private-preview gate ── */
html.locked body > *:not(#hs-gate) { display: none !important; }
html.locked, html.locked body { height: 100%; overflow: hidden; }
#hs-gate { display: none; }
html.locked #hs-gate {
  display: flex; position: fixed; inset: 0; z-index: 2147483647;
  align-items: center; justify-content: center; padding: 24px;
  background: linear-gradient(160deg, var(--teal) 0%, var(--teal-dk) 100%);
}
.hs-gate__card {
  background: #fff; border-radius: 20px; overflow: hidden; max-width: 400px; width: 100%;
  text-align: center; box-shadow: 0 30px 70px rgba(0,0,0,.4); display: flex; flex-direction: column;
  animation: hs-gate-in .4s cubic-bezier(.32,.72,0,1);
}
@keyframes hs-gate-in { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.hs-gate__band {
  padding: 26px 26px 22px; border-bottom: 1px solid var(--line); display: grid; place-items: center;
  background: radial-gradient(160px 90px at 50% 115%, rgba(224,145,58,.22), transparent 70%), linear-gradient(160deg, var(--cream-2), #fff);
}
.hs-gate__logo { height: 84px; width: auto; border-radius: 12px; }
.hs-gate__body { padding: 20px 26px 22px; }
.hs-gate__eyebrow {
  display: inline-block; font-weight: 800; font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--coral-dk); background: rgba(224,80,58,.10); padding: 5px 12px; border-radius: 999px; margin-bottom: 10px;
}
.hs-gate__card h1 { font-size: 1.7rem; margin-bottom: 6px; }
.hs-gate__card p { color: var(--ink-soft); font-size: .95rem; margin-bottom: 18px; }
.hs-gate__card input {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 10px;
  font-family: inherit; font-size: 1rem; margin-bottom: 12px; box-sizing: border-box;
}
.hs-gate__card input:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px rgba(224,145,58,.2); }
.hs-gate__card button {
  width: 100%; padding: 13px; border: 0; border-radius: 999px; background: var(--amber);
  color: #fff; font-family: inherit; font-weight: 800; font-size: 1rem; cursor: pointer;
  transition: background .15s ease, transform .15s ease;
}
.hs-gate__card button:hover { background: var(--amber-dk); transform: translateY(-1px); }
.hs-gate__err { color: var(--err); font-size: .85rem; margin: 10px 0 0 !important; }
.hs-gate__foot { border-top: 1px solid var(--line); padding: 12px 26px 16px; font-size: 13px; font-weight: 700; color: var(--ink-soft); }
.hs-gate__foot a { color: var(--teal); text-decoration: none; white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .hs-gate__card { animation: none; } }

/* ── Lightbox (tap a card photo to enlarge) ── */
.animal-card__photo img { cursor: zoom-in; }
#hs-lb {
  position: fixed; inset: 0; z-index: 2000; background: rgba(15,30,34,.92);
  display: flex; align-items: center; justify-content: center; padding: 24px;
  opacity: 0; visibility: hidden; transition: opacity .22s ease, visibility 0s linear .25s;
  touch-action: none; overscroll-behavior: contain; user-select: none;
}
#hs-lb.open { opacity: 1; visibility: visible; transition: opacity .22s ease, visibility 0s; }
.hs-lb__img {
  max-width: min(96vw, 1200px); max-height: 92vh; width: auto; height: auto; border-radius: 14px;
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.8); transform-origin: center center; will-change: transform;
  transition: transform .08s linear; cursor: zoom-in; -webkit-user-drag: none;
}
#hs-lb.zoomed .hs-lb__img { cursor: grab; transition: none; }
#hs-lb.open .hs-lb__img { animation: hs-lb-in .28s cubic-bezier(.32,.72,0,1); }
@keyframes hs-lb-in { from { opacity: 0; transform: scale(.94); } }
.hs-lb__close {
  position: fixed; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,.14); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; z-index: 1;
  display: grid; place-items: center; transition: background .15s ease, transform .15s ease;
}
.hs-lb__close:hover { background: rgba(255,255,255,.28); transform: rotate(90deg); }
body.hs-lb-open { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { #hs-lb, .hs-lb__img { transition: none; animation: none !important; } }


/* ── Private-preview gate ── */
html.locked body > *:not(#hs-gate) { display: none !important; }
html.locked, html.locked body { height: 100%; overflow: hidden; }
#hs-gate { display: none; }
html.locked #hs-gate {
  display: flex; position: fixed; inset: 0; z-index: 2147483647;
  align-items: center; justify-content: center; padding: 24px;
  background: linear-gradient(160deg, var(--teal) 0%, var(--teal-dk) 100%);
}
.hs-gate__card {
  background: #fff; border-radius: 20px; padding: 36px 30px; max-width: 380px; width: 100%;
  text-align: center; box-shadow: 0 30px 70px rgba(0,0,0,.4);
}
.hs-gate__logo { height: 84px; width: auto; margin: 0 auto 16px; border-radius: 12px; }
.hs-gate__card h1 { font-size: 1.7rem; margin-bottom: 8px; }
.hs-gate__card p { color: var(--ink-soft); font-size: .95rem; margin-bottom: 18px; }
.hs-gate__card input {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 10px;
  font-size: 1rem; margin-bottom: 12px; box-sizing: border-box;
}
.hs-gate__card input:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px rgba(224,145,58,.2); }
.hs-gate__card button {
  width: 100%; padding: 13px; border: 0; border-radius: 999px; background: var(--amber);
  color: #fff; font-weight: 800; font-size: 1rem; cursor: pointer;
}
.hs-gate__card button:hover { background: var(--amber-dk); }
.hs-gate__err { color: var(--err); font-size: .85rem; margin-top: 10px; }

/* footer brand card: nonprofit / EIN line */
.fcard__legal { font-size: 12.5px; font-weight: 700; color: var(--ink-soft); margin: 8px 0 0; }
