/* CITYZEN EXPO landing page
   Brand: CITYZEN brandbook (Chinese Black, Isabelline, Argent, Silver Foil, Olive Green)
   Font: Helvetica Neue LT GEO 35 Thin (only weight supplied; bold is browser-synthesized) */

@font-face {
  font-family: "HN GEO Thin";
  src: url("../assets/fonts/HelveticaNeueLTGEO-35Thin.ttf") format("truetype");
  font-weight: 250;
  font-style: normal;
  font-display: swap;
}

:root {
  --black: #161616;
  --ink-2: #2a2a27;
  --ink-3: #3a3a36;
  --muted: #55554f;
  --paper: #f3f3eb;
  --white: #ffffff;
  --argent: #c4c5c0;
  --foil: #bab8a3;
  --accent: #99bb68;
  --line-dark: #2e2e2b;
  --radius: 4px;
  --radius-lg: 6px;
  --gutter: clamp(20px, 4.4vw, 64px);
  --section-y: clamp(56px, 8.4vw, 120px);
  --h2: clamp(30px, 3.2vw, 46px);
  --font: "HN GEO Thin", "Helvetica Neue LT GEO", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--black);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
img, video, svg { display: block; max-width: 100%; }
h1, h2, h3, p, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
a:hover { opacity: .8; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; -webkit-tap-highlight-color: transparent; }
a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.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; }
.i { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: calc(1280px + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

/* type */
.h2 { font-size: var(--h2); line-height: 1.15; letter-spacing: -0.01em; font-weight: 700; }
.h3 { font-size: clamp(22px, 2vw, 28px); font-weight: 700; line-height: 1.2; }
.eyebrow { font-size: 15px; font-weight: 700; letter-spacing: 0.04em; margin-bottom: 16px; color: var(--muted); }
.body { font-size: clamp(16px, 1.25vw, 18px); line-height: 1.6; color: var(--ink-2); max-width: 62ch; }
.lede { font-size: 17px; line-height: 1.6; max-width: 420px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 32px; border-radius: var(--radius); font-size: 17px; border: 1px solid transparent; white-space: nowrap; }
.btn-dark { background: var(--black); color: var(--paper); }
.btn-accent { background: var(--accent); color: var(--black); font-weight: 700; }
.btn-outline { border-color: rgba(243, 243, 235, .7); color: var(--paper); font-weight: 700; min-height: 44px; padding: 0 22px; font-size: 16px; }
.btn-ghost-dark { background: transparent; border-color: var(--black); color: var(--black); min-height: 42px; padding: 0 18px; font-size: 15px; }

/* ---------- header ---------- */
.site-header {
  position: absolute; inset: 0 0 auto 0; z-index: 10;
  height: 104px; padding: 0 var(--gutter);
  padding-top: env(safe-area-inset-top, 0px);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  color: var(--paper);
}
.header-phone { justify-self: start; display: inline-flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 700; }
.header-phone .i { font-size: 18px; }
.header-logo { color: var(--paper); }
.header-logo .logo { height: 24px; width: auto; }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 20px; }
.header-link { font-size: 16px; font-weight: 700; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.header-link:hover { opacity: .75; }
.lang { display: flex; gap: 2px; }
.lang button { background: none; border: 0; padding: 6px 8px; font-size: 16px; opacity: .7; border-bottom: 1px solid transparent; }
.lang button[aria-pressed="true"] { opacity: 1; font-weight: 700; border-bottom-color: var(--paper); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: max(760px, 100svh); color: var(--paper); background: #262623; display: flex; align-items: flex-end; overflow: hidden; }
.hero-media, .hero-media > * { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-poster, .hero-video { object-fit: cover; object-position: center 40%; }
.hero-mask { background: rgba(22, 22, 22, .45); }
.hero-inner { position: relative; display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; padding-top: 140px; padding-bottom: 64px; }
.hero-copy { display: flex; flex-direction: column; gap: 22px; max-width: 760px; text-shadow: 0 2px 18px rgba(0, 0, 0, .35); }
.hero-eyebrow { font-size: 20px; font-weight: 700; }
.hero-title { font-size: clamp(54px, 6.7vw, 96px); line-height: 1; font-weight: 700; letter-spacing: -0.01em; }
.hero-address { font-size: clamp(17px, 1.5vw, 22px); font-weight: 700; }
.hero-price { display: flex; flex-direction: column; gap: 4px; }
.hero-price-label { font-size: clamp(16px, 1.4vw, 20px); font-weight: 700; }
.hero-price-row { display: flex; align-items: baseline; gap: 18px; }
.hero-price-value { font-size: clamp(52px, 6.1vw, 88px); font-weight: 700; line-height: 1; letter-spacing: -0.02em; }
.hero-price-old { font-size: clamp(22px, 2.2vw, 32px); font-weight: 700; color: #e4e4dc; }
.offer-badge { display: flex; align-self: flex-start; border-radius: var(--radius); overflow: hidden; text-shadow: none; }
.offer-badge-amount { background: var(--accent); color: var(--black); padding: 14px 20px; font-size: 18px; font-weight: 700; display: flex; align-items: baseline; gap: 10px; }
.offer-badge-amount strong { font-size: 44px; line-height: 1; }
.offer-badge-note { background: var(--paper); color: var(--black); padding: 14px 20px; font-size: 17px; font-weight: 700; line-height: 1.3; display: flex; align-items: center; max-width: 340px; }

/* lead form */
.lead-card {
  width: 360px; flex-shrink: 0;
  background: rgba(243, 243, 235, .94);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  color: var(--black); border-radius: var(--radius-lg);
  padding: 32px 28px 28px; box-shadow: 0 24px 60px rgba(0, 0, 0, .25);
  scroll-margin-top: 24px;
}
.lead-form, .lead-success { display: flex; flex-direction: column; gap: 14px; }
.lead-eyebrow { font-size: 14px; font-weight: 700; color: var(--muted); }
.lead-title { font-size: 22px; font-weight: 700; line-height: 1.25; margin: -8px 0 4px; }
.lead-form input, .lead-form select {
  width: 100%; height: 48px; border: 1px solid #dcdcd4; background: var(--white);
  padding: 0 16px; font-size: 16px; color: var(--black); border-radius: var(--radius);
}
.lead-form input:focus, .lead-form select:focus { outline: 2px solid var(--black); outline-offset: 0; }
.lead-form input[aria-invalid="true"] { border-color: #a33a12; }
.lead-label { font-size: 14px; color: var(--ink-3); margin-top: 4px; }
.select-wrap { position: relative; }
.select-wrap select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer; }
.select-wrap .i { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); pointer-events: none; font-size: 14px; }
.lead-error { font-size: 14px; color: #a33a12; }
.lead-submit { margin-top: 4px; width: 100%; }
.lead-submit[disabled] { opacity: .6; cursor: progress; }
.lead-success p { font-size: 16px; line-height: 1.5; color: var(--ink-3); }
.lead-success .btn { align-self: flex-start; }

/* ---------- infrastructure ---------- */
.section-dark { background: var(--black); color: var(--paper); }
.infra { padding: var(--section-y) 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; margin-bottom: 56px; }
.infra .lede { color: #b5b5ae; }
.infra-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); column-gap: 24px; row-gap: 56px; }
.infra-item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; }
.infra-icon { width: 92px; height: 92px; border-radius: var(--radius); background: var(--white); color: var(--black); display: flex; align-items: center; justify-content: center; }
.infra-icon .i { font-size: 50px; stroke-width: 2.6; }
.infra-label { font-size: 21px; line-height: 1.35; font-weight: 700; max-width: 220px; }

/* ---------- project ---------- */
.project { padding: var(--section-y) 0; }
.project-grid { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 64px; align-items: start; }
.project-text { display: flex; flex-direction: column; gap: 24px; }
.project-text .eyebrow { margin-bottom: 0; }
.project-body { display: flex; flex-direction: column; gap: 20px; max-width: 680px; padding-top: 40px; }
.slider { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.slider-frame { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--radius-lg); background: var(--argent); }
.slider-img { width: 100%; height: 100%; object-fit: cover; transition: opacity .35s ease; }
.slider-img.is-fading { opacity: 0; }
.slider-nav { position: absolute; right: 20px; bottom: 20px; display: flex; gap: 8px; }
.slider-btn { width: 52px; height: 52px; border: 0; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 20px; }
.slider-prev { background: rgba(243, 243, 235, .92); color: var(--black); }
.slider-next { background: var(--black); color: var(--paper); }
.slider-caption { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: start; }
.slider-count { font-size: 15px; color: var(--muted); white-space: nowrap; padding-top: 4px; }
.slider-title { font-size: 24px; font-weight: 700; }
.slider-text { font-size: 17px; line-height: 1.5; color: var(--ink-3); margin-top: 8px; }
.slider-dots { display: flex; gap: 6px; padding-top: 10px; }
.slider-dots button { width: 12px; height: 4px; border: 0; padding: 0; border-radius: 2px; background: #a3a49e; transition: width .2s ease; }
.slider-dots button[aria-selected="true"] { width: 28px; background: var(--black); }
.stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--argent); margin-top: 72px; }
.stats > div { padding: 28px 24px 0 0; display: flex; flex-direction: column-reverse; gap: 10px; justify-content: flex-end; }
.stats dt { font-size: 16px; color: var(--ink-3); }
.stats dd { font-size: clamp(34px, 3.2vw, 46px); line-height: 1; font-weight: 700; white-space: nowrap; }

/* ---------- installment ---------- */
.installment { background: var(--accent); color: var(--black); padding: var(--section-y) 0; }
.installment .eyebrow { color: var(--black); }
.installment-grid { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 64px; align-items: stretch; }
.installment-terms { display: flex; flex-direction: column; justify-content: space-between; gap: 48px; }
.pay-list li { border-top: 1px solid rgba(22, 22, 22, .35); padding: 22px 0; display: flex; align-items: baseline; gap: 24px; }
.pay-value { font-size: clamp(40px, 3.9vw, 56px); font-weight: 700; line-height: 1; width: 130px; flex-shrink: 0; }
.pay-label { font-size: 18px; line-height: 1.45; }
.installment-units { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.units-head { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.unit-tabs { display: flex; gap: 10px; flex-wrap: wrap; }
.unit-tab { min-height: 48px; padding: 0 18px; border-radius: var(--radius); font-size: 16px; background: transparent; color: var(--black); border: 1px solid rgba(22, 22, 22, .45); }
.unit-tab[aria-selected="true"] { background: var(--black); color: var(--paper); border-color: var(--black); font-weight: 700; }
.unit-plan { height: clamp(260px, 34vw, 480px); display: flex; align-items: center; justify-content: center; }
.unit-plan-img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .18)); }
.handover { border-top: 1px solid rgba(22, 22, 22, .35); padding-top: 28px; display: grid; grid-template-columns: 220px 1fr; gap: 40px; }
.handover-facts { display: flex; flex-direction: column; gap: 24px; }
.handover-facts dt { font-size: 14px; font-weight: 700; letter-spacing: 0.04em; color: rgba(22, 22, 22, .7); }
.handover-facts dd { font-size: 26px; font-weight: 700; margin-top: 6px; }
.cond-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; row-gap: 14px; align-content: start; }
.cond-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 17px; line-height: 1.45; }
.cond-list .i { font-size: 18px; stroke-width: 2.6; margin-top: 2px; }

/* ---------- CTA ---------- */
.cta { padding: 96px 0; }
.cta-inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 64px; }
.cta .eyebrow { margin-bottom: 14px; font-size: 18px; }
.cta .h2 { max-width: 760px; }
.cta-actions { display: flex; align-items: center; gap: 28px; flex-shrink: 0; }
.cta-call { font-size: 18px; }
.cta .btn { min-height: 60px; padding: 0 44px; font-size: 18px; }

/* ---------- footer ---------- */
.site-footer { background: var(--black); color: var(--paper); padding: 80px 0 calc(40px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line-dark); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 48px; }
.footer-brand { display: flex; flex-direction: column; gap: 24px; }
.footer-brand .logo { height: 30px; width: auto; color: var(--paper); }
.footer-brand p { font-size: 16px; line-height: 1.6; color: #b5b5ae; max-width: 340px; }
.social { display: flex; gap: 10px; }
.social a { width: 40px; height: 40px; border: 1px solid #3f3f3b; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; color: #e4e4dc; }
.social .i { font-size: 18px; stroke-width: 1.6; }
.footer-col { display: flex; flex-direction: column; gap: 14px; }
.footer-col h3 { font-size: 14px; font-weight: 700; letter-spacing: 0.06em; color: var(--foil); }
.footer-col h3:not(:first-child) { margin-top: 10px; }
.footer-col a, .footer-col p { font-size: 16px; line-height: 1.5; color: #e4e4dc; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 24px; border-top: 1px solid var(--line-dark); margin-top: 64px; padding-top: 24px; font-size: 14px; color: #8c8c85; }
.footer-legal { display: flex; gap: 28px; }

/* ================= responsive ================= */

/* large tablets / small laptops */
@media (max-width: 1200px) {
  .lead-card { width: 340px; }
  .project-grid, .installment-grid { gap: 48px; }
  .handover { grid-template-columns: 1fr; gap: 24px; }
  .handover-facts { flex-direction: row; gap: 40px; }
}

/* tablets */
@media (max-width: 1024px) {
  .hero { min-height: auto; flex-direction: column; align-items: stretch; }
  .hero-media { position: absolute; height: max(680px, 88svh); }
  .hero-inner { flex-direction: column; align-items: stretch; padding-top: 0; padding-bottom: 0; gap: 0; }
  .hero-copy { min-height: max(680px, 88svh); justify-content: flex-end; padding: 140px 0 48px; max-width: none; }
  .lead-card {
    width: 100%; max-width: 640px; align-self: center;
    margin: 0 0 48px; background: var(--paper);
    -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none;
  }
  .hero { background: var(--black); }
  .project-grid, .installment-grid { grid-template-columns: 1fr; }
  .project-body { padding-top: 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .infra-grid { column-gap: 16px; }
  .infra-icon { width: 80px; height: 80px; }
  .infra-icon .i { font-size: 44px; }
  .infra-label { font-size: 18px; }
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 28px; }
  .installment-terms { gap: 32px; }
  .installment-terms .btn { align-self: flex-start; }
  .cta-inner { flex-direction: column; align-items: flex-start; gap: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* small tablets */
@media (max-width: 860px) {
  .infra-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
}

/* phones */
@media (max-width: 680px) {
  .site-header { height: 72px; display: flex; align-items: center; gap: 8px; }
  .header-logo { order: 0; margin-right: auto; }
  .header-logo .logo { height: 14px; }
  .header-actions { order: 1; gap: 8px; }
  .header-cta { display: none; }
  .header-link { display: none; }
  .header-phone { order: 2; width: 36px; height: 36px; justify-content: center; border: 1px solid rgba(243, 243, 235, .6); border-radius: var(--radius); }
  .header-phone span { display: none; }
  .header-phone .i { font-size: 16px; }
  .lang button { font-size: 14px; padding: 6px; }
  .hero-media, .hero-copy { min-height: max(640px, 92svh); height: max(640px, 92svh); }
  .hero-copy { padding: 96px 0 28px; gap: 16px; }
  .hero-eyebrow { font-size: 16px; }
  .offer-badge { flex-direction: column; align-self: stretch; }
  .offer-badge-amount { padding: 10px 14px; font-size: 16px; }
  .offer-badge-amount strong { font-size: 30px; }
  .offer-badge-note { padding: 10px 14px; font-size: 15px; max-width: none; }
  .lead-card { margin: 24px 0 40px; padding: 24px 20px; }
  .lead-title { font-size: 21px; }
  .infra-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; row-gap: 36px; }
  .infra-icon { width: 76px; height: 76px; }
  .infra-icon .i { font-size: 42px; }
  .infra-label { font-size: 18px; }
  .section-head { margin-bottom: 36px; }
  .slider-frame { aspect-ratio: 4 / 3; }
  .slider-btn { width: 44px; height: 44px; font-size: 18px; }
  .slider-nav { right: 12px; bottom: 12px; gap: 6px; }
  .slider-caption { grid-template-columns: 1fr auto; gap: 12px; }
  .slider-count { grid-column: 1; grid-row: 1; }
  .slider-dots { grid-column: 2; grid-row: 1; padding-top: 8px; }
  .slider-body { grid-column: 1 / -1; grid-row: 2; }
  .slider-title { font-size: 20px; }
  .slider-text { font-size: 16px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; margin-top: 40px; }
  .stats > div { padding: 24px 0 0; }
  .stats dd { font-size: 36px; }
  .stats dt { font-size: 15px; }
  .pay-list li { padding: 16px 0; gap: 18px; }
  .pay-value { width: 90px; font-size: 40px; }
  .pay-label { font-size: 16px; }
  .installment-terms .btn { align-self: stretch; }
  .unit-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; width: 100%; }
  .unit-tab { min-height: 44px; padding: 0 8px; font-size: 14px; }
  .unit-plan { height: 280px; }
  .handover-facts { gap: 16px; }
  .handover-facts dd { font-size: 20px; }
  .cond-list { grid-template-columns: 1fr; }
  .cond-list li { font-size: 16px; }
  .cta { padding: 56px 0; }
  .cta-actions { flex-direction: column-reverse; align-items: stretch; width: 100%; gap: 16px; }
  .cta-call { text-align: center; font-size: 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand .logo { height: 18px; }
  .footer-bottom { flex-direction: column-reverse; align-items: flex-start; gap: 10px; margin-top: 36px; font-size: 13px; }
  .footer-legal { gap: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .slider-img, .slider-dots button { transition: none; }
}

/* =================================================================
   Apartment picker (js/picker.js) and reservation dialog
   ================================================================= */
.hero-pick { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; font-size: 18px; font-weight: 700; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.hero-pick .i { font-size: 18px; }
.btn-line { background: transparent; color: var(--black); border-color: var(--black); }

.picker { padding: var(--section-y) 0; background: var(--paper); scroll-margin-top: 0; }
.picker-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; margin-bottom: 32px; }
.picker-head .eyebrow { margin-bottom: 12px; }
.picker-head .lede { color: var(--ink-3); }

.pk-crumbs { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; font-size: 16px; min-height: 32px; flex-wrap: wrap; }
.pk-crumb { background: none; border: 0; padding: 4px 0; color: var(--muted); font-size: 16px; }
.pk-crumb:not(:disabled):hover { color: var(--black); text-decoration: underline; }
button.pk-crumb:disabled { color: var(--black); font-weight: 700; cursor: default; }
.pk-crumb[aria-current="step"], .pk-crumb-unit { color: var(--black); font-weight: 700; }
.pk-crumb-sep { color: var(--argent); }
[hidden].pk-crumb, [hidden].pk-crumb-sep, .pk-crumbs[hidden] { display: none !important; }

.pk-media { position: relative; line-height: 0; user-select: none; -webkit-user-select: none; }
.pk-img { width: 100%; height: auto; display: block; }
.pk-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }

/* step 1: building */
.pk-building { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; align-items: stretch; }
.pk-media-building { align-self: start; border-radius: var(--radius-lg); overflow: hidden; background: var(--argent); } /* never stretch to the floor list: the floor bands are sized to the image */
.pk-floor-shape { fill: rgba(153, 187, 104, 0); stroke: rgba(255, 255, 255, 0); stroke-width: 1.5; cursor: pointer; transition: fill .15s ease, stroke .15s ease; }
.pk-floor-shape:hover, .pk-floor-shape.is-hover, .pk-floor-shape:focus-visible { fill: rgba(153, 187, 104, .62); stroke: #fff; outline: none; }
.pk-floor-shape.is-full:hover, .pk-floor-shape.is-full.is-hover, .pk-floor-shape.is-full:focus-visible { fill: rgba(22, 22, 22, .45); }
.pk-tip { position: absolute; z-index: 2; pointer-events: none; line-height: 1.3; background: var(--black); color: var(--paper); border-radius: var(--radius); padding: 10px 14px; display: flex; flex-direction: column; gap: 2px; font-size: 14px; white-space: nowrap; }
.pk-tip strong { font-size: 16px; }
.pk-floors { display: flex; flex-direction: column; gap: 14px; min-height: 0; position: relative; }
.pk-floors > * { flex-shrink: 0; }
.pk-floors-hint { font-size: 14px; line-height: 1.5; color: var(--muted); }
.pk-floors-title { font-size: 15px; font-weight: 700; letter-spacing: .04em; color: var(--muted); }
.pk-floor-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; align-content: start; }
.pk-floor-list li { flex-shrink: 0; }
.pk-floor-btn { width: 100%; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px; min-height: 60px; padding: 10px 12px; background: var(--white); border: 1px solid #e2e2da; border-radius: var(--radius); text-align: left; font-size: 15px; }
.pk-floor-btn:hover, .pk-floor-btn.is-hover { border-color: var(--black); }
.pk-floor-num { font-size: 17px; font-weight: 700; line-height: 1.1; white-space: nowrap; }
.pk-floor-free { color: #4d6b26; font-weight: 700; font-size: 12px; line-height: 1.2; white-space: nowrap; }
.pk-floor-btn.is-full { background: transparent; }
.pk-floor-btn.is-full .pk-floor-free { color: var(--muted); font-weight: 400; }

/* step 2: floor */
.pk-floor-bar { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 20px; }
.pk-floor-switch { display: flex; align-items: center; gap: 14px; min-width: 0; max-width: 100%; }
.pk-floor-label { font-size: 15px; font-weight: 700; color: var(--muted); flex-shrink: 0; }
.pk-chips { display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; padding: 2px; }
.pk-chips::-webkit-scrollbar { display: none; }
.pk-chip { flex: 0 0 auto; height: 40px; padding: 0 12px; border-radius: var(--radius); border: 1px solid #d5d5cd; background: var(--white); font-size: 14px; font-weight: 700; color: var(--black); white-space: nowrap; font-variant-numeric: tabular-nums; }
.pk-chip:hover { border-color: var(--black); }
.pk-chip[aria-pressed="true"] { background: var(--black); border-color: var(--black); color: var(--paper); }
.pk-chip.is-full { color: var(--muted); background: transparent; }
.pk-icon-btn { width: 44px; height: 44px; border-radius: var(--radius); border: 1px solid var(--black); background: transparent; display: inline-flex; align-items: center; justify-content: center; font-size: 18px; }
.pk-icon-btn:disabled { opacity: .3; cursor: default; }
.pk-legend { display: flex; gap: 20px; flex-wrap: wrap; font-size: 15px; color: var(--ink-3); }
.pk-legend li { display: flex; align-items: center; gap: 8px; }
.pk-swatch { width: 16px; height: 16px; border-radius: 2px; display: inline-block; border: 1px solid rgba(22, 22, 22, .25); }
.pk-swatch.is-available { background: rgba(153, 187, 104, .75); }
.pk-swatch.is-held { background: repeating-linear-gradient(45deg, #bab8a3 0 3px, #e9e8de 3px 6px); }
.pk-swatch.is-reserved, .pk-swatch.is-sold { background: #c0503f; }

.pk-floor-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.pk-plan-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius-lg); }
.pk-swipe { display: none; font-size: 14px; color: var(--muted); margin-top: -10px; }
.pk-card-main { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.pk-card-act { display: flex; flex-direction: column; gap: 10px; }
.pk-card-side { min-width: 0; }
.pk-media-plan { padding: 16px; grid-area: plan; }

/* site context around the floor plan: yard on top, streets below and on the right */
.pk-site { display: grid; grid-template-columns: minmax(0, 1fr) 60px; grid-template-areas: "yard yard" "plan side" "street street"; gap: 10px; background: var(--white); border-radius: var(--radius-lg); padding: 12px; }
.pk-site-yard { grid-area: yard; justify-self: end; width: 50%; display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 60px; border-radius: var(--radius); background: repeating-linear-gradient(135deg, #99bb68 0 12px, #8eb15c 12px 24px); color: #16260a; font-size: 17px; font-weight: 700; letter-spacing: .02em; }
.pk-site-yard .i { font-size: 24px; }
.pk-site-street { position: relative; display: flex; align-items: center; justify-content: center; border-radius: var(--radius); background: #44443f; color: #fff; font-size: 16px; font-weight: 700; letter-spacing: .03em; }
.pk-site-street::before { content: ""; position: absolute; left: 14px; right: 14px; top: 50%; border-top: 2px dashed rgba(255, 255, 255, .55); }
.pk-site-street span { position: relative; background: #44443f; padding: 0 16px; white-space: nowrap; }
.pk-site-street-h { grid-area: street; min-height: 60px; }
.pk-site-street-v { grid-area: side; writing-mode: vertical-rl; }
.pk-site-street-v::before { left: 50%; right: auto; top: 14px; bottom: 14px; border-top: 0; border-left: 2px dashed rgba(255, 255, 255, .55); }
.pk-site-street-v span { padding: 16px 0; }
.pk-media-plan .pk-svg { inset: 16px; width: calc(100% - 32px); height: calc(100% - 32px); }
.pk-unit-shape polygon { stroke: #161616; stroke-width: 1; cursor: pointer; transition: fill .15s ease; }
.pk-unit-shape text { font-family: var(--font); font-weight: 700; text-anchor: middle; dominant-baseline: central; pointer-events: none; fill: #161616; paint-order: stroke; stroke: rgba(255, 255, 255, .8); stroke-width: 4px; }
.pk-unit-shape.is-available polygon { fill: rgba(153, 187, 104, .22); }
.pk-unit-shape.is-available:hover polygon, .pk-unit-shape.is-available:focus-visible polygon { fill: rgba(153, 187, 104, .42); }
.pk-unit-shape.is-held polygon { fill: rgba(186, 184, 163, .55); }
.pk-unit-shape.is-reserved polygon, .pk-unit-shape.is-sold polygon { fill: rgba(192, 80, 63, .4); }
.pk-unit-shape.is-reserved text, .pk-unit-shape.is-sold text { fill: #fff; stroke: rgba(110, 30, 20, .55); }
.pk-unit-shape:hover polygon { stroke-width: 2; }
.pk-unit-shape.is-locked polygon { cursor: not-allowed; }
.pk-unit-shape.is-locked:hover polygon { stroke-width: 1; }
.pk-unit-shape:focus { outline: none; }
.pk-unit-shape:focus-visible polygon, .pk-unit-shape.is-selected polygon { stroke-width: 4; }
.pk-unit-shape.is-selected.is-available polygon { fill: rgba(153, 187, 104, .5); stroke: #3f5c1c; }

.pk-unit { background: var(--white); border-radius: var(--radius-lg); padding: 32px; scroll-margin-top: 16px; }
.pk-card-empty { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; color: var(--ink-3); }
.pk-card-empty .i { font-size: 32px; stroke-width: 1.6; color: var(--muted); }
.pk-card-hint { font-size: 20px; font-weight: 700; color: var(--black); }
.pk-card-sum { font-size: 16px; }
.pk-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "main uplan" "det plan"; gap: 32px 56px; align-items: start; }
.pk-card-main { grid-area: main; }
.pk-uplan { grid-area: uplan; }
.pk-card-det { grid-area: det; border-top: 1px solid #e8e8e1; padding-top: 22px; }
.pk-plan { grid-area: plan; }
.pk-card-det .pk-details ul { grid-template-columns: 1fr; gap: 14px; }
.pk-card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.pk-badge { display: inline-flex; align-items: center; min-height: 28px; padding: 0 10px; border-radius: var(--radius); font-size: 14px; font-weight: 700; white-space: nowrap; }
.pk-badge.is-available { background: var(--accent); color: var(--black); }
.pk-badge.is-held { background: var(--foil); color: var(--black); }
.pk-badge.is-reserved, .pk-badge.is-sold { background: #b5473a; color: #fff; }
.pk-card-title { font-size: 40px; font-weight: 700; line-height: 1; letter-spacing: -0.01em; }
.pk-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 15px; color: var(--ink-2); border-top: 1px solid #e8e8e1; border-bottom: 1px solid #d5d5cd; padding: 12px 0; }
.pk-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--black); display: inline-block; }
.pk-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.pk-stats div { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.pk-stats span { font-size: 14px; color: var(--ink-3); }
.pk-stats strong { font-size: 30px; line-height: 1; font-weight: 700; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.pk-stats .is-ppm { color: #8a8463; }
.pk-stats .pk-stat-total { grid-column: 1 / -1; border-top: 1px solid #e8e8e1; padding-top: 16px; }
.pk-stats .is-total { font-size: 38px; color: #557530; }
.pk-details h4 { font-size: 16px; font-weight: 700; letter-spacing: .04em; margin-bottom: 12px; }
.pk-details ul { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
.pk-details li { display: flex; align-items: center; gap: 10px; font-size: 15px; line-height: 1.3; min-width: 0; }
.pk-details li .i { font-size: 24px; flex-shrink: 0; stroke-width: 1.5; }
.pk-details b { font-weight: 700; white-space: nowrap; }
.pk-reserve { width: 100%; max-width: 420px; }
.pk-uplan { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.pk-uplan-btn { display: block; width: 100%; padding: 16px; background: var(--white); border: 1px solid #e2e2da; border-radius: var(--radius); cursor: zoom-in; }
.pk-uplan-btn:hover { border-color: var(--black); }
.pk-uplan-btn img { display: block; width: 100%; height: 360px; object-fit: contain; margin: 0 auto; }
.pk-uplan figcaption { font-size: 13px; color: var(--muted); }
.pk-zoom { width: min(960px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); border: 0; border-radius: var(--radius-lg); padding: 48px 24px 24px; background: var(--white); }
.pk-zoom::backdrop { background: rgba(22, 22, 22, .7); }
.pk-zoom img { display: block; width: 100%; max-height: calc(100dvh - 120px); object-fit: contain; }
.pk-zoom .rsv-close { position: absolute; top: 6px; right: 6px; }
.pk-card-side { display: flex; flex-direction: column; gap: 28px; }
.pk-plan { border-top: 1px solid #e8e8e1; padding-top: 22px; display: flex; flex-direction: column; gap: 14px; }
.pk-plan-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.pk-plan-head h4 { font-size: 16px; font-weight: 700; letter-spacing: .04em; }
.pk-plan-head p { font-size: 14px; color: var(--ink-3); margin-top: 4px; }
.pk-plan-total { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; text-align: right; }
.pk-plan-total span { font-size: 13px; color: var(--ink-3); }
.pk-plan-total strong { font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; }
.pk-plan-steps { display: flex; flex-direction: column; background: var(--paper); border-radius: var(--radius); }
.pk-plan-steps li { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; grid-template-areas: "pct label amt" "pct sub sub"; column-gap: 12px; row-gap: 2px; align-items: center; padding: 14px 16px; }
.pk-plan-steps li + li { border-top: 1px solid #e2e2da; }
.pk-plan-pct { grid-area: pct; justify-self: start; background: var(--accent); color: var(--black); font-size: 13px; font-weight: 700; padding: 3px 7px; border-radius: 3px; }
.pk-plan-label { grid-area: label; font-size: 15px; color: var(--ink-2); }
.pk-plan-amt { grid-area: amt; font-size: 22px; font-weight: 700; line-height: 1.1; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.pk-plan-amt small { font-size: 14px; font-weight: 400; color: var(--ink-3); }
.pk-plan-sub { grid-area: sub; font-size: 13px; color: var(--muted); }
.pk-plan-note { font-size: 13px; color: var(--muted); }
.pk-card-note { font-size: 14px; line-height: 1.5; color: var(--ink-3); }
.pk-card-actions { display: flex; flex-direction: column; gap: 8px; }

/* reservation dialog */
.rsv { width: min(480px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); border: 0; border-radius: var(--radius-lg); padding: 0; background: var(--paper); color: var(--black); box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
.rsv::backdrop { background: rgba(22, 22, 22, .6); }
.rsv-form { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 32px 28px 28px; }
.rsv-close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; background: none; border: 0; font-size: 20px; display: flex; align-items: center; justify-content: center; }
.rsv-eyebrow { font-size: 14px; font-weight: 700; color: var(--muted); }
.rsv-title { font-size: 26px; font-weight: 700; line-height: 1.2; margin-top: -6px; padding-right: 36px; }
.rsv-sub { font-size: 15px; line-height: 1.5; color: var(--ink-3); }
.rsv-field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--ink-3); }
.rsv-field input { height: 48px; border: 1px solid #dcdcd4; background: var(--white); border-radius: var(--radius); padding: 0 14px; font-size: 16px; color: var(--black); }
.rsv-field input:focus { outline: 2px solid var(--black); outline-offset: 0; }
.rsv-field input[aria-invalid="true"] { border-color: #a33a12; }
.rsv-banks { border: 0; padding: 0; margin: 0; }
.rsv-banks legend { font-size: 14px; color: var(--ink-3); margin-bottom: 6px; padding: 0; }
.rsv-bank-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.rsv-bank { position: relative; display: flex; align-items: center; justify-content: center; min-height: 52px; border: 1px solid #dcdcd4; border-radius: var(--radius); background: var(--white); font-size: 15px; font-weight: 700; cursor: pointer; text-align: center; padding: 0 8px; }
.rsv-bank input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.rsv-bank:has(input:checked) { border: 2px solid var(--black); }
.rsv-bank:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.rsv-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.4; cursor: pointer; }
.rsv-consent input { width: 20px; height: 20px; margin: 0; flex-shrink: 0; accent-color: var(--black); }
.rsv-consent a { text-decoration: underline; }
.rsv-error { font-size: 14px; color: #a33a12; }
.rsv-submit { width: 100%; margin-top: 4px; }
.rsv-submit:disabled { opacity: .6; cursor: progress; }
.rsv-note { font-size: 13px; color: var(--muted); }
.rsv-note:empty { display: none; }

@media (max-width: 1200px) {
  .pk-building { grid-template-columns: minmax(0, 1fr) 260px; }
}
@media (max-width: 1024px) {
  .picker-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .pk-building { grid-template-columns: 1fr; }
  .pk-card { grid-template-columns: 1fr; grid-template-areas: "main" "uplan" "det" "plan"; }
  .pk-uplan-btn img { height: auto; max-height: 420px; }
  .pk-floor-list { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .pk-unit { min-height: 0; }
}
@media (max-width: 680px) {
  .pk-floor-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pk-floor-btn { min-height: 58px; padding: 8px 10px; }
  .pk-floor-bar { flex-direction: column; align-items: stretch; gap: 14px; }
  .pk-floor-switch { width: 100%; }
  .pk-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--gutter)); padding: 2px var(--gutter); }
  .pk-legend { gap: 8px 16px; font-size: 14px; }
  .pk-site { width: 1000px; padding: 8px; }
  .pk-media-plan { padding: 8px; }
  .pk-media-plan .pk-svg { inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); }
  .pk-swipe { display: block; }
  .pk-plan-scroll { margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); border-radius: 0; }
  .pk-unit { padding: 22px 18px; }
  .pk-card-title { font-size: 34px; }
  .pk-plan-steps li { padding: 12px; column-gap: 10px; grid-template-columns: 44px minmax(0, 1fr) auto; }
  .pk-plan-head { flex-direction: column; gap: 10px; }
  .pk-plan-total { flex-direction: row; align-items: baseline; justify-content: space-between; width: 100%; text-align: left; }
  .pk-plan-amt { font-size: 19px; }
  .pk-stats strong { font-size: 26px; }
  .pk-stats .is-total { font-size: 32px; }
  .rsv { width: 100vw; max-width: 100vw; max-height: 92dvh; margin: auto 0 0; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
  .rsv-form { padding: 28px 20px calc(24px + env(safe-area-inset-bottom, 0px)); }
}
@media (prefers-reduced-motion: reduce) {
  .pk-floor-shape, .pk-unit-shape polygon { transition: none; }
}

/* ---------- multi-apartment selection ---------- */
.pk-unit-shape.is-available.is-picked polygon, .pk-unit-shape.is-available.is-picked:hover polygon, .pk-unit-shape.is-available.is-picked:focus-visible polygon, .pk-unit-shape.is-selected.is-available.is-picked polygon { fill: rgba(63, 92, 28, .5); }
.pk-unit-shape.is-picked text { fill: #fff; stroke: rgba(30, 50, 10, .6); }
.pk-swatch.is-picked { background: rgba(63, 92, 28, .78); }
.pk-floor-btn { position: relative; }
.pk-floor-picked { position: absolute; top: 8px; right: 8px; background: var(--black); color: var(--paper); font-size: 11px; font-weight: 700; line-height: 1; padding: 4px 6px; border-radius: 3px; }
.pk-chip { position: relative; }
.pk-chip.has-picked::after { content: ""; position: absolute; top: 4px; right: 4px; width: 7px; height: 7px; border-radius: 50%; background: #3f5c1c; }
.pk-chip[aria-pressed="true"].has-picked::after { background: var(--accent); }
.pk-toggle { gap: 10px; }
.pk-toggle .i { font-size: 18px; }
.pk-sel-on { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 0 0 0 16px; border-radius: var(--radius); background: rgba(153, 187, 104, .25); }
.pk-sel-tick { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: #2f4a12; }
.pk-sel-tick .i { font-size: 20px; }
.pk-sel-on .btn { min-height: 52px; padding: 0 22px; }
.pk-card-warn { color: #a33a12 !important; }
.pk-refund, .rsv-refund { display: flex; gap: 12px; align-items: flex-start; font-size: 17px; line-height: 1.4; color: #16260a; background: var(--accent); border-radius: var(--radius); padding: 16px 18px; }
.pk-refund strong, .rsv-refund strong { font-weight: 700; }
.pk-refund .i, .rsv-refund .i { flex-shrink: 0; font-size: 24px; margin-top: 0; stroke-width: 2.2; }

.pk-bar { position: sticky; top: calc(10px + env(safe-area-inset-top, 0px)); z-index: 5; margin-bottom: 20px; display: flex; align-items: center; justify-content: space-between; gap: 20px; background: var(--black); color: var(--paper); border-radius: var(--radius-lg); padding: 14px 16px 14px 20px; box-shadow: 0 14px 40px rgba(0, 0, 0, .22); }
.pk-bar[hidden] { display: none; }
.pk-bar-info { display: flex; align-items: center; gap: 16px; min-width: 0; }
.pk-bar-count { font-size: 16px; white-space: nowrap; }
.pk-bar-list { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; min-width: 0; }
.pk-bar-list::-webkit-scrollbar { display: none; }
.pk-bar-list li { flex: 0 0 auto; display: flex; align-items: center; background: #2c2c29; border-radius: var(--radius); }
.pk-bar-go { background: none; border: 0; color: var(--paper); font-size: 15px; font-weight: 700; padding: 0 4px 0 12px; min-height: 40px; }
.pk-bar-x { background: none; border: 0; color: #b8b8ae; width: 36px; height: 40px; display: flex; align-items: center; justify-content: center; font-size: 15px; }
.pk-bar-x:hover { color: var(--paper); }
.pk-bar-act { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.pk-bar-total { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.pk-bar-total span { font-size: 13px; color: #b8b8ae; }
.pk-bar-total strong { font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; }
.pk-bar-cta { background: var(--accent); color: var(--black); font-weight: 700; padding: 0 28px; }
.rsv-apts { display: flex; flex-direction: column; gap: 6px; }
.rsv-apts:empty { display: none; }
.rsv-apts li { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; padding: 0 0 0 14px; background: var(--white); border: 1px solid #e2e2da; border-radius: var(--radius); font-size: 15px; }
.rsv-apts .pk-bar-x { color: var(--muted); }
.rsv-apts .pk-bar-x:hover { color: var(--black); }
@media (max-width: 680px) {
  .pk-bar { flex-direction: column; align-items: stretch; gap: 10px; padding: 12px; }
  .pk-bar-info { gap: 10px; }
  .pk-bar-count { font-size: 14px; }
  .pk-bar-act { justify-content: space-between; }
  .pk-bar-total { align-items: flex-start; }
  .pk-bar-total strong { font-size: 20px; }
  .pk-bar-cta { flex: 1; min-height: 44px; }
  .pk-sel-on { padding-left: 12px; }
}

.pk-chips::-webkit-scrollbar { display: none; }
.pk-bar.is-bump { animation: pk-bump .6s ease; }
@keyframes pk-bump { 0% { transform: scale(1); } 35% { transform: scale(1.015); box-shadow: 0 0 0 4px var(--accent), 0 14px 40px rgba(0, 0, 0, .22); } 100% { transform: scale(1); } }
.pk-bar-list li.is-new { background: var(--accent); }
.pk-bar-list li.is-new .pk-bar-go, .pk-bar-list li.is-new .pk-bar-x { color: var(--black); }
@media (prefers-reduced-motion: reduce) { .pk-bar.is-bump { animation: none; } }

/* reservation terms dialog */
.pk-terms { width: min(760px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); border: 0; border-radius: var(--radius-lg); padding: 0; background: var(--paper); color: var(--black); box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
.pk-terms::backdrop { background: rgba(22, 22, 22, .6); }
.pk-terms .rsv-close { position: sticky; float: right; top: 8px; margin: 8px 8px 0 0; z-index: 1; }
.pk-terms-body { padding: 32px 32px 36px; }
@media (max-width: 680px) { .pk-terms-body { padding: 24px 20px 28px; } .pk-site-yard { font-size: 15px; } .pk-refund, .rsv-refund { font-size: 16px; padding: 14px; } }

/* reservation terms (terms.html and the in-page dialog) */
.terms, .pk-terms-body { color: var(--black); }
.terms-eyebrow, .pk-terms-body .terms-eyebrow { font-size: 14px; font-weight: 700; letter-spacing: .04em; color: var(--muted); }
.terms h1, .pk-terms-body h1 { font-size: 34px; line-height: 1.15; font-weight: 700; margin-top: 8px; }
.terms-date { font-size: 14px; color: var(--muted); margin-top: 8px; }
.terms-key { margin: 24px 0 8px; background: var(--accent); color: #16260a; border-radius: var(--radius); padding: 18px 20px; font-size: 18px; line-height: 1.45; font-weight: 700; }
.terms h2, .pk-terms-body h2 { font-size: 20px; font-weight: 700; margin-top: 28px; }
.terms p, .terms li, .pk-terms-body p, .pk-terms-body li { font-size: 16px; line-height: 1.6; color: var(--ink-3); margin-top: 10px; }
.terms ul, .pk-terms-body ul { padding-left: 20px; list-style: disc; }
.terms li::marker, .pk-terms-body li::marker { color: var(--accent); }
.terms strong, .pk-terms-body strong { color: var(--black); }
.terms mark, .pk-terms-body mark { background: #f5e27a; color: var(--black); padding: 0 3px; border-radius: 2px; }
@media (max-width: 680px) { .terms h1, .pk-terms-body h1 { font-size: 26px; } .terms-key { font-size: 16px; } }

/* reservations not open yet */
.pk-soon { display: flex; gap: 12px; align-items: flex-start; background: var(--accent); color: #16260a; border-radius: var(--radius); padding: 16px 18px; }
.pk-soon .i { flex-shrink: 0; font-size: 24px; stroke-width: 2.2; }
.pk-soon div { display: flex; flex-direction: column; gap: 4px; }
.pk-soon strong { font-size: 18px; font-weight: 700; line-height: 1.3; }
.pk-soon span { font-size: 15px; line-height: 1.45; }

/* registration confirmed: event programme dialog */
.lead-info { width: min(520px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); border: 0; border-radius: var(--radius-lg); padding: 32px 28px 28px; background: var(--paper); color: var(--black); box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
.lead-info::backdrop { background: rgba(22, 22, 22, .6); }
.lead-info .rsv-close { position: absolute; top: 12px; right: 12px; }
.lead-info-h { font-size: 22px; font-weight: 700; line-height: 1.25; margin-top: 18px; padding-right: 36px; }
.lead-info .rsv-eyebrow + .lead-info-h { margin-top: 6px; }
.lead-info ul { list-style: disc; padding-left: 20px; margin-top: 8px; }
.lead-info li { font-size: 16px; line-height: 1.5; color: var(--ink-3); margin-top: 6px; }
.lead-info li::marker { color: var(--accent); }
.lead-info-ok { width: 100%; margin-top: 24px; }
@media (max-width: 680px) {
  .lead-info { width: 100vw; max-width: 100vw; max-height: 92dvh; margin: auto 0 0; border-radius: var(--radius-lg) var(--radius-lg) 0 0; padding: 28px 20px calc(24px + env(safe-area-inset-bottom, 0px)); }
}

/* hero: reservation fee, opens the reservation policy */
.hero-rsv { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; align-self: flex-start; padding: 12px 16px; border: 1px solid rgba(255, 255, 255, .55); border-radius: var(--radius); background: rgba(22, 22, 22, .35); color: var(--white); font: inherit; font-size: 17px; line-height: 1.3; text-align: left; cursor: pointer; text-shadow: none; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background .2s, border-color .2s; }
.hero-rsv:hover { background: rgba(22, 22, 22, .55); border-color: var(--white); }
.hero-rsv:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.hero-rsv .i { font-size: 22px; flex-shrink: 0; color: var(--accent); }
.hero-rsv-text strong { font-weight: 700; color: var(--accent); }
.hero-rsv-more { font-size: 15px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.rsv-policy-fee { margin-top: 10px; font-size: 18px; }
.rsv-policy-fee strong { font-weight: 700; }
.rsv-policy-refund { margin-top: 18px; }
.rsv-policy-terms { display: inline-block; margin-top: 16px; font-size: 15px; text-decoration: underline; text-underline-offset: 3px; color: var(--ink-3); }
.rsv-policy .lead-info-ok { display: flex; align-items: center; justify-content: center; text-align: center; }
@media (max-width: 680px) {
  .hero-rsv { display: grid; grid-template-columns: auto 1fr; align-self: stretch; font-size: 15px; padding: 10px 14px; }
  .hero-rsv-more { grid-column: 2; }
}

/* picker header: reservation fee + terms (light background variant of .hero-rsv) */
.picker-head-side { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.hero-rsv.pk-rsv { color: var(--black); background: var(--white); border-color: #dcdcd4; -webkit-backdrop-filter: none; backdrop-filter: none; }
.hero-rsv.pk-rsv:hover { background: var(--white); border-color: var(--black); }
.hero-rsv.pk-rsv .i { color: #4f7a1f; }
.hero-rsv.pk-rsv .hero-rsv-text strong { color: var(--black); }
.pk-soon-terms { align-self: flex-start; margin-top: 4px; padding: 0; border: 0; background: none; color: inherit; font: inherit; font-size: 15px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
@media (max-width: 680px) { .picker-head-side { align-items: stretch; } }

/* apartment card: payment option toggle (instalments / full payment) */
.pk-pay { display: inline-grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin-top: 4px; background: #ecece4; border-radius: var(--radius); align-self: flex-start; }
.pk-pay-opt { min-height: 40px; padding: 0 16px; border: 0; border-radius: 3px; background: transparent; color: var(--ink-3); font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; transition: background .15s, color .15s; }
.pk-pay-opt:hover { color: var(--black); }
.pk-pay-opt[aria-pressed="true"] { background: var(--white); color: var(--black); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.pk-pay-opt:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.pk-pay-save { margin-top: 12px; padding: 10px 14px; background: var(--accent); color: #16260a; border-radius: var(--radius); font-size: 15px; font-weight: 700; }
@media (max-width: 680px) { .pk-pay { display: grid; align-self: stretch; } }

/* registration form: attention cue after a "register" button is pressed */
.lead-card.is-attention { animation: lead-attention 1.2s cubic-bezier(.3, .7, .4, 1); }
@keyframes lead-attention {
  0% { transform: scale(1); box-shadow: 0 24px 60px rgba(0, 0, 0, .25), 0 0 0 0 rgba(153, 187, 104, .9); }
  16% { transform: scale(1.035); }
  30% { transform: scale(.99); }
  44% { transform: scale(1.02); }
  58% { transform: scale(1); box-shadow: 0 24px 60px rgba(0, 0, 0, .25), 0 0 0 10px rgba(153, 187, 104, .6); }
  100% { transform: scale(1); box-shadow: 0 24px 60px rgba(0, 0, 0, .25), 0 0 0 24px rgba(153, 187, 104, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .lead-card.is-attention { animation: lead-attention-calm 1.4s ease-out; }
  @keyframes lead-attention-calm {
    0%, 60% { box-shadow: 0 24px 60px rgba(0, 0, 0, .25), 0 0 0 4px rgba(153, 187, 104, .9); }
    100% { box-shadow: 0 24px 60px rgba(0, 0, 0, .25), 0 0 0 4px rgba(153, 187, 104, 0); }
  }
}

/* apartment card: reservation terms as a list */
.pk-soon-list { display: flex; flex-direction: column; gap: 6px; margin: 4px 0 0; padding-left: 18px; list-style: disc; }
.pk-soon-list li { font-size: 15px; line-height: 1.45; }
.pk-soon-list li::marker { color: #16260a; }

/* ---------- master plan (project section) ---------- */
.project-head { margin-bottom: 32px; }
.project-head .eyebrow { margin-bottom: 12px; }
.masterplan { margin: 0 0 72px; display: flex; flex-direction: column; gap: 16px; }
.mp-frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--argent); line-height: 0; }
.mp-img { display: block; width: 100%; height: auto; }
.mp-label { position: absolute; transform: translate(-50%, -50%); display: inline-flex; flex-direction: column; align-items: center; gap: 2px; padding: 7px 12px; border-radius: var(--radius); background: rgba(22, 22, 22, .86); color: #f3f3eb; font-size: 15px; font-weight: 700; line-height: 1.15; white-space: nowrap; box-shadow: 0 6px 18px rgba(0, 0, 0, .22); }
.mp-label.is-now { background: var(--accent); color: #16260a; padding: 9px 14px; font-size: 16px; transition: transform .15s ease, box-shadow .15s ease; }
.mp-label.is-now span { font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.mp-label.is-now:hover, .mp-label.is-now:focus-visible { transform: translate(-50%, -50%) scale(1.06); box-shadow: 0 10px 26px rgba(0, 0, 0, .3); outline: none; }
.mp-label.is-now::after { content: ""; position: absolute; inset: -6px; border-radius: 8px; border: 2px solid var(--accent); opacity: 0; animation: mp-pulse 2.4s ease-out infinite; }
@keyframes mp-pulse { 0% { opacity: .9; transform: scale(.94); } 70%, 100% { opacity: 0; transform: scale(1.18); } }
.mp-street { position: absolute; transform: translate(-50%, -50%); padding: 4px 10px; border-radius: 3px; background: #2f5a2a; color: #f3f3eb; font-size: 13px; font-weight: 700; line-height: 1.2; white-space: nowrap; }
.mp-caption { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; font-size: 15px; color: var(--ink-3); line-height: 1.4; }
.mp-key { display: inline-flex; align-items: center; gap: 8px; }
.mp-dot { width: 12px; height: 12px; border-radius: 3px; background: #161616; flex-shrink: 0; }
.mp-dot.is-now { background: var(--accent); }
.mp-cta { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--black); border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.mp-cta .i { transform: rotate(-90deg); }
@media (max-width: 860px) {
  .mp-label { padding: 4px 8px; font-size: 12px; }
  .mp-label.is-now { padding: 5px 9px; font-size: 13px; }
  .mp-label.is-now span { display: none; }
  .mp-street { font-size: 10px; padding: 2px 6px; }
  .masterplan { margin-bottom: 48px; }
  .mp-cta { margin-left: 0; }
}
@media (max-width: 480px) {
  .mp-label { font-size: 10px; padding: 3px 6px; }
  .mp-label.is-now { font-size: 11px; padding: 4px 7px; }
  .mp-street { display: none; }
}
@media (prefers-reduced-motion: reduce) { .mp-label.is-now::after { animation: none; } }

/* floor plan: compass, north at about 1 o'clock */
.pk-compass { grid-area: yard; justify-self: start; align-self: center; width: 60px; height: 60px; }
.pk-compass svg { display: block; width: 100%; height: 100%; }
.pk-compass-ring { fill: var(--white); stroke: #c9c9c1; stroke-width: 1.5; }
.pk-compass-n { fill: #3f5c1c; }
.pk-compass-s { fill: #c4c5c0; }
.pk-compass-pin { fill: var(--white); stroke: #44443f; stroke-width: 1.2; }
.pk-compass-label { font-family: var(--font); font-size: 12px; font-weight: 700; fill: #3f5c1c; text-anchor: middle; dominant-baseline: central; }
@media (max-width: 860px) { .pk-compass { width: 48px; height: 48px; } }

/* ---------- event day: booking ---------- */
/* on hold = yellow, reserved = red, everywhere */
.pk-swatch.is-held { background: #e9b949; }
.pk-unit-shape.is-held polygon { fill: rgba(233, 185, 73, .62); }
.pk-unit-shape.is-held { cursor: not-allowed; }
.pk-badge.is-held { background: #e9b949; color: #4a3500; }
.pk-floor-btn.is-full, .pk-chip.is-full { opacity: .55; }
/* card: close button, primary reserve button, note for apartments someone else is reserving */
.pk-card-head { position: relative; }
.pk-card-x { margin-left: auto; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--paper); display: inline-flex; align-items: center; justify-content: center; font-size: 18px; color: var(--ink-3); cursor: pointer; flex-shrink: 0; }
.pk-card-x:hover { background: #e7e7df; color: var(--black); }
.pk-badge { margin-left: auto; }
.pk-badge + .pk-card-x { margin-left: 0; }
.pk-go { width: 100%; min-height: 56px; font-size: 17px; }
.pk-card-act .pk-toggle { width: 100%; }
.pk-card-held { background: #fbefcf; color: #4a3500; border-radius: var(--radius); padding: 12px 14px; font-weight: 700; }
/* apartment list under the floor plan: phones only */
.pk-unit-list { display: none; }
.pk-ul-item { width: 100%; display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; grid-template-areas: "num meta st" "num price st"; align-items: center; gap: 2px 12px; min-height: 60px; padding: 8px 14px; border: 1px solid #e2e2da; border-left-width: 6px; border-radius: var(--radius); background: var(--white); text-align: left; font: inherit; color: var(--black); cursor: pointer; }
.pk-ul-num { grid-area: num; font-size: 20px; font-weight: 700; }
.pk-ul-meta { grid-area: meta; font-size: 14px; color: var(--ink-3); }
.pk-ul-price { grid-area: price; font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; }
.pk-ul-st { grid-area: st; font-size: 13px; font-weight: 700; padding: 4px 8px; border-radius: var(--radius); white-space: nowrap; }
.pk-ul-item.is-available { border-left-color: #99bb68; }
.pk-ul-item.is-available .pk-ul-st { background: rgba(153, 187, 104, .3); color: #2e4d14; }
.pk-ul-item.is-held { border-left-color: #e9b949; background: #fdf7e6; cursor: not-allowed; }
.pk-ul-item.is-held .pk-ul-st { background: #e9b949; color: #4a3500; }
.pk-ul-item.is-sold { border-left-color: #c0503f; background: #f7f1ee; color: var(--muted); cursor: not-allowed; grid-template-areas: "num st st" "num st st"; }
.pk-ul-item.is-sold .pk-ul-st { background: #c0503f; color: #fff; justify-self: end; }
.pk-ul-item.is-selected { box-shadow: 0 0 0 2px var(--black); }
.pk-ul-item.is-picked { border-left-color: #3f5c1c; }
.pk-ul-item.is-picked .pk-ul-st { background: #3f5c1c; color: #fff; }
/* booking dialog: countdown and GEL */
.rsv-timer { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #fbefcf; color: #4a3500; border-radius: var(--radius); padding: 12px 14px; font-weight: 700; }
.rsv-timer:empty { display: none; }
.rsv-timer strong { font-size: 26px; line-height: 1; font-variant-numeric: tabular-nums; }
.rsv-timer.is-low { background: #f8d9cf; color: #7a2516; }
.rsv-gel { font-size: 14px; color: var(--ink-3); background: var(--paper); border-radius: var(--radius); padding: 10px 12px; }
.rsv-gel:empty { display: none; }
.pk-bar-cta[disabled], .pk-go[disabled] { opacity: .6; cursor: progress; }
/* phones: the picker comes first, the plan scrolls sideways, the apartment list is the main way to choose */
@media (max-width: 860px) {
  .picker { padding: 20px 0 40px; }
  .picker-head { margin-bottom: 18px; }
  .picker-head .h2 { font-size: 30px; }
  .pk-unit-list { display: flex; flex-direction: column; gap: 8px; margin: 14px 0 6px; padding: 0; list-style: none; }
  .pk-bar { position: fixed; top: auto; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); margin: 0; z-index: 20; }
  .picker { padding-bottom: 160px; }
  .pk-go { min-height: 58px; }
}
/* event day: the picker is the first section, so the header is a dark bar in the page flow instead of floating over the hero */
.site-header { position: relative; inset: auto; background: var(--black); height: 84px; }
.hero-inner { padding-top: 96px; }
@media (max-width: 860px) { .site-header { height: 64px; } .hero-inner { padding-top: 0; } }
.hero[hidden] { display: none; }
