/* ============================================================
   the-issues.css — rules specific to the-issues.html.
   Loaded after css/styles.css, which holds the shared base.
   ============================================================ */

/* Header - floating rounded */
  .site-header {
    position: fixed; top: 14px;
    left: clamp(14px, 2vw, 28px); right: clamp(14px, 2vw, 28px);
    z-index: 100; padding: 8px clamp(18px, 2vw, 28px);
    background: rgba(250, 244, 232, 0.96);
    backdrop-filter: saturate(180%) blur(14px);
    border-radius: var(--radius-pill);
    box-shadow:
      0 1px 0 rgba(255,255,255,0.95),
      0 3px 0 rgba(31,143,62,0.85),
      0 5px 0 rgba(215,46,31,0.45),
      0 8px 14px rgba(26,20,16,0.06);
  }

@media (max-width: 980px) {
    .nav-links, .nav-actions .btn-outline { display: none; }
    .nav-toggle { display: inline-flex; }
    .mobile-open .nav-links {
      display: flex; flex-direction: column;
      position: absolute; top: 100%; left: 0; right: 0;
      background: var(--c-cream); padding: 20px; gap: 14px;
      border-radius: 20px; margin-top: 12px;
      box-shadow: 0 16px 36px rgba(26,20,16,0.12);
    }
  }

/* Page hero - light breadcrumb banner with image */
  .page-hero {
    position: relative;
    padding: clamp(140px, 18vw, 220px) 0 clamp(70px, 9vw, 110px);
    overflow: hidden;
    background:
      linear-gradient(135deg, rgba(247,243,236,0.86) 0%, rgba(237,226,199,0.82) 100%),
      url('../img/Advocacy.jpg') center/cover;
    color: var(--c-ink);
    border-bottom: 1px solid var(--c-line);
  }

.page-hero::before {
    content: ""; position: absolute;
    top: -120px; right: -80px;
    width: 360px; height: 360px; border-radius: 50%;
    background: radial-gradient(circle, rgba(215,46,31,0.18), transparent 65%);
    pointer-events: none;
  }

.page-hero .eyebrow { color: var(--c-red); }

.page-hero .eyebrow::before { background: var(--c-red); }

.page-hero h1 { color: var(--c-ink); margin-bottom: 22px; max-width: 18ch; }

/* Big stat cards */
  .stats { background: var(--c-green); color: #fff; overflow: hidden; position: relative; }

.stats::before {
    content: ""; position: absolute;
    top: -100px; left: -80px;
    width: 380px; height: 380px; border-radius: 50%;
    background: radial-gradient(circle, rgba(87,184,112,0.45), transparent 65%);
    pointer-events: none;
  }

.stats .container { position: relative; }

/* Cards on the left, rally video filling the green space on the right. The
   heading spans the full width above so both sides stay the same height. */
.stats-layout {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(28px, 3.5vw, 50px);
    align-items: center;
  }

.stats-video { min-width: 0; }

.video-frame {
    position: relative;
    aspect-ratio: 16/9;
    width: 100%;
    border-radius: var(--radius-md);
    overflow: hidden;
    /* Poster frame sits behind the player so the card never reads as a blank
       black box while the embed loads. */
    background: #000 url('../img/rally-video-poster.jpg') center/cover no-repeat;
    box-shadow: 0 20px 44px rgba(0,0,0,0.28);
  }

.video-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
  }

/* The poster doubles as the play button until the player is loaded */
.video-frame[data-video] {
    display: block;
    padding: 0;
    border: 0;
    cursor: pointer;
    transition: transform var(--t-med), box-shadow var(--t-med);
  }

.video-frame[data-video]:hover { transform: translateY(-3px); box-shadow: 0 26px 52px rgba(0,0,0,0.34); }

.video-frame .play {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 68px; height: 68px;
    border-radius: 50%;
    background: rgba(215,46,31,0.92);
    display: grid; place-items: center;
    box-shadow: 0 10px 26px rgba(0,0,0,0.4);
    transition: transform var(--t-fast), background var(--t-fast);
  }

.video-frame .play svg { margin-left: 4px; }

.video-frame:hover .play { background: var(--c-red); transform: translate(-50%, -50%) scale(1.08); }

.video-frame.playing { transform: none; }

.video-cap {
    margin: 14px 0 0;
    font-size: 0.86rem;
    color: rgba(255,255,255,0.85);
  }

@media (max-width: 980px) {
    .stats-layout { grid-template-columns: 1fr; }
  }

.stats .head { max-width: 720px; margin-bottom: 40px; }

.stats .head h2 { color: #fff; }

.stats .head p { color: rgba(255,255,255,0.88); }

.stats .eyebrow { color: #fff; }

.stats .eyebrow::before { background: #fff; }

.stat-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px;
  }

.stat-card {
    background: var(--c-paper); color: var(--c-ink);
    border-radius: var(--radius-md); padding: 40px 30px;
    box-shadow: 0 12px 28px rgba(0,0,0,0.10);
    transition: all var(--t-med);
  }

.stat-card:hover { background: #fff; transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,0,0,0.18); }

.stat-card .num {
    font-family: 'Fraunces', serif;
    font-size: clamp(3rem, 5vw, 4.2rem);
    font-weight: 800; color: var(--c-red);
    line-height: 1; display: block;
    margin-bottom: 22px; letter-spacing: -0.02em;
  }

.stat-card h3 { color: var(--c-ink); }

.stat-card p { color: var(--c-ink-soft); font-size: 0.94rem; margin: 0; }

.stat-card .src {
    margin-top: 16px; font-size: 0.75rem; letter-spacing: 0.08em;
    text-transform: uppercase; color: var(--c-muted); font-weight: 600;
  }

@media (max-width: 900px) { .stat-grid { grid-template-columns: 1fr; } }

/* Issues detail list */
  .issues-section { background: var(--c-cream); }

.issues-head { max-width: 760px; margin-bottom: 60px; }

.issues-head h2 em { color: var(--c-red); font-style: italic; }

/* Photo beside the copy, alternating sides so the list doesn't read as one
   long wall of text. */
.issue {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: clamp(26px, 3.5vw, 52px);
    align-items: center;
    padding: 44px 0;
    border-top: 1px solid var(--c-line);
  }

.issue:last-child { border-bottom: 1px solid var(--c-line); }

.issue .photo {
    aspect-ratio: 4/3;
    border-radius: var(--radius-md);
    background-size: cover;
    background-position: center;
    box-shadow: 0 14px 32px rgba(26,20,16,0.14);
  }

/* Swapping sides also swaps the track widths, so the photo keeps one size */
.issue:nth-of-type(even) { grid-template-columns: 1.2fr 0.8fr; }

.issue:nth-of-type(even) .photo { order: 2; }

.issue h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); margin-bottom: 14px; }

.issue p { font-size: 1rem; max-width: 60ch; margin: 0 0 12px; }

@media (max-width: 820px) {
    .issue,
    .issue:nth-of-type(even) { grid-template-columns: 1fr; gap: 22px; }
    .issue:nth-of-type(even) .photo { order: 0; }
    .issue .photo { aspect-ratio: 16/9; }
  }

/* Pull quote section */
  .quote-block {
    background: var(--c-ink); color: #fff;
    text-align: center;
  }

.quote-block .inner { max-width: 980px; margin: 0 auto; }

.quote-block .mark {
    font-family: 'Fraunces', serif;
    font-size: 5rem; line-height: 0.4;
    color: var(--c-green-soft);
    display: block; margin-bottom: 20px;
  }

.quote-block blockquote {
    font-family: 'Fraunces', serif;
    font-style: italic;
    font-size: clamp(1.5rem, 3vw, 2.6rem);
    line-height: 1.25; color: #fff;
    margin: 0 0 30px;
  }

.quote-block .by {
    font-size: 0.82rem; letter-spacing: 0.2em;
    text-transform: uppercase; color: rgba(255,255,255,0.7);
    font-weight: 600;
  }

.quote-block .by strong { color: var(--c-green-soft); font-weight: 700; }

/* What we do */
  .what {
    background: var(--c-paper-deep);
  }

.what .head { text-align: center; max-width: 720px; margin: 0 auto 50px; }

.what .head .eyebrow { justify-content: center; }

.what-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
  }

.what-card {
    background: #fff; padding: 32px 28px;
    border-radius: var(--radius-md);
    border: 1px solid var(--c-line);
    transition: all var(--t-med);
    display: flex; flex-direction: column;
  }

.what-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(26,20,16,0.12); border-color: var(--c-green); }

.what-card .ico {
    width: 50px; height: 50px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--c-green), var(--c-green-soft));
    color: #fff; display: grid; place-items: center;
    margin-bottom: 18px;
  }

.what-card:nth-child(2) .ico { background: linear-gradient(135deg, var(--c-red), var(--c-coral)); }

.what-card h3 { font-size: 1.18rem; margin-bottom: 10px; }

.what-card p { font-size: 0.93rem; margin: 0 0 16px; }

.what-card .more {
    margin-top: auto; font-weight: 600;
    color: var(--c-red); display: inline-flex;
    align-items: center; gap: 6px; font-size: 0.86rem;
  }

@media (max-width: 900px) { .what-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .what-grid { grid-template-columns: 1fr; } }

/* CTA */
  .cta-banner {
    background: linear-gradient(135deg, var(--c-red-deep) 0%, var(--c-red) 100%);
    color: #fff; text-align: center;
  }

.cta-banner h2 { color: #fff; margin-bottom: 20px; max-width: 22ch; margin-left: auto; margin-right: auto; }

.cta-banner p { color: rgba(255,255,255,0.92); font-size: 1.08rem; max-width: 56ch; margin: 0 auto 30px; }

.cta-banner .btn-outline { color: #fff; border-color: rgba(255,255,255,0.5); }

.cta-banner .btn-outline:hover { background: #fff; color: var(--c-red-deep); }

.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

.cta-banner .btn-primary { background: #fff; color: var(--c-red-deep); }

.cta-banner .btn-primary:hover { background: var(--c-ink); color: #fff; }
