/* AHS Twin Towers, Sheikh Zayed Road — shared stylesheet for every page.
   Theme follows ahsproperties.com: Optima throughout at regular weight, a taupe (#8f8476) header bar
   with the white AHS logo, square near-black buttons, uppercase taupe titles, 25px-rounded imagery,
   and a paper-texture footer with the black logo. Optima is used where installed (Apple devices);
   everywhere else falls back to the self-hosted Tenor Sans, the closest free match. */

@font-face { font-family: "Tenor Sans"; font-weight: 400; font-display: swap; src: url("../fonts/tenor-sans-400.woff2") format("woff2"); }

:root {
  --taupe: #8f8476;
  --taupe-dark: #6f6558;
  --taupe-light: #cec8c0;
  --black: #252525;
  --text: #333333;
  --mute: #69727d;
  --white: #ffffff;
  --mist: #f7f5f2;
  --sand: #f0ece6;
  --stone: #e8e2da;
  --line: rgba(51,51,51,.12);
  --font: Optima, "Optima nova", "Optima LT Pro", "Tenor Sans", Candara, "Segoe UI", sans-serif;
  --wrap: 1240px;
  --radius: 25px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--font); font-weight: 400; font-size: 17px; line-height: 1.75; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font); font-weight: 400; line-height: 1.2; }
b, strong { font-weight: 400; color: var(--black); }
p { margin: 0 0 1.1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.gold-text { color: var(--taupe); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ------------------------------------------------ buttons (square, near-black, as on ahsproperties.com) */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 50px; padding: 0 28px;
  border-radius: 0; border: 0; cursor: pointer; text-decoration: none; font-family: var(--font);
  font-size: 15px; font-weight: 400; letter-spacing: .04em; transition: background .25s, color .25s, box-shadow .25s;
}
.btn-primary { background: var(--black); color: #fff; }
.btn-primary:hover { background: #000; }
.btn-primary::after { content: "›"; font-size: 20px; line-height: 1; margin-top: -2px; }
.btn-ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.75); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-dark { background: var(--black); color: #fff; }
.btn-dark:hover { background: #000; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; color: var(--black); }
.link-arrow::after { content: "›"; font-size: 18px; transition: transform .25s; }
.link-arrow:hover::after { transform: translateX(4px); }

/* ------------------------------------------------ header: taupe bar, logo centred */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; background: var(--taupe); box-shadow: 0 2px 18px rgba(0,0,0,.08); }
.header-in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; height: 72px; }
.logo { display: block; justify-self: center; grid-column: 2; grid-row: 1; }
.logo img { height: 46px; width: auto; }
.nav-left, .nav-right { display: flex; align-items: center; gap: 28px; grid-row: 1; }
.nav-left { grid-column: 1; }
.nav-right { grid-column: 3; justify-content: flex-end; }
.site-header a:not(.btn) { color: #fff; text-decoration: none; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; opacity: .9; padding: 4px 0; border-bottom: 1px solid transparent; transition: opacity .2s, border-color .2s; }
.site-header a:not(.btn):hover { opacity: 1; }
.site-header a[aria-current="page"] { opacity: 1; border-bottom-color: #fff; }
.site-header .logo { border: 0 !important; padding: 0 !important; opacity: 1 !important; }
.site-header .btn { min-height: 34px; padding: 0 16px; font-size: 13px; }
.site-header .btn::after { display: none; }
.menu-btn { display: none; grid-column: 3; justify-self: end; width: 44px; height: 44px; border: 0; background: transparent; color: #fff; cursor: pointer; }
.menu-btn span { display: block; width: 22px; height: 1px; margin: 6px auto; background: currentColor; }
.mobile-cta { display: none !important; }
.mobile-nav { display: none; }

/* ------------------------------------------------ hero (render shown whole, at its own ratio) */
.hero { position: relative; background: var(--black); color: #fff; margin-top: 72px; }
.hero-media { position: relative; }
.hero-media img { width: 100%; height: auto; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.62) 100%), linear-gradient(90deg, rgba(0,0,0,.4) 0%, rgba(0,0,0,0) 60%); }
.hero-copy { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding-bottom: 60px; }
.eyebrow { display: block; margin-bottom: 16px; font-size: 13px; letter-spacing: .3em; text-transform: uppercase; color: var(--text); }
.hero .eyebrow, .band .eyebrow { color: rgba(255,255,255,.85); }
.hero h1 { font-size: clamp(32px, 4.4vw, 62px); text-transform: uppercase; letter-spacing: .08em; line-height: 1.12; max-width: 16em; }
.hero h1 .gold-text { color: #e9dfd0; }
.hero-sub { max-width: 620px; margin: 18px 0 28px; font-size: 18px; color: rgba(255,255,255,.9); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero .btn-primary { background: #fff; color: var(--black); }
.hero .btn-primary:hover { background: var(--sand); }
.crumbs { margin-bottom: 12px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.crumbs a { text-decoration: none; }

/* ------------------------------------------------ stats strip */
.stats-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; padding: 44px 0; }
.stats-row.five { grid-template-columns: repeat(5, 1fr); }
.stat { background: var(--white); border-radius: 18px; padding: 24px 16px; text-align: center; }
.stat b { display: block; font-size: clamp(26px, 2.5vw, 36px); color: var(--taupe); line-height: 1.1; }
.stat span { display: block; margin-top: 8px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); line-height: 1.45; }

/* ------------------------------------------------ sections */
.section { padding: 110px 0; position: relative; }
.section.tight { padding: 80px 0; }
.sec-head { max-width: 800px; margin-bottom: 54px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head h2, .split-copy h2 { font-size: clamp(28px, 2.9vw, 38px); text-transform: uppercase; letter-spacing: .1em; color: var(--taupe); }
.sec-head h2 .gold-text, .split-copy h2 .gold-text { color: var(--black); }
.sec-head p { margin-top: 20px; font-size: 18px; color: var(--mute); }
.dark { color: #fff; }
.dark .sec-head p, .dark .split-copy p, .dark .muted { color: rgba(255,255,255,.88); }
.dark .eyebrow { color: rgba(255,255,255,.85); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.split.wide-media { grid-template-columns: 1.25fr 1fr; }
.split.flip > .split-media { order: 2; }
.split-copy h2 { margin-bottom: 24px; }
.split-media img, .figure img { border-radius: var(--radius); }
.figure { margin: 0; }
.figure figcaption { margin-top: 12px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--mute); }

.ticks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .8em; width: 14px; height: 1px; background: var(--taupe); }
.dark .ticks li::before { background: #fff; }
.ticks.two { grid-template-columns: 1fr 1fr; gap: 12px 30px; }

/* soft cards with gaps, never ruled grids */
.cards { display: grid; gap: 26px; }
.cards.c2 { grid-template-columns: repeat(2, 1fr); }
.cards.c3 { grid-template-columns: repeat(3, 1fr); }
.cards.c4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--white); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: transform .35s, box-shadow .35s; box-shadow: 0 14px 40px rgba(60,52,40,.07); }
a.card:hover { transform: translateY(-5px); box-shadow: 0 24px 54px rgba(60,52,40,.13); }
.card-media img { width: 100%; height: auto; }
.card-body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-body h3 { font-size: 21px; text-transform: uppercase; letter-spacing: .08em; }
.card-tag { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--taupe); }
.card-body p { margin: 0; font-size: 15px; color: var(--mute); }
.card-body .link-arrow { margin-top: auto; padding-top: 8px; }
.card.plain { padding: 32px; }
.card.plain h3 { font-size: 20px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 10px; }
.card.plain p { margin: 0; font-size: 15px; color: var(--mute); }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 30px 0 0; }
.facts div { background: var(--white); border-radius: 16px; padding: 18px 16px; }
.facts b { display: block; font-size: 23px; color: var(--taupe); line-height: 1.2; }
.facts span { display: block; margin-top: 6px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); line-height: 1.45; }

/* gallery: every image whole at its natural ratio, in equal columns */
.gallery { columns: 3; column-gap: 22px; }
.gallery.g2 { columns: 2; }
.gallery figure { break-inside: avoid; margin: 0 0 22px; }
.gallery img { width: 100%; border-radius: 18px; }
.gallery figcaption { margin-top: 10px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--mute); }

/* full-width image band */
.band { position: relative; color: #fff; background: var(--stone); }
.band img { width: 100%; height: auto; }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.66) 0%, rgba(0,0,0,.28) 50%, rgba(0,0,0,0) 75%); }
.band-copy { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; }
.band-copy h2 { font-size: clamp(28px, 3.4vw, 48px); text-transform: uppercase; letter-spacing: .08em; max-width: 13em; }
.band-copy h2 .gold-text { color: #e9dfd0; }
.band-copy p { max-width: 520px; margin: 18px 0 26px; font-size: 18px; color: rgba(255,255,255,.9); }
.band .btn-primary { background: #fff; color: var(--black); }

/* floor plans */
.plan { background: var(--white); border-radius: var(--radius); padding: 28px; margin: 0; }
.plan img { width: 100%; max-width: 1060px; height: auto; margin: 0 auto; }
.plan figcaption { margin-top: 14px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--mute); text-align: center; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; }
.chips li { background: var(--white); color: var(--text); border-radius: 999px; padding: 7px 16px; font-size: 14px; box-shadow: inset 0 0 0 1px var(--taupe-light); }

/* tower stack */
.stack { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.stack li { display: grid; grid-template-columns: 120px 1fr auto; align-items: center; gap: 18px; background: var(--white); border-radius: 16px; padding: 16px 22px; }
.stack li b { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--taupe); }
.stack li em { font-style: normal; font-size: 14px; color: var(--mute); text-align: right; }
.stack li.is-office { background: var(--taupe); color: #fff; }
.stack li.is-office b, .stack li.is-office em { color: #fff; }

.types { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; margin-top: 30px; }
.type { background: var(--white); border-radius: 16px; padding: 18px 20px; }
.type small { display: block; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--taupe); }
.type b { display: block; margin-top: 6px; font-size: 20px; }
.type span { display: block; margin-top: 2px; font-size: 14px; color: var(--mute); }

.format + .format { margin-top: 110px; }
.format-plan { margin-top: 44px; }

.price-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.price { border-radius: var(--radius); padding: 34px 30px; background: var(--white); box-shadow: 0 14px 40px rgba(60,52,40,.06); }
.price small { display: block; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--mute); }
.price b { display: block; margin-top: 10px; font-size: clamp(28px, 3vw, 40px); color: var(--taupe); line-height: 1.1; }
.price span { display: block; margin-top: 8px; font-size: 14px; color: var(--mute); }
.note { margin-top: 22px; font-size: 14px; color: var(--mute); }

.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; list-style: none; margin: 0; padding: 0; }
.timeline li { background: var(--white); border-radius: var(--radius); padding: 30px; }
.timeline li b { display: block; font-size: clamp(36px, 3.4vw, 50px); color: var(--taupe); line-height: 1; }
.timeline li strong { display: block; margin-top: 14px; font-size: 14px; letter-spacing: .16em; text-transform: uppercase; }
.timeline li span { display: block; margin-top: 6px; font-size: 15px; color: var(--mute); }
.split-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.split-bar div { border-radius: var(--radius); padding: 26px 30px; background: var(--taupe); color: #fff; display: flex; align-items: baseline; gap: 16px; }
.split-bar div + div { background: var(--black); }
.split-bar b { font-size: 40px; line-height: 1; color: #fff; }
.split-bar span { font-size: 13px; letter-spacing: .18em; text-transform: uppercase; }

.times { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.time { background: var(--white); border-radius: 18px; padding: 22px 18px; }
.time b { display: block; font-size: 32px; color: var(--taupe); line-height: 1; }
.time b small { font-size: 13px; letter-spacing: .12em; margin-left: 4px; color: var(--mute); }
.time span { display: block; margin-top: 10px; font-size: 14px; line-height: 1.4; }

.numbered { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 30px; counter-reset: n; }
.numbered li { counter-increment: n; display: flex; gap: 16px; align-items: baseline; background: var(--white); border-radius: 14px; padding: 16px 20px; }
.numbered li::before { content: counter(n, decimal-leading-zero); font-size: 14px; color: var(--taupe); letter-spacing: .1em; }

.faq { max-width: 900px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--white); border-radius: 18px; }
.faq summary { list-style: none; cursor: pointer; padding: 22px 60px 22px 26px; position: relative; font-size: 18px; color: var(--black); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 26px; top: 50%; transform: translateY(-50%); font-size: 24px; color: var(--taupe); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0; padding: 0 26px 24px; color: var(--mute); }

/* ------------------------------------------------ enquiry (taupe section, white form card) */
.enquire-grid { display: grid; grid-template-columns: 1fr 480px; gap: 70px; align-items: start; }
.enquire-title { font-size: clamp(28px, 2.9vw, 38px); text-transform: uppercase; letter-spacing: .1em; }
.enquire-title .gold-text { color: #fff; }
.form-card { background: var(--white); border-radius: var(--radius); padding: 40px 36px; color: var(--text); position: relative; }
.form-card h3 { font-size: 24px; text-transform: uppercase; letter-spacing: .1em; color: var(--taupe); }
.form-sub { margin: 10px 0 26px; color: var(--mute); font-size: 15px; }

.lead-form { display: grid; gap: 18px; }
.field label { display: block; margin-bottom: 8px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--text); }
.field input, .field select {
  width: 100%; min-height: 54px; padding: 0 16px; border-radius: 0; border: 1px solid var(--taupe-light);
  background: var(--mist); color: var(--text); font-family: var(--font); font-size: 16px; outline: none; transition: border-color .3s, background .3s;
}
.field select { appearance: none; -webkit-appearance: none; padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238f8476' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 18px; }
.field input::placeholder { color: #9aa0a8; }
.field input:focus, .field select:focus { border-color: var(--taupe); background: #fff; }
.field.has-error input, .field.has-error .phone-code-trigger { border-color: #c0392b; }
.field-error { display: none; margin-top: 6px; font-size: 13px; color: #b03a2e; }
.field.has-error .field-error { display: block; }
.phone-row { display: flex; gap: 10px; }
.phone-row > input { flex: 1 1 auto; min-width: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { min-height: 22px; margin: 0; font-size: 14px; }
.form-status.err { color: #b03a2e; }
.form-consent { margin: 0; font-size: 12px; color: var(--mute); line-height: 1.6; }
.lead-form .btn { width: 100%; }
.form-success { display: none; text-align: center; padding: 30px 10px; }
.form-success b { display: block; font-size: 24px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 8px; color: var(--taupe); }
.form-success p { margin: 0; color: var(--mute); }
.lead-form.is-done { display: none; }
.lead-form.is-done + .form-success { display: block; }

/* searchable phone-code picker (from the St Regis Al Maryah build) */
.phone-code { position: relative; flex: 0 0 118px; width: 118px; }
.phone-code-trigger {
  width: 100%; height: 100%; min-height: 54px; display: flex; align-items: center; gap: 7px;
  border: 1px solid var(--taupe-light); background: var(--mist); border-radius: 0;
  padding: 0 12px; cursor: pointer; font-family: var(--font); font-size: 15px; color: var(--text); transition: border-color .3s;
}
.phone-code-trigger:hover, .phone-code-trigger[aria-expanded="true"] { border-color: var(--taupe); }
.phone-code-trigger svg { width: 14px; height: 14px; margin-left: auto; color: var(--taupe); flex: none; }
.phone-code-trigger span[data-phone-code-flag] { font-size: 18px; line-height: 1; }
.phone-code-panel {
  position: absolute; z-index: 60; top: calc(100% + 8px); left: 0; width: 300px; max-width: 80vw;
  background: #fff; border-radius: 14px; box-shadow: 0 24px 60px rgba(0,0,0,.25);
  padding: 10px; max-height: 340px; display: flex; flex-direction: column;
}
.phone-code-panel[hidden] { display: none; }
.field .phone-code-search {
  width: 100%; min-height: 46px; padding: 0 14px; margin-bottom: 8px; border: 1px solid var(--taupe);
  border-radius: 0; background: #fff; color: #111; font-size: 16px;
}
.phone-code-list { overflow-y: auto; display: flex; flex-direction: column; }
.phone-code-option {
  display: flex; align-items: center; gap: 12px; width: 100%; border: 0; background: transparent;
  padding: 10px; border-radius: 8px; cursor: pointer; text-align: left; font-family: var(--font); font-size: 14px; color: #1d1e22;
}
.phone-code-option:hover { background: var(--mist); }
.phone-code-option.is-selected { background: var(--sand); }
.pco-flag { font-size: 18px; line-height: 1; flex: none; }
.pco-name { flex: 1 1 auto; }
.pco-dial { flex: none; color: var(--mute); font-variant-numeric: tabular-nums; }

/* ------------------------------------------------ modal */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(37,37,37,.62); backdrop-filter: blur(6px); }
.modal-dialog { position: relative; width: 100%; max-width: 520px; max-height: calc(100dvh - 40px); overflow-y: auto; overscroll-behavior: contain; border-radius: var(--radius); }
.modal-close {
  position: absolute; right: 16px; top: 16px; z-index: 2; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--taupe-light); background: #fff; color: var(--text); cursor: pointer; font-size: 22px; line-height: 1;
}
.form-card.in-modal h3 { padding-right: 52px; }
body.modal-open { overflow: hidden; }

/* ------------------------------------------------ sticky CTA (always present) */
.sticky-cta { position: fixed; right: 24px; bottom: 24px; z-index: 45; transform: translateY(160%); transition: transform .5s ease; }
.sticky-cta.is-on { transform: none; }
.sticky-cta .btn { box-shadow: 0 14px 34px rgba(0,0,0,.28); }

/* ------------------------------------------------ footer: paper texture, black logo, centred */
.site-footer { background: #ece6dc url("../img/paper.webp") center / cover no-repeat; color: var(--text); padding: 80px 0 40px; text-align: center; }
.footer-logo img { width: 190px; height: auto; margin: 0 auto; }
.footer-tag { margin: 16px auto 0; font-size: 13px; letter-spacing: .3em; text-transform: uppercase; color: var(--taupe); }
.footer-about { max-width: 640px; margin: 22px auto 0; font-size: 17px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 30px; margin-top: 34px; }
.footer-links a { text-decoration: none; font-size: 16px; color: var(--mute); }
.footer-links a:hover { color: var(--black); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--mute); }
.disc-toggle { background: none; border: 0; padding: 0; color: inherit; cursor: pointer; font: inherit; }
.disc-toggle:hover { color: var(--black); }
.disclaimer { max-width: 900px; margin: 18px auto 0; font-size: 13px; line-height: 1.7; color: var(--mute); }

/* ------------------------------------------------ reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s ease, transform .9s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ------------------------------------------------ responsive */
@media (max-width: 1180px) {
  .stats-row, .stats-row.five { grid-template-columns: repeat(3, 1fr); }
  .times { grid-template-columns: repeat(3, 1fr); }
  .cards.c4 { grid-template-columns: repeat(2, 1fr); }
  .nav-left, .nav-right { gap: 20px; }
}
@media (max-width: 1080px) {
  body { font-size: 16px; }
  /* phones/tablets: black button left, logo centre, menu right — as on ahsproperties.com */
  .nav-left, .nav-right { display: none; }
  .mobile-cta { display: inline-flex !important; grid-column: 1; grid-row: 1; justify-self: start; }
  .menu-btn { display: block; grid-row: 1; }
  .mobile-nav { display: flex; position: fixed; inset: 72px 0 auto; z-index: 49; flex-direction: column; background: var(--taupe); padding: 6px 28px 26px; transform: translateY(-120%); visibility: hidden; transition: transform .35s, visibility .35s; }
  .mobile-nav.is-open { transform: none; visibility: visible; }
  .mobile-nav a { color: #fff; text-decoration: none; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.2); font-size: 15px; letter-spacing: .14em; text-transform: uppercase; }
  .mobile-nav a[aria-current="page"] { border-bottom-color: #fff; }
  .split, .split.wide-media, .enquire-grid { grid-template-columns: 1fr; gap: 44px; }
  .split.flip > .split-media { order: 0; }
  .cards.c3 { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  /* phones: the render sits whole on top, the copy below it */
  .hero { background: var(--sand); color: var(--text); }
  .hero-media::after { display: none; }
  .hero-copy { position: static; padding: 30px 0 46px; }
  .hero .eyebrow, .band .eyebrow { color: var(--text); }
  .hero h1 { color: var(--taupe); }
  .hero h1 .gold-text { color: var(--black); }
  .hero-sub { font-size: 16px; color: var(--mute); }
  .crumbs { color: var(--mute); }
  .hero .btn-primary { background: var(--black); color: #fff; }
  .hero .btn-ghost { color: var(--text); box-shadow: inset 0 0 0 1px var(--text); }
  .band { display: flex; flex-direction: column; color: var(--text); }
  .band::after { display: none; }
  .band-copy { position: static; padding: 40px 0 50px; }
  .band-copy h2 { color: var(--taupe); }
  .band-copy h2 .gold-text { color: var(--black); }
  .band-copy p { color: var(--mute); }
  .band .btn-primary { background: var(--black); color: #fff; }
  .gallery { columns: 2; }
  .section { padding: 80px 0; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 18px; }
  .logo img { height: 40px; }
  .stats-row, .stats-row.five { grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 26px 0; }
  .cards.c2, .cards.c3, .cards.c4, .price-row, .timeline, .split-bar, .numbered, .ticks.two { grid-template-columns: 1fr; }
  .times { grid-template-columns: repeat(2, 1fr); }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .gallery, .gallery.g2 { columns: 1; }
  .stack li { grid-template-columns: 1fr; gap: 4px; }
  .stack li em { text-align: left; }
  .form-card { padding: 30px 22px; }
  .plan { padding: 14px; }
  .sticky-cta { left: 12px; right: 12px; bottom: 12px; }
  .sticky-cta .btn { width: 100%; }
  .phone-code { flex-basis: 108px; width: 108px; }
  .format + .format { margin-top: 80px; }
}

/* soft lift so white cards still read on the white sections */
.stat, .facts div, .time, .type, .stack li, .timeline li, .numbered li, .faq details, .plan { box-shadow: 0 10px 30px rgba(60,52,40,.07); }
