/* Client-facing colors, typography, and spacing */
:root {
  interpolate-size: allow-keywords;

  /* CLIENT CUSTOMIZATION: brand colors */
  --color-brand-green: #427851;
  --color-accent-yellow: #fbbe2f;
  --color-accent-yellow-hover: #e8ae18;
  --color-section-yellow: #fdc540;
  --color-button-purple: #93359c;
  --color-button-purple-hover: #7c2c84;
  --color-accent-purple: #8a3492;
  --color-required-marker: #ed2759;

  /* CLIENT CUSTOMIZATION: backgrounds and text */
  --color-page-background: #ffffff;
  --color-text-on-dark: #ffffff;
  --color-body-text: #000000;
  --color-default-text: #2f2f2f;
  --color-form-label: #666666;
  --color-input-border: #d7d7d7;

  /* CLIENT CUSTOMIZATION: typography */
  --font-heading: "Volte Rounded", sans-serif;
  --font-body: "Open Sans", sans-serif;
  --font-size-section-heading: 40px;
  --line-height-section-heading: 48px;
  --font-size-body: 16px;
  --line-height-body: 22px;
  --font-size-hero-title: 64px;
  --line-height-hero-title: 100%;
  --font-size-hero-subtitle: 32px;
  --line-height-hero-subtitle: 40px;
  --font-size-large-button: 24px;
  --line-height-large-button: 29px;

  /* CLIENT CUSTOMIZATION: spacing and shape */
  --spacing-page-horizontal: clamp(1.25rem, 4vw, 2.5rem);
  --spacing-section-vertical: clamp(2.5rem, 6vw, 5rem);
  --radius-pill: 100px;
}

@media (max-width: 40rem) {
  :root {
    --spacing-page-horizontal: 31px;
  }
}

@font-face {
  font-family: "Volte Rounded";
  src: url("./assets/fonts/volte-rounded/VolteRounded-Light-BF65bc55d32e0ba.otf")
    format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Volte Rounded";
  src: url("./assets/fonts/volte-rounded/VolteRounded-Regular-BF65bc55d32ca1a.otf")
    format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Volte Rounded";
  src: url("./assets/fonts/volte-rounded/VolteRounded-Bold-BF65bc55d33dd1f.otf")
    format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:where(#top),
:where(#top) *,
:where(#top) *::before,
:where(#top) *::after {
  box-sizing: border-box;
}

.intro-copy ul li::marker,
.eco-feature-copy ul li::marker,
.report-faq-answer ul li::marker {
  font-size: 0.55em;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
}

#top {
  display: block;
  width: 100%;
  margin: 0;
  color: var(--color-default-text);
  background: var(--color-page-background);
  font-family: var(--font-body);
  line-height: var(--line-height-body);
}

:where(#top) img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
}

:where(#top) a {
  color: inherit;
  text-decoration: none;
}

.section-heading {
  margin: 0;
  font-family: var(--font-heading);
  font-size: var(--font-size-section-heading);
  font-style: normal;
  font-weight: 700;
  line-height: var(--line-height-section-heading);
  letter-spacing: 0;
}

.body-copy {
  font-family: var(--font-body);
  font-size: var(--font-size-body);
  font-style: normal;
  font-weight: 400;
  line-height: var(--line-height-body);
}

.button-large {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: var(--radius-pill);
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: var(--font-size-large-button);
  font-weight: 700;
  line-height: var(--line-height-large-button);
  text-align: center;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.button-large:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgb(0 0 0 / 16%);
}

.button-large:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgb(0 0 0 / 10%);
}

/* Cover section */
.cover,
.cover-media,
.play-banner-side {
  display: flex;
}

.cover {
  flex-direction: column;
}

.cover-media {
  position: relative;
  margin: 0;
  width: 100%;
  aspect-ratio: 2.2 / 1;
  max-height: 58vh;
}

.cover-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cover-left {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  align-items: start;
  pointer-events: none;
}

.cover-blob {
  grid-column: 2;
  justify-self: center;
  width: clamp(82px, 11.33vw, 116px);
  height: auto;
  margin-top: clamp(30px, 4vw, 64px);
  transform: translate(-10px, 10px);
}

.play-banner {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: center;
  background: var(--color-brand-green);
  color: var(--color-text-on-dark);
  padding-block: var(--spacing-page-horizontal);
  padding-inline: var(--spacing-page-horizontal);
}

.play-banner-side {
  grid-row: 1;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.play-banner-side:first-child {
  grid-column: 1;
}

.play-banner-side:last-child {
  grid-column: 5;
}

.play-banner-copy {
  grid-column: 2 / 6;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.play-banner h1 {
  margin: 0;
  color: var(--color-text-on-dark);
  font-family: var(--font-heading);
  font-weight: 700;
  font-style: normal;
  font-size: var(--font-size-hero-title);
  line-height: var(--line-height-hero-title);
  letter-spacing: 0;
  text-align: center;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (max-width: 40rem) {
	.play-banner h1 { 
		font-size: 40px; 
	}
}

.play-banner p {
  margin: 0;
  color: var(--color-accent-yellow);
  font-family: var(--font-heading);
  font-weight: 400;
  font-style: normal;
  font-size: var(--font-size-hero-subtitle);
  line-height: var(--line-height-hero-subtitle);
  letter-spacing: 0;
  text-align: center;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.play-blob {
  width: min(8rem, 35%);
  height: auto;
  transform: translate(20px, 80px);
  z-index: 11;
}

@media (max-width: 56rem) {
  .cover-blob,
  .play-banner-side {
    display: none;
  }

  .play-banner {
    justify-content: center;
  }

  .play-banner-copy {
    grid-column: 1 / -1;
    width: 100%;
  }
}

/* Intro section */
.intro,
.intro-copy,
.intro-body {
  display: flex;
}

.intro {
  align-items: center;
  justify-content: center;
  width: 100%;
  background: var(--color-page-background);
  gap: 138px;
  padding-top: 200px;
  padding-bottom: var(--spacing-section-vertical);
  padding-inline: var(--spacing-page-horizontal);
}

.intro-graphic {
  flex: 0 0 auto;
}

.intro-graphic img {
  width: 411px;
  max-width: 100%;
}

.intro-copy {
  flex: 0 1 640px;
  flex-direction: column;
  gap: 35px;
  min-width: 0;
}

.intro-body {
  flex-direction: column;
  gap: 8px;
}

.intro-copy h2 {
  color: var(--color-accent-yellow);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.intro-copy p,
.intro-copy li {
  margin: 0;
  color: var(--color-body-text);
}

.intro-copy ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 20px 0 0 0;
  padding-left: 1.2em;
  list-style-type: disc;
}

@media (max-width: 56rem) {
  .intro {
    flex-direction: column;
    gap: 35px;
  }

  .intro-graphic {
    max-width: 100%;
  }

  .intro-copy h2 {
    text-align: center;
  }
}

@media (max-width: 40rem) {
  .intro {
    padding-top: 72px;
  }

  .intro-graphic {
    width: min(411px, calc(100vw - 144px));
    margin-inline: auto;
  }
}

/* Footprint section */
.footprint,
.footprint-copy {
  display: flex;
}

.footprint {
  flex-direction: column;
  align-items: center;
  background: var(--color-page-background);
  gap: 35px;
  padding-block: var(--spacing-section-vertical);
  padding-inline: var(--spacing-page-horizontal);
}

.footprint h2 {
  color: var(--color-brand-green);
  text-align: center;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.footprint-copy {
  flex-direction: column;
  gap: 16px;
  max-width: 988px;
  text-align: center;
}

.footprint-copy p {
  margin: 0;
  color: var(--color-body-text);
  text-align: center;
}

.footprint-chart {
  margin: 0;
  width: min(47.5rem, 100%);
}

.footprint-chart svg {
  display: block;
  width: 100%;
  height: auto;
}

.footprint-mobile-labels {
  display: none;
}

.footprint-chart .chart-pct {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 40px;
  font-synthesis: none;
  dominant-baseline: middle;
}

.footprint-chart .chart-name {
  fill: var(--color-body-text);
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 16px;
  dominant-baseline: middle;
}

.footprint-chart figcaption {
  margin: 0.75rem 0 0;
  color: var(--color-body-text);
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
  text-align: center;
}

@media (max-width: 56rem) {
  .footprint-chart {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
  }

  .footprint-chart-mount { width: min(20rem, 80vw); }

  .footprint-mobile-labels,
  .mobile-chart-label,
  .mobile-chart-label-row { display: flex; }

  .footprint-mobile-labels {
    width: min(32rem, 100%);
    flex-direction: column;
    gap: 2.5rem;
  }

  .mobile-chart-label {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-default-text);
    font-family: var(--font-body);
    font-size: clamp(1rem, 4vw, 1.5rem);
    line-height: 120%;
    text-align: center;
  }

  .mobile-chart-label strong {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 10vw, 4rem);
    line-height: 100%;
  }

  .mobile-chart-label-row {
    justify-content: space-around;
    gap: 2rem;
  }

  .mobile-chart-label-row .mobile-chart-label { flex: 1; }
  .mobile-chart-label-raw strong { color: var(--color-accent-yellow); }
  .mobile-chart-label-transport strong { color: var(--color-accent-purple); }
  .mobile-chart-label-production strong { color: var(--color-brand-green); }
}

/* Faq Cta section */
.faq-cta {
  display: flex;
  min-height: 360px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  background: var(--color-brand-green);
  padding: 2rem var(--spacing-page-horizontal);
  text-align: center;
}

.faq-cta h2 {
  max-width: 740px;
  color: var(--color-text-on-dark);
}

.faq-cta .button-large {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: min(450px, 100%);
  height: 60px;
  background: var(--color-accent-yellow);
  color: var(--color-text-on-dark);
  padding: 0 28px;
}

.faq-cta .button-large:hover {
  background: var(--color-accent-yellow-hover);
}

/* Eco Features section */
.eco-features,
.eco-feature,
.eco-feature-copy {
  display: flex;
}

.eco-features {
  width: min(100%, 1268px);
  flex-direction: column;
  gap: 100px;
  margin-inline: auto;
  padding: var(--spacing-section-vertical) var(--spacing-page-horizontal);
}

.eco-feature {
  align-items: center;
  gap: clamp(3rem, 8.5vw, 5.5rem);
}

.eco-feature-reverse {
  flex-direction: row-reverse;
}

.eco-feature-media {
  position: relative;
  flex: 0 1 480px;
  margin: 0;
}

.eco-feature-photo {
  aspect-ratio: 1;
  object-fit: cover;
}

.eco-feature-blob {
  position: absolute;
  width: auto;
}

.eco-feature-blob-ring {
  top: -28px;
  left: -20px;
  height: 120px;
}

.eco-feature-blob-check {
  right: -37px;
  bottom: -20px;
  height: 119px;
}

@media (max-width: 40rem) { 
	.eco-feature-blob-check {
		right: 0;
	}
}

.eco-feature-copy {
  flex: 1;
  flex-direction: column;
  max-width: 640px;
  min-width: 0;
}

.eco-feature-copy h2 {
  margin: 0 0 0.75em;
  color: var(--color-accent-yellow);
}

.eco-feature-copy p,
.eco-feature-copy li {
  color: var(--color-body-text);
}

.eco-feature-copy p {
  margin: 0;
}

.eco-feature-copy ul {
  margin: 20px 0 0 0;
  padding-left: 1.15em;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.eco-feature-copy-green {
  max-width: none;
  text-align: right;
}

.eco-feature-copy-green h2 {
  color: var(--color-brand-green);
  text-align: right;
}

.eco-feature-copy-green ul {
  padding-left: 0;
  list-style-position: inside;
}

@media (min-width: 56.01rem) {
  .eco-feature-copy-green p,
  .eco-feature-copy-green li {
    /* white-space: nowrap; */
  }
}

@media (max-width: 56rem) {
  .eco-features { gap: var(--spacing-section-vertical); }

  .eco-feature,
  .eco-feature-reverse {
    flex-direction: column;
    gap: 2.5rem;
  }

  .eco-feature-media {
    flex-basis: auto;
    width: min(100%, 22rem);
  }

  .eco-feature-copy { width: min(100%, 32rem); }

  .eco-feature-copy h2,
  .eco-feature-copy-green h2 {
    width: 100%;
    font-size: clamp(1.75rem, 8vw, 2.5rem);
    text-align: center;
  }

  .eco-feature-copy-green {
    text-align: left;
  }

  .eco-feature-copy-green ul {
    padding-left: 1.15em;
    list-style-position: outside;
  }

  .eco-break {
    display: none;
  }
}

/* Quality section */
.quality,
.quality-certificates,
.quality-certificate,
.quality-certificate p {
  display: flex;
}

.quality {
  flex-direction: column;
  align-items: center;
  background: var(--color-page-background);
  padding: var(--spacing-section-vertical) var(--spacing-page-horizontal);
  text-align: center;
}

.quality > h2 {
  color: var(--color-brand-green);
}

.quality > p {
  margin: 12px 0 0;
  color: var(--color-body-text);
}

.quality-certificates {
  width: min(100%, 977px);
  align-items: flex-start;
  justify-content: space-between;
  gap: 59px;
  margin-top: 50px;
}

.quality-certificate {
  flex: 1 1 184px;
  flex-direction: column;
  align-items: center;
}

.quality-certificate img {
  width: 200px;
  height: 149px;
  object-fit: contain;
  border-radius: 27px;
  background: var(--color-page-background);
}

.quality-certificate p {
  flex-direction: column;
  margin: 35px 0 0;
  color: var(--color-body-text);
  text-align: center;
}

.quality-certificate strong {
  font-weight: 700;
}

.quality-certificate span {
  font-weight: 400;
}

@media (max-width: 56rem) {
  .quality-certificates {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3rem;
  }

  .quality-certificate {
    width: 100%;
  }

  .quality-certificate p { margin-top: 1.5rem; }
}

@media (max-width: 40rem) {
  .quality-certificates {
    grid-template-columns: 1fr 1fr;
  }
}

/* Offer Cta section */
.offer-cta,
.offer-cta-copy {
  display: flex;
}

.offer-cta {
  width: min(100%, 1085px);
  align-items: center;
  justify-content: center;
  gap: clamp(3rem, 8vw, 5rem);
  margin-inline: auto;
  padding: var(--spacing-section-vertical) var(--spacing-page-horizontal);
}

.offer-cta-media {
  position: relative;
  flex: 0 0 min(480px, 42vw);
  margin: 0;
}

.offer-cta-photo {
  aspect-ratio: 1;
  object-fit: cover;
}

.offer-cta-accent {
  position: absolute;
  top: -19px;
  left: -28px;
  width: 120px;
  height: auto;
}

.offer-cta-copy {
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.offer-cta-copy h2 {
  color: var(--color-brand-green);
}

.offer-cta-copy h2 span {
  display: block;
}

.offer-cta-copy button , .offer-cta-copy a.button-large {
  min-width: 281px;
  height: 40px;
  background: var(--color-accent-yellow);
  color: var(--color-text-on-dark);
  padding: 0 24px;
}

.offer-cta-copy button:hover , .offer-cta-copy a.button-large:hover {
  background: var(--color-accent-yellow-hover);
}

@media (max-width: 56rem) {
  .offer-cta {
    flex-direction: column;
    gap: 3rem;
  }

  .offer-cta-media {
    flex-basis: auto;
    width: min(100%, 315px);
  }

  .offer-cta-copy {
    align-items: center;
    text-align: center;
  }

  .offer-cta-copy h2 { font-size: 40px; }
}

/* Report Faq section */
.report-faq,
.report-faq-list,
.report-faq-answer {
  display: flex;
}

.report-faq {
  flex-direction: column;
  align-items: center;
  gap: 60px;
  background: var(--color-brand-green);
  padding: 80px var(--spacing-page-horizontal);
}

.report-faq > h2 {
  display: flex;
  flex-direction: column;
  max-width: 640px;
  color: var(--color-text-on-dark);
  text-align: center;
}

.report-faq-list {
  width: min(100%, 958px);
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.report-faq details {
  width: 100%;
  min-height: 60px;
  overflow: hidden;
  border-radius: 30px;
  background: var(--color-page-background);
  color: var(--color-brand-green);
}

.report-faq details[open] {
  width: 100%;
  border-radius: 30px;
}

.report-faq details::details-content {
  block-size: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    block-size 280ms ease,
    opacity 180ms ease,
    content-visibility 280ms allow-discrete;
}

.report-faq details[open]::details-content {
  block-size: auto;
  opacity: 1;
}

.report-faq summary {
  display: flex;
  align-items: center;  
  gap: 15px;
  min-height: 60px;
  padding: 11px 24px;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 400;
  line-height: 25px;
  list-style: none;
  /* text-align: center;
  justify-content: center; */
}

.report-faq summary::-webkit-details-marker {
  display: none;
}

.report-faq details[open] summary {
  padding: 11px 24px;
  font-size: 20px;
}

.report-faq-chevron {
  position: relative;
  display: inline-block;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: var(--color-brand-green);
  font-size: 0;
  line-height: 0;
  transition: transform 200ms ease;
}

.report-faq-chevron::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 7px;
  border-right: 1px solid var(--color-brand-green);
  border-bottom: 1px solid var(--color-brand-green);
  content: "";
  transform: translate(-50%, -65%) rotate(45deg);
}

.report-faq details[open] .report-faq-chevron {
  transform: rotate(180deg);
}

.report-faq-answer {
  flex-direction: column;  
  padding: 8px 36px 26px;
  color: var(--color-brand-green);
  font-family: var(--font-body);
  font-weight: 400;
  font-style: normal;
  font-size: 16px;
  line-height: 1.25;
  letter-spacing: 0;
  /* text-align: center; align-items: center;  */
}

.report-faq-answer p,
.report-faq-answer ul {
  max-width: 696px;
  margin: 0;
}

.report-faq-answer ul {
  padding: 0;
  list-style-position: inside;
}

@media (max-width: 56rem) {
  .report-faq {
    gap: 40px;
    padding-block: 48px;
  }

  .report-faq > h2 {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    line-height: 1.2;
  }

  .report-faq details,
  .report-faq details[open] { width: 100%; }

  .report-faq summary,
  .report-faq details[open] summary {
    font-size: clamp(0.9rem, 3.2vw, 1.25rem);
    line-height: 1.25;
  }
  
  .co2-page .pull-out-tab-wrapper-left, .co2-page .pull-out-tab-wrapper { display: none; }
}

@media (max-width: 40rem) {
  .report-faq-list { gap: 16px; }
  .report-faq details[open] { border-radius: 24px; }
  .report-faq-answer { padding: 4px 20px 20px; }
}

/* Contact Cta section */
.contact-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 25px;
  background: var(--color-section-yellow);
  padding: 80px var(--spacing-page-horizontal);
  text-align: center;
}

.contact-cta h2 {
  max-width: 1118px;
  color: var(--color-text-on-dark);
}

.contact-cta p {
  margin: 0;
  color: var(--color-body-text);
}