/* ============================================================
   Tiny Steps Foundation — design system
   ============================================================ */

:root,
[data-theme='light'] {
  /* Surfaces */
  --color-bg: #fdfaf8;
  --color-surface: #ffffff;
  --color-surface-2: #fffcfb;
  --color-surface-offset: #f9efe9;
  --color-surface-offset-2: #f3e2da;
  --color-divider: #efe1da;
  --color-border: #e6d3ca;

  /* Text */
  --color-text: #453c37;
  --color-text-muted: #7e716a;
  --color-text-faint: #ab9d95;
  --color-text-inverse: #fdfaf8;

  /* Accent — rose clay from the logo */
  --color-primary: #a8543f;
  --color-primary-hover: #8c4231;
  --color-primary-active: #713426;
  --color-blush: #e3a596;
  --color-blush-soft: #f6e2db;

  /* Deep tone for contrast bands */
  --color-deep: #4a3d37;
  --color-deep-2: #3b302b;

  --shadow-sm: 0 1px 2px rgba(74, 61, 55, 0.06);
  --shadow-md: 0 6px 20px rgba(74, 61, 55, 0.08);
  --shadow-lg: 0 18px 44px rgba(74, 61, 55, 0.12);

  color-scheme: light;
}

[data-theme='dark'] {
  --color-bg: #1b1715;
  --color-surface: #241f1c;
  --color-surface-2: #292320;
  --color-surface-offset: #2b2320;
  --color-surface-offset-2: #342a26;
  --color-divider: #322a26;
  --color-border: #433833;

  --color-text: #ece3de;
  --color-text-muted: #a7988f;
  --color-text-faint: #7d6f68;
  --color-text-inverse: #241f1c;

  --color-primary: #eba795;
  --color-primary-hover: #f4bcac;
  --color-primary-active: #f8cfc3;
  --color-blush: #c98878;
  --color-blush-soft: #382b26;

  --color-deep: #2b2320;
  --color-deep-2: #221b18;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.38);
  --shadow-lg: 0 18px 44px rgba(0, 0, 0, 0.5);

  color-scheme: dark;
}

:root {
  /* Type scale */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.8125rem);
  --text-sm: clamp(0.875rem, 0.84rem + 0.18vw, 0.9375rem);
  --text-base: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --text-lg: clamp(1.125rem, 1.02rem + 0.5vw, 1.375rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.2vw, 2.125rem);
  --text-2xl: clamp(2rem, 1.3rem + 2.4vw, 3.25rem);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  --radius-sm: 0.375rem;
  --radius-md: 0.625rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;

  --content-narrow: 660px;
  --content-default: 1000px;
  --content-wide: 1220px;

  --transition-interactive: 200ms cubic-bezier(0.16, 1, 0.3, 1);

  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Work Sans', -apple-system, 'Segoe UI', sans-serif;
}

/* ---------- base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  min-height: 100dvh;
  line-height: 1.65;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background: var(--color-bg);
}

img,
svg,
picture,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: none;
}

[hidden] {
  display: none !important;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.14;
  text-wrap: balance;
  letter-spacing: -0.015em;
}

p,
li {
  text-wrap: pretty;
}

a {
  color: var(--color-primary);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

a,
button,
input,
textarea,
select,
label {
  transition:
    color var(--transition-interactive),
    background var(--transition-interactive),
    border-color var(--transition-interactive),
    box-shadow var(--transition-interactive),
    transform var(--transition-interactive);
}

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

::selection {
  background: var(--color-blush-soft);
  color: var(--color-text);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -100px;
  z-index: 200;
  background: var(--color-surface);
  color: var(--color-text);
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}
.skip-link:focus {
  top: var(--space-4);
}

/* ---------- layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: clamp(var(--space-5), 5vw, var(--space-12));
}
.wrap--default {
  max-width: var(--content-default);
}
.wrap--narrow {
  max-width: var(--content-narrow);
}

section {
  padding-block: clamp(var(--space-16), 9vw, var(--space-32));
}
section.tight {
  padding-block: clamp(var(--space-12), 6vw, var(--space-20));
}

.eyebrow {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}

.lede {
  font-size: var(--text-lg);
  line-height: 1.55;
  color: var(--color-text-muted);
  max-width: 60ch;
}

.muted {
  color: var(--color-text-muted);
}

.section-head {
  max-width: 62ch;
  margin-bottom: clamp(var(--space-8), 4vw, var(--space-12));
}
.section-head h2 {
  font-size: var(--text-xl);
}
.section-head p {
  margin-top: var(--space-4);
  color: var(--color-text-muted);
  max-width: 58ch;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}
.btn--primary {
  background: var(--color-primary);
  color: #fff;
}
[data-theme='dark'] .btn--primary {
  color: #241f1c;
}
.btn--primary:hover {
  background: var(--color-primary-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn--ghost {
  border-color: var(--color-border);
  color: var(--color-text);
  background: var(--color-surface);
}
.btn--ghost:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(-1px);
}
.btn--light {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}
.btn--light:hover {
  background: rgba(255, 255, 255, 0.24);
}
.btn--lg {
  padding: 1rem 2rem;
  font-size: var(--text-base);
}
.btn--block {
  width: 100%;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-8);
}

/* ---------- header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--color-bg) 88%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 250ms ease, box-shadow 250ms ease;
}
.header.is-scrolled {
  border-bottom-color: var(--color-divider);
  box-shadow: var(--shadow-sm);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  min-height: 4.5rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: var(--color-text);
  margin-right: auto;
}
.brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex: none;
}
.brand__name {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.brand__sub {
  display: block;
  font-family: var(--font-body);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-top: 2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}
.nav a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
}
.nav a:hover,
.nav a[aria-current='page'] {
  color: var(--color-text);
}
.nav a[aria-current='page'] {
  font-weight: 600;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.icon-btn {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  background: var(--color-surface);
  flex: none;
}
.icon-btn:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.menu-btn {
  display: none;
}

.nav__cta {
  display: none;
}
@media (max-width: 900px) {
  .menu-btn {
    display: grid;
  }
  .nav {
    position: fixed;
    inset: 4.5rem 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-divider);
    box-shadow: var(--shadow-lg);
    padding: var(--space-2) clamp(var(--space-5), 5vw, var(--space-12)) var(--space-6);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 200ms ease, transform 200ms ease;
  }
  .nav.is-open {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
  .nav a {
    padding: var(--space-4) 0;
    border-bottom: 1px solid var(--color-divider);
    font-size: var(--text-base);
  }
  .header__actions .btn {
    display: none;
  }
  .nav a.nav__cta {
    color: #fff;
    border-bottom: 0;
    padding: var(--space-4) var(--space-6);
  }
  [data-theme='dark'] .nav a.nav__cta {
    color: var(--color-bg);
  }
  .nav__cta {
    display: inline-flex;
    justify-content: center;
    margin-top: var(--space-5);
    width: 100%;
  }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(var(--space-12), 7vw, var(--space-24));
  background: linear-gradient(180deg, var(--color-surface-offset) 0%, var(--color-bg) 78%);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(var(--space-8), 5vw, var(--space-16));
  align-items: center;
}
.hero h1 {
  font-size: var(--text-2xl);
  letter-spacing: -0.025em;
}
.hero h1 em {
  font-style: italic;
  color: var(--color-primary);
}
.hero p.lede {
  margin-top: var(--space-6);
}
.hero__media {
  position: relative;
}
.hero__media img {
  width: 100%;
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}
.hero__badge {
  position: absolute;
  left: calc(-1 * var(--space-6));
  bottom: var(--space-8);
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-5);
  box-shadow: var(--shadow-md);
  max-width: 15rem;
}
.hero__badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  line-height: 1;
  color: var(--color-primary);
}
.hero__badge span {
  display: block;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: var(--space-2);
}

@media (max-width: 860px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }
  .hero__media {
    order: -1;
  }
  .hero__badge {
    left: var(--space-4);
    bottom: var(--space-4);
  }
}

/* ---------- stat band ---------- */
.stats {
  border-top: 1px solid var(--color-divider);
  border-bottom: 1px solid var(--color-divider);
  background: var(--color-surface-2);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-8);
  padding-block: clamp(var(--space-10), 5vw, var(--space-16));
}
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.4rem + 1.8vw, 2.75rem);
  font-weight: 500;
  line-height: 1;
  color: var(--color-primary);
}
.stat span {
  display: block;
  margin-top: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  max-width: 22ch;
}

/* ---------- cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: var(--space-5);
}
@media (min-width: 760px) {
  .card-grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }
}
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.card h3 {
  font-size: var(--text-lg);
  text-wrap: normal;
}
.card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-wrap: normal;
}
.card__icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-full);
  background: var(--color-blush-soft);
  color: var(--color-primary);
  margin-bottom: var(--space-2);
}

/* ---------- split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--space-8), 5vw, var(--space-16));
  align-items: center;
}
.split img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.split--reverse .split__media {
  order: 2;
}
.split--sticky {
  align-items: start;
}
@media (min-width: 821px) {
  .split--sticky .split__media {
    position: sticky;
    top: 6rem;
  }
}
@media (max-width: 820px) {
  .split {
    grid-template-columns: 1fr;
  }
  .split--reverse .split__media {
    order: 0;
  }
}

.checklist {
  list-style: none;
  display: grid;
  gap: var(--space-3);
  margin-top: var(--space-6);
}
.checklist li {
  display: flex;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.checklist li strong {
  color: var(--color-text);
}
.checklist li::before {
  content: '';
  flex: none;
  width: 8px;
  height: 8px;
  margin-top: 0.55em;
  margin-right: var(--space-3);
  border-radius: 50%;
  background: var(--color-blush);
}

/* ---------- full bleed quote ---------- */
.bleed {
  position: relative;
  min-height: 60vh;
  display: grid;
  place-items: center;
  padding-block: clamp(var(--space-20), 12vw, var(--space-32));
  background-size: cover;
  background-position: center 62%;
  isolation: isolate;
}
.bleed::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(45, 33, 28, 0.78) 0%, rgba(45, 33, 28, 0.45) 65%, rgba(45, 33, 28, 0.25) 100%);
}
.bleed blockquote {
  color: #fff;
  max-width: 22ch;
}
.bleed blockquote p {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-style: italic;
  line-height: 1.25;
  max-width: none;
}
.bleed cite {
  display: block;
  margin-top: var(--space-5);
  font-family: var(--font-body);
  font-style: normal;
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.78);
}

/* ---------- CTA band ---------- */
.cta {
  background: var(--color-deep);
  color: #f6ece7;
}
[data-theme='dark'] .cta {
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.cta h2 {
  font-size: var(--text-xl);
  color: #fff;
}
.cta p {
  margin-top: var(--space-4);
  color: rgba(246, 236, 231, 0.76);
  max-width: 52ch;
}
.cta__inner {
  display: flex;
  gap: var(--space-8);
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.cta .btn-row {
  margin-top: 0;
}

/* ---------- help band ---------- */
.help {
  background: var(--color-surface-offset);
  border-block: 1px solid var(--color-divider);
}
.help__inner {
  display: flex;
  gap: var(--space-8);
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.help h2 {
  font-size: var(--text-lg);
}
.help p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  margin-top: var(--space-2);
  max-width: 48ch;
}

/* ---------- donation widget ---------- */
.give {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(var(--space-8), 5vw, var(--space-16));
  align-items: start;
}
@media (max-width: 900px) {
  .give {
    grid-template-columns: 1fr;
  }
}

.panel {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: clamp(var(--space-6), 3vw, var(--space-8));
  box-shadow: var(--shadow-md);
}

.toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-1);
  padding: var(--space-1);
  background: var(--color-surface-offset);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-6);
}
.toggle button {
  padding: 0.6rem 1rem;
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-muted);
}
.toggle button[aria-pressed='true'] {
  background: var(--color-surface);
  color: var(--color-text);
  box-shadow: var(--shadow-sm);
}

.amounts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}
.amount {
  padding: var(--space-4) var(--space-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface-2);
  font-weight: 600;
  font-size: var(--text-base);
  text-align: center;
}
.amount:hover {
  border-color: var(--color-primary);
}
.amount[aria-pressed='true'] {
  border-color: var(--color-primary);
  background: var(--color-blush-soft);
  color: var(--color-primary);
  box-shadow: inset 0 0 0 1px var(--color-primary);
}

.impact-note {
  margin-top: var(--space-5);
  padding: var(--space-4) var(--space-5);
  background: var(--color-surface-offset);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  border-left: 3px solid var(--color-blush);
}
.impact-note strong {
  color: var(--color-text);
}

/* ---------- forms ---------- */
.field {
  display: grid;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
}
.field label {
  font-size: var(--text-sm);
  font-weight: 600;
}
.field .hint {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.75rem 0.95rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface-2);
  font-size: var(--text-sm);
}
.field textarea {
  min-height: 8rem;
  resize: vertical;
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--color-text-faint);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-blush-soft);
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}
@media (max-width: 560px) {
  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}
.check {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-5);
}
.check input {
  margin-top: 0.3em;
  width: 1rem;
  height: 1rem;
  accent-color: var(--color-primary);
  flex: none;
}

.form-status {
  display: none;
  margin-top: var(--space-5);
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-md);
  background: var(--color-blush-soft);
  border: 1px solid var(--color-blush);
  font-size: var(--text-sm);
  color: var(--color-text);
}
.form-status.is-visible {
  display: block;
}

.note-band {
  max-width: 62ch;
  margin-inline: auto;
  text-align: center;
}
.note-band p:last-child {
  margin-top: var(--space-4);
  color: var(--color-text-muted);
  font-size: var(--text-base);
}

/* ---------- news ---------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
}
@media (min-width: 821px) {
  .news-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .post--feature {
    grid-row: span 2;
  }
}
.post {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.post img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.post__body {
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  flex: 1;
}
.post__meta {
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  font-weight: 600;
}
.post h3 {
  font-size: var(--text-lg);
}
.post p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.post--feature {
  grid-column: span 2;
  flex-direction: row;
}
.post--feature img {
  width: 46%;
  aspect-ratio: auto;
  object-fit: cover;
}
.post--feature .post__body {
  padding: clamp(var(--space-6), 3vw, var(--space-10));
  justify-content: center;
}
@media (max-width: 820px) {
  .post--feature {
    grid-column: span 1;
    flex-direction: column;
  }
  .post--feature img {
    width: 100%;
    aspect-ratio: 16 / 10;
  }
}

/* ---------- contact details ---------- */
.detail-list {
  list-style: none;
  display: grid;
  gap: var(--space-6);
}
.detail-list dt,
.detail-list h3 {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-faint);
  margin-bottom: var(--space-1);
}
.detail-list p,
.detail-list a {
  font-size: var(--text-sm);
}

/* ---------- footer ---------- */
.footer {
  background: var(--color-surface-offset);
  border-top: 1px solid var(--color-divider);
  padding-block: clamp(var(--space-12), 6vw, var(--space-20)) var(--space-8);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: var(--space-10);
}
@media (max-width: 820px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 520px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }
}
.footer h4 {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-faint);
  margin-bottom: var(--space-4);
}
.footer ul {
  list-style: none;
  display: grid;
  gap: var(--space-3);
}
.footer a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
}
.footer a:hover {
  color: var(--color-primary);
}
.footer__about p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-4);
  max-width: 34ch;
}
.footer__bottom {
  margin-top: clamp(var(--space-10), 5vw, var(--space-16));
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-divider);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: space-between;
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

/* ---------- scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 700ms cubic-bezier(0.16, 1, 0.3, 1), transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- direct contact panels ---------- */
.contact-actions {
  display: grid;
  gap: var(--space-3);
}
.contact-addr {
  margin-top: var(--space-4);
  text-align: center;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  word-break: break-word;
}
.ask-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: ask;
  display: grid;
  gap: var(--space-4);
}
.ask-list li {
  counter-increment: ask;
  position: relative;
  padding-left: 2.5rem;
  font-size: var(--text-sm);
  line-height: 1.65;
  color: var(--color-text-muted);
}
.ask-list li::before {
  content: counter(ask);
  position: absolute;
  left: 0;
  top: -0.1em;
  width: 1.65rem;
  height: 1.65rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--color-blush-soft);
  color: var(--color-primary);
  font-size: 0.78rem;
  font-weight: 700;
}
[data-theme='dark'] .ask-list li::before {
  background: rgba(235, 167, 149, 0.16);
}

/* ---------- venmo ---------- */
.btn--venmo {
  background: #008cff;
  color: #fff;
  border: 1px solid #008cff;
}
.btn--venmo:hover {
  background: #0074d4;
  border-color: #0074d4;
  color: #fff;
}
.venmo-band {
  background: var(--color-surface-offset);
  border-block: 1px solid var(--color-divider);
}
.venmo-band__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--space-16, 5rem);
  align-items: center;
  max-width: 60rem;
  margin-inline: auto;
}
.venmo-band__copy h2 {
  font-size: var(--text-xl);
  margin-top: var(--space-3);
}
.venmo-band__copy p {
  margin-top: var(--space-5);
  color: var(--color-text-muted);
  max-width: 46ch;
}
.venmo-band__copy .btn {
  margin-top: var(--space-8);
}
.venmo-handle {
  margin-top: var(--space-4) !important;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--color-text) !important;
}
.venmo-handle--tight {
  margin-top: var(--space-3) !important;
  text-align: center;
  font-size: var(--text-sm);
}
.venmo-qr {
  margin: 0;
  justify-self: end;
  text-align: center;
}
.venmo-qr img {
  display: block;
  width: 190px;
  height: 190px;
  padding: 0.85rem;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md, 14px);
}
.venmo-qr figcaption {
  margin-top: var(--space-3);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}
.venmo-qr--inline {
  margin-top: var(--space-6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-self: auto;
}
.venmo-qr--inline img {
  width: 150px;
  height: 150px;
}
.panel-rule {
  border: 0;
  border-top: 1px solid var(--color-divider);
  margin: var(--space-8) 0;
}
@media (max-width: 820px) {
  .venmo-band__inner {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  .venmo-qr {
    justify-self: start;
    text-align: left;
  }
}

.footer__note {
  margin-top: var(--space-10);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  opacity: 0.85;
}
