/* Hamda Real Estate — public site styles.
   Values transcribed from the design's inline styles (design_handoff_hamda/design/*.html).
   Tokens: see README "Design tokens". Breakpoint: 1000px (burger menu). */

:root {
  --ink: #322D29;
  --maroon: #72383D;
  --maroon-hover: #5A2B30;
  --sand: #E6C4A0;
  --paper: #F7F3EE;
  --paper-2: #EFE8DF;
  --muted: #5B514C;
  --muted-2: #7B706B;
  --muted-3: #9A8F89;
  --on-dark: #D9CFC6;
  --border: rgba(50, 45, 41, .1);
  --whatsapp: #25D366;
  --shadow: 0 18px 40px -20px rgba(50, 45, 41, .35);
  --shadow-pop: 0 24px 40px -20px rgba(50, 45, 41, .35);
  --font: 'ivyepic-variable', Manrope, system-ui, sans-serif;
  --font-display: 'ivyepic-variable', Manrope, sans-serif;
  --max: 1240px;
}

/* ---- base (design <helmet> styles) ---------------------------------------------------- */
html, body { margin: 0; padding: 0; background: var(--paper); color: var(--ink); -webkit-font-smoothing: antialiased; }
*, *::before, *::after { box-sizing: border-box; }
body { font-family: var(--font); font-size: 15px; line-height: 1.55; min-height: 100vh; }
a { color: var(--maroon); text-decoration: none; }
a:hover { color: var(--maroon-hover); }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
input::placeholder, textarea::placeholder { color: var(--muted-3); }
img { max-width: 100%; }
@keyframes hre-fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes hre-slide { from { transform: translateX(24px); opacity: 0; } to { transform: none; opacity: 1; } }

.container { max-width: var(--max); margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.skip-link { position: absolute; left: -10000px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { left: 8px; color: #fff; }
:focus-visible { outline: 2px solid var(--maroon); outline-offset: 2px; }

/* ---- top bar (desktop only) ------------------------------------------------------------ */
.topbar { background: var(--ink); color: var(--on-dark); font-size: 12.5px; letter-spacing: .02em; }
.topbar__inner { max-width: var(--max); margin: 0 auto; padding: 8px 24px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; align-items: center; }
.topbar__links { display: flex; flex-wrap: wrap; gap: 6px 22px; white-space: nowrap; }
.topbar a { color: var(--on-dark); }
.topbar a:hover { color: #fff; }
.topbar__license { color: var(--muted-3); white-space: nowrap; }

/* ---- sticky nav ------------------------------------------------------------------------ */
.nav { position: sticky; top: 0; z-index: 40; background: rgba(247, 243, 238, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.nav__inner { max-width: var(--max); margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.nav__logo { display: flex; align-items: center; }
.nav__logo img { height: 60px; width: auto; display: block; }
.nav__menu { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; margin: 0; padding: 0; list-style: none; }
.nav__item { position: relative; }
.nav__link { display: inline-block; background: none; border: 0; border-bottom: 2px solid transparent; padding: 8px 12px; font-size: 14px; white-space: nowrap; font-weight: 500; color: var(--ink); }
.nav__link:hover { color: var(--maroon); }
.nav__link.is-active { font-weight: 700; color: var(--maroon); border-bottom-color: var(--maroon); }
.nav__caret { font-size: 9px; margin-inline-start: 6px; vertical-align: middle; }

/* About dropdown: opens on hover / keyboard focus (desktop) */
.nav__dropdown { display: none; position: absolute; top: 100%; inset-inline-start: 0; padding-top: 6px; z-index: 50; }
.nav__item--has-sub:hover .nav__dropdown,
.nav__item--has-sub:focus-within .nav__dropdown,
.nav__item--has-sub.is-open .nav__dropdown { display: block; }
.nav__dropdown-panel { min-width: 250px; background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 8px; box-shadow: var(--shadow-pop); display: grid; gap: 2px; animation: hre-fade .18s ease both; }
.nav__sublink { display: block; padding: 10px 12px; border-radius: 7px; font-size: 14px; color: var(--ink); font-weight: 500; }
.nav__sublink:hover { background: var(--paper); color: var(--maroon); }
.nav__sublink.is-active { font-weight: 700; background: var(--paper); color: var(--maroon); }

.nav__actions { display: flex; gap: 10px; align-items: center; }

/* Buttons */
.btn-pill { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: 13.5px; }
.btn-pill--maroon { background: var(--maroon); color: #fff; }
.btn-pill--maroon:hover { background: var(--maroon-hover); color: #fff; }
.btn-pill--outline { border: 1px solid var(--ink); color: var(--ink); background: transparent; }
.btn-pill--outline:hover { background: var(--ink); color: var(--paper); }

/* Burger (mobile) */
.burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; flex-direction: column; justify-content: center; align-items: center; gap: 6px; padding: 0; margin-inline-start: auto; }
.burger span { display: block; width: 24px; height: 2px; background: var(--ink); transition: transform .25s, opacity .2s; }
.nav.is-menu-open .burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav.is-menu-open .burger span:nth-child(2) { opacity: 0; }
.nav.is-menu-open .burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Mobile menu panel */
.mobile-menu { display: none; position: absolute; top: 100%; left: 0; right: 0; border-top: 1px solid var(--border); background: var(--paper); padding: 8px 24px 20px; flex-direction: column; gap: 2px; animation: hre-fade .25s ease both; box-shadow: var(--shadow-pop); z-index: 41; max-height: calc(100vh - 90px); overflow-y: auto; }
.nav.is-menu-open .mobile-menu { display: flex; }
.mobile-menu__link { display: block; text-align: start; padding: 14px 0; font-size: 17px; border-bottom: 1px solid rgba(50, 45, 41, .08); font-weight: 500; color: var(--ink); }
.mobile-menu__link.is-active { font-weight: 700; color: var(--maroon); }
.mobile-menu__sub { display: flex; flex-direction: column; border-bottom: 1px solid rgba(50, 45, 41, .08); padding: 4px 0 8px; }
.mobile-menu__sublink { padding: 9px 0 9px 18px; font-size: 15px; color: var(--muted); font-weight: 500; }
.mobile-menu__sublink.is-active { color: var(--maroon); font-weight: 700; }
.mobile-menu__actions { display: flex; gap: 10px; margin-top: 12px; }
.mobile-menu__actions a { flex: 1; text-align: center; padding: 13px 18px; font-size: 14px; }

@media (max-width: 1000px) {
  .topbar, .nav__menu, .nav__actions { display: none; }
  .burger { display: flex; }
}

/* ---- footer ---------------------------------------------------------------------------- */
.footer { background: var(--ink); color: var(--on-dark); }
.footer__grid { max-width: var(--max); margin: 0 auto; padding: 64px 24px 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; }
.footer__logo { height: 60px; width: auto; display: block; margin-bottom: 18px; }
.footer__tagline { font-family: var(--font-display); font-weight: 700; font-size: 22px; color: var(--paper); line-height: 1.2; }
.footer__heading { font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-3); margin-bottom: 14px; }
.footer__links { display: grid; gap: 8px; font-size: 14px; }
.footer a { color: var(--on-dark); }
.footer a:hover { color: #fff; }
.footer__text { font-size: 14px; line-height: 1.7; }
.footer__contact { font-size: 14px; line-height: 1.9; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); }
.footer__bottom-inner { max-width: var(--max); margin: 0 auto; padding: 18px 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 12px; color: var(--muted-3); }

/* ---- floating WhatsApp ----------------------------------------------------------------- */
.wa-float { position: fixed; bottom: 24px; inset-inline-end: 24px; z-index: 50; width: 54px; height: 54px; border-radius: 50%; background: var(--whatsapp); display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .4); transition: transform .15s; }
.wa-float:hover { transform: scale(1.06); }

/* ---- shared page bits ------------------------------------------------------------------ */
.eyebrow { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--maroon); font-weight: 600; }
.h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(36px, 4.4vw, 60px); line-height: 1.05; margin: 0; letter-spacing: -.01em; text-wrap: balance; }
.lead { font-size: 17px; color: var(--muted); text-wrap: pretty; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ======================================================================================
   Shared UI
   ====================================================================================== */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px; border-radius: 10px; font-weight: 600; font-size: 14px; text-align: center; border: 0; }
.btn--maroon { background: var(--maroon); color: #fff; }
.btn--maroon:hover { background: var(--maroon-hover); color: #fff; }
.btn--outline { border: 1px solid var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: var(--paper); }
.btn--dark { background: var(--ink); color: var(--paper); padding: 12px 16px; font-size: 13.5px; }
.btn--dark:hover { background: var(--maroon); color: #fff; }
.btn:disabled { opacity: .6; cursor: progress; }
.tag { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; padding: 5px 9px; white-space: nowrap; }
.tag--dark { background: var(--ink); color: var(--paper); }
.tag--maroon { background: var(--maroon); color: var(--paper); }
.tag--outline { border: 1px solid rgba(50, 45, 41, .2); padding: 4px 9px; color: var(--muted); }
.field, .field-select { width: 100%; border: 1px solid rgba(50, 45, 41, .18); padding: 12px 13px; border-radius: 10px; background: #fff; font-size: 14px; }
.field-select { border-color: rgba(50, 45, 41, .15); background: var(--paper); padding: 11px 12px; font-size: 13.5px; }
.field:focus, .field-select:focus { outline: 2px solid var(--maroon); outline-offset: 0; border-color: transparent; }
.field-check { display: flex; align-items: center; gap: 10px; font-size: 13.5px; padding: 0 6px; cursor: pointer; }
.field-check input { accent-color: var(--maroon); width: 16px; height: 16px; }
.form-error { color: #A1262E; font-size: 12.5px; margin-top: 6px; }
.form-error[data-error="form"] { margin: 0 0 10px; }
.empty-state { padding: 64px 24px; text-align: center; border: 1px dashed rgba(50, 45, 41, .2); border-radius: 10px; color: var(--muted-2); }
.section-title { font-family: var(--font-display); font-weight: 700; font-size: 24px; line-height: 1.2; margin: 0 0 14px; display: flex; align-items: center; gap: 10px; }
.section-title__count { font-family: var(--font); font-size: 12px; font-weight: 600; background: var(--paper-2); color: var(--muted); border-radius: 999px; padding: 3px 10px; }

/* Branded placeholder when a property has no photos yet */
.placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; background: linear-gradient(160deg, #EFE3D4 0%, #E6D5C1 100%); color: rgba(50, 45, 41, .72); text-align: center; padding: 16px; }
.placeholder img { opacity: .55; }
.placeholder span { font-family: var(--font-display); font-weight: 700; font-size: 18px; }
.placeholder small { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); }
.placeholder--lg span { font-size: 26px; }

/* Photo slider arrows/dots (cards + gallery) */
.slider-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border: 0; background: transparent; color: #fff; font-size: 30px; line-height: 1; display: flex; align-items: center; justify-content: center; text-shadow: 0 1px 8px rgba(0, 0, 0, .65); padding: 0; z-index: 2; transition: transform .15s; }
.slider-arrow:hover { color: #fff; transform: translateY(-50%) scale(1.15); }
.slider-arrow--prev { left: 10px; }
.slider-arrow--next { right: 10px; }
.slider-arrow--lg { width: 44px; height: 44px; font-size: 38px; }
.slider-arrow--lg.slider-arrow--prev { left: 14px; }
.slider-arrow--lg.slider-arrow--next { right: 14px; }
.slider-dots { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); display: flex; gap: 5px; pointer-events: none; z-index: 2; }
.slider-dots span { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .45); }
.slider-dots span.is-on { background: #fff; }

/* ======================================================================================
   Properties listing
   ====================================================================================== */
.filters { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 18px 20px; display: flex; flex-direction: column; gap: 16px; }
.filters__row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.filters__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; align-items: center; }
.pill-toggle { display: inline-flex; border: 1px solid rgba(50, 45, 41, .15); border-radius: 999px; overflow: hidden; margin-inline-end: 8px; }
.pill-toggle__btn { border: 0; padding: 9px 16px; font-size: 13px; font-weight: 600; background: transparent; color: var(--muted); }
.pill-toggle__btn:hover { color: var(--ink); }
.pill-toggle__btn.is-on { background: var(--ink); color: var(--paper); }
.chip { border: 1px solid rgba(50, 45, 41, .15); border-radius: 999px; padding: 8px 14px; font-size: 13px; font-weight: 500; background: #fff; color: var(--ink); }
.chip:hover { border-color: var(--maroon); color: var(--maroon); }
.chip.is-on { border-color: var(--maroon); background: var(--maroon); color: #fff; }
.results-bar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin: 22px 0 18px; font-size: 13.5px; color: var(--muted-2); }
.results-bar strong { color: var(--ink); }
.results-bar__reset { color: var(--maroon); font-weight: 600; }

.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.card { position: relative; background: #fff; border: 1px solid rgba(50, 45, 41, .08); border-radius: 10px; overflow: hidden; transition: transform .25s, box-shadow .25s; animation: hre-fade .4s ease both; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card:focus-within { box-shadow: var(--shadow); }
.card__media { position: relative; height: 200px; background: #E8DFD3; }
.card__img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 12px 12px 0 0; }
.card__tags { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; pointer-events: none; z-index: 2; }
.card__count { position: absolute; bottom: 10px; right: 12px; background: rgba(50, 45, 41, .7); color: var(--paper); font-size: 11px; padding: 3px 8px; border-radius: 10px; pointer-events: none; z-index: 2; }
.card__body { padding: 16px 18px 18px; }
.card__price-row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.card__price { font-family: var(--font-display); font-weight: 700; font-size: 25px; color: var(--maroon); line-height: 1; }
.card__from { font-family: var(--font); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); margin-inline-end: 6px; vertical-align: middle; }
.card__per { font-size: 12px; color: var(--muted-2); }
.card__title { font-weight: 600; margin: 9px 0 0; font-size: 14.5px; line-height: 1.35; }
.card__link { color: var(--ink); }
.card__link:hover { color: var(--ink); }
.card__link::after { content: ''; position: absolute; inset: 0; z-index: 1; }   /* whole card is clickable */
.card__link:focus-visible { outline: none; }
.card__sub { color: var(--muted-2); font-size: 13px; margin-top: 3px; }
.card__stats { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(50, 45, 41, .08); font-size: 13px; color: var(--muted); }
.card__avail { margin-inline-start: auto; color: var(--muted-2); }

.pager { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.pager__link { min-width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(50, 45, 41, .15); border-radius: 999px; font-size: 13.5px; font-weight: 600; color: var(--ink); background: #fff; }
.pager__link.is-on { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.data-note { margin: 36px 0 0; font-size: 12.5px; color: var(--muted-3); text-align: center; }

/* ======================================================================================
   Property page
   ====================================================================================== */
.back-link { font-size: 13px; color: var(--maroon); font-weight: 600; }
.detail { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "gallery" "side" "rest"; gap: 32px 40px; margin-top: 18px; align-items: start; }
.detail__gallery { grid-area: gallery; min-width: 0; }
.detail__side { grid-area: side; }
.detail__rest { grid-area: rest; min-width: 0; }
.detail__rest > .detail__block:first-child { margin-top: 0; }
@media (min-width: 1001px) {
  .detail { grid-template-columns: minmax(0, 1.7fr) minmax(360px, 1fr); grid-template-areas: "gallery side" "rest side"; row-gap: 0; }
  .detail__side { position: sticky; top: 96px; align-self: start; }
  .detail__rest { padding-top: 40px; }
}

.gallery__stage { position: relative; height: clamp(300px, 52vw, 560px); background: #E8DFD3; border-radius: 12px; overflow: hidden; }
.gallery__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery__pos { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); background: rgba(50, 45, 41, .75); color: var(--paper); font-size: 12px; padding: 4px 10px; border-radius: 999px; pointer-events: none; z-index: 2; }
.gallery__thumbs { display: flex; gap: 8px; padding: 10px 0 0; overflow-x: auto; }
.gallery__thumb { flex: none; padding: 0; border: 2px solid transparent; border-radius: 8px; background: none; line-height: 0; }
.gallery__thumb img { width: 72px; height: 54px; object-fit: cover; border-radius: 6px; display: block; }
.gallery__thumb.is-on { border-color: var(--maroon); }

.detail__block { margin-top: 40px; }
.prose { color: var(--muted); font-size: 15px; max-width: 70ch; }

.detail__tags { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.detail__price { font-family: var(--font-display); font-weight: 700; font-size: 38px; color: var(--maroon); line-height: 1; }
.detail__from { font-family: var(--font); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); vertical-align: middle; }
.detail__per { font-family: var(--font); font-weight: 400; font-size: 13px; color: var(--muted-2); }
.detail__monthly { font-size: 13px; color: var(--muted-2); margin-top: 6px; }
.detail__title { font-family: var(--font-display); font-weight: 700; font-size: 28px; line-height: 1.15; margin: 18px 0 6px; }
.detail__loc { color: var(--muted); }

.spec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(50, 45, 41, .12); margin: 22px 0; border: 1px solid rgba(50, 45, 41, .12); }
.spec { background: #fff; padding: 14px 12px; min-width: 0; }
.spec__label { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); }
.spec__value { font-family: var(--font-display); font-weight: 700; font-size: 24px; margin-top: 2px; }
.spec__value--sm { font-size: 15px; line-height: 1.3; margin-top: 6px; }
@media (max-width: 480px) { .spec-grid { grid-template-columns: repeat(2, 1fr); } }

.perks { margin: 0 0 26px; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 14px; color: var(--muted); }
.perks li { padding-inline-start: 16px; position: relative; }
.perks li::before { content: ''; position: absolute; inset-inline-start: 0; top: 9px; width: 6px; height: 6px; background: var(--maroon); border-radius: 50%; }
.cta-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.viewing { margin-top: 28px; border-top: 1px solid rgba(50, 45, 41, .12); padding-top: 22px; scroll-margin-top: 110px; }
.viewing__title { font-family: var(--font-display); font-weight: 700; font-size: 24px; margin-bottom: 12px; }
.viewing__grid .btn { white-space: nowrap; }
.viewing__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; align-items: start; }
.viewing__thanks { background: #fff; padding: 20px; border: 1px solid var(--border); text-align: center; color: var(--maroon); font-weight: 600; animation: hre-fade .3s ease both; }
.viewing__thanks:focus { outline: none; }

/* Available units */
.units { background: #fff; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.units__head, .units__row { display: grid; grid-template-columns: .8fr 1.3fr .9fr 1.1fr 1.1fr .7fr auto; gap: 12px; align-items: center; padding: 12px 16px; }
.units__cell--price, .units__row .units__cell[data-label="With parking"], .units__row .units__cell[data-label="Size"] { white-space: nowrap; }
.units__head { background: var(--paper); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); }
.units__row { border-top: 1px solid rgba(50, 45, 41, .08); font-size: 14px; }
.units__row:hover { background: #FCFAF7; }
.units__cell--unit strong { display: block; font-size: 15px; }
.units__cell--unit small { color: var(--muted-3); font-size: 11.5px; letter-spacing: .04em; }
.units__cell--price { font-weight: 700; color: var(--maroon); }
.units__enquire { display: inline-block; font-size: 12.5px; font-weight: 600; color: var(--maroon); border: 1px solid rgba(114, 56, 61, .35); border-radius: 999px; padding: 6px 12px; white-space: nowrap; }
.units__enquire:hover { background: var(--maroon); color: #fff; }
.units__note { grid-column: 1 / -1; font-size: 13px; color: var(--muted-2); margin-top: -4px; }
.units__foot { font-size: 12.5px; color: var(--muted-3); margin: 10px 0 0; }
@media (max-width: 760px) {
  .units__head { display: none; }
  .units__row { grid-template-columns: 1fr 1fr; gap: 8px 16px; padding: 16px; }
  .units__cell[data-label]::before { content: attr(data-label); display: block; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-3); margin-bottom: 2px; }
  .units__cell--unit { grid-column: 1 / 2; }
  .units__cell--action { grid-column: 2 / 3; grid-row: 1; justify-self: end; }
}

/* Videos */
.videos { display: grid; gap: 14px; }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #1d1a18; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ======================================================================================
   Step 5 — shared bits for content pages
   ====================================================================================== */
.eyebrow--sand { color: var(--sand); }
.h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.1; margin: 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 16px; margin-bottom: 28px; }
.link-underline { color: var(--maroon); font-weight: 600; font-size: 14px; border-bottom: 1px solid var(--maroon); padding-bottom: 1px; }
.btn-line { display: inline-block; margin-top: 26px; border: 1px solid var(--ink); padding: 12px 22px; border-radius: 10px; font-weight: 600; font-size: 13.5px; color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.muted-sm { color: var(--muted-2); font-size: 13.5px; }
.label-caps { font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 6px; }
.ink-link { color: var(--ink); }
.ink-link:hover { color: var(--maroon); }
.lead-p { margin: 0 0 12px; }
.lead-p:last-child { margin-bottom: 0; }
.btn--sm { padding: 12px 18px; font-size: 13.5px; }
.btn--lg { padding: 15px 24px; font-size: 14px; letter-spacing: .02em; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.field--sand { background: var(--paper); padding: 13px 14px; font-size: 15px; }
textarea.field { resize: vertical; min-height: 110px; }
.form-note { font-size: 12px; color: var(--muted-3); }

/* ---- homepage hero (cinematic) ------------------------------------------------------- */
.hero { position: relative; min-height: 78vh; background: var(--ink); color: var(--paper); display: flex; align-items: flex-end; overflow: hidden; }
.hero__slides { position: absolute; inset: 0; overflow: hidden; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; display: block; opacity: 0; transition: opacity 1.2s ease-in-out; }
.hero__img.is-on { opacity: 1; }
.hero__arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border: 0; background: transparent; color: #fff; font-size: 38px; line-height: 1; display: flex; align-items: center; justify-content: center; text-shadow: 0 1px 8px rgba(0, 0, 0, .65); padding: 0; z-index: 2; transition: transform .15s; }
.hero__arrow:hover { transform: translateY(-50%) scale(1.15); }
.hero__arrow--prev { left: 16px; }
.hero__arrow--next { right: 16px; }
.hero__shade { position: absolute; inset: 0; background: rgba(50, 45, 41, .35); pointer-events: none; }
.hero__content { position: relative; max-width: var(--max); margin: 0 auto; padding: 120px 24px 64px; width: 100%; animation: hre-fade .8s ease both; }
.hero__eyebrow { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--sand); font-weight: 600; margin-bottom: 20px; }
.hero__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(46px, 7vw, 100px); line-height: .98; margin: 0 0 28px; letter-spacing: -.015em; max-width: 900px; text-wrap: balance; }
.hero__title em { font-style: italic; color: var(--sand); }
.hero__sub { font-size: 17px; color: rgba(247, 243, 238, .8); max-width: 560px; margin: 0 0 36px; text-wrap: pretty; }
.hero-search { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1px; background: rgba(247, 243, 238, .18); border: 1px solid rgba(247, 243, 238, .18); border-radius: 10px; overflow: hidden; max-width: 980px; }
.hero-search select { background: var(--paper); color: var(--ink); border: 0; padding: 18px 16px; font-size: 14px; font-weight: 500; border-radius: 0; min-width: 0; }
.hero-search button { background: var(--maroon); color: #fff; border: 0; padding: 18px 22px; font-weight: 600; font-size: 14px; letter-spacing: .04em; }
.hero-search button:hover { background: var(--maroon-hover); }
.hero-search select:focus-visible, .hero-search button:focus-visible { outline: 2px solid var(--sand); outline-offset: -2px; }

/* ---- featured ------------------------------------------------------------------------ */
.section-featured { padding-top: 72px; padding-bottom: 24px; }
.card-grid--fit { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card--featured .card__media { height: 210px; }
.card--featured .card__price { font-size: 26px; }
.card--featured .card__body { padding: 18px 18px 20px; }
.card--featured .card__title { font-size: 15px; margin-top: 10px; }

/* ---- why ----------------------------------------------------------------------------- */
.why { background: var(--ink); color: var(--paper); margin-top: 64px; }
.why__inner { max-width: var(--max); margin: 0 auto; padding: 88px 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 48px; align-items: center; }
.why__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(34px, 4vw, 56px); line-height: 1.05; margin: 0 0 20px; text-wrap: balance; }
.why__body { color: rgba(247, 243, 238, .75); font-size: 16px; max-width: 480px; margin: 0; text-wrap: pretty; }
.why__list { display: grid; gap: 1px; background: rgba(247, 243, 238, .12); }
.why__item { background: var(--ink); padding: 24px 26px; display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.why__n { font-family: var(--font-display); font-weight: 700; font-size: 30px; color: var(--sand); line-height: 1; }
.why__item-title { font-weight: 600; font-size: 16px; margin-bottom: 4px; }
.why__item-body { color: rgba(247, 243, 238, .7); font-size: 14px; }

/* ---- founder teaser ------------------------------------------------------------------ */
.founder-teaser { padding-top: 88px; padding-bottom: 88px; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 48px; align-items: center; }
.founder-teaser__photo { position: relative; height: 520px; border-radius: 10px; overflow: hidden; background: var(--ink); }
.founder-teaser__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.founder-teaser__quote { font-family: var(--font-display); font-weight: 400; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.25; margin: 0 0 22px; text-wrap: pretty; }
@media (max-width: 640px) { .founder-teaser__photo { height: 420px; } }

/* ---- services strip (home) ----------------------------------------------------------- */
.services-strip { background: var(--paper-2); }
.services-strip__inner { padding-top: 72px; padding-bottom: 72px; }
.services-strip__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.service-card { background: var(--paper); padding: 28px 26px; border-radius: 10px; border-top: 2px solid var(--maroon); min-height: 200px; display: flex; flex-direction: column; gap: 10px; color: var(--ink); transition: transform .25s, box-shadow .25s; }
.service-card:hover { color: var(--ink); transform: translateY(-3px); box-shadow: var(--shadow); }
.service-card__k { font-family: var(--font-display); font-weight: 700; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); }
.service-card__title { font-family: var(--font-display); font-weight: 500; font-size: 26px; line-height: 1.15; }
.service-card__short { color: var(--muted); font-size: 14px; text-wrap: pretty; }

/* ---- offer popup --------------------------------------------------------------------- */
.offer { position: fixed; inset: 0; background: rgba(50, 45, 41, .6); z-index: 70; -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); display: flex; align-items: center; justify-content: center; padding: 20px; animation: hre-fade .3s ease both; overflow-y: auto; }
.offer[hidden] { display: none; }
.has-offer body { overflow: hidden; }
.offer__dialog { width: min(880px, 100%); background: var(--paper); border-radius: 14px; overflow: hidden; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); position: relative; margin: auto; }
.offer__media { position: relative; min-height: 260px; background: #E8DFD3; }
.offer__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.offer__badge { position: absolute; top: 16px; left: 16px; background: var(--maroon); color: #fff; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; padding: 6px 10px; border-radius: 6px; white-space: nowrap; }
.offer__body { padding: 36px 34px 30px; display: flex; flex-direction: column; gap: 14px; }
.offer__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(30px, 3.2vw, 42px); line-height: 1.05; margin: 0; text-wrap: balance; }
.offer__text { margin: 0; color: var(--muted); font-size: 15.5px; text-wrap: pretty; }
.offer__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.offer__cta { background: var(--ink); color: var(--paper); padding: 14px 22px; border-radius: 10px; font-weight: 600; font-size: 14px; white-space: nowrap; }
.offer__cta:hover { background: var(--maroon); color: #fff; }
.offer__later { background: transparent; border: 1px solid rgba(50, 45, 41, .25); color: var(--ink); padding: 14px 20px; border-radius: 10px; font-weight: 600; font-size: 14px; white-space: nowrap; }
.offer__later:hover { border-color: var(--ink); }
.offer__validity { font-size: 12px; color: var(--muted-3); }
.offer__x { position: absolute; top: 12px; inset-inline-end: 12px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(50, 45, 41, .75); color: #fff; font-size: 18px; line-height: 1; z-index: 2; }
@media (max-width: 600px) { .offer__media { min-height: 200px; } .offer__body { padding: 26px 22px 24px; } }

/* ---- About: sub-tabs, profile -------------------------------------------------------- */
.subtabs { border-bottom: 1px solid var(--border); background: var(--paper); }
.subtabs__inner { max-width: var(--max); margin: 0 auto; padding: 0 24px; display: flex; overflow-x: auto; scrollbar-width: none; }
.subtabs__inner::-webkit-scrollbar { display: none; }
.subtabs__link { padding: 16px 4px; margin-inline-end: 26px; font-size: 14px; white-space: nowrap; border-bottom: 2px solid transparent; color: var(--muted); font-weight: 500; }
.subtabs__link:hover { color: var(--maroon); }
.subtabs__link.is-on { border-bottom-color: var(--maroon); color: var(--maroon); font-weight: 700; }

.about-hero { background: var(--ink); color: var(--paper); }
.about-hero__inner { max-width: var(--max); margin: 0 auto; padding: 80px 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 56px; align-items: center; }
.about-hero__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(38px, 4.6vw, 64px); line-height: 1.04; margin: 0 0 24px; text-wrap: balance; }
.about-hero__p { color: rgba(247, 243, 238, .78); font-size: 16.5px; margin: 0 0 16px; text-wrap: pretty; }
.about-hero__p--hl { color: var(--sand); font-weight: 600; margin: 0; }
.about-hero__photo { position: relative; height: 600px; border-radius: 10px; overflow: hidden; background: transparent; }   /* transparent PNGs blend into the dark section */
.about-hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.about-hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(50, 45, 41, 0) 50%, rgba(50, 45, 41, .9) 100%), linear-gradient(0deg, rgba(50, 45, 41, .9) 0%, rgba(50, 45, 41, 0) 30%); }
.about-hero__caption { position: absolute; bottom: 26px; inset-inline-start: 26px; }
.about-hero__name { font-family: var(--font-display); font-weight: 700; font-size: 28px; }
.about-hero__role { font-size: 13px; color: var(--sand); letter-spacing: .08em; text-transform: uppercase; }
@media (max-width: 640px) { .about-hero__photo { height: 460px; } }

.values { padding-top: 80px; padding-bottom: 80px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 40px; }
.value { border-top: 1px solid var(--ink); padding-top: 22px; }
.value__k { font-family: var(--font-display); font-weight: 700; font-size: 14px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 10px; }
.value__title { font-family: var(--font-display); font-weight: 700; font-size: 30px; line-height: 1.1; margin: 0 0 12px; }
.value__body { margin: 0; color: var(--muted); text-wrap: pretty; }

.facts { background: var(--paper-2); }
.facts__inner { max-width: var(--max); margin: 0 auto; padding: 64px 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.facts__label { font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-2); }
.facts__value { font-family: var(--font-display); font-weight: 700; font-size: 32px; margin-top: 6px; }

/* ---- About: CEO / Founder message ---------------------------------------------------- */
.message { padding-top: 64px; padding-bottom: 88px; }
.message__grid { display: grid; gap: 36px; }
@media (min-width: 1001px) { .message__grid { grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 64px; align-items: start; } }
.message__photo { position: relative; border-radius: 10px; overflow: hidden; background: var(--paper-2); }
.message__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.message__photo--square { aspect-ratio: 1; }
.message__photo--portrait { aspect-ratio: 2 / 3; background: #2A2623; }
@media (max-width: 1000px) { .message__photo { max-width: 420px; } }
.message__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(34px, 4vw, 54px); line-height: 1.06; margin: 0 0 28px; text-wrap: balance; }
.message__body { display: grid; gap: 18px; font-size: 17px; line-height: 1.7; color: #4A423E; max-width: 680px; }
.message__body p { margin: 0; text-wrap: pretty; }
.message__body strong { color: var(--ink); }
.message__sign { margin-top: 36px; padding-top: 24px; border-top: 1px solid rgba(50, 45, 41, .15); display: inline-block; min-width: 260px; }
.message__name { font-family: var(--font-display); font-weight: 700; font-size: 26px; line-height: 1.1; }
.message__role { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--maroon); margin-top: 6px; font-weight: 600; }

/* ---- About: team --------------------------------------------------------------------- */
.leaders { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.leader { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 20px; align-items: center; background: var(--ink); color: var(--paper); border-radius: 10px; padding: 20px; }
.leader:hover { background: #2A2623; color: var(--paper); }
.leader__photo { width: 120px; height: 120px; border-radius: 10px; overflow: hidden; background: #2A2623; }
.leader__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.leader__name { font-family: var(--font-display); font-weight: 700; font-size: 22px; line-height: 1.15; }
.leader__role { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--sand); margin-top: 6px; }
.leader__more { font-size: 13px; color: rgba(247, 243, 238, .7); margin-top: 10px; }
@media (max-width: 420px) { .leader { grid-template-columns: 88px minmax(0, 1fr); } .leader__photo { width: 88px; height: 88px; } }

.staff-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 20px; }
.staff { background: #fff; border: 1px solid rgba(50, 45, 41, .08); border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; }
.staff__photo { position: relative; aspect-ratio: 1; background: var(--paper-2); }
.staff__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.staff__initials { font-size: 44px !important; letter-spacing: .04em; color: rgba(50, 45, 41, .45); }
.staff__body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.staff__name { font-family: var(--font-display); font-weight: 700; font-size: 19px; line-height: 1.2; margin: 0; }
.staff__role { font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--maroon); font-weight: 600; }
.staff__bio { margin: 4px 0 0; font-size: 14px; color: var(--muted); line-height: 1.6; text-wrap: pretty; }

/* ---- Services page ------------------------------------------------------------------- */
.services-hero { position: relative; min-height: 520px; display: flex; align-items: flex-end; background: var(--ink) center 30% / cover no-repeat; color: var(--paper); margin-bottom: 56px; }
.services-hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(50, 45, 41, .55) 0%, rgba(50, 45, 41, .25) 40%, rgba(50, 45, 41, .85) 100%); }
.services-hero__inner { position: relative; max-width: var(--max); margin: 0 auto; padding: 120px 24px 56px; width: 100%; }
.services-hero__intro { font-size: 17px; color: rgba(247, 243, 238, .85); max-width: 620px; text-wrap: pretty; }
.services-hero__intro p, .res-hero__intro p { margin: 0 0 10px; }
.services-hero__intro p:last-child, .res-hero__intro p:last-child { margin-bottom: 0; }
.service-rows { display: grid; gap: 1px; background: rgba(50, 45, 41, .12); border: 1px solid rgba(50, 45, 41, .12); }
.service-row { background: var(--paper); padding: 40px 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; align-items: start; scroll-margin-top: 110px; }
.service-row__k { font-family: var(--font-display); font-weight: 700; font-size: 14px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 8px; }
.service-row__title { font-family: var(--font-display); font-weight: 700; font-size: 34px; line-height: 1.1; margin: 0; }
.service-row__detail { grid-column: span 2; min-width: 0; }
.service-row__body { margin: 0 0 16px; color: var(--muted); font-size: 15.5px; text-wrap: pretty; }
.service-row__points { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 8px 24px; font-size: 14px; }
.service-row__points li { padding-inline-start: 16px; position: relative; }
.service-row__points li::before { content: ''; position: absolute; inset-inline-start: 0; top: 9px; width: 6px; height: 6px; background: var(--maroon); border-radius: 50%; }
@media (max-width: 640px) { .service-row { padding: 28px 20px; } .service-row__detail { grid-column: auto; } }

/* ---- Tenant resources ---------------------------------------------------------------- */
.res-hero { background: var(--ink) center / cover no-repeat; color: var(--paper); }
.res-hero__inner { max-width: var(--max); margin: 0 auto; padding: 88px 24px 72px; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 48px; align-items: end; }
.res-hero__intro { font-size: 16.5px; color: rgba(247, 243, 238, .8); text-wrap: pretty; }
.handbook { background: rgba(247, 243, 238, .08); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid rgba(247, 243, 238, .18); color: var(--paper); padding: 30px; border-radius: 10px; display: flex; flex-direction: column; gap: 14px; }
.handbook__title { font-family: var(--font-display); font-weight: 700; font-size: 28px; line-height: 1.1; }
.handbook__body { color: rgba(247, 243, 238, .75); font-size: 14px; }
.handbook__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.handbook__btn { background: var(--paper); color: var(--ink); padding: 12px 18px; border-radius: 10px; font-weight: 600; font-size: 13.5px; }
.handbook__btn:hover { background: #fff; color: var(--maroon); }
.handbook__btn--ghost { background: transparent; border: 1px solid rgba(247, 243, 238, .35); color: var(--paper); }
.handbook__btn--ghost:hover { background: rgba(247, 243, 238, .12); color: #fff; }

.faq { border-top: 1px solid rgba(50, 45, 41, .15); }
.faq__item { border-bottom: 1px solid rgba(50, 45, 41, .15); }
.faq__q { list-style: none; cursor: pointer; padding: 22px 0; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-family: var(--font-display); font-weight: 700; font-size: 24px; line-height: 1.2; color: var(--ink); }
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { color: var(--maroon); }
.faq__sign { font-family: var(--font); font-size: 22px; color: var(--maroon); line-height: 1; flex: none; }
.faq__sign::before { content: '+'; }
.faq__item[open] .faq__sign::before { content: '−'; }
.faq__a { margin: 0 0 24px; max-width: 760px; color: var(--muted); font-size: 15.5px; text-wrap: pretty; animation: hre-fade .3s ease both; }
.faq__a p { margin: 0 0 10px; }
.faq__a p:last-child { margin: 0; }
@media (max-width: 640px) { .faq__q { font-size: 20px; } }

/* ---- Contact ------------------------------------------------------------------------- */
.contact { padding-top: 64px; padding-bottom: 80px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 48px; }
.contact__details { display: grid; gap: 22px; font-size: 15px; }
.contact__buttons { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.contact__map { margin-top: 36px; height: 300px; border-radius: 10px; overflow: hidden; border: 1px solid rgba(50, 45, 41, .12); filter: grayscale(.35) contrast(1.02); background: var(--paper-2); }
.contact__map iframe { width: 100%; height: 100%; border: 0; display: block; }
.form-card { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 34px 30px; align-self: start; scroll-margin-top: 110px; }
.form-card__title { font-family: var(--font-display); font-weight: 700; font-size: 30px; line-height: 1.1; margin-bottom: 6px; }
.form-card__sub { color: var(--muted-2); font-size: 14px; margin-bottom: 24px; }
.contact-form__grid { display: grid; gap: 14px; }
.contact-form__date[hidden] { display: none; }
.form-thanks { padding: 40px 0; text-align: center; animation: hre-fade .4s ease both; }
.form-thanks:focus { outline: none; }
.form-thanks__title { font-family: var(--font-display); font-weight: 700; font-size: 34px; color: var(--maroon); margin-bottom: 10px; }
.form-thanks__body { color: var(--muted); }
@media (max-width: 480px) { .form-card { padding: 26px 20px; } }

/* Pill toggle made of radio buttons (works without JS) */
.pill-toggle--radio { align-self: start; justify-self: start; margin: 0; }
.pill-toggle--radio .pill-toggle__btn { position: relative; cursor: pointer; }
.pill-toggle--radio input { position: absolute; opacity: 0; pointer-events: none; }
.pill-toggle--radio .pill-toggle__btn:has(input:checked) { background: var(--ink); color: var(--paper); }
.pill-toggle--radio .pill-toggle__btn:has(input:focus-visible) { outline: 2px solid var(--maroon); outline-offset: -2px; }
.contact-form:has(input[name="intent"][value="enquiry"]:checked) .contact-form__date { display: none; }
.offer__dialog:focus { outline: none; }

/* ---- Popup (property enquiry) -------------------------------------------------------- */
.modal { position: fixed; inset: 0; z-index: 72; display: none; align-items: center; justify-content: center; padding: 20px; overflow-y: auto; }
.modal.is-open, .modal:target { display: flex; animation: hre-fade .25s ease both; }
.has-modal body { overflow: hidden; }
.modal__backdrop { position: fixed; inset: 0; background: rgba(50, 45, 41, .6); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); cursor: default; }
.modal__dialog { position: relative; width: min(620px, 100%); margin: auto; background: #fff; border-radius: 14px; padding: 34px 30px 28px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); }
.modal__dialog:focus { outline: none; }
.modal__x { position: absolute; top: 12px; inset-inline-end: 12px; width: 36px; height: 36px; border-radius: 50%; background: var(--paper-2); color: var(--ink); font-size: 20px; line-height: 36px; text-align: center; }
.modal__x:hover { background: var(--ink); color: #fff; }
.modal .form-card__title { padding-inline-end: 40px; }
@media (max-width: 480px) { .modal { padding: 10px; align-items: flex-start; } .modal__dialog { padding: 26px 18px 22px; } }
.btn--block { display: flex; width: 100%; }
.viewing__note { font-size: 12.5px; color: var(--muted-2); margin-top: 8px; text-align: center; }
.viewing__thanks { margin-bottom: 12px; }

/* ---- Social icons (Admin → Settings) ---------------------------------------------------- */
.topbar__right { display: flex; align-items: center; gap: 18px; }
.social { display: flex; align-items: center; gap: 4px; }
.social a { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; transition: background .15s, color .15s; }
.social--top a { width: 26px; height: 26px; color: var(--on-dark); }
.social--top a:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.social--footer { margin-top: 20px; gap: 8px; }
.social--footer a { width: 36px; height: 36px; border: 1px solid rgba(217, 207, 198, .25); color: var(--on-dark); }
.social--footer a:hover { background: var(--sand); border-color: var(--sand); color: var(--ink); }
.social--menu { justify-content: center; gap: 10px; margin-top: 16px; }
.social--menu a { width: 40px; height: 40px; border: 1px solid var(--border); color: var(--ink); }
.social--menu a:hover { background: var(--ink); color: var(--paper); }

/* ---- Opening hours (contact page) ---------------------------------------------------- */
.hours { display: grid; grid-template-columns: max-content 1fr; gap: 3px 18px; }
.hours__row { display: contents; }
.hours__day { color: var(--muted); }
.hours__row--full .hours__time { grid-column: 1 / -1; }
.hours__row.is-today .hours__day, .hours__row.is-today .hours__time { font-weight: 700; color: var(--ink); }

/* Image-only offer (no title in Admin → Offers): the artwork is shown whole */
.offer__dialog--image { display: block; width: auto; max-width: min(828px, 90%); background: transparent; border-radius: 14px; }
.offer__dialog--image img { display: block; width: auto; height: auto; max-width: 100%; max-height: calc(90vh - 36px); max-height: calc(90dvh - 36px); margin: 0 auto; border-radius: 14px; }
.offer__image-link { display: block; border-radius: 14px; }
.offer__image-link:focus-visible { outline: 3px solid var(--sand); outline-offset: 3px; }

/* Team cards: round avatar (photo or initials) overlapping the top of a centred card */
.staff-grid { row-gap: 72px; padding-top: 48px; }
.staff { position: relative; align-items: center; text-align: center; padding: 64px 24px 26px; gap: 6px; border: 0; box-shadow: 0 14px 34px -18px rgba(50, 45, 41, .28); overflow: visible; }
.staff__avatar { position: absolute; top: -48px; left: 50%; transform: translateX(-50%); width: 96px; height: 96px; border-radius: 50%; overflow: hidden; background: var(--maroon); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 30px; letter-spacing: .04em; border: 4px solid #fff; box-shadow: 0 0 0 3px var(--maroon), 0 10px 22px -10px rgba(50, 45, 41, .45); }
.staff__avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.staff .staff__name { font-size: 19px; color: var(--maroon); margin: 0; }
.staff .staff__role { font-size: 11.5px; letter-spacing: .1em; color: var(--muted-2); font-weight: 600; }
.staff .staff__bio { margin: 10px 0 0; text-align: left; }

/* Leadership cards (team page): brown → light brown gradient */
.leader { background: linear-gradient(100deg, #322D29 0%, #4A3A30 38%, #8E6E57 72%, #E3D3C3 100%); }
.leader:hover { background: linear-gradient(100deg, #2A2623 0%, #42332A 38%, #836550 72%, #D9C7B5 100%); }

/* Team avatars: smaller, light circle with maroon initials */
.staff-grid { row-gap: 60px; padding-top: 38px; }
.staff { padding-top: 50px; }
.staff__avatar { top: -36px; width: 72px; height: 72px; font-size: 22px; background: #F1E7DC; color: var(--maroon); border: 3px solid #fff; box-shadow: 0 0 0 2px #E3D3C3, 0 8px 18px -10px rgba(50, 45, 41, .4); }

/* ---------- Property page: details on top, one unit per row, photo sliders + full-screen lightbox ---------- */
.pp { padding-top: 28px; padding-bottom: 72px; }
.pp-top { display: grid; gap: 28px; margin-top: 16px; }
@media (min-width: 900px) { .pp-top { grid-template-columns: minmax(0, 460px) minmax(0, 1fr); gap: 44px; align-items: start; } }
.pp-top__info { min-width: 0; }
.pp-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 4vw, 40px); line-height: 1.1; margin: 4px 0 6px; }
.pp-price { font-family: var(--font-display); font-weight: 700; font-size: 32px; color: var(--maroon); line-height: 1; margin-top: 18px; }
.pp-top .spec-grid { margin: 20px 0 16px; }
.perks--inline { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-bottom: 20px; }
.pp-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.pp-actions .btn { flex: 0 1 auto; }
@media (max-width: 480px) { .pp-actions .btn { flex: 1 1 100%; } }
.pp-about { margin-top: 44px; max-width: 820px; }

.pp-units { margin-top: 52px; }
.pp-units__title { font-family: var(--font-display); font-weight: 700; font-size: 28px; margin: 0 0 20px; display: flex; align-items: center; gap: 10px; }
.unit { display: grid; gap: 0; background: #fff; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); margin-bottom: 22px; scroll-margin-top: 100px; }
@media (min-width: 760px) { .unit { grid-template-columns: minmax(0, 400px) minmax(0, 1fr); } }
.unit__media { min-width: 0; }
.unit__media .pslider { border-radius: 0; height: 100%; min-height: 240px; }
.unit__body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.unit__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.unit__title { font-family: var(--font-display); font-weight: 700; font-size: 22px; margin: 0; line-height: 1.2; }
.unit__title span { font-family: var(--font); font-weight: 500; font-size: 15px; color: var(--muted); margin-inline-start: 6px; }
.unit__ref { font-size: 12px; color: var(--muted-2); margin-top: 3px; letter-spacing: .04em; }
.unit__avail { font-size: 12px; font-weight: 600; padding: 5px 11px; border-radius: 999px; background: #F3E9DD; color: var(--ink); white-space: nowrap; }
.unit__avail.is-now { background: #E3F2E6; color: #23683A; }
.unit__avail--status { background: color-mix(in srgb, var(--st) 12%, #fff); color: var(--st); }   /* Reserved etc., status colour from admin */
.unit__price { font-family: var(--font-display); font-weight: 700; font-size: 30px; color: var(--maroon); line-height: 1; margin-top: 4px; }
.unit__price span { font-family: var(--font); font-weight: 400; font-size: 13px; color: var(--muted-2); }
.unit__sub { font-size: 13px; color: var(--muted); }
.unit__facts { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.unit__facts li { font-size: 13px; padding: 6px 12px; border-radius: 999px; background: var(--paper); border: 1px solid var(--border); }
.unit__note { margin: 0; font-size: 14px; color: var(--muted); }
.unit__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 8px; }
.pp-videos { margin-top: 44px; }
.videos--grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); }

/* photo slider (property + each unit); click opens the lightbox */
.pslider { position: relative; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: #E6D5C1; }
.pslider__open { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; display: block; }
.pslider__img { width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity .2s; }
.pslider__count { position: absolute; bottom: 10px; right: 12px; background: rgba(50, 45, 41, .75); color: var(--paper); font-size: 12px; padding: 4px 10px; border-radius: 999px; pointer-events: none; z-index: 2; }
.pslider__zoom { margin-inline-start: 4px; }

/* full-screen lightbox */
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(20, 17, 15, .96); display: flex; align-items: center; justify-content: center; animation: hre-fade .2s ease both; touch-action: pan-y; }
.lightbox[hidden] { display: none; }
.lightbox__stage { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; padding: 56px 64px; }
.lightbox__stage img { max-width: 100%; max-height: 100%; object-fit: contain; user-select: none; -webkit-user-drag: none; }
.lightbox__video { width: min(100%, calc((100vh - 112px) * 16 / 9)); aspect-ratio: 16 / 9; background: #000; }
.lightbox__video iframe { width: 100%; height: 100%; border: 0; display: block; }
.lightbox__count { position: absolute; top: 16px; left: 50%; transform: translateX(-50%); color: #fff; font-size: 14px; opacity: .85; }
.lightbox__btn, .lightbox__close { position: absolute; border: 0; background: rgba(255, 255, 255, .1); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; line-height: 1; padding: 0; cursor: pointer; transition: background .15s; }
.lightbox__btn:hover, .lightbox__close:hover { background: rgba(255, 255, 255, .22); }
.lightbox__btn { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; font-size: 38px; padding-bottom: 4px; }
.lightbox__btn[hidden] { display: none; }
.lightbox__btn--prev { left: 14px; }
.lightbox__btn--next { right: 14px; }
.lightbox__close { top: 12px; right: 14px; width: 44px; height: 44px; font-size: 28px; }
@media (max-width: 640px) {
  .lightbox__stage { padding: 56px 0; }
  .lightbox__btn { width: 42px; height: 42px; font-size: 30px; background: rgba(0, 0, 0, .35); }
  .lightbox__btn--prev { left: 6px; } .lightbox__btn--next { right: 6px; }
}

/* Team page v2: bigger avatars, names reserve 2 lines and roles 3 lines so every card lines up;
   Founder + CEO use the same card style on their own row */
.staff-grid { row-gap: 84px; padding-top: 58px; }
.staff { padding-top: 76px; }
.staff__avatar { top: -56px; width: 116px; height: 116px; font-size: 32px; }
.staff .staff__name { line-height: 1.25; min-height: 2.5em; }
.staff .staff__role { line-height: 1.5; min-height: 4.5em; }
.leaders-grid { display: flex; flex-wrap: wrap; justify-content: center; column-gap: 20px; margin-bottom: 0; }
.leaders-grid > .staff { width: 300px; }
@media (min-width: 1160px) { .leaders-grid > .staff { width: calc((100% - 60px) / 4); } }
@media (max-width: 640px) { .leaders-grid > .staff { width: 100%; } }
.staff--leader { color: inherit; transition: transform .15s, box-shadow .15s; }

.staff--leader .staff__avatar { box-shadow: 0 0 0 2px var(--maroon), 0 8px 18px -10px rgba(50, 45, 41, .4); }
.staff__more { font-size: 13px; font-weight: 600; color: var(--maroon); margin-top: 4px; }
.staff .staff__name { min-height: 0; }
.staff__first { display: block; font-size: 21px; font-weight: 800; line-height: 1.2; }
.staff__last { display: block; min-height: 1.35em; font-size: 17px; font-weight: 400; line-height: 1.35; }
.staff__first:only-child::after { content: '\00a0'; display: block; font-size: 17px; font-weight: 400; line-height: 1.35; }
.staff__first, .staff__last { white-space: nowrap; }
.staff__first.is-long { font-size: 18px; }
.staff__last.is-long { font-size: 15px; }
.staff__first { line-height: 26px; height: 26px; }
.staff__last { line-height: 22px; min-height: 22px; }
/* Team designations: 2 lines; Founder/CEO cards: name and designation each on one line */
.staff .staff__role { min-height: 3em; }
.staff .staff__name--one { white-space: nowrap; }
.staff__name--one .staff__first, .staff__name--one .staff__last { display: inline; height: auto; min-height: 0; }
.staff .staff__role--one { min-height: 0; white-space: nowrap; }
.staff--leader .staff__more { margin-top: 14px; }
/* Founder photo is a wide shot: zoom in on the face */
.staff--zoom .staff__avatar img { transform: scale(1.45); transform-origin: 50% 22%; }

.footer__logo-link { display: inline-block; }

/* Homepage hero fills the screen below the header (top bar + menu = 125px; menu only on smaller screens = 89px) */
.hero { min-height: calc(100vh - 125px); min-height: calc(100svh - 125px); }
@media (max-width: 1000px) { .hero { min-height: calc(100vh - 89px); min-height: calc(100svh - 89px); } }

/* Hero text: soft dark shadow so it reads over bright photos */
.hero__sub { color: #fff; font-weight: 500; text-shadow: 0 1px 2px rgba(0, 0, 0, .7), 0 2px 14px rgba(0, 0, 0, .55); }
.hero__eyebrow { text-shadow: 0 1px 2px rgba(0, 0, 0, .6), 0 2px 10px rgba(0, 0, 0, .45); }
.hero__title { text-shadow: 0 2px 24px rgba(0, 0, 0, .35); }

/* Top info bar + footer in the logo maroon (#73383f); muted text lightened for contrast on maroon */
.topbar, .footer { background: #73383f; }
.topbar__license, .footer__heading, .footer__bottom-inner { color: rgba(247, 243, 238, .72); }
.topbar a, .footer a, .footer__text, .footer__contact { color: #F3EAE2; }
.footer__bottom { border-top-color: rgba(255, 255, 255, .16); }
.social--footer a { border-color: rgba(247, 243, 238, .35); color: #F3EAE2; }

/* ---------- Partnership page (staff accommodation for organisations) ---------- */
.pt-hero { min-height: 560px; }
.pt-hero__sub { font-size: 19px; font-weight: 600; color: #fff; margin: 0 0 26px; max-width: 640px; text-shadow: 0 1px 2px rgba(0, 0, 0, .5); }
.pt-h2 { margin: 0 0 28px; }
.pt-intro { display: grid; gap: 40px; padding-top: 24px; padding-bottom: 72px; align-items: start; }
@media (min-width: 960px) { .pt-intro { grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 64px; } }
.pt-lead { font-size: 18px; line-height: 1.65; color: var(--ink); margin: 0 0 16px; text-wrap: pretty; }
.pt-lead strong { color: var(--maroon); }
.pt-muted { color: var(--muted); margin: 14px 0 0; }
.pt-offer { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 30px 30px 26px; box-shadow: var(--shadow); }
.pt-offer__title { font-family: var(--font-display); font-weight: 700; font-size: 26px; line-height: 1.15; margin: 0 0 12px; color: var(--maroon); }
.pt-offer__body { color: var(--muted); margin: 0 0 18px; }
.pt-offer__label { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--muted-2); margin: 18px 0 10px; }
.pt-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.pt-checks li { position: relative; padding-inline-start: 28px; font-size: 15px; }
.pt-checks li::before { content: '✓'; position: absolute; inset-inline-start: 0; top: 0; width: 19px; height: 19px; border-radius: 50%; background: #F1E7DC; color: var(--maroon); font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; }

.pt-sectors { background: #F1E7DC; padding: 72px 0; }
.pt-sectors__grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.pt-sector { background: #fff; border-radius: 16px; padding: 28px 26px 26px; display: flex; flex-direction: column; gap: 10px; box-shadow: 0 14px 34px -22px rgba(50, 45, 41, .4); border-top: 4px solid var(--maroon); }
.pt-sector__n { font-family: var(--font-display); font-weight: 700; font-size: 34px; color: var(--sand); line-height: 1; }
.pt-sector__title { font-family: var(--font-display); font-weight: 700; font-size: 22px; line-height: 1.2; margin: 0; }
.pt-sector__sub { font-weight: 600; color: var(--maroon); font-size: 15px; }
.pt-sector__body { color: var(--muted); margin: 0; font-size: 14.5px; }
.pt-sector__label { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--muted-2); margin-top: 6px; }
.pt-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.pt-chips li { font-size: 12.5px; padding: 5px 11px; border-radius: 999px; background: var(--paper); border: 1px solid var(--border); }
.pt-sector__benefit { margin-top: 6px; padding: 12px 14px; border-radius: 10px; background: var(--paper); font-size: 14px; color: var(--ink); }
.pt-sector__benefit strong { color: var(--maroon); }
.pt-sector__pdf { align-self: flex-start; margin-top: auto; }
.pt-why { margin-top: 0; background: #73383f; }
.pt-why .why__item { background: #73383f; }
.pt-why .why__item-body p { margin: 0; }
.pt-why .why__item-body strong { color: #fff; }

.pt-meet { display: grid; gap: 40px; padding-top: 80px; padding-bottom: 88px; align-items: start; scroll-margin-top: 90px; }
@media (min-width: 960px) { .pt-meet { grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: 56px; } }
.pt-questions { margin: 0; padding-inline-start: 22px; display: grid; gap: 8px; font-weight: 600; font-size: 16px; }
.pt-questions li::marker { color: var(--maroon); }
.pt-cta { margin-top: 36px; background: var(--ink); color: var(--paper); border-radius: 16px; padding: 30px 30px 26px; }
.pt-cta__title { font-family: var(--font-display); font-weight: 700; font-size: 26px; line-height: 1.15; margin-bottom: 10px; }
.pt-cta__sub { color: var(--sand); font-weight: 600; margin-bottom: 8px; }
.pt-cta__body { color: rgba(247, 243, 238, .8); margin: 0 0 14px; }
.pt-cta__body strong { color: #fff; }
.pt-cta__sign { font-size: 13px; color: rgba(247, 243, 238, .6); border-top: 1px solid rgba(247, 243, 238, .14); padding-top: 12px; }
.pt-label { display: block; font-size: 12.5px; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.pt-units { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 4px; }
.pt-units legend { width: 100%; }
.pt-sector { overflow: hidden; }
.pt-sector__photo { margin: -28px -26px 8px; aspect-ratio: 16 / 9; overflow: hidden; background: #E6D5C1; }
.pt-sector__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; display: block; }
.pt-sector__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 8px; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---------- Homepage testimonials: 3-D card carousel (centre card + fanned side cards) ---------- */
.tst { background: radial-gradient(120% 90% at 15% 10%, #F6E7DA 0%, rgba(246, 231, 218, 0) 55%), radial-gradient(90% 80% at 90% 20%, #EEF0EC 0%, rgba(238, 240, 236, 0) 60%), var(--paper); padding: 80px 0 64px; overflow: hidden; }
.tst__head { text-align: center; margin-bottom: 36px; }
.tst__stage { position: relative; height: 430px; perspective: 1400px; }
.tst__card { position: absolute; top: 50%; left: 50%; width: min(540px, 82vw); min-height: 340px; margin: 0; padding: 40px 40px 32px; background: #fff; border-radius: 26px; box-shadow: 0 30px 60px -30px rgba(50, 45, 41, .45); display: flex; flex-direction: column; gap: 16px; transform: translate(-50%, -50%); transition: transform .65s cubic-bezier(.22, .8, .25, 1), opacity .65s, filter .65s; cursor: pointer; will-change: transform; }
.tst__card.is-on { cursor: default; }
.tst__card:not(.is-on) .tst__quote { -webkit-line-clamp: 6; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
.tst__mark { position: absolute; top: 6px; right: 28px; font-family: Georgia, serif; font-size: 120px; line-height: 1; color: #F1E2D3; pointer-events: none; }
.tst__stars { color: #C9973F; font-size: 18px; letter-spacing: 3px; }
.tst__stars span { color: #E6DCD1; }
.tst__quote { margin: 0; font-family: var(--font-display); font-size: 21px; line-height: 1.5; color: var(--ink); position: relative; flex: 1; text-wrap: pretty; }
.tst__who { display: flex; align-items: center; gap: 14px; padding-top: 18px; border-top: 1px solid var(--border); }
.tst__avatar { width: 46px; height: 46px; border-radius: 50%; background: #73383f; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 18px; flex: none; }
.tst__name { display: block; font-weight: 700; color: var(--ink); }
.tst__detail { display: block; font-size: 13px; color: var(--muted-2); margin-top: 2px; }
.tst__arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 20; width: 56px; height: 56px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); font-size: 30px; line-height: 1; padding-bottom: 4px; box-shadow: 0 10px 26px -12px rgba(50, 45, 41, .45); cursor: pointer; transition: transform .15s, background .15s; }
.tst__arrow:hover { background: #73383f; color: #fff; }
.tst__arrow--prev { left: 0; }
.tst__arrow--next { right: 0; }
.tst__dots { display: flex; justify-content: center; gap: 10px; margin-top: 26px; }
.tst__dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; padding: 0; background: #DCD3CA; cursor: pointer; transition: transform .2s, background .2s; }
.tst__dots button.is-on { background: #73383f; transform: scale(1.5); }
@media (max-width: 700px) {
  .tst { padding: 64px 0 48px; }
  .tst__stage { height: 460px; }
  .tst__card { padding: 30px 24px 24px; min-height: 360px; }
  .tst__quote { font-size: 18px; }
  .tst__arrow { width: 44px; height: 44px; font-size: 24px; top: auto; bottom: -6px; transform: none; }
  .tst__arrow--prev { left: calc(50% - 120px); } .tst__arrow--next { right: calc(50% - 120px); }
}
@media (prefers-reduced-motion: reduce) { .tst__card { transition: none; } }
.tst__card::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: rgba(247, 243, 238, .62); opacity: 0; transition: opacity .65s; pointer-events: none; }
.tst__card:not(.is-on)::after { opacity: 1; }
/* Testimonials: smaller quote text */
.tst__quote { font-size: 16px; line-height: 1.6; }
@media (max-width: 700px) { .tst__quote { font-size: 15px; } }

/* About hero: wider text column so each title line typed in admin stays on one line */
@media (min-width: 1001px) {
  .about-hero__inner { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 48px; }
  .about-hero__title { font-size: clamp(40px, 4.2vw, 60px); text-wrap: initial; }
}

/* About hero: photo sits flush on the bottom edge of the dark band, less space above it */
.about-hero__inner { padding-top: 40px; padding-bottom: 0; align-items: end; }
.about-hero__inner > div:first-child { align-self: center; padding: 40px 0 72px; }
.about-hero__photo { border-radius: 10px 10px 0 0; height: 640px; }
@media (max-width: 1000px) {
  .about-hero__inner { padding-top: 24px; gap: 8px; }
  .about-hero__inner > div:first-child { padding: 32px 0 24px; }
  .about-hero__photo { height: 480px; }
}

/* Tenant resources: extra downloadable documents */
.docs { padding-top: 56px; padding-bottom: 48px; }
.docs__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.doc-card { display: flex; flex-direction: column; gap: 10px; background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 24px; color: var(--ink); transition: box-shadow .2s, transform .2s, border-color .2s; }
.doc-card:hover { color: var(--ink); border-color: rgba(114, 56, 61, .35); box-shadow: var(--shadow); transform: translateY(-2px); }
.doc-card__icon { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; background: #F4EAE4; color: var(--maroon); border-radius: 8px; padding: 7px 10px 7px 8px; font-size: 11px; letter-spacing: .08em; }
.doc-card__title { font-family: var(--font-display); font-weight: 700; font-size: 20px; line-height: 1.2; }
.doc-card__body { font-size: 14px; color: var(--muted); }
.doc-card__btn { margin-top: auto; padding-top: 6px; align-self: flex-start; background: var(--maroon); color: #fff; border-radius: 999px; padding: 10px 18px; font-weight: 600; font-size: 13.5px; }
.doc-card:hover .doc-card__btn { background: var(--maroon-hover); }

/* Tenant resources: hero is text only now (handbook moved into the documents grid) */
.res-hero__inner { grid-template-columns: minmax(0, 760px); }

/* Tenant document cards: maroon brand gradient on every card, light text */
.doc-card { position: relative; overflow: hidden; border: 0; color: #fff; background: linear-gradient(145deg, #5E2C31 0%, #8E464D 100%); box-shadow: 0 18px 36px -24px rgba(50, 45, 41, .6); isolation: isolate; }
.doc-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 80% at 100% 0%, rgba(255, 255, 255, .16) 0%, rgba(255, 255, 255, 0) 55%), radial-gradient(90% 70% at 0% 100%, rgba(0, 0, 0, .18) 0%, rgba(0, 0, 0, 0) 60%); }
.doc-card:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 26px 44px -24px rgba(50, 45, 41, .7); }
.doc-card__icon { background: rgba(255, 255, 255, .14); color: #fff; border: 1px solid rgba(255, 255, 255, .2); }
.doc-card__body { color: rgba(255, 255, 255, .8); }
.doc-card__btn { background: #fff; color: var(--maroon); }
.doc-card:hover .doc-card__btn { background: var(--sand); color: var(--ink); }

/* Small red PDF icon inside the Download button (tenant document cards) */
.doc-card__btn { display: inline-flex; align-items: center; gap: 8px; }
.doc-card__pdf { display: block; flex: none; }
.doc-card__title { margin-top: 2px; }

/* Disclaimer under the tenant documents */
.docs__note { margin: 22px 0 0; max-width: 900px; font-size: 13px; line-height: 1.6; color: var(--muted-2); font-style: italic; }

/* FAQ dividers: darker lines */
.faq { border-top-color: rgba(50, 45, 41, .38); }
.faq__item { border-bottom-color: rgba(50, 45, 41, .38); }

/* Contact map: spans the full content width below both columns (height 396px = 300px +10% +20%) */
.contact__map--wide { grid-column: 1 / -1; margin-top: 0; height: 396px; }
/* keep the contact page at two equal columns (details | form) with the map spanning both */
.contact { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 740px) { .contact { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* FAQ heading block on Tenant resources, with a divider after the documents */
.faq-section { padding-top: 56px; padding-bottom: 80px; }
.faq-section--divided { padding-top: 0; }
.faq-section--divided::before { content: ""; display: block; height: 1px; background: rgba(50, 45, 41, .38); margin: 8px 0 52px; }
.faq-section__head { margin-bottom: 26px; }
.faq-section__intro { margin: 10px 0 0; color: var(--muted); font-size: 15.5px; }

/* Partnership sector: direct "Enquire" buttons (email / WhatsApp) */
.pt-enq { display: inline-flex; align-items: center; gap: 8px; }
.pt-enq svg { flex: none; display: block; }
.pt-enq--wa { background: #25D366; color: #fff; border: 1px solid #25D366; }
.pt-enq--wa:hover { background: #1EBE5A; border-color: #1EBE5A; color: #fff; }

/* Homepage: "Apartments for rent in Muwaileh" text + popular searches (SEO) */
.local-seo { padding-top: 80px; padding-bottom: 88px; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.local-seo__body { margin-top: 18px; color: var(--muted); font-size: 15.5px; line-height: 1.7; max-width: 680px; }
.local-seo__body p { margin: 0 0 14px; }
.local-seo__body strong { color: var(--ink); font-weight: 600; }
.local-seo__links { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 24px 26px; }
.local-seo__links ul { list-style: none; margin: 0; padding: 0; }
.local-seo__links li + li { border-top: 1px solid var(--border); }
.local-seo__links a { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; color: var(--ink); font-weight: 600; font-size: 14.5px; }
.local-seo__links a:hover { color: var(--maroon); }
.local-seo__links a span { color: var(--maroon); }
@media (max-width: 900px) { .local-seo { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-top: 56px; padding-bottom: 64px; } }

/* Tenant documents: 3 per row on desktop (up to 6 cards), 2 on tablets, 1 on phones */
.docs__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1000px) { .docs__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px)  { .docs__grid { grid-template-columns: minmax(0, 1fr); } }

/* Page heroes (every page except the homepage): same look and height as the Partnership hero — 560px */
.page-hero, .pt-hero { min-height: 560px; }
.page-hero { margin-bottom: 0; }
.page-hero__title { margin: 0 0 16px; max-width: 860px; text-shadow: 0 2px 20px rgba(0, 0, 0, .35); }
.page-hero__intro { margin-top: 4px; text-shadow: 0 1px 2px rgba(0, 0, 0, .45); }
.page-hero__intro .lead-p, .page-hero__intro p { color: rgba(247, 243, 238, .9); }
.page-hero + .container.contact { padding-top: 56px; }
/* Tenant resources hero: same 560px, text at the bottom */
.res-hero { min-height: 560px; display: flex; align-items: flex-end; }
.res-hero__inner { width: 100%; }
/* About hero: 560px on desktop (photo stands on the bottom edge); stacked layout on phones keeps its natural height */
@media (min-width: 1001px) {
  .about-hero__inner { min-height: 560px; padding-top: 24px; }
  .about-hero__inner > div:first-child { padding: 28px 0 44px; }
  .about-hero__photo { height: 536px; }
  .about-hero__p { margin-bottom: 12px; }
}

/* Page hero with a Vimeo background video (Admin → Pages & content → Properties → Hero background = Vimeo video).
   The iframe is sized to always cover the hero at 16:9 (like background-size: cover); the photo underneath shows while it loads. */
.page-hero__video { position: absolute; inset: 0; overflow: hidden; container-type: size; pointer-events: none; }
.page-hero__video iframe { position: absolute; top: 50%; left: 50%; width: max(100cqw, 177.78cqh); height: max(100cqh, 56.25cqw); transform: translate(-50%, -50%); border: 0; }

/* Properties: advanced search — collapsed behind the "Advanced search" button, slides open (grid 0fr → 1fr) */
.results-bar--top { margin: 0 0 16px; }
.results-bar__tools { display: flex; align-items: center; gap: 18px; }
.filters-toggle { display: inline-flex; align-items: center; gap: 9px; border: 1px solid rgba(50, 45, 41, .18); background: #fff; color: var(--ink); border-radius: 999px; padding: 10px 16px 10px 14px; font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; transition: border-color .15s, background-color .15s, color .15s; }
.filters-toggle:hover { border-color: var(--ink); }
.filters-toggle[aria-expanded="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.filters-toggle:focus-visible { outline: 2px solid var(--maroon); outline-offset: 2px; }
.filters-toggle__count { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--maroon); color: #fff; font-size: 11.5px; line-height: 20px; text-align: center; }
.filters-toggle__chev { transition: transform .2s ease; }
.filters-toggle[aria-expanded="true"] .filters-toggle__chev { transform: rotate(180deg); }
.filters-panel { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .28s ease, visibility 0s linear .28s; }
.filters-panel.is-open { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows .28s ease, visibility 0s; }
.filters-panel__inner { overflow: hidden; min-height: 0; }
.filters-panel.is-open .filters-panel__inner { padding-bottom: 22px; }
@media (prefers-reduced-motion: reduce) { .filters-panel, .filters-panel.is-open, .filters-toggle__chev { transition: none; } }
@media (max-width: 560px) {
  .results-bar__tools { gap: 12px; }
  .filters-toggle { padding: 9px 13px 9px 12px; }
}

/* Properties: "Sharing accommodation" section after the regular listings */
.sharing-band { background: var(--ink); color: var(--paper); }
.sharing-band__inner { max-width: var(--max); margin: 0 auto; padding: 88px 24px 96px; }
.sharing-band--first .sharing-band__inner { padding-top: 72px; }
.sharing-band__head { max-width: 760px; margin-bottom: 40px; }
.sharing-band__title { margin-bottom: 18px; }
.sharing-band__intro { max-width: 620px; }
.sharing-band__intro p { margin: 0 0 8px; }
.sharing-band__intro p:last-child { margin-bottom: 0; }
.sharing-band .card { border-color: transparent; }
.sharing-band .card:hover { box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .55); }
@media (max-width: 760px) { .sharing-band__inner { padding: 64px 20px 72px; } .sharing-band__head { margin-bottom: 28px; } }

/* Photo sliders (cards, property + unit sliders, full-screen viewer): loading indicator while the next photo arrives */
@keyframes hre-spin { to { transform: rotate(360deg); } }
.card__media.img-loading .card__img, .pslider.img-loading .pslider__img, .gallery__stage.img-loading .gallery__img { opacity: .55; transition: opacity .15s; }
.card__media.img-loading::after, .pslider.img-loading::after, .gallery__stage.img-loading::after, .lightbox__stage.img-loading::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 34px; height: 34px; margin: -17px 0 0 -17px; z-index: 3; pointer-events: none;
  border-radius: 50%; border: 3px solid rgba(255, 255, 255, .35); border-top-color: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .06), 0 2px 10px rgba(0, 0, 0, .25); animation: hre-spin .7s linear infinite;
}
.lightbox__stage.img-loading::after { width: 44px; height: 44px; margin: -22px 0 0 -22px; }
.lightbox__stage.img-loading img { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .card__media.img-loading::after, .pslider.img-loading::after, .gallery__stage.img-loading::after, .lightbox__stage.img-loading::after { animation-duration: 1.6s; } }

/* Horizontal property card (Sharing accommodation): photo left half, details right; 2 per row on wide screens */
.card-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 560px), 1fr)); gap: 22px; }
.card--row { display: grid; grid-template-columns: minmax(0, 46fr) minmax(0, 54fr); min-height: 300px; }
.card--row .card__media { height: auto; min-height: 260px; }
.card--row .card__img { position: absolute; inset: 0; border-radius: 0; }
.card--row .card__media .placeholder { position: absolute; inset: 0; }
.card--row .card__body { display: flex; flex-direction: column; padding: 30px 28px 26px; }
.card--row .card__price-row { justify-content: flex-start; flex-wrap: wrap; gap: 4px 8px; }
.card--row .card__price { font-size: clamp(22px, 2.1vw, 30px); white-space: nowrap; }
.card--row .card__title { font-size: 17px; margin-top: 14px; }
.card--row .card__sub { font-size: 14px; margin-top: 6px; }
.card--row .card__stats { margin-top: 18px; padding-top: 18px; font-size: 14px; }
.card__desc { margin: 16px 0 0; font-size: 14px; line-height: 1.65; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.card--row .card__desc { margin-bottom: 18px; }
.card--row .card__desc ~ .card__stats { margin-top: auto; }   /* stats line sits at the bottom of the card */
@media (max-width: 600px) {
  .card--row { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .card--row .card__media { min-height: 220px; }
  .card--row .card__body { padding: 18px 18px 20px; }
  .card--row .card__price { font-size: 25px; }
}

/* Unit types (1 BHK – 2 BHK) under the location, instead of a pill on the photo */
.card__types { margin-top: 8px; font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }

/* Sharing card: the admin's price text (e.g. "From AED 700 / month") in place of the yearly price */
.card__price--note { font-size: 22px; line-height: 1.2; }
.card--row .card__price--note { font-size: clamp(18px, 1.5vw, 22px); white-space: normal; }

/* Sharing accommodation page: description left, property video(s) right */
.pp-about--media { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; align-items: start; }
.pp-about--media .prose { max-width: none; }
.pp-about__media { gap: 14px; }
@media (max-width: 900px) { .pp-about--media { grid-template-columns: minmax(0, 1fr); gap: 20px; } }

