/* ============================================================
   CafeKind — Shared Design System
   One source of truth for all public pages.
   Tokens → Base → Layout → Components → Sections → Responsive
   ============================================================ */

/* ----------------------------------------------------------
   DESIGN TOKENS
   ---------------------------------------------------------- */
:root {
  /* Brand colors (sampled from reference) */
  --bg:           #F9F6F1;   /* warm cream page background */
  --surface:      #FEFBF8;   /* card surface (warm near-white) */
  --surface-2:    #FFFFFF;   /* pure white insets */
  --peach-50:     #FCEEE4;   /* footer + soft section bands */
  --peach-100:    #FDE9DD;   /* instagram / tinted bands */
  --peach-200:    #FEE6DA;   /* callout cards */
  --peach-300:    #FBD9C9;   /* hover tint */

  --coral:        #EE8266;   /* primary action / stats bar */
  --coral-600:    #E26C4E;   /* primary hover */
  --coral-700:    #D45C3E;   /* pressed */
  --coral-ink:    #D2603F;   /* coral text links */

  --logo-orange:  #F07F1A;
  --paypal-yellow:#FFC439;

  --ink:          #1A1815;   /* headings / near-black */
  --ink-soft:     #2B2926;   /* dark buttons */
  --text:         #4C4641;   /* body copy */
  --muted:        #8C847C;   /* captions / placeholders */

  --line:         rgba(26,24,21,0.09);
  --line-strong:  rgba(26,24,21,0.16);

  /* Typography */
  --font-display: "Onest", "Segoe UI", system-ui, sans-serif;
  --font-body:    "Poppins", "Segoe UI", system-ui, sans-serif;

  --fs-hero:    clamp(2.5rem, 5.2vw, 4rem);
  --fs-title:   clamp(2.1rem, 4.4vw, 3.4rem);
  --fs-h2:      clamp(1.45rem, 2.4vw, 1.85rem);
  --fs-h3:      1.18rem;
  --fs-lead:    clamp(1rem, 1.4vw, 1.15rem);
  --fs-body:    1rem;
  --fs-sm:      0.875rem;
  --fs-xs:      0.75rem;

  /* Spacing scale (4px base) */
  --s1: 4px;  --s2: 8px;  --s3: 12px; --s4: 16px;
  --s5: 20px; --s6: 24px; --s7: 32px; --s8: 40px;
  --s9: 48px; --s10: 64px; --s11: 80px; --s12: 112px;

  /* Radii */
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* Shadows */
  --sh-sm: 0 1px 2px rgba(26,24,21,0.04);
  --sh-md: 0 1px 2px rgba(26,24,21,0.04), 0 8px 24px rgba(26,24,21,0.05);
  --sh-lg: 0 10px 40px rgba(26,24,21,0.08);
  --sh-coral: 0 8px 22px rgba(238,130,102,0.30);

  /* Layout */
  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
  --header-h: 76px;

  /* Frosted glass (tweakable from the Tweaks panel on the home page) */
  --card-blur: 16px;
  --card-alpha: 0.55;
  --card-saturate: 140%;
  --card-border-alpha: 0.65;
}

/* ----------------------------------------------------------
   BASE / RESET
   ---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  margin: 0;
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }
::selection { background: var(--peach-200); color: var(--ink); }

/* ----------------------------------------------------------
   ANIMATED BRAND GRADIENT (subtle aurora behind everything)
   ---------------------------------------------------------- */
body::before {
  content: "";
  position: fixed; inset: -25vh -25vw; z-index: -1; pointer-events: none;
  background:
    radial-gradient(38% 38% at 18% 22%, rgba(238,130,102,0.20), transparent 70%),
    radial-gradient(42% 42% at 82% 14%, rgba(240,127,26,0.12), transparent 72%),
    radial-gradient(48% 48% at 72% 82%, rgba(252,205,180,0.40), transparent 70%),
    radial-gradient(46% 46% at 12% 84%, rgba(238,130,102,0.16), transparent 72%);
  filter: blur(26px);
  will-change: transform;
  animation: auroraDrift 28s ease-in-out infinite alternate;
}
@keyframes auroraDrift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(2.5%, -2%, 0) scale(1.10) rotate(1.5deg); }
  100% { transform: translate3d(-2%, 1.5%, 0) scale(1.05) rotate(-1deg); }
}

/* ----------------------------------------------------------
   LAYOUT HELPERS
   ---------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: clamp(48px, 8vw, 96px); }
.section--tight { padding-block: clamp(40px, 6vw, 72px); }
.section--peach { background: var(--peach-50); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--coral-ink);
}
.lead { font-size: var(--fs-lead); color: var(--text); }
.muted { color: var(--muted); }
.center { text-align: center; }
.icon { width: 20px; height: 20px; stroke-width: 1.9; flex: none; }

/* ----------------------------------------------------------
   BUTTONS
   ---------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: var(--fs-sm); font-weight: 600;
  padding: 12px 22px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn .icon { width: 16px; height: 16px; }
.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--coral); color: #fff; box-shadow: var(--sh-coral); }
.btn--primary:hover { background: var(--coral-600); box-shadow: 0 10px 26px rgba(238,130,102,0.40); }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { background: rgba(26,24,21,0.04); border-color: var(--ink); }

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

.btn--block { width: 100%; }
.btn--lg { padding: 16px 28px; font-size: 1rem; }

/* Text link with arrow */
.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--coral-ink); font-weight: 600; font-size: var(--fs-sm);
}
.link-arrow .icon { width: 16px; height: 16px; transition: transform .15s ease; }
.link-arrow:hover { color: var(--coral-700); }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ----------------------------------------------------------
   HEADER / NAV  (identical on every page)
   ---------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(249,246,241,0.88);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: var(--s6);
}
.brand { display: inline-flex; align-items: center; }
.brand img { height: 34px; width: auto; }
.nav { display: flex; align-items: center; gap: clamp(14px, 1.8vw, 30px); }
.nav__link {
  font-size: var(--fs-sm); font-weight: 500; color: var(--ink);
  padding: 6px 2px; position: relative; transition: color .2s ease;
}
.nav__link:hover { color: var(--coral-ink); }
.nav__link[aria-current="page"] { color: var(--coral-ink); font-weight: 600; }
.nav__link[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--coral); border-radius: 2px;
}
.nav__signin { font-size: var(--fs-sm); font-weight: 500; color: var(--ink); }
.nav__signin:hover { color: var(--coral-ink); }

/* hamburger */
.nav-toggle {
  display: none; width: 44px; height: 44px; border: none; background: transparent;
  align-items: center; justify-content: center; border-radius: var(--r-md);
}
.nav-toggle:hover { background: rgba(26,24,21,0.05); }
.nav-toggle svg { width: 26px; height: 26px; }

/* ----------------------------------------------------------
   FOOTER  (identical on every page)
   ---------------------------------------------------------- */
.site-footer { background: var(--peach-50); }
.site-footer__grid {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 7vw, 110px);
  padding-block: clamp(48px, 7vw, 80px);
}
.footer-brand img { height: 38px; margin-bottom: var(--s6); }
.footer-brand h3 { font-size: 1.25rem; margin-bottom: var(--s3); }
.footer-brand p { max-width: 34ch; color: var(--text); margin-bottom: var(--s6); }
.social-row { display: flex; gap: var(--s3); margin-bottom: var(--s7); }
.social-btn {
  width: 42px; height: 42px; border-radius: var(--r-pill);
  background: var(--surface-2); border: 1px solid var(--line);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink); transition: transform .15s ease, background .2s ease, color .2s ease;
}
.social-btn:hover { background: var(--coral); color: #fff; transform: translateY(-2px); border-color: var(--coral); }
.social-btn .icon { width: 18px; height: 18px; }
.footer-links { display: flex; flex-wrap: wrap; gap: var(--s6); }
.footer-links a { font-size: var(--fs-sm); color: var(--text); }
.footer-links a:hover { color: var(--coral-ink); }

.footer-contact h3 { font-size: 1.25rem; margin-bottom: var(--s2); }
.footer-contact > p { color: var(--text); margin-bottom: var(--s5); }

.footer-bottom {
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: var(--s3) var(--s6);
  justify-content: space-between; align-items: center;
  padding-block: var(--s6);
  font-size: var(--fs-sm); color: var(--muted);
}

/* ----------------------------------------------------------
   FORMS
   ---------------------------------------------------------- */
.field { width: 100%; }
.form-grid { display: grid; gap: var(--s4); }
.form-grid--2 { grid-template-columns: 1fr 1fr; }
.input, .textarea {
  width: 100%; font-family: var(--font-body); font-size: var(--fs-body);
  color: var(--ink); background: var(--surface-2);
  border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 14px 16px; transition: border-color .2s ease, box-shadow .2s ease;
}
.input::placeholder, .textarea::placeholder { color: var(--muted); }
.input:focus, .textarea:focus {
  outline: none; border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(238,130,102,0.18);
}
.textarea { resize: vertical; min-height: 130px; }

/* ----------------------------------------------------------
   CARDS (shared primitives)
   ---------------------------------------------------------- */
.card {
  background: rgba(255,253,250, var(--card-alpha));
  backdrop-filter: blur(var(--card-blur)) saturate(var(--card-saturate));
  -webkit-backdrop-filter: blur(var(--card-blur)) saturate(var(--card-saturate));
  border: 1px solid rgba(255,255,255, var(--card-border-alpha));
  border-radius: var(--r-lg);
  box-shadow: var(--sh-md), inset 0 1px 0 rgba(255,255,255,0.55);
}
.card-pad { padding: clamp(20px, 2.4vw, 30px); }
.icon-badge {
  width: 46px; height: 46px; border-radius: var(--r-md);
  background: var(--peach-200); color: var(--coral-700);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: var(--s5);
}
.icon-badge .icon { width: 22px; height: 22px; }

/* ----------------------------------------------------------
   PAGE HERO (inner page headers)
   ---------------------------------------------------------- */
.page-hero { padding-block: clamp(40px, 6vw, 72px) clamp(8px, 2vw, 16px); }
.page-hero h1 { font-size: var(--fs-title); }
.page-hero p { margin-top: var(--s4); font-size: var(--fs-lead); color: var(--text); max-width: 52ch; }

/* ----------------------------------------------------------
   RESPONSIVE
   ---------------------------------------------------------- */
@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .nav { gap: 18px; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: var(--s4) var(--gutter) var(--s7);
    box-shadow: var(--sh-lg);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: transform .22s ease, opacity .22s ease;
  }
  .nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav__link { padding: 12px 4px; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .nav__link[aria-current="page"]::after { display: none; }
  .nav .btn--primary { margin-top: var(--s4); }
  .nav__signin { padding: 12px 4px; font-size: 1.05rem; }
  .form-grid--2 { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  body::before { animation: none !important; }
}

/* ============================================================
   IMAGE PLACEHOLDERS (gray — swap for real uploads later)
   ============================================================ */
.ph {
  position: relative; overflow: hidden;
  background-color: #E9E4DD;
  background-image: repeating-linear-gradient(
    45deg, rgba(0,0,0,0.035) 0 10px, rgba(0,0,0,0) 10px 20px);
  display: flex; align-items: center; justify-content: center;
  color: #9b938a;
}
.ph__label {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 11px; letter-spacing: 0.04em; text-transform: lowercase;
  background: rgba(255,255,255,0.7); padding: 4px 9px; border-radius: 6px;
}

/* ============================================================
   HOME — HERO
   ============================================================ */
.hero { padding-block: clamp(36px, 5vw, 72px) clamp(28px, 4vw, 56px); }
.hero__grid {
  display: grid; grid-template-columns: 1fr 1.18fr; align-items: center;
  gap: clamp(24px, 3.5vw, 48px);
}
.hero h1 { font-size: var(--fs-hero); font-weight: 700; }
.hero h1 em { font-style: italic; color: var(--coral); }
.hero__copy p { margin-top: var(--s5); max-width: 46ch; color: var(--text); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s7); }
.hero__media {
  border-radius: var(--r-xl); overflow: hidden;
}
.hero__media .ph { border-radius: var(--r-xl); aspect-ratio: 4/3.4; width: 100%; }
.hero__media img { border-radius: var(--r-xl); aspect-ratio: 4/3.4; width: 100%; object-fit: cover; }

/* STATS BAR */
.stats-bar {
  background: var(--coral); color: #fff; border-radius: var(--r-lg);
  display: grid; grid-template-columns: repeat(3, 1fr);
  text-align: center;
}
.stats-bar .stat {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 18px 16px; font-size: var(--fs-sm); font-weight: 500;
}
.stats-bar .stat + .stat { border-left: 1px solid rgba(255,255,255,0.25); }
.stats-bar .icon { width: 18px; height: 18px; }

/* SECTION HEADINGS */
.section-head { margin-bottom: clamp(28px, 4vw, 44px); }
.section-head h2 { font-size: var(--fs-h2); font-weight: 700; }
.section-head p { margin-top: var(--s3); max-width: 56ch; color: var(--text); }
.section-head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--s5); }

/* PROGRAMS GRID */
.programs { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 24px); }
.program, .callout { transition: transform .2s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease; }
.program:hover, .callout:hover { transform: translateY(-5px); box-shadow: var(--sh-lg), inset 0 1px 0 rgba(255,255,255,0.6); border-color: rgba(238,130,102,0.35); }
.program h3 { font-size: var(--fs-h3); font-weight: 700; margin-bottom: var(--s3); }
.program p { color: var(--text); font-size: var(--fs-sm); line-height: 1.6; }

/* CALLOUT CARDS */
.callouts { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 24px); margin-top: clamp(16px, 2vw, 24px); }
.callout { background: rgba(254,230,218, var(--card-alpha)); border: 1px solid rgba(255,255,255, var(--card-border-alpha)); }
.callout .icon-badge { background: rgba(255,255,255,0.6); }
.callout h3 { font-size: var(--fs-h3); font-weight: 700; margin-bottom: var(--s2); }
.callout p { color: var(--text); font-size: var(--fs-sm); margin-bottom: var(--s5); }

/* COMMUNITY CAROUSEL */
.community__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--s6); }
.carousel-nav { display: flex; gap: var(--s2); }
.carousel-btn {
  width: 44px; height: 44px; border-radius: var(--r-pill);
  background: var(--surface); border: 1px solid var(--line); color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .2s ease, color .2s ease, transform .15s ease;
}
.carousel-btn:hover { background: var(--coral); color: #fff; border-color: var(--coral); }
.carousel-track {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 6px; scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
.community-slide {
  flex: 0 0 clamp(280px, 42%, 460px); scroll-snap-align: start;
  border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16/10; background: var(--peach-100);
}
.community-slide img { width: 100%; height: 100%; object-fit: cover; }

/* TESTIMONIALS */
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 24px); }
.quote .icon-badge { background: var(--peach-200); margin-bottom: var(--s4); }
.quote blockquote { margin: 0 0 var(--s5); font-size: 1.05rem; color: var(--ink); line-height: 1.6; }
.quote cite { font-style: normal; font-weight: 600; font-size: var(--fs-sm); color: var(--muted); }

/* RESOURCES CARD (blog) */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 24px); }
.post-card { overflow: hidden; display: flex; flex-direction: column; transition: transform .18s ease, box-shadow .2s ease; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.post-card__thumb { aspect-ratio: 16/10; width: 100%; }
.post-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { padding: var(--s5) var(--s5) var(--s6); display: flex; flex-direction: column; gap: var(--s3); flex: 1; }
.post-card__meta { font-size: var(--fs-xs); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.post-card h3 { font-size: 1.05rem; font-weight: 700; }
.post-card p { font-size: var(--fs-sm); color: var(--text); }
.post-card .link-arrow { margin-top: auto; }

/* INSTAGRAM */
.insta-band {
  background: rgba(253,233,221, var(--card-alpha));
  backdrop-filter: blur(var(--card-blur)) saturate(var(--card-saturate));
  -webkit-backdrop-filter: blur(var(--card-blur)) saturate(var(--card-saturate));
  border: 1px solid rgba(255,255,255, var(--card-border-alpha));
  border-radius: var(--r-xl); padding: clamp(22px, 3vw, 34px);
}
.insta-band__head { display: flex; justify-content: space-between; align-items: center; gap: var(--s5); margin-bottom: var(--s6); flex-wrap: wrap; }
.insta-band__head h2 { font-size: 1.25rem; display: flex; align-items: center; gap: 10px; }
.insta-band__head .icon { color: var(--coral-700); }
.insta-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--s3); }
.insta-grid .ph { aspect-ratio: 1; border-radius: var(--r-md); }

/* ============================================================
   EVENTS
   ============================================================ */
.empty-state {
  background: var(--peach-200); border-radius: var(--r-lg);
  text-align: center; padding: clamp(36px, 5vw, 56px);
}
.empty-state h3 { font-size: var(--fs-h3); font-weight: 700; margin-bottom: var(--s2); }
.empty-state p { color: var(--text); }

.events-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 24px); }
.event-card { overflow: hidden; display: flex; flex-direction: column; transition: transform .18s ease, box-shadow .2s ease; }
.event-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.event-card__media { aspect-ratio: 16/9; width: 100%; }
.event-card__media img { width: 100%; height: 100%; object-fit: cover; }
.event-card__body { padding: var(--s5); display: flex; flex-direction: column; gap: var(--s3); flex: 1; }
.event-card__date { font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--coral-ink); }
.event-card h3 { font-size: 1.05rem; font-weight: 700; line-height: 1.3; }
.event-card__loc { display: flex; align-items: center; gap: 7px; font-size: var(--fs-sm); color: var(--muted); }
.event-card__loc .icon { width: 16px; height: 16px; }
.event-card .link-arrow { margin-top: auto; padding-top: var(--s2); }

/* ============================================================
   ABOUT
   ============================================================ */
.mission { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.mission__photo { aspect-ratio: 1; max-width: 420px; }
.mission__photo img { width: 100%; height: 100%; object-fit: contain; }
.mission h2 { font-size: var(--fs-title); font-weight: 700; }
.mission__intro { margin-top: var(--s5); font-size: var(--fs-lead); color: var(--ink); }
.mission__body { margin-top: var(--s5); color: var(--text); }
.lower-head { text-transform: none; }
.about-programs { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 24px); }
.about-statement { max-width: 70ch; margin-inline: auto; text-align: center; color: var(--text); font-size: var(--fs-lead); }
.team-title { font-size: var(--fs-title); font-weight: 700; text-align: center; margin-bottom: clamp(32px, 5vw, 48px); }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 36px); }
.team-member { text-align: center; }
.team-member__photo { width: clamp(140px, 16vw, 170px); aspect-ratio: 1; border-radius: var(--r-pill); overflow: hidden; margin: 0 auto var(--s4); border: 4px solid var(--surface-2); box-shadow: var(--sh-md); background: var(--peach-100); }
.team-member__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.team-member h3 { font-size: 1rem; font-weight: 600; }
.team-member p { font-size: var(--fs-sm); color: var(--muted); margin-top: 2px; }

/* ============================================================
   RESOURCES (page) + POST
   ============================================================ */
.search-bar { position: relative; max-width: 520px; margin-bottom: clamp(28px, 4vw, 44px); }
.search-bar .icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); width: 18px; height: 18px; }
.search-bar input { padding-left: 46px; border-radius: var(--r-pill); }
.resources-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 24px); }

.post { max-width: 760px; margin-inline: auto; }
.post__cover { aspect-ratio: 16/8; width: 100%; border-radius: var(--r-lg); overflow: hidden; margin-bottom: var(--s7); }
.post__cover img, .post__cover .ph { width: 100%; height: 100%; object-fit: cover; }
.post__meta { font-size: var(--fs-xs); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: var(--s4); }
.post h1 { font-size: var(--fs-title); font-weight: 700; margin-bottom: var(--s6); }
.post__body { font-size: 1.05rem; color: var(--text); }
.post__body p { margin-bottom: var(--s5); }
.post__body h2 { font-size: 1.4rem; font-weight: 700; margin: var(--s8) 0 var(--s4); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: var(--s5); }
.info-item { display: flex; gap: var(--s4); align-items: flex-start; }
.info-item .icon-badge { margin-bottom: 0; flex: none; }
.info-item h3 { font-size: 1rem; font-weight: 600; margin-bottom: 2px; }
.info-item p { font-size: var(--fs-sm); color: var(--text); }
.contact-card { padding: clamp(24px, 3vw, 36px); }
.form-note { background: var(--peach-200); color: var(--coral-700); border-radius: var(--r-md); padding: 12px 16px; font-size: var(--fs-sm); font-weight: 500; }

/* ============================================================
   DONATE
   ============================================================ */
.donate-hero { text-align: center; max-width: 620px; margin-inline: auto; }
.donate-hero .icon-badge { margin-inline: auto; width: 58px; height: 58px; border-radius: var(--r-pill); background: var(--peach-200); }
.donate-hero .icon-badge .icon { width: 26px; height: 26px; }
.donate-hero h1 { font-size: var(--fs-title); font-weight: 700; margin-top: var(--s5); }
.donate-hero p { margin-top: var(--s4); font-size: var(--fs-lead); color: var(--text); }
.donate-card { max-width: 720px; margin: clamp(32px, 4vw, 48px) auto 0; padding: clamp(24px, 3vw, 36px); }
.freq-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: var(--peach-100); border-radius: var(--r-pill); padding: 6px; margin-bottom: var(--s6); }
.freq-toggle button { background: transparent; border: none; border-radius: var(--r-pill); padding: 12px; font-weight: 500; font-size: var(--fs-sm); color: var(--text); transition: background .2s, color .2s, box-shadow .2s; }
.freq-toggle button.is-active { background: var(--surface-2); color: var(--ink); box-shadow: var(--sh-sm); font-weight: 600; }
.amount-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--s3); margin-bottom: var(--s6); }
.amount-btn { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 14px 6px; font-weight: 600; color: var(--ink); transition: background .18s, color .18s, border-color .18s; }
.amount-btn:hover { border-color: var(--coral); }
.amount-btn.is-active { background: var(--coral); color: #fff; border-color: var(--coral); }
.custom-amount { margin-bottom: var(--s6); }
.pay-stack { display: flex; flex-direction: column; gap: var(--s3); }
.btn--paypal { background: var(--paypal-yellow); color: #142C8E; font-size: 1rem; }
.btn--paypal:hover { background: #f0b72f; }
.btn--paypal b { color: #142C8E; font-style: italic; }
.btn--paypal b i { color: #009CDE; font-style: italic; }
.pay-powered { text-align: center; font-size: var(--fs-xs); color: var(--muted); margin-top: var(--s4); }
.pay-secure { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: var(--fs-xs); color: var(--muted); margin-top: var(--s4); }
.pay-secure .icon { width: 14px; height: 14px; }
.impact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 24px); margin-top: clamp(32px, 4vw, 48px); }
.impact h3 { font-size: 1.6rem; font-weight: 800; color: var(--coral-ink); margin-bottom: var(--s2); }
.impact p { font-size: var(--fs-sm); color: var(--text); }

/* ============================================================
   SECTION-LEVEL RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { order: -1; }
  .programs, .callouts, .quotes, .about-programs, .mission, .contact-grid { grid-template-columns: 1fr; }
  .posts, .events-grid, .resources-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .insta-grid { grid-template-columns: repeat(3, 1fr); }
  .impact-grid { grid-template-columns: 1fr; }
  .mission__photo { margin-inline: auto; }
}
@media (max-width: 560px) {
  .stats-bar { grid-template-columns: 1fr; }
  .stats-bar .stat + .stat { border-left: none; border-top: 1px solid rgba(255,255,255,0.25); }
  .posts, .events-grid, .resources-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .insta-grid { grid-template-columns: repeat(3, 1fr); }
  .amount-grid { grid-template-columns: 1fr 1fr 1fr; }
  .community-slide { flex-basis: 80%; }
}

/* ============================================================
   WORDPRESS-SPECIFIC ADDITIONS
   ============================================================ */

/* Admin bar offset — handled via inline CSS in functions.php when logged in */

/* Screen reader text (WP standard) */
.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
  height: 1px; margin: -1px; overflow: hidden; padding: 0;
  position: absolute; width: 1px; word-wrap: normal !important;
}
.screen-reader-text:focus {
  background-color: var(--surface); clip: auto; clip-path: none;
  color: var(--ink); display: block; font-weight: 600;
  height: auto; padding: 14px 22px; width: auto; z-index: 100000;
  top: 14px; left: 14px;
}

/* WP content alignments */
.post__body .alignleft  { float: left; margin: 0 var(--s6) var(--s5) 0; }
.post__body .alignright { float: right; margin: 0 0 var(--s5) var(--s6); }
.post__body .aligncenter { display: block; margin-inline: auto; }
.post__body .alignwide   { max-width: 1000px; margin-inline: auto; }
.post__body .alignfull   { max-width: 100%; margin-inline: calc(-1 * var(--gutter)); }
.post__body img { border-radius: var(--r-sm); max-width: 100%; height: auto; }
.post__body .wp-caption { text-align: center; }
.post__body .wp-caption-text { font-size: var(--fs-sm); color: var(--muted); margin-top: var(--s2); }
.post__body ul, .post__body ol { padding-left: var(--s7); margin-bottom: var(--s5); }
.post__body li { margin-bottom: var(--s2); }
.post__body a { color: var(--coral-ink); text-decoration: underline; text-underline-offset: 3px; }

/* GiveWP form integration — style Give form to match theme */
.give-form-wrap .give-btn,
.give-form-wrap input[type="submit"] {
  background: var(--coral) !important;
  color: #fff !important;
  border-radius: var(--r-pill) !important;
  font-family: var(--font-body) !important;
  font-weight: 600 !important;
  padding: 14px 28px !important;
  border: none !important;
  box-shadow: var(--sh-coral) !important;
  transition: background .2s ease !important;
}
.give-form-wrap .give-btn:hover,
.give-form-wrap input[type="submit"]:hover {
  background: var(--coral-600) !important;
}
.give-form-wrap input[type="text"],
.give-form-wrap input[type="email"],
.give-form-wrap input[type="number"],
.give-form-wrap select {
  border-radius: var(--r-md) !important;
  border: 1px solid var(--line) !important;
  font-family: var(--font-body) !important;
  padding: 14px 16px !important;
  font-size: var(--fs-body) !important;
}
.give-form-wrap input:focus,
.give-form-wrap select:focus {
  border-color: var(--coral) !important;
  box-shadow: 0 0 0 3px rgba(238,130,102,0.18) !important;
  outline: none !important;
}

/* The Events Calendar — make event archive pages use the theme's nav/footer */
.tribe-events-pg-template { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.tribe-events { font-family: var(--font-body); }

/* Pagination */
.page-numbers {
  display: inline-flex; align-items: center; gap: var(--s2);
  padding: 8px 14px; border-radius: var(--r-pill);
  font-size: var(--fs-sm); font-weight: 500; color: var(--ink);
  border: 1px solid var(--line); transition: background .2s ease;
}
.page-numbers:hover { background: var(--peach-100); }
.page-numbers.current { background: var(--coral); color: #fff; border-color: var(--coral); }
nav.navigation { margin-top: clamp(28px, 4vw, 44px); display: flex; justify-content: center; }

/* ============================================================
   SINGLE POST — TWO-COLUMN LAYOUT WITH RELATED SIDEBAR
   ============================================================ */
.post-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.post-layout .post { max-width: none; margin: 0; }

.post-aside { position: sticky; top: 104px; }
.post-aside__block {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--s6);
  display: flex;
  flex-direction: column;
}
.post-aside__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  padding-bottom: var(--s3);
  margin-bottom: var(--s5);
  border-bottom: 2px solid var(--peach-200);
}
.related-list { display: flex; flex-direction: column; gap: var(--s5); }
.related-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: var(--s4);
  align-items: center;
  text-decoration: none;
  color: inherit;
}
.related-item__thumb {
  width: 72px; height: 72px;
  border-radius: var(--r-sm);
  overflow: hidden;
  background: var(--peach-200);
  flex: none;
}
.related-item__thumb img { width: 100%; height: 100%; object-fit: cover; }
.related-item__meta {
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.related-item h4 {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.35;
  margin-top: 3px;
  transition: color .15s ease;
}
.related-item:hover h4 { color: var(--coral-ink); }

@media (max-width: 900px) {
  .post-layout { grid-template-columns: 1fr; }
  .post-aside { position: static; margin-top: var(--s8); }
}

/* ============================================================
   HOLOGRAPHIC CARD EFFECT (home page only)
   Two layers: a continuous iridescent shimmer that sweeps on its
   own ("movement"), plus a pointer-follow highlight + 3D tilt.
   Applied via JS to .programs/.callouts/.quotes cards on the home page.
   ============================================================ */
.holo { position: relative; transform-style: preserve-3d; will-change: transform; }
.holo > * { position: relative; z-index: 1; }

/* Layer 1 — continuous self-moving iridescent sweep */
.holo-shimmer {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 2;
  opacity: 0.38;
  background: linear-gradient(
    115deg,
    transparent 18%,
    rgba(255,255,255,0.28) 34%,
    rgba(150,120,255,0.20) 44%,
    rgba(110,235,200,0.20) 52%,
    rgba(255,205,110,0.20) 60%,
    rgba(255,120,170,0.18) 68%,
    transparent 84%
  );
  background-size: 250% 250%;
  background-position: 0% 0%;
  mix-blend-mode: overlay;
  animation: holoSweep 7s linear infinite;
}
@keyframes holoSweep {
  0%   { background-position: 0% 0%; }
  100% { background-position: 200% 0%; }
}

/* Layer 2 — pointer-follow highlight (brightens on hover) */
.holo-sheen {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 3;
  opacity: 0;
  transition: opacity .35s ease;
  background:
    radial-gradient(circle at var(--mx, 50%) var(--my, 50%),
      rgba(255,255,255,0.55), rgba(255,255,255,0) 42%),
    conic-gradient(from 0deg at var(--mx, 50%) var(--my, 50%),
      rgba(255,90,160,0.22), rgba(120,170,255,0.22), rgba(150,120,255,0.22),
      rgba(110,235,200,0.22), rgba(255,205,110,0.22), rgba(255,90,160,0.22));
  mix-blend-mode: overlay;
}
.holo.is-hovering .holo-sheen { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .holo { transform: none !important; }
  .holo-shimmer { animation: none; opacity: 0.18; }
  .holo-sheen { display: none; }
}
