/* ================================================================
   READYLAYER — main.css
   Load order: always after bootstrap.min.css
   ================================================================ */


/* ----------------------------------------------------------------
   1. CSS CUSTOM PROPERTIES
   ---------------------------------------------------------------- */
:root {
  /* Brand palette */
  --rl-black:       #0a0a0a;
  --rl-near-black:  #111111;
  --rl-dark:        #1a1a1a;
  --rl-off-white:   #f5f2ec;
  --rl-warm:        #faf8f4;
  --rl-accent:      #c8502a;
  --rl-accent-d:    #9e3d20;
  --rl-accent-l:    #f5e8e3;
  --rl-accent-ll:   #fdf5f2;
  --rl-mid:         #6b6560;
  --rl-border:      #ddd8d0;

  /* Layer colours */
  --rl-l1: #c8502a;
  --rl-l2: #2a5c8b;
  --rl-l3: #2a6b4a;
  --rl-l4: #6b3f8b;

  /* Typography */
  --rl-font-display: 'Playfair Display', Georgia, serif;
  --rl-font-body:    'DM Sans', system-ui, sans-serif;
  --rl-font-mono:    'DM Mono', monospace;

  /* Spacing */
  --rl-section-pad: 100px;

  /* Transitions */
  --rl-transition: 0.2s ease;
}


/* ----------------------------------------------------------------
   2. RESET & BASE
   ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family:  var(--rl-font-body);
  background:   var(--rl-off-white);
  color:        var(--rl-black);
  font-size:    16px;
  line-height:  1.6;
  overflow-x:   hidden;
}

img, svg { max-width: 100%; height: auto; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--rl-font-display);
  line-height: 1.15;
}

a { color: inherit; text-decoration: none; }

::selection {
  background: var(--rl-accent);
  color:      var(--rl-off-white);
}

:focus-visible {
  outline:        3px solid var(--rl-accent);
  outline-offset: 3px;
}
:focus:not(:focus-visible) { outline: none; }


/* ----------------------------------------------------------------
   3. BOOTSTRAP OVERRIDES
   ---------------------------------------------------------------- */

/* Our container padding matches the design's 48px gutters */
.container,
.container-fluid {
  --bs-gutter-x: 48px;
}

@media (min-width: 1400px) {
  .container { max-width: 1296px; }
}


/* ----------------------------------------------------------------
   4. SHARED TYPOGRAPHY
   ---------------------------------------------------------------- */
.rl-eyebrow {
  font-family:    var(--rl-font-mono);
  font-size:      0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color:          var(--rl-accent);
  display:        block;
  margin-bottom:  1rem;
}


/* ----------------------------------------------------------------
   5. SHARED BUTTONS
   ---------------------------------------------------------------- */

.rl-btn-primary {
  background:      var(--rl-accent);
  color:           var(--rl-off-white);
  padding:         0.85rem 2rem;
  font-family:     var(--rl-font-body);
  font-size:       0.9rem;
  font-weight:     500;
  border:          none;
  border-radius:   2px;
  cursor:          pointer;
  text-decoration: none;
  display:         inline-block;
  transition:      background var(--rl-transition), transform 0.15s;
  letter-spacing:  0.01em;
}
.rl-btn-primary:hover {
  background: var(--rl-accent-d);
  transform:  translateY(-1px);
  color:      var(--rl-off-white);
}

.rl-btn-ghost {
  background:      transparent;
  color:           rgba(245,242,236,0.7);
  padding:         0.85rem 2rem;
  font-family:     var(--rl-font-body);
  font-size:       0.9rem;
  font-weight:     400;
  border:          1px solid rgba(245,242,236,0.2);
  border-radius:   2px;
  cursor:          pointer;
  text-decoration: none;
  display:         inline-flex;
  align-items:     center;
  gap:             8px;
  transition:      border-color var(--rl-transition), color var(--rl-transition);
}
.rl-btn-ghost:hover {
  border-color: rgba(245,242,236,0.5);
  color:        var(--rl-off-white);
}
.rl-btn-ghost svg { transition: transform var(--rl-transition); }
.rl-btn-ghost:hover svg { transform: translateX(3px); }

.rl-btn-primary-light {
  background:      var(--rl-off-white);
  color:           var(--rl-black);
  padding:         0.85rem 2rem;
  font-family:     var(--rl-font-body);
  font-size:       0.9rem;
  font-weight:     600;
  border:          none;
  border-radius:   2px;
  cursor:          pointer;
  text-decoration: none;
  display:         inline-block;
  transition:      background var(--rl-transition), transform 0.15s;
}
.rl-btn-primary-light:hover {
  background: var(--rl-warm);
  transform:  translateY(-1px);
  color:      var(--rl-black);
}


/* ----------------------------------------------------------------
   6. SCROLL REVEAL — progressive enhancement
   Content is visible by default. JS adds .js-enhanced to <html>,
   which opts elements into the animation. If JS fails or is slow,
   everything remains readable immediately.
   ---------------------------------------------------------------- */
.js-enhanced .reveal {
  opacity:    0;
  transform:  translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.js-enhanced .reveal.visible {
  opacity:   1;
  transform: translateY(0);
}


/* ----------------------------------------------------------------
   7. KEYFRAME ANIMATIONS
   ---------------------------------------------------------------- */
@keyframes rl-fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes rl-fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes rl-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.8); }
}


/* ================================================================
   LAYOUT COMPONENTS
   ================================================================ */


/* ----------------------------------------------------------------
   8. HEADER / NAV
   ---------------------------------------------------------------- */
.rl-header {
  position:              fixed;
  top:                   0;
  left:                  0;
  right:                 0;
  z-index:               1030;
  background:            rgba(10,10,10,0.92);
  backdrop-filter:       blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom:         1px solid rgba(200,80,42,0.3);
  transition:            border-bottom-color var(--rl-transition);
  /* Positioning parent for the absolute mobile tray */
  overflow:              visible;
}
.rl-header.is-scrolled {
  border-bottom-color: rgba(200,80,42,0.5);
}

/* Height lives on the navbar, not a custom inner div,
   so the collapse can break out naturally below it */
.rl-header .navbar {
  min-height: 64px;
  padding:    0;
}

/* The Bootstrap .container inside the navbar aligns to body width */
.rl-header .container {
  min-height: 64px;
}

/* Logo — inline flex so icon and wordmark sit on the same baseline */
.rl-nav-logo {
  display:         inline-flex;
  align-items:     center;
  gap:             10px;
  font-family:     var(--rl-font-display);
  font-size:       1.25rem;
  font-weight:     700;
  color:           var(--rl-off-white);
  text-decoration: none;
  letter-spacing:  -0.01em;
  flex-shrink:     0;
}
.rl-nav-logo img {
  display:    block;
  width:      28px;
  height:     28px;
  object-fit: contain;
}
.rl-nav-logo span { color: var(--rl-accent); }

/* Hamburger icon on dark background */
.rl-header .navbar-toggler {
  border-color: rgba(245,242,236,0.3);
  padding:      0.4rem 0.6rem;
}
.rl-header .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(245,242,236,0.7)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.rl-nav-links .nav-link {
  font-size:       0.85rem;
  font-weight:     400;
  color:           rgba(245,242,236,0.65);
  text-decoration: none;
  letter-spacing:  0.01em;
  padding:         0.5rem 0.75rem;
  transition:      color var(--rl-transition);
}
.rl-nav-links .nav-link:hover { color: var(--rl-off-white); }

.rl-btn-nav-cta {
  background:      var(--rl-accent);
  color:           var(--rl-off-white);
  padding:         0.55rem 1.25rem;
  border-radius:   2px;
  font-weight:     500;
  font-size:       0.85rem;
  text-decoration: none;
  display:         inline-block;
  white-space:     nowrap;
  transition:      background var(--rl-transition);
}
.rl-btn-nav-cta:hover {
  background: var(--rl-accent-d);
  color:      var(--rl-off-white);
}

/* ── Mobile nav tray ─────────────────────────────────────────── */
@media (max-width: 991.98px) {
  /* The collapse tray breaks out of the container and spans full width */
  .rl-header .navbar-collapse {
    position:   absolute;
    top:        64px;          /* flush below the nav bar */
    left:       0;
    right:      0;
    background: rgba(10,10,10,0.98);
    border-top: 1px solid rgba(200,80,42,0.25);
    padding:    1rem 24px 1.5rem;
    /* Bootstrap handles show/hide — we just ensure it opens downward */
  }
  .rl-nav-links .nav-link {
    padding:       0.65rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }
  .rl-nav-links .nav-item:last-child .nav-link { border-bottom: none; }
  .rl-nav-cta { margin-top: 1rem; }
  .rl-btn-nav-cta { display: block; text-align: center; }
}


/* ----------------------------------------------------------------
   9. HERO
   ---------------------------------------------------------------- */
.rl-hero {
  min-height:  100vh;
  background:  var(--rl-near-black);
  display:     flex;
  align-items: center;
  padding-top: 64px;
  position:    relative;
  overflow:    hidden;
}

/* Grid texture */
.rl-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(200,80,42,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,80,42,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* Radial accent glow */
.rl-hero::after {
  content: '';
  position: absolute;
  top: -20%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(ellipse, rgba(200,80,42,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.rl-hero-inner {
  position:              relative;
  z-index:               2;
  display:               grid;
  grid-template-columns: 1fr 1fr;
  gap:                   80px;
  align-items:           center;
  width:                 100%;
  max-width:             1200px;
  margin:                0 auto;
  padding:               80px 48px;
}

.rl-hero-tag {
  display:       inline-flex;
  align-items:   center;
  gap:           8px;
  border:        1px solid rgba(200,80,42,0.4);
  padding:       6px 14px;
  margin-bottom: 2rem;
  border-radius: 2px;
  animation:     rl-fadeIn 0.8s ease forwards;
}
.rl-hero-tag-dot {
  width:         6px;
  height:        6px;
  background:    var(--rl-accent);
  border-radius: 50%;
  animation:     rl-pulse 2s infinite;
}
.rl-hero-tag span {
  font-family:    var(--rl-font-mono);
  font-size:      0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color:          var(--rl-accent);
}

.rl-hero-h1 {
  font-size:      clamp(2.8rem, 5vw, 4.2rem);
  font-weight:    900;
  color:          var(--rl-off-white);
  line-height:    1.08;
  letter-spacing: -0.02em;
  margin-bottom:  1.5rem;
  animation:      rl-fadeUp 0.9s ease 0.1s forwards;
}
.rl-hero-h1 em { font-style: italic; color: var(--rl-accent); }

.rl-hero-sub {
  font-size:     1.05rem;
  color:         rgba(245,242,236,0.6);
  line-height:   1.7;
  margin-bottom: 2.5rem;
  max-width:     480px;
  animation:     rl-fadeUp 0.9s ease 0.2s forwards;
  font-weight:   300;
}

.rl-hero-actions {
  display:   flex;
  gap:       1rem;
  flex-wrap: wrap;
  animation: rl-fadeUp 0.9s ease 0.3s forwards;
}

.rl-hero-right { animation: rl-fadeUp 0.9s ease 0.4s forwards; }

.rl-stat-grid {
  display:               grid;
  grid-template-columns: 1fr 1fr;
  gap:                   1px;
  background:            rgba(245,242,236,0.08);
  border:                1px solid rgba(245,242,236,0.08);
}

.rl-stat-card {
  background:  rgba(26,26,26,0.8);
  padding:     28px;
  transition:  background var(--rl-transition);
}
.rl-stat-card:hover { background: rgba(40,40,40,0.9); }

.rl-stat-num {
  font-family:   var(--rl-font-display);
  font-size:     2.6rem;
  font-weight:   800;
  color:         var(--rl-off-white);
  line-height:   1;
  margin-bottom: 8px;
}
.rl-stat-num span { color: var(--rl-accent); }

.rl-stat-label {
  font-size:   0.78rem;
  color:       rgba(245,242,236,0.45);
  line-height: 1.5;
  font-weight: 300;
}

.rl-stat-card--accent {
  grid-column: span 2;
  background:  rgba(200,80,42,0.1);
  border-top:  1px solid rgba(200,80,42,0.3);
}
.rl-stat-card--accent .rl-stat-num {
  font-size: 1.1rem;
  color:     var(--rl-accent);
}

@media (max-width: 991.98px) {
  .rl-hero-inner { grid-template-columns: 1fr; gap: 48px; padding: 60px 24px; }
}
@media (max-width: 575.98px) {
  .rl-hero-inner { padding: 40px 20px; }
}


/* ----------------------------------------------------------------
   10. PROBLEM SECTION
   ---------------------------------------------------------------- */
.rl-problem {
  background: var(--rl-warm);
  padding:    var(--rl-section-pad) 0;
  border-top: 1px solid var(--rl-border);
}

.rl-problem-inner {
  display:               grid;
  grid-template-columns: 1fr 2fr;
  gap:                   80px;
  align-items:           start;
}

.rl-problem-label { padding-top: 8px; }
.rl-problem-label .rl-eyebrow { margin-bottom: 0.5rem; }

.rl-section-num {
  font-family: var(--rl-font-display);
  font-size:   5rem;
  font-weight: 900;
  color:       var(--rl-border);
  line-height: 1;
  margin-top:  0.5rem;
}

.rl-problem-h2 {
  font-size:      clamp(1.8rem, 3vw, 2.6rem);
  font-weight:    800;
  color:          var(--rl-black);
  line-height:    1.15;
  margin-bottom:  1.5rem;
  letter-spacing: -0.02em;
}

.rl-problem-body {
  font-size:     1rem;
  color:         var(--rl-mid);
  line-height:   1.75;
  margin-bottom: 1.5rem;
  font-weight:   300;
  max-width:     600px;
}

.rl-problem-callout {
  border-left: 3px solid var(--rl-accent);
  padding:     1.25rem 1.5rem;
  background:  var(--rl-accent-ll);
  margin-top:  2rem;
  margin:      2rem 0 0;
}
.rl-problem-callout p {
  font-family: var(--rl-font-display);
  font-size:   1.1rem;
  font-style:  italic;
  color:       var(--rl-black);
  line-height: 1.5;
  margin:      0;
}

@media (max-width: 767.98px) {
  .rl-problem-inner { grid-template-columns: 1fr; gap: 32px; }
  .rl-section-num   { font-size: 3rem; }
}


/* ----------------------------------------------------------------
   11. FOUNDATION STACK
   ---------------------------------------------------------------- */
.rl-stack {
  background: var(--rl-black);
  padding:    var(--rl-section-pad) 0;
  position:   relative;
  overflow:   hidden;
}
.rl-stack::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.rl-stack-header {
  display:         flex;
  justify-content: space-between;
  align-items:     flex-end;
  margin-bottom:   60px;
  position:        relative;
  z-index:         2;
}

.rl-stack-title {
  font-size:      clamp(1.8rem, 3vw, 2.8rem);
  font-weight:    800;
  color:          var(--rl-off-white);
  letter-spacing: -0.02em;
  max-width:      420px;
  line-height:    1.15;
  margin:         0;
}

.rl-stack-subtitle {
  font-size:   0.9rem;
  color:       rgba(245,242,236,0.4);
  max-width:   280px;
  text-align:  right;
  line-height: 1.6;
  font-weight: 300;
}

.rl-layer-list {
  position:       relative;
  z-index:        2;
  display:        flex;
  flex-direction: column;
  gap:            3px;
}

.rl-layer {
  display:               grid;
  grid-template-columns: 80px 1fr auto;
  align-items:           center;
  background:            rgba(255,255,255,0.03);
  border:                1px solid rgba(255,255,255,0.06);
  border-left:           4px solid;
  padding:               28px 32px;
  cursor:                pointer;
  text-decoration:       none;
  transition:            background 0.25s, transform 0.2s;
}
.rl-layer:hover { background: rgba(255,255,255,0.07); transform: translateX(4px); }

.rl-layer[data-l="1"] { border-left-color: var(--rl-l1); }
.rl-layer[data-l="2"] { border-left-color: var(--rl-l2); }
.rl-layer[data-l="3"] { border-left-color: var(--rl-l3); }
.rl-layer[data-l="4"] { border-left-color: var(--rl-l4); }

.rl-layer-num {
  font-family:    var(--rl-font-mono);
  font-size:      0.75rem;
  font-weight:    500;
  letter-spacing: 0.08em;
}
.rl-layer[data-l="1"] .rl-layer-num { color: var(--rl-l1); }
.rl-layer[data-l="2"] .rl-layer-num { color: var(--rl-l2); }
.rl-layer[data-l="3"] .rl-layer-num { color: var(--rl-l3); }
.rl-layer[data-l="4"] .rl-layer-num { color: var(--rl-l4); }

.rl-layer-name {
  font-family:   var(--rl-font-display);
  font-size:     1.2rem;
  font-weight:   700;
  color:         var(--rl-off-white);
  margin-bottom: 4px;
}
.rl-layer-tag {
  font-size:   0.8rem;
  color:       rgba(245,242,236,0.4);
  font-weight: 300;
}

.rl-layer-arrow {
  color:      rgba(245,242,236,0.2);
  font-size:  1.2rem;
  transition: color var(--rl-transition), transform var(--rl-transition);
}
.rl-layer:hover .rl-layer-arrow { color: var(--rl-off-white); transform: translateX(4px); }

.rl-stack-cta {
  margin-top: 40px;
  display:    flex;
  gap:        1rem;
  flex-wrap:  wrap;
  position:   relative;
  z-index:    2;
}

@media (max-width: 767.98px) {
  .rl-stack-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .rl-stack-subtitle { text-align: left; max-width: 100%; }
  .rl-layer { grid-template-columns: 48px 1fr auto; padding: 20px; }
}


/* ----------------------------------------------------------------
   12. PROOF STRIP
   ---------------------------------------------------------------- */
.rl-proof {
  background: var(--rl-accent);
  padding:    40px 0;
}

.rl-proof-inner {
  display:         flex;
  align-items:     center;
  justify-content: space-between;
  gap:             40px;
}

.rl-proof-text {
  font-family:  var(--rl-font-display);
  font-size:    1.3rem;
  font-style:   italic;
  font-weight:  700;
  color:        var(--rl-off-white);
  max-width:    640px;
  line-height:  1.4;
  margin:       0;
}

.rl-proof-action a {
  display:         inline-flex;
  align-items:     center;
  gap:             10px;
  color:           var(--rl-off-white);
  font-size:       0.85rem;
  font-weight:     500;
  text-decoration: none;
  border-bottom:   1px solid rgba(245,242,236,0.5);
  padding-bottom:  2px;
  white-space:     nowrap;
  transition:      border-color var(--rl-transition);
}
.rl-proof-action a:hover { border-color: var(--rl-off-white); }

@media (max-width: 767.98px) {
  .rl-proof-inner { flex-direction: column; align-items: flex-start; }
}


/* ----------------------------------------------------------------
   13. ENTRY POINT
   ---------------------------------------------------------------- */
.rl-entry {
  background: var(--rl-warm);
  padding:    var(--rl-section-pad) 0;
}

.rl-entry-inner {
  display:               grid;
  grid-template-columns: 1fr 1fr;
  gap:                   60px;
  align-items:           start;
}

.rl-entry-h2 {
  font-size:      clamp(1.8rem, 2.8vw, 2.4rem);
  font-weight:    800;
  color:          var(--rl-black);
  line-height:    1.15;
  letter-spacing: -0.02em;
  margin-bottom:  1.25rem;
}

.rl-entry-body {
  font-size:     0.95rem;
  color:         var(--rl-mid);
  line-height:   1.75;
  margin-bottom: 2rem;
  font-weight:   300;
}

.rl-review-card {
  background: var(--rl-black);
  padding:    36px;
  position:   relative;
}
.rl-review-card::before {
  content:    '';
  position:   absolute;
  top:        0; left: 0;
  width:      4px; height: 100%;
  background: var(--rl-accent);
}

.rl-review-meta {
  font-family:    var(--rl-font-mono);
  font-size:      0.7rem;
  color:          var(--rl-mid);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom:  1.5rem;
}

.rl-review-price {
  display:       flex;
  align-items:   baseline;
  gap:           8px;
  margin-bottom: 1.5rem;
}
.rl-review-price-num {
  font-family:  var(--rl-font-display);
  font-size:    2.8rem;
  font-weight:  800;
  color:        var(--rl-accent);
  line-height:  1;
}
.rl-review-price-label {
  font-size:   0.8rem;
  color:       var(--rl-mid);
  font-weight: 300;
}

.rl-review-includes {
  list-style:    none;
  padding:       0;
  margin-bottom: 2rem;
}
.rl-review-includes li {
  display:       flex;
  align-items:   flex-start;
  gap:           10px;
  padding:       8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size:     0.875rem;
  color:         rgba(245,242,236,0.7);
  font-weight:   300;
}
.rl-review-includes li:last-child { border-bottom: none; }
.rl-review-includes li::before {
  content:     '→';
  color:       var(--rl-accent);
  font-size:   0.8rem;
  margin-top:  1px;
  flex-shrink: 0;
}

@media (max-width: 991.98px) {
  .rl-entry-inner { grid-template-columns: 1fr; gap: 48px; }
}


/* ----------------------------------------------------------------
   14. RESOURCES
   ---------------------------------------------------------------- */
.rl-resources {
  background: var(--rl-off-white);
  padding:    var(--rl-section-pad) 0;
  border-top: 1px solid var(--rl-border);
}

.rl-resources-header {
  display:         flex;
  justify-content: space-between;
  align-items:     flex-end;
  margin-bottom:   48px;
}

.rl-resources-h2 {
  font-size:      clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight:    800;
  color:          var(--rl-black);
  letter-spacing: -0.02em;
  line-height:    1.2;
  margin:         0;
}

.rl-resources-link {
  font-size:       0.85rem;
  color:           var(--rl-accent);
  text-decoration: none;
  font-weight:     500;
  display:         flex;
  align-items:     center;
  gap:             6px;
  border-bottom:   1px solid transparent;
  white-space:     nowrap;
  transition:      border-color var(--rl-transition);
}
.rl-resources-link:hover { border-color: var(--rl-accent); color: var(--rl-accent); }

.rl-resource-grid {
  display:               grid;
  grid-template-columns: repeat(3, 1fr);
  gap:                   1px;
  background:            var(--rl-border);
}

.rl-resource-card {
  background:      var(--rl-warm);
  padding:         36px 32px;
  transition:      background var(--rl-transition);
  text-decoration: none;
  display:         block;
}
.rl-resource-card:hover { background: var(--rl-accent-ll); }

.rl-resource-icon {
  width:         40px; height: 40px;
  margin-bottom: 20px;
  display:       flex;
  align-items:   center;
}

.rl-resource-type {
  font-family:    var(--rl-font-mono);
  font-size:      0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color:          var(--rl-accent);
  margin-bottom:  10px;
  display:        block;
}

.rl-resource-title {
  font-family:   var(--rl-font-display);
  font-size:     1.15rem;
  font-weight:   700;
  color:         var(--rl-black);
  line-height:   1.3;
  margin-bottom: 12px;
}

.rl-resource-desc {
  font-size:   0.85rem;
  color:       var(--rl-mid);
  line-height: 1.65;
  font-weight: 300;
  margin:      0;
}

@media (max-width: 767.98px) {
  .rl-resources-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .rl-resource-grid    { grid-template-columns: 1fr; }
}


/* ----------------------------------------------------------------
   15. FINAL CTA
   ---------------------------------------------------------------- */
.rl-final-cta {
  background:  var(--rl-near-black);
  padding:     120px 0;
  position:    relative;
  overflow:    hidden;
  text-align:  center;
}
.rl-final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(200,80,42,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,80,42,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.rl-final-cta-inner {
  position:   relative;
  z-index:    2;
  max-width:  700px;
  margin:     0 auto;
  padding:    0 48px;
}

.rl-final-cta h2 {
  font-size:      clamp(2rem, 4vw, 3.2rem);
  font-weight:    900;
  color:          var(--rl-off-white);
  line-height:    1.1;
  margin-bottom:  1.25rem;
  letter-spacing: -0.02em;
}
.rl-final-cta h2 em { font-style: italic; color: var(--rl-accent); }

.rl-final-cta p {
  font-size:     1rem;
  color:         rgba(245,242,236,0.5);
  line-height:   1.7;
  margin-bottom: 2.5rem;
  font-weight:   300;
}

.rl-final-cta-actions {
  display:         flex;
  gap:             1rem;
  justify-content: center;
  flex-wrap:       wrap;
}

@media (max-width: 575.98px) {
  .rl-final-cta-inner { padding: 0 24px; }
}


/* ----------------------------------------------------------------
   16. FOOTER
   ---------------------------------------------------------------- */
.rl-footer {
  background: var(--rl-black);
  padding:    60px 0 32px;
  border-top: 1px solid rgba(200,80,42,0.3);
}

.rl-footer-inner {
  display:               grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap:                   48px;
  margin-bottom:         48px;
}

.rl-footer-logo {
  font-family:   var(--rl-font-display);
  font-size:     1.2rem;
  font-weight:   700;
  color:         var(--rl-off-white);
  margin-bottom: 1rem;
  display:       block;
}
.rl-footer-logo span { color: var(--rl-accent); }

.rl-footer-desc {
  font-size:   0.82rem;
  color:       rgba(245,242,236,0.35);
  line-height: 1.7;
  font-weight: 300;
  max-width:   260px;
  margin:      0;
}

.rl-footer-col h4 {
  font-family:    var(--rl-font-mono);
  font-size:      0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color:          var(--rl-accent);
  margin-bottom:  1rem;
}

.rl-footer-col ul {
  list-style:     none;
  padding:        0;
  margin:         0;
  display:        flex;
  flex-direction: column;
  gap:            0.6rem;
}

.rl-footer-col a {
  font-size:       0.82rem;
  color:           rgba(245,242,236,0.4);
  text-decoration: none;
  transition:      color var(--rl-transition);
}
.rl-footer-col a:hover { color: var(--rl-off-white); }

.rl-footer-bottom {
  border-top:      1px solid rgba(255,255,255,0.06);
  padding-top:     24px;
  display:         flex;
  justify-content: space-between;
  align-items:     center;
  flex-wrap:       wrap;
  gap:             12px;
}

.rl-footer-copy {
  font-size:       0.75rem;
  color:           rgba(245,242,236,0.25);
  font-weight:     300;
  text-decoration: none;
}
a.rl-footer-copy:hover { color: rgba(245,242,236,0.5); }

@media (max-width: 991.98px) {
  .rl-footer-inner { grid-template-columns: 1fr 1fr; gap: 40px; }
  .rl-footer-brand { grid-column: span 2; }
}
@media (max-width: 575.98px) {
  .rl-footer-inner { grid-template-columns: 1fr; }
  .rl-footer-brand { grid-column: span 1; }
}