/* ==========================================================================
   The Advisory — components added on top of base.css (same tokens/scale)
   ========================================================================== */
:root { --shadow: 0 8px 24px rgba(0,8,15,.12); --shadow-lg: 0 20px 48px rgba(0,8,15,.28); }
.sp-sm { height: 24px; }
.ph > img { transition: transform .6s ease; }
a:hover > .ph > img, a.ph:hover > img { transform: scale(1.03); }

/* Wordmark: brand artwork ---------------------- */
.logo { white-space: nowrap; letter-spacing: -0.01em; }
.logo__tld { font-size: .72em; margin-left: 1px; color: #8db3e2; }               /* on the dark hero */
.header.is-solid .logo__tld, .drawer .logo__tld, .footer .logo__tld { color: #5e8cc4; } /* on white/grey */
.brand { width: auto; }

/* Header additions ------------------------------------------------------- */
.page-solid main { padding-top: var(--header-h); }
.utility__links a { gap: 6px; }
.utility__links .icon { width: 14px; height: 14px; }
.nav-trigger.is-active::after { transform: scaleX(1); }
.nav-actions { gap: 12px; }
.picker { position: relative; }
.picker__btn { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 10px; border-radius: var(--radius);
  font-size: 14px; font-weight: var(--w-14); border: 1px solid rgba(255,255,255,.35); }
.header.is-solid .picker__btn { border-color: var(--line); }
.picker__btn:hover { background: rgba(127,127,127,.15); }
.picker__btn .chev { width: 14px; height: 14px; transition: transform .2s; }
.picker__btn[aria-expanded="true"] .chev { transform: rotate(180deg); }
.dropdown--sm { min-width: 200px; }
.dropdown__label { padding: 6px 16px 4px; font-size: 11px; font-weight: var(--w-md-12); text-transform: uppercase; letter-spacing: .06em; color: #6a6a6a; }
.dropdown a, .dropdown button { display: flex; width: 100%; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 16px;
  font-size: 14px; color: var(--body); text-align: left; }
.dropdown button small { color: #6a6a6a; font-size: 12px; }
.dropdown a:hover, .dropdown button:hover { background: var(--grey-bg); color: var(--blue); }
.dropdown [aria-current="true"], .dropdown button.is-active { color: var(--blue); font-weight: var(--w-md-14); }
.dropdown .icon { color: var(--blue); }
.book-btn { gap: 8px; }
.book-btn .icon { width: 16px; height: 16px; }
.search__results { margin-top: 16px; display: grid; gap: 2px; max-height: 50vh; overflow: auto; }
.search__results a { display: flex; justify-content: space-between; gap: 16px; padding: 12px 8px; border-bottom: 1px solid var(--grey-bg); color: var(--ink); }
.search__results a:hover { background: var(--grey-bg); }
.search__results small { color: #6a6a6a; }
.drawer__cur { display: flex; gap: 8px; }
.drawer__cur button { flex: 1; height: 36px; border: 1px solid var(--line); border-radius: var(--radius); font-size: 13px; }
.drawer__cur button.is-active { border-color: var(--blue); color: var(--blue); }
.drawer__util a { display: inline-flex; align-items: center; gap: 8px; }

/* Buttons ---------------------------------------------------------------- */
.btn .icon { width: 18px; height: 18px; }
.btn--light { background: rgba(255,255,255,.12); color: var(--on-dark); border-color: rgba(255,255,255,.55); }
.btn--light:hover { background: var(--white); color: var(--navy); }
.btn--ghost { color: var(--blue); }
.btn--ghost:hover { background: var(--grey-bg); }
.btn--block { width: 100%; justify-content: center; }
.link-arrow .icon { width: 16px; height: 16px; }
.badge { position: absolute; top: 16px; left: 16px; z-index: 1; padding: 4px 10px; border-radius: 2px; background: var(--navy);
  color: var(--on-dark); font-size: 11px; font-weight: var(--w-md-12); text-transform: uppercase; letter-spacing: .06em; }
.badge--light { background: rgba(255,255,255,.92); color: var(--navy); }
.eyebrow .icon { width: 12px; height: 12px; vertical-align: -1px; }
.eyebrow a:hover { color: var(--blue); }
.eyebrow--light { color: var(--on-dark-2); }

/* Home hero with booking card -------------------------------------------- */
.hero__bg img, .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* The poster image paints first and the montage fades in over it once it can
   play, so a slow connection still gets a composed hero rather than a gap. */
.hero__video { opacity: 0; transition: opacity .6s ease; }
.hero__video.is-ready { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .hero__video { display: none; } }
.hero--home .hero__bg::before { background: linear-gradient(90deg, rgba(0,20,40,.78) 0%, rgba(0,20,40,.55) 45%, rgba(0,20,40,.35) 100%), linear-gradient(180deg, rgba(0,20,40,.6) 0%, rgba(0,20,40,0) 25%); }
.hero__row { display: flex; align-items: center; gap: 16px; flex: 1; }
.hero--home .hero__panel { padding-top: 0; flex: none; }
.hero__aside { flex: 1; display: flex; justify-content: center; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; }
.hero--home .hero__body { padding-bottom: 56px; }

/* Booking widget (demo until a Calendly link is set) --------------------- */
.booker { width: 100%; max-width: 573px; background: var(--white); color: var(--ink); border-radius: 8px; box-shadow: var(--shadow-lg); overflow: hidden; }
.booker--live { height: 700px; }
.booker--live.booker--compact { height: 560px; }
/* the live Calendly card is taller than the demo, so the home hero grows to fit it */
.hero--home:has(.booker--live) { height: auto; min-height: 751px; }
.hero--home:has(.booker--live) .hero__body { height: auto; padding: 48px 0 48px; }
.booker__head { display: flex; align-items: center; gap: 14px; padding: 18px 22px; border-bottom: 1px solid var(--grey-bg); }
.booker__icon { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--grey-bg); color: var(--blue); flex: none; }
.booker__icon .icon { width: 20px; height: 20px; }
.booker__title { font-size: 18px; line-height: 24px; font-weight: var(--w-md-20); color: var(--ink); }
.booker__sub { font-size: 12px; line-height: 16.8px; color: #6a6a6a; margin-top: 2px; }
.booker__body { display: grid; grid-template-columns: 1fr 172px; }
.booker__cal { padding: 16px 20px 20px; border-right: 1px solid var(--grey-bg); }
.booker__month { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; font-size: 14px; font-weight: var(--w-md-14); text-transform: capitalize; }
.booker__month button { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; color: var(--blue); }
.booker__month button:hover:not(:disabled) { background: var(--grey-bg); }
.booker__month button:disabled { opacity: .3; cursor: default; }
.booker__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.booker__grid span { font-size: 11px; color: #6a6a6a; padding-bottom: 4px; }
.booker__grid button { aspect-ratio: 1; max-height: 36px; border-radius: 50%; font-size: 13px; color: #9a9a9a; }
.booker__grid button.is-open { color: var(--blue); background: #f7f2e9; font-weight: var(--w-md-14); }
.booker__grid button.is-open:hover { background: #efe5d3; }
.booker__grid button.is-sel { background: var(--blue-btn); color: var(--white); }
.booker__grid button:disabled { cursor: default; }
.booker__slots { padding: 16px 16px 14px; display: flex; flex-direction: column; min-height: 0; }
.booker__label { font-size: 13px; font-weight: var(--w-md-14); margin-bottom: 10px; color: var(--ink); }
.booker__times { display: grid; gap: 6px; overflow-y: auto; max-height: 232px; padding-right: 2px; }
.booker__times button { height: 38px; border: 1px solid var(--blue-btn); color: var(--blue-btn); border-radius: 4px; font-size: 14px; font-weight: var(--w-md-14); }
.booker__times button:hover { background: #f7f2e9; }
.booker__times button.is-sel { background: var(--blue-btn); color: var(--white); }
.booker__times .booker__go { background: var(--navy); border-color: var(--navy); color: var(--white); }
.booker__empty { font-size: 12px; color: #6a6a6a; }
.booker__tz { margin-top: auto; padding-top: 10px; font-size: 11px; color: #6a6a6a; display: flex; align-items: center; gap: 4px; }
.booker__tz .icon { width: 12px; height: 12px; }
.booker__done { padding: 40px 28px; text-align: center; font-size: 15px; }
.booker__done p { margin-bottom: 12px; color: var(--ink); }

/* Inner-page hero -------------------------------------------------------- */
.phero { position: relative; min-height: 460px; padding-top: var(--header-h); background: var(--navy); color: var(--on-dark); overflow: hidden; display: flex; }
.phero__bg { position: absolute; inset: 0; }
.phero__bg img { width: 100%; height: 100%; object-fit: cover; }
.phero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,20,40,.82) 0%, rgba(0,20,40,.5) 55%, rgba(0,20,40,.25) 100%), linear-gradient(180deg, rgba(0,20,40,.6) 0%, rgba(0,20,40,0) 35%); }
.phero__body { position: relative; z-index: 1; width: 100%; display: flex; align-items: flex-end; padding: 48px 0 64px; }
.phero__content { position: relative; max-width: 760px; padding-left: 42px; }
.phero__content::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--sep); }
.phero h1 { font-size: 56px; line-height: 67.2px; font-weight: var(--w-reg); color: var(--on-dark); margin-top: 6px; }
.phero p { margin-top: 16px; font-size: 20px; line-height: 26px; font-weight: var(--w-20); color: var(--on-dark-2); }
.phero p a { text-decoration: underline; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; font-size: 12px; font-weight: var(--w-12); color: var(--on-dark-2); }
.crumbs a:hover { text-decoration: underline; }
.crumbs--dark { color: var(--body); margin: 32px 0 20px; }

/* Shared section bits ---------------------------------------------------- */
.row-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 32px; }
.row-head .eyebrow { margin-bottom: 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips a, .chips li { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; color: var(--body); background: var(--white); }
.chips a:hover { border-color: var(--blue); color: var(--blue); }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.chip-btn { padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; color: var(--body); background: var(--white); }
.chip-btn:hover { border-color: var(--blue); color: var(--blue); }
.chip-btn.is-active { background: var(--navy); border-color: var(--navy); color: var(--white); }
.chip-row--jump { margin: 32px 0 0; }
.checks { display: grid; gap: 10px; margin: 16px 0; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 21px; color: var(--body); }
.checks .icon { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--blue-btn); }
.checks--inline { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.note { display: flex; gap: 12px; margin: 20px 0; padding: 16px 20px; background: var(--grey-bg); border-left: 3px solid var(--blue); border-radius: 0 var(--radius) var(--radius) 0; font-size: 14px; line-height: 20px; }
.note .icon { flex: none; width: 20px; height: 20px; color: var(--blue); }
.note--warn { border-left-color: var(--gold); background: #faf6ee; }
.note--warn .icon { color: var(--gold); }
.note small { display: block; margin-top: 6px; color: #6a6a6a; }
.footnote { font-size: 12px; color: #6a6a6a; }
.cta-band { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding: 40px 48px; border-radius: var(--radius);
  background: linear-gradient(110deg, var(--navy) 0%, #141414 100%); color: var(--on-dark); }
.cta-band h2 { font-size: 28px; line-height: 36.4px; font-weight: var(--w-28); }
.cta-band p { margin-top: 8px; color: var(--on-dark-2); max-width: 640px; }
.cta-band .btn { flex: none; }

/* Property card ---------------------------------------------------------- */
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 16px; }
.pcard { display: flex; flex-direction: column; }
.pcard__media { display: block; aspect-ratio: 4 / 3; border-radius: var(--radius); }
.pcard__body { padding-top: 16px; }
.pcard__title { margin-top: 6px; font-size: 20px; line-height: 26px; font-weight: var(--w-md-20); color: var(--ink); }
.pcard__title a:hover { color: var(--blue); }
.pcard__price { margin-top: 8px; font-size: 20px; line-height: 26px; font-weight: var(--w-20); color: var(--ink); }
.price__pre { font-size: 14px; color: var(--body); }
.pcard__facts { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 14px; color: var(--body); }
.pcard__facts li { display: inline-flex; align-items: center; gap: 6px; }
.pcard__facts .icon { width: 16px; height: 16px; color: var(--navy); }
.pcard.is-hidden, .pjcard.is-hidden, .rcard.is-hidden { display: none; }

/* Project card ----------------------------------------------------------- */
.pjgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 16px; }
.pjcard { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.pjcard__media { display: block; aspect-ratio: 16 / 10; }
.pjcard__body { padding: 20px; }
.pjcard__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.pjcard__facts dt { font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: #6a6a6a; }
.pjcard__facts dd { margin: 2px 0 0; font-size: 14px; color: var(--ink); font-weight: var(--w-md-14); }

/* Founders (home) -------------------------------------------------------- */
.founders { background: var(--grey-bg); }
.founders__grid { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.founder { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--white); border-radius: var(--radius); overflow: hidden; }
.founder__media { position: relative; min-height: 460px; }
.founder__tag { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 48px 24px 20px; background: linear-gradient(transparent, rgba(0,20,40,.85)); color: var(--on-dark); }
.founder__name { font-size: 22px; line-height: 28px; font-weight: var(--w-md-20); }
.founder__role { font-size: 13px; color: var(--on-dark-2); margin-top: 2px; }
.founder__body { padding: 28px; display: flex; flex-direction: column; }
.founder__body > p { font-size: 16px; line-height: 22.4px; }
.founder__body .checks li { font-size: 14px; line-height: 19.6px; }
.founder__actions { margin-top: auto; display: grid; gap: 4px; padding-top: 12px; border-top: 1px solid var(--line); }
.founders__more { margin-top: 32px; }

/* One founder. The two-up grid leaves the card stranded in the left half, so
   with a single member it spans the row instead and the card rebalances: a
   fixed portrait column, then a body that uses the width it has been given —
   bio held to a readable measure, credentials in two columns, contacts on one
   line — rather than one tall ribbon of text. */
.founders__grid--solo { grid-template-columns: minmax(0, 1fr); }
.founders__grid--solo .founder { grid-template-columns: minmax(0, 380px) minmax(0, 1fr); }
.founders__grid--solo .founder__media { min-height: 0; aspect-ratio: 4 / 5; }
.founder__media > img { object-position: center top; }
.founders__grid--solo .founder__body { padding: 40px 44px; justify-content: center; gap: 4px; }
.founders__grid--solo .founder__body > p { font-size: 18px; line-height: 27px; max-width: 52ch; }
.founders__grid--solo .founder__body .checks {
  margin: 28px 0 0; grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 40px; row-gap: 14px; max-width: 46rem;
}
.founders__grid--solo .founder__actions {
  display: flex; flex-wrap: wrap; gap: 8px 40px; margin-top: 32px; padding-top: 20px;
}
@media (max-width: 1023px) {
  .founders__grid--solo .founder { grid-template-columns: minmax(0, 320px) minmax(0, 1fr); }
  .founders__grid--solo .founder__body { padding: 32px; }
}
@media (max-width: 767px) {
  .founders__grid--solo .founder { grid-template-columns: minmax(0, 1fr); }
  .founders__grid--solo .founder__media { min-height: 0; aspect-ratio: 4 / 3; }
  .founders__grid--solo .founder__body { padding: 24px; }
  .founders__grid--solo .founder__body > p { font-size: 16px; line-height: 24px; }
  .founders__grid--solo .founder__body .checks { grid-template-columns: minmax(0, 1fr); }
}

/* Emirates --------------------------------------------------------------- */
.emirates__grid { margin-top: 32px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ecard { display: flex; flex-direction: column; border-radius: var(--radius); background-image: linear-gradient(298deg, rgba(255,255,255,0) 32.543%, rgba(33,33,33,.15) 96.229%); }
.ecard__media { position: relative; display: block; aspect-ratio: 16 / 10; border-radius: var(--radius) var(--radius) 0 0; }
.ecard__body { padding: 20px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.ecard h3 { font-size: 28px; line-height: 36.4px; font-weight: var(--w-28); color: var(--ink); }
.ecard p { font-size: 14px; }
.ecard .link-arrow { margin-top: auto; }

/* Off-plan list on home (li-item reuse) ---------------------------------- */
.featured__grid--proj .li-item p { font-size: 12px; }

/* Report cards ----------------------------------------------------------- */
.rgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 16px; }
.rcard { display: flex; flex-direction: column; }
.rcard__media { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); }
.rcard__body { padding-top: 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.rcard h3 { font-size: 20px; line-height: 26px; font-weight: var(--w-md-20); color: var(--ink); }
.rcard p { font-size: 14px; line-height: 19.6px; }
.rcard .link-arrow { margin-top: auto; padding-top: 8px; }
.rlead { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; }
.rlead__media { aspect-ratio: 16 / 11; border-radius: var(--radius); }
.rlead .h2 { margin: 8px 0 12px; }
.rlead .btn { margin-top: 8px; }

/* Area cards ------------------------------------------------------------- */
.agrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.acard { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; color: var(--on-dark); }
.acard__media { position: absolute; inset: 0; }
.acard__overlay { position: absolute; left: 16px; right: 16px; bottom: 16px; padding: 20px; background: var(--navy-80); border-radius: var(--radius); }
.acard__overlay .eyebrow { color: var(--on-dark-2); }
.acard h3 { margin-top: 6px; font-size: 24px; line-height: 31.2px; font-weight: var(--w-md-24); color: var(--on-dark); }
.acard p { margin-top: 4px; font-size: 14px; color: var(--on-dark-2); }
.acard__meta { display: flex; gap: 20px; margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.2); font-size: 12px; color: var(--on-dark-2); }
.acard__meta b { display: block; color: var(--on-dark); font-size: 14px; font-weight: var(--w-md-14); }
.acard:hover .acard__media img { transform: scale(1.04); }
.area-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.area-gallery .ph { aspect-ratio: 4 / 3; border-radius: var(--radius); }
.dim { opacity: .25; }

/* Listing / filters ------------------------------------------------------ */
.listing { padding-top: 40px; }
.filters { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)) auto; gap: 12px; align-items: end; padding: 20px; background: var(--grey-bg); border-radius: var(--radius); }
.filters label span { display: block; margin-bottom: 6px; font-size: 12px; font-weight: var(--w-md-12); color: var(--ink); }
.filters em { font-style: normal; color: #6a6a6a; }
.filters select, .filters input, .form-grid select, .form-grid textarea, .contact .field input {
  width: 100%; height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white);
  font: inherit; font-size: 14px; color: var(--ink); }
.filters select, .form-grid select { appearance: none; padding-right: 32px; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 6l5 5 5-5' fill='none' stroke='%23002952' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 12px center / 14px; }
.filters__reset { height: 44px; }
.listing__count { margin: 24px 0 20px; font-size: 14px; }
.listing__empty { padding: 40px; text-align: center; background: var(--grey-bg); border-radius: var(--radius); }
.listing__empty a { color: var(--blue); text-decoration: underline; }

/* Detail pages ----------------------------------------------------------- */
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 240px 240px; gap: 8px; border-radius: var(--radius); overflow: hidden; }
.gallery__main { grid-row: 1 / span 2; }
.gallery .ph { min-height: 0; }
.gallery:not(:has(.gallery__thumb:nth-of-type(3))) { grid-template-columns: 2fr 1fr; }
.detail__grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 64px; margin-top: 40px; }
.detail__title { margin-top: 8px; font-size: 40px; line-height: 48px; font-weight: var(--w-reg); color: var(--ink); }
.detail__price { margin-top: 12px; font-size: 32px; line-height: 38px; color: var(--ink); }
.detail__aed { margin-top: 4px; font-size: 14px; color: #6a6a6a; }
.detail__h2 { margin: 40px 0 12px; font-size: 24px; line-height: 31.2px; font-weight: var(--w-md-24); color: var(--ink); }
.detail__p { font-size: 16px; line-height: 24px; margin-top: 12px; }
.detail__permit { margin-top: 32px; font-size: 12px; color: #6a6a6a; }
.detail__side { display: grid; gap: 16px; align-content: start; position: sticky; top: calc(var(--header-h) + 16px); }
.facts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; margin-top: 28px; border: 1px solid var(--line); border-radius: var(--radius); }
.facts li { padding: 16px; display: grid; gap: 4px; border-left: 1px solid var(--line); }
.facts li:first-child { border-left: 0; }
.facts .icon { width: 20px; height: 20px; color: var(--navy); }
.facts span { font-size: 12px; color: #6a6a6a; }
.facts b { font-size: 16px; font-weight: var(--w-md-20); color: var(--ink); }
.facts small { font-weight: var(--w-12); color: #6a6a6a; }
.kv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 24px; margin-top: 24px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); }
.kv dt { font-size: 12px; color: #6a6a6a; }
.kv dd { margin: 4px 0 0; font-size: 16px; font-weight: var(--w-md-20); color: var(--ink); }
.kv--stack { grid-template-columns: 1fr; border: 0; padding: 0; gap: 14px; }
.kv--stack div { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.kv--stack dd { margin: 0; text-align: right; }
.chips--static li { font-size: 14px; }

/* Cost calculator, fact box, agent --------------------------------------- */
.cost, .factbox, .agent { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.cost { background: var(--grey-bg); border-color: transparent; }
.cost__title { font-size: 20px; line-height: 26px; font-weight: var(--w-md-20); color: var(--ink); }
.cost__intro { font-size: 12px; color: #6a6a6a; margin-top: 2px; }
.cost__rows { margin-top: 16px; display: grid; gap: 10px; }
.cost__rows div { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.cost__rows dt small { color: #6a6a6a; }
.cost__rows dd { margin: 0; color: var(--ink); white-space: nowrap; }
.cost__toggle { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 14px; cursor: pointer; }
.cost__ltv { display: grid; gap: 6px; margin-top: 10px; font-size: 13px; }
.cost__ltv input { width: 100%; accent-color: var(--blue-btn); }
.cost__total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 16px; padding-top: 16px; border-top: 2px solid var(--ink); }
.cost__total span { font-size: 14px; font-weight: var(--w-md-14); color: var(--ink); }
.cost__total b { font-size: 22px; font-weight: var(--w-md-20); color: var(--ink); }
.cost__note { margin-top: 12px; font-size: 11px; line-height: 15px; color: #6a6a6a; }
.factbox p + p { margin-top: 8px; font-size: 14px; }
.factbox .icon { width: 14px; height: 14px; }
.agent { display: grid; gap: 10px; }
.agent__top { display: flex; gap: 16px; align-items: center; margin-bottom: 6px; }
.agent__photo { width: 72px; height: 72px; border-radius: 50%; flex: none; }
.agent__name { font-size: 18px; line-height: 24px; font-weight: var(--w-md-20); color: var(--ink); }
.agent__role, .agent__brn { font-size: 13px; }

/* Off-plan payment plan -------------------------------------------------- */
.planbar { display: flex; height: 44px; border-radius: var(--radius); overflow: hidden; font-size: 13px; font-weight: var(--w-md-14); }
.planbar span { display: flex; align-items: center; padding: 0 14px; color: var(--white); background: var(--blue-btn); white-space: nowrap; }
.planbar span + span { background: var(--navy); }
.plansteps { margin-top: 16px; display: grid; gap: 10px; counter-reset: s; }
.plansteps li { display: flex; gap: 12px; align-items: center; font-size: 15px; }
.plansteps span { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--grey-bg); color: var(--navy); font-size: 13px; font-weight: var(--w-md-14); flex: none; }
.brochure { margin-top: 48px; padding: 32px; background: var(--grey-bg); border-radius: var(--radius); }
.brochure .detail__h2 { margin-top: 0; }
.brochure__form { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; margin-top: 20px; align-items: start; }
.brochure__form .check, .brochure__form .field__err--consent, .brochure__form .btn { grid-column: 1 / -1; justify-self: start; }

/* Guide ------------------------------------------------------------------ */
.guide__grid { display: grid; grid-template-columns: 312px minmax(0, 1fr); gap: 64px; }
.guide__toc { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
.guide__toc ol { margin: 12px 0 0; padding: 0; list-style: none; border-left: 1px solid var(--line); }
.guide__toc a { display: flex; gap: 12px; padding: 8px 0 8px 16px; margin-left: -1px; border-left: 2px solid transparent; font-size: 14px; line-height: 19.6px; color: var(--body); }
.guide__toc a span { color: #9a9a9a; font-variant-numeric: tabular-nums; }
.guide__toc a:hover, .guide__toc a.is-current { color: var(--blue); border-left-color: var(--blue); }
.guide__cta { margin-top: 32px; padding: 20px; background: var(--grey-bg); border-radius: var(--radius); font-size: 14px; }
.guide__cta p { margin-bottom: 12px; color: var(--ink); }
.guide__body { max-width: 860px; }
.chapter { padding: 48px 0; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 16px); }
.chapter .h2 { margin: 8px 0 8px; }
.chapter + .cta-band { margin-top: 48px; }
.steps { display: grid; gap: 0; margin: 24px 0; }
.steps li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; position: relative; padding-bottom: 24px; }
.steps li:not(:last-child)::before { content: ""; position: absolute; left: 21px; top: 44px; bottom: 0; width: 2px; background: var(--line); }
.steps__n { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--white); font-size: 16px; font-weight: var(--w-md-20); }
.steps h4 { margin: 10px 0 4px; font-size: 18px; line-height: 24px; font-weight: var(--w-md-20); color: var(--ink); }
.steps p { font-size: 15px; line-height: 22px; }
.steps--row { grid-template-columns: repeat(5, 1fr); gap: 24px; margin-top: 40px; }
.steps--row li { grid-template-columns: 1fr; padding: 0; }
.steps--row li::before { display: none; }
.table-wrap { overflow-x: auto; margin: 24px 0; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--grey-bg); font-weight: var(--w-md-14); color: var(--ink); white-space: nowrap; }
tbody tr:last-child td { border-bottom: 0; }
td:first-child { color: var(--ink); font-weight: var(--w-md-14); }

/* About ------------------------------------------------------------------ */
.bio { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: center; padding: 48px 0; }
.bio + .bio { border-top: 1px solid var(--line); }
.bio--flip .bio__media { order: 2; }
.bio__media { aspect-ratio: 4 / 5; border-radius: var(--radius); }
.bio .h2 { margin: 6px 0 8px; }
.bio__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.quote__author--duo { align-items: center; }
.quote__avatars { display: flex; }
.quote__avatars .quote__avatar { margin-top: 0; border: 3px solid var(--white); }
.quote__avatar > img { object-position: center 10%; }
.quote__avatars .quote__avatar + .quote__avatar { margin-left: -16px; }
.book-band { background: var(--grey-bg); scroll-margin-top: var(--header-h); }
.book-band__grid { display: grid; grid-template-columns: 1fr 573px; gap: 64px; align-items: center; }
.book-band .lead { margin-top: 16px; }

/* Contact ---------------------------------------------------------------- */
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 64px; padding-bottom: 96px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
.form-grid .field--full { grid-column: 1 / -1; }
.form-grid textarea { height: auto; padding: 12px; resize: vertical; }
.contact .field label { display: block; margin-bottom: 6px; font-size: 12px; font-weight: var(--w-md-12); color: var(--ink); }
.contact .field input { height: 48px; }
.form-foot { display: flex; justify-content: space-between; align-items: center; }
.methods { display: grid; gap: 8px; }
.method { display: grid; grid-template-columns: 48px 1fr 16px; gap: 16px; align-items: center; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s, box-shadow .2s; }
.method:hover { border-color: var(--blue); box-shadow: var(--shadow); }
.method__icon { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--grey-bg); color: var(--blue); }
.method__icon .icon { width: 22px; height: 22px; }
.method b { display: block; font-size: 16px; font-weight: var(--w-md-20); color: var(--ink); }
.method small { display: block; font-size: 12px; color: #6a6a6a; }
.method em { display: block; margin-top: 4px; font-style: normal; font-size: 14px; color: var(--blue); }
.contact__side .factbox { margin-top: 16px; }
.prose { max-width: 760px; }
.prose .h2 { margin-top: 40px; }
/* plain bulleted lists in a prose page (the privacy policy) */
.prose ul { margin: 12px 0 0; padding-left: 20px; list-style: disc; }
.prose ul li { font-size: 16px; line-height: 24px; margin-top: 8px; }
.prose ul li::marker { color: var(--gold); }
.prose code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 14px;
              background: var(--grey-bg); padding: 1px 6px; border-radius: 3px; }

/* Forms: shared states --------------------------------------------------- */
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 12px; line-height: 16.8px; cursor: pointer; }
.check input { margin-top: 2px; accent-color: var(--blue-btn); }
.news .check { margin-top: 16px; color: var(--on-dark-2); }
.news .news__foot { justify-content: space-between; }
.field__err--consent { display: none; }
form.consent-invalid .field__err--consent { display: block; }
.contact .field.is-invalid input, .brochure .field.is-invalid input { border-color: #e5484d; }
.contact .field__err, .brochure .field__err, .modal .field__err { color: #c62828; }
.form__ok { display: none; padding: 20px 0; font-size: 16px; color: var(--ink); }
.form__ok small { display: block; margin-top: 6px; font-size: 12px; color: #6a6a6a; }
.news .form__ok { color: var(--on-dark); }
.news .form__ok small { color: var(--on-dark-2); }
[data-formwrap].is-done form { display: none; }
[data-formwrap].is-done .form__ok { display: block; }

/* Modal (report gate) ---------------------------------------------------- */
.modal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 16px; background: rgba(0,8,15,.55); }
.modal[hidden] { display: none; }
.modal__box { position: relative; width: 100%; max-width: 480px; max-height: calc(100vh - 32px); overflow: auto; padding: 32px; background: var(--white); border-radius: 8px; box-shadow: var(--shadow-lg); }
.modal__x { position: absolute; top: 12px; right: 12px; color: var(--ink); }
.modal__title { margin: 6px 0 8px; font-size: 24px; line-height: 31.2px; font-weight: var(--w-md-24); color: var(--ink); }
.modal__text { font-size: 14px; margin-bottom: 20px; }
.modal form { display: grid; gap: 14px; }
.modal .field input { width: 100%; height: 48px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--radius); font: inherit; font-size: 14px; }
.modal .field.is-invalid input { border-color: #e5484d; }
.modal .field label { display: block; margin-bottom: 6px; font-size: 12px; font-weight: var(--w-md-12); color: var(--ink); }
.modal .btn { justify-self: start; }
.modal .form__ok .link-arrow { margin-top: 8px; }

/* Footer additions ------------------------------------------------------- */
.footer__tag { margin-top: 8px; font-size: 14px; }
.footer__logo { font-size: 40px; line-height: 49px; }
.footer__lic { font-size: 12px; color: #6a6a6a; }

/* Responsive ------------------------------------------------------------- */
@media (max-width: 1279px) {
  .nav-bar { gap: 14px; }
  .brand { margin-right: 24px; }
  .book-btn span, .book-btn { font-size: 13px; }
  .detail__grid { grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; }
  .founder { grid-template-columns: 1fr; }
  .founder__media { min-height: 0; aspect-ratio: 4 / 3; }
  .steps--row { grid-template-columns: repeat(3, 1fr); }
  .filters { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1199px) {
  .nav-bar, .utility, .mega { display: none !important; }
  .burger { display: grid; }
  :root { --header-h: 84px; }
  .hero__row { flex-direction: column; align-items: stretch; gap: 40px; }
  .hero--home { height: auto; padding-bottom: 48px; }
  .hero--home .hero__panel { width: 100%; }
  .hero__aside { justify-content: flex-start; }
  /* Stacked, the search is the thing to act on, so it follows the lead
     directly and the two buttons come after it. The wrappers drop out of the
     box tree so all three order as siblings; the rule beside the text ends
     with the paragraph instead of running on past the buttons. */
  .hero--home .hero__panel, .hero--home .hero__content { display: contents; }
  .hero--home .hero__content::before { display: none; }
  .hero__text { order: 1; position: relative; padding-left: 24px; }
  .hero__text::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--sep); }
  .hero--home .hero__aside { order: 2; }
  .hero--home .hero__ctas { order: 3; margin-top: 0; }
  .book-band__grid { grid-template-columns: 1fr; }
}
@media (max-width: 1023px) {
  .pgrid, .pjgrid, .rgrid, .agrid, .emirates__grid { grid-template-columns: repeat(2, 1fr); }
  .founders__grid { grid-template-columns: 1fr; }
  .founder { grid-template-columns: 1fr 1fr; }
  .detail__grid, .guide__grid, .contact__grid { grid-template-columns: minmax(0, 1fr); }
  .detail__side, .guide__toc { position: static; }
  .guide__toc ol { columns: 2; }
  .facts { grid-template-columns: repeat(3, 1fr); }
  .facts li:nth-child(4) { border-left: 0; }
  .facts li:nth-child(n+4) { border-top: 1px solid var(--line); }
  .bio, .rlead { grid-template-columns: 1fr; gap: 32px; }
  .bio--flip .bio__media { order: 0; }
  .bio__media { max-width: 480px; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 32px; }
  .phero h1 { font-size: 44px; line-height: 52.8px; }
  .kv { grid-template-columns: repeat(2, 1fr); }
  .brochure__form { grid-template-columns: 1fr; }
  .picker__btn { padding: 0 8px; }
  .book-btn { display: none; }
}
@media (max-width: 767px) {
  .pgrid, .pjgrid, .rgrid, .agrid, .emirates__grid, .form-grid, .area-gallery { grid-template-columns: 1fr; }
  .founder { grid-template-columns: 1fr; }
  .booker__body { grid-template-columns: 1fr; }
  .booker__cal { border-right: 0; border-bottom: 1px solid var(--grey-bg); }
  .booker__times { grid-template-columns: repeat(3, 1fr); max-height: none; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 110px; }
  .gallery__main { grid-column: 1 / -1; grid-row: auto; }
  .gallery__thumb:nth-of-type(n+4) { display: none; }
  .detail__title { font-size: 30px; line-height: 38px; }
  .phero { min-height: 380px; }
  .phero h1 { font-size: 36px; line-height: 43.2px; }
  .phero__content { padding-left: 20px; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .facts li { border-left: 0 !important; border-top: 1px solid var(--line); }
  .facts li:nth-child(-n+2) { border-top: 0; }
  .filters { grid-template-columns: 1fr 1fr; }
  .row-head { flex-direction: column; align-items: flex-start; }
  .steps--row { grid-template-columns: 1fr; }
  .guide__toc ol { columns: 1; }
  .picker__btn > .chev { display: none; }
  .nav-actions { gap: 6px; }
  .dropdown--sm { right: -40px; }
}

/* the reports are published in English; the Danish cards say so */
.rcard__lang { margin-top: 8px; font-size: 12px; color: var(--muted); }

/* --- hero search -----------------------------------------------------------
   Buy / Rent / Projects then a query, sitting in the hero's right-hand slot
   over the photograph. Active tab is solid white on the dark hero (the same
   treatment the hero's primary button uses); inactive tabs are outlined. */
.hs { display: flex; flex-direction: column; gap: 14px; width: 100%; max-width: 600px; }
.hs__tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.hs__tab {
  padding: 10px 22px; border-radius: var(--radius); cursor: pointer;
  font-size: 15px; line-height: 20px; font-weight: var(--w-16, 540);
  color: var(--white); background: transparent;
  border: 1px solid rgba(255, 255, 255, .42);
  transition: background .25s, color .25s, border-color .25s;
}
.hs__tab:hover { border-color: var(--white); }
.hs__tab.is-on { background: var(--white); color: var(--ink); border-color: var(--white); }
.hs__form {
  display: flex; align-items: center; gap: 8px;
  background: var(--white); border-radius: var(--radius); padding: 6px 6px 6px 18px;
}
.hs__input {
  flex: 1; min-width: 0; border: 0; background: transparent;
  font: inherit; font-size: 16px; line-height: 24px; color: var(--ink);
  padding: 10px 0;
  /* the hint is longer than a 375px phone can show: end it in an ellipsis
     rather than slicing it mid-word (goes on the input, not ::placeholder) */
  text-overflow: ellipsis;
}
.hs__input::placeholder { color: var(--body); opacity: .75; }
.hs__input:focus { outline: none; }
.hs__form:focus-within { box-shadow: 0 0 0 2px var(--sky); }
.hs__go {
  flex: none; height: 48px; padding: 0 30px; border-radius: var(--radius); cursor: pointer;
  background: var(--ink); color: var(--white); border: 0;
  font-size: 15px; line-height: 20px; font-weight: var(--w-16, 540);
  transition: background .25s;
}
.hs__go:hover { background: #3a3a3a; }
@media (max-width: 767px) {
  .hs__form { padding-left: 14px; }
  .hs__go { padding: 0 20px; }
}

/* result note shown on a listing page reached from the hero search */
.qnote {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  margin-bottom: 18px; font-size: 15px; color: var(--body);
}
.qnote a { color: var(--ink); text-decoration: underline; }


/* --- header call-to-action -------------------------------------------------
   The header sits transparent over the hero and solid white once scrolled.
   Ink made this button disappear against the dark state, so it takes the
   brand cream with ink text, which holds on both grounds. */
.book-btn, .book-btn:visited { background: var(--cream); color: var(--ink); }
.book-btn:hover, .book-btn:focus-visible { background: #e8d8bd; color: var(--ink); }
.header.is-solid .book-btn { background: var(--cream); color: var(--ink); }

/* --- articles ---------------------------------------------------------------
   The article body is one column at a readable measure rather than the
   two-column property layout, so it gets its own wrapper instead of reusing
   .detail__grid. Headings step down from the page title through h3 to h4. */
.listing--tint { background: var(--grey-bg); }
.detail__wrap { display: grid; justify-content: center; }
.detail__body { max-width: 44rem; }
.detail__body > :first-child { margin-top: 0; }
.detail__h {
  margin: 40px 0 4px; font-size: 24px; line-height: 31.2px;
  font-weight: var(--w-md-24); color: var(--ink);
}
.detail__h4 {
  margin: 28px 0 0; font-size: 18px; line-height: 25px;
  font-weight: var(--w-md-24); color: var(--ink);
}
.detail__body .checks { margin-top: 16px; }
.detail__by {
  margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line);
  font-size: 13px; color: #6a6a6a;
}
/* the article cards reuse .rcard, so only the linked parts need treating */
.rcard__body h3 a { color: inherit; }
.rcard__body h3 a:hover, .rlead__body h2 a:hover { color: var(--blue); }
.rlead__body h2 a { color: inherit; }
@media (max-width: 767px) {
  .detail__h { margin-top: 32px; font-size: 21px; line-height: 28px; }
}

/* --- sell ------------------------------------------------------------------
   Photo beside the written-position copy, and the eight process steps in two
   columns so the list does not run the height of the screen. */
.sell__grid { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: 48px; align-items: start; }
.sell__media { aspect-ratio: 4 / 5; border-radius: var(--radius); }
.sell__grid .detail__h { margin-top: 0; }
.steps--2col { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }
@media (max-width: 1023px) {
  .sell__grid { grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 32px; }
}
@media (max-width: 767px) {
  .sell__grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .sell__media { aspect-ratio: 4 / 3; }
  .steps--2col { grid-template-columns: minmax(0, 1fr); }
}
