/* ============================================
   CANVAS — particle field background
   ============================================ */
.rg-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
}

/* ============================================
   FLOATING SHAPES
   ============================================ */
.rg-shapes { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.rg-shape  { position: absolute; }
.rg-shape-ring-a {
  top: 8%; right: 7%;
  width: 220px; height: 220px;
  border-radius: 50%;
  border: 1px solid var(--hairline);
  opacity: 0.25;
  animation: rg-float-a 22s ease-in-out infinite;
}
.rg-shape-ring-b {
  bottom: 14%; left: -4%;
  width: 300px; height: 300px;
  border-radius: 50%;
  border: 1px solid var(--hairline);
  opacity: 0.15;
  animation: rg-float-b 28s ease-in-out infinite;
}
.rg-shape-dot-a {
  top: 24%; left: 16%;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 14px rgba(46,196,160,.8);
  animation: rg-float-c 14s ease-in-out infinite;
}
.rg-shape-dot-b {
  top: 58%; right: 12%;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 12px rgba(255,154,61,.8);
  animation: rg-float-c 18s ease-in-out infinite reverse;
}
@keyframes rg-float-a { 0%,100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-28px) rotate(3deg); } }
@keyframes rg-float-b { 0%,100% { transform: translateY(0) scale(1); } 50% { transform: translateY(24px) scale(1.05); } }
@keyframes rg-float-c { 0%,100% { transform: translateY(0); opacity: .8; } 50% { transform: translateY(-16px); opacity: .3; } }
@media (max-width: 800px) { .rg-shapes { display: none; } }
main { position: relative; z-index: 1; }

/* ============================================
   HERO
   ============================================ */
.rg-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
}
.rg-hero-inner { text-align: center; max-width: 980px; margin: 0 auto; }
.rg-hero-lead  { max-width: 70ch; margin-left: auto; margin-right: auto; font-size: clamp(1.1rem, 1.8vw, 1.3rem); }
.rg-hero-body  { color: var(--muted); font-size: 1.02rem; max-width: 66ch; margin: 0 auto 24px; line-height: 1.65; }
.rg-hero-statement {
  border-left: 2px solid var(--amber-soft);
  padding: 14px 22px;
  text-align: left;
  color: var(--paper-dim);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 68ch;
  margin: 0 auto 22px;
  background: var(--surface);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.rg-hero-closing { color: var(--muted); font-size: 0.96rem; max-width: 60ch; margin: 0 auto 44px; line-height: 1.6; }

/* ============================================
   BUYER JOURNEY — two-col with behavior list + question card
   ============================================ */
.rg-buyer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 940px) { .rg-buyer-grid { grid-template-columns: 1fr; gap: 36px; } }

.rg-behavior-list { display: flex; flex-direction: column; gap: 3px; margin: 28px 0 26px; }
.rg-behavior-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-display);
  font-size: 1.08rem;
  color: var(--paper-dim);
  padding: 12px 16px;
  border-radius: var(--radius);
  transition: background 0.3s, color 0.3s, transform 0.35s var(--ease-out);
  cursor: default;
}
.rg-behavior-item::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--hairline);
  flex-shrink: 0;
  transition: background 0.3s, box-shadow 0.3s;
}
.rg-behavior-item:hover { background: var(--surface); color: var(--paper); transform: translateX(6px); }
.rg-behavior-item:hover::before { background: var(--signal); box-shadow: 0 0 8px rgba(46,196,160,.6); }

.rg-bridge { color: var(--muted); font-size: 0.96rem; line-height: 1.65; max-width: 56ch; }

/* Question card */
.rg-question-card {
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  background: var(--surface);
  padding: 46px 38px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.4s, transform 0.4s var(--ease-out);
}
.rg-question-card:hover { border-color: var(--amber); transform: translateY(-5px); }
.rg-question-card::before {
  content: '';
  position: absolute; bottom: -30px; right: -30px;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,154,61,0.16), transparent 70%);
}
.rg-question-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--amber-soft);
  display: block;
  margin-bottom: 20px;
}
.rg-question-1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  color: var(--paper);
  margin: 0 0 18px;
  line-height: 1.25;
}
.rg-question-2 {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.4;
  position: relative;
}

/* ============================================
   CHALLENGES — horizontal scrollable track
   ============================================ */
.rg-challenge-track {
  display: flex;
  gap: 1px;
  background: var(--hairline);
  margin-top: 32px;
  overflow-x: auto;
  scrollbar-width: none;
}
.rg-challenge-track::-webkit-scrollbar { display: none; }
.rg-challenge-card {
  background: var(--ink-soft);
  min-width: 260px;
  flex: 1;
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
  transition: background 0.4s;
  display: flex;
  flex-direction: column;
}
.rg-challenge-card:hover { background: var(--surface); }
.rg-challenge-card::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--signal-soft), var(--amber-soft));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.45s var(--ease-out);
}
.rg-challenge-card:hover::after { transform: scaleX(1); }
.rg-challenge-num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 300;
  color: var(--hairline);
  line-height: 1;
  margin-bottom: 16px;
  transition: color 0.4s;
}
.rg-challenge-card:hover .rg-challenge-num { color: var(--signal-soft); }
.rg-challenge-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  margin: 0 0 12px;
}
.rg-challenge-card p { color: var(--muted); font-size: 0.9rem; line-height: 1.55; margin: 0; }
@media (max-width: 900px) {
  .rg-challenge-track { flex-wrap: wrap; }
  .rg-challenge-card { min-width: calc(50% - 1px); flex: none; }
}
@media (max-width: 560px) {
  .rg-challenge-card { min-width: 100%; }
}

/* ============================================
   FRAMEWORK — 4-phase arc flow + detail cards
   ============================================ */
.rg-phase-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--hairline);
  margin-top: 36px;
}
@media (max-width: 700px) { .rg-phase-flow { grid-template-columns: repeat(2, 1fr); } }
.rg-phase-btn {
  background: var(--ink-soft);
  border: none;
  padding: 28px 20px;
  cursor: pointer;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: background 0.3s;
  position: relative;
  overflow: hidden;
}
.rg-phase-btn::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(46,196,160,0.1), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
}
.rg-phase-btn:hover { background: var(--surface); }
.rg-phase-btn:hover::before { opacity: 1; }
.rg-phase-btn.is-active { background: var(--surface-raised); }
.rg-phase-btn.is-active::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--signal-soft), var(--amber-soft));
}
.rg-phase-circle {
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1px solid var(--hairline);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  color: var(--paper-dim);
  transition: border-color 0.3s, color 0.3s, background 0.3s, transform 0.4s var(--ease-out);
}
.rg-phase-btn.is-active .rg-phase-circle,
.rg-phase-btn:hover .rg-phase-circle {
  border-color: var(--signal);
  color: var(--paper);
  background: rgba(46,196,160,0.1);
  transform: scale(1.08);
}
.rg-phase-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.rg-phase-btn.is-active .rg-phase-label { color: var(--signal-soft); }
.rg-phase-name {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--paper-dim);
  line-height: 1.25;
}
.rg-phase-btn.is-active .rg-phase-name { color: var(--paper); }

/* Phase panels */
.rg-phase-grid { margin-top: 1px; background: var(--hairline); }
.rg-phase-panel {
  display: none;
  background: var(--surface);
  padding: 48px 44px;
  animation: rg-panel-in 0.4s var(--ease-out);
}
.rg-phase-panel.is-active { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
@keyframes rg-panel-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 800px) {
  .rg-phase-panel.is-active { grid-template-columns: 1fr; }
  .rg-phase-panel { padding: 30px 24px; }
}
.rg-panel-left h3 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 500;
  margin: 0 0 16px;
}
.rg-panel-intro { color: var(--muted); font-size: 0.96rem; line-height: 1.65; margin: 0 0 18px; max-width: 52ch; }
.rg-panel-closing {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--paper-dim);
  font-size: 1rem;
  margin: 0;
}
.rg-panel-tags { display: flex; flex-wrap: wrap; gap: 10px; align-content: start; }
.rg-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 8px 14px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  color: var(--signal-soft);
  transition: border-color 0.3s, background 0.3s, color 0.3s, transform 0.3s;
}
.rg-tag:hover { border-color: var(--signal); background: rgba(46,196,160,0.08); transform: translateY(-2px); }

/* ============================================
   WHO WE HELP override
   ============================================ */
.rg-who-section { padding-top: 0; }

/* ============================================
   WHY LEADCRUNCH — 2×2 feature tiles
   ============================================ */
.rg-whyus-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 32px;
}
@media (max-width: 700px) { .rg-whyus-grid { grid-template-columns: 1fr; } }
.rg-whyus-card {
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  background: var(--surface);
  padding: 36px 30px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.4s, transform 0.4s var(--ease-out);
}
.rg-whyus-card:hover { border-color: var(--signal); transform: translateY(-5px); }
.rg-whyus-card::before {
  content: '';
  position: absolute; top: 0; right: 0;
  width: 0; height: 0;
  border-style: solid;
  border-width: 0 42px 42px 0;
  border-color: transparent var(--hairline) transparent transparent;
  transition: border-color 0.4s;
}
.rg-whyus-card:hover::before { border-color: transparent var(--signal) transparent transparent; }
.rg-whyus-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--amber-soft);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 4px 10px;
  display: inline-block;
  margin-bottom: 18px;
}
.rg-whyus-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  margin: 0 0 12px;
}
.rg-whyus-card p { color: var(--muted); font-size: 0.93rem; line-height: 1.6; margin: 0; }

/* ============================================
   PHILOSOPHY — full-width statement section
   ============================================ */
.rg-philosophy-section {
  padding: var(--section-pad) 0;
  text-align: center;
  position: relative;
  background: radial-gradient(ellipse 900px 500px at 50% 0%, rgba(46,196,160,0.12), transparent 65%);
}
.rg-philosophy-section .eyebrow { justify-content: center; }
.rg-philosophy-inner { max-width: 820px; margin: 0 auto; }
.rg-phil-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  margin: 0 0 24px;
  line-height: 1.15;
}
.rg-phil-lead {
  color: var(--paper-dim);
  font-size: 1.02rem;
  max-width: 54ch;
  margin: 0 auto 28px;
  line-height: 1.65;
}
.rg-phil-statement {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  color: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  padding: 36px 42px;
  margin: 0 auto 32px;
  background: var(--surface);
  position: relative;
  transition: border-color 0.4s;
  line-height: 1.4;
}
.rg-phil-statement:hover { border-color: var(--amber); }
.rg-phil-statement::before {
  content: '\201C';
  position: absolute;
  top: -10px; left: 24px;
  font-size: 4rem;
  color: var(--signal-soft);
  line-height: 1;
  font-family: var(--font-display);
}
.rg-philosophy-section .closing-statement { max-width: 62ch; margin: 0 auto; }

/* ============================================
   REVEAL
   ============================================ */
.rg-reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.rg-reveal.is-visible { opacity: 1; transform: translateY(0); }
