/* ==========================================================================
   Willow Homes — "Give Your Kids Your Childhood"
   Mobile-first. Brand: deep green, warm beige, Willow teal-blue accent.
   ========================================================================== */

/* ---------- Self-hosted fonts (SIL Open Font License) ---------- */
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/nunito-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/nunito-latin-800-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 900; font-display: swap; src: url("../fonts/nunito-latin-900-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/nunito-latin-ext-800-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 900; font-display: swap; src: url("../fonts/nunito-latin-ext-900-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/dm-sans-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/dm-sans-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/dm-sans-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Gochi Hand"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/gochi-hand-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

:root {
  --forest: #1E3B14;
  --forest-2: #2B4E1F;
  --forest-3: #152A0E;
  --moss: #6E8B4E;
  --paper: #F3E8D8;
  --paper-2: #EADBC4;
  --cream: #FCF7EF;
  --sky: #DCE7E1;
  --ink: #22261D;
  --ink-soft: #4E5345;
  --teal: #245F74;
  --amber: #D99A2B;
  --kraft: rgba(214, 190, 150, .82);
  --error: #A33B26;

  --f-display: "Nunito", "Trebuchet MS", system-ui, sans-serif;
  --f-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-hand: "Gochi Hand", "Comic Sans MS", "Bradley Hand", cursive;

  --wrap: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section: clamp(4.5rem, 10vw, 8.5rem);
  --leaf: 5rem 1rem 5rem 1rem;
  --shadow-soft: 0 1px 2px rgba(60, 40, 15, .10), 0 18px 40px -18px rgba(60, 40, 15, .38);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 68px;
  --torn: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 24' preserveAspectRatio='none'%3E%3Cpath d='M0 24 L0.0 9.9 L7.5 13.8 L14.2 12.4 L23.9 6.7 L35.0 6.4 L45.3 6.8 L52.2 11.1 L66.5 7.5 L74.7 13.5 L90.2 12.9 L100.2 17.7 L106.6 16.3 L115.5 7.7 L122.7 9.7 L136.9 8.2 L148.7 13.7 L158.4 12.6 L165.0 6.7 L173.1 14.2 L183.4 9.8 L195.2 11.4 L204.2 15.5 L217.2 8.9 L228.9 12.3 L243.7 14.8 L252.6 17.8 L259.8 11.0 L273.3 7.8 L284.2 6.5 L296.9 15.2 L308.6 16.5 L317.8 14.3 L329.7 13.0 L340.3 16.1 L355.7 11.7 L368.4 6.7 L381.4 13.8 L397.3 15.9 L406.2 10.6 L418.8 6.3 L429.5 8.0 L436.6 6.7 L450.3 7.6 L458.8 10.7 L473.5 7.0 L484.0 12.6 L498.8 15.8 L513.5 9.3 L523.6 10.3 L538.5 17.5 L546.0 8.1 L554.3 8.8 L565.1 13.1 L573.8 6.0 L584.0 10.4 L595.6 17.4 L600.0 9.9 L600 24 Z'/%3E%3C/svg%3E");
}

@media (min-width: 900px) {
  :root { --leaf: 11rem 1.5rem 11rem 1.5rem; --header-h: 84px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background-color: var(--paper);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .25 0 0 0 0 .12 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
picture { display: contents; }
a { color: var(--teal); text-underline-offset: .2em; }
h1, h2, h3 { font-family: var(--f-display); color: var(--forest); margin: 0; line-height: 1.05; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
section[id], [id="main"] { scroll-margin-top: var(--header-h); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.h2 { font-size: clamp(2.1rem, 3.2vw + 1.1rem, 3.9rem); font-weight: 900; letter-spacing: -.02em; }
.lede { font-size: clamp(1.1rem, .4vw + 1rem, 1.3rem); color: var(--ink-soft); max-width: 38ch; margin-top: 1rem; }
.scribble { font-family: var(--f-hand); color: var(--teal); font-size: 1.35rem; line-height: 1.2; margin: 0; }
.fineprint { font-size: .8rem; color: var(--ink-soft); margin: 2rem 0 0; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--forest); color: var(--cream); padding: .6rem 1rem; border-radius: .5rem; }
.skip-link:focus { top: 1rem; }
.icon { width: 1.15em; height: 1.15em; flex: none; }
@media (max-width: 419.98px) { .hide-sm { display: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 50px; padding: .85rem 1.6rem;
  font-family: var(--f-display); font-weight: 800; font-size: 1.05rem; letter-spacing: .005em;
  border-radius: 999px; border: 2px solid var(--forest);
  cursor: pointer; text-decoration: none;
  transition: background-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn--solid { background: var(--forest); color: var(--cream); }
.btn--solid:hover { background: var(--forest-2); transform: translateY(-2px); box-shadow: 0 10px 22px -12px rgba(30, 59, 20, .8); }
.btn--ghost { background: transparent; color: var(--forest); }
.btn--ghost:hover { background: rgba(30, 59, 20, .07); }
.btn--small { min-height: 42px; padding: .5rem 1.1rem; font-size: .95rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }
.linklike { background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: .2em; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(243, 232, 216, .0);
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(243, 232, 216, .92);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(30, 59, 20, .1);
}
.site-header__inner { height: 100%; display: grid; grid-template-columns: auto 1fr auto; align-items: center; column-gap: clamp(1rem, 2.4vw, 2.5rem); }
.site-header__logo img { width: 112px; height: auto; }
.site-nav { display: none; grid-column: 2; }
.site-header__actions { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: .75rem; }
.site-header__phone {
  display: inline-flex; align-items: center; gap: .45rem; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%;
  color: var(--forest); text-decoration: none; font-weight: 700;
  border: 2px solid rgba(30, 59, 20, .25);
}
.site-header__phone span { display: none; }
@media (min-width: 700px) {
  .site-header__logo img { width: 140px; }
  .site-header__phone { width: auto; height: auto; border: 0; border-radius: 0; }
  .site-header__phone span { display: inline; }
  .site-header__actions { gap: 1.25rem; }
}
/* the menu needs the room of a laptop-size window; below that, logo + phone + button is cleaner */
@media (min-width: 1180px) {
  .site-nav { display: flex; justify-content: center; gap: clamp(1.1rem, 1.8vw, 1.75rem); white-space: nowrap; }
  .site-nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .98rem; position: relative; }
  .site-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--moss); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
  .site-nav a:hover::after { transform: scaleX(1); }
}

/* ---------- Hero: Willow layout, the photo card is a slider (Imagination / Friends / Freedom) ---------- */
.hero { position: relative; padding-block: 1.5rem 3.5rem; overflow: hidden; }
.hero__grid { display: grid; gap: 2.25rem; }
.hero__title { font-weight: 900; letter-spacing: -.025em; }
.hero__line { display: block; font-size: clamp(2rem, 4vw + 1rem, 3.5rem); font-weight: 800; }
.hero__br { display: none; }                       /* "Your / Childhood" stack only where the column has room */
@media (min-width: 1280px) { .hero__br { display: inline; } }
.hero__line--big {
  position: relative; display: inline-block;
  font-size: clamp(3.1rem, 8.5vw + .6rem, 6.4rem); line-height: .95; margin-top: .05em;
  padding-bottom: .12em;
}
.brush {
  position: absolute; left: -.02em; right: 0; bottom: -.14em;
  width: 102%; height: .26em; fill: var(--moss);
  clip-path: inset(0 100% 0 0);
  animation: brush 1.1s .45s var(--ease) forwards;
}
@keyframes brush { to { clip-path: inset(0 0 0 0); } }
.hero__lede { font-size: clamp(1.15rem, .6vw + 1rem, 1.4rem); color: var(--ink-soft); max-width: 30ch; margin: 1.75rem 0 0; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
/* the two homes, each with its own starting price */
.hero__homes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; max-width: 33rem; margin-top: 1.75rem; }
.home-tile { display: grid; gap: .1rem; padding: .85rem 1rem 1rem; border-radius: 1.1rem; background: #FFFDF6; border: 1.5px solid rgba(30, 59, 20, .14); box-shadow: var(--shadow-soft); color: var(--forest); text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.home-tile:hover { transform: translateY(-3px); }
.home-tile:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.home-tile__name { font: 900 clamp(1.05rem, .6vw + .9rem, 1.4rem)/1.15 var(--f-display); }
.home-tile__name b { font-weight: 800; color: var(--teal); }
.home-tile__from { margin-top: .35rem; font-size: .8rem; letter-spacing: .04em; color: var(--ink-soft); }
.home-tile__price { justify-self: start; margin-top: .1rem; padding: .1rem .6rem .18rem; border-radius: .65rem; background: var(--forest); color: var(--cream); font: 900 clamp(1.5rem, 1.2vw + 1.1rem, 2.2rem)/1.15 var(--f-display); white-space: nowrap; }
.home-tile__price sup { margin-left: .05em; font-size: .5em; }
.hero__where { display: flex; align-items: center; gap: .55rem; margin: 1rem 0 0; font: 800 clamp(1.15rem, .5vw + 1rem, 1.4rem)/1.3 var(--f-display); color: var(--forest); }
.hero__where .icon { width: 1.25em; height: 1.25em; flex: none; }
/* MahaRERA registration: logo, a scannable QR per registration, and the numbers in bold.
   Sits directly on the page background (no box). */
.hero__rera { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; margin: 1.5rem 0 0; color: var(--ink); }
.hero__rera-logo { width: 48px; height: 48px; flex: none; }
.hero__rera-qrs { display: flex; gap: .6rem; }
.hero__rera-qr { display: grid; justify-items: center; gap: .2rem; text-decoration: none; color: var(--ink-soft); font-size: .7rem; line-height: 1; }
.hero__rera-qr img { display: block; width: 60px; height: 60px; }
.hero__rera-text { display: grid; gap: .2rem; margin: 0; }
.hero__rera-site { font-size: .8rem; color: var(--ink-soft); text-decoration: none; }
.hero__rera-site:hover, .hero__rera-no:hover { text-decoration: underline; }
.hero__rera-no { font-family: var(--f-display); font-weight: 800; font-size: 1.3rem; line-height: 1.15; letter-spacing: .01em; color: var(--forest); text-decoration: none; white-space: nowrap; }
.hero__rera-no small { font: 500 .8rem var(--f-body); color: var(--ink-soft); margin-right: .45rem; letter-spacing: 0; }
.hero__rera--top { display: none; }
.hero__media { position: relative; }
/* Mobile: title and CTAs, then the photo, then the two homes. */
@media (max-width: 899.98px) {
  .hero__grid { gap: 0; }
  .hero__copy { display: contents; }
  .hero__title, .hero__lede, .hero__ctas { order: 1; }
  .hero__media { order: 2; margin-top: 1.75rem; }
  .hero__homes, .hero__where { order: 3; }
  .hero__rera { order: 4; }
  .hero__lede { margin-top: 1.1rem; }
  .hero__ctas { margin-top: 1.4rem; gap: .6rem; }
  .hero__ctas .btn { min-height: 48px; padding: .7rem 1.1rem; font-size: .98rem; }
}
.hero__frame { position: relative; border-radius: var(--leaf); overflow: hidden; box-shadow: var(--shadow-soft); aspect-ratio: 3 / 2; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s var(--ease); }
.hero__slide.is-active { opacity: 1; }
.hero__slide picture { display: block; width: 100%; height: 100%; }
.hero__slide img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos-m, 50% 50%); }
/* Then & now: an old print of "your summer" beside the photo of "theirs". */
.hero__media { padding-bottom: 2.5rem; }
.hero__note {
  position: absolute; top: .9rem; right: .9rem; z-index: 2; display: grid; max-width: 14.5rem;
  padding: .55rem 1rem .65rem; background: #FFFDF6; box-shadow: var(--shadow-soft); rotate: 3deg;
}
.hero__note::before {
  content: ""; position: absolute; top: -10px; left: 50%; width: 56px; height: 18px; translate: -50% 0; rotate: -4deg;
  background: var(--kraft); clip-path: polygon(3% 0, 97% 6%, 100% 30%, 96% 55%, 100% 80%, 97% 100%, 2% 94%, 0 70%, 4% 45%, 0 20%);
}
.hero__point { grid-area: 1 / 1; margin: 0; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .6s var(--ease), transform .6s var(--ease), visibility 0s .6s; }
.hero__point.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.hero__point-word { display: block; font: 400 1.55rem/1.05 var(--f-hand); color: var(--forest); }
.hero__point-line { display: block; margin-top: .2rem; font: 600 .78rem/1.3 var(--f-body); color: var(--ink-soft); }
.hero__dots { display: none; }
.js .hero__dots { display: flex; align-items: center; position: absolute; z-index: 3; left: .6rem; bottom: 3.1rem; gap: .05rem; }
.hero__dot { position: relative; width: 40px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; }
.hero__dot::before { content: ""; position: absolute; left: 5px; right: 5px; top: 12px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .6); box-shadow: 0 1px 3px rgba(0, 0, 0, .35); transition: background .3s var(--ease); }
.hero__dot:hover::before { background: rgba(255, 255, 255, .9); }
.hero__dot.is-active::before { background: #fff; }
.hero__dot:focus-visible { outline: 3px solid var(--teal); border-radius: 6px; }
.hero__then {
  position: absolute; left: -.25rem; bottom: 0; z-index: 3; width: 40%; max-width: 230px; margin: 0;
  padding: .45rem .45rem 0; background: #FBF4E6; box-shadow: var(--shadow-soft); rotate: -5deg;
}
.hero__then::before {
  content: ""; position: absolute; top: -11px; left: 50%; width: 70px; height: 20px; translate: -50% 0; rotate: 4deg; z-index: 1;
  background: var(--kraft); clip-path: polygon(3% 0, 97% 6%, 100% 30%, 96% 55%, 100% 80%, 97% 100%, 2% 94%, 0 70%, 4% 45%, 0 20%);
}
.hero__then-photo { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--paper-2); }
.hero__then-photo img { width: 100%; height: 100%; object-fit: cover; filter: sepia(.65) saturate(.7) contrast(.92) brightness(1.04); }
/* Faded-print wash and a soft vignette so it reads as an old photograph. */
.hero__then-photo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 55%, rgba(90, 60, 25, .28) 100%), rgba(240, 215, 170, .12);
}
.hero__then figcaption {
  font-family: var(--f-hand); color: var(--teal); font-size: clamp(1rem, 2.6vw, 1.3rem); line-height: 1.1;
  padding: .45rem .2rem .55rem; text-align: center; white-space: nowrap;
}
/* Mobile: the old print goes bottom-right and the note top-left, keeping the faces clear. */
@media (max-width: 899.98px) {
  .hero__then { left: auto; right: -.25rem; rotate: 5deg; width: 38%; }
  .hero__note { right: auto; left: .9rem; rotate: -3deg; }
}
.doodle { position: absolute; fill: none; stroke: var(--teal); stroke-width: 1.8; stroke-linejoin: round; opacity: .7; }
.doodle--plane { width: 56px; top: -1.25rem; right: 1.5rem; transform: rotate(-8deg); }

@media (min-width: 900px) {
  .hero { min-height: calc(100svh - var(--header-h)); display: flex; align-items: center; padding-block: 6.75rem 4rem; }
  .hero__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; gap: 3.5rem; }
  /* RERA numbers sit top-right, directly above the photo (as on the hoardings). */
  .hero__rera--inline { display: none; }
  .hero__media { align-self: start; }   /* photo top = grid top, so the RERA block above it always has room */
  /* Top-right, on the photo's top edge (as on the hoardings). */
  .hero__rera--top { display: flex; flex-wrap: nowrap; position: absolute; right: 0; bottom: calc(100% + .7rem); margin: 0; gap: .9rem; z-index: 3; }
  .hero__rera-logo { width: 54px; height: 54px; }
  .hero__rera--top .hero__rera-no { font-size: 1.55rem; }
  .hero__frame { aspect-ratio: auto; height: min(70svh, 740px); }
  .hero__slide img { object-position: var(--pos, 50% 50%); }
  .hero__media { padding-bottom: 0; }
  .hero__note { top: 1.5rem; right: 1.5rem; max-width: 17rem; padding: .65rem 1.15rem .75rem; }
  .hero__point-word { font-size: 1.95rem; }
  .hero__point-line { font-size: .88rem; }
  .js .hero__dots { left: 12.2rem; bottom: 1rem; }
  .hero__then { left: -2.25rem; bottom: 1.75rem; width: 210px; padding: .55rem .55rem 0; }
  .hero__then figcaption { font-size: 1.4rem; padding-block: .55rem .7rem; }
  .doodle--plane { width: 72px; top: -2.5rem; left: -4rem; right: auto; }
}
/* laptop-height screens: a tighter left column so the buttons stay in view */
@media (min-width: 900px) and (max-height: 880px) {
  .hero__line { font-size: clamp(2.2rem, 1.9vw + 1rem, 3.2rem); }
  .hero__line--big { font-size: clamp(3rem, 5.3vw, 4.4rem); }   /* one line on narrower desktops, sized to the column */
  .hero__lede { display: none; }
  .hero__homes { margin-top: 1.2rem; }
  .home-tile { padding: .7rem .9rem .85rem; }
  .home-tile__from { margin-top: .2rem; }
  .hero__where { margin-top: .75rem; }
  .hero__ctas { margin-top: 1rem; }
}
@media (min-width: 1280px) and (max-height: 880px) {
  .hero__line--big { font-size: clamp(3.4rem, 4.8vw + .7rem, 5.4rem); }   /* stacked "Your / Childhood" */
}
/* the paper-plane doodle would touch the RERA block on narrower desktops */
@media (min-width: 900px) and (max-width: 1099.98px) { .doodle--plane { display: none; } }

/* ---------- Torn paper edges ---------- */
.torn {
  position: absolute; left: 0; right: 0; height: 22px; z-index: 2; pointer-events: none;
  background: var(--torn-color, var(--paper-2));
  -webkit-mask: var(--torn) center / 600px 100% repeat-x; mask: var(--torn) center / 600px 100% repeat-x;
}
.torn--top { bottom: calc(100% - 1px); }
.torn--bottom { top: calc(100% - 1px); transform: scaleY(-1); }
.torn--dark { --torn-color: var(--forest); }

/* ---------- Memories (scrapbook) ---------- */
.memories { position: relative; background: var(--paper-2); padding-block: var(--section); margin-top: 1.5rem; }
.memories__head { position: relative; max-width: 760px; }
.memories__head .scribble { margin-top: 1.25rem; transform: rotate(-2deg); display: inline-block; }
.scrapbook {
  display: flex; gap: 1.5rem; margin: 2.5rem calc(var(--gutter) * -1) 0;
  padding: 1.75rem var(--gutter) 2rem;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.scrapbook::-webkit-scrollbar { display: none; }
.scrapbook__item { flex: 0 0 min(72vw, 290px); scroll-snap-align: center; }
.memories__close { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.25rem, 1vw + 1rem, 1.6rem); color: var(--forest); margin: 2.5rem 0 0; max-width: 32ch; }
.memories__close strong { display: block; font-weight: 900; }

@media (min-width: 900px) {
  .scrapbook {
    display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2.5rem 1.5rem;
    overflow: visible; margin-inline: 0; padding-inline: 0;
  }
  .scrapbook__item { flex: none; }
  /* Four polaroids pinned in one staggered row. */
  .scrapbook__item--1 { grid-column: 1 / span 3; }
  .scrapbook__item--2 { grid-column: 4 / span 3; margin-top: 3rem; }
  .scrapbook__item--3 { grid-column: 7 / span 3; margin-top: .5rem; }
  .scrapbook__item--4 { grid-column: 10 / span 3; margin-top: 3.5rem; }
  .scrapbook__item .polaroid { max-width: 330px; margin-inline: auto; }
  .memories__close { margin-left: auto; text-align: right; }
}

/* ---------- Polaroid component ---------- */
.polaroid {
  position: relative; margin: 0;
  background: #FFFDF8; padding: .7rem .7rem 0;
  box-shadow: var(--shadow-soft);
  rotate: var(--tilt, 0deg);
  transition: transform .5s var(--ease), rotate .5s var(--ease), box-shadow .5s var(--ease);
}
.polaroid__photo { aspect-ratio: 1 / 1.02; overflow: hidden; background: var(--paper-2); }
.polaroid__photo img { width: 100%; height: 100%; object-fit: cover; }
/* Old prints "develop" into colour as they scroll into view (JS only). */
.js [data-develop] .polaroid__photo img {
  filter: sepia(.6) saturate(.55) contrast(.9) brightness(1.05);
  transition: filter 1.8s var(--ease);
}
.js [data-develop].is-developed .polaroid__photo img, .no-develop [data-develop] .polaroid__photo img { filter: none; }
.polaroid figcaption { padding: .7rem .25rem 1rem; }
.polaroid__caption { display: block; font-family: var(--f-hand); font-size: 1.35rem; line-height: 1.15; color: var(--ink); }
.polaroid__today { display: block; margin-top: .45rem; font-size: .82rem; line-height: 1.35; color: var(--teal); font-weight: 500; }
.polaroid__fix { position: absolute; z-index: 2; }
.polaroid--top .polaroid__fix, .polaroid--corner .polaroid__fix {
  width: 96px; height: 26px; background: var(--kraft);
  clip-path: polygon(3% 0, 97% 6%, 100% 30%, 96% 55%, 100% 80%, 97% 100%, 2% 94%, 0 70%, 4% 45%, 0 20%);
  box-shadow: inset 0 0 0 100px rgba(255, 255, 255, .08);
}
.polaroid--top .polaroid__fix { top: -13px; left: 50%; transform: translateX(-50%) rotate(-3deg); }
.polaroid--corner .polaroid__fix { top: -6px; left: -22px; width: 84px; transform: rotate(-38deg); }
.polaroid--clip .polaroid__fix {
  top: -16px; left: 50%; width: 46px; height: 24px; transform: translateX(-50%);
  background: #33372F; border-radius: 3px 3px 7px 7px;
}
.polaroid--clip .polaroid__fix::before {
  content: ""; position: absolute; left: 8px; right: 8px; top: -12px; height: 16px;
  border: 2px solid #9A9C94; border-bottom: 0; border-radius: 10px 10px 0 0;
}
@media (hover: hover) {
  .scrapbook .polaroid:hover { rotate: 0deg; transform: translateY(-6px) scale(1.02); box-shadow: 0 2px 4px rgba(60, 40, 15, .12), 0 30px 50px -20px rgba(60, 40, 15, .45); }
}
@media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
  .scrapbook__item { animation: float 7s ease-in-out infinite alternate; }
  .scrapbook__item--2 { animation-delay: -2s; }
  .scrapbook__item--3 { animation-delay: -4.5s; }
  .scrapbook__item--4 { animation-delay: -1s; }
  .scrapbook__item--5 { animation-delay: -3.2s; }
}
@keyframes float { from { translate: 0 0; } to { translate: 0 -7px; } }

/* ---------- Amenities: one shared photo gallery ---------- */
.amenities { background: var(--cream); padding-block: var(--section); }
.amenities__head { margin-bottom: 2rem; }
.amen-lead { position: relative; margin: 0; overflow: hidden; border-radius: 1.5rem; background: var(--paper-2); box-shadow: var(--shadow-soft); }
.amen-lead picture, .amen-lead img { display: block; width: 100%; height: auto; }
.amen-lead img { aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 40%; }
.amen-lead__cap { position: absolute; inset: auto 0 0 0; padding: 3rem 1.25rem 1.1rem; font: 400 clamp(1.4rem, 2vw + .8rem, 2.2rem)/1.2 var(--f-hand); color: #fff; background: linear-gradient(to top, rgba(12, 26, 9, .72), rgba(12, 26, 9, 0)); }
.amen-chips { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.75rem 0 0; padding: 0; }
.amen-chips li { padding: .35rem .9rem; font: 700 .88rem/1.3 var(--f-display); color: var(--forest); background: #FFFDF6; border: 1.5px solid rgba(30, 59, 20, .2); border-radius: 999px; }
.amen-grid { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; margin: 2rem 0 0; padding: 0; }
.amen-tile { min-width: 0; }
.amen-tile__btn { display: grid; align-content: start; height: 100%; width: 100%; padding: .45rem .45rem 0; background: #fff; border: 0; border-radius: 1rem; box-shadow: var(--shadow-soft); text-align: left; font: inherit; color: inherit; cursor: zoom-in; transition: transform .35s var(--ease); }
.amen-tile__btn:hover { transform: translateY(-4px); }
.amen-tile__btn:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.amen-tile__img { position: relative; display: block; overflow: hidden; border-radius: .65rem; background: var(--paper-2); }
.amen-tile__img picture, .amen-tile__img img { display: block; width: 100%; height: 100%; }
.amen-tile__img { aspect-ratio: 4 / 3; }
.amen-tile__img img { object-fit: cover; object-position: var(--pos, 50% 40%); }
.amen-tile__cap { display: grid; gap: .2rem; padding: .65rem .2rem .8rem; }
.amen-tile__cap strong { font: 800 .92rem/1.25 var(--f-display); color: var(--forest); }
.amen-tile__name { font: 600 .78rem/1.3 var(--f-body); color: var(--teal); }
@media (min-width: 900px) {
  .amen-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; }
  .amen-tile__cap strong { font-size: 1rem; }
  .amen-lead img { aspect-ratio: 2.3 / 1; }
}

/* ---------- Homes ---------- */
.homes { padding-block: var(--section); }
.homes__grid { display: grid; gap: 3rem; }
.homes__media { position: relative; padding-bottom: 4rem; }
.homes__building { position: relative; overflow: hidden; aspect-ratio: 4 / 3; border-radius: var(--leaf, 5rem 1rem 5rem 1rem); box-shadow: var(--shadow-soft); background: var(--paper-2); }
.homes__building picture, .homes__building img { display: block; width: 100%; height: 100%; }
.homes__building img { object-fit: cover; object-position: var(--pos, 50% 50%); }
.homes__detail {
  position: absolute; right: 0; bottom: 0; width: 52%; margin: 0;
  background: #FFFDF8; padding: .5rem .5rem .2rem; box-shadow: var(--shadow-soft); rotate: 2.5deg;
}
.homes__detail-img { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 3; background: var(--paper-2); }
.homes__detail picture, .homes__detail img { display: block; width: 100%; height: 100%; }
.homes__detail img { object-fit: cover; object-position: var(--pos, 50% 50%); }
.homes__tag { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.5rem 1.4rem 1.1rem; font: 400 clamp(1.5rem, 1.6vw + 1rem, 2.1rem)/1.1 var(--f-hand); color: #fff; background: linear-gradient(to top, rgba(12, 26, 9, .65), rgba(12, 26, 9, 0)); pointer-events: none; }
.homes__detail .scribble { font-size: 1.15rem; padding: .35rem .2rem .3rem; color: var(--ink); }
.price-band {
  display: inline-flex; align-items: center; gap: 1rem; margin: 2rem 0 0;
  padding: .9rem 2.1rem 1rem 1.7rem; background: var(--forest); color: var(--cream);
  font-family: var(--f-display); font-weight: 900; font-size: clamp(1.35rem, 1.5vw + 1rem, 2rem); line-height: 1;
  clip-path: polygon(2% 8%, 30% 0, 62% 6%, 98% 2%, 100% 40%, 97% 70%, 99% 96%, 60% 100%, 28% 94%, 1% 100%, 3% 60%, 0 30%);
}
.price-band > span { white-space: nowrap; }
.price-band small { font-size: .55em; font-weight: 700; }
@media (max-width: 419.98px) { .price-band { gap: .7rem; padding-inline: 1.2rem 1.5rem; font-size: 1.3rem; } }
.price-band__sep { width: 2px; align-self: stretch; background: rgba(252, 247, 239, .5); }
.homes__points { display: grid; gap: 1.25rem 2rem; margin-top: 2.25rem; }
.homes__points li { padding-top: 1rem; border-top: 1px dashed rgba(30, 59, 20, .3); }
.homes__points h3 { font-size: 1.15rem; font-weight: 800; }
.homes__points p { margin: .3rem 0 0; color: var(--ink-soft); }
.homes__ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.5rem; }
@media (min-width: 640px) { .homes__points { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) {
  .homes__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 5rem; align-items: center; }
  .homes__detail { width: 62%; right: -1.5rem; }
}

/* ---------- Phases: Birch (pale wood) & Ebony (dark wood) ---------- */
.phases { display: grid; gap: 2.5rem; margin-top: 3.5rem; }
.phase {
  position: relative; padding: 2.4rem 1.6rem 1.9rem;
  border-radius: 2.75rem .9rem 2.75rem .9rem; box-shadow: var(--shadow-soft);
}
.phase__tape {
  position: absolute; top: -12px; left: 2.25rem; width: 92px; height: 24px; rotate: -3deg;
  background: var(--kraft); clip-path: polygon(3% 0, 97% 6%, 100% 30%, 96% 55%, 100% 80%, 97% 100%, 2% 94%, 0 70%, 4% 45%, 0 20%);
}
.phase__note { font-family: var(--f-hand); font-size: 1.3rem; line-height: 1.15; margin: 0; }
.phase__name {
  font-weight: 900; letter-spacing: -.03em; line-height: .9; margin-top: .35rem;
  font-size: clamp(3.4rem, 6vw + 1rem, 5.5rem);
}
.phase__band {
  display: inline-flex; align-items: center; gap: .9rem; margin: 1.5rem 0 0;
  padding: .8rem 1.9rem .9rem 1.5rem;
  font-family: var(--f-display); font-weight: 900; font-size: clamp(1.3rem, 1.2vw + 1rem, 1.8rem); line-height: 1;
  clip-path: polygon(2% 8%, 30% 0, 62% 6%, 98% 2%, 100% 40%, 97% 70%, 99% 96%, 60% 100%, 28% 94%, 1% 100%, 3% 60%, 0 30%);
}
.phase__band > span { white-space: nowrap; }
.phase__band small { font-size: .55em; font-weight: 700; }
.phase__sep { width: 2px; align-self: stretch; background: currentColor; opacity: .45; }
.phase__body { margin: 1.4rem 0 0; max-width: 42ch; font-size: 1.05rem; }
.phase__rera { display: flex; align-items: center; gap: .85rem; margin: 1.4rem 0 0; }
.phase__rera p { margin: 0; display: grid; gap: .15rem; }
.phase__qr { display: block; flex: none; padding: 5px; background: #fff; border-radius: 3px; line-height: 0; }
.phase__qr img { width: 62px; height: 62px; }
.phase__rera-no { font-family: var(--f-display); font-weight: 800; font-size: .95rem; letter-spacing: .01em; }
.phase__rera-site { font-size: .78rem; opacity: .7; }
.phase__ctas { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.75rem; }
@media (max-width: 519.98px) { .phase__ctas .btn { min-height: 48px; padding: .7rem 1.15rem; font-size: .98rem; } }
@media (max-width: 419.98px) { .phase__band { gap: .6rem; padding-inline: 1.1rem 1.4rem; font-size: 1.2rem; } }

.phase--ebony {
  color: var(--cream);
  background:
    repeating-linear-gradient(100deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 11px),
    var(--forest-3);
}
.phase--ebony .phase__name { color: var(--cream); }
.phase--ebony .phase__note { color: #BFD6C6; }
.phase--ebony .phase__band { background: var(--cream); color: var(--forest); }
.phase--ebony .phase__body { color: rgba(252, 247, 239, .85); }

.phase--birch {
  color: var(--ink);
  background:
    repeating-linear-gradient(100deg, rgba(120, 90, 50, .035) 0 2px, transparent 2px 13px),
    var(--cream);
}
.phase--birch .phase__note { color: var(--teal); }
.phase--birch .phase__band { background: var(--forest); color: var(--cream); }
.phase--birch .phase__body { color: var(--ink-soft); }

.btn--light { background: var(--cream); color: var(--forest); border-color: var(--cream); }
.btn--light:hover { background: #fff; transform: translateY(-2px); }
.btn--ghost-light { background: transparent; color: var(--cream); border-color: rgba(252, 247, 239, .7); }
.btn--ghost-light:hover { background: rgba(252, 247, 239, .1); }

.homes__every { margin-top: 3.5rem; }
.homes__every-title { font-size: clamp(1.3rem, 1vw + 1rem, 1.6rem); font-weight: 800; }
.homes__points h4 { font-family: var(--f-display); color: var(--forest); font-size: 1.1rem; font-weight: 800; margin: 0; }

@media (min-width: 900px) {
  .phases { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem; margin-top: 4.5rem; }
  .phase { padding: 3rem clamp(1.5rem, 3vw, 2.6rem) 2.5rem; min-width: 0; }
  .phase--ebony { margin-top: 3rem; }  /* staggered, like two photos pinned to a board */
  .homes__every { margin-top: 4.5rem; }
  .homes__every .homes__points { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Location ---------- */
.location { background: var(--sky); padding-block: var(--section); }
.location__grid { display: grid; gap: 3rem; }
.location__place { display: flex; gap: .6rem; align-items: flex-start; margin: 1.5rem 0 0; color: var(--ink-soft); }
.location__place .icon { color: var(--teal); width: 1.5rem; height: 1.5rem; margin-top: .15rem; }
.location__place strong { color: var(--forest); font-family: var(--f-display); font-size: 1.25rem; font-weight: 800; }
.location__points { margin: 2rem 0 2.25rem; display: grid; gap: 1.35rem; }
.location__points li { padding-left: 1.25rem; border-left: 3px solid var(--moss); }
.location__points h3 { font-size: 1.15rem; font-weight: 800; }
.location__points p { margin: .25rem 0 0; color: var(--ink-soft); max-width: 44ch; }
.location__map { position: relative; padding-bottom: 3rem; }
.map-frame { position: relative; border-radius: 1.5rem; overflow: hidden; aspect-ratio: 4 / 3.4; box-shadow: var(--shadow-soft); background: #E5E9E2; }
.map-frame__fallback { position: absolute; inset: 0; display: grid; place-content: start center; padding-top: 12% !important; justify-items: center; gap: .4rem; text-align: center; color: var(--forest); font-family: var(--f-display); font-weight: 800; text-decoration: none; padding: 1rem; }
.map-frame__fallback .icon { width: 2rem; height: 2rem; color: var(--teal); }
.map-frame iframe { position: relative; width: 100%; height: 100%; border: 0; filter: grayscale(.35) sepia(.18) saturate(.9); }
.location__photo { position: absolute; right: -.25rem; bottom: 0; width: 40%; max-width: 240px; }
@media (min-width: 900px) {
  .location__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 5rem; align-items: center; }
  .location__photo { right: auto; left: -3rem; width: 44%; }
  .map-frame__fallback { padding-top: 22% !important; }
}

/* ---------- Voices ---------- */
.voices { padding-block: var(--section); }
.voices__head { margin-bottom: 3rem; }
.notes { display: grid; gap: 2rem 1.5rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.note {
  margin: 0; padding: 1.75rem 1.5rem 1.4rem 2.6rem;
  background-color: #FFFDF6;
  background-image:
    linear-gradient(90deg, transparent 1.7rem, rgba(190, 80, 60, .35) 1.7rem, rgba(190, 80, 60, .35) calc(1.7rem + 1.5px), transparent calc(1.7rem + 1.5px)),
    repeating-linear-gradient(180deg, transparent 0 2.05rem, rgba(36, 95, 116, .16) 2.05rem calc(2.05rem + 1px));
  box-shadow: var(--shadow-soft);
  rotate: var(--tilt, 0deg);
}
.note blockquote { margin: 0; }
.note blockquote p { font-family: var(--f-hand); font-size: 1.75rem; line-height: 1.17; color: var(--ink); margin: 0 0 1rem; }
.stars { display: flex; gap: .15rem; }
.star { width: 24px; height: 24px; }
.star__bg { fill: none; stroke: #9C6A14; stroke-width: 1.2; stroke-linejoin: round; }
.star__fg { fill: var(--amber); }
.note figcaption { margin-top: .7rem; font-size: .9rem; font-weight: 500; color: var(--ink-soft); }

/* ---------- Visit (final CTA) ---------- */
.visit { position: relative; background: var(--forest); color: var(--cream); padding-block: var(--section); margin-top: 1.5rem; }
.visit__grid { display: grid; gap: 3rem; }
.visit__title { color: var(--cream); font-size: clamp(2.4rem, 4.2vw + 1rem, 4.6rem); font-weight: 900; letter-spacing: -.025em; line-height: 1; max-width: 14ch; }
.visit__lede { color: rgba(252, 247, 239, .85); font-size: 1.15rem; max-width: 40ch; margin-top: 1.5rem; }
.visit__contact { display: grid; gap: .75rem; margin-top: 2rem; }
.visit__contact a { display: inline-flex; align-items: center; gap: .65rem; color: var(--cream); text-decoration: none; font-family: var(--f-display); font-weight: 800; font-size: 1.35rem; }
.visit__contact a .icon { width: 1.35rem; height: 1.35rem; color: #B9CFA0; }
.visit__contact a:hover span { text-decoration: underline; text-underline-offset: .2em; }
.visit__polaroid { display: none; }
.visit__form { background: var(--forest-2); border-radius: 1.5rem; padding: clamp(1.5rem, 3vw, 2.5rem); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .5); }
.visit__form-title { color: var(--cream); font-size: 1.6rem; font-weight: 900; margin-bottom: 1.25rem; }
@media (min-width: 900px) {
  .visit__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 5rem; align-items: start; }
  .visit__copy { position: relative; min-height: 100%; }
  .visit__polaroid { display: block; width: 210px; margin-top: 2.75rem; margin-left: 42%; }
}

/* ---------- Lead form ---------- */
.lead-form { display: grid; gap: 1rem; }
.field { display: grid; gap: .35rem; }
.field label { font-size: .88rem; font-weight: 500; }
.field input {
  width: 100%; min-height: 50px; padding: .7rem .95rem; border-radius: .8rem;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: #FFFDF8; border: 1.5px solid rgba(30, 59, 20, .28);
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(36, 95, 116, .22); }
.field__tel { position: relative; }
.field__tel span { position: absolute; left: .95rem; top: 50%; transform: translateY(-50%); color: var(--ink-soft); font-size: 1rem; pointer-events: none; }
.field__tel input { padding-left: 3.1rem; }
.field__error { min-height: 0; font-size: .85rem; color: var(--error); }
.field.is-invalid input { border-color: var(--error); }
.field--trap { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lead-form__note { font-size: .8rem; color: var(--ink-soft); margin: 0; }
.lead-form__status:empty { display: none; }
.lead-form__status { padding: .9rem 1rem; border-radius: .8rem; background: rgba(110, 139, 78, .16); font-weight: 500; }
.lead-form__status.is-error { background: rgba(163, 59, 38, .1); color: var(--error); }
.lead-form.is-done .field, .lead-form.is-done button, .lead-form.is-done .lead-form__note { display: none; }

.lead-form--dark label { color: rgba(252, 247, 239, .88); }
.lead-form--dark .field input { background: rgba(252, 247, 239, .07); border-color: rgba(252, 247, 239, .32); color: var(--cream); }
.lead-form--dark .field input:focus { border-color: #B9CFA0; box-shadow: 0 0 0 3px rgba(185, 207, 160, .25); }
.lead-form--dark .field__tel span { color: rgba(252, 247, 239, .7); }
.lead-form--dark .field__error { color: #F4B9A3; }
.lead-form--dark .field.is-invalid input { border-color: #F4B9A3; }
.lead-form--dark .btn--solid { background: var(--cream); color: var(--forest); border-color: var(--cream); }
.lead-form--dark .btn--solid:hover { background: #fff; }
.lead-form--dark .lead-form__note { color: rgba(252, 247, 239, .7); }
.lead-form--dark .lead-form__status { background: rgba(252, 247, 239, .1); color: var(--cream); }
.lead-form--dark .lead-form__status.is-error { color: #F4B9A3; }

/* ---------- Dialogs ---------- */
.dialog { border: 0; padding: 0; background: transparent; max-width: min(460px, 100vw); width: 100%; max-height: 100dvh; color: var(--ink); }
.dialog::backdrop { background: rgba(21, 32, 14, .55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.dialog__panel { position: relative; background: var(--cream); border-radius: 1.5rem; padding: 2.25rem 1.5rem 1.5rem; max-height: calc(100dvh - 2rem); overflow-y: auto; }
.dialog__panel--text { font-size: .95rem; }
.dialog__close { position: absolute; top: .9rem; right: .9rem; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(30, 59, 20, .08); cursor: pointer; display: grid; place-items: center; color: var(--forest); }
.dialog__title { font-size: 1.9rem; font-weight: 900; margin: .25rem 0 .5rem; }
.dialog__text { color: var(--ink-soft); margin-bottom: 1.5rem; }
.dialog[open] .dialog__panel { animation: rise .45s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
@media (max-width: 599.98px) {
  .dialog { margin: auto 0 0; max-width: 100vw; }
  .dialog__panel { border-radius: 1.5rem 1.5rem 0 0; max-height: 92dvh; padding-bottom: calc(1.5rem + env(safe-area-inset-bottom)); }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--forest-3); color: rgba(252, 247, 239, .8); padding: 3.5rem 0 calc(6rem + env(safe-area-inset-bottom)); font-size: .92rem; }
.site-footer a { color: var(--cream); }
.site-footer__grid { display: grid; gap: 2.5rem; }
.site-footer__brand img { width: 150px; margin-bottom: 1.25rem; }
.site-footer address { font-style: normal; line-height: 1.7; }
.site-footer__rera-title { display: flex; gap: .75rem; align-items: center; line-height: 1.4; }
.site-footer__rera-title img { background: #fff; border-radius: 50%; padding: 2px; }
.site-footer__rera ul { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-top: 1.25rem; }
.site-footer__rera li { display: flex; gap: .85rem; align-items: center; }
.site-footer__rera li img { background: #fff; padding: 5px; border-radius: .5rem; width: 88px; height: 88px; }
.site-footer__rera strong { color: var(--cream); font-size: 1.05rem; letter-spacing: .02em; }
.site-footer__legal { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(252, 247, 239, .15); font-size: .76rem; line-height: 1.6; color: rgba(252, 247, 239, .62); }
.site-footer__legal p:last-child { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin: 1rem 0 0; }
.site-footer__legal .linklike { color: var(--cream); }
@media (min-width: 900px) {
  .site-footer { padding-bottom: 3rem; }
  .site-footer__grid { grid-template-columns: 1fr auto; align-items: start; }
}

/* ---------- Sticky mobile bar ---------- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: grid; grid-template-columns: 1fr 2fr; gap: .5rem;
  padding: .6rem .75rem calc(.6rem + env(safe-area-inset-bottom));
  background: rgba(252, 247, 239, .95); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 -8px 24px -12px rgba(30, 59, 20, .35);
  transform: translateY(110%); transition: transform .4s var(--ease);
}
.mobile-bar.is-visible { transform: none; }
.mobile-bar a, .mobile-bar button {
  display: flex; align-items: center; justify-content: center; gap: .45rem; min-height: 48px;
  border-radius: 999px; font-family: var(--f-display); font-weight: 800; font-size: 1rem; text-decoration: none; cursor: pointer;
}
.mobile-bar__call { color: var(--forest); border: 2px solid var(--forest); }
.mobile-bar__book { background: var(--forest); color: var(--cream); border: 0; }
@media (min-width: 900px) { .mobile-bar { display: none; } }

/* ---------- Reveal on scroll ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .brush { clip-path: none; }
  .js [data-develop] .polaroid__photo img { filter: none; }
}

/* ==========================================================================
   "Artist's impression" label on renders
   ========================================================================== */
.amen-lead[data-render]::after, .amen-tile__img[data-render]::after, .homes__building[data-render]::after, .homes__detail-img[data-render]::after, .plan-panel__elev[data-render]::after {
  pointer-events: none;
  content: "Artist\2019s impression*"; position: absolute; top: .7rem; right: .7rem; z-index: 2;
  padding: .2rem .55rem; font-size: .68rem; letter-spacing: .02em; line-height: 1.3;
  color: #fff; background: rgba(0, 0, 0, .55); border-radius: .3rem;
}
.amen-tile__img[data-render]::after, .homes__detail-img[data-render]::after { top: .4rem; right: .4rem; padding: .12rem .38rem; font-size: .58rem; }

/* ==========================================================================
   Floor plans
   ========================================================================== */
.plans { background: var(--cream); padding-block: var(--section); }
.plans__head { margin-bottom: 2rem; }
.plans__tabs { display: none; }
.js .plans__tabs { display: inline-flex; gap: .4rem; padding: .35rem; margin-bottom: 2.25rem; background: var(--paper-2); border-radius: 999px; max-width: 100%; }
.plans__tab {
  appearance: none; border: 0; cursor: pointer; min-height: 48px; padding: .7rem 1.35rem; border-radius: 999px;
  background: transparent; color: var(--forest); font: 800 1.05rem var(--f-display);
  transition: background .3s var(--ease), color .3s var(--ease);
}
.plans__tab small { font: 500 .85rem var(--f-body); margin-left: .3rem; opacity: .8; }
.plans__tab[aria-selected="true"] { background: var(--forest); color: var(--cream); }
.plans__tab:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }

.js .plan-panel:not(.is-active) { display: none; }
.plan-panel + .plan-panel { margin-top: 3.5rem; }       /* without JS both homes are shown, one after the other */
.js .plan-panel + .plan-panel { margin-top: 0; }
.plan-panel:focus-visible { outline: 3px solid var(--teal); outline-offset: 8px; border-radius: 1rem; }
.plan-panel__top { display: grid; gap: 1.5rem; }
.plan-panel__elev { position: relative; margin: 0; overflow: hidden; aspect-ratio: 4 / 3; border-radius: 1.25rem; background: var(--paper-2); box-shadow: var(--shadow-soft); }
.plan-panel__elev img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }
.plan-panel__zoom { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.plan-panel__zoom:focus-visible { outline: 3px solid var(--teal); outline-offset: -3px; }
.plan-panel__zoom picture { display: block; width: 100%; height: 100%; }
.plan-panel__title { font-size: clamp(2.3rem, 3vw + 1rem, 3.5rem); font-weight: 900; letter-spacing: -.02em; line-height: 1; margin: 0; }
.plan-panel__title small { margin-left: .45rem; font: 700 1.1rem var(--f-display); color: var(--teal); letter-spacing: 0; }
.plan-panel__price { margin: .7rem 0 0; font: 900 1.55rem var(--f-display); color: var(--forest); }
.plan-panel__price small { font-size: .6em; font-weight: 700; }
.plan-facts { display: grid; margin: 1.25rem 0 0; }
.plan-facts div { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .7rem 0; border-bottom: 1px dashed rgba(30, 59, 20, .28); }
.plan-facts dt { color: var(--ink-soft); font-size: .95rem; }
.plan-facts dd { margin: 0; text-align: right; font: 800 1.12rem var(--f-display); color: var(--forest); }
.plan-facts a { color: inherit; text-underline-offset: 3px; }
.plan-panel__ctas { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.6rem; }
@media (max-width: 519.98px) { .plan-panel__ctas .btn { min-height: 48px; padding: .7rem 1.15rem; font-size: .98rem; } }

.plan-grid { list-style: none; display: grid; gap: 1.25rem; margin: 2.25rem 0 0; padding: 0; }
.plan-grid li { min-width: 0; }
.plan {
  display: block; width: 100%; padding: .75rem .75rem 0; background: #fff; border: 0; border-radius: 1rem;
  box-shadow: var(--shadow-soft); cursor: zoom-in; text-align: left; font: inherit; color: inherit;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.plan:hover { transform: translateY(-4px); }
.plan:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.plan picture, .plan img { display: block; width: 100%; height: auto; }
.plan__cap { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .8rem .15rem .95rem; font: 800 .98rem var(--f-display); color: var(--forest); }
.plan__zoom { display: inline-flex; align-items: center; gap: .3rem; white-space: nowrap; font: 600 .78rem var(--f-body); color: var(--teal); }
.plan__zoom .icon { width: 1em; height: 1em; }
@media (min-width: 900px) {
  .plan-panel__top { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 3rem; align-items: center; }
  .plan-grid--ebony { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); align-items: start; }
  .plan-grid--birch { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, .8fr); align-items: start; }
}

/* Plan viewer */
.lightbox { margin: auto; padding: 0; border: 0; background: transparent; width: 100%; max-width: min(1240px, 96vw); }
.lightbox::backdrop { background: rgba(20, 28, 16, .74); backdrop-filter: blur(4px); }
.lightbox__panel { position: relative; display: flex; flex-direction: column; max-height: calc(100dvh - 1.5rem); padding: 3.4rem 1rem 1rem; background: #fff; border-radius: 1.25rem; }
.lightbox[open] .lightbox__panel { animation: rise .45s var(--ease); }
.lightbox__title { position: absolute; top: 1.1rem; left: 1.25rem; right: 4.5rem; margin: 0; font: 800 1.15rem var(--f-display); color: var(--forest); }
.lightbox__scroll { flex: 1 1 auto; overflow: auto; -webkit-overflow-scrolling: touch; border-radius: .5rem; }
.lightbox__img { display: block; margin-inline: auto; width: auto; max-width: 100%; max-height: calc(100dvh - 13rem); height: auto; cursor: zoom-in; }
.lightbox__img.is-zoom { max-width: none; max-height: none; cursor: zoom-out; }      /* click: the plan at its full size, scroll to look around */
.lightbox__hint { display: none; }
@media (min-width: 900px) { .lightbox__hint { display: inline; } }
@media (max-width: 899.98px) { .lightbox__img, .lightbox__img.is-zoom { width: 860px; max-width: none; max-height: none; cursor: default; } }  /* phones: large enough to read, scroll or pinch */
.lightbox__body { max-width: 70ch; margin: .75rem .25rem 0; font-size: .95rem; line-height: 1.55; color: var(--ink); }
.lightbox__body[hidden] { display: none; }
.lightbox__note { margin: .6rem .25rem 0; font-size: .78rem; color: var(--ink-soft); }

/* ==========================================================================
   Brochure picker (inside the Download Brochure form)
   ========================================================================== */
.pick { border: 0; padding: 0; margin: 0; min-width: 0; }
.pick legend { padding: 0; margin-bottom: .55rem; font: 600 .9rem var(--f-body); }
.pick__row { display: flex; flex-wrap: wrap; gap: .5rem; }
.pick__opt { position: relative; cursor: pointer; }
.pick__opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.pick__opt span {
  display: inline-block; padding: .55rem 1rem; border: 1.5px solid rgba(30, 59, 20, .35); border-radius: 999px;
  font: 700 .92rem var(--f-display); color: var(--forest); background: transparent;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.pick__opt input:checked + span { background: var(--forest); color: var(--cream); border-color: var(--forest); }
.pick__opt input:focus-visible + span { outline: 3px solid var(--teal); outline-offset: 2px; }
.lead-form__status a { color: inherit; font-weight: 700; text-underline-offset: 3px; }

/* ==========================================================================
   Contact number: bold and underlined wherever it is shown
   ========================================================================== */
.phone-hl { font-weight: 800; color: inherit; white-space: nowrap; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .22em; }
.site-header__phone span.phone-hl { font-size: 1.05rem; color: var(--forest); }
.visit .phone-hl, .site-footer .phone-hl, .lead-form--dark .phone-hl { color: #F2D9A6; }
