:root {
  --pl-ink: #17352d;
  --pl-deep: #10261f;
  --pl-paper: #f4efe5;
  --pl-cream: #fffdf8;
  --pl-accent: #a86f43;
  --pl-muted: #65716d;
  --pl-line: rgba(23, 53, 45, 0.16);
  --pl-matte: #ece7dd;
  --pl-shadow: 0 24px 70px rgba(20, 40, 34, 0.12);
  --pl-display: "Bodoni 72", Didot, "Iowan Old Style", Georgia, serif;
  --pl-body: "Avenir Next", Avenir, Inter, ui-sans-serif, system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 9rem;
}

body.pl-page {
  margin: 0;
  overflow-x: clip;
  background: var(--pl-paper);
  color: var(--pl-ink);
  font-family: var(--pl-body);
  line-height: 1.65;
}

body.pl-page[data-pl-theme="landed"] {
  --pl-ink: #274334;
  --pl-deep: #183126;
  --pl-paper: #f3eee2;
  --pl-cream: #fffaf0;
  --pl-matte: #ebe3d3;
}

body.pl-page[data-pl-theme="coastal"] {
  --pl-ink: #183b45;
  --pl-deep: #102f39;
  --pl-paper: #eef2ef;
  --pl-cream: #fbfcf8;
  --pl-matte: #e4ebe8;
}

body.pl-page[data-pl-theme="urban"] {
  --pl-ink: #293733;
  --pl-deep: #1b2926;
  --pl-paper: #f1efea;
  --pl-cream: #fcfbf7;
  --pl-matte: #e8e5de;
}

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

/* Hard rule: project media always remains complete; no crop is permitted. */
.pl-page img,
.pl-page video {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: contain !important;
  object-position: center;
}

.pl-page button,
.pl-page a {
  font: inherit;
}

.pl-shell {
  width: min(1180px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.pl-kicker {
  margin: 0 0 0.85rem;
  color: var(--pl-accent);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.pl-section {
  padding: clamp(5rem, 8vw, 8rem) 0;
  scroll-margin-top: 8.5rem;
}

.pl-section--cream {
  background: var(--pl-cream);
}

.pl-section--ink {
  background: var(--pl-deep);
  color: #fff;
}

.pl-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(17rem, 0.65fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: end;
  margin-bottom: clamp(2.2rem, 5vw, 4rem);
}

.pl-heading h2,
.pl-copy h2,
.pl-cta h2 {
  margin: 0;
  font-family: var(--pl-display);
  font-size: clamp(2.3rem, 5vw, 5rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1;
  text-wrap: balance;
}

.pl-heading > p,
.pl-copy > p {
  margin: 0;
  color: var(--pl-muted);
  font-size: clamp(1rem, 1.35vw, 1.12rem);
}

.pl-heading--light > p,
.pl-section--ink .pl-copy > p {
  color: rgba(255, 255, 255, 0.72);
}

.pl-hero {
  display: grid;
  grid-template-columns: minmax(370px, 0.92fr) minmax(0, 1.08fr);
  min-height: calc(100svh - var(--header-height, 76px));
  overflow: hidden;
  background: var(--pl-deep);
  color: #fff;
}

.pl-hero__copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3rem, 6vw, 6rem) clamp(2rem, 5vw, 5rem);
  animation: pl-hero-copy-in 0.72s 0.08s both cubic-bezier(0.2, 0.7, 0.2, 1);
}

.pl-hero__name {
  margin: 0 0 1.1rem;
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--pl-display);
  font-size: clamp(1.15rem, 2vw, 1.55rem);
}

.pl-hero h1 {
  max-width: 13ch;
  margin: 0;
  font-family: var(--pl-display);
  font-size: clamp(3rem, 4vw, 5.5rem);
  font-weight: 500;
  hyphens: none;
  letter-spacing: -0.048em;
  line-height: 0.95;
  overflow-wrap: normal;
  text-wrap: balance;
  word-break: normal;
}

.pl-hero__lede {
  max-width: 640px;
  margin: 1.5rem 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.35vw, 1.16rem);
}

.pl-hero__visual {
  align-self: center;
  min-width: 0;
  margin: 0;
  padding: clamp(1rem, 2.8vw, 2.7rem) clamp(1rem, 2.8vw, 2.7rem) 1rem;
  animation: pl-hero-media-in 0.84s 0.14s both cubic-bezier(0.2, 0.7, 0.2, 1);
}

.pl-hero__visual img {
  width: 100%;
  background: rgba(255, 255, 255, 0.035);
  box-shadow: 0 25px 75px rgba(0, 0, 0, 0.24);
}

.pl-hero__visual figcaption {
  margin-top: 0.7rem;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.72rem;
}

.pl-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.8rem;
}

.pl-button {
  display: inline-flex;
  min-height: 3.15rem;
  align-items: center;
  justify-content: center;
  padding: 0.78rem 1.2rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 820;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.pl-button:hover {
  transform: translateY(-2px);
}

.pl-button--light {
  background: #fff;
  color: var(--pl-ink);
}

.pl-button--outline {
  border-color: rgba(255, 255, 255, 0.5);
  background: transparent;
  color: #fff;
}

.pl-button--dark {
  background: var(--pl-ink);
  color: #fff;
}

.pl-button:focus-visible,
.pl-tab:focus-visible,
.pl-media:focus-visible {
  outline: 3px solid #ffd99a;
  outline-offset: 4px;
}

.pl-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 2.4rem 0 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.2);
}

.pl-facts div {
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.045);
}

.pl-facts dt {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pl-facts dd {
  margin: 0.22rem 0 0;
  font-family: var(--pl-display);
  font-size: clamp(1rem, 1.35vw, 1.25rem);
  line-height: 1.2;
}

.pl-journey {
  position: sticky;
  top: var(--header-height, 76px);
  z-index: 25;
  border-bottom: 1px solid var(--pl-line);
  background: rgba(255, 253, 248, 0.95);
  backdrop-filter: blur(16px);
}

.pl-journey .pl-shell {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
}

.pl-journey a {
  flex: 0 0 auto;
  padding: 1rem 0.9rem;
  color: var(--pl-muted);
  font-size: 0.79rem;
  font-weight: 820;
  text-decoration: none;
}

.pl-journey a:hover {
  color: var(--pl-ink);
}

.pl-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: center;
}

body[data-pl-composition="reverse"] .pl-intro__visual {
  grid-column: 2;
}

body[data-pl-composition="reverse"] .pl-intro .pl-copy {
  grid-column: 1;
  grid-row: 1;
}

.pl-intro__visual {
  min-width: 0;
  margin: 0;
}

.pl-intro__visual img {
  width: 100%;
  background: var(--pl-matte);
  box-shadow: var(--pl-shadow);
}

.pl-intro__visual figcaption,
.pl-gallery figcaption {
  margin-top: 0.65rem;
  color: var(--pl-muted);
  font-size: 0.74rem;
}

.pl-copy h2 {
  margin-bottom: 1.35rem;
}

.pl-copy p + p {
  margin-top: 1rem;
}

.pl-copy .pl-lede {
  max-width: 62ch;
  color: var(--pl-ink);
  font-size: clamp(1.13rem, 1.7vw, 1.35rem);
}

.pl-proof-ledger {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  border: 1px solid var(--pl-line);
  background: var(--pl-line);
  gap: 1px;
}

.pl-proof-feature,
.pl-proof-list article {
  background: var(--pl-cream);
}

.pl-proof-feature {
  display: flex;
  min-height: 420px;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(2rem, 5vw, 4.5rem);
}

.pl-proof-feature > span {
  display: block;
  color: var(--pl-accent);
  font-family: var(--pl-display);
  font-size: clamp(6rem, 15vw, 13rem);
  font-weight: 500;
  letter-spacing: -0.07em;
  line-height: 0.75;
}

.pl-proof-feature h3,
.pl-proof-list h3 {
  margin: 1.5rem 0 0.35rem;
  font-size: 1rem;
}

.pl-proof-feature p,
.pl-proof-list p {
  margin: 0;
  color: var(--pl-muted);
  font-size: 0.9rem;
}

.pl-proof-list {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  gap: 1px;
}

.pl-proof-list article {
  display: grid;
  grid-template-columns: minmax(6rem, 0.35fr) minmax(0, 0.65fr);
  gap: 1.5rem;
  align-items: center;
  padding: clamp(1.4rem, 3vw, 2.4rem);
}

.pl-proof-list article > span {
  color: var(--pl-accent);
  font-family: var(--pl-display);
  font-size: clamp(2.3rem, 5vw, 4.5rem);
  letter-spacing: -0.04em;
  line-height: 1;
}

.pl-proof-list h3 {
  margin-top: 0;
}

.pl-location {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: start;
}

.pl-location__media {
  display: grid;
  min-width: 0;
  gap: 1.4rem;
}

.pl-map {
  width: 100%;
  min-height: 480px;
  border: 0;
  background: var(--pl-matte);
  box-shadow: var(--pl-shadow);
}

.pl-location-list {
  display: grid;
  gap: 0.6rem;
  margin: 1.5rem 0;
  padding: 0;
  list-style: none;
}

.pl-location-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--pl-line);
}

.pl-location-visual {
  margin: 0;
  padding: 0.8rem;
  border: 1px solid var(--pl-line);
  background: var(--pl-cream);
}

.pl-location-visual img {
  width: 100%;
  background: var(--pl-matte);
}

.pl-location-visual figcaption,
.pl-inspection-card figcaption {
  display: grid;
  gap: 0.25rem;
  padding: 0.9rem 0.2rem 0.2rem;
}

.pl-location-visual figcaption strong,
.pl-inspection-card figcaption strong {
  font-family: var(--pl-display);
  font-size: 1.45rem;
}

.pl-location-visual figcaption span,
.pl-inspection-card figcaption span {
  color: var(--pl-muted);
  font-size: 0.9rem;
}

.pl-inspection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  gap: clamp(1.5rem, 4vw, 3rem);
}

.pl-inspection-card {
  margin: 0;
  padding: clamp(0.8rem, 2vw, 1.35rem);
  border: 1px solid var(--pl-line);
  background: var(--pl-cream);
}

.pl-inspection-card img {
  width: 100%;
  background: var(--pl-matte);
}

.pl-plan-layout {
  display: grid;
  grid-template-columns: minmax(290px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: start;
}

.pl-plan-layout .pl-copy h2 {
  font-size: clamp(2.2rem, 3.25vw, 3.4rem);
}

.pl-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.4rem 0;
}

.pl-tab {
  min-height: 44px;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--pl-line);
  border-radius: 999px;
  background: transparent;
  color: var(--pl-ink);
  cursor: pointer;
  font-weight: 800;
}

.pl-tab[aria-selected="true"] {
  background: var(--pl-ink);
  color: #fff;
}

.pl-plan-stage {
  display: grid;
  min-height: 440px;
  min-width: 0;
  overflow: visible;
  place-items: center;
  padding: clamp(0.8rem, 2.5vw, 2.2rem);
  border: 1px solid var(--pl-line);
  background: #fff;
}

.pl-plan-panel {
  width: 100%;
  animation: pl-plan-in 0.25s ease both;
}

.pl-plan-panel[hidden] {
  display: none;
}

.pl-plan-media-set {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 1rem;
  align-items: center;
}

.pl-plan-stage img {
  width: 100%;
  background: #fff;
}

.pl-plan-meta {
  display: flex;
  gap: 1rem;
  align-items: end;
  justify-content: space-between;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--pl-line);
  color: var(--pl-muted);
}

.pl-plan-meta p {
  display: grid;
  gap: 0.2rem;
  margin: 0;
}

.pl-plan-meta strong {
  color: var(--pl-ink);
  font-family: var(--pl-display);
  font-size: 1.4rem;
}

.pl-text-link {
  color: var(--pl-ink);
  font-weight: 850;
  text-underline-offset: 0.25rem;
}

.pl-media {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.pl-media--plan {
  padding: 0.3rem;
}

.pl-gallery {
  columns: 3 300px;
  column-gap: clamp(1rem, 2.5vw, 1.8rem);
}

.pl-gallery figure {
  display: inline-block;
  width: 100%;
  margin: 0 0 clamp(1.2rem, 2.5vw, 1.8rem);
  break-inside: avoid;
}

.pl-gallery img {
  width: 100%;
  background: var(--pl-matte);
  box-shadow: 0 16px 45px rgba(20, 40, 34, 0.1);
}

.pl-video-stage {
  display: grid;
  grid-template-columns: minmax(260px, 0.55fr) minmax(0, 1.45fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.pl-video-stage video {
  width: 100%;
  background: #081411;
  box-shadow: var(--pl-shadow);
}

.pl-vr-stage {
  display: grid;
  gap: 1.2rem;
  justify-items: start;
}

.pl-vr-stage iframe {
  width: 100%;
  min-height: min(70vh, 720px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: #07120f;
}

.pl-faq {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(2.5rem, 7vw, 7rem);
}

.pl-faq details {
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--pl-line);
}

.pl-faq summary {
  cursor: pointer;
  font-weight: 800;
}

.pl-faq details p {
  color: var(--pl-muted);
}

.pl-cta {
  position: relative;
  overflow: hidden;
  padding: clamp(4rem, 8vw, 7rem) max(1rem, 6vw);
  background: var(--pl-accent);
  color: #fff;
  text-align: center;
}

.pl-cta::before {
  position: absolute;
  inset: -30% auto auto -5%;
  width: 28rem;
  height: 28rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  content: "";
}

.pl-cta .pl-kicker {
  color: #fff;
}

.pl-cta h2 {
  max-width: 900px;
  margin-inline: auto;
}

.pl-cta p {
  max-width: 650px;
  margin: 1.35rem auto;
  color: rgba(255, 255, 255, 0.86);
}

.pl-cta .pl-actions {
  justify-content: center;
}

.pl-source-note {
  padding: 1rem 0;
  background: #0d251e;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.74rem;
}

.pl-source-note p {
  margin: 0;
}

.pl-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  padding: 0;
  border: 0;
  background: rgba(5, 15, 12, 0.96);
  color: #fff;
}

.pl-lightbox::backdrop {
  background: rgba(5, 15, 12, 0.96);
}

.pl-lightbox__inner {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  height: 100%;
  padding: 1rem;
}

.pl-lightbox__close {
  min-height: 44px;
  justify-self: end;
  padding: 0.6rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.pl-lightbox img {
  width: auto;
  max-width: min(94vw, 1600px);
  max-height: 82vh;
  margin: auto;
}

.pl-lightbox p {
  margin: 0.7rem;
  text-align: center;
}

.pl-wa {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.82rem 1rem;
  border-radius: 999px;
  background: #1f8f57;
  box-shadow: 0 12px 32px rgba(13, 72, 43, 0.25);
  color: #fff;
  font-weight: 900;
  text-decoration: none;
}

/* M01/M04/M07/M08/M09: entrance, reveal, touch gallery, plan state, CTA pulse. */
[data-pl-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.62s ease, transform 0.62s cubic-bezier(0.2, 0.7, 0.2, 1);
}

[data-pl-reveal].is-visible {
  opacity: 1;
  transform: none;
}

.pl-cta.is-visible::before {
  animation: pl-cta-pulse 1.1s 0.25s both ease-out;
}

@keyframes pl-hero-copy-in {
  from { opacity: 0; transform: translateY(14px); }
}

@keyframes pl-hero-media-in {
  from { opacity: 0; transform: translateX(18px); }
}

@keyframes pl-plan-in {
  from { opacity: 0.35; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

@keyframes pl-cta-pulse {
  from { opacity: 0; transform: scale(0.72); }
  to { opacity: 1; transform: scale(1); }
}

@media (max-width: 980px) {
  .pl-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .pl-hero__visual {
    grid-row: 1;
    padding-bottom: 0;
  }

  .pl-hero__copy {
    padding-top: 3rem;
  }

  .pl-hero h1 {
    max-width: 14ch;
  }

  .pl-heading,
  .pl-intro,
  .pl-location,
  .pl-plan-layout,
  .pl-video-stage,
  .pl-faq {
    grid-template-columns: 1fr;
  }

  body[data-pl-composition="reverse"] .pl-intro__visual,
  body[data-pl-composition="reverse"] .pl-intro .pl-copy {
    grid-column: auto;
    grid-row: auto;
  }

  .pl-proof-ledger {
    grid-template-columns: 1fr;
  }

  .pl-proof-feature {
    min-height: 330px;
  }

  .pl-map {
    min-height: 420px;
  }

  .pl-plan-stage {
    min-height: 320px;
  }

  .pl-gallery {
    columns: 2 280px;
  }
}

@media (max-width: 600px) {
  html {
    scroll-padding-top: 7rem;
  }

  .pl-shell {
    width: min(calc(100% - 1.4rem), 1180px);
  }

  .pl-section {
    padding: 4.2rem 0;
  }

  .pl-hero__visual {
    padding: 0.7rem;
  }

  .pl-hero__copy {
    padding: 2.5rem 1rem 3rem;
  }

  .pl-hero h1 {
    font-size: clamp(2.45rem, 11vw, 3.4rem);
    line-height: 0.97;
  }

  .pl-hero__lede {
    font-size: 0.98rem;
  }

  .pl-actions {
    display: grid;
  }

  .pl-button {
    width: 100%;
  }

  .pl-facts {
    margin-top: 1.8rem;
  }

  .pl-facts div {
    padding: 0.7rem;
  }

  .pl-facts dd {
    font-size: 0.98rem;
  }

  .pl-proof-feature {
    min-height: 280px;
  }

  .pl-proof-list article {
    grid-template-columns: 5.25rem 1fr;
    gap: 0.85rem;
  }

  .pl-gallery {
    display: grid;
    grid-auto-columns: minmax(84%, 1fr);
    grid-auto-flow: column;
    gap: 0.9rem;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    padding: 0 0.1rem 1rem;
    scroll-snap-type: inline mandatory;
    scrollbar-width: thin;
  }

  .pl-gallery figure {
    display: block;
    margin: 0;
    scroll-snap-align: start;
  }

  .pl-map {
    min-height: 360px;
  }

  .pl-plan-stage {
    min-height: 0;
  }

  .pl-plan-meta {
    align-items: start;
    flex-direction: column;
  }

  .pl-vr-stage iframe {
    min-height: 62vh;
  }

  .pl-cta {
    padding: 4rem 1rem;
  }

  .pl-wa {
    right: 0.7rem;
    bottom: 0.7rem;
  }

  .pl-wa span {
    display: none;
  }

  .pl-heading h2,
  .pl-copy h2,
  .pl-cta h2 {
    font-size: clamp(2.25rem, 10.5vw, 3.55rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .pl-page *,
  .pl-page *::before,
  .pl-page *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-pl-reveal] {
    opacity: 1;
    transform: none;
  }

  .pl-button:hover {
    transform: none;
  }
}

.no-js [data-pl-reveal] {
  opacity: 1;
  transform: none;
}

.no-js .pl-plan-panel[hidden] {
  display: block !important;
  margin-top: 2rem;
}
