/* Site kit page layer. Tokens + components come from meridian.css (design-system, linked, never edited).
   This file only lays out the one-page site. Light theme: <html data-theme="light">. */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
* { box-sizing: border-box; }
body.ms-base { overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gut); }
.fine { font-size: 11.5px; color: var(--ink-3); margin: 14px 0 0; line-height: 1.5; }
.sec { padding: clamp(72px, 10vw, 140px) 0; }
.sec-head { max-width: 720px; margin-bottom: 36px; }
.sec-head .ms-h2 { margin: 10px 0 14px; }
.two { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 6vw, 96px); align-items: start; }
.two .ms-h2 { margin-top: 10px; }
.body { font-size: 16px; line-height: 1.7; color: var(--ink-2); margin: 0 0 24px; }

/* sample label: always visible, never hidden behind a click */
.sample-bar { position: fixed; z-index: 60; left: 50%; bottom: 14px; translate: -50% 0; padding: 7px 14px; border-radius: var(--pill); font-size: 11.5px; color: var(--ink-2);
  background: var(--glass-strong); border: 1px solid var(--accent-line); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); box-shadow: var(--shadow-pop); white-space: nowrap; max-width: calc(100vw - 24px); overflow: hidden; text-overflow: ellipsis; }
.sample-bar b { color: var(--accent-2); text-transform: uppercase; letter-spacing: .14em; font-size: 10px; margin-right: 6px; }

/* top bar */
.topbar { position: fixed; z-index: 50; top: 0; left: 0; right: 0; padding: 14px 0; transition: background var(--t-ui), border-color var(--t-ui), padding var(--t-ui); border-bottom: 1px solid transparent; }
.topbar.is-solid { background: var(--glass-strong); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); border-bottom-color: var(--line); padding: 8px 0; }
.tb-in { display: flex; align-items: center; gap: 24px; }
.logo { font-family: var(--serif); font-size: 26px; line-height: 1; text-decoration: none; letter-spacing: -.01em; margin: 0; }
.tb-links { display: flex; gap: 26px; margin-left: auto; }
.tb-links a { font-size: 13.5px; font-weight: 500; text-decoration: none; color: var(--ink-2); transition: color var(--t-fast); }
.tb-links a:hover { color: var(--ink); }
.tb-right { display: flex; align-items: center; gap: 10px; }
.tb-cta { height: 40px; padding: 0 16px; font-size: 13px; }
.tb-menu { display: none; }
/* over the hero the bar text sits on the image */
.topbar:not(.is-solid) .logo, .topbar:not(.is-solid) .tb-links a { color: #fbf7ef; text-shadow: 0 1px 12px rgba(0,0,0,.45); }
:root[data-theme="light"] .topbar:not(.is-solid) .tb-menu { color: #fbf7ef; background: rgba(20,16,10,.35); border-color: rgba(255,255,255,.25); }

/* hero: the real place, rendered from public data, full bleed */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; background: #0b0d10; color: #f6f1e8; }
.hero picture, .hero-img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-img { object-fit: cover; transform: scale(1.06); animation: hero-drift 24s var(--ease) forwards; }
.hero-art svg { width: 100%; height: 100%; }
@keyframes hero-drift { to { transform: scale(1); } }
.hero-scrim { position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(8,9,11,.55) 0%, rgba(8,9,11,0) 22%, rgba(8,9,11,0) 45%, rgba(8,9,11,.78) 100%),
  radial-gradient(90% 70% at 10% 100%, rgba(8,9,11,.6), transparent 70%); }
.hero-in { position: relative; padding-bottom: clamp(72px, 12vh, 140px); padding-top: 120px; }
.hero .ms-hero-title { max-width: 14ch; margin: 18px 0 18px; color: #f6f1e8; }
.hero .ms-hero-title em { color: color-mix(in srgb, var(--accent) 55%, #fff); }
.hero .ms-badge { color: #fff1dc; background: rgba(20,16,10,.35); border-color: rgba(255,255,255,.22); }
.hero-lede { max-width: 540px; font-size: 16.5px; line-height: 1.6; color: rgba(246,241,232,.86); margin: 0 0 28px; text-shadow: 0 1px 14px rgba(0,0,0,.6); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.hero .ms-btn-glass { color: #f6f1e8; background: rgba(14,16,21,.45); border-color: rgba(255,255,255,.22); }
.hero-src { position: absolute; right: var(--gut); bottom: 16px; margin: 0; font-size: 10.5px; color: rgba(246,241,232,.6); text-shadow: 0 1px 8px rgba(0,0,0,.9); }
.words .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .06em; }
.words .w > span { display: inline-block; transform: translateY(105%); transition: transform .9s var(--ease); transition-delay: calc(var(--i) * 55ms + .15s); }
.words.in .w > span { transform: none; }

/* intro + stats */
.intro .ms-stats b { font-size: 34px; color: var(--accent-2); }

/* features */
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feat { overflow: hidden; display: flex; flex-direction: column; }
.feat-art { aspect-ratio: 4 / 3; overflow: hidden; }
.feat-art svg { width: 100%; height: 100%; transition: transform 1.2s var(--ease); }
.feat:hover .feat-art svg { transform: scale(1.04); }
.feat-tx { padding: 18px 20px 22px; }
.feat h3, .plan h3 { font-family: var(--serif); font-weight: 400; font-size: 27px; line-height: 1.05; margin: 0 0 8px; }
.feat p { margin: 0; font-size: 13.5px; line-height: 1.6; color: var(--ink-2); }

/* lots */
.lot-filter { max-width: 420px; margin-bottom: 18px; }
.lot-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px; max-height: 520px; overflow: auto; overscroll-behavior: contain; padding-right: 4px; }
.lot-list li[hidden] { display: none; }
.lot { width: 100%; text-align: left; }
.lot b { display: block; font-size: 13.5px; font-weight: 500; }
.lot small { font-size: 11.5px; color: var(--ink-3); }
.lot .v { font-size: 22px; }
.lot:hover .num, .lot.is-on .num { border-color: var(--accent); color: var(--accent-2); }
.lot.is-on { border-color: var(--accent-line); background: var(--accent-soft); }

/* plans */
.price-seg { max-width: 460px; margin-bottom: 22px; }
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.plan { padding: 26px 24px; display: flex; flex-direction: column; gap: 6px; }
.plan .ms-badge { align-self: flex-start; margin-bottom: 8px; }
.plan.featured { border-color: var(--accent-line); box-shadow: var(--shadow), 0 0 0 1px var(--accent-line), 0 30px 80px -40px var(--accent); }
.plan .price { margin: 4px 0 6px; display: flex; align-items: baseline; gap: 10px; }
.plan .price .ms-num { font-size: var(--fs-big); line-height: 1; color: var(--accent-2); transition: opacity .25s; }
.plan .price small { font-size: 12px; color: var(--ink-3); }
.plan p { margin: 0; font-size: 13.5px; color: var(--ink-2); line-height: 1.6; }
.price .swap { opacity: 0; }

/* the 3D map stage */
.explore { padding-bottom: clamp(40px, 6vw, 80px); }
.stage-wrap { padding: 0 var(--gut); }
.stage { position: relative; max-width: 1400px; margin: 0 auto; height: min(86vh, 860px); border-radius: 26px; overflow: hidden; background: #0b0d10; border: 1px solid var(--line); box-shadow: var(--shadow); isolation: isolate; }
.stage picture, .map-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; opacity: 0; transition: opacity 1.2s var(--ease); }
.stage.is-live iframe { opacity: 1; }
.stage-veil { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px; background: radial-gradient(60% 50% at 50% 55%, rgba(8,9,11,.15), rgba(8,9,11,.55)); transition: opacity 1s var(--ease); }
.stage.is-loading .stage-veil, .stage.is-live .stage-veil { opacity: 0; pointer-events: none; }
.stage-note { margin: 0; font-size: 12px; color: rgba(246,241,232,.8); text-shadow: 0 1px 10px rgba(0,0,0,.8); }
.stage-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; max-width: 1400px; padding: 14px 0 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.map-chip { cursor: pointer; height: 36px; padding: 0 14px; font-size: 12.5px; background: var(--glass); transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast); }
.map-chip.is-on { color: var(--accent-2); border-color: var(--accent-line); background: var(--accent-soft); }
.stage-links { display: flex; gap: 8px; }
.stage-links .ms-pill { height: 36px; font-size: 12.5px; }
.stage-links .ms-ico { width: 16px; height: 16px; }
.explore .ms-source { max-width: 1400px; padding: 4px 0 0; text-shadow: none; color: var(--ink-3); }
.explore .ms-disclaimer { margin-top: 2px; }
:root[data-theme="light"] .explore .ms-disclaimer { color: var(--accent-2); }

/* gallery */
.g-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.g-tile { margin: 0; position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line); }
.g-tile:nth-child(1) { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.g-tile svg { width: 100%; height: 100%; }
.g-tile figcaption { position: absolute; left: 10px; bottom: 10px; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; padding: 4px 9px; border-radius: var(--pill); background: var(--glass); border: 1px solid var(--line); color: var(--ink-2); }

/* faq */
.qa { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-family: var(--serif); font-size: 23px; line-height: 1.2; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary i { flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-2); position: relative; transition: transform var(--t-ui) var(--ease), border-color var(--t-ui); }
.qa summary i::before, .qa summary i::after { content: ""; position: absolute; left: 8px; right: 8px; top: 13px; height: 1.5px; background: currentColor; }
.qa summary i::after { transform: rotate(90deg); transition: transform var(--t-ui) var(--ease); }
.qa[open] summary i { border-color: var(--accent-line); }
.qa[open] summary i::after { transform: rotate(0); }
.qa p { margin: 0 0 20px; color: var(--ink-2); font-size: 14.5px; line-height: 1.65; max-width: 60ch; animation: ms-fade .45s var(--ease); }

/* visit */
.visit-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 16px; }
.visit-card, .book-card { padding: clamp(24px, 3.5vw, 40px); display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.book-card { background: var(--accent-soft); border-color: var(--accent-line); }
.addr { display: flex; gap: 8px; align-items: center; margin: 4px 0 0; font-size: 14px; }
.book-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 40px 0 90px; }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 30px; align-items: baseline; }
.foot .fine { margin: 0; }

/* embed doc */
.embed-doc .snippet { white-space: pre-wrap; word-break: break-all; font-family: var(--sans); font-size: 12.5px; line-height: 1.6; padding: 16px 18px; border-radius: var(--radius-sm); background: var(--tint); border: 1px solid var(--line); color: var(--ink-2); }
.embed-doc .ms-h2 { margin: 10px 0 14px; }
.embed-prev { width: 100%; height: min(80vh, 760px); border: 0; border-radius: 22px; background: #0b0d10; }

/* ---------- phone ---------- */
@media (max-width: 960px) {
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .plan-grid { grid-template-columns: 1fr; }
  .two, .visit-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .tb-links { display: none; position: absolute; top: 100%; left: 12px; right: 12px; margin: 0; flex-direction: column; gap: 0; padding: 8px; border-radius: var(--radius); background: var(--glass-strong); border: 1px solid var(--line); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); box-shadow: var(--shadow-pop); }
  .tb-links.is-open { display: flex; animation: ms-pop .35s var(--ease); }
  .tb-links a { padding: 12px 14px; font-size: 15px; color: var(--ink) !important; text-shadow: none !important; }
  .tb-menu { display: grid; }
  .tb-right { margin-left: auto; }
  .tb-cta { height: 40px; padding: 0 14px; }
  .logo { font-size: 22px; }
  .hero .ms-hero-title { font-size: 44px; }
  .hero-lede { font-size: 15px; }
  .hero-src { left: var(--gut); right: auto; bottom: 58px; }
  .hero-in { padding-bottom: 96px; }
  .feat-grid { grid-template-columns: 1fr; }
  .feat { flex-direction: row; }
  .feat-art { width: 38%; aspect-ratio: auto; flex: none; }
  .feat-tx { padding: 14px 16px; }
  .feat h3 { font-size: 22px; }
  .stage-wrap { padding: 0 10px; }
  .stage { height: 78svh; border-radius: 20px; }
  .stage-bar { padding: 12px 6px 4px; }
  .explore .ms-source { padding: 4px 6px 0; }
  .g-grid { grid-template-columns: 1fr 1fr; }
  .lot-list { max-height: 420px; grid-template-columns: 1fr; }
  .qa summary { font-size: 20px; }
  .sample-bar { left: 10px; translate: none; bottom: 10px; padding: 5px 10px; font-size: 10.5px; max-width: 62vw; }
  .sample-bar b { font-size: 9.5px; margin-right: 4px; }
  .body { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) { .hero-img { animation: none; transform: none; } .words .w > span { transform: none; transition: none; } html { scroll-behavior: auto; } }
