/* M Mira landing page, redesign Nov 2026. Official-style: olive, rattan weave, gold, script titles, stepped diamonds. */
@font-face { font-family: MiraSerif; src: url('assets/Fligen-Regular.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: MiraSans; src: url('assets/Montserrat-Regular.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: MiraScript; src: url('assets/Broisther.woff2') format('woff2'); font-display: swap; }

:root {
  --olive-d: #3f4626; --olive: #4f5730; --olive-m: #61673b; --olive-l: #83895a;
  --gold: #ffd84f; --gold-2: #ffd300; --rust: #6a4130;
  --cream: #f7f2e4; --sand: #ece3cb; --paper: #fffdf8;
  --ink: #2c2b20; --muted: #67614f; --line: #ddd2b8; --line-d: #ffffff26;
  --serif: MiraSerif, Georgia, 'Times New Roman', serif;
  --sans: MiraSans, 'Helvetica Neue', Arial, sans-serif;
  --script: MiraScript, 'Brush Script MT', cursive;
  --r: 18px; --wrap: 1200px; --pad: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --weave: url('assets/brand-olive-background.webp');
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 16px/1.7 var(--sans); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.12; margin: 0; }
.wrap { width: min(100% - 2 * var(--pad), var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 99; background: var(--paper); padding: 10px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
.label { font-size: 11.5px; letter-spacing: .24em; text-transform: uppercase; color: #8a6a1c; margin: 0 0 12px; }
.fine { font-size: 12px; color: var(--muted); margin: 26px 0 0; }
.fine.light { color: #ffffff99; }
.center { text-align: center; }
.step { clip-path: polygon(43% 0,57% 0,57% 14%,71% 14%,71% 29%,86% 29%,86% 43%,100% 43%,100% 57%,86% 57%,86% 71%,71% 71%,71% 86%,57% 86%,57% 100%,43% 100%,43% 86%,29% 86%,29% 71%,14% 71%,14% 57%,0 57%,0 43%,14% 43%,14% 29%,29% 29%,29% 14%,43% 14%); }

/* Section heading, official pattern: ornament · gold script · serif title */
section { position: relative; }
.head { text-align: center; max-width: 760px; margin: 0 auto clamp(40px, 5vw, 64px); }
.orn { display: block; width: 16px; height: 16px; margin: 0 auto 14px; background: var(--gold-2); }
.head .script, .band .script, .reg-copy .script { font-family: var(--script); font-size: clamp(46px, 6vw, 80px); line-height: 1; color: var(--rust); margin: 0; }
.head h2, .reg-copy h2 { font-size: clamp(26px, 3.4vw, 42px); color: var(--olive); margin-top: -2px; letter-spacing: .01em; }
.head .sub { color: var(--muted); font-size: 16px; margin: 16px auto 0; max-width: 560px; }
.head.light .script { color: var(--gold); } .head.light h2 { color: #fff; } .head.light .sub { color: #ffffffb8; }
.head.light .orn { background: var(--gold); }

/* Buttons */
.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 28px; border: 1.5px solid transparent; border-radius: 2px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; transition: background .3s, color .3s, border-color .3s, transform .2s; }
.btn::after { content: ''; position: absolute; inset: 0 auto 0 -60%; width: 40%; background: linear-gradient(100deg, #fff0, #fff8, #fff0); transform: skewX(-20deg); transition: left .7s var(--ease); }
.btn:hover::after { left: 130%; }
.btn:active { transform: translateY(1px); }
.btn-gold { background: var(--gold); color: var(--olive-d); }
.btn-gold:hover { background: var(--gold-2); }
.btn-ghost { border-color: #ffffff80; color: #fff; }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 12px; }
.btn-block { width: 100%; }

/* Header */
.top { position: fixed; inset: 0 0 auto; z-index: 40; display: flex; align-items: center; gap: 30px; height: 70px; padding: 0 var(--pad); color: #fff; transition: background .4s, height .4s, box-shadow .4s; }
.top.solid { height: 62px; background: #4f5730f2; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line-d); }
.top-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.top-brand img { width: 24px; height: auto; filter: brightness(0) invert(1); }
.top-brand span { font-family: var(--serif); font-size: 18px; letter-spacing: .16em; line-height: 1.1; }
.top-brand small { display: block; font-family: var(--sans); font-size: 9.5px; letter-spacing: .22em; opacity: .75; text-transform: uppercase; }
.top-nav { display: flex; gap: 30px; }
.top-nav a { position: relative; text-decoration: none; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; opacity: .9; padding: 6px 0; }
.top-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform .35s var(--ease); }
.top-nav a:hover { color: var(--gold); } .top-nav a:hover::after, .top-nav a.on::after { transform: scaleX(1); }
.top-nav a.on { color: var(--gold); }
.menu { display: none; width: 44px; height: 44px; border: 0; background: transparent; position: relative; }
.menu span { position: absolute; left: 11px; width: 22px; height: 1.5px; background: #fff; transition: transform .3s, top .3s; }
.menu span:first-child { top: 17px; } .menu span:last-child { top: 25px; }
.menu[aria-expanded=true] span:first-child { top: 21px; transform: rotate(45deg); }
.menu[aria-expanded=true] span:last-child { top: 21px; transform: rotate(-45deg); }

/* Hero */
.hero { min-height: 100svh; display: grid; place-items: center; color: #fff; overflow: hidden; background: var(--olive-d); }
.hero-slides, .hero-slide, .hero-shade { position: absolute; inset: 0; }
.hero-slide { opacity: 0; transition: opacity 1.6s ease; }
.hero-slide.is-on { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; transform: scale(1.12); }
.hero-slide.is-on img { animation: kenburns 9s linear forwards; }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1.02); } }
.hero-shade { background: radial-gradient(ellipse at center, #3f462659 0, #3f462699 75%), linear-gradient(180deg, #3f462699 0, #3f462600 30%, #3f462600 55%, #3f4626d9 88%, #3f4626 100%); }
.hero-inner { position: relative; z-index: 2; text-align: center; padding: 120px var(--pad) 180px; max-width: 900px; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 11.5px; letter-spacing: .26em; text-transform: uppercase; color: #fff3c4; margin: 0 0 22px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 #ffd84f99; } 70%, 100% { box-shadow: 0 0 0 10px #ffd84f00; } }
.hero h1 { font-size: clamp(42px, 6.4vw, 92px); line-height: 1; text-shadow: 0 2px 30px #0004; }
.hero h1 > span { display: block; }
.hero h1 em { display: block; font-family: var(--script); font-style: normal; font-size: 1.45em; line-height: 1.05; color: var(--gold); }
.hero-lede { max-width: 560px; margin: 22px auto 34px; font-size: clamp(15.5px, 1.4vw, 18px); color: #ffffffd9; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.hero-facts { position: absolute; z-index: 2; left: 50%; bottom: 64px; transform: translateX(-50%); width: min(100% - 2 * var(--pad), 860px); display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 18px 0 0; border-top: 1px solid var(--line-d); text-align: center; }
.hero-facts dt { font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: #ffffffa0; }
.hero-facts dd { margin: 2px 0 0; font-family: var(--serif); font-size: clamp(22px, 2.4vw, 30px); color: #fff; }
.hero-facts small { font-family: var(--sans); font-size: 11px; margin-left: 3px; color: #ffffffb0; }
.hero-meta { position: absolute; z-index: 2; right: var(--pad); bottom: 20px; display: flex; align-items: center; gap: 12px; font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: #ffffffb0; }
.hero-bar { width: 60px; height: 1px; background: #ffffff40; overflow: hidden; }
.hero-bar i { display: block; height: 100%; background: var(--gold); transform-origin: left; animation: bar 6s linear infinite; }
@keyframes bar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.scroll-cue { position: absolute; z-index: 2; left: 50%; bottom: 14px; width: 24px; height: 38px; margin-left: -12px; border: 1px solid #ffffff80; border-radius: 12px; }
.scroll-cue span { position: absolute; left: 50%; top: 7px; width: 2px; height: 7px; margin-left: -1px; background: var(--gold); border-radius: 2px; animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }
/* Hero entrance */
.anim { opacity: 0; transform: translateY(24px); animation: rise 1.1s var(--ease) forwards; animation-delay: var(--d, 0s); }
.hero-facts.anim { transform: translate(-50%, 24px); animation-name: rise-c; }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes rise-c { to { opacity: 1; transform: translate(-50%, 0); } }

.operator-strip { margin: 0; padding: 12px var(--pad); background: var(--olive-d); color: #ffffffa8; font-size: 12px; text-align: center; }
.operator-strip strong { color: #fff; font-weight: 400; }

/* Concept */
.concept { padding: clamp(80px, 11vw, 140px) 0 clamp(60px, 8vw, 100px); background: var(--cream); }
.concept::before { content: ''; position: absolute; right: -80px; top: 40px; width: 320px; height: 320px; background: url('assets/brand-weave-pattern.png') center / contain no-repeat; opacity: .12; pointer-events: none; }
.mira { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(10px, 2.4vw, 34px); margin: 0 auto; padding: 0; max-width: 900px; list-style: none; text-align: center; }
.mira li { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.mira .step { width: clamp(76px, 15vw, 190px); aspect-ratio: 1; display: grid; place-items: center; font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 5.4vw, 72px); color: #fff; text-shadow: 0 2px 14px #0007; transition: transform .6s var(--ease); }
.mira li:hover .step { transform: scale(1.06) rotate(-2deg); }
.mira li:nth-child(1) .step { background: linear-gradient(#3f462688, #3f462688), url('img/facade-900.webp') center 30% / cover; }
.mira li:nth-child(2) .step { background: linear-gradient(#3f462688, #3f462688), url('img/facilities-arrival-900.webp') center / cover; }
.mira li:nth-child(3) .step { background: linear-gradient(#3f462688, #3f462688), url('img/facilities-pool-900.webp') center / cover; }
.mira li:nth-child(4) .step { background: linear-gradient(#3f462688, #3f462688), url('img/hero-2-800.webp') center / cover; }
.mira span { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--olive); }
.concept-text { max-width: 640px; margin: clamp(36px, 5vw, 56px) auto 0; text-align: center; color: var(--muted); font-size: 17px; }

/* Why */
.why { padding: clamp(70px, 9vw, 120px) 0; background: var(--sand); }
.why-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: transparent; }
.why-grid li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 30px 18px; background: var(--paper); transition: background .4s, transform .4s var(--ease); }
.why-grid li:hover { background: #fff; transform: translateY(-4px); }
.why-grid .step { width: 22px; height: 22px; background: var(--olive-m); margin-bottom: 10px; transition: transform .6s var(--ease), background .4s; }
.why-grid li:hover .step { transform: rotate(90deg); background: var(--gold-2); }
.why-grid b { font-family: var(--serif); font-weight: 400; font-size: 20px; color: var(--olive); line-height: 1.25; }
.why-grid span { color: var(--muted); font-size: 14px; line-height: 1.5; }

/* Carousel (shared) */
.car-track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.car-track::-webkit-scrollbar { display: none; }
.car-slide { flex: 0 0 100%; scroll-snap-align: center; scroll-snap-stop: always; }
.car-nav { display: flex; align-items: center; gap: 18px; margin-top: 26px; color: #fff; }
.car-nav.dark { color: var(--ink); }
.car-arrow { width: 50px; height: 50px; border-radius: 50%; border: 1px solid currentColor; background: transparent; font-size: 18px; opacity: .85; transition: background .3s, color .3s, opacity .3s, transform .3s; }
.car-arrow:hover { opacity: 1; background: var(--gold); border-color: var(--gold); color: var(--olive-d); }
.car-arrow:disabled { opacity: .25; pointer-events: none; }
.car-count { font-size: 13px; letter-spacing: .14em; font-variant-numeric: tabular-nums; }
.car-count b { font-family: var(--serif); font-weight: 400; font-size: 22px; color: var(--gold); }
.car-nav.dark .car-count b { color: var(--rust); }
.car-progress { flex: 1; height: 1px; background: currentColor; opacity: .3; position: relative; }
.car-progress i { position: absolute; left: 0; top: -1px; height: 3px; width: 33.34%; background: var(--gold); transition: transform .6s var(--ease); }
.car-nav.dark .car-progress i { background: var(--rust); }
.car-progress { opacity: 1; background: #ffffff40; } .car-nav.dark .car-progress { background: #2c2b2030; }

/* Residences */
.homes { padding: clamp(80px, 10vw, 130px) 0; color: #fff; background: linear-gradient(#4f5730e8, #3f4626f2), var(--weave) center / cover; overflow: hidden; }
.car-tabs { display: flex; justify-content: center; gap: 6px; margin: 0 auto 30px; padding: 5px; width: max-content; max-width: 100%; border: 1px solid var(--line-d); border-radius: 99px; }
.car-tabs button { border: 0; background: transparent; color: #ffffffc0; padding: 10px 26px; border-radius: 99px; font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; transition: background .35s, color .35s; }
.car-tabs button[aria-selected=true] { background: var(--gold); color: var(--olive-d); }
.layout { display: grid; grid-template-columns: 1.35fr 1fr; background: var(--paper); color: var(--ink); border-radius: 4px; overflow: hidden; min-height: 520px; }
.plan { position: relative; display: block; padding: clamp(18px, 3vw, 40px); border: 0; background: #f3eee1; }
.plan img { width: 100%; height: 100%; max-height: 520px; object-fit: contain; mix-blend-mode: multiply; transition: transform .8s var(--ease); }
.plan:hover img { transform: scale(1.035); }
.plan span { position: absolute; left: 18px; bottom: 16px; padding: 7px 14px; background: var(--olive); color: #fff; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.layout-info { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(28px, 4vw, 56px); }
.badge { width: 104px; height: 104px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--rust); color: var(--gold); font-family: var(--serif); font-size: 42px; line-height: 1; margin-bottom: 22px; }
.badge small { font-family: var(--sans); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 2px; }
.layout-size { margin: 0; font-family: var(--serif); font-size: clamp(44px, 5vw, 64px); line-height: 1; color: var(--olive); }
.layout-size small { font-family: var(--sans); font-size: 15px; color: var(--muted); }
.layout-rooms { display: flex; gap: 22px; margin: 14px 0 0; font-size: 15px; color: var(--muted); }
.layout-rooms b { font-family: var(--serif); font-weight: 400; font-size: 24px; color: var(--ink); margin-right: 4px; }
.layout-note { margin: 18px 0 28px; color: var(--muted); max-width: 360px; }
/* slide-in motion for the active layout */
.layout .layout-info > * { opacity: .25; transform: translateX(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.layout.is-active .layout-info > * { opacity: 1; transform: none; }
.layout.is-active .layout-info > :nth-child(2) { transition-delay: .08s; } .layout.is-active .layout-info > :nth-child(3) { transition-delay: .16s; }
.layout.is-active .layout-info > :nth-child(4) { transition-delay: .24s; } .layout.is-active .layout-info > :nth-child(5) { transition-delay: .32s; }

/* Facilities gallery */
.facilities { padding: clamp(80px, 10vw, 130px) 0; background: var(--cream); overflow: hidden; }
.car-gallery .car-track { padding: 0 max(var(--pad), calc((100vw - var(--wrap)) / 2)); scroll-padding: 0 max(var(--pad), calc((100vw - var(--wrap)) / 2)); }
.car-gallery .car-slide { flex-basis: min(82vw, 980px); scroll-snap-align: start; }
.fac { position: relative; border-radius: 4px; overflow: hidden; aspect-ratio: 16 / 9.5; background: var(--sand); }
.fac img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.4s var(--ease), filter 1s; filter: saturate(.85); }
.fac.is-active img { transform: scale(1); filter: none; }
.fac-card { position: absolute; left: 18px; bottom: 18px; max-width: min(440px, calc(100% - 36px)); padding: 22px 24px; background: #fffdf8f2; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transform: translateY(16px); opacity: 0; transition: opacity .8s var(--ease) .2s, transform .8s var(--ease) .2s; }
.fac.is-active .fac-card { opacity: 1; transform: none; }
.fac-card h3 { font-size: clamp(22px, 2.4vw, 30px); color: var(--olive); margin-bottom: 8px; }
.fac-card p:last-child { margin: 0; font-size: 13.5px; color: var(--muted); line-height: 1.6; }

/* Weaving Life band */
.band { position: relative; height: clamp(360px, 60vw, 640px); overflow: hidden; display: grid; place-items: center; color: #fff; text-align: center; }
.band-img { position: absolute; inset: -12% 0; }
.band-img img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.band::after { content: ''; position: absolute; inset: 0; background: #3f462680; }
.band-text { position: relative; z-index: 2; padding: 0 var(--pad); }
.band .script { color: var(--gold); font-size: clamp(60px, 10vw, 130px); text-shadow: 0 4px 30px #0005; }
.band-text p:last-child { font-family: var(--serif); font-size: clamp(18px, 2.2vw, 26px); margin: 8px 0 0; }

/* Location */
.location { padding: clamp(80px, 10vw, 130px) 0; background: var(--sand); }
.loc-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.loc-list details { border-bottom: 1px solid #cdbf9f; }
.loc-list summary { list-style: none; cursor: pointer; padding: 16px 0; font-family: var(--serif); font-size: 21px; color: var(--olive); display: flex; justify-content: space-between; align-items: center; }
.loc-list summary::-webkit-details-marker { display: none; }
.loc-list summary::after { content: '+'; font-family: var(--sans); font-size: 20px; color: var(--rust); transition: transform .35s var(--ease); }
.loc-list details[open] summary::after { transform: rotate(45deg); }
.loc-list ul { list-style: none; margin: 0 0 14px; padding: 0; }
.loc-list details[open] ul, .loc-list details[open] .roads { animation: drop .45s var(--ease); }
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } }
.loc-list li { display: flex; justify-content: space-between; padding: 6px 0; font-size: 15px; color: var(--muted); }
.loc-list li b { font-weight: 400; color: var(--ink); }
.roads { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.roads span { padding: 5px 12px; border: 1px solid #cdbf9f; font-size: 12.5px; letter-spacing: .06em; }
.map { position: relative; padding: 0; border: 0; border-radius: 4px; overflow: hidden; background: #fff; box-shadow: 0 30px 60px -30px #3f462688; }
.map img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .9s var(--ease); }
.map:hover img { transform: scale(1.04); }
.map span { position: absolute; right: 14px; bottom: 14px; padding: 8px 16px; background: var(--olive); color: #fff; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }

/* 360 */
.view360 { padding: clamp(80px, 10vw, 130px) 0; background: var(--cream); }
.pano { position: relative; height: clamp(340px, 56vw, 620px); border-radius: 4px; overflow: hidden; background: var(--olive-d) url('img/facilities-aerial-900.webp') center / cover; }
.pano::before { content: ''; position: absolute; inset: 0; background: #3f4626a8; z-index: 1; }
.pano.loaded::before { display: none; }
#pano-view { position: absolute; inset: 0; }
.pano-start { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; border: 0; background: transparent; color: #fff; font-family: var(--serif); font-size: clamp(22px, 2.6vw, 30px); }
.pano-start small { font-family: var(--sans); font-size: 12.5px; opacity: .8; letter-spacing: .06em; }
.pano-play { display: grid; place-items: center; width: 84px; height: 84px; margin-bottom: 14px; background: var(--gold); color: var(--olive-d); font-size: 20px; padding-left: 4px; transition: transform .5s var(--ease); }
.pano-start:hover .pano-play { transform: scale(1.1) rotate(90deg); }
.pano .pnlm-container { background: var(--olive-d); }
.site-pin { width: 46px; height: 46px; margin: -23px 0 0 -23px; display: grid; place-items: center; border-radius: 50%; background: #fffdf8; box-shadow: 0 0 0 6px #ffd84f88, 0 6px 18px #0006; }
.site-pin img { width: 20px; }

/* Leon */
.leon { padding: clamp(70px, 9vw, 110px) 0; color: #fff; background: linear-gradient(#61673bf0, #61673bf0), var(--weave) center / cover; }
.leon-grid { display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; max-width: 980px; }
.leon-mark { width: clamp(120px, 14vw, 170px); aspect-ratio: 1; display: grid; place-items: center; background: var(--olive-d); color: var(--gold); font-family: var(--serif); font-size: clamp(38px, 4.6vw, 54px); letter-spacing: .06em; }
.leon .label { color: var(--gold); }
.leon h2 { font-size: clamp(30px, 3.6vw, 44px); }
.leon h2 em { font-family: var(--script); font-style: normal; color: var(--gold); font-size: 1.2em; margin-left: .12em; }
.leon p { color: #ffffffcc; }
.leon-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* FAQ */
.faq { padding: clamp(80px, 10vw, 130px) 0; background: var(--cream); }
.faq-list { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font-family: var(--serif); font-size: clamp(18px, 2vw, 22px); color: var(--olive); transition: color .3s; }
.faq-list summary:hover { color: var(--rust); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; position: absolute; right: 6px; top: 20px; font-family: var(--sans); color: var(--rust); font-size: 22px; transition: transform .35s var(--ease); }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details[open] p { animation: drop .45s var(--ease); }
.faq-list p { margin: 0 0 22px; color: var(--muted); }

/* Register */
.register { padding: clamp(80px, 10vw, 130px) 0; color: #fff; background: linear-gradient(#4f5730e8, #3f4626f2), var(--weave) center / cover; overflow: hidden; }
.reg-grid { display: grid; grid-template-columns: 1fr minmax(0, 480px); gap: clamp(30px, 6vw, 90px); align-items: center; }
.reg-copy .orn { margin: 0 0 14px; background: var(--gold); }
.reg-copy .script { color: var(--gold); }
.reg-copy h2 { color: #fff; }
.reg-copy > p { color: #ffffffc0; font-size: 16.5px; max-width: 460px; }
.ticks { list-style: none; padding: 0; margin: 24px 0; }
.ticks li { padding: 7px 0 7px 32px; position: relative; }
.ticks li::before { content: ''; position: absolute; left: 2px; top: 12px; width: 14px; height: 14px; background: var(--gold); clip-path: polygon(43% 0,57% 0,57% 14%,71% 14%,71% 29%,86% 29%,86% 43%,100% 43%,100% 57%,86% 57%,86% 71%,71% 71%,71% 86%,57% 86%,57% 100%,43% 100%,43% 86%,29% 86%,29% 71%,14% 71%,14% 57%,0 57%,0 43%,14% 43%,14% 29%,29% 29%,29% 14%,43% 14%); }
.reg-alt { font-size: 14px; color: #ffffffa8 !important; }
.reg-alt a { color: var(--gold); }
.form { background: var(--paper); color: var(--ink); border-radius: 4px; padding: clamp(24px, 3.4vw, 40px); box-shadow: 0 40px 80px -40px #000b; border-top: 4px solid var(--gold); }
.form-title { font-family: var(--serif); font-size: 26px; color: var(--olive); margin: 0 0 20px; }
.field { display: block; margin: 0 0 16px; border: 0; padding: 0; }
.field > span, .field legend { display: block; font-size: 12px; letter-spacing: .06em; color: var(--muted); margin-bottom: 6px; padding: 0; }
.field input { width: 100%; height: 52px; padding: 0 16px; border: 1px solid var(--line); border-radius: 2px; background: #fff; font: 16px var(--sans); color: var(--ink); transition: border-color .3s, box-shadow .3s; }
.field input:focus { outline: 0; border-color: var(--olive-m); box-shadow: 0 0 0 4px #61673b26; }
.field input[aria-invalid=true] { border-color: #b3412e; }
.choice { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.choice legend { grid-column: 1 / -1; }
.choice label { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; }
.choice label span { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 60px; padding: 8px 4px; border: 1px solid var(--line); font-size: 13.5px; text-align: center; line-height: 1.25; cursor: pointer; transition: all .3s; }
.choice small { font-size: 10.5px; color: var(--muted); margin-top: 3px; }
.choice input:checked + span { border-color: var(--olive); background: var(--olive); color: #fff; }
.choice input:checked + span small { color: #ffffffb8; }
.choice input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.consent { display: flex; gap: 12px; align-items: flex-start; margin: 6px 0 20px; font-size: 13px; color: var(--muted); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--olive); flex: none; }
.consent a { color: var(--rust); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; }
.form-status { min-height: 1.4em; margin: 12px 0 0; font-size: 14px; color: #b3412e; }
.form-fine { margin: 6px 0 0; font-size: 11.5px; color: var(--muted); }

/* Footer */
.foot { background: #2f3419; color: #ffffff99; padding: 56px 0 110px; font-size: 13px; }
.foot-grid { display: grid; grid-template-columns: auto 1fr; gap: 50px; }
.foot-brand img { width: 30px; filter: brightness(0) invert(1); opacity: .9; margin-bottom: 14px; }
.foot-brand p { margin: 0; font-family: var(--serif); font-size: 22px; color: #fff; line-height: 1.3; }
.foot-brand em { font-family: var(--script); font-style: normal; color: var(--gold); font-size: 1.2em; }
.foot-id strong { color: #fff; font-weight: 400; }
.foot-id a, .foot-bottom a { color: #ffffffcc; }
.foot-bottom { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line-d); }
.foot-bottom span { margin-right: auto; }
.foot-bottom button { border: 0; background: none; padding: 0; color: #ffffffcc; text-decoration: underline; font-size: 13px; }

/* Mobile dock */
.dock { position: fixed; left: 50%; bottom: max(14px, env(safe-area-inset-bottom)); z-index: 45; display: flex; gap: 6px; padding: 6px; border-radius: 99px; background: #3f4626f2; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 12px 30px #0005; transform: translate(-50%, 150%); transition: transform .5s var(--ease); }
.dock.show { transform: translate(-50%, 0); }
.dock a { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 20px; border-radius: 99px; text-decoration: none; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.dock-wa { background: #25d366; color: #fff; }
.dock-reg { background: var(--gold); color: var(--olive-d); }

/* Dialogs */
.dlg { width: min(92vw, 900px); max-height: 90vh; padding: 0; border: 0; border-radius: 4px; background: var(--paper); color: var(--ink); overflow: hidden; }
.dlg-wide { width: min(96vw, 1300px); }
.dlg::backdrop { background: #1f2412d9; backdrop-filter: blur(4px); }
.dlg[open] { display: flex; flex-direction: column; animation: pop .4s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.dlg-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; padding: 20px 22px 14px; border-bottom: 1px solid var(--line); }
.dlg-head h2 { font-size: 30px; color: var(--olive); }
.dlg-head p:not(.label) { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.dlg-head .label { margin-bottom: 6px; }
.x { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 22px; line-height: 1; flex: none; transition: transform .3s; }
.x:hover { transform: rotate(90deg); }
.dlg-scroll { overflow: auto; flex: 1; background: #f3eee1; touch-action: pan-x pan-y pinch-zoom; }
.dlg-scroll img { width: 100%; min-width: 700px; mix-blend-mode: multiply; }
.dlg-wide .dlg-scroll img { min-width: 1100px; mix-blend-mode: normal; }
.dlg-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 22px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }

/* Ad-measurement consent banner (injected by ads-tracking.js) */
.measurement-consent { position: fixed; left: 16px; right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); z-index: 60; max-width: 560px; margin-inline: auto; display: flex; flex-direction: column; gap: 12px; padding: 18px 20px; border-radius: 4px; border-top: 3px solid var(--gold); background: var(--paper); color: var(--ink); font-size: 13px; box-shadow: 0 20px 50px #0006; animation: pop .5s var(--ease); }
.measurement-consent[hidden] { display: none; }
.measurement-consent p { margin: 0; }
.measurement-consent a { color: var(--rust); }
.measurement-consent div { display: flex; gap: 8px; justify-content: flex-end; }
.measurement-consent button { min-height: 40px; padding: 0 16px; border: 1px solid var(--line); background: #fff; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.measurement-consent button[data-choice=accept] { background: var(--olive); border-color: var(--olive); color: #fff; }

/* Scroll reveals */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.js .reveal-d { opacity: 0; transform: scale(.6) rotate(-45deg); transition: opacity .9s var(--ease), transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 140ms); }
.js .reveal-img { clip-path: inset(12% 12% 12% 12%); opacity: .4; transition: clip-path 1.3s var(--ease), opacity 1s; }
.js .in { opacity: 1 !important; transform: none !important; clip-path: inset(0 0 0 0) !important; }
.js .head.reveal .orn { transform: rotate(-90deg) scale(.4); transition: transform 1s var(--ease) .2s; }
.js .head.in .orn { transform: none; }

/* Tablet */
@media (max-width: 1020px) {
  .top-nav { gap: 18px; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .layout { grid-template-columns: 1fr; min-height: 0; }
  .plan img { max-height: 420px; }
  .loc-grid, .reg-grid { grid-template-columns: 1fr; }
}
/* Phone */
@media (max-width: 760px) {
  .top { height: 60px; gap: 10px; } .top.solid { height: 56px; }
  .top-cta { display: none; }
  .menu { display: block; }
  .top-nav { position: fixed; inset: 56px 0 auto; flex-direction: column; gap: 0; padding: 8px var(--pad) 22px; background: #4f5730fa; transform: translateY(-130%); transition: transform .4s var(--ease); z-index: -1; }
  .top-nav a { padding: 15px 0; border-bottom: 1px solid var(--line-d); font-size: 14px; }
  .top-nav a::after { display: none; }
  .top.open .top-nav { transform: none; }
  .top.open { background: var(--olive); }
  .hero-inner { padding: 100px var(--pad) 210px; }
  .hero h1 { font-size: clamp(38px, 11vw, 54px); }
  .hero-actions { flex-direction: column; align-items: stretch; max-width: 340px; margin: 0 auto; }
  .hero-facts { grid-template-columns: repeat(2, 1fr); gap: 12px 0; bottom: 62px; }
  .hero-meta { display: none; }
  .mira { gap: 6px; }
  .mira span { font-size: 9.5px; letter-spacing: .12em; }
  .why-grid li { padding: 22px 12px; }
  .why-grid b { font-size: 17px; }
  .why-grid span { font-size: 12.5px; }
  .car-tabs button { padding: 9px 16px; font-size: 11.5px; }
  .car-track { gap: 12px; }
  .layout-info { padding: 26px 22px 30px; }
  .badge { width: 84px; height: 84px; font-size: 34px; margin-bottom: 16px; }
  .layout-info .btn { width: 100%; }
  .car-arrow { width: 44px; height: 44px; }
  .car-gallery .car-slide { flex-basis: 86vw; }
  .fac { aspect-ratio: 4 / 5; }
  .fac-card { left: 10px; right: 10px; bottom: 10px; padding: 16px 18px; max-width: none; }
  .leon-grid { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .leon-actions { justify-content: center; }
  .leon-mark { width: 100px; font-size: 30px; }
  .choice { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 26px; }
  .foot-bottom span { width: 100%; }
  .dlg { width: 100vw; max-width: 100vw; max-height: 100svh; height: 100svh; border-radius: 0; }
  .dlg-scroll img { min-width: 640px; }
}
@media (min-width: 761px) { .dock { display: none; } .foot { padding-bottom: 56px; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01s !important; animation-iteration-count: 1 !important; transition-duration: .01s !important; }
  .js .reveal, .js .reveal-d, .js .reveal-img, .anim { opacity: 1; transform: none; clip-path: none; }
  .hero-facts.anim { transform: translateX(-50%); }
}
/* Safety net: hero text is always shown after 2.6 s even if the browser paused animations. */
.hero-done .anim { opacity: 1; transform: none; animation: none; }
.hero-done .hero-facts.anim { transform: translateX(-50%); }
html, body { overflow-x: clip; }
.concept, .why, .location, .view360, .faq, .leon { overflow: hidden; }

/* ---- Layout slides v2: compact and aligned ---- */
.layout { grid-template-columns: 1.25fr 1fr; min-height: 0; align-items: stretch; }
.plan { display: flex; align-items: center; justify-content: center; padding: 20px; }
.plan img { max-height: 440px; }
.layout-info { justify-content: center; align-items: stretch; gap: 0; padding: clamp(24px, 3vw, 40px); }
.layout-head { display: flex; align-items: center; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.layout-head .badge { width: 64px; height: 64px; margin: 0; font-size: 30px; flex: none; }
.layout-type { margin: 0; font-family: var(--serif); font-size: 28px; line-height: 1.1; color: var(--olive); }
.layout-tag { margin: 4px 0 0; font-size: 13.5px; color: var(--muted); line-height: 1.4; }
.specs { display: grid; grid-template-columns: 1.4fr 1fr 1fr; margin: 0; border-bottom: 1px solid var(--line); }
.specs div { padding: 16px 0 16px 16px; border-left: 1px solid var(--line); }
.specs div:first-child { padding-left: 0; border-left: 0; }
.specs dt { font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.specs dd { margin: 4px 0 0; font-family: var(--serif); font-size: 30px; line-height: 1; color: var(--ink); white-space: nowrap; }
.specs dd small { font-family: var(--sans); font-size: 12px; color: var(--muted); margin-left: 4px; }
.layout-note { margin: 16px 0 20px; font-size: 14.5px; line-height: 1.6; max-width: none; }
.layout .layout-info > * { transform: translateX(12px); }
@media (max-width: 1020px) { .layout { grid-template-columns: 1fr; } .plan img { max-height: 340px; } }
@media (max-width: 760px) {
  .plan { padding: 12px 12px 8px; }
  .plan img { max-height: 260px; }
  .plan span { left: 10px; bottom: 10px; padding: 5px 10px; font-size: 10px; }
  .layout-info { padding: 18px 18px 20px; }
  .layout-head { gap: 12px; padding-bottom: 14px; }
  .layout-head .badge { width: 52px; height: 52px; font-size: 24px; }
  .layout-type { font-size: 23px; }
  .layout-tag { font-size: 12.5px; }
  .specs div { padding: 12px 0 12px 12px; }
  .specs dd { font-size: 24px; }
  .specs dd small { font-size: 10.5px; margin-left: 3px; }
  .layout-note { margin: 12px 0 16px; font-size: 13.5px; }
  .homes .head { margin-bottom: 26px; }
  .car-tabs { margin-bottom: 18px; }
  .car-nav { margin-top: 16px; }
}
.plan span { left: auto; right: 12px; bottom: 12px; }
/* Fixed plan box so every layout card is the same size, even while a plan is still loading */
.plan { height: 460px; } .plan img { height: 100%; max-height: none; }
.layout-info { justify-content: flex-start; }
@media (max-width: 1020px) { .plan { height: 360px; } }
@media (max-width: 760px) { .plan { height: auto; aspect-ratio: 4 / 3.2; } }

/* ---- Showroom visit (now launched) ---- */
.visit { background: var(--paper); padding: clamp(44px, 6vw, 72px) 0; border-bottom: 1px solid var(--line); }
.visit-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.visit-copy h2 { font-size: clamp(30px, 3.6vw, 44px); color: var(--olive); }
.visit-copy h2 em { font-family: var(--script); font-style: normal; color: var(--rust); font-size: 1.25em; margin-left: .1em; }
.visit-copy > p:not(.label) { color: var(--muted); margin: 12px 0 22px; }
.visit-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.visit-steps li { display: flex; flex-direction: column; gap: 14px; padding: 22px 20px; background: var(--cream); border-top: 3px solid var(--gold-2); }
.visit-steps .step { width: 42px; height: 42px; display: grid; place-items: center; background: var(--olive); color: var(--gold); font-family: var(--serif); font-weight: 400; font-size: 20px; }
.visit-steps strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 19px; color: var(--olive); line-height: 1.25; }
.visit-steps span { display: block; margin-top: 4px; font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.field-row { display: grid; grid-template-columns: 1.3fr 1fr; gap: 10px; }
.field select { width: 100%; height: 52px; padding: 0 14px; border: 1px solid var(--line); border-radius: 2px; background: #fff; font: 16px var(--sans); color: var(--ink); appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--olive) 50%), linear-gradient(135deg, var(--olive) 50%, transparent 50%); background-position: calc(100% - 20px) 23px, calc(100% - 15px) 23px; background-size: 5px 5px; background-repeat: no-repeat; }
.field select:focus, .field input[type=date]:focus { outline: 0; border-color: var(--olive-m); box-shadow: 0 0 0 4px #61673b26; }
.field input[type=date] { -webkit-appearance: none; appearance: none; min-height: 52px; }
.field select[aria-invalid=true], .field input[aria-invalid=true] { border-color: #b3412e; }
@media (max-width: 900px) { .visit-grid { grid-template-columns: 1fr; text-align: center; } .visit-copy .btn { margin: 0 auto; } }
@media (max-width: 760px) {
  .visit-steps { grid-template-columns: 1fr; gap: 8px; text-align: left; }
  .visit-steps li { flex-direction: row; align-items: center; padding: 14px 16px; }
  .visit-steps .step { width: 38px; height: 38px; font-size: 17px; flex: none; }
  .visit-steps strong { font-size: 17px; }
  .visit-steps span { font-size: 12.5px; margin-top: 2px; }
}

/* ---- Tablet header: fold the nav into the menu button below 1020px (was wrapping onto 2 lines) ---- */
.top-brand span, .top-cta { white-space: nowrap; }
@media (max-width: 1020px) {
  .top { gap: 14px; }
  .menu { display: block; }
  .top-nav { position: fixed; inset: 62px 0 auto; flex-direction: column; gap: 0; padding: 8px var(--pad) 22px; background: #4f5730fa; transform: translateY(-130%); transition: transform .4s var(--ease); z-index: -1; }
  .top:not(.solid) .top-nav { inset: 70px 0 auto; }
  .top-nav a { padding: 15px 0; border-bottom: 1px solid var(--line-d); font-size: 14px; }
  .top-nav a::after { display: none; }
  .top.open .top-nav { transform: none; }
  .top.open { background: var(--olive); }
}
@media (max-width: 760px) { .top-nav, .top:not(.solid) .top-nav { inset: 56px 0 auto; } .top:not(.solid) .top-nav { inset: 60px 0 auto; } }
