/* Hero Leafsong Retreat — landing page styles */
:root {
  --forest: #1d3328;
  --forest-deep: #12221a;
  --moss: #4d6a52;
  --ivory: #f7f3ec;
  --sand: #efe7da;
  --brass: #b38a55;
  --brass-dark: #8f6a3a;
  --ink: #1f2420;
  --muted: #5d6660;
  --line: rgba(31, 36, 32, 0.12);
  --white: #fff;
  --radius: 18px;
  --shadow: 0 24px 60px -24px rgba(18, 34, 26, 0.35);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --header-h: 84px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: lining-nums;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
h1, h2, h3 { margin: 0; font-weight: 600; line-height: 1.1; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  padding: 10px 16px; background: var(--forest); color: var(--white); border-radius: 8px;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 14px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--brass-dark);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }

.section { padding: clamp(72px, 9vw, 120px) 0; position: relative; }
.section-title {
  font-family: var(--serif);
  font-size: clamp(34px, 4.4vw, 54px);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--forest);
}
.section-head { max-width: 680px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head-split {
  max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
}
.section-head-split > div { max-width: 640px; }

/* Buttons */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px;
  border: 1px solid var(--brass); border-radius: 999px;
  background: var(--brass); color: var(--white);
  font-size: 14px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s;
}
.button:hover { background: var(--brass-dark); border-color: var(--brass-dark); transform: translateY(-1px); }
.button-small { padding: 10px 18px; font-size: 12px; }
.button-block { width: 100%; }
.button-outline { background: transparent; color: var(--forest); border-color: var(--forest); }
.button-outline:hover { background: var(--forest); border-color: var(--forest); color: var(--white); }
.button-outline-light { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.55); }
.button-outline-light:hover { background: var(--white); border-color: var(--white); color: var(--forest); }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h);
  background: rgba(247, 243, 236, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 30px -20px rgba(0, 0, 0, 0.3); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand img { width: 128px; height: auto; }
.site-nav { display: flex; gap: 26px; margin-left: auto; }
.site-nav a {
  position: relative; text-decoration: none;
  font-size: 13px; font-weight: 500; letter-spacing: 0.04em; color: var(--ink);
}
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px;
  background: var(--brass); transform: scaleX(0); transition: transform 0.25s;
}
.site-nav a:hover::after,
.site-nav a.is-current::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.header-phone {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; text-decoration: none; color: var(--forest);
}
.header-phone img { width: 18px; height: 18px; }
.nav-toggle {
  display: none; width: 44px; height: 44px; padding: 12px 10px;
  border: 1px solid var(--line); border-radius: 50%; background: transparent;
  flex-direction: column; justify-content: space-between;
}
.nav-toggle span { display: block; height: 1.5px; background: var(--forest); transition: transform 0.25s, opacity 0.25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative; min-height: min(100vh, 960px); min-height: min(100svh, 960px);
  padding: calc(var(--header-h) + 48px) 0 64px;
  display: flex; align-items: center;
  color: var(--white); overflow: hidden; background: var(--forest-deep);
}
.hero-slides, .hero-slide { position: absolute; inset: 0; }
.hero-slide { opacity: 0; transition: opacity 1.4s ease; }
.hero-slide.is-active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 7s ease-out; }
.hero-slide.is-active img { transform: scale(1); }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(14, 26, 20, 0.82) 0%, rgba(14, 26, 20, 0.45) 45%, rgba(14, 26, 20, 0.05) 75%),
    linear-gradient(0deg, rgba(14, 26, 20, 0.55) 0%, transparent 35%);
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 56px; align-items: center;
}
.hero-location {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px;
  padding: 8px 16px 8px 10px; border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 999px;
  font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase;
  background: rgba(255, 255, 255, 0.08); backdrop-filter: blur(6px);
}
.hero-location img { width: 20px; height: 20px; filter: brightness(0) invert(1); }
.hero h1 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(46px, 7vw, 92px); line-height: 0.98; letter-spacing: -0.015em;
}
.hero-sub {
  margin: 16px 0 34px;
  font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2.4vw, 30px); color: #e6d3b5;
}
.hero-facts {
  list-style: none; margin: 0 0 34px; padding: 0;
  display: flex; flex-wrap: wrap; gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.22); border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}
.hero-facts li { flex: 1 1 140px; padding: 16px 22px 16px 0; font-size: 17px; font-weight: 600; }
.hero-facts li + li { padding-left: 22px; border-left: 1px solid rgba(255, 255, 255, 0.22); }
.hero-facts span {
  display: block; margin-bottom: 2px;
  font-size: 11px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255, 255, 255, 0.7);
}
.hero-price { display: flex; flex-direction: column; gap: 2px; }
.hero-price span { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255, 255, 255, 0.72); }
.hero-price strong { font-family: var(--serif); font-size: clamp(36px, 4vw, 50px); font-weight: 600; color: #f1dcb8; line-height: 1.1; }
.hero-price small { font-family: var(--sans); font-size: 15px; font-weight: 500; color: var(--white); }
.hero-dots { display: flex; gap: 10px; margin-top: 36px; }
.hero-dots button {
  width: 34px; height: 4px; padding: 0; border: 0; border-radius: 4px;
  background: rgba(255, 255, 255, 0.35); transition: background 0.3s, width 0.3s;
}
.hero-dots button.is-active { width: 56px; background: var(--brass); }

/* Enquiry card + forms */
.enquiry-card {
  padding: 32px 30px 28px;
  background: var(--ivory); color: var(--ink);
  border-radius: var(--radius); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6);
}
.enquiry-card .eyebrow { margin-bottom: 8px; }
.enquiry-title {
  margin-bottom: 20px;
  font-family: var(--serif); font-size: 28px; font-weight: 600; color: var(--forest);
}
.enquiry-form { display: grid; gap: 14px; }
.field label {
  display: block; margin-bottom: 4px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
}
.field input,
.field textarea {
  width: 100%; padding: 12px 14px;
  font: inherit; font-size: 15px; color: var(--ink);
  background: var(--white); border: 1px solid var(--line); border-radius: 10px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; min-height: 64px; }
.field input:focus,
.field textarea:focus { outline: none; border-color: var(--brass); box-shadow: 0 0 0 3px rgba(179, 138, 85, 0.2); }
.field input::placeholder,
.field textarea::placeholder { color: #9aa29d; }
.field .iti { width: 100%; display: block; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 11px; line-height: 1.5; color: var(--muted); }
.consent input { margin: 2px 0 0; accent-color: var(--forest); flex: none; }
.form-status { margin: 12px 0 0; font-size: 13px; }
.form-status:empty { display: none; }
.form-status[data-state="error"] { color: #b3261e; }
.form-status[data-state="loading"] { color: var(--muted); }

/* Overview */
.overview-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.overview-media { position: relative; }
.overview-media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4 / 3.4; object-fit: cover; }
.overview-badge {
  position: absolute; right: -24px; bottom: -28px;
  display: flex; align-items: center; gap: 14px;
  padding: 22px 26px; background: var(--forest); color: var(--white); border-radius: 14px; box-shadow: var(--shadow);
}
.overview-badge strong { font-family: var(--serif); font-size: 52px; font-weight: 500; line-height: 1; color: #f1dcb8; }
.overview-badge span { font-size: 13px; line-height: 1.4; letter-spacing: 0.04em; }
.overview-copy > p { color: var(--muted); margin-top: 22px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 34px 0 0; border-top: 1px solid var(--line); }
.stats div { padding: 22px 0 0; }
.stats div + div { padding-left: 22px; border-left: 1px solid var(--line); }
.stats dt { font-family: var(--serif); font-size: clamp(40px, 4.4vw, 56px); font-weight: 500; line-height: 1; color: var(--forest); }
.stats dd { margin: 6px 0 0; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

/* Highlights */
.highlights { background: var(--forest); color: var(--white); overflow: hidden; }
.highlights::before {
  content: ""; position: absolute; width: 640px; height: 640px; right: -220px; top: -260px;
  border-radius: 50%; border: 1px solid rgba(179, 138, 85, 0.25); pointer-events: none;
}
.highlights .section-title { color: var(--white); }
.highlights .eyebrow { color: #d7b98c; }
.highlight-grid {
  list-style: none; margin: 0; padding: 0; counter-reset: hl;
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.14); border-left: 1px solid rgba(255, 255, 255, 0.14);
}
.highlight-grid li {
  counter-increment: hl; position: relative;
  padding: 34px 30px 36px;
  border-right: 1px solid rgba(255, 255, 255, 0.14); border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  transition: background 0.3s;
}
.highlight-grid li:hover { background: rgba(255, 255, 255, 0.05); }
.highlight-grid li::after {
  content: counter(hl, decimal-leading-zero);
  position: absolute; top: 26px; right: 28px;
  font-family: var(--serif); font-size: 22px; color: rgba(215, 185, 140, 0.6);
}
.highlight-grid img { width: 44px; height: 44px; margin-bottom: 22px; opacity: 0.9; }
.highlight-grid p { font-size: 17px; line-height: 1.5; color: rgba(255, 255, 255, 0.9); }

/* Price list */
.price-list .section-head { text-align: center; margin-inline: auto; }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.price-card {
  display: flex; flex-direction: column; align-items: flex-start;
  padding: 36px 32px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform 0.3s, box-shadow 0.3s;
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.price-card img { width: 40px; height: 40px; margin-bottom: 22px; }
.price-card h3 { font-family: var(--serif); font-size: 32px; font-weight: 600; color: var(--forest); }
.price-size {
  margin: 8px 0 26px; padding-bottom: 22px; width: 100%;
  border-bottom: 1px dashed var(--line);
  font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted);
}
.price-value { margin-bottom: 28px; font-size: 26px; font-weight: 700; color: var(--ink); }
.price-value span { font-size: 14px; font-weight: 500; color: var(--muted); }
.price-card .button { margin-top: auto; }
.price-card-featured { background: var(--forest); border-color: var(--forest); color: var(--white); }
.price-card-featured h3, .price-card-featured .price-value { color: var(--white); }
.price-card-featured .price-size, .price-card-featured .price-value span { color: rgba(255, 255, 255, 0.7); border-color: rgba(255, 255, 255, 0.2); }
.price-card-featured img { filter: brightness(0) invert(1); }

/* Amenities */
.amenities { background: var(--sand); overflow: hidden; }
.amenities-art { position: absolute; left: 50%; bottom: 0; width: min(1170px, 120%); transform: translateX(-50%); opacity: 0.55; pointer-events: none; }
.amenities .container { position: relative; }
.amenities .section-head { text-align: center; margin-inline: auto; }
.amenity-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.amenity {
  position: relative; overflow: hidden;
  padding: 34px 24px 30px; text-align: center;
  background: rgba(255, 255, 255, 0.82); border: 1px solid rgba(179, 138, 85, 0.25); border-radius: var(--radius);
  backdrop-filter: blur(4px);
  transition: background 0.35s, transform 0.35s;
}
.amenity img { width: 56px; height: 56px; margin: 0 auto 18px; transition: filter 0.35s; }
.amenity h3 { font-size: 14px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--forest); transition: color 0.35s; }
.amenity p {
  max-height: 0; opacity: 0; margin: 0; overflow: hidden;
  font-size: 14px; line-height: 1.5; color: rgba(255, 255, 255, 0.85);
  transition: max-height 0.35s, opacity 0.35s, margin 0.35s;
}
.amenity:hover,
.amenity:focus-within { background: var(--forest); transform: translateY(-4px); }
.amenity:hover img { filter: brightness(0) invert(1); }
.amenity:hover h3 { color: #e6d3b5; }
.amenity:hover p { max-height: 80px; opacity: 1; margin-top: 10px; }

/* Floor plan */
.floor-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.floor-facts { list-style: none; margin: 34px 0 0; padding: 0; }
.floor-facts li {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 16px 0; border-bottom: 1px solid var(--line); font-weight: 600; color: var(--forest);
}
.floor-facts span { font-weight: 400; color: var(--muted); }
.floor-facts b { font-weight: 600; }
.tabs { display: inline-flex; gap: 6px; padding: 6px; margin-bottom: 18px; background: var(--sand); border-radius: 999px; }
.tabs button {
  padding: 10px 22px; border: 0; border-radius: 999px; background: transparent;
  font-size: 13px; font-weight: 600; letter-spacing: 0.06em; color: var(--muted);
  transition: background 0.25s, color 0.25s;
}
.tabs button[aria-selected="true"] { background: var(--forest); color: var(--white); }
.plan-panel { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.plan-panel img { width: 100%; filter: blur(3px); transform: scale(1.03); }
.plan-panel::after { content: ""; position: absolute; inset: 0; background: rgba(29, 51, 40, 0.18); pointer-events: none; }
.plan-unlock { position: absolute; z-index: 1; left: 50%; top: 50%; transform: translate(-50%, -50%); box-shadow: var(--shadow); }
.plan-unlock:hover { transform: translate(-50%, calc(-50% - 1px)); }

/* Location */
.location { background: var(--white); }
.location-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.location-map { position: relative; display: block; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); }
.location-map img { width: 100%; transition: transform 0.6s; }
.location-map:hover img { transform: scale(1.03); }
.zoom-hint, .gallery-item::after {
  position: absolute; right: 16px; bottom: 16px;
  padding: 8px 14px; border-radius: 999px; background: rgba(18, 34, 26, 0.8); color: var(--white);
  font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
}
.location-list { list-style: none; margin: 0; padding: 0; }
.location-list li {
  display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 14px;
  padding: 18px 0; border-bottom: 1px solid var(--line);
}
.location-list li:first-child { border-top: 1px solid var(--line); }
.loc-num { font-family: var(--serif); font-size: 26px; color: var(--brass); }
.loc-name { font-weight: 500; }
.loc-time {
  padding: 6px 12px; border-radius: 999px; background: var(--sand);
  font-size: 13px; font-weight: 700; color: var(--forest); white-space: nowrap;
}

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: repeat(2, 240px); gap: 16px; }
.gallery-item { position: relative; display: block; overflow: hidden; border-radius: 14px; }
.gallery-item:nth-child(1) { grid-row: span 2; }
.gallery-item:nth-child(4) { grid-column: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item::after { content: "Artistic Impression"; opacity: 0; transition: opacity 0.3s; }
.gallery-item:hover::after { opacity: 1; }

/* About + visit */
.about { background: var(--ivory); }
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: stretch; }
.about-copy > p { margin-top: 22px; color: var(--muted); }
.visit-card {
  padding: clamp(32px, 4vw, 48px); border-radius: var(--radius);
  background: linear-gradient(160deg, var(--forest) 0%, var(--forest-deep) 100%); color: rgba(255, 255, 255, 0.82);
  display: flex; flex-direction: column; justify-content: center;
}
.visit-card .section-title { color: var(--white); margin-bottom: 16px; font-size: clamp(30px, 3.6vw, 44px); }
.visit-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Footer */
.site-footer { padding: 56px 0 40px; background: var(--forest-deep); color: rgba(255, 255, 255, 0.62); font-size: 13px; text-align: center; }
.site-footer .container { max-width: 960px; }
.footer-logo { width: 130px; margin: 0 auto 26px; padding: 10px 14px; background: var(--white); border-radius: 10px; box-sizing: content-box; }
.site-footer .rera { color: #e6d3b5; font-weight: 600; letter-spacing: 0.04em; }
.read-more {
  margin: 4px 0 20px; padding: 0; border: 0; background: none;
  color: #e6d3b5; font-size: 13px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px;
}
.footer-links {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px;
  padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-links a { color: var(--white); }

/* Floating contact + mobile bar */
.float-contact { position: fixed; right: 20px; bottom: 24px; z-index: 90; display: flex; flex-direction: column; gap: 12px; }
.float-btn {
  display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%;
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.45); transition: transform 0.25s;
}
.float-btn:hover { transform: scale(1.08); }
.float-whatsapp { background: #25d366; }
.float-btn img { width: 28px; height: 28px; }
.mobile-bar { display: none; }

/* Dialogs */
dialog { padding: 0; border: 0; color: var(--ink); }
dialog::backdrop { background: rgba(10, 20, 15, 0.72); backdrop-filter: blur(4px); }
.enquiry-dialog {
  width: min(460px, 100% - 32px); max-height: calc(100% - 32px);
  border-radius: var(--radius); background: var(--ivory); box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.6);
}
.enquiry-dialog[open] { display: block; animation: dialog-in 0.35s ease; }
.dialog-body { position: relative; padding: 40px 34px 30px; }
.dialog-body .enquiry-title { font-size: 34px; }
.dialog-close {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%;
  background: var(--white); color: var(--forest); font-size: 24px; line-height: 1;
}
.dialog-close:hover { background: var(--forest); color: var(--white); }
.lightbox { max-width: min(1100px, 100% - 32px); max-height: calc(100% - 32px); background: transparent; overflow: visible; }
.lightbox[open] { animation: dialog-in 0.3s ease; }
.lightbox figure { margin: 0; }
.lightbox img { max-height: calc(100vh - 110px); width: auto; margin: 0 auto; border-radius: 12px; }
.lightbox figcaption { margin-top: 12px; text-align: center; color: var(--white); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; }
.lightbox .dialog-close { top: -18px; right: -18px; }
@keyframes dialog-in { from { opacity: 0; transform: translateY(16px) scale(0.98); } to { opacity: 1; transform: none; } }
body.has-dialog { overflow: hidden; }

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s ease, transform 0.8s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1180px) {
  .site-nav { gap: 18px; }
  .header-phone { display: none; }
}

@media (max-width: 1024px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto; margin: 0;
    flex-direction: column; gap: 0; padding: 8px 20px 24px;
    background: var(--ivory); border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px -24px rgba(0, 0, 0, 0.3);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
  }
  .site-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .site-nav a { padding: 14px 0; font-size: 15px; border-bottom: 1px solid var(--line); }
  .site-nav a::after { display: none; }
  .header-actions { margin-left: auto; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) 360px; gap: 36px; }
  .amenity-grid { grid-template-columns: repeat(2, 1fr); }
  .highlight-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  :root { --header-h: 70px; }
  .brand img { width: 104px; }
  .hero { display: block; min-height: 0; padding: 0; background: var(--ivory); }
  .hero-slides { position: relative; inset: auto; aspect-ratio: 5 / 4; margin-top: var(--header-h); }
  .hero::after { display: none; }
  .hero-slides::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(0deg, rgba(14, 26, 20, 0.85) 0%, rgba(14, 26, 20, 0.15) 60%);
  }
  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .hero-copy { margin-top: -150px; position: relative; z-index: 2; padding-bottom: 28px; color: var(--white); }
  .hero-location { margin-bottom: 14px; }
  .hero-sub { margin-bottom: 0; color: var(--brass-dark); }
  .hero-facts, .hero-price, .hero-dots { color: var(--ink); }
  .hero-facts { margin-top: 44px; border-color: var(--line); }
  .hero-facts li + li { border-color: var(--line); }
  .hero-facts span, .hero-price span { color: var(--muted); }
  .hero-price strong { color: var(--forest); }
  .hero-price small { color: var(--ink); }
  .hero-dots { position: absolute; top: -64px; right: 0; margin: 0; }
  .hero-dots button { background: rgba(255, 255, 255, 0.45); }
  .enquiry-card { margin-bottom: 56px; background: var(--white); box-shadow: var(--shadow); border: 1px solid var(--line); }

  .overview-grid, .floor-grid, .location-grid, .about-grid { grid-template-columns: 1fr; }
  .overview-badge { right: 16px; bottom: -24px; padding: 16px 20px; }
  .overview-badge strong { font-size: 40px; }
  .price-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .section-head-split { flex-direction: column; align-items: flex-start; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-rows: 180px; }
  .gallery-item:nth-child(1) { grid-row: auto; grid-column: span 2; }

  .dialog-body { padding: 34px 22px 24px; }
  .dialog-body .enquiry-title { font-size: 28px; padding-right: 40px; }

  .float-contact { bottom: 82px; right: 14px; }
  .mobile-bar {
    position: fixed; inset: auto 0 0; z-index: 95;
    display: grid; grid-template-columns: 1fr 1fr;
    box-shadow: 0 -10px 30px -16px rgba(0, 0, 0, 0.4);
  }
  .mobile-bar a, .mobile-bar button {
    padding: 17px 10px; border: 0; text-align: center; text-decoration: none;
    font-size: 14px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  }
  .mobile-bar a { background: var(--forest); color: var(--white); }
  .mobile-bar button { background: var(--brass); color: var(--white); }
  .site-footer { padding-bottom: 96px; }
}

@media (max-width: 560px) {
  .container { width: calc(100% - 32px); }
  .header-actions .button-small { display: none; }
  .hero-facts li { flex-basis: 100%; padding: 12px 0; }
  .hero-facts li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .enquiry-card { padding: 26px 20px 22px; }
  .highlight-grid, .amenity-grid { grid-template-columns: 1fr; }
  .amenity { display: grid; grid-template-columns: 48px 1fr; gap: 0 16px; text-align: left; align-items: center; padding: 20px; }
  .amenity img { width: 48px; height: 48px; margin: 0; grid-row: span 2; }
  .amenity p { max-height: none; opacity: 1; margin-top: 4px; color: var(--muted); }
  .amenity:hover p { color: rgba(255, 255, 255, 0.85); margin-top: 4px; }
  .stats div + div { padding-left: 14px; }
  .location-list li { grid-template-columns: 38px 1fr auto; }
  .gallery-grid { grid-auto-rows: 140px; }
  .lightbox .dialog-close { top: -50px; right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Disclaimer page ---------- */
.secondary-page { background: var(--ivory); }
.secondary-home {
  display: inline-flex; align-items: center; gap: 8px; margin-left: auto;
  padding: 10px 18px; border: 1px solid var(--forest); border-radius: 999px;
  font-size: 13px; font-weight: 600; text-decoration: none; color: var(--forest);
  transition: background 0.25s, color 0.25s;
}
.secondary-home:hover { background: var(--forest); color: var(--white); }

.policy-page { padding: calc(var(--header-h) + 48px) 0 64px; }
.policy-card {
  max-width: 860px; margin: 0 auto; padding: clamp(28px, 5vw, 56px);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
}
.policy-card h1 {
  margin-bottom: 8px; padding-bottom: 24px; border-bottom: 1px solid var(--line);
  font-family: var(--serif); font-size: clamp(32px, 4.5vw, 46px); font-weight: 600; color: var(--forest); text-align: center;
}
.policy-section { padding-top: 28px; }
.policy-section h2 { margin-bottom: 12px; font-size: 18px; font-weight: 700; color: var(--forest); }
.policy-section p { font-size: 15px; line-height: 1.8; color: var(--muted); }
.policy-notice { padding: 14px 18px; border-left: 3px solid var(--brass); background: var(--sand); }
.policy-notice strong { color: var(--forest); }

.secondary-footer { padding: 24px 0; background: var(--forest-deep); color: rgba(255, 255, 255, 0.65); font-size: 13px; }
.secondary-footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.secondary-footer p { margin: 0; }
.secondary-footer a { color: var(--white); text-decoration: none; }

@media (max-width: 560px) {
  .secondary-home { padding: 8px 14px; font-size: 12px; }
  .secondary-footer-inner { flex-direction: column; text-align: center; }
}

/* ---------- Thank you page ---------- */
.thank-you-page { display: flex; flex-direction: column; min-height: 100vh; }
.thank-you-main { flex: 1; display: flex; align-items: center; padding: calc(var(--header-h) + 48px) 0 64px; }
.thank-you-card {
  max-width: 620px; margin: 0 auto; padding: clamp(36px, 6vw, 64px) clamp(24px, 5vw, 56px);
  text-align: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.confirmation-mark {
  display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 24px;
  border-radius: 50%; background: var(--forest); color: #f1dcb8; font-size: 32px;
}
.thank-you-card .eyebrow::before { display: none; }
.thank-you-card h1 { font-family: var(--serif); font-size: clamp(38px, 5vw, 56px); font-weight: 500; color: var(--forest); }
.confirmation-copy { margin: 20px auto 30px; max-width: 460px; color: var(--muted); }
.confirmation-project {
  margin: 32px 0 0; padding-top: 24px; border-top: 1px solid var(--line);
  font-size: 14px; line-height: 1.7; color: var(--muted);
}
.confirmation-project strong { color: var(--forest); }
