/*
Theme Name: Runner's Refuge Academy
Theme URI: https://runnersrefugeacademy.org
Author: Runner's Refuge Ministries
Author URI: https://runnersrefugeacademy.org
Description: A bold black/red military-style WordPress theme for Runner's Refuge Discipleship Academy.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: runners-refuge-academy
Tags: custom-logo, custom-menu, one-column, accessibility-ready, block-styles
*/

:root {
  --rr-black: #050505;
  --rr-zinc: #111113;
  --rr-card: #18181b;
  --rr-red: #b91c1c;
  --rr-red-bright: #dc2626;
  --rr-text: #ffffff;
  --rr-muted: #c7c7cc;
  --rr-border: rgba(185, 28, 28, 0.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--rr-black);
  color: var(--rr-text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}
a { color: inherit; }
img { max-width: 100%; height: auto; }
.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
  height: 1px; margin: -1px; overflow: hidden; padding: 0;
  position: absolute !important; width: 1px; word-wrap: normal !important;
}
.rr-site { background: var(--rr-black); color: var(--rr-text); }
.rr-container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.rr-topbar {
  position: sticky; top: 0; z-index: 999;
  background: rgba(0,0,0,.88); border-bottom: 1px solid var(--rr-border);
  backdrop-filter: blur(10px);
}
.admin-bar .rr-topbar { top: 32px; }
.rr-nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 16px 0; }
.rr-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: white; }
.rr-custom-logo { max-height: 54px; width: auto; }
.rr-logo-mark {
  width: 46px; height: 46px; border-radius: 16px; display: grid; place-items: center;
  background: var(--rr-red); font-weight: 900; box-shadow: 0 12px 35px rgba(185, 28, 28, .35);
}
.rr-brand-title { display: block; color: var(--rr-red-bright); font-size: 14px; font-weight: 900; text-transform: uppercase; letter-spacing: .18em; line-height: 1.1; }
.rr-brand-subtitle { display: block; color: var(--rr-muted); font-size: 11px; text-transform: uppercase; letter-spacing: .16em; }
.rr-menu { display: flex; gap: 28px; align-items: center; list-style: none; margin: 0; padding: 0; }
.rr-menu a { color: var(--rr-muted); text-decoration: none; font-size: 14px; font-weight: 800; text-transform: uppercase; }
.rr-menu a:hover, .rr-menu a:focus { color: var(--rr-red-bright); }
.rr-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 16px; padding: 14px 22px; background: var(--rr-red); color: white !important;
  text-decoration: none; font-weight: 900; text-transform: uppercase; letter-spacing: .03em;
  border: 1px solid rgba(255,255,255,.08); cursor: pointer;
}
.rr-btn:hover, .rr-btn:focus { background: var(--rr-red-bright); }
.rr-btn-dark { background: #000; }
.rr-btn-outline { background: transparent; border-color: #52525b; }
.rr-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--rr-border); background: radial-gradient(circle at top left, rgba(185,28,28,.38), transparent 36%), linear-gradient(135deg, #09090b 0%, #18181b 55%, #000 100%); }
.rr-hero:before { content: ""; position: absolute; inset: 0; opacity: .10; background-image: linear-gradient(45deg, #fff 1px, transparent 1px); background-size: 32px 32px; }
.rr-hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 54px; align-items: center; padding: 112px 0; }
.rr-kicker { display: inline-flex; align-items: center; gap: 10px; border: 1px solid rgba(185,28,28,.65); background: rgba(127,29,29,.35); color: #fecaca; border-radius: 999px; padding: 9px 15px; font-size: 13px; font-weight: 900; text-transform: uppercase; letter-spacing: .17em; }
.rr-hero h1 { margin: 24px 0 0; font-size: clamp(46px, 7vw, 82px); line-height: .95; letter-spacing: -.04em; text-transform: uppercase; font-weight: 1000; }
.rr-red { color: var(--rr-red-bright); }
.rr-lead { max-width: 650px; margin: 24px 0 0; color: #d4d4d8; font-size: 19px; line-height: 1.75; }
.rr-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.rr-ethos-card { border-radius: 32px; border: 1px solid rgba(185,28,28,.5); background: rgba(0,0,0,.55); box-shadow: 0 28px 70px rgba(127,29,29,.35); padding: 28px; }
.rr-ethos-inner { border-radius: 24px; border: 1px solid rgba(185,28,28,.38); background: #09090b; padding: 30px; }
.rr-small-red { color: var(--rr-red-bright); font-size: 13px; font-weight: 1000; text-transform: uppercase; letter-spacing: .26em; }
.rr-ethos-inner h2, .rr-section h2 { margin: 12px 0 0; font-size: clamp(32px, 4vw, 52px); line-height: 1.02; text-transform: uppercase; font-weight: 1000; letter-spacing: -.03em; }
.rr-check-list { display: grid; gap: 12px; margin-top: 24px; }
.rr-check { display: flex; gap: 12px; align-items: flex-start; color: #e4e4e7; }
.rr-check span:first-child { color: var(--rr-red-bright); font-weight: 900; }
.rr-section { padding: 84px 0; }
.rr-section-alt { background: rgba(39,39,42,.55); border-top: 1px solid #27272a; border-bottom: 1px solid #27272a; }
.rr-section-intro { max-width: 820px; }
.rr-section-intro p, .rr-card p, .rr-split p { color: #d4d4d8; font-size: 17px; }
.rr-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 44px; }
.rr-card { background: rgba(24,24,27,.82); border: 1px solid #27272a; border-radius: 28px; padding: 26px; }
.rr-icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 18px; background: var(--rr-red); margin-bottom: 18px; font-size: 25px; }
.rr-card h3 { margin: 0; font-size: 21px; line-height: 1.15; text-transform: uppercase; font-weight: 1000; }
.rr-split { display: grid; grid-template-columns: .95fr 1.05fr; gap: 50px; align-items: start; }
.rr-feature-list { display: grid; gap: 16px; }
.rr-feature { display: flex; gap: 18px; padding: 22px; background: rgba(0,0,0,.40); border: 1px solid #27272a; border-radius: 26px; }
.rr-feature strong { display: block; text-transform: uppercase; color: white; font-weight: 1000; }
.rr-feature-icon { color: var(--rr-red-bright); font-size: 27px; line-height: 1; }
.rr-phase-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 44px; }
.rr-phase { position: relative; overflow: hidden; min-height: 265px; }
.rr-phase-number { position: absolute; right: -10px; top: -28px; color: rgba(185,28,28,.25); font-size: 98px; font-weight: 1000; line-height: 1; }
.rr-rank { color: var(--rr-red-bright); font-size: 12px; font-weight: 1000; text-transform: uppercase; letter-spacing: .18em; }
.rr-cta { background: var(--rr-red); color: white; padding: 64px 0; }
.rr-cta-flex { display: flex; justify-content: space-between; gap: 30px; align-items: center; }
.rr-cta h2 { margin: 6px 0 0; font-size: clamp(34px, 5vw, 56px); text-transform: uppercase; line-height: 1; font-weight: 1000; }
.rr-contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 50px; align-items: start; }
.rr-contact-lines { display: grid; gap: 14px; margin-top: 30px; color: #e4e4e7; font-weight: 700; }
.rr-form-card { background: var(--rr-card); border: 1px solid #27272a; border-radius: 32px; padding: 32px; }
.rr-form-card h3 { margin: 0 0 22px; font-size: 27px; text-transform: uppercase; }
.rr-form-card input, .rr-form-card select, .rr-form-card textarea { width: 100%; box-sizing: border-box; margin-bottom: 14px; border-radius: 16px; border: 1px solid #3f3f46; background: #050505; color: white; padding: 15px 16px; font-size: 16px; }
.rr-form-card textarea { min-height: 130px; }
.rr-footer { border-top: 1px solid #27272a; background: #000; color: #a1a1aa; padding: 28px 0; font-size: 14px; }
.rr-footer-flex { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.rr-content { padding: 80px 0; color: #e4e4e7; }
.rr-content h1, .rr-content h2, .rr-content h3 { color: #fff; text-transform: uppercase; }
.rr-content a { color: #f87171; }
@media (max-width: 980px) {
  .rr-hero-grid, .rr-split, .rr-contact-grid { grid-template-columns: 1fr; }
  .rr-grid-4, .rr-phase-grid { grid-template-columns: repeat(2, 1fr); }
  .rr-menu { display: none; }
  .rr-cta-flex { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 782px) { .admin-bar .rr-topbar { top: 46px; } }
@media (max-width: 620px) {
  .rr-container { width: min(100% - 28px, 1180px); }
  .rr-grid-4, .rr-phase-grid { grid-template-columns: 1fr; }
  .rr-hero-grid { padding: 74px 0; }
  .rr-actions { flex-direction: column; }
  .rr-btn { width: 100%; }
}

/* Donation + Intake Pipeline */
.rr-alert {
  border-radius: 16px;
  padding: 14px 16px;
  margin-bottom: 18px;
  font-weight: 800;
  line-height: 1.45;
}
.rr-alert-success { background: rgba(22, 101, 52, .22); border: 1px solid rgba(34,197,94,.45); color: #bbf7d0; }
.rr-alert-error { background: rgba(127, 29, 29, .28); border: 1px solid rgba(248,113,113,.45); color: #fecaca; }
.rr-pipeline-form select option { background: #050505; color: #fff; }
.rr-form-note { font-size: 13px !important; color: #a1a1aa !important; margin-top: 14px; }
.rr-donation-path {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}
.rr-donation-path div {
  display: grid;
  gap: 3px;
  padding: 18px 20px;
  border: 1px solid #27272a;
  border-left: 5px solid var(--rr-red);
  border-radius: 20px;
  background: rgba(0,0,0,.35);
}
.rr-donation-path strong {
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.rr-donation-path span { color: #d4d4d8; }
