/* ==========================================================================
   Feed My Sheep - Design System & Stylesheet
   Modern, responsive, accessible. No frameworks.
   ========================================================================== */

/* ---------- Design Tokens ---------- */
:root {
  /* Palette - warm, hopeful, faith-based food charity */
  --green-900: #173d2c;
  --green-700: #2f6b4f;
  --green-600: #3a7d5d;
  --green-500: #4a9670;
  --green-100: #e4f0e9;
  --green-50:  #f1f8f4;

  --amber-600: #d98a1f;
  --amber-500: #e8a33d;
  --amber-400: #f1b860;
  --amber-100: #fcefd6;

  --cream:     #fdfbf6;
  --paper:     #ffffff;
  --ink:       #1f2a24;
  --ink-soft:  #4a564f;
  --line:      #e6e1d6;

  --danger:    #b3402f;

  /* Typography */
  --font-head: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Fluid type scale */
  --fs-xs:   0.8125rem;
  --fs-sm:   0.9375rem;
  --fs-base: 1rem;
  --fs-lg:   1.125rem;
  --fs-xl:   clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --fs-2xl:  clamp(1.6rem, 1.3rem + 1.4vw, 2.25rem);
  --fs-3xl:  clamp(2rem, 1.5rem + 2.4vw, 3.25rem);
  --fs-hero: clamp(1.9rem, 1.1rem + 4vw, 4rem);

  /* Spacing & layout */
  --radius:    14px;
  --radius-sm: 8px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 3px rgba(23, 61, 44, 0.08), 0 1px 2px rgba(23, 61, 44, 0.06);
  --shadow-md: 0 6px 20px rgba(23, 61, 44, 0.10);
  --shadow-lg: 0 20px 50px rgba(23, 61, 44, 0.16);
  --container: 1180px;
  --gutter: clamp(1.1rem, 4vw, 2.5rem);

  --transition: 0.2s ease;
}

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

html, body { overflow-x: hidden; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.15;
  font-weight: 700;
  color: var(--green-900);
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--green-700); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--green-900); }

img { max-width: 100%; height: auto; display: block; }

ul, ol { margin: 0 0 1rem; padding-left: 1.25rem; }
li { margin-bottom: 0.4rem; }

:focus-visible {
  outline: 3px solid var(--amber-500);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(3rem, 7vw, 6rem); }
.section--tight { padding-block: clamp(2rem, 4vw, 3.5rem); }
.section--green { background: var(--green-50); }
.section--dark { background: var(--green-900); color: #dceae2; }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: var(--fs-sm);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber-600);
  margin-bottom: 0.6rem;
}

.section-head { max-width: 60ch; margin-bottom: clamp(1.75rem, 4vw, 3rem); }
.section-head--center { margin-inline: auto; text-align: center; }

.lead { font-size: var(--fs-lg); color: var(--ink-soft); }

.text-center { text-align: center; }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 2000;
  background: var(--green-900);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  transition: top var(--transition);
}
.skip-link:focus { top: 1rem; color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: var(--fs-base);
  line-height: 1;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition),
              background var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--amber-500); color: var(--green-900); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--amber-400); color: var(--green-900); box-shadow: var(--shadow-md); }

.btn--solid { background: var(--green-700); color: #fff; }
.btn--solid:hover { background: var(--green-600); color: #fff; }

.btn--outline { background: transparent; color: var(--green-700); border-color: var(--green-500); }
.btn--outline:hover { background: var(--green-700); color: #fff; }

.btn--ghost-light { background: rgba(255,255,255,0.12); color: #fff; border-color: rgba(255,255,255,0.5); }
.btn--ghost-light:hover { background: #fff; color: var(--green-900); }

.btn--lg { font-size: var(--fs-lg); padding: 1rem 1.9rem; }
.btn--block { width: 100%; }

.btn-group { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.btn-group--center { justify-content: center; }

/* ==========================================================================
   Header / Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(253, 251, 246, 0.92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 84px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--green-900);
  text-decoration: none;
  line-height: 1.05;
}
.brand:hover { color: var(--green-900); }
.brand__mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--green-700);
  color: #fff;
  flex-shrink: 0;
}
.brand__mark svg { width: 24px; height: 24px; }
.brand__name { display: flex; flex-direction: column; }
.brand__name small {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  text-transform: uppercase;
}

/* Image logo (fms.png) */
.brand__logo {
  height: 60px;
  width: auto;
  display: block;
}
.brand__tag {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding-left: 0.7rem;
  margin-left: 0.1rem;
  border-left: 1px solid var(--line);
  white-space: nowrap;
}
@media (max-width: 420px) {
  .brand__tag { display: none; }
  .brand__logo { height: 52px; }
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  width: 46px;
  height: 46px;
  padding: 0;
  cursor: pointer;
  color: var(--green-900);
}
.nav-toggle svg { width: 26px; height: 26px; margin: auto; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-menu li { margin: 0; }
.nav-menu a {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: var(--fs-sm);
  color: var(--ink);
  text-decoration: none;
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
  transition: background var(--transition), color var(--transition);
}
.nav-menu a:hover { background: var(--green-100); color: var(--green-900); }
.nav-menu a[aria-current="page"] {
  color: var(--green-900);
  background: var(--green-100);
}
.nav-menu .nav-cta { margin-left: 0.4rem; }
.nav-menu .nav-cta a {
  background: var(--amber-500);
  color: var(--green-900);
  font-weight: 600;
  padding: 0.55rem 1.1rem;
}
.nav-menu .nav-cta a:hover { background: var(--amber-400); }

@media (max-width: 900px) {
  .nav-toggle { display: grid; }
  .nav-menu {
    position: fixed;
    inset: 84px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    background: var(--paper);
    padding: 1rem var(--gutter) 1.75rem;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transform: translateY(-130%);
    transition: transform 0.3s ease;
    max-height: calc(100dvh - 84px);
    overflow-y: auto;
  }
  .nav-menu.is-open { transform: translateY(0); }
  .nav-menu a { padding: 0.85rem 1rem; font-size: var(--fs-lg); }
  .nav-menu .nav-cta { margin: 0.5rem 0 0; }
  .nav-menu .nav-cta a { text-align: center; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  background:
    linear-gradient(135deg, rgba(23,61,44,0.94), rgba(47,107,79,0.86)),
    url("../assets/pattern.svg");
  background-size: cover, 280px;
  color: #eaf3ee;
  overflow: hidden;
}
/* Faint themed artwork behind the hero color (uesif2.png, transparent background),
   right side near the glow. Slight blur softens the sheep into the green. */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../assets/uesif2.png") no-repeat;
  background-position: 64% 100%;
  background-size: min(13%, 168px);
  opacity: 1;
  filter: blur(0.6px);
  z-index: 2;
  pointer-events: none;
}
@media (max-width: 640px) {
  .hero::before { background-position: 80% 100%; background-size: 16%; }
}
.hero::after {
  content: "";
  position: absolute;
  right: -10%;
  top: -30%;
  width: 60vw;
  height: 60vw;
  max-width: 700px;
  max-height: 700px;
  background: radial-gradient(circle, rgba(232,163,61,0.35), transparent 65%);
  z-index: 1;
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 3;
  padding-block: clamp(3.5rem, 9vw, 7rem);
  max-width: 760px;
}
.hero h1 {
  color: #fff;
  font-size: var(--fs-hero);
  margin-bottom: 1rem;
  overflow-wrap: anywhere;
}
.hero__lead {
  font-size: clamp(1.1rem, 1rem + 0.5vw, 1.4rem);
  color: #dceae2;
  margin-bottom: 1.8rem;
  max-width: 56ch;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  font-size: var(--fs-sm);
  font-weight: 500;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.3rem;
}
.hero__badge svg { width: 16px; height: 16px; }

/* Page hero (interior pages) */
.page-hero {
  background: linear-gradient(135deg, var(--green-900), var(--green-700));
  color: #eaf3ee;
}
.page-hero__inner { padding-block: clamp(2.75rem, 6vw, 4.5rem); max-width: 720px; }
.page-hero h1 { color: #fff; font-size: var(--fs-3xl); margin-bottom: 0.6rem; }
.page-hero p { color: #dceae2; font-size: var(--fs-lg); margin: 0; }

/* Breadcrumb */
.breadcrumb { font-size: var(--fs-sm); margin-bottom: 1rem; }
.breadcrumb a { color: #cfe3d8; }
.breadcrumb span { color: #9dbcab; }

/* ==========================================================================
   Stats
   ========================================================================== */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: clamp(1rem, 3vw, 2rem);
  text-align: center;
}
.stat__num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2.2rem, 1.5rem + 2.5vw, 3.4rem);
  line-height: 1;
  color: var(--amber-500);
  margin-bottom: 0.35rem;
}
.section--dark .stat__num { color: var(--amber-400); }
.stat__label { font-size: var(--fs-sm); color: var(--ink-soft); font-weight: 500; }
.section--dark .stat__label { color: #b9d2c5; }

/* ==========================================================================
   Cards & Grids
   ========================================================================== */
.grid { display: grid; gap: clamp(1.25rem, 3vw, 2rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2rem);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  height: 100%;
}
.card--hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card--center { text-align: center; }
.card--center .card__icon { margin-inline: auto; }
.card--center .card__link { justify-content: center; }
.card--center #paypal-donate-button { display: flex; justify-content: center; }
.card h3 { font-size: var(--fs-xl); }
.card p:last-child { margin-bottom: 0; }

.card__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--green-100);
  color: var(--green-700);
  margin-bottom: 1.1rem;
}
.card__icon svg { width: 30px; height: 30px; }
.card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: var(--fs-sm);
  text-decoration: none;
}
.card__link svg { width: 16px; height: 16px; transition: transform var(--transition); }
.card__link:hover svg { transform: translateX(4px); }

/* Two-column feature block */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.split--reverse .split__media { order: 2; }
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
}
.split__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--green-100);
}
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__media--portrait { max-width: 460px; margin-inline: auto; }
.split__media--portrait img { max-height: 580px; }

/* Standalone framed photo with optional caption */
.photo-figure { margin: 0; text-align: center; }
.photo-figure img {
  width: 100%;
  max-width: 560px;
  margin-inline: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
  display: block;
}
.photo-figure figcaption {
  margin-top: 0.9rem;
  font-size: var(--fs-sm);
  color: var(--ink-soft);
  font-style: italic;
}

/* Prose blocks */
.prose { max-width: 70ch; }
.prose h2 { font-size: var(--fs-2xl); margin-top: 2.5rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: var(--fs-xl); margin-top: 2rem; }

/* Timeline */
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: var(--green-100);
}
.timeline li {
  position: relative;
  padding-left: 2.5rem;
  margin-bottom: 1.75rem;
}
.timeline li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--amber-500);
  border: 3px solid var(--cream);
  box-shadow: 0 0 0 2px var(--amber-500);
}
.timeline .year {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--green-700);
  font-size: var(--fs-lg);
}

/* Quote / callout */
.quote {
  border-left: 5px solid var(--amber-500);
  background: var(--paper);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: var(--shadow-sm);
  font-size: var(--fs-xl);
  font-family: var(--font-head);
  font-weight: 500;
  color: var(--green-900);
  line-height: 1.4;
}
.quote cite {
  display: block;
  margin-top: 1rem;
  font-style: normal;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--ink-soft);
  font-family: var(--font-body);
}

/* Steps */
.steps { counter-reset: step; list-style: none; padding: 0; display: grid; gap: 1.25rem; }
.steps li {
  position: relative;
  padding-left: 4rem;
  margin: 0;
}
.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  background: var(--green-700);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.25rem;
  border-radius: 50%;
}
.steps h3 { font-size: var(--fs-lg); margin-bottom: 0.25rem; }

/* Need list (checkmarks) */
.checklist { list-style: none; padding: 0; }
.checklist li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.85rem;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.3em;
  width: 1.25rem;
  height: 1.25rem;
  background: var(--green-700);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 0.8rem;
  background-position: center;
  background-repeat: no-repeat;
}

/* Info / contact items */
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; }
.info-item { display: flex; gap: 1rem; align-items: flex-start; }
.info-item__icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--green-100);
  color: var(--green-700);
}
.info-item__icon svg { width: 24px; height: 24px; }
.info-item h3 { font-size: var(--fs-base); margin-bottom: 0.15rem; }
.info-item a { font-weight: 500; }
.info-item p { color: var(--ink-soft); }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band {
  background: linear-gradient(120deg, var(--amber-500), var(--amber-600));
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3.5rem);
  text-align: center;
  color: var(--green-900);
  box-shadow: var(--shadow-md);
}
.cta-band h2 { color: var(--green-900); font-size: var(--fs-2xl); }
.cta-band p { color: #5b3d0c; max-width: 52ch; margin-inline: auto; }
.cta-band .btn--solid { background: var(--green-900); }
.cta-band .btn--solid:hover { background: var(--green-700); }

/* ==========================================================================
   Forms
   ========================================================================== */
.form { display: grid; gap: 1.1rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label { font-family: var(--font-head); font-weight: 600; font-size: var(--fs-sm); color: var(--green-900); }
.field input, .field select, .field textarea {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  padding: 0.8rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  color: var(--ink);
  width: 100%;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--green-500);
  box-shadow: 0 0 0 3px var(--green-100);
}
.field textarea { resize: vertical; min-height: 140px; }
.field--required label::after { content: " *"; color: var(--danger); }
.form__note { font-size: var(--fs-sm); color: var(--ink-soft); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--green-900);
  color: #c4d8cc;
  padding-block: clamp(2.5rem, 5vw, 4rem) 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(1.75rem, 4vw, 3rem);
  margin-bottom: 2.5rem;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 {
  color: #fff;
  font-size: var(--fs-base);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}
.site-footer a { color: #c4d8cc; text-decoration: none; }
.site-footer a:hover { color: var(--amber-400); }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.6rem; }
.footer-brand { display: flex; align-items: center; gap: 0.65rem; margin-bottom: 1rem; }
.footer-brand .brand__mark { background: var(--amber-500); color: var(--green-900); }
.footer-brand strong { color: #fff; font-family: var(--font-head); font-size: 1.15rem; }
/* Black wordmark on a white badge so it stays legible on the dark footer */
.footer-brand .brand__logo--badge {
  height: 60px;
  background: #fff;
  padding: 12px 18px;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
}
.footer-about p { color: #a9c3b6; max-width: 38ch; }

.footer-socials { display: flex; gap: 0.6rem; margin-top: 1.1rem; }
.footer-socials a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  transition: background var(--transition), transform var(--transition);
}
.footer-socials a:hover { background: var(--amber-500); transform: translateY(-2px); }
.footer-socials svg { width: 20px; height: 20px; }
.footer-socials a:hover svg { color: var(--green-900); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: var(--fs-sm);
  color: #9bb6a8;
}
.tag-501 {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,0.08);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-weight: 500;
}

/* ==========================================================================
   Utilities & motion
   ========================================================================== */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.flow > * + * { margin-top: 1rem; }

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
