.drives-page {
  background: #eaf3ee;
}

.drives-page main {
  position: relative;
  isolation: auto;
  overflow: visible;
  background: #eaf3ee;
}

.drives-page main::before,
.drives-page main::after,
.drives-page main > .drives-sparkle-field {
  display: none;
  content: none;
}

.drives-editorial-hero {
  position: relative;
  padding: clamp(38px, 5vh, 58px) 0 34px;
  overflow: hidden;
  background:
    radial-gradient(circle at 7% 8%, rgba(181, 224, 194, 0.7), transparent 27rem),
    radial-gradient(circle at 94% 75%, rgba(67, 126, 98, 0.18), transparent 30rem),
    linear-gradient(140deg, #f5faf5 0%, #e6f1e8 54%, #d8e8dd 100%);
}

.drives-editorial-hero::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -220px;
  width: 480px;
  height: 480px;
  border: 1px solid rgba(23, 56, 43, 0.08);
  border-radius: 50%;
  box-shadow: 0 0 0 72px rgba(70, 128, 103, 0.035), 0 0 0 144px rgba(70, 128, 103, 0.025);
  pointer-events: none;
}

.drives-editorial-grid {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: calc(90svh - 145px);
  grid-template-columns: minmax(0, 0.8fr) minmax(470px, 1fr);
  align-items: center;
  gap: clamp(38px, 5vw, 76px);
}

.drives-editorial-copy {
  padding-left: clamp(0px, 2vw, 28px);
}

.drives-editorial-copy .eyebrow {
  color: #3f725d;
}

.drives-editorial-copy h1 {
  max-width: 650px;
  margin: 0 0 24px;
  color: #15392b;
  font-size: clamp(3.15rem, 5.15vw, 5.3rem);
  line-height: 0.96;
  letter-spacing: -0.065em;
}

.drives-editorial-copy h1 span {
  display: block;
  color: #3f7b61;
}

.drives-editorial-copy .lead {
  max-width: 610px;
  color: #526b60;
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  line-height: 1.75;
}

.drives-editorial-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 28px;
}

.drives-editorial-tags span {
  padding: 9px 14px;
  border: 1px solid rgba(23, 56, 43, 0.14);
  border-radius: 999px;
  color: #315f4d;
  background: rgba(255, 255, 255, 0.7);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.drives-torn-visual {
  position: relative;
  width: 100%;
  max-width: 760px;
  margin: 0;
  filter: drop-shadow(0 30px 36px rgba(18, 57, 43, 0.24));
}

.drives-torn-paper {
  position: relative;
  height: auto;
  aspect-ratio: 4 / 3;
  padding: clamp(11px, 1vw, 16px);
  overflow: hidden;
  background: #fff;
  clip-path: polygon(
    1% 4%, 6% 1%, 11% 3.5%, 17% 0%, 23% 3%, 29% 0.5%, 35% 3.8%, 41% 0%,
    47% 3.2%, 53% 0.5%, 59% 3.8%, 65% 0%, 71% 3%, 77% 0.5%, 83% 3.7%, 89% 0%, 95% 3.2%, 100% 1%,
    97% 8%, 100% 15%, 97% 22%, 100% 29%, 96.8% 36%, 100% 43%, 97% 50%, 100% 57%,
    96.8% 64%, 100% 71%, 97% 78%, 100% 85%, 96.8% 92%, 99% 100%,
    93% 97%, 87% 100%, 81% 96.8%, 75% 100%, 69% 97%, 63% 100%, 57% 96.7%, 51% 100%,
    45% 97%, 39% 100%, 33% 96.8%, 27% 100%, 21% 97%, 15% 100%, 9% 96.8%, 1% 99%,
    3.2% 92%, 0% 85%, 3% 78%, 0% 71%, 3.2% 64%, 0% 57%, 3% 50%, 0% 43%,
    3.2% 36%, 0% 29%, 3% 22%, 0% 15%, 3% 8%
  );
}

.drives-torn-paper::after {
  content: "";
  position: absolute;
  inset: clamp(11px, 1vw, 16px);
  pointer-events: none;
  box-shadow: inset 0 0 52px rgba(4, 42, 28, 0.2);
  background: linear-gradient(135deg, rgba(7, 52, 36, 0.08), transparent 46%, rgba(7, 52, 36, 0.12));
}

.drives-torn-paper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.82) brightness(0.92);
  transition: transform 700ms ease, filter 400ms ease;
}

.drives-torn-visual:hover .drives-torn-paper img {
  transform: scale(1.018);
  filter: saturate(0.92) brightness(0.97);
}

.drives-torn-visual figcaption {
  position: absolute;
  z-index: 2;
  right: 8%;
  bottom: 10%;
  max-width: 270px;
  padding: 13px 16px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 16px 16px 16px 6px;
  color: #fff;
  background: rgba(8, 43, 30, 0.74);
  box-shadow: 0 16px 36px rgba(4, 28, 19, 0.22);
  backdrop-filter: blur(12px);
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.4;
}

.drives-story-mosaic {
  position: relative;
  display: grid;
  height: clamp(460px, 48vw, 620px);
  margin: 0;
  grid-template-columns: 1.18fr 0.82fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(23, 56, 43, 0.11);
  border-radius: 38px 38px 96px 38px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 30px 76px rgba(23, 56, 43, 0.16);
}

.drives-story-photo {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: #cbdcd2;
}

.drives-story-photo-main {
  grid-row: 1 / -1;
  border-radius: 26px 26px 26px 14px;
}

.drives-story-photo:nth-of-type(2) {
  border-radius: 24px 24px 12px 24px;
}

.drives-story-photo:nth-of-type(3) {
  border-radius: 24px 12px 74px 24px;
}

.drives-story-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
}

.drives-story-photo-main img {
  object-position: 55% center;
}

.drives-story-photo:nth-of-type(2) img {
  object-position: center 62%;
}

.drives-story-photo:nth-of-type(3) img {
  object-position: center 55%;
}

.drives-story-mosaic:hover .drives-story-photo img {
  transform: scale(1.025);
}

.drives-story-mosaic figcaption {
  position: absolute;
  left: 32px;
  bottom: 30px;
  max-width: 260px;
  padding: 14px 17px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 16px 16px 16px 6px;
  color: #fff;
  background: rgba(8, 43, 30, 0.74);
  box-shadow: 0 16px 36px rgba(4, 28, 19, 0.22);
  backdrop-filter: blur(12px);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.4;
}

.drives-proof-bar {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(240px, 1.5fr) repeat(3, minmax(125px, 0.62fr));
  align-items: stretch;
  margin: 20px 0 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 28px 28px 28px 10px;
  background:
    radial-gradient(circle at 88% 18%, rgba(154, 226, 207, 0.17), transparent 17rem),
    linear-gradient(132deg, #174c39 0%, #176054 52%, #1f7168 100%);
  box-shadow: 0 24px 60px rgba(18, 57, 43, 0.2);
}

.drives-proof-intro,
.drives-proof-stat {
  min-height: 118px;
  padding: 22px 24px;
}

.drives-proof-intro {
  display: flex;
  align-items: center;
  gap: 16px;
}

.drives-proof-logo {
  display: grid;
  flex: 0 0 62px;
  width: 62px;
  height: 62px;
  place-items: center;
  padding: 8px;
  border-radius: 18px 18px 18px 6px;
  background: rgba(255, 255, 255, 0.94);
}

.drives-proof-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.drives-proof-intro small,
.drives-proof-intro strong,
.drives-proof-stat strong,
.drives-proof-stat span {
  display: block;
}

.drives-proof-intro small {
  margin-bottom: 4px;
  color: rgba(224, 244, 233, 0.68);
  font-size: 0.63rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.drives-proof-intro strong {
  color: #fff;
  font-size: 1.05rem;
}

.drives-proof-stat {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid rgba(255, 255, 255, 0.11);
}

.drives-proof-stat-primary {
  background: rgba(161, 226, 195, 0.12);
}

.drives-proof-stat strong {
  color: #fff;
  font-size: clamp(2.3rem, 4vw, 3.5rem);
  line-height: 0.9;
  letter-spacing: -0.07em;
}

.drives-proof-stat span {
  margin-top: 10px;
  color: rgba(232, 247, 239, 0.7);
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.drives-page .drives-editorial-content {
  position: relative;
  z-index: 1;
  background:
    radial-gradient(circle at 98% 8%, rgba(56, 146, 126, 0.14), transparent 28rem),
    radial-gradient(circle at 4% 58%, rgba(142, 202, 164, 0.16), transparent 30rem),
    linear-gradient(180deg, #e8f3ed 0%, #f2f7f3 48%, #eaf3ee 100%);
}

.drives-page .drives-editorial-content .filter-button {
  color: #49665a;
  border-color: rgba(23, 56, 43, 0.15);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 24px rgba(23, 56, 43, 0.06);
  backdrop-filter: none;
}

.drives-page .drives-editorial-content .filter-button:hover,
.drives-page .drives-editorial-content .filter-button.is-active {
  color: #fff;
  border-color: #245b45;
  background: #245b45;
}

.drives-page .drives-editorial-content #allDrives .drive-card {
  border: 1px solid rgba(23, 56, 43, 0.1);
  background: #fff;
  box-shadow: 0 20px 50px rgba(23, 56, 43, 0.09);
  cursor: pointer;
}

.drives-page .drives-editorial-content #allDrives .drive-card-body {
  background:
    radial-gradient(circle at 90% 8%, rgba(255, 255, 255, 0.38), transparent 11rem),
    linear-gradient(145deg, rgba(204, 237, 217, 0.78), rgba(225, 243, 232, 0.94));
}

@media (max-width: 1040px) {
  .drives-editorial-grid {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .drives-editorial-copy {
    max-width: 760px;
    padding-left: 0;
  }

  .drives-story-mosaic {
    height: min(72vw, 620px);
  }

  .drives-torn-visual {
    max-width: 760px;
    margin: 0 auto;
  }

  .drives-proof-bar {
    grid-template-columns: 1.4fr repeat(3, 0.7fr);
  }
}

@media (max-width: 760px) {
  .drives-editorial-hero {
    padding: 40px 0 32px;
  }

  .drives-editorial-copy h1 {
    margin-bottom: 18px;
    font-size: clamp(2.62rem, 12vw, 3.8rem);
  }

  .drives-editorial-copy .lead {
    font-size: 0.96rem;
    line-height: 1.62;
  }

  .drives-editorial-tags {
    margin-top: 22px;
  }

  .drives-torn-paper {
    aspect-ratio: 1.18 / 1;
  }

  .drives-torn-visual figcaption {
    right: 8%;
    bottom: 10%;
    max-width: 230px;
    padding: 11px 13px;
    font-size: 0.69rem;
  }

  .drives-story-mosaic {
    height: auto;
    min-height: 560px;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1.4fr 0.72fr;
    border-radius: 28px 28px 68px 28px;
  }

  .drives-story-photo-main {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .drives-story-photo:nth-of-type(3) {
    border-radius: 20px 10px 56px 20px;
  }

  .drives-story-mosaic figcaption {
    left: 26px;
    bottom: 218px;
  }

  .drives-proof-bar {
    grid-template-columns: repeat(3, 1fr);
  }

  .drives-proof-intro {
    grid-column: 1 / -1;
    min-height: 98px;
  }

  .drives-proof-stat {
    min-height: 100px;
    padding: 18px 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.11);
  }
}

@media (max-width: 460px) {
  .drives-editorial-grid {
    gap: 28px;
  }

  .drives-torn-paper {
    aspect-ratio: 1.05 / 1;
    padding: 9px;
  }

  .drives-torn-paper::after {
    inset: 9px;
  }

  .drives-torn-visual figcaption {
    right: 22px;
    bottom: 26px;
    left: 22px;
    max-width: none;
  }

  .drives-story-mosaic {
    min-height: 500px;
    padding: 8px;
    gap: 8px;
  }

  .drives-story-mosaic figcaption {
    left: 20px;
    right: 20px;
    bottom: 192px;
    max-width: none;
  }

  .drives-proof-intro,
  .drives-proof-stat {
    padding: 17px 13px;
  }

  .drives-proof-logo {
    flex-basis: 54px;
    width: 54px;
    height: 54px;
  }

  .drives-proof-stat strong {
    font-size: 2.35rem;
  }

  .drives-proof-stat span {
    font-size: 0.57rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .drives-story-photo img,
  .drives-torn-paper img {
    transition: none;
  }
}
