/* ---------------- Fonts (keep your existing @font-face blocks if already hosted) ---------------- */
    @font-face {
      font-family: 'Fondserie';
      src: url('/assets/fonts/Fondserie-Regular.otf') format('opentype');
      font-weight: 400;
      font-style: normal;
      font-display: swap;
    }

    @font-face {
      font-family: 'Fondserie';
      src: url('/assets/fonts/Fondserie-Bold.otf') format('opentype');
      font-weight: 700;
      font-style: normal;
      font-display: swap;
    }

    @font-face {
      font-family: 'GigaSans';
      src: url('/assets/fonts/GigaSans-Regular.otf') format('opentype');
      font-weight: 400;
      font-style: normal;
      font-display: swap;
    }

    @font-face {
      font-family: 'GigaSans';
      src: url('/assets/fonts/GigaSans-Medium.otf') format('opentype');
      font-weight: 500;
      font-style: normal;
      font-display: swap;
    }

    @font-face {
      font-family: 'GigaSans';
      src: url('/assets/fonts/GigaSans-SemiBold.otf') format('opentype');
      font-weight: 600;
      font-style: normal;
      font-display: swap;
    }

    /* Typography calibration for 45+ readers */
    html {
      font-size: 17px;
    }

    @media (max-width: 768px) {
      html {
        font-size: 16px;
      }
    }

    @media (min-width: 1024px) {
      html {
        font-size: 18px;
      }
    }

    body {
      font-family: 'Ubuntu', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
      line-height: 1.7;
      color: #334155;
      /* slate-700 */
    }




    h1,
    h2,
    h3 {
      font-family: 'Fondserie', serif;
    }


    /* ===============================
       HERO SLIDER — proof-led
       =============================== */
    .hero-rotator {
      position: relative;
      overflow: hidden;
    }

    .hero-slide {
      position: absolute;
      inset: 0;
      opacity: 0;
      z-index: 0;
      will-change: opacity;
    }

    .hero-slide.is-active {
      opacity: 1;
      z-index: 2;
    }

    .hero-bg {
      width: 100%;
      height: 100%;
      object-fit: cover;
      will-change: transform;
    }

    .hero-content {
      opacity: 0;
      transform: translateY(24px);
      will-change: transform, opacity;
    }

    .hero-nav {
      opacity: .55;
      transition: opacity .25s ease;
    }

    .hero-nav.is-active {
      opacity: 1;
    }

    /* ===============================
   HERO OVERLAY PRESETS
   =============================== */

    /* DEFAULT — use for 80% of images */
    .overlay-default {
      background: linear-gradient(to top,
          rgba(0, 0, 0, .80),
          rgba(0, 0, 0, .45),
          rgba(0, 0, 0, .12));
    }

   


    /* ===============================
   HERO ACCENT — ORANGE TINT
   (subtle, brand-safe)
   =============================== */
    .overlay-orange-accent {
      background:
        linear-gradient(to top,
          rgba(240, 90, 43, 0.22),
          /* camOrange */
          rgba(240, 90, 43, 0.10),
          rgba(240, 90, 43, 0.00));
      mix-blend-mode: multiply;
    }


    .hero-content h1,
    .hero-content p,
    .hero-content span {
      text-shadow: 0 1px 2px rgba(0, 0, 0, .35);
    }

    /* Ensure text is visible on the initially active slide */
    .hero-slide.is-active .hero-content {
      opacity: 1;
      transform: translateY(0);
    }

   

  
    /* ===============================
   TYPOGRAPHY ROLES (ACCESSIBILITY)
   =============================== */

    /* Section labels (small uppercase) */
    .text-xs.uppercase {
      font-size: 0.75rem;
      /* ~13.5px at 18px root */
      letter-spacing: 0.12em;
    }

    /* Section titles */
    h2 {
      font-size: clamp(1.9rem, 3.5vw, 2.4rem);
      /* ~34–43px desktop */
      line-height: 1.25;
    }

    /* Card / subsection titles */
    h3 {
      font-size: 1.25rem;
      /* ~22–23px */
      line-height: 1.35;
    }

    /* Body paragraphs */
    p {
      font-size: 1rem;
      /* inherits 17–18px */
      line-height: 1.7;
    }

    /* Small meta text (dates, read time) */
    .text-sm {
      font-size: 0.9rem;
      /* ~15–16px */
    }

    button,
    input,
    select,
    textarea {
      font-size: 1rem;
      /* 17–18px */
    }

    /* ===============================
   SECTION HEADER — GLOBAL ACCENT
   =============================== */

    .section-head {
      position: relative;
      padding-left: 1.5rem;
      /* space for accent */
      border-left: 2px solid rgba(240, 90, 43, 0.7);
      /* camOrange */
    }

    /* ===============================
   SECTION HEADER — RESPONSIVE ACCENT
   =============================== */

    .section-head {
      position: relative;
      padding-left: 1.5rem;
      border-left: 2px solid rgba(240, 90, 43, 0.7);
    }

    /* Mobile refinement (NOT removal) */
    @media (max-width: 1023px) {
      .section-head {
        padding-left: 1rem;
        border-left-width: 3px;
        border-left-color: rgba(240, 90, 43, 0.55);
      }

      /* visually shorten the rule */
      .section-head::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0.35rem;
        height: 1.6rem;
        width: 3px;
        background: rgba(240, 90, 43, 0.65);
        border-radius: 2px;
      }

      /* remove full-height border, keep only the short accent */
      .section-head {
        border-left: 0;
      }
    }

    /* Mobile only */
    @media (max-width: 1023px) {
      .hero-slide>.hero-text {
        opacity: 0;
        transform: translateY(6px);
        transition: opacity .35s ease, transform .35s ease;
      }

      .hero-slide.is-active>.hero-text {
        opacity: 1;
        transform: translateY(0);
      }
    }

    @media (max-width: 1023px) {
      .hero-slide iframe {
        visibility: hidden;
      }

      .hero-slide.is-active iframe {
        visibility: visible;
      }
    }

    /* ===============================
   HERO — MOBILE (FINAL, CLEAN)
   =============================== */
@media (max-width: 1023px) {

  .hero-slide {
    opacity: 0;
    transition: opacity 0.45s ease;
  }

  .hero-slide.is-active {
    opacity: 1;
  }

  /* Prevent inactive videos from repainting */
  .hero-slide iframe {
    visibility: hidden;
  }

  .hero-slide.is-active iframe {
    visibility: visible;
  }

  /* Slide-scoped text */
  .hero-slide .hero-text {
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.35s ease, transform 0.35s ease;
  }

  .hero-slide.is-active .hero-text {
    opacity: 1;
    transform: translateY(0);
  }

}
/* Section depth without changing background */
.section-depth {
  position: relative;
}

.section-depth::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      to bottom,
      rgba(0,0,0,0.045),
      transparent 22%,
      transparent 78%,
      rgba(0,0,0,0.035)
    );
}


.section-surface {
  position: relative;
  z-index: 1;
}
.section-edge {
  border-top: 1px solid rgba(0,0,0,0.03);
  border-bottom: 1px solid rgba(0,0,0,0.03);
}
/* Reading surface */
.reading-surface {
  position: relative;
  z-index: 1;
}

.reading-surface::before {
  content: "";
  position: absolute;
  inset: -2rem -1.5rem;
  background:
    linear-gradient(
      to bottom,
      rgba(0,0,0,0.035),
      transparent 12%,
      transparent 88%,
      rgba(0,0,0,0.03)
    );
  border-radius: 2.5rem;
  pointer-events: none;
}
.article-body h2 {
  letter-spacing: -0.02em;
}

.article-body h3 {
  letter-spacing: -0.015em;
}
.article-body blockquote {
  position: relative;
}

.article-body blockquote::before {
  content: "—";
  position: absolute;
  left: 1rem;
  top: -1.5rem;
  font-size: 2rem;
  color: rgba(240,90,43,0.35);
}
.article-body p + p {
  margin-top: 1.75rem;
}
.article-body p + p {
  margin-top: 1.75rem;
}
.article-body blockquote {
  border-left: 4px solid var(--camOrange);
  background: rgba(248,250,252,.7);
}
.article-body blockquote p {
  margin: 0;
}
.article-body p em {
  font-style: italic;
  color: #475569;
}
/* NAVBAR ELEVATION */
.site-header {
  position: relative;
  z-index: 50;
  box-shadow:
    0 1px 0 rgba(15,23,42,0.04),
    0 12px 28px rgba(15,23,42,0.08);
}


/* ======================================================
   HERO TEXT SURFACE — AUTO APPLIED (NO MARKUP CHANGES)
   BBC / Economist safe
   ====================================================== */

/* MOBILE + DESKTOP text containers */
.hero-text > div,
.hero-content {
  position: relative;
  background: rgba(11, 15, 18, 0.42); /* camBlack glass */
  backdrop-filter: blur(2px);
  border-left: 4px solid rgba(240, 90, 43, 0.9); /* camOrange */
  box-shadow:
    0 1px 0 rgba(255,255,255,0.05),
    0 18px 45px rgba(0,0,0,0.22);
}

/* Slight lift only on active slide (editorial restraint) */
.hero-slide.is-active .hero-text > div,
.hero-slide.is-active .hero-content {
  box-shadow:
    0 1px 0 rgba(255,255,255,0.06),
    0 22px 55px rgba(0,0,0,0.28);
}/* ======================================================
   HERO COLOUR — SUBTLE BRAND TINT (AUTO)
   ====================================================== */

.overlay-default::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      to top,
      rgba(240,90,43,0.18),
      rgba(240,90,43,0.06),
      rgba(240,90,43,0)
    );
  mix-blend-mode: multiply;
}

