/* ============================================================
   WHITE PEARL CITY — site design system
   Palette (brochure-locked): abyss #0B0B0D, charcoal #141416,
   gold #C9A24B, pearl #F4F1EA, driftwood #9B948A.
   Display: Cinzel. Body: Jost.
   ============================================================ */

:root {
  --wpc-abyss: #0b0b0d;
  --wpc-charcoal: #131316;
  --wpc-surface: #18181c;
  --wpc-gold: #c9a24b;
  --wpc-gold-soft: #e3c87e;
  --wpc-pearl: #f4f1ea;
  --wpc-mute: #9b948a;
  --wpc-line: rgba(244, 241, 234, 0.14);
  --wpc-line-soft: rgba(244, 241, 234, 0.08);
  --wpc-display: "Cinzel", "Times New Roman", serif;
  --wpc-body: "Jost", "Avenir Next", "Segoe UI", sans-serif;
}

.wpc {
  background: var(--wpc-abyss);
  color: var(--wpc-pearl);
  font-family: var(--wpc-body);
  font-weight: 300;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  min-height: 100dvh;
}
.wpc ::selection {
  background: var(--wpc-gold);
  color: var(--wpc-abyss);
}

/* ---------- typography ---------- */
.wpc-display,
.wpc-h1,
.wpc-h2,
.wpc-h3 {
  font-family: var(--wpc-display);
  font-weight: 500;
  color: var(--wpc-pearl);
  text-wrap: balance;
}
.wpc-h1 {
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: 1.04;
  letter-spacing: 0.01em;
}
.wpc-h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.1;
}
.wpc-h3 {
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  line-height: 1.2;
}
.wpc-lead {
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  line-height: 1.65;
  color: var(--wpc-pearl);
  max-width: 62ch;
  font-weight: 300;
}
.wpc-body {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--wpc-mute);
  max-width: 65ch;
}
.wpc-eyebrow {
  font-family: var(--wpc-body);
  font-size: 0.72rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--wpc-gold);
  font-weight: 400;
}
.wpc-gold-text {
  color: var(--wpc-gold);
}
.wpc-num {
  font-family: var(--wpc-display);
  font-size: clamp(1.9rem, 3.4vw, 3rem);
  color: var(--wpc-gold);
  line-height: 1;
}

/* ---------- layout primitives ---------- */
.wpc-shell {
  width: min(1240px, 92vw);
  margin-inline: auto;
}
.wpc-section {
  padding-block: clamp(5rem, 11vh, 9rem);
  position: relative;
}
@media (max-width: 640px) {
  .wpc-section {
    padding-block: clamp(2.8rem, 9vh, 4rem);
  }
}
.wpc-section-charcoal {
  background: var(--wpc-charcoal);
}
.wpc-rule {
  border: 0;
  border-top: 1px solid var(--wpc-line-soft);
  margin: 0;
}
.wpc-grid-2 {
  display: grid;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
@media (min-width: 900px) {
  .wpc-grid-2 {
    grid-template-columns: 1fr 1fr;
  }
  .wpc-grid-2-wide {
    grid-template-columns: 1.25fr 1fr;
  }
}

/* pearl divider ornament */
.wpc-pearl-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 0;
  margin-bottom: 2.4rem;
}
.wpc-pearl-divider::before,
.wpc-pearl-divider::after {
  content: "";
  height: 1px;
  flex: 0 0 56px;
  background: linear-gradient(90deg, transparent, var(--wpc-gold));
}
.wpc-pearl-divider::after {
  background: linear-gradient(90deg, var(--wpc-gold), transparent);
}
.wpc-pearl-divider i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffffff, #cfc9bd 55%, #8e887c);
  box-shadow: 0 0 12px rgba(244, 241, 234, 0.5);
}

/* ---------- imagery ---------- */
.wpc-media {
  position: relative;
  overflow: hidden;
  background: var(--wpc-charcoal);
}
.wpc-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 1.6s cubic-bezier(0.19, 1, 0.22, 1);
}
.wpc-media:hover img {
  transform: scale(1.07);
}
.wpc-media-frame {
  outline: 1px solid var(--wpc-line-soft);
  outline-offset: -12px;
}
.wpc-caption {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--wpc-mute);
  margin-top: 0.9rem;
}

/* ---------- homepage film block ---------- */
.wpc-video-block {
  position: relative;
  aspect-ratio: 1920/1010;
  overflow: hidden;
  background: var(--wpc-charcoal);
  outline: 1px solid var(--wpc-line-soft);
  outline-offset: -12px;
}
.wpc-video-el {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.wpc-video-block::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(11, 11, 13, 0.28);
  pointer-events: none;
  transition: opacity 0.5s ease;
}
.wpc-video-block.is-playing::after {
  opacity: 0;
}
.wpc-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(64px, 9vw, 96px);
  height: clamp(64px, 9vw, 96px);
  border-radius: 50%;
  border: 1px solid rgba(244, 241, 234, 0.6);
  background: rgba(11, 11, 13, 0.35);
  backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1), border-color 0.4s ease, background 0.4s ease, opacity 0.4s ease;
}
.wpc-video-play:hover {
  border-color: var(--wpc-gold);
  background: rgba(201, 162, 75, 0.16);
  transform: translate(-50%, -50%) scale(1.08);
}
.wpc-video-play svg {
  width: 34%;
  height: 34%;
  fill: var(--wpc-pearl);
  margin-left: 4%;
}
.wpc-video-block.is-playing .wpc-video-play {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.85);
}

/* ---------- nav ---------- */
.wpc-nav {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 60;
  transition:
    background 0.5s ease,
    border-color 0.5s ease;
  border-bottom: 1px solid transparent;
}
.wpc-nav.is-solid {
  background: rgba(11, 11, 13, 0.82);
  border-bottom-color: var(--wpc-line-soft);
}
/* backdrop-filter on the header is desktop-only: on an ancestor it redefines
   the containing block for position:fixed descendants (the mobile nav
   panel below), which silently collapses that panel's height. */
@media (min-width: 1020px) {
  .wpc-nav.is-solid {
    backdrop-filter: blur(18px);
  }
}
.wpc-nav-inner {
  width: min(1360px, 94vw);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
}
@media (min-width: 1020px) {
  .wpc-nav-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1.5rem;
  }
}
.wpc-nav-actions {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}
.wpc-nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.wpc-nav-logo img {
  height: 68px;
  width: auto;
}
.wpc-nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
}
@media (min-width: 1020px) {
  .wpc-nav-links {
    display: flex;
    justify-content: center;
  }
}
.wpc-nav-item {
  position: relative;
}
.wpc-nav-link {
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--wpc-pearl);
  text-decoration: none;
  position: relative;
  padding-block: 6px;
}
.wpc-nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 100%;
  background: var(--wpc-gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s cubic-bezier(0.19, 1, 0.22, 1);
}
.wpc-nav-link:hover::after,
.wpc-nav-link[data-active="true"]::after {
  transform: scaleX(1);
  transform-origin: left;
}
.wpc-nav-link-cta {
  padding: 10px 22px;
  border: 1px solid rgba(201, 162, 75, 0.55);
  border-radius: 0;
  transition: background 0.4s ease, border-color 0.4s ease, color 0.4s ease;
}
.wpc-nav-link-cta::after {
  display: none;
}
.wpc-nav-link-cta:hover,
.wpc-nav-link-cta[data-active="true"] {
  background: var(--wpc-gold);
  border-color: var(--wpc-gold);
  color: var(--wpc-abyss);
}
.wpc-nav-link-cta-mobile {
  display: none;
}
.wpc-nav-link.wpc-nav-parent {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: none;
  border: 0;
  font-family: inherit;
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  cursor: pointer;
}
.wpc-nav-caret {
  width: 6px;
  height: 6px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.3s ease;
  opacity: 0.7;
  flex: none;
}
.wpc-nav-item.is-open .wpc-nav-caret {
  transform: rotate(-135deg) translateY(1px);
}
.wpc-nav-burger {
  display: inline-flex;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: 0;
  padding: 10px 0;
  cursor: pointer;
}
.wpc-nav-burger span {
  display: block;
  width: 30px;
  height: 1px;
  background: var(--wpc-pearl);
  transition: transform 0.4s ease, opacity 0.4s ease;
}
.wpc-nav-burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.wpc-nav-burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.wpc-nav-burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
@media (min-width: 1020px) {
  .wpc-nav-burger {
    display: none;
  }
}

/* dropdowns: desktop hover/focus panel */
@media (min-width: 1020px) {
  /* invisible bridge over the 22px gap between the button and the panel,
     so the cursor never leaves .wpc-nav-item's hover area while crossing it */
  .wpc-nav-item::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 22px;
  }
  .wpc-nav-dropdown {
    position: absolute;
    top: calc(100% + 22px);
    left: 50%;
    transform: translateX(-50%) translateY(-6px);
    min-width: 230px;
    display: grid;
    gap: 2px;
    padding: 0.9rem 0;
    background: rgba(19, 19, 22, 0.98);
    border: 1px solid var(--wpc-line-soft);
    backdrop-filter: blur(18px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 5;
  }
  .wpc-nav-item:hover .wpc-nav-dropdown,
  .wpc-nav-item:focus-within .wpc-nav-dropdown,
  .wpc-nav-item.is-open .wpc-nav-dropdown {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }
  .wpc-nav-dropdown a {
    display: block;
    padding: 0.6rem 1.4rem;
    font-size: 0.76rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--wpc-pearl);
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.25s ease, background 0.25s ease;
  }
  .wpc-nav-dropdown a:hover,
  .wpc-nav-dropdown a[data-active="true"] {
    color: var(--wpc-gold);
    background: rgba(201, 162, 75, 0.08);
  }
}

/* mobile: nav links become a slide-down off-canvas panel; dropdowns become accordions */
@media (max-width: 1019.98px) {
  .wpc-nav-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    position: fixed;
    top: 88px;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(11, 11, 13, 0.97);
    backdrop-filter: blur(24px);
    padding: 0.5rem max(6vw, 24px) 3rem;
    overflow-y: auto;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    z-index: 50;
  }
  .wpc-nav-links.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  .wpc-nav-item,
  .wpc-nav-links > a.wpc-nav-link {
    border-bottom: 1px solid var(--wpc-line-soft);
  }
  .wpc-nav-link {
    width: 100%;
    padding-block: 1.15rem;
    font-size: 0.9rem;
  }
  .wpc-nav-link.wpc-nav-parent {
    justify-content: space-between;
    width: 100%;
  }
  .wpc-nav-dropdown {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
  }
  .wpc-nav-item.is-open .wpc-nav-dropdown {
    max-height: 400px;
  }
  .wpc-nav-dropdown a {
    display: block;
    padding: 0.7rem 0 0.7rem 1rem;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    color: var(--wpc-mute);
    text-decoration: none;
  }
  .wpc-nav-dropdown a:hover,
  .wpc-nav-dropdown a[data-active="true"] {
    color: var(--wpc-gold);
  }
  .wpc-nav-actions .wpc-nav-link-cta {
    display: none;
  }
  .wpc-nav-links a.wpc-nav-link-cta-mobile {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 1.6rem;
    padding: 1.05rem 1.5rem;
    border: 1px solid var(--wpc-gold);
    border-bottom: 1px solid var(--wpc-gold);
    color: var(--wpc-gold);
  }
}

/* ---------- bespoke CTAs ---------- */

/* 1. Reserve a Consultation — gold seal with rolling pearl */
.wpc-cta-seal {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 1.05rem 2.4rem;
  background: linear-gradient(120deg, #b28c3c, var(--wpc-gold) 55%, #dfc07a);
  color: #17130a;
  font-family: var(--wpc-body);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  overflow: hidden;
  transition: box-shadow 0.4s ease, transform 0.2s ease;
}
.wpc-cta-seal i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, #d8d2c6 60%, #969084);
  transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}
.wpc-cta-seal:hover {
  box-shadow: 0 8px 40px rgba(201, 162, 75, 0.35);
}
.wpc-cta-seal:hover i {
  transform: translateX(6px) rotate(180deg);
}
.wpc-cta-seal:active {
  transform: scale(0.98);
}
@media (max-width: 640px) {
  .wpc-cta-seal {
    padding: 0.7rem 1.2rem;
    font-size: 0.62rem;
    letter-spacing: 0.12em;
    gap: 8px;
  }
  .wpc-cta-seal i {
    width: 8px;
    height: 8px;
  }
}

/* 2. Explore the Masterplan — rule-line link that draws to a compass tick */
.wpc-cta-line {
  display: inline-flex;
  flex-direction: column;
  gap: 10px;
  color: var(--wpc-pearl);
  font-size: 0.82rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  text-decoration: none;
  width: fit-content;
}
.wpc-cta-line em {
  font-style: normal;
}
.wpc-cta-line::after {
  content: "";
  height: 1px;
  width: 42%;
  background: var(--wpc-gold);
  transition: width 0.55s cubic-bezier(0.19, 1, 0.22, 1);
}
.wpc-cta-line:hover::after {
  width: 100%;
}
.wpc-cta-line:hover {
  color: var(--wpc-gold);
}

/* 3. chapter route link — small-caps underline sweep */
.wpc-cta-route {
  display: inline-block;
  color: var(--wpc-pearl);
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-decoration: none;
  background-image: linear-gradient(var(--wpc-gold), var(--wpc-gold));
  background-repeat: no-repeat;
  background-size: 0% 1px;
  background-position: 0 100%;
  padding-bottom: 8px;
  transition: background-size 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}
.wpc-cta-route:hover {
  background-size: 100% 1px;
}

/* 4. Download the Brochure — ghost hairline capsule fills pearl */
.wpc-cta-ghost {
  display: inline-flex;
  align-items: center;
  padding: 1rem 2.2rem;
  border-radius: 999px;
  border: 1px solid var(--wpc-line);
  color: var(--wpc-pearl);
  font-size: 0.8rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  text-decoration: none;
  background: transparent;
  cursor: pointer;
  transition: background 0.4s ease, color 0.4s ease, border-color 0.4s ease;
}
.wpc-cta-ghost:hover {
  background: var(--wpc-pearl);
  color: var(--wpc-abyss);
  border-color: var(--wpc-pearl);
}
.wpc-cta-ghost:active {
  transform: translateY(1px);
}

/* ---------- page hero (interior pages) ---------- */
.wpc-hero {
  position: relative;
  min-height: 64vh;
  min-height: 64dvh;
  display: grid;
  align-items: end;
  isolation: isolate;
  padding-top: 120px;
}
.wpc-hero-tall {
  min-height: 100vh;
  min-height: 100dvh;
}
.wpc-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
}
.wpc-hero-bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
@media (max-width: 640px) {
  .wpc-hero {
    min-height: 70vh;
    min-height: 70dvh;
  }
  .wpc-hero-tall {
    min-height: 100vh;
    min-height: 100dvh;
  }
}
.wpc-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(11, 11, 13, 0.55), rgba(11, 11, 13, 0.25) 45%, var(--wpc-abyss) 96%);
}
.wpc-hero-copy {
  padding-bottom: clamp(3rem, 8vh, 6rem);
}

/* ---------- amenities: badge icon grid ---------- */
.wpc-badge-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--wpc-line-soft);
  border: 1px solid var(--wpc-line-soft);
}
@media (min-width: 700px) {
  .wpc-badge-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.wpc-badge-card {
  background: var(--wpc-abyss);
  padding: clamp(2rem, 4vw, 2.8rem) 1.4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.4rem;
  transition: background 0.5s ease;
}
.wpc-badge-card:hover {
  background: rgba(244, 241, 234, 0.03);
}
.wpc-badge-icon {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: radial-gradient(circle at 35% 28%, rgba(227, 200, 126, 0.14), rgba(201, 162, 75, 0.02) 72%);
  border: 1px solid rgba(201, 162, 75, 0.38);
  box-shadow: inset 0 0 14px rgba(201, 162, 75, 0.1);
  transition: box-shadow 0.5s ease, border-color 0.5s ease, transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}
.wpc-badge-card:hover .wpc-badge-icon {
  border-color: rgba(227, 200, 126, 0.75);
  box-shadow: inset 0 0 18px rgba(201, 162, 75, 0.2), 0 0 26px rgba(201, 162, 75, 0.28);
  transform: scale(1.06);
}
.wpc-badge-icon svg {
  width: 34px;
  height: 34px;
  stroke: url(#wpcGoldIcon);
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5));
}
.wpc-badge-icon-stars {
  display: flex;
  gap: 0.28rem;
  background: radial-gradient(circle at 35% 28%, rgba(227, 200, 126, 0.14), rgba(201, 162, 75, 0.02) 72%);
}
.wpc-badge-icon-stars svg {
  width: 13px;
  height: 13px;
  fill: url(#wpcGoldIcon);
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.5));
}

/* badge grid entrance: a subtler version of the sitewide fade, staggered
   left-to-right across each row of 4 (see .wpc-blog-grid-home for the
   pattern this borrows — the :not(.is-visible) guard keeps the delay
   scoped to the entrance so it never lingers on the hover transition). */
.wpc-badge-card[data-reveal]:not(.is-visible) {
  transform: translateY(18px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.wpc-badge-card:nth-child(4n + 2)[data-reveal]:not(.is-visible) {
  transition-delay: 0.1s;
}
.wpc-badge-card:nth-child(4n + 3)[data-reveal]:not(.is-visible) {
  transition-delay: 0.2s;
}
.wpc-badge-card:nth-child(4n + 4)[data-reveal]:not(.is-visible) {
  transition-delay: 0.3s;
}
@media (max-width: 699px) {
  .wpc-badge-card:nth-child(odd)[data-reveal]:not(.is-visible) {
    transition-delay: 0s;
  }
  .wpc-badge-card:nth-child(even)[data-reveal]:not(.is-visible) {
    transition-delay: 0.12s;
  }
}
@media (prefers-reduced-motion: reduce) {
  .wpc-badge-card[data-reveal]:not(.is-visible) {
    transition: none;
  }
}
.wpc-badge-card p {
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--wpc-pearl);
  line-height: 1.55;
}
.wpc-badge-card p b {
  color: var(--wpc-pearl);
  font-weight: 700;
}
.wpc-badge-card p small {
  display: block;
  font-size: 0.68rem;
  color: var(--wpc-mute);
  letter-spacing: 0.2em;
  margin-bottom: 0.35rem;
}

/* ---------- leadership: bordered card layout ---------- */
.wpc-leader-title-band {
  padding-top: clamp(150px, 22vh, 200px);
  padding-bottom: 1rem;
  text-align: center;
}
.wpc-leader-photo-ph {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 32% 26%, rgba(227, 200, 126, 0.14), rgba(201, 162, 75, 0.02) 72%), var(--wpc-charcoal);
  display: grid;
  place-items: center;
}
.wpc-leader-photo-ph img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}
.wpc-leader-photo-ph svg {
  width: 30%;
  height: 30%;
  stroke: url(#wpcGoldIcon);
  opacity: 0.85;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5));
}
.wpc-leader-name {
  font-family: var(--wpc-display);
  color: var(--wpc-pearl);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  letter-spacing: 0.01em;
}
.wpc-leader-rule {
  width: 46px;
  height: 1px;
  background: linear-gradient(90deg, var(--wpc-gold), transparent);
  margin: 0.9rem 0 1rem;
}
.wpc-leader-title {
  font-size: 0.76rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--wpc-gold);
}
.wpc-leader-bio {
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--wpc-mute);
  max-width: 46ch;
  margin-top: 1.1rem;
}

/* featured (chairman) + executive cards: bordered box, photo | body */
.wpc-leader-feature {
  display: grid;
  border: 1px solid rgba(201, 162, 75, 0.35);
  background: var(--wpc-charcoal);
  overflow: hidden;
}
@media (min-width: 700px) {
  .wpc-leader-feature {
    grid-template-columns: 1fr 1fr;
  }
}
.wpc-leader-feature .wpc-leader-photo-ph {
  min-height: 360px;
}
.wpc-leader-feature-body {
  padding: clamp(1.8rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.wpc-leader-exec-grid {
  display: grid;
  row-gap: 4.5rem;
  column-gap: 2.4rem;
  grid-template-columns: 1fr;
}
@media (min-width: 800px) {
  .wpc-leader-exec-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.wpc-leader-exec-grid .wpc-leader-feature .wpc-leader-photo-ph {
  min-height: 340px;
}
.wpc-leader-exec-grid .wpc-leader-feature-body {
  padding: clamp(1.5rem, 3vw, 2.2rem);
}
.wpc-leader-exec-grid .wpc-leader-name {
  font-size: 1.3rem;
}

/* director cards: photo, name/title overlay, bio below */
.wpc-leader-directors-grid {
  display: grid;
  gap: clamp(1.6rem, 3vw, 2.4rem);
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .wpc-leader-directors-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.wpc-leader-director {
  border: 1px solid rgba(201, 162, 75, 0.35);
  background: var(--wpc-charcoal);
}
.wpc-leader-director .wpc-leader-photo-ph {
  aspect-ratio: 3/3.8;
  position: relative;
}
.wpc-leader-director-overlay {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  background: rgba(11, 11, 13, 0.78);
  border-top: 1px solid rgba(201, 162, 75, 0.35);
  padding: 0.9rem 1rem;
  text-align: center;
}
.wpc-leader-director-overlay .wpc-leader-name {
  font-size: 1.05rem;
}
.wpc-leader-director-overlay .wpc-leader-title {
  margin-top: 0.25rem;
}
.wpc-leader-director-bio {
  padding: 1.1rem 1.2rem 1.4rem;
  font-size: 0.86rem;
  line-height: 1.7;
  color: var(--wpc-mute);
  text-align: center;
}

/* entrance animation */
.wpc-leader-feature[data-reveal]:not(.is-visible),
.wpc-leader-director[data-reveal]:not(.is-visible) {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.wpc-leader-directors-grid .wpc-leader-director:nth-child(2)[data-reveal]:not(.is-visible) {
  transition-delay: 0.1s;
}
.wpc-leader-directors-grid .wpc-leader-director:nth-child(3)[data-reveal]:not(.is-visible) {
  transition-delay: 0.2s;
}
.wpc-leader-exec-grid .wpc-leader-feature:nth-child(2n)[data-reveal]:not(.is-visible) {
  transition-delay: 0.12s;
}
@media (prefers-reduced-motion: reduce) {
  .wpc-leader-feature[data-reveal]:not(.is-visible),
  .wpc-leader-director[data-reveal]:not(.is-visible) {
    transition: none;
  }
}

/* ---------- stats / distance rows ---------- */
.wpc-stat-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--wpc-line-soft);
}
@media (min-width: 900px) {
  .wpc-stat-row {
    grid-template-columns: repeat(4, 1fr);
  }
}
.wpc-stat {
  padding: 2rem 1.4rem 2.2rem;
  border-bottom: 1px solid var(--wpc-line-soft);
}
.wpc-stat + .wpc-stat {
  border-left: 1px solid var(--wpc-line-soft);
}
@media (max-width: 899px) {
  .wpc-stat:nth-child(odd) {
    border-left: 0;
  }
}
.wpc-stat small {
  display: block;
  margin-top: 0.6rem;
  font-size: 0.74rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--wpc-mute);
}

/* distance ledger */
.wpc-ledger {
  border-top: 1px solid var(--wpc-line-soft);
}
.wpc-ledger-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 1.5rem;
  align-items: baseline;
  padding: 1.15rem 0.2rem;
  border-bottom: 1px solid var(--wpc-line-soft);
  transition: background 0.3s ease, padding-left 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}
.wpc-ledger-row:hover {
  background: rgba(201, 162, 75, 0.05);
  padding-left: 0.9rem;
}
.wpc-ledger-row b {
  font-weight: 400;
  color: var(--wpc-pearl);
  font-size: 1.02rem;
}
.wpc-ledger-row span {
  color: var(--wpc-mute);
  font-size: 0.86rem;
  letter-spacing: 0.14em;
}
.wpc-ledger-row strong {
  font-family: var(--wpc-display);
  color: var(--wpc-gold);
  font-weight: 500;
  font-size: 1.05rem;
}

/* ---------- collections rail ---------- */
.wpc-rail {
  display: grid;
  gap: 1px;
  background: var(--wpc-line-soft);
  border-block: 1px solid var(--wpc-line-soft);
}
@media (min-width: 900px) {
  .wpc-rail {
    grid-template-columns: repeat(4, 1fr);
  }
  .wpc-rail-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}
.wpc-rail-row {
  display: contents;
}
.wpc-rail-card {
  position: relative;
  display: block;
  background: var(--wpc-abyss);
  text-decoration: none;
  overflow: hidden;
  aspect-ratio: 3 / 4.1;
}
.wpc-rail-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.62;
  transform: scale(1.02);
  transition: transform 1.4s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.8s ease;
}
.wpc-rail-card:hover img {
  transform: scale(1.09);
  opacity: 0.85;
}
.wpc-rail-card-copy {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 1.8rem;
  background: linear-gradient(180deg, transparent, rgba(11, 11, 13, 0.92));
}
.wpc-rail-card-copy h3 {
  font-family: var(--wpc-display);
  font-size: 1.35rem;
  color: var(--wpc-pearl);
  margin-bottom: 0.4rem;
}
.wpc-rail-card-copy p {
  color: var(--wpc-mute);
  font-size: 0.86rem;
  line-height: 1.5;
}
.wpc-rail-card-copy s {
  text-decoration: none;
  display: inline-block;
  margin-top: 0.9rem;
  color: var(--wpc-gold);
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  transform: translateY(4px);
  opacity: 0;
  transition: transform 0.5s ease, opacity 0.5s ease;
}
.wpc-rail-card:hover s {
  transform: translateY(0);
  opacity: 1;
}

/* ---------- masterplan hotspots ---------- */
.wpc-plan-stage {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--wpc-line-soft);
}
.wpc-plan-stage > img {
  display: block;
  width: 100%;
}
.wpc-hotspot {
  position: absolute;
  width: 30px;
  height: 30px;
  margin: -15px 0 0 -15px;
  border-radius: 50%;
  border: 1px solid var(--wpc-gold);
  background: rgba(11, 11, 13, 0.55);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.3s ease, transform 0.3s ease;
}
.wpc-hotspot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, #d8d2c6 60%, #969084);
}
.wpc-hotspot::after {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  border: 1px solid rgba(201, 162, 75, 0.5);
  animation: wpc-pulse 2.6s ease-out infinite;
}
@keyframes wpc-pulse {
  0% {
    transform: scale(0.7);
    opacity: 1;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}
.wpc-hotspot:hover,
.wpc-hotspot[data-open="true"] {
  background: var(--wpc-gold);
  transform: scale(1.12);
}
.wpc-hotspot-pop {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 14px);
  width: 210px;
  padding: 0.9rem 1.05rem;
  border: 1px solid var(--wpc-line-soft);
  background: rgba(15, 15, 17, 0.96);
  backdrop-filter: blur(10px);
  text-align: left;
  cursor: default;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 6px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  z-index: 5;
}
.wpc-hotspot-pop::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  background: rgba(15, 15, 17, 0.96);
  border-right: 1px solid var(--wpc-line-soft);
  border-bottom: 1px solid var(--wpc-line-soft);
  transform: rotate(45deg);
}
.wpc-hotspot-pop b {
  display: block;
  font-family: var(--wpc-display);
  color: var(--wpc-gold);
  font-size: 0.92rem;
  margin-bottom: 0.4rem;
}
.wpc-hotspot-pop span {
  display: block;
  color: var(--wpc-mute);
  font-size: 0.76rem;
  line-height: 1.55;
}
.wpc-hotspot[data-open="true"] .wpc-hotspot-pop {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}
.wpc-hotspot-below .wpc-hotspot-pop {
  bottom: auto;
  top: calc(100% + 14px);
  transform: translate(-50%, -6px);
}
.wpc-hotspot-below .wpc-hotspot-pop::after {
  top: auto;
  bottom: 100%;
  border-right: 0;
  border-bottom: 0;
  border-left: 1px solid var(--wpc-line-soft);
  border-top: 1px solid var(--wpc-line-soft);
}
.wpc-hotspot-below[data-open="true"] .wpc-hotspot-pop {
  transform: translate(-50%, 0);
}
@media (max-width: 640px) {
  /* the tap-to-select detail card below the map already shows this same
     info at full readable size, so the small floating popup next to the
     pin (cramped on a phone screen) is redundant here — just hidden */
  .wpc-hotspot-pop {
    display: none;
  }
}
.wpc-plan-card {
  border: 1px solid var(--wpc-line-soft);
  background: rgba(19, 19, 22, 0.94);
  backdrop-filter: blur(10px);
  padding: 1.8rem;
}
.wpc-plan-card h4 {
  font-family: var(--wpc-display);
  font-size: 1.2rem;
  color: var(--wpc-gold);
  margin-bottom: 0.6rem;
}
.wpc-plan-card p {
  color: var(--wpc-mute);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* masterplan zoning diagram: hover-follow zoom on desktop, tap-to-toggle
   zoom on touch (see the [data-plan-zoom] wiring in main.js) */
.wpc-plan-zoom {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--wpc-line-soft);
  cursor: zoom-in;
  background: var(--wpc-abyss);
}
.wpc-plan-zoom img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  transform-origin: center center;
  transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}
.wpc-plan-zoom.is-zoomed {
  cursor: zoom-out;
}
.wpc-plan-zoom.is-zoomed img {
  transform: scale(2.2);
  transition: transform 0.35s ease-out;
}
@media (prefers-reduced-motion: reduce) {
  .wpc-plan-zoom img {
    transition: none;
  }
}

/* ---------- plot tables ---------- */
.wpc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.wpc-table th {
  text-align: left;
  font-weight: 400;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--wpc-gold);
  padding: 0.9rem 0.6rem;
  border-bottom: 1px solid var(--wpc-line);
}
.wpc-table td {
  padding: 1rem 0.6rem;
  border-bottom: 1px solid var(--wpc-line-soft);
  color: var(--wpc-pearl);
}
.wpc-table td:last-child {
  color: var(--wpc-mute);
}

/* ---------- gallery ---------- */
.wpc-gallery {
  display: grid;
  gap: 1.2rem;
}
@media (min-width: 800px) {
  .wpc-gallery {
    grid-template-columns: repeat(12, 1fr);
  }
  .wpc-gallery .g-wide {
    grid-column: span 8;
  }
  .wpc-gallery .g-narrow {
    grid-column: span 4;
  }
  .wpc-gallery .g-half {
    grid-column: span 6;
  }
}
.wpc-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(11, 11, 13, 0.96);
  display: grid;
  place-items: center;
  padding: 4vh 4vw;
}
.wpc-lightbox img {
  max-width: 100%;
  max-height: 88dvh;
  object-fit: contain;
}
.wpc-lightbox button {
  position: absolute;
  top: 24px;
  right: 28px;
  background: none;
  border: 1px solid var(--wpc-line);
  color: var(--wpc-pearl);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
}

/* ---------- forms ---------- */
.wpc-field {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1.6rem;
}
.wpc-field label {
  font-size: 0.74rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--wpc-pearl);
}
.wpc-field input,
.wpc-field select,
.wpc-field textarea {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--wpc-line);
  color: var(--wpc-pearl);
  font-family: var(--wpc-body);
  font-size: 1.05rem;
  padding: 0.7rem 0.1rem;
  transition: border-color 0.3s ease;
}
.wpc-field select option {
  background: var(--wpc-charcoal);
}
.wpc-field input:focus,
.wpc-field select:focus,
.wpc-field textarea:focus {
  outline: none;
  border-bottom-color: var(--wpc-gold);
}
.wpc-field-error {
  color: #d98c8c;
  font-size: 0.85rem;
}
.wpc-form-note {
  color: var(--wpc-mute);
  font-size: 0.85rem;
}

/* ---------- footer ---------- */
.wpc-footer {
  border-top: 1px solid var(--wpc-line-soft);
  background: var(--wpc-abyss);
  padding: clamp(3.5rem, 8vh, 6rem) 0 3rem;
}
.wpc-footer-grid {
  display: grid;
  gap: 3rem;
}
@media (min-width: 900px) {
  .wpc-footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  }
}
.wpc-footer h5 {
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--wpc-gold);
  font-weight: 400;
  margin-bottom: 1.3rem;
}
.wpc-footer a {
  color: var(--wpc-mute);
  text-decoration: none;
  display: block;
  padding-block: 0.32rem;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}
.wpc-footer a:hover {
  color: var(--wpc-pearl);
}
.wpc-footer-office {
  color: var(--wpc-mute);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1.2rem;
}
.wpc-footer-office b {
  color: var(--wpc-pearl);
  font-weight: 400;
  display: block;
}
.wpc-social {
  display: flex;
  gap: 0.8rem;
  margin-top: 1.6rem;
}
.wpc-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--wpc-line-soft);
  border-radius: 50%;
  color: var(--wpc-mute);
  transition: color 0.3s ease, border-color 0.3s ease;
}
.wpc-social a:hover {
  color: var(--wpc-gold);
  border-color: var(--wpc-gold);
}
.wpc-social svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}
.wpc-footer-base {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--wpc-line-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  color: var(--wpc-mute);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
}

/* ---------- entrance motion (mount-fired, transform-only) ---------- */
@keyframes wpc-rise {
  from {
    transform: translateY(34px);
  }
  to {
    transform: translateY(0);
  }
}
.wpc-rise {
  animation: wpc-rise 1.1s cubic-bezier(0.19, 1, 0.22, 1) both;
}
.wpc-rise-2 {
  animation: wpc-rise 1.1s 0.12s cubic-bezier(0.19, 1, 0.22, 1) both;
}
.wpc-rise-3 {
  animation: wpc-rise 1.1s 0.24s cubic-bezier(0.19, 1, 0.22, 1) both;
}

/* scroll parallax hooks (transform-only; wired by gsap) */
.wpc-parallax-media {
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  .wpc *,
  .wpc *::before,
  .wpc *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* marquee band */
.wpc-band {
  overflow: hidden;
  border-block: 1px solid var(--wpc-line-soft);
  padding-block: 1.2rem;
}
.wpc-band-track {
  display: flex;
  gap: 4rem;
  width: max-content;
  animation: wpc-band-scroll 40s linear infinite;
}
@keyframes wpc-band-scroll {
  to {
    transform: translateX(-50%);
  }
}
.wpc-band span {
  font-family: var(--wpc-display);
  font-size: 0.95rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--wpc-mute);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 4rem;
}
.wpc-band i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--wpc-gold);
  display: inline-block;
}
@media (prefers-reduced-motion: reduce) {
  .wpc-band-track {
    animation: none;
  }
}

/* whatsapp affordance */
.wpc-wa {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 50;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(120deg, #b28c3c, var(--wpc-gold));
  color: #17130a;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease;
}
.wpc-wa:hover {
  transform: translateY(-3px);
}

/* ============================================================
   Static-build additions: base reset + vanilla scroll-scrub
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  margin: 0;
  padding: 0;
  background: var(--wpc-abyss);
}
body {
  margin: 0;
  padding: 0;
}
.wpc h1,
.wpc h2,
.wpc h3,
.wpc h4,
.wpc h5,
.wpc p {
  margin: 0;
}
.wpc img {
  max-width: 100%;
}

/* vanilla scroll-scrub */
.scrub {
  position: relative;
}
.scrub-chapter {
  height: 160vh;
}
.scrub-chapter-last {
  height: 170vh;
}
@media (max-width: 768px) {
  .scrub-chapter {
    height: 90vh;
  }
  .scrub-chapter-last {
    height: 100vh;
  }
}
.scrub-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}
.scrub-stage video,
.scrub-stage img.scrub-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.scrub-stage video {
  opacity: 0;
  transition: opacity 0.25s ease;
}
.scrub-stage video.is-ready {
  opacity: 1;
}
.scrub-copy {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  z-index: 3;
  padding: 0 max(4vw, 24px);
  pointer-events: none;
}
.scrub-copy .inner {
  max-width: 560px;
  pointer-events: none;
  transform: translateY(24px);
  opacity: 0;
  transition:
    opacity 0.7s ease,
    transform 0.9s cubic-bezier(0.19, 1, 0.22, 1);
}
.scrub-copy.is-active .inner {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.scrub-copy.align-right {
  justify-items: end;
  text-align: right;
}
.scrub-kicker {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--wpc-gold);
  margin-bottom: 2.8rem;
  text-shadow:
    0 1px 3px rgba(0, 0, 0, 0.9),
    0 2px 14px rgba(0, 0, 0, 0.6),
    0 0 14px rgba(201, 162, 75, 0.8),
    0 0 34px rgba(201, 162, 75, 0.6);
}
.scrub-title {
  font-family: var(--wpc-display);
  font-weight: 500;
  font-size: clamp(2.2rem, 5.4vw, 4.2rem);
  line-height: 1.05;
  color: var(--wpc-pearl);
  text-shadow:
    0 1px 1px rgba(0, 0, 0, 0.95),
    1px 0 2px rgba(0, 0, 0, 0.9),
    -1px 0 2px rgba(0, 0, 0, 0.9),
    0 4px 20px rgba(0, 0, 0, 0.7),
    0 14px 48px rgba(0, 0, 0, 0.5),
    0 0 18px rgba(255, 250, 235, 0.55),
    0 0 44px rgba(255, 250, 235, 0.4);
}
.scrub-body {
  margin-top: 1.2rem;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.65;
  color: var(--wpc-pearl);
  text-shadow:
    0 1px 1px rgba(0, 0, 0, 0.95),
    1px 0 2px rgba(0, 0, 0, 0.9),
    -1px 0 2px rgba(0, 0, 0, 0.9),
    0 2px 6px rgba(0, 0, 0, 0.85),
    0 4px 18px rgba(0, 0, 0, 0.7),
    0 0 12px rgba(255, 250, 235, 0.4),
    0 0 28px rgba(255, 250, 235, 0.3);
}
.scrub-copy[data-chapter="2"] .scrub-body {
  text-shadow:
    0 1px 1px #000,
    1px 0 2px #000,
    -1px 0 2px #000,
    0 1px 3px #000,
    0 3px 8px rgba(0, 0, 0, 0.95),
    0 6px 22px rgba(0, 0, 0, 0.85);
}
.scrub-tags {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 1.4rem;
}
.scrub-copy.align-right .scrub-tags {
  justify-content: flex-end;
}
.scrub-tags span {
  border: 1px solid rgba(201, 162, 75, 0.55);
  color: var(--wpc-gold-soft);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding: 0.45rem 0.9rem;
  background: rgba(11, 11, 13, 0.45);
  backdrop-filter: blur(6px);
}
@media (max-width: 640px) {
  .scrub-kicker {
    font-size: 0.66rem;
    letter-spacing: 0.24em;
    margin-bottom: 1.1rem;
  }
  .scrub-title {
    font-size: clamp(1.6rem, 7.4vw, 2.3rem);
    line-height: 1.15;
    text-wrap: balance;
  }
  .scrub-body {
    font-size: 0.92rem;
    line-height: 1.55;
  }
  .scrub-copy .inner {
    max-width: 100%;
  }
  .scrub-tags {
    margin-top: 1rem;
    gap: 0.5rem;
  }
  .scrub-tags span {
    font-size: 0.6rem;
    padding: 0.35rem 0.7rem;
  }
}
.scrub-vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(11, 11, 13, 0.42), rgba(11, 11, 13, 0.16) 30%, rgba(11, 11, 13, 0.16) 72%, rgba(11, 11, 13, 0.55));
}
@media (max-width: 640px) {
  .scrub-vignette {
    background: linear-gradient(180deg, rgba(11, 11, 13, 0.58), rgba(11, 11, 13, 0.3) 28%, rgba(11, 11, 13, 0.3) 70%, rgba(11, 11, 13, 0.68));
  }
}
.scrub-progress {
  position: fixed;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 40;
  display: grid;
  gap: 14px;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.scrub-progress.is-visible {
  opacity: 1;
}
@media (max-width: 640px) {
  .scrub-progress {
    display: none;
  }
}
.scrub-progress button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1px solid var(--wpc-gold);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s ease, transform 0.3s ease;
}
.scrub-progress button.is-active {
  background: radial-gradient(circle at 35% 30%, #fff, #d8d2c6 60%, #969084);
  transform: scale(1.25);
}
@media (prefers-reduced-motion: reduce) {
  .scrub-stage {
    position: relative;
    height: auto;
  }
  .scrub-stage video {
    display: none;
  }
  .scrub-chapter {
    display: none;
  }
  .scrub-copy {
    position: relative;
    inset: auto;
    padding: 4rem max(4vw, 24px);
  }
  .scrub-copy .inner {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }
}

/* ---------- scroll reveal (generic) ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.9s cubic-bezier(0.19, 1, 0.22, 1),
    transform 0.9s cubic-bezier(0.19, 1, 0.22, 1);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- legacy timeline ---------- */
.wpc-timeline {
  position: relative;
  margin-top: 3.5rem;
}
.wpc-timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--wpc-line) 8%, var(--wpc-line) 92%, transparent);
}
@media (min-width: 900px) {
  .wpc-timeline::before {
    left: 50%;
    transform: translateX(-50%);
  }
}
.wpc-timeline-item {
  position: relative;
  padding-left: 2.6rem;
  padding-block: 2.4rem;
}
.wpc-timeline-item:first-child {
  padding-top: 0;
}
.wpc-timeline-item:last-child {
  padding-bottom: 0;
}
@media (min-width: 900px) {
  .wpc-timeline-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    column-gap: 5.5rem;
    padding-left: 0;
    padding-block: 4rem;
  }
  .wpc-timeline-media {
    grid-row: 1;
    grid-column: 1;
  }
  .wpc-timeline-copy {
    grid-row: 1;
    grid-column: 2;
  }
  .wpc-timeline-item:nth-child(even) .wpc-timeline-media {
    grid-column: 2;
  }
  .wpc-timeline-item:nth-child(even) .wpc-timeline-copy {
    grid-column: 1;
    text-align: right;
  }
  .wpc-timeline-item:nth-child(even) .wpc-timeline-copy p {
    margin-left: auto;
    text-align-last: right;
  }
  .wpc-timeline-item-fill {
    align-items: stretch;
  }
  .wpc-timeline-media-fill {
    height: 100%;
  }
}
.wpc-timeline-media {
  margin-bottom: 1.6rem;
  max-width: 420px;
}
@media (min-width: 900px) {
  .wpc-timeline-media {
    max-width: none;
    margin-bottom: 0;
  }
}
.wpc-timeline-dot {
  position: absolute;
  left: 0;
  top: 2.4rem;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, #d8d2c6 60%, #969084);
  box-shadow: 0 0 0 6px var(--wpc-charcoal), 0 0 18px rgba(201, 162, 75, 0.5);
  z-index: 1;
}
@media (min-width: 900px) {
  .wpc-timeline-dot {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }
}
.wpc-timeline-year {
  display: block;
  font-family: var(--wpc-display);
  font-weight: 500;
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  color: var(--wpc-gold);
  letter-spacing: 0.04em;
  margin-bottom: 0.7rem;
}
.wpc-timeline-item h3 {
  font-family: var(--wpc-display);
  font-weight: 500;
  font-size: clamp(1.3rem, 2.2vw, 1.6rem);
  color: var(--wpc-pearl);
  line-height: 1.28;
  margin-bottom: 1rem;
}
.wpc-timeline-item p {
  color: var(--wpc-mute);
  font-size: 0.98rem;
  line-height: 1.8;
  max-width: 50ch;
  text-align: justify;
  text-align-last: left;
}
@media (min-width: 900px) {
  .wpc-timeline-item p {
    max-width: none;
  }
}

/* ---------- legacy timeline: scroll animation ---------- */

/* the gold line that "draws" downward as you scroll, sitting on top of the
   faint static line (.wpc-timeline::before) that was already there */
.wpc-timeline::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 6px;
  width: 1px;
  height: calc(100% - 12px);
  background: linear-gradient(180deg, var(--wpc-gold), rgba(201, 162, 75, 0.35));
  box-shadow: 0 0 10px rgba(201, 162, 75, 0.55);
  transform: scaleY(var(--wpc-timeline-progress, 0));
  transform-origin: top center;
}
@media (min-width: 900px) {
  .wpc-timeline::after {
    left: 50%;
    transform: translateX(-50%) scaleY(var(--wpc-timeline-progress, 0));
  }
}

/* dot lights up (glow + scale) once the gold line reaches it */
.wpc-timeline-dot {
  transition: box-shadow 0.5s ease-out, transform 0.5s ease-out, background 0.5s ease-out;
}
.wpc-timeline-dot.is-active {
  transform: scale(1.4);
  box-shadow: 0 0 0 6px var(--wpc-charcoal), 0 0 22px 4px rgba(201, 162, 75, 0.9);
}
@media (min-width: 900px) {
  .wpc-timeline-dot.is-active {
    transform: translate(-50%, -50%) scale(1.4);
  }
}

/* image fades/slides up first, text follows a beat later (staggered) */
.wpc-timeline-item[data-reveal] {
  /* cancel the generic sitewide [data-reveal] fade so it doesn't double up
     with the media/copy animation below */
  opacity: 1;
  transform: none;
  transition: none;
}
.wpc-timeline-media,
.wpc-timeline-copy {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.wpc-timeline-copy {
  transition-delay: 0.18s;
}
.wpc-timeline-item.is-visible .wpc-timeline-media,
.wpc-timeline-item.is-visible .wpc-timeline-copy {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .wpc-timeline::after {
    transition: none;
  }
  .wpc-timeline-dot {
    transition: none;
  }
  .wpc-timeline-media,
  .wpc-timeline-copy {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- blogs page ---------- */

/* the card itself: big image on top, text block below, lifts + glows on hover */
.wpc-blog-card {
  display: flex;
  flex-direction: column;
  background: var(--wpc-charcoal);
  border: 1px solid var(--wpc-line-soft);
  text-decoration: none;
  transition:
    transform 0.45s cubic-bezier(0.19, 1, 0.22, 1),
    box-shadow 0.45s cubic-bezier(0.19, 1, 0.22, 1),
    border-color 0.45s ease;
}
.wpc-blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  border-color: var(--wpc-line);
}
.wpc-blog-card .wpc-media {
  aspect-ratio: 4 / 3;
}
.wpc-blog-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.9rem 2rem 2.2rem;
}
.wpc-blog-meta {
  margin-bottom: 1rem;
  color: var(--wpc-gold);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.wpc-blog-card h3 {
  margin-bottom: 0.9rem;
  color: var(--wpc-pearl);
  font-family: var(--wpc-display);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.32;
}
.wpc-blog-card p {
  flex: 1;
  margin-bottom: 1.4rem;
  color: var(--wpc-mute);
  font-size: 0.94rem;
  line-height: 1.7;
}
.wpc-blog-card .wpc-cta-route {
  align-self: flex-start;
  padding-bottom: 6px;
  font-size: 0.74rem;
}

/* Top Articles: 3 rows, image and text side by side, alternating
   left/right each row (odd = text left/image right, even = swapped) */
.wpc-blog-featured {
  display: grid;
  gap: 3.5rem;
  margin-top: 3.5rem;
}
.wpc-blog-feature-row {
  display: block;
  text-decoration: none;
}
.wpc-blog-feature-media {
  margin-bottom: 1.6rem;
  aspect-ratio: 16 / 9;
  transition: transform 0.45s cubic-bezier(0.19, 1, 0.22, 1);
}
.wpc-blog-feature-row:hover .wpc-blog-feature-media {
  transform: translateY(-6px);
}
.wpc-blog-feature-copy .wpc-blog-meta {
  margin-bottom: 1rem;
}
.wpc-blog-feature-copy h3 {
  margin-bottom: 1rem;
  color: var(--wpc-pearl);
  font-family: var(--wpc-display);
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 500;
  line-height: 1.3;
}
.wpc-blog-feature-copy p {
  max-width: 46ch;
  margin-bottom: 1.6rem;
  color: var(--wpc-mute);
  font-size: 0.98rem;
  line-height: 1.75;
}
@media (min-width: 900px) {
  .wpc-blog-feature-row {
    display: grid;
    /* image column is wider than the text column (roughly 65/35), not
       an even split — the image is meant to dominate the row */
    grid-template-columns: 1fr 1.7fr;
    align-items: center;
    column-gap: 4.5rem;
  }
  .wpc-blog-feature-media {
    grid-row: 1;
    grid-column: 2;
    margin-bottom: 0;
  }
  .wpc-blog-feature-copy {
    grid-row: 1;
    grid-column: 1;
  }
  .wpc-blog-feature-row:nth-child(even) {
    /* swap the column widths too, so the wide column always follows
       the image, even when the image moves to the left side */
    grid-template-columns: 1.7fr 1fr;
  }
  .wpc-blog-feature-row:nth-child(even) .wpc-blog-feature-media {
    grid-column: 1;
  }
  .wpc-blog-feature-row:nth-child(even) .wpc-blog-feature-copy {
    grid-column: 2;
  }
}

/* All Articles: 3 desktop / 2 tablet / 1 mobile, per the request */
.wpc-blog-grid {
  display: grid;
  gap: 2.2rem;
  margin-top: 3.5rem;
}
@media (min-width: 640px) {
  .wpc-blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1020px) {
  .wpc-blog-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.6rem;
  }
}

.wpc-blog-loadmore {
  display: flex;
  justify-content: center;
  margin-top: 3.6rem;
}

/* homepage "From the Blog" teaser: a more premium entrance than the plain
   sitewide [data-reveal] fade — bigger 40px slide, slower luxury easing,
   and each card starts a beat later than the one before it. The
   :not(.is-visible) guard means this only governs the entrance itself —
   once revealed, the card's normal hover-lift transition takes back over
   instead of fighting with this one. */
.wpc-blog-grid-home .wpc-blog-card[data-reveal]:not(.is-visible) {
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.wpc-blog-grid-home .wpc-blog-card:nth-child(2)[data-reveal]:not(.is-visible) {
  transition-delay: 0.15s;
}
.wpc-blog-grid-home .wpc-blog-card:nth-child(3)[data-reveal]:not(.is-visible) {
  transition-delay: 0.3s;
}
@media (prefers-reduced-motion: reduce) {
  .wpc-blog-grid-home .wpc-blog-card[data-reveal]:not(.is-visible) {
    transition: none;
  }
}

/* ---------- blog article page ---------- */
.wpc-blog-post-body p {
  margin-bottom: 1.5rem;
  color: var(--wpc-mute);
  font-size: 1.02rem;
  line-height: 1.85;
}
.wpc-blog-post-body h3 {
  margin: 2.6rem 0 1.1rem;
  color: var(--wpc-pearl);
  font-family: var(--wpc-display);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 500;
  line-height: 1.3;
}
.wpc-blog-post-body h3:first-child {
  margin-top: 0;
}

/* homepage "Four ways to belong" rail: two rows of two, static (no hover
   expand), with real spacing between the photos instead of touching edges. */
.wpc-rail-pan {
  gap: 14px;
  background: none;
  border-block: 0;
}
@media (min-width: 900px) {
  .wpc-rail-pan {
    display: flex;
    flex-direction: column;
  }
  .wpc-rail-pan .wpc-rail-row {
    display: flex;
    gap: 14px;
  }
  .wpc-rail-pan .wpc-rail-card {
    aspect-ratio: unset;
    height: 480px;
    flex: 1 1 0;
    min-width: 0;
  }
}
