/* ============================================================
   AASHIRWAD — editorial design system
   Cream / ink / rust / olive · Archivo expanded display caps,
   Marcellus serif accents, Figtree body.
   Light (cream) is the default; [data-theme="dark"] opts in.
   ============================================================ */

:root {
  --cream: #f2e8d8;
  --cream-2: #faf1e2;
  --panel: #ece0cc;
  --ink: #33241d;
  --ink-soft: #554033;
  --brown: #46302a;
  --brown-deep: #2c1e18;
  --rust: #ab5226;
  --rust-2: #c06d30;
  --rust-deep: #8b3a14;
  --gold: #b5772a;
  --olive: #737748;
  --olive-deep: #666a42;
  --taupe: #d9ccb9;
  --beige-check: #cfc3ad;
  --line: rgba(51, 36, 29, 0.16);
  --shadow: 0 18px 50px rgba(44, 30, 24, 0.14);

  --bg: var(--cream);
  --bg-alt: var(--cream-2);
  --text: var(--ink);
  --text-soft: var(--ink-soft);
  --card-bg: var(--cream-2);

  --disp: "Archivo", system-ui, sans-serif;
  --serif: "Marcellus", serif;
  --body: "Figtree", system-ui, sans-serif;

  --wrap: 1240px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-slam: cubic-bezier(0.76, 0, 0.24, 1);
}

[data-theme="dark"] {
  --bg: #221812;
  --bg-alt: #2b1f17;
  --panel: #2e221a;
  --text: #f0e5d3;
  --text-soft: #c9b8a2;
  --card-bg: #2e221a;
  --line: rgba(240, 229, 211, 0.16);
  --taupe: #3a2c21;
  --beige-check: #3f3023;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.4);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
/* Lenis owns scrolling where it runs — CSS smooth would double-ease it */
html.lenis, html.lenis body { scroll-behavior: auto; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  transition: background 0.4s ease, color 0.4s ease;
}
img { max-width: 100%; display: block; }
/* <picture> is only a source switcher — let the <img> size against its container */
picture { display: contents; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; background: none; border: none; color: inherit; }
::selection { background: var(--rust); color: var(--cream-2); }
:focus-visible { outline: 2px solid var(--rust); outline-offset: 3px; }

/* ---------------- Skip link (keyboard / screen reader) ---------------- */
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 300;
  padding: 12px 18px; background: var(--rust); color: #fbf2e4;
  font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  transform: translateY(-200%); transition: transform 0.2s ease;
}
.skip-link:focus { transform: none; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(80px, 10vw, 140px) 0; }

/* ---------------- Typography ---------------- */
.h-xl, .h-lg, .h-md {
  font-family: var(--disp);
  font-stretch: 116%;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.02;
}
.h-xl { font-size: clamp(2.4rem, 6vw, 4.6rem); }
.h-lg { font-size: clamp(1.7rem, 3.6vw, 2.7rem); }
.h-md { font-size: clamp(1.15rem, 2vw, 1.5rem); }
.h-xl em, .h-lg em, .h-md em, .gold {
  font-family: var(--serif);
  font-style: italic;
  text-transform: none;
  font-stretch: 100%;
  color: var(--rust);
  letter-spacing: 0;
}
.lede { font-size: clamp(1rem, 1.4vw, 1.15rem); color: var(--text-soft); max-width: 60ch; }
.muted { color: var(--text-soft); }

.eyebrow, .chapter {
  display: flex; align-items: center; gap: 12px;
  font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--rust);
}
.eyebrow::before, .chapter::before {
  content: ""; width: 34px; height: 1px; background: var(--rust);
}
.chapter__num {
  font-family: var(--disp); font-stretch: 116%;
  border: 1px solid var(--rust); padding: 1px 7px; font-size: 10px;
}

.small-caps {
  font-size: 11px; line-height: 1.75;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-soft);
}

/* ---------------- Buttons & links ---------------- */
.btn {
  display: inline-block;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  padding: 15px 34px;
  border: 1px solid var(--text);
  color: var(--text);
  position: relative; overflow: hidden;
  transition: color 0.35s var(--ease-out);
  z-index: 1;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--text);
  transform: scaleY(0); transform-origin: top;
  transition: transform 0.35s var(--ease-slam);
}
.btn:hover { color: var(--bg); }
.btn:hover::after { transform: scaleY(1); }
.btn--solid { background: var(--rust); border-color: var(--rust); color: #fbf2e4; }
.btn--solid::after { background: var(--brown-deep); }
.btn--solid:hover { color: #fbf2e4; }
.btn--ghost { border-color: currentColor; }
.link-arrow {
  font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  border-bottom: 1px solid var(--text); padding-bottom: 4px;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.link-arrow:hover { color: var(--rust); border-color: var(--rust); }
.link-arrow span { display: inline-block; transition: transform 0.3s var(--ease-out); }
.link-arrow:hover span { transform: translateX(5px); }

/* ---------------- Checkerboard motif ---------------- */
.checker-strip {
  height: 64px; opacity: 0.5;
  background:
    repeating-linear-gradient(90deg, var(--beige-check) 0 30px, transparent 30px 60px),
    repeating-linear-gradient(0deg, var(--beige-check) 0 21px, transparent 21px 42px);
  background-blend-mode: multiply;
}

/* ---------------- Header ---------------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: transform 0.5s var(--ease-slam), background 0.4s ease, border 0.4s ease, color 0.3s ease;
  background: transparent;
}
.nav.is-scrolled {
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 14px 28px;
  gap: 20px;
}
.nav__cta {
  display: flex; align-items: center; gap: 28px;
}
.nav__cta a {
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
}
.nav__cta .u { border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.brand { display: inline-flex; justify-self: center; }
.brand__logo { height: 54px; width: auto; transition: filter 0.3s ease; }
/* The charcoal lettering disappears on dark surfaces — use the ivory mark (as the footer and menu do) */
[data-theme="dark"] .brand__logo { filter: brightness(0) invert(0.94) sepia(0.15); }
.nav__actions {
  display: flex; align-items: center; gap: 22px; justify-self: end;
}
.nav__links-inline { display: flex; gap: 26px; }
.nav__links-inline a {
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  opacity: 0.85; transition: opacity 0.2s ease, color 0.2s ease;
}
.nav__links-inline a:hover, .nav__links-inline a.is-active { opacity: 1; color: var(--rust); }
.nav__enquire { padding: 11px 24px; font-size: 10px; }
body.nav-open .nav__enquire { background: transparent; border-color: #f0ebd8; color: #f0ebd8; }
.theme-toggle { font-size: 15px; opacity: 0.8; }
.theme-toggle:hover { opacity: 1; }
.nav__toggle {
  display: flex; align-items: center; gap: 10px;
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
}
.nav__toggle .burger { display: flex; flex-direction: column; gap: 5px; width: 32px; }
.nav__toggle .burger span { height: 2px; background: currentColor; display: block; transition: transform .3s ease, opacity .3s ease; }
body.nav-open .nav__toggle .burger span:first-child { transform: translateY(3.5px) rotate(45deg); }
body.nav-open .nav__toggle .burger span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------------- Strip-curtain menu overlay ---------------- */
.menu-overlay {
  position: fixed; inset: 0; z-index: 90;
  display: flex; align-items: center; justify-content: center;
  visibility: hidden;
  transition: visibility 0s linear 1.1s;
}
.menu-overlay.is-open { visibility: visible; transition-delay: 0s; }
.menu-strips { position: absolute; inset: 0; display: flex; overflow: hidden; }
.menu-strips i {
  flex: 1; background: var(--olive);
  transform: scaleY(0); transform-origin: top;
  transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
  transition-delay: calc((6 - var(--i)) * 55ms);
  will-change: transform;
}
.menu-strips i:nth-child(even) { background: var(--olive-deep); }
.menu-overlay.is-open .menu-strips i {
  transform: scaleY(1);
  transition-delay: calc(var(--i) * 55ms);
}
.menu-overlay.is-closing .menu-strips i { transform-origin: bottom; }

.menu-nav, .menu-ph, .menu-checker, .menu-meta {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.menu-overlay.is-open .menu-nav,
.menu-overlay.is-open .menu-ph,
.menu-overlay.is-open .menu-meta,
.menu-overlay.is-open .menu-checker { opacity: 1; transform: none; }
.menu-overlay.is-closing .menu-nav,
.menu-overlay.is-closing .menu-ph,
.menu-overlay.is-closing .menu-meta,
.menu-overlay.is-closing .menu-checker { opacity: 0; transform: translateY(-20px); transition-delay: 0s !important; }
.menu-overlay.is-open .menu-nav { transition-delay: 0.35s; }
.menu-overlay.is-open .menu-ph { transition-delay: 0.55s; }
.menu-overlay.is-open .menu-meta { transition-delay: 0.6s; }
.menu-overlay.is-open .menu-checker { transition-delay: 0.65s; }

.menu-nav { display: flex; flex-direction: column; align-items: center; gap: 4px; position: relative; z-index: 2; }
.menu-nav a {
  font-family: var(--disp); font-stretch: 118%; font-weight: 400;
  font-size: clamp(26px, 4.4vw, 52px);
  text-transform: uppercase; letter-spacing: 0.04em;
  color: #f0ebd8;
  display: block; overflow: hidden;
  transition: color 0.2s ease, transform 0.3s var(--ease-out);
}
.menu-nav a span {
  display: block; transform: translateY(112%);
  transition: transform 0.6s var(--ease-out);
}
.menu-overlay.is-open .menu-nav a span {
  transform: none;
  transition-delay: calc(0.45s + var(--l) * 60ms);
}
.menu-overlay.is-closing .menu-nav a span { transform: translateY(-112%); transition-delay: 0s; }
.menu-nav a:hover { color: #fff; transform: translateX(6px); }
.menu-ph {
  position: absolute; width: clamp(110px, 12vw, 170px); overflow: hidden; z-index: 1;
}
.menu-ph img { width: 100%; height: 100%; object-fit: cover; }
.mp-1 { top: 8vh; left: 13%; aspect-ratio: 1.4/1; }
.mp-2 { top: 34vh; left: 3%; aspect-ratio: 1/1.25; }
.mp-3 { top: 16vh; right: 7%; aspect-ratio: 1/1.3; }
.mp-4 { bottom: 15vh; right: 15%; aspect-ratio: 1.25/1; }
.menu-meta {
  position: absolute; bottom: 12vh; left: 0; right: 0;
  display: flex; justify-content: center; gap: 34px;
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(240, 235, 216, 0.75); z-index: 2;
}
.menu-checker {
  position: absolute; left: 0; right: 0; bottom: 0; height: 64px;
  background:
    repeating-linear-gradient(90deg, rgba(240, 235, 216, 0.12) 0 34px, transparent 34px 68px),
    repeating-linear-gradient(0deg, rgba(240, 235, 216, 0.08) 0 22px, transparent 22px 44px);
}
body.nav-open { overflow: hidden; }
body.nav-open .nav { background: transparent; border-color: transparent; backdrop-filter: none; }
body.nav-open .nav__inner > * { color: #f0ebd8; }
/* Inline links (incl. the active-page one) read white on the olive overlay */
body.nav-open .nav__links-inline a,
body.nav-open .nav__links-inline a.is-active { color: #fff; opacity: 1; }
body.nav-open .brand__logo { filter: brightness(0) invert(0.94) sepia(0.15); }

/* ---------------- Enquire modal ---------------- */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 120;
  background: rgba(44, 30, 24, 0.5); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 20px;
}
.modal-backdrop.is-open { opacity: 1; visibility: visible; }
.modal {
  position: relative;
  width: min(470px, 94vw);
  max-height: 92vh; overflow-y: auto;
  background: var(--olive); color: #f0ebd8;
  padding: 52px 44px 30px; text-align: center;
  transform: translateY(16px); transition: transform 0.3s ease;
}
.modal-backdrop.is-open .modal { transform: none; }
.modal h2 {
  font-family: var(--disp); font-stretch: 115%; font-weight: 500;
  font-size: 24px; text-transform: uppercase; letter-spacing: 0.04em;
  margin-bottom: 14px;
}
.modal > p { font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.7; margin-bottom: 26px; color: rgba(240,235,216,.85); }
.modal-close {
  position: absolute; top: 14px; right: 14px;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--rust-2); color: #fff; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
}
.modal .form-grid input, .modal .form-grid select {
  background: none; border: none; border-bottom: 1px solid rgba(240, 235, 216, 0.5);
  border-radius: 0; padding: 9px 2px; color: #f0ebd8;
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
}
.modal .form-grid input::placeholder { color: rgba(240, 235, 216, 0.6); }
.modal .form-grid select option { color: var(--ink); }
.modal .form-grid label { display: none; }
.modal .btn--solid { background: var(--cream); border-color: var(--cream); color: var(--ink); margin-top: 8px; }
.modal .form-note { color: rgba(240, 235, 216, 0.6); }
.modal .form-success h3 { color: #f0ebd8; }

/* ---------------- Preloader ---------------- */
.preloader {
  position: fixed; inset: 0; z-index: 200;
  background: var(--cream);
  display: flex; align-items: center; justify-content: center;
}
.preloader__line {
  width: 180px; height: 1px; background: var(--line);
  margin-top: 26px; position: relative; overflow: hidden;
}
.preloader__line::after {
  content: ""; position: absolute; inset: 0;
  background: var(--rust);
  transform: translateX(-100%);
  animation: loadbar 1.6s var(--ease-out) forwards;
}
@keyframes loadbar { to { transform: translateX(0); } }

/* ---------------- Page hero (inner pages) ---------------- */
.page-hero {
  padding: clamp(150px, 20vh, 220px) 0 clamp(50px, 7vw, 90px);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: attr(data-word);
  position: absolute; top: 46%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--disp); font-stretch: 118%; font-weight: 300;
  font-size: clamp(90px, 17vw, 260px);
  letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--text); opacity: 0.05;
  white-space: nowrap; pointer-events: none;
}
.page-hero .wrap { position: relative; }
.page-hero .h-xl { max-width: 18ch; margin: 1.2rem 0; }
.breadcrumb {
  display: flex; gap: 10px; font-size: 10px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--text-soft); margin-bottom: 2rem;
}
.breadcrumb a:hover { color: var(--rust); }

/* ---------------- Section head ---------------- */
.section-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 30px; flex-wrap: wrap; margin-bottom: clamp(34px, 5vw, 60px);
}

/* ---------------- Split & frames ---------------- */
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.arch-frame {
  position: relative; overflow: hidden;
  background: var(--panel);
}
.arch-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.arch-frame:hover img { transform: scale(1.05); }
.arch-finial { display: none; }
.arch-frame .ph {
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 3/3.4; font-family: var(--disp); font-stretch: 116%;
  font-size: 44px; color: var(--text-soft); background: var(--panel);
}

/* ---------------- Timeline ---------------- */
.timeline {
  margin-top: clamp(40px, 6vw, 70px);
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--line);
  border: 1px solid var(--line);
}
.tl-item { background: var(--bg); padding: 34px 28px 40px; position: relative; }
.tl-item__year {
  font-family: var(--disp); font-stretch: 116%; font-weight: 500;
  font-size: clamp(1.8rem, 3vw, 2.6rem); color: var(--rust);
  margin-bottom: 14px;
}
.tl-item h3 { font-family: var(--disp); font-stretch: 110%; text-transform: uppercase; font-size: 0.95rem; letter-spacing: 0.04em; margin-bottom: 10px; }
.tl-item p { font-size: 0.9rem; color: var(--text-soft); }

/* ---------------- Values / vows ---------------- */
.values-grid, .vows-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px; margin-top: clamp(36px, 5vw, 60px);
}
.value-cell, .vow {
  background: var(--olive); color: #f0ebd8;
  padding: 30px 28px 36px; min-height: 250px;
  position: relative;
  transition: transform 0.45s var(--ease-out), background 0.45s ease;
}
.value-cell:hover, .vow:hover { transform: translateY(-8px); background: var(--olive-deep); }
.glyph, .vow__glyph {
  position: absolute; top: 22px; right: 26px;
  font-family: var(--serif); font-size: 26px; color: rgba(240, 235, 216, 0.4);
}
.value-cell h3, .vow h3 {
  font-family: var(--disp); font-stretch: 112%; text-transform: uppercase;
  font-size: 1.05rem; letter-spacing: 0.04em;
  margin: 60px 0 14px;
}
.value-cell p, .vow p { font-size: 0.9rem; color: rgba(240, 235, 216, 0.85); }

/* ---------------- Leadership ---------------- */
.leader-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 26px; }
.leader h3 { font-family: var(--disp); font-stretch: 112%; text-transform: uppercase; font-size: 1rem; letter-spacing: 0.03em; margin-top: 18px; }
.leader p { font-size: 0.85rem; color: var(--text-soft); }

/* ---------------- Project cards ---------------- */
.projects-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 26px;
}
.card {
  background: var(--card-bg); border: 1px solid var(--line);
  display: flex; flex-direction: column;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s ease;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.card__media { position: relative; aspect-ratio: 4/2.9; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.card:hover .card__media img { transform: scale(1.07); }
.card__status {
  position: absolute; top: 14px; left: 14px;
  font-size: 9px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  background: var(--rust); color: #fbf2e4; padding: 6px 12px;
}
.card__status--ready { background: var(--olive); }
.card__status--sold { background: var(--brown-deep); }
.card__body { padding: 24px 22px 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.card__loc { font-size: 9.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--rust); font-weight: 600; }
.card__name { font-family: var(--disp); font-stretch: 112%; text-transform: uppercase; font-size: 1.25rem; letter-spacing: 0.02em; margin-top: 6px; }
.card__desc { font-size: 0.9rem; color: var(--text-soft); flex: 1; }
.card__meta {
  display: flex; justify-content: space-between; align-items: baseline; gap: 10px;
  border-top: 1px solid var(--line); padding-top: 14px;
  font-size: 0.85rem;
}
.card__price { font-family: var(--disp); font-stretch: 112%; font-weight: 500; }
.card__type { font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-soft); }

/* ---------------- Marquee (text ribbon) ---------------- */
.marquee { overflow: hidden; padding: 26px 0; border-block: 1px solid var(--line); }
.marquee__track { display: flex; white-space: nowrap; width: max-content; animation: marquee 30s linear infinite; }
.marquee__item {
  font-family: var(--disp); font-stretch: 118%; font-weight: 400;
  font-size: clamp(1.6rem, 3.4vw, 2.8rem);
  text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--text-soft); padding: 0 30px; position: relative;
}
.marquee__item::after { content: "▚"; position: absolute; right: -11px; font-size: 0.6em; color: var(--rust); top: 30%; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------------- Marquee hero (giant caps over image) ---------------- */
.marquee-hero {
  position: relative; height: 74vh; min-height: 440px;
  display: flex; align-items: flex-end; overflow: hidden;
}
.marquee-hero__media { position: absolute; inset: 0; }
.marquee-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.marquee-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(44,30,24,0) 40%, rgba(44,30,24,0.35)); }
.marquee-hero .marquee { border: none; padding: 0 0 5vh; position: relative; width: 100%; }
.marquee-hero .marquee__track { animation-duration: 24s; }
.marquee-hero .marquee__item {
  color: rgba(250, 241, 226, 0.94);
  font-size: clamp(64px, 11vw, 150px);
  padding: 0 40px;
}
.marquee-hero .marquee__item::after { color: rgba(250, 241, 226, 0.7); right: -14px; }

/* ---------------- CTA band ---------------- */
.cta-band { background: var(--rust); color: #fbf0e1; text-align: center; }
.cta-band .eyebrow, .cta-band .chapter { color: #fbf0e1; justify-content: center; }
.cta-band .eyebrow::before, .cta-band .chapter::before { background: #fbf0e1; }
.cta-band .chapter__num { border-color: #fbf0e1; }
.cta-band p { max-width: 56ch; margin: 1.4rem auto 2.2rem; color: rgba(251, 240, 225, 0.85); }
.cta-band .btn--solid { background: #fbf0e1; border-color: #fbf0e1; color: var(--ink); }
.cta-band .btn--solid::after { background: var(--brown-deep); }
.cta-band .btn--solid:hover { color: #fbf0e1; }

/* ---------------- Footer ---------------- */
.footer { background: var(--brown-deep); color: #cbb9a8; padding: clamp(60px, 8vw, 100px) 0 30px; }
.footer__grid {
  display: grid; grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px; margin-bottom: 50px;
}
.footer__about p { font-size: 0.9rem; margin-top: 18px; max-width: 34ch; }
.brand__logo--footer { height: 64px; filter: brightness(0) invert(0.92) sepia(0.2); }
.footer h4 {
  font-family: var(--disp); font-stretch: 112%; text-transform: uppercase;
  font-size: 0.8rem; letter-spacing: 0.14em; color: #efe3d0; margin-bottom: 18px;
}
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer ul a { font-size: 0.88rem; transition: color 0.2s ease; }
.footer ul a:hover { color: var(--rust-2); }
.footer-rera {
  font-size: 0.72rem; line-height: 1.7; color: rgba(203, 185, 168, 0.6);
  border-top: 1px solid rgba(203, 185, 168, 0.15); padding-top: 24px;
}
.footer__bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: 0.78rem; margin-top: 22px; color: rgba(203, 185, 168, 0.7);
}
.footer__bottom a:hover { color: var(--rust-2); }

/* ---------------- Quick-contact dock ---------------- */
.dock { position: fixed; right: 20px; bottom: 20px; display: flex; flex-direction: column; gap: 12px; z-index: 80; }
.dock a {
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--brown-deep); color: #fbf0e1;
  box-shadow: var(--shadow);
  transition: transform 0.3s var(--ease-out), background 0.3s ease;
}
.dock a:hover { transform: translateY(-4px); background: var(--rust); }
.dock--wa { background: #1faa53 !important; }
.dock__icon { width: 24px; height: 24px; fill: currentColor; }
.dock__icon--stroke { fill: none; stroke: currentColor; stroke-width: 1.8; }

/* ---------------- Forms ---------------- */
.form-grid { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label {
  display: block; font-size: 9.5px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-soft); margin-bottom: 7px;
}
.field input, .field select, .field textarea {
  width: 100%; background: var(--bg);
  border: 1px solid var(--line);
  padding: 13px 14px; color: var(--text);
  font-family: var(--body); font-size: 0.92rem;
  transition: border-color 0.25s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--rust);
}
.form-note { font-size: 0.72rem; color: var(--text-soft); line-height: 1.6; }
.form-success { display: none; padding: 30px 0; }
.form-success.is-visible { display: block; }
.form-success h3 { font-family: var(--disp); font-stretch: 114%; text-transform: uppercase; margin-bottom: 8px; }

/* ---------------- Project detail ---------------- */
.pd-hero { position: relative; min-height: 74vh; display: flex; align-items: flex-end; padding-bottom: 60px; overflow: hidden; }
.pd-hero__art { position: absolute; inset: 0; }
.pd-hero__art img { width: 100%; height: 100%; object-fit: cover; }
.pd-hero__art::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(44,30,24,0.1), rgba(44,30,24,0.72));
}
.pd-hero .wrap { position: relative; color: #faf1e2; width: 100%; }
.pd-hero__status {
  display: inline-block; font-size: 9.5px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  background: var(--rust); color: #fbf2e4; padding: 7px 14px; margin-bottom: 20px;
}
.pd-hero .lede { color: rgba(250, 241, 226, 0.85); }
.pd-hero .breadcrumb { color: rgba(250, 241, 226, 0.85); margin-bottom: 1.5rem; flex-wrap: wrap; }
.video-watch { padding-top: 130px; padding-bottom: clamp(60px, 8vw, 100px); }
.video-watch .breadcrumb { flex-wrap: wrap; }
.video-watch h1 { max-width: 25ch; }
.video-watch .lede { max-width: 70ch; margin-top: 1rem; }
.video-watch__player { margin-top: 2rem; max-width: 1080px; }
.video-watch__player video { display: block; width: 100%; height: auto; aspect-ratio: 16/9; background: #181410; }
.video-watch__details { margin-top: 2rem; max-width: 72ch; }
.video-watch__actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 1.6rem; }
.video-watch__related { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 1rem; }
.pd-bar { background: var(--brown-deep); color: #e9dcc8; padding: 34px 0; }
.pd-bar .wrap { display: flex; flex-wrap: wrap; gap: 30px 60px; }
.pd-bar__cell { display: flex; flex-direction: column; gap: 4px; }
.pd-bar__label { font-size: 9.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--rust-2); font-weight: 600; }
.pd-bar__value { font-family: var(--disp); font-stretch: 114%; font-size: 1.05rem; text-transform: uppercase; letter-spacing: 0.02em; }
.pd-grid { display: grid; grid-template-columns: 1.5fr 0.9fr; gap: clamp(40px, 5vw, 80px); align-items: start; }
.pd-aside {
  position: sticky; top: 110px;
  background: var(--olive); color: #f0ebd8;
  padding: 36px 32px;
}
.pd-aside .h-md { color: #f0ebd8; }
.pd-aside .muted { color: rgba(240, 235, 216, 0.8); }
.pd-aside .field label { color: rgba(240, 235, 216, 0.7); }
.pd-aside .field input, .pd-aside .field select {
  background: transparent; border: none; border-bottom: 1px solid rgba(240,235,216,.5); border-radius: 0;
  color: #f0ebd8; padding-inline: 2px;
}
.pd-aside .field input::placeholder { color: rgba(240, 235, 216, 0.55); }
.pd-aside .field select option { color: var(--ink); }
.pd-aside .btn--solid { background: var(--cream); border-color: var(--cream); color: var(--ink); }
.pd-aside .form-note { color: rgba(240, 235, 216, 0.6); }
.pd-aside .form-success h3, .pd-aside .form-success .muted { color: #f0ebd8; }

.highlights { list-style: none; margin-top: 1.4rem; display: flex; flex-direction: column; gap: 14px; }
.highlights li { padding-left: 30px; position: relative; font-size: 0.95rem; color: var(--text-soft); }
.highlights li::before {
  content: "///"; position: absolute; left: 0; top: 5px;
  color: var(--rust); font-size: 9px; letter-spacing: 1px; font-weight: 700;
}
.table-scroll { overflow-x: auto; margin-top: 1.4rem; }
.plans-table { width: 100%; border-collapse: collapse; min-width: 520px; }
.plans-table th {
  text-align: left; font-size: 9.5px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--rust); padding: 12px 16px; border-bottom: 1px solid var(--text);
}
.plans-table td { padding: 15px 16px; border-bottom: 1px solid var(--line); font-size: 0.92rem; }
.plans-table td:first-child { font-family: var(--disp); font-stretch: 112%; text-transform: uppercase; font-size: 0.85rem; letter-spacing: 0.03em; }
.conn-list { list-style: none; margin-top: 1.4rem; }
.conn-list li {
  display: flex; justify-content: space-between; gap: 20px;
  padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 0.92rem;
}
.conn-list li span:last-child { font-family: var(--disp); font-stretch: 114%; color: var(--rust); text-transform: uppercase; font-size: 0.85rem; }

.project-gallery-head { margin-top: 3.5rem; }
.project-gallery {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 18px; margin-top: 1.6rem;
}
.project-gallery__item { overflow: hidden; background: var(--panel); }
.project-gallery__item--plan { grid-column: 1 / -1; }
.project-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.project-gallery__item:hover img { transform: scale(1.05); }

/* ---------------- Flat walkthroughs and planned amenities ---------------- */
.walkthrough-section { background: var(--bg-alt); scroll-margin-top: 90px; }
.walkthrough-intro { margin-top: 1.2rem; max-width: 68ch; }
.walkthrough-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 2.4rem; }
.walkthrough-card { min-width: 0; background: var(--bg); border: 1px solid var(--line); }
.walkthrough-card video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #181410; }
.walkthrough-card__body { padding: 22px; }
.walkthrough-card__heading { display: flex; flex-direction: column; gap: 4px; margin-bottom: 18px; }
.walkthrough-card h3, .amenity-group h3 { font-family: var(--disp); font-stretch: 114%; font-weight: 500; text-transform: uppercase; }
.walkthrough-card h3 { font-size: 1.55rem; }
.walkthrough-card__heading > span { color: var(--text-soft); font-size: 0.8rem; }
.walkthrough-card .link-arrow { display: inline-flex; align-items: center; min-height: 44px; font-size: 11px; }
.project-amenities-head { margin-top: 3.5rem; }
.project-amenities-head .muted, .project-gallery-head .muted { margin-top: 1rem; }
.project-amenities { display: grid; grid-template-columns: 1fr 2fr; gap: 24px; margin-top: 2rem; }
.amenity-group { border-top: 2px solid var(--rust); background: var(--bg-alt); padding: 26px; min-width: 0; }
.amenity-group h3 { font-size: 1.1rem; }
.amenity-list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; margin-top: 1rem; }
.amenity-list li { border-top: 1px solid var(--line); padding: 12px 0; color: var(--text-soft); }
.pd-grid .project-amenities { grid-template-columns: 1fr; }
@media (max-width: 900px) {
  .walkthrough-grid { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; }
  .walkthrough-card__heading { flex-direction: row; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 6px 12px; }
  .project-amenities { grid-template-columns: 1fr; }
}
@media (max-width: 380px) {
  .amenity-list { grid-template-columns: 1fr; }
}

/* ---------------- Contact page ---------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 0.9fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.contact-direct { display: flex; flex-direction: column; gap: 8px; margin-top: 1.6rem; }
.contact-direct a {
  font-family: var(--disp); font-stretch: 114%; font-weight: 500;
  font-size: clamp(1.3rem, 2.4vw, 1.9rem); text-transform: uppercase; letter-spacing: 0.02em;
  transition: color 0.25s ease;
}
.contact-direct a:hover { color: var(--rust); }
.office { border-top: 1px solid var(--line); padding: 22px 0; }
.office h3 { font-family: var(--disp); font-stretch: 112%; text-transform: uppercase; font-size: 0.95rem; letter-spacing: 0.04em; margin-bottom: 8px; }
.office p { font-size: 0.9rem; color: var(--text-soft); }
.office a { color: var(--rust); font-weight: 600; font-size: 0.85rem; }

/* ---------------- Insta page ---------------- */
.insta-head { text-align: center; padding-top: clamp(150px, 20vh, 210px); }
.insta-handle {
  font-family: var(--disp); font-stretch: 118%; font-weight: 400;
  /* 25-character handle: keep it on one line from 320px up */
  font-size: clamp(0.85rem, 4.4vw, 3.6rem); text-transform: uppercase; letter-spacing: 0.03em;
  overflow-wrap: anywhere;
}
.insta-handle em { font-family: var(--serif); font-style: italic; text-transform: none; color: var(--rust); }
.insta-stats {
  display: flex; justify-content: center; gap: clamp(24px, 5vw, 60px);
  margin: 30px 0 36px;
}
.insta-stats .stat { display: flex; flex-direction: column; align-items: center; }
.insta-stats b { font-family: var(--disp); font-stretch: 116%; font-weight: 500; font-size: clamp(1.5rem, 2.6vw, 2.2rem); }
.insta-stats s { text-decoration: none; font-size: 9.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-soft); margin-top: 4px; }
.insta-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px; margin-top: clamp(40px, 6vw, 60px);
}
.ig-post {
  position: relative; overflow: hidden; aspect-ratio: 1/1;
  background: var(--panel); display: block;
}
.ig-post--tall { grid-row: span 2; aspect-ratio: auto; }
.ig-post img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease-out); }
.ig-post:hover img { transform: scale(1.06); }
.ig-post__veil {
  position: absolute; inset: 0;
  background: rgba(44, 30, 24, 0.55);
  color: #faf1e2;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  opacity: 0; transition: opacity 0.35s ease;
  padding: 20px; text-align: center;
}
.ig-post:hover .ig-post__veil { opacity: 1; }
.ig-post__cap { font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.85; }
.insta-cta { text-align: center; margin-top: clamp(44px, 6vw, 70px); }

/* ---------------- Reveal animation ---------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.reveal.in-view { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee__track { animation: none; }
}

/* ---------------- Responsive ---------------- */
/* Compact header: one 72px row, 44px controls, nothing wraps. Inline links
   live in the Menu below 1080px; the phone number goes below 900px and the
   "Request a call" text below 560px (Enquire covers both). */
@media (max-width: 1080px) {
  .nav__inner { padding: 14px 20px; gap: 14px; }
  .brand__logo { height: 44px; }
  .nav__links-inline { display: none; }
  .nav__cta { gap: 18px; }
  .nav__cta a, .nav__toggle { white-space: nowrap; }
  .nav__actions { gap: 12px; }
  .theme-toggle, .nav__toggle { min-height: 44px; min-width: 44px; }
  .theme-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav__toggle { justify-content: flex-end; }
}
@media (max-width: 1000px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .pd-grid, .contact-grid, .split { grid-template-columns: 1fr; }
  .pd-aside { position: static; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .insta-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .nav__cta .phone { display: none; }
}
@media (max-width: 700px) {
  .nav__enquire { padding: 9px 16px; font-size: 9px; }
  .nav__inner { padding: 12px 18px; }
  .brand__logo { height: 38px; }
  .timeline { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .marquee-hero { height: 56vh; min-height: 340px; }
  .menu-ph { display: none; }
  .menu-meta { flex-direction: column; align-items: center; gap: 8px; padding: 0 20px; text-align: center; }
  .menu-meta span:nth-child(even) { display: none; }
  .project-gallery { grid-template-columns: 1fr; }
  .insta-grid { gap: 8px; }
  .dock { right: 14px; bottom: 14px; }
  .dock a { width: 46px; height: 46px; }
}
@media (max-width: 600px) {
  .dock { flex-direction: row; gap: 10px; bottom: max(14px, env(safe-area-inset-bottom)); }
  /* Home: keep the dock out of the hero's CTA zone; home.js adds .is-revealed past the hero */
  .home-page .dock {
    opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(12px);
    transition: opacity 0.25s ease, transform 0.3s var(--ease-out), visibility 0s linear 0.3s;
  }
  .home-page .dock.is-revealed {
    opacity: 1; visibility: visible; pointer-events: auto; transform: none;
    transition-delay: 0s;
  }
}
@media (max-width: 560px) {
  .nav__cta { display: none; }
}
@media (max-width: 380px) {
  /* burger only — the button keeps its aria-label */
  .nav__toggle { font-size: 0; gap: 0; }
}

/* Form error (set by js/main.js when the enquiry POST fails) */
.form-error { display: none; font-size: 0.82rem; line-height: 1.6; color: #b3412c; margin-top: 4px; }
.form-error:not(:empty) { display: block; }
.pd-aside .form-error, .modal .form-error { color: #f0b9a8; }
.form-grid button[disabled] { opacity: 0.7; cursor: wait; }
