
  :root {
    --gold: #C9A84C;
    --gold-dim: #7A6128;
    --rust: #8B3A1A;
    --earth: #3D2B1A;
    --smoke: #1A1A1A;
    --ash: #111111;
    --text: #E8E0D0;
    --text-muted: #9A9080;
    --text-dim: #5A5248;
    --red-acid: #D44B2A;
    --green-dead: #4A5E3A;
    --border: rgba(201,168,76,0.15);
    --border-heavy: rgba(201,168,76,0.35);
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }

  html { scroll-behavior: smooth; }

  body {
    font-family: 'Source Sans 3', sans-serif;
    background: var(--ash);
    color: var(--text);
    font-size: 17px;
    line-height: 1.75;
    overflow-x: hidden;
  }

  /* NAV */
  nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: rgba(10,10,10,0.95);
    backdrop-filter: blur(8px);
    border-bottom: 0.5px solid var(--border-heavy);
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 56px;
  }

  .nav-brand {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 13px;
    letter-spacing: 0.15em;
    color: var(--gold);
    text-transform: uppercase;
  }

  .nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
  }

  .nav-links a {
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
  }

  .nav-links a:hover { color: var(--gold); }

  /* HERO */
  .hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 6rem 4rem 5rem;
    position: relative;
    background: var(--ash);
    overflow: hidden;
  }

  .hero-bg {
    position: absolute;
    inset: 0;
    background:
      radial-gradient(ellipse 60% 40% at 80% 20%, rgba(139,58,26,0.18) 0%, transparent 60%),
      radial-gradient(ellipse 40% 60% at 10% 80%, rgba(201,168,76,0.08) 0%, transparent 50%);
  }

  .hero-grid {
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(201,168,76,0.03) 1px, transparent 1px),
      linear-gradient(90deg, rgba(201,168,76,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
  }

  .hero-tag {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.2em;
    color: var(--red-acid);
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }

  .hero-tag::before {
    content: '';
    width: 32px;
    height: 1px;
    background: var(--red-acid);
  }

  h1.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3.5rem, 8vw, 7.5rem);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -0.02em;
    color: var(--text);
    max-width: 900px;
    margin-bottom: 0.3em;
  }

  h1.hero-title em {
    font-style: italic;
    color: var(--gold);
  }

  .hero-sub {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 560px;
    margin: 1.5rem 0 2.5rem;
    font-weight: 300;
    line-height: 1.6;
  }

  .hero-stats {
    display: flex;
    gap: 3rem;
    padding-top: 2rem;
    border-top: 0.5px solid var(--border);
    position: relative;
    z-index: 1;
  }

  .hero-stat-num {
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
  }

  .hero-stat-label {
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-top: 0.3rem;
    font-family: 'IBM Plex Mono', monospace;
  }

  .scroll-hint {
    position: absolute;
    bottom: 2rem;
    right: 4rem;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-dim);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }

  .scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: scrollLine 1.8s ease-in-out infinite;
  }

  @keyframes scrollLine { 0%,100%{opacity:0.3} 50%{opacity:1} }

  /* SECTIONS */
  section { padding: 6rem 4rem; max-width: 1200px; margin: 0 auto; }

  .section-full { padding: 5rem 4rem; background: var(--smoke); }
  .section-full > * { max-width: 1200px; margin: 0 auto; }

  .section-label {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }

  .section-label::before {
    content: '';
    width: 24px;
    height: 1px;
    background: var(--gold);
  }

  h2.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--text);
    margin-bottom: 1.5rem;
  }

  h2.section-title em { font-style: italic; color: var(--gold); }

  h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.75rem;
  }

  p { color: var(--text-muted); margin-bottom: 1.25rem; }
  p strong { color: var(--text); font-weight: 600; }

  /* DIVIDER */
  .divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border-heavy), transparent);
    margin: 0;
  }

  /* INTRO GRID */
  .intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
  }

  /* PULLQUOTE */
  .pullquote {
    border-left: 3px solid var(--gold);
    padding: 1.25rem 2rem;
    margin: 2.5rem 0;
    background: rgba(201,168,76,0.04);
  }

  .pullquote p {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-style: italic;
    color: var(--text);
    margin: 0 0 0.5rem;
    line-height: 1.5;
  }

  .pullquote cite {
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    font-family: 'IBM Plex Mono', monospace;
    font-style: normal;
  }

  /* PROCESS EXPLAINER */
  .process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border: 0.5px solid var(--border-heavy);
    margin: 3rem 0;
  }

  .process-step {
    padding: 2rem 1.5rem;
    border-right: 0.5px solid var(--border);
    position: relative;
  }

  .process-step:last-child { border-right: none; }

  .process-num {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    color: var(--gold);
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
  }

  .process-icon {
    font-size: 28px;
    color: var(--rust);
    margin-bottom: 0.75rem;
  }

  .process-step h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.5rem;
  }

  .process-step p {
    font-size: 13px;
    line-height: 1.6;
  }

  /* COMPANIES */
  .companies-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5px;
    background: var(--border);
    border: 0.5px solid var(--border-heavy);
    margin-top: 3rem;
  }

  .company-card {
    background: var(--smoke);
    padding: 2rem;
    position: relative;
  }

  .company-tag {
    display: inline-block;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 3px 10px;
    border: 0.5px solid var(--border-heavy);
    color: var(--gold);
    margin-bottom: 1rem;
  }

  .company-card h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }

  .company-location {
    font-size: 11px;
    font-family: 'IBM Plex Mono', monospace;
    color: var(--text-dim);
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
  }

  /* IMPACT CARDS */
  .impact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5px;
    background: var(--border);
    border: 0.5px solid var(--border-heavy);
    margin-top: 2.5rem;
  }

  .impact-card {
    background: var(--ash);
    padding: 1.75rem;
  }

  .impact-icon {
    font-size: 24px;
    margin-bottom: 1rem;
    color: var(--rust);
  }

  .impact-card h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.5rem;
    letter-spacing: 0.03em;
  }

  .impact-card p { font-size: 13px; line-height: 1.6; }

  /* DATA SECTION */
  .data-row {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: start;
    margin-bottom: 5rem;
  }

  .data-row.reverse { grid-template-columns: 1.5fr 1fr; }
  .data-row.reverse .data-text { order: 2; }
  .data-row.reverse .data-chart { order: 1; }

  .data-chart {
    background: var(--smoke);
    border: 0.5px solid var(--border);
    padding: 1.5rem;
  }

  .chart-label {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 1rem;
  }

  /* STAT BLOCKS */
  .stat-blocks {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border: 0.5px solid var(--border-heavy);
    margin: 3rem 0;
  }

  .stat-block {
    padding: 1.75rem 1.5rem;
    border-right: 0.5px solid var(--border);
    text-align: center;
  }

  .stat-block:last-child { border-right: none; }

  .stat-num {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 0.4rem;
  }

  .stat-unit {
    font-size: 1rem;
    color: var(--rust);
    font-family: 'IBM Plex Mono', monospace;
  }

  .stat-desc {
    font-size: 12px;
    color: var(--text-dim);
    letter-spacing: 0.05em;
    line-height: 1.4;
  }

  /* TIMELINE */
  .timeline { position: relative; padding-left: 2rem; }

  .timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, var(--gold-dim), transparent);
  }

  .timeline-item {
    position: relative;
    padding: 0 0 2.5rem 2.5rem;
  }

  .timeline-item::before {
    content: '';
    position: absolute;
    left: -4px;
    top: 0.35rem;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 3px var(--ash);
  }

  .timeline-year {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.15em;
    color: var(--gold);
    margin-bottom: 0.3rem;
  }

  .timeline-item h4 { font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 0.4rem; }
  .timeline-item p { font-size: 14px; line-height: 1.6; }

  /* RIVER MAP VISUAL */
  .map-container {
    background: var(--smoke);
    border: 0.5px solid var(--border-heavy);
    padding: 2rem;
    margin: 2.5rem 0;
    position: relative;
    overflow: hidden;
  }

  .map-label {
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
  }

  /* HEALTH TABLE */
  table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    font-size: 14px;
  }

  thead th {
    text-align: left;
    padding: 0.75rem 1rem;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    border-bottom: 0.5px solid var(--border-heavy);
  }

  tbody td {
    padding: 0.75rem 1rem;
    color: var(--text-muted);
    border-bottom: 0.5px solid var(--border);
    vertical-align: top;
  }

  tbody tr:hover td { background: rgba(201,168,76,0.03); }

  .badge {
    display: inline-block;
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 2px;
    font-family: 'IBM Plex Mono', monospace;
    letter-spacing: 0.1em;
  }

  .badge-danger { background: rgba(212,75,42,0.15); color: #D44B2A; }
  .badge-warn { background: rgba(201,168,76,0.15); color: var(--gold); }
  .badge-muted { background: rgba(90,82,72,0.3); color: var(--text-dim); }

  /* COMPARISON CASES */
  .cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5px;
    background: var(--border);
    border: 0.5px solid var(--border-heavy);
    margin-top: 2.5rem;
  }

  .case-card {
    background: var(--ash);
    padding: 2rem;
  }

  .case-flag {
    font-size: 28px;
    margin-bottom: 0.75rem;
  }

  .case-card h4 { font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 0.25rem; }

  .case-year {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    color: var(--text-dim);
    margin-bottom: 0.75rem;
  }

  .case-deaths {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--rust);
    line-height: 1;
    margin-bottom: 0.25rem;
  }

  /* LINKS */
  .source-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 2rem;
  }

  .source-link {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    background: var(--smoke);
    border: 0.5px solid var(--border);
    text-decoration: none;
    transition: border-color 0.2s;
  }

  .source-link:hover { border-color: var(--border-heavy); }

  .source-link i { color: var(--gold); margin-top: 2px; flex-shrink: 0; }

  .source-title {
    font-size: 14px;
    color: var(--text);
    display: block;
    margin-bottom: 0.2rem;
    font-weight: 600;
  }

  .source-origin {
    font-size: 12px;
    color: var(--text-dim);
    font-family: 'IBM Plex Mono', monospace;
  }

  /* CONCLUSIONS */
  .conclusion-points {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5px;
    background: var(--border);
    border: 0.5px solid var(--border-heavy);
    margin: 3rem 0;
  }

  .conclusion-point {
    background: var(--smoke);
    padding: 2rem;
  }

  .conclusion-num {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 900;
    color: rgba(201,168,76,0.12);
    line-height: 1;
    margin-bottom: 0.5rem;
  }

  .conclusion-point h4 { font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 0.5rem; }
  .conclusion-point p { font-size: 14px; line-height: 1.65; }

  /* FOOTER */
  footer {
    background: #0A0A0A;
    border-top: 0.5px solid var(--border-heavy);
    padding: 3rem 4rem;
    max-width: 100%;
  }

  .footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3rem;
  }

  .footer-brand {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.75rem;
  }

  .footer-desc { font-size: 13px; color: var(--text-dim); line-height: 1.6; }

  .footer-links h5 {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 1rem;
  }

  .footer-links ul { list-style: none; }
  .footer-links li { margin-bottom: 0.5rem; }

  .footer-links a {
    font-size: 13px;
    color: var(--text-dim);
    text-decoration: none;
    transition: color 0.2s;
  }

  .footer-links a:hover { color: var(--gold); }

  .footer-bottom {
    max-width: 1200px;
    margin: 2rem auto 0;
    padding-top: 1.5rem;
    border-top: 0.5px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .footer-bottom p { font-size: 12px; color: var(--text-dim); margin: 0; }

  /* WARNING BANNER */
  .warning-banner {
    background: rgba(139,58,26,0.12);
    border: 0.5px solid rgba(139,58,26,0.4);
    padding: 1rem 1.5rem;
    margin: 2rem 0;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
  }

  .warning-banner i { color: var(--rust); flex-shrink: 0; margin-top: 2px; }
  .warning-banner p { color: var(--text-muted); font-size: 14px; margin: 0; }

  /* CYANIDE EXPLAINER */
  .chemical-boxes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    border: 0.5px solid var(--border-heavy);
    margin: 2rem 0;
  }

  .chemical-box {
    background: var(--ash);
    padding: 1.5rem;
    text-align: center;
  }

  .chemical-formula {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 1.4rem;
    color: var(--red-acid);
    margin-bottom: 0.5rem;
  }

  .chemical-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.3rem;
  }

  .chemical-effect { font-size: 12px; color: var(--text-dim); }

  /* GALLERY — SVG infographic cards */
  .gcard {
    position: relative;
    overflow: hidden;
    display: block;
    background: #0d0d0d;
    text-decoration: none;
    cursor: pointer;
    transition: outline 0.2s;
    outline: 1px solid rgba(201,168,76,0.08);
  }

  .gcard:hover { outline-color: rgba(201,168,76,0.35); }

  .gcard svg { transition: opacity 0.35s; }
  .gcard:hover svg { opacity: 0.7; }

  .govl {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 1.1rem 1.1rem 0.9rem;
    background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.6) 65%, transparent 100%);
    transform: translateY(calc(100% - 52px));
    transition: transform 0.35s ease;
  }

  .gcard:hover .govl { transform: translateY(0); }

  .gtag {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.4rem;
  }

  .gcap {
    font-size: 12px;
    color: rgba(232,224,208,0.82);
    line-height: 1.55;
    margin-bottom: 0.5rem;
  }

  .gsrc {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    color: rgba(201,168,76,0.55);
    letter-spacing: 0.05em;
  }

  /* San Juan protest panels */
  .sj-protest-panel {
    position: relative;
    overflow: hidden;
    background: #0d0d0d;
    min-height: 240px;
    border: 0.5px solid rgba(212,75,42,0.2);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.25rem;
  }

  /* RESPONSIVE */
  @media (max-width: 900px) {
    nav { padding: 0 1.5rem; }
    .nav-links { display: none; }
    section, .section-full { padding: 4rem 1.5rem; }
    .hero { padding: 5rem 1.5rem 3rem; }
    .intro-grid, .data-row, .data-row.reverse { grid-template-columns: 1fr; gap: 2rem; }
    .process-steps { grid-template-columns: 1fr 1fr; }
    .companies-grid, .impact-grid, .cases-grid, .conclusion-points { grid-template-columns: 1fr; }
    .stat-blocks { grid-template-columns: repeat(2, 1fr); }
    .hero-stats { flex-wrap: wrap; gap: 1.5rem; }
    h1.hero-title { font-size: 3rem; }
    .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  }

  /* ANIMATE IN */
  .fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }

  .fade-in.visible { opacity: 1; transform: translateY(0); }



/* =========================================================
   RESPONSIVE SYSTEM
   TIERRA HERIDA
========================================================= */


/* =========================================================
   LARGE LAPTOPS
========================================================= */
@media (max-width: 1400px) {

  .hero {
    padding: 6rem 3rem 4rem;
  }

  section,
  .section-full {
    padding-left: 3rem;
    padding-right: 3rem;
  }

  .hero-stats {
    gap: 2rem;
  }

}


/* =========================================================
   LAPTOP / SMALL DESKTOP
========================================================= */
@media (max-width: 1200px) {

  .hero {
    padding: 6rem 2.5rem 4rem;
  }

  section,
  .section-full {
    padding: 5rem 2.5rem;
  }

  .intro-grid,
  .data-row,
  .data-row.reverse {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .data-row.reverse .data-text,
  .data-row.reverse .data-chart {
    order: unset;
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-step:nth-child(2) {
    border-right: none;
  }

  .impact-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-blocks {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-block:nth-child(2) {
    border-right: none;
  }

  .companies-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 1.5rem;
  }

}


/* =========================================================
   TABLETS
========================================================= */
@media (max-width: 992px) {

  nav {
    padding: 0 1.5rem;
  }

  .nav-links {
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .nav-links a {
    font-size: 10px;
  }

  .hero {
    min-height: auto;
    padding: 7rem 1.8rem 4rem;
  }

  .hero-sub {
    max-width: 100%;
    font-size: 1rem;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .scroll-hint {
    right: 1.5rem;
  }

  section,
  .section-full {
    padding: 4rem 1.8rem;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .process-step {
    border-right: none;
    border-bottom: 0.5px solid var(--border);
  }

  .process-step:last-child {
    border-bottom: none;
  }

  .impact-grid {
    grid-template-columns: 1fr;
  }

  .chemical-boxes {
    grid-template-columns: 1fr;
  }

  .cases-grid {
    grid-template-columns: 1fr;
  }

  .timeline {
    padding-left: 1.5rem;
  }

  .timeline-item {
    padding-left: 2rem;
  }

  table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .data-chart {
    overflow-x: auto;
  }

}


/* =========================================================
   MOBILE
========================================================= */
@media (max-width: 768px) {

  body {
    font-size: 15px;
    line-height: 1.7;
  }

  nav {
    height: auto;
    padding: 1rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .nav-brand {
    font-size: 12px;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
    gap: 0.75rem;
  }

  .nav-links li {
    flex: 0 0 auto;
  }

  .hero {
    padding: 9rem 1.2rem 3rem;
  }

  h1.hero-title {
    line-height: 1;
  }

  .hero-tag {
    font-size: 9px;
    letter-spacing: 0.12em;
    flex-wrap: wrap;
  }

  .hero-sub {
    font-size: 0.95rem;
    margin: 1rem 0 2rem;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .hero-stat-num {
    font-size: 2rem;
  }

  .scroll-hint {
    display: none;
  }

  section,
  .section-full {
    padding: 3.5rem 1.2rem;
  }

  h2.section-title {
    line-height: 1.15;
  }

  .pullquote {
    padding: 1rem 1.2rem;
  }

  .pullquote p {
    font-size: 1.05rem;
  }

  .company-card,
  .impact-card,
  .process-step,
  .data-chart {
    padding: 1.25rem;
  }

  .stat-blocks {
    grid-template-columns: 1fr;
  }

  .stat-block {
    border-right: none;
    border-bottom: 0.5px solid var(--border);
  }

  .stat-block:last-child {
    border-bottom: none;
  }

  .stat-num {
    font-size: 1.8rem;
  }

  .timeline-item {
    padding-bottom: 2rem;
  }

  .timeline-item h4 {
    font-size: 14px;
  }

  .timeline-item p {
    font-size: 13px;
  }

  .warning-banner {
    padding: 1rem;
  }

  .chart-label {
    line-height: 1.6;
  }

  canvas {
    max-width: 100% !important;
  }

  iframe,
  img,
  svg,
  video {
    max-width: 100%;
    height: auto;
  }

}


/* =========================================================
   SMALL PHONES
========================================================= */
@media (max-width: 480px) {

  .hero {
    padding-top: 10rem;
  }

  h1.hero-title {
    font-size: 3rem;
  }

  .hero-sub {
    font-size: 0.9rem;
  }

  .hero-stat-num {
    font-size: 1.7rem;
  }

  .section-label {
    font-size: 8px;
    letter-spacing: 0.18em;
  }

  h2.section-title {
    font-size: 2rem;
  }

  p {
    font-size: 14px;
  }

  .pullquote p {
    font-size: 0.95rem;
  }

  .company-card h3 {
    font-size: 1rem;
  }

  .impact-card h4 {
    font-size: 13px;
  }

  .timeline {
    padding-left: 1rem;
  }

  .timeline-item {
    padding-left: 1.5rem;
  }

  .timeline-item::before {
    width: 6px;
    height: 6px;
    left: -3px;
  }

  .nav-links {
    gap: 0.5rem;
  }

  .nav-links a {
    font-size: 9px;
  }

}


/* =========================================================
   GLOBAL FIXES
========================================================= */

img,
svg,
video,
canvas {
  max-width: 100%;
}

* {
  word-wrap: break-word;
}

html,
body {
  overflow-x: hidden;
}


/* =========================================================
   MOBILE MENU
========================================================= */

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: var(--gold);
  transition: 0.35s ease;
}

@media (max-width: 768px) {

  nav {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    inset: 0;
    background:
      linear-gradient(
        180deg,
        rgba(10,10,10,0.98),
        rgba(17,17,17,0.98)
      );

    backdrop-filter: blur(12px);

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    gap: 1.5rem;

    transform: translateY(-100%);
    transition: transform 0.4s ease;

    z-index: 1000;
  }

  .nav-links.active {
    transform: translateY(0);
  }

  .nav-links a {
    font-size: 14px;
    letter-spacing: 0.18em;
    color: var(--text);
  }

  .nav-links a:hover {
    color: var(--gold);
  }

  .menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  body.menu-open {
    overflow: hidden;
  }

}

