/* A property website, /l/<slug> (since 2026-11-26). Built on styles.css tokens, so light and dark both work. */
.lp { background: var(--bg); color: var(--ink); --lp-accent: var(--brand); }
.lp .skip { position: absolute; left: -999px; top: 0; }
.lp .skip:focus { left: 12px; top: 12px; z-index: 90; background: var(--card); padding: 8px 12px; border-radius: 8px; }
.lp-loading { padding: 40vh 16px; text-align: center; color: var(--muted); }
.lp-preview { position: sticky; top: 0; z-index: 40; background: #fef3c7; color: #3b2a04; padding: 10px 16px; font-size: 14px; text-align: center; }
.lp-preview a { color: #1e3a8a; font-weight: 700; margin-left: 6px; }
.lp-demo { background: var(--tint); color: var(--ink); }
.lp-demo a { color: var(--accent); }

.lp-hero { position: relative; max-width: 1280px; margin: 0 auto; }
.lp-cover { display: block; width: 100%; height: min(62vh, 640px); object-fit: cover; background: var(--surface); }
.lp-cover-blank { background: linear-gradient(135deg, var(--navy), #1e3a8a); height: 180px; }
.lp-ribbon { position: absolute; left: 16px; top: 16px; padding: 6px 12px; border-radius: 6px; background: #d97706; color: #fff; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; font-size: 13px; }
.lp-ribbon.lp-sold { background: #b91c1c; }
.lp-ribbon.lp-off_market { background: #475569; }
.lp-all { position: absolute; right: 16px; bottom: 16px; box-shadow: var(--shadow-md); }

.lp-wrap { max-width: 980px; margin: 0 auto; padding: 0 16px 40px; }
.lp-title { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; padding-top: 22px; }
.lp-title h1 { font-size: clamp(26px, 5vw, 40px); line-height: 1.1; margin: 0; }
.lp-city { margin: 6px 0 0; color: var(--muted); font-size: 17px; }
.lp-price { margin: 0; font-size: clamp(24px, 4.4vw, 34px); font-weight: 800; color: var(--accent); }
.lp-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 0; margin: 16px 0 0; color: var(--muted); }
.lp-facts li { display: flex; align-items: center; gap: 7px; font-size: 16px; }
.lp-facts b { color: var(--ink); }
.lp svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.lp-cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 0; }
.lp-cta .btn { display: inline-flex; align-items: center; gap: 6px; }
.lp-share { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.lp-oh-when { margin: 18px 0 0; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--tint); }

.lp-sec { margin-top: 36px; }
.lp-sec h2 { font-size: 22px; margin: 0 0 14px; }
.lp-desc p { margin: 0 0 12px; line-height: 1.65; color: var(--ink); }
.lp-feats { columns: 2 220px; padding-left: 18px; margin: 0; line-height: 1.9; }
.lp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 8px; }
.lp-ph { padding: 0; border: 0; background: var(--surface); border-radius: 8px; overflow: hidden; cursor: zoom-in; aspect-ratio: 3 / 2; }
.lp-ph img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s; }
.lp-ph:hover img { transform: scale(1.03); }
.lp-ph:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.lp-embed { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--navy); }
.lp-embed iframe, .lp-embed video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lp-load { position: absolute; inset: 0; width: 100%; border: 0; cursor: pointer; color: #fff; background: radial-gradient(circle at center, #1e3a8a, var(--navy)); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; font: inherit; }
.lp-load span { font-size: 20px; font-weight: 800; padding: 12px 22px; border-radius: 999px; background: rgba(255,255,255,.14); }
.lp-load small { opacity: .8; }
.lp-gate-note, .lp-note { padding: 14px; border-radius: var(--radius-sm); background: var(--surface); color: var(--muted); }
.lp-steps { display: flex; gap: 8px; overflow-x: auto; margin: 20px 0 0; padding-bottom: 4px; }
.lp-steps a { flex: none; display: flex; gap: 8px; align-items: center; padding: 10px 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; }
.lp-steps b { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 13px; }

.lp-agent { margin-top: 40px; display: flex; gap: 18px; align-items: center; padding: 20px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); border-top: 4px solid var(--lp-accent); box-shadow: var(--shadow); flex-wrap: wrap; }
.lp-head { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; flex: none; }
.lp-head-blank { display: grid; place-items: center; background: var(--tint); color: var(--accent); font-size: 38px; font-weight: 800; }
.lp-agent-txt { flex: 1 1 220px; display: flex; flex-direction: column; gap: 2px; }
.lp-agent-txt b { font-size: 20px; }
.lp-agent-txt span { color: var(--muted); }
.lp-agent-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.lp-logo { max-height: 64px; max-width: 160px; object-fit: contain; }
.lp-small { font-size: 12.5px; color: var(--muted); }

.lp-form { padding: 20px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.lp-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lp-form .field { margin-bottom: 12px; }
.lp-form .field-inline { display: flex; gap: 10px; align-items: flex-start; margin: 10px 0; font-size: 13.5px; line-height: 1.45; }
.lp-form .field-inline input { margin-top: 3px; width: 18px; height: 18px; flex: none; }
.lp-form .field-inline span { display: block; color: var(--muted); font-size: 12.5px; }
.lp-seg { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.lp-seg button { border: 1px solid var(--line); background: var(--bg); color: var(--ink); padding: 9px 14px; border-radius: 999px; font: inherit; font-weight: 600; cursor: pointer; }
.lp-seg button[aria-checked="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.lp-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lp-wide { width: 100%; }
.lp-credit { text-align: center; padding: 22px 16px 34px; color: var(--muted); font-size: 13.5px; border-top: 1px solid var(--line); }
.lp-credit a { color: var(--accent); font-weight: 700; }
.lp-gone { padding: 30vh 0; text-align: center; }

.lp-viewer { position: fixed; inset: 0; z-index: 80; background: rgba(3, 8, 16, .94); display: flex; align-items: center; justify-content: center; }
.lp-viewer[hidden] { display: none !important; }
.lp-viewer img { max-width: 96vw; max-height: 86vh; object-fit: contain; }
.lp-v-close, .lp-v-prev, .lp-v-next { position: absolute; border: 0; background: rgba(255,255,255,.14); color: #fff; cursor: pointer; border-radius: 999px; width: 48px; height: 48px; font-size: 30px; line-height: 1; }
.lp-v-close { top: 14px; right: 14px; }
.lp-v-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lp-v-next { right: 12px; top: 50%; transform: translateY(-50%); }
.lp-v-count { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; color: #cbd5e1; margin: 0; }

@media (max-width: 560px) {
  .lp-row { grid-template-columns: 1fr; gap: 0; }
  .lp-cover { height: 46vh; }
  .lp-cta .btn { flex: 1 1 calc(50% - 10px); justify-content: center; }
  .lp-agent { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) { .lp-ph img { transition: none; } }

/* ---- The look, ported from the EZ Bookings website editor (server/listings.js cleanDesign) ----------------------- */
.lp-announce { margin: 0; padding: 9px 16px; text-align: center; font-size: 14px; font-weight: 600; background: var(--lp-accent); color: #fff; }
.lp .btn:not(.btn-ghost) { background: var(--lp-accent); border-color: var(--lp-accent); color: #fff; }
.lp .btn-ghost { color: var(--ink); }
.lp-price { color: var(--lp-accent); }
.lp-steps b, .lp-seg button[aria-checked="true"] { background: var(--lp-accent); border-color: var(--lp-accent); }
.lp-credit a, .lp-demo a { color: var(--lp-accent); }

/* Presets: classic follows the visitor's light or dark; the other three are their own colours. */
.lp[data-preset="luxe"] { --bg: #faf7f2; --surface: #f1ebe2; --card: #fffdf9; --ink: #2a211b; --muted: #6f6257; --line: #e6ddd0; --tint: #f3ece2; }
.lp[data-preset="soft"] { --bg: #f5f8f6; --surface: #e9efeb; --card: #ffffff; --ink: #1f2d27; --muted: #5d6e66; --line: #dbe5df; --tint: #e7f0eb; }
.lp[data-preset="bold"] { --bg: #0d0d0e; --surface: #18181b; --card: #141416; --ink: #f5f5f4; --muted: #a8a29e; --line: #2a2a2e; --tint: #1f1f23; }
.lp[data-preset="soft"] .lp-ph, .lp[data-preset="soft"] .lp-form, .lp[data-preset="soft"] .lp-agent, .lp[data-preset="soft"] .lp-embed { border-radius: 22px; }
.lp[data-preset="bold"] .lp-ph, .lp[data-preset="bold"] .lp-embed, .lp[data-preset="bold"] .lp-form, .lp[data-preset="bold"] .lp-agent { border-radius: 2px; }
.lp[data-preset="bold"] .field input, .lp[data-preset="bold"] .field textarea { background: #0d0d0e; color: #f5f5f4; border-color: #333; }

/* Type. System stacks only, so the page stays fast and loads nothing new. */
.lp[data-font="elegant"] h1, .lp[data-font="elegant"] h2, .lp[data-font="elegant"] .lp-price, .lp[data-font="elegant"] .lp-agent-txt b { font-family: "Cormorant Garamond", "Playfair Display", Georgia, "Times New Roman", serif; font-weight: 600; letter-spacing: .01em; }
.lp[data-font="friendly"] h1, .lp[data-font="friendly"] h2, .lp[data-font="friendly"] .lp-price { font-family: ui-rounded, "SF Pro Rounded", "Nunito", "Varela Round", system-ui, sans-serif; }
.lp[data-font="strong"] h1, .lp[data-font="strong"] h2, .lp[data-font="strong"] .lp-price { font-family: "Oswald", "Bebas Neue", "Arial Narrow", Impact, sans-serif; text-transform: uppercase; letter-spacing: .03em; font-weight: 800; }

/* Header: centered puts the title, facts and buttons on one middle line. */
.lp[data-header="center"] .lp-title { flex-direction: column; align-items: center; text-align: center; }
.lp[data-header="center"] .lp-facts, .lp[data-header="center"] .lp-cta, .lp[data-header="center"] .lp-share { justify-content: center; }
.lp[data-header="center"] .lp-sec > h2 { text-align: center; }

/* Cover: showcase is full bleed and tall with a raised band; compact sits inside the page with round corners. */
.lp[data-layout="showcase"] .lp-hero { max-width: none; }
.lp[data-layout="showcase"] .lp-cover { height: min(78vh, 760px); }
.lp[data-layout="showcase"] .lp-wrap > .lp-title { position: relative; margin-top: -64px; background: var(--card); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-lg); }
/* The title card rides 64 px up over the cover, so See all photos sits above it (found by the MiniMax test users, 2026-11-26). */
.lp[data-layout="showcase"] .lp-all { bottom: 80px; z-index: 1; }
.lp[data-layout="compact"] .lp-hero { padding: 16px 16px 0; }
.lp[data-layout="compact"] .lp-cover { border-radius: var(--radius); height: min(56vh, 560px); }
.lp[data-layout="compact"] .lp-all { right: 30px; bottom: 14px; }
.lp[data-layout="compact"] .lp-ribbon { left: 30px; top: 30px; }

/* Section marks before each heading. */
.lp .lp-sec > h2 { display: flex; align-items: center; gap: 10px; }
.lp[data-header="center"] .lp-sec > h2 { justify-content: center; }
.lp[data-mark="line"] .lp-sec > h2::before { content: ""; width: 26px; height: 3px; border-radius: 2px; background: var(--lp-accent); }
.lp[data-mark="dot"] .lp-sec > h2::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--lp-accent); }
.lp[data-mark="diamond"] .lp-sec > h2::before { content: ""; width: 9px; height: 9px; transform: rotate(45deg); background: var(--lp-accent); }
.lp[data-mark="star"] .lp-sec > h2::before { content: "\2726"; color: var(--lp-accent); font-size: .8em; }

/* A virtual twilight edit is always labelled (since 2026-11-26). */
.lp-ph { position: relative; }
.lp-tag { position: absolute; left: 8px; bottom: 8px; padding: 3px 8px; border-radius: 6px; background: rgba(10, 23, 41, .78); color: #fff; font-size: 12px; font-weight: 700; }
