/* ==========================================================================
   Cybercity Stone Ridge — Landing page
   Palette & type from the Stone Ridge brand guidelines
   ========================================================================== */

:root {
  /* brand */
  --green: #256367;      /* Stone Ridge Green */
  --deep: #12302f;       /* immersive sections (derived from Green) */
  --deeper: #0b2221;
  --sand: #b09c82;       /* Sand Stone */
  --sand-d: #85704f;     /* Sand Stone, text-safe on beige */
  --sand-l: #e4d5bb;
  --leaf: #b4cc89;       /* Leaf Green */
  --aqua: #55abbe;       /* Aqua Blue */
  --grey: #5a5a5a;       /* Grey */
  --beige: #ffffff;       /* page + light text (cream retired) */
  --paper: #f3f6f5;       /* soft green-grey tint for alternation */
  --ink: #1c2726;
  --ink-2: #4b5654;
  --line: rgba(28, 39, 38, .14);
  --line-l: rgba(255, 255, 255, .2);

  /* Brand display face is Nusar (licensed). Free match until the file is added — see README. */
  --f-display: "Lexend", "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Montserrat", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(20px, 4.4vw, 72px);
  --maxw: 1380px;
  --header-h: 116px;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--beige);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
p { margin: 0; }
h1, h2, h3, h4, h5 { margin: 0; font-weight: 400; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
em { font-style: normal; }
::selection { background: var(--leaf); color: var(--deep); }
:focus-visible { outline: 2px solid var(--aqua); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(100% - var(--gutter) * 2, var(--maxw)); margin-inline: auto; }

/* ---------- type ---------- */
.h2 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(2.1rem, 4.1vw, 4.3rem);
  line-height: 1.06;
  letter-spacing: -.03em;
}
.h3 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(1.8rem, 2.8vw, 2.7rem);
  line-height: 1.08;
  letter-spacing: -.025em;
}
.h2 em, .h3 em, .hero__title em { font-style: normal; }
.line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; text-wrap: balance; }
h1, h2, h3, h4, .exp-q, .exp-bridge, .visit__line, .morning__line, .arch__lead, .pebble__big, .offer__big, .hero__sub, .chapter p { text-wrap: balance; }
.line__in { display: block; will-change: transform; }

.eyebrow, .section-tag {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .26em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.eyebrow--light { color: rgba(255, 255, 255, .86); }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--leaf); box-shadow: 0 0 0 5px rgba(180, 204, 137, .18); }
.section-tag { color: var(--green); margin-bottom: clamp(24px, 3vw, 40px); }
.section-tag i {
  font-family: var(--f-display);
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0;
  color: var(--sand-d);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-transform: none;
}
.section-tag i::after { content: ""; width: 44px; height: 1px; background: currentColor; opacity: .6; }
.section-tag--light { color: var(--sand-l); }
.section-tag--light i { color: var(--leaf); }

.fine { font-size: 11.5px; line-height: 1.6; color: var(--ink-2); opacity: .8; margin-top: 18px; }
.fine--light { color: rgba(255, 255, 255, .6); }

/* ---------- paper & dark grounds ---------- */
.paper { position: relative; background: var(--beige); }
.dark { position: relative; background: var(--deep); color: var(--beige); }
.paper > *, .dark > * { position: relative; z-index: 1; }

/* ---------- buttons & links ---------- */
.btn {
  --bg: var(--green);
  --fg: var(--beige);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 17px 28px;
  border-radius: 999px;
  background: var(--bg);
  color: var(--fg);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  transition: color .5s var(--ease), box-shadow .5s var(--ease);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--hover, var(--deep));
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform .6s var(--ease-out);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { color: var(--hover-fg, var(--beige)); }
.btn__ic { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .5s var(--ease-out); }
.btn:hover .btn__ic { transform: translateX(4px); }
.btn--light { --bg: #fff; --fg: var(--deep); --hover: var(--leaf); --hover-fg: var(--deep); }
.btn--dark { --bg: var(--green); --fg: var(--beige); --hover: var(--deep); }
.btn--leaf { --bg: var(--leaf); --fg: var(--deep); --hover: var(--beige); --hover-fg: var(--deep); }
.btn--ghost { --bg: transparent; --fg: currentColor; --hover: var(--beige); --hover-fg: var(--deep); box-shadow: inset 0 0 0 1px currentColor; }
.btn--sm { padding: 13px 20px; font-size: 11px; }
.btn--block { width: 100%; }

.link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--green);
  padding: 6px 0;
}
.link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
  transform-origin: right;
  transition: transform .6s var(--ease-out);
}
.link:hover::after { transform: scaleX(0); }
.link--light { color: var(--beige); }

/* ==========================================================================
   Preloader
   ========================================================================== */
.loader {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background: #fff;
  will-change: transform;
}
.loader__inner { display: grid; justify-items: center; gap: 30px; }
/* the logo is unveiled from the bottom up */
.loader__logo {
  width: clamp(180px, 17vw, 260px);
  height: auto;
  clip-path: inset(100% 0 0 0);
  animation: logoIn 1s var(--ease-out) .1s forwards;
}
@keyframes logoIn { to { clip-path: inset(0 0 0 0); } }
/* runs to ~85% on its own, finishes only when the hero image is ready (.is-done) */
.loader__bar { width: clamp(140px, 12vw, 180px); height: 2px; border-radius: 2px; background: var(--line); overflow: hidden; }
.loader__bar i { display: block; height: 100%; width: 100%; background: var(--green); transform: scaleX(0); transform-origin: left; animation: bar 1.8s var(--ease-out) .2s forwards; }
@keyframes bar { to { transform: scaleX(.85); } }
.loader.is-done .loader__bar i { animation: none; transform: scaleX(1); transition: transform .35s var(--ease); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  color: var(--ink);
  transition: background .5s var(--ease), color .5s var(--ease), transform .6s var(--ease), box-shadow .5s var(--ease);
}
.topbar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 0 var(--gutter);
  height: 32px;
  background: var(--deep);
  color: var(--beige);
  letter-spacing: .04em;
}
/* TG RERA rule: RERA/permit nos. in top-right, font >= contact details */
.topbar__rera { font-size: 12.5px; font-weight: 500; text-align: right; display: flex; gap: 18px; }
.topbar__rera span + span::before { content: "·"; margin-right: 18px; opacity: .6; }

.nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 0 var(--gutter);
  height: 84px;
  transition: height .5s var(--ease);
}
.nav__links { display: flex; gap: clamp(18px, 2.4vw, 38px); }
.nav__links a {
  position: relative;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  padding: 8px 0;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease-out);
}
.nav__links a:hover::after, .nav__links a.is-current::after { transform: scaleX(1); }
.nav__right { display: flex; align-items: center; justify-content: flex-end; gap: 22px; }
.nav__logo { position: relative; justify-self: start; width: clamp(122px, 10.5vw, 150px); display: block; }
.nav__logo img { width: 100%; transition: opacity .4s var(--ease); }
.nav__logo .logo--light { position: absolute; inset: 0; opacity: 0; }
.nav__burger { display: none; width: 40px; height: 40px; position: relative; }
.nav__burger span { position: absolute; left: 8px; right: 8px; height: 1.5px; background: currentColor; transition: transform .4s var(--ease), top .4s var(--ease); }
.nav__burger span:first-child { top: 15px; }
.nav__burger span:last-child { top: 24px; right: 16px; }

.site-header.is-scrolled { background: rgba(255, 255, 255, .9); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 1px 0 var(--line); }
.site-header.is-scrolled .nav { height: 68px; }
.site-header.is-hidden { transform: translateY(-120px); }

/* mobile menu */
.menu {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: var(--deep);
  color: var(--beige);
  padding: calc(var(--header-h) + 30px) var(--gutter) 120px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .8s var(--ease-out);
  visibility: hidden;
}
.menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; }
.menu nav { display: grid; gap: 6px; }
.menu nav a { font-family: var(--f-display); font-size: clamp(1.8rem, 7.5vw, 2.5rem); font-weight: 500; line-height: 1.25; display: flex; align-items: baseline; gap: 16px; }
.menu nav a i { font-family: var(--f-body); font-style: normal; font-size: 11px; letter-spacing: .2em; color: var(--leaf); }
.menu__foot { font-size: 12px; opacity: .7; line-height: 1.8; }

/* ==========================================================================
   01 Hero — the brand mark opens into the place
   ========================================================================== */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: 1fr auto;
  column-gap: 24px;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--header-h) + 8px) var(--gutter) 28px;
  background: #fff;
  overflow: hidden;
}
.hero__text { grid-column: 1 / span 5; grid-row: 1; align-self: center; position: relative; z-index: 2; padding: 2vh 0; }
.hero__title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(2.6rem, 5vw, 6.2rem);
  line-height: 1.02;
  letter-spacing: -.04em;
  color: var(--deep);
}
.hero__title em { color: var(--green); }
.hero__sub { margin: 26px 0 36px; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.55; color: var(--ink-2); max-width: 24em; }
/* the two facts a buyer scans for */
.hero__sub b { font-weight: 700; font-style: italic; color: var(--deep); white-space: nowrap; }

.hero__proof {
  grid-column: 1 / span 5;
  grid-row: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  padding-top: 22px;
  margin-bottom: clamp(8px, 2vh, 24px);
  position: relative; z-index: 2;
}
.hero__proof li { padding-right: 12px; }
.hero__proof b { display: block; font-family: var(--f-display); font-weight: 400; font-size: clamp(24px, 2.1vw, 32px); line-height: 1; letter-spacing: -.02em; color: var(--deep); white-space: nowrap; }
.hero__proof span { display: block; margin-top: 10px; font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); line-height: 1.45; }

/* the project itself, large: towers around the central pools */
.hero__visual { grid-column: 6 / -1; grid-row: 1 / -1; position: relative; padding-left: clamp(8px, 2vw, 32px); }
.hero__panel {
  position: relative;
  height: 100%;
  min-height: 520px;
  border-radius: 28px;
  overflow: hidden;
  container-type: size;
}
.hero__clip { position: absolute; inset: 0; overflow: hidden; will-change: clip-path; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 46% 55%; will-change: transform; }
/* the logo mark, sized to the panel; on load the photo shows through it, then it opens out */
.hero__mark { position: absolute; z-index: 1; left: 50%; top: 50%; width: 62cqmin; height: 62cqmin; translate: -50% -50%; opacity: 0; pointer-events: none; overflow: visible; }
.hm-mask { fill: #fff; }
.hm-frame { fill: var(--green); }

.film-badge {
  position: absolute; z-index: 3; right: 22px; bottom: 22px;
  width: 118px; height: 118px; border-radius: 50%;
  display: grid; place-items: center;
  background: #fff;
  box-shadow: 0 18px 44px -18px rgba(11, 34, 33, .45);
}
.film-badge__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.film-badge__ring text { font-family: var(--f-body); font-size: 10.4px; font-weight: 700; letter-spacing: .1em; fill: var(--deep); }
.film-badge__play { width: 54px; height: 54px; border-radius: 50%; background: var(--green); display: grid; place-items: center; transition: transform .5s var(--ease-out), background .4s; }
.film-badge__play svg { width: 18px; height: 18px; fill: #fff; margin-left: 3px; }
.film-badge:hover .film-badge__play { transform: scale(1.12); background: var(--deep); }
@keyframes spin { to { transform: rotate(360deg); } }



/* ==========================================================================
   02 Experience
   ========================================================================== */
.experience { padding-top: clamp(110px, 13vw, 190px); }
.exp-intro {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: clamp(30px, 4vw, 60px);
}

.exp-q {
  max-width: 16em;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(2.2rem, 5vw, 5.4rem);
  line-height: 1.12;
  letter-spacing: -.04em;
  color: var(--deep);
}
.exp-q em { color: var(--green); }

/* two ways to get to a resort */
.contrast {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  max-width: 1080px;
  margin-top: clamp(70px, 9vw, 130px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.contrast__col { display: flex; flex-direction: column; align-items: center; padding: clamp(34px, 4.4vw, 64px) clamp(16px, 3vw, 48px); }
.contrast__col + .contrast__col { border-left: 1px solid var(--line); }
.contrast__head { height: 64px; display: flex; align-items: center; justify-content: center; }
.contrast__label { font-size: 12px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: #8a9391; }
.contrast__logo { width: 150px; height: auto; }
.contrast__big { margin-top: 22px; font-family: var(--f-display); font-weight: 500; font-size: clamp(2.2rem, 4vw, 4rem); line-height: 1.05; letter-spacing: -.045em; }
.contrast__small { margin-top: 14px; font-size: 15.5px; color: var(--ink-2); }
.contrast__col--away .contrast__big { color: #a8afae; }
.contrast__col--away .contrast__small { color: #8a9391; }
.contrast__col--here { background: var(--paper); }
.contrast__col--here .contrast__big { color: var(--green); }
.strike { position: relative; display: inline-block; }
.strike::after {
  content: ""; position: absolute; left: -4%; right: -4%; top: 54%;
  height: 3px; border-radius: 3px; background: var(--sand);
  transform: scaleX(0); transform-origin: left;
  transition: transform 1s var(--ease-out) .5s;
}
.contrast.is-on .strike::after { transform: scaleX(1); }

.exp-bridge {
  max-width: 26em;
  margin-top: clamp(56px, 7vw, 96px);
  font-family: var(--f-display);
  font-size: clamp(1.2rem, 1.7vw, 1.6rem);
  line-height: 1.4;
  letter-spacing: -.015em;
  color: var(--deep);
}

/* chapters */
.chapters { position: relative; }
.chapters__pin { position: relative; height: 100vh; overflow: hidden; }
.wrap-l { padding-left: var(--gutter); }
.chapters__text {
  position: absolute;
  z-index: 3;
  left: 0; top: 0; bottom: 0;
  width: 42%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 3vw;
}
.chapters__nav { display: flex; align-items: center; gap: 26px; margin-bottom: 48px; }
.chapters__mark { width: 62px; height: 62px; flex: none; }
.cm-frame { fill: var(--green); }
.cm-zone path { fill: #e4e9e8; transition: fill .7s var(--ease); }
.chapters__mark[data-zone="stone"] .cm-zone--stone path { fill: var(--sand); }
.chapters__mark[data-zone="leaf"] .cm-zone--leaf path { fill: var(--leaf); }
.chapters__mark[data-zone="water"] .cm-zone--water path { fill: var(--aqua); }
.chapters__index { display: flex; gap: 26px; }
.chapters__index li {
  display: flex; align-items: center; gap: 10px;
  font-size: 11.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: rgba(28, 39, 38, .38);
  padding-bottom: 12px;
  position: relative;
  transition: color .5s var(--ease);
}
.chapters__index li::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease-out); }
.chapters__index li.is-active { color: var(--green); }
.chapters__index li.is-active::after { transform: scaleX(1); }
.chapters__copy { position: relative; min-height: 430px; }
.chapter { position: absolute; inset: 0 0 auto 0; opacity: 0; visibility: hidden; }
.chapter.is-active { opacity: 1; visibility: visible; }
.chapter h3 { font-family: var(--f-display); font-weight: 500; font-size: clamp(1.8rem, 2.7vw, 2.8rem); line-height: 1.1; letter-spacing: -.03em; color: var(--deep); }
.chapter h3 em { color: var(--green); }
.chapter p { margin-top: 24px; max-width: 34em; color: var(--ink-2); font-size: 15.5px; }
.chapter__stats { display: flex; gap: clamp(28px, 4vw, 56px); margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line); }
.chapter__stats dt { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.9rem, 2.4vw, 2.5rem); line-height: 1; color: var(--green); letter-spacing: -.02em; }
.chapter__stats dd { font-size: 10.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); margin-top: 10px; }
.chapter__img { display: none; }

.chapters__stage { position: absolute; inset: 0; z-index: 2; pointer-events: none; }

/* the logo's own line pattern, large and faint, filling the lower left */
.chapters__bg { position: absolute; z-index: 1; left: -5vw; bottom: -27vh; width: 68vh; height: 68vh; pointer-events: none; will-change: transform; }
.chapters__bg .cm-frame { fill: rgba(37, 99, 103, .075); }
.chapters__bg .cm-zone path { fill: transparent; transition: fill .9s var(--ease); }
.chapters__bg[data-zone="stone"] .cm-zone--stone path { fill: rgba(176, 156, 130, .16); }
.chapters__bg[data-zone="leaf"] .cm-zone--leaf path { fill: rgba(180, 204, 137, .2); }
.chapters__bg[data-zone="water"] .cm-zone--water path { fill: rgba(85, 171, 190, .14); }
.pebble__dim { position: absolute; inset: 0; z-index: 3; background: var(--deeper); opacity: 0; pointer-events: none; }
.pebble {
  position: absolute;
  top: 11vh;
  right: 4vw;
  width: 52vw;
  height: 78vh;
  overflow: hidden;
  --r: 58% 42% 47% 53% / 52% 45% 55% 48%;
  border-radius: var(--r);
  background: var(--deep);
  box-shadow: 0 40px 80px -30px rgba(11, 34, 33, .45);
  will-change: border-radius, width, height;
  transform: translateZ(0);
}
.pebble__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.12); }
.pebble__img.is-active { opacity: 1; transform: scale(1); }
.pebble__finale {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 var(--gutter) clamp(60px, 10vh, 110px);
  color: var(--beige);
  background: linear-gradient(0deg, rgba(11, 34, 33, .78) 0%, rgba(11, 34, 33, .1) 55%, rgba(11, 34, 33, 0) 100%);
  opacity: 0;
}
.pebble__big { font-family: var(--f-display); font-weight: 500; font-size: clamp(2.2rem, 4.8vw, 5.2rem); line-height: 1.04; letter-spacing: -.025em; max-width: 13ch; }
.pebble__big em { color: var(--leaf); }
.pebble__small { margin-top: 22px; max-width: 36em; font-size: 15px; color: rgba(255, 255, 255, .85); }


/* ==========================================================================
   03 Lifestyle
   ========================================================================== */
.lifestyle { padding: clamp(110px, 11vw, 170px) 0 clamp(70px, 8vw, 120px); }
/* desktop: Lifestyle rises over the pinned lawn image like a sheet (class set by main.js) */
.has-stack .lifestyle { margin-top: -100vh; z-index: 3; border-radius: 64px 64px 0 0; }
.life-head { display: grid; gap: 0; }
.life-head .section-tag { grid-column: 1 / -1; margin-bottom: 0; }
.life-head__note { color: rgba(255, 255, 255, .74); font-size: 15.5px; padding-bottom: 12px; border-left: 1px solid var(--line-l); padding-left: 22px; }
.life-head .h2 em { color: var(--leaf); }

.hscroll { position: relative; margin-top: clamp(50px, 6vw, 90px); }
.hscroll__track {
  display: flex;
  gap: clamp(22px, 2.4vw, 40px);
  padding: 0 var(--gutter);
  width: max-content;
  will-change: transform;
}
.exp-card { width: clamp(280px, 26vw, 400px); flex: none; }
.exp-card:nth-child(even) { margin-top: clamp(30px, 7vh, 80px); }
.exp-card__img {
  height: clamp(300px, 46vh, 470px);
  overflow: hidden;
  border-radius: 180px 10px 180px 10px;
  background: var(--deeper);
}
.exp-card:nth-child(even) .exp-card__img { border-radius: 10px 180px 10px 180px; }
.exp-card__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.4s var(--ease-out); }
.exp-card:hover .exp-card__img img { transform: scale(1.12); }
.exp-card__body { padding-top: 24px; position: relative; }
.exp-card h3 { font-family: var(--f-display); font-weight: 500; font-size: clamp(1.5rem, 1.8vw, 1.9rem); line-height: 1.15; letter-spacing: -.02em; margin-top: 6px; }
.exp-card p { font-size: 15px; color: rgba(255, 255, 255, .78); margin-top: 6px; }
.exp-card ul { display: flex; flex-wrap: wrap; gap: 6px 8px; margin-top: 16px; }
.exp-card li { font-size: 10.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--sand-l); padding: 7px 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(228, 213, 187, .26); }
.hscroll__end { flex: none; width: clamp(320px, 34vw, 520px); display: flex; flex-direction: column; justify-content: center; gap: 30px; padding: 0 6vw 0 2vw; }
.hscroll__end p { font-family: var(--f-display); font-weight: 500; font-size: clamp(1.7rem, 2.2vw, 2.3rem); line-height: 1.15; letter-spacing: -.02em; }
.hscroll__end em { color: var(--leaf); }
.hscroll__end .btn { align-self: flex-start; }
.hscroll__meta { display: flex; justify-content: center; margin-top: 54px; }
.hscroll__bar { position: relative; width: min(380px, 64vw); height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .14); }
.hscroll__bar i { position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--p, 0) * 100%); border-radius: inherit; background: linear-gradient(90deg, rgba(180, 204, 137, .35), var(--leaf)); }
.hscroll__bar i::after { content: ""; position: absolute; right: -5px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: var(--leaf); box-shadow: 0 0 0 5px rgba(180, 204, 137, .18), 0 0 18px rgba(180, 204, 137, .6); }

/* club */
/* its own light ground, so the page doesn't run dark from Lifestyle to Architecture */
.clubhouse { position: relative; background: var(--paper); color: var(--ink); padding: clamp(80px, 9vw, 130px) 0; }
.club {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(40px, 6vw, 110px);
  align-items: center;
}
.club__info .h3 { font-size: clamp(2rem, 3.4vw, 3.4rem); color: var(--deep); }
.club__info .h3 em { color: var(--green); }
.club__lead { margin-top: 20px; color: var(--ink-2); max-width: 26em; }

/* elevator display: floor number + what's on it */
.club__display { display: flex; align-items: flex-start; gap: clamp(20px, 2.4vw, 32px); margin-top: clamp(36px, 5vh, 60px); padding-top: 30px; border-top: 1px solid var(--line); min-height: 210px; }
.club__floor { position: relative; flex: none; width: clamp(118px, 9.5vw, 150px); aspect-ratio: 1; border-radius: 28px; display: grid; place-items: center; overflow: hidden; background: var(--deep); box-shadow: 0 18px 40px -22px rgba(11, 34, 33, .5); }
.club__num { font-family: var(--f-display); font-weight: 500; font-size: clamp(60px, 5.4vw, 88px); line-height: 1; letter-spacing: -.04em; color: var(--leaf); }
.club__arrow { position: absolute; top: 14px; left: 50%; width: 0; height: 0; margin-left: -6px; border: 6px solid transparent; border-bottom: 8px solid var(--leaf); border-top: 0; opacity: .35; transition: opacity .3s, transform .3s; }
.club__arrow.is-moving { opacity: 1; }
.club__arrow.is-down { transform: rotate(180deg); }
.club__now { padding-top: 6px; }
.club__name { font-family: var(--f-display); font-weight: 500; font-size: clamp(1.4rem, 1.9vw, 1.9rem); line-height: 1.15; letter-spacing: -.025em; color: var(--deep); }
.club__amen { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.club__amen li { font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--green); padding: 8px 13px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px rgba(37, 99, 103, .18); }
.club__stats { display: flex; gap: clamp(28px, 4vw, 56px); margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line); }
.club__stats dt { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.9rem, 2.4vw, 2.5rem); line-height: 1; letter-spacing: -.03em; color: var(--deep); }
.club__stats dd { margin-top: 10px; font-size: 10.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); }

/* the building, with a spotlight that rides from floor to floor */
.club__stack { display: flex; }
.club__frame { position: relative; height: min(80vh, 760px); aspect-ratio: 1400 / 1834; overflow: hidden; border-radius: 220px 220px 24px 24px; background: var(--deeper); }
.club__frame img { width: 100%; height: 100%; object-fit: cover; }
.club__band {
  position: absolute; left: 6%; right: 6%;
  top: var(--top); height: var(--h);
  border-radius: 8px;
  box-shadow: 0 0 0 2000px rgba(11, 34, 33, .3), inset 0 0 0 1.5px var(--leaf), 0 0 28px rgba(180, 204, 137, .35);
  background: rgba(180, 204, 137, .1);
  pointer-events: none;
  transition: top .8s var(--ease-out), height .8s var(--ease-out);
}
.club__dir { position: relative; width: 210px; margin-left: 26px; }
.levels li { position: absolute; left: 0; right: 0; top: calc(var(--top) + var(--h) / 2); translate: 0 -50%; }
.levels li::before { content: ""; position: absolute; left: -26px; top: 50%; width: 16px; height: 1px; background: var(--line); transition: background .4s, width .4s; }
.levels button { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; }
.lv { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-display); font-size: 14px; color: var(--ink-2); box-shadow: inset 0 0 0 1px rgba(28, 39, 38, .2); transition: background .4s var(--ease), color .4s, box-shadow .4s; }
.lt { font-size: 13px; font-weight: 500; color: rgba(28, 39, 38, .5); transition: color .4s; white-space: nowrap; }
.levels button:hover .lt { color: var(--ink); }
.levels li.is-active::before { background: var(--green); width: 22px; }
.levels li.is-active .lv { background: var(--green); color: #fff; box-shadow: none; }
.levels li.is-active .lt { color: var(--deep); }

/* ==========================================================================
   04 Architecture
   ========================================================================== */
.architecture { position: relative; background: var(--beige); }
.sg__inner {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(26px, 4.5vh, 50px);
  padding: var(--header-h) 0 clamp(40px, 6vh, 72px);
  overflow: hidden;
  color: #fff;
  background: var(--deep);
}
.sg__head { display: grid; grid-template-columns: auto minmax(0, 520px); justify-content: space-between; gap: 30px clamp(48px, 7vw, 140px); align-items: end; }
.sg__head .h2 .line { white-space: nowrap; }
.sg__head .h2 { font-size: clamp(2rem, 3.4vw, 3.6rem); }
.sg__head .h2 em { color: var(--leaf); }
.sg__lead { font-size: 15.5px; color: rgba(255, 255, 255, .78); padding-bottom: .4em; }
.sg__lead b { color: #fff; font-weight: 600; }

/* Stone Ridge's own render, sized to share one screen with the head; main.js opens it on scroll */
.sg-home {
  --sgw: min(calc(100vw - var(--gutter) * 2), var(--maxw), calc((100vh - 360px) * 2.2));
  position: relative;
  flex: none;
  width: var(--sgw);
  aspect-ratio: 2.2;
  margin: 0 auto;
  border-radius: 28px;
  overflow: hidden;
  background: var(--deeper);
  isolation: isolate;
}
.sg-home img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 49.4%; will-change: transform; }
.sg-home::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(11, 34, 33, .82), rgba(11, 34, 33, .35) 20%, rgba(11, 34, 33, 0) 40%); pointer-events: none; }
.sg-tag { position: absolute; z-index: 2; left: clamp(18px, 2vw, 30px); bottom: clamp(16px, 1.8vw, 26px); display: grid; gap: 4px; font-family: var(--f-display); font-weight: 500; font-size: clamp(17px, 1.6vw, 24px); line-height: 1.2; letter-spacing: -.01em; color: #fff; white-space: nowrap; text-shadow: 0 1px 12px rgba(11, 34, 33, .6); }
.sg-tag span { font-family: var(--f-body); font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--leaf); }

.arch {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1fr);
  gap: clamp(50px, 7vw, 120px);
  align-items: center;
  padding: clamp(80px, 9vw, 130px) 0;
}
/* the whole tower, crown to podium, in the brand's arch */
.arch__tall { width: min(100%, 600px); aspect-ratio: 1140 / 1580; overflow: hidden; border-radius: 999px 999px 24px 24px; }
.arch__tall img, .morning__view img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.arch__list .h2 { color: var(--deep); }
.arch__list .h2 em { color: var(--green); }
.arch__lead { margin-top: 22px; max-width: 30em; font-size: clamp(16px, 1.2vw, 18px); line-height: 1.55; color: var(--ink-2); }
.principles { margin-top: clamp(30px, 3.4vw, 44px); }
.principles li { display: grid; grid-template-columns: 54px 1fr; gap: 10px; padding: 24px 0; border-top: 1px solid var(--line); }
.principles li > span { font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--sand-d); line-height: 2.1; }
.principles h3 { font-family: var(--f-display); font-weight: 500; font-size: 20px; line-height: 1.25; color: var(--deep); }
.principles p { margin-top: 8px; color: var(--ink-2); font-size: 15px; }
.credits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px 30px; margin-top: 40px; padding: 28px 30px; background: var(--paper); border-radius: 22px; box-shadow: inset 0 0 0 1px var(--line); }
.credits li { font-family: var(--f-display); font-size: 17px; line-height: 1.3; color: var(--deep); }
.credits span { display: block; font-family: var(--f-body); font-size: 10.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--sand-d); margin-bottom: 4px; }

/* ==========================================================================
   04b IGBC Gold — a seal on the seam between Architecture and Residences
   ========================================================================== */
/* white above, the Residences tint below: the card always sits across the join */
.igbc { position: relative; background: linear-gradient(var(--beige) 50%, var(--paper) 50%); }
.igbc__card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: center;
  gap: 24px clamp(36px, 4.4vw, 72px);
  padding: clamp(40px, 4.2vw, 60px) clamp(32px, 4.6vw, 72px);
  border-radius: 32px;
  color: #fff;
  /* a soft gold glow behind the seal */
  background: radial-gradient(ellipse 30% 80% at 12% 50%, rgba(228, 213, 187, .14), rgba(228, 213, 187, 0)), var(--deep);
  box-shadow: 0 50px 100px -60px rgba(11, 34, 33, .6);
}
/* tilted (main.js turns it from -2° to -22° as the card passes), so the square never reads as a panel edge */
.igbc__mark { position: absolute; z-index: -1; right: -9%; top: -36%; width: clamp(420px, 40vw, 600px); height: auto; aspect-ratio: 1; rotate: -12deg; pointer-events: none; will-change: transform; }
.mk-frame { fill: rgba(255, 255, 255, .045); }
.mk-leaf path { fill: rgba(180, 204, 137, .05); transition: fill 1.8s var(--ease) .5s; }
.igbc.is-on .mk-leaf path { fill: rgba(180, 204, 137, .24); }

/* the seal: certification text turning round a brushed-gold disc */
.igbc__seal { position: relative; width: clamp(150px, 14vw, 206px); aspect-ratio: 1; display: grid; place-items: center; container-type: inline-size; }
.igbc__ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; animation: spin 40s linear infinite; }
.igbc__ring text { font-family: var(--f-body); font-size: 10.5px; font-weight: 700; fill: var(--sand-l); }
.igbc__line { fill: none; stroke: rgba(228, 213, 187, .38); stroke-width: 1; stroke-dasharray: 1; }
.igbc__disc {
  position: relative;
  width: 67%;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  display: grid;
  place-content: center;
  justify-items: center;
  color: var(--deep);
  background:
    radial-gradient(circle at 32% 24%, rgba(255, 255, 255, .6), rgba(255, 255, 255, 0) 48%),
    conic-gradient(from 210deg, #efe4cb, #c7ae85, #f3ead6, #ad9369, #e6d7bc, #bea37a, #efe4cb);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45), inset 0 -10px 22px rgba(133, 112, 79, .35), 0 22px 44px -18px rgba(0, 0, 0, .55);
}
/* an engraved inner ring */
.igbc__disc::before { content: ""; position: absolute; inset: 7%; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(18, 48, 47, .22), 0 0 0 1px rgba(255, 255, 255, .35); }
/* light runs across the gold once it lands, and again on hover */
.igbc__disc::after { content: ""; position: absolute; inset: -20%; background: linear-gradient(115deg, rgba(255, 255, 255, 0) 38%, rgba(255, 255, 255, .75) 50%, rgba(255, 255, 255, 0) 62%); transform: translateX(-110%); }
.igbc.is-on .igbc__disc::after { animation: sheen 1.6s var(--ease) 1s both; }
.igbc__seal:hover .igbc__disc::after { animation: sheen-again 1.2s var(--ease) both; }
@keyframes sheen { to { transform: translateX(110%); } }
@keyframes sheen-again { from { transform: translateX(-110%); } to { transform: translateX(110%); } }
.igbc__k { position: relative; font-size: max(8px, 5.2cqi); font-weight: 700; letter-spacing: .34em; margin-right: -.34em; line-height: 1; opacity: .78; }
.igbc__g { position: relative; margin-top: .14em; font-family: var(--f-display); font-weight: 500; font-size: 21cqi; line-height: 1; letter-spacing: -.03em; }

.igbc__title { font-size: clamp(2rem, 3.3vw, 3.4rem); }
.igbc__title .line { white-space: nowrap; }
.igbc__title em { color: var(--sand-l); }
.igbc__copy { padding-left: clamp(22px, 2vw, 32px); border-left: 1px solid var(--line-l); text-wrap: pretty; font-size: clamp(15px, 1.1vw, 16.5px); line-height: 1.65; color: rgba(255, 255, 255, .78); }
.igbc__copy b { color: #fff; font-weight: 600; }

/* ==========================================================================
   05 Homes
   ========================================================================== */
.homes { background: var(--paper); padding: clamp(80px, 9vw, 130px) 0 clamp(90px, 10vw, 140px); }
.homes__quote { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 20px 40px; }
.homes__quote .section-tag { grid-column: 1 / -1; margin-bottom: 0; }
.homes__quote .h2 { color: var(--deep); }
.homes__quote .h2 em { color: var(--green); }
.homes__thought { font-family: var(--f-display); font-size: clamp(1.1rem, 1.5vw, 1.4rem); color: var(--sand-d); max-width: 14em; text-align: right; padding-bottom: 14px; }

.homes__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(40px, 5.5vw, 100px); margin-top: clamp(50px, 6vw, 84px); align-items: stretch; }
/* the photo sets the height (never taller than the screen); the plan card fills what's left beside it */
.homes__config { display: flex; flex-direction: column; }
.gallery__frame { position: relative; aspect-ratio: 4 / 3.5; max-height: calc(100vh - 250px); overflow: hidden; border-radius: 280px 22px 22px 22px; background: var(--paper); }
.gallery__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity 1.1s var(--ease), transform 2.4s var(--ease-out); }
.gallery__frame img.is-active { opacity: 1; transform: scale(1); }
.gallery__nav { display: flex; align-items: center; gap: 16px; margin-top: 20px; }
.gallery__label { font-family: var(--f-display); font-size: 17px; color: var(--deep); margin-right: auto; }
.gallery__count { font-size: 12px; letter-spacing: .2em; color: var(--ink-2); margin-right: 8px; }
.gallery__count b { color: var(--deep); }
.gallery__btn { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line); transition: background .4s var(--ease), color .4s; }
.gallery__btn:hover { background: var(--green); color: var(--beige); box-shadow: none; }
.gallery__btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* three equal cards: the configuration big, its size range under it */
.tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.tabs button {
  position: relative;
  display: grid;
  align-content: start;
  gap: 7px;
  padding: 18px 20px 17px;
  border-radius: 18px;
  text-align: left;
  color: var(--deep);
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: background .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease);
}
.tabs button b { padding-right: 22px; font-family: var(--f-display); font-weight: 500; font-size: clamp(20px, 1.75vw, 27px); line-height: 1.05; letter-spacing: -.025em; }
.tabs button span { font-size: 12.5px; line-height: 1.4; color: var(--ink-2); transition: color .4s var(--ease); }
/* a radio dot, so the cards read as a choice */
.tabs button::after { content: ""; position: absolute; top: 19px; right: 18px; width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(28, 39, 38, .28); transition: box-shadow .4s var(--ease), background .4s var(--ease); }
.tabs button:hover { box-shadow: inset 0 0 0 1px var(--green); }
.tabs button[aria-selected="true"] { background: var(--deep); color: #fff; box-shadow: 0 20px 40px -24px rgba(11, 34, 33, .6); }
.tabs button[aria-selected="true"] span { color: var(--leaf); }
.tabs button[aria-selected="true"]::after { background: var(--leaf); box-shadow: inset 0 0 0 3px var(--deep), 0 0 0 1.5px var(--leaf); }
.tabpanel { margin-top: 26px; }
.tabpanel.is-active { animation: fadeUp .7s var(--ease-out) both; }
.tabpanel[hidden] { display: none; }
.tabpanel { opacity: 1; }
.cfg__desc { color: var(--ink-2); font-size: 15px; max-width: 34em; }
.sizes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.sizes button { padding: 10px 16px; border-radius: 999px; font-size: 13px; font-weight: 500; box-shadow: inset 0 0 0 1px var(--line); transition: background .3s, color .3s, box-shadow .3s; }
.sizes button::after { content: " sq.ft."; font-size: 11px; opacity: .6; }
.sizes button.is-active, .sizes button:hover { background: var(--deep); color: var(--beige); box-shadow: none; }

.plan { position: relative; flex: 1 1 auto; min-height: 220px; margin-top: 24px; border-radius: 22px; overflow: hidden; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.plan img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 18px; filter: blur(7px) saturate(.7); transform: scale(1.04); transition: filter .8s var(--ease), opacity .4s var(--ease); }
.plan__lock { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; text-align: center; background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .92) 0%, rgba(255, 255, 255, .55) 60%, rgba(255, 255, 255, .2) 100%); padding: 20px; }
.plan__lock svg { width: 30px; height: 30px; fill: none; stroke: var(--green); stroke-width: 1.4; }
.plan__lock p { font-family: var(--f-display); font-size: 19px; color: var(--deep); max-width: 14em; line-height: 1.25; }
.plan.is-unlocked img { filter: none; transform: none; cursor: zoom-in; }
.plan.is-unlocked .plan__lock { display: none; }

.specs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0 28px; margin-top: clamp(70px, 8vw, 110px); padding-top: 26px; border-top: 1px solid var(--line); }
.specs li { font-size: 13px; color: var(--ink-2); line-height: 1.5; }
.specs b { display: block; font-family: var(--f-display); font-weight: 500; font-size: clamp(16px, 1.3vw, 19px); color: var(--deep); margin-bottom: 4px; }

.morning {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  height: min(560px, 64vh);
  min-height: 440px;
  margin-top: clamp(70px, 8vw, 110px);
  border-radius: 28px;
  overflow: hidden;
  background: var(--deep);
  box-shadow: 0 40px 80px -48px rgba(11, 34, 33, .45);
}
.morning__img { height: 100%; }
.morning__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.morning__panel { display: flex; flex-direction: column; justify-content: space-between; gap: 28px; padding: clamp(32px, 3.4vw, 52px); color: #fff; }
.morning__line { font-family: var(--f-display); font-weight: 500; font-size: clamp(1.9rem, 3vw, 3.1rem); line-height: 1.1; letter-spacing: -.035em; }
.morning__line em { color: var(--leaf); }
.morning__view { flex: 1; min-height: 160px; overflow: hidden; border-radius: 18px; }

/* ==========================================================================
   06 Location
   ========================================================================== */
.location { position: relative; background: #fff; padding: clamp(80px, 9vw, 130px) 0 clamp(100px, 9vw, 130px); }
.loc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(40px, 5vw, 90px); align-items: stretch; }
.loc .h2 { color: var(--deep); font-size: clamp(2rem, 3.3vw, 3.5rem); }
.loc .h2 em { color: var(--green); }
.loc__lead { margin-top: 26px; color: var(--ink-2); max-width: 32em; }
.loc__filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 34px; }
.loc__filters button { padding: 10px 16px; border-radius: 999px; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-2); transition: background .3s, color .3s; }
.loc__filters button.is-active, .loc__filters button:hover { background: var(--green); color: var(--beige); box-shadow: none; }
.loc__list { margin: 22px 0 26px; display: grid; min-height: 252px; align-content: start; }
/* place · minutes, with a bar scaled to a 15-minute drive */
.loc__list li { display: grid; grid-template-columns: minmax(0, 1fr) 30% 64px; align-items: center; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--ink); animation: fadeUp .6s var(--ease-out) both; }
.loc__bar { height: 4px; border-radius: 4px; background: rgba(37, 99, 103, .1); overflow: hidden; }
.loc__bar i { display: block; height: 100%; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, var(--leaf), var(--green)); transform-origin: left; animation: grow 1s var(--ease-out) both; animation-delay: inherit; }
@keyframes grow { from { transform: scaleX(0); } }
.loc__list li b { font-family: var(--f-display); font-weight: 500; font-size: 18px; color: var(--green); white-space: nowrap; text-align: right; }
.loc__list li b small { font-family: var(--f-body); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); margin-left: 4px; }
.loc__map { position: relative; min-height: 520px; }
.map { position: absolute; inset: 0; border-radius: 28px; overflow: hidden; background: var(--paper); box-shadow: 0 40px 80px -50px rgba(11, 34, 33, .45), inset 0 0 0 1px var(--line); }
.map__frame { width: 100%; height: 100%; border: 0; display: block; }
.map__tag { position: absolute; z-index: 2; left: 18px; top: 18px; display: flex; align-items: center; gap: 12px; padding: 10px 18px 10px 10px; border-radius: 16px; background: #fff; box-shadow: 0 12px 30px -12px rgba(11, 34, 33, .35); pointer-events: none; }
.map__tag img { width: 40px; height: 40px; }
.map__tag span { display: grid; font-size: 12px; color: var(--ink-2); line-height: 1.35; }
.map__tag b { font-family: var(--f-display); font-size: 16px; font-weight: 500; color: var(--deep); }
/* the map stays a picture until asked, so scrolling the page never gets caught by it */
.map__cover { position: absolute; inset: 0; z-index: 1; display: flex; align-items: flex-end; justify-content: flex-end; padding: 18px; cursor: pointer; background: transparent; }
.map__cover span { padding: 12px 18px; border-radius: 999px; background: var(--deep); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; box-shadow: 0 12px 30px -12px rgba(11, 34, 33, .5); transition: background .3s; }
.map__cover:hover span { background: var(--green); }
.map.is-live .map__cover { display: none; }
.conv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: clamp(44px, 5vw, 70px); padding-top: 34px; border-top: 1px solid var(--line); }
.conv li { font-size: 13.5px; color: var(--ink-2); line-height: 1.55; }
.conv b { display: block; font-family: var(--f-display); font-weight: 400; font-size: clamp(2rem, 2.8vw, 2.8rem); line-height: 1.05; color: var(--deep); margin-bottom: 8px; }

/* ==========================================================================
   07 Trust + Offer
   ========================================================================== */
.trust { z-index: 2; margin-top: -48px; border-radius: 48px 48px 0 0; padding: clamp(110px, 11vw, 170px) 0 clamp(100px, 12vw, 170px); overflow: hidden; }
.trust__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 6vw, 110px); align-items: end; }
.trust .h2 em { color: var(--leaf); }
.trust__logo { display: block; width: clamp(150px, 13vw, 200px); height: auto; margin-bottom: clamp(26px, 3vw, 40px); }
.trust__lead { margin-top: 28px; color: rgba(255, 255, 255, .78); max-width: 32em; }
.trust__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.trust__stats > div { padding: 24px 0; border-top: 1px solid var(--line-l); }
.trust__stats dt { font-family: var(--f-display); font-weight: 400; font-size: clamp(2.6rem, 4vw, 4rem); line-height: 1; letter-spacing: -.03em; display: flex; align-items: baseline; gap: 6px; }
.trust__stats dt small { font-family: var(--f-body); font-size: 12px; font-weight: 600; letter-spacing: .14em; color: var(--leaf); }
.trust__stats dd { font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .6); margin-top: 10px; }

.marquee { margin-top: clamp(80px, 9vw, 130px); padding: 26px 0; border-top: 1px solid var(--line-l); border-bottom: 1px solid var(--line-l); overflow: hidden; white-space: nowrap; }
.marquee__track { display: inline-flex; align-items: center; gap: 38px; animation: marq 46s linear infinite; padding-left: 38px; }
.marquee span { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.5rem, 2.6vw, 2.6rem); color: transparent; -webkit-text-stroke: 1px var(--sand-l); }
.marquee i { width: 14px; height: 10px; border-radius: 55% 45% 50% 50% / 60% 55% 45% 40%; background: var(--sand); flex: none; }
@keyframes marq { to { transform: translateX(-50%); } }

.offer { position: relative; display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 30px 60px; align-items: end; margin-top: clamp(100px, 12vw, 170px); padding: clamp(50px, 6vw, 90px) clamp(30px, 5vw, 80px); border-radius: 36px; background: linear-gradient(135deg, rgba(37, 99, 103, .55), rgba(11, 34, 33, .2)); box-shadow: inset 0 0 0 1px var(--line-l); }
.offer__kicker { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px 9px 12px; border-radius: 999px; font-size: 11.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--leaf); background: rgba(180, 204, 137, .1); box-shadow: inset 0 0 0 1px rgba(180, 204, 137, .4); }
.offer__kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--leaf); box-shadow: 0 0 0 4px rgba(180, 204, 137, .22); }
.offer__big { margin-top: clamp(22px, 2.6vw, 34px); font-family: var(--f-display); font-weight: 500; font-size: clamp(2.3rem, 4.2vw, 4.7rem); line-height: 1.1; letter-spacing: -.035em; }
.offer__big .hl { white-space: nowrap; }
.offer__side .fine { text-wrap: balance; }
.hl { background: linear-gradient(var(--leaf), var(--leaf)) no-repeat 0 60% / 0% 78%; transition: background-size 1.3s var(--ease-out) .25s, color .6s var(--ease) .7s; padding: 0 .1em; margin: 0 -.1em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hl.is-on { background-size: 100% 78%; }
.offer .hl { color: var(--beige); }
.offer .hl.is-on { color: var(--deep); }
.offer__side { display: grid; gap: 22px; justify-items: start; padding-bottom: 12px; }
.offer__side > p:first-child { color: rgba(255, 255, 255, .82); font-size: 15.5px; }

/* ==========================================================================
   08 Final
   ========================================================================== */
.final { position: relative; background: var(--beige); padding-top: clamp(90px, 10vw, 150px); }
.film__pin { position: relative; overflow: hidden; }
.film__head { display: flex; flex-direction: column; }
.film__head .h2 { color: var(--deep); }
.film__head .h2 em { color: var(--green); }
.film__track { display: flex; gap: clamp(16px, 2vw, 32px); padding: clamp(40px, 5vw, 70px) var(--gutter) 10px; width: max-content; will-change: transform; }
.film__track figure { width: clamp(240px, 24vw, 380px); flex: none; }
.film__track img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 999px 999px 18px 18px; }
.film__track figure:nth-child(even) img { border-radius: 18px 18px 999px 999px; }
.film__track figure:nth-child(3n) img { border-radius: 52% 48% 44% 56% / 46% 52% 48% 54%; aspect-ratio: 1 / 1.12; margin-top: 8%; }
.film__track figcaption { margin-top: 16px; font-family: var(--f-display); font-size: 18px; color: var(--deep); display: flex; align-items: baseline; gap: 12px; }
.film__track figcaption i { font-family: var(--f-body); font-style: normal; font-size: 11px; letter-spacing: .2em; color: var(--sand-d); }
.film__track figure:not(:last-child) figcaption::after { content: "→"; margin-left: auto; color: var(--sand); font-family: var(--f-body); }

.visit { padding: clamp(70px, 8vw, 120px) 0 clamp(90px, 10vw, 140px); }
.visit__card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(440px, 560px);
  column-gap: clamp(36px, 4vw, 72px);
  border-radius: 32px;
  background: var(--deep);
  color: #fff;
  box-shadow: 0 50px 100px -60px rgba(11, 34, 33, .6);
  --mh: clamp(320px, 44vh, 420px);
}
/* the entrance, lit: the view you pull up to */
.visit__media { grid-column: 1 / -1; grid-row: 1; height: var(--mh); overflow: hidden; border-radius: 32px 32px 0 0; position: relative; }
.visit__media img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 42%; transform: scale(1.12); }
.visit__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(18, 48, 47, .55), rgba(18, 48, 47, 0) 40%); }
.visit__panel { grid-column: 1; grid-row: 2; padding: clamp(40px, 4.5vw, 64px) 0 clamp(44px, 5vw, 68px) clamp(32px, 4.5vw, 64px); }
.visit__line { font-family: var(--f-display); font-weight: 500; font-size: clamp(2rem, 3.1vw, 3.2rem); line-height: 1.12; letter-spacing: -.035em; }
.visit__line em { color: var(--leaf); }
.visit__contact { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(30px, 3.4vw, 44px); }
.visit__contact a { display: inline-flex; align-items: center; gap: 10px; padding: 13px 20px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: .1em; color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); transition: background .3s, color .3s, box-shadow .3s; }
.visit__contact a:hover { background: var(--leaf); color: var(--deep); box-shadow: none; }
.visit__contact svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
/* the form rises over the bottom edge of the photo, below the lit signs */
.visit__form { grid-column: 2; grid-row: 1 / span 2; align-self: start; position: relative; z-index: 2; margin: calc(var(--mh) - 120px) clamp(24px, 3vw, 48px) clamp(32px, 4vw, 48px) 0; color: var(--ink); }

/* Name | Email, then Mobile | Looking for; the rest runs full width */
.visit__form { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 28px; }
.visit__form > * { grid-column: 1 / -1; }
.visit__form > .field { grid-column: auto; }
.visit__form .chips { gap: 6px; flex-wrap: nowrap; }
.visit__form .chips b { padding: 9px 12px; font-size: 12px; white-space: nowrap; }

.card { background: #fff; border-radius: 28px; padding: clamp(28px, 3vw, 44px); box-shadow: 0 40px 90px -40px rgba(11, 34, 33, .35), inset 0 0 0 1px var(--line); }
.lead-form { display: grid; gap: 20px; }
.lead-form__title { font-family: var(--f-display); font-size: 26px; font-weight: 500; letter-spacing: -.02em; color: var(--deep); margin-bottom: 4px; }
.field { display: grid; gap: 6px; }
.field > span:first-child { font-size: 10.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); }
.field small { text-transform: none; letter-spacing: 0; font-weight: 400; opacity: .7; }
.field input {
  width: 100%;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(28, 39, 38, .25);
  padding: 9px 0 10px;
  border-radius: 0;
  transition: border-color .3s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.field input:focus { outline: none; border-color: var(--green); }
.field.is-error input { border-color: #b4553c; }
.field.is-error > span:first-child { color: #b4553c; }
.field__phone { display: flex; align-items: center; gap: 10px; }
.field__phone em { font-style: normal; font-size: 16px; color: var(--ink-2); padding: 9px 0 10px; border-bottom: 1px solid rgba(28, 39, 38, .25); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips b { display: inline-block; padding: 9px 15px; border-radius: 999px; font-size: 12.5px; font-weight: 500; box-shadow: inset 0 0 0 1px var(--line); transition: background .3s, color .3s; }
.chips input:checked + b { background: var(--green); color: var(--beige); box-shadow: none; }
.chips input:focus-visible + b { outline: 2px solid var(--aqua); outline-offset: 2px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 11.5px; line-height: 1.55; color: var(--ink-2); }
.consent input { margin-top: 2px; accent-color: var(--green); width: 15px; height: 15px; flex: none; }
.lead-form__ok { font-size: 14px; color: var(--green); min-height: 0; }
.lead-form__ok:empty { display: none; }
.lead-form.is-done > *:not(.lead-form__ok):not(.lead-form__title) { display: none; }
.lead-form.is-done .lead-form__ok { font-family: var(--f-display); font-size: 19px; line-height: 1.35; color: var(--deep); }
.lead-form button[disabled] { opacity: .6; pointer-events: none; }
.lead-form button[aria-busy="true"] { opacity: .85; }

/* ==========================================================================
   Footer
   ========================================================================== */
/* light ground so both logos show in their original colours; one row of essentials, then the small print */
.footer { position: relative; background: var(--paper); color: var(--ink); padding: clamp(44px, 4.4vw, 60px) 0 calc(26px + env(safe-area-inset-bottom)); }
.footer__main { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr) auto; align-items: start; gap: 24px clamp(32px, 3.6vw, 56px); }
.footer__logos { display: flex; align-items: center; }
.footer__logo--sr { width: clamp(132px, 10.4vw, 150px); }
.footer__logo--cc { width: clamp(88px, 6.9vw, 100px); margin-left: clamp(18px, 1.8vw, 26px); padding-left: clamp(18px, 1.8vw, 26px); border-left: 1px solid var(--line); box-sizing: content-box; }
.footer__h { margin-bottom: 6px; font-size: 10.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--green); }
.footer__col address, .footer__col p:not(.footer__h) { font-style: normal; font-size: 13.5px; line-height: 1.6; color: var(--ink-2); max-width: 24em; }
.footer__col a { color: var(--green); box-shadow: inset 0 -1px 0 rgba(37, 99, 103, .3); transition: box-shadow .3s; }
.footer__col a:hover { box-shadow: inset 0 -1px 0 var(--green); }

/* small print: disclaimer on the left, RERA details set quietly beside it */
.footer__base {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "disc rera" "copy rera";
  align-items: start;
  gap: 8px clamp(40px, 5vw, 80px);
  margin-top: clamp(28px, 3vw, 40px);
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.footer__disc { grid-area: disc; font-size: 11.5px; line-height: 1.7; color: var(--ink-2); }
.footer__copy { grid-area: copy; display: flex; flex-wrap: wrap; gap: 4px 28px; font-size: 11.5px; font-weight: 600; letter-spacing: .04em; color: var(--ink); }
/* agency credit: quieter than the copyright beside it */
.footer__credit { font-weight: 400; letter-spacing: .02em; color: var(--ink-2); }
.footer__credit a, .footer__legal { color: var(--ink); font-weight: 600; box-shadow: inset 0 -1px 0 rgba(37, 99, 103, .3); transition: color .3s, box-shadow .3s; }
.footer__credit a:hover, .footer__legal:hover { color: var(--green); box-shadow: inset 0 -1px 0 var(--green); }
.footer__rera { grid-area: rera; display: grid; grid-template-columns: auto auto; justify-content: start; column-gap: 14px; font-size: 11.5px; line-height: 1.7; color: var(--ink-2); }
.footer__rera > div { display: contents; }
.footer__rera dt { grid-column: 1; }
.footer__rera dd { grid-column: 2; }

/* ==========================================================================
   Thank-you page (thank-you.html)
   ========================================================================== */
.ty-page .site-header { position: sticky; background: #fff; box-shadow: 0 1px 0 var(--line); }
.ty-page .nav { grid-template-columns: 1fr; }
.ty {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(40px, 6vw, 110px);
  width: min(100% - var(--gutter) * 2, var(--maxw));
  min-height: calc(100vh - var(--header-h) - 80px);
  min-height: calc(100svh - var(--header-h) - 80px);
  margin-inline: auto;
  padding: clamp(28px, 4vh, 64px) 0;
}
.ty__title { font-family: var(--f-display); font-weight: 500; font-size: clamp(2.5rem, 4.6vw, 5.2rem); line-height: 1.04; letter-spacing: -.04em; color: var(--deep); }
.ty__hi { display: block; }
.ty__title em { display: block; color: var(--green); }
.ty__line { margin-top: 26px; max-width: 26em; text-wrap: pretty; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.55; color: var(--ink-2); }
.ty__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; margin-top: clamp(30px, 4vh, 44px); }
/* the gate you'll drive up to, in the brand's arch */
.ty__media { position: relative; height: min(68vh, 680px); min-height: 420px; overflow: hidden; border-radius: 320px 320px 28px 28px; background: var(--deeper); box-shadow: 0 50px 100px -60px rgba(11, 34, 33, .6); }
.ty__media > img { width: 100%; height: 100%; object-fit: cover; object-position: 63% 50%; }
.ty__tag { position: absolute; left: 18px; bottom: 18px; display: flex; align-items: center; gap: 12px; padding: 10px 18px 10px 10px; border-radius: 16px; background: #fff; box-shadow: 0 12px 30px -12px rgba(11, 34, 33, .35); }
.ty__tag img { width: 40px; height: 40px; }
.ty__tag span { display: grid; font-size: 12px; line-height: 1.35; color: var(--ink-2); }
.ty__tag b { font-family: var(--f-display); font-size: 16px; font-weight: 500; color: var(--deep); }
.ty__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 28px; width: min(100% - var(--gutter) * 2, var(--maxw)); margin: 0 auto; padding: 18px 0 calc(22px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); font-size: 11.5px; color: var(--ink-2); }

/* ---------- privacy policy: title held on the left, the policy on a tint card ---------- */
.legal {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: start;
  gap: clamp(40px, 7vw, 120px);
  width: min(100% - var(--gutter) * 2, var(--maxw));
  margin-inline: auto;
  padding: clamp(40px, 8vh, 96px) 0 clamp(56px, 10vh, 120px);
}
.legal__head { position: sticky; top: calc(var(--header-h) + 40px); }
.legal__title { font-family: var(--f-display); font-weight: 500; font-size: clamp(2.5rem, 4.6vw, 5.2rem); line-height: 1.04; letter-spacing: -.04em; color: var(--deep); }
.legal__lead { margin-top: 22px; max-width: 20em; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.55; color: var(--ink-2); }
.legal__date { margin-top: 16px; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--sand-d); }
.legal__body { padding: clamp(26px, 3.6vw, 52px); border-radius: 28px; background: var(--paper); }
.legal__sec + .legal__sec { margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--line); }
.legal__sec h2 { font-family: var(--f-display); font-weight: 500; font-size: clamp(1.25rem, 1.6vw, 1.55rem); line-height: 1.2; letter-spacing: -.02em; color: var(--deep); }
.legal__sec p { margin-top: 12px; max-width: 40em; font-size: 15.5px; line-height: 1.75; color: var(--ink-2); text-wrap: pretty; }
.legal__sec a { color: var(--green); font-weight: 600; box-shadow: inset 0 -1px 0 rgba(37, 99, 103, .3); transition: box-shadow .3s; }
.legal__sec a:hover { box-shadow: inset 0 -1px 0 var(--green); }
.legal__back { margin-top: clamp(28px, 4vh, 40px); }
.ty__text > *, .ty__media { animation: tyIn 1.1s var(--ease-out) both; }
.ty__line { animation-delay: .12s; }
.ty__actions { animation-delay: .22s; }
.ty__media { animation-delay: .1s; }
@keyframes tyIn { from { opacity: 0; transform: translateY(28px); } }

/* ==========================================================================
   Floating CTAs, modal, film
   ========================================================================== */

/* the form, one tap away: a tab on the right edge, mid-screen, on every device */
.sticky-cta {
  position: fixed;
  z-index: 65;
  right: 0;
  top: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 8px 8px 18px;
  border-radius: 20px 0 0 20px;
  background: var(--deep);
  color: #fff;
  box-shadow: -16px 18px 44px -16px rgba(11, 34, 33, .6), inset 0 0 0 1px rgba(255, 255, 255, .16);
  opacity: 0;
  visibility: hidden;
  transform: translate(110%, -50%);
  transition: transform .6s var(--ease-out), opacity .4s var(--ease), visibility 0s linear .6s, background .4s var(--ease);
}
.sticky-cta.is-on { opacity: 1; visibility: visible; transform: translate(0, -50%); transition: transform .6s var(--ease-out), opacity .4s var(--ease), background .4s var(--ease); }
.sticky-cta:hover { background: var(--green); }
.sticky-cta__mark { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #fff; }
.sticky-cta__mark img { width: 24px; height: 24px; }
.sticky-cta__label { writing-mode: vertical-rl; transform: rotate(180deg); padding: 4px 0; font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; line-height: 1; white-space: nowrap; }

/* phones and tablets: brochure + enquire, docked at the bottom (replaces the edge tab below 1024px) */
.mbar {
  position: fixed;
  z-index: 65;
  left: 0;
  right: 0;
  bottom: 0;
  display: none;
  /* equal halves, but "Download brochure" never wraps while it fits on one line */
  grid-template-columns: minmax(max-content, 1fr) 1fr;
  gap: 10px;
  padding: 10px max(12px, calc((100% - 560px) / 2)) calc(10px + env(safe-area-inset-bottom));
  background: #fff;
  box-shadow: 0 -1px 0 var(--line), 0 -14px 34px -18px rgba(11, 34, 33, .35);
  transform: translateY(110%);
  visibility: hidden;
  transition: transform .5s var(--ease-out), visibility 0s linear .5s;
}
.mbar.is-on { transform: none; visibility: visible; transition: transform .5s var(--ease-out); }
.mbar__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 52px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  line-height: 1.15;
  text-align: center;
  -webkit-tap-highlight-color: transparent;
  transition: background .3s var(--ease), transform .2s var(--ease);
}
.mbar__btn:active { transform: scale(.97); }
.mbar__btn--brochure { background: #fff; color: var(--deep); box-shadow: inset 0 0 0 1.5px var(--green); }
.mbar__btn--enquire { background: var(--green); color: #fff; }
.mbar__btn--enquire:active { background: var(--deep); }
.mbar__btn span { min-width: 0; text-align: left; }

/* Kenyt chatbot (its script injects #kenytChatBubble and #chatbox-container into <body>).
   Its z-index is the browser maximum, so step it aside while our own overlays are open. */
html #kenytChatBubble[class] { transition: bottom .5s var(--ease-out), background-color .7s ease-in-out, box-shadow .5s ease-in-out; }
html:has(.modal.is-open) :is(#kenytChatBubble, #chatbox-container),
html:has(.filmbox.is-open) :is(#kenytChatBubble, #chatbox-container),
.menu-open :is(#kenytChatBubble, #chatbox-container) { visibility: hidden; }
.mbar__ic { flex: none; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.skip { position: fixed; z-index: 300; left: 16px; top: 12px; padding: 12px 18px; border-radius: 999px; background: var(--deep); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .08em; transform: translateY(-180%); transition: transform .3s var(--ease); }
.skip:focus { transform: none; }
/* honeypot: off-screen for people, filled in by form bots */
.hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.modal { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 24px; visibility: hidden; pointer-events: none; }
.modal.is-open { visibility: visible; pointer-events: auto; }
.modal__scrim { position: absolute; inset: 0; background: rgba(11, 34, 33, .6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .5s var(--ease); }
.modal.is-open .modal__scrim { opacity: 1; }
.modal__panel { position: relative; width: min(940px, 100%); max-height: calc(100vh - 48px); overflow: auto; display: grid; grid-template-columns: .9fr 1.1fr; background: #fff; border-radius: 30px; opacity: 0; transform: translateY(40px) scale(.98); transition: opacity .5s var(--ease), transform .7s var(--ease-out); }
.modal.is-open .modal__panel { opacity: 1; transform: none; }
.modal__img { min-height: 100%; overflow: hidden; border-radius: 30px 200px 30px 30px; }
.modal__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.modal__body { padding: clamp(28px, 4vw, 52px); }
.modal__title { font-family: var(--f-display); font-weight: 500; font-size: clamp(1.5rem, 2.2vw, 1.95rem); line-height: 1.15; letter-spacing: -.02em; color: var(--deep); margin: 0 40px 28px 0; }
.modal__x { position: absolute; z-index: 3; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--beige); color: var(--deep); transition: transform .4s var(--ease); }
.modal__x:hover { transform: rotate(90deg); }
.modal__x svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.modal__x--light { background: rgba(255, 255, 255, .14); color: var(--beige); }

.filmbox { position: fixed; inset: 0; z-index: 130; background: rgba(11, 34, 33, .96); display: grid; place-items: center; padding: 5vw; opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility .5s; }
.filmbox.is-open { opacity: 1; visibility: visible; }
.filmbox video { width: min(1280px, 100%); aspect-ratio: 16 / 9; border-radius: 18px; background: #000; }

/* custom cursor */
.cursor { position: fixed; z-index: 150; left: 0; top: 0; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--green); pointer-events: none; opacity: 0; transition: width .4s var(--ease-out), height .4s var(--ease-out), margin .4s var(--ease-out), background .4s, opacity .3s; display: grid; place-items: center; mix-blend-mode: normal; }
.cursor__label { font-size: 10px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--deep); opacity: 0; transition: opacity .3s; }
.cursor.is-on { opacity: 1; }
.cursor.is-big { width: 84px; height: 84px; margin: -42px 0 0 -42px; background: var(--leaf); }
.cursor.is-big .cursor__label { opacity: 1; }
@media (pointer: coarse) { .cursor { display: none; } }

/* ==========================================================================
   Responsive
   ========================================================================== */
/* below this the one-row IGBC card can't hold its heading: seal beside a stacked heading and copy */
@media (max-width: 1320px) {
  .igbc__card { grid-template-columns: auto minmax(0, 1fr); row-gap: 20px; }
  .igbc__seal { grid-row: span 2; }
  .igbc__title { align-self: end; }
  .igbc__copy { align-self: start; max-width: 34em; padding-left: 0; border-left: 0; }
}

@media (max-width: 1180px) {
  .nav__links { gap: 18px; }
  /* logos take their own line; the three columns sit under them */
  .footer__main { grid-template-columns: 1fr 1fr auto; }
  .footer__logos { grid-column: 1 / -1; }
}

@media (max-width: 1023px) {
  :root { --header-h: 96px; }
  .nav { grid-template-columns: 1fr auto; }
  .nav__links, .nav__right .btn { display: none; }
  .nav__burger { display: block; }
  .nav { height: 62px; }
  .site-header.is-scrolled .nav { height: 58px; }
  .nav__logo { width: 116px; }
  .topbar { height: auto; padding-block: 7px; }
  .topbar__rera { font-size: 10.5px; flex-wrap: wrap; justify-content: flex-end; gap: 2px 10px; line-height: 1.4; }
  .topbar__rera { display: grid; gap: 1px; }
  .topbar__rera span + span::before { display: none; }
  .menu-open .nav__burger span:first-child { top: 19px; transform: rotate(45deg); }
  .menu-open .nav__burger span:last-child { top: 19px; right: 8px; transform: rotate(-45deg); }
  .menu-open .site-header { color: var(--beige); background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .menu-open .site-header .logo--light { opacity: 1; }
  .menu-open .site-header .logo--dark { opacity: 0; }

  .hero { display: flex; flex-direction: column; min-height: 0; padding: calc(var(--header-h) + 32px) var(--gutter) 0; }
  .hero__text { padding: 0; }
  .hero__title { font-size: clamp(2.4rem, 10.6vw, 4.2rem); }
  .hero__sub { margin: 16px 0 26px; }
  .hero__visual { padding: 0; margin-top: 34px; }
  .hero__panel { height: min(96vw, 560px); min-height: 0; border-radius: 22px; }
  .film-badge { width: 92px; height: 92px; right: 14px; bottom: 14px; }
  .film-badge__play { width: 42px; height: 42px; }
  .hero__proof { order: 3; grid-template-columns: repeat(2, 1fr); gap: 22px 0; margin: 34px 0 10px; }


  .chapters__pin { height: auto; overflow: visible; }
  .chapters__text { position: static; width: auto; padding: 0 var(--gutter); }
  .chapters__nav { display: none; }
  .chapters__copy { min-height: 0; display: grid; gap: 80px; }
  .chapter { position: relative; opacity: 1; visibility: visible; }
    .chapter__img { display: block; margin-top: 32px; overflow: hidden; border-radius: 58% 42% 47% 53% / 52% 45% 55% 48%; aspect-ratio: 1 / .92; }
  .chapter:nth-child(2) .chapter__img { border-radius: 44% 56% 52% 48% / 48% 54% 46% 52%; }
  .chapter:nth-child(3) .chapter__img { border-radius: 50% 50% 40% 60% / 56% 44% 56% 44%; }
  .chapter__img img { width: 100%; height: 100%; object-fit: cover; }
  .chapters__stage { position: relative; inset: auto; margin-top: 80px; height: 80svh; }
  .pebble { position: absolute; inset: 0; width: 100%; height: 100%; top: 0; right: 0; border-radius: 0; box-shadow: none; }
  .pebble__img:not(:last-of-type) { display: none; }
  .pebble__img:last-of-type { opacity: 1; transform: none; }
  .pebble__finale { opacity: 1; }
  
  .chapters__bg { display: none; }
  .lifestyle { margin-top: -40px; z-index: 3; border-radius: 32px 32px 0 0; padding-top: 80px; }
  .life-head { grid-template-columns: 1fr; }
  .hscroll__track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 20px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .hscroll__track::-webkit-scrollbar { display: none; }
  .exp-card { width: 78vw; scroll-snap-align: start; }
  .exp-card:nth-child(even) { margin-top: 0; }
  .exp-card__img { height: 64vw; max-height: 440px; }
  .hscroll__end { width: 72vw; scroll-snap-align: start; }
  .hscroll__meta { margin-top: 20px; }

  .club { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .club__info { display: contents; }
  .club__info .h3 { order: 1; }
  .club__lead { order: 2; }
  .club__stack { order: 3; margin-top: 36px; }
  .club__display { order: 4; margin-top: 30px; min-height: 0; }
  .club__stats { order: 5; }
  .club__frame { flex: 1; height: auto; max-height: 76svh; border-radius: 160px 160px 18px 18px; }
  .club__dir { width: 40px; margin-left: 14px; }
  .levels li::before { display: none; }
  .lt { display: none; }

  .sg__inner { min-height: 0; padding: clamp(80px, 14vw, 120px) 0 clamp(70px, 12vw, 110px); }
  .sg__head { grid-template-columns: 1fr; }
  .sg__head .h2 .line { white-space: normal; }
  .sg-home { --sgw: calc(100vw - var(--gutter) * 2); aspect-ratio: 1.2; border-radius: 20px; }
  .sg-home img { object-position: 46% 50%; }
  .sg-tag { left: 18px; bottom: 16px; font-size: 17px; }
  .sg-tag span { font-size: 9px; }

  .arch { grid-template-columns: 1fr; gap: 44px; }
  .arch__tall { order: 2; width: min(100%, 460px); }

  .homes__quote { grid-template-columns: 1fr; }
  .homes__thought { text-align: left; }
  .homes__grid { grid-template-columns: 1fr; }
  .specs { grid-template-columns: repeat(3, 1fr); gap: 24px 20px; }
  .homes__gallery { position: relative; top: 0; }
  .gallery__frame { border-radius: 160px 18px 18px 18px; max-height: none; }
  .plan { flex: none; aspect-ratio: 1.1 / 1; }
  .morning { grid-template-columns: 1fr; height: auto; min-height: 0; border-radius: 22px; }
  .morning__img { aspect-ratio: 4 / 3; }
  .morning__view { aspect-ratio: 16 / 10; flex: none; }

  .loc { grid-template-columns: 1fr; }
  .loc__map { min-height: 0; height: 82vw; max-height: 460px; }
  .conv { grid-template-columns: 1fr 1fr 1fr; gap: 20px; }

  .trust__grid { grid-template-columns: 1fr; }
  .offer { grid-template-columns: 1fr; }

  .film__track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .film__track::-webkit-scrollbar { display: none; }
  .film__track figure { width: 64vw; scroll-snap-align: start; }
  .visit__card { grid-template-columns: 1fr; }
  .visit__media { height: auto; aspect-ratio: 16 / 10; }
  .visit__panel { grid-row: 2; padding: 32px 24px 8px; }
  .visit__form { grid-column: 1; grid-row: 3; align-self: auto; margin: 24px 16px 16px; }

  .sticky-cta { display: none; }
  .mbar { display: grid; }
  .menu-open .mbar { transform: translateY(110%); visibility: hidden; }
  /* the chat bubble rides above the bottom bar instead of covering "Enquire now" */
  html:has(.mbar.is-on) #kenytChatBubble { bottom: calc(60px + env(safe-area-inset-bottom)); }
  .footer__base { grid-template-columns: 1fr; grid-template-areas: "disc" "rera" "copy"; }
  .legal { grid-template-columns: 1fr; gap: 28px; padding-top: 34px; }
  .legal__head { position: static; }

  .ty { grid-template-columns: 1fr; min-height: 0; gap: 34px; padding: 34px 0 44px; }
  .ty__media { height: auto; min-height: 0; aspect-ratio: 4 / 4.4; max-height: 70svh; border-radius: 220px 220px 22px 22px; }

  .modal { padding: 0; place-items: end center; }
  .modal__panel { grid-template-columns: 1fr; border-radius: 26px 26px 0 0; max-height: 92vh; transform: translateY(100%); }
  .modal__img { display: none; }
}

@media (max-width: 600px) {
  .exp-q { font-size: clamp(2rem, 9vw, 2.6rem); }
  .contrast { grid-template-columns: 1fr; }
  .contrast__col + .contrast__col { border-left: 0; border-top: 1px solid var(--line); }
  .contrast__head { height: 52px; }
  .contrast__logo { width: 128px; }
  .hero__cta { width: 100%; }
  .loc__list li { grid-template-columns: minmax(0, 1fr) 26% 58px; gap: 12px; }
  .specs { grid-template-columns: 1fr 1fr; gap: 22px 20px; }
  .credits { grid-template-columns: 1fr 1fr; padding: 22px; gap: 16px; }
  .credits li:first-child { grid-column: 1 / -1; }
  .credits li { font-size: 16px; }
  .trust__stats dt { font-size: 2.4rem; }
  .conv { grid-template-columns: 1fr; gap: 14px; }
  .conv li { display: grid; grid-template-columns: 104px 1fr; align-items: baseline; gap: 12px; }
  .conv b { margin-bottom: 0; font-size: 1.9rem; white-space: nowrap; }
  .specs { grid-template-columns: 1fr 1fr; }
  .footer__main { grid-template-columns: 1fr; gap: 14px; }
  .footer__logos { margin-bottom: 6px; }
  .footer__logo--sr { width: 128px; }
  .footer__logo--cc { width: 86px; margin-left: 18px; padding-left: 18px; }
  /* reads as running small print, like the disclaimer above it */
  .footer__rera { display: block; }
  .footer__rera > div { display: block; }
  .footer__rera dt, .footer__rera dd { display: inline; }
  .footer__rera dt { color: var(--ink); }
  .footer__rera dt::after { content: ": "; }
  .footer__rera dd + dd::before { content: ", "; }
  .tabs { gap: 6px; }
  .tabs button { gap: 5px; padding: 13px 12px 12px; border-radius: 14px; }
  .tabs button b { font-size: 18px; padding-right: 0; }
  .tabs button span { font-size: 10.5px; }
  .tabs button::after { display: none; }
  .visit__form { grid-template-columns: 1fr; }
  .igbc__card { grid-template-columns: 1fr; row-gap: 22px; padding: 34px 24px 38px; border-radius: 24px; }
  .igbc__seal { grid-row: auto; width: 140px; margin-bottom: 6px; }
  .igbc__title .line { white-space: normal; }
  .igbc__mark { width: 360px; top: auto; bottom: -22%; right: -34%; }
}

/* the narrowest phones: equal halves, the brochure label on two lines */
@media (max-width: 350px) {
  .mbar { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
