/* ==========================================================================
   Provident Winworth — Edappally, Kochi
   Design system: "Editorial Estate"
   Deep forest ink + warm paper + muted brass. Asymmetric editorial grid.
   ========================================================================== */

/* ---------- 1. Tokens ---------------------------------------------------- */
:root {
  /* Colour */
  --ink:        #0E1512;
  --ink-2:      #16201B;
  --ink-3:      #23302A;
  --forest:     #17453A;
  --forest-lt:  #1F5A4A;
  --brass:      #A8834A;
  --brass-lt:   #C6A46C;
  --paper:      #FBFAF7;
  --sand:       #F1EDE5;
  --sand-2:     #E5DFD3;
  --text:       #16201B;
  --text-mid:   #4E5A54;
  --text-mute:  #79837D;
  --line:       rgba(14, 21, 18, 0.13);
  --line-soft:  rgba(14, 21, 18, 0.07);
  --line-dark:  rgba(251, 250, 247, 0.16);
  --white:      #ffffff;
  --wa:         #1FA855;

  /* Type */
  --serif: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, "Times New Roman", serif;
  --sans:  "Inter Tight", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --fs-display: clamp(2.5rem, 6vw, 4.9rem);
  --fs-h1:      clamp(2.2rem, 5.4vw, 4.1rem);
  --fs-h2:      clamp(1.85rem, 4vw, 3.1rem);
  --fs-h3:      clamp(1.25rem, 2.2vw, 1.75rem);
  --fs-lead:    clamp(1.02rem, 1.35vw, 1.19rem);
  --fs-body:    clamp(0.95rem, 1.05vw, 1.03rem);
  --fs-sm:      0.875rem;
  --fs-xs:      0.75rem;
  --eyebrow:    0.7rem;

  /* Space */
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --sec-y:  clamp(4.5rem, 9vw, 9.5rem);
  --maxw:   1360px;
  --maxw-narrow: 900px;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 0.5s;

  --radius: 2px;
  --radius-lg: 4px;

  --header-h: 84px;
  --mobilebar-h: 62px;
}

/* ---------- 2. Reset ----------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-feature-settings: "ss01", "cv05";
}

img, svg, iframe { display: block; max-width: 100%; }
picture { display: contents; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }

h1, h2, h3, h4 { font-weight: 400; line-height: 1.06; letter-spacing: -0.015em; }

::selection { background: var(--forest); color: var(--paper); }

:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: var(--paper);
  padding: 10px 18px; border-radius: var(--radius);
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

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

/* ---------- 3. Layout primitives ---------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: var(--maxw-narrow); }

.section { padding-block: var(--sec-y); position: relative; }

/* Grid children default to min-width:auto, which lets a horizontally
   scrolling child (.tabs) push the page wider than the viewport. */
.intro-grid > *, .amen-layout > *, .plan-layout > *, .loc-layout > *,
.form-layout > *, .dev-grid > *, .sec-head--split > * { min-width: 0; }
.section--sand { background: var(--sand); }
.section--dark { background: var(--ink); color: var(--paper); }
.section--dark .lead, .section--dark .sec-sub { color: rgba(251,250,247,0.68); }

.rule { height: 1px; background: var(--line); border: 0; }

/* Section header — editorial index + hairline */
.sec-head { margin-bottom: clamp(2.25rem, 4vw, 3.75rem); }
.sec-head--split {
  display: grid; gap: clamp(1rem, 3vw, 3rem);
  grid-template-columns: 1fr;
  align-items: end;
}
@media (min-width: 900px) {
  .sec-head--split { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
}

.eyebrow {
  display: flex; align-items: center; gap: 0.85rem;
  font-size: var(--eyebrow);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--brass);
  margin-bottom: 1.15rem;
}
.eyebrow::after {
  content: ""; flex: 1; height: 1px; max-width: 90px;
  background: currentColor; opacity: 0.42;
}
.eyebrow .idx { font-variant-numeric: tabular-nums; opacity: 0.7; }
.section--dark .eyebrow { color: var(--brass-lt); }

.sec-title {
  font-family: var(--serif);
  font-size: var(--fs-h2);
  letter-spacing: -0.02em;
}
.sec-title em {
  font-style: italic;
  color: var(--forest);
}
.section--dark .sec-title em { color: var(--brass-lt); }

.sec-sub {
  color: var(--text-mid);
  font-size: var(--fs-lead);
  max-width: 54ch;
  margin-top: 1.1rem;
  line-height: 1.6;
}

.lead { font-size: var(--fs-lead); color: var(--text-mid); line-height: 1.72; }

/* ---------- 4. Buttons --------------------------------------------------- */
.btn {
  --btn-bg: var(--forest);
  --btn-fg: var(--paper);
  --btn-bd: var(--forest);
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 52px;
  padding: 0.95rem 1.85rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-bd);
  border-radius: var(--radius);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  line-height: 1;
  cursor: pointer;
  overflow: hidden;
  transition: color 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.3s var(--ease);
  isolation: isolate;
}
.btn > * { position: relative; z-index: 2; }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: var(--ink);
  transform: translateY(101%);
  transition: transform 0.45s var(--ease-out);
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn:hover { color: var(--paper); border-color: var(--ink); }
.btn:active { transform: translateY(1px); }

.btn--ghost {
  --btn-bg: transparent; --btn-fg: var(--text); --btn-bd: var(--line);
}
.btn--ghost:hover { color: var(--paper); }
.btn--onDark {
  --btn-bg: transparent; --btn-fg: var(--paper); --btn-bd: rgba(251,250,247,0.42);
}
.btn--onDark::before { background: var(--paper); }
.btn--onDark:hover { color: var(--ink); border-color: var(--paper); }
.btn--brass { --btn-bg: var(--brass); --btn-fg: #1B1408; --btn-bd: var(--brass); }
.btn--sm { min-height: 44px; padding: 0.7rem 1.25rem; font-size: 0.72rem; }
.btn--block { width: 100%; }
.btn svg { width: 17px; height: 17px; flex: none; }

/* Text link with animated rule */
.tlink {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.13em;
  text-transform: uppercase; color: var(--forest);
  padding-bottom: 5px; position: relative;
}
.tlink::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: currentColor; transform-origin: right; transform: scaleX(1);
  transition: transform 0.45s var(--ease-out);
}
.tlink:hover::after { transform: scaleX(0); }
.tlink svg { width: 15px; height: 15px; transition: transform 0.35s var(--ease); }
.tlink:hover svg { transform: translateX(4px); }
.section--dark .tlink { color: var(--brass-lt); }

/* ---------- 5. Header ---------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 90;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background 0.45s var(--ease), height 0.45s var(--ease),
              box-shadow 0.45s var(--ease), border-color 0.45s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to bottom, rgba(6,10,8,0.62), rgba(6,10,8,0));
  transition: opacity 0.45s var(--ease);
}
.site-header.is-solid {
  height: 68px;
  background: rgba(251, 250, 247, 0.94);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--line-soft);
  box-shadow: 0 10px 40px -28px rgba(14,21,18,0.5);
}
.site-header.is-solid::before { opacity: 0; }

.header-inner {
  width: 100%; max-width: var(--maxw); margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}

.brand { display: flex; align-items: center; flex: none; }
.brand img {
  width: auto; height: 40px;
  transition: height 0.45s var(--ease), filter 0.45s var(--ease);
  filter: brightness(0) invert(1);
}
.site-header.is-solid .brand img { height: 34px; filter: none; }

.nav { display: none; }
@media (min-width: 1080px) {
  .nav { display: flex; align-items: center; gap: clamp(1.1rem, 2vw, 2.1rem); }
}
.nav a {
  position: relative; white-space: nowrap;
  font-size: 0.775rem; font-weight: 500; letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(251,250,247,0.9);
  padding: 6px 0;
  transition: color 0.35s var(--ease);
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: var(--brass-lt); transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.site-header.is-solid .nav a { color: var(--text-mid); }
.site-header.is-solid .nav a:hover, .site-header.is-solid .nav a.is-active { color: var(--forest); }

.header-actions { display: flex; align-items: center; gap: 0.65rem; flex: none; }

.header-tel {
  display: none; align-items: center; gap: 0.5rem;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em;
  color: rgba(251,250,247,0.92);
  font-variant-numeric: tabular-nums;
}
@media (min-width: 720px) { .header-tel { display: inline-flex; } }
.header-tel svg { width: 16px; height: 16px; color: var(--brass-lt); }
.site-header.is-solid .header-tel { color: var(--forest); }

/* The Enquire CTA stays visible at every width — it is the primary action. */
.header-cta { display: inline-flex; }
@media (max-width: 559px) {
  .header-cta { padding: 0.6rem 0.8rem; font-size: 0.66rem; min-height: 40px; letter-spacing: 0.07em; }
  .header-cta::after { content: ""; }
}
@media (max-width: 420px) {
  .brand img { height: 30px; }
  .site-header.is-solid .brand img { height: 28px; }
  .header-actions { gap: 0.35rem; }
  .burger { width: 38px; }
}
.site-header:not(.is-solid) .header-cta {
  background: transparent; color: var(--paper); border-color: rgba(251,250,247,0.45);
}
.site-header:not(.is-solid) .header-cta::before { background: var(--paper); }
.site-header:not(.is-solid) .header-cta:hover { color: var(--ink); border-color: var(--paper); }

/* Hamburger */
.burger {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 46px; height: 46px; align-items: flex-end; padding: 0 2px;
  flex: none;
}
@media (min-width: 1080px) { .burger { display: none; } }
.burger span {
  display: block; height: 1.5px; background: var(--paper);
  transition: transform 0.4s var(--ease), width 0.4s var(--ease), background 0.4s var(--ease), opacity 0.25s;
}
.burger span:nth-child(1) { width: 26px; }
.burger span:nth-child(2) { width: 18px; }
.site-header.is-solid .burger span { background: var(--ink); }
body.menu-open .burger span { background: var(--paper); }
body.menu-open .burger span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); width: 24px; }
body.menu-open .burger span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); width: 24px; }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 89;
  background: var(--ink);
  padding: calc(var(--header-h) + 2rem) var(--gutter) 2.5rem;
  display: flex; flex-direction: column;
  opacity: 0; visibility: hidden;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.6s var(--ease-out), opacity 0.3s var(--ease), visibility 0.3s;
  overflow-y: auto;
}
body.menu-open .mobile-menu { opacity: 1; visibility: visible; clip-path: inset(0 0 0 0); }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a {
  display: flex; align-items: baseline; gap: 1rem;
  font-family: var(--serif); font-size: clamp(1.7rem, 7vw, 2.5rem);
  color: var(--paper);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--line-dark);
  opacity: 0; transform: translateY(14px);
}
body.menu-open .mobile-menu nav a { animation: menuIn 0.55s var(--ease-out) forwards; }
.mobile-menu nav a i {
  font-style: normal; font-family: var(--sans); font-size: 0.66rem;
  letter-spacing: 0.2em; color: var(--brass); flex: none;
}
@keyframes menuIn { to { opacity: 1; transform: none; } }
.mobile-menu .mm-foot { margin-top: auto; padding-top: 2rem; display: grid; gap: 0.75rem; }
.mobile-menu .mm-meta {
  color: rgba(251,250,247,0.55); font-size: var(--fs-xs);
  letter-spacing: 0.08em; text-transform: uppercase;
}

/* ---------- 6. Hero ------------------------------------------------------ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden;
  background: var(--ink);
  isolation: isolate;
}
.hero-media {
  position: absolute; inset: -1px; z-index: -2;
  will-change: transform;
}
.hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 42%;
  animation: heroZoom 22s var(--ease) forwards;
}
@keyframes heroZoom {
  from { transform: scale(1.14); }
  to   { transform: scale(1); }
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, rgba(8,12,10,0.94) 0%, rgba(8,12,10,0.62) 28%, rgba(8,12,10,0.18) 58%, rgba(8,12,10,0.42) 100%),
    linear-gradient(to right, rgba(8,12,10,0.62) 0%, rgba(8,12,10,0) 62%);
}

.hero-body {
  padding-top: calc(var(--header-h) + 1.4rem);
  padding-bottom: clamp(1.1rem, 2vw, 1.9rem);
  color: var(--paper);
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: var(--eyebrow); letter-spacing: 0.22em; text-transform: uppercase;
  font-weight: 500;
  color: var(--paper);
  border: 1px solid rgba(251,250,247,0.3);
  border-radius: 100px;
  padding: 0.5rem 1.05rem 0.5rem 0.85rem;
  backdrop-filter: blur(6px);
  background: rgba(255,255,255,0.06);
}
.hero-tag .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--brass-lt);
  box-shadow: 0 0 0 0 rgba(198,164,108,0.65);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  70%  { box-shadow: 0 0 0 9px rgba(198,164,108,0); }
  100% { box-shadow: 0 0 0 0 rgba(198,164,108,0); }
}

/* Blinking announcement badge — the label fades in and out with the dot,
   and the pill border warms up on each beat. */
.hero-tag--blink { animation: badgeBlink 1.8s ease-in-out infinite; }
.hero-tag--blink .dot { animation: dotBlink 1.8s ease-in-out infinite; }
@keyframes badgeBlink {
  0%, 100% { opacity: 1;    border-color: rgba(251, 250, 247, 0.3); }
  50%      { opacity: 0.45; border-color: rgba(198, 164, 108, 0.85); }
}
@keyframes dotBlink {
  0%, 100% { background: var(--brass-lt); box-shadow: 0 0 10px 2px rgba(198, 164, 108, 0.85); }
  50%      { background: rgba(198, 164, 108, 0.25); box-shadow: 0 0 0 0 rgba(198, 164, 108, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-tag--blink, .hero-tag--blink .dot { animation: none; }
}

.hero-place {
  margin-top: clamp(1.1rem, 2.6vw, 1.9rem);
  font-size: 0.76rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: rgba(251,250,247,0.72);
  display: flex; align-items: center; gap: 0.65rem;
}
.hero-place svg { width: 15px; height: 15px; color: var(--brass-lt); }

.hero h1 {
  font-family: var(--serif);
  font-size: var(--fs-display);
  line-height: 0.96;
  letter-spacing: -0.028em;
  margin-top: 0.7rem;
  max-width: 15ch;
}
.hero h1 .line { display: block; overflow: hidden; padding-bottom: 0.09em; }
.hero h1 .line > span { display: block; }
.hero h1 em { font-style: italic; color: var(--brass-lt); }

.hero-sub {
  margin-top: 0.9rem;
  font-size: clamp(0.95rem, 1.7vw, 1.15rem);
  color: rgba(251,250,247,0.82);
  max-width: 42ch;
  letter-spacing: 0.005em;
}

.hero-price {
  margin-top: 1.2rem;
  display: flex; align-items: baseline; gap: 0.7rem; flex-wrap: wrap;
}
.hero-price .label {
  font-size: var(--fs-xs); letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(251,250,247,0.6);
}
.hero-price .val {
  font-family: var(--serif); font-size: clamp(1.5rem, 3.4vw, 2.3rem);
  color: var(--paper); letter-spacing: -0.01em;
}

.hero-ctas {
  margin-top: clamp(1.25rem, 2.2vw, 1.7rem);
  display: flex; flex-wrap: wrap; gap: 0.75rem;
}
.hero-ctas .btn { flex: 1 1 100%; }
@media (min-width: 560px) { .hero-ctas .btn { flex: 0 0 auto; min-width: 190px; } }

/* Hero spec strip */
.hero-strip {
  position: relative;
  border-top: 1px solid rgba(251,250,247,0.18);
  background: rgba(8,12,10,0.34);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.hero-strip ul {
  display: grid; grid-template-columns: repeat(2, 1fr);
  max-width: var(--maxw); margin-inline: auto;
}
@media (min-width: 860px) { .hero-strip ul { grid-template-columns: repeat(4, 1fr); } }
.hero-strip li {
  padding: 0.85rem var(--gutter);
  border-right: 1px solid rgba(251,250,247,0.14);
  border-bottom: 1px solid rgba(251,250,247,0.14);
  color: var(--paper);
}
@media (min-width: 860px) { .hero-strip li { border-bottom: 0; } }
.hero-strip li:last-child { border-right: 0; }
@media (max-width: 859px) { .hero-strip li:nth-child(2n) { border-right: 0; } }
.hero-strip .n {
  font-family: var(--serif); font-size: clamp(1.1rem, 2.4vw, 1.6rem); line-height: 1.15;
  display: block;
}
.hero-strip .t {
  font-size: 0.63rem; letter-spacing: 0.19em; text-transform: uppercase;
  color: rgba(251,250,247,0.6); margin-top: 0.3rem; display: block;
}

.scroll-cue {
  position: absolute; left: 50%; bottom: calc(100% + 18px); translate: -50% 0;
  width: 1px; height: 54px; background: linear-gradient(to bottom, transparent, rgba(251,250,247,0.7));
  overflow: hidden; display: none;
}
@media (min-width: 860px) { .scroll-cue { display: block; } }
.scroll-cue::after {
  content: ""; position: absolute; inset: 0; background: var(--brass-lt);
  animation: cue 2.2s var(--ease) infinite;
}
@keyframes cue {
  0%   { transform: translateY(-100%); }
  55%  { transform: translateY(0); }
  100% { transform: translateY(100%); }
}

/* ---------- 7. Intro / split -------------------------------------------- */
.intro-grid {
  display: grid; gap: clamp(2.25rem, 5vw, 4.5rem);
  align-items: center;
}
@media (min-width: 960px) {
  .intro-grid { grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr); gap: clamp(3rem, 6vw, 6rem); }
}

.frame {
  position: relative;
}
.frame::after {
  content: ""; position: absolute; inset: 18px -18px -18px 18px;
  border: 1px solid var(--brass); opacity: 0.55; z-index: 0;
  pointer-events: none;
}
@media (max-width: 600px) { .frame::after { inset: 12px -12px -12px 12px; } }
.frame .media {
  position: relative; z-index: 1; overflow: hidden; background: var(--sand-2);
  aspect-ratio: 4 / 5;
}
@media (max-width: 600px) { .frame .media { aspect-ratio: 4 / 3.4; } }
.frame img { width: 100%; height: 100%; object-fit: cover; }

/* Intro image slider ----------------------------------------------------- */
.slider { position: relative; }
/* absolutely filled rather than height:100% — a percentage height against the
   parent's aspect-ratio box collapses to 0 and the slides render invisible */
.slider-track {
  position: absolute; inset: 0;
  display: flex;
  transition: transform 0.75s var(--ease-out);
  will-change: transform;
}
.slide { flex: 0 0 100%; height: 100%; position: relative; }
.slide img { width: 100%; height: 100%; object-fit: cover; }

.slider-nav {
  position: absolute; top: 50%; translate: 0 -50%; z-index: 3;
  width: 42px; height: 42px; display: grid; place-items: center;
  border-radius: 50%; color: var(--paper);
  background: rgba(8, 12, 10, 0.42);
  border: 1px solid rgba(251, 250, 247, 0.35);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; transition: opacity 0.35s var(--ease), background 0.3s var(--ease), transform 0.3s var(--ease);
}
.slider-nav svg { width: 17px; height: 17px; }
.slider:hover .slider-nav, .slider-nav:focus-visible { opacity: 1; }
.slider-nav:hover { background: rgba(8, 12, 10, 0.75); }
.slider-nav--prev { left: 12px; }
.slider-nav--next { right: 12px; }
.slider-nav--prev:hover { transform: translateX(-2px); }
.slider-nav--next:hover { transform: translateX(2px); }
/* touch devices have swipe — keep the arrows permanently visible instead of on hover */
@media (hover: none) { .slider-nav { opacity: 1; width: 38px; height: 38px; } }

.slider-dots {
  position: absolute; left: 0; right: 0; bottom: 14px; z-index: 3;
  display: flex; justify-content: center; gap: 7px;
}
.slider-dots button {
  width: 26px; height: 3px; border-radius: 2px; padding: 0;
  background: rgba(251, 250, 247, 0.42);
  transition: background 0.35s var(--ease), width 0.35s var(--ease);
}
.slider-dots button[aria-selected="true"] { background: var(--brass-lt); width: 38px; }
.slider-dots button:hover { background: rgba(251, 250, 247, 0.8); }

@media (prefers-reduced-motion: reduce) {
  .slider-track { transition: none; }
}

.frame-badge {
  position: absolute; z-index: 3; right: -14px; bottom: 34px;
  background: var(--ink); color: var(--paper);
  padding: 1.05rem 1.35rem; max-width: 220px;
  border-left: 2px solid var(--brass);
}
@media (max-width: 600px) { .frame-badge { right: 0; bottom: 12px; padding: 0.85rem 1rem; max-width: 190px; } }
.frame-badge .k {
  font-family: var(--serif); font-size: 1.55rem; line-height: 1;
}
.frame-badge .v {
  font-size: 0.63rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(251,250,247,0.62); margin-top: 0.35rem;
}

.intro-copy h2 {
  font-family: var(--serif); font-size: var(--fs-h1);
  letter-spacing: -0.025em; margin-top: 0.4rem;
}
.intro-copy h2 em { font-style: italic; color: var(--forest); }
.intro-copy .lead { margin-top: 1.5rem; }

.keylist {
  margin-top: 2rem; display: grid; gap: 0;
  border-top: 1px solid var(--line);
}
.keylist li {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 0.95rem 0.25rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
  transition: background 0.35s var(--ease), padding-left 0.35s var(--ease);
}
.keylist li:hover { background: var(--sand); padding-left: 0.85rem; }
.keylist svg { width: 18px; height: 18px; flex: none; color: var(--brass); margin-top: 3px; }
.keylist strong { font-weight: 600; }
.intro-ctas {
  margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.7rem;
}
.intro-ctas .btn { flex: 1 1 100%; }
@media (min-width: 520px) { .intro-ctas .btn { flex: 0 0 auto; } }

/* ---------- 8. Stats ----------------------------------------------------- */
.stats {
  display: grid; grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line-dark);
  border-left: 1px solid var(--line-dark);
}
@media (min-width: 780px) { .stats { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1120px) { .stats { grid-template-columns: repeat(6, 1fr); } }
.stat {
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  padding: clamp(1.4rem, 3vw, 2.4rem) clamp(1rem, 2vw, 1.6rem);
  position: relative; overflow: hidden;
}
.stat::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--brass); transform: scaleX(0); transform-origin: left;
  transition: transform 0.6s var(--ease-out);
}
.stat:hover::before { transform: scaleX(1); }
.stat .ico { width: 20px; height: 20px; color: var(--brass); margin-bottom: 1.1rem; }
.stat .num {
  font-family: var(--serif); font-size: clamp(1.85rem, 3.6vw, 2.85rem);
  line-height: 1; letter-spacing: -0.02em; display: flex; align-items: baseline; gap: 2px;
}
.stat .num small { font-size: 0.5em; font-family: var(--sans); font-weight: 500; letter-spacing: 0; }
.stat .cap {
  font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(251,250,247,0.58); margin-top: 0.6rem; line-height: 1.5;
}

/* ---------- 9. Amenities ------------------------------------------------- */
.amen-layout { display: grid; gap: clamp(1.75rem, 3.5vw, 3rem); }
@media (min-width: 1000px) {
  .amen-layout { grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); align-items: start; }
}

.amen-visual {
  position: relative; overflow: hidden; background: var(--sand-2);
  aspect-ratio: 4 / 5;
}
@media (max-width: 999px) { .amen-visual { aspect-ratio: 16 / 10; } }
@media (min-width: 1000px) { .amen-visual { position: sticky; top: calc(var(--header-h) + 24px); } }
.amen-visual img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.06);
  transition: opacity 0.75s var(--ease), transform 1.1s var(--ease-out);
}
.amen-visual img.is-on { opacity: 1; transform: scale(1); }
.amen-visual .cap {
  position: absolute; left: 0; bottom: 0; right: 0; z-index: 2;
  padding: 2.5rem 1.6rem 1.4rem;
  background: linear-gradient(to top, rgba(8,12,10,0.86), transparent);
  color: var(--paper);
}
.amen-visual .cap .t { font-family: var(--serif); font-size: 1.4rem; }
.amen-visual .cap .s {
  font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(251,250,247,0.66); margin-top: 0.25rem;
}

.tabs {
  display: flex; gap: 0.45rem; flex-wrap: nowrap;
  min-width: 0; max-width: 100%;
  overflow-x: auto; scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 1.75rem; padding-bottom: 4px;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: none;
  padding: 0.6rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 0.72rem; letter-spacing: 0.13em; text-transform: uppercase; font-weight: 600;
  color: var(--text-mid);
  transition: all 0.35s var(--ease);
  white-space: nowrap;
}
.tab:hover { border-color: var(--forest); color: var(--forest); }
.tab[aria-selected="true"] {
  background: var(--forest); border-color: var(--forest); color: var(--paper);
}
.tab .c { opacity: 0.6; font-variant-numeric: tabular-nums; margin-left: 4px; }

.amen-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line); border-left: 1px solid var(--line);
}
@media (min-width: 620px) { .amen-grid { grid-template-columns: repeat(3, 1fr); } }
.amen-card {
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: clamp(1.1rem, 2.2vw, 1.6rem) clamp(0.85rem, 1.8vw, 1.25rem);
  display: flex; flex-direction: column; gap: 0.85rem;
  position: relative; overflow: hidden;
  transition: color 0.4s var(--ease);
  min-height: 128px;
}
.amen-card::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: var(--forest);
  transform: translateY(100%);
  transition: transform 0.5s var(--ease-out);
}
.amen-card:hover::before { transform: translateY(0); }
.amen-card:hover { color: var(--paper); }
.amen-card > * { position: relative; z-index: 1; }
.amen-card svg { width: 24px; height: 24px; color: var(--brass); transition: color 0.4s var(--ease), transform 0.5s var(--ease-out); }
.amen-card:hover svg { color: var(--brass-lt); transform: translateY(-2px); }
.amen-card .nm { font-size: 0.92rem; font-weight: 500; line-height: 1.35; margin-top: auto; }
.amen-card[hidden] { display: none; }

.amen-note {
  margin-top: 1.5rem; display: flex; gap: 0.75rem; align-items: flex-start;
  font-size: var(--fs-sm); color: var(--text-mid);
}
.amen-note svg { width: 17px; height: 17px; color: var(--brass); flex: none; margin-top: 3px; }

/* ---------- 10. Floor plans --------------------------------------------- */
.plan-layout { display: grid; gap: clamp(1.5rem, 3vw, 3rem); }
@media (min-width: 980px) {
  .plan-layout { grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr); align-items: start; }
}

.plan-stage {
  position: relative; background: var(--white);
  border: 1px solid var(--line);
  padding: clamp(1rem, 3vw, 2.5rem);
  display: flex; align-items: center; justify-content: center;
  min-height: 320px;
}
.plan-stage img {
  width: 100%; max-height: 62vh; object-fit: contain;
  cursor: zoom-in;
  transition: transform 0.6s var(--ease-out), opacity 0.4s var(--ease);
}
.plan-stage img:hover { transform: scale(1.015); }
.plan-zoom-hint {
  position: absolute; right: 12px; bottom: 12px;
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--text-mute);
  background: var(--paper); border: 1px solid var(--line);
  padding: 0.4rem 0.7rem;
}
.plan-zoom-hint svg { width: 13px; height: 13px; }

/* Gated floor plan: blurred until the visitor enquires. */
.plan-stage.is-locked img { filter: blur(9px); cursor: pointer; pointer-events: none; user-select: none; }
.plan-stage.is-locked img:hover { transform: none; }
.plan-stage.is-locked .plan-zoom-hint { display: none; }

.plan-lock {
  position: absolute; inset: 0; z-index: 2;
  display: none; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.35rem; text-align: center; padding: 1.25rem; cursor: pointer;
  background: color-mix(in srgb, var(--paper) 55%, transparent);
}
.plan-stage.is-locked .plan-lock { display: flex; }
.plan-lock-ic { width: 26px; height: 26px; color: var(--brass); margin-bottom: 0.25rem; }
.plan-lock-t {
  font-family: var(--serif);
  font-size: clamp(1.05rem, 2.4vw, 1.35rem); color: var(--text);
}
.plan-lock-s { font-size: 0.78rem; color: var(--text-mute); margin-bottom: 0.9rem; max-width: 30ch; }
.plan-lock .btn { pointer-events: none; }   /* the whole overlay is the hit area */

@media (prefers-reduced-motion: reduce) { .plan-stage.is-locked img { filter: blur(9px); } }

.plan-empty {
  text-align: center; padding: clamp(2rem, 6vw, 4rem) 1rem; max-width: 42ch; margin-inline: auto;
}
.plan-empty svg { width: 34px; height: 34px; color: var(--brass); margin: 0 auto 1.25rem; }
.plan-empty .t { font-family: var(--serif); font-size: 1.5rem; }
.plan-empty p { color: var(--text-mid); margin-top: 0.7rem; font-size: var(--fs-sm); }

.plan-side { display: grid; gap: 1.25rem; }
.plan-tabs { display: grid; gap: 0.6rem; }
@media (max-width: 979px) { .plan-tabs { grid-auto-flow: column; grid-auto-columns: 1fr; } }
.plan-tab {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  width: 100%; text-align: left;
  padding: 1.05rem 1.25rem;
  border: 1px solid var(--line); background: var(--white);
  transition: all 0.4s var(--ease);
}
.plan-tab:hover { border-color: var(--forest); }
.plan-tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.plan-tab .cfg { display: block; font-family: var(--serif); font-size: 1.3rem; line-height: 1; }
.plan-tab .meta { display: block; font-size: 0.66rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-mute); margin-top: 0.35rem; }
.plan-tab[aria-selected="true"] .meta { color: rgba(251,250,247,0.6); }
.plan-tab .arrow { width: 18px; height: 18px; flex: none; opacity: 0.35; transition: transform 0.4s var(--ease), opacity 0.4s; }
.plan-tab[aria-selected="true"] .arrow { opacity: 1; transform: translateX(3px); }

.plan-facts { border-top: 1px solid var(--line); }
.plan-facts div {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  padding: 0.8rem 0; border-bottom: 1px solid var(--line);
  font-size: var(--fs-sm);
}
.plan-facts dt { color: var(--text-mute); letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.68rem; }
.plan-facts dd { margin: 0; font-weight: 600; text-align: right; }
.plan-actions { display: grid; gap: 0.6rem; }

/* ---------- 11. Location ------------------------------------------------- */
.loc-layout { display: grid; gap: clamp(1.75rem, 3.5vw, 3.25rem); align-items: start; }
@media (min-width: 1000px) { .loc-layout { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); } }

.loc-list { border-top: 1px solid var(--line); }
.loc-item {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.1rem;
  padding: 1.05rem 0.25rem;
  border-bottom: 1px solid var(--line);
  transition: background 0.35s var(--ease), padding 0.35s var(--ease);
}
.loc-item:hover { background: var(--white); padding-inline: 0.9rem; }
.loc-item .ic {
  width: 42px; height: 42px; display: grid; place-items: center; flex: none;
  border: 1px solid var(--line); border-radius: 50%; color: var(--forest);
  transition: background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s;
}
.loc-item:hover .ic { background: var(--forest); color: var(--paper); border-color: var(--forest); }
.loc-item .ic svg { width: 18px; height: 18px; }
.loc-item .nm { font-weight: 500; font-size: 1rem; line-height: 1.3; }
.loc-item .tm {
  font-family: var(--serif); font-size: 1.15rem; white-space: nowrap; color: var(--forest);
}
.loc-item .tm span { font-family: var(--sans); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-mute); display: block; margin-top: 1px; text-align: right; }

.map-frame {
  position: relative; border: 1px solid var(--line); background: var(--sand-2);
  overflow: hidden; aspect-ratio: 4 / 3.35;
}
@media (max-width: 640px) { .map-frame { aspect-ratio: 4 / 4.1; } }
.map-frame iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.28) contrast(1.03); }
.map-addr {
  display: flex; align-items: flex-start; gap: 0.8rem;
  margin-top: 1rem; font-size: var(--fs-sm); color: var(--text-mid);
}
.map-addr svg { width: 17px; height: 17px; color: var(--brass); flex: none; margin-top: 3px; }

/* ---------- 12. Other projects ------------------------------------------- */
.op-grid {
  display: grid; gap: clamp(1rem, 2.2vw, 1.75rem);
  grid-template-columns: 1fr;
}
@media (min-width: 680px)  { .op-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .op-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Centre the row when there are fewer projects than columns, so a short
   list doesn't sit lopsided against an empty third. data-projects is set by
   the renderer; the static markup carries it too. */
@media (min-width: 680px) {
  .op-grid[data-projects="1"] { grid-template-columns: minmax(0, 420px); justify-content: center; }
  .op-grid[data-projects="2"] { grid-template-columns: repeat(2, minmax(0, 440px)); justify-content: center; }
}

.op-card {
  display: flex; flex-direction: column;
  border: 1px solid var(--line); background: var(--white);
  cursor: pointer; overflow: hidden;
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.op-card:hover, .op-card:focus-visible {
  border-color: var(--forest); transform: translateY(-4px);
  box-shadow: 0 28px 64px -42px rgba(14, 21, 18, 0.6);
}
.op-media { position: relative; overflow: hidden; background: var(--sand-2); aspect-ratio: 4 / 3; }
.op-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease-out); }
.op-card:hover .op-media img { transform: scale(1.06); }

.op-body {
  display: flex; flex-direction: column; flex: 1;
  padding: clamp(1.15rem, 2.2vw, 1.6rem);
}
.op-cfg {
  font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase;
  font-weight: 600; color: var(--brass);
}
.op-name {
  font-family: var(--serif); font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  line-height: 1.1; margin-top: 0.5rem;
}
.op-loc {
  display: flex; align-items: center; gap: 0.5rem;
  margin-top: 0.7rem; font-size: var(--fs-sm); color: var(--text-mid);
}
.op-loc svg { width: 15px; height: 15px; color: var(--brass); flex: none; }
.op-price {
  margin-top: 0.9rem; padding-top: 0.9rem; border-top: 1px solid var(--line);
  font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-mute);
  display: flex; align-items: baseline; justify-content: space-between; gap: 0.75rem;
}
.op-price strong {
  font-family: var(--serif); font-size: 1.3rem; letter-spacing: -0.01em;
  text-transform: none; color: var(--forest); font-weight: 400;
}
.op-body .btn { margin-top: 1.15rem; }
/* the whole card is the control — the inner button is decorative */
.op-card .btn { pointer-events: none; }
.op-card:hover .btn { color: var(--paper); }
.op-card:hover .btn::before { transform: translateY(0); }

/* ---------- 13. Developer / editorial ------------------------------------ */
.dev-grid { display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
@media (min-width: 960px) { .dev-grid { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); } }
.dev-mark {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--white); border: 1px solid var(--line);
  padding: 1.75rem 2.25rem; margin-bottom: 1.75rem;
}
.dev-mark img { height: 44px; width: auto; }
.dev-quote {
  font-family: var(--serif); font-size: clamp(1.35rem, 2.6vw, 2rem);
  line-height: 1.28; letter-spacing: -0.015em;
}
.dev-quote em { font-style: italic; color: var(--forest); }
.dev-band {
  margin-top: clamp(2rem, 4vw, 3rem);
  position: relative; overflow: hidden; border: 1px solid var(--line);
}
.dev-band img { width: 100%; height: auto; }

/* ---------- 14. Final CTA ------------------------------------------------ */
.cta-block {
  position: relative; isolation: isolate; overflow: hidden;
  color: var(--paper);
  padding-block: clamp(4rem, 9vw, 8rem);
}
.cta-block img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
}
.cta-block::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to right, rgba(8,12,10,0.93) 8%, rgba(8,12,10,0.72) 60%, rgba(8,12,10,0.55) 100%);
}
.cta-block h2 {
  font-family: var(--serif); font-size: var(--fs-h1); letter-spacing: -0.025em;
  max-width: 18ch;
}
.cta-block p { margin-top: 1.1rem; max-width: 46ch; color: rgba(251,250,247,0.78); font-size: var(--fs-lead); }
.cta-actions {
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
  display: grid; gap: 0.7rem; grid-template-columns: 1fr;
  max-width: 720px;
}
@media (min-width: 560px) { .cta-actions { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cta-actions { grid-template-columns: repeat(4, 1fr); } }
.cta-actions .btn { padding-inline: 1rem; letter-spacing: 0.075em; }
.cta-foot {
  margin-top: 1.4rem; font-size: var(--fs-sm); color: rgba(251,250,247,0.6);
  display: flex; align-items: center; gap: 0.55rem;
}
.cta-foot svg { width: 15px; height: 15px; color: var(--brass-lt); }

/* ---------- 15. Enquiry form --------------------------------------------- */
.form-layout { display: grid; gap: clamp(2rem, 4vw, 4rem); align-items: start; }
@media (min-width: 960px) { .form-layout { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); } }

.contact-list { margin-top: 2rem; border-top: 1px solid var(--line); }
.contact-list a, .contact-list div.ci {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.1rem 0.2rem; border-bottom: 1px solid var(--line);
  transition: padding 0.35s var(--ease), background 0.35s var(--ease);
}
.contact-list a:hover { padding-inline: 0.85rem; background: var(--sand); }
.contact-list .ic { width: 20px; height: 20px; color: var(--brass); flex: none; }
.contact-list .k { display: block; font-size: 0.65rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-mute); }
.contact-list .v { display: block; font-weight: 600; font-size: 1rem; margin-top: 2px; word-break: break-word; }

.rera-box {
  margin-top: 2rem; border: 1px solid var(--line); background: var(--white);
  padding: 1.35rem; display: flex; gap: 1.25rem; align-items: center;
}
.rera-box img { width: 82px; height: 82px; flex: none; }
.rera-box .k { font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--brass); }
.rera-box p { font-size: 0.8rem; color: var(--text-mid); margin-top: 0.4rem; line-height: 1.55; word-break: break-word; }

/* Form */
.form-card {
  background: var(--white); border: 1px solid var(--line);
  padding: clamp(1.4rem, 3.2vw, 2.5rem);
  position: relative;
}
.form-card .fh { font-family: var(--serif); font-size: clamp(1.5rem, 2.8vw, 2rem); line-height: 1.1; }
.form-card .fs { color: var(--text-mid); font-size: var(--fs-sm); margin-top: 0.55rem; }

.fields { display: grid; gap: 1.1rem; margin-top: 1.75rem; }
@media (min-width: 620px) { .fields { grid-template-columns: repeat(2, 1fr); } }
.field { display: flex; flex-direction: column; gap: 0.4rem; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-size: 0.65rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-mute); font-weight: 600;
}
.field label .req { color: var(--brass); }
.control {
  width: 100%; min-height: 50px;
  padding: 0.8rem 0.95rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.95rem;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s;
  appearance: none;
}
.control:focus {
  outline: none; border-color: var(--forest); background: var(--white);
  box-shadow: 0 0 0 3px rgba(23,69,58,0.1);
}
.control::placeholder { color: #A9B1AC; }
select.control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%234E5A54' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.9rem center;
  padding-right: 2.3rem; cursor: pointer;
}
.phone-row { display: flex; gap: 0.5rem; }
.phone-row .cc {
  width: 78px; flex: none; text-align: center;
  font-variant-numeric: tabular-nums;
}
.phone-row .control:last-child { flex: 1; min-width: 0; }

.field.has-error .control { border-color: #C0392B; box-shadow: 0 0 0 3px rgba(192,57,43,0.09); }
.err {
  font-size: 0.74rem; color: #C0392B; display: none; align-items: center; gap: 0.35rem;
}
.field.has-error .err { display: flex; }

.consent {
  grid-column: 1 / -1;
  display: flex; gap: 0.75rem; align-items: flex-start;
  border: 1px solid var(--line-soft); background: var(--paper);
  padding: 0.9rem; border-radius: var(--radius);
  font-size: 0.66rem; line-height: 1.6; color: var(--text-mid); text-align: justify;
}
.consent input {
  width: 17px; height: 17px; flex: none; margin-top: 2px;
  accent-color: var(--forest); cursor: pointer;
}
.consent a { color: var(--forest); text-decoration: underline; text-underline-offset: 2px; }

.form-msg {
  margin-top: 1rem; font-size: var(--fs-sm); display: none;
  padding: 0.75rem 1rem; border-radius: var(--radius);
}
.form-msg.is-err { display: block; background: rgba(192,57,43,0.08); color: #A13024; }

.form-alt {
  margin-top: 1.35rem; display: flex; align-items: center; gap: 0.9rem;
  color: var(--text-mute); font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase;
}
.form-alt::before, .form-alt::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.form-quick { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; margin-top: 1rem; }

/* Success state */
.form-done {
  display: none; text-align: center; padding: clamp(1.5rem, 4vw, 3rem) 0.5rem;
}
.form-done.is-on { display: block; animation: fadeUp 0.6s var(--ease-out) both; }
.form-card.is-done .form-body { display: none; }
.tick {
  width: 62px; height: 62px; margin: 0 auto 1.4rem;
  border-radius: 50%; border: 1px solid var(--forest);
  display: grid; place-items: center; color: var(--forest);
}
.tick svg { width: 26px; height: 26px; }
.tick svg path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw 0.7s 0.15s var(--ease-out) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.form-done .t { font-family: var(--serif); font-size: clamp(1.4rem, 3vw, 1.9rem); }
.form-done .s { color: var(--text-mid); margin-top: 0.6rem; font-size: var(--fs-sm); }
.form-done .quick { margin-top: 1.75rem; display: grid; gap: 0.6rem; grid-template-columns: 1fr 1fr; }

/* ---------- 16. Footer --------------------------------------------------- */
.site-footer { background: var(--ink); color: rgba(251,250,247,0.72); padding-block: clamp(3rem, 6vw, 5rem) 0; }
.foot-top { display: grid; gap: clamp(2rem, 4vw, 3rem); }
@media (min-width: 900px) { .foot-top { grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.85fr) minmax(0, 1fr); } }
.site-footer h3 {
  font-family: var(--serif); font-size: 1.5rem; color: var(--paper); letter-spacing: 0.01em;
}
.site-footer h4 {
  font-size: 0.66rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--brass-lt); margin-bottom: 1.1rem; font-weight: 600;
}
.site-footer p { font-size: var(--fs-sm); line-height: 1.7; }
.foot-logo { height: 38px; width: auto; filter: brightness(0) invert(1); margin-bottom: 1.25rem; }
.foot-contact li { margin-bottom: 0.85rem; display: flex; gap: 0.7rem; align-items: flex-start; font-size: var(--fs-sm); }
.foot-contact svg { width: 16px; height: 16px; color: var(--brass); flex: none; margin-top: 3px; }
.foot-contact a:hover { color: var(--paper); }
.foot-rera { display: flex; gap: 1rem; align-items: flex-start; }
.foot-rera img { width: 76px; height: 76px; flex: none; background: var(--white); padding: 4px; }
.foot-rera p { font-size: 0.76rem; word-break: break-word; }

.foot-disc {
  margin-top: clamp(2.25rem, 4vw, 3.5rem); padding-top: 2rem;
  border-top: 1px solid var(--line-dark);
}
.foot-disc p {
  font-size: 0.68rem; line-height: 1.75; color: rgba(251,250,247,0.46); text-align: justify;
}
.foot-bar {
  margin-top: 2rem; padding-block: 1.35rem;
  border-top: 1px solid var(--line-dark);
  display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem;
  align-items: center; justify-content: space-between;
  font-size: var(--fs-xs); color: rgba(251,250,247,0.5);
}
.foot-bar a { text-decoration: underline; text-underline-offset: 3px; }
.foot-bar a:hover { color: var(--paper); }

/* ---------- 17. Sticky CTAs ---------------------------------------------- */
/* Desktop rail */
.rail {
  position: fixed; right: 18px; top: 50%; translate: 0 -50%; z-index: 70;
  display: none; flex-direction: column; gap: 0.55rem;
}
@media (min-width: 1080px) { .rail { display: flex; } }
.rail a, .rail button {
  position: relative;
  width: 52px; height: 52px; display: grid; place-items: center;
  border-radius: 50%;
  background: var(--ink); color: var(--paper);
  border: 1px solid rgba(251,250,247,0.16);
  box-shadow: 0 14px 34px -18px rgba(14,21,18,0.75);
  transition: transform 0.35s var(--ease), background 0.35s var(--ease), width 0.35s var(--ease);
}
.rail a:hover, .rail button:hover { transform: translateX(-3px) scale(1.05); }
.rail svg { width: 20px; height: 20px; }
.rail .r-wa { background: var(--wa); border-color: var(--wa); }
.rail .r-enq { background: var(--brass); border-color: var(--brass); color: #1B1408; }
.rail .tip {
  position: absolute; right: calc(100% + 10px); top: 50%; translate: 0 -50%;
  background: var(--ink); color: var(--paper);
  font-size: 0.65rem; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 0.45rem 0.7rem; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  transform: translateX(6px);
}
.rail a:hover .tip, .rail button:hover .tip { opacity: 1; transform: translateX(0); }

/* Mobile bottom bar */
.mbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  display: grid; grid-template-columns: 1fr 1fr 1.25fr;
  background: var(--ink);
  border-top: 1px solid rgba(251,250,247,0.14);
  padding-bottom: env(safe-area-inset-bottom);
  transform: translateY(102%);
  transition: transform 0.45s var(--ease-out);
}
@media (min-width: 1080px) { .mbar { display: none; } }
.mbar.is-on { transform: none; }
.mbar > * {
  min-height: var(--mobilebar-h);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  color: var(--paper);
  font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600;
  border-right: 1px solid rgba(251,250,247,0.12);
}
.mbar > *:last-child { border-right: 0; background: var(--brass); color: #1B1408; }
.mbar svg { width: 19px; height: 19px; }
.mbar .m-wa { color: #7BE6A5; }

body.has-mbar { padding-bottom: calc(var(--mobilebar-h) + env(safe-area-inset-bottom)); }
@media (min-width: 1080px) { body.has-mbar { padding-bottom: 0; } }

/* ---------- 18. Modal / Lightbox ----------------------------------------- */
.overlay {
  position: fixed; inset: 0; z-index: 120;
  display: grid; place-items: center;
  padding: clamp(0.75rem, 3vw, 2rem);
  background: rgba(8,12,10,0.78);
  backdrop-filter: blur(7px); -webkit-backdrop-filter: blur(7px);
  opacity: 0; visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
  overflow-y: auto;
}
.overlay.is-open { opacity: 1; visibility: visible; }

.modal {
  position: relative; width: min(560px, 100%);
  background: var(--paper);
  border-top: 3px solid var(--brass);
  transform: translateY(22px) scale(0.985);
  opacity: 0;
  transition: transform 0.5s var(--ease-out), opacity 0.4s var(--ease);
  max-height: calc(100dvh - 2rem);
  overflow-y: auto;
}
.overlay.is-open .modal { transform: none; opacity: 1; }
.modal-head {
  padding: clamp(1.35rem, 3vw, 1.9rem) clamp(1.25rem, 3vw, 2rem) 0;
}
.modal-kicker {
  font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--brass); font-weight: 600;
}
.modal-head h2 {
  font-family: var(--serif); font-size: clamp(1.5rem, 3.4vw, 2rem);
  margin-top: 0.5rem; line-height: 1.12;
}
.modal-head p { font-size: var(--fs-sm); color: var(--text-mid); margin-top: 0.5rem; }
.modal-body { padding: 0 clamp(1.25rem, 3vw, 2rem) clamp(1.35rem, 3vw, 2rem); }
.modal .fields { margin-top: 1.35rem; }

.x-close {
  position: absolute; top: 10px; right: 10px; z-index: 5;
  width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: 50%; color: var(--text-mid);
  transition: background 0.3s var(--ease), transform 0.3s var(--ease), color 0.3s;
}
.x-close:hover { background: var(--sand-2); transform: rotate(90deg); color: var(--ink); }
.x-close svg { width: 20px; height: 20px; }

/* Lightbox */
.lightbox { padding: 0; }
.lb-stage {
  position: relative; width: 100%; height: 100dvh;
  display: grid; place-items: center;
  overflow: hidden; padding: clamp(2.75rem, 6vw, 4rem) clamp(0.5rem, 3vw, 4rem);
}
.lb-stage img {
  max-width: 100%; max-height: 100%;
  object-fit: contain;
  transition: transform 0.4s var(--ease-out), opacity 0.35s var(--ease);
  transform-origin: center center;
  cursor: zoom-in; touch-action: pan-x pan-y;
  opacity: 0;
}
.overlay.is-open .lb-stage img { opacity: 1; }
.lb-stage img.is-zoomed { cursor: grab; }
.lb-bar {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 4;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.85rem clamp(0.75rem, 3vw, 1.5rem);
  background: linear-gradient(to top, rgba(8,12,10,0.88), transparent);
  color: var(--paper);
}
.lb-cap { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(251,250,247,0.75); }
.lb-tools { display: flex; gap: 0.5rem; align-items: center; flex: none; }
.lb-tools button, .lb-nav {
  width: 42px; height: 42px; display: grid; place-items: center;
  border: 1px solid rgba(251,250,247,0.28); border-radius: 50%;
  color: var(--paper); background: rgba(8,12,10,0.4);
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.lb-tools button:hover, .lb-nav:hover { background: rgba(251,250,247,0.16); }
.lb-tools svg, .lb-nav svg { width: 18px; height: 18px; }
.lb-nav {
  position: absolute; top: 50%; translate: 0 -50%; z-index: 4;
  width: 46px; height: 46px;
}
.lb-nav--prev { left: clamp(0.5rem, 2vw, 1.5rem); }
.lb-nav--next { right: clamp(0.5rem, 2vw, 1.5rem); }
.lb-enq {
  position: absolute; top: clamp(0.6rem, 2vw, 1.25rem); left: clamp(0.6rem, 2vw, 1.25rem); z-index: 4;
}
.lightbox .x-close { color: var(--paper); top: clamp(0.6rem, 2vw, 1.25rem); right: clamp(0.6rem, 2vw, 1.25rem); background: rgba(8,12,10,0.4); border: 1px solid rgba(251,250,247,0.28); }
.lightbox .x-close:hover { background: rgba(251,250,247,0.16); color: var(--paper); }

body.no-scroll { overflow: hidden; }

/* ---------- 19. Reveal animations ---------------------------------------- */
/* Hidden only when JS is running — content is never gated on JS. */
.js .rv { opacity: 0; transform: translateY(26px); }
.rv.in { opacity: 1; transform: none; transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out); }
.rv-d1.in { transition-delay: 0.08s; }
.rv-d2.in { transition-delay: 0.16s; }
.rv-d3.in { transition-delay: 0.24s; }
.rv-d4.in { transition-delay: 0.32s; }

.js .rv-img { clip-path: inset(0 0 100% 0); }
.rv-img.in { clip-path: inset(0 0 0 0); transition: clip-path 1.05s var(--ease-out); }

@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js .rv, .js .rv-img { opacity: 1; transform: none; clip-path: none; }
  .hero-media img { animation: none; }
}

/* ---------- 20. Legal / thank-you pages ---------------------------------- */
.page-head {
  background: var(--ink); color: var(--paper);
  padding-top: calc(var(--header-h) + clamp(2.5rem, 6vw, 5rem));
  padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
}
.page-head h1 { font-family: var(--serif); font-size: var(--fs-h1); }
.page-head .meta { color: rgba(251,250,247,0.6); font-size: var(--fs-sm); margin-top: 0.85rem; }

.prose { max-width: 76ch; }
.prose h2 {
  font-family: var(--serif); font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  margin-top: 2.75rem; padding-top: 2rem; border-top: 1px solid var(--line);
}
.prose h2:first-of-type { margin-top: 1rem; }
.prose p { margin-top: 1rem; color: var(--text-mid); }
.prose p.strong-p { color: var(--text); font-weight: 500; }
.prose ul { margin-top: 1rem; display: grid; gap: 0.55rem; }
.prose ul li {
  position: relative; padding-left: 1.4rem; color: var(--text-mid);
}
.prose ul li::before {
  content: ""; position: absolute; left: 0; top: 0.65em;
  width: 6px; height: 1px; background: var(--brass);
}
.prose ul.plain li { padding-left: 0; }
.prose ul.plain li::before { display: none; }
.prose strong { color: var(--text); font-weight: 600; }
.prose a { color: var(--forest); text-decoration: underline; text-underline-offset: 3px; }

.backlink {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600;
  color: var(--brass-lt);
}
.backlink svg { width: 15px; height: 15px; transition: transform 0.35s var(--ease); }
.backlink:hover svg { transform: translateX(-4px); }

/* Thank-you */
.ty {
  min-height: 100svh; display: grid; place-items: center;
  padding: calc(var(--header-h) + 3rem) var(--gutter) 4rem;
  text-align: center; background: var(--sand);
}
.ty-inner { max-width: 560px; }
.ty h1 { font-family: var(--serif); font-size: var(--fs-h1); margin-top: 1.5rem; }
.ty p { color: var(--text-mid); margin-top: 1rem; font-size: var(--fs-lead); }
.ty .actions { margin-top: 2.25rem; display: grid; gap: 0.7rem; grid-template-columns: 1fr; }
@media (min-width: 520px) { .ty .actions { grid-template-columns: repeat(3, 1fr); } }
.ty .logo { height: 40px; width: auto; margin: 0 auto 2rem; }
