/* =========================================================
   DECARBONISING ACROSS THE VALUE CHAIN
   css/decarbonising-across-the-value-chain.css
   ========================================================= */

/* ── Page-level tokens ── */
:root {
  --vatc-s1:       #2a357e;
  --vatc-s1-light: #eceef8;
  --vatc-s2:       #dc4e28;
  --vatc-s2-light: #fdf0ec;
  --vatc-s3:       #005250;
  --vatc-s3-light: #e6f3f2;
  --vatc-s3-mid:   #00706d;
}

/* ═══════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════ */
.vatc-hero {
  background: var(--bg);
  padding: 60px 0 0;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.vatc-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  min-height: 380px;
}

.vatc-hero-left {
  padding: 0 56px 48px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.vatc-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted, #6b7280);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.vatc-hero-eyebrow .sep {
  display: inline-block;
  width: 1px;
  height: 12px;
  background: currentColor;
  opacity: 0.35;
}

.vatc-hero h1 {
  font-size: clamp(32px, 4.6vw, 64px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.03;
  color: var(--text);
  margin: 0 0 26px;
}

.vatc-hero-lead {
  font-size: clamp(13px, 1.15vw, 15.5px);
  font-weight: 300;
  line-height: 1.72;
  color: var(--text);
  opacity: 0.85;
  max-width: 540px;
  margin: 0;
}

.vatc-hero-right {
  overflow: hidden;
}
.vatc-hero-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ═══════════════════════════════════════════════
   SCOPE GRID WRAPPER
═══════════════════════════════════════════════ */
.vatc-scopes {
  padding: 0 0 80px;
  background: var(--bg);
}

.vatc-scope-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.12fr 1.42fr;
  align-items: stretch;
  border: 1px solid var(--border);
  border-top: none;
}

/* ─────────────────────────────────────
   INDIVIDUAL SCOPE COLUMN
───────────────────────────────────── */
.vatc-scope-col {
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--border);
}
.vatc-scope-col:last-child {
  border-right: none;
}

/* ── Colored scope headers ── */
.vatc-scope-header {
  padding: 11px 15px 11px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.vatc-s1-head { background: var(--vatc-s1); }
.vatc-s2-head { background: var(--vatc-s2); }
.vatc-s3-head { background: var(--vatc-s3); }
.vatc-s3r-head {
  background: var(--vatc-s3);
  gap: 0;
  justify-content: space-between;
  align-items: center;
}

.vatc-scope-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.vatc-scope-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.9);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
}

.vatc-s3r-title {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.01em;
  line-height: 1.3;
  flex: 1;
  padding-left: 10px;
}

/* ── Scope body ── */
.vatc-scope-body {
  padding: 16px 15px 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #ebf6f4;
}

.vatc-scope-body h3 {
  font-size: 14.5px;
  font-weight: 700;
  color: #000;
  margin: 0 0 10px;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.vatc-scope-desc {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.65;
  color: #000;
  /* opacity: 0.82; */
  margin: 0 0 14px;
}

.vatc-ghg-unit {
  font-size: 11px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 8px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 2px;
}

/* ─────────────────────────────────────
   GHG ITEM LIST
───────────────────────────────────── */
.vatc-ghg-list {
  list-style: none;
  padding: 0;
  margin: 0 0 auto;
}

.vatc-ghg-item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 7px;
  align-items: start;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.vatc-ghg-item:last-child {
  border-bottom: none;
}

.vatc-ghg-icon {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.vatc-ghg-icon svg {
  display: block;
}

/* Scope-specific icon colors */
.vatc-s1-col .vatc-ghg-icon svg { stroke: var(--vatc-s1); }
.vatc-s2-col .vatc-ghg-icon svg { stroke: var(--vatc-s2); }
.vatc-s3c-col .vatc-ghg-icon svg { stroke: var(--vatc-s3); }

.vatc-ghg-val {
  font-size: 14px;
  font-weight: 700;
  color: #000;
  line-height: 1.2;
  display: block;
  letter-spacing: -0.01em;
}

.vatc-ghg-desc {
  font-size: 11.5px;
  font-weight: 400;
  color: #000;
  /* opacity: 0.72; */
  line-height: 1.45;
  display: block;
  margin-top: 2px;
}

/* ─────────────────────────────────────
   GHG TOTALS
───────────────────────────────────── */
.vatc-ghg-total {
  margin-top: 14px;
  padding: 12px 0 16px;
  border-top: 2px solid var(--border);
}

.vatc-s1-col .vatc-ghg-total { border-top-color: var(--vatc-s1); }
.vatc-s2-col .vatc-ghg-total { border-top-color: var(--vatc-s2); }
.vatc-s3c-col .vatc-ghg-total { border-top-color: var(--vatc-s3); }

.vatc-total-num {
  display: block;
  font-size: clamp(15px, 1.5vw, 19px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1;
  margin-bottom: 5px;
}
.vatc-s1-col .vatc-total-num { color: var(--vatc-s1); }
.vatc-s2-col .vatc-total-num { color: var(--vatc-s2); }
.vatc-s3c-col .vatc-total-num { color: var(--vatc-s3); }

.vatc-total-lbl {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: #000;
  opacity: 0.7;
  line-height: 1.5;
}

/* ─────────────────────────────────────
   SCOPE 3 CATEGORIES — label
───────────────────────────────────── */
.vatc-cat-lbl {
  display: block;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  opacity: 0.45;
  margin: 4px 0 8px;
}

/* ─────────────────────────────────────
   SCOPE 3 REDUCING — stakeholder cards
───────────────────────────────────── */
.vatc-reducing-body {
  padding: 14px 15px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background-color: #ebf6f4;
  flex: 1;
}

.vatc-rcard {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 12px;
  align-items: start;
  background: #ffffff;
  border: 1px solid var(--border);
  padding: 12px;
}

.vatc-rcard-icon {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.vatc-rcard-icon img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  display: block;
}

.vatc-rcard-content h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 7px;
  letter-spacing: -0.01em;
}

.vatc-rcard-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.vatc-rcard-content ul li {
  font-size: 12px;
  font-weight: 300;
  color: var(--text);
  line-height: 1.5;
  padding-left: 13px;
  position: relative;
  margin-bottom: 3px;
}
.vatc-rcard-content ul li:last-child { margin-bottom: 0; }

.vatc-rcard-content ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--vatc-s3);
  font-size: 10px;
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════
   DARK MODE
═══════════════════════════════════════════════ */
html[data-theme='dark'] .vatc-hero {
  border-bottom-color: var(--border);
}

html[data-theme='dark'] .vatc-rcard {
  background: var(--surface-2);
  border-color: var(--border);
}

html[data-theme='dark'] .vatc-s1-head { background: var(--vatc-s1); }
html[data-theme='dark'] .vatc-s2-head { background: var(--vatc-s2); }
html[data-theme='dark'] .vatc-s3-head,
html[data-theme='dark'] .vatc-s3r-head { background: var(--vatc-s3); }

html[data-theme='dark'] .vatc-scope-col {
  border-right-color: var(--border);
}
html[data-theme='dark'] .vatc-scope-grid {
  border-color: var(--border);
}

html[data-theme='dark'] .vatc-ghg-unit {
  border-top-color: var(--border);
  border-bottom-color: var(--border);
}

html[data-theme='dark'] .vatc-rcard-content ul li::before {
  color: #41e995;
}

html[data-theme='dark'] .vatc-s1-col .vatc-ghg-icon svg { stroke: #8898cc; }
html[data-theme='dark'] .vatc-s2-col .vatc-ghg-icon svg { stroke: #f0836a; }
html[data-theme='dark'] .vatc-s3c-col .vatc-ghg-icon svg { stroke: #41e995; }
html[data-theme='dark'] .vatc-s1-col .vatc-total-num { color: #8898cc; }
html[data-theme='dark'] .vatc-s2-col .vatc-total-num { color: #f0836a; }
html[data-theme='dark'] .vatc-s3c-col .vatc-total-num { color: #41e995; }
html[data-theme='dark'] .vatc-s1-col .vatc-ghg-total { border-top-color: #8898cc; }
html[data-theme='dark'] .vatc-s2-col .vatc-ghg-total { border-top-color: #f0836a; }
html[data-theme='dark'] .vatc-s3c-col .vatc-ghg-total { border-top-color: #41e995; }

/* ═══════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════ */

/* 1280–1100: tighten hero text */
@media (max-width: 1100px) {
  .vatc-hero-left { padding-right: 40px; }
}

/* 1024: hero stacks */
@media (max-width: 1024px) {
  .vatc-hero-grid {
    grid-template-columns: 1fr;
  }
  .vatc-hero-left {
    padding: 0 0 36px;
  }
  .vatc-hero-right {
    height: 300px;
  }

  /* 2×2 scope grid */
  .vatc-scope-grid {
    grid-template-columns: 1fr 1fr;
  }
  .vatc-scope-col:nth-child(2) { border-right: none; }
  .vatc-scope-col:nth-child(1),
  .vatc-scope-col:nth-child(2) {
    border-bottom: 1px solid var(--border);
  }
}

/* 700: full-width scopes */
@media (max-width: 700px) {
  .vatc-hero { padding: 48px 0 0; }
  .vatc-hero-right { height: 220px; }

  .vatc-scope-grid {
    grid-template-columns: 1fr;
  }
  .vatc-scope-col {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .vatc-scope-col:last-child { border-bottom: none; }

  .vatc-ghg-val { font-size: 13px; }
  .vatc-total-num { font-size: 16px; }
}

@media (max-width: 480px) {
  .vatc-hero h1 { font-size: 30px; }
  .vatc-scopes { padding-bottom: 48px; }
}
