/* =========================================================
   Traveling Donors — Redesign
   Editorial direction: type-led, narrative, quiet warmth
   ========================================================= */
@import url("colors_and_type.css");

* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  background: var(--bg-1);
  color: var(--fg-1);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--td-teal-200); color: var(--td-slate-900); }

/* ---------- Theme variants (via Tweaks) ---------- */
body[data-palette="warm"]       { --hero-bg: #FBF7F0; --stat-bg: #F4EBDA; }
body[data-palette="cool"]       { --hero-bg: #F2F6F7; --stat-bg: #FFFFFF; }
body[data-palette="editorial"]  { --hero-bg: #FAF7F2; --stat-bg: #FAF7F2; }

/* ---------- Container ---------- */
.r-wrap { max-width: 1320px; margin: 0 auto; padding-left: 56px; padding-right: 56px; }

/* ---------- Buttons (kit-compatible) ---------- */
.r-btn {
  display: inline-flex; align-items: center; gap: 10px;
  border: 0; cursor: pointer;
  font-family: var(--font-sans); font-weight: 500; font-size: 15px;
  padding: 15px 26px; border-radius: 999px; line-height: 1;
  text-decoration: none;
  transition: transform 150ms ease-out, box-shadow 150ms ease-out, background 150ms ease-out, color 150ms ease-out, border-color 150ms ease-out;
}
.r-btn-primary  { background: var(--accent); color: #fff; box-shadow: 0 4px 14px rgba(63,160,162,0.28); }
.r-btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: var(--shadow-teal); }
.r-btn-primary:active { background: var(--accent-press); transform: translateY(0) scale(.98); }
.r-btn-ghost { background: transparent; color: var(--td-slate-900); padding: 15px 18px; }
.r-btn-ghost:hover { color: var(--td-teal-700); }
.r-btn-outline-light { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.35); }
.r-btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,0.08); }

/* =========================================================
   HEADER
   ========================================================= */
.r-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease-out, background 200ms ease-out;
}
.r-header.is-scrolled { border-bottom-color: var(--line); }
.r-header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0;
  max-width: 1320px; margin: 0 auto; padding-left: 56px; padding-right: 56px;
}
.r-brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: inherit; }
.r-brand img {
  height: 50px; width: 44px; display: block;
  object-fit: cover; object-position: top center;
  /* logo PNG includes the wordmark; crop to the mark only */
  clip-path: inset(0 0 38% 0);
  margin-bottom: -19px; /* compensate for clipped bottom whitespace */
}
.r-brand-text { display: flex; flex-direction: column; gap: 2px; line-height: 1; }
.r-brand-name { font-family: var(--font-display); font-size: 21px; font-weight: 500; color: var(--td-teal-700); letter-spacing: -0.01em; white-space: nowrap; }
.r-brand-sub  { font-family: var(--font-eyebrow); font-size: 9px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--td-slate-500); white-space: nowrap; }
.r-nav { display: flex; gap: 28px; }
.r-nav a { color: var(--fg-2); text-decoration: none; font-size: 14px; font-weight: 500; transition: color 150ms; position: relative; white-space: nowrap; }
.r-nav a:hover { color: var(--td-teal-700); }
.r-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 1px; background: var(--td-teal-600);
  transform: scaleX(0); transform-origin: left; transition: transform 200ms ease-out;
}
.r-nav a:hover::after { transform: scaleX(1); }
.r-header-cta { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.r-phone { font-size: 13px; color: var(--fg-3); font-variant-numeric: tabular-nums; white-space: nowrap; text-decoration: none; }
.r-phone:hover { color: var(--td-teal-700); }

/* =========================================================
   HERO
   ========================================================= */
.r-hero {
  position: relative;
  background: var(--hero-bg, var(--bg-2));
  overflow: hidden;
  padding: 80px 0 96px;
}
.r-hero-inner {
  display: grid; grid-template-columns: 1.15fr 1fr;
  gap: 56px; align-items: center;
}
.r-hero-text { display: flex; flex-direction: column; gap: 28px; }
.r-hero-eyebrow { display: inline-flex; align-items: center; gap: 10px; }
.r-hero-eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--td-teal-600); }
.r-hero-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 5.4vw, 84px);
  line-height: 1.0;
  letter-spacing: -0.025em;
  font-weight: 500;
  color: var(--td-slate-900);
  margin: 0;
  max-width: 100%;
  overflow-wrap: break-word;
}
.r-hero-title em {
  font-style: italic;
  background: var(--td-gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.05em;
}
.r-hero-lede {
  font-family: var(--font-sans); font-size: 19px; line-height: 1.65;
  color: var(--fg-2); max-width: 480px; margin: 0;
}
.r-hero-cta { display: flex; gap: 8px; align-items: center; margin-top: 4px; }
.r-hero-meta { display: flex; gap: 28px; padding-top: 18px; border-top: 1px solid var(--line); }
.r-hero-meta-cell { display: flex; flex-direction: column; gap: 4px; }
.r-hero-meta-num { font-family: var(--font-display); font-size: 32px; font-weight: 500; color: var(--td-slate-900); line-height: 1; }
.r-hero-meta-lbl { font-family: var(--font-eyebrow); font-size: 10px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--td-slate-500); }

/* Hero figure — the brand mark, blown up */
.r-hero-figure {
  position: relative;
  aspect-ratio: 1 / 1.1;
  display: flex; align-items: center; justify-content: center;
}
.r-hero-figure-bg {
  position: absolute; inset: 8% 12% 14% 8%;
  background: radial-gradient(circle at 30% 30%, rgba(167,215,215,0.6), rgba(232,224,206,0.4) 60%, transparent 80%);
  filter: blur(20px);
  border-radius: 50%;
}
.r-hero-figure img {
  position: relative;
  width: 92%; height: auto;
  filter: drop-shadow(0 30px 60px rgba(63, 160, 162, 0.18));
  animation: r-float 6s ease-in-out infinite;
}
@keyframes r-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
.r-hero-figure-stamp {
  position: absolute; left: 6%; bottom: 6%;
  background: #fff;
  padding: 14px 18px;
  border-radius: 14px;
  box-shadow: var(--shadow-2);
  display: flex; flex-direction: column; gap: 2px;
}
.r-hero-figure-stamp small { font-family: var(--font-eyebrow); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600; color: var(--td-teal-600); }
.r-hero-figure-stamp strong { font-family: var(--font-display); font-size: 22px; font-weight: 500; color: var(--td-slate-900); line-height: 1.1; }

/* Photo-led hero variant (Tweak) */
body[data-hero="photo"] .r-hero-figure-bg { display: none; }
body[data-hero="photo"] .r-hero-figure img.r-hero-mark { display: none; }
body[data-hero="photo"] .r-hero-figure img.r-hero-photo { display: block; }
.r-hero-figure img.r-hero-photo { display: none; width: 100%; height: 540px; object-fit: cover; border-radius: 22px; box-shadow: var(--shadow-3); animation: none; }

/* =========================================================
   STATS RIBBON
   ========================================================= */
.r-ribbon {
  background: var(--stat-bg, var(--td-sand-100));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.r-ribbon-inner {
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding: 28px 0;
}
.r-ribbon-cell {
  display: flex; flex-direction: column; gap: 4px; padding: 0 28px;
  border-right: 1px solid rgba(27,42,58,0.08);
}
.r-ribbon-cell:last-child { border-right: 0; }
.r-ribbon-num { font-family: var(--font-display); font-size: 36px; font-weight: 500; line-height: 1; color: var(--td-slate-900); }
.r-ribbon-lbl { font-family: var(--font-sans); font-size: 13px; color: var(--fg-2); }
body[data-stats="off"] .r-ribbon { display: none; }

/* =========================================================
   EFFECTS — reveal + tilt + parallax shared styles
   ========================================================= */
.r-reveal {
  opacity: 0;
  transform: translate3d(0, var(--reveal-y, 28px), 0);
  transition: opacity 700ms cubic-bezier(.2,.7,.2,1), transform 700ms cubic-bezier(.2,.7,.2,1);
  will-change: opacity, transform;
}
.r-reveal.is-shown {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
.r-tilt { will-change: transform; transform-style: preserve-3d; }
.r-tilt > * { transform: translateZ(0); }
.r-tilt-deep > * { transform: translateZ(20px); }

/* Float anim for badges/stamps */
@keyframes r-stamp-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}
.r-float-stamp { animation: r-stamp-float 6s ease-in-out infinite; }

/* Subtle perpetual rotation for halos */
@keyframes r-spin-slow {
  to { transform: rotate(360deg); }
}
.r-spin-slow { animation: r-spin-slow 60s linear infinite; }

/* =========================================================
   ANIMATED HERO (scroll-locked fertilisation sequence)
   ========================================================= */
.r-anim-hero {
  position: relative;
  height: 200vh;       /* total scroll real-estate for the sequence */
  background: transparent;
}
.r-anim-stage {
  position: sticky; top: 0;
  height: 100vh; width: 100%;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(ellipse at 50% 35%, #2F8587 0%, #246A6C 45%, #1B5051 100%);
}
.r-anim-bg-photo {
  position: absolute; inset: 0;
  background-image: url("assets/step-planning.jpg");
  background-size: cover; background-position: center;
  opacity: 0.18;
  mix-blend-mode: luminosity;
  filter: blur(2px) contrast(0.95);
}
.r-anim-bg-tint {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 35%, rgba(91,181,182,0.55) 0%, rgba(31,53,84,0.75) 70%, rgba(15,27,41,0.92) 100%),
    linear-gradient(180deg, rgba(36,106,108,0.2) 0%, rgba(15,27,41,0.85) 100%);
}
.r-anim-bg-grain {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(215,196,165,0.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(127,196,197,0.08) 0%, transparent 50%);
  pointer-events: none;
}

.r-anim-scene {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}

.r-anim-copy {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-areas: "stack";
}
.r-anim-copy-intro,
.r-anim-copy-settle {
  grid-area: stack;
  display: flex; flex-direction: column; align-items: center; gap: 18px;
  /* No CSS transition — opacity is driven directly off scroll progress
     by React; a CSS transition layered on top fights with the
     per-frame React updates and leaves the element stuck. */
}
/* The settle caption sits over the brightest part of the scene (egg
   halo + DNA glow). Use a deeper, layered text-shadow so the type
   stays legible without rendering an opaque pill behind it. */
/* Higher specificity than .r-anim-title (which sets a softer shadow
   later in the file). */
.r-anim-title.r-anim-title-settle {
  text-shadow:
    0 1px 2px rgba(0,0,0,0.92),
    0 3px 10px rgba(0,0,0,0.78),
    0 12px 50px rgba(0,0,0,0.6);
}
.r-anim-eyebrow {
  color: var(--td-sand-200);
  display: inline-flex; align-items: center; gap: 12px;
}
.r-anim-eyebrow::before,
.r-anim-eyebrow::after {
  content: ""; width: 24px; height: 1px; background: currentColor; opacity: 0.6;
}
.r-anim-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.4vw, 80px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 500;
  color: #fff;
  margin: 0;
  text-shadow: 0 6px 30px rgba(0,0,0,0.45);
}
.r-anim-title em {
  font-style: italic;
  color: var(--td-sand-200);
  display: inline-block;
  padding-bottom: 0.12em;
}
.r-anim-lede {
  font-family: var(--font-sans);
  font-size: 18px; line-height: 1.6;
  color: rgba(255,255,255,0.85);
  max-width: 620px; margin: 0;
}
.r-anim-cta {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 12px;
}
.r-btn-on-teal {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.r-btn-on-teal:hover {
  background: rgba(255,255,255,0.20);
  border-color: rgba(255,255,255,0.55);
}

.r-anim-scrollcue {
  position: absolute;
  left: 50%; bottom: 6vh; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.7);
  font-family: var(--font-eyebrow);
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  animation: r-bounce 2s ease-in-out infinite;
  pointer-events: none;
  transition: opacity 200ms linear;
}
.r-anim-scrollcue i { width: 18px; height: 18px; }
@keyframes r-bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50%      { transform: translate(-50%, 8px); }
}

.r-anim-exit-fade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, var(--bg-1) 100%);
  pointer-events: none;
}

/* =========================================================
   HEADER on teal hero — go transparent over the dark stage
   ========================================================= */
.r-header.is-on-dark:not(.is-scrolled) {
  background: transparent;
  border-bottom-color: transparent;
}
.r-header.is-on-dark:not(.is-scrolled) .r-brand-name { color: #fff; }
.r-header.is-on-dark:not(.is-scrolled) .r-brand-sub  { color: rgba(255,255,255,0.7); }
.r-header.is-on-dark:not(.is-scrolled) .r-nav a      { color: rgba(255,255,255,0.85); }
.r-header.is-on-dark:not(.is-scrolled) .r-nav a:hover { color: #fff; }
.r-header.is-on-dark:not(.is-scrolled) .r-phone      { color: rgba(255,255,255,0.7); }
.r-header.is-on-dark:not(.is-scrolled) .r-brand img  {
  filter: brightness(0) invert(1) opacity(0.95);
}
.r-section-title { font-family: var(--font-display); font-size: clamp(36px, 3.8vw, 60px); font-weight: 500; line-height: 1.1; letter-spacing: -0.02em; color: var(--td-slate-900); margin: 6px 0 0; padding-bottom: 4px; }
.r-section-title em { font-style: italic; color: var(--td-teal-600); display: inline-block; padding-bottom: 0.08em; }
.r-section-lede { font-family: var(--font-sans); font-size: 19px; line-height: 1.65; color: var(--fg-2); margin: 0; max-width: 540px; }
.r-section-body { font-family: var(--font-sans); font-size: 17px; line-height: 1.7; color: var(--fg-2); margin: 0; }

/* =========================================================
   ABOUT / FOUNDER
   ========================================================= */
.r-about { padding: 112px 0; background: #fff; }
.r-about-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: center; max-width: 1320px; margin: 0 auto; padding: 0 56px; }
.r-about-media { position: relative; }
.r-about-media img { width: 100%; height: 560px; object-fit: cover; border-radius: 22px; box-shadow: var(--shadow-2); display: block; }
.r-about-stamp { position: absolute; left: -28px; bottom: 36px; background: #fff; padding: 16px 22px; border-radius: 14px; box-shadow: var(--shadow-2); display: flex; flex-direction: column; gap: 2px; min-width: 240px; }
.r-about-stamp small { font-family: var(--font-eyebrow); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600; color: var(--td-teal-600); }
.r-about-stamp strong { font-family: var(--font-display); font-size: 22px; font-weight: 500; color: var(--td-slate-900); }
.r-about-stamp span { font-size: 13px; color: var(--fg-3); }
.r-about-text { display: flex; flex-direction: column; gap: 18px; }

/* =========================================================
   INTERNATIONAL NETWORK
   ========================================================= */
.r-network { position: relative; padding: 112px 0; color: #fff; overflow: hidden; background: var(--td-slate-900); }
.r-network-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0.18;
  filter: saturate(0.7) blur(1px);
}
.r-network::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(31,53,84,0.85), rgba(31,53,84,0.96));
}
.r-network-inner { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 22px; max-width: 880px; }
.r-network-title { font-family: var(--font-display); font-size: clamp(36px, 4vw, 60px); font-weight: 500; line-height: 1.05; letter-spacing: -0.02em; color: #fff; margin: 8px 0 0; }
.r-network-title em { font-style: italic; color: var(--td-sand-200); }
.r-network-body { font-family: var(--font-sans); font-size: 19px; line-height: 1.65; color: rgba(255,255,255,0.85); margin: 0; max-width: 720px; }
.r-network-regions {
  list-style: none; padding: 0; margin: 16px 0 0;
  display: flex; gap: 10px; flex-wrap: wrap;
}
.r-network-regions li {
  font-family: var(--font-eyebrow); font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; font-weight: 600; color: #fff;
  padding: 10px 18px; border: 1px solid rgba(255,255,255,0.28); border-radius: 999px;
  background: rgba(255,255,255,0.04);
}

/* =========================================================
   SERVICES — 3-up grid with image header
   ========================================================= */
.r-svc { padding: 112px 0; background: var(--bg-2); }
.r-svc-head { text-align: center; max-width: 760px; margin: 0 auto 64px; display: flex; flex-direction: column; gap: 18px; align-items: center; }
.r-svc-cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  max-width: 1320px; margin: 0 auto; padding: 0 56px;
}
.r-svc-cards article:nth-child(4) { grid-column: 1 / 2; }
.r-svc-cards article:nth-child(5) { grid-column: 2 / 4; }
.r-svc-card {
  background: #fff; border-radius: 22px; overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-1);
  transition: transform 200ms ease-out, box-shadow 200ms ease-out;
}
.r-svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-3); }
/* All five service tiles share a uniform 1:1 square media well so the
   grid reads as a cohesive set instead of mismatched dimensions. */
.r-svc-card-media {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: linear-gradient(160deg, var(--td-sand-50, #faf6ee) 0%, var(--td-teal-50, #eaf5f4) 100%);
}
.r-svc-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms ease-out; }
.r-svc-card:hover .r-svc-card-media img { transform: scale(1.06); }
.r-svc-card-body { padding: 26px 28px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.r-svc-num { font-family: var(--font-display); font-size: 16px; color: var(--td-teal-600); letter-spacing: 0.04em; }
.r-svc-card-title { font-family: var(--font-display); font-size: 28px; font-weight: 500; line-height: 1.15; letter-spacing: -0.01em; color: var(--td-slate-900); margin: 0; }
.r-svc-card-body p { font-size: 15px; line-height: 1.55; color: var(--fg-2); margin: 0; }
.r-svc-link {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 500; color: var(--td-teal-700); text-decoration: none;
  margin-top: auto; padding-top: 12px;
  transition: color 150ms, gap 200ms;
}
.r-svc-link:hover { color: var(--td-teal-800); gap: 12px; }

/* =========================================================
   HOW IT WORKS — 5 photo cards in a row
   ========================================================= */
.r-journey { background: var(--td-sand-50); padding: 112px 0; position: relative; overflow: hidden; }
.r-journey::before {
  content: ""; position: absolute; left: -120px; top: -120px; width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(215,196,165,0.35), transparent 70%);
  border-radius: 50%;
}
.r-journey-head { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: end; margin-bottom: 56px; }
.r-step-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.r-step-card { display: flex; flex-direction: column; gap: 14px; }
.r-step-photo { position: relative; aspect-ratio: 3 / 4; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-1); }
.r-step-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms ease-out; }
.r-step-card:hover .r-step-photo img { transform: scale(1.05); }
.r-step-badge {
  position: absolute; top: 14px; left: 14px;
  background: #fff; color: var(--td-teal-700);
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 16px; font-weight: 500;
  box-shadow: var(--shadow-1);
}
.r-step-title { font-family: var(--font-display); font-size: 24px; font-weight: 500; color: var(--td-slate-900); margin: 0; line-height: 1.2; }
.r-step-body  { font-family: var(--font-sans); font-size: 14px; line-height: 1.55; color: var(--fg-2); margin: 0; }

/* =========================================================
   UNCOMPROMISING STANDARDS
   ========================================================= */
.r-standards { padding: 112px 0; background: #fff; }
.r-standards-inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; max-width: 1320px; margin: 0 auto; padding: 0 56px; align-items: start; }
.r-standards-text { position: sticky; top: 120px; display: flex; flex-direction: column; gap: 16px; }
.r-standards-body { display: flex; flex-direction: column; gap: 18px; }
.r-standards-grid { list-style: none; padding: 24px 0 0; margin: 8px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; }
.r-standards-grid li { display: flex; gap: 14px; align-items: flex-start; }
.r-standards-grid i { width: 28px; height: 28px; color: var(--td-teal-600); flex: 0 0 28px; margin-top: 2px; }
.r-standards-grid div { display: flex; flex-direction: column; gap: 4px; }
.r-standards-grid strong { font-family: var(--font-display); font-size: 20px; font-weight: 500; color: var(--td-slate-900); line-height: 1.2; }
.r-standards-grid span { font-size: 14px; color: var(--fg-2); line-height: 1.5; }

/* =========================================================
   BUILDING FAMILIES
   ========================================================= */
.r-families { background: var(--bg-2); padding: 112px 0; }
.r-families-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px; align-items: center; max-width: 1320px; margin: 0 auto; padding: 0 56px; }
.r-families-media img { width: 100%; height: 540px; object-fit: cover; border-radius: 22px; box-shadow: var(--shadow-3); display: block; }
.r-families-text { display: flex; flex-direction: column; gap: 18px; }

/* =========================================================
   PROMISES — 2x2 grid of standards
   ========================================================= */
.r-promise { padding: 112px 0; }
.r-promise-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: start; }
.r-promise-text { position: sticky; top: 120px; display: flex; flex-direction: column; gap: 16px; }
.r-promise-text h2 { font-family: var(--font-display); font-size: clamp(36px, 3.6vw, 56px); font-weight: 500; line-height: 1.05; letter-spacing: -0.02em; margin: 12px 0 6px; color: var(--td-slate-900); }
.r-promise-text p { font-size: 17px; color: var(--fg-2); margin: 0; line-height: 1.65; max-width: 460px; }
.r-promise-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.r-promise-card {
  background: var(--bg-2); padding: 32px;
  border-radius: 22px;
  display: flex; flex-direction: column; gap: 12px;
  min-height: 240px;
  transition: transform 200ms ease-out, box-shadow 200ms ease-out, background 200ms ease-out;
}
.r-promise-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); background: #fff; }
.r-promise-card .num { font-family: var(--font-display); font-size: 14px; letter-spacing: 0.08em; color: var(--td-teal-600); }
.r-promise-card h3 { font-family: var(--font-display); font-size: 24px; font-weight: 500; line-height: 1.2; margin: 0; color: var(--td-slate-900); }
.r-promise-card p { font-size: 14px; line-height: 1.6; color: var(--fg-2); margin: 0; }
.r-promise-card i { width: 24px; height: 24px; color: var(--td-teal-600); margin-bottom: 6px; }

/* =========================================================
   DONOR PROFILE PREVIEW
   ========================================================= */
.r-donor { padding: 112px 0; background: var(--td-slate-900); color: #fff; position: relative; overflow: hidden; }
.r-donor::before {
  content: ""; position: absolute; right: -200px; top: -200px; width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(63,160,162,0.35), transparent 70%);
  border-radius: 50%;
}
.r-donor-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; position: relative; z-index: 1; }
.r-donor-text h2 { font-family: var(--font-display); font-size: clamp(36px, 3.6vw, 56px); font-weight: 500; line-height: 1.05; letter-spacing: -0.02em; margin: 12px 0 18px; color: #fff; }
.r-donor-text p { font-size: 17px; color: rgba(255,255,255,0.78); margin: 0 0 22px; line-height: 1.65; max-width: 460px; }
.r-donor-text .td-eyebrow { color: var(--td-sand-200); }
.r-donor-stats { display: flex; gap: 32px; margin-top: 22px; }
.r-donor-stats div { display: flex; flex-direction: column; gap: 2px; }
.r-donor-stats strong { font-family: var(--font-display); font-size: 28px; font-weight: 500; color: #fff; }
.r-donor-stats span { font-size: 12px; color: rgba(255,255,255,0.6); letter-spacing: 0.08em; text-transform: uppercase; }

/* The donor profile card mock */
.r-donor-card {
  background: #fff; color: var(--fg-1);
  border-radius: 22px;
  padding: 28px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.35);
  max-width: 460px; margin: 0 auto;
  position: relative;
}
.r-donor-card-head { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.r-donor-avatar {
  width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(135deg, var(--td-sand-200), var(--td-teal-200));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 22px; color: var(--td-slate-900); font-weight: 500;
  position: relative;
}
.r-donor-avatar::after {
  content: ""; position: absolute; right: -2px; bottom: -2px;
  width: 18px; height: 18px; background: var(--td-teal-500);
  border: 2px solid #fff; border-radius: 50%;
}
.r-donor-id { display: flex; flex-direction: column; gap: 2px; }
.r-donor-id strong { font-family: var(--font-display); font-size: 22px; font-weight: 500; }
.r-donor-id span { font-size: 12px; color: var(--fg-3); letter-spacing: 0.04em; }
.r-donor-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; border-top: 1px solid var(--line); padding-top: 18px; }
.r-donor-grid div { display: flex; flex-direction: column; gap: 2px; }
.r-donor-grid label { font-family: var(--font-eyebrow); font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; color: var(--fg-3); }
.r-donor-grid value, .r-donor-grid p { font-size: 14px; color: var(--fg-1); margin: 0; font-weight: 500; }
.r-donor-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 16px; }
.r-donor-tag { padding: 5px 10px; border-radius: 999px; background: var(--td-teal-50); color: var(--td-teal-700); font-size: 11px; font-weight: 500; }
.r-donor-card-badge {
  position: absolute; top: -14px; right: 24px;
  background: var(--td-sand-400); color: var(--td-slate-900);
  padding: 6px 12px; border-radius: 999px;
  font-family: var(--font-eyebrow); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600;
}

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.r-quotes { padding: 112px 0; background: var(--bg-2); }
.r-quotes-head { max-width: 760px; margin: 0 auto 64px; text-align: center; display: flex; flex-direction: column; gap: 14px; align-items: center; }
.r-quotes-head h2 { font-family: var(--font-display); font-size: clamp(36px, 3.4vw, 52px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.05; margin: 8px 0 0; color: var(--td-slate-900); }
.r-quotes-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.r-quote-card { background: #fff; border-radius: 22px; padding: 40px; box-shadow: var(--shadow-1); display: flex; flex-direction: column; gap: 18px; }
.r-quote-mark { font-family: var(--font-display); font-size: 72px; color: var(--td-sand-400); line-height: 0.5; height: 32px; }
.r-quote-card p { font-family: var(--font-display); font-style: italic; font-size: 22px; line-height: 1.45; font-weight: 500; color: var(--fg-1); margin: 0; }
.r-quote-foot { display: flex; align-items: center; gap: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.r-quote-foot .r-donor-avatar { width: 44px; height: 44px; font-size: 16px; }
.r-quote-foot .r-donor-avatar::after { display: none; }
.r-quote-foot div { display: flex; flex-direction: column; }
.r-quote-foot strong { font-family: var(--font-sans); font-size: 14px; font-weight: 600; color: var(--td-slate-900); }
.r-quote-foot span { font-size: 12px; color: var(--fg-3); }

/* =========================================================
   FAQ
   ========================================================= */
.r-faq { padding: 112px 0; }
.r-faq-inner { display: grid; grid-template-columns: 0.9fr 1.4fr; gap: 80px; align-items: start; }
.r-faq-text { position: sticky; top: 120px; }
.r-faq-text h2 { font-family: var(--font-display); font-size: clamp(36px, 3.6vw, 52px); font-weight: 500; line-height: 1.05; letter-spacing: -0.02em; margin: 12px 0 18px; color: var(--td-slate-900); }
.r-faq-text p { font-size: 16px; color: var(--fg-2); line-height: 1.65; margin: 0 0 18px; max-width: 360px; }
.r-faq-list { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--line); }
.r-faq-item { border-bottom: 1px solid var(--line); }
.r-faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px 0; cursor: pointer; user-select: none;
  font-family: var(--font-display); font-size: 22px; font-weight: 500; color: var(--td-slate-900); line-height: 1.3;
}
.r-faq-q i { width: 20px; height: 20px; color: var(--td-teal-600); flex: 0 0 20px; transition: transform 200ms ease-out; }
.r-faq-item.is-open .r-faq-q i { transform: rotate(45deg); }
.r-faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 300ms ease-out;
}
.r-faq-item.is-open .r-faq-a { max-height: 320px; }
.r-faq-a p { padding: 0 0 24px; margin: 0; font-size: 16px; line-height: 1.65; color: var(--fg-2); max-width: 640px; }

/* =========================================================
   CTA BANNER
   ========================================================= */
.r-cta-banner {
  position: relative;
  margin: 0;
  padding: 96px 0;
  background: var(--td-slate-900);
  color: #fff;
  overflow: hidden;
}
.r-cta-banner::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 80% 30%, rgba(63,160,162,0.4), transparent 50%),
    radial-gradient(circle at 10% 90%, rgba(215,196,165,0.25), transparent 50%);
}
.r-cta-banner-inner { position: relative; display: grid; grid-template-columns: 1.4fr 1fr; gap: 64px; align-items: center; }
.r-cta-banner h2 { font-family: var(--font-display); font-size: clamp(40px, 4.2vw, 64px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.05; margin: 12px 0 0; color: #fff; max-width: 700px; }
.r-cta-banner h2 em { font-style: italic; color: var(--td-sand-200); }
.r-cta-banner .td-eyebrow { color: var(--td-sand-200); }
.r-cta-banner-actions { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.r-cta-banner-actions p { font-size: 14px; color: rgba(255,255,255,0.6); margin: 0; max-width: 280px; line-height: 1.55; }

/* =========================================================
   FOOTER
   ========================================================= */
.r-footer { background: var(--td-slate-900); color: #fff; padding: 32px 0 28px; border-top: 1px solid rgba(255,255,255,0.08); }
.r-footer-inner { max-width: 1320px; margin: 0 auto; padding: 0 56px; display: grid; grid-template-columns: 1.2fr 2fr; gap: 64px; }
.r-footer-brand img { height: 76px; width: auto; filter: brightness(0) invert(1) opacity(0.96); margin-bottom: 14px; }
.r-footer-brand p { font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.6; max-width: 280px; }
.r-footer-newsletter { display: flex; gap: 0; max-width: 320px; margin-top: 18px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: 999px; overflow: hidden; padding: 4px; }
.r-footer-newsletter input { flex: 1; background: transparent; border: 0; color: #fff; padding: 8px 14px; font-family: var(--font-sans); font-size: 13px; outline: none; }
.r-footer-newsletter input::placeholder { color: rgba(255,255,255,0.45); }
.r-footer-newsletter button { border: 0; cursor: pointer; padding: 8px 16px; border-radius: 999px; background: var(--td-teal-500); color: #fff; font-family: var(--font-sans); font-size: 12px; font-weight: 500; }
.r-footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.r-footer-cols h5 { font-family: var(--font-eyebrow); font-size: 10px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--td-sand-200); margin: 0 0 16px; }
.r-footer-cols a { display: block; color: rgba(255,255,255,0.7); text-decoration: none; font-size: 13px; padding: 5px 0; transition: color 150ms; }
.r-footer-cols a:hover { color: #fff; }
.r-footer-base {
  max-width: 1320px; margin: 56px auto 0; padding: 24px 56px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  font-size: 12px; color: rgba(255,255,255,0.5);
}
.r-footer-base a { color: rgba(255,255,255,0.7); text-decoration: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .r-hero-inner, .r-about-inner, .r-families-inner, .r-journey-head, .r-standards-inner, .r-cta-banner-inner, .r-footer-inner { grid-template-columns: 1fr; }
  .r-svc-cards { grid-template-columns: 1fr 1fr; }
  .r-svc-cards article:nth-child(4), .r-svc-cards article:nth-child(5) { grid-column: auto; }
  .r-step-grid { grid-template-columns: repeat(2, 1fr); }
  .r-standards-grid { grid-template-columns: 1fr; }
  .r-footer-cols { grid-template-columns: 1fr 1fr; }
}
