/* The Next design system lives in next.css. These rules art-direct the
   supplied official portrait, whose 3:4 crop differs from the Next photo. */
#hero {
  background: var(--color-warm-ivory);
  --hero-h1-fs: clamp(2.5rem, 9.8vw, 3.25rem);
  --hero-img-h: 49rem;
  --hero-overlap: 4rem;
}

#hero h1 {
  max-width: 100%;
  line-height: 0.96;
  text-wrap: balance;
}

#hero .hero-ambient picture {
  position: absolute;
  display: block;
  top: 21rem;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
}

#hero .hero-ambient picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 12%;
}

#hero .hero-ambient picture::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to bottom,
    var(--color-warm-ivory) 0%,
    var(--color-warm-ivory) 12%,
    transparent 24%,
    transparent 48%,
    var(--color-warm-ivory) 100%);
}

@media (max-width: 1023px), (orientation: portrait) {
  #hero .hero-ambient picture img {
    animation: official-photo-settle 800ms var(--ease-standard) both;
    transform-origin: 50% 30%;
  }
  @keyframes official-photo-settle {
    from { transform: scale(1.25); }
    to { transform: scale(1.2); }
  }
}

@media (min-width: 1024px) and (orientation: landscape) {
  #hero {
    --hero-h1-fs: clamp(3.1rem, 4.7vw, 5.2rem);
    min-height: 100svh;
  }

  #hero h1 { max-width: min(55vw, 47rem); }

  .site-header p { color: var(--color-white); }
  #hero .hero-ambient picture {
    inset: 0 0 0 auto;
    width: 58%;
  }

  #hero .hero-ambient picture img {
    object-position: 50% 30%;
  }

  #hero .hero-ambient picture::after {
    background:
      linear-gradient(to right,
        var(--color-warm-ivory) 0%,
        color-mix(in srgb, var(--color-warm-ivory) 75%, transparent) 15%,
        transparent 42%),
      linear-gradient(to bottom, transparent 68%, var(--color-warm-ivory) 100%);
  }

  #contrast .contrast__title {
    max-width: min(38vw, 33rem);
    font-size: clamp(3.25rem, 4.05vw, 3.75rem);
  }
}

@media (min-width: 768px) and (orientation: portrait) {
  #hero {
    --hero-h1-fs: clamp(3.4rem, 7.2vw, 4.75rem);
    --hero-img-h: 64rem;
  }
  #hero .hero-ambient picture { top: 27rem; }
}

/* The longer workshop copy keeps the editorial geometry but needs a measured
   reading column and room for the supplied official portrait. */
.v1-pains {
  list-style: none;
  max-width: 39rem;
  padding: 0;
  margin: 2rem 0 0 14%;
}
.v1-pains li {
  border-top: 1px solid var(--surface-border);
  padding: 1rem 0;
  color: var(--on-surface-secondary);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}

.v1-comparison {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-top: 3rem;
  padding-bottom: 5rem;
}
.v1-comparison > div { border-top: 1px solid var(--surface-border); padding-top: 1.5rem; }
.v1-comparison h3 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 400;
  line-height: 1;
  margin: 0 0 1.5rem;
}
.v1-comparison ul { list-style: none; margin: 0; padding: 0; }
.v1-comparison li { padding: .6rem 0; border-bottom: 1px solid var(--surface-border); color: var(--on-surface-secondary); }
@media (min-width: 768px) { .v1-comparison { grid-template-columns: 1fr 1fr; gap: var(--grid-gap); } }

#new-path .np-intro { max-width: 27ch; }
#new-path .np-phase--practice .np-word {
  max-width: 14ch;
  font-size: clamp(2.4rem, 8.5vw, 6rem);
  overflow-wrap: normal;
}
.v1-day-two {
  max-width: 42ch;
  margin: 1.5rem 0 0;
  font-size: var(--fs-body-lg);
  line-height: var(--lh-body);
  color: var(--on-surface-secondary);
}

.v1-included__groups { display: grid; grid-template-columns: 1fr; gap: 3rem; padding-bottom: 6rem; }
.v1-included__groups h3 {
  margin: 0 0 1.5rem;
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
}
.v1-included__groups ul { list-style: none; margin: 0; padding: 0; }
.v1-included__groups li {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 1rem;
  border-top: 1px solid var(--surface-border);
  padding: 1.25rem 0 1.75rem;
}
.v1-included__groups li > span { font-size: var(--fs-caption); color: var(--on-surface-muted); }
.v1-included__groups h4 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  line-height: 1.05;
  font-weight: 400;
  margin: 0 0 .75rem;
}
.v1-included__groups li p { max-width: 40ch; margin: 0; color: var(--on-surface-secondary); line-height: var(--lh-body); }
@media (min-width: 920px) { .v1-included__groups { grid-template-columns: 1fr 1fr; gap: clamp(3rem, 8vw, 8rem); } }

.v1-authority-extra { max-width: 37ch; margin: 1rem 0 0; color: var(--on-surface-secondary); line-height: var(--lh-body); }
.v1-offer-note { grid-column: 1 / -1; max-width: 50ch; margin: 1rem 0 0; color: var(--on-surface-secondary); line-height: var(--lh-body); }
.v1-footer { background: var(--color-espresso); color: var(--color-sand); padding: 3rem 0 calc(3rem + var(--purchase-bar-h)); }
.v1-footer p { max-width: 80ch; font-size: var(--fs-body-sm); line-height: var(--lh-body); }
.v1-footer .max-w-xl > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; border-top: 1px solid rgba(255,255,255,.2); margin-top: 2rem; padding-top: 1rem; font-size: var(--fs-caption); }
.v1-footer nav { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.v1-footer a:hover { color: var(--color-white); text-decoration: underline; }

#offer .conversion-cta:disabled {
  cursor: not-allowed;
  opacity: .7;
}

@media (prefers-reduced-motion: reduce) {
  #hero .hero-ambient > div:first-child { transform: none !important; }
  #hero .hero-ambient picture img {
    animation: none !important;
    transform: scale(1.2);
  }
}
