/* =========================================================
   Clover Amano – Landing page styles
   Brand tokens: change colours / fonts here
   ========================================================= */
:root {
  --gold: #B7985E;
  --gold-deep: #9E7F47;
  --gold-soft: #EDE3CF;
  --teal: #234A52;
  --teal-deep: #1B3B42;
  --cream: #F4F0E7;
  --stone: #F4F2F1;
  --ink: #3E4345;
  --muted: #6A6F71;
  --white: #FFFFFF;
  --line: rgba(183, 152, 94, .55);

  /* Design uses Optima. Belleza is the closest free web font.
     If you license Optima as a web font, put it first here. */
  --font-display: "Belleza", "Optima", "Optima nova", "Candara", sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;

  --container: 1080px;
  --gutter: clamp(20px, 5vw, 48px);
  --header-h: 88px;
  --section-y: clamp(72px, 10vw, 128px);

  color-scheme: light;
  box-sizing: border-box;
}
*, *::before, *::after { box-sizing: inherit; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--font-body); font-size: 15px; line-height: 1.6; font-weight: 400;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
[hidden] { display: none !important; }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
p { margin: 0 0 1em; }
ul { list-style: none; margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--teal); color: #fff; padding: 10px 16px; z-index: 200; }
.skip-link:focus { left: 8px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.center { text-align: center; }
.section { padding: var(--section-y) 0; }

/* ---------- Type ---------- */
.display {
  font-family: var(--font-display); font-weight: 400; color: var(--gold);
  font-size: clamp(2.1rem, 4.2vw, 3.5rem); line-height: 1.12; letter-spacing: .01em;
  margin: 0 0 .55em;
}
.display--light { color: #fff; }
.display--sm { font-size: clamp(1.8rem, 3vw, 2.4rem); }

.eyebrow {
  position: relative; display: inline-block;
  font-size: 11px; letter-spacing: .42em; text-transform: uppercase; color: var(--ink);
  margin: 0 0 18px; padding: 0 0 10px 18px;
}
.eyebrow::after { content: ""; position: absolute; left: 0; bottom: 0; width: 74px; height: 1px; background: var(--ink); opacity: .7; }
.eyebrow--center { padding-left: .42em; }
.eyebrow--center::after { left: 50%; transform: translateX(-50%); }
.eyebrow--light { color: #fff; }
.eyebrow--light::after { background: #fff; }

.tagline { color: var(--gold); text-transform: uppercase; letter-spacing: .08em; font-size: 14px; margin-top: 1.2em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-body); font-size: 12px; letter-spacing: .06em; text-transform: uppercase;
  padding: 8px 14px; border: 1px solid var(--gold); text-decoration: none;
  transition: background-color .25s, color .25s, border-color .25s;
}
.btn--solid { background: var(--gold); color: #fff; }
.btn--solid:hover { background: var(--gold-deep); border-color: var(--gold-deep); }
.btn--outline { background: transparent; color: var(--gold); }
.btn--outline:hover { background: var(--gold); color: #fff; }
.btn--on-dark { border-color: #fff; }
.btn--lg { font-size: 13px; letter-spacing: .04em; text-transform: none; padding: 13px 22px; }
button:disabled {
    opacity: .5;
    cursor: not-allowed;
}
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 36px; }
.text-link { color: var(--gold); text-decoration: underline; text-underline-offset: 4px; font-size: 13px; letter-spacing: .04em; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding-top: env(safe-area-inset-top, 0px);
  background: rgba(255,255,255,.97); transition: box-shadow .3s;
}
.site-header.is-scrolled { box-shadow: 0 1px 0 rgba(0,0,0,.06); }
.nav {
  height: var(--header-h); max-width: calc(var(--container) + var(--gutter) * 2 + 120px);
  margin: 0 auto; padding: 0 var(--gutter);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
}
.nav__group { display: flex; gap: clamp(18px, 2.6vw, 36px); }
.nav__group--right { justify-content: flex-end; }
.nav__link {
  font-size: 12px; letter-spacing: .03em; text-transform: uppercase; text-decoration: none; color: var(--ink);
  padding: 4px 0; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; white-space: nowrap;
}
.nav__link:hover, .nav__link.is-active { color: var(--gold); border-bottom-color: var(--gold); }
/* Inner pages (privacy, thank-you) link back to home sections with class .nav-link */
.nav__group .nav-link {
  font-size: 12px; letter-spacing: .03em; text-transform: uppercase; text-decoration: none; color: var(--ink);
  padding: 4px 0; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; white-space: nowrap;
}
.nav__group .nav-link:hover { color: var(--gold); border-bottom-color: var(--gold); }
.nav__logo img { height: 50px; width: auto; }
.nav__toggle { display: none; background: none; border: 0; width: 44px; height: 44px; position: relative; justify-self: end; }
.nav__toggle span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--teal); transition: transform .3s, top .3s; }
.nav__toggle span:first-child { top: 17px; }
.nav__toggle span:last-child { top: 26px; }
.nav__toggle[aria-expanded="true"] span:first-child { top: 21.5px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { top: 21.5px; transform: rotate(-45deg); }

.mobile-menu { background: #fff; border-top: 1px solid var(--gold-soft); padding: 12px var(--gutter) 28px; }
.mobile-menu li a { display: block; padding: 14px 0; border-bottom: 1px solid var(--gold-soft); text-decoration: none; text-transform: uppercase; font-size: 13px; letter-spacing: .08em; }

@media (max-width: 1024px) {
  :root { --header-h: 72px; }
  .nav { grid-template-columns: auto 1fr; }
  .nav__group { display: none; }
  .nav__toggle { display: block; }
  .nav__logo img { height: 42px; }
}

/* ---------- Enquire tab ---------- */
.enquire-tab {
  position: fixed; right: 0; top: 50%; z-index: 90; transform: translateY(-50%);
  writing-mode: vertical-rl; transform-origin: center; rotate: 180deg;
  background: var(--gold); color: #fff; border: 0; border-radius: 0 8px 8px 0;
  padding: 18px 11px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  box-shadow: 0 4px 18px rgba(0,0,0,.12);
}
.enquire-tab:hover { background: var(--gold-deep); }
@media (max-width: 640px) {
  .enquire-tab {
    writing-mode: horizontal-tb; rotate: none; transform: none;
    top: auto; bottom: 0; left: 0; right: 0; border-radius: 0;
    padding: 15px 16px calc(15px + env(safe-area-inset-bottom, 0px)); font-size: 12px;
  }
  body { padding-bottom: calc(50px + env(safe-area-inset-bottom, 0px)); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; margin-top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
  height: clamp(460px, 45vw, 760px); overflow: hidden; background: var(--teal);
  display: grid; place-items: center;
}
/* object-position biased toward the top: the hero banner is wider/shorter than the photo,
   so some vertical crop is unavoidable — this keeps the building's rooftop in frame and
   trims the foreground lawn instead. Re-tune the Y value if a different photo is dropped in. */
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 15%; }
.hero__shade { position: absolute; inset: 0; background: rgba(10, 25, 20, .18); }
.hero__content { position: relative; display: grid; place-items: center; text-align: center; padding: 0 var(--gutter); }
.hero__title {
  grid-area: 1 / 1; position: relative; z-index: 1; margin: 0;
  font-family: var(--font-display); font-weight: 400; color: #fff;
  font-size: clamp(1.9rem, 3.6vw, 3.2rem); letter-spacing: .015em; line-height: 1.15;
  text-shadow: 0 2px 24px rgba(0,0,0,.25);
  animation: rise 1.4s cubic-bezier(.2,.7,.2,1) both .2s;
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); letter-spacing: .06em; } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Lead ---------- */
.lead { position: relative; overflow: hidden; }
.lead__mark { position: absolute; right: -2%; top: 0; width: min(42vw, 560px); height: 100%; fill: var(--cream); }
.lead__inner { position: relative; }
.lead__text { max-width: 500px; }
.rera { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 14px; }
.rera svg { width: 20px; height: 20px; fill: none; stroke: #C8102E; stroke-width: 1.4; stroke-linecap: round; }

/* ---------- Introduction ---------- */
.intro { display: grid; grid-template-columns: 1fr 1fr; background: var(--cream); }
.intro__media img { width: 100%; height: 100%; object-fit: cover; min-height: 420px; }
.intro__panel { display: flex; align-items: center; padding: clamp(48px, 7vw, 110px) var(--gutter) clamp(48px, 7vw, 110px) clamp(24px, 4.5vw, 64px); }
.intro__copy { max-width: 440px; }
.intro__copy .tagline { margin-bottom: 2.6em; }
@media (max-width: 820px) { .intro { grid-template-columns: 1fr; } .intro__media img { min-height: 0; aspect-ratio: 4/3; } }

/* ---------- View ---------- */
.view { padding-bottom: 0; }
.view .tagline { margin: 0 0 clamp(28px, 4vw, 40px); }
.view__figure { position: relative; margin: 0; }
.view__figure img { width: 100%; aspect-ratio: 1920 / 760; object-fit: cover; min-height: 340px; }
.view__caption {
  position: absolute; top: clamp(24px, 5vw, 60px); left: max(var(--gutter), calc((100vw - var(--container)) / 2 - 20px));
  width: min(420px, 44%); color: var(--ink); font-size: 14.5px; line-height: 1.55;
}
@media (max-width: 720px) {
  .view__caption { position: static; width: auto; padding: 24px var(--gutter) 0; }
}

/* ---------- Residences ---------- */
.residences { padding-top: var(--section-y); }
.residences__intro { max-width: 580px; margin: 0 auto clamp(28px, 4vw, 40px); }
.res-stage { position: relative; isolation: isolate; padding-bottom: clamp(56px, 7vw, 80px); }
.res-stage::before { content: ""; position: absolute; z-index: -1; left: 0; right: 0; bottom: 0; top: clamp(90px, 14vw, 180px); background: var(--teal); }

.slider { position: relative; overflow: hidden; }
.slider__track { display: flex; transition: transform .7s cubic-bezier(.65,0,.35,1); }
.slide { flex: 0 0 100%; margin: 0; position: relative; }
.slide img { width: 100%; aspect-ratio: 1600 / 1100; object-fit: cover; max-height: 72vh; }
.slide figcaption {
  position: absolute; left: 20px; bottom: 18px; color: #fff; font-size: 12px; letter-spacing: .12em;
  text-transform: uppercase; background: rgba(35, 74, 82, .55); padding: 6px 12px;
}
.slider__arrow {
  position: absolute; top: 50%; translate: 0 -50%; width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid #fff; background: rgba(0,0,0,.08); display: grid; place-items: center; transition: background-color .25s;
}
.slider__arrow:hover { background: rgba(0,0,0,.25); }
.slider__arrow svg { width: 22px; fill: none; stroke: #fff; stroke-width: 1.3; }
.slider__arrow--prev { left: clamp(12px, 3vw, 28px); }
.slider__arrow--next { right: clamp(12px, 3vw, 28px); }
.slider__dots { position: absolute; right: 20px; bottom: 22px; display: flex; gap: 8px; }
.slider__dots button { width: 22px; height: 2px; padding: 0; border: 0; background: rgba(255,255,255,.5); }
.slider__dots button[aria-current="true"] { background: #fff; }

.res-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2.4vw, 28px); margin: clamp(32px, 4vw, 40px) auto 32px; max-width: 940px; }
.res-card {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px;
  background: transparent; border: 1px solid var(--gold); padding: 20px 18px 22px; color: #fff;
  transition: background-color .3s, border-color .3s;
}
.res-card:hover { background: rgba(255,255,255,.05); }
.res-card.is-active { background: rgba(183,152,94,.16); }
.res-card__name { color: var(--gold); font-weight: 600; text-transform: uppercase; letter-spacing: .03em; font-size: 14px; }
.res-card__config { font-size: 13px; color: #fff; opacity: .9; padding-bottom: 10px; position: relative; }
.res-card__config::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 64px; height: 1px; background: var(--gold); translate: -50% 0; }
.res-card__desc { font-size: 14.5px; line-height: 1.45; padding-top: 4px; }
@media (max-width: 820px) { .res-cards { grid-template-columns: 1fr; max-width: 420px; } }

/* ---------- Lifestyle ---------- */
.split-head { display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 3vw, 32px); align-items: end; }
.split-head .display { margin: 0; }
.split-head p { margin: 0 0 .5em; max-width: 470px; }
@media (max-width: 760px) { .split-head { grid-template-columns: 1fr; } }

.lifestyle { padding-bottom: calc(var(--section-y) * .6); }
.lifestyle__media { position: relative; margin: clamp(32px, 4vw, 44px) 0 0; display: grid; place-items: center; }
.lifestyle__media img { grid-area: 1 / 1; width: 100%; aspect-ratio: 1920 / 980; object-fit: cover; min-height: 320px; }

.amenities { padding-top: clamp(56px, 7vw, 80px); }
.amen-group__title {
  display: flex; align-items: center; gap: 14px; margin: 0 0 clamp(28px, 4vw, 40px);
  font-family: var(--font-display); font-weight: 400; color: var(--gold); text-transform: uppercase;
  font-size: 15px; letter-spacing: .08em; white-space: nowrap;
}
.amen-group__title::before, .amen-group__title::after { content: ""; flex: 1; height: 1px; background: var(--ink); opacity: .35; }
.amen-group__title--center { font-size: 17px; }

/* Fixed column count (rather than flex-wrap) keeps every row's items the same width, so the grid stays symmetric even on the last, partly-filled row. */
.amen-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(28px, 3vw, 40px) 10px; margin-bottom: clamp(36px, 5vw, 52px); }
.amen-list li {
  display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center;
  font-size: 11.5px; line-height: 1.35; text-transform: uppercase; letter-spacing: .02em; color: var(--muted);
}
.amen-list svg { width: 40px; height: 40px; fill: none; stroke: var(--gold); stroke-width: 1.15; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 820px) { .amen-list { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .amen-list { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Location ---------- */
.split-head--location { align-items: start; }
.split-head--location > div { padding-top: 1.6em; }
.map {
  position: relative; margin-top: clamp(32px, 4vw, 40px); border: 1px solid var(--ink);
  aspect-ratio: 16 / 8.3; min-height: 320px; overflow: hidden; background: var(--cream);
}
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(.85); }
.map__static { position: absolute; inset: 0; }
.map__grid { width: 100%; height: 100%; }
.map__pin { position: absolute; left: 50%; top: 50%; translate: -50% -100%; display: flex; align-items: flex-end; gap: 8px; }
.map__pin svg { width: 26px; fill: #D63A2F; }
.map__pin span { font-size: 13px; color: #C0392B; font-weight: 500; background: rgba(255,255,255,.8); padding: 1px 6px; margin-bottom: 14px; white-space: nowrap; }
.map__meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 14px; font-size: 13.5px; color: var(--muted); }
.map__meta p { margin: 0; }

/* ---------- Brand statement ---------- */
.statement { position: relative; overflow: hidden; background: var(--gold); color: #fff; padding: clamp(72px, 8vw, 100px) 0 clamp(64px, 8vw, 96px); }
.statement__mark { position: absolute; left: 50%; top: 18%; translate: -50% 0; width: min(90vw, 620px); height: 100%; fill: #A98A51; opacity: .55; }
.statement .container { position: relative; }
.statement .display { margin-bottom: .45em; }
.pillars {
  display: grid; grid-template-columns: 1fr 1.1fr 1.4fr 1.6fr; max-width: 725px; margin: 40px auto 42px;
  border-top: 1px solid rgba(255,255,255,.85); border-bottom: 1px solid rgba(255,255,255,.85);
}
.pillars li { padding: 12px 10px; text-transform: uppercase; letter-spacing: .06em; font-size: 14px; line-height: 1.45; display: grid; place-items: center; }
.pillars li + li { border-left: 1px solid rgba(255,255,255,.85); }
.statement__close { margin: 0; }
@media (max-width: 720px) {
  .pillars { grid-template-columns: 1fr 1fr; }
  .pillars li:nth-child(3) { border-left: 0; }
  .pillars li:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.85); }
}

/* ---------- Brochure form ---------- */
.brochure__grid { display: grid; grid-template-columns: 1fr 1.7fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.brochure__intro .display { font-size: clamp(2.4rem, 4.4vw, 3.6rem); line-height: 1.06; }
.brochure__intro p { max-width: 260px; }
@media (max-width: 820px) {
  .brochure__grid { grid-template-columns: 1fr; }
  .brochure__intro p { max-width: none; }
}
.form-wrap { padding-top: 40px; }
@media (max-width: 820px) { .form-wrap { padding-top: 0; } }
.lead-form { display: grid; grid-template-columns: 1.5fr 1fr; gap: 18px 16px; }
.lead-form--stack { grid-template-columns: 1fr; }
.field--full { grid-column: 1 / -1; }
.field label { display: block; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 6px; color: var(--ink); }
.field input, .field select {
  width: 100%; height: 44px; padding: 0 12px; border: 1px solid var(--gold); border-radius: 0; background: #fff;
  font: inherit; font-size: 15px; color: var(--ink); -webkit-appearance: none; appearance: none;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 1px var(--teal); }
.field.is-invalid input, .field.is-invalid select { border-color: #B3261E; }
.field__error { display: block; min-height: 0; font-size: 12px; color: #B3261E; margin-top: 4px; }
.field__error:empty { display: none; }
.select { position: relative; }
.select::after { content: ""; position: absolute; right: 16px; top: 50%; translate: 0 -30%; border: 7px solid transparent; border-top: 9px solid var(--ink); pointer-events: none; }
.select select { padding-right: 44px; cursor: pointer; }
.select select:invalid { color: var(--muted); }
@media (max-width: 560px) { .lead-form { grid-template-columns: 1fr; } }

/* Lead forms: submitted by js/custom.js */
.phone-row { display: flex; }
.phone-row__code { flex: 0 0 auto; display: grid; place-items: center; height: 44px; padding: 0 12px; border: 1px solid var(--gold); border-right: 0; background: var(--cream); font-size: 15px; }
.error-modal, .error-side { display: none; font-size: 12px; color: #B3261E; margin-top: 4px; }
.terms { display: flex; align-items: center; gap: 10px; }
.terms input { width: 16px; height: 16px; margin: 0; accent-color: var(--gold); flex: 0 0 auto; }
.terms__block { position: relative; flex: 1; }
.condition-label, .sidecondition-label { font-size: 12px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; cursor: help; }
.check-box, .sidecheck-box {
  display: none; position: absolute; left: 0; bottom: calc(100% + 8px); z-index: 5; width: min(340px, 80vw);
  padding: 10px 12px; background: var(--teal); color: #fff; font-size: 11.5px; line-height: 1.45;
}
.modalbuttonload, .sidebuttonload { display: none; }

/* ---------- Inner pages (privacy-policy.html, thank-you.html) ---------- */
.page-head {
  position: relative; overflow: hidden; margin-top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
  background: var(--cream); padding: clamp(56px, 8vw, 96px) 0 clamp(44px, 6vw, 72px); border-bottom: 1px solid var(--gold-soft);
}
.page-head .display { margin: 0; }
.page-head__mark { position: absolute; right: -40px; bottom: -60px; width: 300px; height: 280px; fill: var(--gold-soft); opacity: .7; pointer-events: none; }
.legal { max-width: 860px; }
.legal h2 { font-family: var(--font-display); font-weight: 400; color: var(--gold); font-size: clamp(1.4rem, 2.2vw, 1.75rem); margin: 2.2em 0 .6em; }
.legal h2:first-child { margin-top: 0; }
.legal p { color: var(--muted); line-height: 1.8; margin: 0 0 1.1em; }
.legal strong { color: var(--ink); }
.thanks {
  display: grid; place-items: center; background: var(--cream);
  margin-top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
  min-height: calc(100vh - var(--header-h)); padding: clamp(48px, 8vw, 96px) var(--gutter);
}
.thanks__card {
  position: relative; overflow: hidden; width: min(620px, 100%); background: #fff; text-align: center;
  border-top: 3px solid var(--gold); padding: clamp(36px, 6vw, 64px) clamp(24px, 5vw, 56px);
}
.thanks__card > * { position: relative; }
.thanks__card .page-head__mark { position: absolute; right: -50px; bottom: -50px; width: 220px; height: 210px; }
.thanks__logo { width: min(220px, 60vw); margin: 0 auto 28px; }
.thanks__card p { color: var(--muted); max-width: 440px; margin: 0 auto 1.6em; }
.thanks__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ---------- Legacy ---------- */
.legacy {
  padding-top: clamp(56px, 7vw, 80px);
  background: linear-gradient(var(--stone) 0, var(--stone) calc(100% - clamp(90px, 12vw, 150px)), #fff calc(100% - clamp(90px, 12vw, 150px)));
}
.legacy__logo { width: min(280px, 70vw); margin: 0 auto 40px; }
.legacy__text { max-width: 580px; margin: 0 auto; }
.stats { display: flex; justify-content: center; flex-wrap: wrap; margin: clamp(40px, 5vw, 56px) auto clamp(56px, 7vw, 72px); }
.stats > div { padding: 0 clamp(18px, 3vw, 36px); min-width: 140px; display: flex; flex-direction: column-reverse; } /* dt first in the markup, number shown on top */
.stats > div + div { border-left: 1px solid var(--ink); }
.stats dd { margin: 0 0 6px; font-family: var(--font-display); color: var(--gold); font-size: clamp(2rem, 3vw, 2.6rem); line-height: 1; }
.stats dd sup { font-size: .45em; vertical-align: .9em; margin-left: 2px; }
.stats dt { text-transform: uppercase; letter-spacing: .08em; font-size: 14px; line-height: 1.3; color: var(--ink); }
@media (max-width: 640px) {
  .stats { display: grid; grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .stats > div:nth-child(3) { border-left: 0; }
}
.cert { margin: 0 auto; max-width: 480px; background: #fff; padding: 12px; box-shadow: 0 1px 0 rgba(0,0,0,.04); }
.cert img { border: 1px solid #ddd; }

/* ---------- Sustainability ---------- */
.future { padding-top: clamp(48px, 6vw, 64px); }

/* ---------- Footer ---------- */
.site-footer {
  background-color: var(--teal);
  /* Teal wash over the monogram pattern so it reads as a quiet texture, not competing with the text on top. */
  background-image: linear-gradient(rgba(27, 59, 66, .82), rgba(27, 59, 66, .82)), url("../assets/logos/pattern-tile.svg");
  background-size: cover, 76px auto; color: #fff; padding: clamp(56px, 7vw, 72px) 0 28px; font-size: 15px;
}
.footer__grid { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 32px; }
.footer__logo { width: min(210px, 60vw); }
.footer__contact { font-style: normal; text-align: center; display: flex; flex-direction: column; gap: 8px; line-height: 1.4; }
.footer__contact p { margin: 0 0 4px; font-size: 16px; }
.footer__contact a { text-decoration: none; }
.footer__contact a:hover { color: var(--gold-soft); }
.footer__by { justify-self: end; text-align: center; }
.footer__by span { display: block; font-size: 9px; letter-spacing: .35em; text-transform: uppercase; opacity: .85; margin-bottom: 6px; }
.footer__by span::before, .footer__by span::after { content: " - "; }
.footer__by img { width: min(190px, 55vw); }
.social { display: flex; justify-content: center; gap: 16px; margin: clamp(32px, 5vw, 44px) auto 0; }
.social a { width: 34px; height: 34px; border-radius: 50%; background: var(--gold); display: grid; place-items: center; transition: background-color .25s; }
.social a:hover { background: #fff; }
.social a:hover svg { fill: var(--teal); }
.social svg { width: 17px; fill: var(--teal-deep); }
.footer__legal {
  margin-top: clamp(32px, 5vw, 48px); padding-top: clamp(24px, 3vw, 32px); border-top: 1px solid rgba(255,255,255,.18);
  font-size: 11px; line-height: 1.55; opacity: .85; text-align: center;
}
.footer__legal p { margin: 0 0 8px; max-width: 900px; margin-inline: auto; }
.footer__privacy { margin-top: 14px !important; }
.footer__privacy a {
  color: var(--gold); font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
  text-decoration: underline; text-underline-offset: 4px; transition: color .25s;
}
.footer__privacy a:hover { color: var(--gold-soft); }
@media (max-width: 820px) {
  .footer__grid { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .footer__by { justify-self: center; }
}

/* ---------- Enquiry modal: js/custom.js opens/closes it with the .open class ---------- */
.enq-overlay { position: fixed; inset: 0; z-index: 299; background: rgba(20, 38, 42, .72); display: none; }
.enq-overlay.open { display: block; animation: fade .25s ease both; }
.enq-modal { position: fixed; inset: 0; z-index: 300; display: none; place-items: center; padding: 20px; pointer-events: none; }
.enq-modal.open { display: grid; }
.modal__panel { position: relative; pointer-events: auto; background: #fff; width: min(520px, 100%); max-height: calc(100vh - 40px); overflow: auto; animation: pop .35s cubic-bezier(.2,.7,.2,1) both; }
.modal__panel--form { padding: clamp(28px, 5vw, 44px); border-top: 3px solid var(--gold); }
.modal__sub { color: var(--muted); margin-top: -.4em; }
.modal__close { position: absolute; top: 8px; right: 12px; background: none; border: 0; font-size: 30px; line-height: 1; color: var(--ink); padding: 4px 8px; z-index: 2; }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }

/* ---------- Content protection (switched on by CONFIG.protectContent in main.js) ---------- */
.protected body { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.protected input, .protected textarea, .protected select, .protected .allow-select { -webkit-user-select: text; user-select: text; -webkit-touch-callout: default; }
.protected img { -webkit-user-drag: none; user-drag: none; }
@media print { .protected body { display: none; } }

/* ---------- Interactive touches ---------- */
.scroll-progress { position: absolute; left: 0; right: 0; top: env(safe-area-inset-top, 0px); height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; }

.to-top {
  position: fixed; right: 20px; bottom: 24px; z-index: 85; width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: var(--gold); display: grid; place-items: center; box-shadow: 0 4px 18px rgba(0,0,0,.18);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .3s, transform .3s, visibility .3s, background-color .25s;
}
.to-top.is-shown { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--gold-deep); }
.to-top svg { width: 20px; fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 640px) { .to-top { bottom: calc(50px + env(safe-area-inset-bottom, 0px) + 16px); right: 16px; } .map{width:100%;}}

/* Hover lifts and image zooms */
.res-card { transition: background-color .3s, border-color .3s, transform .3s; }
.res-card:hover { transform: translateY(-4px); }
.amen-list svg { transition: transform .3s; }
.amen-list li:hover svg { transform: translateY(-4px); }
.intro__media, .view__figure, .lifestyle__media { overflow: hidden; }
.intro__media img, .view__figure img, .lifestyle__media img { transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.intro__media:hover img, .view__figure:hover img, .lifestyle__media:hover img { transform: scale(1.04); }

/* ---------- Scroll reveal (classes are added by main.js, so nothing is hidden without JavaScript) ---------- */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}
