/* ==========================================================================
   PLAN B PROPERTIES v2 — Brand Mini-System & Motion Stylesheet
   WCAG 2.2 AA | Progressive Enhancement | CSS Scroll-Driven + GSAP Fallback
   ========================================================================== */

:root {
  /* Brand Palette (verified >= 4.5:1 contrast pairings) */
  --pb-ink: #0b1320;           /* Deep architectural slate */
  --pb-ink-soft: #1e293b;      /* Secondary ink */
  --pb-muted: #475569;         /* >= 7.0:1 on white */
  --pb-surface: #ffffff;
  --pb-surface-alt: #f4f6f9;
  --pb-surface-warm: #faf8f5;
  --pb-border: rgba(11, 19, 32, 0.12);
  --pb-border-control: rgba(11, 19, 32, 0.45); /* >= 3.2:1 WCAG 1.4.11 non-text contrast */

  /* Segmented Journey Accents */
  --pb-commercial: #1d4ed8;    /* Industrial Cobalt (6.7:1 on white) */
  --pb-commercial-dark: #1e3a8a;
  --pb-residential: #b45309;   /* Warm Terracotta/Amber (5.0:1 on white) */
  --pb-residential-soft: #fef3c7;
  --pb-ndis: #0f766e;          /* Calm Support Teal (5.4:1 on white) */
  --pb-ndis-soft: #ccfbf1;

  /* Fluid Type Scale (Plus Jakarta Sans + JetBrains Mono for technical specs/CAD measurements) */
  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --text-xs: clamp(0.75rem, 0.72rem + 0.15vw, 0.85rem);
  --text-sm: clamp(0.875rem, 0.84rem + 0.18vw, 0.975rem);
  --text-base: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1.05rem + 0.4vw, 1.375rem);
  --text-xl: clamp(1.375rem, 1.2rem + 0.9vw, 1.875rem);
  --text-2xl: clamp(1.85rem, 1.45rem + 1.8vw, 2.85rem);
  --text-hero: clamp(2.45rem, 1.75rem + 3.4vw, 4.5rem);

  /* Layout & Motion Tokens (oil-motion-effect calibrated springs & exits) */
  --container-max: 1320px;
  --gutter: clamp(1.125rem, 3vw, 2.5rem);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 10px rgba(11, 19, 32, 0.06);
  --shadow-md: 0 12px 32px rgba(11, 19, 32, 0.10);
  --shadow-lg: 0 24px 60px rgba(11, 19, 32, 0.18);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-snap: cubic-bezier(0.2, 0.9, 0.3, 1);
  --ease-glide: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-exit: cubic-bezier(0.4, 0, 1, 1);
  --dur-fast: 180ms;
  --dur-med: 420ms;
}

/* Browser Surface Craft: Palette Selection & Custom Scrollbars */
::selection {
  background: rgba(29, 78, 216, 0.18);
  color: var(--pb-ink);
}
.pb-hero ::selection,
.pb-section--dark ::selection,
.pb-footer ::selection {
  background: rgba(96, 165, 250, 0.32);
  color: #fff;
}
html {
  scrollbar-color: rgba(11, 19, 32, 0.28) transparent;
  scrollbar-width: thin;
}

/* View Transitions (progressive enhancement) */
@view-transition {
  navigation: auto;
}

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

html {
  font-family: var(--font-sans);
  color: var(--pb-ink);
  background: var(--pb-surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: clip;
  font-size: var(--text-base);
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Skip Link & Focus Ring (WCAG 2.2 AA) */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 9999;
  padding: 0.75rem 1.25rem;
  background: var(--pb-ink);
  color: #fff;
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-decoration: none;
}
.skip-link:focus {
  top: 1rem;
}

:focus-visible {
  outline: 3px solid var(--pb-commercial);
  outline-offset: 3px;
}

img,
svg {
  display: block;
  max-width: 100%;
}

/* Container & Grid */
.pb-container {
  width: min(100% - (var(--gutter) * 2), var(--container-max));
  margin-inline: auto;
}

.pb-grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.4vw, 2rem);
}

/* Typography */
h1, h2, h3, h4 {
  margin: 0 0 0.6em;
  line-height: 1.1;
  letter-spacing: -0.028em;
  color: inherit;
  text-wrap: balance;
}
h1 { font-size: var(--text-hero); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: var(--text-2xl); font-weight: 750; }
h3 { font-size: var(--text-xl); font-weight: 700; }
p { margin: 0 0 1rem; text-wrap: pretty; }

/* Architectural Hairline Index Eyebrow (replaces generic template pill badges) */
.pb-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0;
  border-radius: 0;
  background: transparent;
  margin-bottom: 0.9rem;
}
.pb-eyebrow::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  flex-shrink: 0;
}
.pb-eyebrow--commercial { color: var(--pb-commercial-dark); }
.pb-eyebrow--residential { color: #9a3412; }
.pb-eyebrow--ndis { color: #0f766e; }
.pb-eyebrow--dark { color: #93c5fd; }

/* Buttons (designed hover, focus-visible & tactile press feedback) */
.pb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: var(--text-sm);
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-snap),
              background-color var(--dur-fast) var(--ease-glide),
              border-color var(--dur-fast) var(--ease-glide),
              box-shadow var(--dur-fast) var(--ease-glide);
}
@media (hover: hover) {
  .pb-btn:hover { transform: translateY(-2px); }
}
.pb-btn:active { transform: translateY(0) scale(0.975); }
.pb-btn--primary { background: var(--pb-commercial); color: #fff; }
.pb-btn--primary:hover { background: var(--pb-commercial-dark); box-shadow: var(--shadow-md); }
.pb-btn--ndis { background: var(--pb-ndis); color: #fff; }
.pb-btn--ndis:hover { background: #115e59; }
.pb-btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.45); }
.pb-btn--ghost:hover { background: rgba(255, 255, 255, 0.12); }
.pb-btn--outline { background: transparent; color: var(--pb-ink); border-color: var(--pb-border-control); }
.pb-btn--outline:hover { border-color: var(--pb-ink); }

/* Global Single Header (Logo is a plain link, NEVER an H1) */
.pb-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--pb-border);
}
.pb-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 1.5rem;
}
.pb-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--pb-ink);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
  flex-shrink: 0;
}
.pb-brand__logo {
  height: 40px !important;
  width: 40px !important;
  min-width: 40px;
  flex-shrink: 0;
  object-fit: contain;
  border-radius: 6px;
  display: block !important;
}
.pb-brand__mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--pb-ink) 0%, var(--pb-commercial) 100%);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.95rem;
}
.pb-nav {
  display: flex;
  align-items: center;
  gap: 1.05rem;
  flex-wrap: nowrap;
}
.pb-nav a {
  white-space: nowrap;
}
.pb-nav .pb-btn {
  padding: 0.65rem 1.25rem;
}
.pb-hero-collage {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-rows: 1fr 1fr;
  gap: 0.85rem;
  min-height: 370px;
}
.pb-hero-tile {
  margin: 0 !important;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: #132238;
  min-height: 178px;
}
.pb-hero-tile--tall {
  grid-row: span 2;
  border-radius: 18px;
  min-height: 370px;
}
.pb-hero-tile img {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  display: block !important;
}
.pb-hero-tile figcaption,
.pb-hero-tile__cap {
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  z-index: 3;
  background: rgba(11, 19, 32, 0.84);
  color: #fff;
  padding: 0.3rem 0.72rem;
  border-radius: 999px;
  font-size: 0.73rem;
  font-weight: 700;
  margin: 0 !important;
  transform: translateZ(16px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.pb-hero-tile figcaption.is-ndis,
.pb-hero-tile__cap.is-ndis {
  background: rgba(15, 118, 110, 0.92);
}
.pb-nav a:not(.pb-btn) {
  color: var(--pb-ink-soft);
  text-decoration: none;
  font-weight: 600;
  font-size: var(--text-sm);
}
.pb-nav a:not(.pb-btn):hover,
.pb-nav a:not(.pb-btn)[aria-current="page"] {
  color: var(--pb-commercial);
}
.pb-nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--pb-border-control);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.75rem;
  min-height: 40px;
  font-weight: 700;
  color: var(--pb-ink);
  cursor: pointer;
}

/* Chapter Progress HUD (>= 27x27px accessible hit targets per WCAG 2.5.8) */
.pb-chapter-rail {
  position: fixed;
  right: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 80;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.pb-chapter-rail a {
  width: 27px;
  height: 27px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(11, 19, 32, 0.34);
  background-clip: content-box;
  border: none;
  transition: transform 200ms ease, background-color 200ms ease;
}
.pb-chapter-rail a.is-active {
  background: var(--pb-commercial);
  background-clip: content-box;
  transform: scale(1.25);
}

/* ==========================================================================
   CHAPTER 0: ARRIVAL — Dawn 3D Isometric Portfolio Scene
   ========================================================================== */
.pb-hero {
  position: relative;
  min-height: min(92vh, 860px);
  display: grid;
  align-items: center;
  background: radial-gradient(circle at 72% 35%, #1e3a8a 0%, #0f172a 52%, #070b14 100%);
  color: #fff;
  padding-block: clamp(3rem, 7vw, 5.5rem);
  overflow: hidden;
}
.pb-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(2rem, 4vw, 4rem);
  position: relative;
  z-index: 2;
}
.pb-hero__lead {
  font-size: var(--text-lg);
  color: #cbd5e1;
  max-width: 56ch;
  margin-bottom: 1.75rem;
}
.pb-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2rem;
}
.pb-hero__audiences {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.pb-audience-pill {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 0.85rem;
}
.pb-audience-pill strong {
  display: block;
  font-size: var(--text-sm);
  color: #fff;
}
.pb-audience-pill span {
  font-size: var(--text-xs);
  color: #cbd5e1;
}

/* ==========================================================================
   CHAPTER 1: A SPACE FOR BUSINESS — Roller-Door Reveal + Spec Counters
   ========================================================================== */
.pb-section {
  padding-block: clamp(4.5rem, 9vw, 7.5rem);
}
.pb-section--dark {
  background: var(--pb-ink);
  color: #fff;
}
.pb-section--alt {
  background: var(--pb-surface-alt);
}
.pb-section--warm {
  background: var(--pb-surface-warm);
}
.pb-section--calm {
  background: #f0fdfa;
}

.pb-roller-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #0f172a;
  min-height: 420px;
  display: grid;
  align-items: end;
  padding: 2rem;
}
.pb-roller-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.48);
  z-index: 0;
}
.pb-roller-door {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    repeating-linear-gradient(
      to bottom,
      #334155 0px,
      #334155 22px,
      #1e293b 22px,
      #1e293b 26px
    );
  display: grid;
  place-items: center;
  transform-origin: top center;
  will-change: transform;
}
.pb-roller-door__label {
  background: rgba(11, 19, 32, 0.88);
  color: #f8fafc;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.pb-spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  position: relative;
  z-index: 1;
}
.pb-spec-tile {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}
.pb-spec-tile__num {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: #93c5fd;
  line-height: 1.05;
}
.pb-spec-tile__label {
  font-size: var(--text-xs);
  color: #e2e8f0;
  margin-top: 0.25rem;
}

/* ==========================================================================
   CHAPTER 2: A PLACE TO CALL HOME — Clip-Path Reveals & Layered Parallax
   ========================================================================== */
.pb-home-showcase {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2.25rem;
}
.pb-reveal-card {
  background: #fff;
  border: 1px solid var(--pb-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-med) var(--ease-out-expo), box-shadow var(--dur-med) ease;
}
.pb-reveal-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.pb-reveal-card__media {
  aspect-ratio: 16 / 10;
  background: #0f172a;
  position: relative;
  overflow: hidden;
}
.pb-reveal-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms var(--ease-out-expo);
}
.pb-reveal-card:hover .pb-reveal-card__media img {
  transform: scale(1.04);
}
.pb-reveal-card__body {
  padding: 1.4rem;
}

/* CSS Scroll-Driven Reveal (zero-JS in Chromium, graceful fallback elsewhere, never under reduced motion) */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .pb-css-reveal {
      animation: pbRevealUp linear both;
      animation-timeline: view();
      animation-range: entry 10% cover 32%;
    }
    @keyframes pbRevealUp {
      from {
        opacity: 0.25;
        transform: translateY(28px);
        clip-path: inset(8% 0 0 0 round 14px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
        clip-path: inset(0 0 0 0 round 14px);
      }
    }
  }
}
body[data-calm-motion="true"] .pb-css-reveal {
  animation: none !important;
  opacity: 1 !important;
  transform: none !important;
  clip-path: none !important;
}

/* ==========================================================================
   CHAPTER 3: HOMES BUILT FOR SUPPORT — Calm SVG Floor Plan Line-Draw
   ========================================================================== */
.pb-floorplan-wrap {
  background: #fff;
  border: 1px solid rgba(15, 118, 110, 0.2);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-sm);
}
.pb-floorplan-svg path,
.pb-floorplan-svg rect,
.pb-floorplan-svg line {
  stroke: var(--pb-ndis);
  stroke-width: 2.5;
  fill: none;
}
.pb-ndis-tags {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 0.85rem;
  margin-top: 1.5rem;
}
.pb-ndis-tag {
  background: #f0fdfa;
  border: 1px solid rgba(15, 118, 110, 0.22);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  font-size: var(--text-sm);
}
.pb-ndis-tag strong {
  display: block;
  color: #115e59;
}

/* ==========================================================================
   CHAPTER 4: PORTFOLIO MAP + HORIZONTAL CAROUSEL
   ========================================================================== */
.pb-map-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr);
  gap: 1.25rem;
  background: #fff;
  border: 1px solid var(--pb-border);
  border-radius: var(--radius-lg);
  padding: 1.15rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.75rem;
}
.pb-map-canvas {
  position: relative;
  min-height: 350px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #e2e8f0;
  border: 1px solid var(--pb-border);
  z-index: 1;
}
.pb-map-sidebar {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.pb-state-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.pb-filter-pill {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--pb-border);
  background: var(--pb-surface-alt);
  color: var(--pb-ink);
  font: inherit;
  font-size: var(--text-xs);
  font-weight: 700;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}
.pb-filter-pill:hover {
  border-color: var(--pb-commercial);
}
.pb-filter-pill[aria-pressed="true"] {
  background: var(--pb-ink);
  color: #fff;
  border-color: var(--pb-ink);
}
.pb-suburb-list {
  display: grid;
  gap: 0.55rem;
}
.pb-suburb-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  text-align: left;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--pb-border);
  background: #fff;
  cursor: pointer;
  font: inherit;
  transition: border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}
.pb-suburb-item:hover {
  border-color: var(--pb-commercial);
  background: #f8fafc;
}
.pb-suburb-item[aria-pressed="true"] {
  border-color: var(--pb-commercial);
  background: #eff6ff;
  box-shadow: 0 0 0 2px rgba(29, 78, 216, 0.14);
}
.pb-suburb-item strong {
  display: block;
  font-size: var(--text-sm);
  color: var(--pb-ink);
}
.pb-suburb-item small {
  display: block;
  font-size: 0.74rem;
  color: var(--pb-muted);
}
.pb-suburb-count {
  flex-shrink: 0;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  background: var(--pb-surface-alt);
  color: var(--pb-ink);
}
.pb-map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  font-size: 0.72rem;
  color: var(--pb-muted);
  margin-top: auto;
  padding-top: 0.45rem;
  border-top: 1px solid var(--pb-border);
}
.pb-legend-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  margin-right: 0.35rem;
}
.pb-carousel-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.pb-carousel-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.pb-arrow-btn {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--pb-border);
  background: #fff;
  color: var(--pb-ink);
  font-size: 1.25rem;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}
.pb-arrow-btn:hover {
  background: var(--pb-ink);
  color: #fff;
  transform: translateY(-1px);
}
.pb-portfolio-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 1rem;
}
.pb-portfolio-track .pb-listing-card[hidden] {
  display: none;
}
@media (max-width: 960px) {
  .pb-map-panel {
    grid-template-columns: 1fr;
  }
  .pb-map-canvas {
    min-height: 280px;
  }
}
.pb-listing-card {
  flex: 0 0 min(360px, 84vw);
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid var(--pb-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.pb-listing-card__thumb {
  aspect-ratio: 16 / 10;
  position: relative;
  background: #0f172a;
  color: #fff;
  padding: 0.9rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}
.pb-listing-card__thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform 420ms var(--ease-out-expo);
}
.pb-listing-card:hover .pb-listing-card__thumb img {
  transform: scale(1.04);
}
.pb-listing-card__thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 19, 32, 0.25) 0%, rgba(11, 19, 32, 0.12) 45%, rgba(11, 19, 32, 0.78) 100%);
  z-index: 1;
}
.pb-listing-card__thumb > .pb-pill,
.pb-listing-card__thumb > strong {
  position: relative;
  z-index: 2;
}
.pb-listing-card__thumb--commercial { background: #1e3a8a; }
.pb-listing-card__thumb--residential { background: #78350f; }
.pb-listing-card__thumb--ndis { background: #134e4a; }

.pb-pill {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.92);
  color: var(--pb-ink);
  width: fit-content;
}
.pb-pill--privacy {
  background: #0f766e;
  color: #fff;
}
.pb-listing-card__body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex: 1;
}
.pb-listing-card__price {
  font-weight: 800;
  color: var(--pb-commercial-dark);
  font-size: var(--text-lg);
}
.pb-listing-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  font-size: var(--text-xs);
  color: var(--pb-muted);
  list-style: none;
  margin: 0;
  padding: 0;
}

/* ==========================================================================
   CHAPTER 5: HOW IT WORKS — Scroll-Linked Progress Line
   ========================================================================== */
.pb-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.pb-steps__rail {
  position: absolute;
  top: 26px;
  left: 8%;
  right: 8%;
  height: 4px;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
}
.pb-steps__fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--pb-commercial), var(--pb-ndis));
}
.pb-step-card {
  position: relative;
  z-index: 1;
  background: #fff;
  border: 1px solid var(--pb-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.pb-step-card__num {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--pb-ink);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  margin-bottom: 1rem;
}

/* ==========================================================================
   CHAPTER 6: PROOF, AEO FAQS, COMPARISON TABLE & CTA
   ========================================================================== */
.pb-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--pb-border);
  border-radius: var(--radius-md);
  background: #fff;
}
.pb-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
}
.pb-table th,
.pb-table td {
  text-align: left;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--pb-border);
}
.pb-table th {
  background: var(--pb-surface-alt);
  font-weight: 700;
}

.pb-faq-list {
  display: grid;
  gap: 0.85rem;
}
.pb-faq-item {
  background: #fff;
  border: 1px solid var(--pb-border);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
}
.pb-faq-item summary {
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.pb-faq-item summary::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--pb-commercial);
}
.pb-faq-item[open] summary::after {
  content: "−";
}
.pb-faq-item p {
  margin-top: 0.75rem;
  color: var(--pb-muted);
  margin-bottom: 0;
}

.pb-cta-band {
  background: linear-gradient(135deg, var(--pb-ink) 0%, var(--pb-commercial-dark) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(2.25rem, 5vw, 4rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* Footer */
.pb-footer {
  background: var(--pb-ink);
  color: #cbd5e1;
  padding-block: 3.5rem 2rem;
  font-size: var(--text-sm);
}
.pb-footer a { color: #e2e8f0; text-decoration: none; }
.pb-footer a:hover { text-decoration: underline; }
.pb-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.pb-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  font-size: var(--text-xs);
  color: #94a3b8;
}

/* Listing Detail Sticky Mobile CTA */
.pb-mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 95;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--pb-border);
  padding: 0.75rem 1rem;
  gap: 0.75rem;
}

/* Responsive */
@media (max-width: 960px) {
  .pb-hero__grid,
  .pb-home-showcase,
  .pb-steps,
  .pb-footer__grid {
    grid-template-columns: 1fr;
  }
  .pb-steps__rail,
  .pb-chapter-rail {
    display: none;
  }
  .pb-nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.25rem var(--gutter);
    border-bottom: 1px solid var(--pb-border);
    box-shadow: var(--shadow-md);
  }
  .pb-nav.is-open { display: flex; }
  .pb-nav-toggle { display: inline-flex; }
  .pb-hero__audiences { grid-template-columns: 1fr; }
  .pb-mobile-cta-bar { display: flex; }
}

/* ==========================================================================
   NJM GROUP HVM SECURITY VIDEO THEATER & 100x AGENTIC CONCIERGE / COMPARE UI
   ========================================================================== */
.pb-video-theater {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.75fr);
  gap: 1.5rem;
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow-lg);
}
.pb-video-stage {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #020617;
  aspect-ratio: 16 / 9;
}
.pb-video-stage video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #020617;
  display: block;
}
.pb-video-playlist {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.pb-video-tab {
  width: 100%;
  text-align: left;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: #e2e8f0;
  cursor: pointer;
  font: inherit;
  transition: background-color 180ms ease, border-color 180ms ease;
}
.pb-video-tab:hover {
  background: rgba(255, 255, 255, 0.1);
}
.pb-video-tab[aria-pressed="true"] {
  background: rgba(29, 78, 216, 0.28);
  border-color: #60a5fa;
  color: #fff;
}
.pb-video-tab strong {
  display: block;
  font-size: var(--text-sm);
  margin-bottom: 0.2rem;
}
.pb-video-tab small {
  display: block;
  font-size: 0.76rem;
  color: #cbd5e1;
}

/* Floating Agentic Concierge Launcher & Drawer */
.pb-agent-fab {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 160;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.3rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: linear-gradient(135deg, #0b1320 0%, #1d4ed8 100%);
  color: #fff;
  font: inherit;
  font-size: var(--text-sm);
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 16px 40px rgba(11, 19, 32, 0.34);
  transition: transform 200ms var(--ease-out-expo), box-shadow 200ms ease;
}
.pb-agent-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 46px rgba(29, 78, 216, 0.42);
}
.pb-agent-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #34d399;
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.25);
}
.pb-agent-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(460px, 100vw);
  z-index: 220;
  background: #ffffff;
  color: var(--pb-ink);
  border-left: 1px solid var(--pb-border);
  box-shadow: -20px 0 60px rgba(11, 19, 32, 0.24);
  display: flex;
  flex-direction: column;
  visibility: hidden;
  transform: translateX(105%);
  transition: transform 280ms var(--ease-out-expo), visibility 280ms ease;
}
.pb-agent-drawer.is-open {
  visibility: visible;
  transform: translateX(0);
}
.pb-agent-drawer__head {
  padding: 1rem 1.25rem;
  background: #0b1320;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.pb-agent-missions {
  padding: 0.75rem 1rem;
  background: var(--pb-surface-alt);
  border-bottom: 1px solid var(--pb-border);
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.pb-mission-chip {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--pb-border-control);
  background: #fff;
  color: var(--pb-ink);
  font: inherit;
  font-size: 0.73rem;
  font-weight: 700;
  cursor: pointer;
}
.pb-mission-chip:hover {
  border-color: var(--pb-commercial);
  color: var(--pb-commercial-dark);
}
.pb-agent-log {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.pb-agent-msg {
  padding: 0.85rem 1rem;
  border-radius: 12px;
  font-size: 0.88rem;
  line-height: 1.5;
}
.pb-agent-msg--user {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  align-self: flex-end;
  max-width: 88%;
}
.pb-agent-msg--bot {
  background: #f8fafc;
  border: 1px solid var(--pb-border);
}
.pb-tool-trace {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.72rem;
  color: #0f766e;
  background: #f0fdfa;
  border: 1px solid rgba(15, 118, 110, 0.22);
  border-radius: 8px;
  padding: 0.45rem 0.65rem;
  margin-bottom: 0.6rem;
}
.pb-agent-inputbar {
  padding: 0.85rem 1rem;
  border-top: 1px solid var(--pb-border);
  display: flex;
  gap: 0.5rem;
  background: #fff;
}
.pb-agent-inputbar input {
  flex: 1;
  padding: 0.65rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--pb-border-control);
  font: inherit;
  font-size: var(--text-sm);
}

/* Compare Toggle & Floating Compare Dock */
.pb-compare-btn {
  padding: 0.35rem 0.75rem;
  min-height: 34px;
  border-radius: 999px;
  border: 1px solid var(--pb-border-control);
  background: var(--pb-surface-alt);
  color: var(--pb-ink);
  font: inherit;
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
}
.pb-compare-btn[aria-pressed="true"] {
  background: #0f766e;
  color: #fff;
  border-color: #0f766e;
}
.pb-compare-dock {
  position: fixed;
  left: 1.25rem;
  bottom: 1.25rem;
  z-index: 155;
  background: #0b1320;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 0.65rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: var(--shadow-lg);
  font-size: var(--text-xs);
}
.pb-compare-dock[hidden] {
  display: none;
}
.pb-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 240;
  background: rgba(11, 19, 32, 0.68);
  backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  padding: 1.25rem;
}
.pb-modal-backdrop[hidden] {
  display: none;
}
.pb-modal-card {
  width: min(920px, 100%);
  max-height: 86vh;
  overflow: auto;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
}

/* Executive Direct Leasing Standards Section (Replaces HVM Division) */
.pb-standards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.pb-standard-tile {
  padding: 1.25rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.pb-standard-tile h3 {
  font-size: 1rem;
  color: #fff;
  margin: 0 0 0.45rem;
}
.pb-standard-tile p {
  font-size: 0.86rem;
  color: #cbd5e1;
  margin: 0;
  line-height: 1.55;
}
.pb-office-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  color: #e2e8f0;
  box-shadow: var(--shadow-lg);
}
.pb-office-card__head {
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.pb-office-card__head span {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #93c5fd;
  margin-bottom: 0.3rem;
}
.pb-office-card__head strong {
  display: block;
  font-size: 1.15rem;
  color: #fff;
}
.pb-office-card__head small {
  display: block;
  font-size: 0.8rem;
  color: #cbd5e1;
  margin-top: 0.2rem;
}
.pb-office-list {
  display: grid;
  gap: 0.85rem;
  margin: 0;
}
.pb-office-list dt {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #94a3b8;
  margin-bottom: 0.15rem;
}
.pb-office-list dd {
  margin: 0;
  font-size: 0.88rem;
  color: #f8fafc;
  line-height: 1.45;
}
.pb-office-list a {
  color: #93c5fd;
  text-decoration: none;
  font-weight: 600;
}
.pb-office-list a:hover {
  text-decoration: underline;
}

/* Consistent Controlled Status Pills & Pro Archive Filter Bar */
.pb-pill--available {
  background: #0f766e;
  color: #fff;
}
.pb-pill--leased {
  background: #475569;
  color: #f8fafc;
}
.pb-listing-card--leased {
  opacity: 0.88;
}
.pb-listing-card--leased .pb-listing-card__thumb img {
  filter: grayscale(28%);
}
.pb-listing-card__price.is-leased {
  color: var(--pb-muted);
}
.pb-filter-bar--pro {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  background: #fff;
  border: 1px solid var(--pb-border);
  border-radius: var(--radius-md);
  padding: 1.15rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.pb-filter-bar--pro .pb-field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--pb-muted);
  margin-bottom: 0.3rem;
}
.pb-filter-bar--pro .pb-field input,
.pb-filter-bar--pro .pb-field select {
  width: 100%;
  padding: 0.62rem 0.78rem;
  border: 1px solid var(--pb-border-control);
  border-radius: 8px;
  font: inherit;
  font-size: var(--text-sm);
  background: #fff;
}
.pb-filter-actions {
  grid-column: 1 / -1;
  display: flex;
  gap: 0.65rem;
  justify-content: flex-end;
}
.pb-footer__heading {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
  letter-spacing: -0.01em;
}

@media (max-width: 960px) {
  .pb-standards-grid,
  .pb-filter-bar--pro {
    grid-template-columns: 1fr;
  }
  .pb-video-theater {
    grid-template-columns: 1fr;
  }
  .pb-agent-fab {
    bottom: 4.5rem;
  }
  body:has(.pb-mobile-cta-bar) .pb-agent-fab {
    display: none;
  }
  .pb-compare-dock {
    bottom: 4.5rem;
    left: 0.75rem;
    right: 0.75rem;
    justify-content: space-between;
  }
  .pb-footer {
    padding-bottom: 7.5rem;
  }
}

/* ==========================================================================
   ZERO-FOUC ARCHITECTURAL LOGO PRELOADER (v3.2.2), SAFETY BAR & <DIALOG> LIGHTBOX
   ========================================================================== */
html.pb-preloading,
body.pb-preloading {
  overflow: hidden !important;
}
.pb-preloader {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100dvh;
  z-index: 2147483000;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 38%, #162952 0%, #0b1320 56%, #050811 100%);
  color: #fff;
  opacity: 1;
  transition: opacity 340ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity;
}
.pb-preloader.is-leaving {
  opacity: 0;
  pointer-events: none;
}
.pb-preloader__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  padding: 1.5rem;
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1), opacity 280ms ease;
}
.pb-preloader.is-leaving .pb-preloader__card {
  transform: translateY(-10px) scale(0.97);
  opacity: 0;
}
.pb-preloader__emblem {
  position: relative;
  width: 104px;
  height: 104px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  box-shadow: 0 18px 44px rgba(37, 99, 235, 0.28), 0 0 0 1px rgba(147, 197, 253, 0.14);
}
.pb-preloader__frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.pb-preloader__frame rect {
  fill: none;
  stroke: #60a5fa;
  stroke-width: 2.2;
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  animation: pbDrawFrame 460ms var(--ease-out-expo) forwards;
}
.pb-preloader__logo {
  width: 76px !important;
  height: 76px !important;
  object-fit: contain;
  border-radius: 16px;
  display: block;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
  animation: pbLogoPop 420ms var(--ease-out-expo) both;
}
.pb-preloader__wordmark {
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: #f8fafc;
  animation: pbFadeUp 380ms var(--ease-out-expo) 60ms both;
}
.pb-preloader__sub {
  font-size: 0.76rem;
  color: #cbd5e1;
  letter-spacing: 0.04em;
  animation: pbFadeUp 380ms var(--ease-out-expo) 120ms both;
}
.pb-preloader__bar {
  width: 184px;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  overflow: hidden;
  margin-top: 0.3rem;
}
.pb-preloader__bar-fill {
  display: block;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, #3b82f6, #14b8a6);
  transform-origin: left center;
  animation: pbProgress 640ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes pbDrawFrame { to { stroke-dashoffset: 0; } }
@keyframes pbLogoPop { from { opacity: 0; transform: scale(0.88); } to { opacity: 1; transform: scale(1); } }
@keyframes pbFadeUp { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pbProgress { from { transform: scaleX(0.06); } to { transform: scaleX(1); } }

/* Crisis Safety Bar & Quick Exit (NDIS / Supported Housing pages) */
.pb-safety-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.7rem 1.1rem;
  margin-bottom: 1.25rem;
  border-radius: var(--radius-sm);
  background: #0f172a;
  color: #f8fafc;
  font-size: var(--text-xs);
}
.pb-quick-exit {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.38rem 0.85rem;
  border-radius: 999px;
  background: #dc2626;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}
.pb-quick-exit:hover { background: #b91c1c; }

/* Native <dialog> Photo Lightbox */
.pb-lightbox {
  border: none;
  padding: 0;
  background: transparent;
  max-width: min(1040px, 94vw);
  width: 100%;
}
.pb-lightbox::backdrop {
  background: rgba(5, 8, 17, 0.84);
  backdrop-filter: blur(8px);
}
.pb-lightbox__inner {
  background: #0b1320;
  color: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
}
.pb-lightbox__media {
  position: relative;
  background: #020617;
  max-height: 74vh;
  display: grid;
  place-items: center;
}
.pb-lightbox__media img {
  max-height: 74vh;
  width: auto;
  object-fit: contain;
}
.pb-lightbox__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.15rem;
  font-size: var(--text-xs);
}

/* View Switcher (Card Grid vs Leasing Schedule Table) */
.pb-view-switcher {
  display: inline-flex;
  gap: 0.35rem;
  background: var(--pb-surface-alt);
  padding: 0.25rem;
  border-radius: 999px;
  border: 1px solid var(--pb-border);
}

/* ==========================================================================
   v3.3 ARCHITECTURAL 3D DIGITAL TWIN STUDIO, HERO SPATIAL STAGE,
   3D AERIAL MAP PERSPECTIVE & TACTILE SPOTLIGHT SURFACE SYSTEM
   ========================================================================== */
.pb-header {
  transition: box-shadow 240ms var(--ease-glide), background-color 240ms var(--ease-glide);
}
.pb-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 28px rgba(11, 19, 32, 0.08);
}
.pb-scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, var(--pb-commercial) 0%, #0ea5e9 55%, var(--pb-ndis) 100%);
  transform: scaleX(0);
  transform-origin: left center;
  pointer-events: none;
  z-index: 4;
}

/* Tabular Numerals on Financial, Area & Technical Data */
.pb-listing-card__price,
.pb-spec-card strong,
.pb-table td,
.pb-office-list dd,
.pb-3d-telemetry {
  font-variant-numeric: tabular-nums;
}

/* Spec Cards (Architectural hairline precision) */
.pb-spec-card {
  background: #fff;
  border: 1px solid var(--pb-border);
  border-radius: var(--radius-md);
  padding: 1rem 1.15rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-fast) var(--ease-snap), border-color var(--dur-fast) var(--ease-glide);
}
.pb-spec-card strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--pb-ink);
  letter-spacing: -0.02em;
}
.pb-spec-card span {
  display: block;
  font-size: 0.78rem;
  color: var(--pb-muted);
  margin-top: 0.22rem;
}

/* Hero Architectural Blueprint Depth Grid + Ambient Pointer Light + Interactive 3D Photo Stack */
.pb-hero {
  --hx: 72%;
  --hy: 35%;
  background:
    radial-gradient(640px circle at var(--hx) var(--hy), rgba(37, 99, 235, 0.26) 0%, rgba(15, 118, 110, 0.08) 42%, transparent 72%),
    radial-gradient(circle at 75% 30%, #172b59 0%, #0d1729 52%, #060a13 100%);
}
.pb-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(148, 163, 184, 0.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(148, 163, 184, 0.07) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 85% 80% at 62% 45%, #000 30%, transparent 88%);
  pointer-events: none;
  z-index: 0;
}
.pb-hero-collage {
  perspective: 1200px;
}
.pb-hero-tile {
  --rx: 0deg;
  --ry: 0deg;
  --mx: 50%;
  --my: 50%;
  display: block;
  text-decoration: none;
  color: inherit;
  transform-style: preserve-3d;
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform 360ms var(--ease-glide), border-color 240ms var(--ease-glide), box-shadow 360ms var(--ease-glide);
  box-shadow: 0 18px 42px rgba(2, 6, 23, 0.42);
}
.pb-hero-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(11, 19, 32, 0.04) 0%, rgba(11, 19, 32, 0.16) 55%, rgba(11, 19, 32, 0.78) 100%);
  pointer-events: none;
}
@media (hover: hover) {
  .pb-hero-tile::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background: radial-gradient(240px circle at var(--mx) var(--my), rgba(255, 255, 255, 0.20), transparent 70%);
    opacity: 0;
    transition: opacity 260ms var(--ease-glide);
    pointer-events: none;
  }
  .pb-hero-tile:hover {
    border-color: rgba(147, 197, 253, 0.52);
    box-shadow: 0 26px 56px rgba(2, 6, 23, 0.56);
  }
  .pb-hero-tile:hover::before {
    opacity: 1;
  }
  .pb-hero-tile:hover img {
    transform: scale(1.045);
  }
}
.pb-hero-tile img {
  transition: transform 620ms var(--ease-glide);
}
.pb-hero-tile figcaption {
  transform: translateZ(16px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.pb-hero-tile__cta {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 3;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.24rem 0.58rem;
  border-radius: 999px;
  background: rgba(11, 19, 32, 0.74);
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
  transform: translateZ(14px);
}

/* Single Orchestrated Hero Entrance (< 700ms, never hidden when reduced motion) */
@media (prefers-reduced-motion: no-preference) {
  .pb-hero__grid > div,
  .pb-hero-collage {
    opacity: 0.96;
    transform: translateY(10px);
    transition: opacity 540ms var(--ease-glide), transform 620ms var(--ease-glide);
  }
  .pb-hero.is-hero-ready .pb-hero__grid > div,
  .pb-hero.is-hero-ready .pb-hero-collage {
    opacity: 1;
    transform: translateY(0);
  }
  .pb-hero.is-hero-ready .pb-hero-collage {
    transition-delay: 85ms;
  }
}

/* Interactive 3D Architectural Digital Twin Studio (Three.js WebGL2) */
.pb-3d-studio {
  background: #0b1320;
  color: #f8fafc;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: var(--radius-lg);
  padding: 1rem;
  box-shadow: 0 24px 64px rgba(11, 19, 32, 0.22);
  position: relative;
  overflow: hidden;
}
.pb-3d-studio__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  padding: 0.15rem 0.25rem 0.85rem;
}
.pb-3d-studio__title {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: #f8fafc;
}
.pb-3d-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #14b8a6;
  box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.22);
  flex-shrink: 0;
}
.pb-3d-meta-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}
.pb-3d-telemetry {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: #93c5fd;
  background: rgba(29, 78, 216, 0.16);
  border: 1px solid rgba(96, 165, 250, 0.28);
  padding: 0.24rem 0.6rem;
  border-radius: 999px;
}
.pb-3d-viewport {
  position: relative;
  width: 100%;
  height: clamp(320px, 38vw, 430px);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: radial-gradient(circle at 50% 42%, #152542 0%, #09101c 75%);
  border: 1px solid rgba(148, 163, 184, 0.18);
}
.pb-3d-stage {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.pb-3d-canvas {
  display: block;
  width: 100%;
  height: 100%;
  touch-action: pan-y;
}
.pb-3d-fallback {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 0.5rem;
}
.pb-3d-pins {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  overflow: hidden;
}
.pb-3d-pin {
  position: absolute;
  top: 0;
  left: 0;
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 0.22rem;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  background: rgba(11, 19, 32, 0.88);
  backdrop-filter: blur(8px);
  color: #f8fafc;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(2, 6, 23, 0.48);
  transition: background-color 180ms var(--ease-snap), border-color 180ms var(--ease-snap), padding 220ms var(--ease-glide), gap 220ms var(--ease-glide), opacity 220ms ease;
}
.pb-3d-pin__num {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--pin-color, #2563eb);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  flex-shrink: 0;
}
.pb-3d-pin__label {
  display: inline-block;
  max-width: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-width 260ms var(--ease-glide), opacity 180ms ease;
}
.pb-3d-pin:hover,
.pb-3d-pin:focus-visible,
.pb-3d-pin[aria-pressed="true"] {
  gap: 0.4rem;
  padding: 0.24rem 0.68rem 0.24rem 0.24rem;
  background: #1e3a8a;
  border-color: #93c5fd;
  z-index: 6;
}
.pb-3d-pin:hover .pb-3d-pin__label,
.pb-3d-pin:focus-visible .pb-3d-pin__label,
.pb-3d-pin[aria-pressed="true"] .pb-3d-pin__label {
  max-width: 140px;
  opacity: 1;
}
.pb-3d-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.8rem;
}
.pb-3d-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.38rem;
}
.pb-3d-btn {
  padding: 0.42rem 0.78rem;
  min-height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(255, 255, 255, 0.06);
  color: #e2e8f0;
  font: inherit;
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 160ms var(--ease-snap), border-color 160ms var(--ease-snap), transform 140ms var(--ease-snap);
}
.pb-3d-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(147, 197, 253, 0.55);
}
.pb-3d-btn:active {
  transform: scale(0.97);
}
.pb-3d-btn[aria-pressed="true"] {
  background: var(--pb-commercial);
  border-color: #60a5fa;
  color: #fff;
}
.pb-3d-readout {
  margin: 0.78rem 0 0;
  padding: 0.78rem 0.95rem;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 10px;
  font-size: 0.84rem;
  line-height: 1.5;
  color: #e2e8f0;
}

/* 3D Aerial Isometric Map Perspective Stage */
.pb-map-stage {
  position: relative;
  perspective: 1400px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #0f172a;
}
.pb-map-stage .pb-map-canvas {
  transition: transform 520ms var(--ease-glide), box-shadow 520ms var(--ease-glide);
  transform-origin: center 74%;
}
.pb-map-stage.is-3d-aerial {
  background:
    linear-gradient(to right, rgba(96, 165, 250, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(96, 165, 250, 0.08) 1px, transparent 1px),
    radial-gradient(ellipse at 50% 80%, #172b59 0%, #0b1320 75%);
  background-size: 28px 28px, 28px 28px, 100% 100%;
  padding: 0.45rem;
}
.pb-map-stage.is-3d-aerial::after {
  content: "ISOMETRIC AERIAL · F11 SUBURB RING ACTIVE";
  position: absolute;
  left: 0.85rem;
  top: 0.85rem;
  z-index: 410;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  color: #93c5fd;
  background: rgba(11, 19, 32, 0.84);
  border: 1px solid rgba(96, 165, 250, 0.32);
  padding: 0.25rem 0.58rem;
  border-radius: 999px;
  pointer-events: none;
}
.pb-map-stage.is-3d-aerial .pb-map-canvas {
  transform: rotateX(21deg) scale(1.055);
  box-shadow: 0 28px 52px rgba(2, 6, 23, 0.48);
  border-color: rgba(147, 197, 253, 0.35);
}
.pb-map-3d-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 410;
  padding: 0.4rem 0.85rem;
  min-height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(11, 19, 32, 0.22);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  color: var(--pb-ink);
  font: inherit;
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(11, 19, 32, 0.16);
  transition: background-color 180ms var(--ease-snap), color 180ms var(--ease-snap), transform 140ms var(--ease-snap);
}
.pb-map-3d-badge:hover {
  border-color: var(--pb-commercial);
}
.pb-map-3d-badge[aria-pressed="true"] {
  background: var(--pb-ink);
  color: #fff;
  border-color: #60a5fa;
}

/* Tactile Architectural Edge Spotlight Cards (Desktop hover only, GPU-light) */
.pb-listing-card,
.pb-standard-tile,
.pb-office-card,
.pb-step-card {
  position: relative;
  transition: transform 280ms var(--ease-glide), box-shadow 280ms var(--ease-glide), border-color 240ms var(--ease-glide);
}
@media (hover: hover) {
  .pb-listing-card:hover,
  .pb-step-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: rgba(29, 78, 216, 0.28);
  }
  .pb-listing-card::before,
  .pb-standard-tile::before,
  .pb-office-card::before,
  .pb-step-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    opacity: 0;
    transition: opacity 280ms var(--ease-glide);
    background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 50%), rgba(29, 78, 216, 0.08), transparent 70%);
    z-index: 2;
  }
  .pb-standard-tile::before,
  .pb-office-card::before {
    background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), rgba(147, 197, 253, 0.14), transparent 70%);
  }
  .pb-listing-card:hover::before,
  .pb-standard-tile:hover::before,
  .pb-office-card:hover::before,
  .pb-step-card:hover::before {
    opacity: 1;
  }
}
.pb-listing-card:active {
  transform: translateY(-1px) scale(0.992);
}

/* Mobile polish for 3D Studio, 12-Col Layouts & Hero Collage */
@media (max-width: 960px) {
  .pb-grid-12 > * {
    grid-column: 1 / -1 !important;
  }
  .pb-listing-layout {
    grid-template-columns: 1fr !important;
  }
  .pb-sticky-panel {
    position: static !important;
  }
  .pb-3d-viewport {
    height: 310px;
  }
  .pb-3d-pin__label {
    display: none;
  }
  .pb-3d-pin {
    padding: 0.2rem;
  }
  .pb-hero-collage {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .pb-hero-tile--tall {
    grid-row: auto;
    min-height: 240px;
  }
}

/* ==========================================================================
   REDUCED MOTION GUARDRAIL (Mandatory)
   Disables pinning, smooth scroll, 3D motion, and scroll animations
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .pb-roller-door {
    transform: translateY(-92%) !important;
  }
  .pb-steps__fill {
    width: 100% !important;
  }
  .pb-css-reveal {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
  }
  .pb-hero-tile,
  .pb-map-stage.is-3d-aerial .pb-map-canvas {
    transform: none !important;
  }
  .pb-scroll-progress {
    display: none !important;
  }
}

/* ==========================================================================
   PRINT STYLESHEET (Clean Leasing Specs & Guides Output)
   ========================================================================== */
@media print {
  .pb-header,
  .pb-agent-fab,
  .pb-agent-drawer,
  .pb-compare-dock,
  .pb-chapter-rail,
  .pb-mobile-cta-bar,
  .pb-preloader,
  .pb-video-theater,
  .pb-safety-bar,
  .pb-modal-backdrop,
  [role="dialog"] {
    display: none !important;
  }
  body {
    background: #fff !important;
    color: #000 !important;
    font-size: 11pt;
  }
  a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
    color: #334155;
  }
}
