/* ============================================================
   RR WEB SERVICES — rr-global.css
   Design tokens · Reset · Typography · Buttons · Utilities
   Loaded on: ALL pages
   Nav styles    → rr-nav.css
   Footer styles → rr-footer.css
   Homepage      → rr-main.css
   Inner pages   → rr-pages.css
   ============================================================ */

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; }

/* ── DESIGN TOKENS ── */
:root {
  --canvas:        #F4F5F7;
  --canvas-mid:    #E8EBF1;
  --canvas-light:  #D8DCE6;
  --surface:       #FFFFFF;
  --surface-2:     #EEF0F4;
  --border:        rgba(30,40,60,0.13);
  --border-mid:    rgba(20,32,60,0.09);
  --accent:        #1A3A6B;
  --accent-hover:  #14305A;
  --accent-dim:    rgba(26,58,107,0.09);
  --accent-glow:   rgba(26,46,90,0.06);
  --accent-mid:    #3B6CB7;
  --gold:          #D4820A;
  --green:         #1E6B4A;
  --aud-agency:    #1A2E5A;
  --aud-smb:       #1E6B4A;
  --aud-local:     #B84A0A;
  --text-primary:  #0E1520;
  --text-body:     rgba(14,21,32,0.78);
  --text-muted:    rgba(14,21,32,0.48);
  --text-faint:    rgba(14,21,32,0.26);
  --font-display:  'Fraunces', Georgia, serif;
  --font-body:     'DM Sans', system-ui, sans-serif;
  --r-xs: 4px; --r-sm: 6px; --r-md: 10px; --r-lg: 16px; --r-xl: 24px;
  --ease:    cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h:   68px;
  --gutter:  60px;
  --max-w:   1320px;
  --shadow-sm: 0 2px 8px rgba(14,21,32,0.06);
  --shadow-md: 0 8px 32px rgba(14,21,32,0.12);
  --shadow-lg: 0 20px 60px rgba(14,21,32,0.16);
}

/* ── BASE ── */
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--canvas);
  color: var(--text-primary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

/* ── LAYOUT HELPERS ── */
.container  { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter); }
.section    { padding: 100px var(--gutter); }
.section-alt   { background: var(--canvas-mid); }
.section-white { background: var(--surface); }

/* ── SCROLL REVEALS ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s var(--ease), transform .65s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: .08s; } .d2 { transition-delay: .16s; }
.d3 { transition-delay: .24s; } .d4 { transition-delay: .32s; }
.d5 { transition-delay: .40s; }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--text-primary); line-height: 1.1; letter-spacing: -.02em; }
.section-title { font-family: var(--font-display); font-size: clamp(32px,3.5vw,50px); font-weight: 700; line-height: 1.08; letter-spacing: -.03em; color: var(--text-primary); }
.section-title em { font-style: italic; font-weight: 300; color: var(--accent-mid); }
.section-sub { font-size: 16px; color: var(--text-body); line-height: 1.75; font-weight: 400; max-width: 560px; margin-top: 14px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.eyebrow-line { width: 28px; height: 1px; background: var(--accent); flex-shrink: 0; }
.eyebrow-text { font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.split-header { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 56px; }
.body-copy { font-size: 16px; color: var(--text-body); line-height: 1.78; font-weight: 400; }

/* ── BUTTONS ── */
.btn-p {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 30px; background: var(--gold); color: #FFFFFF; box-shadow: 0 3px 14px rgba(212,130,10,0.28);
  border: none; border-radius: var(--r-sm); font-family: var(--font-body);
  font-size: 14.5px; font-weight: 700; cursor: pointer; text-decoration: none;
  letter-spacing: .01em; transition: all .22s var(--ease);
  box-shadow: 0 3px 14px rgba(26,58,107,0.22); white-space: nowrap;
}
.btn-p:hover { background: #C4780A; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(212,130,10,0.36); }
.btn-p svg { transition: transform .2s; }
.btn-p:hover svg { transform: translateX(3px); }

.btn-g {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px; background: transparent; color: var(--text-primary);
  border: 2px solid rgba(30,40,60,0.28); border-radius: var(--r-sm);
  font-family: var(--font-body); font-size: 14px; font-weight: 500;
  cursor: pointer; text-decoration: none; transition: all .22s; white-space: nowrap;
}
.btn-g:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-dim); }

.btn-c {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; background: var(--accent-dim); color: var(--accent);
  border: 1.5px solid rgba(26,58,107,0.25); border-radius: var(--r-sm);
  font-family: var(--font-body); font-size: 14px; font-weight: 600;
  cursor: pointer; text-decoration: none; transition: all .22s; white-space: nowrap;
}
.btn-c:hover { background: rgba(26,58,107,0.15); border-color: var(--accent); transform: translateY(-1px); }

.link-arrow {
  font-size: 13px; color: var(--accent); text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px;
  border-bottom: 1.5px solid rgba(26,58,107,0.30); padding-bottom: 2px;
  white-space: nowrap; font-weight: 500; transition: gap .2s, border-color .2s;
}
.link-arrow:hover { gap: 10px; border-color: var(--accent); }

/* ── CARDS ── */
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 32px 28px;
  transition: box-shadow .28s var(--ease), transform .28s var(--ease);
  box-shadow: var(--shadow-sm);
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

/* ── DIVIDER ── */
.divider { height: 1px; background: var(--border); margin: 0 var(--gutter); }

/* ── BADGE ── */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 14px; border-radius: 100px; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.badge-accent  { background: var(--accent); color: #FFFFFF; }
.badge-outline { background: transparent; border: 1.5px solid var(--border); color: var(--text-muted); }
.badge-green   { background: rgba(30,107,74,0.10); color: var(--green); }
.badge-gold    { background: rgba(212,130,10,0.10); color: var(--gold); }

/* ── FORMS ── */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 15px; color: var(--text-primary);
  background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--r-sm);
  padding: 12px 16px; transition: border-color .2s, box-shadow .2s; outline: none;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-dim);
}
.field textarea { resize: vertical; min-height: 120px; }

/* ── BREADCRUMB / PAGE HEADER ── */
.page-header { padding: calc(var(--nav-h) + 64px) var(--gutter) 72px; background: var(--surface); border-bottom: 1px solid var(--border); }
.page-header-inner { max-width: var(--max-w); margin: 0 auto; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-muted); margin-bottom: 20px; flex-wrap: wrap; }
.breadcrumb a { color: var(--text-muted); transition: color .2s; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb-sep { color: var(--text-faint); }

/* ── UTILITIES ── */
.text-accent { color: var(--accent); } .text-muted { color: var(--text-muted); }
.text-body   { color: var(--text-body); } .text-center { text-align: center; }
.mt-0 { margin-top: 0; }    .mb-0 { margin-bottom: 0; }
.mt-8 { margin-top: 8px; }  .mb-8 { margin-bottom: 8px; }
.mt-16{ margin-top:16px; }  .mb-16{ margin-bottom:16px; }
.mt-24{ margin-top:24px; }  .mb-24{ margin-bottom:24px; }
.mt-32{ margin-top:32px; }  .mb-32{ margin-bottom:32px; }
.mt-48{ margin-top:48px; }  .mb-48{ margin-bottom:48px; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

/* ── AUTO INTERNAL LINKS ── */
.rr-auto-link { color: var(--accent); text-decoration: underline; text-decoration-style: dotted; text-underline-offset: 3px; text-decoration-thickness: 1px; transition: color .2s, text-decoration-color .2s; }
.rr-auto-link:hover { color: var(--gold); text-decoration-style: solid; }

/* ── RESPONSIVE — tokens + layout only ── */
@media (max-width: 1024px) { :root { --gutter: 40px; } .split-header { flex-direction: column; align-items: flex-start; gap: 16px; } }
@media (max-width: 768px)  { :root { --gutter: 24px; --nav-h: 62px; } .section { padding: 64px var(--gutter); } }
@media (max-width: 480px)  { :root { --gutter: 20px; } .section { padding: 52px var(--gutter); } }

/* ── Buttons on dark hero ── */
.single-hero .btn-g,
.page-hero .hero-l .btn-g {
  color: rgba(240,244,250,0.85);
  border-color: rgba(240,244,250,0.30);
  background: transparent;
}
.single-hero .btn-g:hover,
.page-hero .hero-l .btn-g:hover {
  color: #FFFFFF;
  border-color: rgba(240,244,250,0.70);
  background: rgba(255,255,255,0.08);
}
.page-hero .hero-l .btn-c {
  color: rgba(240,244,250,0.85);
  border-color: rgba(240,244,250,0.30);
  background: rgba(255,255,255,0.08);
}
.page-hero .hero-l .btn-c:hover {
  background: rgba(255,255,255,0.16);
  border-color: rgba(240,244,250,0.60);
}




/* ── GP container: full width on single posts ── */
.single #page,
.single #content,
.single #primary,
.single #main,
.single .site-content,
.single .content-area,
.single .site-main {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  float: none !important;
}