@charset "UTF-8";
/******************************************
Section | Image Tiles (image_tiles)
Figma: Page Consolidation > "Markets" (node 149:1303), open state 149:618
******************************************/
/**************************************************
Stylesheet: Design Tokens (ECOVA page components)

Source of truth: Figma "Page Consolidation" variables. Values are kept
verbatim from Figma and intentionally NOT reconciled with
sass/theme/_theme_variables.scss (see the palette note in the build plan).

Usage from a component stylesheet (components/{name}/{name}.scss):
  @use "../../library/variables/tokens" as *;
  @use "../../library/mixins/mixins" as *;
(@import also works but is deprecated in Dart Sass and removed in 3.0.)

Do NOT use font-secondary() or font-proxima() from the mixins partial:
neither font family is loaded on the site. Use the type() mixin below.
**************************************************/
/*******************
PALETTE
********************/
/*******************
TYPE — Inter (loaded by the theme via Google Fonts)
********************/
/*******************
EFFECTS
********************/
/*******************
BREAKPOINTS — mirror $grid-breakpoints in sass/theme/_theme_variables.scss
********************/
/*******************
LAYOUT — shared section box. Figma page is 1440 wide with 145px margins,
so content is 1150px; the wrapper adds one gutter each side.
********************/
/**************************************************
Stylesheet: Mixins Stylesheet
**************************************************/
/*******************
FONT MIXINS (size, color, weight, line-height)
********************/
/*********************
Column split into X columns
@include column-count(3);
*********************/
/*********************
Column split with px gap
@include column-gap(40px);
*********************/
/*********************
Column split style
@include column-rule-style(solid);
*********************/
/*********************
Column split border
@include column-rule(1px solid #ededed);
*********************/
/*********************
Background gradient 2 color
@include background-gradient($gray, #000);
*********************/
/*********************
Background gradient 3 color
@include accordion-gradient($gray, #000, #666);
*********************/
/*********************
Transform duration by X seconds
@include transition(1.5s);
*********************/
/*********************
Transform Rotate element by x degrees
@include rotate(180);
*********************/
/*********************
Creates a 6px arrow with pure css
@include arrow(#000);
*********************/
/*********************
Clip 10px corner off the bottom right corner
@include cornerclip(#000);
*********************/
/*********************
Clip 3px corner off the bottom right corner
@include cornerclipsmall(#000);
*********************/
/*********************
Clip 10px corner off the top right corner
@include cornercliptop(#000);
*********************/
/*********************
Clip 10px corner off the top left corner
@include cornercliptopleft(#000);
*********************/
section.image-tiles {
  background: transparent;
}
section.image-tiles[data-background=riverstone] {
  background: #006675;
}
section.image-tiles[data-background=verdant] {
  background: #688F2D;
}
section.image-tiles[data-background=ember] {
  background: #EB7922;
}
section.image-tiles[data-background=current] {
  background: #00929D;
}
section.image-tiles[data-background=blue_carbon] {
  background: #003A60;
}
section.image-tiles[data-background=evergreen] {
  background: #4F5C41;
}
section.image-tiles[data-background=claystone] {
  background: #AA2B2B;
}
section.image-tiles[data-background=graphite] {
  background: #636569;
}
section.image-tiles[data-background=stonewood] {
  background: #D8D6D3;
}
section.image-tiles[data-background=pulp] {
  background: #D5D8C7;
}
section.image-tiles[data-background=ink] {
  background: #0F0F0F;
}
section.image-tiles[data-background=white] {
  background: #FFFFFF;
}
section.image-tiles {
  padding-top: 80px;
}
section.image-tiles .inner-wrapper {
  max-width: 1210px;
  margin: 0 auto;
  padding: 0 30px;
}
section.image-tiles .list-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  max-width: 918px;
  margin: 0 auto;
  padding: 0 0 60px;
  text-align: center;
}
section.image-tiles .heading {
  font-family: "Inter", Helvetica, Arial, sans-serif;
  font-size: 36px;
  line-height: 1.15;
  font-weight: 700;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #006675;
  margin: 0;
}
section.image-tiles .intro {
  font-family: "Inter", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: 0.16px;
  color: #0F0F0F;
  max-width: 700px;
}
section.image-tiles .intro p {
  margin: 0 0 1em;
}
section.image-tiles .intro > :last-child {
  margin-bottom: 0;
}
section.image-tiles .tiles {
  position: relative;
  display: grid;
  grid-template-columns: repeat(var(--it-count, 3), round(up, 33.3333vw, 1px));
  overflow: hidden;
}
section.image-tiles .tile {
  position: relative;
  z-index: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  aspect-ratio: 480/642;
  margin: 0;
  overflow: hidden;
  background: #006675;
  color: #FFFFFF;
  transition: transform 0.45s ease;
}
section.image-tiles .tile[data-has-panel] {
  cursor: pointer;
}
section.image-tiles .tile.is-raised {
  z-index: 2;
}
section.image-tiles .tile[data-aos].is-raised {
  transition-duration: 0.45s;
  transition-delay: 0s;
  transition-timing-function: ease;
}
section.image-tiles .tile.is-active {
  transform: translateX(calc(-100% * var(--it-index, 0)));
}
section.image-tiles .tile-media {
  position: absolute;
  inset: 0;
}
section.image-tiles .tile-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
section.image-tiles .tile::before,
section.image-tiles .tile::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
section.image-tiles .tile::before {
  background: linear-gradient(180deg, rgba(0, 102, 117, 0) 9%, #006675 76%);
  z-index: 1;
}
section.image-tiles .tile[data-overlay=evergreen]::before {
  background: linear-gradient(180deg, rgba(104, 143, 45, 0.5) 9%, #4F5C41 76%);
}
section.image-tiles .tile[data-overlay=blue_carbon]::before {
  background: linear-gradient(180deg, rgba(0, 58, 96, 0.5) 9%, #003A60 76%);
}
section.image-tiles .tile::after {
  background: rgba(0, 0, 0, 0.28);
  opacity: 0;
  transition: opacity 0.3s ease;
}
section.image-tiles .tile[data-has-panel]:hover::after,
section.image-tiles .tile[data-has-panel]:focus-within::after {
  opacity: 1;
}
section.image-tiles .tile-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 40px;
}
section.image-tiles .tile-heading {
  font-family: "Inter", Helvetica, Arial, sans-serif;
  font-size: 30px;
  line-height: 1.15;
  font-weight: 700;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #FFFFFF;
  margin: 0 0 -12px;
}
section.image-tiles .tile-body {
  font-family: "Inter", Helvetica, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 600;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #FFFFFF;
  margin: 0;
}
section.image-tiles .tile-toggle {
  font-family: "Inter", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: 0.32px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  border: 0;
  background: none;
  color: #FFFFFF;
  cursor: pointer;
}
section.image-tiles .tile-toggle:focus-visible {
  outline: 2px solid #FFFFFF;
  outline-offset: 4px;
}
section.image-tiles .tile-toggle-icon {
  display: inline-flex;
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}
section.image-tiles .tile-toggle-icon img {
  display: block;
  width: 20px;
  height: 20px;
}
section.image-tiles .tile-toggle[aria-expanded=true] .tile-toggle-icon {
  transform: rotate(45deg);
}
section.image-tiles .tile-panel {
  --it-cols: calc(var(--it-count, 3) - 1);
  position: absolute;
  z-index: 1;
  top: 0;
  bottom: 0;
  left: calc(100% / var(--it-count, 3));
  width: calc(100% - 100% / var(--it-count, 3));
  background: #006675;
  color: #FFFFFF;
  transform: translateX(calc(var(--it-dir, -1) * 100% / var(--it-cols)));
  clip-path: inset(0 calc((var(--it-cols) - var(--it-index, 0) + var(--it-dir, -1)) / var(--it-cols) * 100%) 0 calc((var(--it-index, 0) - var(--it-dir, -1)) / var(--it-cols) * 100%));
  transition: transform 0.45s ease, clip-path 0.45s ease;
}
section.image-tiles .tile-panel[data-overlay=evergreen] {
  background: #4F5C41;
}
section.image-tiles .tile-panel[data-overlay=blue_carbon] {
  background: #003A60;
}
section.image-tiles .tile-panel.is-open {
  transform: translateX(0);
  clip-path: inset(0 0 0 0);
}
section.image-tiles .tile-panel[hidden] {
  display: none;
}
section.image-tiles .tile-panel-inner {
  height: 100%;
  overflow-y: auto;
}
section.image-tiles .tile-panel-content {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 15px;
  padding: 25px 45px;
}
section.image-tiles .detail {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
section.image-tiles .detail:not(:last-child) {
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
}
section.image-tiles .detail-heading {
  font-family: "Inter", Helvetica, Arial, sans-serif;
  font-size: 24px;
  line-height: 1.15;
  font-weight: 700;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #FFFFFF;
  margin: 0;
}
section.image-tiles .detail-body {
  font-family: "Inter", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: 0.16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #FFFFFF;
}
section.image-tiles .detail-body p {
  margin: 0 0 0.75em;
}
section.image-tiles .detail-body > :last-child {
  margin-bottom: 0;
}
section.image-tiles .detail-body a {
  color: #FFFFFF;
  text-decoration: underline;
}
@media (prefers-reduced-motion: reduce) {
  section.image-tiles .tile, section.image-tiles .tile-panel, section.image-tiles .tile::after, section.image-tiles .tile-toggle-icon {
    transition: none !important;
  }
}
@media (max-width: 991.98px) {
  section.image-tiles {
    padding-top: 60px;
  }
  section.image-tiles .tiles {
    grid-template-columns: minmax(0, 1fr);
    max-width: 570px;
    margin-inline: auto;
    overflow: visible;
  }
  section.image-tiles .tile-content {
    padding: 30px;
  }
  section.image-tiles .tile.is-active {
    transform: none;
  }
  section.image-tiles .tile-panel {
    position: static;
    width: auto;
    grid-column: 1/-1;
    transform: none;
    clip-path: none;
    height: 0;
    overflow: hidden;
    transition: height 0.35s ease;
  }
  section.image-tiles .tile-panel.is-open {
    height: auto;
    margin-bottom: -1px;
    transform: translate(0, -1px);
  }
  section.image-tiles .tile-panel-inner {
    height: auto;
    overflow: visible;
  }
  section.image-tiles .tile-panel-content {
    min-height: 0;
    padding: 30px;
  }
}
@media (max-width: 781.98px) {
  section.image-tiles {
    padding-top: 40px;
  }
  section.image-tiles .list-header {
    padding-bottom: 40px;
  }
  section.image-tiles .heading {
    font-family: "Inter", Helvetica, Arial, sans-serif;
    font-size: 30px;
    line-height: 1.15;
    font-weight: 700;
  }
  section.image-tiles .tiles {
    grid-template-columns: minmax(0, 1fr);
  }
  section.image-tiles .tile:last-of-type:nth-of-type(odd) {
    grid-column: auto;
    aspect-ratio: 480/642;
  }
  section.image-tiles .tile-content {
    padding: 24px;
  }
  section.image-tiles .tile-heading {
    font-family: "Inter", Helvetica, Arial, sans-serif;
    font-size: 24px;
    line-height: 1.15;
    font-weight: 700;
    margin-bottom: -12px;
  }
  section.image-tiles .tile-body {
    font-family: "Inter", Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 400;
    letter-spacing: 0.16px;
    font-weight: 600;
  }
  section.image-tiles .tile-panel-content {
    padding: 24px;
  }
}
