/* =============================================================
   SOWPARNIKA KOCHI — COMING SOON
   Palette taken from the Amrutham brochure: deep teal, bronze
   gold and cream. Type is the brand pairing — Cormorant Garamond
   for the display lines, Jost for everything that has to be read.
   ============================================================= */

:root{
  --teal-950:#042624;
  --teal-900:#06302F;
  --teal:#0B4745;
  --teal-700:#125B57;

  --gold:#A36F2A;          /* brand bronze — buttons and rules */
  --gold-ink:#7E5518;      /* gold dark enough for small text on cream */
  --gold-soft:#C9A36A;     /* gold light enough for text on teal */

  --cream:#F1E8D9;
  --cream-deep:#E6D9C4;
  --paper:#FFFFFF;

  --ink:#1E2423;
  --ink-soft:#5A6462;
  --line:#DCD0BC;

  --r:5px;                 /* one radius everywhere */
  --ease:cubic-bezier(.22,.61,.36,1);
  --sans:'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif:'Cormorant Garamond', Georgia, 'Times New Roman', serif;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; }
@media (prefers-reduced-motion:reduce){
  html{ scroll-behavior:auto; }
  *,*::before,*::after{ animation-duration:.001ms !important; transition-duration:.001ms !important; }
}

body{
  margin:0;
  font-family:var(--sans);
  font-weight:300;
  font-size:clamp(.95rem,.9rem + .25vw,1.02rem);
  line-height:1.72;
  color:var(--ink);
  background:var(--paper);
  -webkit-font-smoothing:antialiased;
}

img{ max-width:100%; height:auto; display:block; }
a{ color:inherit; text-decoration:none; }
button{ font:inherit; color:inherit; background:none; border:0; cursor:pointer; }
h1,h2,h3{ margin:0; font-weight:400; line-height:1.18; letter-spacing:-.01em; }
p{ margin:0 0 1.05em; }
p:last-child{ margin-bottom:0; }

::selection{ background:var(--gold); color:#fff; }
:focus-visible{ outline:2px solid var(--gold); outline-offset:3px; }

.skip{
  position:absolute; left:-9999px; top:0; z-index:200;
  padding:12px 18px; background:var(--teal); color:#fff;
}
.skip:focus{ left:8px; top:8px; }

.wrap{ width:min(1200px,calc(100% - 44px)); margin-inline:auto; }
.wrap--tight{ width:min(840px,calc(100% - 44px)); }


/* ---------- shared section furniture ---------- */

.sec{ position:relative; padding:clamp(60px,7vw,104px) 0; }

/* Flat blocks of colour were what made this feel like a template. Every
   band now carries the same kind of depth the banner has — light pooling
   from one corner — so the page reads as one surface rather than stripes. */
.sec--cream{
  background:
    radial-gradient(120% 90% at 8% 0%, #FBF6EC 0%, rgba(251,246,236,0) 60%),
    radial-gradient(90% 80% at 100% 100%, #EADCC6 0%, rgba(234,220,198,0) 55%),
    var(--cream);
}
.sec--teal{
  color:var(--cream);
  background:
    radial-gradient(90% 120% at 85% 0%, var(--teal-700) 0%, rgba(18,91,87,0) 58%),
    radial-gradient(70% 90% at 0% 100%, #0A3E3C 0%, rgba(10,62,60,0) 60%),
    linear-gradient(170deg, var(--teal-950) 0%, var(--teal) 55%, #0A3E3C 100%);
}

/* The plain white band between them was the flattest thing on the page. */
#homes{
  background:
    radial-gradient(110% 80% at 100% 0%, #FDFAF4 0%, rgba(253,250,244,0) 58%),
    var(--paper);
}

/* The brochure marks each section with a filled gold dot, never a rule —
   so that is what is used here. */
.lbl{
  display:flex; align-items:center; gap:11px;
  margin:0 0 14px;
  font-size:.7rem; font-weight:500;
  letter-spacing:.2em; text-transform:uppercase;
  color:var(--gold-ink);
}
.lbl::before{
  content:''; width:10px; height:10px; flex:none;
  border-radius:50%; background:var(--gold);
}
.lbl--on{ color:var(--gold-soft); }
.lbl--on::before{ background:var(--gold-soft); }

.h2{
  font-family:var(--serif);
  font-size:clamp(1.85rem,1.4rem + 1.9vw,2.9rem);
  font-weight:400; letter-spacing:-.015em;
  margin:0 0 .55em;
  max-width:19ch;
}
.h2--on{ color:var(--paper); }

.sec__lede{ max-width:62ch; color:var(--ink-soft); margin-bottom:2.4em; }


/* ---------- buttons ---------- */

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:15px 30px;
  font-family:var(--sans); font-size:.78rem; font-weight:500;
  letter-spacing:.14em; text-transform:uppercase;
  border-radius:var(--r);
  transition:.3s var(--ease);
  white-space:nowrap;
}
.btn svg{ width:16px; height:16px; flex:none; }
.btn--gold{ background:var(--gold); color:#fff; }
.btn--gold:hover{ background:#8C5D20; transform:translateY(-2px); }
.btn--line{
  border:1px solid var(--line); color:var(--ink);
  background:transparent;
}
.btn--line:hover{ border-color:var(--gold); color:var(--gold-ink); }
.btn--sm{ padding:11px 20px; font-size:.7rem; }
.btn--lg{ padding:18px 38px; }
.btn--wide{ width:100%; }
.btn__spin{ display:none; }


/* ---------- header ---------- */

.hdr{
  position:sticky; top:0; z-index:60;
  background:var(--teal-950);
  border-bottom:1px solid rgba(201,163,106,.18);
}
.hdr__in{ display:flex; align-items:center; gap:28px; min-height:72px; }
.hdr__logo img{ height:40px; width:auto; }

.nav{ display:flex; gap:26px; margin-left:auto; }
.nav a{
  font-size:.76rem; letter-spacing:.1em; text-transform:uppercase;
  color:rgba(241,232,217,.78); padding:6px 0;
  border-bottom:1px solid transparent; transition:.25s var(--ease);
}
.nav a:hover{ color:var(--paper); border-bottom-color:var(--gold-soft); }

.hdr__act{ display:flex; align-items:center; gap:16px; }
.hdr__tel{
  display:inline-flex; align-items:center; gap:8px;
  font-size:.82rem; color:var(--cream);
}
.hdr__tel svg{ width:15px; height:15px; color:var(--gold-soft); }


/* ---------- hero ---------- */

.hero{
  position:relative; overflow:hidden;
  color:var(--cream);
  padding:clamp(48px,6vw,86px) 0 0;
  background:
    radial-gradient(80% 110% at 78% 12%, var(--teal-700) 0%, rgba(18,91,87,0) 55%),
    radial-gradient(60% 80% at 0% 100%, #0A3E3C 0%, rgba(10,62,60,0) 60%),
    linear-gradient(180deg,var(--teal-950) 0%,var(--teal) 62%,var(--teal-700) 100%);
}

/* the brochure's band of fine gold lines, sweeping across and passing
   behind the tower */
/* Confined to the right-hand half. Across the full width they ran straight
   through the headline and the copy became unreadable. */


.hero__in{
  position:relative; z-index:2;
  display:grid; grid-template-columns:1.02fr .98fr;
  gap:clamp(28px,4vw,56px); align-items:center;
}

.hero__ttl{ margin:0 0 .5em; }
.hero__brand{
  display:block;
  font-family:var(--serif);
  font-size:clamp(2.6rem,1.7rem + 3.9vw,4.6rem);
  font-weight:400; letter-spacing:-.02em; color:var(--paper);
}
.hero__soon{
  display:block;
  font-family:var(--serif);
  font-size:clamp(1.6rem,1.1rem + 2.1vw,2.6rem);
  font-weight:300; color:var(--gold-soft);
  letter-spacing:-.01em;
}
.hero__lede{
  max-width:46ch;
  font-size:clamp(1rem,.95rem + .3vw,1.1rem);
  color:rgba(241,232,217,.88);
  margin-bottom:1.5em;
}
.hero__states{
  display:flex; align-items:center; gap:12px; flex-wrap:wrap;
  margin:0 0 2em;
  font-size:.74rem; letter-spacing:.2em; text-transform:uppercase;
  color:rgba(241,232,217,.66);
}
.hero__states i{ color:var(--gold-soft); font-style:normal; }

.hero__art img{
  width:100%; border-radius:var(--r);
  box-shadow:0 40px 90px -36px rgba(0,0,0,.6);
}

/* the brochure runs a hairline with the place on the left and the year on
   the right along the foot of each spread */




/* ---------- 2 · your new address ---------- */

.addr{
  display:grid; grid-template-columns:1.05fr .95fr;
  gap:clamp(30px,4vw,64px); align-items:center;
}
.addr__say p{ color:var(--ink-soft); max-width:58ch; }
.addr__pic img{ border-radius:var(--r); }

.stats{
  display:grid; grid-template-columns:repeat(3,1fr);
  gap:18px; margin:2.4em 0 0; padding:0; list-style:none;
}
.stats li{
  display:flex; flex-direction:column;
  padding-top:16px; border-top:2px solid var(--gold);
}
.stats li > b{
  font-family:var(--serif);
  font-size:clamp(2rem,1.5rem + 1.9vw,2.9rem);
  font-weight:500; line-height:1; color:var(--teal);
}
.stats li > span{
  font-size:.78rem; letter-spacing:.1em; text-transform:uppercase;
  color:var(--gold-ink); margin-top:2px;
}
.stats li > em{
  font-style:normal; font-size:.78rem;
  letter-spacing:.06em; color:var(--ink-soft); margin-top:6px;
}


/* ---------- 3 · at a glance ---------- */

.glance{
  display:grid; grid-template-columns:repeat(2,1fr);
  gap:0 clamp(28px,4vw,60px); margin:2.2em 0 0;
}
.glance > div{
  display:flex; justify-content:space-between; align-items:baseline; gap:18px;
  padding:16px 0;
  border-bottom:1px solid rgba(201,163,106,.22);
}
.glance dt{
  font-size:.76rem; letter-spacing:.12em; text-transform:uppercase;
  color:var(--gold-soft); flex:none;
}
.glance dd{
  margin:0; text-align:right; color:var(--cream);
  font-size:.95rem;
}
.glance .tbc{
  display:block; font-size:.74rem;
  color:rgba(241,232,217,.52); letter-spacing:.04em;
}
.glance__cta{ margin-top:2.4em; }


/* ---------- 4 · why kochi ---------- */

.why{
  display:grid; grid-template-columns:1fr 1fr;
  gap:clamp(28px,4vw,56px); align-items:center;
  margin-bottom:clamp(36px,4vw,60px);
}
.why__say p{ color:var(--ink-soft); max-width:56ch; }
.why__pic img{ border-radius:var(--r); }

.near{ display:grid; grid-template-columns:repeat(3,1fr); gap:clamp(20px,2.4vw,34px); }
.near article{
  background:var(--paper); border:1px solid var(--line);
  border-radius:var(--r); padding:26px 24px;
}
.near h3{
  font-size:.78rem; font-weight:500;
  letter-spacing:.14em; text-transform:uppercase;
  color:var(--gold-ink); margin-bottom:14px;
}
.near ul{ margin:0; padding:0; list-style:none; }
.near li{
  display:flex; justify-content:space-between; gap:14px;
  padding:10px 0; border-top:1px solid var(--line);
  font-size:.88rem; color:var(--ink-soft);
}
.near li:first-child{ border-top:0; padding-top:0; }
.near li b{
  flex:none; font-weight:400; font-size:.76rem;
  letter-spacing:.06em; color:var(--gold-ink);
}
.near__note{
  margin-top:1.8em; font-size:.88rem; color:var(--ink-soft);
}
.near__note a{ color:var(--gold-ink); border-bottom:1px solid var(--gold); }


/* ---------- 5 · configurations ---------- */

.cfg{ border-top:1px solid var(--line); }
.cfg__row{
  display:grid;
  grid-template-columns:140px 1fr 160px auto;
  gap:24px; align-items:center;
  padding:22px 0; border-bottom:1px solid var(--line);
}
.cfg__row h3{
  font-family:var(--serif); font-size:1.6rem;
  font-weight:500; color:var(--teal);
}
.cfg__row p{ margin:0; color:var(--ink-soft); font-size:.92rem; }
.cfg__size{
  font-size:.76rem; letter-spacing:.1em; text-transform:uppercase;
  color:var(--gold-ink);
}
.cfg__note{
  margin-top:2em; max-width:66ch;
  font-size:.9rem; color:var(--ink-soft);
}


/* ---------- 6 · register ---------- */

.reg__in{
  display:grid; grid-template-columns:1.02fr .98fr;
  gap:clamp(30px,4vw,64px); align-items:center;
}
.reg__lede{ color:rgba(241,232,217,.85); max-width:50ch; }

.ticks{ margin:1.6em 0 0; padding:0; list-style:none; }
.ticks li{
  position:relative; padding:9px 0 9px 32px;
  color:var(--cream); font-size:.95rem;
}
.ticks li::before{
  content:''; position:absolute; left:0; top:17px;
  width:14px; height:7px;
  border-left:1.6px solid var(--gold-soft);
  border-bottom:1.6px solid var(--gold-soft);
  transform:rotate(-45deg);
}

.card{
  background:var(--paper); color:var(--ink);
  border-radius:var(--r); border-top:3px solid var(--gold);
  padding:clamp(26px,3vw,36px);
  box-shadow:0 40px 80px -34px rgba(0,0,0,.5);
}
.card__ttl{ font-family:var(--serif); font-size:1.7rem; color:var(--teal); }
.card__sub{
  margin:4px 0 20px; font-size:.8rem;
  letter-spacing:.06em; color:var(--ink-soft);
}


/* ---------- form ---------- */

.frm{ display:grid; gap:14px; }
.fld{ display:flex; flex-direction:column; }
.fld > label{
  font-size:.7rem; font-weight:500;
  letter-spacing:.14em; text-transform:uppercase;
  color:var(--ink-soft); margin-bottom:6px;
}
.fld > label i{ color:var(--gold); font-style:normal; }

.fld input[type=text],.fld input[type=email],.fld input[type=tel]{
  width:100%; padding:13px 15px;
  font:inherit; font-size:.95rem; color:var(--ink);
  background:#FAF7F1; border:1px solid var(--line);
  border-radius:var(--r); transition:.25s var(--ease);
}
.fld input::placeholder{ color:#A79C8C; }
.fld input:focus{
  outline:0; border-color:var(--gold);
  background:var(--paper); box-shadow:0 0 0 3px rgba(163,111,42,.12);
}

/* The script swaps the plain <select> for a flag picker (.cpick) and leaves
   the real select in the DOM, hidden, so the form still posts a dial code
   and assistive tech still sees a proper control. Both halves sit inside
   one bordered box so they read as a single field. */
.tel{
  display:flex; align-items:stretch; gap:10px;
  padding:0 12px;
  background:#FAF7F1; border:1px solid var(--line);
  border-radius:var(--r); transition:.25s var(--ease);
}
.tel:focus-within{
  border-color:var(--gold); background:var(--paper);
  box-shadow:0 0 0 3px rgba(163,111,42,.12);
}
.tel input{
  flex:1; min-width:0;
  padding:13px 0; border:0; background:transparent;
}
.tel input:focus{ outline:0; box-shadow:none; background:transparent; }

/* hidden, but still submitted — never display:none, or the value would
   stop reaching the form on some browsers */
.tel__code{
  position:absolute; width:1px; height:1px;
  margin:-1px; padding:0; border:0;
  clip:rect(0 0 0 0); clip-path:inset(50%); overflow:hidden;
}
.tel__flag{ display:none; }   /* the script replaces this with .cpick */

.cpick{ position:relative; flex:none; display:flex; align-items:center; }
.cpick__btn{
  display:flex; align-items:center; gap:8px;
  padding:13px 10px 13px 0; line-height:1;
  font-family:var(--sans); font-size:.95rem; color:var(--ink);
  border-right:1px solid var(--line);
}
.cpick__btn:focus-visible{ outline:2px solid var(--gold); outline-offset:2px; border-radius:3px; }
.cpick__flag{ display:block; width:21px; height:14px; flex:none; }
.cpick__flag svg{ width:100%; height:100%; display:block; border-radius:2px; }
.cpick__code{ white-space:nowrap; font-weight:400; }
.cpick__chev{ width:9px; height:6px; flex:none; opacity:.55; transition:transform .25s var(--ease); }
.cpick.is-open .cpick__chev{ transform:rotate(180deg); }

.cpick__list{
  position:absolute; top:calc(100% + 12px); left:-12px; z-index:40;
  width:268px; max-height:290px; overflow-y:auto;
  margin:0; padding:6px; list-style:none;
  background:var(--paper); border:1px solid var(--line);
  border-radius:var(--r);
  box-shadow:0 22px 48px -14px rgba(11,71,69,.28);
}
.cpick__list[hidden]{ display:none; }
.cpick__opt{
  display:flex; align-items:center; gap:11px;
  padding:9px 11px; border-radius:3px; cursor:pointer;
  font-size:.9rem; color:var(--ink); line-height:1.2;
}
.cpick__opt .cpick__nm{ flex:1 1 auto; }
.cpick__opt .cpick__cd{ flex:none; color:var(--ink-soft); font-size:.85rem; }
.cpick__opt:hover,
.cpick__opt.is-cursor{ background:var(--cream); }
.cpick__opt.is-on{ background:#F4EADA; }
.cpick__opt.is-on .cpick__cd{ color:var(--gold-ink); font-weight:500; }

.hint{ margin-top:4px; font-size:.72rem; color:var(--ink-soft); }
.err{ margin-top:4px; font-size:.74rem; color:#B4452F; }

.chk{ display:flex; gap:11px; align-items:flex-start; margin:4px 0 2px; }
.chk input{
  flex:none; width:17px; height:17px; margin-top:3px;
  accent-color:var(--gold);
}
.chk span{ font-size:.74rem; line-height:1.5; color:var(--ink-soft); }
.chk a{ color:var(--gold-ink); border-bottom:1px solid var(--gold); cursor:pointer; }

.frm__fine{
  margin:2px 0 0; font-size:.7rem;
  text-align:center; color:var(--ink-soft);
}


/* ---------- 7 · faq ---------- */

.faq{ border-top:1px solid var(--line); }
.faq details{ border-bottom:1px solid var(--line); }
.faq summary{
  list-style:none; cursor:pointer;
  display:flex; justify-content:space-between; align-items:center; gap:20px;
  padding:20px 0;
  font-size:1.02rem; color:var(--teal);
}
.faq summary::-webkit-details-marker{ display:none; }
.faq summary::after{
  content:''; flex:none;
  width:11px; height:11px;
  border-right:1.6px solid var(--gold); border-bottom:1.6px solid var(--gold);
  transform:rotate(45deg) translateY(-3px);
  transition:transform .3s var(--ease);
}
.faq details[open] summary::after{ transform:rotate(-135deg) translateY(-3px); }
.faq p{
  margin:0; padding:0 0 22px;
  max-width:70ch; color:var(--ink-soft); font-size:.94rem;
}


/* ---------- 8 · closing ---------- */

.close{
  background:var(--teal-950); color:var(--cream);
  padding:clamp(56px,6vw,88px) 0;
  text-align:center;
}
.close__ttl{
  font-family:var(--serif);
  font-size:clamp(1.8rem,1.3rem + 2.1vw,2.8rem);
  color:var(--paper); margin-bottom:.4em;
}
.close__sub{
  max-width:52ch; margin:0 auto 2em;
  color:rgba(241,232,217,.82);
}


/* ---------- footer ---------- */

.foot{ background:var(--teal); color:var(--cream); padding:clamp(40px,4vw,60px) 0 28px; }
.foot__in{
  display:flex; justify-content:space-between;
  align-items:flex-start; gap:36px; flex-wrap:wrap;
  padding-bottom:30px; border-bottom:1px solid rgba(201,163,106,.22);
}
.foot__logo{ height:52px; width:auto; }
.foot__get h3{
  font-size:.74rem; font-weight:500;
  letter-spacing:.18em; text-transform:uppercase;
  color:var(--gold-soft); margin-bottom:12px;
}
.foot__get a{
  display:block; padding:4px 0;
  font-size:.92rem; color:var(--cream);
  transition:.25s var(--ease);
}
.foot__get a:hover{ color:var(--gold-soft); }

.foot__legal{ padding-top:22px; }
.foot__legal p{
  font-size:.72rem; line-height:1.6;
  color:rgba(241,232,217,.56); max-width:92ch;
}
.foot__cr{ margin-top:10px; }


/* ---------- floating actions + mobile bar ---------- */

.float{
  position:fixed; right:18px; bottom:22px; z-index:55;
  display:flex; flex-direction:column; gap:11px;
}
.float__btn{
  width:48px; height:48px; border-radius:50%;
  display:grid; place-items:center;
  box-shadow:0 14px 30px -10px rgba(0,0,0,.42);
  transition:.3s var(--ease);
}
.float__btn:hover{ transform:translateY(-3px); }
.float__btn svg{ width:23px; height:23px; }
.float__btn--wa{ background:#25D366; color:#fff; }
.float__btn--tel{ background:var(--teal); color:var(--cream); }

.mbar{ display:none; }


/* ---------- responsive ---------- */

@media (max-width:1000px){
  .nav{ display:none; }

  /* The ribbon sweep is a wide gesture. Stretched into a tall, narrow hero
     it curls into something closer to a spiral than the brochure's band,
     and crosses the headline doing it — so below this width it goes. */
  .hero__ribbons{ display:none; }

  .addr,.why,.reg__in{ grid-template-columns:1fr; }
  
  .glance{ grid-template-columns:1fr; }
  .near{ grid-template-columns:1fr; }
  .cfg__row{ grid-template-columns:120px 1fr; gap:10px 20px; }
  .cfg__size{ grid-column:2; }
  .cfg__row .btn{ grid-column:2; justify-self:start; }
}

@media (max-width:720px){
  .wrap{ width:calc(100% - 32px); }
  .hdr__tel span{ display:none; }
  .hdr__in{ gap:14px; }
  .hdr__logo img{ height:34px; }

  .stats{ grid-template-columns:1fr; gap:0; }
  .stats li{
    flex-direction:row; align-items:baseline; gap:10px; flex-wrap:wrap;
    padding:14px 0; border-top:1px solid var(--line);
  }
  .stats li:first-child{ border-top:2px solid var(--gold); }
  .stats li > em{ width:100%; margin-top:0; }

  .cfg__row{ grid-template-columns:1fr; }
  .cfg__size,.cfg__row .btn{ grid-column:1; }

  .foot__in{ flex-direction:column; gap:26px; }

  /* the thumb bar takes over from the floating buttons on a phone */
  .float{ display:none; }
  .mbar{
    position:fixed; left:0; right:0; bottom:0; z-index:58;
    display:grid; grid-template-columns:1fr 1.2fr 1fr;
    background:var(--teal-950);
    border-top:1px solid rgba(201,163,106,.22);
    padding-bottom:env(safe-area-inset-bottom);
  }
  .mbar a{
    display:flex; flex-direction:column; align-items:center; gap:3px;
    padding:11px 6px;
    font-size:.64rem; letter-spacing:.1em; text-transform:uppercase;
    color:var(--cream);
  }
  .mbar a svg{ width:19px; height:19px; }
  .mbar__cta{ background:var(--gold); color:#fff; }
  body{ padding-bottom:62px; }
}


/* ═══════════════════════════════════════════════════════════════
   FRAMED IMAGERY
   The arch reads instantly as architecture, which a plain rectangle
   never did. The rule offset behind gives the picture somewhere to
   sit instead of floating.
   ═══════════════════════════════════════════════════════════════ */

.frame{
  position:relative; margin:0;
  border-radius:clamp(90px,14vw,190px) clamp(90px,14vw,190px) var(--r) var(--r);
  overflow:hidden;
  box-shadow:0 44px 90px -38px rgba(4,38,36,.72);
}
/* <picture> is an inline wrapper with no height of its own, so an image
   set to height:100% inside one collapses to nothing. It has to be made a
   block that fills the frame before the image can fill it in turn. */
.frame picture{ display:block; width:100%; height:100%; }

.frame img{
  width:100%; height:100%; object-fit:cover;
  transition:transform 1.4s var(--ease);
}
.frame:hover img{ transform:scale(1.045); }

/* the offset outline, drawn behind and down-right */
.frame--arch::after{
  content:''; position:absolute; inset:0;
  border-radius:inherit;
  border:1px solid rgba(201,163,106,.5);
  transform:translate(14px,14px);
  pointer-events:none;
}

.hero__art{ position:relative; }


/* a second, smaller picture overlapping the corner — a composition
   rather than one slab */








.addr__pic{ position:relative; }
.addr__pic .frame{ aspect-ratio:4/5; }


/* ═══════════════════════════════════════════════════════════════
   GATED ASSETS
   The drawings are the reason people leave a number, so they are
   shown but not given away. Three things make that hold:
     1. the blur is baked into the pixels, not a CSS filter — a
        filter comes off in devtools in two seconds;
     2. it is a background-image, not an <img>, so the browser
        offers no "open image in new tab" or "save image";
     3. the full-resolution drawings are not on the web server.
   The right-click guard is theatre on top of that; the real
   protection is the three points above.
   ═══════════════════════════════════════════════════════════════ */

.gates{
  display:grid; grid-template-columns:repeat(3,1fr);
  gap:clamp(18px,2.4vw,30px);
  margin-top:clamp(34px,4vw,54px);
}

.gate{
  display:flex; flex-direction:column;
  background:var(--paper);
  border:1px solid var(--line); border-radius:var(--r);
  padding:14px 14px 18px;
  transition:.35s var(--ease);
}
.gate:hover{
  border-color:rgba(163,111,42,.5);
  transform:translateY(-4px);
  box-shadow:0 30px 60px -30px rgba(4,38,36,.4);
}
.gate h3{
  font-family:var(--serif); font-size:1.35rem;
  color:var(--teal); margin:16px 0 6px;
}
.gate p{
  font-size:.87rem; color:var(--ink-soft);
  margin-bottom:16px; flex:1;
}

.gate__shot{
  position:relative; aspect-ratio:4/3;
  border-radius:3px; overflow:hidden;
  background-color:#EFEAE0;
  background-size:cover; background-position:center;
  display:grid; place-items:center;
  /* no long-press menu on iOS, no drag-to-desktop on a laptop */
  -webkit-user-select:none; user-select:none;
  -webkit-touch-callout:none;
}
.gate__shot::after{
  content:''; position:absolute; inset:0;
  background:linear-gradient(180deg,rgba(4,38,36,.06) 0%,rgba(4,38,36,.42) 100%);
}
.gate__shot--master  { background-image:url("../img/plan-master-tease.webp"); }
.gate__shot--floor   { background-image:url("../img/plan-floor-tease.webp"); }
.gate__shot--location{ background-image:url("../img/plan-location-tease.webp"); }
.gate__shot--cost    { background-color:#F4EFE5; }

.gate__lock{
  position:relative; z-index:2;
  width:46px; height:46px; display:grid; place-items:center;
  border-radius:50%;
  background:rgba(255,255,255,.93); color:var(--gold-ink);
  box-shadow:0 12px 26px -10px rgba(4,38,36,.5);
}
.gate__lock svg{ width:20px; height:20px; }

.gate__tag{
  position:absolute; z-index:2; left:10px; bottom:9px;
  font-size:.6rem; letter-spacing:.16em; text-transform:uppercase;
  color:#fff; opacity:.92;
}

/* the cost sheet has no drawing to blur, so it gets a redacted price list */
.blurList{
  position:absolute; inset:14px 16px 30px; z-index:1;
  margin:0; padding:0; list-style:none;
  display:flex; flex-direction:column; justify-content:center; gap:11px;
  filter:blur(3px); opacity:.5;
}
.blurList li{ display:flex; align-items:center; gap:10px; }
.blurList i{ flex:none; width:34%; height:7px; border-radius:3px; background:#B9A98C; }
.blurList b{ flex:1; height:7px; border-radius:3px; background:#D6C8AE; }

/* the location gate sits in the Why Kochi grid where the photo used to */
.why .gate__shot{ aspect-ratio:1/1; }

.lnkBtn{
  color:var(--gold-ink); border-bottom:1px solid var(--gold);
  padding:0; font:inherit;
}
.lnkBtn:hover{ color:var(--teal); border-bottom-color:var(--teal); }


/* ═══════════════════════════════════════════════════════════════
   ENQUIRY MODAL
   ═══════════════════════════════════════════════════════════════ */

.modal{
  position:fixed; inset:0; z-index:90;
  display:grid; place-items:center; padding:18px;
  background:rgba(4,38,36,.62);
  backdrop-filter:blur(5px); -webkit-backdrop-filter:blur(5px);
  opacity:0; transition:opacity .35s var(--ease);
}
.modal[hidden]{ display:none; }
.modal.is-open{ opacity:1; }

.modal__box{
  position:relative; width:100%; max-width:540px;
  max-height:94vh; overflow-y:auto;
  background:var(--paper);
  border-top:3px solid var(--gold); border-radius:var(--r);
  padding:clamp(22px,3vw,32px) clamp(22px,4vw,38px) clamp(22px,3vw,28px);
  box-shadow:0 50px 100px -34px rgba(4,38,36,.8);
  transform:translateY(20px) scale(.975);
  transition:transform .42s var(--ease);
}
.modal.is-open .modal__box{ transform:none; }

.modal__x{
  position:absolute; top:12px; right:12px;
  width:34px; height:34px; display:grid; place-items:center;
  color:var(--ink-soft); border-radius:50%; transition:.26s var(--ease);
}
.modal__x:hover{ background:var(--cream); color:var(--gold-ink); }
.modal__x svg{ width:15px; height:15px; }

.modal__logo{ height:40px; width:auto; margin:0 auto 10px; }
.modal__ttl{
  text-align:center; font-family:var(--serif);
  font-size:1.7rem; color:var(--teal);
}
.modal__sub{
  text-align:center; margin:5px 0 14px;
  font-size:.62rem; letter-spacing:.22em;
  text-transform:uppercase; color:var(--gold-ink);
}

/* what the visitor gets for filling it in — three across, so the popup
   still opens on a laptop without scrolling */
.perks{
  display:grid; grid-template-columns:repeat(3,1fr);
  gap:10px; margin:2px 0 18px; padding:0;
  list-style:none; text-align:center;
}
.perks li{
  display:flex; flex-direction:column; align-items:center; gap:8px;
  font-size:.68rem; line-height:1.3; font-weight:500; color:var(--ink);
}
.perks__ic{
  width:38px; height:38px; flex:none;
  display:grid; place-items:center;
  border:1.5px solid var(--teal); border-radius:50%;
  color:var(--teal);
}
.perks__ic svg{ width:18px; height:18px; }

.modal .frm{ gap:11px; }
.modal .fld > label{ margin-bottom:4px; }
.modal .chk span{ font-size:.7rem; }


/* ═══════════════════════════════════════════════════════════════
   SCROLL REVEALS
   Short and small. A page that heaves itself into view is slower
   to read, not more premium.
   ═══════════════════════════════════════════════════════════════ */

.js .reveal{
  opacity:0; transform:translateY(20px);
  transition:opacity .7s var(--ease), transform .7s var(--ease);
}
.js .reveal.is-in{ opacity:1; transform:none; }
.js .reveal[data-d="1"]{ transition-delay:.09s; }
.js .reveal[data-d="2"]{ transition-delay:.18s; }
.js .reveal[data-d="3"]{ transition-delay:.27s; }

@media (prefers-reduced-motion:reduce){
  .js .reveal{ opacity:1; transform:none; }
}

/* a hairline that fills as the page is read */
.prog{
  position:fixed; top:0; left:0; right:0; z-index:100;
  height:2px; background:transparent; pointer-events:none;
}
.prog i{
  display:block; height:100%; width:0;
  background:linear-gradient(90deg,var(--gold) 0%,var(--gold-soft) 100%);
}


@media (max-width:1000px){
  .gates{ grid-template-columns:1fr; max-width:460px; margin-inline:auto; }
  .addr__pic .frame{ aspect-ratio:1/1; }
  .frame{ border-radius:clamp(70px,18vw,120px) clamp(70px,18vw,120px) var(--r) var(--r); }
}

@media (max-width:720px){
  .perks{ gap:6px; }
  .perks li{ font-size:.61rem; gap:6px; }
  .perks__ic{ width:33px; height:33px; }
  .perks__ic svg{ width:15px; height:15px; }
  .frame--arch::after{ transform:translate(9px,9px); }
}


/* ═══════════════════════════════════════════════════════════════
   LIVING WATER
   Two copies of the brochure's water photograph drift against each
   other, light travels over the top, and an SVG turbulence filter
   displaces the front layer. The point is motion a printed page
   cannot have — the banner stops being a picture of something and
   starts being a surface.
   ═══════════════════════════════════════════════════════════════ */

.wb-defs{ position:absolute; width:0; height:0; overflow:hidden; }

.waterbg{ position:absolute; inset:0; overflow:hidden; z-index:0; pointer-events:none; }

.waterbg__layer{
  position:absolute; inset:-10%;
  background:url("../img/water.webp") center/cover no-repeat;
  will-change:transform; backface-visibility:hidden;
}
.waterbg__layer--a{
  filter:url("#waterRipple");
  animation:wbDriftA 30s ease-in-out infinite alternate;
}
/* the counter-drift is what makes it read as moving water rather than
   a photograph being slowly zoomed */
.waterbg__layer--b{
  mix-blend-mode:soft-light; opacity:.6;
  animation:wbDriftB 42s ease-in-out infinite alternate;
}
@keyframes wbDriftA{
  from{ transform:scale(1.05) translate3d(-1.1%,-.7%,0); }
  to  { transform:scale(1.13) translate3d( 1.3%, .9%,0); }
}
@keyframes wbDriftB{
  from{ transform:scale(1.15) translate3d( 1.2%, .9%,0) rotate(.35deg); }
  to  { transform:scale(1.05) translate3d(-1.3%,-.7%,0) rotate(-.35deg); }
}

.waterbg__caustics{
  position:absolute; inset:-22%;
  background:
    radial-gradient(58% 40% at 28% 24%, rgba(214,244,238,.20), transparent 62%),
    radial-gradient(48% 34% at 72% 66%, rgba(214,244,238,.15), transparent 64%),
    radial-gradient(40% 28% at 52% 88%, rgba(214,244,238,.11), transparent 66%);
  filter:blur(30px); mix-blend-mode:screen;
  animation:wbCaustic 19s ease-in-out infinite alternate;
  will-change:transform;
}
@keyframes wbCaustic{
  from{ transform:translate3d(-3.5%,-2.5%,0) scale(1); }
  to  { transform:translate3d( 3.5%, 2.5%,0) scale(1.14); }
}

/* the wash that keeps the headline readable over busy water */
.waterbg__veil{
  position:absolute; inset:0;
  background:
    radial-gradient(70% 70% at 76% 14%, rgba(18,91,87,.34), transparent 60%),
    linear-gradient(180deg, rgba(4,38,36,.80) 0%, rgba(6,48,47,.62) 42%, rgba(4,38,36,.88) 100%);
}

/* A phone cannot afford the displacement filter, so the drift and the
   light are pushed harder instead — otherwise it reads as a still. */
@media (max-width:860px){
  .waterbg__layer{ background-image:url("../img/water-m.webp"); }
  .waterbg__layer--a{ filter:none; animation:wbDriftAm 17s ease-in-out infinite alternate; }
  .waterbg__layer--b{ opacity:.72; animation:wbDriftBm 23s ease-in-out infinite alternate; }
  .waterbg__caustics{ animation:wbCausticM 12s ease-in-out infinite alternate; filter:blur(22px); }
  @keyframes wbDriftAm{
    from{ transform:scale(1.06) translate3d(-3.6%,-2.4%,0); }
    to  { transform:scale(1.24) translate3d( 3.6%, 2.8%,0); }
  }
  @keyframes wbDriftBm{
    from{ transform:scale(1.26) translate3d( 3.4%, 2.6%,0) rotate(1.1deg); }
    to  { transform:scale(1.06) translate3d(-3.6%,-2.4%,0) rotate(-1.1deg); }
  }
  @keyframes wbCausticM{
    from{ transform:translate3d(-10%,-8%,0) scale(1); }
    to  { transform:translate3d( 10%, 8%,0) scale(1.2); }
  }
}

@media (prefers-reduced-motion:reduce){
  .waterbg__layer,.waterbg__caustics{ animation:none; }
  .waterbg__layer--a{ filter:none; }
}


/* ═══════════════════════════════════════════════════════════════
   THE BANNER
   No photograph, no corner chip, no printed footer rule. One
   headline on moving water, and the two things a visitor can do.
   ═══════════════════════════════════════════════════════════════ */

.hero{
  position:relative; overflow:hidden;
  min-height:min(88vh,760px);
  display:grid; align-items:center;
  padding:clamp(90px,13vh,150px) 0 clamp(80px,11vh,120px);
  background:var(--teal-950);
  color:var(--cream);
}

.hero__in{
  position:relative; z-index:2;
  max-width:820px;
  display:block;
}

.hero__ttl{ margin:0 0 .45em; }
.hero__brand{
  display:block;
  font-family:var(--serif);
  font-size:clamp(2.9rem,1.8rem + 4.6vw,5.4rem);
  font-weight:400; letter-spacing:-.022em; color:var(--paper);
  text-shadow:0 2px 40px rgba(4,38,36,.5);
}
.hero__soon{
  display:block;
  font-family:var(--serif);
  font-size:clamp(1.7rem,1.1rem + 2.4vw,3rem);
  font-weight:300; color:var(--gold-soft); letter-spacing:-.012em;
}
.hero__lede{
  max-width:50ch;
  font-size:clamp(1rem,.95rem + .35vw,1.15rem);
  color:rgba(241,232,217,.9);
  margin-bottom:1.6em;
}
.hero__states{
  display:flex; align-items:center; gap:12px; flex-wrap:wrap;
  margin:0 0 2.2em;
  font-size:.74rem; letter-spacing:.2em; text-transform:uppercase;
  color:rgba(241,232,217,.66);
}
.hero__states i{ color:var(--gold-soft); font-style:normal; }

.hero__act{ display:flex; gap:12px; flex-wrap:wrap; }
.btn--ghostLt{
  border:1px solid rgba(241,232,217,.42);
  color:var(--cream); background:rgba(241,232,217,.06);
  backdrop-filter:blur(3px);
}
.btn--ghostLt:hover{ border-color:var(--gold-soft); background:rgba(201,163,106,.16); }

/* a quiet nudge that there is more below, instead of a printed rule */
.hero__cue{
  position:absolute; z-index:2; left:50%; bottom:28px;
  width:26px; height:42px; margin-left:-13px;
  border:1px solid rgba(241,232,217,.38); border-radius:14px;
}
.hero__cue span{
  position:absolute; left:50%; top:9px;
  width:3px; height:7px; margin-left:-1.5px; border-radius:2px;
  background:var(--gold-soft);
  animation:cue 1.9s ease-in-out infinite;
}
@keyframes cue{
  0%,100%{ transform:translateY(0);    opacity:1; }
  70%    { transform:translateY(14px); opacity:0; }
}
@media (prefers-reduced-motion:reduce){ .hero__cue span{ animation:none; } }


/* ═══════════════════════════════════════════════════════════════
   PROJECT HIGHLIGHTS
   Ten facts as ten boxes — an icon and two lines each. As ten rows
   of running prose nobody read past the third.
   ═══════════════════════════════════════════════════════════════ */

.hls{
  display:grid; grid-template-columns:repeat(5,1fr);
  gap:clamp(12px,1.4vw,18px);
  margin-top:clamp(26px,3vw,40px);
}

.hl{
  padding:22px 18px 20px;
  border:1px solid rgba(201,163,106,.24);
  border-radius:var(--r);
  background:rgba(241,232,217,.045);
  transition:.35s var(--ease);
}
.hl:hover{
  border-color:rgba(201,163,106,.58);
  background:rgba(241,232,217,.085);
  transform:translateY(-3px);
}
.hl__ic{
  display:grid; place-items:center;
  width:40px; height:40px; margin-bottom:14px;
  border-radius:var(--r);
  background:rgba(201,163,106,.14);
  color:var(--gold-soft);
}
.hl__ic svg{ width:21px; height:21px; }
.hl h3{
  font-family:var(--sans);
  font-size:.66rem; font-weight:500;
  letter-spacing:.15em; text-transform:uppercase;
  color:var(--gold-soft); margin-bottom:6px;
}
.hl p{
  margin:0; font-size:.95rem; line-height:1.4;
  color:var(--paper);
}

.glance__cta{ margin-top:clamp(26px,3vw,40px); }


/* ═══════════════════════════════════════════════════════════════
   CONFIGURATIONS TABLE
   ═══════════════════════════════════════════════════════════════ */

.sr-only{
  position:absolute; width:1px; height:1px;
  margin:-1px; padding:0; border:0;
  clip:rect(0 0 0 0); clip-path:inset(50%); overflow:hidden;
}

.cfgT{
  margin-top:clamp(22px,3vw,34px);
  border:1px solid var(--line); border-radius:var(--r);
  overflow:hidden;
  box-shadow:0 26px 54px -34px rgba(4,38,36,.4);
}
.cfgT table{ width:100%; border-collapse:collapse; }

.cfgT thead th{
  background:var(--teal); color:var(--gold-soft);
  font-family:var(--sans);
  font-size:.66rem; font-weight:500;
  letter-spacing:.16em; text-transform:uppercase;
  text-align:left; padding:15px 20px;
}
.cfgT tbody tr{ border-top:1px solid var(--line); transition:background .25s var(--ease); }
.cfgT tbody tr:nth-child(odd){ background:#FDFAF4; }
.cfgT tbody tr:hover{ background:#F8F1E4; }

.cfgT th[scope="row"]{
  font-family:var(--serif); font-size:1.35rem;
  font-weight:500; color:var(--teal);
  text-align:left; padding:17px 20px; white-space:nowrap;
}
.cfgT td{
  padding:17px 20px; font-size:.92rem;
  color:var(--ink-soft); vertical-align:middle;
}
.cfgT__size{
  font-size:.72rem !important; letter-spacing:.1em;
  text-transform:uppercase; color:var(--gold-ink) !important;
  white-space:nowrap;
}
.cfgT__act{ text-align:right; white-space:nowrap; }


/* ═══════════════════════════════════════════════════════════════
   THE MAP
   Lock, line and button on one centred axis, over the image —
   rather than a tall card with the button stranded beneath it.
   ═══════════════════════════════════════════════════════════════ */

.mapgate{
  position:relative; overflow:hidden;
  border-radius:var(--r);
  border:1px solid var(--line);
  aspect-ratio:4/3;
  box-shadow:0 30px 60px -34px rgba(4,38,36,.45);
}
.mapgate__shot{
  position:absolute; inset:0;
  background:url("../img/plan-location-tease.webp") center/cover no-repeat #EFEAE0;
  -webkit-user-select:none; user-select:none; -webkit-touch-callout:none;
}
.mapgate__over{
  position:absolute; inset:0; z-index:2;
  display:flex; flex-direction:column;
  align-items:center; justify-content:center; gap:14px;
  padding:26px;
  text-align:center;
  background:linear-gradient(180deg,rgba(4,38,36,.34) 0%,rgba(4,38,36,.72) 100%);
}
.mapgate__lock{
  width:48px; height:48px; display:grid; place-items:center;
  border-radius:50%;
  background:rgba(255,255,255,.94); color:var(--gold-ink);
  box-shadow:0 14px 30px -12px rgba(4,38,36,.6);
}
.mapgate__lock svg{ width:21px; height:21px; }
.mapgate__over p{
  margin:0; max-width:26ch;
  font-size:.92rem; color:var(--cream);
}

.near__cta{ margin-top:clamp(22px,3vw,32px); }


@media (max-width:1100px){
  .hls{ grid-template-columns:repeat(3,1fr); }
}
@media (max-width:760px){
  .hls{ grid-template-columns:repeat(2,1fr); gap:10px; }
  .hl{ padding:18px 15px 16px; }
  .hl__ic{ width:34px; height:34px; margin-bottom:11px; }
  .hl__ic svg{ width:18px; height:18px; }
  .hl p{ font-size:.86rem; }

  .hero{ min-height:auto; padding:clamp(60px,12vh,90px) 0 clamp(70px,10vh,96px); }
  .hero__act{ flex-direction:column; align-items:stretch; }
  .hero__act .btn{ width:100%; }
  .hero__cue{ display:none; }

  /* the table collapses into stacked records, one per home */
  .cfgT thead{ display:none; }
  .cfgT table,.cfgT tbody,.cfgT tr,.cfgT th,.cfgT td{ display:block; width:100%; }
  .cfgT tbody tr{ padding:16px 18px; }
  .cfgT th[scope="row"]{ padding:0 0 4px; }
  .cfgT td{ padding:2px 0; }
  .cfgT__act{ text-align:left; padding-top:12px !important; }
  .cfgT__act .btn{ width:100%; }
}


/* ═══════════════════════════════════════════════════════════════
   MOBILE MENU
   On a phone the header carries the logo and the menu button, and
   nothing else. Call and WhatsApp live in the thumb bar at the
   bottom of the screen, which is easier to reach than anything in
   a header — repeating them at the top only crowded the logo.
   ═══════════════════════════════════════════════════════════════ */

.burger{
  display:none;                      /* desktop has the real nav */
  position:relative;
  width:44px; height:44px; flex:none;
  margin-left:auto;
  border-radius:var(--r);
}
.burger span{
  position:absolute; left:11px; right:11px; height:1.5px;
  background:var(--cream); border-radius:2px;
  transition:transform .32s var(--ease), opacity .22s var(--ease);
}
.burger span:nth-child(1){ top:15px; }
.burger span:nth-child(2){ top:21px; }
.burger span:nth-child(3){ top:27px; }

/* the three bars fold into a cross */
.burger.is-on span:nth-child(1){ transform:translateY(6px) rotate(45deg); }
.burger.is-on span:nth-child(2){ opacity:0; }
.burger.is-on span:nth-child(3){ transform:translateY(-6px) rotate(-45deg); }

.mobNav{
  display:none;
  background:var(--teal-950);
  border-top:1px solid rgba(201,163,106,.2);
  /* closed by default: collapsed to nothing and clipped, so it animates
     open rather than appearing all at once */
  max-height:0; overflow:hidden;
  transition:max-height .42s var(--ease);
}
.mobNav.is-open{ max-height:420px; }

.mobNav a{
  display:block;
  padding:15px clamp(16px,5vw,24px);
  font-size:.82rem; letter-spacing:.12em; text-transform:uppercase;
  color:rgba(241,232,217,.86);
  border-bottom:1px solid rgba(201,163,106,.12);
}
.mobNav a:active{ background:rgba(201,163,106,.1); color:var(--paper); }
.mobNav .btn{
  margin:16px clamp(16px,5vw,24px) 20px;
  width:calc(100% - 2 * clamp(16px,5vw,24px));
}

@media (max-width:1000px){
  .burger{ display:block; }
  .mobNav{ display:block; }

  /* the phone number and the header button go — both are a tap away at
     the bottom of the screen already */
  .hdr__act{ display:none; }
}
