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

:root {
  --remco-black: #111216;
  --remco-white: #ffffff;
  --remco-border: #e8e3dc;
  --remco-text: #151515;
  --remco-muted: #f7f5f1;
  --remco-radius-sm: 0.45rem;
  --remco-container: 1440px;
}

/* -- Skip link -- */

.skip-link {
  position: absolute;
  top: -3rem;
  left: 0.75rem;
  z-index: 1000;
  padding: 0.75rem 1.25rem;
  background: var(--remco-black);
  color: var(--remco-white);
  border-radius: var(--remco-radius-sm);
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0.75rem;
}

html {
  font-size: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.5;
  color: var(--remco-text);
  background-color: var(--remco-white);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* -- NAVIGATION STYLE -- */
.site-header {
  width: 100%;
  background: var(--remco-white);
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 85px;
  padding: 0.75rem 4rem;
}

.logo {
  display: flex;
  align-items: center;
  width: 225px;
  flex-shrink: 0;
}

.logo img {
  width: 100%;
  height: auto;
}

.nav-links {
  display: flex;
  gap: 1rem;
}

.nav-links,
ul {
  display: flex;
  gap: 1rem;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1;
  color: var(--remco-text);
  text-decoration: none;
  transition:
    color 0.3s ease,
    background-color 0.3s ease;
}

.nav-links a:hover {
  background-color: var(--remco-muted);
}

/* -- RENTER TOOLS NAV DROPDOWN -- */

.nav-item-dropdown {
  position: relative;
}

/* Invisible bridge covering the gap between the trigger and the dropdown
   panel (see .nav-dropdown's top offset below). Without this, moving the
   cursor straight down from "Renter Tools" into the dropdown crosses a
   strip with no hoverable element under it, :hover on this <li> drops for
   an instant, and the dropdown closes before the cursor ever reaches it. */
.nav-item-dropdown::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 460px;
  max-width: min(90vw, 460px);
  height: 16px;
}

.nav-dropdown-trigger {
  /* Intentionally no text-decoration/underline here or on any state below —
     the dropdown's top stroke + caret are the active-state indicator. */
}

.nav-dropdown-trigger.is-open {
  background-color: var(--remco-muted);
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  width: 460px;
  max-width: min(90vw, 460px);
  padding: 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.15rem 1.5rem;
  background: #fffdf8;
  border: 1px solid rgba(17, 18, 22, 0.1);
  border-radius: 0.9rem;
  box-shadow: 0 1.5rem 3.5rem rgba(17, 18, 22, 0.16);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.18s ease,
    transform 0.18s ease,
    visibility 0.18s ease;
  z-index: 1200;
}

/* Solid top stroke — the visual cue that replaces the underline. */
.nav-dropdown::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 0.9rem 0.9rem 0 0;
  background: #3a2f26;
}

/* Caret that "hooks" the dropdown to the Renter Tools nav label. */
.nav-dropdown-caret {
  position: absolute;
  top: -7px;
  left: 50%;
  width: 14px;
  height: 14px;
  background: #3a2f26;
  transform: translateX(-50%) rotate(45deg);
  border-radius: 2px 0 0 0;
}

.nav-item-dropdown:hover .nav-dropdown,
.nav-item-dropdown:focus-within .nav-dropdown,
.nav-item-dropdown.is-open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-col {
  display: flex;
  flex-direction: column;
}

/* Scoped to .nav-dropdown (not just .nav-dropdown-item) so this reliably
   beats the generic ".nav-links a" rule, which centers link content and
   would otherwise override the alignment/padding/display below since these
   items are technically nested inside .nav-links. */
.nav-dropdown .nav-dropdown-item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
  width: 100%;
  padding: 0.6rem 0.5rem;
  border: none;
  border-radius: 0.55rem;
  background: transparent;
  color: var(--remco-text);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.16s ease;
}

.nav-dropdown .nav-dropdown-item:hover,
.nav-dropdown .nav-dropdown-item:focus-visible {
  background-color: var(--remco-muted);
}

.nav-dropdown-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 2.05rem;
  height: 2.05rem;
  border-radius: 50%;
  background: var(--remco-muted);
  color: #3a2f26;
}

.nav-dropdown-icon svg {
  width: 1rem;
  height: 1rem;
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.85rem;
  flex-shrink: 0;
}

.language-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  padding: 0.18rem;
  border: 1px solid rgba(17, 18, 22, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
}

.language-toggle__button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  min-height: 32px;
  padding: 0.36rem 0.5rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(17, 18, 22, 0.72);
  font: inherit;
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    box-shadow 0.25s ease;
}

.language-toggle__button:hover {
  background-color: var(--remco-muted);
  color: var(--remco-text);
}

.language-toggle__button:focus-visible {
  outline: 2px solid rgba(17, 18, 22, 0.28);
  outline-offset: 2px;
}

.language-toggle__button.is-active {
  background-color: var(--remco-black);
  color: var(--remco-white);
  box-shadow: 0 0.35rem 0.9rem rgba(17, 18, 22, 0.12);
}

.language-toggle__button.is-active:hover {
  background-color: var(--remco-black);
  color: var(--remco-white);
}

.language-toggle__flag {
  font-size: 0.82rem;
  line-height: 1;
}

/* -- LANGUAGE SELECT (desktop nav bar dropdown) -- */

.language-select {
  position: relative;
}

.language-select__trigger {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 32px;
  padding: 0.36rem 0.65rem;
  border: 1px solid rgba(17, 18, 22, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: rgba(17, 18, 22, 0.72);
  font: inherit;
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.language-select__trigger:hover {
  background-color: var(--remco-muted);
  color: var(--remco-text);
}

.language-select__trigger:focus-visible {
  outline: 2px solid rgba(17, 18, 22, 0.28);
  outline-offset: 2px;
}

.language-select.is-open .language-select__trigger {
  background-color: var(--remco-black);
  border-color: var(--remco-black);
  color: var(--remco-white);
}

.language-select__chevron {
  width: 0.8rem;
  height: 0.8rem;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.language-select__trigger[aria-expanded="true"] .language-select__chevron {
  transform: rotate(90deg);
}

.language-select__menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  z-index: 40;
  min-width: 7.5rem;
  margin: 0;
  padding: 0.35rem;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  background: #ffffff;
  border: 1px solid rgba(17, 18, 22, 0.12);
  border-radius: 0.9rem;
  box-shadow: 0 1rem 2.6rem rgba(17, 24, 32, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition:
    opacity 0.18s ease,
    transform 0.18s ease,
    visibility 0.18s ease;
}

.language-select.is-open .language-select__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.language-select__option {
  appearance: none;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  width: 100%;
  padding: 0.5rem 0.65rem;
  border: 0;
  border-radius: 0.6rem;
  background: transparent;
  color: rgba(17, 18, 22, 0.72);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  text-align: left;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

.language-select__option:hover,
.language-select__option:focus-visible {
  background-color: var(--remco-muted);
  color: var(--remco-text);
}

.language-select__option.is-active {
  background-color: var(--remco-black);
  color: var(--remco-white);
}

/* -- MOBILE NAVIGATION -- */

.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 8px;
  flex-shrink: 0;
  transition: background-color 0.2s ease;
}

.hamburger-btn:hover {
  background-color: var(--remco-muted);
}

.hamburger-btn:focus-visible {
  outline: 2px solid rgba(17, 18, 22, 0.28);
  outline-offset: 2px;
}

.hamburger-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--remco-text);
  border-radius: 2px;
  transform-origin: center;
  flex-shrink: 0;
  transition:
    transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.2s ease;
}

.hamburger-btn[aria-expanded="true"] .hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger-btn[aria-expanded="true"] .hamburger-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger-btn[aria-expanded="true"] .hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Overlay backdrop */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 11, 18, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1098;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.mobile-menu-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}

/* Mobile menu drawer */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: min(360px, 86vw);
  height: 100dvh;
  background: var(--remco-white);
  z-index: 1099;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  box-shadow: -6px 0 32px rgba(8, 11, 18, 0.14);
}

.mobile-menu.is-open {
  transform: translateX(0);
}

body.menu-open {
  overflow: hidden;
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.5rem;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  flex-shrink: 0;
}

.mobile-menu-logo {
  display: block;
  width: 120px;
  height: auto;
}

.mobile-menu-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  border-radius: 8px;
  cursor: pointer;
  color: var(--remco-text);
  flex-shrink: 0;
  transition: background-color 0.2s ease;
}

.mobile-menu-close:hover {
  background-color: var(--remco-muted);
}

.mobile-menu-close:focus-visible {
  outline: 2px solid rgba(17, 18, 22, 0.28);
  outline-offset: 2px;
}

.mobile-menu-close svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mobile-menu-nav {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  flex-shrink: 0;
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0;
}

.mobile-menu-links li {
  margin: 0;
}

.mobile-menu-links a {
  display: flex;
  align-items: center;
  padding: 0.9rem 1.5rem;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--remco-text);
  text-decoration: none;
  transition:
    background-color 0.18s ease,
    color 0.18s ease;
}

.mobile-menu-links a:hover {
  background-color: var(--remco-muted);
}

.mobile-menu-links a.is-active {
  font-weight: 700;
  color: var(--remco-black);
}

.mobile-menu-links a.is-active::before {
  content: '';
  display: block;
  width: 3px;
  min-height: 1.2em;
  background: #B08D57;
  border-radius: 2px;
  margin-right: 0.75rem;
  flex-shrink: 0;
}

/* Renter Tools quick links, shown as a stacked sub-group under the main
   "Renter Tools" mobile menu link (no hover/dropdown behavior on mobile). */
.mobile-menu-sublinks {
  display: flex;
  flex-direction: column;
  list-style: none;
  margin: 0;
  padding: 0.25rem 0 0.5rem;
  background: var(--remco-muted);
}

.mobile-menu-sublinks li {
  margin: 0;
}

.mobile-menu-sublink {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.65rem 1.5rem 0.65rem 2rem;
  border: none;
  background: transparent;
  color: var(--remco-text);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.mobile-menu-sublink:hover {
  background-color: rgba(17, 18, 22, 0.05);
}

.mobile-menu-sublink-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  background: #ffffff;
  color: #3a2f26;
}

.mobile-menu-sublink-icon svg {
  width: 0.9rem;
  height: 0.9rem;
}

.mobile-menu-lang {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  flex-shrink: 0;
}

.mobile-menu-lang-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(17, 18, 22, 0.42);
  margin-bottom: 0.75rem;
  text-align: center;
}

.mobile-menu-lang .language-toggle {
  display: flex;
  width: 100%;
}

.mobile-menu-lang .language-toggle__button {
  flex: 1;
  justify-content: center;
  padding: 0.55rem 0.5rem;
  font-size: 0.8rem;
  min-height: 44px;
}

.mobile-menu-cta {
  padding: 1.25rem 1.5rem;
  margin-top: auto;
  flex-shrink: 0;
}

.mobile-menu-cta .btn {
  display: flex;
  width: 100%;
  justify-content: center;
  padding: 0.9rem;
  font-size: 0.92rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.35rem;
  min-height: 48px;
  border-radius: var(--remco-radius-sm);
  background-color: var(--remco-black);
  color: var(--remco-white);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  transition:
    background-color 0.3s ease,
    transform 0.3s ease;
}

.btn:hover {
  background-color: #25262b;
  transform: translateY(-1px);
}

/* -- MAIN / HERO STYLE -- */

.hero {
  min-height: clamp(720px, 80vh, 880px);
  position: relative;
  padding: 0 2rem clamp(3rem, 10vh, 7rem);
  background: #080b12;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(2rem, 3.5vh, 3rem);
  text-align: center;
  color: var(--remco-white);
  overflow: visible;
  z-index: 10;
}

/* ── Hero split-screen panels ──────────────────────────────────────────── */

.hero-panels {
  --hero-split-top: 52.5%;
  --hero-split-bottom: 47.5%;
  --hero-divider-width: 1px;
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-panel {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-repeat: no-repeat;
}

/* Left panel — warm residential interior */
.hero-panel--left {
  background-image: url("./assets/img/img-hero-banner.svg");
  background-position: 28% center;
  clip-path: polygon(0 0,
      var(--hero-split-top) 0,
      var(--hero-split-bottom) 100%,
      0 100%);
}

.hero-panel--left::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(34, 18, 8, 0.58);
  pointer-events: none;
}

/* Right panel — modern apartment exterior */
.hero-panel--right {
  background: #0d1720;
  clip-path: polygon(var(--hero-split-top) 0,
      100% 0,
      100% 100%,
      var(--hero-split-bottom) 100%);
}

.hero-panel--right::before {
  content: "";
  position: absolute;
  inset: 0 0 0 45%;
  background-image: url("./assets/img/buildings/36-inglis/hero.jpg");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  pointer-events: none;
}

.hero-panel--right::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 14, 28, 0.6);
  pointer-events: none;
}

/* Global centre-vignette + bottom fade over both panels */
.hero-panels::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(ellipse 50% 56% at 50% 36%,
      rgba(0, 0, 0, 0.28) 0%,
      rgba(0, 0, 0, 0.1) 46%,
      transparent 80%),
    linear-gradient(180deg,
      transparent 38%,
      rgba(0, 0, 0, 0.22) 68%,
      rgba(0, 0, 0, 0.5) 100%);
}

/* Diagonal centre divider — thin illuminated line that follows the panel edge */
.hero-panels::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  clip-path: polygon(calc(var(--hero-split-top) - var(--hero-divider-width)) 0,
      calc(var(--hero-split-top) + var(--hero-divider-width)) 0,
      calc(var(--hero-split-bottom) + var(--hero-divider-width)) 100%,
      calc(var(--hero-split-bottom) - var(--hero-divider-width)) 100%);
  background: linear-gradient(to bottom,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.52) 22%,
      rgba(255, 255, 255, 0.72) 50%,
      rgba(255, 255, 255, 0.52) 78%,
      rgba(255, 255, 255, 0) 100%);
}

.hero-content {
  width: min(90%, 1040px);
  position: relative;
  z-index: 3;
}

.hero-content h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.75rem, 4.2vw, 5rem);
  font-weight: 400;
  line-height: 1.1;
  position: relative;
}

.hero-content h1::after {
  content: "";
  display: block;
  width: clamp(120px, 10vw, 180px);
  height: 2px;
  margin: 1.75rem auto 0;
  background-color: rgba(255, 255, 255, 0.85);
}

.hero-p {
  margin: 1.4rem 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 1.45vw, 1.6rem);
  line-height: 1.4;
}

/* -- HERO PATHS -- */

/* Two-column CTA grid inside hero */
.hero-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 5vw, 5rem);
  width: min(92%, 1300px);
  position: relative;
  z-index: 3;
}

.renter-path,
.owner-path {
  position: relative;
  z-index: 3;
  width: 100%;
  min-width: 0;
  color: var(--remco-white);
  text-align: left;

  display: grid;
  grid-template-columns: 84px 1fr;
  grid-template-areas:
    "icon copy"
    "actions actions";
  column-gap: 1.25rem;
  row-gap: 1.15rem;
  align-items: center;
}

.renter-path img,
.owner-path img {
  grid-area: icon;
  width: 84px;
  height: 84px;
  object-fit: contain;
  display: block;
}

.path-copy {
  grid-area: copy;
  min-width: 0;
}

.path-copy h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.5rem, 1.75vw, 1.9rem);
  font-weight: 400;
  line-height: 1.15;
}

.path-copy p {
  margin: 0.35rem 0 0;
  font-size: clamp(0.98rem, 1.05vw, 1.12rem);
  line-height: 1.35;
}

.card-actions {
  grid-area: actions;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(0.85rem, 1.5vw, 1.25rem);
  flex-wrap: nowrap;
}

/* -- HERO CTA BUTTONS -- */

.card-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 62px;
  padding: clamp(0.6rem, 1.2vh, 0.9rem) clamp(0.75rem, 2vw, 1.55rem);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 0.75rem;
  background-color: rgba(10, 14, 22, 0.72);
  color: var(--remco-white);
  font-size: clamp(0.8rem, 1.4vw, 1.02rem);
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  text-align: center;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  transition:
    background-color 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s ease;
}

.card-actions .btn:hover {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.95);
  transform: translateY(-1px);
}

/* Primary CTA arrows */

.renter-path .card-actions .btn:first-child,
.owner-path .card-actions .btn:first-child {
  gap: 1rem;
}

.renter-path .card-actions .btn:first-child,
.renter-path .card-actions .btn:nth-child(2),
.owner-path .card-actions .btn {
  min-width: 0;
}

.renter-path .card-actions .btn:first-child::after,
.owner-path .card-actions .btn:first-child::after {
  content: "→";
  display: inline-block;
  font-size: 1.35em;
  line-height: 1;
  transform: translateY(-1px);
  transition: transform 0.3s ease;
}

.renter-path .card-actions .btn:first-child:hover::after,
.owner-path .card-actions .btn:first-child:hover::after {
  transform: translate(4px, -1px);
}

/* Owner primary CTA light button */

.owner-path .card-actions .btn:first-child {
  background-color: #f3eee6;
  color: var(--remco-text);
  border-color: #f3eee6;
}

.owner-path .card-actions .btn:first-child:hover {
  background-color: #ffffff;
  border-color: #ffffff;
}

.owner-path .card-actions .btn {
  min-height: 50px;
  padding: 0.55rem 1rem;
  font-size: 0.95rem;
}

.renter-path .card-actions .btn {
  min-height: 50px;
  padding-top: 0.55rem;
  padding-bottom: 0.55rem;
}

/* Secondary CTA buttons */

.renter-path .card-actions .btn:nth-child(2),
.owner-path .card-actions .btn:nth-child(2) {
  background-color: transparent;
  border-color: rgba(255, 255, 255, 0.85);
  color: var(--remco-white);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.renter-path .card-actions .btn:nth-child(2):hover,
.owner-path .card-actions .btn:nth-child(2):hover {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.95);
  color: var(--remco-white);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  transform: translateY(-1px);
}

/* Calendar icon inside Book a Viewing button */

.btn-calendar {
  gap: 0.75rem;
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
}

.btn-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* -- RENTER BENEFITS -- */

.benefits-wrapper {
  position: absolute;
  top: 80%;
  left: 48.5%;
  transform: translateX(-50%);
  z-index: 20;
  width: calc(100% - 4rem);
  max-width: 1300px;
  padding: 1.85rem 3rem 2.5rem;
  border: 1px solid rgba(20, 20, 20, 0.07);
  border-radius: 1.75rem;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08), 0 20px 60px rgba(0, 0, 0, 0.06);
}

.benefits-heading {
  margin: 0;
  text-align: center;
}

.benefits-heading h2 {
  margin: 0;
  color: #111111;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 2.2vw, 2.75rem);
  font-weight: 500;
  line-height: 1.05;
}

.benefits-heading p {
  max-width: 720px;
  margin: 0.4rem auto 0;
  color: rgba(17, 17, 17, 0.72);
  font-size: clamp(0.88rem, 0.88vw, 1rem);
  line-height: 1.4;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: stretch;
  margin-top: 1.5rem;
}

.benefit-card {
  position: relative;
  padding: 0.75rem 1.65rem;
  text-align: center;
}

.benefit-card:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 1.1rem;
  right: 0;
  width: 1px;
  height: calc(100% - 2.2rem);
  background-color: rgba(17, 17, 17, 0.1);
}

.benefit-icon {
  display: grid;
  width: 6.2rem;
  height: 6.2rem;
  margin: 0 auto 1rem;
  place-items: center;
  border-radius: 50%;
  background-color: #f1eee7;
  box-shadow: inset 0 0 0 1px rgba(17, 17, 17, 0.04);
}

.benefit-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.benefit-card h3 {
  margin: 0 0 0.45rem;
  color: #111111;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.02rem, 1vw, 1.18rem);
  font-weight: 500;
  line-height: 1.12;
}

.benefit-card p {
  max-width: 16.75rem;
  margin: 0 auto;
  color: rgba(17, 17, 17, 0.78);
  font-size: clamp(0.84rem, 0.82vw, 0.95rem);
  line-height: 1.45;
}

/* ── HERO RESPONSIVE ─────────────────────────────────────────────────── */

/* ── LAPTOP (wide screen, short viewport ≤ 900px tall) ───────────────── */
@media (min-width: 1101px) and (max-height: 900px) {

  /* Hero layout */
  .hero {
    min-height: 660px;
    padding: clamp(2rem, 4vh, 3.5rem) 2rem clamp(2.5rem, 9vh, 5rem);
    justify-content: flex-start;
    gap: 1.25rem;
  }

  /* CTA buttons — compact vertical padding */
  .renter-path .card-actions .btn {
    min-height: 50px;
    padding-top: 0.55rem;
    padding-bottom: 0.55rem;
  }

  .owner-path .card-actions .btn {
    min-height: 50px;
    padding: 0.55rem 1rem;
    font-size: 0.95rem;
  }

  /* Floating benefits card */
  .benefits-wrapper {
    top: calc(73% - 20px);
    padding: 1.25rem 3rem 1.75rem;
  }

  .available-rentals-preview {
    padding-top: 300px;
  }

  /* Benefits card internals */
  .benefits-heading h2 {
    font-size: clamp(1.75rem, 1.9vw, 2.35rem);
  }

  .benefits-heading p {
    margin-top: 0.25rem;
    font-size: 0.88rem;
  }

  .benefits-grid {
    margin-top: 1rem;
  }

  .benefit-icon {
    width: 5.5rem;
    height: 5.5rem;
    margin-bottom: 0.7rem;
  }

  .benefit-card {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }

  .benefit-card h3 {
    margin-bottom: 0.3rem;
  }

  .benefit-card p {
    line-height: 1.35;
  }
}

/* ── DESKTOP (wide screen, tall viewport > 900px) ────────────────── */
@media (min-width: 1101px) and (min-height: 901px) {
  .hero {
    min-height: 800px;
    padding: clamp(2rem, 4vh, 3.5rem) 2rem clamp(2.5rem, 9vh, 5rem);
    justify-content: flex-start;
    gap: 1.25rem;
  }

  .hero-content {
    width: min(90%, 1400px);
  }

  .renter-path .card-actions .btn {
    min-height: 50px;
    padding-top: 0.55rem;
    padding-bottom: 0.55rem;
  }

  .owner-path .card-actions .btn {
    min-height: 50px;
    padding: 0.55rem 1rem;
    font-size: 0.95rem;
  }

  .benefits-wrapper {
    top: calc(73% - 20px);
    padding: 1.25rem 3rem 1.75rem;
  }

  .available-rentals-preview {
    padding-top: 300px;
  }

  .benefits-heading h2 {
    font-size: clamp(1.75rem, 1.9vw, 2.35rem);
  }

  .benefits-heading p {
    margin-top: 0.25rem;
    font-size: 0.88rem;
  }

  .benefits-grid {
    margin-top: 1rem;
  }

  .benefit-icon {
    width: 5.5rem;
    height: 5.5rem;
    margin-bottom: 0.7rem;
  }

  .benefit-card {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }

  .benefit-card h3 {
    margin-bottom: 0.3rem;
  }

  .benefit-card p {
    line-height: 1.35;
  }
}

/* Laptop — tighten columns, scale type */
@media (max-width: 1200px) {
  .hero-cols {
    gap: clamp(1rem, 3vw, 2.5rem);
  }
}

/* Tablet landscape — columns stay side-by-side, card flows inline */
@media (max-width: 1100px) {
  .hero {
    min-height: clamp(620px, 78vh, 720px);
    padding-top: clamp(2.5rem, 5vh, 4rem);
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    justify-content: flex-start;
  }

  .hero-content h1 {
    font-size: clamp(2.5rem, 4.5vw, 4rem);
  }

  .hero-cols {
    gap: clamp(0.75rem, 2.5vw, 2rem);
  }

  .renter-path,
  .owner-path {
    grid-template-columns: 72px 1fr;
  }

  .renter-path img,
  .owner-path img {
    width: 72px;
    height: 72px;
  }

  .card-actions {
    gap: 0.65rem;
    align-items: stretch;
  }

  .renter-path .card-actions .btn,
  .owner-path .card-actions .btn {
    flex: 1 1 0;
    min-width: 0;
    min-height: auto;
    padding: clamp(0.45rem, 1.2vw, 0.65rem) clamp(0.45rem, 1.2vw, 0.7rem);
    font-size: clamp(0.72rem, 1.35vw, 0.84rem);
    white-space: normal;
    line-height: 1.3;
    word-break: break-word;
  }

  .owner-path .card-actions .btn:first-child {
    white-space: nowrap;
  }

  /* Card flows inline — no floating, no spacer needed */
  .benefits-wrapper {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: auto;
    margin: 0;
    padding: 1.75rem 2rem 2.5rem;
  }

  .available-rentals-preview {
    padding-top: 7rem;
  }

  .benefits-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.75rem 1.25rem;
  }

  .benefit-card {
    padding: 0.5rem 1.25rem;
  }

  .benefit-card::after {
    display: none;
  }

  .benefit-card:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 1250px) {
  .site-header {
    gap: 1rem;
    padding-inline: 2rem;
  }

  .logo {
    width: 180px;
  }

  .nav-links ul {
    gap: 0.35rem;
  }

  .nav-links a {
    padding-inline: 0.48rem;
    font-size: 0.86rem;
  }

  .nav-actions {
    gap: 0.5rem;
  }

  .nav-cta .btn {
    min-height: 44px;
    padding-inline: 0.9rem;
    font-size: 0.82rem;
  }

  .language-toggle__button {
    padding-inline: 0.38rem;
    font-size: 0.68rem;
  }
}

@media (max-width: 1000px) {
  .site-header {
    gap: 1rem;
    padding: 1rem 2rem;
  }

  .site-header .nav {
    display: none;
  }

  .logo {
    width: 180px;
  }

  .nav-actions {
    gap: 0.5rem;
    flex-direction: row;
    align-items: center;
  }

  .nav-actions .language-toggle,
  .nav-actions .language-select {
    display: none;
  }

  .hamburger-btn {
    display: flex;
  }

  .nav-links ul {
    gap: 0.5rem;
  }

  .nav-links a {
    padding-inline: 0.5rem;
    font-size: 0.88rem;
  }

  .nav-cta .btn {
    padding-inline: 1rem;
    font-size: 0.84rem;
  }
}

@media (max-width: 850px) {
  .site-header .nav {
    display: none;
  }
}

@media (max-width: 520px) {
  .site-header {
    gap: 0.65rem;
  }

  .logo {
    width: min(120px, 32vw);
  }

  .nav-actions {
    width: auto;
    min-width: 0;
    flex-shrink: 0;
  }

  .nav-cta {
    display: none;
  }
}

/* Portrait tablet — stack columns, single-background */
@media (max-width: 768px) {
  .site-header {
    min-height: auto;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
  }

  .nav-actions {
    min-width: 0;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
  }

  .nav {
    display: none;
  }

  .logo {
    width: 130px;
  }

  .nav-cta .btn {
    min-height: 44px;
    padding: 0.7rem 0.8rem;
    font-size: 0.75rem;
  }

  .hero {
    min-height: auto;
    padding: 3rem 1.5rem 5rem;
    justify-content: flex-start;
    gap: 2.5rem;
    overflow: hidden;
    z-index: auto;
  }

  .hero-panel--left {
    display: none;
  }

  .hero-panel--right {
    clip-path: none;
  }

  .hero-panel--right::before {
    inset: 0;
    background-position: center center;
  }

  .hero-panels::before {
    display: none;
  }

  .hero-content h1 {
    font-size: clamp(2.25rem, 8vw, 3.25rem);
  }

  .hero-p {
    font-size: 1.05rem;
  }

  .hero-cols {
    grid-template-columns: 1fr;
    gap: 2rem;
    width: min(100%, 520px);
    text-align: left;
  }

  .renter-path,
  .owner-path {
    width: 100%;
    max-width: 100%;
  }

  .renter-path .card-actions .btn,
  .owner-path .card-actions .btn {
    flex: 1 1 auto;
    white-space: normal;
    line-height: 1.3;
    word-break: break-word;
  }

  .owner-path .card-actions .btn:first-child {
    white-space: nowrap;
  }

  .benefits-wrapper {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: auto;
    margin: 2rem 1rem 0;
    max-width: none;
  }

  .benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

/* Mobile */
@media (max-width: 576px) {
  .hero {
    padding: 2.5rem 1rem 4rem;
    gap: 2rem;
  }

  .hero-content h1 {
    font-size: clamp(1.9rem, 8vw, 2.65rem);
  }

  .hero-cols {
    width: 100%;
    gap: 1.75rem;
  }

  .renter-path,
  .owner-path {
    grid-template-columns: 64px 1fr;
  }

  .renter-path img,
  .owner-path img {
    width: 64px;
    height: 64px;
  }

  .card-actions {
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .card-actions .btn,
  .renter-path .card-actions .btn,
  .owner-path .card-actions .btn {
    flex: 1 1 100%;
    width: 100%;
    min-width: 0;
  }

  .benefits-wrapper {
    margin-inline: 0.5rem;
    padding: 1.5rem 1.25rem 1.9rem;
    border-radius: 1.25rem;
  }

  .benefits-heading h2 {
    font-size: clamp(1.75rem, 8vw, 2.35rem);
  }

  .benefits-grid {
    grid-template-columns: 1fr;
    margin-top: 1.5rem;
    gap: 1.75rem;
  }

  .benefit-card:last-child {
    grid-column: auto;
  }

  .benefit-icon {
    width: 5.75rem;
    height: 5.75rem;
  }
}

/* Small mobile */
@media (max-width: 400px) {
  .logo {
    width: 110px;
  }

  .nav-actions {
    max-width: 170px;
    min-width: 0;
    flex-shrink: 1;
  }

  .nav-cta,
  .language-toggle {
    max-width: 100%;
    min-width: 0;
  }

  .nav-cta .btn {
    max-width: 100%;
    min-width: 0;
    padding: 0.6rem 0.65rem;
    font-size: 0.68rem;
    line-height: 1.15;
    text-align: center;
    white-space: normal;
  }

  .language-toggle__button {
    min-width: 0;
    padding-inline: 0.3rem;
  }

  .hero {
    padding: 2rem 0.875rem 3.5rem;
    gap: 1.75rem;
  }

  .hero-content h1 {
    font-size: clamp(1.65rem, 9vw, 2rem);
  }

  .path-copy h2 {
    font-size: 1.1rem;
  }

  .path-copy p {
    font-size: 0.88rem;
  }
}

/* -- HOMEPAGE CONTENT PREVIEWS -- */

.home-icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.home-button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 0.9rem 1.4rem;
  border: 1px solid transparent;
  border-radius: 0.55rem;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  transition:
    background-color 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.home-button[hidden] {
  display: none;
}

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

.home-button--primary {
  border-color: #111b27;
  color: #ffffff;
  background: #111b27;
  box-shadow: 0 0.7rem 1.5rem rgba(17, 27, 39, 0.13);
}

.home-button--primary:hover {
  border-color: #263342;
  background: #263342;
  box-shadow: 0 0.9rem 1.8rem rgba(17, 27, 39, 0.2);
}

.home-button--secondary {
  border-color: rgba(17, 27, 39, 0.62);
  color: #111b27;
  background: rgba(255, 255, 255, 0.72);
}

.home-button--secondary:hover {
  border-color: #111b27;
  background: #ffffff;
  box-shadow: 0 0.7rem 1.5rem rgba(17, 27, 39, 0.08);
}

/* ── Available Rentals ── */

.available-rentals-preview {
  padding: clamp(160px, 18vw, 260px) 0 clamp(140px, 16vw, 240px);
  background: #F4F1EA;
  overflow: hidden;
}

/* Two-column layout — equal breathing room left and right */
.rentals-layout {
  display: grid;
  grid-template-columns: clamp(240px, 28%, 400px) 1fr;
  align-items: center;
  width: 100%;
  padding: 0 clamp(2rem, 5vw, 6rem);
}

.rentals-intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  /* Right padding creates the 70-100px breathing room before the gallery */
  padding: 4rem clamp(60px, 7vw, 100px) 4rem 0;
}

.rentals-eyebrow {
  display: block;
  margin-bottom: 1.1rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(17, 24, 32, 0.5);
}

.rentals-intro h2 {
  margin: 0 0 1rem;
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: clamp(2.6rem, 4vw, 4.2rem);
  font-weight: 700;
  line-height: 0.95;
  color: #15263A;
}

.rentals-rule {
  width: 2.75rem;
  height: 2px;
  background: #B08D57;
  margin: 0.4rem 0 1.5rem;
  flex-shrink: 0;
}

.rentals-intro p {
  margin: 0 0 1.75rem;
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(17, 24, 32, 0.6);
  max-width: 24rem;
}

.rentals-browse-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #111820;
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: gap 0.2s ease, color 0.2s ease;
}

.rentals-browse-link:hover {
  gap: 0.7rem;
  color: #B08D57;
}

/* ── Panel strip ──
   All 5 panels share the same parallelogram clip-path so the whole strip
   reads as one big angled block (a parallelogram from top-left to bottom-right).
   Negative margin-right overlaps adjacent element boxes so the visible diagonal
   gap between cards stays tight (~8px). */

.rental-panels {
  display: flex;
  gap: 0;
  min-width: 0;
  width: 100%;
  height: clamp(400px, 52vh, 500px);
  align-items: center;
  /* was stretch — lets active card pop out vertically */
  overflow: visible;
  /* was hidden — lets shadow bleed without clipping */
}

.rental-panel {
  --skew: 72px;
  --skew-angle: 9deg;
  /* arctan(72 / ~450px card height) */
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  height: 100%;
  /* explicit height needed when parent is align-items:center */
  overflow: hidden;
  display: block;
  text-decoration: none;
  color: #fff;
  background-image: var(--panel-bg);
  background-size: cover;
  background-position: center;
  /* Every card identical angle — forms one big parallelogram together */
  clip-path: polygon(var(--skew) 0%, 100% 0%, calc(100% - var(--skew)) 100%, 0% 100%);
  cursor: pointer;
  /* exit: delay flex/height so the detail panel slides away before the card narrows */
  transition:
    flex 0.55s cubic-bezier(0.4, 0, 0.2, 1) 0.25s,
    height 0.55s cubic-bezier(0.4, 0, 0.2, 1) 0.25s,
    filter 0.4s ease;
}

/* Light ring frame — hidden in resting state, revealed on hover */
.rental-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  z-index: 6;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

/* Pull non-last cards left so visible diagonal gap = 8px */
.rental-panel:not(:last-child) {
  margin-right: calc(var(--skew) * -1 + 8px);
}

/* Z-index for hover stacking only */
.rental-panel:nth-child(1) {
  z-index: 1;
}

.rental-panel:nth-child(2) {
  z-index: 2;
}

.rental-panel:nth-child(3) {
  z-index: 3;
}

.rental-panel:nth-child(4) {
  z-index: 4;
}

.rental-panel:nth-child(5) {
  z-index: 5;
}

.rental-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  /* Dark navy-black gradient covering bottom third per spec */
  background: linear-gradient(to top,
      rgba(14, 24, 34, 0.95) 0%,
      rgba(14, 24, 34, 0.55) 30%,
      rgba(14, 24, 34, 0.05) 60%,
      transparent 100%);
  transition: background 0.4s ease;
  z-index: 1;
}

/* Units Available badge */
.rental-panel-badge {
  position: absolute;
  top: 1.1rem;
  left: 1.25rem;
  z-index: 5;
  padding: 0.28rem 0.7rem;
  background: #c9942e;
  border-radius: 2rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #fff;
  opacity: 0;
  transform: translateY(-5px);
  /* exit: left slides back immediately; opacity/transform after brief pause */
  transition:
    opacity 0.3s ease 0.15s,
    transform 0.3s ease 0.15s,
    left 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.rental-panel-index {
  position: absolute;
  top: 1.35rem;
  left: 1.5rem;
  z-index: 2;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.8);
  /* exit: reappear after card has mostly collapsed */
  transition: opacity 0.25s ease 0.45s;
}

.rental-panel-content {
  position: absolute;
  bottom: 1.75rem;
  left: 1.5rem;
  right: 1rem;
  z-index: 2;
  /* exit: reappear after card has mostly collapsed */
  transition:
    opacity 0.25s ease 0.45s,
    transform 0.25s ease 0.45s;
}

.rental-panel-name {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  font-size: clamp(0.78rem, 0.95vw, 1rem);
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  line-height: 1.2;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rental-panel-desc {
  margin: 0.35rem 0 0;
  font-size: 0.8rem;
  font-weight: 400;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.82);
}

/* Rich detail card (slides up on hover) */
.rental-panel-detail {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 4;
  padding: 0;
  background: rgba(15, 24, 40, 0.97);
  transform: translateY(100%);
  opacity: 0;
  /* exit: slides away fast so card can collapse cleanly */
  transition:
    transform 0.28s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.22s ease;
  pointer-events: none;
}

/* Safe-zone wrapper — width-constrained, optically centered via hover override */
.property-content {
  width: 100%;
  padding: 1rem 1.5rem 1.15rem;
}

.rpd-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}

.rpd-title-group {
  flex: 1 1 0;
  min-width: 0;
}

.rpd-name {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1rem, 1.4vw, 1.3rem);
  font-weight: 400;
  color: #fff;
  line-height: 1.2;
}

.rpd-loc {
  margin: 0.2rem 0 0;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.03em;
}

.rpd-price {
  margin: 0;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
  text-align: right;
  flex-shrink: 0;
}

.rpd-price strong {
  font-size: 1rem;
  font-weight: 700;
  color: #c9942e;
}

.rpd-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
  margin-bottom: 0.65rem;
}

.rpd-specs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.3rem 0.5rem;
  margin: 0 0 0.6rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
}

.rpd-spec-item {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
}

.rpd-spec-item svg {
  display: block;
  width: 13px;
  height: 13px;
  stroke: rgba(255, 255, 255, 0.7);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  flex-shrink: 0;
}

.rpd-dot {
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.8rem;
}

.rpd-amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 0.85rem;
  margin-bottom: 0.85rem;
}

.rpd-amenity {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.65);
}

.rpd-amenity svg {
  display: block;
  width: 13px;
  height: 13px;
  stroke: rgba(255, 255, 255, 0.55);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  flex-shrink: 0;
}

.rpd-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.rpd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  min-width: 0;
  padding: 0.5rem 0.9rem;
  border-radius: 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}

.rpd-btn--view {
  background: #1a2d50;
  color: #fff;
  border: 1px solid #1a2d50;
}

.rpd-btn--view:hover {
  background: #223769;
}

.rpd-btn--book {
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.rpd-btn--book:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.55);
}

/* ── Panel hover states ── */

/*
  Architecture: the card is the ONLY clipping surface.
  clip-path + overflow:hidden on .rental-panel masks every child —
  no child needs its own clip-path. The angle (--skew) never changes.
*/

/* neighbors compress */
.rental-panels:has(.rental-panel:hover) .rental-panel,
.rental-panels:has(.rental-panel:focus-visible) .rental-panel {
  flex: 0.85 1 0;
  transition: flex 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

/* active card — same parallelogram, same angle, just wider + slight vertical pop */
.rental-panel:hover,
.rental-panel:focus-visible {
  flex: 2.5 1 0 !important;
  height: calc(100% + 48px);
  z-index: 10;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.45));
  /* enter: expand immediately (overrides base 0.25s delay) */
  transition:
    flex 0.55s cubic-bezier(0.4, 0, 0.2, 1),
    height 0.55s cubic-bezier(0.4, 0, 0.2, 1),
    filter 0.4s ease;
}

/* lighten the overlay so the photo shows above the sliding detail panel */
.rental-panel:hover::before,
.rental-panel:focus-visible::before {
  background: linear-gradient(to top,
      rgba(9, 14, 26, 0) 0%,
      rgba(9, 14, 26, 0.08) 65%,
      transparent 100%);
}

/* hide resting label + index — fast on enter */
.rental-panel:hover .rental-panel-content,
.rental-panel:focus-visible .rental-panel-content {
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
}

.rental-panel:hover .rental-panel-index,
.rental-panel:focus-visible .rental-panel-index {
  opacity: 0;
  transition: opacity 0.18s ease;
}

/* reveal badge — offset past the parallelogram's left diagonal so it stays visible */
.rental-panel:hover .rental-panel-badge,
.rental-panel:focus-visible .rental-panel-badge {
  opacity: 1;
  transform: translateY(0);
  left: calc(var(--skew) + 0.75rem);
  /* enter: badge reveals with a brief delay after card starts expanding */
  transition:
    opacity 0.3s ease 0.22s,
    transform 0.3s ease 0.22s,
    left 0.35s cubic-bezier(0.4, 0, 0.2, 1) 0.22s;
}

/* detail panel slides up */
.rental-panel:hover .rental-panel-detail,
.rental-panel:focus-visible .rental-panel-detail {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
  /* enter: slides up after card has begun expanding */
  transition:
    transform 0.38s cubic-bezier(0.4, 0, 0.2, 1) 0.12s,
    opacity 0.28s ease 0.12s;
}

/* Above 680px the card still relies on :hover/:focus-visible to reveal the
   price/specs detail panel — fine for a mouse, but a touchscreen at these
   widths (tablets, touch laptops) has no hover state and would never see
   it, leaving only a single unlabelled tap target. Show it plainly instead
   on any device that can't hover, without touching the mouse experience. */
@media (hover: none) {
  .rental-panel-detail {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
}

/*
  Parallelogram content grid.

  The wrapper is sheared to match the card's lean angle, anchored at its top-left
  corner so the top edge stays fixed while the bottom-left drifts left by
  panel_height × tan(--skew-angle). This makes the wrapper's visual boundary a
  true parallelogram with edges parallel to the card's slanted sides.

  Each direct child is counter-sheared from its own top-left to restore upright
  rendering. The two skews cancel on rendered pixels but NOT on x-position:
  a child at vertical offset Y inside the wrapper appears screen_left - Y×tan(angle)
  pixels to the left of where a rectangular layout would place it, so every row
  tracks the card's diagonal rather than a vertical axis.

  Padding clears both the left diagonal (top: skew + 1rem gap) and right diagonal.
*/
.rental-panel:hover .property-content,
.rental-panel:focus-visible .property-content {
  transform-origin: 0 0;
  transform: skewX(calc(0deg - var(--skew-angle)));
  padding: 1rem calc(var(--skew) + 1rem) 1.15rem;
}

/* Counter-skew — restores upright rendering while keeping row alignment diagonal */
.rental-panel:hover .property-content>*,
.rental-panel:focus-visible .property-content>* {
  transform-origin: 0 0;
  transform: skewX(var(--skew-angle));
}

.rental-panel:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.5);
  outline-offset: -3px;
}

/* ── Responsive ── */

@media (max-width: 1100px) {
  .rental-panel {
    --skew: 48px;
    --skew-angle: 6deg;
    /* arctan(48 / ~450px) */
  }
}

@media (max-width: 900px) {
  .rentals-intro h2 {
    font-size: clamp(1.9rem, 3vw, 2.8rem);
  }

  .rental-panels {
    height: clamp(320px, 44vh, 420px);
  }

  .rental-panel {
    --skew: 36px;
    --skew-angle: 5deg;
    /* arctan(36 / ~360px card height at this breakpoint) */
  }
}

/* ── Mobile: premium parallelogram card stack ── */

@media (max-width: 680px) {
  .available-rentals-preview {
    padding: clamp(3rem, 6vw, 5rem) 0 3.5rem;
    overflow: hidden;
  }

  .rentals-layout {
    grid-template-columns: 1fr;
    padding: 0 1.25rem;
  }

  .rentals-intro {
    padding: 0 0 2.25rem 0;
  }

  .rentals-intro p {
    max-width: 100%;
  }

  .rentals-intro h2 {
    font-size: clamp(2rem, 7vw, 2.8rem);
    line-height: 1.05;
  }

  /* Full-width vertical stack — panels fill content area */
  .rental-panels {
    flex-direction: column;
    gap: 0;
    height: auto;
    align-items: stretch;
  }

  /* Parallelogram cards — preserve the signature angled shape on mobile */
  .rental-panel,
  .rental-panel:first-child,
  .rental-panel:last-child,
  .rental-panel:not(:last-child) {
    --skew: 18px;
    clip-path: polygon(var(--skew) 0%, 100% 0%, calc(100% - var(--skew)) 100%, 0% 100%);
    height: 105px;
    flex: none;
    border-radius: 0;
    overflow: hidden;
    margin: 0;
    transform: none !important;
    filter: none !important;
  }

  /* Re-establish z-index for card stacking */
  .rental-panel:nth-child(1) {
    z-index: 1;
  }

  .rental-panel:nth-child(2) {
    z-index: 2;
  }

  .rental-panel:nth-child(3) {
    z-index: 3;
  }

  .rental-panel:nth-child(4) {
    z-index: 4;
  }

  .rental-panel:nth-child(5) {
    z-index: 5;
  }

  /* Small gap between cards reveals the section background between parallelograms */
  .rental-panel+.rental-panel {
    margin-top: 5px;
  }

  /* Deep gradient — covers bottom half for readable text on any image */
  .rental-panel::before {
    background: linear-gradient(to top,
        rgba(9, 14, 26, 0.92) 0%,
        rgba(9, 14, 26, 0.55) 38%,
        rgba(9, 14, 26, 0.08) 70%,
        transparent 100%) !important;
  }

  /* Text anchored to lower-left safe zone inside the clip */
  .rental-panel-content {
    bottom: 1rem;
    left: 1.75rem;
    right: 2.25rem;
  }

  .rental-panel-name {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    line-height: 1.25;
  }

  .rental-panel-desc {
    font-size: 0.73rem;
    margin-top: 0.2rem;
    opacity: 0.85;
  }

  /* Hide elements not needed in compact mobile view */
  .rental-panel-index {
    display: none;
  }

  .rental-panel-badge {
    display: none;
  }

  .rental-panel-detail {
    display: none;
  }

  /* Disable all hover/expand effects — mobile is tap-to-navigate */
  .rental-panels:has(.rental-panel:hover) .rental-panel,
  .rental-panels:has(.rental-panel:focus-visible) .rental-panel {
    flex: none;
  }

  .rental-panel:hover,
  .rental-panel:focus-visible {
    clip-path: polygon(18px 0%, 100% 0%, calc(100% - 18px) 100%, 0% 100%) !important;
    flex: none !important;
    height: 105px !important;
    transform: none !important;
    filter: none !important;
    z-index: auto;
  }

  .rental-panel:hover::before,
  .rental-panel:focus-visible::before {
    background: linear-gradient(to top,
        rgba(9, 14, 26, 0.92) 0%,
        rgba(9, 14, 26, 0.55) 38%,
        rgba(9, 14, 26, 0.08) 70%,
        transparent 100%) !important;
  }

  .rental-panel:hover .rental-panel-content,
  .rental-panel:focus-visible .rental-panel-content {
    opacity: 1 !important;
    transform: none !important;
  }

  .rental-panel:hover .rental-panel-index,
  .rental-panel:focus-visible .rental-panel-index {
    opacity: 0 !important;
  }
}

/* Property management preview */

.management-preview {
  padding: clamp(80px, 10vw, 140px) 0 2rem;
  background: #fffdf8;
}

.management-preview-inner {
  display: grid;
  width: min(1600px, 98vw);
  margin: 0 auto;
  grid-template-columns: minmax(300px, 430px) minmax(0, 1fr) minmax(225px,
      275px);
  gap: clamp(2rem, 3vw, 3.5rem);
  align-items: center;
  padding: 2rem 2.5rem;
  border: 1px solid rgba(17, 24, 32, 0.08);
  border-radius: 1rem;
  background: linear-gradient(180deg, #fffefa 0%, #f8f6f1 100%);
  box-shadow: 0 1.25rem 3rem rgba(17, 24, 32, 0.055);
}

.management-preview-image {
  height: 100%;
  min-height: 290px;
  overflow: hidden;
  border-radius: 0.8rem;
  background: #eeeae2;
}

.management-preview-image img {
  width: 100%;
  height: 100%;
  min-height: 290px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.management-preview-image:hover img {
  transform: scale(1.02);
}

.management-eyebrow {
  margin: 0 0 0.55rem;
  color: #8a6644;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
}

.management-preview h2 {
  max-width: 680px;
  margin: 0;
  color: #111820;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 2.6vw, 3rem);
  font-weight: 400;
  line-height: 1.06;
}

.management-preview-copy {
  max-width: 650px;
  margin: 0.9rem 0 0;
  color: rgba(17, 24, 32, 0.68);
  font-size: 0.95rem;
  line-height: 1.55;
}

.management-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.65rem;
}

.management-feature {
  position: relative;
  min-width: 0;
  padding: 0 1.15rem;
}

.management-feature:first-child {
  padding-left: 0;
}

.management-feature:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 0.25rem;
  right: 0;
  width: 1px;
  height: calc(100% - 0.5rem);
  background: rgba(17, 24, 32, 0.13);
}

.management-feature-icon {
  width: 2.25rem;
  height: 2.25rem;
  margin-bottom: 0.6rem;
  color: #111820;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.45;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.management-feature h3 {
  margin: 0 0 0.35rem;
  color: #111820;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.18;
}

.management-feature p {
  margin: 0;
  color: rgba(17, 24, 32, 0.66);
  font-size: 0.77rem;
  line-height: 1.48;
}

.management-preview-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.management-preview-actions .home-button {
  width: 100%;
}

/* Community trust band */

.community-trust {
  padding: 0 0 4.5rem;
  background: #fffdf8;
}

.community-trust-inner {
  display: grid;
  width: min(1600px, 98vw);
  margin: 0 auto;
  grid-template-columns: minmax(300px, 390px) repeat(4, minmax(0, 1fr));
  align-items: center;
  padding: 1.45rem 2rem;
  border: 1px solid rgba(17, 24, 32, 0.08);
  border-radius: 1rem;
  background: #fffefa;
  box-shadow: 0 1rem 2.5rem rgba(17, 24, 32, 0.045);
}

.community-trust-main,
.community-trust-item {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 1rem;
}

.community-trust-main {
  padding-right: 1.75rem;
}

.community-trust-item {
  min-height: 5.5rem;
  padding: 0 1.15rem;
  border-left: 1px solid rgba(17, 24, 32, 0.11);
}

.community-trust-icon {
  width: 2.8rem;
  height: 2.8rem;
  flex: 0 0 auto;
  color: #111820;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.45;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.community-trust-icon--filled {
  fill: currentColor;
  stroke: none;
}

.community-trust h2,
.community-trust h3 {
  margin: 0;
  color: #111820;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.15;
}

.community-trust-main h2 {
  font-size: clamp(1.25rem, 1.4vw, 1.65rem);
}

.community-trust-item h3 {
  font-size: 0.9rem;
}

.community-trust p {
  margin: 0.38rem 0 0;
  color: rgba(17, 24, 32, 0.63);
  font-size: 0.75rem;
  line-height: 1.45;
}

@media (max-width: 1350px) {
  .building-amenity-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .building-amenity-item {
    justify-content: center;
    gap: 0.35rem;
    font-size: 0.72rem;
  }

  .management-preview-inner {
    grid-template-columns: minmax(280px, 360px) minmax(0, 1fr) minmax(210px,
        240px);
    gap: 1.7rem;
    padding-inline: 1.6rem;
  }

  .community-trust-inner {
    padding-inline: 1.25rem;
  }

  .community-trust-item {
    padding-inline: 0.85rem;
  }
}

@media (max-width: 1200px) {
  .management-preview-inner {
    grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
  }

  .management-preview-actions {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: flex-end;
  }

  .management-preview-actions .home-button {
    width: auto;
    min-width: 240px;
  }

  .community-trust-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
  }

  .community-trust-main {
    grid-column: 1 / -1;
    padding: 0.5rem 0 1.35rem;
  }

  .community-trust-item {
    border-top: 1px solid rgba(17, 24, 32, 0.1);
    border-left: 0;
  }

  .community-trust-item:nth-child(even) {
    border-right: 1px solid rgba(17, 24, 32, 0.1);
  }
}

@media (max-width: 800px) {

  .management-preview-inner,
  .community-trust-inner {
    width: min(92vw, 680px);
  }

  .management-preview-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.2rem;
  }

  .management-preview-image,
  .management-preview-image img {
    min-height: 270px;
  }

  .management-feature-grid {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }

  .management-feature {
    display: grid;
    grid-template-columns: 2.25rem minmax(0, 1fr);
    column-gap: 0.8rem;
    padding: 0;
  }

  .management-feature:not(:last-child)::after {
    display: none;
  }

  .management-feature-icon {
    grid-row: 1 / 3;
    margin-bottom: 0;
  }

  .management-preview-actions {
    grid-column: auto;
    flex-direction: column;
  }

  .management-preview-actions .home-button {
    width: 100%;
    min-width: 0;
  }

  .community-trust-inner {
    grid-template-columns: 1fr;
    padding: 1.1rem 1.3rem;
  }

  .community-trust-main,
  .community-trust-item {
    min-height: 0;
    padding: 1rem 0;
    border-right: 0 !important;
    border-left: 0;
  }

  .community-trust-item {
    border-top: 1px solid rgba(17, 24, 32, 0.1);
  }
}

@media (max-width: 560px) {

  .management-preview-inner,
  .community-trust-inner {
    width: calc(100% - 2rem);
  }

  .management-preview h2 {
    font-size: 2rem;
  }

  .management-preview-image,
  .management-preview-image img {
    min-height: 220px;
  }

  .community-trust-main,
  .community-trust-item {
    align-items: flex-start;
  }
}

/* ── RENTER TOOLS ─────────────────────────────────────────────────────────── */

.renter-tools {
  padding: clamp(80px, 10vw, 140px) 0 clamp(60px, 8vw, 100px);
  background: #F4F1EA;
}

.rt-shell {
  width: min(1600px, 96vw);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 4rem);
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 3vw, 3rem);
}

/* ── Header: three-column layout ── */

.rt-layout {
  display: grid;
  grid-template-columns: clamp(220px, 22%, 300px) clamp(200px, 22%, 300px) 1fr;
  gap: clamp(2rem, 3vw, 3.5rem);
  align-items: start;
}

.rt-photo {
  border-radius: 1.25rem;
  overflow: hidden;
  height: 100%;
  min-height: 360px;
}

.rt-photo img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.rt-photo:hover img {
  transform: scale(1.04);
}

.rt-intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 0.25rem;
}

.rt-eyebrow {
  display: block;
  margin-bottom: 1.1rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(17, 24, 32, 0.5);
}

.rt-intro h2 {
  margin: 0;
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 2.6vw, 3rem);
  font-weight: 700;
  line-height: 1.05;
  color: #15263A;
}

.rt-rule {
  width: 2.75rem;
  height: 2px;
  background: #B08D57;
  margin: 0.85rem 0 1.5rem;
  flex-shrink: 0;
}

.rt-intro p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(17, 24, 32, 0.6);
  max-width: 22rem;
}

/* ── Service cards (stacked) ── */

.rt-service-cards {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.rt-service-card {
  display: flex;
  align-items: stretch;
  width: 100%;
  margin: 0;
  border: none;
  background: #ffffff;
  border-radius: 1.2rem;
  overflow: hidden;
  text-decoration: none;
  font: inherit;
  text-align: left;
  cursor: pointer;
  color: #111820;
  box-shadow: 0 2px 16px rgba(17, 24, 32, 0.07);
  transition:
    transform 0.32s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.32s ease;
}

.rt-service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(17, 24, 32, 0.13);
}

.rt-sc-body {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 1.2rem 1.35rem;
  flex: 1 1 0;
  min-width: 0;
}

.rt-sc-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: #f1eee7;
  color: #111820;
}

.rt-sc-icon svg {
  width: 1.2rem;
  height: 1.2rem;
}

.rt-sc-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.rt-sc-copy h3 {
  margin: 0 0 0.3rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(0.9rem, 1.05vw, 1.05rem);
  font-weight: 500;
  line-height: 1.15;
  color: #111820;
}

.rt-sc-copy p {
  margin: 0 0 0.6rem;
  font-size: 0.78rem;
  line-height: 1.5;
  color: rgba(17, 24, 32, 0.62);
}

.rt-sc-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #111820;
  letter-spacing: 0.01em;
  transition:
    color 0.22s ease,
    gap 0.22s ease;
}

.rt-service-card:hover .rt-sc-link {
  color: #B08D57;
  gap: 0.55rem;
}

.rt-sc-image {
  flex: 0 0 37%;
  max-width: 37%;
  overflow: hidden;
}

.rt-sc-image img {
  width: 100%;
  height: 100%;
  min-height: 120px;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.rt-service-card:hover .rt-sc-image img {
  transform: scale(1.06);
}


/* ── Renter Tools responsive ── */

@media (max-width: 1200px) {
  .rt-layout {
    grid-template-columns: clamp(200px, 24%, 280px) 1fr;
    grid-template-rows: auto 1fr;
  }

  .rt-photo {
    grid-row: 1 / 3;
    min-height: 460px;
  }

  .rt-photo img {
    min-height: 460px;
  }

  .rt-intro {
    padding-top: 0;
  }
}

@media (max-width: 960px) {
  .rt-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .rt-photo {
    display: none;
  }

  .rt-intro {
    max-width: 100%;
  }

  .rt-intro p {
    max-width: 100%;
  }
}

@media (max-width: 680px) {
  .rt-shell {
    padding: 0 1.25rem;
    gap: 1.75rem;
  }

  .rt-service-card {
    flex-direction: column;
  }

  .rt-sc-image {
    flex: none;
    max-width: 100%;
    height: 140px;
    order: -1;
  }

  .rt-sc-image img {
    min-height: 140px;
    height: 140px;
  }
}

@media (max-width: 400px) {
  .rt-shell {
    padding: 0 1rem;
  }

  .rt-intro h2 {
    font-size: 1.85rem;
  }

  .rt-service-card {
    border-radius: 1rem;
  }

  .rt-sc-body {
    padding: 1rem;
  }

  .rt-sc-copy h3 {
    font-size: 0.88rem;
  }
}

/* ── Maintenance Request Modal ── */

.mr-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.22s ease,
    visibility 0.22s ease;
}

.mr-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mr-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 32, 0.55);
}

.mr-modal-panel {
  position: relative;
  width: min(660px, 100%);
  max-height: min(88vh, 900px);
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 1.25rem;
  box-shadow: 0 24px 64px rgba(17, 24, 32, 0.28);
  overflow: hidden;
}

.mr-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 1;
  width: 2.25rem;
  height: 2.25rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--remco-border);
  border-radius: 50%;
  background: #ffffff;
  color: #111820;
  cursor: pointer;
  transition:
    background 0.2s ease,
    border-color 0.2s ease;
}

.mr-modal-close svg {
  width: 1rem;
  height: 1rem;
}

.mr-modal-close:hover {
  background: #f4f1ea;
  border-color: #B08D57;
}

.mr-modal-scroll {
  overflow-y: auto;
  padding: clamp(1.75rem, 4vw, 2.75rem);
}

.mr-modal-header {
  margin-bottom: 1.5rem;
  padding-right: 2rem;
}

.mr-eyebrow {
  display: block;
  margin-bottom: 0.6rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(17, 24, 32, 0.5);
}

.mr-modal-header h2 {
  margin: 0 0 0.5rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  font-weight: 500;
  color: #15263A;
}

.mr-modal-header p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.6;
  color: rgba(17, 24, 32, 0.62);
  max-width: 34rem;
}

/* -- Form layout -- */

.mr-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mr-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.mr-fieldset {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin: 0;
  padding: 0;
  border: none;
}

.mr-fieldset legend {
  padding: 0 0 0.4rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.98rem;
  font-weight: 500;
  color: #15263A;
}

.mr-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.mr-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.mr-field[hidden] {
  display: none;
}

.mr-field--narrow {
  max-width: 12rem;
}

.mr-field label,
.mr-legend-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: #111820;
}

.mr-required {
  color: #b03a2e;
}

.mr-field input[type="text"],
.mr-field input[type="email"],
.mr-field input[type="tel"],
.mr-field select,
.mr-field textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--remco-border);
  border-radius: var(--remco-radius-sm);
  background: #faf9f6;
  font-family: inherit;
  font-size: 0.87rem;
  color: #111820;
  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}

.mr-field textarea {
  resize: vertical;
  min-height: 5rem;
  line-height: 1.5;
}

.mr-field input:focus,
.mr-field select:focus,
.mr-field textarea:focus {
  outline: none;
  border-color: #B08D57;
  background: #ffffff;
}

.mr-form.was-validated .mr-field input:invalid,
.mr-form.was-validated .mr-field select:invalid,
.mr-form.was-validated .mr-field textarea:invalid {
  border-color: rgba(176, 58, 46, 0.5);
}

.mr-radio-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mr-radio-option {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--remco-border);
  border-radius: var(--remco-radius-sm);
  background: #faf9f6;
  font-size: 0.83rem;
  color: #111820;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.mr-radio-option:has(input:checked) {
  border-color: #B08D57;
  background: #fbf6ee;
}

.mr-radio-option input {
  margin-top: 0.2rem;
  accent-color: #B08D57;
}

.mr-emergency-notice {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(176, 58, 46, 0.3);
  border-radius: 0.75rem;
  background: #fff2f0;
}

.mr-emergency-notice[hidden] {
  display: none;
}

.mr-emergency-notice p {
  margin: 0;
  font-size: 0.83rem;
  line-height: 1.55;
  color: #7a2a20;
}

.mr-emergency-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.9rem;
  font-size: 0.82rem;
}

.mr-emergency-name {
  font-weight: 700;
  color: #7a2a20;
}

.mr-emergency-contact a {
  color: #b03a2e;
  font-weight: 600;
  text-decoration: underline;
}

/* -- File upload -- */

.mr-file-drop {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0.9rem 1rem;
  border: 1px dashed var(--remco-border);
  border-radius: 0.75rem;
  background: #faf9f6;
}

.mr-file-drop input[type="file"] {
  font-size: 0.82rem;
  color: #111820;
}

.mr-file-hint {
  margin: 0;
  font-size: 0.73rem;
  color: rgba(17, 24, 32, 0.55);
}

.mr-file-list {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mr-file-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 0.6rem;
  border: 1px solid var(--remco-border);
  border-radius: 0.6rem;
  background: #ffffff;
}

.mr-file-thumb {
  flex-shrink: 0;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.4rem;
  object-fit: cover;
  background: #f1eee7;
}

.mr-file-meta {
  flex: 1 1 0;
  min-width: 0;
}

.mr-file-name {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #111820;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mr-file-size {
  display: block;
  font-size: 0.72rem;
  color: rgba(17, 24, 32, 0.55);
}

.mr-file-remove {
  flex-shrink: 0;
  width: 1.6rem;
  height: 1.6rem;
  display: grid;
  place-items: center;
  border: none;
  border-radius: 50%;
  background: #f1eee7;
  color: #111820;
  cursor: pointer;
  font-size: 0.9rem;
  line-height: 1;
}

.mr-file-remove:hover {
  background: #fff2f0;
  color: #b03a2e;
}

/* -- Form actions / messages -- */

.mr-form-error {
  margin: 0;
  padding: 0.75rem 1rem;
  border-radius: 0.6rem;
  background: #fff2f0;
  border: 1px solid rgba(176, 58, 46, 0.3);
  color: #7a2a20;
  font-size: 0.82rem;
}

.mr-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
}

.mr-actions--center {
  justify-content: center;
}

.mr-actions .home-button {
  min-height: 46px;
}

/* -- Result views -- */

.mr-view--result {
  text-align: center;
  padding: 1.5rem 0 0.5rem;
}

.mr-result-icon {
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 1.1rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
}

.mr-result-icon svg {
  width: 1.6rem;
  height: 1.6rem;
}

.mr-result-icon--success {
  background: #eaf3ea;
  color: #2f6b3a;
}

.mr-result-icon--failure {
  background: #fff2f0;
  color: #b03a2e;
}

.mr-view--result h2 {
  margin: 0 0 0.6rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.4rem;
  font-weight: 500;
  color: #15263A;
}

.mr-view--result p {
  margin: 0 auto 0.6rem;
  max-width: 30rem;
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(17, 24, 32, 0.68);
}

.mr-view--result .mr-result-note {
  color: #111820;
  font-weight: 500;
}

.mr-result-note a {
  color: #B08D57;
  text-decoration: underline;
}

.mr-view--result .mr-actions {
  margin-top: 1.3rem;
}

@media (max-width: 720px) {
  .mr-field-row {
    grid-template-columns: 1fr;
  }

  .mr-field--narrow {
    max-width: none;
  }
}

@media (max-width: 560px) {
  .mr-modal {
    padding: 0;
    align-items: flex-end;
  }

  .mr-modal-panel {
    width: 100%;
    max-height: 92vh;
    border-radius: 1.25rem 1.25rem 0 0;
  }

  .mr-actions {
    flex-direction: column-reverse;
  }

  .mr-actions .home-button {
    width: 100%;
  }
}

/* ── Rental Application Page ── */

.ra-hero {
  padding: clamp(3rem, 6vw, 4.5rem) 0 clamp(1.5rem, 3vw, 2rem);
  background: #F4F1EA;
}

.ra-section {
  padding: 0 0 clamp(4rem, 8vw, 6rem);
  background: #F4F1EA;
}

.ra-shell {
  width: min(1600px, 96vw);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 4rem);
}

.ra-shell--narrow {
  width: min(880px, 96vw);
}

.ra-eyebrow {
  display: block;
  margin-bottom: 0.85rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(17, 24, 32, 0.5);
}

.ra-hero h1 {
  margin: 0 0 0.75rem;
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: clamp(2.1rem, 3.4vw, 2.9rem);
  font-weight: 700;
  line-height: 1.08;
  color: #15263A;
}

.ra-hero p {
  margin: 0;
  max-width: 42rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(17, 24, 32, 0.62);
}

.ra-building-context[hidden] {
  display: none;
}

.ra-building-context {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  padding: 0.85rem 1.15rem;
  background: #fbf6ee;
  border: 1px solid rgba(176, 141, 87, 0.35);
  border-radius: 0.75rem;
}

.ra-building-context-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8a6a35;
  flex-shrink: 0;
}

.ra-building-context-value {
  font-size: 0.88rem;
  font-weight: 600;
  color: #15263A;
}

.ra-building-warning {
  margin-bottom: 1.25rem;
  padding: 0.85rem 1.15rem;
  background: #fff2f0;
  border: 1px solid rgba(176, 58, 46, 0.3);
  border-radius: 0.75rem;
  font-size: 0.85rem;
  color: #7a2a20;
}

.ra-card {
  position: relative;
  background: #ffffff;
  border-radius: 1.5rem;
  box-shadow: 0 12px 48px rgba(17, 24, 32, 0.1);
  padding: clamp(1.75rem, 4vw, 3rem);
}

/* -- Stepper -- */

.ra-stepper {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0 0 0.9rem;
  padding: 0;
  gap: 0.35rem;
}

.ra-step {
  flex: 1 1 0;
  display: flex;
  align-items: center;
}

.ra-step::after {
  content: "";
  flex: 1 1 auto;
  height: 2px;
  background: var(--remco-border);
  margin: 0 0.35rem;
}

.ra-step:last-child::after {
  display: none;
}

.ra-step-num {
  flex-shrink: 0;
  width: 1.9rem;
  height: 1.9rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f1eee7;
  color: rgba(17, 24, 32, 0.45);
  font-size: 0.78rem;
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease;
}

.ra-step.is-current .ra-step-num {
  background: #15263A;
  color: #ffffff;
}

.ra-step.is-complete .ra-step-num {
  background: #B08D57;
  color: #ffffff;
}

.ra-step.is-complete::after {
  background: #B08D57;
}

.ra-step-status {
  margin: 0 0 1.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(17, 24, 32, 0.55);
}

/* -- Step panels -- */

.ra-step-title {
  margin: 0 0 1.25rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  font-weight: 500;
  color: #15263A;
}

.ra-step-panel {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.ra-step-panel[hidden] {
  display: none;
}

.ra-hint {
  margin: 0.35rem 0 0;
  font-size: 0.73rem;
  line-height: 1.45;
  color: rgba(17, 24, 32, 0.55);
}

.ra-hint a {
  color: #B08D57;
  text-decoration: underline;
}

.ra-disclaimer {
  margin: 0 0 1.1rem;
  padding: 1rem 1.15rem;
  background: #faf9f6;
  border: 1px solid var(--remco-border);
  border-radius: 0.75rem;
  font-size: 0.85rem;
  line-height: 1.6;
  color: #111820;
}

/* -- Review step -- */

.ra-review-intro {
  margin: 0 0 1.25rem;
  font-size: 0.85rem;
  color: rgba(17, 24, 32, 0.6);
}

.ra-review-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.ra-review-section h3 {
  margin: 0 0 0.6rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: #15263A;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--remco-border);
}

.ra-review-row {
  display: grid;
  grid-template-columns: minmax(0, 13rem) 1fr;
  gap: 0.5rem 1rem;
  padding: 0.4rem 0;
  font-size: 0.84rem;
}

.ra-review-row dt {
  color: rgba(17, 24, 32, 0.55);
  font-weight: 600;
}

.ra-review-row dd {
  margin: 0;
  color: #111820;
  white-space: pre-wrap;
  word-break: break-word;
}

/* -- Form nav -- */

.ra-nav {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--remco-border);
}

.ra-nav--center {
  justify-content: center;
  border-top: none;
  margin-top: 1.3rem;
  padding-top: 0;
}

.ra-nav [data-ra-back] {
  margin-right: auto;
}

.ra-nav .home-button {
  min-height: 46px;
}

@media (max-width: 720px) {
  .ra-card {
    border-radius: 1.1rem;
  }

  .ra-step-num {
    width: 1.6rem;
    height: 1.6rem;
    font-size: 0.7rem;
  }

  .ra-review-row {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }

  .ra-nav {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .ra-nav [data-ra-back] {
    margin-right: 0;
  }

  .ra-nav .home-button {
    width: 100%;
  }
}

/* ── Book a Viewing — availability picker ── */

.bv-days {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1rem;
  margin: 0.9rem 0;
}

.bv-day {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--remco-border);
  border-radius: 0.9rem;
  background: #faf9f6;
}

.bv-day-heading {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 700;
  color: #15263A;
}

.bv-day-slots {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.bv-slot {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 44px;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--remco-border);
  border-radius: var(--remco-radius-sm);
  background: #ffffff;
  font-size: 0.83rem;
  font-weight: 600;
  color: #111820;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.bv-slot:has(input:checked) {
  border-color: #B08D57;
  border-width: 2px;
  padding: 0.55rem calc(0.75rem - 1px);
  background: #fbf6ee;
  color: #15263A;
}

.bv-slot:has(input:focus-visible) {
  outline: 2px solid #15263A;
  outline-offset: 2px;
}

.bv-slot input {
  flex-shrink: 0;
  width: 1.1rem;
  height: 1.1rem;
  accent-color: #B08D57;
  cursor: pointer;
}

.bv-error {
  margin: -0.4rem 0 0;
  padding: 0.65rem 0.9rem;
  border-radius: 0.6rem;
  background: #fff2f0;
  border: 1px solid rgba(176, 58, 46, 0.3);
  color: #7a2a20;
  font-size: 0.82rem;
}

.bv-notice {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-top: 0.9rem;
  padding: 0.85rem 1.1rem;
  border: 1px solid rgba(176, 141, 87, 0.35);
  border-radius: 0.75rem;
  background: #fbf6ee;
}

.bv-notice svg {
  flex-shrink: 0;
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.1rem;
  color: #8a6a35;
}

.bv-notice p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.55;
  color: #6b4f1f;
  font-weight: 600;
}

.bv-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--remco-border);
  border-radius: 0.75rem;
  background: #faf9f6;
  font-size: 0.83rem;
  line-height: 1.5;
  color: #111820;
  cursor: pointer;
}

.bv-consent input {
  flex-shrink: 0;
  width: 1.2rem;
  height: 1.2rem;
  margin-top: 0.1rem;
  accent-color: #15263A;
  cursor: pointer;
}

.bv-consent:has(input:focus-visible) {
  outline: 2px solid #15263A;
  outline-offset: 2px;
}

@media (max-width: 640px) {
  .bv-days {
    grid-template-columns: 1fr;
  }
}

/* -- SITE FOOTER -- */

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

.site-footer {
  width: 100%;
  overflow: hidden;
  color: #f7f2e9;
  background: #07131d;
}

.site-footer a {
  color: inherit;
}

.site-footer ul {
  display: block;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-main {
  padding-top: clamp(3.2rem, 5.8vw, 5.1rem);
  background:
    radial-gradient(circle at 18% 0%,
      rgba(255, 255, 255, 0.08),
      transparent 28%),
    radial-gradient(circle at 90% 20%,
      rgba(201, 166, 107, 0.1),
      transparent 24%),
    linear-gradient(180deg, #07131d 0%, #06111a 100%);
}

.footer-main-inner {
  width: min(1840px, calc(100% - 4rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(280px, 1.35fr) minmax(170px, 0.8fr) minmax(230px,
      1fr) minmax(170px, 0.8fr) minmax(320px, 1.08fr);
  gap: clamp(2rem, 3vw, 3.25rem);
  align-items: start;
}

.footer-brand p {
  max-width: 330px;
  margin: 1.45rem 0 1.8rem;
  color: rgba(247, 242, 233, 0.86);
  font-size: clamp(0.92rem, 1.18vw, 1.08rem);
  line-height: 1.48;
}

.footer-logo {
  display: inline-flex;
  width: min(260px, 100%);
}

.footer-logo img {
  width: 100%;
  filter: none;
}

.footer-socials {
  display: flex;
  gap: 0.9rem;
}

.footer-social-link {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border: 1px solid #c89545;
  border-radius: 50%;
  color: #ffffff;
  transition:
    transform 0.25s ease,
    background-color 0.25s ease;
}

.footer-social-link:hover,
.footer-social-link:focus-visible {
  background: rgba(200, 149, 69, 0.18);
  transform: translateY(-2px);
}

.footer-social-link svg {
  width: 1.24rem;
  height: 1.24rem;
}

.footer-social-link svg[fill="none"] {
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-column,
.footer-contact {
  min-height: 100%;
  border-left: 1px solid rgba(200, 149, 69, 0.34);
  padding-left: clamp(1.25rem, 2.4vw, 2rem);
}

.footer-heading {
  margin: 0 0 1.35rem;
  color: #d9a24b;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.footer-column li+li {
  margin-top: 1.05rem;
}

.footer-column a,
.footer-contact a,
.footer-contact span {
  color: rgba(247, 242, 233, 0.88);
  font-size: clamp(0.9rem, 1.08vw, 1.08rem);
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.footer-column a {
  transition: color 0.25s ease;
}

.footer-column a:hover,
.footer-column a:focus-visible,
.footer-contact a:hover,
.footer-contact a:focus-visible,
.footer-bottom a:hover,
.footer-bottom a:focus-visible {
  color: #ffffff;
}

.footer-contact {
  font-style: normal;
}

.footer-contact li {
  display: grid;
  grid-template-columns: 1.55rem minmax(0, 1fr);
  gap: 0.85rem;
  align-items: start;
}

.footer-contact li+li {
  margin-top: 1.05rem;
}

.footer-contact-icon {
  width: 1.55rem;
  height: 1.55rem;
  color: #d9a24b;
}

.footer-contact-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-bottom {
  width: min(1840px, calc(100% - 4rem));
  margin: clamp(3rem, 5.8vw, 4.8rem) auto 0;
  padding: 1.65rem 0 2.05rem;
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(200, 149, 69, 0.34);
  color: rgba(247, 242, 233, 0.9);
}

.footer-bottom p {
  margin: 0;
  font-size: clamp(0.9rem, 1.02vw, 1.02rem);
}

.footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1rem 0;
}

.footer-bottom a {
  padding: 0 1.6rem;
  font-size: clamp(0.9rem, 1vw, 1rem);
  transition: color 0.25s ease;
}

.footer-bottom a:last-child {
  padding-right: 0;
}

.footer-bottom a+a {
  border-left: 1px solid #c89545;
}

@media (max-width: 1300px) {
  .footer-main-inner {
    grid-template-columns: minmax(250px, 1fr) repeat(2, minmax(220px, 1fr));
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-brand p {
    max-width: 640px;
  }
}

@media (max-width: 980px) {
  .footer-main-inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-bottom nav {
    justify-content: flex-start;
  }

  .footer-bottom a:first-child {
    padding-left: 0;
  }
}

@media (max-width: 720px) {

  .footer-main-inner,
  .footer-bottom {
    width: calc(100% - 2rem);
  }

  .footer-main-inner {
    grid-template-columns: 1fr;
  }

  .footer-column,
  .footer-contact {
    border-left: 0;
    border-top: 1px solid rgba(200, 149, 69, 0.28);
    padding: 2rem 0 0;
  }

  .footer-bottom nav {
    width: 100%;
    flex-direction: column;
    gap: 0.85rem;
  }

  .footer-bottom a,
  .footer-bottom a:last-child {
    padding: 0;
  }

  .footer-bottom a+a {
    border-left: 0;
  }
}

@media (max-width: 480px) {
  .footer-logo {
    width: 235px;
  }
}

@media (max-width: 400px) {
  .footer-main-inner {
    gap: 1.75rem;
  }

  .footer-column,
  .footer-contact {
    padding-left: 1rem;
  }

  .footer-column a,
  .footer-contact a,
  .footer-contact span {
    font-size: 0.9rem;
  }

  .footer-social-link {
    width: 2.6rem;
    height: 2.6rem;
  }
}

/* -- PROPERTY MANAGEMENT PAGE -- */

.pm-page {
  --pm-navy: #111820;
  --pm-ink: #111820;
  --pm-copy: rgba(17, 24, 32, 0.68);
  --pm-gold: #8a6644;
  --pm-warm: #fffdf8;
  --pm-line: rgba(17, 24, 32, 0.08);
  --pm-shadow: 0 1.25rem 3rem rgba(17, 24, 32, 0.055);
  color: var(--pm-ink);
  background: #fffdf8;
}

.pm-page .site-header {
  box-shadow: 0 0.3rem 1.5rem rgba(17, 24, 32, 0.04);
}

.pm-page .logo a {
  display: block;
  width: 100%;
}

.pm-page .nav-links a {
  position: relative;
}

.pm-page .nav-links a.is-active::after {
  content: "";
  position: absolute;
  right: 0.75rem;
  bottom: -1.35rem;
  left: 0.75rem;
  height: 2px;
  background: var(--pm-gold);
}

.pm-page .nav-cta .btn {
  background: #111216;
}

.pm-shell {
  width: min(1600px, calc(100% - 3rem));
  margin-inline: auto;
}

.pm-section {
  padding: clamp(4.5rem, 7vw, 7.5rem) 0;
}

.pm-eyebrow {
  margin: 0 0 0.65rem;
  color: var(--pm-gold);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1.3;
  text-transform: uppercase;
}

.pm-heading {
  max-width: 760px;
  margin: 0 auto 2.8rem;
  text-align: center;
}

.pm-heading h2 {
  margin: 0;
  color: var(--pm-navy);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.08;
}

.pm-heading h2 {
  font-size: clamp(2rem, 3vw, 3.15rem);
}

.pm-heading>p:last-child {
  margin: 0.85rem auto 0;
  color: var(--pm-copy);
  font-size: 1.02rem;
}

.pm-btn {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.4rem;
  border: 1px solid transparent;
  border-radius: 0.55rem;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  transition:
    background-color 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.pm-btn:hover {
  transform: translateY(-2px);
}

.pm-btn--primary {
  border-color: #111b27;
  background: #111b27;
  color: #ffffff;
  box-shadow: 0 0.7rem 1.5rem rgba(17, 27, 39, 0.13);
}

.pm-btn--primary:hover {
  border-color: #263342;
  background: #263342;
  box-shadow: 0 0.9rem 1.8rem rgba(17, 27, 39, 0.2);
}

.pm-btn--secondary {
  border-color: rgba(17, 27, 39, 0.62);
  background: rgba(255, 255, 255, 0.72);
  color: var(--pm-navy);
}

.pm-btn--secondary:hover {
  border-color: var(--pm-navy);
  background: #ffffff;
  box-shadow: 0 0.7rem 1.5rem rgba(17, 27, 39, 0.08);
}

/* Property management hero */

.pm-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--pm-line);
  background:
    radial-gradient(circle at 18% 25%,
      rgba(255, 255, 255, 0.96),
      rgba(255, 255, 255, 0) 36%),
    linear-gradient(100deg, #fffdf8 0%, #f8f6f1 56%, #f1eee8 100%);
}

.pm-hero-grid {
  display: grid;
  min-height: 650px;
  grid-template-columns: minmax(0, 0.9fr) minmax(520px, 1.1fr);
  align-items: stretch;
}

.pm-hero-copy {
  position: relative;
  z-index: 4;
  display: flex;
  max-width: 660px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 5rem 2.5rem 5rem 0;
}

.pm-hero-copy h1 {
  max-width: 650px;
  margin: 0;
  color: var(--pm-navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 4.1vw, 4.4rem);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.02em;
}

.pm-hero-copy>p {
  max-width: 590px;
  margin: 0;
  color: var(--pm-copy);
  font-size: clamp(1rem, 1.25vw, 1.14rem);
  line-height: 1.65;
}

.pm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.pm-btn__icon {
  margin-left: 0.7rem;
  display: inline-flex;
  transition: transform 0.25s ease;
}

.pm-btn--primary:hover .pm-btn__icon {
  transform: translateX(3px);
}

.pm-hero-media {
  position: relative;
  min-height: 650px;
  margin-right: clamp(-30rem, calc((1500px - 100vw) / 2), -1.5rem);
  isolation: isolate;
}

.pm-hero-media-bg,
.pm-hero-media-gradient,
.pm-hero-media-portrait,
.pm-hero-media-cards {
  position: absolute;
  inset: 0;
}

.pm-hero-media-bg {
  z-index: 0;
  overflow: hidden;
}

.pm-hero-media-bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% center;
}

.pm-hero-media-gradient {
  z-index: 1;
  background: linear-gradient(90deg,
      rgba(20, 26, 34, 0.72) 0%,
      rgba(20, 26, 34, 0.46) 32%,
      rgba(20, 26, 34, 0.14) 66%,
      rgba(20, 26, 34, 0) 100%);
  pointer-events: none;
}

.pm-hero-media-portrait {
  z-index: 2;
  bottom: 0;
  left: 41%;
  top: auto;
  right: auto;
  width: min(48vw, 620px);
  height: min(96%, 760px);
  transform: translateX(-50%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
}

.pm-hero-media-portrait img {
  width: auto;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 1.4rem 2.2rem rgba(17, 24, 32, 0.2));
}

.pm-hero-media-cards {
  z-index: 3;
  inset: auto clamp(1.5rem, 7vw, 6rem) auto auto;
  top: 43%;
  display: grid;
  gap: 1rem;
  width: min(320px, 32vw);
}

.pm-hero-media-card {
  padding: 1.35rem 1.4rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(17, 24, 32, 0.08);
  box-shadow: 0 1.1rem 2.4rem rgba(17, 24, 32, 0.12);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.pm-hero-media-card h3 {
  margin: 0 0 0.5rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--pm-navy);
}

.pm-hero-media-card p {
  margin: 0;
  color: var(--pm-copy);
  font-size: 0.95rem;
  line-height: 1.7;
}

.pm-hero-trust-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 2rem;
  width: 100%;
}

.pm-hero-trust-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.9rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(17, 24, 32, 0.08);
  color: var(--pm-navy);
  font-size: 0.9rem;
  font-weight: 600;
}

.pm-hero-trust-icon {
  display: inline-flex;
  width: 1.85rem;
  height: 1.85rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--pm-navy);
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(17, 24, 32, 0.1);
}

.pm-hero-trust-icon svg {
  width: 1.05rem;
  height: 1.05rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pm-hero-trust-icon--filled svg {
  fill: currentColor;
  stroke: none;
}

.pm-pain-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
  margin-top: 2rem;
}

.pm-pain-card {
  display: grid;
  gap: 1rem;
  padding: 1.75rem;
  border-radius: 1.25rem;
  background: #ffffff;
  border: 1px solid rgba(17, 24, 32, 0.08);
  box-shadow: 0 1rem 2rem rgba(17, 24, 32, 0.06);
}

.pm-pain-card h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--pm-navy);
}

.pm-pain-card p {
  margin: 0;
  color: var(--pm-copy);
  line-height: 1.75;
}

.pm-pain-copy {
  margin: 2rem auto 0;
  max-width: 760px;
  text-align: center;
  color: var(--pm-copy);
  font-size: 1.03rem;
  line-height: 1.8;
}

.pm-local-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.85fr);
  gap: clamp(2.5rem, 5vw, 6rem);
  align-items: center;
}

.pm-local-image {
  position: relative;
  min-height: 520px;
}

.pm-local-image img {
  min-height: 520px;
  object-fit: cover;
}

.pm-local-copy p {
  margin: 1.2rem 0 1.8rem;
  color: var(--pm-copy);
  font-size: 1rem;
  line-height: 1.8;
  max-width: 620px;
}

.pm-feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.pm-feature-list li {
  position: relative;
  padding-left: 2rem;
  color: var(--pm-copy);
  font-size: 0.96rem;
  line-height: 1.85;
}

.pm-feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.15rem;
  color: var(--pm-navy);
  font-weight: 700;
}

.pm-confidence-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
  margin-top: 2rem;
}

.pm-confidence-card {
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: 1.2rem;
  background: #ffffff;
  border: 1px solid rgba(17, 24, 32, 0.08);
  box-shadow: 0 1rem 2rem rgba(17, 24, 32, 0.06);
}

.pm-confidence-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f7f5ef;
  color: var(--pm-navy);
}

.pm-confidence-icon svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  stroke-width: 1.8;
}

.pm-confidence-card h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--pm-navy);
}

.pm-confidence-card p {
  margin: 0;
  color: var(--pm-copy);
  line-height: 1.75;
}

.pm-process-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
  position: relative;
  margin-top: 2.4rem;
}

.pm-process-steps::before {
  content: "";
  position: absolute;
  top: 2rem;
  left: 2.1rem;
  right: 2.1rem;
  height: 1px;
  background: rgba(17, 24, 32, 0.09);
  z-index: 0;
}

.pm-step {
  position: relative;
  display: grid;
  gap: 1rem;
  padding-top: 1rem;
  z-index: 1;
}

.pm-step:not(:first-child) {
  padding-left: 1rem;
}

.pm-step-number {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--remco-white);
  background: var(--pm-navy);
  font-weight: 700;
  font-size: 1rem;
}

.pm-step h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  font-weight: 400;
  color: var(--pm-navy);
}

.pm-step p {
  margin: 0;
  color: var(--pm-copy);
  line-height: 1.75;
}

.pm-lead-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.85fr);
  gap: clamp(3rem, 5vw, 5rem);
  align-items: start;
}

.pm-lead-copy h2,
.pm-lead-copy p {
  margin: 0;
}

.pm-lead-copy h2 {
  font-size: clamp(2.6rem, 4vw, 3.2rem);
  line-height: 1.04;
  color: var(--pm-navy);
}

.pm-lead-copy p {
  margin-top: 1.2rem;
  color: var(--pm-copy);
  font-size: 1rem;
  line-height: 1.8;
  max-width: 620px;
}

.pm-reassurance-list {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.8rem;
}

.pm-reassurance-item {
  padding: 1rem 1.1rem;
  border-radius: 0.95rem;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(17, 24, 32, 0.08);
  color: var(--pm-copy);
  font-size: 0.95rem;
}

.pm-image-card {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  background: var(--pm-warm);
  box-shadow: var(--pm-shadow);
}

/* Services */

.pm-services {
  border-block: 1px solid var(--pm-line);
  background: #f7f5ef;
}

.pm-services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.pm-service-card {
  display: grid;
  min-height: 190px;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 1.15rem;
  align-items: start;
  padding: 1.6rem;
  border: 1px solid var(--pm-line);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 1rem 2.4rem rgba(17, 24, 32, 0.075);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.pm-service-card:hover {
  border-color: rgba(17, 24, 32, 0.16);
  box-shadow: 0 1.35rem 3rem rgba(17, 24, 32, 0.12);
  transform: translateY(-4px);
}

.pm-line-icon {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border: 1px solid rgba(17, 24, 32, 0.06);
  border-radius: 50%;
  color: var(--pm-navy);
  background: #f1eee7;
}

.pm-line-icon svg {
  width: 38px;
  height: 38px;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pm-line-icon--filled svg {
  fill: currentColor;
  stroke: none;
}

.pm-service-card h3 {
  margin: 0 0 0.55rem;
  color: var(--pm-navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.18;
}

.pm-service-card p {
  margin: 0;
  color: var(--pm-copy);
  font-size: 0.92rem;
  line-height: 1.55;
}

/* Plan form */

.pm-plan-form {
  padding: 1.6rem;
  border: 1px solid var(--pm-line);
  border-radius: 1rem;
  background: #ffffff;
  box-shadow: 0 0.8rem 2rem rgba(17, 24, 32, 0.06);
}

.pm-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.pm-plan-form label {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.4rem;
  color: var(--pm-ink);
  font-size: 0.73rem;
  font-weight: 750;
  letter-spacing: 0.02em;
}

.pm-field-wide {
  grid-column: 1 / -1;
}

.pm-plan-form input,
.pm-plan-form select {
  width: 100%;
  min-height: 50px;
  padding: 0.75rem 0.85rem;
  border: 1px solid #d9dce0;
  border-radius: 0.45rem;
  outline: none;
  color: var(--pm-ink);
  background: #ffffff;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 500;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.pm-plan-form input:focus,
.pm-plan-form select:focus {
  border-color: var(--pm-gold);
  box-shadow: 0 0 0 3px rgba(138, 102, 68, 0.12);
}

.pm-plan-form input::placeholder {
  color: #8a9098;
}

.pm-submit {
  width: 100%;
  margin-top: 1rem;
  border: 0;
  cursor: pointer;
}

.pm-reassurance {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin: 0.75rem 0 0;
  color: #6f7781;
  font-size: 0.72rem;
  text-align: center;
}

.pm-reassurance svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 1180px) {
  .pm-page .site-header {
    padding-inline: 2rem;
  }

  .pm-page .logo {
    width: 180px;
  }

  .pm-page .nav-links a {
    padding-inline: 0.5rem;
    font-size: 0.88rem;
  }

  .pm-page .nav-cta .btn {
    padding-inline: 1rem;
    font-size: 0.83rem;
  }

  .pm-hero-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(440px, 1.05fr);
  }

  .pm-hero-copy h1 {
    font-size: clamp(3rem, 5vw, 4.4rem);
  }

  .pm-hero-media-portrait {
    left: 39%;
    width: min(50vw, 560px);
  }

  .pm-hero-media-cards {
    right: clamp(1.25rem, 4vw, 3rem);
    width: min(300px, 34vw);
  }

  .pm-services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .pm-hero-grid {
    display: block;
    min-height: 0;
  }

  .pm-hero-copy {
    max-width: 760px;
    padding: 3rem 0 3rem;
  }

  .pm-hero {
    padding-top: 2.5rem;
  }

  .pm-hero-media {
    min-height: 620px;
    margin-inline: -1.5rem;
    margin-right: -1.5rem;
    padding: 2rem 1.5rem 1.5rem;
    overflow: hidden;
  }

  .pm-hero-media-gradient {
    background:
      linear-gradient(90deg,
        rgba(255, 253, 248, 0.26) 0%,
        rgba(20, 26, 34, 0.58) 34%,
        rgba(20, 26, 34, 0.2) 72%,
        rgba(20, 26, 34, 0) 100%);
  }

  .pm-hero-media-portrait {
    position: relative;
    inset: auto;
    width: 100%;
    height: 430px;
    transform: none;
  }

  .pm-hero-media-portrait img {
    max-width: 86%;
  }

  .pm-hero-media-cards {
    position: relative;
    inset: auto;
    transform: none;
    width: 100%;
    max-width: 680px;
    margin: -3rem auto 0;
  }

  .pm-hero-trust-row {
    grid-template-columns: 1fr;
  }

  .pm-pain-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pm-local-grid {
    grid-template-columns: 1fr;
  }

  .pm-local-image img {
    min-height: 360px;
  }

  .pm-confidence-grid {
    grid-template-columns: 1fr;
  }

  .pm-process-steps {
    grid-template-columns: 1fr;
  }

  .pm-process-steps::before {
    left: 1rem;
    right: 1rem;
    top: 4.8rem;
  }

  .pm-lead-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .pm-shell {
    width: min(100% - 2rem, 680px);
  }

  .pm-page .nav-cta .btn {
    min-height: 44px;
    padding: 0.7rem 0.8rem;
    font-size: 0.7rem;
  }

  .pm-page .nav-links a.is-active::after {
    display: none;
  }

  .pm-section {
    padding: 4rem 0;
  }

  .pm-hero-copy {
    padding: 3rem 0 2.5rem;
  }

  .pm-hero {
    padding-top: 3rem;
  }

  .pm-hero-copy h1 {
    font-size: clamp(2.55rem, 12vw, 3.75rem);
  }

  .pm-hero-media {
    min-height: 570px;
    padding-top: 1.5rem;
  }

  .pm-hero-media-bg img {
    object-position: 56% center;
  }

  .pm-hero-media-portrait {
    height: 390px;
  }

  .pm-hero-media-portrait img {
    max-width: 92%;
  }

  .pm-hero-media-cards {
    margin-top: -2rem;
  }

  .pm-actions {
    width: 100%;
  }

  .pm-actions .pm-btn {
    flex: 1 1 100%;
    width: 100%;
  }

  .pm-services-grid {
    grid-template-columns: 1fr;
  }

  .pm-service-card {
    min-height: 0;
  }

  .pm-plan-form {
    padding: 1rem;
  }

  .pm-form-grid {
    grid-template-columns: 1fr;
  }

  .pm-field-wide {
    grid-column: auto;
  }
}

@media (max-width: 520px) {
  .pm-page .logo {
    width: 120px;
  }

  .pm-page .nav-cta .btn {
    padding: 0.5rem 0.65rem;
    font-size: 0.68rem;
    white-space: nowrap;
  }

  .pm-hero-copy h1 {
    font-size: 2.55rem;
  }

  .pm-hero-copy>p {
    font-size: 0.96rem;
  }

  .pm-hero-media {
    min-height: 520px;
    padding-inline: 1rem;
  }

  .pm-hero-media-gradient {
    background:
      linear-gradient(90deg,
        rgba(20, 26, 34, 0.58) 0%,
        rgba(20, 26, 34, 0.28) 58%,
        rgba(20, 26, 34, 0.08) 100%);
  }

  .pm-hero-media-portrait {
    height: 320px;
  }

  .pm-hero-media-cards {
    gap: 0.75rem;
    margin-top: -1rem;
  }

  .pm-hero-media-card {
    padding: 1rem;
    border-radius: 0.9rem;
  }

  .pm-hero-media-card p {
    font-size: 0.86rem;
    line-height: 1.55;
  }

  .pm-service-card {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 0.9rem;
    padding: 1.2rem;
  }

  .pm-line-icon {
    width: 52px;
    height: 52px;
  }

  .pm-line-icon svg {
    width: 31px;
    height: 31px;
  }

  .pm-pain-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 400px) {
  .pm-shell {
    width: calc(100% - 1.5rem);
  }

  .pm-section {
    padding: 2.5rem 0;
  }

  .pm-hero {
    padding-top: 2rem;
  }

  .pm-hero-copy h1 {
    font-size: 2.1rem;
  }

  .pm-hero-copy>p {
    font-size: 0.9rem;
  }

  .pm-hero-media {
    min-height: 470px;
  }

  .pm-hero-media-portrait {
    height: 280px;
  }

  .pm-hero-media-portrait img {
    max-width: 100%;
  }

  .pm-pain-card {
    padding: 1.25rem;
  }
}

/* -- ABOUT PAGE -- */

.about-page {
  --about-navy: #111820;
  --about-ink: #111820;
  --about-copy: rgba(17, 24, 32, 0.7);
  --about-muted: #f3eee6;
  --about-warm: #fffdf8;
  --about-line: rgba(17, 24, 32, 0.09);
  --about-accent: #8a6644;
  --about-shadow: 0 1.25rem 3rem rgba(17, 24, 32, 0.06);
  color: var(--about-ink);
  background: var(--about-warm);
}

.about-page .site-header {
  box-shadow: 0 0.3rem 1.5rem rgba(17, 24, 32, 0.04);
}

.about-page .logo a {
  display: block;
  width: 100%;
}

.about-page .nav-links a {
  position: relative;
}

.about-page .nav-links a.is-active::after {
  content: "";
  position: absolute;
  right: 0.75rem;
  bottom: -1.35rem;
  left: 0.75rem;
  height: 2px;
  background: var(--about-accent);
}

.about-main {
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 8%,
      rgba(255, 255, 255, 0.98),
      rgba(255, 255, 255, 0) 28%),
    linear-gradient(180deg, #fffdf8 0%, #f8f5ef 53%, #fffdf8 100%);
}

.about-shell {
  width: min(1600px, calc(100% - 3rem));
  margin-inline: auto;
}

.about-section {
  padding: clamp(4rem, 6.4vw, 7rem) 0;
}

.about-eyebrow {
  margin: 0 0 0.72rem;
  color: var(--about-accent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  line-height: 1.3;
  text-transform: uppercase;
}

.about-heading {
  max-width: 900px;
  margin: 0 auto 2.4rem;
  text-align: center;
}

.about-heading--compact {
  margin-bottom: 1.8rem;
}

.about-heading h2,
.about-hero h1,
.about-story h2,
.about-community h2,
.about-lifecycle h2,
.about-final-cta h2 {
  margin: 0;
  color: var(--about-navy);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.08;
}

.about-heading h2 {
  font-size: clamp(2rem, 3vw, 3.15rem);
}

.about-heading>p:last-child {
  max-width: 760px;
  margin: 0.8rem auto 0;
  color: var(--about-copy);
  font-size: 1rem;
  line-height: 1.65;
}

.about-hero {
  padding: clamp(4.5rem, 7vw, 7.5rem) 0 clamp(3rem, 5vw, 5.5rem);
}

.about-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(520px, 1.1fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
}

.about-hero__content {
  max-width: 680px;
}

.about-hero h1 {
  max-width: 660px;
  font-size: clamp(3rem, 4.2vw, 4.65rem);
  letter-spacing: -0.02em;
}

.about-hero__content>p:not(.about-eyebrow) {
  margin: 1.35rem 0 0;
  color: var(--about-copy);
  font-size: clamp(1rem, 1.1vw, 1.12rem);
  line-height: 1.72;
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.about-trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.6rem;
}

.about-pill {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.5rem 1.15rem;
  border: 1px solid rgba(17, 24, 32, 0.06);
  border-radius: 999px;
  color: var(--about-navy);
  background: rgba(243, 238, 230, 0.74);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.2;
}

.about-pill--small {
  min-height: 34px;
  padding: 0.45rem 0.9rem;
  font-size: 0.78rem;
  /* Harmless when trailing (Samantha/Rochelle's cards, where this is the
     last element) and gives breathing room when a designation badge sits
     between the title and bio instead (e.g. John's "Master Builder"). */
  margin-bottom: 0.9rem;
}

.about-pill svg,
.about-community__stats svg,
.about-video-card__caption-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.about-video-card {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  border: 1px solid rgba(17, 24, 32, 0.08);
  border-radius: 0.9rem;
  background: #111820;
  box-shadow: var(--about-shadow);
}

.about-video-card img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  object-position: center center;
  filter: saturate(0.94) contrast(1.03);
}

.about-video-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(17, 24, 32, 0.04) 0%,
      rgba(17, 24, 32, 0.24) 100%);
  pointer-events: none;
}

.about-video-card__play {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 49.6%;
  display: grid;
  width: 88px;
  height: 88px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 50%;
  color: #ffffff;
  background: rgba(17, 24, 32, 0.82);
  box-shadow: 0 1rem 2.5rem rgba(17, 24, 32, 0.24);
  transform: translate(-50%, -50%);
}

.about-video-card__play svg {
  width: 32px;
  height: 32px;
  margin-left: 4px;
  fill: currentColor;
}

.about-video-card__caption {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.85rem;
  align-items: center;
  padding: 1rem 1.15rem;
  color: #ffffff;
  background: rgba(17, 24, 32, 0.82);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: 0.94rem;
  font-weight: 700;
}

.about-video-card__caption>span:not(.about-video-card__caption-icon) {
  min-width: 0;
  overflow-wrap: anywhere;
}

.about-video-card__caption time {
  font-variant-numeric: tabular-nums;
  opacity: 0.9;
}

.about-story {
  padding-top: 2rem;
}

.about-story__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
}

.about-image-card {
  overflow: hidden;
  border: 1px solid rgba(17, 24, 32, 0.08);
  border-radius: 1rem;
  background: var(--about-muted);
  box-shadow: var(--about-shadow);
}

.about-image-card img {
  width: 100%;
  min-height: 455px;
  object-fit: cover;
  filter: saturate(0.96) contrast(1.04);
}

.about-story__image img {
  object-position: center center;
}

.about-story h2,
.about-community h2,
.about-lifecycle h2 {
  font-size: clamp(2rem, 2.8vw, 3.15rem);
}

.about-story__content>p:not(.about-eyebrow) {
  margin: 1rem 0 0;
  color: var(--about-copy);
  font-size: 1rem;
  line-height: 1.7;
}

.about-story-values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
  margin-top: 2rem;
}

.about-mini-value {
  min-width: 0;
  padding-right: 1.2rem;
  border-right: 1px solid var(--about-line);
}

.about-mini-value:last-child {
  padding-right: 0;
  border-right: 0;
}

.about-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(17, 24, 32, 0.07);
  border-radius: 50%;
  color: var(--about-navy);
  background: rgba(243, 238, 230, 0.74);
}

.about-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.about-mini-value h3,
.value-card h3,
.about-image-feature h3 {
  margin: 0.75rem 0 0.35rem;
  color: var(--about-navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  font-weight: 400;
  line-height: 1.18;
}

.about-mini-value p,
.value-card p,
.about-image-feature p {
  margin: 0;
  color: var(--about-copy);
  font-size: 0.9rem;
  line-height: 1.55;
}

.about-team {
  padding-top: clamp(3rem, 5vw, 5.5rem);
  border-top: 1px solid var(--about-line);
}

.about-team__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 3rem);
}

.team-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.82fr) minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--about-line);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 1rem 2.35rem rgba(17, 24, 32, 0.05);
}

.team-card__image {
  min-height: 330px;
  background: linear-gradient(180deg, #f3eee6 0%, #e7dfd4 100%);
}

.team-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.team-card:first-child .team-card__image img {
  object-position: center 22%;
}

.team-card:nth-child(2) .team-card__image img {
  object-position: center center;
}

.team-card__content {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(1.4rem, 2.4vw, 2.2rem);
}

.team-card h3 {
  margin: 0;
  color: var(--about-navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 2vw, 2.25rem);
  font-weight: 400;
  line-height: 1;
}

.team-card__title {
  margin: 0.45rem 0 0.95rem;
  color: var(--about-navy);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  line-height: 1.4;
  text-transform: uppercase;
}

.team-card__content>p:not(.team-card__title) {
  margin: 0 0 1.2rem;
  color: var(--about-copy);
  font-size: 0.94rem;
  line-height: 1.65;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.value-card {
  min-width: 0;
  padding: 1.35rem;
  border: 1px solid var(--about-line);
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 0.7rem 1.8rem rgba(17, 24, 32, 0.035);
}

.about-community {
  padding-top: 2rem;
}

.about-community__card {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  padding: clamp(1.2rem, 2vw, 1.7rem);
  border: 1px solid var(--about-line);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 1rem 2.6rem rgba(17, 24, 32, 0.045);
}

.about-community__copy {
  padding: clamp(1rem, 2.5vw, 2.2rem);
}

.about-community__copy>p:not(.about-eyebrow) {
  margin: 1rem 0 0;
  color: var(--about-copy);
  line-height: 1.7;
}

.about-community__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1.6rem;
}

.about-community__stats span {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 0.65rem;
  align-items: center;
  min-width: 0;
}

.about-community__stats svg {
  display: grid;
  width: 34px;
  height: 34px;
  padding: 0.45rem;
  border-radius: 50%;
  color: var(--about-navy);
  background: rgba(243, 238, 230, 0.86);
}

.about-community__stats strong {
  color: var(--about-navy);
  font-size: 0.83rem;
  line-height: 1.2;
}

.about-community__image {
  overflow: hidden;
  border-radius: 0.85rem;
  background: var(--about-muted);
}

.about-community__image img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
}

.about-lifecycle {
  padding-top: 2rem;
}

.about-lifecycle__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding: clamp(1.4rem, 2.5vw, 2rem);
  border: 1px solid var(--about-line);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.56);
}

.about-lifecycle__copy>p:not(.about-eyebrow) {
  margin: 1rem 0 0;
  color: var(--about-copy);
  line-height: 1.7;
}

.about-lifecycle__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.about-image-feature {
  overflow: hidden;
  border: 1px solid var(--about-line);
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.84);
}

.about-image-feature img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.about-image-feature div {
  padding: 1rem 1.1rem 1.15rem;
}

.about-final-cta {
  padding: 1.5rem 0 3.5rem;
}

.about-final-cta__card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1.4rem;
  align-items: center;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--about-line);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 1rem 2.6rem rgba(17, 24, 32, 0.045);
}

.about-final-cta__mark {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: var(--about-navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.1rem;
}

.about-final-cta__copy h2 {
  font-size: clamp(1.35rem, 2vw, 2rem);
}

.about-final-cta__copy p {
  margin: 0.35rem 0 0;
  color: var(--about-copy);
  font-size: 0.92rem;
}

.about-final-cta__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 1fr));
  gap: 0.85rem;
}

.about-final-cta__actions .pm-btn {
  display: flex;
  min-height: 58px;
  flex-direction: column;
  gap: 0.2rem;
  padding-block: 0.75rem;
}

.about-final-cta__actions small {
  font-size: 0.72rem;
  font-weight: 500;
  opacity: 0.78;
}

@media (max-width: 1180px) {
  .about-page .site-header {
    padding-inline: 2rem;
  }

  .about-page .logo {
    width: 180px;
  }

  .about-page .nav-links a {
    padding-inline: 0.5rem;
    font-size: 0.88rem;
  }

  .about-hero__grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(440px, 1.05fr);
    gap: 3rem;
  }

  .team-card {
    grid-template-columns: 1fr;
  }

  .team-card__image {
    min-height: 300px;
  }

  .values-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {

  .about-hero__grid,
  .about-story__grid,
  .about-community__card,
  .about-lifecycle__grid {
    grid-template-columns: 1fr;
  }

  .about-hero {
    padding-top: 4rem;
  }

  .about-hero__content {
    max-width: 760px;
  }

  .about-video-card,
  .about-video-card img {
    min-height: 380px;
  }

  .about-story {
    padding-top: 3rem;
  }

  .about-story__grid {
    gap: 2.5rem;
  }

  .about-story__image {
    order: 2;
  }

  .about-story__content {
    order: 1;
  }

  .about-team__grid {
    grid-template-columns: 1fr;
  }

  .team-card {
    grid-template-columns: minmax(220px, 0.75fr) minmax(0, 1fr);
  }

  .about-community__image img {
    min-height: 320px;
  }

  .about-final-cta__card {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .about-final-cta__actions {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .about-shell {
    width: min(100% - 2rem, 680px);
  }

  .about-page .nav-links a.is-active::after {
    display: none;
  }

  .about-section {
    padding: 4rem 0;
  }

  .about-hero h1 {
    font-size: clamp(2.55rem, 11vw, 3.6rem);
  }

  .about-actions {
    width: 100%;
  }

  .about-actions .pm-btn {
    flex: 1 1 100%;
    width: 100%;
  }

  .about-trust-pills {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .about-video-card,
  .about-video-card img {
    min-height: 320px;
  }

  .about-video-card__play {
    width: 68px;
    height: 68px;
  }

  .about-video-card__play svg {
    width: 26px;
    height: 26px;
  }

  .about-video-card__caption {
    grid-template-columns: auto minmax(0, 1fr);
    font-size: 0.82rem;
  }

  .about-video-card__caption time {
    grid-column: 2;
  }

  .about-story-values,
  .about-community__stats,
  .about-lifecycle__cards,
  .about-final-cta__actions {
    grid-template-columns: 1fr;
  }

  .about-mini-value {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 0 0.85rem;
    padding: 0;
    border-right: 0;
  }

  .about-mini-value .about-icon {
    grid-row: span 2;
  }

  .about-mini-value h3 {
    margin-top: 0.15rem;
  }

  .team-card {
    grid-template-columns: 1fr;
  }

  .team-card__image {
    min-height: 280px;
  }

  .value-card {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 0 0.85rem;
    align-items: start;
  }

  .value-card .about-icon {
    grid-row: span 2;
  }

  .value-card h3 {
    margin-top: 0.15rem;
  }

  .about-community__card,
  .about-lifecycle__grid,
  .about-final-cta__card {
    padding: 1rem;
  }

  .about-final-cta__card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-final-cta__mark {
    margin-inline: auto;
  }

  .about-final-cta__actions .pm-btn {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .about-page .logo {
    width: 120px;
  }

  .about-hero h1 {
    font-size: 2.55rem;
  }

  .about-hero__content>p:not(.about-eyebrow),
  .about-story__content>p:not(.about-eyebrow),
  .about-community__copy>p:not(.about-eyebrow),
  .about-lifecycle__copy>p:not(.about-eyebrow) {
    font-size: 0.96rem;
  }

  .about-trust-pills {
    grid-template-columns: 1fr;
  }

  .about-video-card,
  .about-video-card img {
    min-height: 285px;
  }

  .about-image-card img {
    min-height: 290px;
  }

  .team-card__image {
    min-height: 255px;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .about-community__image img {
    min-height: 260px;
  }
}

@media (max-width: 400px) {
  .about-shell {
    width: calc(100% - 1.5rem);
  }

  .about-section {
    padding: 2.5rem 0;
  }

  .about-hero h1 {
    font-size: 2.1rem;
  }

  .about-hero__content>p:not(.about-eyebrow) {
    font-size: 0.9rem;
  }

  .about-trust-pills {
    gap: 0.5rem;
  }

  .about-pill {
    padding: 0.45rem 0.85rem;
    font-size: 0.72rem;
  }

  .about-story h2,
  .about-community h2,
  .about-lifecycle h2 {
    font-size: 1.85rem;
  }

  .about-video-card,
  .about-video-card img {
    min-height: 250px;
  }

  .about-image-card img {
    min-height: 240px;
  }
}

/* -- BUILDING DETAIL PAGES -- */

.building-page {
  color: #071018;
  background: #f7f5ef;
}

.building-page .nav-links a.is-active {
  background: transparent;
  box-shadow: inset 0 -2px 0 #071018;
}

.building-shell {
  width: min(1500px, 92vw);
  margin: 0 auto;
}

.building-section {
  padding: clamp(2.4rem, 4vw, 4.5rem) 0;
}

.building-hero {
  position: relative;
  display: grid;
  min-height: clamp(420px, 52vh, 560px);
  align-items: end;
  overflow: hidden;
  color: #fffdf8;
  background-color: #111820;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  isolation: isolate;
}

.building-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(106deg,
      rgba(7, 10, 12, 0.84) 0%,
      rgba(7, 10, 12, 0.66) 40%,
      rgba(7, 10, 12, 0.24) 72%,
      rgba(7, 10, 12, 0.08) 100%),
    linear-gradient(180deg, rgba(7, 10, 12, 0.08), rgba(7, 10, 12, 0.68));
  pointer-events: none;
}

.building-hero::after {
  content: "";
  position: absolute;
  inset: 0 38% 0 -10%;
  z-index: 0;
  background: rgba(7, 10, 12, 0.24);
  clip-path: polygon(0 0, 78% 0, 100% 100%, 0 100%);
  pointer-events: none;
}

.building-hero-inner {
  position: relative;
  z-index: 1;
  width: min(1500px, 92vw);
  margin: 0 auto;
  padding: clamp(3.25rem, 6vw, 5.25rem) 0;
}

.building-hero-location,
.building-eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
}

.building-hero-location {
  color: rgba(255, 253, 248, 0.88);
}

.building-hero h1 {
  max-width: 780px;
  margin: 0;
  color: #fffdf8;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 5.8vw, 5.7rem);
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.leasing-status {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  align-items: center;
  margin: 1.15rem 0 0;
  color: rgba(255, 253, 248, 0.86);
  font-size: 1rem;
  font-weight: 650;
}

.leasing-status span:first-child {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.35rem 0.75rem;
  border: 1px solid rgba(255, 253, 248, 0.58);
  border-radius: 0.45rem;
  color: #071018;
  background: rgba(255, 253, 248, 0.86);
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.building-hero-description {
  max-width: 620px;
  margin: 1rem 0 0;
  color: rgba(255, 253, 248, 0.92);
  font-size: clamp(1rem, 1.25vw, 1.18rem);
  line-height: 1.55;
}

.building-hero-actions,
.building-final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
  margin-top: 1.55rem;
}

.building-btn {
  display: inline-flex;
  min-height: 3.1rem;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 1.35rem;
  border: 1px solid rgba(7, 16, 24, 0.72);
  border-radius: 0.5rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  transition:
    background-color 0.24s ease,
    color 0.24s ease,
    border-color 0.24s ease,
    transform 0.24s ease;
}

.building-btn:hover,
.building-btn:focus-visible {
  transform: translateY(-1px);
}

.building-btn--primary {
  color: #fffdf8;
  background: #071018;
  box-shadow: 0 0.8rem 1.6rem rgba(7, 16, 24, 0.16);
}

.building-btn--primary:hover,
.building-btn--primary:focus-visible {
  border-color: #1b252f;
  background: #1b252f;
}

.building-btn--secondary {
  border-color: rgba(255, 253, 248, 0.78);
  color: #fffdf8;
  background: rgba(255, 253, 248, 0.08);
}

.building-btn--secondary:hover,
.building-btn--secondary:focus-visible {
  background: rgba(255, 253, 248, 0.16);
}

.building-facts {
  border-bottom: 1px solid rgba(17, 24, 32, 0.1);
  background: #fffdf8;
}

.building-facts-inner {
  display: grid;
  width: min(1500px, 92vw);
  margin: 0 auto;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.building-fact {
  display: flex;
  min-height: 5.15rem;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  padding: 1rem 1.25rem;
  color: #071018;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: left;
}

.building-fact:not(:last-child) {
  border-right: 1px solid rgba(17, 24, 32, 0.1);
}

.building-fact-icon {
  display: inline-flex;
  width: 2.55rem;
  height: 2.55rem;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
}

.building-fact-icon svg,
.building-page .building-feature-card svg,
.building-map-placeholder svg {
  width: 100%;
  height: 100%;
  color: #071018;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.building-overview {
  background: #fffdf8;
}

.building-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.62fr) minmax(320px,
      0.86fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: stretch;
}

.building-eyebrow {
  color: rgba(7, 16, 24, 0.64);
}

.building-overview h2,
.building-section-heading h2,
.building-card-panel h2,
.building-final-card h2 {
  margin: 0;
  color: #071018;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.07;
}

.building-overview h2 {
  max-width: 590px;
  font-size: clamp(2rem, 3vw, 3.1rem);
}

.building-overview-copy p {
  max-width: 670px;
  margin: 1rem 0 0;
  color: rgba(7, 16, 24, 0.76);
  font-size: 1rem;
  line-height: 1.65;
}

.building-overview-cta {
  margin-top: 1.45rem;
}

.building-feature-card,
.building-card-panel,
.building-unit-card,
.building-final-card {
  border: 1px solid rgba(17, 24, 32, 0.09);
  border-radius: 0.9rem;
  background: rgba(255, 253, 248, 0.94);
  box-shadow: 0 1rem 2.6rem rgba(17, 24, 32, 0.055);
}

.building-feature-card {
  padding: clamp(1.4rem, 2vw, 2rem);
}

.building-feature-card h3 {
  margin: 0 0 1rem;
  color: #071018;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  font-weight: 600;
  text-transform: uppercase;
}

.building-feature-card ul {
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.building-feature-card li {
  display: grid;
  grid-template-columns: 1.1rem minmax(0, 1fr);
  gap: 0.7rem;
  align-items: start;
  color: rgba(7, 16, 24, 0.75);
  font-size: 0.94rem;
  line-height: 1.45;
}

.building-feature-card li svg {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.1rem;
}

.building-overview-image {
  min-height: 330px;
  overflow: hidden;
  border-radius: 0.9rem;
  background: #eeeae2;
  box-shadow: 0 1rem 2.6rem rgba(17, 24, 32, 0.075);
}

.building-overview-image img,
.building-unit-image img,
.building-gallery-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.building-units {
  background: #f7f5ef;
}

.building-section-heading {
  margin: 0 auto 1.75rem;
  text-align: center;
}

.building-section-heading h2 {
  font-size: clamp(2rem, 2.6vw, 3rem);
}

.building-section-heading p,
.building-panel-note {
  margin: 0.55rem 0 0;
  color: rgba(7, 16, 24, 0.64);
  font-size: 0.95rem;
  line-height: 1.55;
}

.building-unit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.building-unit-card {
  display: grid;
  min-width: 0;
  overflow: hidden;
  grid-template-columns: minmax(160px, 0.85fr) minmax(0, 1fr);
}

.building-unit-image {
  min-height: 220px;
  background: #eeeae2;
}

.building-unit-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 1.2rem;
}

.building-unit-copy h3 {
  margin: 0;
  color: #071018;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.15;
}

.building-unit-copy p {
  margin: 0.65rem 0 0;
  color: rgba(7, 16, 24, 0.68);
  font-size: 0.88rem;
  line-height: 1.5;
}

.building-unit-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: auto 0 0.9rem;
  padding-top: 1rem;
}

.building-unit-facts span {
  padding: 0.32rem 0.55rem;
  border: 1px solid rgba(17, 24, 32, 0.08);
  border-radius: 999px;
  color: rgba(7, 16, 24, 0.74);
  background: #f7f5ef;
  font-size: 0.74rem;
  font-weight: 700;
}

.building-card-action,
.building-small-link,
.building-text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: #071018;
  font-size: 0.85rem;
  font-weight: 800;
}

.building-card-action {
  width: 100%;
  min-height: 2.75rem;
  padding: 0.8rem 1rem;
  border-radius: 0.45rem;
  color: #fffdf8;
  background: #071018;
}

.building-amenities-nearby,
.building-location-gallery,
.building-final-cta {
  background: #f7f5ef;
}

.building-two-column {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.55fr);
  gap: 1.5rem;
  align-items: start;
}

.building-card-panel {
  padding: clamp(1.4rem, 2vw, 2rem);
}

.building-card-panel h2 {
  font-size: clamp(1.4rem, 1.7vw, 2rem);
}

.building-amenity-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.building-amenity-item {
  display: grid;
  gap: 0.65rem;
  justify-items: center;
  color: #071018;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}

.building-amenity-item svg {
  width: 2.35rem;
  height: 2.35rem;
  color: #071018;
  fill: currentColor;
}

.nearby-tabs,
.gallery-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.25rem;
  border-bottom: 1px solid rgba(17, 24, 32, 0.1);
}

.nearby-tab,
.gallery-tab {
  appearance: none;
  padding: 0 0 0.55rem;
  border: 0;
  border-bottom: 2px solid transparent;
  color: rgba(7, 16, 24, 0.66);
  background: transparent;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: default;
}

.nearby-tab {
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.nearby-tab:hover {
  color: #071018;
}

.nearby-tab.is-active,
.gallery-tab.is-active {
  border-bottom-color: #071018;
  color: #071018;
}

.building-gallery-image figcaption {
  margin: 0 0 0.45rem;
  color: rgba(7, 16, 24, 0.56);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ── Nearby Amenities: map + result list split ── */

.nearby-split {
  display: grid;
  grid-template-columns: minmax(220px, 0.85fr) minmax(0, 1.4fr);
  gap: 1.25rem;
  margin-top: 1.25rem;
  align-items: start;
}

.nearby-map {
  position: sticky;
  top: 1.5rem;
  min-height: 320px;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid rgba(17, 24, 32, 0.08);
  background:
    linear-gradient(135deg, rgba(7, 16, 24, 0.06) 25%, transparent 25%) 0 0 / 36px 36px,
    linear-gradient(225deg, rgba(7, 16, 24, 0.05) 25%, transparent 25%) 0 0 / 36px 36px,
    #ebe8e1;
  display: grid;
  place-items: center;
}

.nearby-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
}

.nearby-map-fallback {
  display: grid;
  width: min(85%, 300px);
  justify-items: center;
  gap: 0.5rem;
  padding: 1.1rem;
  border-radius: 0.75rem;
  color: rgba(7, 16, 24, 0.72);
  background: rgba(255, 253, 248, 0.92);
  text-align: center;
  font-size: 0.82rem;
  box-shadow: 0 0.9rem 2rem rgba(17, 24, 32, 0.1);
}

.nearby-place-list {
  display: grid;
  gap: 0.6rem;
  align-content: start;
}

.nearby-place-card {
  display: flex;
  gap: 0.75rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid rgba(17, 24, 32, 0.08);
  border-radius: 0.65rem;
  background: #fffdf8;
}

.nearby-place-card.is-curated {
  align-items: center;
  min-height: 4.75rem;
}

.nearby-place-icon {
  flex-shrink: 0;
  width: 2.1rem;
  height: 2.1rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(17, 24, 32, 0.06);
  color: #071018;
}

.nearby-place-icon svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nearby-place-body {
  flex: 1 1 0;
  min-width: 0;
}

.nearby-place-card.is-curated .nearby-place-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 0.75rem;
  row-gap: 0.16rem;
  align-items: center;
}

.nearby-place-category {
  margin: 0 0 0.18rem;
  color: rgba(7, 16, 24, 0.5);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nearby-place-card.is-curated .nearby-place-category {
  grid-column: 1;
}

.nearby-place-body h3 {
  margin: 0 0 0.18rem;
  color: #071018;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.98rem;
  line-height: 1.25;
}

.nearby-place-card.is-curated h3 {
  grid-column: 1;
}

.nearby-place-address {
  margin: 0 0 0.45rem;
  color: rgba(7, 16, 24, 0.6);
  font-size: 0.78rem;
  line-height: 1.3;
}

.nearby-place-card.is-curated .nearby-place-address {
  grid-column: 1;
  margin: 0;
}

.nearby-place-times {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.85rem;
  margin: 0 0 0.55rem;
  padding: 0;
  list-style: none;
  font-size: 0.76rem;
  color: rgba(7, 16, 24, 0.7);
}

.nearby-place-card.is-curated .nearby-place-times {
  grid-column: 1;
  margin: 0;
}

.nearby-place-times li.is-unavailable {
  color: rgba(7, 16, 24, 0.4);
}

.nearby-directions-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #071018;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(17, 24, 32, 0.3);
  padding-bottom: 2px;
  white-space: nowrap;
  transition: border-color 0.2s ease, gap 0.2s ease;
}

.nearby-place-card.is-curated .nearby-directions-link {
  grid-column: 2;
  grid-row: 1 / span 4;
  align-self: center;
}

.nearby-directions-link:hover {
  gap: 0.55rem;
  border-bottom-color: #071018;
}

.nearby-place-status {
  margin: 0;
  padding: 1.5rem 1rem;
  text-align: center;
  color: rgba(7, 16, 24, 0.55);
  font-size: 0.85rem;
  border: 1px dashed rgba(17, 24, 32, 0.12);
  border-radius: 0.65rem;
}

.building-panel-header {
  display: flex;
  gap: 1rem;
  align-items: start;
  justify-content: space-between;
}

.building-panel-header p {
  margin: 0.45rem 0 0;
  color: rgba(7, 16, 24, 0.66);
  font-size: 0.9rem;
}

.building-small-link {
  min-height: 2.6rem;
  flex: 0 0 auto;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(7, 16, 24, 0.42);
  border-radius: 0.45rem;
  background: rgba(255, 253, 248, 0.75);
}

.building-map-placeholder {
  display: grid;
  min-height: 280px;
  margin-top: 1.35rem;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(17, 24, 32, 0.08);
  border-radius: 0.75rem;
  background:
    linear-gradient(135deg, rgba(7, 16, 24, 0.06) 25%, transparent 25%) 0 0 / 36px 36px,
    linear-gradient(225deg, rgba(7, 16, 24, 0.05) 25%, transparent 25%) 0 0 / 36px 36px,
    #ebe8e1;
}

.building-map-placeholder div {
  display: grid;
  width: min(80%, 360px);
  justify-items: center;
  gap: 0.55rem;
  padding: 1.2rem;
  border-radius: 0.75rem;
  color: rgba(7, 16, 24, 0.72);
  background: rgba(255, 253, 248, 0.92);
  text-align: center;
  box-shadow: 0 0.9rem 2rem rgba(17, 24, 32, 0.1);
}

.building-map-placeholder svg {
  width: 2.4rem;
  height: 2.4rem;
}

.building-map-placeholder strong {
  color: #071018;
}

.building-map-placeholder span {
  font-size: 0.82rem;
}

.building-map-placeholder.has-map {
  display: block;
  padding: 0;
  background: none;
}

.building-map-placeholder.has-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 280px;
  border: 0;
}

.building-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.building-gallery-image {
  position: relative;
  min-height: 160px;
  margin: 0;
  overflow: hidden;
  border-radius: 0.65rem;
  background: #eeeae2;
}

.building-gallery-image figcaption {
  position: absolute;
  left: 0.65rem;
  bottom: 0.65rem;
  margin: 0;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  color: #071018;
  background: rgba(255, 253, 248, 0.86);
}

.building-final-cta {
  padding-top: 0;
}

.building-final-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: center;
  padding: clamp(1.35rem, 2.4vw, 2.2rem);
}

.building-final-icon {
  width: 4.8rem;
  height: 4.8rem;
  border: 1px solid rgba(17, 24, 32, 0.09);
  border-radius: 50%;
  background:
    url("./assets/img/icon-find-a-rental.svg") center / 58% no-repeat,
    #f7f5ef;
}

.building-final-card h2 {
  font-size: clamp(1.6rem, 2vw, 2.4rem);
}

.building-final-card p {
  max-width: 620px;
  margin: 0.45rem 0 0;
  color: rgba(7, 16, 24, 0.66);
  font-size: 0.95rem;
  line-height: 1.55;
}

.building-final-actions {
  justify-content: end;
  margin-top: 0;
}

.building-final-actions .building-btn--secondary {
  border-color: rgba(7, 16, 24, 0.46);
  color: #071018;
  background: rgba(255, 253, 248, 0.76);
}

.building-text-link {
  min-height: 3.1rem;
  padding-inline: 0.7rem;
}

@media (max-width: 1250px) {

  .building-overview-grid,
  .building-two-column {
    grid-template-columns: 1fr;
  }

  .building-overview-image {
    min-height: 360px;
  }

  .building-unit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .building-final-card {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .building-final-actions {
    grid-column: 1 / -1;
    justify-content: start;
  }
}

@media (max-width: 980px) {
  .building-facts-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .building-fact {
    justify-content: start;
    border-right: 0;
    border-bottom: 1px solid rgba(17, 24, 32, 0.1);
  }

  .building-fact:nth-last-child(-n + 1) {
    border-bottom: 0;
  }

  .building-unit-grid {
    grid-template-columns: 1fr;
  }

  .nearby-split {
    grid-template-columns: 1fr;
  }

  .nearby-map {
    position: static;
    min-height: 240px;
  }

  .nearby-map iframe {
    min-height: 240px;
  }

  .building-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .building-page .site-header {
    padding: 0.75rem 1rem;
  }

  .building-page .logo {
    width: 140px;
  }

  .building-page .nav-cta .btn {
    min-height: 44px;
    padding: 0.65rem 0.75rem;
    font-size: 0.74rem;
    white-space: normal;
  }

  .building-hero {
    min-height: 540px;
  }

  .building-hero-inner {
    padding: 3rem 0;
  }

  .building-hero h1 {
    font-size: clamp(2.65rem, 15vw, 4rem);
  }

  .building-hero-actions .building-btn,
  .building-final-actions .building-btn,
  .building-text-link {
    width: 100%;
  }

  .building-facts-inner {
    grid-template-columns: 1fr;
  }

  .building-fact {
    min-height: 4.6rem;
  }

  .building-unit-card {
    grid-template-columns: 1fr;
  }

  .building-unit-image {
    min-height: 240px;
  }

  .building-amenity-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .building-panel-header,
  .building-final-card {
    grid-template-columns: 1fr;
  }

  .building-panel-header {
    display: grid;
  }

  .building-small-link {
    width: 100%;
  }

  .building-gallery-grid {
    grid-template-columns: 1fr;
  }

  .building-gallery-image {
    min-height: 220px;
  }

  .building-final-icon {
    margin-inline: auto;
  }

  .building-final-card {
    text-align: center;
  }
}

@media (max-width: 460px) {
  .nearby-place-card.is-curated .nearby-place-body {
    grid-template-columns: 1fr;
  }

  .nearby-place-card.is-curated .nearby-directions-link {
    grid-column: 1;
    grid-row: auto;
    width: max-content;
    margin-top: 0.45rem;
  }

  .building-shell,
  .building-hero-inner,
  .building-facts-inner {
    width: min(100% - 1.5rem, 1500px);
  }

  .building-section {
    padding: 2rem 0;
  }

  .building-hero {
    min-height: 600px;
  }

  .building-hero h1 {
    font-size: clamp(2.2rem, 12vw, 2.8rem);
  }

  .building-amenity-grid {
    grid-template-columns: 1fr;
  }

  .building-amenity-item {
    padding: 0.75rem 1rem;
  }

  .leasing-status {
    align-items: flex-start;
    flex-direction: column;
  }

  .building-card-panel,
  .building-feature-card,
  .building-final-card {
    border-radius: 0.8rem;
  }

  .building-btn {
    padding: 0.75rem 1rem;
    font-size: 0.82rem;
  }
}

@media (max-width: 380px) {
  .building-hero-inner {
    padding: 2rem 0;
  }

  .building-hero h1 {
    font-size: 2rem;
  }

  .building-facts-inner {
    gap: 0;
  }

  .building-fact {
    padding: 0.85rem 0;
  }
}

/* ── Moving Guide Page ── */

.moving-shell {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

.moving-shell--narrow {
  width: min(880px, 92vw);
}

.moving-hero {
  padding: clamp(3rem, 6vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem);
  background: #F4F1EA;
}

.moving-section {
  padding: clamp(3rem, 6vw, 4.5rem) 0;
  background: #ffffff;
}

.moving-section--muted {
  background: #F4F1EA;
}

.moving-final-cta {
  padding: clamp(3rem, 6vw, 4.5rem) 0;
  background: #15263A;
  color: #ffffff;
  text-align: center;
}

.moving-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

.moving-hero-copy h1 {
  margin: 0 0 0.75rem;
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: clamp(2.1rem, 3.4vw, 2.9rem);
  font-weight: 700;
  color: #15263A;
  line-height: 1.08;
}

.moving-hero-copy p {
  margin: 0 0 1.5rem;
  color: rgba(17, 24, 32, 0.66);
  font-size: 0.95rem;
  line-height: 1.65;
  max-width: 34rem;
}

.moving-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.moving-hero-image {
  border-radius: 1.25rem;
  overflow: hidden;
  min-height: 320px;
}

.moving-hero-image img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.moving-card {
  background: #ffffff;
  border: 1px solid var(--remco-border);
  border-radius: 1.1rem;
  box-shadow: 0 1rem 2.6rem rgba(17, 24, 32, 0.055);
  padding: clamp(1.75rem, 3vw, 2.75rem);
}

.moving-section--muted .moving-card {
  background: #fffdf8;
}

.moving-card h2 {
  margin: 0 0 0.5rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.4rem, 2vw, 1.7rem);
  font-weight: 500;
  color: #15263A;
}

.moving-section-title {
  margin: 0 0 1.75rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.4rem, 2vw, 1.7rem);
  font-weight: 500;
  color: #15263A;
  text-align: center;
}

.moving-checklist {
  /* Override the global "ul { display: flex }" nav-list rule, which would
     otherwise lay these items out as a horizontal row. */
  display: block;
  list-style: none;
  margin: 0;
  padding: 0;
}

.checklist-item {
  border-bottom: 1px solid var(--remco-border);
}

.checklist-item:last-child {
  border-bottom: none;
}

.checklist-item label {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 0.85rem 0.25rem;
  cursor: pointer;
}

.checklist-checkbox {
  width: 1.3rem;
  height: 1.3rem;
  margin-top: 0.1rem;
  flex-shrink: 0;
  accent-color: #15263A;
  cursor: pointer;
}

.checklist-text {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--remco-text);
}

.checklist-checkbox:checked~.checklist-text {
  color: rgba(17, 24, 32, 0.4);
  text-decoration: line-through;
}

.moving-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.resource-card {
  background: #ffffff;
  border: 1px solid var(--remco-border);
  border-radius: 0.9rem;
  padding: 1.5rem;
  box-shadow: 0 1rem 2.6rem rgba(17, 24, 32, 0.05);
}

.resource-card h3 {
  margin: 0 0 0.6rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  font-weight: 500;
  color: #15263A;
}

.resource-card p {
  margin: 0 0 1rem;
  font-size: 0.87rem;
  line-height: 1.6;
  color: rgba(17, 24, 32, 0.66);
}

.resource-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #15263A;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  border-bottom: 1px solid rgba(17, 24, 32, 0.3);
  padding-bottom: 2px;
  transition:
    border-color 0.2s ease,
    gap 0.2s ease;
}

.resource-card-link:hover {
  gap: 0.55rem;
  border-color: #15263A;
}

.moving-contact {
  background: #15263A;
  color: #ffffff;
  border-radius: 1.1rem;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  text-align: center;
}

.moving-contact h2 {
  margin: 0 0 0.6rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.4rem, 2vw, 1.7rem);
  font-weight: 500;
  color: #ffffff;
}

.moving-contact p {
  margin: 0 0 1.25rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
}

.moving-contact-details {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.25rem;
  margin-bottom: 1.75rem;
  font-size: 0.9rem;
}

.moving-contact-name {
  font-weight: 700;
}

.moving-contact-details a {
  color: #ffffff;
  text-decoration: underline;
}

.moving-contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
}

/* Dark-background buttons need their own contrast pair — the default
   .home-button--primary is near-black and would nearly disappear against
   this section's navy background. */
.moving-contact .home-button--primary,
.moving-final-cta .home-button--primary {
  background: #ffffff;
  border-color: #ffffff;
  color: #15263A;
}

.moving-contact .home-button--primary:hover,
.moving-final-cta .home-button--primary:hover {
  background: #F4F1EA;
  border-color: #F4F1EA;
}

.moving-contact .home-button--secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
  color: #ffffff;
}

.moving-contact .home-button--secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #ffffff;
}

.moving-final-cta h2 {
  margin: 0 0 0.75rem;
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 2.6vw, 2.2rem);
  font-weight: 700;
  color: #ffffff;
}

.moving-final-cta p {
  margin: 0 auto 1.5rem;
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
}

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

  .moving-hero-image {
    order: -1;
    min-height: 240px;
  }

  .moving-hero-image img {
    min-height: 240px;
  }

  .moving-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .moving-hero-actions,
  .moving-contact-actions {
    flex-direction: column;
  }

  .moving-hero-actions .home-button,
  .moving-contact-actions .home-button,
  .moving-final-cta .home-button {
    width: 100%;
  }

  .checklist-item label {
    padding: 1rem 0.15rem;
  }
}

/* ── Renter Tools Page (extends Moving Guide component set) ── */

.renter-tools-section {
  scroll-margin-top: 120px;
}

.moving-section-subhead {
  margin: -1.25rem 0 2rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(17, 24, 32, 0.62);
  text-align: center;
}

.moving-shell--narrow .moving-section-subhead {
  margin-top: -1.25rem;
}

.moving-final-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
}

.moving-section-cta {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.moving-guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: start;
}

.moving-grid--2col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.moving-grid--3col {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Quick section nav */

.renter-tools-subnav {
  position: sticky;
  top: 0;
  z-index: 5;
  background: #ffffff;
  border-bottom: 1px solid var(--remco-border);
}

.renter-tools-subnav-inner {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.25rem, 3vw, 2.25rem);
  padding: 0.9rem 0;
}

.renter-tools-subnav-inner a {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(17, 24, 32, 0.62);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.renter-tools-subnav-inner a:hover,
.renter-tools-subnav-inner a:focus-visible {
  color: #15263A;
}

/* FAQ accordion */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--remco-border);
  border-radius: 0.9rem;
  padding: 0.25rem 1.25rem;
  box-shadow: 0 1rem 2.6rem rgba(17, 24, 32, 0.05);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 1.75rem 1.1rem 0;
  font-size: 0.98rem;
  font-weight: 600;
  color: #15263A;
  position: relative;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 1.05rem;
  font-size: 1.2rem;
  font-weight: 400;
  color: rgba(17, 24, 32, 0.45);
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  content: "\2212";
}

.faq-item p {
  margin: 0 0 1.1rem;
  font-size: 0.9rem;
  line-height: 1.65;
  color: rgba(17, 24, 32, 0.66);
}

@media (max-width: 900px) {

  .moving-guide-grid,
  .moving-grid--3col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {

  .moving-guide-grid,
  .moving-grid--2col,
  .moving-grid--3col {
    grid-template-columns: 1fr;
  }

  .moving-final-cta-actions {
    flex-direction: column;
  }

  .moving-final-cta-actions .home-button {
    width: 100%;
  }

  .renter-tools-subnav-inner {
    flex-wrap: nowrap;
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .renter-tools-subnav-inner::-webkit-scrollbar {
    display: none;
  }
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS (homepage)
   ==========================================================================
   Powered by assets/js/scroll-reveal.js. Elements opt in with
   `data-reveal="fade-up | fade-left | fade-right | soft-scale | clip-left"`
   and an optional `data-reveal-delay="<ms>"` for staggering repeated items.

   Scoped to `html.js-reveal` (set by a tiny inline bootstrap script in
   index.html's <head>, before first paint) so content stays visible by
   default if JavaScript never runs — the hidden starting state is only
   ever applied on top of that opt-in, never as a bare fallback.

   scroll-reveal.js removes the `data-reveal`/`data-reveal-delay` attributes
   entirely once each element's entrance finishes, so nothing here persists
   afterward — this section intentionally never touches elements that
   already own a hover transition of their own (.rental-panel,
   .rt-service-card, button/link hover states, etc.); those are revealed via
   a non-conflicting wrapper instead. See the comment above each `data-
   reveal` attribute in index.html for why that element was chosen.
   ========================================================================== */

@media (prefers-reduced-motion: no-preference) {
  html.js-reveal [data-reveal] {
    opacity: 0;
    transition:
      opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
      transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
      clip-path 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: var(--reveal-delay, 0ms);
  }

  html.js-reveal [data-reveal="fade-up"] {
    transform: translateY(28px);
  }

  html.js-reveal [data-reveal="fade-left"] {
    transform: translateX(-32px);
  }

  html.js-reveal [data-reveal="fade-right"] {
    transform: translateX(32px);
  }

  html.js-reveal [data-reveal="soft-scale"] {
    transform: scale(0.96);
  }

  /* Left-to-right wipe: stays fully opaque, only the visible region grows —
     avoids compounding with an opacity fade for a cleaner "unveil" feel. */
  html.js-reveal [data-reveal="clip-left"] {
    opacity: 1;
    clip-path: inset(0 100% 0 0);
  }

  html.js-reveal [data-reveal].is-revealed {
    opacity: 1;
    transform: none;
    clip-path: inset(0 0 0 0);
  }
}