/* Legacy Mihira landing page.
   Layout: the Mizumi Reserve landing page (hero with fact rows + form card, key facts, gated plan,
   highlights, gallery, site-visit band, amenity tabs, location list, FAQ, developer, sticky bar, popup).
   Theme: Legacy brand, as on legacy.in/mihira: Tiempos headings, Calibri Light body,
   copper #996852, brown #4D3429, peach #DEA88F, cream #FBF8F4, charcoal #171717,
   with the site's dark stone texture and light marble texture as section grounds. */

@font-face { font-family: "tiempos"; src: url("../fonts/TestTiemposFine-Regular.otf") format("opentype"); font-display: swap; }
@font-face { font-family: "helvetica"; src: url("../fonts/Helvetica.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "ogg"; src: url("../fonts/Ogg-Medium.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "caslon"; src: url("../fonts/F37Caslon-SemiBoldDisplayCondensed.otf") format("opentype"); font-display: swap; }

:root {
  --copper: #996852;
  --brown: #4D3429;
  --peach: #DEA88F;
  --cream: #FBF8F4;
  --cream-2: #FFF8F0;
  --ink: #2b211c;
  --ink-2: #4a3c34;
  --dark: #171717;
  --line-d: rgba(251, 248, 244, .16);
  --line-l: rgba(77, 52, 41, .16);
  --serif: tiempos, "Times New Roman", serif;
  --sans: "Calibri Light", Calibri, helvetica, sans-serif;
  --stone: #2a2929 url("../images/footer-images/footer_section.webp") center / cover;
  --marble: #f3ece4 url("../images/new-images/Project_bg.webp") center / cover;
  --wrap: 1296px;
  --gutter: clamp(16px, 4vw, 44px);
  --header-h: 84px;
  --radius: 2px;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.6; color: var(--cream); background: var(--dark); overflow-x: hidden; padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { margin: 0; font-weight: 400; line-height: 1.15; }
p { margin: 0 0 1em; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--cream); color: var(--ink); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--peach); outline-offset: 3px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.center { text-align: center; }
.section { padding: clamp(56px, 6.5vw, 96px) 0; }
.eyebrow { margin: 0 0 14px; font-family: var(--serif); font-weight: 700; font-size: clamp(15px, 1.2vw, 18px); letter-spacing: .3em; color: var(--copper); text-decoration: underline; text-underline-offset: 7px; }
.display { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3.2vw, 42px); line-height: 1.15; letter-spacing: 2px; margin-bottom: clamp(26px, 3.4vw, 42px); text-wrap: balance; }
.display em { font-style: normal; font-weight: 600; }
.fineprint { font-size: 13px; opacity: .7; margin-top: 18px; }

/* section grounds: dark stone and light marble, alternating as on legacy.in */
.tone-dark, .intro-band, .highlights, .amenities, .ss-faq, .site-footer, .site-header { background: var(--stone); color: var(--cream); }
.tone-light, .layout-sec, .video-sec, .gallery-sec, .location, .about { background: var(--marble); color: var(--ink); }
.layout-sec .display, .video-sec .display, .gallery-sec .display, .location .display, .about .display { color: var(--brown); }
.intro-band .display, .highlights .display, .amenities .display, .ss-faq .display { color: var(--cream); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 40px; border: 1px solid var(--copper); border-radius: var(--radius); background: var(--copper); color: #F6F6F6; font-size: 19px; font-weight: 500; text-decoration: none; white-space: nowrap; transition: background-color .3s, border-color .3s; }
.btn:hover { background: var(--brown); border-color: var(--brown); }
.btn-outline { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 28px; border: 1px solid var(--copper); border-radius: var(--radius); background: transparent; color: var(--copper); font-size: 17px; font-weight: 500; white-space: nowrap; transition: background-color .3s, color .3s; }
.btn-outline:hover { background: var(--copper); color: var(--cream); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; box-shadow: 0 4px 20px rgba(0, 0, 0, .35); }
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 18px; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand-logo { height: 68px; width: auto; }
.site-nav { display: flex; align-items: center; gap: clamp(16px, 2vw, 34px); margin-left: auto; margin-right: clamp(6px, 1.4vw, 18px); }
.site-nav a { position: relative; padding: 6px 0; font-size: 16px; color: var(--cream); text-decoration: none; white-space: nowrap; transition: color .2s; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--peach); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.site-nav a:hover, .site-nav a.is-active { color: var(--peach); }
.site-nav a:hover::after, .site-nav a.is-active::after { transform: scaleX(1); }
.phone-pill { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding-right: 20px; border-right: 1px solid var(--peach); font-size: 16px; color: var(--cream); text-decoration: none; white-space: nowrap; }
.phone-pill:hover { color: var(--peach); }
.hdr-cta { flex: none; min-height: 44px; padding: 0 22px; border: 1px solid var(--copper); border-radius: var(--radius); background: var(--copper); color: #F6F6F6; font-size: 15px; font-weight: 600; white-space: nowrap; transition: background-color .3s; }
.hdr-cta:hover { background: var(--brown); }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line-d); border-radius: 50%; background: transparent; flex: none; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--cream); transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 1179px) {
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; margin: 0; flex-direction: column; align-items: stretch; gap: 0; background: #0f0e0e; padding: 6px var(--gutter) 14px; box-shadow: 0 14px 24px -12px rgba(0, 0, 0, .6); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 14px 2px; border-bottom: 1px solid var(--line-d); }
  .site-nav a:last-child { border-bottom: 0; }
  .site-nav a::after { display: none; }
  .header-inner { position: relative; }
}
@media (max-width: 699px) { :root { --header-h: 72px; } .brand-logo { height: 56px; } .phone-pill { display: none; } .hdr-cta { padding: 0 14px; font-size: 14px; } .header-inner { gap: 10px; } }

/* ---------- hero: crossfading renders, fact rows left, form card right ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--dark); }
.hero > .hero-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; opacity: 0; z-index: -2; animation: heroFade 18s infinite; }
.hero > .hero-slide:nth-of-type(1) { opacity: 1; animation-delay: -1s; }
.hero > .hero-slide:nth-of-type(2) { animation-delay: 5s; }
.hero > .hero-slide:nth-of-type(3) { animation-delay: 11s; }
@keyframes heroFade { 0% { opacity: 0; } 5% { opacity: 1; } 33% { opacity: 1; } 39% { opacity: 0; } 100% { opacity: 0; } }
.hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(23,23,23,.82) 0%, rgba(23,23,23,.55) 38%, rgba(23,23,23,.2) 70%, rgba(23,23,23,.1) 100%), linear-gradient(0deg, rgba(23,23,23,.85) 0%, rgba(23,23,23,0) 42%), linear-gradient(180deg, rgba(23,23,23,.6) 0%, rgba(23,23,23,0) 22%); }
.hero-grid { display: grid; gap: 26px; padding-top: 40px; padding-bottom: 40px; }
.hero-copy { text-align: center; text-shadow: 0 2px 14px rgba(0, 0, 0, .55); }
.hero-logo { width: clamp(200px, 24vw, 320px); margin: 0 auto 10px; filter: drop-shadow(0 4px 16px rgba(0,0,0,.5)); }
.hero-tag { margin: 0 0 16px; font-family: var(--serif); font-size: clamp(20px, 2vw, 28px); letter-spacing: 1px; color: var(--peach); }
.ho-rows { margin: 0 auto; max-width: 440px; }
.ho-rows > div { display: grid; grid-template-columns: 96px 1fr; align-items: baseline; gap: 12px; padding: 11px 0; border-top: 1px solid rgba(251,248,244,.3); text-align: left; }
.ho-rows > div:last-child { border-bottom: 1px solid rgba(251,248,244,.3); }
.ho-rows dt { font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--peach); }
.ho-rows dd { margin: 0; font-size: 18px; color: var(--cream); }
.ho-rows-hi dd { font-family: var(--serif); font-size: 26px; letter-spacing: 1px; }
.hero-form { width: 100%; max-width: 440px; margin: 0 auto; padding: 24px 22px 18px; border-radius: 4px; background: rgba(255, 248, 240, .97); color: var(--ink); box-shadow: 0 20px 60px rgba(0, 0, 0, .45); }
.hf-tag { margin: 0 0 4px; font-family: var(--serif); font-size: 13px; font-weight: 700; letter-spacing: .3em; color: var(--copper); }
.form-title { margin: 0 0 6px; font-family: var(--serif); font-size: 26px; line-height: 1.2; letter-spacing: 1px; color: var(--ink); }
.form-lede { margin: 0 0 16px; font-size: 15px; line-height: 1.45; color: rgba(43, 33, 28, .72); }
@media (min-width: 960px) {
  .hero { min-height: clamp(600px, 52vw, 760px); display: flex; align-items: center; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) 400px; align-items: center; gap: 56px; padding-top: 64px; padding-bottom: 64px; width: 100%; }
  .hero-copy { text-align: left; }
  .hero-logo { margin: 0 0 12px; }
  .ho-rows { margin: 0; }
  .hero-form { margin: 0 0 0 auto; }
}
@media (max-width: 959px) {
  .hero-shade { background: linear-gradient(180deg, rgba(23,23,23,.55) 0%, rgba(23,23,23,.7) 45%, rgba(23,23,23,.88) 100%); }
  .ho-rows > div { grid-template-columns: 80px 1fr; padding: 9px 0; }
  .ho-rows dd { font-size: 16px; }
  .ho-rows-hi dd { font-size: 22px; }
  .hero-form .form-lede { display: none; }
}

/* ---------- lead form ---------- */
.lead-form { display: grid; gap: 11px; }
.field { display: flex; flex-direction: column; min-width: 0; }
.field label { margin-bottom: 4px; font-size: 14px; color: rgba(43, 33, 28, .75); }
.field label span { color: #c0392b; }
.lead-form input, .lead-form textarea { width: 100%; height: 46px; padding: 10px 14px; border: 1px solid #d9c3a5; border-radius: 4px; background: #fff; font: inherit; font-size: 16px; color: var(--ink); outline: none; transition: border-color .2s, box-shadow .2s; }
.lead-form textarea { height: 62px; resize: none; }
.lead-form input:focus, .lead-form textarea:focus { border-color: var(--copper); box-shadow: 0 0 0 3px rgba(153, 104, 82, .18); }
.lead-form input[aria-invalid="true"] { border-color: #c0392b; }
.phone-row { display: flex; }
.phone-code { display: flex; align-items: center; padding: 0 12px; border: 1px solid #d9c3a5; border-right: 0; border-radius: 4px 0 0 4px; background: #f4ebe1; font-size: 16px; color: var(--ink-2); }
.phone-row input { border-radius: 0 4px 4px 0; }
.err { margin: 4px 0 0; font-size: 13px; color: #c0392b; }
.err:empty { display: none; }
.btn-submit { width: 100%; min-height: 50px; margin-top: 4px; font-size: 18px; }
.btn-submit[disabled] { opacity: .6; cursor: progress; }
.consent { margin: 2px 0 0; font-size: 12px; line-height: 1.4; color: rgba(43, 33, 28, .58); text-align: center; }
.form-status { margin: 0; font-size: 14px; color: #8c1d18; }
.form-status:empty { display: none; }

/* ---------- intro + key facts (dark stone) ---------- */
.intro-band { padding: clamp(44px, 5vw, 72px) 0 clamp(36px, 4vw, 56px); }
.intro-top { display: grid; gap: 20px; justify-items: center; text-align: center; }
.intro-logo img { width: clamp(200px, 20vw, 260px); }
.intro-text h1 { font-family: var(--serif); font-size: clamp(28px, 3vw, 42px); letter-spacing: 2px; color: var(--copper); text-wrap: balance; }
.intro-text h1 em { font-style: normal; color: var(--cream); }
.intro-price { margin: 12px 0 0; font-size: clamp(16px, 1.4vw, 19px); color: var(--cream); }
.intro-price i { font-style: normal; margin: 0 10px; color: var(--peach); }
@media (min-width: 900px) {
  .intro-top { grid-template-columns: auto auto 1fr; gap: 0; text-align: left; justify-items: stretch; align-items: center; }
  .intro-top::before { content: ""; grid-column: 2; grid-row: 1; width: 1px; height: 110px; margin: 0 48px; background: var(--line-d); }
  .intro-logo { grid-column: 1; grid-row: 1; }
  .intro-text { grid-column: 3; grid-row: 1; }
}
.intro-copy { max-width: 1040px; margin: clamp(26px, 3vw, 40px) auto 0; text-align: center; font-size: clamp(17px, 1.3vw, 20px); font-weight: 300; line-height: 1.7; color: var(--cream); }
.intro-copy p:last-child { margin-bottom: 0; }
.kf-grid { list-style: none; margin: clamp(30px, 4vw, 48px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
.kf-grid li { display: flex; align-items: center; gap: 14px; min-width: 0; }
.kf-grid img { flex: none; width: 52px; height: 52px; }
.kf-grid strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 19px; line-height: 1.25; letter-spacing: 1px; color: var(--copper); }
.kf-grid span { display: block; margin-top: 2px; font-size: 15px; color: var(--cream); }
@media (max-width: 559px) { .kf-grid { grid-template-columns: 1fr; gap: 18px; } }
@media (min-width: 900px) { .kf-grid { grid-template-columns: repeat(4, 1fr); gap: 26px 28px; } .kf-grid img { width: 64px; height: 64px; } .kf-grid strong { font-size: 23px; } .kf-grid span { font-size: 16px; } }
.ss-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 30px; margin: clamp(26px, 3vw, 38px) 0 0; padding-top: 18px; border-top: 1px solid var(--line-d); font-size: 15px; color: rgba(251, 248, 244, .78); text-align: center; }
.ss-trust strong { color: var(--cream); font-weight: 600; }
.ss-trust a { color: var(--peach); }

/* ---------- layout plan (gated, marble) ---------- */
.lp-card { display: grid; gap: 22px; max-width: 1100px; margin: 0 auto; }
.lp-img { position: relative; display: block; width: 100%; aspect-ratio: 2 / 1; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; background: #efe6dc; box-shadow: 0 10px 40px -20px rgba(0,0,0,.4); }
.lp-img img { width: 100%; height: 100%; object-fit: cover; filter: blur(5px); transform: scale(1.06); transition: filter .4s; }
.lp-img:hover img { filter: blur(3px); }
.is-unlocked .lp-img img { filter: none; transform: none; }
.lp-pill { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 8px; padding: 14px 34px; border-radius: var(--radius); background: var(--copper); color: #F6F6F6; font-size: 19px; font-weight: 500; white-space: nowrap; box-shadow: 0 10px 30px rgba(0,0,0,.3); }
.is-unlocked .lp-pill svg { display: none; }
.cr { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border: 1px solid var(--line-l); border-radius: var(--radius); background: rgba(255, 248, 240, .8); }
.cr-txt { flex: 1; min-width: 0; }
.cr-txt h3 { font-family: var(--serif); font-size: 24px; letter-spacing: 1px; color: var(--copper); }
.cr-txt p { margin: 4px 0 0; font-size: 15px; color: var(--ink-2); }
.cr-txt .cr-price { font-weight: 600; color: var(--brown); }
.cr-links { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 16px; }
.cr-hint { margin: 16px 0 0; text-align: center; font-size: 14px; color: var(--ink-2); }
@media (max-width: 640px) { .cr { flex-wrap: wrap; } .cr .btn-outline { width: 100%; } .cr-links .btn-outline { flex: 1 1 100%; } .lp-pill { font-size: 16px; padding: 12px 22px; } }

/* ---------- highlights (dark) ---------- */
.hl-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 16px; }
.hl-grid li { display: flex; align-items: center; gap: 18px; min-height: 92px; padding: 18px 24px; border-left: 2px solid var(--copper); background: linear-gradient(90deg, rgba(153,104,82,.34) 0%, rgba(153,104,82,.12) 45%, rgba(153,104,82,0) 100%); }
.hl-grid svg { flex: none; width: 48px; height: 48px; color: var(--peach); }
.hl-grid p { margin: 0; font-size: 17px; line-height: 1.4; color: var(--cream); }
.hl-grid strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 21px; letter-spacing: 1px; color: var(--cream); }
.hl-grid em { font-style: normal; color: rgba(251,248,244,.78); }
@media (min-width: 700px) { .hl-grid { grid-template-columns: repeat(2, 1fr); gap: 20px 24px; } }
@media (min-width: 1100px) { .hl-grid { grid-template-columns: repeat(3, 1fr); gap: 22px 28px; } }

/* ---------- video (marble) ---------- */
.video-sec { padding: clamp(56px, 6.5vw, 96px) 0; }
.video-grid { display: grid; gap: 28px; align-items: center; }
.video-copy p:last-child { font-size: 18px; color: var(--ink-2); margin: 0; }
.video-frame { position: relative; }
.video-thumb { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; background: var(--dark); box-shadow: 0 20px 50px -24px rgba(0,0,0,.55); }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.video-thumb:hover img { transform: scale(1.03); }
.video-thumb::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.32); }
.video-play { position: absolute; z-index: 1; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; display: grid; place-items: center; border: 2px solid rgba(251,248,244,.85); border-radius: 50%; background: rgba(153,104,82,.85); color: #fff; transition: background-color .3s; }
.video-thumb:hover .video-play { background: var(--brown); }
.video-thumb.is-playing::after { display: none; }
.video-thumb iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-alt { margin: 10px 0 0; font-size: 14px; }
.video-alt a { color: var(--copper); }
@media (min-width: 900px) { .video-grid { grid-template-columns: .8fr 1.2fr; gap: 56px; } }

/* ---------- amenities (dark): Legacy icon grid + tab pills with image ---------- */
.am-icons { list-style: none; margin: 0 0 clamp(36px, 4.5vw, 60px); padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 16px; text-align: center; }
.am-icons img { width: 72px; height: 72px; margin: 0 auto 12px; }
.am-icons strong { display: block; font-family: var(--serif); font-weight: 700; font-size: 20px; letter-spacing: 1.5px; color: var(--copper); }
.am-icons span { display: block; margin-top: 4px; font-size: 15px; color: var(--cream); }
@media (min-width: 900px) { .am-icons { grid-template-columns: repeat(4, 1fr); } .am-icons img { width: 88px; height: 88px; } .am-icons strong { font-size: 24px; } .am-icons span { font-size: 17px; } }
.am-split { display: grid; gap: 26px; align-items: start; }
.am-tabs { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.am-tab { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 72px; padding: 0 22px; border: 1px solid var(--line-d); border-radius: var(--radius); background: rgba(23,23,23,.35); text-align: left; font-family: var(--serif); font-size: 19px; letter-spacing: 1px; color: var(--cream); transition: background .25s, border-color .25s; }
.am-tab:hover { border-color: var(--copper); }
.am-tab.is-active { border-color: var(--copper); background: linear-gradient(90deg, rgba(153,104,82,.55) 0%, rgba(153,104,82,.18) 60%, rgba(153,104,82,.05) 100%); }
.am-ic { flex: none; width: 40px; height: 40px; display: grid; place-items: center; color: var(--peach); }
.am-panel { margin: 0; }
.am-panel img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); }
.am-panel figcaption { margin-top: 12px; font-size: 16px; color: rgba(251,248,244,.82); }
@media (min-width: 900px) { .am-split { grid-template-columns: 1fr 1.35fr; gap: 40px; } }

/* ---------- gallery (marble): 12 renders ---------- */
.g-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.g-grid button { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; background: var(--dark); cursor: zoom-in; }
.g-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .7s ease; }
.g-grid button:hover img { transform: scale(1.05); }
.g-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 10px; background: linear-gradient(0deg, rgba(23,23,23,.85), rgba(23,23,23,0)); font-family: var(--serif); font-size: 15px; letter-spacing: 1px; color: var(--cream); text-align: left; }
@media (min-width: 700px) { .g-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } .g-cap { font-size: 17px; } }
@media (min-width: 1100px) { .g-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; } }
.gallery-sec .fineprint { color: var(--ink-2); }

/* ---------- site-visit band (charcoal) ---------- */
.ss-visit { background: var(--dark); color: var(--cream); padding: clamp(48px, 5.5vw, 80px) 0; }
.ss-visit-grid { display: grid; gap: 28px; align-items: center; }
.ss-visit .display { color: var(--cream); margin-bottom: 14px; }
.ss-visit-lede { font-size: 17px; color: rgba(251,248,244,.8); max-width: 56ch; }
.ss-ticks { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; font-size: 17px; }
.ss-ticks li { display: flex; align-items: flex-start; gap: 10px; }
.ss-ticks svg { flex: none; margin-top: 4px; color: var(--peach); }
.ss-visit-form { width: 100%; max-width: 440px; margin: 0 auto; padding: 24px 22px 18px; border-radius: 4px; background: var(--cream-2); color: var(--ink); box-shadow: 0 30px 60px -30px rgba(0,0,0,.7); }
.ss-visit-form .form-title { margin-bottom: 14px; }
@media (min-width: 900px) { .ss-visit-grid { grid-template-columns: 1.1fr .9fr; gap: 56px; } .ss-visit-form { margin: 0 0 0 auto; padding: 28px 26px 20px; } }

/* ---------- location (marble) ---------- */
.loc-intro { max-width: 760px; margin: -12px auto 30px; text-align: center; font-size: 18px; color: var(--ink-2); }
.loc-split { display: grid; gap: 24px; align-items: start; }
.loc-map { margin: 0; }
.loc-map button { display: block; width: 100%; padding: 0; border: 1px solid var(--line-l); border-radius: var(--radius); background: #fff; overflow: hidden; cursor: zoom-in; }
.loc-map img { width: 100%; height: auto; }
.ss-maplink { margin: 12px 0 0; font-size: 15px; font-weight: 600; }
.ss-maplink a { display: inline-flex; align-items: center; color: var(--copper); text-decoration: none; border-bottom: 1px solid var(--copper); padding-bottom: 2px; }
.loc-panels { padding: 26px 24px; border: 1px solid var(--line-l); border-radius: var(--radius); background: rgba(255, 248, 240, .85); }
.loc-panels h3 { margin-bottom: 14px; font-family: var(--serif); font-size: 26px; letter-spacing: 1px; color: var(--copper); }
.loc-items { list-style: none; margin: 0; padding: 0; }
.loc-items li { display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line-l); font-size: 17px; }
.loc-items img { width: 34px; height: 34px; }
.loc-name { color: var(--ink); }
.loc-time { color: var(--copper); font-weight: 600; white-space: nowrap; }
.why-cta { text-align: center; margin: 26px 0 0; }
@media (min-width: 900px) { .loc-split { grid-template-columns: 1.3fr 1fr; gap: 34px; } .loc-panels { padding: 32px 30px; } }

/* ---------- brochure band ---------- */
.brochure-band { padding: clamp(80px, 9vw, 120px) 0; text-align: center; background: #2a2929 url("../images/homepage-optimized-images/mihira-bottom.avif") center / cover; }
.brochure-band .display { color: var(--cream); font-size: clamp(26px, 2.4vw, 32px); line-height: 1.5; margin-bottom: 30px; }

/* ---------- FAQ (dark) ---------- */
.ss-faq-list { max-width: 880px; margin: 0 auto; display: grid; gap: 12px; }
.ss-faq details { padding: 0 22px; border: 1px solid var(--line-d); border-radius: var(--radius); background: rgba(23,23,23,.4); }
.ss-faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-family: var(--serif); font-size: 19px; letter-spacing: .5px; color: var(--cream); }
.ss-faq summary::-webkit-details-marker { display: none; }
.ss-faq summary::after { content: "+"; flex: none; font-size: 24px; line-height: 1; color: var(--peach); }
.ss-faq details[open] summary::after { content: "–"; }
.ss-faq details p { margin: 0 0 18px; max-width: 70ch; color: rgba(251,248,244,.82); }

/* ---------- about + explore more (marble) ---------- */
.about-grid { display: grid; gap: 24px; align-items: center; justify-items: center; text-align: center; margin-bottom: clamp(30px, 4vw, 48px); }
.about-logo img { width: 150px; height: auto; box-shadow: 0 10px 30px -12px rgba(0,0,0,.5); }
.about-text .display { margin-bottom: 12px; }
.about-text p:last-child { margin: 0; font-size: 18px; color: var(--ink-2); }
@media (min-width: 900px) { .about-grid { grid-template-columns: 170px 1fr; gap: 48px; justify-items: start; text-align: left; } }
.ex-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.ex-card { display: block; text-decoration: none; box-shadow: 0 4px 30px rgba(0,0,0,.25); }
.ex-card img { width: 100%; height: 280px; object-fit: cover; }
.ex-card span { display: block; padding: 18px 12px; background: var(--stone); text-align: center; font-family: var(--serif); font-weight: 700; font-size: 16px; letter-spacing: 2px; color: var(--copper); }
.ex-card b { color: var(--cream); }
.ex-card:hover span { background: var(--brown); }
@media (min-width: 700px) { .ex-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .ex-grid { grid-template-columns: repeat(4, 1fr); } }

/* ---------- footer ---------- */
.site-footer { padding: 36px 0 24px; font-size: 16px; color: rgba(251,248,244,.8); }
.foot-grid { display: grid; gap: 28px; text-align: center; }
.foot-logo { width: 180px; margin: 0 auto; }
.site-footer h3 { margin: 0 0 10px; font-family: var(--serif); font-size: 22px; letter-spacing: 2px; color: var(--cream); }
.site-footer h3 + p, .site-footer p + h3 { margin-top: 0; }
.site-footer p + h3 { margin-top: 20px; }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { color: var(--peach); }
.site-footer .ul { border-bottom: 1px solid currentColor; }
.foot-find { margin: 20px 0 10px; }
.foot-social { list-style: none; margin: 0; padding: 0; display: flex; gap: 14px; justify-content: center; }
.foot-disc .disclaimer { margin: 0; font-size: 14px; line-height: 1.7; color: rgba(251,248,244,.72); }
.foot-disc strong { color: var(--cream); font-weight: 600; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 30px; margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line-d); font-size: 15px; color: rgba(251,248,244,.5); }
.foot-base p { margin: 0; }
@media (max-width: 899px) { .foot-base { justify-content: center; text-align: center; } }
@media (min-width: 900px) { .foot-grid { grid-template-columns: 200px repeat(3, 1fr); gap: 48px; text-align: left; } .foot-logo { margin: 0; } .foot-social { justify-content: flex-start; } }

/* ---------- side tab, sticky action bar ---------- */
.side-tab { display: none; position: fixed; right: 0; top: 42%; z-index: 44; padding: 22px 12px; border: 0; border-radius: 4px 0 0 4px; background: var(--copper); color: #fff; font-size: 16px; letter-spacing: .08em; }
.side-tab span { display: inline-block; writing-mode: vertical-rl; transform: rotate(180deg); line-height: 1; }
.side-tab:hover { background: var(--brown); }
.action-bar { position: fixed; z-index: 45; left: 0; right: 0; bottom: 0; display: flex; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(23, 23, 23, .97); border-top: 1px solid var(--line-d); }
.action-bar > * { flex: 1 1 0; min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: var(--radius); font-size: 16px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.action-bar a { color: var(--cream); border: 1px solid rgba(251,248,244,.45); }
.action-bar .ab-enquire { border: 0; background: var(--copper); color: #F6F6F6; }
.action-bar .ab-enquire:hover { background: var(--brown); }
@media (min-width: 900px) {
  body { padding-bottom: 0; }
  .action-bar { display: none; }
  .side-tab { display: block; }
}

/* ---------- popup ---------- */
dialog { border: 0; padding: 0; }
dialog::backdrop { background: rgba(0, 0, 0, .6); }
.modal { width: min(1008px, calc(100% - 24px)); max-height: calc(100svh - 24px); border-radius: 2px; background: var(--cream-2); color: var(--ink); overflow: hidden auto; box-shadow: 0 12px 48px rgba(0,0,0,.35); }
.modal[open] { animation: pop .3s ease; }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.modal-grid { display: grid; grid-template-columns: 1fr; }
.modal-offer { position: relative; min-height: 170px; background: var(--dark); color: var(--cream); overflow: hidden; }
.modal-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.modal-offer-inner { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding: 20px 22px; background: linear-gradient(180deg, rgba(23,23,23,.1) 0%, rgba(23,23,23,.55) 45%, rgba(23,23,23,.92) 100%); }
.modal-logo { width: 170px; margin-bottom: 8px; filter: drop-shadow(0 2px 10px rgba(0,0,0,.5)); }
.modal-eyebrow { margin: 0; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--peach); }
.modal-trust { list-style: none; margin: 14px 0 0; padding: 12px 0 0; display: none; gap: 20px; border-top: 1px solid rgba(251,248,244,.25); }
.modal-trust li { font-size: 12px; line-height: 1.3; color: rgba(251,248,244,.8); }
.modal-trust strong { display: block; font-family: var(--serif); font-size: 20px; font-weight: 400; color: #fff; }
.modal-inner { position: relative; padding: 26px 24px 22px; text-align: center; background: var(--cream-2) url("../images/popup-images/popup-bg.png") center / cover; }
.modal-inner::before { content: ""; position: absolute; inset: 0; background: rgba(255,248,240,.9); }
.modal-inner > * { position: relative; }
.modal-brand { width: 90px; margin: 0 auto 12px; }
.modal-inner .form-title { font-size: 22px; font-weight: 700; letter-spacing: 2px; color: var(--copper); }
.modal-inner .form-lede { max-width: 420px; margin: 0 auto 16px; font-size: 14px; }
.modal .lead-form { text-align: left; }
.modal-close { position: absolute; top: 12px; right: 12px; z-index: 3; width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--copper); border-radius: 50%; background: rgba(255,248,240,.9); color: var(--copper); }
.modal-close:hover { background: #fff; }
.modal-close svg { pointer-events: none; }
@media (min-width: 860px) {
  .modal-grid { grid-template-columns: 1fr 1fr; min-height: 600px; }
  .modal-offer { min-height: 0; }
  .modal-offer-inner { padding: 30px 28px; }
  .modal-trust { display: flex; }
  .modal-inner { padding: 30px 34px 24px; display: flex; flex-direction: column; justify-content: center; }
}

/* ---------- lightbox ---------- */
.lightbox { width: 100vw; height: 100svh; max-width: none; max-height: none; background: rgba(15, 14, 14, .96); color: var(--cream); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox figure { margin: 0; max-width: min(1500px, 94vw); }
.lightbox img { max-height: 82svh; width: auto; margin: 0 auto; }
.lightbox figcaption { margin-top: 10px; text-align: center; font-family: var(--serif); letter-spacing: 1px; color: var(--peach); }
.lightbox .modal-close { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.4); }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 64px; border: 0; background: rgba(255,255,255,.08); color: #fff; font-size: 36px; }
.lb-prev { left: 8px; }
.lb-next { right: 8px; }

/* ---------- thank-you page ---------- */
.ty { min-height: calc(100vh - var(--header-h)); padding: clamp(40px, 6vw, 90px) 0; background: #171717 url("../images/homepage-optimized-images/homepage-slider-mihira.avif") center / cover; position: relative; }
.ty::before { content: ""; position: absolute; inset: 0; background: rgba(23,23,23,.72); }
.ty > .wrap { position: relative; display: flex; justify-content: center; }
.ty-card { width: 100%; max-width: 780px; padding: clamp(30px, 5vw, 60px); text-align: center; background: var(--marble); color: var(--ink); box-shadow: 0 12px 48px rgba(0,0,0,.4); }
.ty-tick { width: 76px; height: 76px; margin: 0 auto 20px; border-radius: 50%; background: var(--copper); color: #fff; display: grid; place-items: center; }
.ty-card .display { margin-bottom: 14px; color: var(--ink); }
.ty-lede { max-width: 56ch; margin: 0 auto 24px; font-size: 18px; color: var(--ink-2); }
.ty-lede b { color: var(--copper); }
.ty-steps { list-style: none; margin: 0 auto 28px; padding: 0; display: grid; gap: 12px; max-width: 540px; text-align: left; }
.ty-steps li { display: grid; grid-template-columns: 32px 1fr; gap: 12px; font-size: 16px; color: var(--ink); }
.ty-steps .no { width: 28px; height: 28px; margin-top: 1px; border-radius: 50%; background: var(--brown); color: #fff; font-size: 13px; font-weight: 600; display: grid; place-items: center; }
.ty-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.ty-block { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line-l); }
.ty-block p { color: var(--ink-2); }
.ty-block img { width: 100%; border-radius: var(--radius); box-shadow: 0 4px 30px rgba(0,0,0,.25); }
@media (max-width: 520px) { .ty-actions .btn, .ty-actions .btn-outline { width: 100%; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .hero > .hero-slide:not(:nth-of-type(1)) { display: none; }
}
.site-footer { background: var(--dark); border-top: 1px solid var(--line-d); }

/* contrast on the dark stone sections: copper text is too dim there, so values use the lighter peach */
.kf-grid strong, .am-icons strong, .intro-text h1 { color: var(--peach); }
.kf-grid img, .am-icons img { filter: brightness(1.55) saturate(1.1); }
.kf-grid span, .am-icons span { color: var(--cream); opacity: .9; }
@media (min-width: 900px) and (max-width: 1299px) { .kf-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 40px; } }
@media (min-width: 1300px) { .kf-grid { grid-template-columns: repeat(4, auto); justify-content: space-between; } .kf-grid strong { font-size: 22px; white-space: nowrap; } }
.amenities .eyebrow, .ss-visit .eyebrow, .intro-band .eyebrow, .ss-faq .eyebrow { color: var(--peach); }


/* hero (option F): tagline, plain plots line, copper ribbon with size, acreage and price */
.hero-tag { margin-bottom: 10px; }
.hero-lead { margin: 0 0 20px; font-family: var(--serif); font-size: clamp(28px, 3vw, 42px); line-height: 1.15; letter-spacing: 1px; color: var(--cream); text-wrap: balance; }
.hero-ribbon { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; padding: 14px 24px; background: var(--copper); color: #fff; font-size: 17px; text-shadow: none; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.hero-ribbon i { width: 1px; height: 20px; background: rgba(255,255,255,.5); }
.hero-ribbon b { font-family: var(--serif); font-weight: 400; font-size: 24px; letter-spacing: .5px; }
@media (max-width: 959px) { .hero-lead { font-size: 26px; margin-bottom: 16px; } .hero-ribbon { justify-content: center; } }
@media (max-width: 480px) { .hero-ribbon { display: flex; flex-direction: column; gap: 2px; padding: 12px 16px; font-size: 16px; } .hero-ribbon i { display: none; } .hero-ribbon b { font-size: 22px; } }
.hero-price { margin: 18px 0 0; font-size: 17px; letter-spacing: .04em; color: var(--cream); }
.hero-price b { margin-left: 6px; font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3vw, 40px); letter-spacing: 1px; color: var(--peach); }
@media (max-width: 480px) { .hero-price { margin-top: 14px; } }
@media (max-width: 480px) { .hero-ribbon { flex-direction: row; justify-content: center; gap: 12px; } .hero-ribbon i { display: block; } }

/* hero (option C): build-your-own pitch with labelled rows */
.hero-pitch { margin: 0 0 8px; font-family: var(--serif); font-size: clamp(32px, 3.4vw, 48px); line-height: 1.1; letter-spacing: 1px; color: var(--cream); text-wrap: balance; }
.hero-pitch em { font-style: normal; color: var(--peach); }
.hero-copy .hero-tag { margin: 0 0 18px; }
.ho-rows > div { grid-template-columns: 130px 1fr; }
.ho-rows-hi dd { color: var(--peach); }
@media (max-width: 959px) { .ho-rows > div { grid-template-columns: 108px 1fr; } .ho-rows dt { font-size: 11px; letter-spacing: .14em; } .hero-pitch { font-size: 30px; } }

/* ============ Lead forms: simple Mizumi format (placeholders, code + number, optional email, consent) ============ */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hero-form, .ss-visit-form { background: #fff; border-radius: 14px; padding: 26px 24px 20px; color: #222; }
.hf-tag { margin: 0 0 8px; font-family: var(--sans); font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--copper); }
.form-title { margin: 0 0 8px; font-size: 27px; line-height: 1.15; letter-spacing: .5px; color: #222; }
.form-lede { margin: 0 0 18px; font-size: 15.5px; line-height: 1.55; color: #55534f; }
.lead-form { gap: 14px; }
.lead-form input[type=text], .lead-form input[type=tel], .lead-form input[type=email], .lead-form select { width: 100%; height: 52px; padding: 0 16px; border: 1px solid #dcdcdc; border-radius: 8px; background: #fff; font: inherit; font-size: 16px; color: #222; outline: none; box-shadow: none; }
.lead-form input::placeholder { color: #8a8a8a; }
.lead-form input:focus, .lead-form select:focus { border-color: var(--copper); box-shadow: 0 0 0 3px rgba(153,104,82,.18); }
.phone-row { display: grid; grid-template-columns: 96px 1fr; gap: 10px; }
.phone-row select { padding: 0 10px 0 14px; appearance: auto; cursor: pointer; }
.phone-row input { border-radius: 8px; }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; margin: 2px 0 0; font-size: 14px; line-height: 1.5; color: #55534f; text-align: left; cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--dark); cursor: pointer; }
.lead-form input[aria-invalid="true"], .consent input[aria-invalid="true"] { border-color: #b3261e; outline-color: #b3261e; }
.err { font-size: 13px; color: #b3261e; }
.btn-submit { width: 100%; min-height: 54px; margin-top: 4px; padding: 0 20px; border: 0; border-radius: 999px; background: #222; color: #fff; font-family: var(--sans); font-size: 15px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; transition: background-color .25s; }
.btn-submit:hover { background: var(--copper); }
.btn-submit[disabled] { opacity: .6; cursor: progress; }
.assure { display: flex; align-items: center; gap: 6px; margin: 14px 0 0; font-size: 13px; color: #8a8a8a; }
.ss-visit-form .form-title { margin-bottom: 16px; }
.modal-inner { text-align: left; background: #fff; }
.modal-inner::before { display: none; }
.modal-inner .form-title { font-size: 28px; font-weight: 400; letter-spacing: .5px; color: #222; }
.modal-inner .form-lede { max-width: none; margin: 0 0 18px; font-size: 15px; }
.modal-close { border-color: #ddd; color: #222; background: rgba(0,0,0,.05); }
@media (max-width: 959px) { .hero-form .form-lede { display: block; } }

/* ============ Conversion order: grounds re-alternated for the new section order ============ */
/* hero · intro (stone) · location (marble) · highlights (stone) · layout (marble) · site visit (charcoal)
   · gallery (marble) · amenities (stone) · video (marble) · brochure (photo) · FAQ + closing form (stone) */
@media (min-width: 1100px) { .hl-grid.hl-4 { grid-template-columns: repeat(4, 1fr); } }
.faq-grid { display: grid; gap: 32px; align-items: start; }
.faq-grid .ss-faq-list { max-width: none; margin: 0; }
.closing-form { width: 100%; max-width: 460px; margin: 0 auto; padding: 26px 24px 20px; border-radius: 14px; background: #fff; color: #222; box-shadow: 0 30px 60px -30px rgba(0,0,0,.7); }
@media (min-width: 1000px) { .faq-grid { grid-template-columns: minmax(0, 1fr) 420px; gap: 48px; } .closing-form { position: sticky; top: calc(var(--header-h) + 20px); margin: 0; } }
.gallery-sec .why-cta { margin-top: 22px; }

/* site-visit band removed: video moves onto the dark stone so grounds keep alternating
   (layout marble · amenities stone · gallery marble · video stone · brochure photo · FAQ stone) */
.video-sec { background: var(--stone); color: var(--cream); }
.video-sec .display { color: var(--cream); }
.video-sec .eyebrow { color: var(--peach); }
.video-copy p:last-child { color: rgba(251,248,244,.82); }
.video-alt a { color: var(--peach); }

/* ============ Gallery as a slider ============ */
.g-slider { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 4px 0; margin: 0 calc(var(--gutter) * -1); padding-left: var(--gutter); padding-right: var(--gutter); scroll-padding: 0 var(--gutter); outline: none; }
.g-slider::-webkit-scrollbar { display: none; }
.g-slider > button { flex: 0 0 min(78%, 980px); min-width: 0; scroll-snap-align: center; position: relative; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; background: var(--dark); cursor: zoom-in; opacity: .55; transition: opacity .4s; box-shadow: 0 20px 50px -26px rgba(0,0,0,.6); }
.g-slider > button.is-current { opacity: 1; }
.g-slider img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .7s ease; }
.g-slider > button:hover img { transform: scale(1.03); }
.g-slider .g-cap { padding: 40px 22px 18px; font-size: clamp(17px, 1.6vw, 24px); }
.g-slider:focus-visible { outline: 2px solid var(--copper); outline-offset: 6px; }
.g-controls { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 22px; }
.g-nav { width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid var(--copper); border-radius: 50%; background: transparent; color: var(--copper); font-size: 30px; line-height: 1; padding-bottom: 4px; transition: background .25s, color .25s; }
.g-nav:hover { background: var(--copper); color: #fff; }
.g-count { margin: 0; min-width: 70px; text-align: center; font-family: var(--serif); font-size: 18px; letter-spacing: 2px; color: var(--brown); }
@media (max-width: 699px) { .g-slider { gap: 12px; } .g-slider > button { flex-basis: 86%; } .g-slider .g-cap { padding: 26px 14px 12px; } }
@media (prefers-reduced-motion: reduce) { .g-slider { scroll-behavior: auto; } }

/* intro below the hero: heading and the two original paragraphs only */
.intro-simple { padding: clamp(56px, 6vw, 88px) 0; text-align: center; }
.intro-simple h1 { margin: 0 auto 22px; max-width: none; font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3.4vw, 48px); line-height: 1.15; letter-spacing: 2px; color: var(--peach); text-wrap: balance; }
.intro-simple .intro-copy { margin: 0 auto; max-width: 1080px; }
.am-icons strong { line-height: 1.2; } .am-icons span { margin-top: 2px; line-height: 1.4; } .am-icons img { margin-bottom: 14px; }

/* brochure band removed: FAQ moves onto marble so it doesn't sit stone-on-stone after the video */
.ss-faq { background: var(--marble); color: var(--ink); }
.ss-faq .display { color: var(--brown); }
.ss-faq details { background: rgba(255,248,240,.85); border-color: var(--line-l); }
.ss-faq summary { color: var(--ink); }
.ss-faq summary::after { color: var(--copper); }
.ss-faq details p { color: var(--ink-2); }
.ss-faq .closing-form { box-shadow: 0 20px 50px -26px rgba(0,0,0,.45); }

/* amenities: Legacy icon grid on marble, as on legacy.in (copper icons, names and taglines) */
.amenities { background: var(--marble); color: var(--ink); }
.amenities .display { color: var(--brown); }
.amenities .eyebrow { color: var(--copper); }
.amenities .am-icons { margin-bottom: 0; gap: 40px 16px; }
.amenities .am-icons strong { color: var(--copper); font-weight: 700; }
.amenities .am-icons span { color: var(--ink); opacity: 1; }
.amenities .am-icons img { filter: none; }
/* gallery moves onto the dark stone so grounds alternate: layout marble · gallery stone · amenities marble · video stone · FAQ marble */
.gallery-sec { background: var(--stone); color: var(--cream); }
.gallery-sec .display { color: var(--cream); }
.gallery-sec .fineprint { color: rgba(251,248,244,.6); }
.gallery-sec .g-nav { border-color: var(--peach); color: var(--peach); }
.gallery-sec .g-nav:hover { background: var(--copper); border-color: var(--copper); color: #fff; }
.gallery-sec .g-count { color: var(--cream); }
.g-slider > button { opacity: .45; }
.g-slider > button.is-current { opacity: 1; }
.layout-sec .btn-outline { font-weight: 700; border-width: 1.5px; } .cr-hint { margin-top: 18px; font-size: 18px; font-weight: 600; color: var(--brown); }

/* location: map box matches the Nearby panel (same height, same border), Maps link sits on the map */
@media (min-width: 900px) {
  .loc-split { align-items: stretch; }
  .loc-map { position: relative; display: flex; height: 100%; }
  .loc-map button { flex: 1; height: 100%; }
  .loc-map img { width: 100%; height: 100%; object-fit: cover; }
}
.loc-map { position: relative; }
.loc-map button { border: 1px solid var(--line-l); border-radius: var(--radius); background: rgba(255,248,240,.85); }
.loc-map .ss-maplink { position: absolute; left: 14px; bottom: 14px; margin: 0; }
.loc-map .ss-maplink a { padding: 9px 16px; border: 1px solid var(--copper); border-radius: 2px; background: rgba(255,248,240,.95); box-shadow: 0 4px 16px rgba(0,0,0,.15); }
.loc-map .ss-maplink a:hover { background: var(--copper); color: #fff; }
@media (max-width: 899px) { .loc-map .ss-maplink { left: 10px; bottom: 10px; } .loc-map .ss-maplink a { padding: 6px 12px; font-size: 13px; } }

/* FAQ without the closing form: single centred column */
.faq-solo { display: block; }
.faq-solo .ss-faq-list { max-width: 880px; margin: 0 auto; }

/* every section headline matches the hero headline ("Own the land. Build your legacy."):
   Tiempos 400, same size, same spacing; the highlighted word is a colour change, not bold */
.display, .intro-simple h1, .hero-pitch { font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 3.4vw, 48px); line-height: 1.1; letter-spacing: 1px; }
.display em { font-weight: 400; color: var(--copper); }
.intro-band .display em, .highlights .display em, .gallery-sec .display em, .video-sec .display em { color: var(--peach); }
@media (max-width: 959px) { .display, .intro-simple h1, .hero-pitch { font-size: 30px; } }

/* highlights: six USPs in two rows of three */
@media (min-width: 1100px) { .hl-grid.hl-6 { grid-template-columns: repeat(3, 1fr); } }
.hl-grid li { align-items: flex-start; }
.hl-grid svg { margin-top: 2px; }

/* ============ Gallery as a filmstrip (option B): one large image, twelve thumbnails below ============ */
.filmstrip { max-width: 1240px; margin: 0 auto; }
.fs-main { position: relative; border-radius: var(--radius); overflow: hidden; background: #171717; box-shadow: 0 24px 60px -30px rgba(0,0,0,.7); }
.fs-view { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.fs-view img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; transition: opacity .35s ease; }
.fs-view img.is-fading { opacity: .35; }
.fs-cap { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; padding: 60px 24px 18px; background: linear-gradient(0deg, rgba(23,23,23,.88), rgba(23,23,23,0)); pointer-events: none; font-family: var(--serif); font-size: clamp(20px, 2.2vw, 30px); letter-spacing: 1px; color: var(--cream); }
.fs-count { font-family: var(--sans); font-size: 14px; letter-spacing: .2em; color: var(--peach); white-space: nowrap; }
.fs-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; display: grid; place-items: center; padding-bottom: 4px; border: 1px solid rgba(251,248,244,.7); border-radius: 50%; background: rgba(23,23,23,.4); color: #fff; font-size: 30px; line-height: 1; transition: background .25s, border-color .25s; }
.fs-nav:hover { background: var(--copper); border-color: var(--copper); }
.fs-prev { left: 16px; } .fs-next { right: 16px; }
.fs-thumbs { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.fs-thumb { padding: 0; border: 2px solid transparent; border-radius: 2px; overflow: hidden; background: #171717; aspect-ratio: 4 / 3; opacity: .55; transition: opacity .2s, border-color .2s; }
.fs-thumb img { width: 100%; height: 100%; object-fit: cover; }
.fs-thumb:hover, .fs-thumb.is-on { opacity: 1; border-color: var(--peach); }
@media (max-width: 899px) {
  .fs-thumbs { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 84px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .fs-thumbs::-webkit-scrollbar { display: none; }
  .fs-thumb { scroll-snap-align: start; }
  .fs-view img { aspect-ratio: 4 / 3; }
  .fs-nav { width: 42px; height: 42px; font-size: 24px; }
  .fs-prev { left: 10px; } .fs-next { right: 10px; }
  .fs-cap { padding: 40px 14px 12px; }
}

/* header logo as on legacy.in/mihira: the square Legacy tile hangs from the top edge, over the hero */
.brand { position: relative; align-self: stretch; width: 140px; flex: none; z-index: 2; }
.brand-logo { position: absolute; top: 0; left: 0; width: 140px; height: 140px; max-width: none; object-fit: cover; box-shadow: 0 10px 26px rgba(0,0,0,.45); }
@media (max-width: 1179px) { .brand, .brand-logo { width: 116px; } .brand-logo { height: 116px; } }
@media (max-width: 699px) { .brand, .brand-logo { width: 88px; } .brand-logo { height: 88px; } }

/* popup: Legacy logo, "Welcome to Legacy" and the original description, on the damask ground */
.modal-inner { background: #FFF8F0 url("../images/popup-images/popup-bg.png") center / cover; }
.modal-inner::before { display: block; content: ""; position: absolute; inset: 0; background: rgba(255,248,240,.82); }
.modal-inner > * { position: relative; }
.modal-brand { display: block; width: 120px; height: 120px; margin: 0 auto 16px; object-fit: cover; box-shadow: 0 8px 20px rgba(0,0,0,.25); }
.modal-welcome { margin: 0 0 10px; text-align: center; font-family: var(--serif); font-weight: 700; font-size: clamp(22px, 2.2vw, 28px); letter-spacing: 2px; color: var(--copper); }
.modal-inner .modal-desc { max-width: 440px; margin: 0 auto 18px; text-align: center; font-size: 15px; line-height: 1.6; color: #6b625c; }
.modal .lead-form, .modal .assure { text-align: left; }
@media (max-width: 859px) { .modal-brand { width: 88px; height: 88px; margin-bottom: 12px; } .modal-inner .modal-desc { font-size: 14px; } }

/* close button: always visible, copper ring with a bold copper X on cream */
.modal-close { width: 48px; height: 48px; border: 2px solid var(--copper); background: #FFF8F0; color: var(--copper); box-shadow: 0 4px 14px rgba(0,0,0,.25); }
.modal-close svg { width: 20px; height: 20px; }

.modal-close:hover { background: var(--copper); color: #fff; }
.lightbox .modal-close { background: #FFF8F0; color: var(--copper); border-color: var(--copper); }

/* Popup: plain background, no pattern */
.modal-inner { background: #FFF8F0 !important; }
.modal-inner::before { display: none !important; }

/* Popup: single column, no image panel */
#enquiry-modal { width: min(520px, calc(100% - 24px)); }
#enquiry-modal .modal-grid { grid-template-columns: 1fr !important; min-height: 0 !important; }
#enquiry-modal .modal-inner { padding: 32px 28px 24px; }

/* Header: transparent over the hero, solid once scrolled past it */
.page-home .site-header { position: fixed; left: 0; right: 0; top: 0; background: transparent; box-shadow: none; transition: background-color .3s, box-shadow .3s; }
.page-home .site-header.is-scrolled { background: rgba(23,23,23,.94); box-shadow: 0 4px 20px rgba(0,0,0,.35); }
.page-home .hero-grid { padding-top: calc(var(--header-h) + 40px); }

/* Mobile: centre the video and footer text */
@media (max-width: 699px) {
  .video-copy, .video-alt, .site-footer .disclaimer, .site-footer .foot-base { text-align: center; }
  .video-copy .eyebrow { margin-left: auto; margin-right: auto; }
  .site-footer .foot-base { justify-content: center; flex-direction: column; align-items: center; }
}
