/* Shared look for The Parksyde's inner pages (brochure, VR tour, legal).
   Same palette and type as the homepage: park green, stone, nautilus gold. */
:root {
  --park: #1F3326; --park-2: #172619; --stone: #EDEFE8; --paper: #F7F8F3;
  --ink: #1B221E; --muted: #5E6A62; --line: #CBD2C7;
  --on-park: #E9EDE4; --on-park-muted: #A9B6AC;
  --shell: #A27A3A; --shell-lt: #CFAE70;
  --serif: "Playfair Display", "Iowan Old Style", Georgia, serif;
  --sans: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --gut: max(16px, env(safe-area-inset-left, 0px));
  --gut-r: max(16px, env(safe-area-inset-right, 0px));
  color-scheme: light;
}
@media (min-width: 760px) { :root { --gut: max(40px, env(safe-area-inset-left, 0px)); --gut-r: max(40px, env(safe-area-inset-right, 0px)); } }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--park); }
body { margin: 0; background: var(--stone); color: var(--ink); font-family: var(--sans); font-size: clamp(.95rem, .9rem + .2vw, 1.05rem); line-height: 1.7; overflow-x: clip; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--park); }
img { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--shell-lt); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; line-height: 1.08; text-wrap: balance; }
p { margin: 0; }
.wrap { max-width: 1180px; margin: 0 auto; padding-left: var(--gut); padding-right: var(--gut-r); }
.narrow { max-width: 820px; }
.eyebrow { font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 500; color: var(--shell); }
.btn { display: inline-flex; align-items: center; gap: .6em; font: 500 .74rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; padding: 1.1em 1.6em; border-radius: 999px; border: 1px solid currentColor; text-decoration: none; cursor: pointer; background: transparent; color: inherit; transition: background .3s, color .3s, border-color .3s; }
.btn.gold { background: var(--shell); border-color: var(--shell); color: #fff; }
.btn:hover { background: var(--shell-lt); border-color: var(--shell-lt); color: var(--park-2); }
.btn.wa { background: #25D366; border-color: #25D366; color: #fff; }
.btn.wa:hover { background: #1DA851; border-color: #1DA851; color: #fff; }

/* header */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--park); color: var(--on-park); }
.top .wrap { max-width: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.brand img { height: 38px; width: auto; }
.top nav { display: flex; gap: 22px; align-items: center; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; }
.top nav a { text-decoration: none; opacity: .85; }
.top nav a:hover { opacity: 1; color: var(--shell-lt); }
.top nav .hide-sm { display: none; }
@media (min-width: 760px) { .top nav .hide-sm { display: inline; } .brand img { height: 44px; } }

/* page hero */
.page-hero { background: var(--park); color: var(--on-park); position: relative; overflow: hidden; }
.page-hero .wrap { padding-block: clamp(56px, 8vw, 110px) clamp(40px, 6vw, 80px); position: relative; z-index: 2; }
.page-hero .eyebrow { color: var(--shell-lt); }
.page-hero h1 { font-size: clamp(2.6rem, 1.6rem + 4.6vw, 6rem); margin-top: 14px; max-width: 16ch; }
.page-hero h1 em { color: var(--shell-lt); }
.page-hero p.lede { margin-top: 18px; color: var(--on-park-muted); max-width: 52ch; }
.page-hero .bg { position: absolute; inset: 0; z-index: 1; }
.page-hero .bg img { width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.page-hero .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--park) 25%, rgba(31,51,38,.4)); }

/* sections */
.sec { padding-block: clamp(64px, 8vw, 110px); }
.sec h2 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.6rem); margin-top: 12px; }
.sec h2 em { color: var(--shell); }
.sec .lede { color: var(--muted); max-width: 56ch; margin-top: 14px; }
.sec.dark { background: var(--park); color: var(--on-park); }
.sec.dark h2 em, .sec.dark .eyebrow { color: var(--shell-lt); }
.sec.dark .lede { color: var(--on-park-muted); }
.sec.paper { background: var(--paper); border-block: 1px solid var(--line); }

/* legal copy */
.legal { padding-block: clamp(56px, 7vw, 96px); }
.legal h2 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); margin: 40px 0 12px; }
.legal h2:first-child { margin-top: 0; }
.legal p { margin-bottom: 14px; color: #2C3530; }
.legal ul { padding-left: 1.2em; margin: 0 0 14px; color: #2C3530; }
.legal .updated { font-size: .8rem; color: var(--muted); margin-bottom: 28px; }
.legal .callout { background: var(--paper); border-left: 3px solid var(--shell); padding: 18px 20px; border-radius: 0 6px 6px 0; margin-bottom: 24px; }

/* forms */
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.field input, .field select { font: inherit; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--line); padding: 10px 0; border-radius: 0; }
.field input:focus, .field select:focus { outline: none; border-bottom-color: var(--shell); }
.dark .field label { color: var(--on-park-muted); }
.dark .field input, .dark .field select { color: var(--on-park); border-bottom-color: rgba(233,237,228,.25); }
.dark .field select option { background: var(--park); }
.two { display: grid; gap: 18px; }
@media (min-width: 560px) { .two { grid-template-columns: 1fr 1fr; } }
.msg { font-size: .86rem; color: var(--shell); min-height: 1.5em; }
.dark .msg { color: var(--shell-lt); }

/* tables & lists */
.tbl-wrap { overflow-x: auto; margin-top: 28px; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); }
table { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 640px; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
th { font: 500 .68rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); background: var(--stone); }
td:first-child { font-family: var(--serif); font-size: 1.05rem; }
tr:last-child td { border-bottom: 0; }
.grid-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 28px; }
@media (min-width: 860px) { .grid-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.grid-stats div { background: var(--stone); padding: 24px 20px; }
.grid-stats b { display: block; font: 400 clamp(1.8rem, 1.4rem + 1.4vw, 2.8rem)/1 var(--serif); color: var(--shell); }
.grid-stats span { font-size: .84rem; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.chips span { font-size: .84rem; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; color: var(--muted); background: var(--paper); }
.dark .chips span { border-color: rgba(233,237,228,.2); color: var(--on-park-muted); background: transparent; }
.split2 { display: grid; gap: 40px; }
@media (min-width: 900px) { .split2 { grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; } }
.photo { border-radius: 6px; overflow: hidden; }
.photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; }
.near { list-style: none; margin: 24px 0 0; padding: 0; columns: 2; column-gap: 32px; }
@media (max-width: 560px) { .near { columns: 1; } }
.near li { break-inside: avoid; display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.near li span:last-child { color: var(--shell); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* footer */
footer { background: var(--park-2); color: var(--on-park-muted); font-size: .82rem; }
footer .wrap { display: grid; gap: 22px; }
.f-top { padding-block: 44px 26px; border-bottom: 1px solid rgba(233,237,228,.12); }
@media (min-width: 860px) { .f-top { grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; } }
.f-top h4 { font: 500 .7rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--shell-lt); margin: 0 0 12px; }
.f-top a { color: var(--on-park); text-decoration: none; }
.f-top a:hover { color: var(--shell-lt); }
.f-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.f-rera { display: flex; gap: 14px; align-items: flex-start; }
.f-rera img { width: 104px; height: 104px; background: #fff; padding: 5px; border-radius: 4px; }
.f-base { padding-block: 20px calc(28px + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 800px) { .f-base { grid-template-columns: 1fr auto; align-items: center; } }

/* whatsapp button */
.wa-fab { position: fixed; z-index: 70; right: max(16px, calc(env(safe-area-inset-right, 0px) + 16px)); bottom: max(16px, calc(env(safe-area-inset-bottom, 0px) + 16px)); width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px -8px rgba(0,0,0,.45); }
.wa-fab svg { width: 30px; height: 30px; fill: currentColor; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* ---------- Motion: curtain and reveals ---------- */
.pt-curtain { position: fixed; inset: 0; z-index: 300; background: var(--park-2); display: grid; place-items: center; pointer-events: none; transform: scaleY(0); }
.pt-curtain img { width: clamp(150px, 18vw, 220px); height: auto; }
.pt-curtain.in { transform: scaleY(1); transform-origin: 50% 0; animation: ptLift .95s .15s cubic-bezier(.7,0,.2,1) forwards; }
.pt-curtain.in img { animation: ptFade .35s .05s forwards; }
.pt-curtain.out { transform-origin: 50% 100%; animation: ptClose .65s cubic-bezier(.7,0,.2,1) forwards; }
.pt-curtain.out img { opacity: 0; animation: ptShow .3s .35s forwards; }
@keyframes ptLift { to { transform: scaleY(0); } }
@keyframes ptClose { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes ptFade { to { opacity: 0; } }
@keyframes ptShow { to { opacity: 1; } }
.rv { opacity: 0; transform: translateY(32px); transition: opacity .9s ease, transform 1s cubic-bezier(.2,.7,.2,1); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .pt-curtain { display: none !important; } .rv { opacity: 1; transform: none; } }
