/* 6699 · The Project page (extends main.css) */
.pill--ink .lay__arrow { display: none; }
[data-rise] { opacity: 1; }
.js [data-rise] { opacity: 0; transform: translateY(26px); transition: opacity 0.9s ease calc(var(--d, 0) * 110ms), transform 0.9s ease calc(var(--d, 0) * 110ms); }
.js [data-rise].is-in { opacity: 1; transform: none; }

/* Hero */
.phero { position: relative; height: 92svh; min-height: 560px; overflow: hidden; background: var(--obsidian); }
.phero__bg { position: absolute; inset: -6% 0; width: 100%; height: 112%; object-fit: cover; will-change: transform; }
.phero__shade { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(17, 16, 15, 0.7) 0, rgba(17, 16, 15, 0) 24%), linear-gradient(to top, rgba(17, 16, 15, 0.94) 0, rgba(17, 16, 15, 0.8) 28%, rgba(17, 16, 15, 0) 66%); }
.phero__text { position: absolute; left: var(--pad); right: var(--pad); bottom: clamp(48px, 9vh, 90px); display: grid; gap: 18px; text-shadow: 0 1px 18px rgba(17, 16, 15, 0.55); }
.phero__eyebrow { color: var(--gold); }
.phero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(56px, 9vw, 150px); line-height: 0.96; color: #fbf8f4; }
.phero__lede { max-width: 520px; font-size: clamp(15px, 1.3vw, 19px); line-height: 1.55; color: #f1e9db; }

/* In-page index */
.pidx { position: sticky; top: 68px; z-index: 30; background: rgba(251, 248, 244, 0.96); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(53, 21, 29, 0.14); color: var(--wine); }
.pidx__in { display: flex; gap: clamp(20px, 3vw, 44px); padding: 0 var(--pad); max-width: 1440px; margin-inline: auto; overflow-x: auto; scrollbar-width: none; }
.pidx__in::-webkit-scrollbar { display: none; }
.pidx a { flex: none; padding: 18px 0 16px; font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; text-decoration: none; border-bottom: 2px solid transparent; transition: border-color 0.2s, opacity 0.2s; opacity: 0.7; }
.pidx a:hover { opacity: 1; }
.pidx a.is-on { opacity: 1; border-bottom-color: var(--gold); }
section[id] { scroll-margin-top: 130px; }

/* Layout: text left, plan right */
.lay { display: grid; grid-template-columns: 1fr 1fr; background: var(--ivory); color: var(--obsidian); }
.lay__text { align-self: center; display: grid; gap: 26px; justify-items: start; padding: clamp(64px, 9vw, 120px) clamp(24px, 4vw, 56px) clamp(64px, 9vw, 120px) var(--pad); }
.lay h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(46px, 6.4vw, 92px); line-height: 0.98; }
.lay__lede { max-width: 470px; font-size: 18px; line-height: 1.55; opacity: 0.85; }
.lay__sel { margin-top: 10px; }
.lay__n { font-family: var(--serif); font-size: clamp(40px, 4.7vw, 68px); line-height: 1; }
.lay__l { margin-top: 8px; font-size: 17px; opacity: 0.7; }
.lay .pill--ink { color: var(--obsidian); border: 0; padding: 10px 26px 10px 10px; gap: 14px; background: rgba(17, 16, 15, 0.09); }
.lay .pill--ink::before { content: "→"; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--obsidian); color: var(--ivory); }
.lay .pill--ink:hover { background: var(--obsidian); color: var(--ivory); }
.lay .pill--ink:hover::before { background: var(--ivory); color: var(--obsidian); }
.lay__arrow { display: none; }
.lay__fine { font-size: 13px; opacity: 0.6; max-width: 420px; }
.lay__map { position: relative; min-height: 560px; background: #274a31; overflow: hidden; }
.lay__map > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lay__map svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.plot { cursor: pointer; }
.plot circle.badge { fill: #fff; stroke: transparent; stroke-width: 4; transition: transform 0.2s ease; transform-box: fill-box; transform-origin: center; }
.plot circle.hit { fill: transparent; stroke: none; }
.plot text { font: 700 22px "Instrument Serif", serif; fill: #12351f; text-anchor: middle; pointer-events: none; }
.plot.reserved circle.badge { stroke: #c6a15b; }
.plot.sold circle.badge { fill: #11100f; }
.plot.sold text { fill: #e8dfd0; }
.plot:hover circle.badge, .plot.is-sel circle.badge { stroke: #c6a15b; stroke-width: 6; transform: scale(1.3); }
.plot:focus-visible { outline: none; }
.plot:focus-visible circle.badge { stroke: #c6a15b; stroke-width: 6; transform: scale(1.3); }
.lay__legend { position: absolute; left: 20px; top: 20px; z-index: 2; display: flex; gap: 16px; padding: 9px 14px; background: rgba(232, 223, 208, 0.94); color: var(--obsidian); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; }
.lay__legend i { display: inline-block; width: 12px; height: 12px; margin-right: 6px; border-radius: 50%; vertical-align: -1px; border: 2px solid transparent; background: #fff; box-shadow: 0 0 0 1px rgba(17, 16, 15, 0.35); }
.lay__legend i.r { border-color: #c6a15b; }
.lay__legend i.s { background: var(--obsidian); }
.lay__compass { position: absolute; right: 24px; bottom: 24px; z-index: 2; display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid rgba(232, 223, 208, 0.8); border-radius: 50%; color: var(--ivory); font-size: 12px; font-weight: 600; }

/* Villa types */
.vt { padding: clamp(80px, 9vw, 120px) var(--pad); background: var(--paper); color: var(--wine); }
.vt__head { text-align: center; }
.vt__eyebrow { margin-bottom: 14px; font-family: var(--serif); font-size: clamp(18px, 1.8vw, 26px); color: rgba(53, 21, 29, 0.6); }
.vt h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 6.4vw, 92px); line-height: 1.02; }
.vt__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1440px; margin: clamp(40px, 5vw, 64px) auto 0; }
.vt__card { position: relative; overflow: hidden; min-height: clamp(420px, 40vw, 560px); border-radius: 26px; color: #fff; background: #222; }
.vt__card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s ease; }
.vt__card:hover > img { transform: scale(1.04); }
.vt__shade { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(17, 16, 15, 0.6) 0, rgba(17, 16, 15, 0) 46%), linear-gradient(to top, rgba(17, 16, 15, 0.7) 0, rgba(17, 16, 15, 0) 42%); }
.vt__top { position: absolute; left: 28px; right: 28px; top: 28px; }
.vt__label { margin-bottom: 6px; font-size: 17px; font-weight: 500; }
.vt__bhk { margin-bottom: 14px; font-family: var(--serif); font-size: clamp(40px, 4vw, 56px); line-height: 1; }
.vt__chip { display: inline-block; padding: 8px 14px; border-radius: 6px; background: var(--gold); color: var(--obsidian); font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.vt__bottom { position: absolute; left: 28px; right: 24px; bottom: 24px; display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; }
.vt__line { max-width: 230px; font-size: 15px; line-height: 1.45; }
.vt__pill { flex: none; padding: 12px 24px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.6); background: rgba(255, 255, 255, 0.2); color: #fff; text-decoration: none; font-size: 14px; font-weight: 600; backdrop-filter: blur(6px); }
.vt__pill:hover { background: #fff; color: var(--wine); }

/* Amenities */
.am { padding: clamp(80px, 9vw, 120px) var(--pad); background: var(--ivory); color: var(--obsidian); }
.am__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 60px; max-width: 1440px; margin-inline: auto; }
.am__eyebrow { margin-bottom: 14px; font-weight: 600; opacity: 0.6; }
.am h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(42px, 5.8vw, 84px); line-height: 1; }
.am__lede { max-width: 420px; font-size: 17px; line-height: 1.6; opacity: 0.8; }
.am__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; max-width: 1440px; margin: clamp(36px, 4.5vw, 56px) auto 0; }
.am__card { display: grid; align-content: start; gap: 12px; }
.am__img { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 4px; background: #cfc6b6; }
.am__img img { width: 100%; height: 100%; object-fit: cover; }
.am__tag { margin-top: 8px; font-weight: 600; opacity: 0.55; }
.am h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 2.8vw, 40px); line-height: 1.05; }
.am__list { margin-top: 6px; }
.am__list li { padding: 9px 0; border-top: 1px solid rgba(17, 16, 15, 0.2); font-size: 15px; line-height: 1.4; }

/* Infrastructure */
.inf { display: grid; grid-template-columns: minmax(280px, 520px) 1fr; background: var(--paper); color: var(--wine); }
.inf__img { position: relative; margin: 0; min-height: 520px; background: #cfc6b6; }
.inf__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; }
.inf__body { padding: clamp(64px, 8vw, 100px) var(--pad) clamp(56px, 7vw, 90px) clamp(32px, 6vw, 80px); max-width: 960px; }
.inf__eyebrow { margin-bottom: 14px; font-weight: 600; opacity: 0.6; }
.inf h2 { max-width: 700px; margin-bottom: 26px; font-family: var(--serif); font-weight: 400; font-size: clamp(38px, 4.7vw, 68px); line-height: 1.02; }
.inf__list { border-top: 1px solid rgba(53, 21, 29, 0.35); }
.inf__list li { display: grid; grid-template-columns: 48px 170px 1fr 150px; align-items: center; gap: 18px; padding: 18px 0; border-bottom: 1px solid rgba(53, 21, 29, 0.2); }
.inf__n { font-size: 13px; letter-spacing: 0.16em; opacity: 0.5; }
.inf__list h3 { font-size: 14px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; }
.inf__list p { font-size: 15px; line-height: 1.5; opacity: 0.8; }
.inf__list b { text-align: right; font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.6vw, 38px); line-height: 1; white-space: nowrap; }
.inf__appr { display: flex; justify-content: space-between; gap: 20px; margin-top: 18px; font-size: 15px; }
.inf__appr strong { font-family: var(--serif); font-weight: 400; font-size: 26px; }

/* Gallery */
.gal { padding: clamp(72px, 8vw, 100px) 0 clamp(56px, 6vw, 80px); background: var(--ivory); color: var(--obsidian); overflow: hidden; }
.gal__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; padding: 0 var(--pad); }
.gal__eyebrow { margin-bottom: 14px; font-weight: 600; opacity: 0.65; }
.gal h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(42px, 5.6vw, 80px); line-height: 1; }
.gal__ctrl { display: flex; align-items: center; gap: 14px; }
.gal__count { margin-right: 10px; opacity: 0.7; }
.gal__btn { display: grid; place-items: center; width: 56px; height: 56px; border: 1px solid var(--obsidian); border-radius: 50%; background: none; color: var(--obsidian); font-size: 22px; cursor: pointer; }
.gal__btn:hover { background: var(--obsidian); color: var(--ivory); }
.gal__track { display: flex; gap: 20px; height: clamp(380px, 42vw, 560px); margin-top: 36px; padding: 0 var(--pad); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: var(--pad); scrollbar-width: none; cursor: grab; }
.gal__track::-webkit-scrollbar { display: none; }
.gal__track.is-drag { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.gal__card { flex: 0 0 clamp(260px, 32vw, 460px); height: 100%; margin: 0; display: flex; flex-direction: column; gap: 14px; scroll-snap-align: start; }
.gal__img { flex: 1; min-height: 0; overflow: hidden; background: #cfc4b1; }
.gal__img img { width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-drag: none; }
.gal__card figcaption { opacity: 0.75; }
.gal__bar { height: 2px; margin: 36px var(--pad) 0; background: rgba(17, 16, 15, 0.15); }
.gal__bar span { display: block; height: 100%; width: 20%; background: var(--obsidian); transition: width 0.25s ease; }

/* How buying works */
.buy { padding: clamp(80px, 9vw, 120px) var(--pad); background: var(--obsidian); color: var(--ivory); }
.buy__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 60px; max-width: 1440px; margin-inline: auto; }
.buy__eyebrow { margin-bottom: 14px; color: var(--gold); font-weight: 600; }
.buy h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(42px, 5.8vw, 84px); line-height: 1; }
.buy__lede { max-width: 400px; font-size: 17px; line-height: 1.6; color: rgba(232, 223, 208, 0.78); }
.buy__steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; max-width: 1440px; margin: clamp(48px, 6vw, 80px) auto 0; }
.buy__steps li { position: relative; padding-top: 34px; border-top: 1px solid rgba(198, 161, 91, 0.5); }
.buy__steps li::before { content: ""; position: absolute; left: 0; top: -6px; width: 11px; height: 11px; border-radius: 50%; background: var(--gold); }
.buy__n { font-family: var(--serif); font-size: clamp(40px, 4.4vw, 64px); line-height: 1; color: var(--gold); }
.buy__steps h3 { margin: 14px 0 8px; font-size: 14px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; }
.buy__steps li > p:last-child { font-size: 15px; line-height: 1.55; color: rgba(232, 223, 208, 0.75); }
.buy__cta { display: flex; align-items: center; gap: 24px; max-width: 1440px; margin: clamp(40px, 5vw, 64px) auto 0; }
.buy__cta .pill { background: var(--ivory); color: var(--obsidian); border-color: var(--ivory); }
.buy__cta .pill:hover { background: var(--gold); border-color: var(--gold); color: var(--obsidian); }
.buy__cta p { font-size: 14px; color: rgba(232, 223, 208, 0.65); }

/* FAQs */
.faq { display: grid; grid-template-columns: minmax(280px, 420px) 1fr; gap: clamp(32px, 8vw, 110px); padding: clamp(80px, 9vw, 120px) var(--pad); background: var(--paper); color: var(--wine); }
.faq__head { display: grid; gap: 20px; justify-items: start; align-content: start; }
.faq__eyebrow { font-weight: 600; opacity: 0.6; }
.faq h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(42px, 5.8vw, 84px); line-height: 1; }
.faq__head p:last-child { font-size: 17px; line-height: 1.6; opacity: 0.8; }
.faq__list { border-top: 1px solid rgba(53, 21, 29, 0.35); }
.faq details { border-bottom: 1px solid rgba(53, 21, 29, 0.2); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; cursor: pointer; list-style: none; font-family: var(--serif); font-size: clamp(22px, 2.1vw, 30px); line-height: 1.15; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid rgba(53, 21, 29, 0.5); border-radius: 50%; font-family: var(--sans); font-size: 20px; transition: background 0.2s, color 0.2s; }
.faq details[open] summary::after { content: "\2212"; background: var(--wine); color: var(--paper); }
.faq details p { max-width: 640px; padding: 0 60px 22px 0; font-size: 16px; line-height: 1.6; opacity: 0.85; }

@media (max-width: 1000px) {
  .inf__list li { grid-template-columns: 36px 1fr auto; grid-template-areas: "n h b" ". p p"; gap: 4px 12px; padding: 14px 0; }
  .inf__n { grid-area: n; } .inf__list h3 { grid-area: h; } .inf__list b { grid-area: b; } .inf__list p { grid-area: p; }
  .buy__steps { grid-template-columns: repeat(3, 1fr); row-gap: 44px; }
}
@media (max-width: 800px) {
  .phero { height: 86svh; }
  .pidx { top: 68px; }
  .lay { grid-template-columns: 1fr; }
  .lay__text { padding: 64px var(--pad) 36px; gap: 18px; }
  .lay__lede { font-size: 15px; }
  .lay__map { min-height: 0; aspect-ratio: 3 / 3.7; }
  .lay__legend { left: 10px; top: 10px; gap: 10px; padding: 6px 8px; font-size: 9px; letter-spacing: 0.1em; }
  .lay__compass { right: 12px; bottom: 12px; width: 36px; height: 36px; }
  .plot text { font-size: 30px; }
  .vt__row { grid-template-columns: 1fr; gap: 14px; }
  .vt__card { min-height: 440px; border-radius: 20px; }
  .vt__top { left: 18px; top: 18px; } .vt__bottom { left: 18px; right: 16px; bottom: 16px; }
  .am__head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .am__grid { grid-template-columns: 1fr; gap: 36px; }
  .inf { grid-template-columns: 1fr; }
  .inf__img { min-height: 0; aspect-ratio: 4 / 3; }
  .inf__body { padding: 40px var(--pad) 56px; }
  .inf__appr { flex-direction: column; gap: 4px; font-size: 13px; }
  .gal__track { height: 460px; gap: 12px; }
  .gal__card { flex-basis: 76vw; }
  .buy__head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .buy__steps { grid-template-columns: 1fr; gap: 0; }
  .buy__steps li { padding: 20px 0 20px 28px; border-top: 0; border-left: 1px solid rgba(198, 161, 91, 0.5); }
  .buy__steps li::before { left: -6px; top: 26px; }
  .buy__n { font-size: 34px; }
  .buy__cta { flex-direction: column; align-items: stretch; gap: 14px; }
  .buy__cta .pill { justify-content: center; }
  .faq { grid-template-columns: 1fr; gap: 28px; }
  .faq summary { padding: 16px 0; font-size: 21px; }
  .faq summary::after { width: 28px; height: 28px; font-size: 16px; }
  .faq details p { padding-right: 0; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .js [data-rise] { opacity: 1; transform: none; transition: none; }
  .phero__bg { transform: none !important; }
}
