/* =========================================================
   Project Limitless — design tokens
   ========================================================= */
:root {
  --plum: #2E1A33;
  --plum-ink: #150a18;
  --chalk: #F9F6F0;
  --sage: #E2EAE2;
  --mustard: #F3B61F;
  --border: #D1C7D4;
  --muted: #6C5E72;

  --serif: "Fraunces", "Noto Serif TC", Georgia, "Times New Roman", serif;
  --sans:  "DM Sans", "Noto Serif TC", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;

  --radius-btn: 8px;
  --radius-card: 12px;

  --pad: clamp(20px, 4vw, 72px);
  --section-pad-y: calc(clamp(80px, 10vw, 160px) * var(--space-scale, 1));

  /* Tweak-driven knobs */
  --h-scale: 1;
  --scrim-strength: 1;
  --space-scale: 1;
}

/* Theme: Forest & Saffron */
html.theme-forest {
  --plum: #1E3A2B;
  --plum-ink: #122319;
  --chalk: #F4EFE6;
  --sage: #D9DFC9;
  --mustard: #E0A726;
  --border: #C7CDB8;
  --muted: #5E6E5E;
}
/* Theme: Ink & Coral */
html.theme-ink {
  --plum: #1A1A1F;
  --plum-ink: #0E0E12;
  --chalk: #F5F2EC;
  --sage: #DCD8CE;
  --mustard: #E86F4D;
  --border: #C8C2B6;
  --muted: #5A564E;
}
/* Theme: Midnight & Amber */
html.theme-midnight {
  --plum: #14213D;
  --plum-ink: #0B1428;
  --chalk: #F1EDE3;
  --sage: #C9D3DE;
  --mustard: #F4A013;
  --border: #B9C2CF;
  --muted: #4F5A6D;
}

/* Heading font alts */
html.head-cormorant { --serif: "Cormorant Garamond", Georgia, serif; }
html.head-playfair  { --serif: "Playfair Display", Georgia, serif; }
html.head-spectral  { --serif: "Spectral", Georgia, serif; }

/* Body font alts */
html.body-inter   { --sans: "Inter", -apple-system, sans-serif; }
html.body-manrope { --sans: "Manrope", -apple-system, sans-serif; }
html.body-ibm     { --sans: "IBM Plex Sans", -apple-system, sans-serif; }

* { box-sizing: border-box; }
html { margin: 0; padding: 0; overflow-x: hidden; }
body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--plum);
  background: var(--chalk);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }

/* =========================================================
   Type
   ========================================================= */
.eyebrow {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mustard);
  display: inline-block;
}
.eyebrow--on-dark { color: var(--mustard); }
.eyebrow { text-wrap: pretty; overflow-wrap: break-word; }

.section__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: calc(clamp(28px, 3.6vw, 44px) * var(--h-scale));
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--plum);
  margin: 12px 0 0;
  text-wrap: pretty;
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: var(--radius-btn);
  font-family: var(--sans);
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
  cursor: pointer;
  border: 1.5px solid transparent;
  white-space: nowrap;
}
.btn--primary {
  background: var(--plum);
  color: var(--chalk);
}
.btn--primary:hover {
  background: var(--mustard);
  color: var(--plum);
}
.btn--cta {
  background: var(--mustard);
  color: var(--plum);
  padding: 12px 18px;
  font-size: 14px;
}
.btn--cta:hover { background: var(--chalk); color: var(--plum); }
.btn--cta .btn__short { display: none; }
@media (max-width: 640px) {
  .btn--cta .btn__full { display: none; }
  .btn--cta .btn__short { display: inline; }
}
@media (max-width: 640px) {
  .btn { white-space: normal; text-align: center; }
}
.btn--ghost {
  background: transparent;
  border-color: var(--plum);
  color: var(--plum);
}
.btn--ghost:hover { background: rgba(46,26,51,0.08); }
.btn--ghost.btn--on-dark {
  border-color: rgba(249,246,240,0.45);
  color: var(--chalk);
}
.btn--ghost.btn--on-dark:hover {
  background: rgba(249,246,240,0.1);
  border-color: var(--chalk);
}
.btn--on-dark.btn--primary {
  background: var(--mustard); color: var(--plum);
}
.btn--on-dark.btn--primary:hover { background: var(--chalk); color: var(--plum); }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 50;
  background: var(--plum);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav__inner {
  max-width: 1440px; margin: 0 auto;
  padding: 16px var(--pad);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
}
.logo {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none;
  color: var(--chalk);
  flex-shrink: 0;
  min-width: max-content;
}
.logo__mark {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--mustard);
  display: inline-block;
}
.logo__img {
  height: clamp(40px, 7vw, 56px);
  width: auto;
  aspect-ratio: 473 / 123;
  flex-shrink: 0;
  object-fit: contain;
  display: block;
}
.logo__word {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.01em;
}
.nav__links {
  display: flex; gap: 30px;
  justify-content: center;
}
.nav__links a {
  font-size: 14px;
  color: rgba(249,246,240,0.65);
  text-decoration: none;
  transition: color .15s ease;
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
}
.nav__links a:hover { color: var(--chalk); }
.nav__links a::after {
  content: ""; position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1.5px;
  background: var(--mustard);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.nav__links a:hover::after { transform: scaleX(1); }

@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__inner { grid-template-columns: auto 1fr; gap: 16px; }
}
@media (max-width: 480px) {
  .nav__inner { gap: 10px; }
  .logo__img { height: 32px; }
  .btn--cta {
    padding: 10px 12px;
    font-size: 12px;
    white-space: normal;
    text-align: center;
    justify-content: center;
  }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--plum);
  color: var(--chalk);
  overflow: hidden;
  isolation: isolate;
  padding-top: 72px;
}
.hero__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 72px);
  align-items: stretch;
}

/* Left column: text, centered */
.hero__left {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px clamp(32px, 5vw, 96px);
  /* Fade from solid plum on the left edge toward the video's dark plum-ink on the right edge */
  background: linear-gradient(90deg, var(--plum) 0%, var(--plum) 35%, var(--plum-ink) 100%);
}
.hero__block {
  width: 100%;
  max-width: 540px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: calc(clamp(40px, 5.4vw, 76px) * var(--h-scale));
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin: 18px 0 22px;
  color: var(--chalk);
  text-wrap: balance;
}
@media (min-width: 861px) {
  .hero__title { font-size: 62px; }
}
.hero__sub {
  font-size: 16px;
  line-height: 1.65;
  color: rgba(249,246,240,0.78);
  max-width: 480px;
  margin: 0 0 32px;
  text-wrap: pretty;
}
.hero__sub p { margin: 0; }
.hero__sub p + p { margin-top: 14px; }
.hero__sub p:nth-child(2) { margin-top: 20px; }
.hero__actions {
  display: flex; gap: 14px; flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 56px;
}
.hero__meta {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(249,246,240,0.18);
  padding-top: 24px;
  width: 100%;
  max-width: 480px;
}
.hero__meta li {
  display: flex; flex-direction: column; gap: 4px;
  align-items: center;
  text-align: center;
  border-right: 1px solid rgba(249,246,240,0.12);
  padding: 0 12px;
}
.hero__meta li:last-child { border-right: 0; }
.hero__metaNum {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  color: var(--chalk);
}
.hero__metaLbl {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(249,246,240,0.55);
}

/* Right column: video */
.hero__right {
  position: relative;
  overflow: hidden;
  background: var(--plum-ink);
}
.hero__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 0;
  filter: contrast(1.03) saturate(0.95);
}
.hero__videoEdge {
  /* Soft plum-ink vignette so the video blends into the left-column gradient without a seam */
  position: absolute; inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, var(--plum-ink) 0%, rgba(21,10,24,0) 14%, rgba(21,10,24,0) 86%, var(--plum-ink) 100%),
    linear-gradient(180deg, rgba(21,10,24,0.4) 0%, rgba(21,10,24,0) 18%, rgba(21,10,24,0) 78%, rgba(21,10,24,0.5) 100%);
  opacity: 0.85;
}

.hero__left { position: relative; }
.hero__scrollHint {
  position: absolute;
  z-index: 3;
  bottom: 28px; left: var(--pad);
  display: flex; align-items: center; gap: 12px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(249,246,240,0.7);
}
.hero__scrollLine {
  width: 60px; height: 1px;
  background: linear-gradient(90deg, rgba(249,246,240,0.55), rgba(249,246,240,0));
  position: relative;
  overflow: hidden;
}
.hero__scrollLine::after {
  content: "";
  position: absolute; top: 0; left: 0;
  width: 16px; height: 1px;
  background: var(--mustard);
  animation: scrollDrift 2.6s ease-in-out infinite;
}
@keyframes scrollDrift {
  0% { transform: translateX(-16px); opacity: 0; }
  35% { opacity: 1; }
  100% { transform: translateX(60px); opacity: 0; }
}

/* Mobile: stack — text first, video below */
@media (max-width: 860px) {
  .hero__split {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    min-height: auto;
  }
  .hero__left {
    padding: 56px 24px 48px;
    min-height: auto;
    /* Vertical fade — plum at top, plum-ink at the seam where the video begins */
    background: linear-gradient(180deg, var(--plum) 0%, var(--plum) 50%, var(--plum-ink) 100%);
  }
  .hero__left,
  .hero__right { min-width: 0; }
  .hero__right {
    aspect-ratio: 16 / 11;
    min-height: 320px;
    width: 100%;
  }
  .hero__title {
    font-size: clamp(36px, 9vw, 56px);
  }
  .hero__block { max-width: 100%; }
  .eyebrow { font-size: clamp(10px, 3vw, 11px); }
  .hero__actions { margin-bottom: 36px; }
}

/* =========================================================
   THE WINDOW
   ========================================================= */
.window {
  background: var(--chalk);
  padding: var(--section-pad-y) var(--pad);
  position: relative;
  display: flex;
  align-items: center;
}
.window__inner { max-width: 1280px; margin: 0 auto; width: 100%; }
.window__head { max-width: 760px; margin: 0 auto clamp(48px, 8vh, 80px); text-align: center; }
.window__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: calc(clamp(28px, 3.6vw, 44px) * var(--h-scale));
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 12px 0 0;
  text-wrap: pretty;
}
.window__title em {
  font-style: italic;
  font-weight: 400;
  position: relative;
}
.window__title em::after {
  content: "";
  position: absolute;
  left: -2%; right: -2%; bottom: 4px;
  height: 8px;
  background: var(--mustard);
  opacity: 0.85;
  z-index: -1;
  border-radius: 1px;
}
.window__lede {
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.6;
  color: var(--muted);
  margin: 18px 0 0;
  text-wrap: pretty;
}
.window__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: stretch;
}
.windowCard {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 40px 32px 36px;
  background: var(--chalk);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: 0 1px 2px rgba(21,10,24,0.04);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.windowCard:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px -24px rgba(21,10,24,0.28);
  border-color: rgba(243,182,31,0.5);
}
.windowCard__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--plum);
  color: var(--mustard);
  margin-bottom: 26px;
}
.windowCard__icon svg { width: 24px; height: 24px; }
.windowCard__num {
  display: none;
}
.windowCard__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 20px;
  margin: 0 0 14px;
  line-height: 1.3;
  color: var(--plum);
}
.windowCard__titleZh {
  display: block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 15px;
  color: var(--muted);
  margin-top: 2px;
}
.windowCard__body {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}
.window__line {
  height: 1px;
  background: var(--border);
  margin: 64px 0 36px;
  position: relative;
}
.window__line::before {
  content: "";
  position: absolute;
  left: 0; top: -1px;
  width: 80px; height: 3px;
  background: var(--mustard);
}
.window__pull {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.35;
  max-width: 920px;
  color: var(--plum);
  margin: 0;
  text-wrap: pretty;
}
.window__pull .hl {
  font-style: italic;
  font-weight: 500;
}

@media (max-width: 900px) {
  .window__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .window__grid { grid-template-columns: 1fr; }
}
/* =========================================================
   OUR SERVICES — vertical road journey
   ========================================================= */
.journey {
  position: relative;
  background: var(--plum);
  color: var(--chalk);
  padding: var(--section-pad-y) var(--pad);
  overflow: clip;
}
.journey__inner {
  max-width: 1280px;
  margin: 0 auto;
}
.journey__head {
  max-width: 760px;
  margin: 0 auto clamp(48px, 8vh, 88px);
  text-align: center;
}
.journey__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: calc(clamp(32px, 4vw, 48px) * var(--h-scale));
  line-height: 1.1;
  margin: 14px 0 10px;
  color: var(--chalk);
  text-wrap: pretty;
}
.journey__lede {
  color: rgba(249,246,240,0.6);
  font-size: 15px;
  margin: 0;
}

.journey__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 8vw, 120px);
  align-items: start;
  position: relative;
}

/* ─── Road column ─────────────────────────────────────────── */

.journey__roadCol {
  position: relative;
  padding: 60px 0 60px;
}

/* Vertical rail */
.journey__rail {
  position: absolute;
  left: 22%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(249,246,240,0.18);
  z-index: 0;
}
.journey__rail::before,
.journey__rail::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 7px; height: 7px;
  border-radius: 50%;
  border: 1px solid rgba(249,246,240,0.35);
  background: var(--plum);
}
.journey__rail::before { top: -3px; }
.journey__rail::after { bottom: -3px; }

.journey__railFill {
  position: absolute;
  left: 22%;
  top: 0;
  width: 2px;
  transform: translateX(-50%);
  height: 0;
  background: linear-gradient(180deg, rgba(243,182,31,0.6) 0%, var(--mustard) 100%);
  z-index: 1;
  will-change: height;
}

.journey__walker {
  position: absolute;
  left: 22%;
  top: 0;
  transform: translate(-50%, -50%);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  pointer-events: none;
  will-change: top;
  opacity: 0;
  transition: opacity .25s ease;
}
.journey__walker.is-on { opacity: 1; }
.journey__walkerDot {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--mustard);
  box-shadow: 0 0 0 6px rgba(243,182,31,0.18);
}
.journey__walkerLabel {
  position: absolute;
  left: 28px;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mustard);
  white-space: nowrap;
  font-weight: 700;
}

.journey__stations {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 8vh, 96px);
}

.station {
  position: relative;
  display: grid;
  grid-template-columns: 22% 1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  min-height: clamp(220px, 32vh, 320px);
  padding: 0;
}
.station__num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(28px, 3vw, 40px);
  color: rgba(249,246,240,0.32);
  text-align: right;
  padding-right: clamp(24px, 3vw, 40px);
  line-height: 1;
  letter-spacing: -0.02em;
  transition: color .4s ease;
}
.station__pin {
  position: absolute;
  left: 22%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--plum);
  border: 1.5px solid rgba(249,246,240,0.4);
  z-index: 2;
  transition: background .35s ease, border-color .35s ease, transform .35s ease, box-shadow .35s ease;
}
.station__pin::before {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: transparent;
  transition: background .35s ease;
}

.station__body {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
  padding-left: 0;
}
.station__art {
  flex-shrink: 0;
  width: clamp(140px, 18vw, 220px);
  height: auto;
  opacity: 0.45;
  transition: opacity .4s ease, transform .4s ease;
  color: rgba(249,246,240,0.8);
}
.station__art [stroke="#2E1A33"] { stroke: currentColor; }
.station__art .window-dot {
  fill: rgba(249,246,240,0.2);
  stroke: currentColor;
  stroke-width: 1;
  transition: fill .35s ease;
}
.station__label {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.station__age {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(249,246,240,0.45);
  transition: color .35s ease;
}
.station__name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(20px, 2.2vw, 28px);
  color: rgba(249,246,240,0.6);
  letter-spacing: -0.01em;
  transition: color .35s ease;
}

.station.is-active .station__num { color: var(--mustard); }
.station.is-active .station__pin {
  background: var(--mustard);
  border-color: var(--mustard);
  transform: translate(-50%, -50%) scale(1.15);
  box-shadow: 0 0 0 7px rgba(243,182,31,0.18);
}
.station.is-active .station__pin::before { background: var(--plum); }
.station.is-active .station__art {
  opacity: 1;
  color: var(--chalk);
}
.station.is-active .station__art .window-dot {
  fill: var(--mustard);
  stroke: var(--mustard);
}
.station.is-active .station__name { color: var(--chalk); }
.station.is-active .station__age { color: var(--mustard); }

/* Outro block — extends the road past the last station so the sticky panel stays visible longer. */
.journey__outro {
  position: relative;
  display: grid;
  grid-template-columns: 22% 1fr;
  gap: clamp(24px, 4vw, 48px);
  padding-top: clamp(40px, 7vh, 88px);
  padding-bottom: clamp(48px, 10vh, 140px);
  align-items: start;
}
.journey__outroDot {
  position: absolute;
  left: 22%;
  top: clamp(56px, 9vh, 104px);
  transform: translate(-50%, -50%);
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(249,246,240,0.42);
  z-index: 2;
}
.journey__outroBody {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 560px;
}
.journey__outroLede {
  font-family: var(--serif);
  font-weight: 500;
  font-size: calc(clamp(24px, 2.8vw, 34px) * var(--h-scale));
  line-height: 1.18;
  margin: 8px 0 0;
  color: var(--chalk);
  letter-spacing: -0.01em;
  text-wrap: pretty;
}
@media (min-width: 901px) {
  .journey__outroLede { font-size: 30px; }
}
.journey__outroLede em {
  font-style: italic;
  font-weight: 400;
  color: var(--mustard);
}
.journey__outroSub {
  font-size: 14.5px;
  line-height: 1.65;
  color: rgba(249,246,240,0.62);
  margin: 0;
}

/* ─── Sticky panel column ─────────────────────────────────── */

.journey__panelCol {
  position: sticky;
  top: max(88px, calc(50vh - var(--panel-half, 240px)));
  align-self: start;
}
.journey__panel {
  background: var(--chalk);
  color: var(--plum);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 30px 32px 30px;
  transition: opacity .25s ease, transform .25s ease;
  will-change: opacity, transform;
}
.journey__panel.is-swapping { opacity: 0.5; }
.journey__panelInner { display: flex; flex-direction: column; gap: 6px; }
.journey__panelTitle {
  font-family: var(--serif);
  font-weight: 600;
  font-size: calc(clamp(28px, 3.2vw, 38px) * var(--h-scale));
  line-height: 1.12;
  margin: 6px 0 4px;
  letter-spacing: -0.015em;
}
.journey__panelLede {
  font-size: 15px;
  color: var(--muted);
  margin: 0 0 12px;
  line-height: 1.55;
}
.journey__panelList {
  list-style: none; padding: 0; margin: 8px 0 16px;
  display: flex; flex-direction: column; gap: 6px;
  font-size: 14px;
  color: var(--plum);
}
.journey__panelList li {
  padding-left: 18px;
  position: relative;
}
.journey__panelList li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 7px; height: 7px;
  background: var(--mustard);
  border-radius: 1px;
}
.journey__panelMeta {
  display: flex; align-items: center; gap: 10px;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 16px;
  border-top: 1px solid var(--border);
  margin-bottom: 20px;
}
.journey__panelMeta .dot { color: var(--mustard); }

/* Progress dots inside panel */
.journey__progress {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  padding-top: 16px;
  margin-top: 4px;
}
.journey__progress li {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  position: relative;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color .25s ease;
  cursor: pointer;
}
.journey__progress li .dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: transparent;
  border: 1.5px solid var(--border);
  transition: background .25s ease, border-color .25s ease, transform .25s ease;
}
.journey__progress li.is-active { color: var(--plum); }
.journey__progress li.is-active .dot {
  background: var(--mustard);
  border-color: var(--mustard);
  transform: scale(1.25);
}
.journey__progress li.is-done .dot {
  background: var(--plum);
  border-color: var(--plum);
}

/* ─── Responsive ──────────────────────────────────────────── */

@media (max-width: 900px) {
  .journey__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .journey__roadCol,
  .journey__panelCol { min-width: 0; }
  .journey__panelCol {
    position: sticky;
    top: 72px;
    height: auto;
    display: block;
    order: -1;
    z-index: 5;
  }
  .journey__panel {
    padding: 18px 20px;
    background: var(--chalk);
    backdrop-filter: blur(12px) saturate(160%);
    -webkit-backdrop-filter: blur(12px) saturate(160%);
  }
  .journey__panelLede,
  .journey__panelList { display: none; }
  .journey__panelTitle {
    font-size: 22px;
    margin: 4px 0 2px;
  }
  .journey__panelMeta {
    padding-top: 10px;
    margin-bottom: 12px;
  }
  .station {
    min-height: clamp(180px, 28vh, 260px);
    grid-template-columns: 60px 1fr;
    gap: 16px;
  }
  .journey__rail,
  .journey__railFill,
  .journey__walker { left: 60px; }
  .station__pin { left: 60px; }
  .journey__outro {
    grid-template-columns: 60px 1fr;
    gap: 16px;
    padding-bottom: clamp(40px, 8vh, 80px);
  }
  .journey__outroDot { left: 60px; }
  .station__num {
    padding-right: 18px;
    font-size: 22px;
  }
  .station__body {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .station__art {
    width: clamp(120px, 36vw, 180px);
  }
}

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.testimonials {
  background: var(--sage);
  padding: var(--section-pad-y) var(--pad);
}
.testimonials__inner { max-width: 1280px; margin: 0 auto; }
.testimonials__head {
  max-width: 820px; margin: 0 0 64px;
}
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.quote {
  margin: 0;
  background: var(--chalk);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 30px 28px 26px;
  display: flex; flex-direction: column; gap: 22px;
}
.quote--accent {
  background: var(--plum);
  color: var(--chalk);
  border-color: var(--plum);
}
.quote blockquote { margin: 0; }
.quote blockquote p {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 19px;
  line-height: 1.45;
  margin: 0;
  position: relative;
  letter-spacing: -0.005em;
}
.quote blockquote p::before {
  content: "“";
  font-family: var(--serif);
  font-size: 44px;
  line-height: 0.6;
  color: var(--mustard);
  display: block;
  margin-bottom: 16px;
}
.quote figcaption {
  display: flex; flex-direction: column; gap: 4px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}
.quote--accent figcaption { border-top-color: rgba(249,246,240,0.2); }
.quote__name {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 14px;
}
.quote__role {
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: 0.01em;
}
.quote--accent .quote__role { color: rgba(249,246,240,0.6); }

@media (max-width: 900px) {
  .testimonials__grid { grid-template-columns: 1fr; }
}

/* =========================================================
   TEAM
   ========================================================= */
.team {
  background: var(--chalk);
  padding: var(--section-pad-y) var(--pad);
}
.team__inner { max-width: 1280px; margin: 0 auto; }
.team__head { max-width: 760px; margin-bottom: 64px; }
.team__head--sub { margin-top: 96px; }
.team__grid.team__grid--founders {
  grid-template-columns: repeat(2, 1fr);
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
  gap: 28px;
}
.team__lede {
  font-size: 16px;
  color: var(--muted);
  max-width: 640px;
  margin: 18px 0 0;
}
.team__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.member {
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--chalk);
  display: flex; flex-direction: column;
}
.member__photo {
  aspect-ratio: 4 / 5;
  background:
    repeating-linear-gradient(135deg, rgba(46,26,51,0.06) 0 8px, transparent 8px 16px),
    var(--sage);
  display: flex; align-items: center; justify-content: center;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.member__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
  display: block;
}
.team__grid--founders img[alt="Ivory Lee"] {
  object-position: 50% 12%;
}
.member__photoLbl {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.member__body {
  padding: 20px 22px 24px;
  display: flex; flex-direction: column; gap: 4px;
}
.member__name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 20px;
  margin: 0;
  letter-spacing: -0.005em;
}
.member__role {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mustard);
  margin: 4px 0 8px;
  font-weight: 700;
}
.member__bio {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  line-height: 1.55;
}

@media (max-width: 980px) { .team__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .team__grid { grid-template-columns: 1fr; } .team__grid.team__grid--founders { grid-template-columns: 1fr; } }

.team__grid--founders .member__photo {
  aspect-ratio: 4 / 3;
}

/* Team carousel */
.carousel {
  position: relative;
  --per-view: 4;
  --gap: 20px;
}
.carousel__viewport {
  overflow: hidden;
}
.carousel__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--chalk);
  color: var(--plum);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 24px -10px rgba(21,10,24,0.4);
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}
.carousel__arrow svg { width: 22px; height: 22px; }
.carousel__arrow:hover { background: var(--plum); color: var(--chalk); }
.carousel__arrow:active { transform: translateY(-50%) scale(0.94); }
.carousel__arrow--prev { left: -20px; }
.carousel__arrow--next { right: -20px; }
@media (max-width: 640px) {
  .carousel__arrow--prev { left: 4px; }
  .carousel__arrow--next { right: 4px; }
}
.carousel__track {
  display: flex;
  gap: var(--gap);
  transition: transform 0.7s cubic-bezier(0.6, 0.01, 0.05, 0.95);
  will-change: transform;
}
.carousel .member {
  flex: 0 0 calc((100% - (var(--per-view) - 1) * var(--gap)) / var(--per-view));
}
@media (max-width: 980px) { .carousel { --per-view: 2; } }
@media (max-width: 520px) { .carousel { --per-view: 1; } }

/* =========================================================
   FOOTER CTA
   ========================================================= */
.cta {
  background: var(--plum);
  color: var(--chalk);
}
.cta__inner {
  max-width: 1100px; margin: 0 auto;
  padding: var(--section-pad-y) var(--pad);
  text-align: center;
}
.cta__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: calc(clamp(36px, 5.4vw, 72px) * var(--h-scale));
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 18px 0 22px;
  color: var(--chalk);
  text-wrap: balance;
}
.cta__sub {
  font-size: 16.5px;
  color: rgba(249,246,240,0.7);
  max-width: 580px; margin: 0 auto 32px;
}
.cta__steps { margin: 0 0 48px; }
.cta__stepsLabel { display: block; margin-bottom: 24px; }
.cta__stepsList {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  text-align: left;
}
.ctaStep {
  flex: 0 1 calc(25% - 12px);
  background: rgba(249,246,240,0.06);
  border: 1px solid rgba(249,246,240,0.14);
  border-radius: var(--radius-card);
  padding: 22px 20px 24px;
}
.ctaStep__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--mustard);
  color: var(--plum);
  font-family: var(--serif);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 14px;
}
.ctaStep__title {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--chalk);
  margin: 0 0 8px;
}
.ctaStep__body {
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(249,246,240,0.65);
  margin: 0;
}
@media (max-width: 900px) {
  .ctaStep { flex-basis: calc(50% - 8px); }
}
@media (max-width: 560px) {
  .ctaStep { flex-basis: 100%; }
}
.cta__actions {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
}
.foot {
  border-top: 1px solid rgba(249,246,240,0.12);
}
.foot__inner {
  max-width: 1440px; margin: 0 auto;
  padding: 24px var(--pad);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12.5px;
  color: rgba(249,246,240,0.5);
}
.foot__brand {
  font-family: var(--serif);
  font-weight: 500;
  color: rgba(249,246,240,0.7);
}

/* =========================================================
   TRACKS & PACKAGES — pricing comparison
   ========================================================= */
.pricing {
  background: var(--chalk);
  padding: var(--section-pad-y) var(--pad);
}
.pricing__inner { max-width: 1280px; margin: 0 auto; }
.pricing__head {
  max-width: 760px;
  margin: 0 auto clamp(40px, 5vw, 64px);
  text-align: center;
}
.pricing__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: calc(clamp(32px, 4.4vw, 52px) * var(--h-scale));
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--plum);
  margin: 12px 0 0;
  text-wrap: pretty;
}
.pricing__title em { font-style: italic; color: var(--plum); }
.pricing__lede {
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.6;
  color: var(--muted);
  margin: 18px 0 0;
  text-wrap: pretty;
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}

.ptier {
  display: flex;
  flex-direction: column;
  padding: 36px 28px 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--chalk);
  position: relative;
}

.ptier__head { min-height: 172px; }
.ptier__name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 26px;
  letter-spacing: -0.01em;
  color: var(--plum);
  margin: 0;
}
.ptier__tag {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--muted);
  margin: 10px 0 0;
  text-wrap: pretty;
}

.ptier__price {
  display: flex;
  align-items: baseline;
  flex-wrap: nowrap;
  white-space: nowrap;
  gap: 6px;
  margin: 4px 0 22px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.ptier__amt {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 28px;
  color: var(--plum);
  letter-spacing: -0.01em;
}
.ptier__per {
  font-size: 13px;
  color: var(--muted);
}

.ptier__cta {
  width: 100%;
  justify-content: center;
  margin-top: 24px;
  margin-bottom: 26px;
}

.ptier__feats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ptier__feats li {
  position: relative;
  padding-left: 26px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--plum);
  text-wrap: pretty;
}
.ptier__feats li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--mustard);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232E1A33' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 11px;
  background-repeat: no-repeat;
  background-position: center;
}
.ptier__feats li.is-off {
  color: var(--muted);
  opacity: 0.6;
}
.ptier__feats li.is-off::before {
  background: transparent;
  border: 1px solid var(--border);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236C5E72' stroke-width='2.6' stroke-linecap='round'%3E%3Cline x1='6' y1='12' x2='18' y2='12'/%3E%3C/svg%3E");
  background-size: 10px;
  background-repeat: no-repeat;
  background-position: center;
}

/* Featured — Apex */
.ptier--featured {
  background: var(--plum);
  color: var(--chalk);
  margin: -14px 0;
  /* lift is via negative margin; add matching top padding so the head/price/CTA
     rows line up with the other three cards */
  padding-top: 50px;
  border-radius: var(--radius-card);
  border: 0;
  box-shadow: 0 24px 60px -24px rgba(21,10,24,0.5);
  z-index: 2;
}
.ptier--featured .ptier__name,
.ptier--featured .ptier__amt { color: var(--chalk); }
.ptier--featured .ptier__tag,
.ptier--featured .ptier__per { color: rgba(249,246,240,0.6); }
.ptier--featured .ptier__price { border-top-color: rgba(249,246,240,0.18); }
.ptier--featured .ptier__feats li { color: var(--chalk); }
.ptier--featured .ptier__feats li.is-off { color: rgba(249,246,240,0.5); }
.ptier__badge {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--mustard);
  color: var(--plum);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
}

@media (max-width: 1000px) {
  .pricing__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ptier--featured {
    margin: 0;
    padding-top: 36px;
    box-shadow: none;
  }
  .ptier--featured .ptier__feats li.is-off { opacity: 0.7; }
}
/* Mobile tab switcher — hidden until ≤560px */
.pricing__tabs {
  display: none;
  gap: 6px;
  margin-bottom: 22px;
  background: rgba(46,26,51,0.06);
  padding: 5px;
  border-radius: 11px;
}
.pricing__tab {
  flex: 1;
  min-width: 0;
  appearance: none;
  border: 0;
  background: transparent;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 13px;
  color: var(--muted);
  padding: 11px 4px;
  border-radius: 7px;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.pricing__tab.is-active {
  background: var(--plum);
  color: var(--chalk);
  box-shadow: 0 1px 3px rgba(21,10,24,0.18);
}

@media (max-width: 560px) {
  .pricing__tabs { display: flex; }
  .pricing__grid {
    display: block;
    border: 0;
    border-radius: 0;
    overflow: visible;
  }
  .ptier {
    display: none;
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
  }
  .ptier.is-active { display: flex; }
  .ptier--featured {
    margin: 0;
    padding-top: 36px;
    border: 0;
    border-radius: var(--radius-card);
    box-shadow: 0 18px 44px -22px rgba(21,10,24,0.5);
  }
}

/* =========================================================
   JOURNEY — mobile: keep the scroll rail, replace each station's
   SVG illustration + label with its full info card inline
   ========================================================= */
.station__card { display: none; }

@media (max-width: 900px) {
  .station__art,
  .station__label { display: none !important; }
  .journey__panelCol { display: none !important; }
  .station__body { min-height: 0; }

  .station__card {
    display: block;
    background: var(--chalk);
    color: var(--plum);
    border-radius: var(--radius-card);
    padding: 20px 20px 22px;
    width: 100%;
    transition: box-shadow .25s ease;
  }
  .station.is-active .station__card {
    box-shadow: 0 14px 36px -18px rgba(21,10,24,0.55);
  }
  .station__card .eyebrow { color: var(--mustard); }
  .station__cardTitle {
    font-family: var(--serif);
    font-weight: 600;
    font-size: 23px;
    letter-spacing: -0.01em;
    margin: 8px 0 0;
    text-wrap: pretty;
  }
  .station__cardLede {
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--muted);
    margin: 12px 0 0;
    text-wrap: pretty;
  }
  .station__cardList {
    list-style: none;
    margin: 16px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 9px;
  }
  .station__cardList li {
    position: relative;
    padding-left: 22px;
    font-size: 14px;
    line-height: 1.45;
    color: var(--plum);
    text-wrap: pretty;
  }
  .station__cardList li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--mustard);
  }
  .station__cardMeta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
    font-size: 12.5px;
    letter-spacing: 0.02em;
    color: var(--muted);
  }
}
