/* ============================================================
   RETTHINK DESIGN SYSTEM
   Version 1.0 · 2025
   Managing Partner: Ngoma Solomon
   retthink.org
   ============================================================ */

/* ────────────────────────────────────────
   1. CSS CUSTOM PROPERTIES (TOKENS)
──────────────────────────────────────── */
:root {

  /* BRAND COLORS */
  --rt-navy:          #1A3070;   /* primary dark — headers, nav bg */
  --rt-blue:          #2D4FA1;   /* primary — buttons, links, accents */
  --rt-blue-light:    #4A6BC7;   /* hover states, active bg */
  --rt-blue-pale:     #E8EDF8;   /* tag backgrounds, subtle fills */
  --rt-copper:        #B5541A;   /* zambian accent — titles, borders */
  --rt-copper-light:  #D4742A;   /* hover on copper elements */
  --rt-gold:          #E8C84A;   /* premium CTA, highlights */
  --rt-gold-dark:     #C9A832;   /* gold hover */
  --rt-black:         #0D0D0D;   /* body text, dark sections */
  --rt-white:         #FFFFFF;
  --rt-off-white:     #F4F3EF;   /* page background */
  --rt-gray-100:      #F4F5F7;
  --rt-gray-200:      #E5E7EB;
  --rt-gray-400:      #9CA3AF;
  --rt-gray-600:      #6B7280;
  --rt-gray-800:      #374151;

  /* ZAMBIA FLAG COLORS — use sparingly, stripe/footer only */
  --rt-zambia-green:  #198A3E;
  --rt-zambia-red:    #DE2010;
  --rt-zambia-orange: #E8832A;

  /* TYPOGRAPHY */
  --rt-font-display:  'DM Serif Display', Georgia, serif;
  --rt-font-body:     'Century Gothic', 'DM Sans', 'Trebuchet MS', Arial, sans-serif;
  --rt-font-ui:       'DM Sans', 'Century Gothic', Arial, sans-serif;

  /* TYPE SCALE */
  --rt-text-xs:    10.5px;
  --rt-text-sm:    12px;
  --rt-text-base:  14px;
  --rt-text-md:    16px;
  --rt-text-lg:    18px;
  --rt-text-xl:    22px;
  --rt-text-2xl:   28px;
  --rt-text-3xl:   36px;
  --rt-text-4xl:   48px;
  --rt-text-5xl:   64px;
  --rt-text-hero:  clamp(52px, 8vw, 100px);

  /* SPACING */
  --rt-space-1:    4px;
  --rt-space-2:    8px;
  --rt-space-3:    12px;
  --rt-space-4:    16px;
  --rt-space-5:    20px;
  --rt-space-6:    24px;
  --rt-space-8:    32px;
  --rt-space-10:   40px;
  --rt-space-12:   48px;
  --rt-space-16:   64px;
  --rt-space-20:   80px;
  --rt-space-24:   96px;

  /* BORDER RADIUS */
  --rt-radius-sm:  5px;
  --rt-radius-md:  8px;
  --rt-radius-lg:  12px;
  --rt-radius-xl:  16px;
  --rt-radius-2xl: 24px;

  /* SHADOWS */
  --rt-shadow-sm:  0 1px 4px rgba(0,0,0,0.06);
  --rt-shadow-md:  0 4px 16px rgba(0,0,0,0.08);
  --rt-shadow-lg:  0 12px 40px rgba(0,0,0,0.12);
  --rt-shadow-xl:  0 24px 64px rgba(0,0,0,0.16);

  /* TRANSITIONS */
  --rt-ease:       cubic-bezier(0.4, 0, 0.2, 1);
  --rt-duration:   200ms;

  /* GRADIENTS */
  --rt-grad-brand:       linear-gradient(135deg, var(--rt-navy) 0%, var(--rt-blue) 100%);
  --rt-grad-copper-bar:  linear-gradient(to right, var(--rt-navy) 0%, var(--rt-blue) 50%, var(--rt-copper) 78%, var(--rt-gold) 100%);
  --rt-grad-hero:        linear-gradient(160deg, var(--rt-navy) 0%, #1e3a7a 60%, var(--rt-blue) 100%);
  --rt-grad-dark:        linear-gradient(180deg, #0D0D0D 0%, #111827 100%);
}

/* ────────────────────────────────────────
   2. RESET & BASE
──────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--rt-font-body);
  font-size: var(--rt-text-base);
  color: var(--rt-black);
  background: var(--rt-off-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ────────────────────────────────────────
   3. TYPOGRAPHY CLASSES
──────────────────────────────────────── */

/* Display — DM Serif Display */
.rt-display-xl {
  font-family: var(--rt-font-display);
  font-size: var(--rt-text-hero);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--rt-navy);
}
.rt-display-lg {
  font-family: var(--rt-font-display);
  font-size: var(--rt-text-5xl);
  line-height: 1.0;
  letter-spacing: -0.025em;
  color: var(--rt-navy);
}
.rt-display-md {
  font-family: var(--rt-font-display);
  font-size: var(--rt-text-4xl);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--rt-navy);
}
.rt-display-sm {
  font-family: var(--rt-font-display);
  font-size: var(--rt-text-3xl);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--rt-navy);
}
.rt-display-italic { font-style: italic; color: var(--rt-gold); }
.rt-display-copper { color: var(--rt-copper-light); }
.rt-display-white  { color: var(--rt-white); }

/* Headings — Century Gothic / DM Sans */
.rt-heading-xl {
  font-family: var(--rt-font-body);
  font-size: var(--rt-text-2xl);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--rt-navy);
}
.rt-heading-lg {
  font-family: var(--rt-font-body);
  font-size: var(--rt-text-xl);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--rt-navy);
}
.rt-heading-md {
  font-family: var(--rt-font-body);
  font-size: var(--rt-text-lg);
  font-weight: 700;
  line-height: 1.3;
  color: var(--rt-navy);
}

/* Body text */
.rt-body-lg { font-size: var(--rt-text-lg); line-height: 1.75; color: var(--rt-gray-600); }
.rt-body-md { font-size: var(--rt-text-md); line-height: 1.7;  color: var(--rt-gray-600); }
.rt-body-sm { font-size: var(--rt-text-base); line-height: 1.65; color: var(--rt-gray-600); }

/* Labels / eyebrows */
.rt-label {
  font-family: var(--rt-font-body);
  font-size: var(--rt-text-xs);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rt-copper);
}
.rt-label-blue { color: var(--rt-blue); }
.rt-label-white { color: rgba(255,255,255,0.5); }

/* ────────────────────────────────────────
   4. LOGO & BRAND MARK
──────────────────────────────────────── */

/* Logo mark — the "re" square */
.rt-logomark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--rt-navy);
  border-radius: var(--rt-radius-md);
  font-family: var(--rt-font-body);
  font-weight: 700;
  font-size: 22px;
  color: var(--rt-white);
  letter-spacing: -0.06em;
  flex-shrink: 0;
  position: relative;
}
.rt-logomark--sm { width: 36px; height: 36px; font-size: 16px; border-radius: 7px; }
.rt-logomark--lg { width: 64px; height: 64px; font-size: 30px; border-radius: var(--rt-radius-lg); }
.rt-logomark--white { background: var(--rt-white); color: var(--rt-navy); }
.rt-logomark--copper { background: var(--rt-copper); color: var(--rt-white); }
.rt-logomark--gold { background: var(--rt-gold); color: var(--rt-navy); }
.rt-logomark--black { background: var(--rt-black); color: var(--rt-gold); }

/* Wordmark */
.rt-wordmark {
  font-family: var(--rt-font-body);
  font-weight: 700;
  font-size: 20px;
  color: var(--rt-navy);
  letter-spacing: -0.04em;
  line-height: 1;
}
.rt-wordmark span { color: var(--rt-copper); }
.rt-wordmark--white { color: var(--rt-white); }
.rt-wordmark--white span { color: var(--rt-gold); }
.rt-wordmark--lg { font-size: 32px; }
.rt-wordmark--xl { font-size: 48px; }

/* Brand lockup (mark + wordmark together) */
.rt-lockup {
  display: flex;
  align-items: center;
  gap: var(--rt-space-3);
}

/* Zambia flag strip — use at section or page footer */
.rt-zambia-strip {
  display: flex;
  height: 3px;
  width: 100%;
}
.rt-zambia-strip span:nth-child(1) { flex: 4; background: var(--rt-zambia-green); }
.rt-zambia-strip span:nth-child(2) { flex: 2; background: var(--rt-zambia-red); }
.rt-zambia-strip span:nth-child(3) { flex: 2; background: var(--rt-black); }
.rt-zambia-strip span:nth-child(4) { flex: 2; background: var(--rt-zambia-orange); }

/* Copper gradient bar — section divider */
.rt-gradient-bar {
  width: 100%;
  height: 3px;
  background: var(--rt-grad-copper-bar);
  border-radius: 2px;
}
.rt-gradient-bar--thin { height: 2px; }
.rt-gradient-bar--thick { height: 4px; }

/* ────────────────────────────────────────
   5. LAYOUT UTILITIES
──────────────────────────────────────── */
.rt-container {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 var(--rt-space-8);
}
.rt-container--narrow { max-width: 860px; }
.rt-container--wide { max-width: 1440px; }

.rt-section { padding: var(--rt-space-20) var(--rt-space-8); }
.rt-section--sm { padding: var(--rt-space-12) var(--rt-space-8); }
.rt-section--lg { padding: var(--rt-space-24) var(--rt-space-8); }

/* Section backgrounds */
.rt-bg-white     { background: var(--rt-white); }
.rt-bg-offwhite  { background: var(--rt-off-white); }
.rt-bg-navy      { background: var(--rt-navy); }
.rt-bg-dark      { background: var(--rt-black); }
.rt-bg-blue      { background: var(--rt-blue); }
.rt-bg-copper    { background: var(--rt-copper); }

/* Chitenge texture overlay — add to a position:relative parent */
.rt-chitenge-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(60deg,  rgba(181,84,26,0.05) 0, rgba(181,84,26,0.05) 1.5px, transparent 0, transparent 36px),
    repeating-linear-gradient(-60deg, rgba(181,84,26,0.05) 0, rgba(181,84,26,0.05) 1.5px, transparent 0, transparent 36px);
  pointer-events: none;
}

/* Grid helpers */
.rt-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--rt-space-6); }
.rt-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--rt-space-6); }
.rt-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--rt-space-5); }
.rt-flex   { display: flex; }
.rt-flex-center { display: flex; align-items: center; justify-content: center; }
.rt-flex-between { display: flex; align-items: center; justify-content: space-between; }
.rt-gap-2  { gap: var(--rt-space-2); }
.rt-gap-3  { gap: var(--rt-space-3); }
.rt-gap-4  { gap: var(--rt-space-4); }
.rt-gap-6  { gap: var(--rt-space-6); }

/* ────────────────────────────────────────
   6. BUTTONS
──────────────────────────────────────── */
.rt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--rt-space-2);
  padding: 11px 24px;
  border-radius: var(--rt-radius-sm);
  font-family: var(--rt-font-body);
  font-size: var(--rt-text-sm);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--rt-duration) var(--rt-ease),
              border-color var(--rt-duration) var(--rt-ease),
              color var(--rt-duration) var(--rt-ease),
              transform var(--rt-duration) var(--rt-ease),
              box-shadow var(--rt-duration) var(--rt-ease);
  text-decoration: none;
}
.rt-btn:hover { transform: translateY(-1px); }
.rt-btn:active { transform: translateY(0); }

/* Primary — Navy */
.rt-btn-primary {
  background: var(--rt-navy);
  color: var(--rt-white);
  border-color: var(--rt-navy);
}
.rt-btn-primary:hover { background: var(--rt-blue); border-color: var(--rt-blue); box-shadow: 0 4px 16px rgba(45,79,161,0.35); }

/* Secondary — Copper */
.rt-btn-copper {
  background: var(--rt-copper);
  color: var(--rt-white);
  border-color: var(--rt-copper);
}
.rt-btn-copper:hover { background: var(--rt-copper-light); border-color: var(--rt-copper-light); box-shadow: 0 4px 16px rgba(181,84,26,0.35); }

/* Gold — CTA */
.rt-btn-gold {
  background: var(--rt-gold);
  color: var(--rt-navy);
  border-color: var(--rt-gold);
}
.rt-btn-gold:hover { background: var(--rt-gold-dark); border-color: var(--rt-gold-dark); box-shadow: 0 4px 16px rgba(232,200,74,0.4); }

/* Outline — Navy */
.rt-btn-outline {
  background: transparent;
  color: var(--rt-navy);
  border-color: var(--rt-navy);
}
.rt-btn-outline:hover { background: var(--rt-blue-pale); }

/* Outline — White (on dark bg) */
.rt-btn-outline-white {
  background: transparent;
  color: var(--rt-white);
  border-color: rgba(255,255,255,0.3);
}
.rt-btn-outline-white:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.5); }

/* Ghost */
.rt-btn-ghost {
  background: transparent;
  color: var(--rt-blue);
  border-color: transparent;
  padding-left: 0; padding-right: 0;
}
.rt-btn-ghost:hover { color: var(--rt-navy); }

/* Sizes */
.rt-btn--sm { padding: 8px 16px; font-size: var(--rt-text-xs); }
.rt-btn--lg { padding: 14px 32px; font-size: var(--rt-text-base); }
.rt-btn--xl { padding: 16px 40px; font-size: var(--rt-text-md); }

/* ────────────────────────────────────────
   7. CARDS
──────────────────────────────────────── */
.rt-card {
  background: var(--rt-white);
  border-radius: var(--rt-radius-xl);
  border: 1px solid var(--rt-gray-200);
  padding: var(--rt-space-8);
  box-shadow: var(--rt-shadow-sm);
  transition: box-shadow var(--rt-duration) var(--rt-ease), transform var(--rt-duration) var(--rt-ease);
}
.rt-card:hover { box-shadow: var(--rt-shadow-lg); transform: translateY(-2px); }

/* Card with copper left accent border */
.rt-card--accent {
  border-left: 3px solid var(--rt-copper);
  border-radius: 0 var(--rt-radius-xl) var(--rt-radius-xl) 0;
}

/* Dark card */
.rt-card--dark {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.08);
  color: var(--rt-white);
}
.rt-card--dark:hover { background: rgba(255,255,255,0.07); box-shadow: 0 8px 32px rgba(0,0,0,0.3); }

/* Navy card */
.rt-card--navy {
  background: var(--rt-navy);
  border-color: transparent;
  color: var(--rt-white);
}

/* Stat card */
.rt-stat-card {
  background: var(--rt-gray-100);
  border-radius: var(--rt-radius-lg);
  padding: var(--rt-space-5) var(--rt-space-6);
  text-align: center;
}
.rt-stat-value {
  font-family: var(--rt-font-body);
  font-size: var(--rt-text-3xl);
  font-weight: 700;
  color: var(--rt-blue);
  line-height: 1;
  display: block;
  margin-bottom: var(--rt-space-1);
}
.rt-stat-label {
  font-size: var(--rt-text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rt-gray-400);
  display: block;
}

/* ────────────────────────────────────────
   8. BADGES & TAGS
──────────────────────────────────────── */
.rt-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--rt-space-1);
  padding: 4px 12px;
  border-radius: 100px;
  font-family: var(--rt-font-body);
  font-size: var(--rt-text-xs);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  white-space: nowrap;
}
.rt-badge--blue    { background: var(--rt-blue-pale); color: var(--rt-blue); }
.rt-badge--copper  { background: rgba(181,84,26,0.1); color: var(--rt-copper); }
.rt-badge--gold    { background: rgba(232,200,74,0.15); color: #9a7a00; }
.rt-badge--green   { background: #DCFCE7; color: #166534; }
.rt-badge--red     { background: #FEE2E2; color: #991B1B; }
.rt-badge--gray    { background: var(--rt-gray-100); color: var(--rt-gray-600); }
.rt-badge--white   { background: rgba(255,255,255,0.12); color: var(--rt-white); border: 1px solid rgba(255,255,255,0.2); }
.rt-badge--dark    { background: var(--rt-navy); color: var(--rt-white); }

/* Status dots */
.rt-badge--active::before  { content: '●'; font-size: 8px; color: #16A34A; }
.rt-badge--pending::before { content: '●'; font-size: 8px; color: #D97706; }
.rt-badge--closed::before  { content: '●'; font-size: 8px; color: #DC2626; }

/* ────────────────────────────────────────
   9. FORM ELEMENTS
──────────────────────────────────────── */
.rt-label-field {
  display: block;
  font-family: var(--rt-font-body);
  font-size: var(--rt-text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rt-gray-800);
  margin-bottom: var(--rt-space-2);
}

.rt-input {
  width: 100%;
  padding: 11px 16px;
  border: 1.5px solid var(--rt-gray-200);
  border-radius: var(--rt-radius-md);
  font-family: var(--rt-font-body);
  font-size: var(--rt-text-base);
  color: var(--rt-black);
  background: var(--rt-white);
  outline: none;
  transition: border-color var(--rt-duration) var(--rt-ease), box-shadow var(--rt-duration) var(--rt-ease);
  -webkit-appearance: none;
}
.rt-input:focus {
  border-color: var(--rt-blue);
  box-shadow: 0 0 0 3px rgba(45,79,161,0.12);
}
.rt-input::placeholder { color: var(--rt-gray-400); }
.rt-input--error { border-color: #DC2626; }
.rt-input--error:focus { box-shadow: 0 0 0 3px rgba(220,38,38,0.12); }

.rt-select {
  width: 100%;
  padding: 11px 40px 11px 16px;
  border: 1.5px solid var(--rt-gray-200);
  border-radius: var(--rt-radius-md);
  font-family: var(--rt-font-body);
  font-size: var(--rt-text-base);
  color: var(--rt-black);
  background: var(--rt-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B7280' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 14px center;
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: border-color var(--rt-duration) var(--rt-ease);
}
.rt-select:focus { border-color: var(--rt-blue); box-shadow: 0 0 0 3px rgba(45,79,161,0.12); }

.rt-textarea {
  width: 100%;
  padding: 11px 16px;
  border: 1.5px solid var(--rt-gray-200);
  border-radius: var(--rt-radius-md);
  font-family: var(--rt-font-body);
  font-size: var(--rt-text-base);
  color: var(--rt-black);
  background: var(--rt-white);
  outline: none;
  resize: vertical;
  min-height: 100px;
  transition: border-color var(--rt-duration) var(--rt-ease);
}
.rt-textarea:focus { border-color: var(--rt-blue); box-shadow: 0 0 0 3px rgba(45,79,161,0.12); }

.rt-form-group { margin-bottom: var(--rt-space-5); }
.rt-form-hint { font-size: var(--rt-text-xs); color: var(--rt-gray-400); margin-top: var(--rt-space-1); }
.rt-form-error { font-size: var(--rt-text-xs); color: #DC2626; margin-top: var(--rt-space-1); }

/* ────────────────────────────────────────
   10. NAVIGATION
──────────────────────────────────────── */
.rt-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--rt-navy);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 0 var(--rt-space-8);
}
.rt-nav-inner {
  max-width: 1260px;
  margin: 0 auto;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.rt-nav-links {
  display: flex;
  align-items: center;
  gap: var(--rt-space-8);
  list-style: none;
}
.rt-nav-link {
  font-family: var(--rt-font-body);
  font-size: var(--rt-text-sm);
  font-weight: 600;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.04em;
  transition: color var(--rt-duration) var(--rt-ease);
  cursor: pointer;
}
.rt-nav-link:hover { color: var(--rt-white); }
.rt-nav-link--active { color: var(--rt-white); position: relative; }
.rt-nav-link--active::after {
  content: '';
  position: absolute;
  bottom: -22px;
  left: 0; right: 0;
  height: 2px;
  background: var(--rt-copper);
  border-radius: 1px;
}
.rt-nav-actions { display: flex; align-items: center; gap: var(--rt-space-3); }

/* ────────────────────────────────────────
   11. HERO SECTION PATTERN
──────────────────────────────────────── */
.rt-hero {
  min-height: 90vh;
  background: var(--rt-grad-hero);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: var(--rt-space-20) var(--rt-space-8);
}
/* Chitenge texture */
.rt-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(60deg,  rgba(181,84,26,0.06) 0, rgba(181,84,26,0.06) 1.5px, transparent 0, transparent 40px),
    repeating-linear-gradient(-60deg, rgba(181,84,26,0.06) 0, rgba(181,84,26,0.06) 1.5px, transparent 0, transparent 40px);
  pointer-events: none;
}
/* Decorative arc */
.rt-hero::after {
  content: '';
  position: absolute;
  right: -200px; top: 50%;
  transform: translateY(-50%);
  width: 700px; height: 700px;
  border-radius: 50%;
  border: 80px solid rgba(255,255,255,0.03);
  pointer-events: none;
}

/* ────────────────────────────────────────
   12. DIVIDERS
──────────────────────────────────────── */
.rt-divider { width: 100%; height: 1px; background: var(--rt-gray-200); }
.rt-divider--dark { background: rgba(255,255,255,0.08); }

/* ────────────────────────────────────────
   13. MATCH SCORE (platform-specific)
──────────────────────────────────────── */
.rt-match-score {
  font-family: var(--rt-font-body);
  font-size: var(--rt-text-2xl);
  font-weight: 700;
  color: var(--rt-blue);
  line-height: 1;
  display: block;
}
.rt-match-label {
  font-size: var(--rt-text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rt-gray-400);
}

/* Progress bar */
.rt-progress {
  width: 100%;
  height: 8px;
  background: var(--rt-gray-200);
  border-radius: 100px;
  overflow: hidden;
}
.rt-progress-fill {
  height: 100%;
  background: var(--rt-blue);
  border-radius: 100px;
  transition: width 0.6s var(--rt-ease);
}
.rt-progress-fill--copper { background: var(--rt-copper); }
.rt-progress-fill--gold   { background: var(--rt-gold); }

/* ────────────────────────────────────────
   14. FOOTER PATTERN
──────────────────────────────────────── */
.rt-footer {
  background: var(--rt-navy);
  padding: var(--rt-space-16) var(--rt-space-8) 0;
}
.rt-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: var(--rt-space-6) 0;
  margin-top: var(--rt-space-16);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--rt-space-4);
}
.rt-footer-text {
  font-size: var(--rt-text-xs);
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.06em;
}

/* ────────────────────────────────────────
   15. ANIMATION UTILITIES
──────────────────────────────────────── */
@keyframes rt-fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes rt-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes rt-slide-right {
  from { opacity: 0; transform: translateX(-16px); }
  to   { opacity: 1; transform: translateX(0); }
}

.rt-animate-fade-up   { animation: rt-fade-up   0.7s var(--rt-ease) both; }
.rt-animate-fade-in   { animation: rt-fade-in   0.5s var(--rt-ease) both; }
.rt-animate-slide-right { animation: rt-slide-right 0.6s var(--rt-ease) both; }
.rt-delay-1 { animation-delay: 0.1s; }
.rt-delay-2 { animation-delay: 0.2s; }
.rt-delay-3 { animation-delay: 0.3s; }
.rt-delay-4 { animation-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ────────────────────────────────────────
   16. RESPONSIVE BREAKPOINTS
──────────────────────────────────────── */
@media (max-width: 1024px) {
  .rt-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .rt-grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .rt-grid-2, .rt-grid-3, .rt-grid-4 { grid-template-columns: 1fr; }
  .rt-section, .rt-section--lg { padding: var(--rt-space-12) var(--rt-space-6); }
  .rt-nav-links { display: none; }
  .rt-container { padding: 0 var(--rt-space-5); }
  .rt-hero { min-height: 75vh; padding: var(--rt-space-16) var(--rt-space-5); }
  .rt-display-xl { font-size: clamp(38px, 10vw, 64px); }
}
