
    :root {
      --gold: #e3cf82;
      --accent: #af530e;
      --cream: #fff2ea;
      --btn-gradient: linear-gradient(122deg, rgba(178,127,41,0.996) 0%, rgba(224,177,116,0.998) 50%, rgba(238,217,136,1) 100%);
      --ink: #1c1a17;
      --ink-soft: #4a463f;
      --footer-bg: #efe7dd;
      --serif: 'Canela Deck Trial', 'Playfair Display', Georgia, 'Times New Roman', serif;
      --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
      box-sizing: border-box;
      padding-top: env(safe-area-inset-top, 0px);
      padding-bottom: env(safe-area-inset-bottom, 0px);
    }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
      scroll-padding-top: env(safe-area-inset-top, 0px);
      overflow-x: clip;
      -webkit-text-size-adjust: 100%;
      text-size-adjust: 100%;
    }

    body {
      margin: 0;
      font-family: var(--sans);
      color: var(--ink);
      background: #fff;
      -webkit-font-smoothing: antialiased;
      overflow-x: clip;
    }

    img {
      max-width: 100%;
      display: block;
    }

    .wrap {
      width: 100%;
      max-width: 1920px;
      margin: 0 auto;
      position: relative;
      overflow: visible;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    /* ---------- Buttons ---------- */
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-family: var(--sans);
      font-size: 0.72rem;
      font-weight: 500;
      letter-spacing: 0.08em;
      padding: 0.9em 2.2em;
      border: 1px solid rgba(255, 255, 255, 0.85);
      color: #fff;
      background: transparent;
      cursor: pointer;
      white-space: nowrap;
      transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease, border-color 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
      border-radius: 4px;
    }

    .btn:hover {
      background: #fff;
      border-color: #fff;
      color: var(--ink);
    }
    

    .btn:active {
      transform: scale(0.97);
    }

    .btn-dark {
      border: 1px solid #2e2820;
      background: transparent;
      color: var(--ink);
      font-size: 0.72rem;
      letter-spacing: 0.08em;
      padding: 0.85em 2.2em;
      border-radius: 4px;
      font-weight: 500;
    }

    .btn-dark:hover {
      background: var(--ink);
      border-color: var(--ink);
      color: #fff;
    }

    .btn-gold {
      border: none;
      background: linear-gradient(135deg, #af5a25 0%, #c46d32 45%, #d98a4e 100%);
      color: #fff;
      font-weight: 600;
      box-shadow: 0 4px 18px rgba(185, 95, 40, 0.45);
      border-radius: 4px;
    }

    .btn-gold:hover {
      background: linear-gradient(135deg, #8f4519 0%, #a8561f 45%, #bf6f33 100%);
      color: #fff;
      box-shadow: 0 8px 24px rgba(143, 69, 25, 0.5);
      transform: translateY(-2px);
    }

    .arrow-btn {
      width: 44px;
      height: 44px;
      border-radius: 50%;
      border: 1.5px solid rgba(255, 255, 255, 0.85);
      background: rgba(0, 0, 0, 0.25);
      color: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      font-size: 1.25rem;
      line-height: 1;
      transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
      flex-shrink: 0;
      backdrop-filter: blur(4px);
      -webkit-backdrop-filter: blur(4px);
      user-select: none;
      -webkit-user-select: none;
    }

    .arrow-btn:hover {
      background: #fff;
      border-color: #fff;
      color: var(--ink);
    }

    .arrow-btn:active,
    .arrow-btn:focus,
    .arrow-btn:focus-visible {
      outline: none;
    }

    .arrow-btn.dark {
      border: 1.5px solid #241e17;
      color: #1c1a17;
      background: transparent;
    }

    .arrow-btn.dark:hover {
      background: var(--ink);
      border-color: var(--ink);
      color: #fff;
    }

    .arrow-btn.solid-black {
      background: #000;
      border: none;
      color: #fff;
      width: 40px;
      height: 40px;
    }

    .arrow-btn.solid-black:hover {
      background: var(--accent);
      color: #fff;
    }

    /* ---------- Header on hero ---------- */
    .site-header {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      z-index: 5;
      padding: 28px 5.5%;
    }

    .logo img {
      width: clamp(96px, 14vw, 150px);
      height: auto;
    }

    .logo {
      font-family: var(--serif);
      color: #fff;
      line-height: 1.05;
    }

    /* ---------- Hero (full-screen slider) ---------- */
    .hero {
      position: relative;
      height: 100vh;
      height: 100svh;
      min-height: 560px;
      display: flex;
      align-items: flex-end;
      overflow: hidden;
    }

   


    .slide-layer {
      position: absolute;
      inset: 0;
      background-size: cover;
        background-position: center  100%;
      opacity: 0;
      transition: opacity 1.4s ease;
    }

    .slide-layer.active {
      opacity: 1;
    }

    .hero-bg {
      background-image: url('../images/banner-1.webp');
    }

    @media (max-width: 767px) {
      .hero-bg {
        background-image: url('../images/mobile-banner-1.webp');
        background-position: center;
      }
    }

    .hero::after {
      content: "";
      position: absolute;
      inset: 0;
      z-index: 1;
      background: linear-gradient(0deg, rgba(6, 8, 16, 0.6) 0%, rgba(6, 8, 16, 0.12) 45%, rgba(6, 8, 16, 0.05) 70%);
      pointer-events: none;
    }

    .hero-content {
      position: relative;
      z-index: 2;
      padding: 0 5.5% 90px;
      max-width: 620px;
    }

    .slide-dots {
      position: absolute;
      z-index: 3;
      right: 5.5%;
      bottom: 32px;
      display: flex;
      gap: 10px;
    }

    .slide-dots button {
      width: 9px;
      height: 9px;
      border-radius: 50%;
      border: 1px solid rgba(255, 255, 255, 0.8);
      background: transparent;
      cursor: pointer;
      padding: 0;
      transition: background 0.2s ease, border-color 0.2s ease;
    }

    .slide-dots button:active,
    .slide-dots button:focus,
    .slide-dots button:focus-visible {
      outline: none;
      transform: none;
    }

    .slide-dots button.active {
      background: var(--gold);
      border-color: var(--gold);
    }

    .hero-content h1 {
      font-family: var(--serif);
      color: var(--gold);
      font-weight: 400;
      font-size: clamp(2rem, 4.2vw, 3.1rem);
      line-height: 1.15;
      margin: 0 0 18px;
    }

    .hero-content p {
      color: #f3efe8;
      font-size: 0.92rem;
      line-height: 1.6;
      max-width: 420px;
      margin: 0 0 26px;
    }
.container {
    position: relative;
    max-width: 1440px;
    margin: 0 auto;
    padding: 10px 0;
}
    /* ---------- Project overview (lobby slider + copy) ---------- */
    .overview {
      display: flex;
      align-items: stretch;
      background: var(--ink);
      color: #f3efe8;
      min-height: 560px;
    }

    .overview-media {
      position: relative;
      flex: 1 1 52%;
      min-height: 420px;
      overflow: hidden;
      background: #2a2621;
    }

    .overview-slide {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      opacity: 0;
      transition: opacity 0.9s ease;
    }

    .overview-slide.active {
      opacity: 1;
    }

    .overview-content {
      flex: 1 1 48%;
      padding: 64px 5.5%;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }

    .section-eyebrow {
      display: block;
      font-size: 0.72rem;
      font-weight: 600;
      letter-spacing: 0.2em;
      color: #d9a86b;
      margin-bottom: 14px;
    }

    .overview-content h2 {
      font-family: var(--serif);
      color: var(--gold);
      font-weight: 400;
      font-size: clamp(1.8rem, 3.4vw, 2.7rem);
      line-height: 1.15;
      margin: 0 0 18px;
    }

    .overview-content p {
      font-size: 0.95rem;
      line-height: 1.75;
      color: #e6e0d6;
      margin: 0 0 30px;
      max-width: 560px;
    }

    .rule {
      width: 60px;
      height: 1.5px;
      background: #ffffff;
      margin-bottom: 24px;
    }

    .interior-actions {
      display: flex;
      gap: 16px;
      align-items: center;
      flex-wrap: wrap;
    }

    .overview-media .arrow-btn {
      position: absolute;
      z-index: 3;
      top: 50%;
      transform: translateY(-50%);
    }

    .overview-media .gallery-arrow-prev { left: 16px; }
    .overview-media .gallery-arrow-next { right: 16px; }

    /* ---------- Quick enquiry (below banner, mobile/tablet only) ---------- */
    .quick-enquiry {
      display: none;
      background: var(--ink);
      padding: 40px 5.5%;
    }

    .quick-card {
      max-width: 1140px;
      margin: 0 auto;
      background: var(--cream);
      border-radius: 14px;
      padding: 30px 34px 20px;
      display: grid;
      grid-template-columns: minmax(220px, 1fr) 2.4fr;
      gap: 12px 36px;
      align-items: center;
    }

    .quick-eyebrow {
      display: block;
      font-size: 0.7rem;
      font-weight: 700;
      letter-spacing: 0.22em;
      color: #b27f29;
      margin-bottom: 8px;
    }

    .quick-head h2 {
      font-family: var(--serif);
      font-weight: 400;
      font-size: clamp(1.4rem, 2.2vw, 1.8rem);
      margin: 0 0 8px;
      color: var(--ink);
      line-height: 1.2;
    }

    .quick-head p {
      margin: 0;
      font-size: 0.85rem;
      color: #555047;
      line-height: 1.5;
    }

    .quick-form {
      display: grid;
      grid-template-columns: 1fr 1.15fr 1.15fr auto;
      gap: 12px;
      align-items: start;
    }

    .quick-form .field {
      margin: 0;
    }

    .quick-form .field input,
    .quick-form .field select,
    .quick-form .phone-box {
      background: #fff;
      border: 1px solid #e0d6c8;
      border-radius: 8px;
      min-height: 46px;
    }

    .quick-form .phone-box input {
      border: none;
      min-height: 44px;
    }

    .quick-submit {
      min-height: 46px;
      font-size: 0.85rem;
      border-radius: 8px;
      padding: 0 28px;
    }

    .quick-agree,
    .quick-form .form-msg {
      grid-column: 1 / -1;
      margin: 0;
    }

    .quick-form .form-msg:empty {
      display: none;
    }

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


    /* ---------- Cream sections ---------- */
    .section {
      background: var(--cream);
      padding: 56px 5.5%;
    }

    .section.tight {
      padding-top: 52px;
      padding-bottom: 36px;
    }

    .eyebrow-heading {
      font-family: var(--serif);
      color: #1c1a17;
      text-align: center;
      font-weight: 200;
      font-size: clamp(1.4rem, 2.6vw, 2.1rem);
      margin: 0 0 32px;
      letter-spacing: 0.06em;
      text-transform: uppercase;
    }

    .eyebrow-heading.dark {
      color: #1c1a17;
      letter-spacing: 0.06em;
    }

    .section-sub {
      text-align: center;
      margin: -18px auto 34px;
      color: #4a463f;
      font-size: 0.95rem;
      letter-spacing: 0.04em;
    }

    .section-cta {
      display: flex;
      justify-content: center;
      margin-top: 40px;
    }

    /* ---------- Floor plans (locked until lead submit) ---------- */
    .plan-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 22px;
      max-width: 1140px;
      margin: 0 auto;
    }

    .plan-card {
      background: #fff;
      border: 1px solid rgba(28, 26, 23, 0.1);
      border-radius: 10px;
      overflow: hidden;
    }

    .plan-media {
      position: relative;
      aspect-ratio: 4 / 3;
      overflow: hidden;
      background: #f7f3ee;
    }

    .plan-media img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      filter: blur(6px);
      transform: scale(1.06);
      transition: filter 0.5s ease, transform 0.5s ease;
    }

    .plan-unlock {
      position: absolute;
      z-index: 2;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 10px 18px;
      border: none;
      border-radius: 4px;
      background: linear-gradient(135deg, #af5a25 0%, #c46d32 45%, #d98a4e 100%);
      box-shadow: 0 4px 18px rgba(185, 95, 40, 0.45);
      color: #fff;
      font-family: var(--sans);
      font-size: 0.8rem;
      font-weight: 600;
      white-space: nowrap;
      cursor: pointer;
      transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
    }

    .plan-unlock:hover {
      background: linear-gradient(135deg, #8f4519 0%, #a8561f 45%, #bf6f33 100%);
      box-shadow: 0 8px 24px rgba(143, 69, 25, 0.5);
      color: #fff;
    }

    .plan-info {
      padding: 14px 16px 16px;
    }

    .plan-info h3 {
      font-family: var(--serif);
      font-weight: 400;
      font-size: 1.2rem;
      margin: 0 0 4px;
      color: var(--ink);
    }

    .plan-info p {
      margin: 0;
      font-size: 0.86rem;
      color: #4a463f;
    }


    .divider {
      max-width: 1140px;
      margin: 48px auto;
      border: none;
      border-top: 1px solid rgba(0, 0, 0, 0.16);
    }

    .stats-wrap {
      position: relative;
      max-width: 1140px;
      margin: 0 auto;
      padding: 10px 0;
    }

    .stats-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      row-gap: 36px;
      column-gap: 40px;
    }

    .stat h4 {
      font-family: var(--serif);
      font-weight: 200;
      font-size: clamp(1.4rem, 2.4vw, 1.95rem);
      color: #1c1a17;
      margin: 0 0 8px;
      letter-spacing: 0.02em;
    }

    .stat p {
      margin: 0;
      color: #4a463f;
      font-size: 0.88rem;
      line-height: 1.5;
      max-width: 250px;
    }

    .tabs {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 22px;
      margin-top: 20px;
      margin-bottom: 12px;
    }

    .tabs button {
      background: none;
      border: none;
      font-family: var(--sans);
      font-size: 0.95rem;
      color: #615a50;
      cursor: pointer;
      padding: 4px 6px;
      font-weight: 500;
      transition: color 0.2s ease;
      position: relative;
    }

    .tabs button:hover {
      color: #1c1a17;
    }

    .tabs button:active,
    .tabs button:focus,
    .tabs button:focus-visible {
      outline: none;
      transform: none;
    }

    .tabs button.active {
      color: #1c1a17;
      font-weight: 500;
      border-bottom: 2px solid #1c1a17;
    }

    .tabs .sep {
      color: rgba(0, 0, 0, 0.35);
    }

    /* ---------- Section 4: Where Everyday Life Finds More ---------- */
    .amenity-section {
      background: var(--cream);
      padding: 56px 0 76px;
      position: relative;
    }

    .amenity-section .eyebrow-heading,
    .amenity-section .tabs {
      padding-left: 5.5%;
      padding-right: 5.5%;
    }

    .amenity-section .tabs {
      margin-top: 20px;
      margin-bottom: 30px;
    }

    .amenity-stage {
      position: relative;
      width: 100%;
      height: 80vh;
      height: 80svh;
      min-height: 560px;
      max-height: 820px;
      overflow: hidden;
      background: #2a2621;
    }

    .amenity-slide {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      opacity: 0;
      transition: opacity 0.45s ease;
    }

    .amenity-slide.active {
      opacity: 1;
    }

    .amenity-label {
      color: #fff;
      font-size: 1rem;
      letter-spacing: 0.03em;
      /* text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7); */
      font-family: var(--sans);
      font-weight: 400;
      flex: 1 1 auto;
      min-width: 0;
    }

    .amenity-stage::after {
      content: "";
      position: absolute;
      inset: 0;
      pointer-events: none;
      background: linear-gradient(180deg, rgba(0, 0, 0, 0.02) 55%, rgba(0, 0, 0, 0.34) 100%);
    }

    .amenity-meta {
      position: absolute;
      z-index: 2;
      left: 5.5%;
      right: 5.5%;
      bottom: 24px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
    }

    .amenity-arrow {
      position: absolute;
      z-index: 3;
      top: 50%;
      width: 46px;
      height: 46px;
      border-radius: 50%;
      border: 1px solid rgba(255, 255, 255, 0.78);
      background: rgba(0, 0, 0, 0.18);
      color: #fff;
      display: grid;
      place-items: center;
      font-size: 1.6rem;
      line-height: 1;
      cursor: pointer;
      transform: translateY(-50%);
      transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
      backdrop-filter: blur(4px);
      -webkit-backdrop-filter: blur(4px);
    }

    .amenity-arrow:hover {
      background: #fff;
      border-color: #fff;
      color: var(--ink);
    }

    .amenity-arrow:focus,
    .amenity-arrow:focus-visible {
      outline: none;
    }

    .amenity-arrow-prev { left: 3.5%; }
    .amenity-arrow-next { right: 3.5%; }

    .amenity-dots {
      display: flex;
      align-items: center;
      gap: 8px;
      flex-shrink: 0;
    }

    .amenity-dots button {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      border: 1px solid rgba(255, 255, 255, 0.85);
      background: transparent;
      padding: 0;
      cursor: pointer;
      transition: width 0.2s ease, border-radius 0.2s ease, background 0.2s ease;
    }

    .amenity-dots button {
      position: relative;
    }

    .amenity-dots button::after {
      content: "";
      position: absolute;
      inset: -12px -4px;
    }

    .amenity-dots button.active {
      width: 24px;
      border-radius: 999px;
      background: #fff;
      border-color: #fff;
    }

    .amenity-dots button:focus,
    .amenity-dots button:focus-visible {
      outline: none;
    }

    /* ---------- Costing ---------- */
    .costing-section {
      background: #f6ece3;
    }

    .cost-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 20px;
      max-width: 1140px;
      margin: 0 auto;
    }

    .cost-card {
      background: #fff;
      border-radius: 12px;
      padding: 22px 20px;
      box-shadow: 0 6px 24px rgba(28, 26, 23, 0.06);
      display: flex;
      flex-direction: column;
      align-items: flex-start;
    }

    .cost-badge {
      display: inline-block;
      background: var(--gold);
      color: var(--ink);
      font-size: 0.72rem;
      font-weight: 700;
      padding: 3px 9px;
      border-radius: 4px;
      margin-bottom: 14px;
    }

    .cost-card h3 {
      font-family: var(--serif);
      font-weight: 400;
      font-size: 1.3rem;
      margin: 0 0 12px;
      color: var(--ink);
    }

    .cost-card p {
      margin: 0 0 8px;
      font-size: 0.9rem;
      color: #3b3730;
    }

    .cost-price {
      color: var(--accent);
      font-weight: 700;
      white-space: nowrap;
    }

    .cost-cta {
      width: 100%;
      margin-top: auto;
      padding-top: 0.9em;
    }

    .cost-card p:last-of-type {
      margin-bottom: 18px;
    }

    .cost-note {
      max-width: 1140px;
      margin: 20px auto 0;
      font-size: 0.74rem;
      color: #7d7569;
    }

    /* ---------- Location ---------- */
    .location-section {
      display: flex;
      align-items: center;
      gap: 48px;
      background: var(--cream);
      padding: 60px 5.5%;
    }

    .location-map {
      flex: 1 1 52%;
    }

    .location-map img {
      width: 100%;
      height: auto;
      border-radius: 10px;
    }

    .location-content {
      flex: 1 1 48%;
    }

    .location-content .section-eyebrow {
      color: #b27f29;
    }

    .location-content h2 {
      font-family: var(--serif);
      font-weight: 400;
      font-size: clamp(1.6rem, 2.8vw, 2.3rem);
      line-height: 1.2;
      margin: 0 0 24px;
      color: var(--ink);
    }

    .location-list {
      list-style: none;
      padding: 0;
      margin: 0 0 30px;
    }

    .location-list li {
      display: flex;
      justify-content: space-between;
      gap: 16px;
      padding: 9px 0 9px 28px;
      border-bottom: 1px solid rgba(28, 26, 23, 0.1);
      font-size: 0.92rem;
      color: #3b3730;
      position: relative;
    }

    .location-list li::before {
      content: "";
      position: absolute;
      left: 4px;
      top: 50%;
      width: 10px;
      height: 5px;
      border-left: 2px solid var(--accent);
      border-bottom: 2px solid var(--accent);
      transform: translateY(-70%) rotate(-45deg);
    }

    .location-list li span:last-child {
      color: var(--ink);
      font-weight: 600;
      white-space: nowrap;
    }

    /* ---------- Sample flat / virtual tour ---------- */
    .tour-frame {
      position: relative;
      display: block;
      width: 100%;
      max-width: 1100px;
      margin: 0 auto;
      padding: 0;
      border: none;
      border-radius: 10px;
      overflow: hidden;
      cursor: pointer;
      background: #2a2621;
    }

    .tour-frame img {
      width: 100%;
      aspect-ratio: 1100 / 500;
      object-fit: cover;
      transition: transform 0.6s ease;
    }

    .tour-frame:hover img {
      transform: scale(1.02);
    }

    .tour-play {
      position: absolute;
      top: 50%;
      left: 50%;
      width: 84px;
      height: 84px;
      margin: -42px 0 0 -42px;
      border-radius: 50%;
      background: rgba(28, 26, 23, 0.65);
      backdrop-filter: blur(4px);
      -webkit-backdrop-filter: blur(4px);
      transition: background 0.25s ease, transform 0.25s ease;
    }

    .tour-frame:hover .tour-play {
      background: var(--accent);
      transform: scale(1.08);
    }

    .tour-play::after {
      content: "";
      position: absolute;
      top: 50%;
      left: 50%;
      margin: -14px 0 0 -8px;
      border-style: solid;
      border-width: 14px 0 14px 24px;
      border-color: transparent transparent transparent #fff;
    }

    /* ---------- Gallery modal ---------- */
    .gallery-modal {
      position: fixed;
      inset: 0;
      z-index: 9998;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 24px;
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
      transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    .gallery-modal.active {
      opacity: 1;
      visibility: visible;
      pointer-events: auto;
    }

    .gallery-modal-overlay {
      position: absolute;
      inset: 0;
      background: rgba(0, 0, 0, 0.82);
    }

    .gallery-modal-box {
      position: relative;
      z-index: 2;
      width: 100%;
      max-width: 1200px;
      max-height: calc(100vh - 48px);
      max-height: calc(100svh - 48px);
      overflow-y: auto;
      background: var(--cream);
      border-radius: 10px;
      padding: 52px 24px 24px;
    }

    .gallery-modal-close {
      position: absolute;
      top: 10px;
      right: 14px;
      z-index: 4;
      width: 38px;
      height: 38px;
      border: 0;
      background: transparent;
      color: var(--ink);
      font-size: 30px;
      line-height: 1;
      cursor: pointer;
    }

    .gallery-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
      gap: 14px;
    }

    .gallery-grid[hidden],
    .gallery-viewer[hidden],
    .gallery-viewer [hidden] {
      display: none;
    }

    .gallery-thumb {
      padding: 0;
      border: none;
      background: none;
      cursor: pointer;
      text-align: left;
      font-family: var(--sans);
    }

    .gallery-thumb img {
      width: 100%;
      aspect-ratio: 3 / 2;
      object-fit: cover;
      border-radius: 6px;
      background: #d9d0c3;
    }

    .gallery-thumb span {
      display: block;
      padding: 6px 2px 0;
      font-size: 0.8rem;
      color: #3b3730;
    }

    .gallery-viewer {
      position: relative;
      margin: 0;
      text-align: center;
    }

    .gallery-viewer img {
      width: 100%;
      max-height: calc(100vh - 220px);
      max-height: calc(100svh - 220px);
      object-fit: contain;
      margin: 0 auto;
    }

    .gallery-viewer figcaption {
      margin: 12px 0 16px;
      font-size: 0.9rem;
      color: #3b3730;
    }

    .gallery-viewer .arrow-btn {
      position: absolute;
      top: 40%;
      transform: translateY(-50%);
    }

    .gallery-viewer-prev { left: 10px; }
    .gallery-viewer-next { right: 10px; }


    /* ---------- Aerial + form ---------- */
    .contact-section {
      display: flex;
      background: var(--cream);
      min-height: 620px;
    }

    .contact-image {
      flex: 1 1 50%;
      min-width: 320px;
      background-size: cover;
      background-position: center;
    }

    .contact-form {
      flex: 1 1 50%;
      min-width: 340px;
      padding: 60px 4% 40px;
      max-width:40%;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }

    .contact-form h3 {
      font-family: var(--serif);
      font-weight: 200;
      text-align: center;
      font-size: clamp(1.4rem, 2.5vw, 1.95rem);
      margin: 0 0 10px;
      letter-spacing: 0.05em;
      color: #1c1a17;
    }

    .contact-form .sub {
      text-align: center;
      color: #555047;
      font-size: 0.82rem;
      max-width: 440px;
      margin: 0 auto 28px;
      line-height: 1.55;
    }

    .field {
      margin-bottom: 16px;
    }

    .field label {
      display: block;
      font-size: 0.76rem;
      color: #3b3730;
      margin-bottom: 6px;
    }

    .field input,
    .field select {
      width: 100%;
      padding: 10px 14px;
      background: #cac3b8;
      border: 1px solid rgba(0, 0, 0, 0.06);
      font-family: var(--sans);
      font-size: 0.88rem;
      color: #1c1a17;
      appearance: none;
      -webkit-appearance: none;
      border-radius: 1px;
    }

    .field input:focus,
    .field select:focus {
      outline: 1px solid #9c4815;
    }

    .phone-box {
      display: flex;
      align-items: center;
      background: #cac3b8;
      border: 1px solid rgba(0, 0, 0, 0.06);
      border-radius: 1px;
    }

    .phone-flag-wrap {
      display: flex;
      align-items: center;
      gap: 6px;
      padding-left: 12px;
      padding-right: 6px;
      font-size: 0.85rem;
      color: #1c1a17;
      user-select: none;
    }

    .phone-box input {
      background: transparent;
      border: none;
      padding-left: 6px;
    }

    .phone-box input:focus {
      outline: none;
    }

    .field select {
      background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8'><path d='M1 1l5 5 5-5' stroke='%234a463f' stroke-width='1.4' fill='none'/></svg>");
      background-repeat: no-repeat;
      background-position: right 14px center;
    }

    .agree {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      margin: 20px 0 18px;
      font-size: 0.82rem;
      color: #3b3730;
      cursor: pointer;
      line-height: 1.45;
    }

    .agree input {
      margin-top: 3px;
      accent-color: #1c1a17;
    }

    .submit-btn {
      width: 100%;
      padding: 12px;
      background: linear-gradient(135deg, #af5a25 0%, #c46d32 45%, #d98a4e 100%);
      border: none;
      box-shadow: 0 4px 18px rgba(185, 95, 40, 0.45);
      font-family: var(--sans);
      font-size: 0.88rem;
      font-weight: 600;
      letter-spacing: 0.04em;
      cursor: pointer;
      color: #fff;
      transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
      border-radius: 4px;
    }

    .submit-btn:hover:not(:disabled) {
      background: linear-gradient(135deg, #8f4519 0%, #a8561f 45%, #bf6f33 100%);
      box-shadow: 0 8px 24px rgba(143, 69, 25, 0.5);
      color: #fff;
    }

    .submit-btn:disabled {
      opacity: 0.6;
      cursor: default;
    }

    .form-msg {
      text-align: center;
      margin-top: 14px;
      font-size: 0.85rem;
      color: var(--accent);
      min-height: 1.2em;
    }

    /* ---------- Page appearance / scroll reveal ---------- */
    .reveal {
      opacity: 0;
      transform: translate3d(0, 34px, 0);
      transition:
        opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
      transition-delay: var(--reveal-delay, 0ms);
      will-change: opacity, transform;
    }

    .reveal.reveal-left {
      transform: translate3d(-38px, 0, 0);
    }

    .reveal.reveal-right {
      transform: translate3d(38px, 0, 0);
    }

    .reveal.reveal-zoom {
      transform: scale(0.975);
    }

    .reveal.is-visible {
      opacity: 1;
      transform: translate3d(0, 0, 0) scale(1);
    }

    .hero-load {
      opacity: 0;
      transform: translate3d(0, 24px, 0);
      transition:
        opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
      transition-delay: var(--hero-delay, 0ms);
    }

    .hero-load.hero-load-down {
      transform: translate3d(0, -16px, 0);
    }

    body.page-loaded .hero-load {
      opacity: 1;
      transform: translate3d(0, 0, 0);
    }

    /* ---------- Site-wide appearance animations ----------
       Uses keyframes + the individual `translate` / `scale` properties so it never
       fights with hover transitions or elements that already use `transform`
       (e.g. the vertically-centred arrow buttons). */
    .appear {
      opacity: 0;
    }

    .appear.is-visible {
      opacity: 1;
      animation: appearUp 0.85s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms) backwards;
    }

    .appear.appear-pop.is-visible {
      animation-name: appearPop;
      animation-duration: 0.6s;
      animation-timing-function: cubic-bezier(0.34, 1.56, 0.64, 1);
    }

    .appear.appear-line.is-visible {
      animation-name: appearLine;
      animation-duration: 1s;
    }

    .rule.appear {
      transform-origin: left center;
    }

    .divider.appear {
      transform-origin: center;
    }

    @keyframes appearUp {
      from { opacity: 0; translate: 0 26px; }
      to   { opacity: 1; translate: 0 0; }
    }

    @keyframes appearPop {
      from { opacity: 0; scale: 0.6; }
      to   { opacity: 1; scale: 1; }
    }

    @keyframes appearLine {
      from { opacity: 0; scale: 0 1; }
      to   { opacity: 1; scale: 1 1; }
    }

    /* Gentle zoom-out on the hero photo when the page loads */
    body.page-loaded .hero .slide-layer.active {
      animation: heroSettle 2.4s cubic-bezier(0.22, 1, 0.36, 1) both;
    }

    @keyframes heroSettle {
      from { transform: scale(1.08); }
      to   { transform: scale(1); }
    }

    /* Stacked layouts: slide up instead of sideways */
    @media (max-width: 880px) {
      .reveal.reveal-left:not(.is-visible),
      .reveal.reveal-right:not(.is-visible) {
        transform: translate3d(0, 34px, 0);
      }
    }

    /* ---------- Footer ---------- */
    footer {
      overflow: hidden;
      background: var(--footer-bg);
      padding: 60px 6% 24px;
    }

    .footer-top {
      display: flex;
      flex-wrap: wrap;
      gap: 40px;
      justify-content: space-between;
      padding-bottom: 40px;
    }

    .foot-logo .brand-main {
      font-family: var(--serif);
      font-size: 1.8rem;
      line-height: 1.1;
      color: #1c1a17;
      letter-spacing: 0.06em;
      display: block;
    }
       .foot-logo img{
        filter: brightness(0)
       }

    .foot-tag {
      font-size: 0.65rem;
      letter-spacing: 0.16em;
      color: #555047;
      margin-top: 8px;
      display: block;
      font-weight: 500;
    }

    .foot-col h5 {
      font-size: 0.72rem;
      letter-spacing: 0.16em;
      color: #7d7569;
      margin: 0 0 18px;
      font-weight: 600;
    }

    .foot-col a,
    .foot-col p {
      display: block;
      font-size: 0.86rem;
      color: #4a463f;
      margin-bottom: 10px;
      line-height: 1.5;
      overflow-wrap: anywhere;
    }

    .foot-col a:hover {
      color: #1c1a17;
    }

    .foot-bottom {
      border-top: 1px solid rgba(0, 0, 0, 0.12);
      padding-top: 18px;
      font-size: 0.74rem;
      color: #7d7569;
    }
     .avira_rera {text-align: center; margin: 0px auto;}
       .avira_rera img {text-align: center; margin: 0px auto;}
    .avira_rera p{
      margin: 4px;
    }

    /* =====================================================
       RESPONSIVE
       ===================================================== */

    /* ---------- Tablet & below (<= 880px) ---------- */
    @media (max-width: 880px) {
      .section {
        padding-left: 6%;
        padding-right: 6%;
      }

      /* Overview: image on top, copy below */
      .overview {
        flex-direction: column;
        min-height: 0;
      }
      .overview-media {
        flex: none;
        min-height: 0;
        aspect-ratio: 16 / 10;
      }
      .overview-content {
        padding: 44px 6% 52px;
      }

      /* Quick enquiry: stacked card */
      .quick-enquiry {
        display: block;
        padding: 28px 6%;
      }
      .quick-card {
        grid-template-columns: 1fr;
        padding: 26px 22px 18px;
      }
      .quick-form {
        grid-template-columns: 1fr;
      }
      .quick-submit {
        width: 100%;
      }

      /* Floor plans / costing: 2 columns */
      .plan-grid,
      .cost-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
      }

      /* Location: map on top */
      .location-section {
        flex-direction: column;
        align-items: stretch;
        gap: 28px;
        padding: 44px 6%;
      }
      .location-map,
      .location-content {
        flex: none;
      }

      .divider {
        margin: 36px auto;
      }
      .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        column-gap: 24px;
      }
    
      
      .stat p {
        max-width: none;
      }

      .tabs {
        gap: 12px;
      }
      .tabs button {
        min-height: 44px;
        padding: 4px 10px;
      }

      .amenity-section {
        padding: 20px 0 28px;
      }
      .amenity-stage {
        height: 65vh;
        height: 65svh;
        min-height: 440px;
      }

      /* Contact: image on top, form below */
      .contact-section {
        flex-direction: column;
        min-height: 0;
      }
      .contact-image {
        flex: none;
        width: 100%;
        min-width: 0;
        min-height: 300px;
      }
      .contact-form {
        flex: none;
        width: 100%;
        min-width: 0;
        max-width: 640px;
        padding: 44px 6% 52px;
      }
      /* 16px stops iOS Safari zooming the page when a field is focused */
      .field input,
      .field select {
        font-size: 16px;
        padding: 12px 14px;
      }
      .phone-flag-wrap {
        font-size: 16px;
      }
      .contact-form .sub {
        font-size: 0.88rem;
      }
      .submit-btn {
        padding: 14px;
        font-size: 0.95rem;
      }

      /* Footer: 2-column grid */
      footer {
        padding: 48px 6% 20px;
      }
      .footer-top {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 36px 28px;
        padding-bottom: 32px;
      }
      .foot-logo {
        grid-column: 1 / -1;
      }
    }

    /* ---------- Phones (<= 560px) ---------- */
    @media (max-width: 560px) {
      .site-header {
        padding: 20px 6%;
      }
      .hero {
        min-height: 520px;
      }
      .hero-content {
        padding-left: 6%;
        padding-right: 6%;
        padding-bottom: 64px;
      }
      .hero-content p {
        font-size: 0.95rem;
      }
      .slide-layer { background-position: center; }
      .overview-media .arrow-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
      }
      .plan-grid,
      .cost-grid {
        grid-template-columns: 1fr;
      }
      .location-list li {
        font-size: 0.86rem;
      }
      #directionBtn {
        width: 100%;
      }
      .gallery-modal {
        padding: 10px;
      }
      .gallery-modal-box {
        padding: 48px 12px 16px;
        max-height: calc(100svh - 20px);
      }
      .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
      }
      .tour-play {
        width: 64px;
        height: 64px;
        margin: -32px 0 0 -32px;
      }

      .section {
        padding: 44px 6%;
      }
      .section.tight {
        padding-top: 40px;
        padding-bottom: 20px;
      }
      .eyebrow-heading {
        margin-bottom: 24px;
      }

      .stats-grid {
        row-gap: 0px;
        column-gap:0px;
      }
        .stats-grid .stat:last-child {
        grid-column: 1 / -1;
        justify-self: center;
        text-align: center;
         border-bottom: 1px solid rgba(28, 26, 23, 0.15);
      }
      .stats-grid .stat {
  padding: 10px 10px;
}

/* vertical divider between the 2 columns */
.stats-grid .stat:nth-child(odd):not(:last-child) {
  border-right: 1px solid rgba(28, 26, 23, 0.15);
}

/* horizontal divider between rows */
.stats-grid .stat:nth-child(-n+4) {
  border-bottom: 1px solid rgba(28, 26, 23, 0.15);
}

/* last item centered across both columns */
.stats-grid .stat:last-child {
  grid-column: 1 / -1;
  justify-self: stretch;
  text-align: center;
}

.stats-grid .stat:last-child p {
  margin-left: auto;
  margin-right: auto;
}
      .amenity-stage {
        height: 55vh;
        height: 55svh;
        min-height: 380px;
      }
      .amenity-arrow {
        width: 40px;
        height: 40px;
        font-size: 1.35rem;
      }
      .amenity-arrow-prev { left: 4%; }
      .amenity-arrow-next { right: 4%; }
      .amenity-meta {
        left: 6%;
        right: 6%;
        bottom: 18px;
        gap: 14px;
      }
      .amenity-label {
        font-size: 0.85rem;
      }

      .contact-image {
        min-height: 240px;
      }

      .footer-top {
        grid-template-columns: 1fr;
        gap: 30px;
      }
      .avira_rera {
        margin: 0;
        text-align: left;
      }
      .avira_rera img {
        margin: 0 0 8px;
        width: 100px;
      }
      .avira_rera p {
        margin: 4px 0;
      }
    }

    /* ---------- Very small phones (<= 380px) ---------- */
    @media (max-width: 380px) {
      .interior-actions {
        flex-direction: column;
        align-items: stretch;
      }
      .interior-actions .btn {
        width: 100%;
        text-align: center;
      }
      .tabs button {
        font-size: 0.88rem;
        padding: 4px 6px;
      }
    }

    /* ---------- Short landscape screens (phones on their side) ---------- */
    @media (max-height: 500px) and (orientation: landscape) {
      .hero,
      .overview-media {
        min-height: 420px;
      }
      .hero-content {
        padding-bottom: 36px;
      }
      .amenity-stage {
        min-height: 300px;
      }
    }

    @media (prefers-reduced-motion: reduce) {
      html {
        scroll-behavior: auto;
      }

      .reveal,
      .appear,
      .appear.is-visible,
      .hero-load,
      body.page-loaded .hero-load,
      .reveal.is-visible {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
        animation: none !important;
      }

      .amenity-slide,
      .overview-slide,
      .hero .slide-layer.active,
      .slide-layer {
        animation: none !important;
        transition-duration: 0.01ms !important;
      }
    }
      

    /* =============================================
   FLOOR PLAN POPUP
   ============================================= */

.floorplan-popup {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.floorplan-popup.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.floorplan-popup-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.floorplan-popup-box {
  position: relative;
  z-index: 2;

  width: 100%;
  max-width: 480px;

  background: var(--cream);
  padding: 48px 42px 40px;

  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.22);

  transform: translateY(20px) scale(0.98);

  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.floorplan-popup.active .floorplan-popup-box {
  transform: translateY(0) scale(1);
}

.floorplan-popup-close {
  position: absolute;
  top: 14px;
  right: 18px;

  width: 38px;
  height: 38px;

  border: 0;
  background: transparent;

  color: #1c1a17;
  font-size: 28px;
  font-weight: 300;
  line-height: 1;

  cursor: pointer;
}

.floorplan-popup-box h3 {
  margin: 0 0 10px;

  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 200;

  text-align: center;
  letter-spacing: 0.04em;

  color: #1c1a17;
}

.floorplan-popup-sub {
  max-width: 360px;
  margin: 0 auto 28px;

  text-align: center;

  color: #555047;
  font-size: 0.84rem;
  line-height: 1.55;
}

.floorplan-popup-sub strong {
  color: #1c1a17;
  font-weight: 500;
}

body.floorplan-popup-open {
  overflow: hidden;
}


/* Mobile */
@media (max-width: 560px) {

  .floorplan-popup {
    padding: 16px;
  }

  .floorplan-popup-box {
    padding: 44px 24px 28px;
    max-height: calc(100vh - 32px);
    overflow-y: auto;
  }

  .floorplan-popup-box .field input {
    font-size: 16px;
  }

   .hero .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    /* to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.30) 40%,
    rgba(0, 0, 0, 0.50) 90% */

     to bottom,
    rgba(0, 0, 0, 0.65) 0%,
    rgba(0, 0, 0, 0) 40%,
    rgba(0, 0, 0, 0.30) 60%,
    rgba(0, 0, 0, 0) 80%
  );
  z-index: 1;
  pointer-events: none;
}

}

/* ---------- Legal pages (Privacy / Terms / Disclaimer) ---------- */
.legal-header {
  background: var(--ink);
  color: #fff;
  text-align: center;
  padding: 36px 16px 56px;
}

.legal-header img {
  width: clamp(96px, 14vw, 150px);
  height: auto;
  margin: 0 auto 40px;
}

.legal-header h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.legal-page {
  background: var(--cream);
  padding: 64px 16px 80px;
}

.legal-content {
  max-width: 900px;
  margin: 0 auto;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--ink-soft);
  overflow-wrap: break-word;
}

.legal-content h2 {
  margin: 40px 0 14px;
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  margin: 0 0 14px;
}

.legal-content ul,
.legal-content ol {
  margin: 0 0 16px;
  padding-left: 22px;
}

.legal-content li {
  margin-bottom: 8px;
}

.legal-content li p {
  margin: 0 0 6px;
}

.legal-content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-back {
  display: flex;
  width: fit-content;
  margin: 48px auto 0;
}

@media (max-width: 560px) {
  .legal-header {
    padding: 28px 16px 40px;
  }

  .legal-header img {
    margin-bottom: 28px;
  }

  .legal-page {
    padding: 40px 16px 56px;
  }

  .legal-content {
    font-size: 0.9rem;
  }

  .legal-content h2 {
    margin-top: 32px;
  }
}
/* ---------- Hero banner artwork (copy is baked into the images) ---------- */
.hero {
  height: auto;
  min-height: 0;
  aspect-ratio: 1920 / 800;
}

.hero::after {
  background: linear-gradient(0deg, rgba(6, 8, 16, 0.35) 0%, rgba(6, 8, 16, 0) 30%);
}

.hero-content {
  padding-bottom: 40px;
}

#heroKnowMore {
  position: absolute;
  z-index: 3;
  right: 8%;
  bottom: 11%;
}

/* Keep heading & intro for SEO / screen readers, hide visually */
.hero-content h1,
.hero-content p {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 767px) {
  .hero {
    aspect-ratio: 900 / 1100;
  }
  .hero-content {
    padding-bottom: 28px;
  }
  #heroKnowMore {
    right: 8%;
    bottom: 7%;
  }
}

/* ---------- Close buttons hover ---------- */
.gallery-modal-close,
.floorplan-popup-close {
  transition: color 0.2s ease, transform 0.2s ease;
}

.gallery-modal-close:hover,
.floorplan-popup-close:hover {
  color: var(--accent);
  transform: rotate(90deg);
}
