/* ===========================================================
   Dora's Handbag — Street Dog Fund
   Palette taken from the fund's own artwork: wordmark purple,
   lavender wash, warm cream, brass charm gold, paw black.
   Type: Faustina (warm serif, echoes the wordmark) / Hanken
   Grotesk (body) / DM Mono (receipt + labels).
   =========================================================== */

:root {
  /* colour — sampled from the brand artwork */
  --plum:       #5a3a7a;   /* wordmark purple */
  --plum-deep:  #3b2552;   /* dark sections */
  --plum-dark:  #2a1a3c;   /* footer */
  --night:      #1b1120;   /* hero band */
  --logo-ink:   #3a2a26;   /* the lockup's brown lettering */
  --plum-mid:   #4a2f66;
  --lavender:   #8d79a8;   /* the handbag leather */
  --lav-pale:   #ede7f2;   /* background wash */
  --lav-line:   #d9cde4;
  --gold:       #c2a05a;   /* the brass heart charm */
  --gold-deep:  #a8853e;
  --gold-pale:  #e8d9b4;
  --cream:      #f6f1ea;
  --paper:      #fbf8f4;
  --ink:        #2e2433;
  --ink-soft:   #5f5168;

  /* type */
  --display: "Faustina", Georgia, "Times New Roman", serif;
  --body:    "Hanken Grotesk", -apple-system, "Segoe UI", sans-serif;
  --mono:    "DM Mono", ui-monospace, "SFMono-Regular", monospace;

  /* layout */
  --shell: 1180px;
  --gutter: 24px;
  --section-y: clamp(74px, 9vw, 134px);
  --radius: 14px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* keep anchor targets clear of the sticky masthead */
  scroll-padding-top: 96px;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--paper);
  color: var(--ink);
  padding: 12px 18px;
  font-family: var(--mono);
  font-size: .8rem;
}
.skip:focus { left: 12px; top: 12px; }

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ─────────────────────────── type ─────────────────────────── */

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.016em;
  margin: 0;
  text-wrap: balance;
}

h1 { font-size: clamp(2.75rem, 6.6vw, 5rem); line-height: 1.02; }
h2 { font-size: clamp(1.9rem, 3.7vw, 2.95rem); }
h3 { font-size: 1.32rem; }

h1 em, h2 em { font-style: normal; color: var(--gold-deep); }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.lede { font-size: 1.19rem; line-height: 1.6; }

.eyebrow {
  font-family: var(--mono);
  font-size: .71rem;
  letter-spacing: .19em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: .55em;
  align-items: center;
}
.eyebrow-ink { color: var(--plum); }
.eyebrow .dot { opacity: .55; }

/* ─────────────────────────── buttons ─────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  font-family: var(--body);
  font-size: .96rem;
  font-weight: 600;
  letter-spacing: .005em;
  text-decoration: none;
  padding: 14px 26px;
  border: 2px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: transform .18s ease, background-color .18s ease,
              color .18s ease, border-color .18s ease;
}

.btn-primary {
  background: var(--plum);
  color: #fff;
  border-color: var(--plum);
}
.btn-primary:hover {
  background: var(--plum-mid);
  border-color: var(--plum-mid);
  transform: translateY(-2px);
}

.btn-gold {
  background: var(--gold);
  color: var(--plum-dark);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-pale);
  border-color: var(--gold-pale);
  transform: translateY(-2px);
}

/* outline — light text, for dark sections */
.btn-outline {
  background: transparent;
  color: var(--paper);
  border-color: rgba(251, 248, 244, .42);
}
.btn-outline:hover { border-color: var(--paper); transform: translateY(-2px); }

/* outline — dark text, for light sections */
.btn-outline-ink {
  color: var(--plum);
  border-color: var(--lav-line);
}
.btn-outline-ink:hover { border-color: var(--plum); background: rgba(90, 58, 122, .06); }

.btn-lg { padding: 15px 31px; font-size: .9rem; }

.btn-block { width: 100%; }

/* a seam borrowed from the handbag, used only where it earns its place */
.stitched { position: relative; }
.stitched::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1.5px dashed currentColor;
  border-radius: inherit;
  opacity: .26;
  pointer-events: none;
}

/* ─────────────────────────── masthead ─────────────────────────── */

.masthead {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(27, 17, 32, .93);
  backdrop-filter: blur(10px);
}

.masthead-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--paper);
}

.brand-paw {
  width: 32px;
  height: 32px;
  flex: none;
  fill: var(--lavender);
  transform: rotate(-12deg);
}

.brand-text { display: flex; flex-direction: column; line-height: 1.08; }

.brand-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.42rem;
  letter-spacing: -0.022em;
}

.brand-sub {
  font-family: var(--mono);
  font-size: .6rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 3px;
}

.site-nav { display: flex; align-items: center; gap: 28px; }

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav ul a {
  font-size: .95rem;
  font-weight: 500;
  color: rgba(251, 248, 244, .78);
  text-decoration: none;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.site-nav ul a:hover { color: var(--paper); border-bottom-color: var(--gold); }

.nav-give { padding: 11px 22px; font-size: .9rem; }

.menu-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  background: none;
  border: 0;
  padding: 10px 2px;
  color: var(--paper);
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  cursor: pointer;
}

.menu-bars {
  position: relative;
  width: 22px;
  height: 2px;
  background: currentColor;
  transition: background .2s ease;
}
.menu-bars::before,
.menu-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: currentColor;
  transition: transform .22s ease;
}
.menu-bars::before { top: -7px; }
.menu-bars::after  { top: 7px; }

.menu-toggle[aria-expanded="true"] .menu-bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-bars::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-bars::after  { transform: translateY(-7px) rotate(-45deg); }

/* ─────────────────────────── hero ─────────────────────────── */

/* light, the way the fund's own artwork is set — the lockup's purple ink
   needs a pale ground to read against */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(387px, 39.6vw, 585px);
  background:
    radial-gradient(1000px 560px at 76% 8%, rgba(141, 121, 168, .26), transparent 64%),
    linear-gradient(168deg, var(--lav-pale) 0%, var(--cream) 58%, var(--paper) 100%);
  overflow: hidden;
}

/* paws dropped around the band, no two the same size or angle */
.paw-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.paw-field {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  color: var(--plum);
}
.paw {
  position: absolute;
  fill: currentColor;
}
.p1 { top:  7%; left:  2%; width: clamp(34px, 4.4vw, 58px); opacity: .10; transform: rotate(-18deg); }
.p2 { top: 23%; left: 45%; width: clamp(22px, 2.8vw, 36px); opacity: .08; transform: rotate(13deg); }
.p3 { bottom: 11%; left: 7%; width: clamp(26px, 3.2vw, 42px); opacity: .09; transform: rotate(26deg); }
.p4 { top:  5%; left: 63%; width: clamp(18px, 2.1vw, 28px); opacity: .07; transform: rotate(-9deg); }
.p5 { bottom: 24%; left: 38%; width: clamp(15px, 1.8vw, 24px); opacity: .08; transform: rotate(33deg); }
.p6 { top: 47%; left: 29%; width: clamp(13px, 1.5vw, 19px); opacity: .07; transform: rotate(-32deg); }
.p7 { bottom:  5%; right: 27%; width: clamp(20px, 2.4vw, 32px); opacity: .07; transform: rotate(17deg); }
.p8 { top: 15%; left: 21%; width: clamp(11px, 1.3vw, 17px); opacity: .06; transform: rotate(46deg); }

.hero-inner { position: relative; z-index: 2; width: 100%; }

.hero-copy {
  max-width: min(27rem, 46%);
  padding-block: clamp(41px, 4.95vw, 68px);
}

/* the logo, with the fund name and strapline set in type beneath it so
   they stay crisp and can be reworded without touching the artwork */
.hero-lockup {
  --logo-w: clamp(216px, 24.3vw, 338px);
  width: var(--logo-w);
  margin-bottom: clamp(20px, 2.34vw, 31px);
}

.hero-logo { display: block; width: 100%; height: auto; }

.hero-title {
  color: var(--ink);
  font-size: clamp(1.67rem, 2.79vw, 2.48rem);
  margin-bottom: 1rem;
}
.hero-title .line { display: block; }
.hero-title em { font-style: normal; color: var(--gold-deep); }

.hero-sub {
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 1.9rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Dora and her person, cut out and standing on the wash */
.hero-photo {
  position: absolute;
  z-index: 1;
  right: calc(max(0px, (100vw - var(--shell)) / 2) + clamp(14px, 3.2vw, 80px));
  top: 6%;
  bottom: 0;
  width: auto;
  max-width: 52%;
  margin: 0;
  pointer-events: none;
  /* shadow sits on the figure so the img's bottom fade doesn't clip it */
  filter: drop-shadow(0 20px 26px rgba(42, 26, 60, .2));
}
.hero-photo img {
  display: block;
  height: 100%;
  width: auto;
  max-width: 100%;
}

/* three plain claims, directly under the band */
.factstrip { background: var(--paper); border-top: 1px solid var(--lav-line); }

.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
  /* margin-inline and padding-inline come from .shell — do not reset them
     here or the strip loses its centring and its gutter */
  margin-block: 0;
  border-bottom: 1px solid var(--lav-line);
}
.facts li {
  padding: 22px 26px 24px 0;
  font-family: var(--mono);
  font-size: .76rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.facts li + li { border-left: 1px solid var(--lav-line); padding-left: 26px; }
.facts strong { color: var(--plum); font-weight: 500; }

/* ─────────────────────────── figures ─────────────────────────── */

/* cut-outs, standing on the page the way the fund's artwork sets them */
.dora-photo { margin: 0; }
.dora-photo img,
.contact-dog img {
  width: 100%;
  height: auto;
}

.contact-dog img { filter: drop-shadow(0 16px 22px rgba(42, 26, 60, .2)); }

/* this one is cut off mid-chest, so it dissolves instead of ending on a
   hard line. No shadow here — a soft edge and a cast shadow contradict
   each other */
@supports (mask-image: linear-gradient(#000, #000)) {
  .hero-photo img {
    -webkit-mask-image: linear-gradient(to bottom, #000 86%, transparent 100%);
            mask-image: linear-gradient(to bottom, #000 86%, transparent 100%);
  }
}

/* Dora's card is a cut-out on transparent: a soft, low shadow
   lifts it off the page */
.dora-photo img { filter: drop-shadow(0 14px 18px rgba(42, 26, 60, .12)) drop-shadow(0 2px 4px rgba(42, 26, 60, .06)); }

/* Dora, resting beside the contact details */
.contact-dog {
  margin: clamp(26px, 3vw, 44px) 0 0;
  max-width: 300px;
}
.contact-dog img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 14px 20px rgba(42, 26, 60, .2));
}

/* ─────────────────────────── sections ─────────────────────────── */

.section { padding-block: var(--section-y); }

.section-cream { background: var(--cream); }

.section-plum {
  background: var(--plum-deep);
  color: rgba(251, 248, 244, .84);
}
.section-plum h2,
.section-plum h3 { color: var(--paper); }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: end;
  margin-bottom: clamp(38px, 4.5vw, 62px);
}

.section-head-note {
  font-size: 1.03rem;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 34em;
}
.section-plum .section-head-note { color: rgba(251, 248, 244, .74); }

/* ─────────────────────────── about ─────────────────────────── */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.34fr) minmax(0, .66fr);
  gap: clamp(32px, 5vw, 74px);
  align-items: start;
}

.about-main h2 { margin-bottom: 1.5rem; }
.about-main p { color: var(--ink-soft); }
.about-main .lede { color: var(--ink); margin-bottom: 1.2em; }

.term-note {
  background: var(--paper);
  color: var(--plum);
  border-radius: var(--radius);
  padding: 34px 30px;
  font-size: .98rem;
  line-height: 1.62;
  rotate: -0.9deg;
  box-shadow: 0 20px 40px -28px rgba(42, 26, 60, .45);
}
.term-note p { color: var(--ink-soft); }

.term-word {
  font-family: var(--display);
  font-size: 1.52rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--plum) !important;
  margin-bottom: .7rem;
}
.term-word span {
  display: block;
  font-family: var(--mono);
  font-size: .66rem;
  font-weight: 400;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-top: 6px;
}

.term-foot {
  font-size: .92rem;
  line-height: 1.55;
  color: var(--ink-soft) !important;
  margin-top: 1.1em;
  padding-top: 1.1em;
  border-top: 1.5px dashed var(--lav-line);
}

/* ──────────────── signature: the receipt ──────────────── */

.handbag-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 410px);
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}

.handbag-intro h2 { margin-bottom: 1.4rem; }
.handbag-intro > p { margin-bottom: 2rem; max-width: 30em; }

.handbag-still {
  margin: clamp(26px, 2.6vw, 34px) 0 0;
  max-width: 420px;
}
.handbag-still img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 22px 28px rgba(0, 0, 0, .42));
}

.receipt-wrap {
  position: relative;
  align-self: center;
}

.receipt {
  background: var(--paper);
  color: var(--plum);
  border-radius: var(--radius);
  padding: clamp(28px, 3.2vw, 40px) clamp(24px, 2.8vw, 36px);
  box-shadow: 0 16px 50px -22px rgba(0, 0, 0, .5);
}

.receipt-head {
  font-family: var(--display);
  font-size: clamp(1.45rem, 2vw, 1.7rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--gold);
}
.receipt-head span {
  display: block;
  font-family: var(--mono);
  font-size: .62rem;
  font-weight: 400;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-top: 9px;
}

.receipt-lines {
  list-style: none;
  margin: 0 0 1.4rem;
  padding: 0;
  font-family: var(--mono);
  font-size: .83rem;
}

.receipt-lines li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 9px 0;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .42s ease, transform .42s ease;
}
.receipt-lines .item { color: var(--ink); }
.receipt-lines .cost {
  order: 2;
  font-weight: 500;
  color: var(--plum);
  white-space: nowrap;
}
/* dotted leader, the way a paper bill sets it */
.receipt-lines li::after {
  content: "";
  order: 1;
  flex: 1 1 auto;
  min-width: 18px;
  margin-bottom: .22em;
  border-bottom: 1.5px dotted var(--lav-line);
}
.receipt-lines .free .item,
.receipt-lines .free .cost { color: var(--gold-deep); }

.receipt.is-printed li { opacity: 1; transform: none; }
.receipt.is-printed li:nth-child(1) { transition-delay: .05s; }
.receipt.is-printed li:nth-child(2) { transition-delay: .13s; }
.receipt.is-printed li:nth-child(3) { transition-delay: .21s; }
.receipt.is-printed li:nth-child(4) { transition-delay: .29s; }
.receipt.is-printed li:nth-child(5) { transition-delay: .37s; }
.receipt.is-printed li:nth-child(6) { transition-delay: .45s; }
.receipt.is-printed li:nth-child(7) { transition-delay: .56s; }

.receipt-total {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--display);
  font-size: 1.14rem;
  font-weight: 700;
  letter-spacing: -0.018em;
  color: var(--plum);
  padding-top: 1.1rem;
  border-top: 1px solid var(--lav-line);
  margin-bottom: 1rem;
}

.receipt-foot {
  font-family: var(--mono);
  font-size: .63rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  text-align: center;
  color: var(--gold-deep);
}

/* ─────────────────────────── meet dora ─────────────────────────── */

.dora-grid {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  gap: clamp(32px, 5vw, 74px);
  align-items: center;
}

.dora-photo { margin: 0; }

.dora-copy h2 { margin-bottom: 1.4rem; }
.dora-copy p { color: var(--ink-soft); }
.dora-copy .lede { color: var(--ink); margin-bottom: 1.2em; }

.pullquote {
  font-family: var(--display);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.45rem, 2.5vw, 1.95rem);
  line-height: 1.22;
  letter-spacing: -0.015em;
  color: var(--plum);
  margin: 1.9rem 0 0;
  padding-left: 22px;
  border-left: 3px solid var(--gold);
}

.signoff {
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--plum) !important;
  margin-top: 1.5em;
}

/* ─────────────────────────── gallery ─────────────────────────── */

/* a square grid so every column ends level at the bottom. 13 items with the
   first spanning 2x2 fills exactly 4x4, and 2x8 when it drops to two columns */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.tile {
  display: flex;
  flex-direction: column;
  margin: 0;
}

.tile-feature { grid-column: span 2; grid-row: span 2; }

.tile-btn {
  display: block;
  position: relative;
  flex: 1;
  width: 100%;
  aspect-ratio: 1 / 1;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--lav-pale);
  cursor: pointer;
  line-height: 0;
}
.tile-feature .tile-btn { aspect-ratio: auto; }
.tile-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.2, .7, .3, 1);
}
.tile-btn:hover img { transform: scale(1.04); }

/* a clip reads as a clip before you click it */
.tile-play {
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(27, 17, 32, .55);
  backdrop-filter: blur(3px);
  box-shadow: 0 4px 16px rgba(27, 17, 32, .35);
  transition: background .2s ease, scale .2s ease;
}
.tile-play svg { width: 26px; height: 26px; fill: var(--paper); margin-left: 3px; }
.tile-btn:hover .tile-play { background: rgba(27, 17, 32, .74); scale: 1.06; }

.tile-time {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(27, 17, 32, .62);
  color: var(--paper);
  font-family: var(--mono);
  font-size: .64rem;
  line-height: 1.5;
  letter-spacing: .04em;
}

.tile figcaption {
  font-family: var(--mono);
  font-size: .71rem;
  letter-spacing: .03em;
  color: var(--ink-soft);
  margin-top: 11px;
  line-height: 1.45;
  /* a fixed two-line box keeps every row the same height */
  height: 2.9em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gallery-cta { margin-top: clamp(32px, 4vw, 52px); text-align: center; }

/* ─────────────────────────── ways to give ─────────────────────────── */

.give-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.give-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  background: var(--plum-mid);
  border: 1px solid rgba(141, 121, 168, .34);
  border-radius: var(--radius);
  padding: 32px 28px;
}
.give-card p { flex: 1; font-size: .98rem; }
.give-card .btn { margin-top: 6px; }

.give-card-feature { background: var(--plum); border-color: var(--lavender); }

.give-kind {
  flex: none !important;
  font-family: var(--mono);
  font-size: .64rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold) !important;
  margin: 0;
}

/* ─────────────────────────── contact ─────────────────────────── */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 450px);
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
}

.contact-copy h2 { margin-bottom: 1.4rem; }
.contact-copy .lede { color: var(--ink-soft); }

.contact-list { list-style: none; margin: 2.4rem 0 0; padding: 0; }
.contact-list li {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 16px;
  align-items: baseline;
  padding: 16px 0;
  border-top: 1.5px dashed var(--lav-line);
}
.contact-label {
  font-family: var(--mono);
  font-size: .67rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.contact-list a {
  font-family: var(--display);
  font-size: 1.14rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--plum);
  text-decoration: none;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 1px;
}
.contact-list a:hover { color: var(--gold-deep); }

.contact-form {
  background: var(--cream);
  color: var(--plum);
  border-radius: var(--radius);
  padding: 34px 30px;
}
.contact-form::after { inset: 10px; }

.field { margin-bottom: 18px; position: relative; z-index: 1; }

.field label {
  display: block;
  font-family: var(--mono);
  font-size: .67rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 7px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--lav-line);
  border-radius: 9px;
  padding: 12px 14px;
  transition: border-color .18s ease;
}
.field textarea { resize: vertical; min-height: 112px; }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--plum); }

.contact-form .btn { position: relative; z-index: 1; }

.form-note {
  font-family: var(--mono);
  font-size: .73rem;
  line-height: 1.5;
  color: var(--plum);
  margin: 14px 0 0;
  min-height: 1.2em;
  position: relative;
  z-index: 1;
}
.form-note.is-error { color: #a3402c; }

/* spam trap: off-screen for people, still filled in by bots */
.field-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ─────────────────────────── footer ─────────────────────────── */

.footer {
  background: var(--plum-dark);
  color: rgba(251, 248, 244, .68);
  padding-block: clamp(48px, 6vw, 74px);
}

.footer-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: clamp(22px, 4vw, 54px);
  align-items: center;
}

.footer-mark {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.24rem;
  letter-spacing: -0.02em;
  color: var(--paper);
  margin: 0 0 .3em;
}
.footer-mark .brand-paw { width: 27px; height: 27px; fill: var(--lavender); }

.footer-tag {
  font-family: var(--mono);
  font-size: .64rem;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0;
}

.footer-note { font-size: .92rem; line-height: 1.55; margin: 0; max-width: 38em; }

.footer-sign {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: -0.015em;
  color: var(--lavender);
  margin: 0;
  white-space: nowrap;
}

.footer-legal {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(251, 248, 244, .12);
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .06em;
  color: rgba(251, 248, 244, .5);
}
.footer-legal p { margin: 0; }
.footer-legal a { color: var(--lavender); text-decoration: none; }
.footer-legal a:hover,
.footer-legal a:focus-visible { color: var(--paper); text-decoration: underline; }

/* ─────────────────────────── lightbox ─────────────────────────── */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5vmin;
  background: rgba(42, 26, 60, .95);
  opacity: 0;
  transition: opacity .25s ease;
}
.lightbox.is-open { opacity: 1; }
.lightbox[hidden] { display: none; }

.lightbox-figure { margin: 0; max-width: min(1000px, 92vw); text-align: center; }
.lightbox-figure img,
.lightbox-figure video {
  display: block;
  max-height: 78vh;
  max-width: 100%;
  width: auto;
  margin-inline: auto;
  border-radius: var(--radius);
  background: #000;
}
.lightbox-figure [hidden] { display: none; }
.lightbox-figure figcaption {
  font-family: var(--mono);
  font-size: .79rem;
  letter-spacing: .04em;
  color: rgba(251, 248, 244, .78);
  margin-top: 18px;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 46px;
  height: 46px;
  font-size: 2rem;
  line-height: 1;
  color: var(--paper);
  background: none;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}
.lightbox-close:hover { background: rgba(251, 248, 244, .14); }

/* ─────────────────────────── load-in ─────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(14px);
  animation: rise .72s cubic-bezier(.2, .7, .3, 1) forwards;
}
.reveal[data-step="1"] { animation-delay: .06s; }
.reveal[data-step="2"] { animation-delay: .16s; }
.reveal[data-step="3"] { animation-delay: .26s; }
.reveal[data-step="4"] { animation-delay: .40s; }
.reveal[data-step="5"] { animation-delay: .52s; }

@keyframes rise { to { opacity: 1; transform: none; } }

/* ─────────────────────────── responsive ─────────────────────────── */

@media (max-width: 1000px) {
  .about-grid,
  .handbag-grid,
  .dora-grid,
  .contact-grid,
  .section-head { grid-template-columns: 1fr; }

  .section-head { align-items: start; }
  .dora-photo { max-width: 400px; }
  .dora-grid { gap: 40px; }
  .term-note { max-width: 520px; }
  .receipt-wrap { max-width: 430px; }
  .handbag-still { max-width: 430px; }

  .give-grid { grid-template-columns: 1fr; }
  .give-card p { flex: none; }

  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .site-nav {
    position: fixed;
    inset: 76px 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--night);
    border-bottom: 1px solid rgba(141, 121, 168, .28);
    padding: 10px var(--gutter) 26px;
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    transition: max-height .3s ease, visibility .3s;
  }
  .site-nav.is-open { max-height: 72vh; overflow-y: auto; visibility: visible; }

  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav ul a {
    display: block;
    padding: 15px 0;
    font-size: 1.06rem;
    border-bottom: 1px solid rgba(141, 121, 168, .22);
  }
  .site-nav ul a:hover { border-bottom-color: rgba(141, 121, 168, .22); }
  .nav-give { margin-top: 20px; font-size: .98rem; padding: 14px 24px; }

  .menu-toggle { display: inline-flex; }

  .hero { display: block; min-height: 0; }
  .hero-copy { max-width: none; padding-block: clamp(36px, 6.3vw, 54px) 0; }
  .hero-lockup { --logo-w: min(100vw - 2 * var(--gutter), 297px); }
  .hero-photo {
    position: relative;
    inset: auto;
    width: min(100%, 423px);
    max-width: none;
    margin: clamp(13px, 2.7vw, 23px) auto 0;
  }
  .hero-photo img { height: auto; width: 100%; }
  .p4, .p6, .p7 { display: none; }

  .gallery { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  :root { --gutter: 18px; }

  body { font-size: 1.02rem; }

  .facts { grid-template-columns: 1fr; }
  .facts li { padding: 15px 0; }
  .facts li + li { border-left: 0; border-top: 1px solid var(--lav-line); padding-left: 0; }

  .hero-actions .btn { flex: 1 1 100%; }

  .gallery { grid-template-columns: 1fr; }
  .tile-feature { grid-column: span 1; grid-row: span 1; }
  .tile-feature .tile-btn { aspect-ratio: 1 / 1; }

  .contact-list li { grid-template-columns: 1fr; gap: 5px; }

  .term-note,
  .contact-form { padding: 28px 22px; }

  .term-note { rotate: 0deg; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-delay: 0ms !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .receipt-lines li { opacity: 1; transform: none; }
  .tile-btn:hover img { transform: none; }
}
