/* =====================================================================
   KULANA DEVELOPMENT — Design System
   Trusted Development, Built to Last.
   ===================================================================== */

:root {
  /* Palette */
  --ink:      #15181A;   /* near-black text / dark sections */
  --ink-soft: #262A2C;
  --paper:    #F6F2EA;   /* warm off-white base */
  --stone:    #E9E1D3;   /* light stone panels */
  --sand:     #D9CDB8;   /* warm accent panel */
  --clay:     #B0854F;   /* brass / gold accent */
  --clay-dk:  #8E693B;
  --forest:   #2C3A31;   /* deep green secondary */
  --muted:    #6E675C;   /* muted body text */
  --line:     #D8CFBF;   /* hairline borders */
  --white:    #FFFFFF;

  /* Vibrant secondary accents (tropical, drawn from communities) */
  --teal:     #128C8C;   /* pool / water */
  --teal-dk:  #0E6E6E;
  --coral:    #E2683C;   /* sunset / energy */
  --sky:      #2C7BB0;   /* court blue */
  --gold:     #E0A43B;   /* warm highlight */

  /* Type */
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Rhythm */
  --container: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --section: clamp(72px, 10vw, 148px);
  --radius: 2px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ---------- Type scale ---------- */
h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; line-height: 1.05; letter-spacing: -0.01em; }
.display { font-size: clamp(2.9rem, 7vw, 6.2rem); line-height: 0.98; letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4.4vw, 3.5rem); }
h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); }
.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--clay);
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--clay);
  display: inline-block;
}
.lede { font-size: clamp(1.15rem, 1.7vw, 1.4rem); color: var(--muted); line-height: 1.5; font-weight: 400; }
.serif-accent { font-family: var(--display); font-style: italic; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.grid { display: grid; gap: clamp(28px, 4vw, 64px); }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }
.maxw-720 { max-width: 720px; }
.maxw-620 { max-width: 620px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6em;
  padding: 0.95em 1.7em;
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all 0.4s var(--ease);
  position: relative;
}
.btn--solid { background: var(--ink); color: var(--paper); }
.btn--solid:hover { background: var(--clay); color: var(--white); transform: translateY(-2px); }
.btn--clay { background: var(--clay); color: var(--white); }
.btn--clay:hover { background: var(--clay-dk); transform: translateY(-2px); }
.btn--ghost { border: 1px solid currentColor; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--light { border: 1px solid rgba(246,242,234,0.4); color: var(--paper); }
.btn--light:hover { background: var(--paper); color: var(--ink); }
.btn .arw { transition: transform 0.4s var(--ease); }
.btn:hover .arw { transform: translateX(4px); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.55em;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--clay); position: relative; padding-bottom: 3px;
}
.link-arrow::after { content:""; position:absolute; left:0; bottom:0; height:1px; width:100%; background: var(--clay); transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease); }
.link-arrow:hover::after { transform: scaleX(1); }
.link-arrow .arw { transition: transform 0.4s var(--ease); }
.link-arrow:hover .arw { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background 0.5s var(--ease), border-color 0.5s var(--ease), padding 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header .bar {
  display: flex; align-items: center; justify-content: space-between;
  padding-block: 22px;
}
.brand { display: flex; flex-direction: column; line-height: 1; }
.brand .mark { font-family: var(--display); font-size: 1.55rem; letter-spacing: -0.01em; color: var(--paper); transition: color 0.4s var(--ease); }
.brand .sub { font-size: 0.6rem; letter-spacing: 0.35em; text-transform: uppercase; color: rgba(246,242,234,0.7); margin-top: 5px; transition: color 0.4s var(--ease); }
.nav { display: flex; align-items: center; gap: 2.4rem; }
.nav a { font-size: 0.82rem; font-weight: 500; letter-spacing: 0.03em; color: rgba(246,242,234,0.85); transition: color 0.3s; position: relative; }
.nav a:hover { color: var(--paper); }
.nav a.active { color: var(--paper); }
.nav a.active::after { content:""; position:absolute; left:0; bottom:-6px; width:100%; height:1px; background: var(--clay); }
.header-cta { padding: 0.7em 1.3em; border: 1px solid rgba(246,242,234,0.4); border-radius: var(--radius); color: var(--paper); font-size:0.78rem; font-weight:600; letter-spacing:0.05em; text-transform:uppercase; transition: all 0.35s var(--ease); }
.header-cta:hover { background: var(--paper); color: var(--ink); }

/* Scrolled state — light background */
.site-header.scrolled { background: var(--paper); border-bottom-color: var(--line); }
.site-header.scrolled .brand .mark { color: var(--ink); }
.site-header.scrolled .brand .sub { color: var(--muted); }
.site-header.scrolled .nav a { color: var(--ink-soft); }
.site-header.scrolled .nav a:hover, .site-header.scrolled .nav a.active { color: var(--ink); }
.site-header.scrolled .header-cta { color: var(--ink); border-color: var(--ink); }
.site-header.scrolled .header-cta:hover { background: var(--ink); color: var(--paper); }
.site-header.scrolled .burger span { background: var(--ink); }

/* On light-hero pages, header starts dark-on-light */
.site-header.on-light .brand .mark { color: var(--ink); }
.site-header.on-light .brand .sub { color: var(--muted); }
.site-header.on-light .nav a { color: var(--ink-soft); }
.site-header.on-light .nav a:hover, .site-header.on-light .nav a.active { color: var(--ink); }
.site-header.on-light .header-cta { color: var(--ink); border-color: var(--ink); }
.site-header.on-light .header-cta:hover { background: var(--ink); color: var(--paper); }
.site-header.on-light .burger span { background: var(--ink); }

/* Burger */
.burger { display: none; flex-direction: column; gap: 5px; width: 30px; padding: 6px 0; z-index: 120; }
.burger span { display: block; height: 2px; width: 100%; background: var(--paper); transition: all 0.4s var(--ease); }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); background: var(--ink); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); background: var(--ink); }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; background: var(--paper); z-index: 110;
  display: flex; flex-direction: column; justify-content: center; gap: 0.4rem;
  padding: var(--gutter);
  transform: translateY(-100%); transition: transform 0.6s var(--ease);
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu a { font-family: var(--display); font-size: clamp(2rem, 8vw, 3rem); color: var(--ink); padding-block: 0.15em; border-bottom: 1px solid var(--line); }
.mobile-menu a:last-of-type { border-bottom: none; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: var(--paper); overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(21,24,26,0.5) 0%, rgba(21,24,26,0.15) 35%, rgba(21,24,26,0.75) 100%); }
.hero__inner { padding-bottom: clamp(56px, 9vh, 120px); padding-top: 160px; position: relative; z-index: 1; width: 100%; }
.hero .eyebrow { color: var(--sand); }
.hero .eyebrow::before { background: var(--sand); }
.hero .display { color: var(--paper); max-width: 15ch; margin-top: 26px; }
.hero__lede { color: rgba(246,242,234,0.85); max-width: 46ch; margin-top: 26px; font-size: clamp(1.05rem, 1.6vw, 1.3rem); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero__scroll { position: absolute; bottom: 30px; right: var(--gutter); font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(246,242,234,0.7); writing-mode: vertical-rl; }

/* ---------- Page hero (interior) ---------- */
.page-hero { padding-top: 190px; padding-bottom: clamp(48px, 7vw, 90px); background: var(--ink); color: var(--paper); position: relative; }
.page-hero .eyebrow { color: var(--sand); }
.page-hero .eyebrow::before { background: var(--sand); }
.page-hero h1 { color: var(--paper); font-size: clamp(2.6rem, 6vw, 5rem); max-width: 16ch; margin-top: 22px; }
.page-hero .lede { color: rgba(246,242,234,0.8); margin-top: 26px; max-width: 62ch; }

/* ---------- Stat bar ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.stat { padding: clamp(28px, 3vw, 44px) clamp(18px,2vw,28px); border-right: 1px solid var(--line); }
.stat:last-child { border-right: none; }
.stat .num { font-family: var(--display); font-size: clamp(2.4rem, 4vw, 3.4rem); line-height: 1; color: var(--ink); }
.stat .num .unit { color: var(--clay); }
.stat .lbl { margin-top: 12px; font-size: 0.78rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); }

/* ---------- Section header ---------- */
.sec-head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 60px); align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.sec-head .lede { margin-top: 20px; }
.sec-head h2 { margin-top: 18px; }

/* ---------- Split feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(32px, 5vw, 80px); }
.split.reverse .split__media { order: 2; }
.split__media img { width: 100%; height: clamp(360px, 46vw, 620px); object-fit: cover; border-radius: var(--radius); }
.split__body h2 { margin-top: 18px; }
.split__body p { color: var(--muted); margin-top: 20px; }
.split__body .actions { margin-top: 32px; }

/* ---------- Cards / portfolio ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: clamp(24px, 3vw, 40px); }
.pcard { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--ink); display: block; }
.pcard__img { position: relative; overflow: hidden; aspect-ratio: 4/5; }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.pcard:hover .pcard__img img { transform: scale(1.06); }
.pcard__img::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(21,24,26,0) 40%, rgba(21,24,26,0.85) 100%); }
.pcard__body { position: absolute; left: 0; bottom: 0; padding: clamp(22px,2.4vw,30px); color: var(--paper); z-index: 2; width: 100%; }
.pcard__tag { font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sand); }
.pcard__body h3 { color: var(--paper); margin-top: 8px; }
.pcard__meta { margin-top: 10px; font-size: 0.85rem; color: rgba(246,242,234,0.75); display:flex; gap: 1rem; flex-wrap: wrap; }

/* ---------- Amenity grid ---------- */
.amenity-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.amenity { background: var(--paper); padding: clamp(30px, 3.4vw, 48px); transition: background 0.4s var(--ease); }
.amenity:hover { background: var(--stone); }
.amenity .ico { width: 42px; height: 42px; color: var(--clay); margin-bottom: 22px; }
.amenity h3 { font-size: 1.35rem; }
.amenity p { color: var(--muted); margin-top: 12px; font-size: 0.98rem; }

/* ---------- Process / steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 2.4vw, 36px); }
.step { border-top: 2px solid var(--ink); padding-top: 24px; }
.step .n { font-family: var(--display); font-size: 0.95rem; color: var(--clay); letter-spacing: 0.1em; }
.step h3 { font-size: 1.35rem; margin-top: 14px; }
.step p { color: var(--muted); margin-top: 12px; font-size: 0.95rem; }

/* ---------- Dark section ---------- */
.dark { background: var(--ink); color: var(--paper); }
.dark h2 { color: var(--paper); }
.dark .lede { color: rgba(246,242,234,0.8); }
.dark .eyebrow { color: var(--sand); }
.dark .eyebrow::before { background: var(--sand); }
.dark .stat .num { color: var(--paper); }
.dark .stats, .dark .stat { border-color: rgba(246,242,234,0.16); }
.dark .stat .lbl { color: rgba(246,242,234,0.6); }

/* ---------- Quote / band ---------- */
.quote-band { background: var(--forest); color: var(--paper); }
.quote-band .q { font-family: var(--display); font-size: clamp(1.7rem, 3.4vw, 2.9rem); line-height: 1.2; max-width: 20ch; }
.quote-band .attr { margin-top: 28px; font-size: 0.85rem; letter-spacing: 0.05em; color: var(--sand); }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(32px, 4vw, 60px); }
.tcard__img { aspect-ratio: 5/6; overflow: hidden; border-radius: var(--radius); background: var(--stone); }
.tcard__img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.15); transition: filter 0.6s var(--ease), transform 1s var(--ease); }
.tcard:hover .tcard__img img { filter: grayscale(0); transform: scale(1.03); }
.tcard h3 { margin-top: 22px; }
.tcard .role { color: var(--clay); font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; margin-top: 6px; }
.tcard p { color: var(--muted); margin-top: 16px; }

/* ---------- CTA band ---------- */
.cta {
  background: var(--ink); color: var(--paper); text-align: center;
  position: relative; overflow: hidden;
}
.cta h2 { color: var(--paper); max-width: 18ch; margin-inline: auto; }
.cta .lede { color: rgba(246,242,234,0.8); margin-top: 22px; }
.cta .actions { margin-top: 38px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 96px); }
.field { margin-bottom: 22px; }
.field label { display: block; font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 14px 16px; font-family: inherit; font-size: 1rem;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--ink);
  transition: border-color 0.3s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--clay); }
.field textarea { resize: vertical; min-height: 130px; }
.contact-detail { margin-bottom: 30px; }
.contact-detail .k { font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--clay); }
.contact-detail .v { font-family: var(--display); font-size: 1.35rem; margin-top: 8px; }
.contact-detail .v a { color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(246,242,234,0.75); padding-top: clamp(64px, 8vw, 110px); }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: clamp(28px, 3vw, 48px); padding-bottom: 56px; border-bottom: 1px solid rgba(246,242,234,0.15); }
.footer-brand .mark { font-family: var(--display); font-size: 1.8rem; color: var(--paper); }
.footer-brand .sub { font-size: 0.62rem; letter-spacing: 0.3em; text-transform: uppercase; color: rgba(246,242,234,0.55); margin-top: 8px; }
.footer-brand p { margin-top: 22px; max-width: 34ch; font-size: 0.95rem; line-height: 1.65; }
.footer-col h4 { font-family: var(--sans); font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sand); margin-bottom: 20px; }
.footer-col a { display: block; padding: 7px 0; color: rgba(246,242,234,0.75); font-size: 0.92rem; transition: color 0.3s; }
.footer-col a:hover { color: var(--paper); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; padding-block: 30px; font-size: 0.8rem; color: rgba(246,242,234,0.5); }
.footer-bottom .socials { display: flex; gap: 22px; }
.footer-bottom .socials a:hover { color: var(--paper); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }

/* ---------- Utility ---------- */
.pill { display:inline-block; padding: 6px 14px; border: 1px solid var(--line); border-radius: 100px; font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.divider { height: 1px; background: var(--line); border: none; }

/* ---------- Amenity photo gallery (colorful, editorial) ---------- */
.amenity-gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 200px;
  gap: 16px;
}
.afeat {
  position: relative; overflow: hidden; border-radius: var(--radius);
  display: block; background: var(--ink); grid-column: span 2; grid-row: span 1;
}
.afeat img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.afeat:hover img { transform: scale(1.07); }
.afeat::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(21,24,26,0) 38%, rgba(21,24,26,0.82) 100%); transition: background 0.5s var(--ease); }
.afeat:hover::after { background: linear-gradient(180deg, rgba(18,140,140,0.12) 30%, rgba(21,24,26,0.85) 100%); }
.afeat__body { position: absolute; left: 0; bottom: 0; padding: 24px; z-index: 2; color: var(--paper); }
.afeat__tag { display:inline-block; font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; padding: 5px 11px; border-radius: 100px; margin-bottom: 12px; color: #fff; }
.tag-teal { background: var(--teal); }
.tag-coral { background: var(--coral); }
.tag-sky { background: var(--sky); }
.tag-gold { background: var(--gold); color: var(--ink); }
.tag-forest { background: var(--forest); }
.afeat h3 { color: var(--paper); font-size: 1.5rem; }
.afeat p { color: rgba(246,242,234,0.85); font-size: 0.9rem; margin-top: 6px; max-width: 34ch; }
/* size variants */
.afeat.tall { grid-row: span 2; }
.afeat.wide { grid-column: span 4; }
.afeat.big { grid-column: span 4; grid-row: span 2; }

/* Colorful chip row */
.chip-row { display:flex; flex-wrap:wrap; gap: 10px; margin-top: 8px; }
.chip { font-size: 0.8rem; font-weight: 500; padding: 9px 16px; border-radius: 100px; border: 1px solid var(--line); color: var(--ink-soft); background: var(--white); transition: all 0.35s var(--ease); }
.chip:hover { transform: translateY(-2px); }
.chip.c1 { border-color: var(--teal); color: var(--teal-dk); }
.chip.c2 { border-color: var(--coral); color: var(--coral); }
.chip.c3 { border-color: var(--sky); color: var(--sky); }
.chip.c4 { border-color: var(--gold); color: var(--clay-dk); }
.chip.c5 { border-color: var(--forest); color: var(--forest); }

/* Teal-accented eyebrow / links (amenity context) */
.accent-teal .eyebrow { color: var(--teal); }
.accent-teal .eyebrow::before { background: var(--teal); }
.accent-teal .link-arrow { color: var(--teal); }
.accent-teal .link-arrow::after { background: var(--teal); }

/* Vibrant gradient band */
.band-tropical { background: linear-gradient(120deg, var(--forest) 0%, var(--teal-dk) 60%, var(--teal) 100%); color: var(--paper); }
.band-tropical h2 { color: var(--paper); }
.band-tropical .lede { color: rgba(246,242,234,0.9); }
.band-tropical .eyebrow { color: #fff; }
.band-tropical .eyebrow::before { background: #fff; }
.band-tropical .stats, .band-tropical .stat { border-color: rgba(255,255,255,0.25); }
.band-tropical .stat .num { color: var(--paper); }
.band-tropical .stat .num .unit { color: var(--gold); }
.band-tropical .stat .lbl { color: rgba(246,242,234,0.85); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .amenity-gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .afeat, .afeat.wide, .afeat.big { grid-column: span 2; grid-row: span 1; }
  .afeat.tall { grid-row: span 1; }
  .afeat.big { grid-row: span 2; }
  .nav, .header-cta { display: none; }
  .burger { display: flex; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
  .dark .stat:nth-child(1), .dark .stat:nth-child(2) { border-bottom-color: rgba(246,242,234,0.16); }
  .split { grid-template-columns: 1fr; }
  .split.reverse .split__media { order: 0; }
  .sec-head { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .amenity-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: 1fr; max-width: 520px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px solid var(--line); }
  .steps, .amenity-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .hero__inner { padding-top: 130px; }
}

/* ---------- Brand logo (image) ---------- */
.brand__logo { display:block; height: 62px; width:auto; }
.brand .logo-dark { display:none; }              /* default over dark hero: show light knockout */
.site-header.scrolled .brand .logo-light,
.site-header.on-light .brand .logo-light { display:none; }
.site-header.scrolled .brand .logo-dark,
.site-header.on-light .brand .logo-dark { display:block; }
.footer-logo { display:block; height: 66px; width:auto; margin-bottom: 4px; }
@media (max-width: 560px){ .brand__logo { height: 53px; } }

/* ---------- Footer refinements ---------- */
.footer-top { border-bottom: none; padding-bottom: 44px; }      /* remove divider */
.footer-bottom {                                                 /* distinct darker full-width band */
  background: #0C0D0F;
  box-shadow: 0 0 0 100vmax #0C0D0F;
  clip-path: inset(0 -100vmax);
  margin-top: 8px;
  padding-block: 26px;
}

/* ============================================================
   LEGIBILITY & CONTRAST PASS (AA-oriented)
   ============================================================ */
:root { --muted: #5C5548; }                 /* darker body text for stronger contrast on light */

/* Small accent text (eyebrows / arrow links): darker brass on light backgrounds */
.eyebrow { color: #8A6220; }
.eyebrow::before { background: #8A6220; }
.link-arrow { color: #8A6220; }
.link-arrow::after { background: #8A6220; }

/* Restore light/appropriate accent on dark, photo, or colored backgrounds */
.hero .eyebrow, .page-hero .eyebrow, .dark .eyebrow, .cta .eyebrow, .quote-band .eyebrow { color: var(--sand); }
.hero .eyebrow::before, .page-hero .eyebrow::before, .dark .eyebrow::before, .cta .eyebrow::before, .quote-band .eyebrow::before { background: var(--sand); }
.band-tropical .eyebrow { color: #ffffff; }
.band-tropical .eyebrow::before { background: #ffffff; }
.accent-teal .eyebrow { color: var(--teal-dk); }
.accent-teal .eyebrow::before { background: var(--teal-dk); }
.accent-teal .link-arrow { color: var(--teal-dk); }
.accent-teal .link-arrow::after { background: var(--teal-dk); }

/* Stronger hero overlay so light text stays legible over bright photos */
.hero__media::after { background: linear-gradient(180deg, rgba(18,20,22,0.60) 0%, rgba(18,20,22,0.32) 40%, rgba(18,20,22,0.85) 100%); }
.hero__lede { color: rgba(246,242,234,0.96); }

/* Interior + dark section ledes a touch brighter */
.page-hero .lede { color: rgba(246,242,234,0.90); }
.dark .lede { color: rgba(246,242,234,0.90); }

/* Footer legibility */
.footer-bottom { color: rgba(246,242,234,0.72); }
.footer-col a { color: rgba(246,242,234,0.82); }

/* ============================================================
   UX UPGRADES: motion, filters, partners, micro-interactions
   ============================================================ */

/* Scroll progress bar */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 200;
  background: linear-gradient(90deg, var(--clay), var(--teal)); transition: width .12s linear; }

/* Cinematic hero: slow Ken Burns + staged reveal */
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.14); } }
.hero__media img { animation: kenburns 20s ease-out both; will-change: transform; }
@keyframes heroRise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.hero__inner .eyebrow, .hero__inner .display, .hero__inner .hero__lede, .hero__inner .hero__actions {
  animation: heroRise 1s var(--ease) both; }
.hero__inner .eyebrow { animation-delay: .15s; }
.hero__inner .display { animation-delay: .32s; }
.hero__inner .hero__lede { animation-delay: .52s; }
.hero__inner .hero__actions { animation-delay: .72s; }
@keyframes scrollpulse { 0%,100%{ opacity:.45; transform: translateY(0);} 50%{ opacity:1; transform: translateY(6px);} }
.hero__scroll { animation: scrollpulse 2.4s ease-in-out infinite; }

/* Amenity filters */
.amenity-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.afilter { font-size: .82rem; font-weight: 600; letter-spacing: .03em; padding: 9px 18px; border-radius: 100px;
  border: 1px solid var(--line); background: var(--white); color: var(--ink-soft); cursor: pointer; transition: all .3s var(--ease); }
.afilter:hover { border-color: var(--clay); color: var(--clay-dk); transform: translateY(-2px); }
.afilter.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.amenity-gallery { grid-auto-flow: dense; }
.afeat { transition: opacity .45s var(--ease), transform .45s var(--ease); }
.afeat.hide { display: none; }

/* For Partners cards */
.pcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
.pcard-partner { border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(26px, 3vw, 38px);
  background: var(--white); display: block; transition: all .38s var(--ease); }
.pcard-partner:hover { transform: translateY(-5px); border-color: var(--clay); box-shadow: 0 20px 44px rgba(21,24,26,.10); }
.pcard-partner .k { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--clay-dk); }
.pcard-partner h3 { font-size: 1.4rem; margin-top: 12px; }
.pcard-partner p { color: var(--muted); margin-top: 12px; font-size: .96rem; }
.pcard-partner .link-arrow { margin-top: 20px; }
@media (max-width: 760px) { .pcards { grid-template-columns: 1fr; } }

/* Accessible focus states */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 2px solid var(--clay); outline-offset: 3px; border-radius: 2px; }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero__media img, .hero__inner .eyebrow, .hero__inner .display, .hero__inner .hero__lede,
  .hero__inner .hero__actions, .hero__scroll { animation: none !important; }
  .reveal { transition: none; }
}

/* ============================================================
   WORLD-CLASS MOBILE MENU
   ============================================================ */
.mobile-menu { padding: 0; gap: 0; justify-content: flex-start; }
.burger.open { opacity: 0; pointer-events: none; }           /* hide hamburger; use in-menu close */
.mm-top { display: flex; align-items: center; justify-content: space-between; width: 100%;
  padding: 20px var(--gutter); border-bottom: 1px solid var(--line); }
.mm-logo { height: 46px; width: auto; }
.mm-close { position: relative; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; transition: all .3s var(--ease); flex: 0 0 auto; }
.mm-close:hover { background: var(--ink); border-color: var(--ink); transform: rotate(90deg); }
.mm-close span { position: absolute; width: 20px; height: 2px; background: var(--ink); transition: background .3s; }
.mm-close span:first-child { transform: rotate(45deg); }
.mm-close span:last-child { transform: rotate(-45deg); }
.mm-close:hover span { background: var(--paper); }
.mobile-menu a:not(.mm-cta) { font-family: var(--display); font-size: clamp(1.9rem, 8vw, 2.7rem);
  color: var(--ink); width: 100%; padding: .55em var(--gutter); border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
  opacity: 0; transform: translateX(18px); transition: opacity .5s var(--ease), transform .5s var(--ease), color .3s; }
.mobile-menu a:not(.mm-cta)::after { content: "\2192"; font-family: var(--sans); font-size: 1.1rem; color: var(--clay); opacity: 0; transition: opacity .3s, transform .3s; transform: translateX(-8px); }
.mobile-menu a:not(.mm-cta):hover { color: var(--clay-dk); }
.mobile-menu a:not(.mm-cta):hover::after { opacity: 1; transform: translateX(0); }
.mobile-menu.open a:not(.mm-cta) { opacity: 1; transform: none; }
.mobile-menu.open a:nth-child(2) { transition-delay: .10s; }
.mobile-menu.open a:nth-child(3) { transition-delay: .16s; }
.mobile-menu.open a:nth-child(4) { transition-delay: .22s; }
.mobile-menu.open a:nth-child(5) { transition-delay: .28s; }
.mobile-menu.open a:nth-child(6) { transition-delay: .34s; }
.mobile-menu.open a:nth-child(7) { transition-delay: .40s; }
.mm-cta { margin: auto var(--gutter) calc(env(safe-area-inset-bottom, 0px) + 32px); margin-top: auto;
  background: var(--ink); color: var(--paper); text-align: center; padding: 1.05em 1.5em; border-radius: var(--radius);
  font-size: .82rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease) .46s, transform .5s var(--ease) .46s, background .3s; }
.mm-cta:hover { background: var(--clay); color: #fff; }
.mobile-menu.open .mm-cta { opacity: 1; transform: none; }

/* ============================================================
   EMAAR-LEVEL: timeline, founder note, statement, roadmap, newsletter
   ============================================================ */

/* Animated timeline */
.timeline { position: relative; max-width: 920px; margin-inline: auto; }
.timeline__track { position: absolute; left: 27px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline__fill { position: absolute; left: 27px; top: 8px; width: 2px; height: 0; background: linear-gradient(var(--clay), var(--teal)); z-index: 1; }
.tl-item { position: relative; padding: 0 0 clamp(34px, 5vw, 58px) 82px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-node { position: absolute; left: 8px; top: -4px; width: 40px; height: 40px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--line); display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-size: .95rem; color: var(--muted); z-index: 2; transition: all .5s var(--ease); }
.tl-item.in .tl-node { border-color: var(--clay); color: var(--clay-dk); background: var(--stone); transform: scale(1.08); }
.tl-item .tl-tag { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--clay-dk); }
.tl-item h3 { font-size: clamp(1.4rem, 2.4vw, 1.95rem); margin-top: 6px; }
.tl-item p { color: var(--muted); margin-top: 10px; max-width: 62ch; }
.tl-item { opacity: .45; transition: opacity .6s var(--ease); }
.tl-item.in { opacity: 1; }

/* Founder's note */
.founder { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(30px, 5vw, 76px); align-items: center; }
.founder__img { aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden; background: var(--stone); }
.founder__img img { width: 100%; height: 100%; object-fit: cover; }
.founder__note { font-family: var(--display); font-size: clamp(1.3rem, 2.2vw, 2rem); line-height: 1.42; color: var(--ink); font-weight: 400; }
.founder__note .lead { color: var(--clay-dk); }
.founder__sig { margin-top: 30px; }
.founder__sig .name { font-family: var(--display); font-style: italic; font-size: 1.5rem; color: var(--ink); }
.founder__sig .role { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--clay-dk); margin-top: 8px; }
@media (max-width: 820px) { .founder { grid-template-columns: 1fr; } .founder__img { max-width: 360px; } }

/* Cinematic statement interstitial */
.statement { position: relative; min-height: 74vh; display: flex; align-items: center; justify-content: center;
  text-align: center; color: var(--paper); overflow: hidden; }
.statement__bg { position: absolute; inset: -8% 0; z-index: -2; will-change: transform; }
.statement__bg img { width: 100%; height: 100%; object-fit: cover; }
.statement::after { content: ""; position: absolute; inset: 0; background: rgba(15,18,20,.62); z-index: -1; }
.statement .eyebrow { color: var(--sand); justify-content: center; }
.statement .eyebrow::before { background: var(--sand); }
.statement .q { font-family: var(--display); font-size: clamp(2rem, 5.2vw, 4.2rem); line-height: 1.08; max-width: 17ch; margin: 22px auto 0; }

/* Roadmap */
.roadmap { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 2.4vw, 34px); }
.rm { border-top: 2px solid rgba(246,242,234,.25); padding-top: 22px; }
.rm .phase { font-family: var(--display); font-size: .95rem; color: var(--gold); letter-spacing: .06em; }
.rm h3 { color: var(--paper); font-size: 1.25rem; margin-top: 12px; }
.rm p { color: rgba(246,242,234,.82); font-size: .92rem; margin-top: 10px; }
.rm:first-child { border-top-color: var(--gold); }
@media (max-width: 760px) { .roadmap { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .roadmap { grid-template-columns: 1fr; } }

/* Newsletter */
.newsletter { display: flex; gap: 12px; max-width: 540px; margin-top: 30px; flex-wrap: wrap; }
.newsletter input { flex: 1; min-width: 220px; padding: 15px 18px; border: 1px solid rgba(246,242,234,.35);
  background: rgba(255,255,255,.06); color: var(--paper); border-radius: var(--radius); font-family: inherit; font-size: 1rem; }
.newsletter input::placeholder { color: rgba(246,242,234,.6); }
.newsletter input:focus { outline: none; border-color: var(--gold); }
.newsletter button { background: var(--paper); color: var(--ink); border-radius: var(--radius); padding: 0 1.6em;
  font-size: .82rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; transition: all .35s var(--ease); }
.newsletter button:hover { background: var(--gold); }
.nl-note { display: none; margin-top: 16px; color: var(--sand); font-size: .95rem; }
