/* Personal-map pages (/try/, /my-land/). Tokens + components come from meridian.css. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; background: var(--bg); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--sun-2); }
:focus-visible { outline: 2px solid var(--sun); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(1180px, 100% - 2 * var(--gut)); margin-inline: auto; }

/* ---------- top bar ---------- */
.top { position: absolute; z-index: 20; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: max(18px, env(safe-area-inset-top)) var(--gut) 0; }
.mark { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: var(--serif); font-size: 23px; letter-spacing: -.01em; text-shadow: 0 2px 16px rgba(0,0,0,.6); }
.mark svg { width: 26px; height: 18px; fill: none; stroke: var(--sun); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 6px rgba(245,185,106,.6)); }
.top .ms-pill { height: 40px; }

/* ---------- full-bleed stage (poster now, live 3D later) ---------- */
.stage { position: relative; min-height: 100svh; min-height: 100vh; overflow: hidden; isolation: isolate; }
@supports (height: 100svh) { .stage { min-height: 100svh; } }
.stage picture, .stage .poster { position: absolute; inset: 0; z-index: -3; }
.stage picture img, .stage .poster img { width: 100%; height: 100%; object-fit: cover; animation: drift 40s linear infinite alternate; transform-origin: 60% 40%; }
@keyframes drift { from { transform: scale(1.04); } to { transform: scale(1.12) translate(-1.5%, .8%); } }
.stage .shade { position: absolute; inset: 0; z-index: -1; pointer-events: none; background:
  linear-gradient(90deg, rgba(8,9,12,.82) 0%, rgba(8,9,12,.45) 38%, rgba(8,9,12,0) 62%),
  linear-gradient(180deg, rgba(5,6,8,.55) 0%, transparent 22%, transparent 66%, rgba(5,6,8,.9) 100%); }
.stage .ms-vignette { z-index: -2; }
.caption-tag { position: absolute; right: var(--gut); bottom: 18px; z-index: 2; text-align: right; max-width: 60%; }

/* ---------- hero copy ---------- */
.hero { position: relative; z-index: 2; min-height: inherit; display: flex; flex-direction: column; justify-content: center; padding: 120px var(--gut) 96px; max-width: 720px; }
.hero .ms-badge { align-self: flex-start; margin-bottom: 22px; }
.hero .ms-hero-title { margin-bottom: 18px; }
.hero .lede { font-size: 17px; line-height: 1.55; color: var(--ink-2); max-width: 540px; margin: 0 0 26px; text-shadow: 0 1px 12px rgba(0,0,0,.7); }
.hero .lede b { color: var(--ink); font-weight: 500; }
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.price-tag { display: inline-flex; align-items: baseline; gap: 8px; }
.price-tag b { font-family: var(--serif); font-weight: 400; font-size: 44px; line-height: 1; color: var(--sun-2); font-variant-numeric: tabular-nums; }
.price-tag span { font-size: 13px; color: var(--ink-2); }
.fine { font-size: 12px; color: var(--ink-3); line-height: 1.5; }
.hero .fine { margin-top: 16px; max-width: 520px; text-shadow: 0 1px 8px rgba(0,0,0,.8); }

/* ---------- sections ---------- */
.band { padding: 96px 0; position: relative; }
.band.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band .ms-eyebrow { margin-bottom: 14px; }
.band .ms-h2 { max-width: 760px; margin-bottom: 18px; }
.band .intro { max-width: 640px; color: var(--ink-2); font-size: 15.5px; line-height: 1.65; margin: 0 0 40px; }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { padding: 26px; }
.card h3 { font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1.05; margin: 0 0 10px; }
.card p { margin: 0 0 10px; color: var(--ink-2); }
.ticks { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 9px; }
.ticks li { position: relative; padding-left: 24px; color: var(--ink-2); font-size: 14px; line-height: 1.5; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 8px var(--sun); }
.ticks li b { color: var(--ink); font-weight: 500; }
.big { font-family: var(--serif); font-size: 46px; line-height: 1; color: var(--sun-2); font-variant-numeric: tabular-nums; margin: 0 0 6px; }
.path { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; }
.path .num { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-family: var(--serif); font-size: 22px; border: 1px solid var(--accent-line); color: var(--sun-2); background: var(--accent-soft); }
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.shot { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); aspect-ratio: 16 / 10; background: #0e1014; }
.shot img { width: 100%; height: 100%; object-fit: cover; }
.shot .ms-badge { position: absolute; left: 16px; top: 16px; }
.shot .play { position: absolute; inset: 0; display: grid; place-items: center; text-decoration: none; }
.shot .play span { transition: transform var(--t-fast) var(--ease); }
.shot:hover .play span { transform: scale(1.04); }
.date-card { display: flex; gap: 20px; align-items: center; padding: 22px 24px; }
.date-card .day { flex: none; width: 86px; text-align: center; padding: 10px 0 12px; border-radius: 16px; background: var(--accent-soft); border: 1px solid var(--accent-line); }
.date-card .day small { display: block; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--sun-2); font-weight: 600; }
.date-card .day b { display: block; font-family: var(--serif); font-weight: 400; font-size: 44px; line-height: 1; color: var(--ink); }

/* ---------- forms ---------- */
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 7px; }
.field > span, .legend { font-size: 12px; font-weight: 500; color: var(--ink-2); letter-spacing: .01em; }
.field > span i, .legend i { font-style: normal; color: var(--ink-3); font-weight: 400; }
.input, select.input, textarea.input { width: 100%; min-height: 46px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(255,255,255,.04); color: var(--ink); font: 400 15px/1.4 var(--sans); transition: border-color var(--t-fast), background var(--t-fast); -webkit-appearance: none; appearance: none; }
textarea.input { min-height: 92px; resize: vertical; }
select.input { background-image: linear-gradient(45deg, transparent 50%, var(--ink-3) 50%), linear-gradient(135deg, var(--ink-3) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
select.input option { background: #14171c; color: var(--ink); }
.input::placeholder { color: rgba(243,239,231,.36); }
.input:hover { border-color: rgba(255,255,255,.24); }
.input:focus { outline: none; border-color: var(--accent-line); background: rgba(255,255,255,.06); box-shadow: 0 0 0 3px var(--accent-soft); }
.input[aria-invalid="true"] { border-color: rgba(240,112,122,.6); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.three { display: grid; grid-template-columns: 110px 1fr 1fr; gap: 14px; }
.check { display: flex; gap: 11px; align-items: flex-start; font-size: 13.5px; color: var(--ink-2); line-height: 1.5; cursor: pointer; }
.check input { flex: none; appearance: none; -webkit-appearance: none; width: 20px; height: 20px; margin: 1px 0 0; border-radius: 6px; border: 1px solid var(--line-2); background: rgba(255,255,255,.04); display: grid; place-items: center; cursor: pointer; }
.check input:checked { background: var(--sun); border-color: var(--sun); }
.check input:checked::after { content: ""; width: 10px; height: 6px; border: 2px solid var(--on-sun); border-top: 0; border-right: 0; transform: translateY(-1px) rotate(-45deg); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ms-seg button { min-height: 38px; font-size: 13px; }
.status { font-size: 13px; line-height: 1.5; min-height: 1em; }
.status.err { color: #ffb3b9; }
.status.ok { color: var(--mint); }
.status a { color: inherit; }
.btn-wide { width: 100%; height: 50px; font-size: 15px; }
.ms-btn[disabled] { opacity: .55; pointer-events: none; }
.spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.025); padding: 0 20px; transition: background var(--t-ui), border-color var(--t-ui); }
.faq details[open] { background: var(--tint); border-color: var(--line-2); }
.faq summary { cursor: pointer; list-style: none; padding: 17px 28px 17px 0; position: relative; font-size: 15px; font-weight: 500; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 13px; font-family: var(--serif); font-size: 26px; color: var(--sun-2); transition: transform var(--t-ui) var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 16px; color: var(--ink-2); font-size: 14px; line-height: 1.6; }

/* ---------- footer ---------- */
.foot { padding: 48px 0 calc(40px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.foot .wrap { display: grid; gap: 14px; }
.foot .ms-source { text-shadow: none; }
.foot .links { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 13px; color: var(--ink-3); }
.foot .links a { color: var(--ink-2); text-decoration: none; }
.foot .links a:hover { color: var(--ink); }

/* ---------- phone ---------- */
@media (max-width: 860px) {
  .grid2, .grid3, .split { grid-template-columns: 1fr; }
  .split { gap: 28px; }
}
@media (max-width: 720px) {
  .mark { font-size: 20px; }
  .top .ms-pill { height: 36px; padding: 0 12px 0 10px; font-size: 12px; }
  .stage .shade { background: linear-gradient(180deg, rgba(5,6,8,.6) 0%, rgba(5,6,8,0) 26%, rgba(5,6,8,.2) 44%, rgba(8,9,12,.9) 70%, rgba(8,9,12,.97) 100%); }
  .hero { justify-content: flex-end; padding: 110px var(--gut) 64px; }
  .hero .ms-hero-title { font-size: 44px; }
  .hero .lede { font-size: 15px; margin-bottom: 20px; }
  .price-tag b { font-size: 38px; }
  .band { padding: 64px 0; }
  .band .intro { font-size: 14.5px; margin-bottom: 28px; }
  .card { padding: 22px 20px; }
  .card h3 { font-size: 25px; }
  .big { font-size: 38px; }
  .two, .three { grid-template-columns: 1fr; }
  .caption-tag { left: var(--gut); right: auto; bottom: 14px; max-width: none; text-align: left; }
  .date-card .day { width: 72px; } .date-card .day b { font-size: 36px; }
}
@media (prefers-reduced-motion: reduce) { .stage picture img, .stage .poster img { animation: none; } html { scroll-behavior: auto; } }

/* ---------- example slides: real renders of the public example parcel, one plain-English insight each ---------- */
.ex { position: absolute; inset: 0; z-index: -3; overflow: hidden; }
.ex-img { position: absolute; inset: 0; opacity: 0; transition: opacity var(--t-veil) var(--ease); animation: drift 40s linear infinite alternate; transform-origin: 60% 40%; }
.ex-img.on { opacity: 1; }
.ex-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
/* moving water over the water render (same camera as the still; exported by tools/water_overlay.mjs) */
.flow-svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.flow-svg .glow path { stroke: #5ec8ff; opacity: .35; filter: blur(1.5px); }
.flow-svg .glow .w0 { stroke-width: 2.5; } .flow-svg .glow .w1 { stroke-width: 4.5; } .flow-svg .glow .w2 { stroke-width: 7; }
.flow-svg .pulse path { stroke: #eaf8ff; stroke-dasharray: 3 11; animation: flow 1.6s linear infinite; animation-play-state: paused; opacity: .9; }
.flow-svg .pulse .w0 { stroke-width: 1.1; } .flow-svg .pulse .w1 { stroke-width: 1.7; } .flow-svg .pulse .w2 { stroke-width: 2.4; stroke-dasharray: 4 12; }
.ex-img.on .flow-svg .pulse path { animation-play-state: running; }
@keyframes flow { to { stroke-dashoffset: -28; } }
.flow-svg.tall { display: none; }
@media (max-width: 720px) { .flow-svg.tall { display: block; } .flow-svg.wide { display: none; } }
.ex-chip { position: absolute; z-index: 6; right: var(--gut); top: 96px; width: 340px; padding: 16px 18px 14px; border-radius: 18px; animation: ms-pop .6s var(--ease) both .2s; }
.ex-chip .k { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; }
.ex-chip .k i { width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--sun)); box-shadow: 0 0 10px var(--c, var(--sun)); flex: none; }
.ex-chip .t { margin: 0; font-family: var(--serif); font-size: 23px; line-height: 1.12; color: var(--ink); text-wrap: balance; min-height: 2.24em; }
.ex-chip .t.swap { animation: ms-narr .7s var(--ease); }
.ex-chip .foot-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; }
.ex-dots { display: flex; gap: 4px; }
.ex-dots button { width: 40px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.ex-dots button::before { content: ""; width: 28px; height: 3px; border-radius: 3px; background: var(--line-2); transition: background var(--t-ui); }
.ex-dots button[aria-current="true"]::before { background: var(--c, var(--sun)); }
.ex-chip .cap { font-size: 10.5px; color: var(--ink-3); letter-spacing: .02em; }
@media (max-width: 720px) {
  .ex-chip { left: var(--gut); right: var(--gut); width: auto; top: calc(66px + env(safe-area-inset-top)); padding: 12px 14px 8px; border-radius: 16px; }
  .ex-chip .t { font-size: 19px; }
  .ex-chip .foot-row { margin-top: 4px; }
}
@media (prefers-reduced-motion: reduce) { .ex-img { animation: none; transition: none; } .flow-svg .pulse path { animation: none; } }

/* ---------- trust strip (/my-land/) ---------- */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); padding: 28px 0; }
.trust-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 28px; }
.t-item { padding-left: 16px; border-left: 2px solid var(--accent-line); }
.t-item .ms-eyebrow { color: var(--sun-2); margin-bottom: 6px; }
.t-item p { margin: 0 0 6px; font-size: 13.5px; line-height: 1.55; color: var(--ink-2); }
.t-item b { color: var(--ink); font-weight: 500; }
@media (max-width: 860px) { .trust-grid { grid-template-columns: 1fr; gap: 18px; } .trust { padding: 24px 0; } }

/* hidden always wins (order form vs. orders-open card, steps) */
[hidden] { display: none !important; }
.status:empty { display: none; }
