/* Homepage lifestyle-and-environment chapter, built from the approved visual prototype. */
@media (min-width: 861px) {
  .home-page .site-main-content #home-modules {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

#lifestyle.home-lifestyle-story {
  scroll-margin-top: 84px;
  border-top: 1px solid #dfe5de;
  background: #fff;
  padding: 42px 0 76px;
}

.hls-shell {
  width: min(1320px, calc(100% - 40px));
  margin: 0 auto;
}

.hls-ornament {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 22px;
  align-items: center;
  margin-bottom: 14px;
  color: #168452;
}

.hls-ornament span {
  height: 1px;
  background: #6da78a;
}

.hls-ornament svg {
  width: 25px;
  height: 25px;
  stroke-width: 2.35;
}

.hls-hero {
  position: relative;
  isolation: isolate;
  min-height: 430px;
  overflow: hidden;
  border-radius: 12px;
  background: #f6f5ef;
}

.hls-hero > img {
  position: absolute;
  inset: 0 0 0 auto;
  z-index: -2;
  width: 80%;
  height: 100%;
  object-fit: cover;
  object-position: 67% top;
}

.hls-hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(255,255,255,.99) 0%, rgba(255,255,255,.96) 36%, rgba(255,255,255,.65) 48%, rgba(255,255,255,.08) 66%, rgba(255,255,255,0) 76%);
  content: "";
}

.hls-hero-copy {
  position: relative;
  z-index: 1;
  width: 57%;
  padding: 40px 0 36px 32px;
}

.hls-kicker {
  margin: 0 0 14px;
  color: #138454;
  font-size: 1.04rem;
  font-weight: 850;
  letter-spacing: .035em;
}

.hls-hero h2 {
  max-width: 660px;
  margin: 0;
  color: #0b281c;
  font-size: clamp(2.4rem, 3.35vw, 3.15rem);
  font-weight: 900;
  line-height: 1.23;
  letter-spacing: -.035em;
}

.hls-topics {
  margin: 17px 0 13px;
  color: #193a2c;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: .025em;
}

.hls-hero-copy > p:not(.hls-kicker):not(.hls-topics) {
  max-width: 620px;
  margin: 0;
  color: #4d5952;
  font-size: .98rem;
  line-height: 1.75;
}

.hls-hero-copy > p + p:not(.hls-topics) {
  margin-top: 4px;
}

.hls-primary {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 22px;
  border-radius: 999px;
  background: #11955b;
  padding: 0 27px;
  color: #fff;
  font-size: 1rem;
  font-weight: 850;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(17, 149, 91, .15);
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.hls-primary:hover {
  background: #0b7c49;
  box-shadow: 0 13px 28px rgba(11, 124, 73, .2);
  transform: translateY(-2px);
}

.hls-primary:focus-visible {
  outline: 3px solid rgba(17, 149, 91, .28);
  outline-offset: 3px;
}

.hls-primary svg {
  width: 19px;
  height: 19px;
}

.hls-hero-line {
  height: 1px;
  margin-top: 14px;
  background: #72a58a;
}

.hls-reality,
.hls-change,
.hls-start {
  padding-top: 46px;
}

.hls-section-heading {
  margin-bottom: 23px;
}

.hls-section-heading h3,
.hls-impact h3 {
  margin: 0;
  color: #0d271c;
  font-size: 28px;
  font-weight: 900;
  line-height: 1.26;
  letter-spacing: -.025em;
}

.hls-section-heading p {
  margin: 7px 0 0;
  color: #66716b;
  font-size: 1rem;
  line-height: 1.7;
}

.hls-reality-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.hls-reality-card {
  overflow: hidden;
  border: 1px solid #dde5df;
  border-radius: 10px;
  background: #fff;
}

.hls-reality-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1.52;
  object-fit: cover;
}

.hls-reality-card:nth-child(1) img {
  object-position: center 39%;
}

.hls-reality-card:nth-child(3) img {
  object-position: 58% center;
}

.hls-reality-card > div {
  min-height: 0;
  padding: 19px 20px 18px;
}

.hls-reality-card h4,
.hls-impact-points h4,
.hls-shift-card h4,
.hls-start-card h4 {
  margin: 0;
  color: #12271d;
  font-weight: 900;
  line-height: 1.35;
}

.hls-reality-card h4 {
  font-size: 1.16rem;
}

.hls-reality-card p,
.hls-impact p,
.hls-shift-card p,
.hls-start-card p {
  margin: 8px 0 0;
  color: #65706a;
  line-height: 1.72;
}

.hls-reality-card p {
  font-size: .92rem;
}

.hls-impact {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 390px;
  margin-top: 48px;
  border: 1px solid #dce6df;
  border-radius: 16px;
  background: #fff;
  padding: 30px 32px;
}

.hls-impact::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, #fff 0 38%, rgba(255, 255, 255, .98) 48%, rgba(255, 255, 255, .78) 58%, rgba(255, 255, 255, .2) 72%, rgba(255, 255, 255, 0) 82%);
  content: "";
  pointer-events: none;
}

.hls-impact-main {
  min-height: 328px;
}

.hls-impact-copy {
  position: relative;
  z-index: 2;
  width: 68%;
}

.hls-impact-copy > p {
  max-width: 610px;
  margin-top: 15px;
  color: #606c65;
  font-size: .98rem;
}

.hls-impact-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 26px;
}

.hls-impact-points > div {
  position: relative;
  padding: 0 18px;
  text-align: center;
}

.hls-impact-points > div:first-child {
  padding-left: 0;
}

.hls-impact-points > div:last-child {
  padding-right: 0;
}

.hls-impact-points > div + div::before {
  position: absolute;
  top: 28px;
  bottom: 0;
  left: 0;
  width: 1px;
  background: #d9e5de;
  content: "";
}

.hls-impact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
  border: 1px solid #cde1d5;
  border-radius: 50%;
  background: rgba(255, 255, 255, .76);
  color: #178657;
}

.hls-impact-icon svg {
  width: 24px;
  height: 24px;
  stroke-width: 1.8;
}

.hls-impact-points h4 {
  color: #173a2a;
  font-size: 1.03rem;
}

.hls-impact-points p {
  margin-top: 8px;
  font-size: .84rem;
  line-height: 1.62;
  text-align: left;
}

.hls-impact-media {
  position: absolute;
  inset: 0 0 0 auto;
  z-index: 0;
  width: 60%;
  overflow: hidden;
}

.hls-impact-photo {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hls-impact-quote {
  margin: 0 !important;
  background: #eff9f3;
  padding: 18px 28px;
  color: #0d6b43 !important;
  font-size: clamp(1.18rem, 1.8vw, 1.52rem) !important;
  font-weight: 900;
  line-height: 1.45 !important;
  text-align: center;
  letter-spacing: .01em;
}

.hls-shift-list {
  display: grid;
  gap: 13px;
}

.hls-shift-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 62px minmax(0, 1fr);
  gap: 10px;
  align-items: stretch;
}

.hls-shift-card {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  height: 104px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 10px;
}

.hls-shift-before {
  background: #f5f5f3;
}

.hls-shift-after {
  border: 1px solid #d9eadf;
  background: #f1faf5;
}

.hls-shift-card img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.hls-shift-row:nth-child(1) .hls-shift-before img {
  object-position: center 34%;
}

.hls-shift-row:nth-child(3) .hls-shift-before img {
  object-position: center 30%;
}

.hls-shift-row:nth-child(3) .hls-shift-after img {
  object-position: center 28%;
}

.hls-shift-card > div {
  display: grid;
  align-content: start;
  padding: 12px 19px;
}

.hls-shift-card h4 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 900;
  line-height: 1.35;
}

.hls-shift-after h4 {
  color: #118251;
}

.hls-shift-card p {
  margin: 6px 0 0;
  font-size: .88rem;
  font-weight: 400;
  line-height: 1.62;
}

.hls-shift-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #15955c;
}

.hls-shift-arrow svg {
  width: 28px;
  height: 28px;
}

.hls-start {
  padding-top: 50px;
}

.hls-start-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.hls-start-card {
  display: grid;
  grid-template-columns: minmax(200px, 33%) minmax(0, 67%);
  overflow: hidden;
  border: 1px solid #d8e5dd;
  border-radius: 10px;
  background: #fff;
}

.hls-start-media {
  position: relative;
  min-height: 0;
  overflow: hidden;
}

.hls-start-card img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hls-start-card:nth-child(2) img {
  object-position: center 45%;
}

.hls-start-card:nth-child(3) img {
  object-position: 60% center;
}

.hls-start-content {
  min-width: 0;
  padding: 18px 14px 14px 18px;
}

.hls-start-content header {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 62px;
  border-bottom: 1px solid #dfe7e2;
  padding-bottom: 12px;
}

.hls-start-content header > svg {
  width: 39px;
  height: 39px;
  color: #0b3423;
  stroke-width: 2;
}

.hls-start-content h4 {
  color: #0b2a1c;
  font-size: 1.45rem;
}

.hls-start-content header p {
  margin: 2px 0 0;
  color: #65716a;
  font-size: .86rem;
  line-height: 1.5;
}

.hls-start-content dl {
  display: grid;
  margin: 6px 0 0;
}

.hls-start-content dl > div {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 8px 0;
}

.hls-start-content dt {
  border-radius: 999px;
  background: #e8f6ed;
  padding: 5px 7px;
  color: #096d42;
  font-size: .82rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
}

.hls-start-content dd {
  margin: 0;
  color: #58665f;
  font-size: .82rem;
  line-height: 1.58;
}

.hls-start-content dd strong {
  color: #263d32;
  font-weight: 800;
}

@media (max-width: 1120px) {
  .hls-hero-copy {
    width: 65%;
  }

  .hls-impact-copy {
    width: 73%;
  }

  .hls-shift-row {
    grid-template-columns: minmax(0, 1fr) 54px minmax(0, 1fr);
    gap: 9px;
  }

  .hls-shift-card {
    grid-template-columns: 128px minmax(0, 1fr);
    height: auto;
  }

  .hls-shift-card img {
    min-height: 146px;
  }
}

@media (max-width: 1100px) {
  .hls-section-heading h3,
  .hls-impact h3 {
    font-size: 24px;
  }
}

@media (max-width: 900px) {
  #lifestyle.home-lifestyle-story {
    padding-top: 34px;
  }

  .hls-reality-grid,
  .hls-start-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hls-impact {
    min-height: 0;
    padding: 0 0 26px;
  }

  .hls-impact::after {
    display: none;
  }

  .hls-impact-main {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  .hls-impact-copy {
    order: 2;
    width: 100%;
    padding: 26px 26px 0;
  }

  .hls-impact-media {
    position: relative;
    order: 1;
    width: 100%;
    height: 280px;
  }

  .hls-shift-row {
    grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr);
    gap: 8px;
  }

  .hls-shift-card {
    grid-template-columns: 1fr;
  }

  .hls-shift-card img {
    height: 132px;
    min-height: 132px;
  }

  .hls-shift-card > div {
    min-height: 142px;
  }

  .hls-start-card {
    grid-template-columns: 1fr;
  }

  .hls-start-card img {
    position: static;
    height: 190px;
  }
}

@media (max-width: 760px) {
  .hls-section-heading h3,
  .hls-impact h3 {
    font-size: 21px;
  }
}

@media (max-width: 680px) {
  #lifestyle.home-lifestyle-story {
    padding: 28px 0 58px;
  }

  .hls-shell {
    width: min(100% - 28px, 1320px);
  }

  .hls-ornament {
    gap: 14px;
  }

  .hls-hero {
    min-height: 690px;
  }

  .hls-hero > img {
    inset: 0;
    width: 100%;
    height: 340px;
    object-position: 62% 42%;
  }

  .hls-hero::after {
    background: linear-gradient(180deg, rgba(255,255,255,0) 0 30%, rgba(255,255,255,.82) 43%, #fff 51% 100%);
  }

  .hls-hero-copy {
    width: 100%;
    padding: 300px 22px 25px;
  }

  .hls-kicker {
    margin-bottom: 10px;
    font-size: .95rem;
  }

  .hls-hero h2 {
    font-size: 2.02rem;
    line-height: 1.24;
  }

  .hls-topics {
    margin-top: 13px;
    font-size: .94rem;
  }

  .hls-hero-copy > p:not(.hls-kicker):not(.hls-topics) {
    font-size: .9rem;
    line-height: 1.68;
  }

  .hls-primary {
    min-height: 48px;
    margin-top: 17px;
    padding: 0 22px;
    font-size: .93rem;
  }

  .hls-reality,
  .hls-change,
  .hls-start {
    padding-top: 38px;
  }

  .hls-section-heading {
    margin-bottom: 18px;
  }

  .hls-section-heading p {
    font-size: .92rem;
  }

  .hls-reality-grid,
  .hls-start-grid {
    grid-template-columns: 1fr;
  }

  .hls-reality-card {
    display: grid;
    grid-template-columns: 40% minmax(0, 1fr);
  }

  .hls-reality-card img {
    height: 100%;
    min-height: 180px;
    aspect-ratio: auto;
  }

  .hls-reality-card > div {
    min-height: 180px;
    padding: 18px;
  }

  .hls-reality-card h4 {
    font-size: 1.04rem;
  }

  .hls-reality-card p {
    font-size: .86rem;
  }

  .hls-impact {
    margin-top: 40px;
  }

  .hls-impact-copy {
    padding: 24px 20px 0;
  }

  .hls-impact-copy > p {
    font-size: .91rem;
  }

  .hls-impact-points {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 22px;
  }

  .hls-impact-points > div,
  .hls-impact-points > div:first-child,
  .hls-impact-points > div:last-child {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    column-gap: 13px;
    padding: 0;
    text-align: left;
  }

  .hls-impact-points > div + div::before {
    top: -10px;
    right: 0;
    bottom: auto;
    left: 55px;
    width: auto;
    height: 1px;
  }

  .hls-impact-icon {
    grid-row: 1 / span 2;
    width: 42px;
    height: 42px;
    margin: 0;
  }

  .hls-impact-points p {
    margin-top: 4px;
  }

  .hls-impact-media {
    height: 220px;
  }

  .hls-impact-quote {
    padding: 16px 18px;
    font-size: 1.08rem !important;
  }

  .hls-shift-list {
    gap: 18px;
  }

  .hls-shift-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .hls-shift-card {
    grid-template-columns: 36% minmax(0, 1fr);
  }

  .hls-shift-card img {
    height: 100%;
    min-height: 142px;
  }

  .hls-shift-card > div {
    min-height: 142px;
    padding: 16px;
  }

  .hls-shift-arrow {
    justify-content: flex-start;
    padding-left: 18px;
  }

  .hls-shift-arrow svg {
    transform: rotate(90deg);
  }

  .hls-start {
    padding-top: 42px;
  }

  .hls-start-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hls-start-card img {
    height: 220px;
    object-position: center 36%;
  }

  .hls-start-content {
    padding: 18px 16px 14px;
  }

  .hls-start-content header {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 10px;
  }

  .hls-start-content header > svg {
    width: 34px;
    height: 34px;
  }

  .hls-start-content h4 {
    font-size: 1.28rem;
  }

  .hls-start-content dl > div {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 9px;
    padding: 9px 0;
  }

  .hls-start-content dd {
    font-size: .86rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hls-primary {
    transition: none;
  }
}
