/* ESG reporting page */

.esg-wrap {
  max-width: 1180px;
  margin: 0 auto;
}

.esg-section {
  background: var(--color-white);
  padding: var(--space-section-md) 0;
}

.esg-section-tint {
  background: var(--color-cream);
}

.esg-section-narrow .container {
  max-width: 900px;
}

.esg-intro {
  max-width: 720px;
}

.esg-intro h2 {
  margin-top: 16px;
  color: var(--color-ink);
}

.esg-intro-lead {
  margin-top: 20px;
  font-family: var(--font-serif);
  font-size: var(--text-lg);
  line-height: 1.75;
  color: var(--color-muted);
}

/* ---------- hero ---------- */

.esg-hero {
  position: relative;
  min-height: 82svh;
  display: flex;
  align-items: center;
  background: var(--color-ink);
}

.esg-hero-inner {
  padding: 140px var(--gutter) 96px;
}

/* 1100 to match the other heroes — see the note on .pp-hero-content. */
.esg-hero-content {
  max-width: 1100px;
}

.esg-hero-content h1 {
  color: var(--color-white);
}

.esg-highlight {
  color: var(--color-accent);
}

.esg-hero-lead {
  margin-top: 26px;
  font-family: var(--font-serif);
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
  max-width: 620px;
}

.esg-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 38px;
}

.esg-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  margin-top: 52px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.esg-stat-num {
  font-size: 1.6875rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--color-accent);
}

.esg-stat-label {
  margin-top: 7px;
  font-size: 0.71875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- what you get ---------- */

.esg-metric-grid {
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.esg-metric-card {
  padding-bottom: 32px;
}

.esg-metric-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--color-accent-tint-bg);
  color: var(--color-accent-text);
  font-size: 1.1875rem;
  font-weight: 900;
  line-height: 1;
}

.esg-metric-card h3 {
  margin-top: 20px;
  font-size: var(--text-md);
  letter-spacing: -0.02em;
}

.esg-metric-card p {
  margin-top: 11px;
  font-family: var(--font-serif);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--color-muted);
}

/* ---------- sample output ---------- */

.esg-sample-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}

.esg-format-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.esg-format-pill {
  display: inline-block;
  background: var(--color-white);
  border: 1px solid rgba(51, 51, 51, 0.1);
  border-radius: var(--radius-pill);
  padding: 9px 18px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-ink);
}

.esg-sample-note {
  margin-top: 22px;
  font-size: var(--text-sm);
  line-height: 1.7;
  color: var(--color-muted);
}

/* ---------- dashboard mock ---------- */

.esg-dashboard {
  background: #2a2a2a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-lg);
}

.esg-dashboard-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.esg-dashboard-label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.125em;
  color: rgba(255, 255, 255, 0.42);
}

.esg-dashboard-badge {
  font-size: 0.65625rem;
  font-weight: 700;
  color: var(--color-accent);
  border: 1px solid rgba(131, 195, 64, 0.4);
  border-radius: var(--radius-pill);
  padding: 4px 11px;
}

.esg-dashboard-main {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.esg-donut {
  flex: none;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  /* 94% of 360deg — this is a fixed illustration, not a computed chart. */
  background: conic-gradient(var(--color-accent) 338deg, rgba(255, 255, 255, 0.09) 0deg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.esg-donut-inner {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #2a2a2a;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.esg-donut-value {
  font-size: 1.6875rem;
  font-weight: 900;
  color: var(--color-white);
  line-height: 1;
}

.esg-donut-label {
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 6px;
}

.esg-figures {
  flex: 1 1 0%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 160px;
}

.esg-figure-num {
  font-size: 1.1875rem;
  font-weight: 900;
  color: var(--color-accent);
  line-height: 1;
}

.esg-figure-label {
  font-size: 0.65625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.0875em;
  color: rgba(255, 255, 255, 0.42);
  margin-top: 5px;
}

.esg-bars {
  display: flex;
  align-items: flex-end;
  gap: 7px;
  height: 62px;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.esg-bar {
  flex: 1 1 0%;
  border-radius: 4px 4px 0 0;
  background: var(--color-accent);
}

/* Fixed sample heights — same reasoning as the donut above. */
.esg-bar-1 { height: 44%; background: rgba(131, 195, 64, 0.55); }
.esg-bar-2 { height: 68%; background: rgba(131, 195, 64, 0.65); }
.esg-bar-3 { height: 52%; background: rgba(131, 195, 64, 0.75); }
.esg-bar-4 { height: 86%; background: rgba(131, 195, 64, 0.85); }
.esg-bar-5 { height: 100%; }

/* ---------- methodology ---------- */

/* Six cards, so the columns are explicit — auto-fit was fitting four and
   leaving the last two on a row of their own. */
.esg-framework-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 480px) {
  .esg-framework-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .esg-framework-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.esg-framework-card {
  text-align: center;
}

.esg-framework-name {
  font-size: 1rem;
  font-weight: 900;
  color: var(--color-ink);
}

.esg-framework-detail {
  margin-top: 8px;
  font-size: 0.8125rem;
  color: var(--color-muted);
  line-height: 1.5;
}

/* ---------- tree callout band ---------- */

.esg-tree-band {
  background: var(--color-accent-soft);
  padding: clamp(60px, 9vh, 100px) 0;
}

.esg-tree-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.esg-tree-content {
  max-width: 620px;
}

.esg-tree-content h3 {
  font-size: clamp(1.375rem, 2.6vw, 1.875rem);
  color: var(--color-ink);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.esg-tree-content p {
  margin-top: 12px;
  font-family: var(--font-serif);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-accent-text);
}

.esg-tree-cta {
  white-space: nowrap;
  padding: 15px 32px;
  font-size: var(--text-sm);
}

/* ---------- final CTA ---------- */

@media (min-width: 768px) {
  .esg-dashboard {
    padding: 34px;
  }
}


/* ---------- demo request ----------
   Replaces the old .esg-cta band. That block had two problems: it carried a
   gradient placeholder nobody was ever going to supply art for, and its
   headline promised reporting that "files itself" — which the FAQ on this same
   page flatly contradicts ("we don't file on your behalf"). A form is a better
   use of the space than a claim we have to walk back. */

.esg-demo {
  position: relative;
  padding: var(--space-section-lg) 0;
  background: var(--gradient-forest);
}

.esg-demo-inner {
  display: grid;
  gap: clamp(32px, 5vw, 56px);
  align-items: start;
}

.esg-demo-copy h2 {
  margin-top: 16px;
  color: var(--color-white);
}

.esg-demo-lead {
  margin-top: 20px;
  font-family: var(--font-serif);
  font-size: var(--text-lg);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
}

.esg-demo-points {
  margin-top: 26px;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.esg-demo-points li {
  position: relative;
  padding-left: 26px;
  font-size: var(--text-base);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.74);
}

/* A rule rather than a bullet glyph — the tick characters elsewhere on the
   site turned into colour emoji in some browsers. */
.esg-demo-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 14px;
  height: 2px;
  border-radius: 1px;
  background: var(--color-accent);
}

.esg-demo-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: clamp(28px, 4vw, 40px);
}

.esg-demo-form .button {
  margin-top: 6px;
  height: 54px;
}

.esg-demo-note {
  font-size: var(--text-sm);
  line-height: 1.6;
  color: var(--color-muted);
}

.esg-demo-note a {
  color: var(--color-accent-text);
  font-weight: 700;
}

/* Two columns only once there is room for a readable copy measure beside a
   form that is comfortable to fill in. Below this the form stacks under the
   pitch, which is the right order on a phone anyway. */
@media (min-width: 900px) {
  .esg-demo-inner {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}
