/* Layout concept: one continuous scroll. A single 3D world sits fixed behind the page and the
   story's cards glide over it; only the closing chapters (price, agents, tour) sit on solid panels.
   Light, lived-in palette: warm white, ink, Florida-sun yellow; condensed display type for the
   big moments and a clean grotesk for reading. */
:root {
  --paper: #f6f5f1;
  --white: #ffffff;
  --ink: #141716;
  --ink-2: #4f5653;
  --ink-3: #868d89;
  --line: rgb(var(--ink-rgb) / 0.1);
  --line-2: rgb(var(--ink-rgb) / 0.16);
  --sun: #f5c542;
  --sun-2: #e2a91b;
  --sun-soft: #fff3c9;
  --sea: #1e6e8c;
  --glass: rgba(255, 255, 255, 0.84);
  --paper-rgb: 246 245 241;
  --ink-rgb: 20 23 22;
  --sun-rgb: 245 197 66;
  --on-sun: var(--ink);
  /* brand colors the 3D world reads */
  --w-land: #efebe2; --w-lot: #f7f4ee; --w-lot-sold: #e6dfd0; --w-parcel: #f7f5ef; --w-line: #cfc8b8; --w-lot5: #e7b43a;
  --w-sky: #cfe3f0; --w-horizon: #f7f4ee; --w-route: #1e6e8c; --w-highway: #f0c24e;

  /* Softer, unisex type (Casa Momo direction): a flared serif for display and numbers, a light
     grotesk for headings, Inter for reading */
  --f-display: "Marcellus", "Cormorant Garamond", Georgia, serif;
  --f-head: "Instrument Sans", "Inter", system-ui, -apple-system, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --r-lg: 28px;
  --r-md: 20px;
  --shadow: 0 18px 50px -18px rgba(20, 30, 25, 0.28), 0 2px 8px rgba(20, 30, 25, 0.06);
  --ease: cubic-bezier(0.2, 0.75, 0.15, 1);
  color-scheme: light;
}
/* Palettes under review (property.json theme.palette picks one) */
html[data-palette="linen"] {
  --paper: #faf7f2; --paper-rgb: 250 247 242; --white: #ffffff;
  --ink: #2f3e46; --ink-rgb: 47 62 70; --ink-2: #56646b; --ink-3: #7f8b90;
  --sun: #a9c4c6; --sun-rgb: 169 196 198; --sun-2: #5e8a8f; --sun-soft: #e8dfd3; --on-sun: #2f3e46; --sea: #5e8a8f;
  --w-land: #eee8df; --w-lot: #f6f2eb; --w-lot-sold: #e3dcd0; --w-parcel: #f6f2eb; --w-line: #cfc4b5; --w-lot5: #5e8a8f;
  --w-sky: #c9dde0; --w-horizon: #faf7f2; --w-route: #5e8a8f; --w-highway: #d8cab5;
}
html[data-palette="morning"] {
  --paper: #fffcf7; --paper-rgb: 255 252 247; --white: #ffffff;
  --ink: #34474a; --ink-rgb: 52 71 74; --ink-2: #5b6b6d; --ink-3: #86918f;
  --sun: #f0a99a; --sun-rgb: 240 169 154; --sun-2: #dc8573; --sun-soft: #f6e3d4; --on-sun: #34474a; --sea: #5e9c97;
  --w-land: #f7efe6; --w-lot: #fcf6ef; --w-lot-sold: #ecdfd2; --w-parcel: #fcf6ef; --w-line: #e3cdbd; --w-lot5: #f0a99a;
  --w-sky: #cbe5e2; --w-horizon: #fff7ef; --w-route: #5e9c97; --w-highway: #f3c2b5;
}
html[data-palette="sage"] {
  --paper: #f8f6f1; --paper-rgb: 248 246 241; --white: #ffffff;
  --ink: #2f3a33; --ink-rgb: 47 58 51; --ink-2: #56615a; --ink-3: #838c85;
  --sun: #b4c0a8; --sun-rgb: 180 192 168; --sun-2: #6f8566; --sun-soft: #e9e4d8; --on-sun: #2f3a33; --sea: #6f8566;
  --cta: #4e6e47; --on-cta: #ffffff; --cta-hover: #3f5c39;
  --w-land: #eeebe2; --w-lot: #f5f3ec; --w-lot-sold: #dcd9ce; --w-preserve: #93a886; --w-parcel: #f5f3ec; --w-line: #d3cebf; --w-lot5: #3d4a40;
  --w-sky: #d3e1da; --w-horizon: #f8f6f1; --w-route: #5f7556; --w-highway: #d8d2c2;
}
html[data-palette="clay"] {
  --paper: #faf6f0; --paper-rgb: 250 246 240; --white: #ffffff;
  --ink: #3b302b; --ink-rgb: 59 48 43; --ink-2: #66584f; --ink-3: #8f8178;
  --sun: #dda285; --sun-rgb: 221 162 133; --sun-2: #b8674a; --sun-soft: #eadbc8; --on-sun: #3b302b; --sea: #b8674a;
  --w-land: #f1eadf; --w-lot: #f8f2ea; --w-lot-sold: #e7dbcc; --w-parcel: #f8f2ea; --w-line: #e0cfbc; --w-lot5: #b8674a;
  --w-sky: #d6e4ea; --w-horizon: #faf6f0; --w-route: #b8674a; --w-highway: #e8c9b4;
}
@media (min-width: 760px) { :root { --gutter: max(36px, env(safe-area-inset-left, 0px)); --gutter-r: max(36px, env(safe-area-inset-right, 0px)); } }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--f-body); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 8px; }
svg.i { width: 1.1em; height: 1.1em; flex: none; vertical-align: -0.18em; }

/* ---------- Type ---------- */
.mega { font-family: var(--f-display); font-weight: 400; line-height: 0.98; letter-spacing: -0.012em; }
.kicker { display: none !important; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); }
.kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 4px rgb(var(--sun-rgb) / 0.28); }
.h2 { font-family: var(--f-head); font-size: clamp(30px, 3.6vw, 58px); font-weight: 400; line-height: 1.06; letter-spacing: -0.03em; }
.h3 { font-family: var(--f-head); font-size: clamp(24px, 2.2vw, 34px); font-weight: 500; line-height: 1.1; letter-spacing: -0.02em; }
.lead { font-size: clamp(17px, 1.3vw, 20px); line-height: 1.5; color: var(--ink-2); font-weight: 500; }
.fine { font-size: 13px; line-height: 1.5; color: var(--ink-3); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent; font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform 0.25s var(--ease), background 0.25s; }
.btn:hover { transform: translateY(-1px); }
/* the primary action: its own color so it can stand apart from the palette's soft accent */
.btn--sun { background: var(--cta, var(--sun)); color: var(--on-cta, var(--on-sun)); }
.btn--sun:hover { background: var(--cta-hover, color-mix(in srgb, var(--sun) 86%, #fff)); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: color-mix(in srgb, var(--ink) 88%, #fff); }
.btn--glass { background: rgba(255, 255, 255, 0.86); color: var(--ink); border-color: rgba(255, 255, 255, 0.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn--line { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--line:hover { background: rgb(var(--ink-rgb) / 0.04); }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 0 13px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--white); font-size: 13px; font-weight: 700; cursor: pointer; white-space: nowrap; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.chip:hover { border-color: rgb(var(--ink-rgb) / 0.35); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.link { font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; text-decoration-color: var(--sun); cursor: pointer; background: none; border: 0; padding: 0; color: var(--ink); }

/* ---------- Floating header ---------- */
.hdr {
  position: fixed; z-index: 50; top: calc(env(safe-area-inset-top, 0px) + 12px); left: 50%; transform: translateX(-50%);
  width: min(1240px, calc(100% - var(--gutter) - var(--gutter-r))); height: 62px; padding: 0 9px 0 20px;
  display: flex; align-items: center; gap: 18px; justify-content: space-between;
  background: rgb(var(--paper-rgb) / 0.88); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.9); border-radius: 20px; box-shadow: 0 10px 40px -12px rgba(20, 30, 25, 0.25);
}
.hdr__brand { font-family: var(--f-display); font-weight: 400; font-size: 23px; line-height: 1; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.hdr__nav { display: none; gap: 2px; }
.hdr__nav a { text-decoration: none; font-size: 14px; font-weight: 600; color: var(--ink-2); padding: 8px 12px; border-radius: 10px; transition: background 0.2s, color 0.2s; }
.hdr__nav a:hover, .hdr__nav a.is-on { color: var(--ink); background: rgb(var(--ink-rgb) / 0.06); }
.hdr__right { display: flex; align-items: center; gap: 8px; }
.hdr__cta { min-height: 44px; padding: 0 18px; }
.hdr__menu { width: 40px; height: 40px; border: 0; background: none; padding: 0; display: grid; place-items: center; cursor: pointer; color: var(--ink); }
.hdr__menu svg { width: 24px; height: 24px; }
.hdr__bar { position: absolute; left: 20px; right: 20px; bottom: 5px; height: 2px; border-radius: 2px; overflow: hidden; }
.hdr__bar i { position: absolute; inset: 0; background: var(--sun-2); transform-origin: left; transform: scaleX(var(--p, 0)); }
@media (min-width: 1000px) { .hdr__nav { display: flex; } .hdr__menu { display: none; } }
@media (max-width: 520px) { .hdr { height: 56px; padding-left: 14px; gap: 10px; } .hdr__brand { font-size: 16px; letter-spacing: 0.04em; } .hdr__cta { padding: 0 14px; font-size: 14px; } }
.menu { position: fixed; z-index: 45; inset: 0; background: rgb(var(--paper-rgb) / 0.97); display: flex; flex-direction: column; padding: calc(env(safe-area-inset-top, 0px) + 96px) var(--gutter-r) calc(env(safe-area-inset-bottom, 0px) + 28px) var(--gutter); opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.menu.is-open { opacity: 1; pointer-events: auto; }
.menu a { font-size: 34px; font-weight: 700; letter-spacing: -0.03em; text-decoration: none; padding: 8px 0; border-bottom: 1px solid var(--line); }
.menu .btn { margin-top: auto; font-size: 17px; border: 0; }

/* ---------- 3D world ---------- */
.world { position: fixed; inset: 0; z-index: 0; background: linear-gradient(var(--w-sky), var(--paper)); }
.world canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; }
.world__labels { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 1; }
.world__labels > * { pointer-events: none; }
.world__vignette { position: absolute; inset: 0; pointer-events: none; opacity: var(--v, 0); background: radial-gradient(115% 100% at 62% 50%, rgb(var(--paper-rgb) / 0) 50%, rgb(var(--paper-rgb) / 0.9) 78%, var(--paper) 100%); }
.world__fallback { position: absolute; inset: 0; background-size: cover; background-position: center; display: none; }
.world__photo { position: absolute; inset: 0; z-index: 3; opacity: 0; pointer-events: none; background: #e9e6df; }
.world__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card--room .h3 { font-size: clamp(26px, 2.2vw, 34px); }
.card--room .lead { font-size: 16px; }
.room__more { justify-self: start; min-height: 42px; padding: 0 16px; font-size: 14px; }
.no-webgl .world__fallback { display: block; }
.wtag { font-family: var(--f-body); font-size: 12px; font-weight: 700; color: var(--ink); background: rgba(255, 255, 255, 0.94); border: 1px solid rgb(var(--ink-rgb) / 0.08); border-radius: 999px; padding: 5px 10px; white-space: nowrap; box-shadow: 0 6px 16px -8px rgba(20, 30, 25, 0.35); display: inline-flex; align-items: center; gap: 6px; transition: opacity 0.35s, background 0.2s; }
.wtag__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ink); }
.wtag--sold { color: var(--ink-2); font-weight: 700; font-size: 12px; animation: tagIn 0.5s var(--ease) both; }
.wtag--sun { background: var(--sun); color: var(--on-sun); border-color: var(--sun-2); font-size: 13px; padding: 7px 13px; }
.wtag--sun .wtag__dot { animation: pulse 1.8s infinite; }
.wtag--road { background: transparent; border: 0; box-shadow: none; color: var(--ink-3); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; }
.wtag--room.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.wtag--render { background: var(--ink); color: #fff; }
.wtag--render .wtag__dot { background: var(--sun); }
.wtag--place { background: transparent; border: 0; box-shadow: none; color: rgb(var(--ink-rgb) / 0.45); font-size: 11px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; }
.wtag--home { background: var(--sun); color: var(--on-sun); border-color: var(--sun-2); font-size: 13px; }
.wtag--dest { pointer-events: auto !important; cursor: pointer; }
.wtag--dest em { font-style: normal; font-weight: 700; color: var(--sea); }
.wtag--dest i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; background: var(--sea); }
.wtag--dest.is-on { background: var(--ink); color: #fff; }
.wtag--dest.is-on em { color: var(--sun); }
.c-beach { background: #3fa7cf !important; } .c-town { background: #e2a91b !important; } .c-fun { background: #e0784f !important; } .c-nature { background: #5f9a57 !important; } .c-travel { background: #7a6ad8 !important; } .c-everyday { background: #8a908c !important; } .c-golf { background: #5b8a5f !important; }
@keyframes tagIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgb(var(--ink-rgb) / 0.5); } 70% { box-shadow: 0 0 0 8px rgb(var(--ink-rgb) / 0); } 100% { box-shadow: 0 0 0 0 rgb(var(--ink-rgb) / 0); } }

/* ---------- Story layout ---------- */
.story { position: relative; z-index: 2; pointer-events: none; }
.story a, .story button, .story input, .story select, .story textarea, .story label, .story .card, .story .panel, .story .room, .story .hero__copy, .story .foot { pointer-events: auto; }
.beat { position: relative; }
.step { min-height: 130svh; display: flex; flex-direction: column; justify-content: flex-end; align-items: stretch; padding: 0; }
/* Cards rest a little above center (tall ones sit higher) and hold while the world moves behind them. */
.step > .card, .step > .room { position: sticky; top: auto; bottom: 0; }
/* Story text stays put at the bottom and fades in and out; one shared frost sits behind it */
.step > .card:not(.card--area) {
  position: fixed; left: 0; right: 0; bottom: 0; top: auto; z-index: 3;
  width: 100%; max-width: none; background: none; border: 0; border-radius: 0; box-shadow: none;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  padding: 0 var(--gutter-r) calc(env(safe-area-inset-bottom, 0px) + clamp(26px, 5vh, 54px)) var(--gutter);
  gap: 12px; align-content: end;
  opacity: 0; visibility: hidden; pointer-events: none; transform: none !important;
  transition: none !important; will-change: opacity;
}
.step > .card:not(.card--area) > * { max-width: 640px; }
.frost {
  position: fixed; left: 0; right: 0; bottom: 0; height: var(--fh, 44vh); z-index: 2; pointer-events: none; opacity: 0;
  transition: opacity 0.7s ease, height 0.9s var(--ease);
  background: linear-gradient(to top, rgb(var(--paper-rgb) / 0.9) 0%, rgb(var(--paper-rgb) / 0.62) 42%, rgb(var(--paper-rgb) / 0.18) 78%, rgb(var(--paper-rgb) / 0) 100%);
  -webkit-backdrop-filter: blur(20px) saturate(1.1); backdrop-filter: blur(20px) saturate(1.1);
  -webkit-mask-image: linear-gradient(to top, #000 30%, rgba(0, 0, 0, 0.6) 62%, transparent 100%);
  mask-image: linear-gradient(to top, #000 30%, rgba(0, 0, 0, 0.6) 62%, transparent 100%);
}
.frost.is-on { opacity: 1; }
.step > .card--area { margin: 0 var(--gutter-r) calc(env(safe-area-inset-bottom, 0px) + 24px) var(--gutter); }
.beat--rooms > .step { min-height: 260svh; }
.step--spacer { min-height: 65svh; }
.step--tall { min-height: 210svh; }
.settled { transition: none !important; }
.card { width: min(460px, 100%); background: var(--glass); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); border: 1px solid rgba(255, 255, 255, 0.95); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: clamp(22px, 2.4vw, 34px); display: grid; gap: 14px; transition: transform 0.9s var(--ease), opacity 0.6s; }
.card .h2 { font-size: clamp(28px, 2.9vw, 46px); }
.js .pre { transform: translateY(44px); opacity: 0.001; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.facts div { display: grid; gap: 2px; }
.facts b { font-family: var(--f-display); font-weight: 400; font-size: 36px; line-height: 1; }
.facts span { font-size: 13px; color: var(--ink-2); font-weight: 600; }
.notes { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.notes li { display: grid; grid-template-columns: 20px 1fr; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ink-2); line-height: 1.45; }
.notes svg { color: var(--sun-2); width: 18px; height: 18px; margin-top: 1px; }
.rtag { display: inline-flex; align-items: center; gap: 6px; justify-self: start; background: var(--ink); color: #fff; border-radius: 999px; padding: 5px 11px; font-size: 11px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.rtag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--sun); }
@media (max-width: 759px) {
  .step { min-height: 120svh; justify-content: flex-end; align-items: stretch; padding: 0; }
  .beat--rooms > .step { min-height: 220svh; }
  .step > .card:not(.card--area) { padding: 0 20px calc(env(safe-area-inset-bottom, 0px) + 22px); gap: 10px; }
  .step > .card--area { margin: 0 12px calc(env(safe-area-inset-bottom, 0px) + 12px); }
  .step--spacer { min-height: 55svh; }
  .card--area { width: auto; padding: 18px 20px; gap: 10px; border-radius: 24px; }
  .card .h2 { font-size: 27px; }
  .card .lead { font-size: 16px; }
  .facts b { font-size: 30px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; height: 185svh; }
.hero__pin { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.hero__frame { position: absolute; inset: 0; transform-origin: 50% 44%; transform: translateY(calc(var(--hp, 0) * -5svh)) scale(calc(1 - var(--hp, 0) * 0.56)); border-radius: calc(var(--hp, 0) * 56px); overflow: hidden; opacity: calc(1 - max(0, var(--hp, 0) - 0.7) * 3.4); box-shadow: 0 40px 120px -30px rgba(20, 30, 25, calc(var(--hp, 0) * 0.55)); will-change: transform; }
.hero__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; transform: scale(calc(1.06 - var(--hp, 0) * 0.06)); }
/* Readability (Nick 20:34Z): a soft dark veil behind the headline and a deeper one under the facts */
.hero__frame::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(12, 16, 18, 0.58) 0%, rgba(12, 16, 18, 0.34) 22%, rgba(12, 16, 18, 0) 46%),
  linear-gradient(0deg, rgba(12, 16, 18, 0.8) 0%, rgba(12, 16, 18, 0.55) 22%, rgba(12, 16, 18, 0.12) 46%, rgba(12, 16, 18, 0) 58%); }
.hero__copy { position: absolute; inset: 0; color: #fff; display: flex; flex-direction: column; justify-content: space-between; padding: calc(env(safe-area-inset-top, 0px) + 100px) var(--gutter-r) calc(env(safe-area-inset-bottom, 0px) + 30px) var(--gutter); opacity: calc(1 - var(--hp, 0) * 2.8); transform: translateY(calc(var(--hp, 0) * -40px)); }
.hero .kicker { color: rgba(255, 255, 255, 0.94); }
.hero .mega { font-size: clamp(52px, min(11vw, calc((100vw - 110px) / (var(--n, 12) * 0.56))), 200px); color: #fff; text-shadow: 0 2px 4px rgba(0, 0, 0, 0.22), 0 8px 44px rgba(0, 0, 0, 0.32); margin-top: 16px; }
.hero .mega .l { display: block; }
.hero__foot { display: grid; gap: 22px; align-items: end; }
.hero__sub { font-size: clamp(17px, 1.35vw, 21px); line-height: 1.45; font-weight: 500; max-width: 36ch; color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35), 0 2px 16px rgba(0, 0, 0, 0.35); }
.hero__facts { display: flex; flex-wrap: wrap; gap: 6px 28px; align-items: flex-end; margin-top: 16px; }
.hero__facts div { display: grid; }
.hero__facts b { font-family: var(--f-display); font-weight: 400; font-size: clamp(30px, 2.8vw, 44px); line-height: 1; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 2px 18px rgba(0, 0, 0, 0.35); }
.hero__facts span { font-size: 13px; font-weight: 600; color: #fff; opacity: 0.92; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45); }
.hero__facts .price b { color: #fff; }
.hero__ctas { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; justify-content: flex-end; }
.cue { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; color: #fff; padding: 0 8px; }
.cue i { width: 22px; height: 34px; border: 2px solid rgba(255, 255, 255, 0.85); border-radius: 12px; position: relative; }
.cue i::after { content: ""; position: absolute; left: 50%; top: 7px; width: 4px; height: 7px; margin-left: -2px; border-radius: 2px; background: #fff; animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(10px); opacity: 0; } 100% { opacity: 0; } }
@media (min-width: 900px) { .hero__foot { grid-template-columns: 1fr auto; } }
@media (max-width: 759px) {
  .hero .mega { font-size: min(14vw, calc((100vw - 32px) / 7)); line-height: 1.02; }
  .hero .mega .l { display: inline; }
  .hero__foot { gap: 14px; }
  .hero__facts { gap: 4px 13px; margin-top: 10px; }
  .hero__facts b { font-size: 29px; }
  .hero__facts span { font-size: 12px; }
  .hero__facts .price { flex-basis: 100%; }
  .hero__facts .price b { font-size: 38px; }
  .hero__ctas { justify-content: stretch; }
  .hero__ctas .btn { flex: 1; }
  .cue { display: none; }
}

/* ---------- Inside: room cards ---------- */
.room { width: min(500px, 100%); background: var(--white); border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; display: grid; transition: transform 0.9s var(--ease), opacity 0.6s; }
.room__photo { position: relative; aspect-ratio: 16 / 10; border: 0; padding: 0; cursor: zoom-in; background: #ece9e2; overflow: hidden; width: 100%; }
.room__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.room__photo:hover img { transform: scale(1.04); }
.room__count { position: absolute; right: 12px; bottom: 12px; background: rgba(255, 255, 255, 0.94); border-radius: 999px; padding: 6px 12px; font-size: 12px; font-weight: 800; display: inline-flex; gap: 6px; align-items: center; }
.room__body { padding: 20px 24px 24px; display: grid; gap: 10px; }
.room__body .h3 { font-size: 28px; }
.room__body p { color: var(--ink-2); font-weight: 500; }
.room__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.room__chips span { font-size: 12px; font-weight: 700; background: var(--paper); border-radius: 999px; padding: 6px 10px; }
@media (max-width: 759px) {
  .room { width: 100%; }
  .room__photo { aspect-ratio: 16 / 9; }
  .room__body { padding: 14px 18px 18px; gap: 6px; }
  .room__body .h3 { font-size: 22px; }
  .room__body p { font-size: 15px; }
  .room__chips { display: none; }
}

/* ---------- Area card ---------- */
.card--area { width: min(430px, 100%); }
/* the menu: groups collapsed to a quiet list; one opens at a time */
.amenu { display: grid; border-top: 1px solid var(--line); margin-top: -2px; }
.amenu__grp { border-bottom: 1px solid var(--line); }
.amenu__head { width: 100%; display: flex; align-items: center; gap: 12px; padding: 14px 2px; background: none; border: 0; margin: 0; font: inherit; color: var(--ink); text-align: left; cursor: pointer; }
.amenu__head:focus-visible { outline: 2px solid var(--cta, var(--ink)); outline-offset: 2px; border-radius: 8px; }
.amenu__name { flex: 1; font-family: var(--f-head); font-size: 16px; font-weight: 600; letter-spacing: -0.005em; }
.amenu__span { font-size: 13px; font-weight: 600; color: var(--ink-3); white-space: nowrap; }
.amenu__chev { display: grid; place-items: center; width: 22px; height: 22px; color: var(--ink-3); transition: transform 0.4s var(--ease); }
.amenu__chev .i { width: 16px; height: 16px; }
.amenu__grp.is-open .amenu__chev { transform: rotate(180deg); }
.amenu__grp.is-open .amenu__span { opacity: 0; }
.amenu__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.45s var(--ease); }
.amenu__grp.is-open .amenu__body { grid-template-rows: 1fr; }
.amenu__list { min-height: 0; overflow: hidden; list-style: none; margin: 0 -8px; padding: 0; display: grid; gap: 1px; }
.amenu__grp.is-open .amenu__list { padding-bottom: 10px; }
.amenu__list button { width: 100%; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 0 12px; padding: 8px; border: 0; border-radius: 12px; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; transition: background 0.2s, color 0.2s; }
.amenu__list button:hover { background: rgb(var(--ink-rgb) / 0.05); }
.amenu__list button:focus-visible { outline: 2px solid var(--cta, var(--ink)); outline-offset: -2px; }
.amenu__list button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.amenu__list button[aria-pressed="true"] small { color: rgba(255, 255, 255, 0.7); }
.amenu__list b { font-size: 15px; font-weight: 600; }
.amenu__list small { grid-column: 1; color: var(--ink-3); font-size: 12px; font-weight: 600; }
.amenu__list .t { grid-row: 1 / span 2; grid-column: 2; font-family: var(--f-display); font-weight: 400; font-size: 24px; line-height: 1; white-space: nowrap; }
.amenu__list .t small { font-family: var(--f-body); font-size: 11px; color: inherit; opacity: 0.7; margin-left: 2px; }
.dests { display: grid; gap: 1px; overflow-y: auto; margin: 0 -8px; padding: 0; list-style: none; scrollbar-width: thin; }
.dests li { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 0 12px; padding: 8px; border-radius: 12px; cursor: pointer; }
.dests li:hover { background: rgb(var(--ink-rgb) / 0.05); }
.dests li.is-on { background: var(--ink); color: #fff; }
.dests li.is-on small { color: rgba(255, 255, 255, 0.7); }
.dests b { font-size: 15px; }
.dests small { grid-column: 1; color: var(--ink-3); font-size: 12px; font-weight: 600; }
.dests .t { grid-row: 1 / span 2; grid-column: 2; font-family: var(--f-display); font-weight: 400; font-size: 26px; line-height: 1; white-space: nowrap; }
.dests .t small { font-family: var(--f-body); font-size: 11px; color: inherit; opacity: 0.7; margin-left: 2px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.fly { display: grid; gap: 10px; padding-top: 12px; border-top: 1px solid var(--line); }
.fly__line { font-size: 15px; color: var(--ink-2); font-weight: 500; }
.fly__line b { color: var(--ink); }
.fly__pick { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 14px; font-weight: 700; color: var(--ink-2); }
.fly select { min-height: 40px; border-radius: 999px; border: 1px solid var(--line-2); padding: 0 14px; background: var(--white); font-weight: 700; color: var(--ink); }
.nw { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (max-width: 759px) {
  .dests { max-height: 168px; }
  .amenu__head { padding: 11px 2px; }
  .amenu__grp.is-open .amenu__list { max-height: 150px; overflow-y: auto; }
  .step > .card--area { max-width: calc(100vw - 24px); box-sizing: border-box; }
  .amenu__list b { font-size: 14px; }
  .card--area .lead { display: none; }
  .card--area .chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -20px; padding: 0 20px 2px; scrollbar-width: none; }
  .card--area .chips::-webkit-scrollbar { display: none; }
}

/* ---------- Solid panels (closing chapters) ---------- */
.beat--solid { padding: 16svh var(--gutter-r) 8svh var(--gutter); }
.panel { width: min(1240px, 100%); margin: 0 auto; background: var(--white); border-radius: 36px; box-shadow: var(--shadow); padding: clamp(24px, 5vw, 72px); display: grid; gap: clamp(26px, 4vw, 48px); transition: transform 0.9s var(--ease), opacity 0.6s; }
.panel__head { display: grid; gap: 14px; max-width: 780px; }
.bignums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.bignums div { padding: 20px 12px 6px 0; display: grid; gap: 6px; min-width: 0; }
.bignums div:first-child { grid-column: 1 / -1; }
.bignums b { font-family: var(--f-display); font-weight: 400; font-size: clamp(34px, 3.8vw, 64px); line-height: 1; white-space: nowrap; }
.bignums span { font-size: 14px; font-weight: 600; color: var(--ink-2); }
@media (min-width: 900px) { .bignums { grid-template-columns: 1.7fr 1fr 1fr 1fr; } .bignums div:first-child { grid-column: auto; } .bignums div + div { border-left: 1px solid var(--line); padding-left: 22px; } }
/* Listing details: price, key facts and the full facts list, like a portal's detail page */
.details { gap: clamp(24px, 3.2vw, 40px); }
.details__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 22px 32px; }
.details__main { display: grid; gap: 10px; }
.details__status { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 700; color: var(--ink-2); }
.details__status i { width: 9px; height: 9px; border-radius: 50%; background: var(--sun-2); box-shadow: 0 0 0 4px rgb(var(--sun-rgb) / 0.35); }
.details__price { font-family: var(--f-display); font-weight: 400; font-size: clamp(48px, 5.8vw, 86px); line-height: 1; letter-spacing: -0.01em; }
.details__facts { display: flex; flex-wrap: wrap; row-gap: 4px; font-size: clamp(17px, 1.45vw, 21px); color: var(--ink-2); }
.details__facts span + span::before { content: ""; display: inline-block; width: 1px; height: 0.9em; background: rgb(var(--ink-rgb) / 0.25); margin: 0 14px; vertical-align: -0.1em; }
.details__facts b { color: var(--ink); font-weight: 700; }
.details__addr { font-size: 15px; color: var(--ink-3); font-weight: 500; }
@media (max-width: 520px) { .details__facts { font-size: 16px; } .details__facts span + span::before { margin: 0 9px; } }
.details__est { display: grid; gap: 4px; justify-items: start; text-align: left; padding: 18px 22px; min-width: 230px; border-radius: var(--r-md); background: var(--paper); border: 1px solid var(--line); cursor: pointer; font: inherit; color: inherit; transition: border-color 0.2s; }
.details__est:hover { border-color: rgb(var(--ink-rgb) / 0.25); }
.details__est small { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.details__est b { font-family: var(--f-display); font-weight: 400; font-size: 36px; line-height: 1.05; }
.details__est b span { font-family: var(--f-body); font-size: 15px; color: var(--ink-2); margin-left: 2px; }
.details__estlink { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--sun-2); }
.details__estlink svg { width: 15px; height: 15px; }
.details__keys { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.details__keys div { display: grid; gap: 4px; padding: 18px 16px 18px 0; }
.details__keys small { font-size: 13px; color: var(--ink-3); font-weight: 600; }
.details__keys b { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
.details__body { display: grid; gap: 22px; }
.details__title, .details__comp h3 { font-family: var(--f-head); font-size: clamp(22px, 2vw, 30px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.15; }
.details__groups { display: grid; gap: 30px 44px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); align-items: start; }
.details__group h4 { font-size: 12px; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase; color: var(--sun-2); margin: 0 0 6px; }
.details__group dl { margin: 0; display: grid; }
.details__group dl div { display: grid; grid-template-columns: minmax(112px, 0.75fr) 1.4fr; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.details__group dt { font-size: 14px; color: var(--ink-3); font-weight: 600; }
.details__group dd { margin: 0; font-size: 14.5px; font-weight: 600; color: var(--ink); line-height: 1.45; }
.details__comp { display: grid; gap: 18px; padding-top: 6px; }
.details__comp .panel__head p { color: var(--ink-2); line-height: 1.55; }
.comp { display: grid; gap: 12px; }
@media (min-width: 900px) { .comp { grid-template-columns: 1fr 1fr; } }
.comp__card { border-radius: var(--r-md); padding: 24px; background: var(--paper); display: grid; gap: 10px; align-content: start; }
.comp__card--me { background: var(--ink); color: #fff; }
.comp__card small { font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.comp__card--me small { color: var(--sun); }
.comp__card h3 { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.comp__price { font-family: var(--f-display); font-weight: 400; font-size: clamp(40px, 4vw, 60px); line-height: 1; }
.comp__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; font-weight: 700; }
.comp__bar { height: 8px; border-radius: 999px; background: rgb(var(--ink-rgb) / 0.08); overflow: hidden; }
.comp__card--me .comp__bar { background: rgba(255, 255, 255, 0.16); }
.comp__bar i { display: block; height: 100%; border-radius: 999px; background: var(--sun); }
.comp__card p { font-size: 14px; color: var(--ink-2); }
.comp__card--me p { color: rgba(255, 255, 255, 0.74); }
.costs { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.costs div { display: grid; gap: 4px; align-content: start; }
.costs small { font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.costs b { font-size: 28px; font-weight: 800; letter-spacing: -0.02em; }
.costs p { font-size: 14px; color: var(--ink-2); }
.warranty { display: grid; gap: 14px; padding: 24px; border-radius: var(--r-md); background: var(--sun-soft); }
.warranty h3 { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.wbars { display: grid; gap: 8px; }
.wbar { display: grid; grid-template-columns: 100px 1fr; gap: 10px; align-items: center; font-size: 14px; font-weight: 700; }
.wbar > span:last-child { height: 30px; border-radius: 10px; background: rgb(var(--ink-rgb) / 0.07); position: relative; overflow: hidden; }
.wbar i { position: absolute; inset: 0 auto 0 0; border-radius: 10px; background: var(--ink); color: #fff; font-style: normal; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: flex-end; padding: 0 10px; white-space: nowrap; }
.agents { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .agents { grid-template-columns: 1.05fr 1fr; } }
.agents__num { font-family: var(--f-display); font-weight: 400; font-size: clamp(96px, 12vw, 180px); line-height: 0.9; }
.agents__num span { color: var(--sun-2); }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ticks li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; font-weight: 500; color: var(--ink-2); }
.ticks svg { color: var(--sun-2); width: 20px; height: 20px; margin-top: 3px; }
.tour { display: grid; gap: 32px; }
@media (min-width: 980px) { .tour { grid-template-columns: 1fr 1.25fr; } }
.contact { display: grid; gap: 16px; align-content: start; }
.contact__line { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-weight: 700; font-size: 17px; }
.contact__line a { text-decoration: none; }
.copy { border: 1px solid var(--line-2); background: transparent; border-radius: 999px; padding: 3px 10px; font-size: 12px; font-weight: 700; cursor: pointer; color: var(--ink-2); }
.form { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; align-content: start; }
.field { display: grid; gap: 6px; }
.field label, .field .lbl { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--paper); padding: 12px 14px; font-size: 16px; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--sun); outline-offset: 0; border-color: transparent; background: #fff; }
.full { grid-column: 1 / -1; }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); flex-wrap: wrap; justify-self: start; }
.seg button { border: 0; background: transparent; min-height: 38px; padding: 0 16px; border-radius: 999px; font-weight: 700; font-size: 14px; cursor: pointer; color: var(--ink-2); }
.seg button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; font-weight: 500; }
.check input { width: 20px; height: 20px; accent-color: var(--ink); margin-top: 2px; flex: none; }
.status { grid-column: 1 / -1; display: none; padding: 12px 14px; border-radius: 12px; font-size: 15px; font-weight: 600; }
.status.ok { display: block; background: #e7f3e6; color: #2b5a2a; }
.status.err { display: block; background: #fbe7e1; color: #8a3a28; }
.status.note { display: block; background: var(--sun-soft); color: var(--ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } .panel { border-radius: 28px; } }
.foot { width: min(1240px, calc(100% - var(--gutter) - var(--gutter-r))); margin: 0 auto calc(env(safe-area-inset-bottom, 0px) + 24px); padding: 26px; border-radius: 28px; background: rgba(255, 255, 255, 0.82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); display: grid; gap: 8px; font-size: 13px; color: var(--ink-2); }
.foot b { color: var(--ink); font-size: 15px; }

/* ---------- Sheets ---------- */
.sheet { position: fixed; z-index: 70; inset: 0; background: rgb(var(--ink-rgb) / 0.3); display: flex; align-items: flex-end; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.sheet.is-open { opacity: 1; pointer-events: auto; }
.sheet__box { width: min(1180px, 100%); max-height: calc(100svh - 60px); background: var(--white); border-radius: 30px 30px 0 0; overflow: auto; overscroll-behavior: contain; transform: translateY(40px); transition: transform 0.45s var(--ease); }
.sheet.is-open .sheet__box { transform: none; }
.sheet__top { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px clamp(18px, 3vw, 32px); background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.sheet__top h2 { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.sheet__body { padding: clamp(18px, 3vw, 32px); display: grid; gap: 18px; }
.x { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--white); display: grid; place-items: center; cursor: pointer; flex: none; }
@media (min-width: 900px) { .sheet { align-items: center; } .sheet__box { border-radius: 30px; } }
.grid { columns: 2 200px; column-gap: 10px; }
@media (min-width: 900px) { .grid { columns: 3 260px; } }
.grid button { display: block; width: 100%; margin: 0 0 10px; padding: 0; border: 0; border-radius: 14px; overflow: hidden; break-inside: avoid; cursor: zoom-in; background: #ece9e2; }
.grid img { width: 100%; height: auto; transition: transform 0.8s var(--ease); }
.grid button:hover img { transform: scale(1.03); }
.plan { display: grid; gap: 22px; }
@media (min-width: 900px) { .plan { grid-template-columns: 1.4fr 1fr; align-items: start; } }
.plan__fig { position: relative; margin: 0; }
.plan__fig img { width: 100%; height: auto; border-radius: 16px; }
.plan__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.plan__svg .rm { fill: rgb(var(--sun-rgb) / 0); stroke: transparent; stroke-width: 4; cursor: pointer; transition: fill 0.2s, stroke 0.2s; }
.plan__svg .rm:hover, .plan__svg .rm.is-on { fill: rgb(var(--sun-rgb) / 0.35); stroke: var(--sun-2); }
.roomcard { display: grid; gap: 12px; padding: 20px; border-radius: 20px; background: var(--paper); align-content: start; }
.roomcard h3 { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; }
.roomcard dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; margin: 0; font-size: 15px; }
.roomcard dt { color: var(--ink-3); font-weight: 700; }
.roomcard dd { margin: 0; font-weight: 600; }
.thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.thumbs button { width: 86px; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; border: 0; padding: 0; cursor: zoom-in; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.areas { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.areas td { padding: 9px 0; border-bottom: 1px solid var(--line); }
.areas td:last-child { text-align: right; font-weight: 700; }
.areas tr:last-child td { border-bottom: 0; font-weight: 800; }
.specs { display: grid; gap: 22px 40px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.specs h3 { font-size: 13px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; }
.specs ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.specs li { padding-left: 16px; position: relative; font-weight: 500; }
.specs li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 7px; height: 7px; border-radius: 50%; background: var(--sun); }
.calc { display: grid; gap: 20px; }
@media (min-width: 800px) { .calc { grid-template-columns: 1fr 1fr; } }
.calc__form { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; align-content: start; }
.calc__out { padding: 22px; border-radius: 20px; background: var(--paper); display: grid; gap: 10px; }
.calc__out .big { font-family: var(--f-display); font-weight: 400; font-size: 60px; line-height: 1; }
.calc__out table { width: 100%; border-collapse: collapse; font-size: 14px; }
.calc__out td { padding: 7px 0; border-bottom: 1px solid var(--line); }
.calc__out td:last-child { text-align: right; font-weight: 700; }

/* Lightbox */
.lb { position: fixed; z-index: 90; inset: 0; background: rgba(12, 14, 13, 0.95); color: #fff; display: none; grid-template-rows: auto 1fr auto; }
.lb.is-open { display: grid; }
.lb__top { display: flex; justify-content: space-between; align-items: center; padding: calc(env(safe-area-inset-top, 0px) + 12px) var(--gutter-r) 8px var(--gutter); font-size: 14px; font-weight: 700; color: rgba(255, 255, 255, 0.7); }
.lb__stage { position: relative; display: grid; place-items: center; overflow: hidden; touch-action: pan-y pinch-zoom; }
.lb__stage img { max-width: 100%; max-height: 100%; object-fit: contain; transition: opacity 0.25s; }
.lb__cap { padding: 12px var(--gutter-r) calc(env(safe-area-inset-bottom, 0px) + 18px) var(--gutter); text-align: center; color: rgba(255, 255, 255, 0.82); font-size: 15px; min-height: 52px; }
.lb .x { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.2); color: #fff; }
.lb__nav { position: absolute; top: 50%; transform: translateY(-50%); }
.lb__nav--prev { left: var(--gutter); }
.lb__nav--next { right: var(--gutter-r); }
@media (max-width: 759px) { .lb__nav { display: none; } }

.consent { position: fixed; z-index: 80; left: var(--gutter); right: var(--gutter-r); bottom: calc(env(safe-area-inset-bottom, 0px) + 16px); max-width: 480px; margin-inline: auto; background: var(--white); border-radius: 20px; padding: 18px; box-shadow: var(--shadow); display: grid; gap: 12px; font-size: 14px; }

@media (prefers-reduced-motion: reduce) {
  .js .pre { transform: none; opacity: 1; }
  .wtag--sun .wtag__dot, .cue i::after { animation: none; }
}

/* Palette picker (review only; property.json theme.review) */
.palpick { position: fixed; z-index: 44; top: calc(env(safe-area-inset-top, 0px) + 86px); right: var(--gutter-r); display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgb(var(--paper-rgb) / 0.9); border: 1px solid var(--line); box-shadow: 0 8px 26px -12px rgba(20, 30, 25, 0.3); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.palpick button { display: inline-flex; align-items: center; gap: 7px; min-height: 34px; padding: 0 12px 0 8px; border: 0; border-radius: 999px; background: none; font-size: 12.5px; font-weight: 600; color: var(--ink-2); cursor: pointer; white-space: nowrap; }
.palpick button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.palpick i { display: inline-flex; }
.palpick i b { width: 10px; height: 10px; border-radius: 50%; margin-left: -3px; box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.9); }
.palpick i b:first-child { margin-left: 0; }
@media (max-width: 759px) { .palpick { top: calc(env(safe-area-inset-top, 0px) + 74px); left: 50%; right: auto; transform: translateX(-50%); } .palpick button { padding: 0 10px 0 7px; font-size: 12px; } }
