/* Purple Patch Fitness — Tri Squad v5 editorial scroll
   Gold: nav + footer only. Body accents: electric blue (#1DBCCD).
   Price JOIN blocks: unchanged from live (dark/gold gradient cards). */

@font-face {
  font-family: "Bornia-Regular";
  src: url("https://squad.purplepatchfitness.com/wp-content/uploads/2025/11/Bornia-Regular.otf") format("opentype");
  font-display: swap;
}
@font-face {
  font-family: "Bornia-Medium";
  src: url("https://squad.purplepatchfitness.com/wp-content/uploads/2025/11/Bornia-Medium.otf") format("opentype");
  font-display: swap;
}
@font-face {
  font-family: "Bornia-Bold";
  src: url("https://squad.purplepatchfitness.com/wp-content/uploads/2025/11/Bornia-Bold.otf") format("opentype");
  font-display: swap;
}
@font-face {
  font-family: "Bornia-ExtraBold";
  src: url("https://squad.purplepatchfitness.com/wp-content/uploads/2025/11/Bornia-ExtraBold.otf") format("opentype");
  font-display: swap;
}
@font-face {
  font-family: "Bornia-Black";
  src: url("https://squad.purplepatchfitness.com/wp-content/uploads/2025/11/Bornia-Black.otf") format("opentype");
  font-display: swap;
}
@font-face {
  font-family: "Bornia-SemiBold";
  src: url("https://squad.purplepatchfitness.com/wp-content/uploads/2025/11/Bornia-SemiBold.otf") format("opentype");
  font-display: swap;
}

:root {
  --pp-gold: #867650;
  --pp-gold-light: #b3ac9a;
  --pp-blue: #1dbccd;
  --pp-blue-dark: #0f5e67;
  --pp-blue-deep: #0f9baa;
  --pp-pattern-grad: linear-gradient(180deg, #1dbccd 0%, #0f5e67 42%, #111 100%);
  --pp-blue-soft: #e8f9fb;
  --pp-blue-mist: #f0fbfc;
  --pp-black: #000;
  --pp-ink: #1a1a1a;
  --pp-slate: #2b3a40;
  --pp-white: #fff;
  --pp-muted: #5c5c5c;
  /* Text on dark surfaces — only two steps */
  --pp-on-dark: #fff;
  --pp-on-dark-muted: rgba(255, 255, 255, 0.82);
  --pp-warm: #f8f7f5;
  --pp-max: 1230px;
  --pp-radius: 12px;
  --pp-radius-lg: 16px;
  --pp-section-y: clamp(56px, 8vw, 96px);
  --pp-overlap: clamp(48px, 7vw, 88px);
  --pp-pattern-dark: url("https://squad.purplepatchfitness.com/wp-content/uploads/2025/08/Testimonials-1-scaled.png");
  --pp-pattern-light: url("https://squad.purplepatchfitness.com/wp-content/uploads/2025/08/pattern-pp-1-scaled.png");
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Bornia-Medium", Georgia, serif;
  font-size: 18px;
  line-height: 1.5;
  color: var(--pp-ink);
  background: var(--pp-white);
  padding-bottom: 72px;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p { margin: 0; }

/* ——— Live PPF header ———
   No rules here: squad pages render the site's global Elementor header, which
   carries its own CSS. The `.ppf-header*`, `.ppf-login`, `.ppf-btn1`, `.coming-soon`
   and `#menuOverlay` / `#menuButton` rules were removed so nothing overrides it.
   The /mockups and child-theme copies of this file still have them, for the
   standalone mockup header. */

/* ——— Surfaces (lighter, less black) ——— */
.surface {
  position: relative;
  padding: var(--pp-section-y) 20px;
}
.surface::before {
  content: "";
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  pointer-events: none;
}
.surface > .container { position: relative; z-index: 1; }
.container { max-width: var(--pp-max); margin: 0 auto; }

.surface--light { background: #fff; color: var(--pp-ink); }
.surface--light::before { background-image: var(--pp-pattern-light); opacity: 0.4; }

.surface--warm {
  background: linear-gradient(180deg, var(--pp-warm) 0%, #fff 100%);
  color: var(--pp-ink);
}
.surface--warm::before { background-image: var(--pp-pattern-light); opacity: 0.35; }

.surface--soft {
  background: linear-gradient(165deg, var(--pp-blue-mist) 0%, #fff 42%, var(--pp-warm) 100%);
  color: var(--pp-ink);
}
.surface--soft::before { background-image: var(--pp-pattern-light); opacity: 0.3; }

.surface--ink {
  background: linear-gradient(160deg, #1e2a2e 0%, var(--pp-slate) 55%, #1a2428 100%);
  color: #fff;
}
.surface--ink::before { background-image: var(--pp-pattern-dark); opacity: 0.25; }

.surface--footer-links {
  background: #111;
  color: #fff;
  padding: 48px 20px;
}
.surface--footer-links a { color: #fff; text-decoration: none; }
.surface--footer-links a:hover { color: var(--pp-blue); }
.surface--footer-links h3 {
  font-family: "Bornia-SemiBold", serif;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: var(--pp-gold-light);
}

/* ——— Shared editorial type ——— */
.scroll-scene {
  position: relative;
  padding: clamp(64px, 9vh, 100px) 24px;
  overflow: hidden;
}
.scroll-scene__header {
  max-width: var(--pp-max);
  margin: 0 auto 40px;
}

.heading {
  font-family: "Bornia-ExtraBold", serif;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-align: center;
}
.heading--left { text-align: left; }

.lead {
  font-family: "Bornia-Medium", serif;
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.5;
  margin-top: 16px;
  max-width: 52ch;
}
.lead--center { margin-left: auto; margin-right: auto; text-align: center; }

.cta-stack--left { align-items: flex-start; }
.cta-stack--left .btn-blue { margin-top: 8px; }

/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding: 0 20px clamp(80px, 12vh, 140px);
  color: #fff;
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; }
.hero__media img,
.hero__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: heroKenBurns 18s ease-in-out infinite alternate;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(284deg, rgba(255,255,255,0) -27%, rgba(0,0,0,0.42) 28%, rgba(0,0,0,0.72) 100%);
}
.hero__content {
  position: relative;
  z-index: 1;
  max-width: var(--pp-max);
  margin: 0 auto;
  width: 100%;
}
.hero h1 {
  font-family: "Bornia-ExtraBold", serif;
  font-size: clamp(34px, 6vw, 56px);
  line-height: 1.05;
  text-transform: uppercase;
}
.hero .sub {
  font-family: "Bornia-Bold", serif;
  margin-top: 20px;
  max-width: 520px;
  font-size: clamp(17px, 2vw, 20px);
}

@keyframes heroKenBurns {
  from { transform: scale(1.04); }
  to { transform: scale(1.1); }
}

/* ——— Blue gradient CTAs (live pattern) ——— */
.btn-blue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 28px;
  padding: 14px 24px;
  text-decoration: none;
  font-family: "Bornia-Bold", serif;
  font-size: 15px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(284deg, rgba(255,255,255,0) -27%, rgba(29,188,205,0.48) 23%, rgba(29,188,205,0.8) 100%);
  border: 1px solid transparent;
  border-image: linear-gradient(279deg, #0f9baa 18%, #1dbccd 103%) 1;
  backdrop-filter: blur(10px);
  transition: filter 0.25s, transform 0.25s;
}
.btn-blue:hover { filter: brightness(1.08); transform: translateY(-1px); }

.btn-blue-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  text-decoration: none;
  font-family: "Bornia-Bold", serif;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--pp-blue);
  border: 2px solid var(--pp-blue);
  background: transparent;
  transition: background 0.25s, color 0.25s;
}
.btn-blue-outline:hover { background: var(--pp-blue); color: #fff; }

.cta-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 40px;
}
.cta-stack .cta-or {
  font-family: "Bornia-Bold", serif;
  font-size: 13px;
  text-transform: uppercase;
  opacity: 0.7;
}

/* ——— How It Works: horizontal wheel-driven scroll ——— */
.h-scroll {
  position: relative;
  height: 550vh;
  background: #fff;
}
.h-scroll__pin {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #fff;
}
.h-scroll__inner {
  width: 100%;
  max-width: none;
  padding: 96px 0 40px;
}
.h-scroll__header {
  max-width: var(--pp-max);
  margin: 0 auto 28px;
  padding: 0 24px;
}
.h-scroll__meter {
  margin-top: 20px;
  height: 2px;
  background: rgba(29, 188, 205, 0.16);
  max-width: 280px;
  overflow: hidden;
}
.h-scroll__meter-fill {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--pp-blue);
}
.h-scroll__viewport {
  overflow: hidden;
  width: 100%;
}
.h-scroll__track {
  display: flex;
  align-items: stretch;
  gap: 28px;
  padding-left: max(24px, calc((100vw - var(--pp-max)) / 2 + 24px));
  padding-right: 24px;
  will-change: transform;
}
.h-panel {
  flex: 0 0 clamp(280px, 34vw, 400px);
  min-height: min(58vh, 520px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.h-panel--photo {
  flex-basis: clamp(320px, 40vw, 480px);
  padding: 0;
  justify-content: center;
}
.h-panel--photo img {
  width: 100%;
  height: min(58vh, 520px);
  object-fit: cover;
  border-radius: 4px;
}
.h-panel--copy {
  padding: 8px 8px 8px 0;
  border-top: 1px solid rgba(29, 188, 205, 0.35);
}
.h-panel__num {
  font-family: "Bornia-Black", serif;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--pp-blue);
  margin-bottom: 16px;
}
.h-panel h3 {
  font-family: "Bornia-Bold", serif;
  font-size: clamp(20px, 2.4vw, 26px);
  line-height: 1.2;
  margin-bottom: 12px;
  max-width: 18ch;
}
.h-panel p {
  font-size: 16px;
  color: var(--pp-muted);
  line-height: 1.55;
  max-width: 36ch;
}
.h-panel--cta .cta-stack { margin-top: 28px; }

/* ——— Value prop: vertical panel stack ——— */
.v-stack {
  position: relative;
  height: 320vh;
  background: var(--pp-blue-mist);
}
.v-stack__pin {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.v-stack__inner {
  width: 100%;
  max-width: var(--pp-max);
  margin: 0 auto;
  padding: 96px 24px 40px;
}
.v-stack__stage {
  margin-top: 36px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  min-height: min(62vh, 560px);
}
.v-stack__visual {
  position: relative;
  height: min(62vh, 560px);
  overflow: hidden;
  border-radius: 4px;
  background: #dfe8ea;
}
.v-stack__media {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: translateY(12%);
  transition: opacity 0.55s ease, transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}
.v-stack__media.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.v-stack__media.is-exit {
  opacity: 0;
  transform: translateY(-10%);
}
.v-stack__media img,
.v-stack__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.v-stack__media figcaption {
  position: absolute;
  left: 20px;
  bottom: 18px;
  font-family: "Bornia-ExtraBold", serif;
  font-size: clamp(18px, 2.4vw, 28px);
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0,0,0,0.35);
  max-width: 14ch;
  line-height: 1.1;
}
.v-stack__copy { position: relative; min-height: 360px; }
.v-stack__dots {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}
.v-stack__dots span {
  width: 2px;
  height: 28px;
  background: rgba(29, 188, 205, 0.25);
  transition: background 0.3s, height 0.3s;
}
.v-stack__dots span.is-active {
  background: var(--pp-blue);
  height: 44px;
}
.v-stack__panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 52px;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.45s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}
.v-stack__panel.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.v-stack__panel h3 {
  font-family: "Bornia-Bold", serif;
  font-size: clamp(20px, 2.4vw, 26px);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.v-stack__panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.v-stack__panel li {
  position: relative;
  padding-left: 16px;
  font-size: 16px;
  color: var(--pp-muted);
  line-height: 1.5;
}
.v-stack__panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 8px;
  height: 2px;
  background: var(--pp-blue);
}

/* ——— Training Built: white, no shadow, crossfade wipe ——— */
.fade-stack {
  position: relative;
  height: 280vh;
  background: #fff;
}
.fade-stack__pin {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  display: flex;
  align-items: center;
  background: #fff;
}
.fade-stack__inner {
  width: 100%;
  max-width: var(--pp-max);
  margin: 0 auto;
  padding: 96px 24px 40px;
}
.fade-stack__intro { max-width: 60ch; margin-bottom: 36px; }
.fade-stack__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.fade-stack__visual {
  position: relative;
  aspect-ratio: 3 / 4;
  max-height: min(64vh, 580px);
  background: #fff;
  /* no shadow — images are pre-masked */
}
.fade-stack__visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  opacity: 0;
  clip-path: inset(0 0 100% 0);
  transition: opacity 0.2s linear, clip-path 0.7s cubic-bezier(0.65, 0, 0.35, 1);
}
.fade-stack__visual img.is-active {
  opacity: 1;
  clip-path: inset(0 0 0 0);
}
.fade-stack__visual img.is-exit {
  opacity: 1;
  clip-path: inset(100% 0 0 0);
}
.fade-stack__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: min(48vh, 420px);
}
.fade-stack__steps {
  position: relative;
  min-height: 160px;
}
.fade-stack__step {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 0.45s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}
.fade-stack__step.is-active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}
.fade-stack__step h3 {
  font-family: "Bornia-Bold", serif;
  font-size: clamp(22px, 3vw, 28px);
  line-height: 1.2;
  max-width: 18ch;
}
.fade-stack__step p {
  margin-top: 12px;
  font-size: 17px;
  color: var(--pp-muted);
  max-width: 40ch;
}
.fade-stack__copy .cta-stack {
  margin-top: 36px;
  position: relative;
}

/* Editorial split — philosophy */
.scroll-scene--editorial { background: #fff; }
.editorial-split {
  max-width: var(--pp-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 6vw, 80px);
}
.editorial-split__sticky {
  position: sticky;
  top: 130px;
  align-self: start;
}
.editorial-split__sticky .heading { font-size: clamp(32px, 5vw, 48px); }
.editorial-split__lead {
  margin-top: 20px;
  font-size: clamp(18px, 2.2vw, 22px);
  color: var(--pp-muted);
  max-width: 28ch;
}
.editorial-split__blocks { display: flex; flex-direction: column; gap: 40px; }
.editorial-block {
  padding-left: 20px;
  border-left: 3px solid var(--pp-blue);
}
.editorial-block h3 {
  font-family: "Bornia-Bold", serif;
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.25;
  margin-bottom: 12px;
}
.editorial-block p { font-size: 16px; color: var(--pp-muted); line-height: 1.55; }
.editorial-block p + p { margin-top: 12px; }

/* Story quotes */
.scroll-scene--quotes { background: #fff; }
.story-quotes {
  max-width: var(--pp-max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(48px, 8vh, 72px);
}
.story-quote {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.story-quote.is-visible { opacity: 1; transform: none; }
.story-quote--flip .story-quote__photo { order: 2; }
.story-quote--flip .story-quote__text { order: 1; }
.story-quote__photo {
  border-radius: 4px;
  overflow: hidden;
}
.story-quote__photo img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}
.story-quote__text h4 {
  font-family: "Bornia-Bold", serif;
  font-size: 18px;
  text-transform: uppercase;
}
.story-quote__role {
  font-size: 14px;
  color: var(--pp-muted);
  margin-top: 6px;
}
.story-quote blockquote {
  margin: 20px 0 0;
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.45;
  position: relative;
  padding-top: 20px;
}
.story-quote blockquote::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--pp-blue);
}

/* Coach filmstrip — wheel scrolls horizontally */
.scroll-scene--coaches {
  background: #fff;
  padding-left: 0;
  padding-right: 0;
  padding-bottom: 48px;
}
.coach-film__header {
  max-width: var(--pp-max);
  margin: 0 auto 32px;
  padding: 0 24px;
}
.coach-film__track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding: 8px max(24px, calc((100vw - var(--pp-max)) / 2 + 24px)) 24px;
  cursor: grab;
  scrollbar-width: none;
}
.coach-film__track::-webkit-scrollbar { display: none; }
.coach-film__track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.coach-film .coach-card {
  flex: 0 0 clamp(220px, 28vw, 280px);
  scroll-snap-align: start;
  position: relative;
  border-radius: 4px;
  overflow: hidden;
}
.coach-film .coach-card img {
  width: 100%;
  aspect-ratio: 2/3;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.coach-film .coach-card:hover img { transform: scale(1.04); }
.coach-film .coach-card__info {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 14px;
  background: linear-gradient(transparent, rgba(0,0,0,0.78));
  color: #fff;
}
.coach-film .coach-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(15, 94, 103, 0.94) 100%);
  opacity: 0;
  transition: opacity 0.35s;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  color: #fff;
}
.coach-film .coach-card:hover .coach-card__overlay { opacity: 1; }
.coach-film .coach-card:hover .coach-card__info { opacity: 0; }
.coach-film .coach-card__name {
  font-family: "Bornia-Bold", serif;
  text-transform: uppercase;
  font-size: 14px;
}
.coach-film .coach-card__title { font-size: 12px; opacity: 0.9; margin-top: 2px; }
.coach-film .coach-card__bio { font-size: 13px; line-height: 1.4; margin-top: 8px; }
.coach-film .coach-card__link {
  display: inline-block;
  margin-top: 10px;
  font-family: "Bornia-Bold", serif;
  font-size: 11px;
  text-transform: uppercase;
  color: var(--pp-blue);
  text-decoration: none;
}

/* ——— Closing CTA: stats + join as one block ——— */
.closing-cta {
  background: var(--pp-pattern-grad);
  color: #fff;
  padding: clamp(64px, 9vh, 100px) 24px;
}
.closing-cta__inner {
  max-width: var(--pp-max);
  margin: 0 auto;
}
.closing-cta__heading { color: var(--pp-on-dark); margin-bottom: 28px; }
.closing-cta__stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 32px;
  padding-bottom: 48px;
  margin-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.14);
}
.closing-cta .stat-pill {
  min-width: 0;
  padding: 0;
  border: none;
  opacity: 1;
  transform: none;
}
.closing-cta .stat-pill__num { color: var(--pp-blue); }
.closing-cta .stat-pill__label { color: var(--pp-on-dark-muted); max-width: 18ch; }
.closing-cta__join { text-align: center; }
.closing-cta__lead {
  color: var(--pp-on-dark);
  max-width: 640px;
}
.closing-cta__sub {
  margin: 12px auto 0;
  color: var(--pp-on-dark-muted);
  max-width: 720px;
  font-size: 17px;
}
.closing-cta__or {
  margin: 28px 0 16px;
  color: var(--pp-on-dark-muted);
}
.stat-pill__num {
  font-family: "Bornia-Black", serif;
  font-size: clamp(36px, 5vw, 52px);
  line-height: 1;
}
.stat-pill__label {
  margin-top: 10px;
  font-family: "Bornia-Bold", serif;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.35;
}

/* ——— Pricing JOIN blocks (UNCHANGED from live) ——— */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 32px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.price-join {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: stretch;
  text-decoration: none;
  color: #fff;
  padding: 28px 32px;
  min-height: 140px;
  border-radius: 10px;
  background: linear-gradient(284.36deg, rgba(255,255,255,0) 0%, rgba(0,0,0,0.6) 39%, rgba(0,0,0,0.8) 100%);
  border: 1px solid transparent;
  border-image: linear-gradient(279.24deg, #000 17.75%, #666 103.05%) 1;
  position: relative;
  overflow: hidden;
}
.price-join--quarterly::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(48.35deg, rgba(0,0,0,0.8) 0%, rgba(134,118,80,0.8) 59%);
  pointer-events: none;
  z-index: 0;
}
.price-join > * { position: relative; z-index: 1; }
.price-join__left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}
.price-join__right {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-end;
  text-align: right;
}
.price-join .join-label {
  font-family: "Bornia-Medium", serif;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.price-join .join-term {
  font-family: "Bornia-Bold", serif;
  font-size: 22px;
  text-transform: uppercase;
}
.price-join .join-savings {
  margin-top: 8px;
  font-size: 13px;
}
.price-join .join-savings strong {
  padding: 4px 8px;
  background: rgba(255,255,255,0.25);
  border-radius: 5px;
  font-weight: 400;
}
.price-join .join-amount {
  font-family: "Bornia-Black", serif;
  font-size: 42px;
  line-height: 1;
  position: relative;
}
.price-join .dollar {
  font-size: 20px;
  position: absolute;
  left: -22px;
  top: 8px;
}
.price-join .join-note {
  font-family: "Bornia-SemiBold", serif;
  font-size: 14px;
  margin-top: 6px;
  opacity: 0.9;
}

/* ——— Gallery marquee ——— */
.gallery-marquee {
  overflow: hidden;
  padding: 0;
  margin: 0;
  background: #111;
}
.gallery-marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 45s linear infinite;
}
.gallery-marquee__track img {
  height: clamp(120px, 18vw, 180px);
  width: auto;
  flex-shrink: 0;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ——— Footer ——— */
.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  max-width: var(--pp-max);
  margin: 0 auto;
}
.footer-links-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-links-grid a {
  font-family: "Bornia-Medium", serif;
  font-size: 15px;
}
/* `.site-footer` / `.site-footer__legal` removed — the global Elementor footer
   styles itself. `.footer-links-grid` above is page content and stays. */

/* ——— Sticky CTA ——— */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  padding: 12px 20px;
  background: rgba(255,255,255,0.96);
  border-top: 1px solid #e5e5e5;
  transform: translateY(110%);
  transition: transform 0.35s ease;
  backdrop-filter: blur(8px);
}
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta__inner {
  max-width: var(--pp-max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 20px;
}
.sticky-cta .btn-blue { margin-top: 0; padding: 12px 20px; font-size: 13px; }
.cta-label--mobile { display: none; }
.sticky-cta__link {
  font-family: "Bornia-Bold", serif;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--pp-blue);
  text-decoration: none;
}

/* ——— Scroll reveal ——— */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }

.divider-blue {
  width: 80px;
  height: 3px;
  background: var(--pp-blue);
  margin: 24px auto;
  border-radius: 2px;
}

@media (max-width: 1024px) {
  .v-stack__stage,
  .fade-stack__row,
  .editorial-split { grid-template-columns: 1fr; }
  .editorial-split__sticky { position: relative; top: 0; }
  .v-stack__visual { height: min(42vh, 360px); }
  .v-stack__copy { min-height: 300px; }
  .fade-stack__visual { max-height: 420px; margin: 0 auto; width: min(100%, 360px); }
  .fade-stack__copy { min-height: 0; }
  .fade-stack__steps { min-height: 0; }
  .fade-stack__copy .cta-stack { margin-top: 8px; }
  .story-quote, .story-quote--flip { grid-template-columns: 1fr; }
  .story-quote--flip .story-quote__photo,
  .story-quote--flip .story-quote__text { order: unset; }
  .closing-cta__stats-row { grid-template-columns: repeat(2, 1fr); }
  .footer-links-grid { grid-template-columns: repeat(2, 1fr); }
  .h-scroll, .v-stack, .fade-stack { height: auto; }
  .h-scroll__pin, .v-stack__pin, .fade-stack__pin {
    position: relative;
    height: auto;
    display: block;
  }
  .h-scroll__track {
    overflow-x: auto;
    transform: none;
    padding-bottom: 16px;
    scroll-snap-type: x mandatory;
  }
  .h-panel { scroll-snap-align: start; min-height: 360px; }
  .v-stack__media:not(.is-active),
  .v-stack__panel:not(.is-active),
  .fade-stack__step:not(.is-active),
  .fade-stack__visual img:not(.is-active) {
    position: relative;
    opacity: 1;
    transform: none;
    clip-path: none;
    pointer-events: auto;
  }
  .v-stack__visual { display: flex; flex-direction: column; height: auto; gap: 16px; }
  .v-stack__media { position: relative; height: 240px; }
  .v-stack__copy { min-height: 0; }
  .v-stack__panel { position: relative; top: auto; margin-bottom: 28px; }
  .v-stack__dots { display: none; }
  .fade-stack__visual { aspect-ratio: auto; height: auto; }
  .fade-stack__visual img { position: relative; height: auto; margin-bottom: 16px; }
  .fade-stack__step { position: relative; margin-bottom: 24px; }
}

@media (max-width: 640px) {
  .footer-links-grid { grid-template-columns: 1fr; }
  .scroll-scene { padding: 56px 16px; }
  .closing-cta__stats-row { grid-template-columns: 1fr 1fr; gap: 20px; }
  .h-panel { flex-basis: 78vw; }
  .h-panel--photo { flex-basis: 82vw; }
  .sticky-cta .cta-label--full { display: none; }
  .sticky-cta .cta-label--mobile { display: inline; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__media img, .hero__media video { animation: none; transform: none; }
  .gallery-marquee__track { animation: none; }
  .reveal, .story-quote { opacity: 1; transform: none; transition: none; }
  .v-stack__media, .v-stack__panel, .fade-stack__step, .fade-stack__visual img {
    transition: none;
  }
  .sticky-cta { transition: none; }
}
