/* =============================================================================
   Listing Detail — Production
   Scoped to body.page-detail so design tokens and component styles don't leak
   to other pages. Loaded after base/layout/components/header/footer via
   EXTRA_CSS so page-specific rules win specificity ties.
   ========================================================================== */

body.page-detail {
  /* Design tokens (local to this page). Site uses --color-* names; we use
     shorter names here to stay close to the design's colors_and_type.css. */
  --charcoal:  #1E1B18;
  --stone:     #6B6560;
  --pebble:    #B5AFA6;
  --linen:     #F0EDEA;
  --cream:     #FAF9F6;
  --brass:     #8C7B66;
  --sage:      #6B7F6B;
  --clay:      #9B6B5B;

  --font-serif: "freight-text-pro", Georgia, "Times New Roman", serif;
  --font-sans:  "freight-sans-pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --radius-input:  4px;
  --radius-button: 6px;
  --radius-card:   8px;

  --ease:    cubic-bezier(0.4, 0, 0.2, 1);
  --dur-base: 200ms;

  background: var(--cream);
  color: var(--charcoal);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
}

/* Element resets inside the preview (site's global reset zeroes all margins;
   bring the ones we need back). */
body.page-detail h1,
body.page-detail h2,
body.page-detail h3,
body.page-detail h4 {
  margin: 0 0 0.5em;
  line-height: 1.25;
  color: var(--charcoal);
  text-wrap: balance;
}
body.page-detail h1 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 2.441rem;
  letter-spacing: -0.01em;
}
body.page-detail h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.953rem;
  letter-spacing: -0.005em;
}
body.page-detail h3 {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 1.5625rem;
}
body.page-detail h4 {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 1.25rem;
}
body.page-detail p {
  margin: 0 0 1em;
  text-wrap: pretty;
}
body.page-detail strong, body.page-detail b { font-weight: 500; }

body.page-detail a {
  color: var(--charcoal);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color var(--dur-base) var(--ease),
              border-color var(--dur-base) var(--ease);
}
body.page-detail a:hover {
  color: var(--brass);
  border-bottom-color: var(--brass);
}

/* =============================================================================
   Buttons (scoped)
   ========================================================================== */
body.page-detail .whp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 22px;
  border-radius: var(--radius-button);
  border: 1px solid var(--charcoal);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  transition: background-color var(--dur-base) var(--ease),
              color var(--dur-base) var(--ease),
              border-color var(--dur-base) var(--ease);
  background: var(--charcoal);
  color: var(--cream);
  text-decoration: none;
}
body.page-detail .whp-btn:hover {
  background: var(--brass);
  border-color: var(--brass);
  color: var(--cream);
  border-bottom-color: var(--brass);
}
body.page-detail .whp-btn:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 2px;
}
body.page-detail .whp-btn[disabled] {
  background: var(--pebble);
  border-color: var(--pebble);
  color: var(--stone);
  cursor: not-allowed;
}
body.page-detail .whp-btn--ghost {
  background: transparent;
  color: var(--charcoal);
  border-color: var(--charcoal);
}
body.page-detail .whp-btn--ghost:hover {
  background: var(--charcoal);
  color: var(--cream);
  border-color: var(--charcoal);
}
body.page-detail .whp-btn--full { width: 100%; }

/* =============================================================================
   Address bar
   ========================================================================== */
body.page-detail .whp-addrbar {
  background: var(--cream);
  border-bottom: 1px solid var(--pebble);
}
body.page-detail .whp-addrbar__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
body.page-detail .whp-addrbar__info { display: flex; flex-direction: column; gap: 8px; }
body.page-detail .whp-breadcrumb {
  font-size: 13px;
  color: var(--stone);
  display: flex;
  gap: 8px;
  align-items: center;
}
body.page-detail .whp-breadcrumb a {
  color: var(--stone);
  border-bottom: 1px solid transparent;
}
body.page-detail .whp-breadcrumb a:hover { color: var(--brass); border-bottom-color: var(--brass); }
body.page-detail .whp-breadcrumb .sep { color: var(--pebble); }
body.page-detail .whp-breadcrumb .current { color: var(--charcoal); }

body.page-detail .whp-addrbar__title {
  display: flex;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
}
body.page-detail .whp-addrbar__title h1 {
  margin: 0;
  font-size: 34px;
  line-height: 1.1;
}
body.page-detail .whp-addrbar .city { color: var(--stone); font-size: 15px; }

body.page-detail .whp-addrbar__price { text-align: right; }
body.page-detail .whp-addrbar__rent {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 28px;
  color: var(--charcoal);
  line-height: 1;
  font-variant-numeric: tabular-nums lining-nums;
}
body.page-detail .whp-addrbar__rent .per {
  font-size: 14px;
  font-weight: 400;
  color: var(--stone);
  font-family: var(--font-sans);
}
body.page-detail .whp-addrbar__avail {
  font-size: 13px;
  color: var(--stone);
  margin-top: 4px;
}

@media (max-width: 720px) {
  body.page-detail .whp-addrbar__inner { padding: 14px 20px; }
  body.page-detail .whp-addrbar__title h1 { font-size: 26px; }
  body.page-detail .whp-addrbar__price { text-align: left; width: 100%; }
  body.page-detail .whp-addrbar__rent { font-size: 24px; }
}

/* =============================================================================
   Page container (shared below header area)
   ========================================================================== */
body.page-detail .whp-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 720px) {
  body.page-detail .whp-container { padding: 0 20px; }
}

/* =============================================================================
   Top block: gallery (2fr) | sticky apply card column (1fr)
   Specs bar sits directly under the gallery in the left column.
   ========================================================================== */
body.page-detail .whp-top {
  padding-top: 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 32px;
  align-items: start;
}
@media (max-width: 900px) {
  body.page-detail .whp-top {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ---- Gallery ---- */
body.page-detail .whp-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: auto auto;
  gap: 12px;
}
body.page-detail .whp-gallery__hero {
  grid-row: 1 / 3;
  grid-column: 1;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--linen);
  border-radius: var(--radius-card);
  position: relative;
}
body.page-detail .whp-gallery__hero img,
body.page-detail .whp-gallery__hero iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: 0;
}
body.page-detail .whp-gallery__hero img { cursor: zoom-in; }
body.page-detail .whp-gallery__cell {
  grid-column: 2;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--linen);
  border-radius: var(--radius-card);
  cursor: pointer;
  position: relative;
}
body.page-detail .whp-gallery__cell:nth-of-type(1) { grid-row: 1; }
body.page-detail .whp-gallery__cell:nth-of-type(2) { grid-row: 2; }
body.page-detail .whp-gallery__cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
body.page-detail .whp-gallery__badge {
  position: absolute;
  right: 16px;
  bottom: 14px;
  background: rgba(30,27,24,0.75);
  color: var(--cream);
  padding: 6px 12px;
  border-radius: 2px;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
  font-family: var(--font-sans);
}

body.page-detail .whp-gallery__strip {
  display: grid;
  grid-template-columns: repeat(11, 1fr);
  gap: 8px;
  margin-top: 12px;
}
body.page-detail .whp-gallery__thumb {
  height: 64px;
  border: 0;
  padding: 0;
  border-radius: 4px;
  cursor: pointer;
  outline: 1px solid var(--pebble);
  outline-offset: 0;
  opacity: 0.85;
  overflow: hidden;
  background: var(--linen);
  transition: opacity var(--dur-base) var(--ease), outline-color var(--dur-base) var(--ease);
}
body.page-detail .whp-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
body.page-detail .whp-gallery__thumb.is-active {
  outline: 2px solid var(--charcoal);
  outline-offset: 2px;
  opacity: 1;
}
body.page-detail .whp-gallery__thumb--video { position: relative; }
body.page-detail .whp-gallery__thumb-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  background: rgba(30, 27, 24, 0.35);
  pointer-events: none;
}
body.page-detail .whp-gallery__thumb-play svg { width: 22px; height: 22px; }
@media (max-width: 640px) {
  body.page-detail .whp-gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }
  body.page-detail .whp-gallery__hero {
    grid-row: 1;
    grid-column: 1 / -1;
  }
  body.page-detail .whp-gallery__cell {
    grid-column: auto;
  }
  body.page-detail .whp-gallery__cell:nth-of-type(1),
  body.page-detail .whp-gallery__cell:nth-of-type(2) {
    grid-row: 2;
  }
  body.page-detail .whp-gallery__strip { grid-template-columns: repeat(6, 1fr); }
}

/* ---- Specs bar (directly below gallery, same left column) ---- */
body.page-detail .whp-specs {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 1px solid var(--pebble);
  border-radius: var(--radius-card);
  background: var(--cream);
  overflow: hidden;
}
body.page-detail .whp-specs__cell {
  padding: 22px 24px;
  border-right: 1px solid var(--pebble);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
body.page-detail .whp-specs__cell:last-child { border-right: 0; }
body.page-detail .whp-specs__value {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 600;
  color: var(--charcoal);
  font-variant-numeric: tabular-nums lining-nums;
  line-height: 1;
}
body.page-detail .whp-specs__label {
  font-size: 12px;
  color: var(--stone);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
@media (max-width: 720px) {
  body.page-detail .whp-specs { grid-template-columns: repeat(3, 1fr); }
  body.page-detail .whp-specs__cell { padding: 16px 14px; }
  body.page-detail .whp-specs__cell:nth-child(3n) { border-right: 0; }
  body.page-detail .whp-specs__cell {
    border-bottom: 1px solid var(--pebble);
  }
  body.page-detail .whp-specs__cell:nth-last-child(-n+2) { border-bottom: 0; }
  body.page-detail .whp-specs__value { font-size: 22px; }
}
@media (max-width: 480px) {
  body.page-detail .whp-specs { grid-template-columns: repeat(2, 1fr); }
  body.page-detail .whp-specs__cell:nth-child(3n) { border-right: 1px solid var(--pebble); }
  body.page-detail .whp-specs__cell:nth-child(2n) { border-right: 0; }
  body.page-detail .whp-specs__cell:last-child { grid-column: 1 / -1; border-right: 0; }
}

/* ---- Right sidebar ---- */
body.page-detail .whp-sidebar {
  position: sticky;
  top: calc(72px + 24px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@media (max-width: 900px) {
  body.page-detail .whp-sidebar { position: static; }
}
body.page-detail .whp-apply-card {
  background: var(--cream);
  border: 1px solid var(--pebble);
  border-radius: var(--radius-card);
  padding: 28px;
}
body.page-detail .whp-apply-card__rent {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 36px;
  color: var(--charcoal);
  font-variant-numeric: tabular-nums lining-nums;
  line-height: 1;
}
body.page-detail .whp-apply-card__rent .per {
  font-size: 16px;
  color: var(--stone);
  font-weight: 400;
  font-family: var(--font-sans);
}
body.page-detail .whp-apply-card__sub {
  font-size: 13px;
  color: var(--stone);
  margin: 4px 0 20px;
}
body.page-detail .whp-apply-card__avail {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: var(--linen);
  border-radius: 4px;
  margin-bottom: 20px;
}
body.page-detail .whp-apply-card__avail .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sage);
  display: inline-block;
}
body.page-detail .whp-apply-card__avail strong {
  color: var(--charcoal);
  font-weight: 500;
  font-size: 14px;
}
body.page-detail .whp-apply-card__btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
body.page-detail .whp-apply-card__contact {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--pebble);
}
body.page-detail .whp-apply-card__contact .eyebrow { margin-bottom: 12px; }
body.page-detail .whp-apply-card__phone,
body.page-detail .whp-apply-card__email {
  font-size: 15px;
  color: var(--charcoal);
  display: block;
  border-bottom: 0;
}
body.page-detail .whp-apply-card__phone { font-variant-numeric: tabular-nums; }
body.page-detail .whp-apply-card__hours {
  font-size: 13px;
  color: var(--stone);
  margin-top: 6px;
}

body.page-detail .whp-qualify {
  background: var(--linen);
  border: 1px solid var(--pebble);
  border-radius: var(--radius-card);
  padding: 24px;
}
body.page-detail .whp-qualify .eyebrow { margin-bottom: 10px; }
body.page-detail .whp-qualify ul {
  margin: 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: var(--stone);
  line-height: 1.5;
}
body.page-detail .whp-qualify__link {
  font-size: 13px;
  color: var(--charcoal);
  display: inline-block;
  margin-top: 12px;
  cursor: pointer;
  background: transparent;
  border: 0;
  padding: 0;
  font-family: var(--font-sans);
}
body.page-detail .whp-qualify__link:hover { color: var(--brass); }

/* =============================================================================
   Main content (below specs bar, left column)
   ========================================================================== */
body.page-detail .whp-main {
  margin-top: 64px;
  display: flex;
  flex-direction: column;
  gap: 64px;
}
@media (max-width: 980px) {
  body.page-detail .whp-main { margin-top: 40px; gap: 40px; }
}

body.page-detail .eyebrow {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 14px;
}

body.page-detail .whp-about h2 {
  margin: 0 0 24px;
  font-size: 31px;
  line-height: 1.15;
  max-width: 640px;
}
body.page-detail .whp-about p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--charcoal);
  max-width: 680px;
  margin: 0 0 16px;
}

body.page-detail .whp-amenities h3 { margin: 0 0 24px; }
body.page-detail .whp-amenities__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 40px;
}
body.page-detail .whp-amenity {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 16px;
  border-top: 1px solid var(--pebble);
}
body.page-detail .whp-amenity__title {
  font-size: 16px;
  font-weight: 500;
  color: var(--charcoal);
  font-family: var(--font-sans);
}
body.page-detail .whp-amenity__desc {
  font-size: 14px;
  color: var(--stone);
}
@media (max-width: 640px) {
  body.page-detail .whp-amenities__grid { grid-template-columns: 1fr; }
}

body.page-detail .whp-details h3 { margin: 0 0 12px; }
body.page-detail .whp-details__row {
  display: grid;
  grid-template-columns: 200px 1fr;
  padding: 14px 0;
  border-top: 1px solid var(--pebble);
  font-size: 15px;
}
body.page-detail .whp-details__label { color: var(--stone); }
body.page-detail .whp-details__value { color: var(--charcoal); }
body.page-detail .whp-details__value .num { font-variant-numeric: tabular-nums lining-nums; }
@media (max-width: 640px) {
  body.page-detail .whp-details__row { grid-template-columns: 1fr; gap: 2px; }
}

body.page-detail .whp-utilities h3 { margin: 0 0 24px; }
body.page-detail .whp-utilities__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
body.page-detail .whp-utilities__col .eyebrow { margin-bottom: 14px; }
body.page-detail .whp-utilities__row {
  display: flex;
  justify-content: space-between;
  font-size: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--pebble);
}
body.page-detail .whp-utilities__row + .whp-utilities__row { margin-top: 10px; }
body.page-detail .whp-utilities__tag { font-size: 13px; color: var(--stone); }
body.page-detail .whp-utilities__tag.is-included { color: var(--sage); }
@media (max-width: 640px) {
  body.page-detail .whp-utilities__grid { grid-template-columns: 1fr; gap: 32px; }
}

body.page-detail .whp-appliances h3 { margin: 0 0 20px; }
body.page-detail .whp-appliances__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
body.page-detail .whp-chip {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--charcoal);
  border: 1px solid var(--pebble);
  padding: 8px 14px;
  border-radius: 4px;
  background: var(--cream);
}

/* ---- Location ---- */
body.page-detail .whp-location h3 { margin: 0 0 8px; }
body.page-detail .whp-location__note {
  margin: 0 0 24px;
  color: var(--stone);
  font-size: 15px;
  max-width: 620px;
}
body.page-detail .whp-map {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--pebble);
  background: var(--linen);
  position: relative;
  cursor: pointer;
}
body.page-detail .whp-map__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
body.page-detail .whp-map__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--cream);
  padding: 6px 10px;
  border: 1px solid var(--pebble);
  border-radius: 4px;
  font-size: 11px;
  color: var(--stone);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  z-index: 1;
  pointer-events: none;
}
body.page-detail .whp-map__expand {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--cream);
  border: 1px solid var(--pebble);
  border-radius: 4px;
  padding: 6px 12px;
  font-size: 12px;
  color: var(--charcoal);
  letter-spacing: 0.06em;
  z-index: 2;
  cursor: pointer;
  font-family: var(--font-sans);
  font-weight: 500;
}
body.page-detail .whp-map__expand:hover { background: var(--charcoal); color: var(--cream); border-color: var(--charcoal); }

/* =============================================================================
   Forms (scoped)
   ========================================================================== */
body.page-detail .whp-field { display: flex; flex-direction: column; gap: 6px; font-family: var(--font-sans); }
body.page-detail .whp-field > label {
  font-size: 13px;
  color: var(--stone);
  font-weight: 500;
}
body.page-detail .whp-field > input,
body.page-detail .whp-field > select,
body.page-detail .whp-field > textarea {
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--charcoal);
  background: var(--cream);
  border: 1px solid var(--pebble);
  border-radius: var(--radius-input);
  padding: 10px 12px;
  outline: none;
  transition: border-color var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease);
  width: 100%;
  box-sizing: border-box;
}
body.page-detail .whp-field > input:focus,
body.page-detail .whp-field > select:focus,
body.page-detail .whp-field > textarea:focus {
  border-color: var(--brass);
  box-shadow: 0 0 0 1px var(--brass);
}
body.page-detail .whp-field .hint { font-size: 12px; color: var(--stone); }

/* =============================================================================
   Apply / contact section (bottom)
   ========================================================================== */
body.page-detail .whp-apply {
  background: var(--linen);
  padding: 80px 32px;
  margin-top: 80px;
  border-top: 1px solid var(--pebble);
}
body.page-detail .whp-apply__inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: start;
}
body.page-detail .whp-apply__pitch h2 {
  margin: 0 0 20px;
  font-size: 36px;
  line-height: 1.15;
}
body.page-detail .whp-apply__pitch p {
  color: var(--stone);
  font-size: 16px;
  line-height: 1.6;
  max-width: 420px;
  margin: 0 0 28px;
}
body.page-detail .whp-apply__pitch-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
}
body.page-detail .whp-apply__call .eyebrow { margin-bottom: 8px; }
body.page-detail .whp-apply__call-num {
  font-size: 20px;
  color: var(--charcoal);
  font-variant-numeric: tabular-nums;
  display: block;
  border-bottom: 0;
}
body.page-detail .whp-apply__call-hours {
  font-size: 14px;
  color: var(--stone);
  line-height: 1.6;
}

body.page-detail .whp-contact-form {
  padding: 28px;
  border: 1px solid var(--pebble);
  border-radius: var(--radius-card);
  background: var(--cream);
}
body.page-detail .whp-contact-form h3 { margin: 0 0 6px; }
body.page-detail .whp-contact-form__sub {
  margin: 0 0 20px;
  color: var(--stone);
  font-size: 14px;
}
body.page-detail .whp-contact-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
body.page-detail .whp-contact-form__full { grid-column: 1 / -1; }
body.page-detail .whp-contact-form__footer {
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
body.page-detail .whp-contact-form__fineprint {
  font-size: 12px;
  color: var(--stone);
  max-width: 320px;
  line-height: 1.5;
}

/* SMS consent block */
body.page-detail .whp-sms-consent { grid-column: 1 / -1; }
body.page-detail .whp-sms-consent label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  color: var(--stone);
  line-height: 1.5;
  cursor: pointer;
}
body.page-detail .whp-sms-consent input[type="checkbox"] { margin-top: 3px; accent-color: var(--charcoal); }
body.page-detail .whp-sms-consent a { color: var(--charcoal); border-bottom: 1px solid var(--pebble); }
body.page-detail .whp-sms-consent a:hover { color: var(--brass); border-bottom-color: var(--brass); }

@media (max-width: 860px) {
  body.page-detail .whp-apply { padding: 56px 20px; margin-top: 56px; }
  body.page-detail .whp-apply__inner { grid-template-columns: 1fr; gap: 40px; }
  body.page-detail .whp-apply__pitch h2 { font-size: 28px; }
  body.page-detail .whp-contact-form__grid { grid-template-columns: 1fr; }
}

/* =============================================================================
   Lead enrichment (post-submit)
   ========================================================================== */
body.page-detail .lead-enrichment {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--pebble);
}
body.page-detail .lead-enrichment__header {
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 500;
  color: var(--charcoal);
  margin: 0 0 4px;
}
body.page-detail .lead-enrichment__subhead {
  font-size: 13px;
  color: var(--stone);
  margin: 0 0 16px;
}
body.page-detail .lead-enrichment__row { margin-bottom: 14px; }
body.page-detail .lead-enrichment__row > label {
  display: block;
  font-size: 13px;
  color: var(--stone);
  font-weight: 500;
  margin-bottom: 6px;
}
body.page-detail .lead-enrichment__row input[type="number"],
body.page-detail .lead-enrichment__row input[type="date"],
body.page-detail .lead-enrichment__row select,
body.page-detail .lead-enrichment__row textarea {
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--charcoal);
  background: var(--cream);
  border: 1px solid var(--pebble);
  border-radius: var(--radius-input);
  padding: 10px 12px;
  width: 100%;
  outline: none;
  box-sizing: border-box;
  transition: border-color var(--dur-base) var(--ease);
}
body.page-detail .lead-enrichment__row input:focus,
body.page-detail .lead-enrichment__row select:focus,
body.page-detail .lead-enrichment__row textarea:focus {
  border-color: var(--brass);
  box-shadow: 0 0 0 1px var(--brass);
}
body.page-detail .lead-enrichment__prefix-wrap {
  position: relative;
}
body.page-detail .lead-enrichment__prefix {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--stone);
  font-size: 15px;
  pointer-events: none;
}
body.page-detail .lead-enrichment__prefix-wrap input { padding-left: 24px; }
body.page-detail .lead-enrichment__fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 14px;
}
body.page-detail .lead-enrichment__fieldset legend {
  font-size: 13px;
  color: var(--stone);
  font-weight: 500;
  margin-bottom: 8px;
  padding: 0;
}
body.page-detail .lead-enrichment__radio-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
body.page-detail .lead-enrichment__radio-group label,
body.page-detail .lead-enrichment__checkbox-row label {
  font-size: 14px;
  color: var(--charcoal);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
body.page-detail .lead-enrichment__radio-group input,
body.page-detail .lead-enrichment__checkbox-row input[type="checkbox"] { accent-color: var(--charcoal); }
body.page-detail .lead-enrichment__pet-types {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
body.page-detail .lead-enrichment__checkbox-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
body.page-detail .lead-enrichment__qty-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--stone);
}
body.page-detail .lead-enrichment__qty-wrap select { width: auto; padding: 6px 8px; }
body.page-detail .lead-enrichment__done { margin-top: 8px; }

/* =============================================================================
   Modals
   ========================================================================== */
body.page-detail .whp-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
body.page-detail .whp-modal.is-open { display: flex; }
body.page-detail .whp-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(30, 27, 24, 0.55);
}
body.page-detail .whp-modal__content {
  position: relative;
  background: var(--cream);
  border-radius: var(--radius-card);
  max-width: 640px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 36px;
  border: 1px solid var(--pebble);
}
body.page-detail .whp-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: transparent;
  border: 0;
  font-size: 28px;
  color: var(--stone);
  cursor: pointer;
  line-height: 1;
  padding: 4px 10px;
}
body.page-detail .whp-modal__close:hover { color: var(--charcoal); }
body.page-detail .whp-modal__title {
  margin: 0 0 18px;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 26px;
}
body.page-detail .whp-modal__body { font-size: 15px; color: var(--charcoal); line-height: 1.6; }
body.page-detail .whp-modal__body p { margin: 0 0 14px; }
body.page-detail .whp-modal__body ul { margin: 0 0 14px 0; padding-left: 20px; }
body.page-detail .whp-modal__body li { margin-bottom: 8px; }
body.page-detail .whp-modal__body a { color: var(--charcoal); border-bottom: 1px solid var(--pebble); }
body.page-detail .whp-modal__body a:hover { color: var(--brass); border-bottom-color: var(--brass); }
body.page-detail .whp-modal__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
body.page-detail .whp-modal__status {
  margin-top: 12px;
  font-size: 13px;
  color: var(--stone);
}
@media (max-width: 640px) {
  body.page-detail .whp-modal__row { grid-template-columns: 1fr; }
  body.page-detail .whp-modal__content { padding: 24px; }
}

/* Map lightbox — larger map */
body.page-detail .whp-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: none;
  background: rgba(30, 27, 24, 0.85);
  padding: 40px;
}
body.page-detail .whp-lightbox.is-open { display: flex; align-items: center; justify-content: center; }
body.page-detail .whp-lightbox__close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: 0;
  font-size: 32px;
  color: var(--cream);
  cursor: pointer;
  line-height: 1;
  padding: 4px 10px;
}
body.page-detail .whp-lightbox__frame {
  width: 100%;
  max-width: 1100px;
  height: 80vh;
  background: var(--cream);
  border-radius: var(--radius-card);
  overflow: hidden;
}

/* Photo lightbox — full-screen viewer with prev/next + keyboard nav */
body.page-detail .whp-photo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
  background: rgba(14, 12, 10, 0.94);
  padding: 32px 72px;
  align-items: center;
  justify-content: center;
}
body.page-detail .whp-photo-lightbox.is-open { display: flex; }
body.page-detail .whp-photo-lightbox__figure {
  margin: 0;
  max-width: 100%;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
body.page-detail .whp-photo-lightbox__img {
  max-width: 100%;
  max-height: calc(100vh - 120px);
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 2px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}
body.page-detail .whp-photo-lightbox__counter {
  color: rgba(250, 247, 242, 0.82);
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
}
body.page-detail .whp-photo-lightbox__close {
  position: absolute;
  top: 18px;
  right: 22px;
  background: transparent;
  border: 0;
  color: var(--cream);
  font-size: 36px;
  line-height: 1;
  padding: 6px 12px;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity var(--dur-base) var(--ease);
}
body.page-detail .whp-photo-lightbox__close:hover { opacity: 1; }
body.page-detail .whp-photo-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(250, 247, 242, 0.08);
  border: 1px solid rgba(250, 247, 242, 0.25);
  color: var(--cream);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--dur-base) var(--ease),
              border-color var(--dur-base) var(--ease);
}
body.page-detail .whp-photo-lightbox__nav:hover {
  background: rgba(250, 247, 242, 0.18);
  border-color: rgba(250, 247, 242, 0.5);
}
body.page-detail .whp-photo-lightbox__nav:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 2px;
}
body.page-detail .whp-photo-lightbox__nav[hidden] { display: none; }
body.page-detail .whp-photo-lightbox__nav svg { width: 24px; height: 24px; }
body.page-detail .whp-photo-lightbox__nav--prev { left: 18px; }
body.page-detail .whp-photo-lightbox__nav--next { right: 18px; }
@media (max-width: 640px) {
  body.page-detail .whp-photo-lightbox { padding: 16px 8px; }
  body.page-detail .whp-photo-lightbox__nav {
    width: 40px;
    height: 40px;
  }
  body.page-detail .whp-photo-lightbox__nav--prev { left: 6px; }
  body.page-detail .whp-photo-lightbox__nav--next { right: 6px; }
  body.page-detail .whp-photo-lightbox__img { max-height: calc(100vh - 100px); }
}

/* =============================================================================
   Profile review card (returning-visitor UX)
   ========================================================================== */
body.page-detail .rentw2-profile-review-card {
  background: var(--cream);
  border: 1px solid var(--pebble);
  border-radius: var(--radius-card);
  padding: 24px 28px;
  margin-bottom: 20px;
}
body.page-detail .rentw2-profile-review-card h3 {
  margin: 0 0 6px;
  font-size: 1.25rem;
}
body.page-detail .rentw2-profile-review-card__lede {
  margin: 0 0 16px;
  font-size: 14px;
  color: var(--stone);
}
body.page-detail .rentw2-profile-review-card__summary {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 6px 16px;
  margin: 0 0 20px;
  padding: 16px;
  background: var(--linen);
  border-radius: 4px;
  font-size: var(--text-sm, 0.875rem);
}
body.page-detail .rentw2-profile-review-card__summary dt {
  color: var(--stone);
  font-weight: 500;
  white-space: nowrap;
}
body.page-detail .rentw2-profile-review-card__summary dd {
  color: var(--charcoal);
  margin: 0;
  word-break: break-word;
}
body.page-detail .rentw2-profile-review-card__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
body.page-detail .rentw2-profile-review-card__status {
  margin: 0 0 8px;
  font-size: 13px;
  min-height: 1em;
}
body.page-detail .rentw2-profile-review-card__footer {
  margin: 0;
  font-size: 12px;
  color: var(--stone);
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
body.page-detail .rentw2-profile-review-card__clear {
  background: transparent;
  border: 0;
  padding: 0;
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--stone);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}
body.page-detail .rentw2-profile-review-card__clear:hover { color: var(--clay); }

@media (max-width: 640px) {
  body.page-detail .rentw2-profile-review-card { padding: 18px 16px; }
  body.page-detail .rentw2-profile-review-card__summary {
    grid-template-columns: 1fr;
    gap: 2px 0;
  }
  body.page-detail .rentw2-profile-review-card__summary dt { margin-top: 8px; }
  body.page-detail .rentw2-profile-review-card__summary dt:first-child { margin-top: 0; }
  body.page-detail .rentw2-profile-review-card__actions { flex-direction: column; }
}
