/* =========================================================
   ACD - Association of Community Development
   Design system: tokens, base, layout, components
   ========================================================= */

@import url("https://fonts.googleapis.com/css2?family=Rubik:wght@400;500;600;700;800;900&family=Gloria+Hallelujah&family=Playfair+Display:wght@600;700&display=swap");

:root {
  /* Brand */
  --amber: #e8a523;
  --amber-dark: #c6890f;
  --amber-light: #fbebc6;
  --teal: #2b8fbf;
  --teal-dark: #1f6e97;
  --teal-light: #dceef7;
  --green: #2e9c6e;
  --pink: #c2338a;

  --ink: #1d2a38;
  --ink-soft: #4a5a6a;
  --paper: #fffdf8;
  --paper-warm: #fff7e6;
  --line: #eae1cc;
  --white: #ffffff;
  --white-dark: #f1f0f0;

  --font-display: "Rubik", sans-serif;
  --font-body: "Rubik", sans-serif;
  --font-hand: "Gloria Hallelujah", cursive;

  --radius-lg: 16px;
  --radius-md: 16px;
  --radius-sm: 8px;
  --radius-pill: 80px;
  --shadow-sm: 0 0 11px -1.6px rgba(29, 42, 56, 0.15);
  --shadow-md: 0 0 11px -1.6px rgba(29, 42, 56, 0.22);
  --shadow-lg: 0 16px 16px 2.4px rgba(29, 42, 56, 0.2);
  --container: 1180px;
  --ease: cubic-bezier(0.22, 0.9, 0.32, 1);
  --transition-fast: all 0.3s;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
button,
input,
select,
textarea,
optgroup,
option {
  font-family: inherit;
}
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  margin: 0 0 0.5em;
  line-height: 1.15;
  color: var(--ink);
}
p {
  margin: 0 0 1em;
  line-height: 1.7;
  color: var(--ink-soft);
}
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
section {
  position: relative;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Reveal-on-scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}
.reveal.in-view {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 {
  transition-delay: 0.08s;
}
.reveal-delay-2 {
  transition-delay: 0.16s;
}
.reveal-delay-3 {
  transition-delay: 0.24s;
}
.reveal-delay-4 {
  transition-delay: 0.32s;
}

/* ---------- Torn-paper section divider (cry.org style brushstroke) ---------- */
.torn {
  position: relative;
  height: 46px;
  margin-top: -1px;
}
.torn svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    background 0.25s var(--ease),
    color 0.25s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--amber);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  background: var(--amber-dark);
  color: var(--white);
}
.btn-outline {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.btn-outline:hover {
  background: var(--ink);
  color: var(--white);
  transform: translateY(-3px);
}
.btn-teal {
  background: var(--teal);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-teal:hover {
  background: var(--teal-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.btn-white {
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.btn-white:hover {
  background: var(--white-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.btn-block {
  width: 100%;
  justify-content: center;
}
.btn-sm {
  padding: 10px 20px;
  font-size: 0.85rem;
}

/* ---------- Tag / eyebrow ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--amber-light);
  color: var(--amber-dark);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.eyebrow.teal {
  background: var(--teal-light);
  color: var(--teal-dark);
}
.eyebrow.green {
  background: #e1f3ea;
  color: var(--green);
}
.eyebrow.pink {
  background: #fbe3ee;
  color: var(--pink);
}

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 253, 248, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.rainbow-bar {
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--amber),
    var(--pink),
    var(--teal),
    var(--green)
  );
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  max-width: var(--container);
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand img {
  height: 44px;
  width: auto;
}
.brand-logo-img {
  height: 48px;
  width: auto;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  font-family: var(--font-display);
}
.brand-text .top {
  font-weight: 800;
  font-size: 0.92rem;
  color: var(--ink);
}
.brand-text .bottom {
  font-weight: 500;
  font-size: 0.72rem;
  color: var(--teal-dark);
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-links a:not(.btn) {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink-soft);
  position: relative;
  padding: 4px 0;
}
.nav-links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--amber);
  transition: width 0.25s var(--ease);
}
.nav-links a:not(.btn):hover {
  color: var(--ink);
}
.nav-links a:not(.btn):hover::after,
.nav-links a.active::after {
  width: 100%;
}
.nav-links a.active {
  color: var(--ink);
}

/* ---------- Dropdown tabs (cry.org-style: About / What We Do / Get Involved) ---------- */
.nav-item {
  position: relative;
}
.nav-drop-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 0;
  font: inherit;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.nav-drop-btn .chev {
  font-size: 0.7rem;
  transition: transform 0.25s var(--ease);
}
.nav-item:hover .nav-drop-btn {
  color: var(--ink);
}
.nav-item:hover .nav-drop-btn .chev {
  transform: rotate(180deg);
}
.nav-dropdown {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translate(-50%, 6px);
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  padding: 10px;
  min-width: 220px;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.2s var(--ease),
    transform 0.2s var(--ease);
  z-index: 50;
}
/* Invisible hover bridge over the gap between the nav button and the dropdown -
   without this, moving the mouse down to the menu crosses dead space and closes it. */
.nav-dropdown::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -16px;
  height: 16px;
}
.nav-item:hover .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}
.nav-dropdown a {
  display: block;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-soft);
}
.nav-dropdown a:hover {
  background: var(--paper-warm);
  color: var(--ink);
}
.nav-dropdown a::after {
  display: none;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  position: relative;
  z-index: 210;
}
.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition:
    transform 0.25s,
    opacity 0.25s;
}
.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 900px) {
  .hamburger {
    display: flex;
  }
  .nav-links {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(320px, 86vw);
    height: 100vh;
    background: var(--paper);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 32px 40px;
    gap: 24px;
    transform: translateX(100%);
    transition: transform 0.35s var(--ease);
    box-shadow: var(--shadow-lg);
  }
  .nav-links.open {
    transform: translateX(0);
  }
  .nav-item {
    width: 100%;
  }
  .nav-drop-btn {
    pointer-events: none;
    color: var(--ink);
    font-size: 0.92rem;
  }
  .nav-drop-btn .chev {
    display: none;
  }
  .nav-dropdown {
    position: static;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 2px 0 2px 14px;
    min-width: 0;
  }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  padding: 72px 0 100px;
  overflow: hidden;
  background: var(--paper-warm);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      560px 380px at 88% -8%,
      rgba(232, 165, 35, 0.22),
      transparent 60%
    ),
    radial-gradient(
      480px 320px at -6% 100%,
      rgba(43, 143, 191, 0.18),
      transparent 60%
    );
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  position: relative;
  z-index: 1;
}
.hero-text-col {
  padding-left: max(24px, calc((100vw - var(--container)) / 2 + 24px));
  padding-right: 48px;
  padding-top: 28px;
}
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-text-col {
    padding: 0 24px;
  }
}
.hero h1 {
  font-size: clamp(2.1rem, 3.7vw, 3.05rem);
  letter-spacing: -0.01em;
}
.hero h1 .accent {
  color: var(--amber-dark);
}
.hero h1 .accent2 {
  color: var(--teal);
}

/* ---------- Handwritten accent (cry.org-style marker word) ---------- */
.hand {
  font-family: var(--font-hand);
  font-weight: 400;
  display: inline-block;
  position: relative;
  transform: rotate(-2deg);
  color: var(--amber-dark);
}
.hand::after {
  content: "";
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: -2px;
  height: 8px;
  background: var(--amber);
  opacity: 0.35;
  border-radius: 6px;
  z-index: -1;
  transform: rotate(1deg);
}
.hand.teal {
  color: var(--teal-dark);
}
.hand.teal::after {
  background: var(--teal);
}
.hand.pink {
  color: var(--pink);
}
.hand.pink::after {
  background: var(--pink);
}
.hero-lede {
  font-size: 1.08rem;
  max-width: 46ch;
}
.hero-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px;
}
.hero-meta-row {
  display: flex;
  gap: 28px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.hero-meta-row .m-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--teal-dark);
}
.hero-meta-row .m-lbl {
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.hero-visual {
  position: relative;
}
.torn-frame-wrap {
  position: relative;
  height: clamp(420px, 62vh, 620px);
}
.torn-frame-paint {
  position: absolute;
  left: -7%;
  top: -3%;
  bottom: -3%;
  width: 42%;
  z-index: 0;
  pointer-events: none;
}
.torn-frame-paint svg {
  display: block;
  width: 100%;
  height: 100%;
}
.hero-photo-frame {
  position: relative;
  z-index: 1;
  overflow: hidden;
  height: 100%;
}
.hero-photo-frame img,
.hero-photo-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  background: var(--ink);
}
/* Desktop: bleed the hero photo flush to the right edge of the viewport, cry.org-style */
@media (min-width: 901px) {
  .hero-photo-frame {
    border-top-left-radius: var(--radius-lg);
    border-bottom-left-radius: var(--radius-lg);
    box-shadow: -18px 0 50px rgba(29, 42, 56, 0.14);
  }
}
@media (max-width: 900px) {
  .torn-frame-wrap {
    height: auto;
    overflow: hidden;
    border-radius: var(--radius-lg);
  }
  .hero-photo-frame {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4/5;
    height: auto;
  }
}
.hero-badge {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  z-index: 5;
  transform: translateZ(0);
  isolation: isolate;
}
.hero-badge.b1 {
  top: 28px;
  left: 28px;
}
.hero-badge.b2 {
  bottom: 28px;
  right: 28px;
}
@media (max-width: 900px) {
  .hero-badge.b1 {
    top: -22px;
    left: -12px;
  }
  .hero-badge.b2 {
    bottom: -22px;
    right: -12px;
  }
}
.hero-badge .n {
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--amber-dark);
}
.hero-badge .l {
  font-size: 0.74rem;
  color: var(--ink-soft);
  max-width: 110px;
  line-height: 1.3;
}
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    order: -1;
    max-width: 420px;
    margin: 0 auto;
  }
  .hero-badge {
    display: none;
  }
}

/* =========================================================
   STAT CARDS (cry.org-style "impact" grid)
   ========================================================= */
.stats-section {
  padding: 88px 0;
  position: relative;
}
.stat-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  position: relative;
  z-index: 3;
}
.stat-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 30px 22px 26px;
  text-align: center;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
  position: relative;
  overflow: hidden;
}
.stat-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  background: radial-gradient(
    160px 90px at 50% -10%,
    rgba(232, 165, 35, 0.16),
    transparent 70%
  );
}
.stat-card:hover {
  transform: translateY(-8px) rotate(-0.6deg);
  box-shadow: var(--shadow-lg);
}
.stat-card:hover::before {
  opacity: 1;
}
.ic-svg {
  display: inline-block;
  vertical-align: -3px;
  flex-shrink: 0;
  margin-right: 2px;
}
.stat-card .ic {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  background: var(--amber-light);
  color: var(--amber-dark);
}
.stat-card:nth-child(2) .ic {
  background: var(--teal-light);
}
.stat-card:nth-child(3) .ic {
  background: #e1f3ea;
}
.stat-card:nth-child(4) .ic {
  background: #fbe3ee;
}
.stat-card .n {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.7rem, 2.6vw, 2.1rem);
  color: var(--ink);
}
.stat-card .l {
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin-top: 4px;
  line-height: 1.4;
}
@media (max-width: 900px) {
  .stat-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* =========================================================
   SECTIONS generic
   ========================================================= */
.section {
  padding: 96px 0;
}
.section-head {
  max-width: 640px;
  margin-bottom: 52px;
}
.section-head h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.bg-warm {
  background: var(--paper-warm);
}
.bg-ink {
  background: var(--ink);
  color: var(--white);
}
.bg-ink h2,
.bg-ink h3,
.bg-ink h4 {
  color: var(--white);
}
.bg-ink p {
  color: rgba(255, 255, 255, 0.72);
}

/* ---------- Program / cause cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.p-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
  border-bottom: 5px solid var(--amber);
  display: flex;
  flex-direction: column;
}
.p-card:nth-child(2) {
  border-bottom-color: var(--teal);
}
.p-card:nth-child(3) {
  border-bottom-color: var(--green);
}
.p-card:nth-child(4) {
  border-bottom-color: var(--pink);
}
.p-card:nth-child(5) {
  border-bottom-color: var(--amber);
}
.p-card:nth-child(6) {
  border-bottom-color: var(--teal);
}
.p-card:nth-child(7) {
  border-bottom-color: var(--green);
}
.p-card:nth-child(8) {
  border-bottom-color: var(--pink);
}
.p-card:nth-child(9) {
  border-bottom-color: var(--amber);
}
.p-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}
.p-card-img {
  aspect-ratio: 16/11;
  overflow: hidden;
}
.p-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.5s var(--ease);
}
.p-card:hover .p-card-img img {
  transform: scale(1.06);
}
.p-card-body {
  padding: 26px 26px 30px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.p-card-body h3 {
  font-size: 1.2rem;
}
.p-card-body p {
  font-size: 0.93rem;
  flex: 1;
}
.p-card-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--amber-dark);
  margin-bottom: 10px;
}
@media (max-width: 900px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Approach / levels ring ---------- */
.approach-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.approach-list {
  display: grid;
  gap: 22px;
}
.approach-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.approach-icon {
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  background: var(--amber-light);
}
.approach-item:nth-child(2) .approach-icon {
  background: var(--teal-light);
}
.approach-item:nth-child(3) .approach-icon {
  background: #e1f3ea;
}
.approach-item:nth-child(4) .approach-icon {
  background: #fbe3ee;
}
.approach-item h4 {
  margin-bottom: 4px;
  font-size: 1.05rem;
}
.approach-item p {
  margin: 0;
  font-size: 0.92rem;
}

.ring-visual {
  position: relative;
  aspect-ratio: 1;
  max-width: 380px;
  margin: 0 auto;
}
.ring-visual .ring {
  position: absolute;
  inset: 0;
  border: 1px dashed var(--line);
  border-radius: 50%;
}
.ring-visual .ring-inner {
  position: absolute;
  inset: 26%;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 6px solid var(--white);
}
.ring-visual .ring-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
.ring-node {
  position: absolute;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  border: 2px solid var(--amber);
}
.ring-node .ic {
  font-size: 1.3rem;
  margin-bottom: 2px;
}
.rn1 {
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  border-color: var(--amber);
}
.rn2 {
  top: 50%;
  right: -18px;
  transform: translateY(-50%);
  border-color: var(--teal);
}
.rn3 {
  bottom: -18px;
  left: 50%;
  transform: translateX(-50%);
  border-color: var(--green);
}
.rn4 {
  top: 50%;
  left: -18px;
  transform: translateY(-50%);
  border-color: var(--pink);
}
@media (max-width: 900px) {
  .approach-grid {
    grid-template-columns: 1fr;
  }
  .ring-visual {
    margin-top: 20px;
  }
}

/* ---------- Story / testimonial ---------- */
.story-feature {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--white);
}
.story-feature img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  min-height: 320px;
}
.story-feature-body {
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.story-quote-mark {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 8px;
}
.story-feature-body p {
  font-size: 1.05rem;
  color: var(--ink);
}
.story-feature-body .attribution {
  font-family: var(--font-display);
  font-weight: 700;
  margin-top: 18px;
  color: var(--teal-dark);
}
@media (max-width: 900px) {
  .story-feature {
    grid-template-columns: 1fr;
  }
  .story-feature img {
    min-height: 240px;
  }
}

/* ---------- Quote strip ---------- */
.quote-strip {
  text-align: center;
  padding: 90px 0;
}
.quote-strip .q {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  font-weight: 600;
  max-width: 760px;
  margin: 0 auto 20px;
  color: var(--ink);
}
.quote-strip .sig {
  color: var(--amber-dark);
  font-family: var(--font-display);
  font-weight: 700;
}
.quote-strip .role {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 4px;
}

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 160px;
  gap: 14px;
}
.gallery-grid a {
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: block;
  position: relative;
}
.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.4s var(--ease);
}
.gallery-grid a:hover img {
  transform: scale(1.08);
}
.g-tall {
  grid-row: span 2;
}
.g-wide {
  grid-column: span 2;
}
@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 140px;
  }
  .g-wide {
    grid-column: span 2;
  }
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  padding-top: 70px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.footer-brand img {
  height: 40px;
}
.footer-logo-img {
  height: 44px;
  width: auto;
}
.footer-brand-text {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
}
.footer-brand-text span {
  display: block;
  font-weight: 500;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.6);
}
.footer-desc {
  font-size: 0.9rem;
  max-width: 34ch;
  color: rgba(255, 255, 255, 0.68);
}
.footer-col h4 {
  color: var(--white);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 18px;
}
.footer-col a {
  display: block;
  font-size: 0.92rem;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.2s;
}
.footer-col a:hover {
  color: var(--amber);
}
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.2s,
    border-color 0.2s,
    transform 0.2s;
}
.footer-social a:hover {
  background: var(--amber);
  border-color: var(--amber);
  transform: translateY(-3px);
}
.footer-social svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 24px 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}
.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.5);
}
.footer-bottom a {
  color: rgba(255, 255, 255, 0.6);
}
.footer-bottom a:hover {
  color: var(--amber);
}
.credit {
  font-size: 0.78rem;
}
.credit a {
  color: var(--amber);
  font-weight: 600;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--amber);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  border: none;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition:
    opacity 0.3s,
    transform 0.3s;
  font-size: 1.1rem;
}
.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

/* =========================================================
   PAGE HEADER (inner pages)
   ========================================================= */
.page-hero {
  padding: 64px 0 60px;
  background: var(--paper-warm);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    600px 300px at 90% 0%,
    rgba(232, 165, 35, 0.2),
    transparent 60%
  );
}
.page-hero .container {
  position: relative;
  z-index: 1;
}
.breadcrumb {
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin-bottom: 14px;
}
.breadcrumb a {
  color: var(--teal-dark);
  font-weight: 600;
}
.page-hero h1 {
  font-size: clamp(2.1rem, 4vw, 3rem);
  max-width: 20ch;
}
.page-hero .lede {
  max-width: 60ch;
  font-size: 1.05rem;
}

/* ---------- Two-column content blocks ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split.reverse .split-media {
  order: 2;
}
.split-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  width: 100%;
  aspect-ratio: 4/3.2;
  object-fit: cover;
  object-position: top;
}
@media (max-width: 900px) {
  .split {
    grid-template-columns: 1fr;
  }
  .split.reverse .split-media {
    order: -1;
  }
}

/* ---------- Values / pills ---------- */
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.pill {
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.86rem;
  box-shadow: var(--shadow-sm);
}

/* ---------- Program callout (partnership highlight, left-accent card) ---------- */
.program-callout {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--paper-warm);
  border-left: 4px solid var(--amber);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  margin: 24px 0;
}
.program-callout .ic {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--amber-light);
  color: var(--amber-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}
.program-callout h4 {
  font-size: 1rem;
  margin-bottom: 6px;
}
.program-callout p {
  font-size: 0.9rem;
  margin: 0;
}

/* ---------- Timeline (approach levels, list style) ---------- */
.level-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.level-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px 22px;
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.level-card .ic {
  font-size: 1.8rem;
  margin-bottom: 12px;
  color: var(--amber-dark);
}
.pillar-card:nth-child(2) .ic {
  color: var(--teal-dark);
}
.pillar-card:nth-child(3) .ic {
  color: var(--green);
}
.pillar-card:nth-child(4) .ic {
  color: var(--pink);
}
.pillar-card:nth-child(5) .ic {
  color: var(--amber-dark);
}
.pillar-card:nth-child(6) .ic {
  color: var(--teal-dark);
}
.level-card h4 {
  font-size: 1rem;
  margin-bottom: 8px;
}
.level-card p {
  font-size: 0.84rem;
  margin: 0;
}
@media (max-width: 900px) {
  .level-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .level-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Founder / people ---------- */
.people-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.people-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.people-avatar {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--white);
  background: linear-gradient(135deg, var(--teal), var(--green));
}
.people-name {
  font-family: var(--font-display);
  font-weight: 700;
}
.people-role {
  font-size: 0.82rem;
  color: var(--amber-dark);
  font-weight: 600;
  margin-bottom: 10px;
}
.people-quote {
  font-size: 0.9rem;
  font-style: italic;
  margin: 0;
}
.people-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}
.people-grid-4 .people-card:nth-child(2) .people-avatar {
  background: linear-gradient(135deg, var(--amber), var(--amber-dark));
}
.people-grid-4 .people-card:nth-child(3) .people-avatar {
  background: linear-gradient(135deg, var(--pink), #8f2465);
}
.people-grid-4 .people-card:nth-child(4) .people-avatar {
  background: linear-gradient(135deg, var(--green), #1f6b4a);
}
@media (max-width: 900px) {
  .people-grid {
    grid-template-columns: 1fr;
    max-width: 380px;
    margin: 0 auto;
  }
  .people-grid-4 {
    grid-template-columns: repeat(2, 1fr);
    max-width: 560px;
  }
}
@media (max-width: 560px) {
  .people-grid-4 {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   DONATE / GET INVOLVED
   ========================================================= */
.donate-hero {
  background: linear-gradient(135deg, var(--amber) 0%, #f2c25e 100%);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  color: var(--ink);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  box-shadow: var(--shadow-lg);
}
.donate-hero h2 {
  font-size: clamp(1.8rem, 3vw, 2.3rem);
}
.donate-stat-row {
  display: flex;
  gap: 30px;
  margin-top: 26px;
  flex-wrap: wrap;
}
.donate-stat-row .n {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.6rem;
}
.donate-stat-row .l {
  font-size: 0.78rem;
  font-weight: 600;
}
@media (max-width: 900px) {
  .donate-hero {
    grid-template-columns: 1fr;
    padding: 40px 28px;
  }
}

.donate-methods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}
.donate-method-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}
.donate-method-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
}
.detail-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 0.92rem;
}
.detail-row:last-child {
  border-bottom: none;
}
.detail-row .k {
  color: var(--ink-soft);
}
.detail-row .v {
  font-weight: 700;
  font-family: var(--font-display);
  text-align: right;
}
.copy-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 700;
}
.qr-box {
  width: 160px;
  height: 160px;
  border-radius: var(--radius-sm);
  border: 2px dashed var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  color: var(--ink-soft);
  font-size: 0.78rem;
  text-align: center;
  padding: 10px;
}
.fund-split {
  display: grid;
  gap: 16px;
}
.fund-row {
  display: grid;
  grid-template-columns: 90px 1fr 50px;
  align-items: center;
  gap: 12px;
}
.fund-row .label {
  font-size: 0.86rem;
  font-weight: 600;
}
.fund-track {
  height: 10px;
  border-radius: 999px;
  background: var(--paper-warm);
  overflow: hidden;
}
.fund-fill {
  height: 100%;
  border-radius: 999px;
}
.fund-row .pct {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.86rem;
  text-align: right;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.trust-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}
.trust-item .ic {
  font-size: 1.4rem;
}
.trust-item h4 {
  font-size: 0.92rem;
  margin-bottom: 2px;
}
.trust-item p {
  font-size: 0.8rem;
  margin: 0;
}
@media (max-width: 900px) {
  .donate-methods,
  .trust-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   CONTACT
   ========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
}
.contact-info-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #1d2a38 0%, #16222e 60%, #142b3a 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 44px 36px;
  box-shadow: var(--shadow-lg);
  isolation: isolate;
}
.contact-info-card::before,
.contact-info-card::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  z-index: -1;
  animation: blob-float 12s ease-in-out infinite;
}
.contact-info-card::before {
  width: 220px;
  height: 220px;
  background: radial-gradient(
    circle,
    rgba(232, 165, 35, 0.35),
    transparent 70%
  );
  top: -60px;
  right: -60px;
}
.contact-info-card::after {
  width: 260px;
  height: 260px;
  background: radial-gradient(
    circle,
    rgba(43, 143, 191, 0.32),
    transparent 70%
  );
  bottom: -80px;
  left: -60px;
  animation-delay: -6s;
}
@keyframes blob-float {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(14px, -18px) scale(1.08);
  }
}
.contact-info-card h3 {
  color: var(--white);
  font-size: 1.4rem;
}
.contact-info-card > p {
  color: rgba(255, 255, 255, 0.68);
}
.contact-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(232, 165, 35, 0.14);
  border: 1px solid rgba(232, 165, 35, 0.4);
  color: var(--amber);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 18px;
}
.contact-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
  animation: pulse-dot 1.8s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(1.5);
  }
}

.c-line {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-top: 18px;
  padding: 10px 12px;
  margin-left: -12px;
  margin-right: -12px;
  border-radius: 14px;
  transition:
    background 0.3s var(--ease),
    transform 0.3s var(--ease);
}
.c-line:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateX(4px);
}
.c-line .ic {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  font-size: 1.05rem;
  transition:
    transform 0.35s var(--ease),
    background 0.35s var(--ease);
}
.c-line:hover .ic {
  transform: rotate(-8deg) scale(1.08);
  background: rgba(232, 165, 35, 0.22);
}
.c-line strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--white);
}
.c-line span {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.65);
}

.contact-info-card .footer-social a {
  border-color: rgba(255, 255, 255, 0.18);
}
.contact-info-card .footer-social a:hover {
  transform: translateY(-4px) rotate(-6deg);
}

.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.84rem;
}
.field input,
.field select,
.field textarea {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  font-family: var(--font-body);
  font-size: 0.92rem;
  background: var(--paper-warm);
  color: var(--ink);
}
.field textarea {
  resize: vertical;
  min-height: 110px;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--teal);
  outline-offset: 1px;
}
@media (max-width: 700px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   CTA band
   ========================================================= */
.cta-band {
  background: var(--teal);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  text-align: center;
}
.cta-band h2 {
  color: var(--white);
}
.cta-band p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 56ch;
  margin: 0 auto 26px;
}
.cta-band-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Misc ---------- */
.mt-0 {
  margin-top: 0;
}
.mb-0 {
  margin-bottom: 0;
}
.text-center {
  text-align: center;
}
.divider-line {
  height: 1px;
  background: var(--line);
  margin: 60px 0;
}

/* =========================================================
   LIGHTBOX (gallery: next/prev, zoom, keyboard, swipe)
   ========================================================= */
.gallery-grid a {
  cursor: zoom-in;
}
.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}
.filter-btn {
  padding: 9px 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.84rem;
  cursor: pointer;
  transition:
    background 0.25s,
    color 0.25s,
    border-color 0.25s,
    transform 0.25s;
}
.filter-btn:hover {
  transform: translateY(-2px);
}
.filter-btn.active {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(10, 14, 18, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.lightbox.open {
  display: flex;
  opacity: 1;
}
.lb-stage {
  position: relative;
  width: min(92vw, 1100px);
  height: min(84vh, 780px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.lb-stage img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  cursor: zoom-in;
  transition: transform 0.35s var(--ease);
  transform: scale(1);
  touch-action: pinch-zoom;
}
.lb-stage img.zoomed {
  cursor: zoom-out;
  transform: scale(2);
}
.lb-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -44px;
  text-align: center;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.86rem;
}
.lb-close,
.lb-prev,
.lb-next {
  position: fixed;
  z-index: 1001;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.3rem;
  transition:
    background 0.25s,
    transform 0.25s;
}
.lb-close:hover,
.lb-prev:hover,
.lb-next:hover {
  background: var(--amber);
  color: var(--ink);
}
.lb-close {
  top: 26px;
  right: 26px;
}
.lb-prev {
  left: 26px;
  top: 50%;
  transform: translateY(-50%);
}
.lb-next {
  right: 26px;
  top: 50%;
  transform: translateY(-50%);
}
.lb-prev:hover,
.lb-next:hover {
  transform: translateY(-50%) scale(1.08);
}
.lb-counter {
  position: fixed;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.65);
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  background: rgba(255, 255, 255, 0.06);
  padding: 6px 16px;
  border-radius: 999px;
  z-index: 1001;
}
.lb-hint {
  position: fixed;
  bottom: 26px;
  right: 26px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.74rem;
  z-index: 1001;
}
@media (max-width: 700px) {
  .lb-prev {
    left: 10px;
    width: 40px;
    height: 40px;
  }
  .lb-next {
    right: 10px;
    width: 40px;
    height: 40px;
  }
  .lb-close {
    top: 14px;
    right: 14px;
    width: 40px;
    height: 40px;
  }
  .lb-hint {
    display: none;
  }
}

/* =========================================================
   TOP UTILITY BAR (cry.org-style contact strip)
   ========================================================= */
.topbar {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.8rem;
}
.topbar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 9px 24px;
  max-width: var(--container);
  margin: 0 auto;
}
.topbar-contact {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.topbar-contact a {
  display: flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.2s;
}
.topbar-contact a:hover {
  color: var(--amber);
}
.topbar-search {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 5px 6px 5px 14px;
  gap: 8px;
  flex: 0 1 220px;
}
.topbar-search input {
  flex: 1;
  min-width: 0;
  background: none;
  border: none;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.8rem;
  outline: none;
}
.topbar-search input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}
.topbar-search button {
  background: rgba(255, 255, 255, 0.12);
  border: none;
  border-radius: 50%;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.78rem;
  color: var(--white);
}
@media (max-width: 900px) {
  .topbar-search {
    display: none;
  }
}
.topbar-social {
  display: flex;
  align-items: center;
  gap: 14px;
}
.topbar-social a {
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.2s;
  display: flex;
}
.topbar-social a:hover {
  color: var(--amber);
}
.topbar-social svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}
@media (max-width: 700px) {
  .topbar-row {
    padding: 8px 20px;
    gap: 10px;
  }
  .topbar-contact a span.full {
    display: none;
  }
}

/* =========================================================
   FULL-BLEED BANNER + brush-stroke edges (cry.org torn-paper look)
   ========================================================= */
.full-bleed {
  margin: 1rem 0;
  position: relative;
  width: 100%;
}
.full-bleed img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
.brush-edge {
  position: absolute;
  left: 0;
  right: 0;
  height: 110px;
  z-index: 2;
  line-height: 0;
}
.brush-edge.top {
  top: -1px;
}
.brush-edge.bottom {
  bottom: -1px;
  transform: scaleY(-1);
}
.brush-edge svg {
  display: block;
  width: 100%;
  height: 100%;
}
@media (max-width: 700px) {
  .full-bleed {
    height: 220px;
  }
  .brush-edge {
    height: 70px;
  }
}

.banner-heading-card {
  display: inline-block;
  margin-top: -46px;
  position: relative;
  z-index: 6;
  background: var(--amber);
  color: var(--ink);
  padding: 18px 38px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
}
@media (max-width: 700px) {
  .banner-heading-card {
    font-size: 1.15rem;
    padding: 14px 26px;
    margin-top: -30px;
  }
}

/* ---------- Pillar icon cards (cry.org 4-card "What We Do" row) ---------- */
.pillar-card {
  border-top: 5px solid var(--amber);
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}
.pillar-card:nth-child(2) {
  border-top-color: var(--teal);
}
.pillar-card:nth-child(3) {
  border-top-color: var(--green);
}
.pillar-card:nth-child(4) {
  border-top-color: var(--pink);
}
.pillar-card:nth-child(5) {
  border-top-color: var(--amber);
}
.pillar-card:nth-child(6) {
  border-top-color: var(--teal);
}
.pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

/* ---------- Scroll indicator (hero) ---------- */
.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 120px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.scroll-indicator .line {
  width: 1px;
  height: 40px;
  background: var(--line);
}
.scroll-indicator .dot {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--amber);
  animation: dot-bounce 1.8s ease-in-out infinite;
}
@keyframes dot-bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(8px);
  }
}
@media (max-width: 900px) {
  .scroll-indicator {
    display: none;
  }
}

/* =========================================================
   CAROUSEL (cry.org-style: prev/next arrows, snap scroll)
   ========================================================= */
.carousel-row {
  display: grid;
  grid-template-columns: 0.8fr 1.7fr;
  gap: 44px;
  align-items: center;
}
.carousel-wrap {
  position: relative;
  min-width: 0;
}
.carousel {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  min-width: 0;
}
.carousel::-webkit-scrollbar {
  display: none;
}
.car-track {
  display: flex;
  gap: 24px;
  padding: 6px 6px 18px;
  width: max-content;
}
.car-card {
  flex: 0 0 300px;
  scroll-snap-align: start;
}
.car-btn {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  z-index: 5;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  color: var(--ink);
  transition:
    background 0.2s,
    color 0.2s,
    transform 0.2s;
}
.car-btn:hover {
  background: var(--amber);
}
.car-prev {
  left: -22px;
}
.car-next {
  right: -22px;
}
@media (max-width: 1180px) {
  .car-prev {
    left: 6px;
  }
  .car-next {
    right: 6px;
  }
}
.car-dots {
  display: none;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}
.car-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: var(--line);
  cursor: pointer;
  transition:
    width 0.25s var(--ease),
    background 0.25s var(--ease);
}
.car-dots button.active {
  width: 22px;
  background: var(--amber);
}
@media (max-width: 900px) {
  .carousel-row {
    grid-template-columns: 1fr;
  }
  .car-btn {
    display: none;
  }
  .car-card {
    flex-basis: 78vw;
  }
  .car-dots {
    display: flex;
  }
}

/* ---------- Marquee (real testimonials) ---------- */
.marquee {
  overflow: hidden;
  position: relative;
}
.marquee::before,
.marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--paper-warm), transparent);
}
.marquee::after {
  right: 0;
  background: linear-gradient(-90deg, var(--paper-warm), transparent);
}
.marquee-track {
  display: flex;
  gap: 22px;
  width: max-content;
  animation: scroll-x 40s linear infinite;
}
.marquee:hover .marquee-track {
  animation-play-state: paused;
}
@keyframes scroll-x {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
.m-card {
  width: 340px;
  flex: none;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}
.m-card .emoji {
  font-size: 1.5rem;
  margin-bottom: 10px;
}
.m-card p {
  font-size: 0.92rem;
  margin-bottom: 12px;
}
.m-card .who {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.84rem;
  color: var(--teal-dark);
}
