/* ============================================================
   Pet Rescue Portraits
   Palette is built around the studio backdrop in the photography —
   baby blue grounds, deep navy ink, the vivid photo blue for accents.
   ============================================================ */

:root {
  --sky-50:  #F4FBFE;   /* page ground */
  --sky-100: #E4F3FB;   /* alternating sections */
  --sky-200: #CDE9F6;   /* panels */
  --sky-300: #A9D8ED;   /* borders */

  --brand:    #1E93C7;  /* the blue out of the backdrop */
  --brand-dk: #14719D;
  --brand-lt: #7FCDEA;

  --ink:      #0B2A3A;  /* deep navy — body text and dark sections */
  --ink-soft: #3C5F71;
  --muted:    #6B8898;

  --line:     #CFE6F1;
  --white:    #FFFFFF;

  --wrap: 1200px;
  --r: 6px;

  --f-display: "Fraunces", Georgia, "Times New Roman", serif;
  --f-brand: "Montserrat", "Inter", -apple-system, "Segoe UI", sans-serif;
  --f-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --ease: cubic-bezier(.22,.61,.36,1);
  --shadow: 0 18px 44px rgba(11,42,58,.10);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--sky-50);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

h1, h2, h3 {
  font-family: var(--f-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 .5em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.95rem, 4.2vw, 3.2rem); }
h3 { font-size: 1.3rem; letter-spacing: -0.01em; }

p { margin: 0 0 1.1em; }
a { color: inherit; }

.wrap { width: min(var(--wrap), 100% - 3rem); margin-inline: auto; }
@media (max-width: 640px) { .wrap { width: min(var(--wrap), 100% - 2.25rem); } }

/* An element that is BOTH .wrap and narrower (max-width) would be centred by
   .wrap's auto margins — which pushed the hero copy into the middle of the
   frame, straight over the dog. This pins such a block to the same left gutter
   the rest of the page uses, while keeping the right margin auto. */
:root { --gutter: max(1.5rem, (100vw - var(--wrap)) / 2); }
@media (max-width: 640px) { :root { --gutter: 1.125rem; } }
.wrap.flush-left { margin-inline: var(--gutter) auto; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 300;
  background: var(--ink); color: #fff; padding: .75rem 1.25rem;
}
.skip:focus { left: 0; }

:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 2px; }

.eyebrow {
  font-size: .76rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--brand-dk); margin-bottom: 1.1rem;
}
.eyebrow-light { color: var(--brand-lt); }

/* Hand-drawn underline under a key phrase. */
.swoosh { position: relative; display: inline-block; }
.swoosh svg {
  position: absolute; left: 0; right: 0; bottom: -.16em;
  width: 100%; height: .3em; overflow: visible;
}
.swoosh path {
  fill: none; stroke: var(--brand-lt); stroke-width: 6;
  stroke-linecap: round; vector-effect: non-scaling-stroke;
}
.swoosh-ink path { stroke: var(--brand); }

/* ─────────────── Buttons ─────────────── */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--f-body); font-size: .93rem; font-weight: 600;
  letter-spacing: .02em; text-decoration: none;
  padding: .95rem 1.85rem; border-radius: var(--r);
  border: 1.5px solid transparent; cursor: pointer;
  transition: background .22s var(--ease), color .22s var(--ease),
              border-color .22s var(--ease), transform .22s var(--ease),
              box-shadow .22s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-solid  { background: var(--brand); color: #fff; box-shadow: 0 6px 18px rgba(30,147,199,.28); }
.btn-solid:hover { background: var(--brand-dk); box-shadow: 0 10px 26px rgba(30,147,199,.34); }

.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--brand); }

.btn-ghost  { border-color: var(--sky-300); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); background: var(--ink); color: #fff; }

.btn-outline { border-color: rgba(255,255,255,.55); color: #fff; background: transparent; }
.btn-outline:hover { background: #fff; color: var(--ink); border-color: #fff; }

.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--brand-lt); color: var(--ink); }

.btn-sm { padding: .6rem 1.15rem; font-size: .84rem; }
.btn-lg { padding: 1.1rem 2.4rem; font-size: 1rem; }
.btn[aria-disabled="true"] { opacity: .55; pointer-events: none; box-shadow: none; }

/* ─────────────── Header / nav ─────────────── */

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 200;
  padding: 1.1rem 0;
  transition: background .3s var(--ease), padding .3s var(--ease),
              box-shadow .3s var(--ease), border-color .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.stuck {
  background: rgba(244,251,254,.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: .6rem 0;
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(11,42,58,.06);
}

.header-inner { display: flex; align-items: center; gap: 1.5rem; }

.logo { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); transition: color .3s var(--ease); }
.logo-mark { width: auto; height: 44px; flex: none; transition: height .3s var(--ease); }
.site-header.stuck .logo-mark { height: 36px; }

.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-text strong {
  font-family: var(--f-brand); font-weight: 800; font-size: 1.02rem;
  letter-spacing: -.01em; white-space: nowrap;
}
/* "Pet" is the light half of the lockup. Uses the mid blue rather than the
   artwork's pale tint, which sits at about 1.9:1 on a near-white header. */
.logo-text strong b { color: var(--brand); font-weight: 800; }
.logo-text strong i {
  font-style: normal; font-weight: 400; font-size: .76em;
  letter-spacing: .17em; text-transform: uppercase;
}
.logo-text em {
  font-style: normal; font-size: .545rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted); margin-top: .22rem; white-space: nowrap;
}

/* Over a photo hero the whole lockup knocks out white. */
.site-header:not(.stuck):not(.nav-open) .logo { color: #fff; }
.site-header:not(.stuck):not(.nav-open) .logo-text strong b { color: var(--brand-lt); }
.site-header:not(.stuck):not(.nav-open) .logo-text em { color: rgba(255,255,255,.72); }
.site-header:not(.stuck):not(.nav-open) .nav-links > a { color: rgba(255,255,255,.9); }
.site-header:not(.stuck):not(.nav-open) .nav-links > a:hover,
.site-header:not(.stuck):not(.nav-open) .nav-links > a[aria-current="true"] { color: #fff; }
.site-header:not(.stuck):not(.nav-open) .nav-links > a::after { background: #fff; }
.site-header:not(.stuck):not(.nav-open) .burger span { background: #fff; }

.nav { display: flex; align-items: center; gap: 1.75rem; margin-left: auto; }
.nav-links { display: flex; align-items: center; gap: 1.6rem; }
.nav-links > a {
  text-decoration: none; font-size: .875rem; font-weight: 500; color: var(--ink-soft);
  position: relative; padding: .3rem 0; transition: color .2s var(--ease); white-space: nowrap;
}
.nav-links > a::after {
  content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 0;
  background: var(--brand); border-radius: 2px; transition: width .25s var(--ease);
}
.nav-links > a:hover { color: var(--ink); }
.nav-links > a:hover::after { width: 100%; }
/* Scroll-spy: whichever section you're actually in stays marked. */
.nav-links > a[aria-current="true"] { color: var(--ink); }
.nav-links > a[aria-current="true"]::after { width: 100%; }

.burger { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; margin-left: auto; }
.burger span {
  display: block; width: 24px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s var(--ease), background .3s var(--ease);
}
.burger span + span { margin-top: 6px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 1000px) {
  .burger { display: block; }
  .nav {
    position: fixed; inset: 0 0 auto 0; top: 0; padding: 5.5rem 2rem 2.25rem;
    background: var(--sky-50); flex-direction: column; align-items: stretch; gap: .2rem;
    transform: translateY(-100%); transition: transform .38s var(--ease);
    box-shadow: 0 20px 50px rgba(11,42,58,.12); border-bottom: 1px solid var(--line);
    margin-left: 0;
  }
  .nav.open { transform: translateY(0); }
  .nav-links { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-links > a {
    font-size: 1.2rem; font-family: var(--f-display); padding: .7rem 0;
    border-bottom: 1px solid var(--line);
  }
  .nav-links > a::after { display: none; }
  .nav-cta { margin-top: 1.25rem; }
}
@media (max-width: 420px) {
  .logo-text em { display: none; }
  .logo-text strong { font-size: .8rem; }
  .logo-mark { width: 34px; height: 34px; }
}

/* ─────────────── Hero ─────────────── */

.hero {
  position: relative; display: flex; align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: 8rem 0 7rem;
  overflow: hidden; isolation: isolate;
}
.hero-sm { min-height: 62vh; min-height: 62svh; padding: 9rem 0 5rem; }

/* The pit-bull frame is portrait, so on phones the dog sits low — anchor the
   crop to the bottom and let the copy sit above it. */
.hero-img-pit { object-position: 50% 30%; }
@media (max-width: 900px) { .hero-img-pit { object-position: 50% 78%; } }

.hero-img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
  object-position: 50% 22%;
}

.hero-scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(6,36,52,.76) 0%, rgba(6,36,52,.54) 34%, rgba(6,36,52,.15) 62%, rgba(6,36,52,0) 84%),
    linear-gradient(to top, rgba(6,36,52,.45), transparent 40%);
}

.hero-content { position: relative; max-width: 40rem; color: #fff; }
.hero-content h1 { color: #fff; margin-bottom: 1.4rem; }

.lede {
  font-size: 1.12rem; color: rgba(255,255,255,.88); max-width: 34em;
  margin-bottom: 2.2rem; line-height: 1.7;
}

.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.4rem; }
.hero-actions .btn-lg { padding: 1.15rem 3rem; font-size: 1.05rem; }

.textlink {
  color: #fff; font-size: .93rem; font-weight: 500;
  text-decoration: none; border-bottom: 1.5px solid rgba(255,255,255,.45);
  padding-bottom: 2px; transition: border-color .2s var(--ease);
}
.textlink:hover { border-bottom-color: #fff; }

.scroll-cue {
  position: absolute; bottom: 2.2rem; left: 50%; transform: translateX(-50%);
  width: 1px; height: 54px; background: rgba(255,255,255,.3);
  overflow: hidden; display: block;
}
.scroll-cue span {
  position: absolute; inset: 0; background: var(--brand-lt);
  animation: cue 2.1s var(--ease) infinite;
}
@keyframes cue {
  0%   { transform: translateY(-100%); }
  55%  { transform: translateY(0); }
  100% { transform: translateY(100%); }
}

@media (max-width: 900px) {
  .hero { padding: 7rem 0 5.5rem; align-items: flex-end; }
  .hero-sm { min-height: 0; padding: 8rem 0 3.5rem; align-items: center; }
  .hero-img { object-position: 54% 0%; }
  .hero-scrim {
    background: linear-gradient(to top, rgba(6,36,52,.92) 0%, rgba(6,36,52,.78) 38%, rgba(6,36,52,.34) 66%, rgba(6,36,52,.12) 100%);
  }
  .scroll-cue { display: none; }
}

/* ─────────────── Stats ─────────────── */

.stats { background: var(--sky-100); padding: 3.4rem 0; border-block: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; text-align: center; }
.stat { display: flex; flex-direction: column; align-items: center; gap: .5rem; }
.stat::before {
  content: ""; width: 38px; height: 3px; background: var(--brand);
  border-radius: 2px; margin-bottom: .7rem;
}
.stat-num {
  font-family: var(--f-display); font-size: clamp(2.4rem, 4.4vw, 3.4rem);
  font-weight: 500; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums;
}
.stat-label { font-size: .87rem; font-weight: 600; color: var(--ink); line-height: 1.5; }
.stat-label em { display: block; font-style: normal; font-weight: 400; color: var(--muted); font-size: .84rem; }

@media (max-width: 680px) { .stats-grid { grid-template-columns: 1fr; gap: 2rem; } }

/* ─────────────── Sections ─────────────── */

.section { padding: 7rem 0; }
.section-tight { padding-bottom: 5rem; }
.section-alt { background: var(--sky-100); border-block: 1px solid var(--line); }

.section-head { max-width: 44rem; margin-bottom: 3.5rem; }
.section-sub { color: var(--ink-soft); font-size: 1.05rem; max-width: 36em; margin-top: 1rem; }

/* ─────────────── Pillars ─────────────── */

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.pillar { border-top: 2px solid var(--brand); padding-top: 1.6rem; }
.pillar-num {
  display: block; font-family: var(--f-display); font-size: .95rem;
  color: var(--brand-dk); margin-bottom: .65rem; letter-spacing: .05em;
}
.pillar h3 { margin-bottom: .7rem; }
.pillar p { color: var(--ink-soft); font-size: .97rem; margin: 0; }

@media (max-width: 860px) { .pillars { grid-template-columns: 1fr; gap: 2.2rem; } }

/* ─────────────── Full-bleed bands ─────────────── */

.band {
  position: relative; display: flex; align-items: center;
  min-height: 62vh; padding: 6.5rem 0; overflow: hidden; isolation: isolate;
}
.band-tall { min-height: 78vh; }

.band-img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover; object-position: center 38%;
}
.band-img-right { object-position: 70% 28%; }

.band-scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(95deg, rgba(6,36,52,.9) 0%, rgba(6,36,52,.74) 38%, rgba(6,36,52,.24) 72%, rgba(6,36,52,.06) 100%),
    linear-gradient(to top, rgba(6,36,52,.45), transparent 45%);
}

.band-content { color: #fff; max-width: 40rem; }
.band-content h2 { color: #fff; margin-bottom: 1.3rem; }
.band-content p { color: rgba(255,255,255,.87); font-size: 1.07rem; line-height: 1.7; }
.band-content .btn { margin-top: 1rem; }

.band-kicker {
  font-family: var(--f-display); font-size: 1.4rem !important; font-style: italic;
  color: var(--brand-lt) !important; margin-top: 1.6rem; margin-bottom: 0;
}
.band-fine {
  font-size: .87rem !important; color: rgba(255,255,255,.62) !important;
  margin-top: 1.6rem; margin-bottom: 0; max-width: 32em;
}

@media (max-width: 900px) {
  .band, .band-tall { min-height: 0; padding: 5rem 0; }
  .band-scrim {
    background: linear-gradient(to bottom, rgba(6,36,52,.62) 0%, rgba(6,36,52,.88) 55%, rgba(6,36,52,.94) 100%);
  }
  .band-img { object-position: center 30%; }
}

/* ─────────────── Gallery ─────────────── */

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding-inline: 10px; }
.shot { margin: 0; overflow: hidden; background: var(--sky-200); cursor: zoom-in; border-radius: 3px; }
.shot img {
  width: 100%; height: 100%; object-fit: cover; aspect-ratio: 2/3;
  transition: transform .6s var(--ease);
}
.shot:hover img { transform: scale(1.045); }

@media (max-width: 980px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px)  { .gallery { grid-template-columns: repeat(2, 1fr); gap: 6px; padding-inline: 6px; } }

/* ─────────────── Split ─────────────── */

.split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 4rem; align-items: center; }
.split-photo img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 4px; }

@media (max-width: 880px) {
  .split { grid-template-columns: 1fr; gap: 2.5rem; }
  .split-photo { max-width: 420px; }
}

.ticks { list-style: none; padding: 0; margin: 2rem 0 0; }
.ticks li {
  position: relative; padding-left: 2rem; margin-bottom: 1.05rem;
  color: var(--ink-soft); font-size: 1rem; line-height: 1.6;
}
.ticks li strong { color: var(--ink); font-weight: 600; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .52em;
  width: 11px; height: 6px; border-left: 2px solid var(--brand);
  border-bottom: 2px solid var(--brand); transform: rotate(-45deg);
}
.ticks-sm li { font-size: .93rem; margin-bottom: .8rem; padding-left: 1.7rem; }
.ticks-light li { color: rgba(255,255,255,.85); }
.ticks-light li strong { color: #fff; }
.ticks-light li::before { border-color: var(--brand-lt); }

/* ─────────────── Tiers ─────────────── */

.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.tier {
  position: relative; border: 1px solid var(--line); border-radius: var(--r);
  padding: 2.3rem 1.9rem; background: #fff;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.tier:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.tier h3 { margin-bottom: .3rem; }
.tier-meta {
  font-size: .82rem; letter-spacing: .09em; text-transform: uppercase;
  color: var(--muted); font-weight: 600; margin-bottom: 1.2rem;
}
.tier-feature { border-color: var(--brand); border-width: 1.5px; }
.tier-flag {
  position: absolute; top: -.72rem; left: 1.9rem;
  background: var(--brand); color: #fff; font-size: .68rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; padding: .3rem .7rem; border-radius: 3px;
}
.tier-foot { margin-top: 2.4rem; color: var(--muted); font-size: .97rem; }
.tier-foot a { color: var(--brand-dk); text-underline-offset: 3px; }

@media (max-width: 900px) { .tiers { grid-template-columns: 1fr; } }

/* ─────────────── About ─────────────── */

.about-inner { max-width: 42rem; }
.about-inner p { color: var(--ink-soft); font-size: 1.06rem; line-height: 1.75; }
.sig {
  font-family: var(--f-display); font-size: 1.25rem; color: var(--ink) !important;
  margin-top: 2.2rem; line-height: 1.4;
}
.sig em { font-size: .82rem; font-family: var(--f-body); font-style: normal; color: var(--muted); letter-spacing: .04em; }
.about-inner a { color: var(--brand-dk); text-underline-offset: 3px; }

.reel { margin: 0; }
.reel video {
  width: 100%; height: auto; display: block; border-radius: 8px;
  background: var(--ink); box-shadow: var(--shadow); aspect-ratio: 16 / 9;
}
.reel figcaption {
  margin-top: .9rem; font-size: .87rem; color: var(--muted); text-align: center;
}

/* ─────────────── Help / support callouts ─────────────── */

.callout {
  background: var(--ink); color: #fff; border-radius: 10px;
  padding: 3.2rem clamp(1.75rem, 4vw, 3.4rem);
  display: grid; grid-template-columns: 1.4fr auto; gap: 2.5rem; align-items: center;
}
.callout h2 { color: #fff; margin-bottom: .7rem; font-size: clamp(1.7rem, 3vw, 2.3rem); }
.callout p { color: rgba(255,255,255,.82); margin: 0; max-width: 40em; }
.callout-actions { display: flex; flex-direction: column; gap: .7rem; }
@media (max-width: 860px) {
  .callout { grid-template-columns: 1fr; gap: 1.8rem; }
  .callout-actions { flex-direction: row; flex-wrap: wrap; }
}

/* ─────────────── Donate ─────────────── */

.donate-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3.5rem; align-items: start; }
@media (max-width: 920px) { .donate-grid { grid-template-columns: 1fr; gap: 2.5rem; } }

.donate-card {
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: 2.4rem; box-shadow: var(--shadow);
}
.donate-card h3 { margin-bottom: .4rem; }
.donate-note { font-size: .88rem; color: var(--muted); margin: 0; }

.amounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin: 1.6rem 0 1.4rem; }
.amount {
  display: block; text-align: center; text-decoration: none;
  border: 1.5px solid var(--sky-300); border-radius: var(--r);
  padding: .85rem .4rem; font-weight: 700; color: var(--ink); background: var(--sky-50);
  transition: border-color .2s var(--ease), background .2s var(--ease), transform .2s var(--ease);
}
.amount span { display: block; font-weight: 400; font-size: .72rem; color: var(--muted); margin-top: .15rem; }
.amount:hover { border-color: var(--brand); background: #fff; transform: translateY(-2px); }
.amount[aria-disabled="true"] { opacity: .55; pointer-events: none; }

.donate-cta { width: 100%; }

.usage { list-style: none; padding: 0; margin: 0; }
.usage li {
  display: flex; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line);
  color: var(--ink-soft); font-size: .98rem;
}
.usage li:last-child { border-bottom: 0; }
.usage b { color: var(--ink); font-weight: 600; }
.usage-amt {
  flex: none; width: 4.6rem; font-family: var(--f-display); font-size: 1.15rem;
  color: var(--brand-dk); font-variant-numeric: tabular-nums;
}

/* ─────────────── Donor wall ─────────────── */

.donors { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: .8rem; }
.donor {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 1rem 1.15rem; display: flex; align-items: baseline; justify-content: space-between; gap: .8rem;
}
.donor-name { font-weight: 600; font-size: .95rem; }
.donor-amt { font-family: var(--f-display); color: var(--brand-dk); font-size: 1rem; white-space: nowrap; }
.donor-note { grid-column: 1 / -1; font-size: .85rem; color: var(--muted); margin: .4rem 0 0; }

.donors-empty {
  border: 1.5px dashed var(--sky-300); border-radius: 10px;
  padding: 3rem 2rem; text-align: center; background: var(--sky-50);
}
.donors-empty h3 { margin-bottom: .5rem; }
.donors-empty p { color: var(--ink-soft); max-width: 34em; margin: 0 auto 1.5rem; }

/* ─────────────── Contact ─────────────── */

.contact { background: var(--ink); color: #fff; padding: 7rem 0; text-align: center; }
.contact h2 { color: #fff; margin-bottom: 2.2rem; }
.contact-actions { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; }
.contact-email { margin-top: 2.2rem; color: rgba(255,255,255,.6); font-size: .95rem; }
.contact-email a { color: var(--brand-lt); text-underline-offset: 3px; }

/* ─────────────── Footer ─────────────── */

.site-footer { background: var(--ink); color: rgba(255,255,255,.62); padding: 0 0 3rem; font-size: .88rem; }
.footer-inner {
  border-top: 1px solid rgba(255,255,255,.13); padding-top: 2.6rem;
  display: grid; gap: 1.4rem;
}
.footer-brand { display: flex; flex-direction: column; gap: .8rem; align-items: flex-start; }
.footer-brand .logo { color: #fff; }
.footer-brand .logo-mark { height: 52px; }
.footer-brand .logo-text strong b { color: var(--brand-lt); }
.footer-brand .logo-text em { color: rgba(255,255,255,.55); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.6rem; }
.footer-nav a { text-decoration: none; transition: color .2s var(--ease); }
.footer-nav a:hover { color: #fff; }
.footer-legal { margin: 0; font-size: .8rem; color: rgba(255,255,255,.4); }

@media (min-width: 760px) {
  .footer-inner { grid-template-columns: 1fr auto; align-items: start; }
  .footer-legal { grid-column: 1 / -1; }
}

/* ─────────────── Lightbox ─────────────── */

.lightbox {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(6,26,38,.95);
  display: flex; align-items: center; justify-content: center;
  padding: 4rem 1rem;
  opacity: 0; transition: opacity .28s var(--ease);
}
/* Must beat `.lightbox { display: flex }` — without this the closed overlay
   still covers the page and swallows every click on the site. */
.lightbox[hidden] { display: none; }
.lightbox.on { opacity: 1; }
.lightbox img {
  max-width: min(92vw, 780px); max-height: 86vh; width: auto; height: auto;
  object-fit: contain; box-shadow: 0 30px 80px rgba(0,0,0,.5);
}
.lb-close, .lb-prev, .lb-next {
  position: absolute; background: none; border: 0; color: rgba(255,255,255,.72);
  cursor: pointer; line-height: 1; padding: .6rem 1rem;
  transition: color .2s var(--ease), transform .2s var(--ease);
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { color: #fff; }
.lb-close { top: 1.1rem; right: 1.4rem; font-size: 2.6rem; }
.lb-prev, .lb-next { top: 50%; transform: translateY(-50%); font-size: 3.4rem; }
.lb-prev { left: .6rem; }
.lb-next { right: .6rem; }
.lb-prev:hover { transform: translateY(-50%) translateX(-3px); }
.lb-next:hover { transform: translateY(-50%) translateX(3px); }

@media (max-width: 620px) { .lb-prev, .lb-next { font-size: 2.4rem; } }

/* ─────────────── Reveal ─────────────── */

/* Scoped to .js so that with scripting off — or broken — everything is simply
   visible. The animation is an enhancement, never a prerequisite for reading. */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .75s var(--ease), transform .75s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-cue span { animation: none; }
  .btn:hover, .tier:hover, .amount:hover { transform: none; }
  .shot:hover img { transform: none; }
}
