/* =========================================================
   BSR Developers — Brand Stylesheet
   Palette extracted from the BSR logo:
   red #E21B23 · orange #F07818 · green #98B850 · navy #181860
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
  --red: #e21b23;
  --red-dark: #b7141b;
  --red-soft: #fdecec;
  --orange: #f07818;
  --green: #98b850;
  --green-dark: #7a9a38;
  --navy: #181860;
  --ink: #0e1024;
  --ink-soft: #1a1d38;
  --muted: #5a5e6d;
  --muted-light: #6b6f80;
  --paper: #ffffff;
  --cream: #f8f5f0;
  --cream-deep: #f1ece3;
  --line: rgba(14, 16, 36, 0.12);
  --line-soft: rgba(14, 16, 36, 0.07);
  --line-dark: rgba(255, 255, 255, 0.14);

  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --container: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --radius: 20px;
  --radius-sm: 12px;
  --radius-pill: 999px;

  --shadow-sm: 0 8px 24px -14px rgba(14, 16, 36, 0.28);
  --shadow: 0 30px 70px -38px rgba(14, 16, 36, 0.45);
  --shadow-lg: 0 48px 90px -46px rgba(14, 16, 36, 0.55);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 108px;
}

/* ---------- Reset & base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

p {
  margin: 0;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

::selection {
  background: var(--red);
  color: #fff;
}

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 999;
  background: var(--ink);
  color: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 16px;
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--wide {
  max-width: 1360px;
}

.section {
  padding-block: clamp(64px, 8vw, 118px);
}

.section--tight {
  padding-block: clamp(48px, 6vw, 80px);
}

.section--cream {
  background: var(--cream);
}

.section--ink {
  background: var(--ink);
  color: #fff;
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(32px, 4vw, 56px);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.06rem;
  max-width: 60ch;
}

.section-head--center p {
  margin-inline: auto;
}

.section--ink .section-head p {
  color: rgba(255, 255, 255, 0.68);
}

/* ---------- Typography ---------- */
.display-xl {
  font-size: clamp(2.6rem, 6.2vw, 5.1rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.display-lg {
  font-size: clamp(2.1rem, 4.4vw, 3.6rem);
  letter-spacing: -0.03em;
}

.display-md {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.display-sm {
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
}

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.75;
  color: var(--muted);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.section--ink .eyebrow {
  color: var(--orange);
}

.text-accent {
  color: var(--red);
  font-style: italic;
  font-family: var(--font-display);
}

.text-gradient {
  background: linear-gradient(100deg, var(--orange), var(--red) 70%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--red);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease),
    box-shadow 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -14px rgba(226, 27, 35, 0.7);
}

.btn:active {
  transform: translateY(0);
}

.btn svg {
  flex: none;
}

.btn--primary {
  --btn-bg: var(--red);
}

.btn--primary:hover {
  --btn-bg: var(--red-dark);
}

.btn--dark {
  --btn-bg: var(--ink);
}

.btn--dark:hover {
  --btn-bg: var(--ink-soft);
  box-shadow: 0 14px 30px -16px rgba(14, 16, 36, 0.8);
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: var(--line);
}

.btn--ghost:hover {
  --btn-bg: rgba(14, 16, 36, 0.04);
  box-shadow: none;
  border-color: rgba(14, 16, 36, 0.28);
}

.btn--light {
  --btn-bg: rgba(255, 255, 255, 0.1);
  --btn-fg: #fff;
  border-color: rgba(255, 255, 255, 0.32);
  backdrop-filter: blur(6px);
}

.btn--light:hover {
  --btn-bg: rgba(255, 255, 255, 0.18);
  box-shadow: none;
}

.btn--white {
  --btn-bg: #fff;
  --btn-fg: var(--ink);
}

.btn--white:hover {
  --btn-bg: #fff;
  box-shadow: 0 16px 34px -16px rgba(0, 0, 0, 0.5);
}

.btn--wa {
  --btn-bg: var(--ink);
  --btn-fg: #fff;
}

.btn--wa .wa-icon {
  color: #4ade80;
}

.btn--wa:hover {
  --btn-bg: #23264a;
  box-shadow: 0 14px 30px -16px rgba(14, 16, 36, 0.8);
}

.btn--sm {
  padding: 11px 18px;
  font-size: 0.82rem;
}

.btn--lg {
  padding: 18px 32px;
  font-size: 0.95rem;
}

.btn--block {
  width: 100%;
}

.wa-icon {
  width: 18px;
  height: 18px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  transition: color 0.2s var(--ease), gap 0.2s var(--ease);
}

.link-arrow svg {
  width: 16px;
  height: 16px;
  transition: transform 0.25s var(--ease);
}

.link-arrow:hover {
  color: var(--red);
  gap: 12px;
}

.link-arrow:hover svg {
  transform: translateX(3px);
}

/* ---------- Chips / badges ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.chip--red {
  background: var(--red);
  color: #fff;
}

.chip--green {
  background: var(--green);
  color: #1d2409;
}

.chip--ink {
  background: var(--ink);
  color: #fff;
}

.chip--outline {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  display: inline-block;
}

/* ---------- Top bar ---------- */
.topbar {
  background: var(--red);
  color: #fff;
  font-size: 0.76rem;
  letter-spacing: 0.02em;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 38px;
}

.topbar__note {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 500;
  color: #fff;
}

.topbar__note .dot {
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.22);
}

.topbar__links {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 600;
}

.topbar__links a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.topbar__sep {
  width: 1px;
  height: 12px;
  background: rgba(255, 255, 255, 0.4);
}

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow 0.3s var(--ease);
}

.site-header.is-scrolled {
  box-shadow: 0 18px 40px -32px rgba(14, 16, 36, 0.55);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 82px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: none;
}

.brand__img {
  height: 56px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav__link {
  position: relative;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding-block: 6px;
  color: var(--ink);
  transition: color 0.2s var(--ease);
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav__link:hover,
.nav__link.is-active {
  color: var(--red);
}

.nav__link:hover::after,
.nav__link.is-active::after {
  transform: scaleX(1);
}

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

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 0;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile drawer */
.mobile-nav {
  border-top: 1px solid var(--line-soft);
  background: #fff;
  padding: 8px var(--gutter) 28px;
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 2px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 1.05rem;
  font-weight: 600;
}

.mobile-nav__link svg {
  width: 18px;
  height: 18px;
  color: var(--muted-light);
}

.mobile-nav__actions {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: clamp(600px, 88vh, 860px);
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
  background: var(--ink);
}

.hero__bg {
  position: absolute;
  inset: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transform: scale(1.03);
  animation: heroZoom 18s var(--ease) forwards;
}

@keyframes heroZoom {
  to { transform: scale(1); }
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 9, 22, 0.94) 0%, rgba(8, 9, 22, 0.78) 38%, rgba(8, 9, 22, 0.28) 72%, rgba(8, 9, 22, 0.55) 100%),
    linear-gradient(0deg, rgba(8, 9, 22, 0.85) 0%, rgba(8, 9, 22, 0) 42%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-block: clamp(110px, 16vh, 160px) clamp(56px, 8vh, 84px);
}

.hero__content {
  max-width: 760px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 26px;
}

.hero__eyebrow .dot {
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(152, 184, 80, 0.22);
}

.hero h1 {
  font-size: clamp(2.7rem, 6.4vw, 5.2rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.hero h1 em {
  font-style: italic;
  color: #ffb27a;
}

.hero__sub {
  margin-top: 24px;
  max-width: 54ch;
  font-size: clamp(1rem, 1.5vw, 1.14rem);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.78);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 26px;
  margin-top: 42px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  max-width: 640px;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}

.hero__meta li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero__meta svg {
  width: 15px;
  height: 15px;
  color: var(--green);
}

.hero__scroll {
  position: absolute;
  right: max(24px, calc((100vw - var(--container)) / 2 + var(--gutter)));
  bottom: 32px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  writing-mode: vertical-rl;
}

.hero__scroll::after {
  content: "";
  width: 1px;
  height: 54px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0));
}

/* ---------- Stats strip ---------- */
.stats-wrap {
  position: relative;
  z-index: 5;
  margin-top: -52px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--line-soft);
  overflow: hidden;
}

.stat {
  padding: clamp(22px, 3vw, 34px) clamp(18px, 2.6vw, 32px);
  border-right: 1px solid var(--line-soft);
}

.stat:last-child {
  border-right: 0;
}

.stat__num {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.stat__num span {
  color: var(--red);
}

.stat__label {
  margin-top: 8px;
  font-size: 0.76rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

/* ---------- Intro / pillars ---------- */
.intro-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 6vw, 84px);
  align-items: center;
}

.intro-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 4.4;
  background: var(--cream-deep);
}

.intro-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.intro-media__badge {
  position: absolute;
  left: 22px;
  bottom: 22px;
  right: 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
}

.intro-media__badge strong {
  font-family: var(--font-display);
  font-size: 1.9rem;
  line-height: 1;
  color: var(--red);
  letter-spacing: -0.03em;
}

.intro-media__badge span {
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--muted);
  font-weight: 600;
}

.pillars {
  display: grid;
  gap: 0;
  margin-top: 34px;
  border-top: 1px solid var(--line);
}

.pillar {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  padding-block: 22px;
  border-bottom: 1px solid var(--line);
}

.pillar__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--red-soft);
  color: var(--red);
}

.pillar__icon svg {
  width: 21px;
  height: 21px;
}

.pillar h3 {
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}

.pillar p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ---------- Project cards ---------- */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(22px, 3.4vw, 42px);
}

.project-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.project-card__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: var(--cream-deep);
}

.project-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}

.project-card:hover .project-card__media img {
  transform: scale(1.055);
}

.project-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 9, 22, 0.55), rgba(8, 9, 22, 0) 48%);
  opacity: 0.9;
}

.project-card__badges {
  position: absolute;
  z-index: 2;
  top: 18px;
  left: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.project-card__price {
  position: absolute;
  z-index: 2;
  left: 18px;
  bottom: 16px;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.project-card__price strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.project-card__body {
  padding: clamp(20px, 2.4vw, 28px);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.project-card__loc {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}

.project-card__loc svg {
  width: 13px;
  height: 13px;
}

.project-card h3 {
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  margin-bottom: 10px;
}

.project-card h3 a {
  transition: color 0.2s var(--ease);
}

.project-card h3 a:hover {
  color: var(--red);
}

.project-card__desc {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 18px;
}

.project-card__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  margin-bottom: 20px;
}

.project-card__specs li {
  padding: 7px 12px;
  border-radius: 8px;
  background: var(--cream);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.project-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
}

.project-card__status {
  font-size: 0.76rem;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(152, 184, 80, 0.2);
}

.status-dot--orange {
  background: var(--orange);
  box-shadow: 0 0 0 3px rgba(240, 120, 24, 0.2);
}

/* ---------- Why BSR split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1.02fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}

.split__media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 5 / 4;
  background: var(--cream-deep);
}

.split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split__media--tall {
  aspect-ratio: 4 / 5;
}

.split__stat {
  position: absolute;
  right: 20px;
  bottom: 20px;
  padding: 18px 22px;
  border-radius: 14px;
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow);
}

.split__stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
  color: #ffb27a;
}

.split__stat span {
  display: block;
  margin-top: 4px;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.66);
}

.checklist {
  display: grid;
  gap: 18px;
  margin-top: 30px;
}

.checklist li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 14px;
  align-items: start;
}

.checklist svg {
  width: 22px;
  height: 22px;
  color: var(--green-dark);
  margin-top: 3px;
}

.checklist strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.checklist p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ---------- Amenities gallery ---------- */
.amenity-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.amenity-tile {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--cream-deep);
}

.amenity-tile:nth-child(2n) {
  transform: translateY(22px);
}

.amenity-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.amenity-tile:hover img {
  transform: scale(1.06);
}

.amenity-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 9, 22, 0.78), rgba(8, 9, 22, 0) 52%);
}

.amenity-tile__label {
  position: absolute;
  z-index: 2;
  left: 18px;
  right: 18px;
  bottom: 16px;
  color: #fff;
}

.amenity-tile__label strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
}

.amenity-tile__label span {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

/* ---------- Location ---------- */
.location {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 5vw, 70px);
  align-items: center;
}

.location__media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3.2;
}

.location__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.location__tag {
  position: absolute;
  top: 20px;
  left: 20px;
}

.corridors {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  margin-top: 30px;
  background: var(--line-soft);
  border-radius: 14px;
  overflow: hidden;
}

.corridor {
  background: #fff;
  padding: 20px;
}

.corridor strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.corridor span {
  display: block;
  margin-top: 2px;
  font-size: 0.76rem;
  color: var(--muted);
}

/* ---------- Testimonials ---------- */
.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.quote {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3vw, 34px);
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line-soft);
}

.quote__mark {
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 0.8;
  color: var(--red);
  opacity: 0.9;
  margin-bottom: 16px;
}

.quote p {
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--ink-soft);
}

.quote__person {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
}

.avatar {
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--cream-deep);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
}

.quote__person strong {
  display: block;
  font-size: 0.86rem;
}

.quote__person span {
  display: block;
  font-size: 0.74rem;
  color: var(--muted);
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
  isolation: isolate;
}

.cta-band__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.cta-band__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  opacity: 0.35;
}

.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 380px at 15% 20%, rgba(226, 27, 35, 0.35), transparent 65%),
    linear-gradient(100deg, rgba(8, 9, 22, 0.95), rgba(8, 9, 22, 0.72));
}

.cta-band__inner {
  padding-block: clamp(64px, 9vw, 112px);
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 40px;
  align-items: center;
}

.cta-band h2 {
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.cta-band p {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.7);
  max-width: 52ch;
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.cta-band__phone {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
}

.cta-band__phone a {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: #fff;
  letter-spacing: -0.01em;
}

.cta-band__phone a:hover {
  color: #ffb27a;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.page-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(8, 9, 22, 0.93) 0%, rgba(8, 9, 22, 0.72) 55%, rgba(8, 9, 22, 0.45) 100%);
}

.page-hero__inner {
  padding-block: clamp(56px, 9vw, 104px) clamp(56px, 8vw, 92px);
  max-width: 780px;
}

.page-hero--short .page-hero__inner {
  padding-block: clamp(48px, 7vw, 84px);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 22px;
}

.breadcrumb a:hover {
  color: #fff;
}

.breadcrumb span {
  color: rgba(255, 255, 255, 0.3);
}

.page-hero h1 {
  font-size: clamp(2.4rem, 5.4vw, 4.2rem);
  letter-spacing: -0.035em;
}

.page-hero p {
  margin-top: 20px;
  max-width: 58ch;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1rem, 1.4vw, 1.1rem);
}

.page-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.page-hero__meta .chip {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  backdrop-filter: blur(6px);
}

/* ---------- Projects page ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: clamp(28px, 4vw, 44px);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-btn {
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: transparent;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.22s var(--ease);
}

.filter-btn:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.filter-btn.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.filter-count {
  font-size: 0.78rem;
  color: var(--muted);
}

.filter-count strong {
  color: var(--ink);
}

.project-card.is-hidden {
  display: none;
}

/* ---------- Detail page ---------- */
.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.detail-main > * + * {
  margin-top: clamp(36px, 5vw, 56px);
}

.detail-block h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  margin-bottom: 16px;
}

.detail-block p + p {
  margin-top: 14px;
}

.detail-block p {
  color: var(--muted);
}

.facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  overflow: hidden;
}

.fact {
  background: #fff;
  padding: 20px 22px;
}

.fact span {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-light);
  font-weight: 700;
  margin-bottom: 5px;
}

.fact strong {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
}

.amenity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.amenity-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: #fff;
  font-size: 0.88rem;
  font-weight: 600;
}

.amenity-item svg {
  width: 20px;
  height: 20px;
  color: var(--red);
  flex: none;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.gallery__item {
  position: relative;
  border: 0;
  padding: 0;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--cream-deep);
  cursor: zoom-in;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.gallery__item:hover img {
  transform: scale(1.05);
}

.gallery__item--wide {
  grid-column: span 2;
  aspect-ratio: 16 / 7;
}

.location-list {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.location-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--line);
  font-size: 0.92rem;
}

.location-list span:first-child {
  color: var(--ink-soft);
}

.location-list span:last-child {
  color: var(--muted);
  font-weight: 600;
  white-space: nowrap;
}

/* Sticky enquiry card */
.enquiry-card {
  position: sticky;
  top: 108px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.enquiry-card__head {
  padding: 24px 24px 20px;
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.enquiry-card__head::after {
  content: "";
  position: absolute;
  width: 160px;
  height: 160px;
  right: -60px;
  top: -80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(226, 27, 35, 0.55), transparent 70%);
}

.enquiry-card__head span {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 6px;
}

.enquiry-card__head strong {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
  position: relative;
  z-index: 1;
}

.enquiry-card__head em {
  display: block;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 6px;
}

.enquiry-card__body {
  padding: 22px 24px 24px;
}

.enquiry-card__body > p {
  font-size: 0.86rem;
  color: var(--muted);
  margin-bottom: 18px;
  line-height: 1.6;
}

.enquiry-card .btn + .btn {
  margin-top: 10px;
}

.enquiry-card__divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0 16px;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-light);
}

.enquiry-card__divider::before,
.enquiry-card__divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--line);
}

/* Forms */
.form {
  display: grid;
  gap: 12px;
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--ink);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.field textarea {
  resize: vertical;
  min-height: 104px;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--muted-light);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(226, 27, 35, 0.12);
}

.form__note {
  font-size: 0.72rem;
  color: var(--muted-light);
  line-height: 1.5;
}

.form__status {
  display: none;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(152, 184, 80, 0.14);
  border: 1px solid rgba(152, 184, 80, 0.4);
  color: #4c6318;
  font-size: 0.82rem;
}

.form__status.is-visible {
  display: block;
}

/* ---------- About ---------- */
.story {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}

.story__media {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 4.6;
}

.story__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.timeline {
  position: relative;
  display: grid;
  gap: 0;
  margin-top: 44px;
  border-left: 1px solid var(--line);
}

.timeline__item {
  position: relative;
  padding: 0 0 34px 30px;
}

.timeline__item::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 7px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px var(--paper);
}

.timeline__year {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--red);
  letter-spacing: 0.02em;
}

.timeline__item h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  margin: 4px 0 6px;
}

.timeline__item p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
  max-width: 52ch;
}

.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.value-card {
  padding: clamp(24px, 3vw, 34px);
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line-soft);
}

.value-card__icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--red-soft);
  color: var(--red);
  margin-bottom: 18px;
}

.value-card__icon svg {
  width: 22px;
  height: 22px;
}

.value-card h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.value-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
}

.promise-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 60px);
  align-items: center;
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
}

.promise-band h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.promise-band p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.94rem;
  margin-top: 12px;
}

.promise-band__list {
  display: grid;
  gap: 12px;
}

.promise-band__list ul {
  display: grid;
  gap: 12px;
}

.promise-band__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.86rem;
}

.promise-band__list svg {
  width: 18px;
  height: 18px;
  color: var(--green);
  flex: none;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.contact-card {
  padding: clamp(24px, 3.4vw, 40px);
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-sm);
}

.contact-card h2 {
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  margin-bottom: 8px;
}

.contact-card > p {
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 24px;
}

.contact-form {
  gap: 14px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.contact-info {
  display: grid;
  gap: 14px;
}

.info-card {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 16px;
  padding: 22px;
  border-radius: 14px;
  border: 1px solid var(--line-soft);
  background: #fff;
}

.info-card__icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--cream);
  color: var(--red);
}

.info-card__icon svg {
  width: 21px;
  height: 21px;
}

.info-card span {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-light);
  font-weight: 700;
  margin-bottom: 4px;
}

.info-card strong,
.info-card a {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.5;
}

.info-card a:hover {
  color: var(--red);
}

.info-card p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
}

.map-wrap {
  margin-top: clamp(40px, 6vw, 64px);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background: var(--cream);
  box-shadow: var(--shadow-sm);
}

.map-wrap iframe {
  display: block;
  width: 100%;
  height: clamp(320px, 42vw, 460px);
  border: 0;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  padding-top: clamp(52px, 7vw, 82px);
  font-size: 0.9rem;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 0.9fr 1.2fr;
  gap: clamp(28px, 4vw, 54px);
  padding-bottom: clamp(40px, 5vw, 60px);
}

.footer__brand .brand__chip {
  display: inline-flex;
  padding: 10px 14px;
  border-radius: 12px;
  background: #fff;
  margin-bottom: 20px;
}

.footer__brand img {
  height: 44px;
  width: auto;
}

.footer__brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 34ch;
  color: rgba(255, 255, 255, 0.6);
}

.footer__social {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}

.footer__social a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  border: 1px solid var(--line-dark);
  color: rgba(255, 255, 255, 0.75);
  transition: all 0.22s var(--ease);
}

.footer__social a:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.footer__social svg {
  width: 17px;
  height: 17px;
}

.footer h3 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 18px;
}

.footer__links {
  display: grid;
  gap: 10px;
}

.footer__links a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.62);
  transition: color 0.2s var(--ease);
}

.footer__links a:hover {
  color: #fff;
}

.footer__contact {
  display: grid;
  gap: 14px;
  font-style: normal;
}

.footer__contact p,
.footer__contact a {
  font-size: 0.88rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.62);
}

.footer__contact a:hover {
  color: #fff;
}

.footer__contact strong {
  display: block;
  color: #fff;
  font-size: 1rem;
  margin-bottom: 2px;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block: 22px;
  border-top: 1px solid var(--line-dark);
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer__bottom a:hover {
  color: #fff;
}

/* ---------- Floating WhatsApp ---------- */
.wa-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 0;
  height: 58px;
  padding: 0 15px;
  border-radius: var(--radius-pill);
  background: #25d366;
  color: #0b3d1f;
  box-shadow: 0 18px 34px -14px rgba(37, 211, 102, 0.75);
  transition: gap 0.3s var(--ease), padding 0.3s var(--ease), transform 0.25s var(--ease);
}

.wa-fab svg {
  width: 28px;
  height: 28px;
  flex: none;
}

.wa-fab__label {
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: max-width 0.35s var(--ease), margin 0.3s var(--ease);
}

.wa-fab:hover {
  transform: translateY(-2px);
  gap: 10px;
}

.wa-fab:hover .wa-fab__label {
  max-width: 160px;
  margin-left: 2px;
}

.wa-fab::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid rgba(37, 211, 102, 0.55);
  animation: waPulse 2.6s ease-out infinite;
  pointer-events: none;
}

@keyframes waPulse {
  0% { transform: scale(1); opacity: 0.9; }
  70% { transform: scale(1.35); opacity: 0; }
  100% { transform: scale(1.35); opacity: 0; }
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(8, 9, 22, 0.92);
  backdrop-filter: blur(6px);
}

.lightbox.is-open {
  display: grid;
}

.lightbox img {
  max-width: min(1100px, 92vw);
  max-height: 86vh;
  width: auto;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.8);
}

.lightbox__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--delay, 0ms);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav {
    gap: 24px;
  }

  .navbar__call {
    display: none;
  }

  .detail-layout {
    grid-template-columns: minmax(0, 1fr) 330px;
  }

  .footer__top {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .footer__contact {
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding-top: 24px;
    border-top: 1px solid var(--line-dark);
  }
}

@media (max-width: 940px) {
  :root {
    --header-h: 113px;
  }

  .nav {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .navbar__inner {
    min-height: 74px;
  }

  .brand__img {
    height: 48px;
  }

  .intro-grid,
  .split,
  .location,
  .story,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .intro-media,
  .story__media {
    aspect-ratio: 4 / 3.2;
    order: -1;
  }

  .split__media--tall {
    aspect-ratio: 4 / 3.2;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .amenity-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .amenity-tile:nth-child(2n) {
    transform: none;
  }

  .quotes {
    grid-template-columns: 1fr;
  }

  .values {
    grid-template-columns: 1fr;
  }

  .detail-layout {
    grid-template-columns: 1fr;
  }

  .enquiry-card {
    position: static;
  }

  .cta-band__inner {
    grid-template-columns: 1fr;
  }

  .cta-band__actions,
  .cta-band__phone {
    justify-content: flex-start;
  }

  .promise-band {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  :root {
    --header-h: 109px;
  }

  .topbar__note {
    display: none;
  }

  .topbar__inner {
    justify-content: center;
    min-height: 34px;
  }

  .topbar {
    font-size: 0.72rem;
  }

  .navbar__actions .btn--wa span {
    display: none;
  }

  .navbar__actions .btn--wa {
    padding: 11px 13px;
  }

  .hero {
    min-height: 86vh;
  }

  .hero__meta {
    gap: 8px 18px;
    font-size: 0.7rem;
  }

  .hero__scroll {
    display: none;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat {
    border-bottom: 1px solid var(--line-soft);
  }

  .stat:nth-child(2n) {
    border-right: 0;
  }

  .stat:nth-child(n + 3) {
    border-bottom: 0;
  }

  .stats-wrap {
    margin-top: -30px;
  }

  .amenity-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .facts {
    grid-template-columns: 1fr;
  }

  .footer__top {
    grid-template-columns: 1fr 1fr;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }

  .footer__contact {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .gallery__item--wide {
    grid-column: span 2;
    aspect-ratio: 16 / 9;
  }

  .cta-band__phone {
    flex-wrap: wrap;
  }

  .wa-fab {
    right: 16px;
    bottom: 16px;
    height: 54px;
  }

  .wa-fab__label {
    display: none;
  }

  .hero__actions .btn {
    flex: 1 1 auto;
  }
}

@media (max-width: 480px) {
  .brand__img {
    height: 42px;
  }

  .hero h1 {
    font-size: clamp(2.3rem, 11vw, 3rem);
  }

  .hero__eyebrow {
    font-size: 0.6rem;
    letter-spacing: 0.12em;
  }

  .section-head p {
    font-size: 0.98rem;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .amenity-strip {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
}
