:root {
  --alabaster: #FAF9F6;
  --travertine: #F1EFEA;
  --sand: #E6E3DC;
  --white: #FFFFFF;
  --espresso: #141619;
  --charcoal: #26292E;
  --muted: #585B61;
  --brass: #7F5F3C;
  --brass-dark: #6E5234;
  --brass-tint: #F5F2EC;
  --border: #DEDAD2;
  --hairline: rgba(20, 22, 25, 0.11);
  --font-display: 'Playfair Display', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-style: normal !important;
}

html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  position: relative;
  scroll-behavior: smooth;
  background: var(--alabaster);
  color: var(--espresso);
}

body {
  font-family: var(--font-sans);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.page-wrapper {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  position: relative;
}

.hero-grid > *,
.flagship-body > *,
.secondary-residences > *,
.estimator-shell > *,
.process-grid > *,
.process-card > *,
.about-grid > *,
.consult-grid > *,
.footer-grid > * {
  min-width: 0;
  max-width: 100%;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--espresso);
  overflow-wrap: break-word;
}

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

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

.container {
  width: 100%;
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 36px;
}

/* Crisp Architectural Kicker / Eyebrow (Zero Italics) */
.eyebrow,
.kicker-caps {
  display: block;
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.005em;
  color: var(--brass);
  margin-bottom: 12px;
}

/* Main Sticky Architectural Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hairline);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  gap: 24px;
}

.brand-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo img {
  height: 46px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.005em;
  color: var(--charcoal);
}

.nav-links a {
  padding: 6px 0;
  border-bottom: 1.5px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--espresso);
  border-bottom-color: var(--brass);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-shrink: 0;
}

/* Mobile unboxed architectural triggers */
.mobile-inquire-link {
  display: none;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.005em;
  color: var(--espresso);
  border-bottom: 1.5px solid var(--brass);
  padding-bottom: 3px;
  max-width: 42vw;
  text-align: right;
  line-height: 1.25;
  white-space: normal;
}

.mobile-menu-trigger {
  display: none;
  align-items: center;
  gap: 9px;
  background: transparent;
  border: none;
  color: var(--espresso);
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.005em;
  cursor: pointer;
  padding: 6px 0;
}

.menu-lines {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 22px;
  height: 14px;
}

.menu-lines span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--espresso);
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.mobile-menu-trigger.open .menu-lines span:first-child {
  transform: translateY(3.2px) rotate(45deg);
}

.mobile-menu-trigger.open .menu-lines span:last-child {
  transform: translateY(-3.2px) rotate(-45deg);
}

/* Modern Architectural Full-Screen Mobile Menu Curtain */
.mobile-drawer {
  display: none;
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  bottom: 0;
  height: calc(100vh - 68px);
  background: var(--white);
  z-index: 115;
  padding: 32px 24px 36px;
  overflow-y: auto;
  flex-direction: column;
  justify-content: space-between;
}

.mobile-drawer.open {
  display: flex;
}

.drawer-kicker {
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.005em;
  color: var(--brass);
  margin-bottom: 14px;
}

.drawer-nav-list {
  list-style: none;
  border-top: 1px solid var(--hairline);
}

.drawer-nav-list li {
  border-bottom: 1px solid var(--hairline);
}

.drawer-nav-link {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 16px 0;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -0.015em;
  color: var(--espresso);
  transition: color 0.18s ease;
}

.drawer-nav-link:hover,
.drawer-nav-link.active {
  color: var(--brass);
  font-weight: 500;
}

.drawer-nav-link small {
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.005em;
  color: var(--muted);
}

.drawer-footer {
  padding-top: 24px;
  text-align: center;
}

.drawer-crest {
  width: 44px;
  height: 44px;
  object-fit: contain;
  margin: 0 auto 10px;
  opacity: 0.9;
}

.drawer-phone {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--espresso);
  margin-bottom: 4px;
}

.drawer-locales {
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.005em;
  color: var(--muted);
  margin-bottom: 18px;
}

/* Crisp Architectural Buttons & Upright Links (Zero Italics, Zero Rounded Pills) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 28px;
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.005em;
  border-radius: 0;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.22s ease;
  text-align: center;
  max-width: 100%;
}

.btn-primary {
  background: var(--espresso);
  color: var(--white);
  border-color: var(--espresso);
}

.btn-primary:hover {
  background: var(--brass);
  border-color: var(--brass);
}

.btn-bronze {
  background: var(--brass);
  color: var(--white);
  border-color: var(--brass);
}

.btn-bronze:hover {
  background: var(--espresso);
  border-color: var(--espresso);
}

.btn-outline {
  background: transparent;
  color: var(--espresso);
  border-color: var(--espresso);
}

.btn-outline:hover {
  background: var(--espresso);
  color: var(--white);
}

.editorial-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.005em;
  color: var(--espresso);
  border-bottom: 1.5px solid var(--brass);
  padding-bottom: 5px;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.editorial-link:hover {
  color: var(--brass);
}

/* Hero Section — Full-Bleed Twilight Custom Estate Rendering */
.hero {
  position: relative;
  padding: 84px 0 0;
  background-color: #121519;
  background-image:
    linear-gradient(100deg, rgba(14, 17, 22, 0.88) 0%, rgba(14, 17, 22, 0.72) 48%, rgba(14, 17, 22, 0.38) 100%),
    url('assets/images/maple-elevation-twilight.jpg');
  background-size: cover;
  background-position: center 38%;
  background-repeat: no-repeat;
  border-bottom: 1px solid var(--border);
  color: #FAF9F6;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 52px;
  align-items: end;
  padding-bottom: 72px;
}

.hero .eyebrow {
  color: #D8B589;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

.hero h1 {
  font-size: clamp(42px, 4.7vw, 66px);
  font-weight: 400;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
  color: #FFFFFF;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}

.hero-lead {
  font-size: 16px;
  color: rgba(250, 249, 246, 0.88);
  margin-bottom: 30px;
  max-width: 550px;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4);
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
  margin-bottom: 38px;
}

.hero .btn-primary {
  background: #C69C6D;
  color: #121519;
  border-color: #C69C6D;
  font-weight: 700;
}

.hero .btn-primary:hover {
  background: #FFFFFF;
  color: #121519;
  border-color: #FFFFFF;
}

.hero .editorial-link {
  color: #FAF9F6;
  border-bottom-color: #D8B589;
}

.hero .editorial-link:hover {
  color: #D8B589;
}

/* Architectural Caption Plate over Rendering */
.hero-caption-plate {
  background: rgba(18, 21, 26, 0.74);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-left: 3px solid #C69C6D;
  padding: 20px 22px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
}

.plate-kicker {
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.005em;
  color: #D8B589;
  margin-bottom: 5px;
}

.plate-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: #FFFFFF;
}

.plate-specs {
  font-size: 12.5px;
  color: rgba(250, 249, 246, 0.78);
  margin-top: 4px;
}

.hero-visuals {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.hero-main-img {
  grid-column: 1 / -1;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.hero-main-img img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.hero-sub-img {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: #141619;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.hero-sub-img img {
  width: 100%;
  height: 155px;
  object-fit: cover;
}

.img-caption-strip {
  background: rgba(18, 21, 26, 0.9);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 10px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.005em;
  color: #FAF9F6;
}

/* Credentials Bar */
.credentials-bar {
  background: var(--travertine);
  border-top: 1px solid var(--border);
  padding: 30px 0;
}

.credentials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.cred-item {
  border-right: 1px solid var(--border);
  padding-right: 20px;
}

.cred-item:last-child {
  border-right: none;
}

.cred-val {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--espresso);
  margin-bottom: 4px;
}

.cred-lbl {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.01em;
}

/* Section Shell */
section.sec {
  padding: 88px 0;
  border-bottom: 1px solid var(--border);
}

section.sec.alt {
  background: var(--travertine);
}

section.sec.pure {
  background: var(--white);
}

.sec-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.sec-head h2 {
  font-size: clamp(30px, 3.6vw, 46px);
  max-width: 760px;
}

.sec-head p {
  font-size: 15.5px;
  color: var(--muted);
  max-width: 650px;
  margin-top: 10px;
}

/* Architectural Underline Tab Bars (Upright Geometric Sans) */
.arch-tab-bar {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--border);
  margin-bottom: 36px;
}

.arch-tab {
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 10px 0 12px;
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.005em;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.18s ease;
}

.arch-tab:hover {
  color: var(--espresso);
}

.arch-tab.active {
  color: var(--espresso);
  border-bottom-color: var(--brass);
}

/* Flagship Residence & Floor Plan Showcase */
.flagship-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 36px;
  margin-bottom: 36px;
}

.flagship-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.flagship-top h3 {
  font-size: clamp(26px, 3vw, 38px);
  margin-bottom: 6px;
}

.flagship-price {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--espresso);
}

.flagship-specs-line {
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.005em;
  color: var(--muted);
}

.flagship-body {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 36px;
  align-items: start;
}

.residence-gallery-main {
  overflow: hidden;
  border: 1px solid var(--border);
  margin-bottom: 12px;
}

.residence-gallery-main img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.residence-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.residence-thumbs img {
  width: 100%;
  height: 82px;
  object-fit: cover;
  cursor: pointer;
  border: 1px solid var(--border);
  opacity: 0.75;
  transition: all 0.18s ease;
}

.residence-thumbs img.active,
.residence-thumbs img:hover {
  border-color: var(--brass);
  opacity: 1;
}

/* Interactive 3-Level Floor Plan Switcher */
.floorplan-box {
  background: var(--alabaster);
  border: 1px solid var(--border);
  padding: 24px;
}

.fp-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.fp-underline-tabs {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--border);
  margin-bottom: 14px;
}

.fp-tab {
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 6px 0 9px;
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.005em;
  color: var(--muted);
  cursor: pointer;
}

.fp-tab.active {
  color: var(--espresso);
  border-bottom-color: var(--espresso);
}

.fp-home-tab.active {
  color: var(--brass-dark);
  border-bottom-color: var(--brass);
}

.fp-stage {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 14px;
  text-align: center;
}

.fp-stage img {
  width: 100%;
  height: 300px;
  object-fit: contain;
  margin: 0 auto;
  cursor: zoom-in;
}

.fp-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
}

/* Secondary Residence Cards */
.secondary-residences {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.res-card {
  background: var(--white);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.res-card-img {
  position: relative;
  height: 290px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.res-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.res-card-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.res-card-body h3 {
  font-size: 26px;
  margin-bottom: 6px;
}

.res-card-body p {
  color: var(--muted);
  font-size: 14.5px;
  margin-top: 12px;
  margin-bottom: 22px;
  flex: 1;
}

.res-card-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: auto;
}

/* Architectural Details Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.gallery-card {
  background: var(--white);
  border: 1px solid var(--border);
  cursor: pointer;
}

.gallery-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-bottom: 1px solid var(--border);
}

.gallery-card-info {
  padding: 16px 20px;
}

.gallery-card-tag {
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.005em;
  color: var(--brass);
  margin-bottom: 5px;
}

.gallery-card-title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 400;
  letter-spacing: -0.015em;
  color: var(--espresso);
}

/* Interactive Custom Build Estimator */
.estimator-shell {
  background: var(--travertine);
  border: 1px solid var(--border);
  padding: 36px;
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 36px;
  align-items: center;
}

.est-group {
  margin-bottom: 26px;
}

.est-label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.005em;
  color: var(--charcoal);
  margin-bottom: 12px;
}

.est-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.est-pill {
  padding: 11px 16px;
  border-radius: 0;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--espresso);
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  max-width: 100%;
  transition: all 0.18s ease;
}

.est-pill.active,
.est-pill.comm.active {
  background: var(--espresso);
  color: var(--white);
  border-color: var(--espresso);
}

.slider-wrap input[type="range"] {
  width: 100%;
  accent-color: var(--brass);
  height: 4px;
  cursor: pointer;
  margin: 12px 0;
}

.est-result-card {
  background: var(--white);
  border: 1px solid var(--brass);
  padding: 32px;
}

.est-price-out {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 400;
  letter-spacing: -0.025em;
  color: var(--espresso);
  margin: 6px 0 10px;
}

.est-meta-line {
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.005em;
  color: var(--brass);
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

/* 4-Phase Process Cards & Comparison Table */
.process-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-bottom: 56px;
}

.process-card {
  background: var(--white);
  border: 1px solid var(--border);
  display: grid;
  grid-template-columns: 200px 1fr;
}

.process-card img {
  width: 100%;
  height: 100%;
  min-height: 230px;
  object-fit: cover;
  border-right: 1px solid var(--border);
}

.process-card-body {
  padding: 26px;
}

.process-step-num {
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.005em;
  color: var(--brass);
  margin-bottom: 6px;
}

.process-card-body h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.process-card-body p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 10px;
}

.process-card-body ul {
  list-style: none;
  font-size: 13px;
  color: var(--charcoal);
}

.process-card-body li {
  padding: 3px 0;
}

.process-card-body li::before {
  content: "— ";
  color: var(--brass);
}

.comp-table-wrap {
  background: var(--white);
  border: 1px solid var(--border);
}

.comp-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  table-layout: fixed;
}

.comp-table th,
.comp-table td {
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  overflow-wrap: break-word;
}

.comp-table th {
  background: var(--travertine);
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.005em;
  color: var(--espresso);
}

.comp-table td:nth-child(2) {
  background: var(--brass-tint);
  font-weight: 500;
  color: var(--espresso);
}

/* About Ankur & Consultation Suite */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.portrait-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 20px;
}

.portrait-card img.main-portrait {
  width: 100%;
  height: 450px;
  object-fit: cover;
  margin-bottom: 16px;
}

.emblem-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--alabaster);
  border: 1px solid var(--border);
  padding: 16px;
}

.emblem-card img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  flex-shrink: 0;
}

.consult-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 48px;
  align-items: start;
}

.session-steps {
  list-style: none;
  margin: 22px 0 28px;
  border-top: 1px solid var(--border);
}

.session-steps li {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 16px;
  align-items: baseline;
}

.step-roman {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  color: var(--brass);
  min-width: 24px;
}

.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 2px solid var(--brass);
  padding: 36px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.005em;
  color: var(--charcoal);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--border);
  border-radius: 0;
  background: var(--alabaster);
  font-family: inherit;
  font-size: 14.5px;
  color: var(--espresso);
}

/* Footer */
.site-footer {
  background: var(--travertine);
  border-top: 1px solid var(--border);
  padding: 64px 0 40px;
  color: var(--charcoal);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}

.footer-col h4,
.footer-col .footer-title {
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.005em;
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
  display: grid;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
}

.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  color: var(--muted);
  flex-wrap: wrap;
  gap: 12px;
}

/* Modal Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(20, 22, 25, 0.9);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.lightbox.open {
  display: flex;
}

.lightbox-card {
  background: var(--white);
  border-radius: 0;
  max-width: 1040px;
  width: 100%;
  padding: 20px;
  position: relative;
}

.lightbox-card img {
  width: 100%;
  max-height: 76vh;
  object-fit: contain;
  margin: 0 auto;
}

.lightbox-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: var(--espresso);
  color: var(--white);
  border: none;
  padding: 8px 14px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.005em;
  cursor: pointer;
}

/* Responsive Rules */
@media (max-width: 1080px) {
  .hero-grid,
  .flagship-body,
  .secondary-residences,
  .estimator-shell,
  .process-grid,
  .about-grid,
  .consult-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .credentials-grid,
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
  .nav-links,
  .nav-cta-desktop {
    display: none;
  }
  .mobile-inquire-link,
  .mobile-menu-trigger {
    display: inline-flex;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  .nav-inner {
    height: 68px;
    gap: 12px;
  }

  .brand-logo img {
    height: 36px;
  }

  /* Modern Architectural Hero on Mobile with Full-Bleed Rendering */
  .hero {
    padding: 36px 0 0;
    background-image:
      linear-gradient(180deg, rgba(12, 15, 20, 0.5) 0%, rgba(12, 15, 20, 0.78) 48%, rgba(12, 15, 20, 0.92) 100%),
      url('assets/images/maple-elevation-twilight.jpg');
    background-position: 58% 22%;
    background-size: auto 760px;
  }

  .hero-grid {
    gap: 24px;
    padding-bottom: 36px;
  }

  .eyebrow {
    font-size: 10px;
    letter-spacing: 0.18em;
    margin-bottom: 8px;
  }

  .hero h1 {
    font-size: 36px;
    line-height: 1.08;
    letter-spacing: -0.025em;
    margin-bottom: 14px;
  }

  .hero-lead {
    font-size: 14.5px;
    line-height: 1.6;
    margin-bottom: 22px;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 26px;
  }

  .hero-ctas .btn {
    width: 100%;
  }

  .hero-caption-plate {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 16px 0;
  }

  .hero-main-img img {
    height: 230px;
  }

  .hero-sub-img img {
    height: 125px;
  }

  .img-caption-strip {
    font-size: 10px;
    padding: 8px 10px;
  }

  /* 2x2 Architectural Hairline Credentials Grid on Mobile */
  .credentials-bar {
    padding: 22px 0;
  }

  .credentials-grid {
    grid-template-columns: 1fr 1fr;
    gap: 18px 14px;
  }

  .cred-item {
    border-right: none;
    padding-right: 0;
    border-top: 1px solid var(--border);
    padding-top: 10px;
  }

  .cred-val {
    font-size: 22px;
  }

  .cred-lbl {
    font-size: 11.5px;
    line-height: 1.35;
  }

  section.sec {
    padding: 52px 0;
  }

  .arch-tab-bar {
    gap: 16px;
  }

  .arch-tab {
    font-size: 11px;
    padding: 6px 0 8px;
  }

  .flagship-card,
  .res-card-body,
  .estimator-shell,
  .est-result-card,
  .form-card {
    padding: 20px 16px;
  }

  .floorplan-box {
    padding: 16px;
  }

  .residence-gallery-main img {
    height: 230px;
  }

  .residence-thumbs {
    gap: 6px;
  }

  .residence-thumbs img {
    height: 58px;
  }

  .fp-stage img {
    height: 220px;
  }

  .gallery-grid,
  .process-card {
    grid-template-columns: 1fr;
  }

  .process-card img {
    min-height: 190px;
    max-height: 210px;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .comp-table th,
  .comp-table td {
    padding: 10px 8px;
    font-size: 12px;
  }

  .portrait-card img.main-portrait {
    height: 330px;
  }
}
/* ==========================================================================
   REUSABLE PROPERTY TEMPLATE PAGE (property.html) & FULL GALLERY SYSTEM
   ========================================================================== */
.prop-subnav {
  background: var(--travertine);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}

.prop-subnav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.prop-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.005em;
  color: var(--muted);
  flex-wrap: wrap;
}

.prop-breadcrumb a:hover {
  color: var(--brass);
}

.prop-breadcrumb .current {
  color: var(--espresso);
}

.prop-switcher-pills {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.prop-switch-pill {
  padding: 7px 13px;
  border: 1px solid var(--border);
  background: var(--white);
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.005em;
  color: var(--charcoal);
  cursor: pointer;
  transition: all 0.18s ease;
}

.prop-switch-pill:hover {
  border-color: var(--brass);
  color: var(--espresso);
}

.prop-switch-pill.active {
  background: var(--espresso);
  color: var(--white);
  border-color: var(--espresso);
}

.prop-hero-sec {
  padding: 48px 0 64px;
  border-bottom: 1px solid var(--border);
  background: var(--alabaster);
}

.prop-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.prop-header-bar > div:first-child {
  flex: 1 1 auto;
  min-width: 0;
}

.prop-price-box {
  text-align: right;
  flex: 0 0 auto;
  align-self: flex-end;
}

.status-badge-pill {
  display: inline-block;
  padding: 6px 12px;
  background: var(--brass-tint);
  border: 1px solid var(--brass);
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.005em;
  color: var(--brass-dark);
  margin-bottom: 12px;
}

.prop-header-bar h1 {
  font-size: clamp(32px, 4vw, 52px);
  margin-bottom: 8px;
  color: var(--espresso);
}

.prop-address-line {
  font-size: 14px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.prop-price-box {
  text-align: right;
}

.prop-price-val {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.2vw, 42px);
  color: var(--espresso);
  line-height: 1.1;
  margin-bottom: 6px;
}

.prop-specs-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 18px;
  background: var(--white);
  border: 1px solid var(--border);
  padding: 20px 24px;
  margin-bottom: 36px;
}

.prop-spec-cell {
  border-right: 1px solid var(--border);
  padding-right: 14px;
}

.prop-spec-cell:last-child {
  border-right: none;
  padding-right: 0;
}

.prop-spec-lbl {
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.005em;
  color: var(--brass);
  margin-bottom: 4px;
}

.prop-spec-val {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--espresso);
}

.prop-main-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 36px;
  align-items: start;
}

.prop-main-grid > * {
  min-width: 0;
  max-width: 100%;
}

.prop-stage-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 16px;
  margin-bottom: 28px;
}

.prop-stage-img-box {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  margin-bottom: 12px;
  background: #141619;
}

.prop-stage-img-box img {
  width: 100%;
  height: 430px;
  object-fit: cover;
  cursor: zoom-in;
}

.prop-stage-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 4px 14px;
  font-size: 12px;
  color: var(--muted);
  flex-wrap: wrap;
}

.prop-thumbs-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.prop-thumbs-grid img {
  width: 100%;
  height: 76px;
  object-fit: cover;
  border: 1px solid var(--border);
  cursor: pointer;
  opacity: 0.72;
  transition: all 0.18s ease;
  background: var(--alabaster);
}

.prop-thumbs-grid img.active,
.prop-thumbs-grid img:hover {
  opacity: 1;
  border-color: var(--brass);
}

.prop-narrative-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 32px;
  margin-bottom: 28px;
}

.prop-narrative-card h2 {
  font-size: 28px;
  margin-bottom: 14px;
}

.prop-narrative-card p {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 16px;
}

.prop-highlights-list {
  list-style: none;
  margin-top: 20px;
  border-top: 1px solid var(--border);
  padding-top: 18px;
  display: grid;
  gap: 10px;
}

.prop-highlights-list li {
  font-size: 14px;
  color: var(--charcoal);
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.prop-highlights-list li::before {
  content: "—";
  color: var(--brass);
  font-weight: 700;
  flex-shrink: 0;
}

.prop-prev-next-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 28px;
  background: var(--white);
  border: 1px solid var(--border);
  margin-top: 36px;
  flex-wrap: wrap;
}

/* Builder Property Manager Drawer (Add / Remove Property Template UI) */
.template-manager-box {
  background: var(--white);
  border: 1px solid var(--brass);
  padding: 28px;
  margin-top: 40px;
}

.template-manager-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.template-manager-body {
  display: none;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.template-manager-body.open {
  display: block;
}

.manager-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 28px;
  align-items: start;
}

.manager-grid > * {
  min-width: 0;
  max-width: 100%;
}

.manager-prop-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  background: var(--alabaster);
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.code-preview-pre {
  background: #141619;
  color: #FAF9F6;
  padding: 16px;
  font-family: monospace;
  font-size: 12px;
  overflow-x: auto;
  border: 1px solid var(--border);
  max-height: 260px;
  margin-top: 14px;
}

@media (max-width: 1080px) {
  .prop-main-grid,
  .manager-grid {
    grid-template-columns: 1fr;
  }
  .prop-specs-strip {
    grid-auto-flow: row;
    grid-template-columns: repeat(3, 1fr);
  }
  .prop-price-box {
    text-align: left;
  }
}

@media (max-width: 768px) {
  .prop-hero-sec {
    padding: 28px 0 44px;
  }
  .prop-specs-strip {
    grid-auto-flow: row;
    grid-template-columns: 1fr 1fr;
    padding: 16px;
    gap: 14px;
  }
  .prop-spec-cell {
    border-right: none;
    padding-right: 0;
    border-bottom: 1px solid var(--border);
    padding-bottom: 10px;
  }
  .prop-spec-cell:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
  .prop-stage-img-box img {
    height: 240px;
  }
  .prop-thumbs-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
  }
  .prop-thumbs-grid img {
    height: 56px;
  }
  .prop-narrative-card,
  .template-manager-box,
  .prop-prev-next-bar {
    padding: 20px 16px;
  }
}

/* ==========================================================================
   Nov 23 2026 revision (Ankur's call): simple hero, featured home,
   homes / specs / lots, questions, working forms
   ========================================================================== */
.hero-simple { padding-top: 64px; padding-bottom: 96px; }
.hero-simple h1 { max-width: 760px; }
.hero-simple .hero-lead { max-width: 600px; }
.hero { padding-top: 60px; min-height: min(78vh, 720px); display: flex; align-items: flex-end; }
.hero > .container { width: 100%; }

.status-line { font-size: 13.5px; font-weight: 600; color: var(--brass); margin: 0 0 8px; }
.flagship-top h3 { font-size: clamp(26px, 2.6vw, 34px); }
.flagship-top h3 a, .res-card-body h3 a { color: inherit; text-decoration: none; }
.flagship-top h3 a:hover, .res-card-body h3 a:hover { color: var(--brass-dark); }
.flagship-price-note { font-size: 13.5px; color: var(--muted); text-align: right; }
.flagship-summary { margin-top: 18px; font-size: 15px; color: var(--muted); }
.flagship-actions, .about-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 22px; }
.fp-header h4 { font-family: var(--font-display); font-size: 22px; font-weight: 400; }
.as-button { background: none; border-top: 0; border-left: 0; border-right: 0; cursor: pointer; }

.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.category-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--border); text-decoration: none; color: var(--espresso); transition: border-color .2s ease, transform .2s ease; }
.category-card:hover { border-color: var(--brass); transform: translateY(-2px); }
.category-img { display: block; overflow: hidden; }
.category-img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.category-body { display: flex; flex-direction: column; gap: 6px; padding: 22px 24px 26px; flex: 1; }
.category-title { font-family: var(--font-display); font-size: 26px; line-height: 1.15; }
.category-text { font-size: 14.5px; color: var(--muted); flex: 1; }
.category-link { margin-top: 10px; align-self: flex-start; font-size: 13.5px; font-weight: 600; border-bottom: 1.5px solid var(--brass); padding-bottom: 4px; }

.listing-grid { display: grid; grid-template-columns: 1fr; gap: 28px; }
.listing-grid .res-card { display: grid; grid-template-columns: 1.15fr 1fr; }
.listing-grid .res-card-img img { height: 100%; min-height: 320px; }
.listing-grid .res-card-body { padding: 36px; justify-content: center; }
.gallery-card-tag { display: none; }
.res-card-img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.res-card-body h3 { font-size: 26px; margin-bottom: 8px; }
.res-card-body > p:not(.status-line) { font-size: 14.5px; color: var(--muted); margin: 14px 0 0; }
.res-card-actions { margin-top: auto; padding-top: 22px; display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }

.about-text h2 { font-size: clamp(30px, 3.6vw, 46px); margin-bottom: 18px; }
.about-text h3 { font-size: 28px; margin: 28px 0 10px; }
.about-text p { font-size: 15px; color: var(--muted); margin-bottom: 16px; }
.emblem-card p { font-size: 13px; color: var(--muted); margin: 0; }
.emblem-card img { width: 46px; height: auto; }

.faq-grid { display: grid; grid-template-columns: 0.8fr 1.6fr; gap: 48px; align-items: start; }
.faq-grid h2 { font-size: clamp(30px, 3.6vw, 46px); }
.faq-list { border-top: 1px solid var(--border); }
.faq-item { padding: 20px 0; border-bottom: 1px solid var(--border); }
.faq-item h3 { font-size: 22px; margin-bottom: 6px; }
.faq-item p { font-size: 15px; color: var(--muted); margin: 0; }
.faq-item a { color: var(--espresso); border-bottom: 1px solid var(--brass); }

.consult-intro h2 { font-size: clamp(30px, 3.8vw, 46px); margin-bottom: 14px; }
.consult-intro > p { font-size: 15px; color: var(--muted); }
.consult-direct { margin-top: 20px; line-height: 1.9; }
.consult-direct a { color: var(--espresso); font-weight: 600; }
.form-label-row { font-size: 13.5px; color: var(--muted); margin-bottom: 4px; }
.topic-bar { gap: 18px; margin-bottom: 22px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 14px 0 0; font-size: 14px; color: var(--charcoal); text-align: center; }
.form-status.error { color: #8a2c2c; }
.footer-blurb { font-size: 14px; color: var(--muted); max-width: 320px; }
.lightbox-caption { margin-top: 12px; text-align: center; font-family: var(--font-display); font-size: 20px; color: var(--espresso); }

.page-title { font-size: clamp(34px, 4.4vw, 56px) !important; }

@media (max-width: 1080px) {
  .category-grid { grid-template-columns: 1fr 1fr; }
  .faq-grid { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 768px) {
  .hero { min-height: 0; }
  .hero-simple { padding-top: 40px; padding-bottom: 56px; }
  .category-grid { grid-template-columns: 1fr; }
  .listing-grid .res-card { grid-template-columns: 1fr; }
  .listing-grid .res-card-img img { min-height: 0; height: auto; }
  .listing-grid .res-card-body { padding: 26px; }
  .flagship-price-note { text-align: left; }
}

/* Nov 24: listings without photos yet, actionable floor-plan button */
.mini-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; margin-top: 28px; }
.listing-grid + .mini-grid { margin-top: 28px; }
.listing-mini { background: var(--white); border: 1px solid var(--border); border-top: 2px solid var(--brass); padding: 26px; display: flex; flex-direction: column; gap: 4px; }
.listing-mini h3 { font-size: 26px; margin: 2px 0 2px; }
.mini-place { font-size: 14.5px; color: var(--muted); margin: 0; }
.mini-note { font-size: 14.5px; color: var(--muted); margin: 10px 0 16px; flex: 1; }
.listing-mini .editorial-link { align-self: flex-start; }
.fp-caption { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.fp-cta { padding: 12px 20px; font-size: 14px; }
.category-img img { aspect-ratio: 3 / 2; object-fit: cover; }

/* Nov 26: Ankur's disclaimer */
.listing-disclaimer {
  font-size: 13px;
  color: var(--muted, #6b6b6b);
  font-style: italic;
  margin: 18px 0 0;
}

/* Nov 26: site credit */
.footer-credit { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.footer-credit:hover { color: var(--brass); }
@media (max-width: 768px) { .footer-bottom { flex-wrap: wrap; gap: 8px 24px; } }

/* Lot survey: show the whole survey, not the short floor plan window */
.fp-stage.is-survey img,
.fp-stage.is-survey img:first-child {
  height: auto;
  max-height: 640px;
}
@media (max-width: 640px) {
  .fp-stage.is-survey img,
  .fp-stage.is-survey img:first-child {
    height: auto;
    max-height: none;
  }
}

/* ==========================================================================
   OUR PROCESS PAGE: Open Book Build highlight + four stages (Nov 30)
   ========================================================================== */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

section.sec.obb-intro { padding: 72px 0 56px; border-bottom: 0; }
.obb-intro-head { max-width: 760px; }
.obb-intro-head p { font-size: 17px; color: var(--muted); margin-top: 14px; max-width: 620px; }
.obb-jump { margin-top: 22px !important; }
.obb-jump a { display: inline-block; font-size: 13.5px; font-weight: 600; color: var(--espresso); border-bottom: 1.5px solid var(--brass); padding-bottom: 4px; }
.obb-jump a:hover { color: var(--brass-dark); }

section.sec.obb { border-top: 1px solid var(--border); scroll-margin-top: 72px; position: relative; }
section.sec.obb::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 3px; background: var(--brass); }
.obb-head { max-width: 820px; margin-bottom: 44px; }
.obb-head h1, .obb-head h2 { font-size: clamp(34px, 4.4vw, 56px); margin-bottom: 18px; }
.obb-lede { font-family: var(--font-display); font-size: clamp(21px, 2.3vw, 28px); line-height: 1.3; color: var(--brass-dark); letter-spacing: -0.015em; margin-bottom: 18px; }
.obb-copy { font-size: 16px; color: var(--charcoal); max-width: 700px; }

.obb-sub { font-size: 26px; margin-bottom: 18px; }
.obb-how { list-style: none; background: var(--white); border: 1px solid var(--border); padding: 10px 32px; margin-bottom: 28px; }
.obb-how li { display: flex; align-items: flex-start; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--border); }
.obb-how li:last-child { border-bottom: 0; }
.obb-how p { font-size: 15.5px; color: var(--muted); margin: 4px 0 0; max-width: 780px; }
.obb-how strong { color: var(--espresso); font-weight: 600; }
.obb-ico { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%; background: var(--espresso); color: #C9A57A; display: inline-flex; align-items: center; justify-content: center; }

.obb-two { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.obb-panel { background: var(--white); border: 1px solid var(--border); padding: 34px; }
.obb-panel h3 { font-size: 26px; margin-bottom: 14px; }
.obb-panel p { font-size: 15px; color: var(--muted); margin-bottom: 14px; }
.obb-panel p strong { color: var(--espresso); font-weight: 600; }
.obb-panel p:last-child { margin-bottom: 0; }
.obb-list { list-style: none; margin: 0 0 16px; font-size: 15px; color: var(--charcoal); }
.obb-list li { padding: 7px 0; border-bottom: 1px solid var(--border); }
.obb-list li::before { content: ""; display: inline-block; width: 7px; height: 7px; background: var(--brass); margin-right: 12px; vertical-align: middle; }

.stage-stack { display: flex; flex-direction: column; gap: 28px; }
.stage { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: start; padding: 40px 0; border-top: 1px solid var(--border); }
.stage:first-child { border-top: 0; padding-top: 8px; }
.stage-num { font-size: 13.5px; font-weight: 600; color: var(--brass); margin-bottom: 10px; display: flex; align-items: center; gap: 14px; }
.stage-num::before { content: ""; width: 36px; height: 1px; background: var(--brass); }
.stage-intro h3 { font-size: clamp(30px, 3.2vw, 42px); margin-bottom: 14px; }
.stage-tag { font-family: var(--font-display); font-size: 21px; line-height: 1.3; color: var(--brass-dark); margin-bottom: 14px; letter-spacing: -0.01em; }
.stage-body { font-size: 15px; color: var(--muted); max-width: 440px; }
.stage-card { background: var(--white); border: 1px solid var(--border); padding: 14px 32px; }
.stage-list { list-style: none; position: relative; }
.stage-list li { position: relative; padding: 18px 0 18px 34px; border-bottom: 1px solid var(--border); display: flex; flex-direction: column; gap: 2px; }
.stage-list li:last-child { border-bottom: 0; }
.stage-list li::before { content: ""; position: absolute; left: 0; top: 26px; width: 11px; height: 11px; border-radius: 50%; background: var(--brass); }
.stage-list strong { font-size: 16px; font-weight: 600; color: var(--espresso); }
.stage-list span { font-size: 14px; color: var(--muted); }

.obb-table th, .obb-table td { text-align: left; vertical-align: top; }
.obb-table tbody th { font-weight: 600; color: var(--espresso); background: transparent; width: 28%; font-size: 14px; }
.obb-table td:nth-child(2) { background: transparent; font-weight: 400; color: var(--muted); }
.obb-table td:nth-child(3) { background: var(--brass-tint); font-weight: 600; color: var(--espresso); }
.obb-table thead th:nth-child(3) { background: var(--espresso); color: #E4C9A5; }
.obb-table tbody tr:last-child th, .obb-table tbody tr:last-child td { border-bottom: 0; }

.obb-cta { margin-top: 36px; background: var(--espresso); color: var(--white); padding: 36px 40px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.obb-cta h2 { color: var(--white); font-size: clamp(26px, 3vw, 36px); }
.obb-cta-contact { font-size: 15px; line-height: 1.8; text-align: right; color: #D9D4CA; }
.obb-cta-contact a { color: var(--white); font-weight: 600; }
.obb-cta-contact a:hover { color: #E4C9A5; }

/* Homepage Open Book Build callout */
section.sec.obb-callout { background: var(--espresso); color: var(--white); border-bottom: 0; padding: 72px 0; }
.obb-callout-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }
.obb-callout .eyebrow { color: #C9A57A; }
.obb-callout h2 { color: var(--white); font-size: clamp(32px, 4vw, 50px); margin-bottom: 16px; }
.obb-callout-lede { font-family: var(--font-display); font-size: clamp(20px, 2.1vw, 26px); line-height: 1.3; color: #E4C9A5; }
.obb-callout-points { list-style: none; border-top: 1px solid rgba(255,255,255,0.18); margin-bottom: 26px; }
.obb-callout-points li { padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,0.18); font-size: 15px; color: #E8E4DC; }
.obb-callout .btn-bronze:hover { background: var(--white); color: var(--espresso); border-color: var(--white); }

@media (max-width: 1080px) {
  .stage { grid-template-columns: 1fr; gap: 24px; }
  .stage-body { max-width: 640px; }
  .obb-callout-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  section.sec.obb-intro { padding: 44px 0 36px; }
  .obb-intro-head p { font-size: 16px; }
  .obb-head { margin-bottom: 32px; }
  .obb-sub { font-size: 23px; }
  .obb-how { padding: 4px 18px; }
  .obb-how li { gap: 14px; padding: 18px 0; }
  .obb-ico { flex-basis: 38px; width: 38px; height: 38px; }
  .obb-how p { font-size: 15px; }
  .obb-two { grid-template-columns: 1fr; gap: 20px; }
  .obb-panel { padding: 24px 20px; }
  .stage { padding: 28px 0; }
  .stage-card { padding: 6px 18px; }
  .stage-list li { padding: 16px 0 16px 28px; }
  .stage-list li::before { top: 23px; }
  .obb-table tbody th { width: 30%; font-size: 13px; }
  .obb-table th, .obb-table td { padding: 12px 10px; font-size: 13px; }
  .obb-cta { padding: 28px 22px; flex-direction: column; align-items: flex-start; }
  .obb-cta-contact { text-align: left; }
  section.sec.obb-callout { padding: 48px 0; }
}


/* ==========================================================================
   ACCESSIBILITY (WCAG 2.1 AA) - skip link, focus, motion, form notes
   ========================================================================== */
html { scroll-padding-top: 88px; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 400;
  background: var(--espresso);
  color: var(--white);
  padding: 14px 22px;
  font-size: 14px;
  font-weight: 600;
  border: 2px solid var(--white);
  transition: none;
}
.skip-link:focus { top: 12px; }
main:focus { outline: none; }

/* Visible keyboard focus on every interactive element */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[role="button"]:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--espresso);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--white);
  border-radius: 1px;
}
.hero a:focus-visible, .hero button:focus-visible,
.obb-callout a:focus-visible, .obb-cta a:focus-visible,
.lightbox button:focus-visible, .skip-link:focus-visible {
  outline-color: var(--white);
  box-shadow: 0 0 0 6px var(--espresso);
}
.gallery-card:focus-visible { outline-offset: -3px; box-shadow: none; }
.prop-thumbs-grid img:focus-visible, .residence-thumbs img:focus-visible { outline-offset: 2px; opacity: 1; }
.form-group input:focus-visible, .form-group textarea:focus-visible { outline-offset: 1px; box-shadow: none; }

.form-note { font-size: 13.5px; color: var(--muted); margin: 0 0 16px; }
.about-text h2.about-sub { font-size: 28px; margin: 28px 0 10px; }
.access-doc h2 { font-size: clamp(26px, 2.6vw, 34px); margin: 40px 0 12px; }
.access-doc h2:first-of-type { margin-top: 0; }
.access-doc p, .access-doc li { font-size: 16px; color: var(--charcoal); max-width: 760px; }
.access-doc p { margin-bottom: 14px; }
.access-doc ul { margin: 0 0 14px 22px; }
.access-doc li { margin-bottom: 6px; }
.access-doc a { color: var(--espresso); font-weight: 600; border-bottom: 1px solid var(--brass); }
.access-doc a:hover { color: var(--brass-dark); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .category-card:hover { transform: none; }
}


/* Price on listing cards, aligned with title typography on property pages */
.card-price {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 30px);
  color: var(--espresso);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 2px 0 10px;
}
.flagship-specs-line {
  margin-top: 0;
}
/* Site-wide fallback when a listing has no photo yet */
.media-pending {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 100%;
  height: 100%;
  min-height: 180px;
  padding: 28px 20px;
  background: var(--brass-tint);
  text-align: center;
  box-sizing: border-box;
}
.media-pending-mark {
  width: 52px;
  height: auto;
  margin-bottom: 16px;
  display: block;
}
/* Keep the placeholder crest small; listing img rules would otherwise crop it full-bleed */
.media-pending-mark,
.res-card-img .media-pending-mark,
.res-card-img.is-pending img.media-pending-mark,
.res-card-img.is-blank img.media-pending-mark,
.listing-grid .res-card-img img.media-pending-mark,
.category-img img.media-pending-mark,
.category-img.is-pending img.media-pending-mark,
.prop-stage-img-box.is-pending img.media-pending-mark,
.prop-stage-img-box img.media-pending-mark {
  width: 56px !important;
  max-width: 56px !important;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  margin: 0 auto 16px !important;
  display: block;
}

.media-pending-title {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.1vw, 24px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--espresso);
  margin: 0;
  display: block;
}
.media-pending-title::before {
  content: "";
  display: block;
  width: 36px;
  height: 1px;
  background: var(--brass);
  margin: 0 auto 12px;
}
.res-card-img.is-pending,
.res-card-img.is-blank,
.category-img.is-pending {
  display: flex;
  align-items: stretch;
  justify-content: center;
  background: var(--brass-tint);
  border: 1px solid var(--border);
  aspect-ratio: 3 / 2;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  min-height: 180px;
}
.res-card-img.is-pending .media-pending,
.res-card-img.is-blank .media-pending,
.category-img.is-pending .media-pending {
  min-height: 0;
}
.listing-grid .res-card-img.is-pending,
.listing-grid .res-card-img.is-blank {
  height: 100%;
  min-height: 320px;
  aspect-ratio: auto;
}
.prop-stage-caption[hidden],
.listing-disclaimer[hidden] {
  display: none !important;
}
.prop-stage-img-box.is-pending {
  display: flex;
  align-items: stretch;
  background: var(--brass-tint);
  height: 430px;
  border: 1px solid var(--border);
  overflow: hidden;
}
.prop-stage-img-box.is-pending > img:not(.media-pending-mark) {
  display: none;
}
.prop-stage-wrap.is-pending {
  background: var(--white);
}
@media (max-width: 700px) {
  .prop-stage-img-box.is-pending { height: 280px; }
  .listing-grid .res-card-img.is-pending,
  .listing-grid .res-card-img.is-blank { min-height: 220px; }
  .media-pending-mark { width: 44px; margin-bottom: 12px; }
}
