/* RSG Organizations Page: page styles, moved from the old plugin template. Menu and footer rules removed (they live in base.css). */
:root {
  --rsg-black:    #000000;
  --rsg-ink:      #1A1E2D;
  --rsg-white:    #FFFFFF;
  --rsg-paper:    #F2F2F2;
  --rsg-red:      #BE3431;
  --rsg-red-deep: #8E2724;
  --rsg-red-soft: #D55F5B;
  --rsg-grey-700: #595959;
  --rsg-grey-500: #888888;
  --rsg-grey-100: #E3E3E3;
  --font: "Red Hat Display", "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font) !important; font-weight: 300;
  color: var(--rsg-black); background: var(--rsg-white);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* NAV */

/* AMBIENT */
.rsg-grid-overlay {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.032) 1px, transparent 1px);
  background-size: 64px 64px;
}
.rsg-topo-overlay {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='200'%3E%3Cellipse cx='200' cy='100' rx='190' ry='90' fill='none' stroke='%23000' stroke-width='0.6' opacity='0.06'/%3E%3Cellipse cx='200' cy='100' rx='155' ry='72' fill='none' stroke='%23000' stroke-width='0.6' opacity='0.05'/%3E%3Cellipse cx='200' cy='100' rx='120' ry='54' fill='none' stroke='%23000' stroke-width='0.6' opacity='0.045'/%3E%3Cellipse cx='200' cy='100' rx='85' ry='38' fill='none' stroke='%23000' stroke-width='0.6' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 400px 200px; background-repeat: repeat; opacity: 0.6;
}
.rsg-ambient-coord {
  position: absolute; font-family: 'Courier New', monospace;
  font-size: 10px; letter-spacing: 0.12em;
  color: rgba(255,255,255,0.22); pointer-events: none; z-index: 1;
}

/* HERO */
.rsg-hero {
  min-height: 100vh; background: var(--rsg-black);
  display: flex; align-items: center; position: relative; overflow: hidden;
  padding: 120px 56px 100px;
}
.rsg-hero-content { position: relative; z-index: 2; max-width: 800px; }
.rsg-hero-eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 32px; }
.rsg-hero-eyebrow-line { width: 40px; height: 2px; background: var(--rsg-red); }
.rsg-hero-eyebrow-text {
  font-size: 11px; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--rsg-red);
}
.rsg-hero-headline {
  font-size: clamp(40px, 5.5vw, 72px); font-weight: 900; line-height: 1.02;
  color: var(--rsg-white); letter-spacing: -0.02em; margin-bottom: 28px;
}
.rsg-hero-headline em { font-style: normal; color: var(--rsg-red); }
.rsg-hero-sub {
  font-size: 17px; font-weight: 300; line-height: 1.65;
  color: rgba(255,255,255,0.62); max-width: 540px; margin-bottom: 44px;
}
.rsg-hero-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.rsg-btn-primary {
  display: inline-block; background: var(--rsg-red); color: #fff;
  padding: 16px 36px; font-size: 13px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; transition: background 0.2s;
}
.rsg-btn-primary:hover { background: var(--rsg-red-soft); }
.rsg-btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.6); font-size: 13px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase; transition: color 0.2s;
}
.rsg-btn-ghost:hover { color: #fff; }
.rsg-btn-ghost svg { transition: transform 0.2s; }
.rsg-btn-ghost:hover svg { transform: translateX(4px); }
.rsg-hero-scan-line {
  position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--rsg-red), transparent);
  opacity: 0.4;
}
.rsg-hero-side-accent {
  position: absolute; right: 56px; top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; align-items: flex-end; gap: 12px; z-index: 2;
}
.rsg-accent-stat { text-align: right; }
.rsg-accent-stat-num {
  font-size: 42px; font-weight: 900; color: var(--rsg-red);
  line-height: 1; letter-spacing: -0.03em;
}
.rsg-accent-stat-label {
  font-size: 10px; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; color: rgba(255,255,255,0.4); margin-top: 4px;
}
.rsg-accent-divider {
  width: 1px; height: 40px; background: rgba(255,255,255,0.1); align-self: flex-end;
}

/* CRED BAR */
.rsg-cred-bar {
  background: var(--rsg-ink); border-bottom: 1px solid rgba(255,255,255,0.07);
  display: flex !important; align-items: center !important;
  gap: 0; flex-wrap: nowrap; overflow: hidden;
}
.rsg-cred-item {
  display: flex !important; align-items: center !important;
  gap: 8px; padding: 0 16px; height: 48px;
  border-right: 1px solid rgba(255,255,255,0.08); flex-shrink: 0;
}
.rsg-cred-item:last-child { border-right: none; }
.rsg-cred-item svg { flex-shrink: 0; display: block !important; align-self: center; }
.rsg-cred-item p {
  font-size: 11.5px !important; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; color: rgba(255,255,255,0.75);
  white-space: nowrap; line-height: 1 !important;
  margin: 0 !important; padding: 0 !important;
}

/* STAT BAND */
.rsg-stat-band {
  background: var(--rsg-paper); border-top: 3px solid var(--rsg-red); padding: 56px;
}
.rsg-stat-band-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
}
.rsg-stat-item {
  padding: 0 32px; border-right: 1px solid var(--rsg-grey-100); text-align: center;
}
.rsg-stat-item:first-child { padding-left: 0; }
.rsg-stat-item:last-child { border-right: none; padding-right: 0; }
.rsg-stat-number {
  font-size: 52px; font-weight: 900; letter-spacing: -0.03em;
  color: var(--rsg-black); line-height: 1;
}
.rsg-stat-number em { font-style: normal; color: var(--rsg-red); }
.rsg-stat-label {
  font-size: 12px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--rsg-grey-500); margin-top: 8px;
}
.rsg-stat-note {
  font-size: 11px; color: var(--rsg-grey-500); margin-top: 6px; line-height: 1.4;
}

/* SECTION SHARED */
.rsg-section { padding: 96px 56px; }
.rsg-section-eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.rsg-section-eyebrow-line { width: 32px; height: 2px; background: var(--rsg-red); }
.rsg-section-eyebrow-text {
  font-size: 11px; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--rsg-red);
}
.rsg-section-headline {
  font-size: clamp(28px, 3.5vw, 44px); font-weight: 900;
  letter-spacing: -0.02em; line-height: 1.1; color: var(--rsg-black);
  max-width: 640px; margin-bottom: 16px;
}
.rsg-section-sub {
  font-size: 16px; font-weight: 300; line-height: 1.65;
  color: var(--rsg-grey-700); max-width: 560px; margin-bottom: 56px;
}

/* SERVICES */
.rsg-services-section { background: var(--rsg-white); }
.rsg-services-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px;
}
.rsg-service-card {
  background: var(--rsg-paper); padding: 40px 36px;
  border-top: 3px solid transparent; transition: border-color 0.2s, background 0.2s;
}
.rsg-service-card:hover { border-top-color: var(--rsg-red); background: #eaeaea; }
.rsg-service-icon {
  width: 48px; height: 48px; background: var(--rsg-black);
  display: flex; align-items: center; justify-content: center; margin-bottom: 24px;
}
.rsg-service-title {
  font-size: 17px; font-weight: 700; letter-spacing: -0.01em;
  color: var(--rsg-black); margin-bottom: 12px;
}
.rsg-service-desc {
  font-size: 14px; font-weight: 300; line-height: 1.65; color: var(--rsg-grey-700);
}
.rsg-service-tag {
  display: inline-block; margin-top: 20px; font-size: 10px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--rsg-red);
  border-top: 1px solid var(--rsg-grey-100); padding-top: 12px; width: 100%;
}

/* WHO WE SERVE */
.rsg-serve-section { background: var(--rsg-black); }
.rsg-serve-section .rsg-section-headline { color: var(--rsg-white); }
.rsg-serve-section .rsg-section-sub { color: rgba(255,255,255,0.5); }
.rsg-serve-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px;
}
.rsg-serve-card {
  background: rgba(255,255,255,0.04); padding: 48px 36px;
  border-bottom: 3px solid transparent; transition: border-color 0.25s, background 0.25s;
}
.rsg-serve-card:hover { border-bottom-color: var(--rsg-red); background: rgba(255,255,255,0.07); }
.rsg-serve-number {
  font-size: 11px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--rsg-red); margin-bottom: 20px;
}
.rsg-serve-title {
  font-size: 22px; font-weight: 800; color: var(--rsg-white);
  letter-spacing: -0.02em; margin-bottom: 16px;
}
.rsg-serve-desc {
  font-size: 14px; font-weight: 300; line-height: 1.7; color: rgba(255,255,255,0.55);
}
.rsg-serve-examples { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.rsg-serve-tag {
  font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 5px 12px; background: rgba(255,255,255,0.07); color: rgba(255,255,255,0.5);
}

/* CASE STUDY */
.rsg-case-section { background: var(--rsg-paper); }
.rsg-case-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start;
}
.rsg-case-label {
  display: inline-block; background: var(--rsg-red); color: #fff;
  font-size: 10px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; padding: 5px 14px; margin-bottom: 28px;
}
.rsg-case-headline {
  font-size: clamp(24px, 2.8vw, 36px); font-weight: 900; letter-spacing: -0.02em;
  line-height: 1.15; color: var(--rsg-black); margin-bottom: 20px;
}
.rsg-case-body {
  font-size: 15px; font-weight: 300; line-height: 1.75;
  color: var(--rsg-grey-700); margin-bottom: 16px;
}
.rsg-case-right { padding-top: 16px; }
.rsg-case-block {
  border-left: 3px solid var(--rsg-red); padding: 20px 24px;
  background: var(--rsg-white); margin-bottom: 16px;
}
.rsg-case-block-label {
  font-size: 10px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--rsg-red); margin-bottom: 8px;
}
.rsg-case-block-text {
  font-size: 14px; font-weight: 400; line-height: 1.6; color: var(--rsg-grey-700);
}
.rsg-case-scope-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 32px;
}
.rsg-scope-item { display: flex; align-items: flex-start; gap: 10px; }
.rsg-scope-dot {
  width: 6px; height: 6px; background: var(--rsg-red);
  border-radius: 50%; margin-top: 6px; flex-shrink: 0;
}
.rsg-scope-text {
  font-size: 13px; font-weight: 500; color: var(--rsg-black); line-height: 1.4;
}

/* CERTIFICATIONS */
.rsg-certs-section { background: var(--rsg-white); }
.rsg-certs-intro { max-width: 1200px; margin: 0 auto 56px; }
.rsg-certs-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px;
}
.rsg-cert-column { background: var(--rsg-paper); padding: 40px 36px; }
.rsg-cert-col-label {
  font-size: 10px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--rsg-red); border-bottom: 2px solid var(--rsg-red);
  padding-bottom: 12px; margin-bottom: 28px;
}
.rsg-cert-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.rsg-cert-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px; font-weight: 400; line-height: 1.45; color: var(--rsg-grey-700);
}
.rsg-cert-check {
  width: 16px; height: 16px; flex-shrink: 0; margin-top: 1px;
  background: var(--rsg-red); display: flex; align-items: center; justify-content: center;
}
.rsg-cert-footer {
  max-width: 1200px; margin: 24px auto 0;
  font-size: 12px; color: var(--rsg-grey-500); text-align: center;
}

/* TRUST BAR */
.rsg-trust-bar {
  background: var(--rsg-ink); padding: 20px 56px;
  display: flex; align-items: center; justify-content: center; gap: 48px; flex-wrap: wrap;
}
.rsg-trust-item {
  display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600;
  letter-spacing: 0.07em; text-transform: uppercase; color: rgba(255,255,255,0.6);
}
.rsg-trust-sep { width: 1px; height: 20px; background: rgba(255,255,255,0.1); }

/* CTA */
.rsg-cta-section {
  background: var(--rsg-black); padding: 120px 56px;
  position: relative; overflow: hidden; text-align: center;
}
.rsg-cta-eyebrow {
  display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 28px;
}
.rsg-cta-eyebrow-line { width: 32px; height: 2px; background: var(--rsg-red); }
.rsg-cta-eyebrow-text {
  font-size: 11px; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--rsg-red);
}
.rsg-cta-headline {
  font-size: clamp(30px, 4vw, 52px); font-weight: 900; color: var(--rsg-white);
  letter-spacing: -0.025em; line-height: 1.1; margin-bottom: 20px;
  max-width: 700px; margin-left: auto; margin-right: auto;
}
.rsg-cta-sub {
  font-size: 16px; font-weight: 300; line-height: 1.65; color: rgba(255,255,255,0.5);
  max-width: 480px; margin: 0 auto 44px;
}
.rsg-cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* FOOTER */

/* SCROLL REVEAL */
.rsg-reveal { opacity: 0; transform: translateY(28px); }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .rsg-hero { padding: 120px 24px 80px; }
  .rsg-hero-side-accent { display: none; }
  .rsg-section { padding: 72px 24px; }
  .rsg-stat-band { padding: 48px 24px; }
  .rsg-stat-band-inner { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .rsg-stat-item { border-right: none; padding: 0; }
  .rsg-services-grid { grid-template-columns: 1fr 1fr; }
  .rsg-serve-grid { grid-template-columns: 1fr; }
  .rsg-case-inner { grid-template-columns: 1fr; gap: 48px; }
  .rsg-certs-grid { grid-template-columns: 1fr; }
  .rsg-trust-bar { padding: 20px 24px; gap: 24px; }
  .rsg-cta-section { padding: 80px 24px; }}
@media (max-width: 640px) {
  .rsg-hero { padding: 100px 16px 72px; }
  .rsg-section { padding: 56px 16px; }
  .rsg-stat-band { padding: 40px 16px; }
  .rsg-stat-band-inner { grid-template-columns: 1fr 1fr; gap: 24px; }
  .rsg-services-grid { grid-template-columns: 1fr; }
  .rsg-certs-grid { grid-template-columns: 1fr; }
  .rsg-case-scope-grid { grid-template-columns: 1fr; }
  .rsg-trust-bar { padding: 16px; gap: 16px; }
  .rsg-trust-sep { display: none; }
  .rsg-cta-section { padding: 64px 16px; }
  .rsg-cred-bar { overflow-x: auto; }}
