/* PeachWeb-inspired editorial — Rommy palette */

@font-face {
  font-display: swap;
  font-family: "Lato 8";
  src: url("Lato-BoldItalic.woff2") format("woff2"), url("Lato-BoldItalic.woff") format("woff");
  font-weight: 700;
  font-style: italic;
}

:root {
  --purple: #1800ad;
  --purple-deep: #12007a;
  --white: #fff;
  --tint: #f7f6fb;
  --muted: #b8c8d2;
  --text-on-light: #1800ad;
  --text-on-dark: #fff;
  --max: 76rem;
  --header-h: 4.5rem;
  --sans: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Geneva, Verdana, sans-serif;
  --serif: Palatino, "Palatino Linotype", "Palatino LT STD", "Book Antiqua", Georgia, serif;
  --serif-italic: Georgia, "Times New Roman", Times, serif;
  --section-y: clamp(5rem, 14vh, 9rem);
  --section-x: clamp(1.5rem, 5vw, 4.5rem);
  --band-y: clamp(4rem, 10vh, 7rem);
  --box-shadow: 0 4px 24px rgba(24, 0, 173, 0.07);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text-on-light);
  background: var(--tint);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.site {
  overflow-x: clip;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  padding: 0.5rem 1rem;
  background: var(--purple);
  color: var(--white);
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}


/* —— Fixed header (Garri-style) —— */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  padding: 0 var(--section-x);
  background: transparent;
  transition: background 0.35s var(--ease), backdrop-filter 0.35s var(--ease);
}

.site-header--solid {
  background: rgba(247, 246, 251, 0.92);
  backdrop-filter: blur(12px);
}

.site-header__logo {
  font-family: var(--sans);
  font-size: clamp(0.95rem, 1.4vw, 1.15rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--purple);
}

.site-header__logo em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
}

.site-header__nav {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.25rem);
}

.site-header__link {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--purple);
  opacity: 0.75;
  white-space: nowrap;
  max-width: 12rem;
  overflow: hidden;
  transition: opacity 0.3s var(--ease), max-width 0.35s var(--ease), visibility 0.3s;
}

.site-header__link:hover {
  opacity: 1;
}

.site-header__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.1rem;
  border: 2px solid var(--purple);
  border-radius: 999px;
  background: var(--purple);
  color: var(--white);
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: opacity 0.2s ease, background 0.2s ease;
}

.site-header__cta:hover {
  opacity: 0.88;
}

.site-header__cta:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 3px;
}

.site-header--scrolled .site-header__link {
  opacity: 0;
  visibility: hidden;
  max-width: 0;
  pointer-events: none;
}

/* —— Layout primitives —— */

.pw-wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--section-x);
  padding-right: var(--section-x);
}

.pw-wrap--narrow {
  max-width: 52rem;
}

.pw-panel {
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
}

.pw-panel--light {
  background: var(--white);
  color: var(--text-on-light);
}

.pw-panel--tint {
  background: var(--tint);
  color: var(--text-on-light);
}

.pw-panel--dark {
  background: var(--purple);
  color: var(--text-on-dark);
}

.pw-label {
  margin: 0 0 1.25rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.65;
}

.pw-label--center {
  text-align: center;
}

.pw-label--on-dark {
  color: var(--white);
  opacity: 0.55;
}

.pw-display {
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(2.25rem, 5.8vw, 4.75rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.045em;
  color: var(--purple);
}

.pw-display--sm {
  font-size: clamp(1.85rem, 4.2vw, 3.5rem);
  line-height: 1.06;
}

.pw-display--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.pw-display--on-dark {
  color: var(--white);
}

.pw-display--statement {
  font-size: clamp(1.35rem, 3vw, 2.25rem);
  max-width: 42rem;
  margin: 0 auto;
  text-align: center;
  line-height: 1.25;
}

.pw-display em,
.pw-program-intro__tagline em,
.pw-stats__quote em,
.pw-pullquote em,
.pw-hero h1 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.pw-hero h1 em {
  font-family: "Lato 8", var(--serif);
  font-weight: 700;
}

.pw-prose {
  font-size: clamp(0.95rem, 1.1vw, 1.08rem);
  line-height: 1.65;
  color: var(--purple);
}

.pw-prose p {
  margin: 0 0 1.15em;
}

.pw-prose p:last-child {
  margin-bottom: 0;
}

.pw-prose--center {
  max-width: 40rem;
  margin: 0 auto;
  text-align: center;
}

.pw-lead {
  font-family: var(--serif-italic);
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  font-style: italic;
  line-height: 1.45;
}

/* —— Hero —— */

.pw-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header-h) + 2rem) var(--section-x) 4rem;
  background: var(--tint);
  overflow: hidden;
}

.pw-hero__visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: transparent;
}

.pw-hero__visual-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.5;
  background: transparent;
}

.pw-hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-top: 2rem;
}

.pw-hero__lead {
  margin: 1.75rem auto 0;
  max-width: 34rem;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  line-height: 1.5;
  color: var(--purple);
  opacity: 0.82;
}

.pw-hero__credit {
  margin: 2.5rem 0 0;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.5;
}

/* —— Two-column split —— */

.pw-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}

.pw-split__main .pw-label {
  margin-bottom: 1rem;
}

.pw-split__main .pw-display {
  max-width: 14ch;
}

/* —— Program intro + banner —— */

.pw-program-intro {
  background: var(--purple);
}

.pw-program-intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  min-height: clamp(22rem, 48vw, 38rem);
}

.pw-program-intro__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3rem, 8vw, 6rem) clamp(1.5rem, 5vw, 4.5rem);
  color: var(--white);
}

.pw-program-intro__tagline {
  margin: 0 0 2rem;
  font-family: var(--serif-italic);
  font-size: clamp(1.05rem, 1.7vw, 1.45rem);
  font-style: italic;
  line-height: 1.45;
  color: var(--white);
  opacity: 0.9;
}

.pw-program-intro__by {
  margin: 0;
  font-size: 0.95rem;
  color: var(--white);
  opacity: 0.75;
}

.pw-program-intro__by strong {
  display: block;
  margin-top: 0.35rem;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2vw, 1.65rem);
  font-weight: 700;
  opacity: 1;
}

.pw-program-intro__media {
  line-height: 0;
  min-height: clamp(18rem, 40vw, 38rem);
}

.pw-program-intro__media img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: center;
}

/* —— Stats —— */

.pw-stats__layout {
  position: relative;
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
  min-height: clamp(36rem, 70vw, 52rem);
  padding-block: clamp(2.5rem, 6vw, 4rem);
}

.pw-stats__card {
  --orbit: clamp(17.5rem, 34vw, 26rem);
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: max-content;
  max-width: min(14.5rem, 34vw);
  margin: 0;
  padding: 0.45rem 0.85rem;
  background: var(--white);
  border-radius: 0.55rem;
  box-shadow: var(--box-shadow);
  text-align: center;
  line-height: 1.35;
  transform: translate(-50%, -50%) rotate(var(--angle)) translateY(calc(-1 * var(--orbit))) rotate(calc(-1 * var(--angle)));
}

.pw-stats__card--1 {
  --orbit: clamp(14rem, 27vw, 21rem);
}

.pw-stats__card--3,
.pw-stats__card--6 {
  --orbit: clamp(13.25rem, 25vw, 19.5rem);
}

.pw-stats__bottom-pair {
  --pair-gap: clamp(0.85rem, 2vw, 1.25rem);
  --pair-orbit: clamp(13.25rem, 25vw, 19.5rem);
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: var(--pair-gap);
  transform:
    translate(-50%, -50%)
    rotate(205.714deg)
    translateY(calc(-1 * var(--pair-orbit)))
    rotate(-205.714deg)
    translate(-3cm, -1cm)
    translateX(calc((100% + var(--pair-gap)) / 4));
}

.pw-stats__bottom-pair .pw-stats__card {
  position: static;
  transform: none;
  max-width: min(14.5rem, 34vw);
}

.pw-stats__bottom-pair .pw-stats__card--4 {
  transform: translateX(8cm);
}

.pw-stats__card--1 { --angle: 0deg; }
.pw-stats__card--2 { --angle: 51.429deg; }
.pw-stats__card--3 { --angle: 102.857deg; }
.pw-stats__card--6 { --angle: 257.143deg; }
.pw-stats__card--7 { --angle: 308.571deg; }

.pw-stats__card--6 {
  transform:
    translate(-50%, -50%)
    rotate(var(--angle))
    translateY(calc(-1 * var(--orbit)))
    rotate(calc(-1 * var(--angle)))
    translate(-5cm, -3cm);
}

.pw-stats__card--3 {
  transform:
    translate(-50%, -50%)
    rotate(var(--angle))
    translateY(calc(-1 * var(--orbit)))
    rotate(calc(-1 * var(--angle)))
    translate(5cm, -3cm);
}

.pw-stats__num {
  display: inline;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(0.78rem, 0.95vw, 0.88rem);
  font-weight: 700;
  line-height: 1.35;
}

.pw-stats__num::after {
  content: " ";
}

.pw-stats__label {
  display: inline;
  margin: 0;
  font-size: clamp(0.72rem, 0.85vw, 0.8rem);
  line-height: 1.35;
  color: var(--text-on-light);
}

.pw-stats__quote-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  transform: translate(-50%, -50%);
  width: min(42rem, 85%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pw-stats__bubbles {
  position: absolute;
  inset: -35% -45%;
  z-index: 0;
  width: 190%;
  height: 190%;
  pointer-events: none;
  opacity: 0.65;
}

.pw-stats__quote {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: clamp(0.5rem, 2vw, 1rem);
  border: 0;
  width: min(36rem, 100%);
  text-align: center;
}

.pw-stats__quote p {
  margin: 0 0 0.25em;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 3vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 400;
}

@media (prefers-reduced-motion: reduce) {
  .pw-stats__bubbles {
    display: none;
  }
}

/* —— Meet interlude (full-viewport Garri-style) —— */

.pw-interlude {
  color: var(--white);
}

.pw-panel--statement {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(18rem, 36vh, 24rem);
  padding-top: var(--band-y);
  padding-bottom: var(--band-y);
  box-sizing: border-box;
}

.pw-panel--statement > .pw-wrap {
  width: 100%;
}

.pw-interlude__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  text-align: center;
  gap: 0.05em;
}

.pw-interlude__small {
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.55;
}

.pw-interlude__large {
  font-family: var(--sans);
  font-size: clamp(2.25rem, 5.8vw, 4.75rem);
  line-height: 1.02;
  font-weight: 500;
  letter-spacing: -0.045em;
}

/* —— About (photo + text) —— */

.pw-about {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}

.pw-about__photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border-radius: clamp(0.75rem, 1.4vw, 1.15rem);
  box-shadow: var(--box-shadow);
}

.pw-about__lead {
  font-family: var(--serif-italic);
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  font-style: italic;
  line-height: 1.45;
}

/* —— Credentials grid —— */

.pw-creds {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.5vw, 2rem);
  align-items: start;
}

.pw-cred {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.75rem;
  padding: 1.1rem 1rem;
  background: var(--white);
  border: 1px solid rgba(24, 0, 173, 0.08);
  border-radius: clamp(0.75rem, 1.4vw, 1.15rem);
  box-shadow: var(--box-shadow);
}

.pw-cred__logo {
  flex: 0 0 4.25rem;
  width: 100%;
  height: 4.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pw-cred__logo img {
  display: block;
  max-height: 100%;
  max-width: 90%;
  width: auto;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
  object-position: center;
}

.pw-cred--logo-sm .pw-cred__logo img {
  max-width: 58%;
  max-height: 58%;
}

.pw-cred--logo-lg .pw-cred__logo img {
  max-width: 100%;
}

.pw-cred__title {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0;
  font-size: clamp(0.62rem, 0.9vw, 0.75rem);
  font-weight: 600;
  line-height: 1.3;
}

/* —— Statement band —— */

.pw-statement {
  text-align: center;
}

/* —— Challenge (01 two-col) —— */

.pw-challenge {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: start;
}

.pw-challenge__intro .pw-display {
  max-width: none;
}

.pw-pair-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pw-pair-list__item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1rem, 2.5vw, 2rem);
  align-items: baseline;
  padding: clamp(1.15rem, 2.5vw, 1.65rem) 0;
  border-top: 1px solid rgba(24, 0, 173, 0.12);
}

.pw-pair-list__item:last-child {
  border-bottom: 1px solid rgba(24, 0, 173, 0.12);
}

.pw-pair-list__q {
  font-family: var(--serif);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 700;
  line-height: 1.25;
}

.pw-pair-list__a {
  font-size: clamp(0.88rem, 1vw, 1rem);
  opacity: 0.72;
}

/* —— Pull quote —— */

.pw-pullquote {
  margin: 0;
  padding: 0;
  border: 0;
  text-align: center;
}

.pw-pullquote p {
  margin: 0 0 0.5em;
  font-family: var(--serif);
  font-size: clamp(1.4rem, 3vw, 2.65rem);
  font-style: italic;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--white);
}

.pw-pullquote p:last-child {
  margin-bottom: 0;
}

/* —— Media blocks —— */

.pw-media {
  margin: clamp(2rem, 4vw, 3rem) auto;
  max-width: 54rem;
}

.pw-media img {
  width: 100%;
  border-radius: clamp(0.75rem, 1.4vw, 1.15rem);
  box-shadow: var(--box-shadow);
}

.pw-media--transparent img,
.pw-media--transparent video {
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

.pw-media--transparent {
  background: transparent;
}

.pw-approach-video {
  display: block;
  width: 100%;
  background: transparent;
}

/* —— Four pillars expand cards —— */

.pw-pillars-section .pw-display {
  margin-bottom: clamp(2rem, 4.5vw, 3.25rem);
}

.pw-pillars-section__lead {
  margin-bottom: 0;
}

.pw-pillars-section__outro {
  margin-top: clamp(2rem, 4vw, 3rem);
}

.pw-pillars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.65rem, 1.2vw, 0.85rem);
  align-items: start;
  margin-top: clamp(2rem, 4vw, 3rem);
}

.pw-pillar {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  background: var(--white);
  border: 1px solid rgba(24, 0, 173, 0.08);
  border-radius: clamp(0.75rem, 1.4vw, 1.15rem);
  box-shadow: var(--box-shadow);
  overflow: hidden;
  cursor: default;
  scroll-margin: calc(var(--header-h) + 1.5rem) 1rem;
  transition:
    box-shadow 0.4s var(--ease),
    transform 0.4s var(--ease);
}

.pw-pillar:not(.is-open) {
  height: clamp(9rem, 14vw, 11rem);
}

.pw-pillar__head {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: clamp(0.85rem, 1.5vw, 1rem);
  background: var(--purple);
  color: var(--white);
  transition:
    padding 0.4s var(--ease),
    flex 0.45s var(--ease);
}

.pw-pillar:not(.is-open) .pw-pillar__head {
  flex: 1 1 auto;
  justify-content: flex-end;
}

.pw-pillar:nth-child(2) .pw-pillar__head {
  background: #1f0bbd;
}

.pw-pillar:nth-child(3) .pw-pillar__head {
  background: #2614c9;
}

.pw-pillar:nth-child(4) .pw-pillar__head {
  background: #2e1ad4;
}

.pw-pillar__code {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  opacity: 0.75;
}

.pw-pillar__name {
  margin: 0.55rem 0 0;
  font-family: var(--serif);
  font-size: clamp(0.92rem, 1.15vw, 1.08rem);
  font-weight: 400;
  line-height: 1.28;
  color: var(--white);
  transition: font-size 0.4s var(--ease), margin 0.4s var(--ease);
}

.pw-pillar.is-open .pw-pillar__head {
  padding: clamp(0.6rem, 1.1vw, 0.75rem) clamp(0.85rem, 1.6vw, 1rem);
}

.pw-pillar.is-open .pw-pillar__name {
  margin-top: 0.35rem;
  font-size: clamp(0.82rem, 1vw, 0.95rem);
}

.pw-pillar__detail {
  flex: 0 0 0;
  min-height: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  padding: 0 clamp(0.85rem, 1.6vw, 1rem);
  font-size: clamp(0.78rem, 0.9vw, 0.86rem);
  line-height: 1.55;
  color: var(--purple);
  transition:
    flex 0.5s var(--ease),
    max-height 0.55s var(--ease),
    opacity 0.35s var(--ease),
    padding 0.4s var(--ease);
}

.pw-pillar__intro {
  margin: 0 0 0.85em;
}

.pw-pillar__intro:last-of-type {
  margin-bottom: 0.85em;
}

.pw-pillar__block {
  margin-bottom: 0.85em;
}

.pw-pillar__block--strong {
  padding-top: 0.65em;
  border-top: 1px solid rgba(24, 0, 173, 0.1);
}

.pw-pillar__label {
  margin: 0 0 0.45em;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.72;
}

.pw-pillar__detail ul {
  margin: 0;
  padding-left: 1rem;
}

.pw-pillar__detail li + li {
  margin-top: 0.3em;
}

@media (hover: hover) {
  .pw-pillar:hover {
    z-index: 5;
    transform: translateY(-6px);
    box-shadow: 0 18px 52px rgba(24, 0, 173, 0.14);
  }
}

.pw-pillar.is-open {
  z-index: 5;
  transform: translateY(-6px);
  box-shadow: 0 18px 52px rgba(24, 0, 173, 0.14);
}

.pw-pillar.is-open .pw-pillar__detail {
  flex: 1 1 auto;
  max-height: none;
  opacity: 1;
  overflow-y: auto;
  padding: clamp(0.75rem, 1.4vw, 0.9rem) clamp(0.85rem, 1.6vw, 1rem) clamp(0.85rem, 1.6vw, 1rem);
}

@media (max-width: 900px) {
  .pw-pillars {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  .pw-pillar {
    cursor: pointer;
  }

  .pw-pillar:not(.is-open) {
    height: 9rem;
  }

  .pw-pillar.is-open .pw-pillar__head {
    padding: 0.55rem 0.85rem;
  }
}

@media (max-width: 520px) {
  .pw-pillars {
    grid-template-columns: 1fr;
    max-width: 20rem;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pw-pillar__detail {
    max-height: none;
    opacity: 1;
    padding: clamp(0.85rem, 1.6vw, 1rem);
  }

  .pw-pillar__head {
    min-height: auto;
  }
}

/* —— Program includes timeline —— */

.pw-timeline {
  position: relative;
  max-width: 42rem;
  margin: clamp(2.5rem, 5vw, 3.5rem) auto 0;
  padding-left: clamp(2.75rem, 5vw, 3.5rem);
}

.pw-timeline__rail {
  position: absolute;
  left: clamp(0.85rem, 1.8vw, 1.1rem);
  top: 0.35rem;
  bottom: 0.35rem;
  width: 2px;
}

.pw-timeline__line {
  position: absolute;
  inset: 0;
  background: rgba(24, 0, 173, 0.12);
  border-radius: 2px;
}

.pw-timeline__progress {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: var(--purple);
  border-radius: 2px;
  transition: height 0.75s var(--ease);
}

.pw-timeline__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(1.35rem, 2.8vw, 2rem);
}

.pw-timeline__item {
  position: relative;
  opacity: 0;
  transform: translateY(1.75rem);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}

.pw-timeline__item.is-visible {
  opacity: 1;
  transform: none;
}

.pw-timeline__step {
  position: absolute;
  left: calc(-1 * clamp(2.75rem, 5vw, 3.5rem) + clamp(0.85rem, 1.8vw, 1.1rem) - 0.72rem);
  top: 0.2rem;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.45rem;
  height: 1.45rem;
  border: 2px solid rgba(24, 0, 173, 0.25);
  border-radius: 50%;
  background: var(--white);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--purple);
  transform: scale(0.55);
  transition:
    transform 0.55s var(--ease),
    border-color 0.55s var(--ease),
    background 0.55s var(--ease),
    color 0.55s var(--ease);
}

.pw-timeline__item.is-visible .pw-timeline__step {
  transform: scale(1);
  border-color: var(--white);
  background: var(--white);
  color: var(--purple);
}

.pw-timeline__card {
  padding: clamp(1rem, 2vw, 1.25rem) clamp(1.1rem, 2vw, 1.35rem);
  background: var(--white);
  color: var(--purple);
  border: 1px solid rgba(24, 0, 173, 0.08);
  border-radius: clamp(0.75rem, 1.4vw, 1.15rem);
  box-shadow: var(--box-shadow);
  font-size: clamp(0.88rem, 1vw, 0.98rem);
  line-height: 1.55;
}

.pw-timeline__title {
  margin: 0 0 0.65em;
  font-family: var(--sans);
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  font-weight: 600;
  line-height: 1.35;
  color: var(--purple);
}

.pw-timeline__lead {
  margin: 0 0 0.55em;
}

.pw-timeline__card p {
  margin: 0;
}

.pw-timeline__list-inner {
  margin: 0;
  padding-left: 1.15rem;
}

.pw-timeline__list-inner li + li {
  margin-top: 0.45em;
}

@media (prefers-reduced-motion: reduce) {
  .pw-timeline__item {
    opacity: 1;
    transform: none;
  }

  .pw-timeline__step {
    transform: scale(1);
    border-color: var(--white);
    background: var(--white);
    color: var(--purple);
  }

  .pw-timeline__progress {
    height: 100% !important;
    transition: none;
  }
}

/* —— Testimonials marquee —— */

.pw-testimonials .pw-wrap {
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.pw-testimonials__marquees {
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 2vw, 1.35rem);
  width: 100%;
  overflow: hidden;
}

.pw-testimonials__row {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.pw-testimonials__track {
  display: flex;
  align-items: center;
  gap: clamp(0.85rem, 1.8vw, 1.25rem);
  width: max-content;
  animation: pw-testimonials-scroll 55s linear infinite;
}

.pw-testimonials__row--reverse .pw-testimonials__track {
  animation-direction: reverse;
  animation-duration: 48s;
}

.pw-testimonial {
  flex: 0 0 auto;
  width: clamp(9.5rem, 15vw, 12.5rem);
  margin: 0;
  overflow: hidden;
  border-radius: clamp(0.75rem, 1.4vw, 1.15rem);
  background: var(--white);
  box-shadow: var(--box-shadow);
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.pw-testimonial:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(24, 0, 173, 0.12);
}

.pw-testimonial:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 3px;
}

.pw-testimonial img,
.pw-testimonial video {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  object-position: center;
}

.pw-testimonial img {
  object-fit: contain;
  background: var(--white);
}

.pw-testimonial video {
  object-fit: cover;
  background: var(--tint);
}

@keyframes pw-testimonials-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .pw-testimonials__track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    max-width: 56rem;
    margin: 0 auto;
    padding-inline: var(--section-x);
  }

  .pw-testimonials__row {
    -webkit-mask-image: none;
    mask-image: none;
  }
}

/* —— Investment —— */

.pw-investment {
  position: relative;
  padding: clamp(4.5rem, 10vh, 7rem) 0;
  background: var(--purple);
  color: var(--white);
  overflow: hidden;
}

.pw-investment::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 85% 30%, rgba(255, 255, 255, 0.05) 0%, transparent 40%);
  pointer-events: none;
}

.pw-investment__wrap {
  position: relative;
  z-index: 1;
}

.pw-investment__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  margin-top: clamp(1.5rem, 3vw, 2rem);
}

.pw-investment__program .pw-display {
  margin-bottom: clamp(1rem, 2vw, 1.35rem);
}

.pw-investment__summary {
  margin: 0 0 clamp(2rem, 4vw, 2.75rem);
  max-width: 28rem;
  font-size: clamp(0.95rem, 1.15vw, 1.05rem);
  line-height: 1.6;
  opacity: 0.88;
}

.pw-investment__phases {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.25rem);
  max-width: 32rem;
}

.pw-investment__phase {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: clamp(6.5rem, 14vw, 8.5rem);
  padding: clamp(1rem, 2vw, 1.35rem) clamp(0.85rem, 1.5vw, 1.1rem);
  border-radius: clamp(0.75rem, 1.4vw, 1.15rem);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  text-align: center;
  backdrop-filter: blur(8px);
}

.pw-investment__phase--extended {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
}

.pw-investment__phase-value {
  font-family: var(--sans);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
}

.pw-investment__phase-unit {
  margin-top: 0.2em;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.7;
}

.pw-investment__phase-label {
  margin: 0.65em 0 0;
  font-size: clamp(0.78rem, 0.9vw, 0.86rem);
  line-height: 1.35;
  opacity: 0.85;
}

.pw-investment__connector {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 2rem;
}

.pw-investment__connector-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.55));
  border-radius: 2px;
}

.pw-investment__connector-dot {
  flex-shrink: 0;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
}

.pw-investment__pricing {
  position: relative;
  padding: clamp(2rem, 4vw, 2.75rem) clamp(1.75rem, 3.5vw, 2.5rem);
  border-radius: clamp(1rem, 2vw, 1.35rem);
  background: var(--white);
  color: var(--purple);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
  text-align: center;
}

.pw-investment__pricing::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.pw-investment__pricing-label {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.55;
}

.pw-investment__pricing-from {
  margin: clamp(1rem, 2vw, 1.35rem) 0 0;
  font-family: var(--serif-italic);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  font-style: italic;
  opacity: 0.75;
}

.pw-investment__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 0.35em 0.5em;
  margin: 0.35em 0 0;
  line-height: 1;
}

.pw-investment__currency {
  font-size: clamp(0.75rem, 1vw, 0.85rem);
  font-weight: 600;
  letter-spacing: 0.12em;
  opacity: 0.55;
}

.pw-investment__amount {
  font-family: var(--sans);
  font-size: clamp(3rem, 7vw, 4.75rem);
  font-weight: 500;
  letter-spacing: -0.04em;
}

.pw-investment__period {
  flex: 0 0 100%;
  margin-top: 0.65em;
  font-size: clamp(0.82rem, 1vw, 0.92rem);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.55;
}

@media (max-width: 820px) {
  .pw-investment__grid {
    grid-template-columns: 1fr;
    max-width: 24rem;
    margin-left: auto;
    margin-right: auto;
  }

  .pw-investment__summary {
    max-width: none;
    text-align: center;
  }

  .pw-investment__program .pw-display {
    text-align: center;
  }

  .pw-investment__phases {
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .pw-investment__phases {
    flex-direction: column;
    max-width: 14rem;
  }

  .pw-investment__connector {
    flex-direction: column;
    min-width: 0;
    min-height: 2rem;
  }

  .pw-investment__connector-line {
    width: 2px;
    height: 100%;
    min-height: 1.5rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.55));
  }
}

.pw-testimonials--paused .pw-testimonials__track {
  animation-play-state: paused;
}

/* —— Testimonial lightbox —— */

.pw-testimonial-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 2rem);
}

.pw-testimonial-modal.is-open {
  display: flex;
}

.pw-testimonial-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(24, 0, 173, 0.92);
  cursor: pointer;
}

.pw-testimonial-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(22rem, 92vw);
  max-height: 90vh;
}

.pw-testimonial-modal__close {
  position: absolute;
  top: -2.75rem;
  right: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease;
}

.pw-testimonial-modal__close:hover {
  background: rgba(255, 255, 255, 0.28);
}

.pw-testimonial-modal__close:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 2px;
}

.pw-testimonial-modal__media {
  overflow: hidden;
  border-radius: clamp(0.75rem, 1.4vw, 1.15rem);
  background: var(--white);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.25);
}

.pw-testimonial-modal__media img,
.pw-testimonial-modal__media video {
  display: block;
  width: 100%;
  max-height: 85vh;
  object-fit: contain;
  background: var(--white);
}

.pw-testimonial-modal__media video {
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: #000;
}

/* —— FAQ accordion —— */

.pw-faq-section .pw-display {
  margin-bottom: 0;
}

.pw-faq {
  display: flex;
  flex-direction: column;
  gap: clamp(0.65rem, 1.2vw, 0.85rem);
  max-width: 48rem;
  margin: clamp(2rem, 4vw, 3rem) auto 0;
}

.pw-faq__item {
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(24, 0, 173, 0.08);
  border-radius: clamp(0.75rem, 1.4vw, 1.15rem);
  box-shadow: var(--box-shadow);
}

.pw-faq__question {
  margin: 0;
}

.pw-faq__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: clamp(1rem, 1.8vw, 1.2rem) clamp(1.1rem, 2vw, 1.35rem);
  border: 0;
  background: transparent;
  font-family: var(--sans);
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  font-weight: 600;
  line-height: 1.35;
  text-align: left;
  color: var(--purple);
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.pw-faq__trigger:hover {
  opacity: 0.82;
}

.pw-faq__trigger:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: -2px;
}

.pw-faq__icon {
  flex-shrink: 0;
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.25s ease;
  margin-top: -0.15rem;
}

.pw-faq__trigger[aria-expanded="true"] .pw-faq__icon {
  transform: rotate(-135deg);
  margin-top: 0.15rem;
}

.pw-faq__answer {
  padding: 0 clamp(1.1rem, 2vw, 1.35rem) clamp(1.1rem, 2vw, 1.35rem);
  font-size: clamp(0.88rem, 1vw, 0.98rem);
  line-height: 1.6;
  color: var(--purple);
}

.pw-faq__answer p {
  margin: 0 0 1em;
}

.pw-faq__answer p:last-child {
  margin-bottom: 0;
}

.pw-faq__answer ul {
  margin: 0 0 1em;
  padding-left: 1.15rem;
}

.pw-faq__answer ul:last-child {
  margin-bottom: 0;
}

.pw-faq__answer li + li {
  margin-top: 0.45em;
}

.pw-faq__answer a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.pw-faq__subhead {
  margin: 1.35em 0 0.55em;
  font-family: var(--sans);
  font-size: 0.95em;
  font-weight: 600;
  line-height: 1.35;
}

.pw-faq__subhead:first-child {
  margin-top: 0;
}

.pw-faq__quote {
  margin: 0 0 0.65em;
  padding-left: 1rem;
  border-left: 2px solid rgba(24, 0, 173, 0.18);
  font-style: italic;
}

.pw-faq__quote p {
  margin: 0;
}

/* —— Footer CTA + video —— */

.pw-footer {
  position: relative;
  min-height: clamp(28rem, 58vw, 40rem);
  overflow: hidden;
  background-color: var(--purple-deep);
  color: var(--white);
  text-align: center;
}

.pw-footer__video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

.pw-footer__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(24, 0, 173, 0.98) 0%,
    rgba(24, 0, 173, 0.95) 45%,
    rgba(24, 0, 173, 0.82) 72%,
    rgba(24, 0, 173, 0.55) 88%,
    rgba(24, 0, 173, 0.35) 100%
  );
  pointer-events: none;
}

.pw-footer__content {
  position: relative;
  z-index: 2;
  padding: clamp(4rem, 10vh, 7rem) var(--section-x) clamp(3rem, 8vh, 5rem);
}

.pw-footer__content .pw-display {
  max-width: 20ch;
  margin: 0 auto;
}

.pw-footer__name {
  margin: 2rem 0 0;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.75;
}

.pw-footer__content .pw-actions {
  margin-top: clamp(2rem, 4vw, 2.75rem);
}

.pw-footer__note {
  margin: clamp(1rem, 2vw, 1.35rem) auto 0;
  max-width: 28ch;
  font-size: clamp(0.88rem, 1.05vw, 0.98rem);
  line-height: 1.55;
  opacity: 0.82;
}

/* —— Apply modal & form —— */

.pw-apply-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(0.75rem, 2vw, 1.5rem);
}

.pw-apply-modal.is-open {
  display: flex;
}

.pw-apply-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(24, 0, 173, 0.92);
  cursor: pointer;
}

.pw-apply-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(42rem, 100%);
  max-height: min(92vh, 56rem);
  background: var(--white);
  border-radius: clamp(0.85rem, 1.5vw, 1.25rem);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.pw-apply-modal__close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--tint);
  color: var(--purple);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.pw-apply-modal__close:hover {
  background: rgba(24, 0, 173, 0.08);
}

.pw-apply-modal__scroll {
  max-height: min(92vh, 56rem);
  overflow-y: auto;
  padding: clamp(1.5rem, 3vw, 2rem) clamp(1.25rem, 3vw, 2rem) clamp(1.75rem, 3vw, 2.25rem);
}

.pw-apply-modal__header {
  margin-bottom: clamp(1.25rem, 2.5vw, 1.75rem);
  padding-right: 2rem;
}

.pw-apply-modal__header .pw-display {
  margin-bottom: 0.75rem;
}

.pw-apply-modal__intro {
  margin: 0;
  font-size: clamp(0.92rem, 1.05vw, 1rem);
  line-height: 1.55;
  color: var(--purple);
  opacity: 0.82;
}

.pw-apply-form__section {
  margin: 0 0 clamp(1.25rem, 2.5vw, 1.5rem);
  padding: 0;
  border: 0;
}

.pw-apply-form__section legend {
  margin-bottom: 0.65rem;
  padding: 0;
  font-family: var(--sans);
  font-size: clamp(0.88rem, 1vw, 0.96rem);
  font-weight: 600;
  line-height: 1.35;
  color: var(--purple);
}

.pw-apply-form__grid {
  display: grid;
  gap: 0.85rem;
}

.pw-apply-form__grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pw-apply-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--purple);
}

.pw-apply-field input,
.pw-apply-field textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid rgba(24, 0, 173, 0.14);
  border-radius: 0.55rem;
  background: var(--tint);
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 400;
  line-height: 1.45;
  color: var(--purple);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.pw-apply-field input:focus,
.pw-apply-field textarea:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(24, 0, 173, 0.1);
}

.pw-apply-field textarea {
  resize: vertical;
  min-height: 5rem;
}

.pw-apply-field__hint {
  margin: -0.25rem 0 0.55rem;
  font-size: 0.82rem;
  font-weight: 400;
  line-height: 1.45;
  opacity: 0.72;
}

.pw-apply-checks {
  display: grid;
  gap: 0.45rem;
}

.pw-apply-check,
.pw-apply-radio {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.88rem;
  font-weight: 400;
  line-height: 1.4;
  cursor: pointer;
}

.pw-apply-check input,
.pw-apply-radio input {
  flex-shrink: 0;
  margin-top: 0.2em;
  accent-color: var(--purple);
}

.pw-apply-radios {
  display: flex;
  gap: 1.25rem;
}

.pw-apply-scale {
  display: flex;
  gap: 0.5rem;
}

.pw-apply-scale__item {
  flex: 1;
  cursor: pointer;
}

.pw-apply-scale__item input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pw-apply-scale__item span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  border: 1px solid rgba(24, 0, 173, 0.14);
  border-radius: 0.55rem;
  background: var(--tint);
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.pw-apply-scale__item input:checked + span,
.pw-apply-scale__item input:focus-visible + span {
  background: var(--purple);
  border-color: var(--purple);
  color: var(--white);
}

.pw-apply-form__honey {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
}

.pw-apply-form__footer {
  margin: 0 0 1.25rem;
  font-family: var(--serif-italic);
  font-size: 0.95rem;
  font-style: italic;
  line-height: 1.45;
  text-align: center;
  opacity: 0.8;
}

.pw-apply-form__actions {
  display: flex;
  justify-content: center;
}

.pw-apply-form__status {
  margin: 1rem 0 0;
  min-height: 1.25rem;
  font-size: 0.88rem;
  text-align: center;
  color: var(--purple);
}

.pw-apply-form__status.is-error {
  color: #9b1c1c;
}

.pw-apply-form.is-submitting .pw-btn {
  opacity: 0.65;
  pointer-events: none;
}

.pw-apply-modal__success {
  padding: clamp(2rem, 5vw, 3rem) clamp(1.5rem, 4vw, 2rem);
  text-align: center;
}

.pw-apply-modal__success-title {
  margin: 0 0 0.75rem;
  font-family: var(--sans);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 500;
  color: var(--purple);
}

.pw-apply-modal__success p {
  margin: 0 0 1.5rem;
  line-height: 1.55;
  color: var(--purple);
  opacity: 0.85;
}

.pw-apply-modal.is-success .pw-apply-modal__header,
.pw-apply-modal.is-success .pw-apply-form {
  display: none;
}

@media (max-width: 560px) {
  .pw-apply-form__grid--2 {
    grid-template-columns: 1fr;
  }
}

/* —— Header scroll state —— */

@media (prefers-reduced-motion: no-preference) {
  .pw-hero__content,
  .pw-interlude__inner {
    animation: pw-rise 1s var(--ease) both;
  }
}

@keyframes pw-rise {
  from {
    opacity: 0;
    transform: translateY(1.5rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* —— Responsive —— */

@media (max-width: 900px) {
  .pw-split,
  .pw-program-intro__grid {
    grid-template-columns: 1fr;
  }

  .pw-about,
  .pw-challenge {
    grid-template-columns: 1fr;
  }

  .pw-split__main .pw-display {
    max-width: none;
  }

  .pw-creds {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pw-pair-list__item {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }

  .pw-footer__overlay {
    background: linear-gradient(
      to bottom,
      rgba(24, 0, 173, 0.96) 0%,
      rgba(24, 0, 173, 0.9) 38%,
      rgba(24, 0, 173, 0.68) 58%,
      rgba(24, 0, 173, 0.32) 80%,
      rgba(24, 0, 173, 0.1) 100%
    );
  }
}

@media (max-width: 900px) {
  .pw-stats__layout {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    gap: 0.75rem;
    width: 100%;
    max-width: 20rem;
    margin-inline: auto;
  }

  .pw-stats__quote-wrap {
    position: static;
    transform: none;
    order: 1;
    width: 100%;
    margin-bottom: 0.5rem;
  }

  .pw-stats__bubbles {
    inset: -25% -20%;
    width: 140%;
    height: 140%;
  }

  .pw-stats__quote {
    width: 100%;
  }

  .pw-stats__card,
  .pw-stats__bottom-pair .pw-stats__card {
    position: static;
    transform: none;
    max-width: none;
    width: 100%;
    align-self: stretch;
    box-sizing: border-box;
  }

  .pw-stats__card--1 { order: 2; }
  .pw-stats__card--2 { order: 3; }
  .pw-stats__card--3 { order: 4; }
  .pw-stats__bottom-pair {
    position: static;
    transform: none;
    order: 5;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0.75rem;
  }

  .pw-stats__card--3,
  .pw-stats__card--6,
  .pw-stats__bottom-pair .pw-stats__card--4 {
    transform: none;
  }

  .pw-stats__card--6 { order: 6; }
  .pw-stats__card--7 { order: 7; }
}

@media (max-width: 600px) {
  .pw-stats__layout {
    max-width: min(20rem, calc(100% - 2rem));
  }

  .pw-creds {
    grid-template-columns: 1fr;
  }
}

/* —— Referrals page —— */

.pw-prose--on-dark {
  color: var(--white);
}

.pw-prose--on-dark p {
  color: var(--white);
  opacity: 0.92;
}

.pw-ref-hero {
  position: relative;
  min-height: min(100dvh, 56rem);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header-h) + 2rem) 0 clamp(4rem, 10vh, 6rem);
  background: var(--tint);
  overflow: hidden;
}

.pw-ref-hero__visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: transparent;
}

.pw-ref-hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.pw-ref-hero__sub {
  margin: clamp(1.5rem, 3vw, 2rem) auto 0;
  max-width: 28rem;
  font-family: var(--serif-italic);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-style: italic;
  line-height: 1.4;
  color: var(--purple);
}

.pw-ref-hero__support {
  margin: 1.25rem auto 0;
  max-width: 24rem;
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  line-height: 1.55;
  color: var(--purple);
  opacity: 0.78;
}

.pw-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin-top: clamp(2rem, 4vw, 2.75rem);
}

.pw-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.5rem;
  border: 2px solid var(--purple);
  border-radius: 999px;
  background: var(--purple);
  color: var(--white);
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.pw-btn:hover {
  opacity: 0.88;
}

.pw-btn:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 3px;
}

.pw-btn--secondary {
  background: transparent;
  color: var(--purple);
}

.pw-btn--on-dark {
  background: var(--white);
  border-color: var(--white);
  color: var(--purple);
}

.pw-btn--on-dark:focus-visible {
  outline-color: var(--white);
}

.pw-btn--secondary-on-dark {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--white);
}

.pw-btn--secondary-on-dark:hover {
  border-color: var(--white);
}

.pw-ref-closing {
  margin: clamp(1.75rem, 3vw, 2.25rem) 0 0;
  font-family: var(--serif-italic);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  font-style: italic;
  text-align: center;
  color: var(--purple);
}

.pw-ref-closing--wide {
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.pw-ref-intro {
  margin-bottom: clamp(2rem, 4vw, 2.75rem);
}

.pw-ref-paths {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.35rem);
  max-width: 56rem;
  margin: 0 auto;
}

.pw-ref-card {
  padding: clamp(1.15rem, 2vw, 1.35rem);
  background: var(--white);
  border: 1px solid rgba(24, 0, 173, 0.08);
  border-radius: clamp(0.75rem, 1.4vw, 1.15rem);
  box-shadow: var(--box-shadow);
  font-size: clamp(0.88rem, 1vw, 0.98rem);
  line-height: 1.55;
}

.pw-ref-card__title {
  margin: 0 0 0.75em;
  font-family: var(--sans);
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  font-weight: 600;
  line-height: 1.35;
}

.pw-ref-card p {
  margin: 0 0 0.75em;
}

.pw-ref-card p:last-child {
  margin-bottom: 0;
}

.pw-ref-card__label {
  margin-top: 0.5em;
  font-size: 0.82em;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.65;
}

.pw-ref-card__list {
  margin: 0.35em 0 0.75em;
  padding-left: 1.1rem;
}

.pw-ref-card__list li + li {
  margin-top: 0.35em;
}

.pw-ref-card__end {
  font-family: var(--serif-italic);
  font-style: italic;
}

.pw-ref-checklist {
  list-style: none;
  margin: clamp(1.5rem, 3vw, 2rem) auto;
  padding: 0;
  max-width: 28rem;
}

.pw-ref-checklist li {
  position: relative;
  padding-left: 1.35rem;
  margin-bottom: 0.65em;
  line-height: 1.5;
}

.pw-ref-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--purple);
}

.pw-ref-checklist--compact {
  max-width: none;
  margin: 0.5rem 0 0;
}

.pw-ref-checklist--center {
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.pw-ref-program .pw-prose p + p {
  margin-top: 0.75em;
}

.pw-ref-link {
  margin: clamp(1.75rem, 3vw, 2.25rem) 0 0;
  text-align: center;
}

.pw-ref-link a {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  opacity: 0.75;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  transition: opacity 0.2s ease;
}

.pw-ref-link a:hover {
  opacity: 1;
}

.pw-ref-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  max-width: 40rem;
  margin: clamp(1.5rem, 3vw, 2rem) auto;
}

.pw-ref-split__heading {
  margin: 0 0 0.5em;
  font-weight: 600;
  font-size: clamp(0.92rem, 1.05vw, 1rem);
}

.pw-ref-fit {
  max-width: 32rem;
  margin: clamp(2rem, 4vw, 2.75rem) auto 0;
  padding: clamp(1.15rem, 2vw, 1.35rem);
  background: var(--white);
  border-radius: clamp(0.75rem, 1.4vw, 1.15rem);
  box-shadow: var(--box-shadow);
}

.pw-ref-fit__title {
  margin: 0 0 0.65em;
  font-family: var(--sans);
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  font-weight: 600;
  text-align: center;
}

.pw-ref-steps {
  margin: clamp(1.5rem, 3vw, 2rem) auto 0;
  padding: 0;
  list-style: none;
  max-width: 22rem;
  counter-reset: ref-step;
}

.pw-ref-steps > li {
  position: relative;
  padding-left: 2.5rem;
  margin-bottom: 1.75rem;
  counter-increment: ref-step;
}

.pw-ref-steps > li::before {
  content: counter(ref-step);
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 50%;
  background: var(--purple);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
}

.pw-ref-steps ul {
  margin: 0.5em 0 0;
  padding-left: 1.1rem;
}

.pw-ref-steps li li + li {
  margin-top: 0.35em;
}

.pw-ref-highlight {
  margin: clamp(1.5rem, 3vw, 2rem) auto;
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  max-width: 32rem;
  background: var(--white);
  border-radius: clamp(0.75rem, 1.4vw, 1.15rem);
  box-shadow: var(--box-shadow);
  text-align: center;
}

.pw-ref-highlight__text {
  margin: 0;
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  line-height: 1.55;
}

.pw-ref-benefits {
  margin-top: clamp(1.75rem, 3vw, 2.25rem);
}

.pw-ref-benefits__lead {
  margin: 0 0 1em;
  font-weight: 600;
  text-align: center;
}

.pw-ref-creds {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin: clamp(1.5rem, 3vw, 2rem) 0;
  padding: 0;
  list-style: none;
}

.pw-ref-creds li {
  padding: 0.45rem 0.85rem;
  background: var(--white);
  border-radius: 999px;
  box-shadow: var(--box-shadow);
  font-size: clamp(0.82rem, 0.95vw, 0.92rem);
  font-weight: 600;
}

.pw-ref-kit__note {
  margin: 1.25rem 0 0;
  font-size: 0.82rem;
  text-align: center;
  color: var(--white);
  opacity: 0.6;
}

.pw-ref-contact {
  list-style: none;
  margin: clamp(1.5rem, 3vw, 2rem) auto;
  padding: clamp(1.15rem, 2vw, 1.35rem);
  max-width: 24rem;
  background: var(--white);
  border-radius: clamp(0.75rem, 1.4vw, 1.15rem);
  box-shadow: var(--box-shadow);
}

.pw-ref-contact li {
  margin-bottom: 0.65em;
  line-height: 1.5;
}

.pw-ref-contact li:last-child {
  margin-bottom: 0;
}

.pw-ref-contact a {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.pw-ref-final {
  text-align: center;
  padding-bottom: clamp(5rem, 12vh, 8rem);
}

.pw-ref-final__text {
  margin: 1.25rem 0 0;
  font-family: var(--serif-italic);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-style: italic;
  color: var(--white);
  opacity: 0.9;
}

.site-header__link[aria-current="page"] {
  opacity: 1;
}

@media (max-width: 900px) {
  .site-header__logo {
    font-size: 0.85rem;
  }

  .site-header__nav {
    gap: 0.5rem;
  }

  .site-header__cta {
    padding: 0.45rem 0.85rem;
    font-size: 0.58rem;
    letter-spacing: 0.1em;
  }
}

@media (max-width: 900px) {
  .pw-ref-paths {
    grid-template-columns: 1fr;
    max-width: 24rem;
  }

  .pw-ref-split {
    grid-template-columns: 1fr;
    max-width: 20rem;
  }
}
