/* ==========================================================================
   COMPONENTS — search, cards, marquee, filters, gallery, forms, accordion…
   ========================================================================== */

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; margin-bottom: 18px; min-width: 0; }
.field label, .field .label { font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.field .optional { text-transform: none; letter-spacing: 0; font-weight: 500; }
.input, .field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; background: var(--white); color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius); font-size: 1rem; transition: border-color var(--t), box-shadow var(--t);
}
.field textarea { min-height: 120px; resize: vertical; }
.field select, select.input {
  appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315140f' stroke-width='1.8'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 16px;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: #cfc5b3; }
.field input:focus, .field select:focus, .field textarea:focus, .input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(179, 139, 77, 0.2); outline: none; }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: var(--fs-sm); margin-top: 6px; }
.form-row { display: grid; gap: 0 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.form-note { font-size: var(--fs-sm); color: var(--muted); margin: 4px 0 18px; }
.form-status { margin-top: 16px; padding: 14px 16px; border-left: 3px solid var(--success); background: #eef6f0; color: var(--success); font-size: var(--fs-sm); }
.form-status.is-error { border-color: var(--danger); background: #fbeeec; color: var(--danger); }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.form-actions .btn { flex: 1 1 calc(50% - 6px); min-width: 0; padding-inline: 14px; }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 40px); box-shadow: var(--shadow-sm); }
.form-card h2, .form-card h3 { margin-bottom: 0.3em; }
.form-card > p { color: var(--muted); }
.check { display: flex; align-items: center; gap: 10px; padding: 6px 0; cursor: pointer; font-size: 0.9375rem; }
.check input { width: 18px; height: 18px; accent-color: var(--ink); margin: 0; flex: none; }

/* ---------- Feature list (why choose us, services) ---------- */
.feature-grid { display: grid; gap: 0; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); padding: 1px 0 0 1px; }
@media (min-width: 1024px) { .feature-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .feature-grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.feature { padding: clamp(24px, 3vw, 40px); border: 1px solid var(--line); margin: -1px 0 0 -1px; background: transparent; transition: background var(--t); }
.feature:hover { background: var(--white); }
.feature-icon { width: 52px; height: 52px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--gold); color: var(--gold-deep); border-radius: 50%; margin-bottom: 22px; }
.feature-icon .icon { width: 24px; height: 24px; }
.feature h3 { font-size: 1.6rem; margin-bottom: 10px; }
.feature p { color: var(--muted); margin: 0; }
.feature ul { color: var(--muted); margin: 14px 0 0; padding-left: 1.1em; font-size: 0.9375rem; }
.feature .link-arrow { margin-top: 20px; }
.bg-ink .feature { border-color: var(--line-dark); }
.bg-ink .feature:hover { background: rgba(255,255,255,.03); }
.bg-ink .feature p { color: var(--muted-light); }
.bg-ink .feature-icon { color: var(--gold-light); }

/* ---------- Steps ---------- */
.steps { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); counter-reset: step; list-style: none; padding: 0; margin: 0; }
.step { position: relative; padding-top: 28px; border-top: 1px solid var(--line); }
.bg-ink .step { border-color: var(--line-dark); }
.step::before { content: ""; position: absolute; top: -1px; left: 0; width: 56px; height: 2px; background: var(--gold); }
.step-num { font-family: var(--font-display); font-size: 3.2rem; line-height: 1; color: var(--gold); display: block; margin-bottom: 16px; font-weight: 500; }
.step h3 { font-size: 1.55rem; margin-bottom: 8px; }
.step p { color: var(--muted); margin: 0; }
.bg-ink .step p { color: var(--muted-light); }

/* ---------- Split / media sections ---------- */
.split { display: grid; gap: clamp(32px, 5vw, 80px); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; } .split.reverse > :first-child { order: 2; } }
.split-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-media.wide { aspect-ratio: 4 / 3; }
.split-media-note { position: absolute; left: 0; bottom: 0; background: var(--white); padding: 20px 24px; max-width: 280px; border-top: 2px solid var(--gold); }
.split-media-note strong { display: block; font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: var(--ink); line-height: 1.1; }
.split-media-note span { font-size: var(--fs-sm); color: var(--muted); }
.checklist { list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist .icon { color: var(--gold-deep); margin-top: 3px; width: 18px; height: 18px; }
.checklist.cols { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 12px 24px; }

/* ---------- Info cards (contact, values) ---------- */
.info-card { background: var(--white); border: 1px solid var(--line); padding: 28px; border-radius: var(--radius-lg); }
.info-card .feature-icon { margin-bottom: 16px; }
.info-card h3 { font-size: 1.5rem; margin-bottom: 6px; }
.info-card p { color: var(--muted); margin-bottom: 12px; }
.info-card a:not(.btn) { font-weight: 700; color: var(--ink); overflow-wrap: anywhere; }
.placeholder-note { display: inline-block; font-size: 0.75rem; padding: 3px 8px; background: #fff6e0; color: #6b4e14; border: 1px dashed #d9b35c; border-radius: 2px; margin-top: 6px; }
.hours { list-style: none; margin: 0; padding: 0; }
.hours li { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 0.9375rem; }
.hours li span:last-child { font-weight: 600; color: var(--ink); }

/* Map placeholder */
.map-embed { position: relative; width: 100%; height: clamp(280px, 45vw, 440px); background: var(--stone); overflow: hidden; border: 1px solid var(--line); }
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px; gap: 12px;
  background-color: var(--sand);
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 40px 40px; }
.map-placeholder .icon { width: 36px; height: 36px; color: var(--gold-deep); }
.map-placeholder p { margin: 0; max-width: 44ch; color: var(--muted); font-size: var(--fs-sm); }

/* Team */
.team-card { text-align: left; }
.team-photo { aspect-ratio: 4 / 5; background: linear-gradient(160deg, var(--stone), var(--sand)); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; border: 1px solid var(--line); }
.team-photo .icon { width: 72px; height: 72px; color: #b9ad97; stroke-width: 1; }
.team-card h3 { font-size: 1.5rem; margin-bottom: 2px; }
.team-card p { color: var(--muted); font-size: var(--fs-sm); margin: 0; }
.team-role { color: var(--gold-deep) !important; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.75rem !important; margin-bottom: 8px !important; }

/* ---------- Listing page ---------- */
.listing-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 22px; }
.listing-search { position: relative; flex: 1 1 320px; }
.listing-search .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.listing-search input { width: 100%; min-height: 52px; padding: 12px 14px 12px 44px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.listing-search input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(179,139,77,.2); }
.listing-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.listing-controls select { min-height: 46px; }
.listing-count { font-size: var(--fs-sm); color: var(--muted); margin: 0; }
.listing-count strong { color: var(--ink); }
.view-toggle { display: inline-flex; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.view-toggle button { width: 46px; height: 44px; display: inline-flex; align-items: center; justify-content: center; background: var(--white); border: 0; color: var(--muted); }
.view-toggle button[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.listing-layout { display: grid; gap: 32px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 1024px) { .listing-layout { grid-template-columns: 300px minmax(0, 1fr); gap: 40px; } }
.filters { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; }
@media (min-width: 1024px) { .filters { position: sticky; top: calc(var(--header-h) + 20px); max-height: calc(100vh - var(--header-h) - 40px); overflow-y: auto; } }
.filters-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.filters-head h2 { font-family: var(--font-body); font-size: 1rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin: 0; }
.filter-group { border: 0; padding: 18px 0; margin: 0; border-bottom: 1px solid var(--line); min-width: 0; }
.filter-group:last-of-type { border-bottom: 0; }
.filter-group legend, .filter-group > .label { font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); padding: 0; margin-bottom: 10px; float: left; width: 100%; }
.filter-group legend + * { clear: both; }
.filter-group .field { margin: 0; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 40px; padding: 6px 14px; border: 1px solid var(--line); border-radius: var(--radius); font-size: var(--fs-sm); font-weight: 600; transition: background var(--t), color var(--t), border-color var(--t); }
.seg input:checked + span { background: var(--ink); color: var(--white); border-color: var(--ink); }
.seg input:focus-visible + span { outline: 2px solid var(--gold-deep); outline-offset: 2px; }
.btn-text { background: none; border: 0; padding: 6px 0; font-size: var(--fs-sm); font-weight: 700; text-decoration: underline; color: var(--ink); }
.filters-mobile-bar { display: none; }
.filters-footer { display: none; }
.filters-open-btn { display: none; }
@media (max-width: 1023px) {
  .filters-open-btn { display: inline-flex; }
  .js .filters {
    position: fixed; inset: 0 auto 0 0; z-index: 140; width: min(400px, 92vw); border-radius: 0; border: 0;
    overflow-y: auto; overscroll-behavior: contain; padding-bottom: 100px;
    transform: translateX(-102%); visibility: hidden; transition: transform 0.4s var(--ease), visibility 0.4s;
  }
  .js .filters.is-open { transform: none; visibility: visible; }
  .js .filters-footer { display: flex; gap: 10px; position: sticky; bottom: -100px; margin: 20px -24px -100px; padding: 16px 24px 24px; background: var(--white); border-top: 1px solid var(--line); }
  .filters-footer .btn { flex: 1; }
  .filters-backdrop { position: fixed; inset: 0; z-index: 135; background: rgba(10,10,8,.5); }
}
.active-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.active-chips:empty { display: none; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 8px 6px 12px; background: var(--sand); border: 1px solid var(--line); border-radius: 999px; font-size: var(--fs-sm); font-weight: 600; }
.chip button { width: 22px; height: 22px; border-radius: 50%; border: 0; background: var(--white); display: inline-flex; align-items: center; justify-content: center; padding: 0; }
.chip .icon { width: 12px; height: 12px; }
.load-more-wrap { text-align: center; margin-top: 40px; }
.load-more-wrap p { font-size: var(--fs-sm); color: var(--muted); }

/* ---------- Property details ---------- */
.detail-head { display: grid; gap: 20px; padding-block: 28px 28px; grid-template-columns: 1fr; align-items: end; }
@media (min-width: 900px) { .detail-head { grid-template-columns: 1fr auto; } }
.detail-head h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.6rem); margin: 12px 0 10px; }
.detail-loc { display: flex; align-items: center; gap: 8px; color: var(--muted); margin: 0; }
.detail-loc .icon { color: var(--gold-deep); }
.detail-price { text-align: left; }
@media (min-width: 900px) { .detail-price { text-align: right; } }
.detail-price strong { display: block; font-family: var(--font-display); font-size: clamp(2.2rem, 1.8rem + 1.6vw, 3.2rem); font-weight: 600; color: var(--ink); line-height: 1; }
.detail-price span { font-size: var(--fs-sm); color: var(--muted); }
.gallery { display: grid; gap: 10px; grid-template-columns: 1fr; }
.gallery-main { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--stone); border: 0; padding: 0; cursor: zoom-in; width: 100%; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-count { position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; background: rgba(12,11,9,.72); color: var(--white); padding: 8px 12px; font-size: var(--fs-sm); font-weight: 600; border-radius: 2px; }
.gallery-count .icon { width: 16px; height: 16px; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.gallery-thumbs button { padding: 0; border: 2px solid transparent; background: var(--stone); aspect-ratio: 4 / 3; overflow: hidden; }
.gallery-thumbs button[aria-current="true"] { border-color: var(--gold); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) {
  .gallery { grid-template-columns: 3fr 1fr; }
  .gallery-main-wrap { aspect-ratio: 16 / 10; }
  .gallery-main { height: 100%; aspect-ratio: auto; }
  .gallery-thumbs { grid-template-columns: 1fr; grid-template-rows: repeat(4, minmax(0, 1fr)); min-height: 0; }
  .gallery-thumbs button { aspect-ratio: auto; min-height: 0; position: relative; }
  .gallery-thumbs button img { position: absolute; inset: 0; }
  .gallery-thumbs button { aspect-ratio: auto; }
}
.key-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); margin: 28px 0 0; }
@media (min-width: 640px) { .key-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.key-fact { background: var(--white); padding: 18px; display: flex; gap: 12px; align-items: flex-start; }
.key-fact .icon { color: var(--gold-deep); margin-top: 2px; }
.key-fact dt { font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.key-fact dd { margin: 2px 0 0; font-weight: 700; color: var(--ink); }
.detail-layout { display: grid; gap: 40px; grid-template-columns: 1fr; align-items: start; padding-block: 40px var(--section); }
@media (min-width: 1024px) { .detail-layout { grid-template-columns: minmax(0, 1fr) 380px; gap: 56px; } }
.detail-tabs { position: sticky; top: var(--header-h); z-index: 20; background: var(--paper); border-bottom: 1px solid var(--line); display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; margin-bottom: 8px; }
.detail-tabs::-webkit-scrollbar { display: none; }
.detail-tabs a { flex: none; padding: 14px 12px; font-size: var(--fs-sm); font-weight: 700; text-decoration: none; color: var(--muted); border-bottom: 2px solid transparent; }
.detail-tabs a:hover, .detail-tabs a.is-active { color: var(--ink); border-color: var(--gold); }
.detail-section { padding-block: 36px; border-bottom: 1px solid var(--line); }
.detail-section:last-child { border-bottom: 0; }
.detail-section h2 { font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.5rem); margin-bottom: 18px; }
.amenities { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px 24px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }
.amenities li { display: flex; align-items: center; gap: 10px; }
.amenities .icon { color: var(--gold-deep); width: 18px; height: 18px; }
.spec-table { width: 100%; font-size: 0.9375rem; }
.spec-table th, .spec-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { width: 40%; color: var(--muted); font-weight: 600; }
.spec-table td { color: var(--ink); font-weight: 600; }
.table-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); background: var(--white); }
.table-wrap table { min-width: 520px; }
.table-wrap.plain table { min-width: 0; }
.data-table th, .data-table td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; font-size: 0.9375rem; }
.data-table thead th { background: var(--sand); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.data-table tbody tr:last-child td { border-bottom: 0; }
.nearby { list-style: none; padding: 0; margin: 0; display: grid; gap: 0 32px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.nearby li { display: flex; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.nearby li span:last-child { font-weight: 700; color: var(--ink); white-space: nowrap; }
.floor-plan { background: var(--white); border: 1px solid var(--line); padding: 12px; }
.floor-plan img { width: 100%; }
.mini-gallery { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 160px), 1fr)); }
.mini-gallery a { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--stone); }
.mini-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.mini-gallery a:hover img { transform: scale(1.06); }
.sidebar-sticky { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 20px; }
.advisor { display: flex; gap: 14px; align-items: center; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.advisor-avatar { width: 54px; height: 54px; border-radius: 50%; background: var(--ink); color: var(--gold-light); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.advisor-avatar .icon { width: 26px; height: 26px; }
.advisor strong { display: block; color: var(--ink); }
.advisor span { font-size: var(--fs-sm); color: var(--muted); }
.cta-stack { display: grid; gap: 10px; }
.mobile-cta-bar { display: none; }
@media (max-width: 1023px) {
  .has-mobile-cta .mobile-cta-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -12px rgba(0,0,0,.2); }
  .has-mobile-cta .mobile-cta-bar .btn { min-height: 46px; }
  .has-mobile-cta .float-wa { display: none; }
  .has-mobile-cta .back-to-top { bottom: 84px; }
  .has-mobile-cta .site-footer { padding-bottom: 72px; }
}

/* ---------- 404 ---------- */
.error-page { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--header-h) + 40px) 0 60px; }
.error-code { font-family: var(--font-display); font-size: clamp(7rem, 5rem + 12vw, 14rem); line-height: 0.85; color: var(--gold-light); font-weight: 500; margin: 0 0 12px; }

/* ---------- Misc ---------- */
.pill-links { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.pill-links a { display: inline-flex; align-items: center; min-height: 42px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: var(--fs-sm); font-weight: 600; text-decoration: none; background: var(--white); transition: border-color var(--t), background var(--t); }
.pill-links a:hover { border-color: var(--ink); }
.localities { display: grid; gap: 0; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); border-top: 1px solid var(--line); }
.locality { padding: 22px 20px 22px 0; border-bottom: 1px solid var(--line); }
.locality h3 { font-size: 1.45rem; margin-bottom: 6px; }
.locality p { color: var(--muted); font-size: 0.9375rem; margin: 0; }
.notice { font-size: var(--fs-sm); color: var(--muted); border-left: 2px solid var(--gold); padding: 4px 0 4px 14px; margin: 24px 0 0; }
.credits-list { font-size: var(--fs-sm); color: var(--muted); padding-left: 1.2em; }
.credits-list a { color: var(--ink); }

/* Grid children must be allowed to shrink (prevents wide tables/forms forcing overflow) */
.split > *, .detail-layout > *, .article-layout > *, .listing-layout > *, .faq-layout > *, .grid > *, .project-row > *, .cta-band-inner > * { min-width: 0; }

@media (max-width: 420px) { .search-tabs { width: 100%; } .search-tabs label { flex: 1; } .search-tabs span { display: block; text-align: center; padding: 9px 6px; } }
.search-sell-note { margin: 14px 0 0; font-size: var(--fs-sm); color: var(--muted); }
.search-panel.is-sell .search-fields .field { display: none; }
.search-panel.is-sell .search-fields { grid-template-columns: 1fr; border: 0; }
.search-panel.is-sell .search-fields .btn { border-radius: var(--radius); min-height: 56px; }
.badge-outline-light { background: rgba(12,11,9,.6); color: var(--white); }
.badge .icon { width: 12px; height: 12px; }
.gallery-main-wrap { position: relative; }
.gallery-nav { position: absolute; left: 12px; bottom: 12px; display: flex; gap: 8px; z-index: 2; }
.gallery-nav .icon-btn { width: 42px; height: 42px; background: rgba(255,255,255,.92); border-color: transparent; }
.gallery-nav .icon-btn:hover { background: var(--ink); color: var(--white); }

/* ---------- Polish pass ---------- */
.marquee-section { padding-bottom: calc(var(--section) * 0.85); }
.section-head { margin-bottom: clamp(28px, 3.4vw, 48px); }
@media (max-width: 639px) {
  .feature { display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; padding: 22px 20px; }
  .feature-icon { width: 44px; height: 44px; margin: 0; grid-row: span 3; }
  .feature-icon .icon { width: 20px; height: 20px; }
  .feature h3 { font-size: 1.4rem; margin-bottom: 6px; }
  .feature .link-arrow { margin-top: 12px; justify-self: start; }
  .feature ul { margin-top: 10px; }
  .hero .btn-group .btn, .page-hero .btn-group .btn { flex: 1 1 100%; }
  .cta-band .btn-group .btn { flex: 1 1 100%; }
  .step-num { font-size: 2.6rem; margin-bottom: 10px; }
  .loc-card { aspect-ratio: 16 / 11; }
  .project-facts { gap: 14px 18px; }
}
/* Consistent CTA treatment */
.btn-wa .icon, .btn .icon { flex: none; }
.form-actions .btn-outline:hover, .cta-stack .btn-outline:hover { --btn-bg: var(--ink); --btn-fg: var(--white); }
/* Text over images: slightly stronger scrim at the bottom of tiles */
.cat-tile::after { background: linear-gradient(0deg, rgba(12,11,9,.85), rgba(12,11,9,.1) 62%); }
.m-card::after { background: linear-gradient(0deg, rgba(12,11,9,.88) 0%, rgba(12,11,9,.2) 55%, rgba(12,11,9,0) 100%); }
/* Footer finish */
.site-footer { border-top: 1px solid var(--ft-line); box-shadow: inset 0 3px 0 var(--ft-accent); }
.site-footer .footer-top { border-bottom: 0; }
.footer-bottom { border-top-color: var(--ft-line); }
.footer-col a, .footer-bottom a { transition: color var(--t); }

/* =====================================================================
   PROPERTY SALES CARD SYSTEM — category, location, project and service
   cards share one visual language (image, soft overlay, gold accent).
   ===================================================================== */
.hero.no-panel { padding-bottom: clamp(88px, 11vw, 140px); }
.hero-categories { display: flex; flex-wrap: wrap; gap: 6px 14px; list-style: none; padding: 0; margin: 0 0 22px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-light); }
.hero-categories li + li::before { content: "•"; margin-right: 14px; color: rgba(255, 255, 255, 0.5); }

/* Brand intro */
.intro-band { display: grid; gap: clamp(28px, 4vw, 72px); grid-template-columns: minmax(0, 1fr); align-items: end; }
@media (min-width: 960px) { .intro-band { grid-template-columns: 1.15fr 0.85fr; } }
.intro-band h2 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.4rem); line-height: 1.08; margin: 0; }
.intro-band h2 em { font-style: italic; color: var(--gold-deep); }
.intro-band p { color: var(--muted); font-size: var(--fs-lg); margin: 0 0 22px; }
.cat-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 26px; }
.cat-chips a { display: inline-flex; align-items: center; min-height: 42px; padding: 6px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: var(--fs-sm); font-weight: 600; text-decoration: none; color: var(--ink); transition: border-color var(--t), background var(--t); }
.cat-chips a:hover, .cat-chips a:focus-visible { border-color: var(--gold); background: var(--white); }
.cat-chips a[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: var(--white); }

/* Grids */
.x-grid { display: grid; gap: clamp(14px, 1.6vw, 22px); grid-template-columns: minmax(0, 1fr); list-style: none; padding: 0; margin: 0; }
.x-grid > li { display: flex; flex-direction: column; min-width: 0; }
.x-grid > li > .x-card, .x-grid > li > .s-card { flex: 1; }
@media (min-width: 640px) { .x-grid.cols-2, .x-grid.cols-3, .x-grid.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .x-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .x-grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
/* Editorial layout for the five property categories: 2 large + 3 tall */
@media (min-width: 640px) { .x-grid.cats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .x-grid.cats > :first-child { grid-column: 1 / -1; } }
@media (min-width: 1024px) {
  .x-grid.cats { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .x-grid.cats > :nth-child(-n+2) { grid-column: span 3; }
  .x-grid.cats > :nth-child(n+3) { grid-column: span 2; }
}
@media (max-width: 639px) { .x-grid.home-locs > :nth-child(n+4) { display: none; } }

/* Image card */
.x-card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius-lg); background: var(--ink); color: var(--white); text-decoration: none; isolation: isolate; }
.x-card > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.x-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(12, 11, 9, 0.9) 0%, rgba(12, 11, 9, 0.55) 42%, rgba(12, 11, 9, 0.08) 100%); transition: opacity var(--t); }
.x-card::after { content: ""; position: absolute; left: clamp(20px, 2.2vw, 30px); bottom: 0; width: 56px; height: 2px; background: var(--gold); transition: width var(--t); }
.x-card:hover > img, .x-card:focus-within > img { transform: scale(1.06); }
.x-card:hover::after, .x-card:focus-within::after { width: calc(100% - 2 * clamp(20px, 2.2vw, 30px)); }
.x-card:has(a:focus-visible) { outline: 2px solid var(--gold); outline-offset: 3px; }
.x-card-body { position: relative; display: block; padding: clamp(20px, 2.2vw, 30px); }
.x-card-kicker { display: block; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-light); margin: 0 0 10px; }
.x-card-title { display: block; font-family: var(--font-display); font-size: clamp(1.7rem, 1.25rem + 1.3vw, 2.4rem); font-weight: 500; line-height: 1.05; color: var(--white); margin: 0 0 8px; }
.x-card-title a { color: inherit; text-decoration: none; }
.x-card-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.x-card-title a:focus-visible { outline: none; }
.x-card-text { display: block; font-size: var(--fs-sm); line-height: 1.55; color: rgba(255, 255, 255, 0.86); margin: 0; max-width: 46ch; }
.x-card-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; list-style: none; padding: 0; margin: 12px 0 0; font-size: 0.8125rem; color: rgba(255, 255, 255, 0.84); }
.x-card-meta li { display: inline-flex; align-items: center; gap: 6px; }
.x-card-meta .icon { width: 15px; height: 15px; color: var(--gold-light); }
.x-card-tags { display: block; margin: 14px 0 0; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, 0.18); }
.x-card-tags small { display: block; font-size: 0.625rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255, 255, 255, 0.66); margin-bottom: 4px; }
.x-card-tags span { font-size: 0.875rem; font-weight: 600; color: var(--white); }
.x-card-cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--white); }
.x-card-cta .icon { width: 15px; height: 15px; color: var(--gold-light); transition: transform var(--t); }
.x-card:hover .x-card-cta .icon, .x-card:focus-within .x-card-cta .icon { transform: translateX(5px); }
.x-grid.cats .x-card { aspect-ratio: 4 / 3; }
@media (min-width: 640px) { .x-grid.cats .x-card { aspect-ratio: 4 / 5; } .x-grid.cats > :first-child .x-card { aspect-ratio: 16 / 9; } }
@media (min-width: 1024px) { .x-grid.cats > :nth-child(-n+2) .x-card { aspect-ratio: 16 / 11; } .x-grid.cats > :nth-child(n+3) .x-card { aspect-ratio: 4 / 5; } }
.x-card.city { aspect-ratio: 4 / 5; }
@media (min-width: 640px) { .x-card.city { aspect-ratio: 3 / 4; } }
@media (min-width: 1024px) { .x-card.city { aspect-ratio: 4 / 5; } }
.x-grid.compact .x-card { aspect-ratio: 4 / 3; }
.x-grid.compact .x-card-title { font-size: clamp(1.5rem, 1.2rem + 0.8vw, 1.9rem); }

/* Project feature card (image + details) */
.proj-feature { display: grid; grid-template-columns: minmax(0, 1fr); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
@media (min-width: 900px) { .proj-feature { grid-template-columns: 1.25fr 1fr; } }
.proj-feature .x-card { border-radius: 0; aspect-ratio: 16 / 11; }
@media (min-width: 900px) { .proj-feature .x-card { aspect-ratio: auto; min-height: 480px; } }
.proj-feature-body { padding: clamp(24px, 3.4vw, 48px); display: flex; flex-direction: column; justify-content: center; }
.proj-feature-body .x-card-kicker { color: var(--gold-deep); }
.proj-feature-body h3 { font-size: clamp(2rem, 1.5rem + 1.6vw, 2.8rem); margin: 0 0 8px; }
.proj-feature-body h3 a { text-decoration: none; }
.proj-feature-body > p { color: var(--muted); }
.proj-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; margin: 8px 0 28px; padding: 20px 0 0; border-top: 1px solid var(--line); }
.proj-facts dt { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.proj-facts dd { margin: 0; font-weight: 600; color: var(--ink); font-size: 0.9375rem; }

/* Service card */
.s-card { position: relative; display: flex; flex-direction: column; height: 100%; padding: clamp(24px, 2.6vw, 36px); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); transition: box-shadow var(--t), transform var(--t), border-color var(--t); }
.s-card::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 3px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform var(--t); border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.s-card:hover, .s-card:focus-within { box-shadow: var(--shadow); transform: translateY(-4px); border-color: transparent; }
.s-card:hover::before, .s-card:focus-within::before { transform: scaleX(1); }
.s-card-icon { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold-deep); margin-bottom: 22px; }
.s-card-icon .icon { width: 24px; height: 24px; }
.s-card h3 { font-size: clamp(1.5rem, 1.3rem + 0.6vw, 1.85rem); margin: 0 0 10px; }
.s-card p { color: var(--muted); margin: 0 0 22px; }
.s-card .link-arrow { margin-top: auto; }
.s-card .link-arrow::after { content: ""; position: absolute; inset: 0; }

/* Property card additions */
.p-card-kicker { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-deep); margin: 0 0 8px; }
.p-card-price.is-request { font-size: 1.35rem; }
.p-card-actions .btn .icon { width: 15px; height: 15px; }

.note-line { margin: 22px 0 0; font-size: var(--fs-sm); color: var(--muted); }
.bg-ink .note-line { color: var(--muted-light); }
@media (prefers-reduced-motion: reduce) {
  .x-card > img, .x-card::after, .s-card, .x-card-cta .icon { transition: none; }
  .x-card:hover > img, .x-card:focus-within > img { transform: none; }
}
.listing-cats { margin: 0 0 18px; }
.listing-cats .cat-chips { margin: 0; }
@media (min-width: 1024px) { .property-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.p-card-actions { grid-template-columns: repeat(auto-fit, minmax(136px, 1fr)); }
.p-card-actions .btn { white-space: nowrap; gap: 6px; }
.proj-feature-body .x-card-kicker { display: flex; align-items: center; gap: 6px; }
.x-card-kicker .icon { width: 14px; height: 14px; flex: none; }
.s-card .link-arrow { align-self: flex-start; }

/* =====================================================================
   PREMIUM SECTION RHYTHM — centered label / heading / description,
   equal-height card rows, image-first project & service cards,
   balanced location grid.
   ===================================================================== */
.section-head.center { text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }
.section-head.center p { max-width: 640px; margin-inline: auto; }
.section-foot { display: flex; justify-content: center; margin-top: clamp(32px, 4vw, 52px); }
.cat-chips.center, .section-head.center + .cat-chips { justify-content: center; }
.section-head.center + .cat-chips { margin: -12px 0 clamp(28px, 3vw, 40px); }
.note-line.center { text-align: center; }

/* Equal-height, centered card rows */
.x-flex { --g: clamp(16px, 1.8vw, 26px); display: flex; flex-wrap: wrap; justify-content: center; gap: var(--g); list-style: none; padding: 0; margin: 0; }
.x-flex > li { display: flex; flex: 0 0 100%; min-width: 0; }
.x-flex > li > * { flex: 1; min-width: 0; }
@media (min-width: 640px) { .x-flex:not(.per-1) > li { flex-basis: calc((100% - var(--g)) / 2); } }
@media (min-width: 1024px) {
  .x-flex.per-3 > li { flex-basis: calc((100% - 2 * var(--g)) / 3); }
  .x-flex.per-4 > li { flex-basis: calc((100% - 3 * var(--g)) / 4); }
}
.x-flex.single > li { flex-basis: 100%; max-width: 920px; }

/* Category / city image cards */
.cat-cards .x-card { aspect-ratio: 4 / 3; }
@media (min-width: 640px) { .cat-cards .x-card { aspect-ratio: 4 / 5; } }
@media (min-width: 1024px) { .cat-cards.per-3 .x-card { aspect-ratio: 5 / 4; } .cat-cards.per-4 .x-card { aspect-ratio: 4 / 5; } }
.x-card-badge { position: absolute; top: clamp(16px, 1.8vw, 22px); left: clamp(16px, 1.8vw, 22px); z-index: 1; display: inline-flex; align-items: center; padding: 6px 12px; font-size: 0.625rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink); background: var(--gold-light); border-radius: 2px; }
.x-card-badge.static { position: static; }
.x-card-badge.light { background: rgba(255, 255, 255, 0.92); }
.x-card::before { background: linear-gradient(0deg, rgba(12, 11, 9, 0.92) 0%, rgba(12, 11, 9, 0.6) 40%, rgba(12, 11, 9, 0.12) 75%, rgba(12, 11, 9, 0.28) 100%); }

/* Balanced location grid: two wide + four regular cards, equal row heights */
.loc-bento { --g: clamp(16px, 1.8vw, 26px); display: grid; gap: var(--g); grid-template-columns: minmax(0, 1fr); grid-auto-rows: 380px; list-style: none; padding: 0; margin: 0; }
.loc-bento > li { display: flex; min-width: 0; }
.loc-bento .x-card { flex: 1; aspect-ratio: auto; height: 100%; }
@media (min-width: 640px) { .loc-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 400px; } }
@media (min-width: 1024px) {
  .loc-bento { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 420px; }
  .loc-bento > li:nth-child(1), .loc-bento > li:nth-child(6) { grid-column: span 2; }
}

/* Image-first cards (projects, services) */
.pj-card { position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: border-color var(--t), box-shadow var(--t); }
.pj-card:hover, .pj-card:focus-within { border-color: var(--gold); box-shadow: var(--shadow); }
.pj-card:has(a:focus-visible) { outline: 2px solid var(--gold); outline-offset: 3px; }
.pj-card-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--stone); }
.pj-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.pj-card:hover .pj-card-media img, .pj-card:focus-within .pj-card-media img { transform: scale(1.05); }
.pj-card-badges { position: absolute; top: 18px; left: 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.pj-card-body { display: flex; flex-direction: column; flex: 1; padding: clamp(22px, 2.4vw, 32px); }
.pj-card-loc { display: flex; align-items: center; gap: 6px; margin: 0 0 8px; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-deep); }
.pj-card-loc .icon { width: 14px; height: 14px; }
.pj-card-title { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.3rem); margin: 0 0 10px; }
.pj-card-title a { text-decoration: none; color: inherit; }
.pj-card-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.pj-card-title a:focus-visible { outline: none; }
.pj-card-body > p { color: var(--muted); margin: 0 0 18px; }
.pj-card-facts { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 14px 0 0; margin: 0 0 20px; border-top: 1px solid var(--line); font-size: var(--fs-sm); font-weight: 600; color: var(--ink-3); }
.pj-card-facts li { position: relative; }
.pj-card-facts li + li::before { content: ""; position: absolute; left: -12px; top: 50%; width: 4px; height: 4px; border-radius: 50%; background: var(--gold); transform: translateY(-50%); }
.pj-card .link-arrow { margin-top: auto; align-self: flex-start; }
.pj-card.svc .pj-card-media { aspect-ratio: 4 / 3; }
.pj-card.svc .pj-card-title { font-size: clamp(1.45rem, 1.25rem + 0.6vw, 1.8rem); }
.svc-icon { position: absolute; left: 18px; bottom: 18px; display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: 50%; background: var(--ink); color: var(--gold-light); border: 1px solid rgba(201, 164, 104, 0.6); }
.svc-icon .icon { width: 22px; height: 22px; }

/* Why-choose-us cards stay equal height in a centered 3 + 2 arrangement */
.x-flex .s-card { height: auto; }
@media (prefers-reduced-motion: reduce) { .pj-card-media img { transition: none; } .pj-card:hover .pj-card-media img { transform: none; } }
@media (min-width: 640px) { .x-flex.single .pj-card-media { aspect-ratio: 2 / 1; } }
.contact-cards { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }


/* =====================================================================
   FIRST PLEDGE LLP — corporate profile content (additive; reuses the
   existing tokens, cards and section styles)
   ===================================================================== */
address.company-address { font-style: normal; }

/* Footer: labelled office addresses */
.footer-offices { border-top: 1px solid var(--ft-line); padding-block: 28px; }
.footer-offices h2 { font-family: var(--font-body); font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ft-heading); margin: 0 0 18px; }
.footer-offices-grid { display: grid; gap: 20px 32px; grid-template-columns: minmax(0, 1fr); font-size: var(--fs-sm); }
@media (min-width: 768px) { .footer-offices-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.footer-offices address { min-width: 0; overflow-wrap: anywhere; line-height: 1.6; }
.footer-offices strong { display: block; color: var(--ft-accent); font-weight: 700; margin-bottom: 4px; }
.footer-offices address:first-child { padding-left: 14px; border-left: 2px solid var(--ft-gold); }

/* Contact page office cards */
.office-label { font-size: 0.6875rem !important; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-deep) !important; margin: 0 0 6px !important; }
.office-card.is-primary { border-color: var(--gold); box-shadow: inset 0 3px 0 var(--gold); }
.office-card { overflow-wrap: anywhere; }

.fp-num { font-family: var(--font-display); font-size: 1rem; letter-spacing: 0.14em; color: var(--gold-deep); margin: 0 0 6px; }
.fp-tag { font-style: italic; font-weight: 500; color: var(--gold-deep); font-size: 0.8em; white-space: nowrap; }
.fp-subhead { font-size: 1.6rem; margin: 26px 0 8px; }

/* Home: execution gap + intervention */
.fp-gap { align-items: start; }
.fp-panel { background: var(--ink); color: var(--muted-light); padding: clamp(28px, 3.4vw, 48px); border-radius: var(--radius-lg); border-top: 3px solid var(--gold); }
.fp-panel h3 { color: var(--gold-light); font-family: var(--font-body); font-size: var(--fs-sm); font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; margin: 0 0 22px; }
.fp-friction { list-style: none; margin: 0; padding: 0; display: grid; }
.fp-friction li { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line-dark); color: var(--white); font-family: var(--font-display); font-size: clamp(1.35rem, 1.2rem + 0.5vw, 1.7rem); }
.fp-friction li:last-child { border-bottom: 0; }
.fp-friction .icon { flex: none; width: 24px; height: 24px; color: var(--gold-light); }
.fp-statements { display: grid; gap: clamp(16px, 2vw, 28px); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .fp-statements { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.fp-statement { border: 1px solid var(--line-dark); border-left: 3px solid var(--gold); padding: clamp(24px, 3vw, 40px); min-width: 0; }
.fp-statement-kicker { color: var(--gold-light); font-size: var(--fs-sm); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; margin: 0 0 10px; }
.fp-statement-main { color: var(--white); font-family: var(--font-display); font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.8rem); line-height: 1.1; margin: 0; }

/* About: philosophy, pledge, pillars, leadership, promise */
.fp-mandates { list-style: none; counter-reset: m; margin: 28px 0 0; padding: 0; display: grid; gap: 22px; }
.fp-mandates li { counter-increment: m; position: relative; padding-left: 56px; }
.fp-mandates li::before { content: "0" counter(m); position: absolute; left: 0; top: 2px; font-family: var(--font-display); font-size: 1.6rem; line-height: 1; color: var(--gold); }
.fp-mandates h3 { font-size: 1.45rem; margin: 0 0 4px; }
.fp-mandates p { color: var(--muted); margin: 0; }
.split-media.fp-fists { aspect-ratio: 1 / 1; background: var(--stone); }
.fp-quote { margin: 0; padding: 0; }
.fp-quote p { font-family: var(--font-display); font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.3rem); line-height: 1.3; color: var(--ink); margin: 0; }
.fp-quote.light p { color: var(--white); }
.fp-quote-rule { border-left: 3px solid var(--gold); padding-left: clamp(18px, 2vw, 28px); margin-top: 18px; }
.container.center { text-align: center; }
.container.center .eyebrow { justify-content: center; }
.split-media.fp-promise-media { aspect-ratio: 4 / 5; background: #000; }
.fp-pillars, .fp-verticals { display: grid; gap: clamp(18px, 2vw, 28px); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1024px) { .fp-pillars { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.fp-pillar, .fp-vertical { background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: var(--radius-lg); padding: clamp(24px, 2.8vw, 40px); scroll-margin-top: calc(var(--header-h) + 20px); min-width: 0; }
.fp-pillar-head { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 22px; }
.fp-pillar-num { flex: none; font-family: var(--font-display); font-size: 3.4rem; line-height: 0.9; color: var(--gold); }
.fp-pillar h3 { font-size: clamp(1.5rem, 1.3rem + 0.6vw, 1.85rem); margin: 0 0 8px; }
.fp-pillar-head p { color: var(--muted); margin: 0; }
.fp-dl { margin: 0; display: grid; }
.fp-dl > div { padding: 14px 0; border-top: 1px solid var(--line); }
.fp-dl dt { font-weight: 700; color: var(--ink); margin-bottom: 2px; }
.fp-dl dd { margin: 0; color: var(--muted); }
.fp-vertical-head { margin-bottom: 18px; }
.fp-vertical-head .s-card-icon { margin-bottom: 14px; }
.fp-vertical-head h3 { font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.6rem); margin: 0; }
@media (min-width: 900px) {
  .fp-vertical { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 48px; align-items: start; }
  .fp-vertical-head { margin-bottom: 0; }
  .fp-vertical .fp-dl > div:first-child { border-top: 0; padding-top: 0; }
}
#philosophy, #pillars, #leadership, #our-promise, #our-pledge, #service-verticals, #sector-expertise, #real-estate-services { scroll-margin-top: calc(var(--header-h) + 8px); }
.leader-card .team-photo { flex-direction: column; gap: 10px; border-style: dashed; border-color: var(--gold); }
.team-photo-note { font-size: var(--fs-sm); color: var(--muted); }
.leader-card { text-align: center; }

/* =====================================================================
   INFORMATION ARCHITECTURE — services area, homepage sections, footer
   ===================================================================== */
/* Footer: brand + Properties + Consultancy + About + Get in Touch */
@media (min-width: 640px) { .footer-top .footer-brand { grid-column: 1 / -1; } .footer-top .footer-brand p { max-width: 60ch; } }
@media (min-width: 900px) { .footer-top { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1180px) { .footer-top { grid-template-columns: 1.25fr 0.9fr 1.15fr 0.95fr 1.1fr; } .footer-top .footer-brand { grid-column: auto; } }
.footer-col li { min-width: 0; overflow-wrap: anywhere; }

/* Service cards (consistent height, short point list) */
.svc-card h3 { font-size: clamp(1.4rem, 1.25rem + 0.5vw, 1.7rem); }
.svc-points { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 8px; font-size: var(--fs-sm); color: var(--muted); }
.svc-points li { position: relative; padding-left: 16px; }
.svc-points li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
@media (min-width: 1024px) and (max-width: 1279px) { .x-flex.per-4.svc-grid > li { flex-basis: calc((100% - var(--g)) / 2); } }
.sector-grid { max-width: 1040px; margin-inline: auto; }

/* Outcome on light background */
.fp-outcome.dark { color: var(--ink); }

/* Real estate services band on the services landing page */
.re-band { display: grid; gap: 20px 40px; align-items: center; grid-template-columns: minmax(0, 1fr); }
.re-band h2 { margin-bottom: 0.25em; }
.re-band p { color: var(--muted); margin: 0; max-width: 60ch; }
@media (min-width: 900px) { .re-band { grid-template-columns: minmax(0, 1fr) auto; } }

/* Homepage: Why First Pledge (buyers / developers) */
.why-split { display: grid; gap: clamp(20px, 3vw, 36px); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) { .why-split { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.why-col { background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 40px); min-width: 0; display: flex; flex-direction: column; }
.why-col > h3 { font-size: clamp(1.5rem, 1.3rem + 0.7vw, 1.9rem); margin: 0 0 18px; }
.why-col .link-arrow { margin-top: auto; padding-top: 22px; align-self: flex-start; }
.why-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.why-list li { display: flex; gap: 12px; align-items: flex-start; }
.why-list .icon { flex: none; width: 18px; height: 18px; margin-top: 4px; color: var(--gold-deep); }
.why-list strong { display: block; color: var(--ink); }
.why-list span { color: var(--muted); font-size: var(--fs-sm); }
.why-col .fp-mandates { margin-top: 0; }
.fp-mandates h4 { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; margin: 0 0 4px; color: var(--ink); }

/* Leadership profile (reserved photo space, no stand-in image) */
.leader-profile { display: grid; gap: clamp(20px, 3vw, 40px); grid-template-columns: minmax(0, 1fr); align-items: center; max-width: 860px; margin-inline: auto; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(18px, 2.6vw, 32px); text-align: center; }
@media (min-width: 640px) { .leader-profile { grid-template-columns: minmax(0, 260px) minmax(0, 1fr); text-align: left; } }
.leader-photo { aspect-ratio: 4 / 5; width: 100%; max-width: 260px; margin-inline: auto; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; background: linear-gradient(160deg, var(--stone), var(--sand)); border: 1px dashed var(--gold); border-radius: var(--radius-lg); color: var(--muted); font-size: var(--fs-sm); padding: 12px; text-align: center; }
.leader-photo .icon { width: 64px; height: 64px; color: #b9ad97; stroke-width: 1; }
.leader-info { min-width: 0; }
.leader-kicker { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-deep); margin: 0 0 6px; }
.leader-info h3 { font-size: clamp(1.9rem, 1.5rem + 1.4vw, 2.6rem); margin: 0 0 8px; }
.leader-pending { color: var(--muted); margin: 0; }
.leader-profile.compact { max-width: none; margin: 0; }
@media (min-width: 640px) { .leader-profile.compact { grid-template-columns: minmax(0, 180px) minmax(0, 1fr); } .leader-profile.compact .leader-photo { max-width: 180px; } }

/* Homepage: leadership + promise */
.home-leadership { display: grid; gap: clamp(28px, 4vw, 64px); grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 960px) { .home-leadership { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.home-promise .link-arrow { margin-top: 24px; }

/* Homepage pathways (Real Estate / Corporate Services) */
.pathways { max-width: 1120px; margin-inline: auto; }
.pj-card.pathway .pj-card-media { aspect-ratio: 16 / 9; }
.pj-card.pathway .svc-points { margin-bottom: 18px; }
/* Desktop dropdowns: keep each item on one line */
@media (min-width: 1240px) { .primary-nav .dd { min-width: 250px; } .primary-nav .dd a { white-space: nowrap; } }
.leader-kicker { display: none; } /* section heading already says Leadership */
.about-subnav { padding-block: 22px; }
.about-subnav .cat-chips { margin: 0; }
