/* RERDI home page, Lantern layout in RERDI logo colors.
   Paste into Appearance > Editor > Styles > Additional CSS
   (classic themes: Appearance > Customize > Additional CSS). */

@import url("https://fonts.googleapis.com/css2?family=Atkinson+Hyperlegible:ital,wght@0,400;0,700;1,400&family=Bricolage+Grotesque:opsz,wght@12..96,600;12..96,800&display=swap");

:root {
  --rd-ground: #f6f6f4;
  --rd-surface: #ffffff;
  --rd-tint: #f2eff7;
  --rd-ink: #26282e;
  --rd-muted: #565a64;
  --rd-line: #dcdce3;
  --rd-magenta: #c8006f;   /* buttons */
  --rd-blue: #0062a8;      /* labels, links, checks */
  --rd-purple: #3a2858;    /* dark section */
  --rd-yellow: #e8d62c;    /* figures on purple */
  /* logo figure colors */
  --rd-l1: #7a4a9a; --rd-l2: #d6007e; --rd-l3: #0062a8; --rd-l4: #8fc03a; --rd-l5: #e3d42a;
  --rd-stripe: linear-gradient(90deg, var(--rd-l1) 0 20%, var(--rd-l2) 20% 40%, var(--rd-l3) 40% 60%, var(--rd-l4) 60% 80%, var(--rd-l5) 80% 100%);
  --rd-display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", sans-serif;
  --rd-body: "Atkinson Hyperlegible", "Segoe UI", system-ui, sans-serif;
}

/* Page-wide type for sections built with these classes */
.rd-band, .rd-impact, .rd-footer { font-family: var(--rd-body); color: var(--rd-ink); }
.rd-band h1, .rd-band h2, .rd-band h3, .rd-footer h3 { font-family: var(--rd-display); letter-spacing: -0.01em; line-height: 1.08; text-wrap: balance; }
.rd-band h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); font-weight: 800; letter-spacing: -0.025em; margin: 10px 0 18px; }
.rd-band h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); font-weight: 800; margin: 8px 0 24px; }
.rd-band h3 { font-size: 1.25rem; font-weight: 600; }

/* Section bands */
.rd-band { background: var(--rd-ground); padding: clamp(56px, 8vw, 104px) max(20px, 4vw) !important; margin-block: 0 !important; }
.rd-tint { background: var(--rd-tint); }
.rd-story { background: var(--rd-surface); border-block: 1px solid var(--rd-line); }
.rd-stripe { height: 6px; min-height: 6px; padding: 0 !important; margin: 0 !important; background: var(--rd-stripe); }

/* Small text styles */
.rd-eyebrow { font-size: 0.8rem !important; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--rd-blue); margin: 0 !important; }
.rd-purple .rd-eyebrow { color: var(--rd-yellow); }
.rd-lede { font-size: 1.2rem; color: var(--rd-muted); }
.rd-lede strong, .rd-muted strong { color: var(--rd-ink); }
.rd-muted { color: var(--rd-muted); }
.rd-fine { font-size: 0.875rem; color: var(--rd-muted); }
.rd-sub { font-style: italic; font-size: 1.1rem; color: var(--rd-muted); margin-top: -12px !important; }

/* Buttons */
.rd-btns .wp-block-button__link { background: var(--rd-magenta) !important; color: #fff !important; border-radius: 6px !important; font-weight: 700; padding: 14px 24px !important; border: 2px solid var(--rd-magenta) !important; }
.rd-btns .wp-block-button__link:hover { background: #a8005d !important; }
.rd-btns .is-style-outline .wp-block-button__link { background: transparent !important; color: var(--rd-ink) !important; border-color: var(--rd-ink) !important; }

/* Hero */
.rd-hero { padding-top: clamp(40px, 6vw, 80px) !important; }
.rd-hero-cols { align-items: center !important; gap: clamp(32px, 5vw, 72px) !important; }
.rd-hero-photo { position: relative; margin: 0 18px 18px 0; }
.rd-hero-photo::before { content: ""; position: absolute; inset: 28px -18px -18px 28px; border-radius: 6px; background: var(--rd-stripe); }
.rd-hero-photo .wp-block-image { position: relative; margin: 0; }
.rd-hero-photo img { display: block; width: 100%; aspect-ratio: 4 / 3.3; object-fit: cover; border-radius: 6px; }
.rd-tag { position: absolute; left: 16px; bottom: 16px; margin: 0 !important; background: var(--rd-ink); color: #fff; padding: 6px 12px 6px 28px; border-radius: 999px; font-weight: 700; font-size: 0.875rem; }
.rd-tag::before { content: ""; position: absolute; left: 12px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--rd-l5); }

/* Numbers row */
.rd-impact { background: var(--rd-surface); border-block: 1px solid var(--rd-line); padding: 0 max(20px, 4vw) !important; margin: 0 !important; }
.rd-impact .wp-block-columns { gap: 0 !important; margin: 0 auto !important; }
.rd-stat { padding: 28px 20px; border-left: 1px solid var(--rd-line); }
.rd-stat:first-child { border-left: 0; padding-left: 0; }
.rd-stat::before { content: ""; display: block; width: 28px; height: 4px; border-radius: 2px; margin-bottom: 12px; }
.rd-c1.rd-stat::before { background: var(--rd-l1); } .rd-c2.rd-stat::before { background: var(--rd-l2); }
.rd-c3.rd-stat::before { background: var(--rd-l3); } .rd-c4.rd-stat::before { background: var(--rd-l4); }
.rd-big { font: 800 2.5rem/1 var(--rd-display) !important; margin: 0 0 6px !important; font-variant-numeric: tabular-nums; }
.rd-stat p:not(.rd-big) { color: var(--rd-muted); font-size: 0.95rem; line-height: 1.45; margin: 0; }

/* Who we are */
.rd-split { gap: clamp(32px, 6vw, 80px) !important; }
.rd-portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; }
.rd-checks { list-style: none; padding: 0 !important; margin: 8px 0 0; display: flex; flex-direction: column; gap: 14px; }
.rd-checks li { position: relative; padding-left: 34px; color: var(--rd-muted); }
.rd-checks li strong { color: var(--rd-ink); }
.rd-checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--rd-blue); }
.rd-checks li::after { content: ""; position: absolute; left: 7px; top: 7px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* Four ways */
.rd-programs { gap: 0 !important; border-top: 2px solid var(--rd-ink); }
.rd-programs .wp-block-column { padding: 28px 24px 8px 0; }
.rd-programs .wp-block-column + .wp-block-column { padding-left: 24px; border-left: 1px solid var(--rd-line); }
.rd-programs .wp-block-column::before { content: ""; display: block; width: 28px; height: 4px; border-radius: 2px; margin-bottom: 14px; }
.rd-programs .rd-c1::before { background: var(--rd-l1); } .rd-programs .rd-c2::before { background: var(--rd-l2); }
.rd-programs .rd-c3::before { background: var(--rd-l3); } .rd-programs .rd-c4::before { background: var(--rd-l4); }
.rd-programs h3 { margin-top: 0; }
.rd-programs p { color: var(--rd-muted); }
.rd-new { display: inline-block; background: var(--rd-magenta); color: #fff; font-size: 0.75rem !important; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; margin: 0 0 8px !important; }

/* Purple section */
.rd-purple { background: var(--rd-purple); color: #f5f2fa; }
.rd-purple h2, .rd-purple h3 { color: #f5f2fa !important; }
.rd-purple p { color: #d3cae4; }
.rd-purple .rd-sub { color: #d3cae4; }
.rd-schools { gap: 36px !important; }
.rd-school { padding-top: 22px; border-top: 4px solid var(--rd-l5); }
.rd-s2 { border-top-color: var(--rd-l4); } .rd-s3 { border-top-color: var(--rd-l2); }
.rd-place { font-size: 0.8rem !important; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--rd-yellow) !important; margin: 0 !important; }
.rd-school strong { color: #f5f2fa; }
.rd-growth strong { display: block; font: 800 2.6rem/1 var(--rd-display); color: var(--rd-yellow) !important; margin-bottom: 4px; }
.rd-band-pull { margin-top: 56px !important; padding-top: 32px; border-top: 1px solid rgba(245,242,250,.25); font: 600 clamp(1.3rem, 2.4vw, 1.85rem)/1.3 var(--rd-display); color: #f5f2fa !important; max-width: 52rem; }

/* Healers and shepherds */
.rd-voc-stats { list-style: none; padding: 0 !important; margin: 0; border-top: 2px solid var(--rd-ink); }
.rd-voc-stats li { padding: 18px 0; border-bottom: 1px solid var(--rd-line); color: var(--rd-muted); }
.rd-voc-stats strong { display: inline-block; min-width: 6.5em; font: 800 1.9rem/1 var(--rd-display); color: var(--rd-ink); font-variant-numeric: tabular-nums; }
.rd-ordinations { margin-top: 56px !important; gap: 28px !important; }
.rd-ordinations img { width: 100%; aspect-ratio: 7 / 5; object-fit: cover; border-radius: 6px; }
.rd-band figcaption { font-size: 0.875rem; color: var(--rd-muted); text-align: left; }
.rd-sem { color: var(--rd-muted); margin-top: 24px !important; }
.rd-sem strong, .rd-sem em { color: var(--rd-ink); }
.rd-callout { margin-top: 36px; background: var(--rd-surface); border: 1px solid var(--rd-line); border-top: 6px solid var(--rd-magenta); border-radius: 6px; padding: 24px 28px !important; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.rd-callout > p { flex: 1 1 420px; font-size: 1.2rem; margin: 0; }

/* Gojeb and cards */
.rd-wide-img img { width: 100%; aspect-ratio: 4 / 1; object-fit: cover; border-radius: 6px; }
.rd-gojeb { margin-top: 36px !important; gap: clamp(28px, 5vw, 64px) !important; }
.rd-gojeb > .wp-block-column:first-child p { color: var(--rd-muted); }
.rd-gojeb > .wp-block-column:first-child strong { color: var(--rd-ink); }
.rd-card { background: var(--rd-surface); border: 1px solid var(--rd-line); border-radius: 6px; padding: 28px !important; position: relative; overflow: hidden; box-shadow: 0 18px 40px -24px rgba(30,24,50,.35); }
.rd-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--rd-stripe); }
.rd-goal-n { font: 800 3.4rem/1 var(--rd-display) !important; margin: 6px 0 !important; font-variant-numeric: tabular-nums; }
.rd-card ol { color: var(--rd-muted); }

/* Letter */
.rd-quote { border-left: 4px solid var(--rd-l1) !important; padding-left: 22px !important; margin: 0 0 20px !important; }
.rd-quote p { font: 600 1.6rem/1.3 var(--rd-display) !important; color: var(--rd-ink); font-style: normal; }
.rd-quote cite { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; font-style: normal; color: var(--rd-muted); }
.rd-signers p { color: var(--rd-muted); font-size: 0.95rem; }
.rd-signers strong { color: var(--rd-ink); font-size: 1.05rem; }
.rd-arch img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 999px 999px 6px 6px; }

/* Give */
.rd-levels { list-style: none; padding: 0 !important; margin: 8px 0 0; border-top: 1px solid var(--rd-line); }
.rd-levels li { padding: 14px 0; border-bottom: 1px solid var(--rd-line); color: var(--rd-muted); }
.rd-levels strong { display: inline-block; min-width: 5.5em; font: 800 1.35rem/1 var(--rd-display); color: var(--rd-ink); font-variant-numeric: tabular-nums; }
.rd-ways { margin-top: 48px !important; padding-top: 28px; border-top: 1px solid var(--rd-line); }
.rd-ways p { color: var(--rd-muted); font-size: 0.95rem; }
.rd-ways strong { color: var(--rd-ink); }

/* Footer (3-footer-blocks.html) */
.rd-footer { background: #22232a !important; color: #eceef2; padding: 56px max(20px, 4vw) 28px !important; margin: 0 !important; }
.rd-footer p, .rd-footer a { color: #eceef2 !important; }
.rd-footer p { opacity: .85; font-size: 0.95rem; }
.rd-footer a { text-decoration: none; }
.rd-footer .wp-block-image img { width: 150px; border-radius: 6px; }
.rd-footer-base { margin-top: 32px !important; padding-top: 18px; border-top: 1px solid rgba(236,238,242,.2); font-size: 0.82rem !important; opacity: .7 !important; }

/* Phones and tablets */
@media (max-width: 781px) {
  .rd-stat { border-left: 0; padding-left: 0; border-top: 1px solid var(--rd-line); }
  .rd-stat:first-child { border-top: 0; }
  .rd-programs .wp-block-column + .wp-block-column { padding-left: 0; border-left: 0; }
  .rd-hero-photo { margin-right: 18px; }
  .rd-wide-img img { aspect-ratio: 2 / 1; }
  .rd-arch { max-width: 360px; }
  .rd-voc-stats strong { display: block; margin-bottom: 4px; }
}
