/**
 * Home 2026 accents  -  editorial hero, path chooser, journey list
 * Loads WITH styles.css (original playful brand system).
 * Gradients, organic motion stay in styles.css / wagn-motion.
 */

/* -------------------------------------------------------------------------- */
/* Editorial hero  -  lifestyle first, no path lanes in viewport                */
/* -------------------------------------------------------------------------- */

.hero--editorial {
  position: relative;
  min-height: min(88vh, 52rem);
  display: grid;
  align-items: end;
  text-align: left;
  overflow: clip;
  padding-bottom: clamp(2rem, 4vw, 3rem);
}

.hero--editorial > .container,
.hero--editorial .hero__content {
  position: relative;
  z-index: 2;
}

.hero--editorial .hero__content {
  display: grid;
  gap: 0;
  padding-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.hero--editorial .hero__copy {
  max-width: 20ch;
}

.hero--editorial .hero__title {
  margin-inline: 0;
  max-width: 14ch;
}

.hero--editorial .hero__lede {
  margin-inline: 0;
}

.hero--editorial .hero__actions {
  justify-content: flex-start;
  margin-top: 1.35rem;
}

.hero--editorial .hero__media {
  position: absolute;
  inset: 10% -6% -10% 36%;
  z-index: 0;
  border-radius: 2.5rem 0 0 2.5rem;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(43, 33, 64, 0.14);
  pointer-events: none;
}

.hero--editorial .hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, var(--cream, #f7f4ee) 0%, transparent 32%);
  opacity: 0.88;
}

.hero--editorial .hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  display: block;
}

.hero--editorial .hero__route {
  width: min(100%, 18rem);
  margin: 1.35rem 0 0;
  padding: 0;
  overflow: visible;
  opacity: 0.82;
}

.hero--editorial .hero__route .wnt-road__svg {
  display: block;
  width: 100%;
  height: auto;
  color: var(--purple);
}

.hero--editorial .hero__route .wnt-road__path {
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .hero--editorial .hero__route .wnt-road__path {
    stroke-dashoffset: 1;
    animation: hero-route-draw 1.4s var(--ease-editorial, cubic-bezier(0.16, 1, 0.3,  1)) 0.35s forwards;
  }
}

@keyframes hero-route-draw {
  to {
    stroke-dashoffset: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero--editorial .hero__route .wnt-road__path {
    stroke-dashoffset: 0;
    animation: none;
  }
}

.hero--editorial .hero__sticker {
  position: absolute;
  right: max(1.25rem, calc(50% - 34rem));
  bottom: 22%;
  z-index: 3;
}

@media (min-width: 1024px) {
  body.wagn-home .hero--editorial > .container,
  body.wagn-home .hero--editorial .hero__content {
    text-align: left !important;
  }

  body.wagn-home .hero--editorial .hero__brand,
  body.wagn-home .hero--editorial .hero__title,
  body.wagn-home .hero--editorial .hero__lede {
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  body.wagn-home .hero--editorial .hero__actions {
    justify-content: flex-start !important;
  }
}

@media (max-width: 1023px) {
  .hero--editorial {
    text-align: center;
    align-items: start;
    min-height: min(92vh, 48rem);
  }

  body.wagn-home .hero--editorial .hero__copy {
    max-width: none;
    margin-inline: auto;
  }

  body.wagn-home .hero--editorial .hero__title,
  body.wagn-home .hero--editorial .hero__lede {
    margin-inline: auto !important;
  }

  body.wagn-home .hero--editorial .hero__actions {
    justify-content: center !important;
  }

  .hero--editorial .hero__route {
    margin-inline: auto;
  }

  .hero--editorial .hero__media {
    inset: auto 0 0 0;
    height: 42%;
    border-radius: 2.5rem 2.5rem 0 0;
  }

  .hero--editorial .hero__media::after {
    background: linear-gradient(180deg, var(--cream, #f7f4ee) 0%, transparent 42%);
  }

  .hero--editorial .hero__content {
    padding-bottom: 46%;
  }

  .hero--editorial .hero__sticker {
    right: 1.25rem;
    bottom: 38%;
    transform: scale(0.88);
  }
}

@media (max-width: 479px) {
  .hero--editorial .hero__sticker {
    display: none;
  }
}

/* Brand wordmark above the gradient H1 */
.hero__brand {
  margin: 0 0 0.65rem;
  color: var(--purple);
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

.hero__title {
  max-width: 16ch;
}

/* -------------------------------------------------------------------------- */
/* Chapter 2  -  path chooser (moved from hero)                                 */
/* -------------------------------------------------------------------------- */

.home-path {
  position: relative;
  background: var(--cream, #f7f4ee);
  padding-block: clamp(2rem, 4vw, 3.25rem);
}

/* Tighten hero → path wave on desktop so freedom title sits closer */
@media (min-width: 900px) {
  body.wagn-home .hero + .wave.wave--overlap {
    margin-top: clamp(-2.5rem, -4.5vw, -1.75rem);
  }

  body.wagn-home .hero + .wave.wave--tall svg {
    height: clamp(40px, 5vw, 64px);
  }
}

.home-path__header {
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.home-path .wnt-section-heading__title {
  color: var(--purple-deep, var(--purple));
  font-family: var(--font-heading);
  font-size: clamp(1.625rem, 2.4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.15;
}

.home-path .wnt-section-heading__text {
  color: var(--ink-muted);
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  line-height: 1.5;
}

.home-path .hero-lanes {
  margin-top: 0;
  max-width: 980px;
}

@media (min-width: 800px) {
  .home-path .hero-lane--vet {
    transform: translateY(1.1rem);
  }

  .home-path .hero-lane--vet:hover,
  .home-path .hero-lane--vet:focus-visible {
    transform: translateY(calc(1.1rem - 5px)) scale(1.015);
  }
}

@media (max-width: 799px) {
  .home-path .hero-lane--vet {
    transform: none;
  }
}

/* -------------------------------------------------------------------------- */
/* Journey  -  editorial linked rows (not icon tiles)                           */
/* -------------------------------------------------------------------------- */

.journey-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 46rem;
  margin-inline: auto;
  border-top: 1px solid var(--line);
}

.journey-list--linked .journey-list__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition:
    color 0.22s var(--ease),
    border-color 0.22s var(--ease);
}

.journey-list__ico {
  flex-shrink: 0;
  width: 2.35rem;
  height: 2.35rem;
  background: transparent var(--journey-ico) center / contain no-repeat;
}

.journey-list__row-main {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
  flex: 1;
}

.journey-list--linked .journey-list__row:hover,
.journey-list--linked .journey-list__row:focus-visible {
  color: var(--purple);
  outline: none;
}

.journey-list__copy {
  display: grid;
  gap: 0.35rem;
  text-align: left;
}

.journey-list__copy h3 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.125rem, 1.6vw, 1.35rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--purple-deep, var(--purple));
}

.journey-list__copy p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 1rem;
  line-height: 1.55;
  max-width: 52ch;
}

.journey-list__arrow {
  flex-shrink: 0;
  color: var(--aqua-deep, #3d8f86);
  font-size: 1.2rem;
  line-height: 1;
  transition: transform 0.22s var(--ease);
}

.journey-list__row:hover .journey-list__arrow,
.journey-list__row:focus-visible .journey-list__arrow {
  transform: translateX(3px);
}

@media (prefers-reduced-motion: reduce) {
  .journey-list__row:hover .journey-list__arrow,
  .journey-list__row:focus-visible .journey-list__arrow {
    transform: none;
  }
}

/* Journey section  -  calmer editorial field */
.section.journey {
  background: var(--white);
  padding-block: clamp(1.75rem, 3.5vw, 2.75rem);
}

/* -------------------------------------------------------------------------- */
/* Quantum cinematic spotlight                                                */
/* -------------------------------------------------------------------------- */

.wnt26-quantum {
  position: relative;
  overflow: visible;
  text-align: center;
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
  background:
    radial-gradient(ellipse 70% 55% at 18% 20%, rgba(96, 51, 135, 0.14), transparent 62%),
    radial-gradient(ellipse 65% 50% at 88% 10%, rgba(138, 214, 204, 0.35), transparent 60%),
    radial-gradient(ellipse 50% 40% at 50% 100%, rgba(96, 51, 135, 0.08), transparent 65%),
    linear-gradient(180deg, #ffffff 0%, #f7f4ee 48%, #eef8f6 100%);
}

.wnt26-quantum__eyebrow {
  margin: 0 0 0.5rem;
  color: var(--aqua-deep, #3d8f86);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.wnt26-quantum__name {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(3.75rem, 16vw, 9.5rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.88;
  text-transform: uppercase;
}

.wnt26-quantum__meta {
  margin: 0.85rem 0 0;
  color: var(--ink-muted);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.wnt26-quantum__stage {
  position: relative;
  width: 100%;
  max-width: 1180px;
  margin: clamp(1.25rem, 3vw, 2rem) auto 0;
  aspect-ratio: 21 / 9;
  min-height: 12rem;
  overflow: visible;
}

.wnt26-quantum__van {
  position: absolute;
  left: 50%;
  bottom: -6%;
  width: min(118%, 72rem);
  max-width: none;
  height: auto;
  transform: translateX(-50%) translateY(var(--wnt26-van-shift, 0px)) rotate(-1.75deg) scale(1.04);
  filter: drop-shadow(0 28px 48px rgba(58, 26, 92, 0.22));
  pointer-events: none;
  will-change: transform;
}

@media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
  .wnt26-quantum__van {
    animation: wnt26-quantum-float 7.5s var(--ease-soft, ease-in-out) infinite;
  }
}

@keyframes wnt26-quantum-float {
  0%,
  100% {
    transform: translateX(-50%) translateY(var(--wnt26-van-shift, 0px)) rotate(-1.75deg) scale(1.04);
  }
  50% {
    transform: translateX(-50%) translateY(calc(var(--wnt26-van-shift, 0px) - 0.55rem)) rotate(-1.1deg) scale(1.05);
  }
}

.wnt26-quantum__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 1.5rem;
  margin-top: clamp(1.75rem, 4vw, 2.75rem);
  text-align: center;
}

@media (min-width: 720px) {
  .wnt26-quantum__footer {
    justify-content: space-between;
    text-align: left;
  }
}

.wnt26-quantum__tagline {
  margin: 0;
  color: var(--purple);
  font-family: var(--font-heading);
  font-size: clamp(1.65rem, 3.8vw, 2.65rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

@media (prefers-reduced-motion: reduce) {
  .wnt26-quantum__van {
    animation: none;
    transform: translateX(-50%);
  }
}

/* -------------------------------------------------------------------------- */
/* CleanPower Endura  -  full-bleed cinematic spotlight                         */
/* Left/bottom cream stack over soft navy scrim; photo stays dominant on right. */
/* Selectors beat body.wagn-home h2 (purple) + chrome purple CTA rules.         */
/* -------------------------------------------------------------------------- */

body.wagn-home .wnt26-feature {
  position: relative;
  padding: 0;
  background: #14101c;
  overflow: hidden;
  text-align: left;
}

body.wagn-home .wnt26-feature__frame {
  position: relative;
  isolation: isolate;
  min-height: clamp(30rem, 68vh, 42rem);
  display: flex;
  align-items: stretch;
}

body.wagn-home .wnt26-feature__picture,
body.wagn-home .wnt26-feature__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  display: block;
}

body.wagn-home .wnt26-feature__media {
  object-fit: cover;
  object-position: 62% 40%;
  transform: scale(1.05) translate3d(0, var(--wnt26-feature-shift, 0px), 0);
  will-change: transform;
}

/* Soft left + bottom navy scrim  -  keep bay / figure readable on the right */
body.wagn-home .wnt26-feature__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      95deg,
      rgba(20, 16, 28, 0.9) 0%,
      rgba(20, 16, 28, 0.72) 24%,
      rgba(20, 16, 28, 0.32) 48%,
      rgba(20, 16, 28, 0.08) 68%,
      transparent 82%
    ),
    linear-gradient(
      180deg,
      transparent 0%,
      transparent 42%,
      rgba(20, 16, 28, 0.45) 72%,
      rgba(20, 16, 28, 0.78) 100%
    );
}

body.wagn-home .wnt26-feature__content {
  position: relative;
  z-index: 2;
  width: min(100% - (2 * var(--page-gutter, 1.5rem)), var(--container, 1120px));
  margin-inline: auto;
  padding: clamp(2.25rem, 5.5vw, 4rem) 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 0.55rem;
  min-height: inherit;
  text-align: left;
  box-sizing: border-box;
}

body.wagn-home .wnt26-feature__eyebrow,
body.wagn-home .wnt26-feature__meta,
body.wagn-home .wnt26-feature__tagline {
  margin: 0;
}

body.wagn-home .wnt26-feature__eyebrow {
  color: var(--aqua-bright, #6fe0d2);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Solid cream product name  -  never purple / never see-through */
body.wagn-home .wnt26-feature__name {
  margin: 0;
  max-width: 8ch;
  color: var(--cream, #f7f4ee);
  -webkit-text-fill-color: var(--cream, #f7f4ee);
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  font-family: var(--font-heading);
  font-size: clamp(2.85rem, 8.5vw, 5.75rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.92;
  text-transform: uppercase;
  opacity: 1;
  mix-blend-mode: normal;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.4);
}

body.wagn-home .wnt26-feature__meta {
  color: rgba(247, 244, 238, 0.82);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.035em;
  line-height: 1.4;
  max-width: 34ch;
}

body.wagn-home .wnt26-feature__tagline {
  margin-top: 0.55rem;
  color: var(--cream, #f7f4ee);
  -webkit-text-fill-color: var(--cream, #f7f4ee);
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  max-width: 16ch;
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.28);
}

body.wagn-home .wnt26-feature__cta {
  margin-top: 0.85rem;
}

/* Aqua primary CTA  -  beat chrome purple filled-button rules */
body.wagn-home .wnt26-feature a.btn--primary,
body.wagn-home .wnt26-feature a.btn--primary:link,
body.wagn-home .wnt26-feature a.btn--primary:visited,
body.wagn-home .wnt26-feature .btn--primary {
  background: var(--aqua, #8ad6cc);
  color: var(--aqua-deep, #3d8f86) !important;
  border-color: transparent;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.22) inset, 0 10px 22px rgba(0, 0, 0, 0.22);
}

body.wagn-home .wnt26-feature a.btn--primary:hover,
body.wagn-home .wnt26-feature a.btn--primary:focus,
body.wagn-home .wnt26-feature a.btn--primary:focus-visible,
body.wagn-home .wnt26-feature .btn--primary:hover,
body.wagn-home .wnt26-feature .btn--primary:focus,
body.wagn-home .wnt26-feature .btn--primary:focus-visible {
  background: var(--aqua-bright, #6fe0d2);
  color: var(--navy, #2b2140) !important;
  border-color: transparent;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.28) inset, 0 14px 28px rgba(0, 0, 0, 0.28);
}

@media (max-width: 719px) {
  body.wagn-home .wnt26-feature__frame {
    min-height: clamp(34rem, 118vw, 42rem);
  }

  body.wagn-home .wnt26-feature__media {
    object-position: 70% 38%;
  }

  body.wagn-home .wnt26-feature__scrim {
    background:
      linear-gradient(
        180deg,
        rgba(20, 16, 28, 0.2) 0%,
        rgba(20, 16, 28, 0.42) 36%,
        rgba(20, 16, 28, 0.82) 68%,
        rgba(20, 16, 28, 0.92) 100%
      ),
      linear-gradient(
        90deg,
        rgba(20, 16, 28, 0.55) 0%,
        rgba(20, 16, 28, 0.2) 55%,
        transparent 100%
      );
  }

  body.wagn-home .wnt26-feature__content {
    width: min(100% - (2 * var(--page-gutter, 1.25rem)), var(--container, 1120px));
    padding-block: clamp(2rem, 8vw, 3rem);
  }

  body.wagn-home .wnt26-feature__name {
    font-size: clamp(2.75rem, 16vw, 4.25rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.wagn-home .wnt26-feature__media {
    transform: none;
    will-change: auto;
  }
}
