:root {
  --bg: #fbfaf7;
  --bg-2: #f1ede5;
  --panel: #ffffff;
  --panel-2: #f6f3ed;
  --line: #e3ddd0;
  --text: #15212f;
  --muted: #5d6e85;
  --primary: #00a884;
  --primary-2: #14d4ad;
  --primary-deep: #00755b;
  --accent: #c46a2c;
  --warn: #d99814;
  --danger: #d94848;
  --shadow-sm: 0 1px 2px rgba(13, 26, 44, 0.04);
  --shadow: 0 1px 3px rgba(13, 26, 44, 0.05), 0 12px 32px rgba(13, 26, 44, 0.06);
  --shadow-lg: 0 30px 80px rgba(13, 26, 44, 0.10);
  --sans: "Space Grotesk", "Segoe UI", Arial, sans-serif;
  --mono: "JetBrains Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--sans); line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: var(--primary-deep); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font-family: var(--sans); }

.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 36px;
  background: rgba(251, 250, 247, 0);
  transition: background .3s, backdrop-filter .3s, border-color .3s, padding .3s;
  border-bottom: 1px solid transparent;
}
.topbar.solid {
  background: rgba(251, 250, 247, 0.85);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
  padding: 14px 36px;
}
.logo { display: flex; align-items: center; gap: 12px; font-weight: 500; color: #fff; transition: color .3s; }
.topbar.solid .logo { color: var(--text); }
.logo .mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 13px; color: #fff; font-weight: 700;
  box-shadow: 0 4px 12px rgba(0, 168, 132, 0.25);
}
.logo small { display: block; font-family: var(--mono); font-size: 11px; opacity: 0.7; font-weight: 400; }
.topnav { display: flex; gap: 28px; font-size: 14px; }
.topnav a { color: rgba(255, 255, 255, 0.85); transition: color .3s; }
.topnav a:hover { color: #fff; text-decoration: none; }
.topbar.solid .topnav a { color: var(--muted); }
.topbar.solid .topnav a:hover { color: var(--text); }
.topactions { display: flex; gap: 10px; align-items: center; }

.btn {
  padding: 10px 18px; border-radius: 8px; font-size: 13px; cursor: pointer;
  border: 1px solid rgba(255,255,255,0.4); background: rgba(255,255,255,0.12); color: #fff;
  backdrop-filter: blur(10px); font-weight: 500;
  transition: background .15s, border-color .15s, color .15s, transform .15s;
}
.btn:hover { background: rgba(255,255,255,0.22); border-color: rgba(255,255,255,0.7); }
.topbar.solid .btn { background: var(--panel); border-color: var(--line); color: var(--text); }
.topbar.solid .btn:hover { background: var(--panel-2); border-color: var(--primary); }
.btn.primary { background: var(--text); color: #fff; border-color: var(--text); }
.btn.primary:hover { background: var(--primary-deep); border-color: var(--primary-deep); transform: translateY(-1px); }

.hero {
  position: relative; height: 100vh; min-height: 720px;
  overflow: hidden; color: #fff;
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.05); will-change: opacity, transform;
  animation: hero-cycle 32s infinite;
}
@keyframes hero-cycle {
  0%   { opacity: 0; transform: scale(1.04); }
  4%   { opacity: 1; }
  25%  { opacity: 1; transform: scale(1.10); }
  29%  { opacity: 0; transform: scale(1.10); }
  100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide { animation: none; opacity: 1 !important; transform: none !important; }
  .hero-slide:not(:first-child) { display: none; }
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(13, 26, 44, 0.45) 0%, rgba(13, 26, 44, 0.0) 30%, rgba(13, 26, 44, 0.0) 60%, rgba(13, 26, 44, 0.55) 100%);
}
.hero-content {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 56px 64px; max-width: 1320px; margin: 0 auto; left: 0; right: 0;
}
.hero-eyebrow {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.32em; text-transform: uppercase;
  margin-bottom: 22px;
  /* Lift the eyebrow off potentially light backgrounds with a chip + text shadow */
  display: inline-block;
  padding: 6px 14px;
  background: rgba(13, 26, 44, 0.55);
  color: #fff;
  border-radius: 100px;
  backdrop-filter: blur(8px);
  text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}
.hero h1 {
  font-size: clamp(48px, 8vw, 112px); line-height: 1; letter-spacing: 0;
  font-weight: 400; margin: 0 0 20px;
}
.hero-sub {
  font-size: clamp(18px, 1.6vw, 22px); max-width: 620px; margin: 0 0 40px;
  opacity: 0.92; font-weight: 300;
}
.hero-price-row {
  display: flex; align-items: baseline; gap: 18px; margin: 0 0 32px;
  flex-wrap: wrap;
}
.hero-price {
  font-family: var(--sans); font-weight: 600;
  font-size: clamp(36px, 5vw, 64px); letter-spacing: 0;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0,0,0,0.55);
}
.hero-price-meta {
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.1em;
  background: rgba(255,255,255,0.18); padding: 6px 14px; border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.4); color: #fff;
  backdrop-filter: blur(6px);
}

.hero h1, .hero-sub { text-shadow: 0 2px 18px rgba(0,0,0,0.45); }

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-hero {
  padding: 16px 28px; border-radius: 12px; font-size: 14px; font-weight: 500; cursor: pointer;
  transition: transform .15s, background .15s, border-color .15s, color .15s;
  backdrop-filter: blur(10px);
}
.btn-hero.primary { background: #fff; color: var(--text); border: 1px solid #fff; }
.btn-hero.primary:hover { background: var(--primary); color: #fff; border-color: var(--primary); transform: translateY(-2px); }
.btn-hero.ghost { background: rgba(255,255,255,0.12); color: #fff; border: 1px solid rgba(255,255,255,0.45); }
.btn-hero.ghost:hover { background: rgba(255,255,255,0.22); transform: translateY(-2px); }

.hero-meta {
  position: absolute; left: 56px; right: 56px; bottom: 28px;
  display: flex; justify-content: space-between; align-items: center;
  max-width: 1320px; margin: 0 auto;
  font-family: var(--mono); font-size: 11px; opacity: 0.78; letter-spacing: 0.18em; text-transform: uppercase;
  border-top: 1px solid rgba(255,255,255,0.2); padding-top: 14px;
}
.slide-dots { display: flex; gap: 6px; }
.slide-dots span { width: 18px; height: 2px; background: rgba(255,255,255,0.35); }
.slide-dots span.active { background: #fff; }

section { padding: 160px 56px; position: relative; }
.wrap { max-width: 1240px; margin: 0 auto; }
.eyebrow {
  font-family: var(--mono); font-size: 12px; color: var(--primary-deep);
  text-transform: uppercase; letter-spacing: 0.24em; margin-bottom: 20px; display: inline-block;
}
.eyebrow.on-dark { color: rgba(255,255,255,0.9); }
h2 {
  font-size: clamp(36px, 4.6vw, 64px); margin: 0 0 28px;
  line-height: 1.05; font-weight: 400; letter-spacing: 0; max-width: 14ch;
}
.lede {
  font-size: 19px; color: var(--muted); max-width: 560px; line-height: 1.65; font-weight: 300;
}

.intro-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: center; }
.intro-text h2 { max-width: 12ch; }
.intro-text p { color: var(--muted); font-size: 17px; line-height: 1.75; max-width: 460px; font-weight: 300; }
.intro-photo {
  aspect-ratio: 4/5; border-radius: 4px; overflow: hidden;
  background-size: cover; background-position: center;
  box-shadow: var(--shadow);
}
.intro-stats {
  margin-top: 56px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px;
  padding-top: 36px; border-top: 1px solid var(--line);
}
.intro-stats .stat .v { font-size: 36px; font-weight: 400; line-height: 1; letter-spacing: 0; }
.intro-stats .stat .l { font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: 0.18em; text-transform: uppercase; margin-top: 10px; }

.exp-section { background: var(--bg-2); }
.exp-header { max-width: 720px; margin: 0 auto 80px; text-align: center; }
.exp-header h2 { margin-left: auto; margin-right: auto; max-width: 16ch; }
.exp-header .lede { margin-left: auto; margin-right: auto; }
.portals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.portal {
  position: relative; aspect-ratio: 3/4; border-radius: 6px; overflow: hidden;
  background-color: var(--panel); cursor: pointer; box-shadow: var(--shadow);
  transition: transform .25s ease;
  border: 0; padding: 0; text-align: left; color: inherit;
}
.portal:hover { transform: translateY(-4px); }
.portal .photo {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform .8s ease;
}
.portal:hover .photo { transform: scale(1.06); }
.portal::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13, 26, 44, 0.0) 30%, rgba(13, 26, 44, 0.85) 100%);
  pointer-events: none;
}
.portal-content {
  position: absolute; left: 28px; right: 28px; bottom: 28px;
  color: #fff; z-index: 2;
}
.portal-content .num { font-family: var(--mono); font-size: 11px; opacity: 0.7; letter-spacing: 0.2em; margin-bottom: 14px; }
.portal-content h3 { font-size: 30px; line-height: 1.1; font-weight: 400; margin: 0 0 12px; letter-spacing: 0; }
.portal-content p { font-size: 15px; opacity: 0.85; max-width: 320px; margin: 0 0 18px; font-weight: 300; }
.portal-content .arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
}
.portal-content .arrow span { display: inline-block; transition: transform .25s; }
.portal:hover .portal-content .arrow span { transform: translateX(4px); }

.highlight {
  padding: 0; height: 80vh; min-height: 560px;
  background-size: cover; background-position: center; background-attachment: fixed;
  position: relative; display: flex; align-items: flex-end; color: #fff;
}
.highlight::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,26,44,0.0) 50%, rgba(13,26,44,0.55) 100%);
}
.highlight-caption {
  position: relative; z-index: 1;
  padding: 0 56px 64px; max-width: 1320px; margin: 0 auto; left: 0; right: 0; width: 100%;
}
.highlight-caption .label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; opacity: 0.78; margin-bottom: 14px; }
.highlight-caption blockquote { font-size: clamp(28px, 3.2vw, 44px); font-weight: 300; max-width: 720px; margin: 0; line-height: 1.25; letter-spacing: 0; }
.highlight-caption cite { display: block; margin-top: 18px; font-size: 14px; opacity: 0.78; font-style: normal; font-family: var(--mono); letter-spacing: 0.1em; }

.area-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; align-items: center; }
.area-text h2 { max-width: 14ch; }
.area-pois { margin-top: 36px; display: grid; gap: 20px; }
.area-pois .poi {
  display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: baseline;
  padding-bottom: 16px; border-bottom: 1px solid var(--line);
}
.area-pois .poi:last-child { border-bottom: 0; }
.area-pois .poi h4 { font-size: 17px; font-weight: 500; margin: 0; }
.area-pois .poi small { color: var(--muted); display: block; font-size: 13px; margin-top: 2px; }
.area-pois .poi .dist { font-family: var(--mono); font-size: 13px; color: var(--primary-deep); letter-spacing: 0.06em; }

.map {
  aspect-ratio: 5/4; border-radius: 6px; overflow: hidden;
  background: var(--panel-2);
  position: relative; border: 1px solid var(--line); box-shadow: var(--shadow);
  min-height: 360px;
  z-index: 0;
}
/* Leaflet customization to match the page palette */
.leaflet-container { font-family: var(--sans); background: var(--panel-2); }
.leaflet-popup-content-wrapper { border-radius: 10px; }
.leaflet-popup-content { font-size: 13px; }
.leaflet-control-attribution { font-size: 10px; }
.poi-marker {
  background: var(--primary); border: 2px solid #fff; border-radius: 50%;
  width: 14px; height: 14px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.house-marker {
  background: var(--accent); border: 3px solid #fff; border-radius: 50%;
  width: 22px; height: 22px;
  box-shadow: 0 0 0 6px rgba(196, 106, 44, 0.25), 0 4px 14px rgba(0,0,0,0.3);
}

.economy { background: var(--bg-2); text-align: center; }
.economy .wrap { display: flex; flex-direction: column; align-items: center; }
.economy h2 { max-width: 18ch; margin-left: auto; margin-right: auto; }
.economy .lede { text-align: center; }
.economy-headline { margin-top: 64px; font-size: clamp(80px, 12vw, 160px); font-weight: 300; line-height: 1; letter-spacing: 0; }
.economy-headline .small { font-size: 0.4em; color: var(--muted); margin-left: 12px; }
.economy-sub { font-family: var(--mono); font-size: 12px; color: var(--muted); margin-top: 20px; letter-spacing: 0.18em; text-transform: uppercase; }
.economy-cta { margin-top: 48px; display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.btn-large {
  padding: 16px 28px; border-radius: 12px; font-size: 14px; font-weight: 500; cursor: pointer;
  border: 1px solid var(--text); background: var(--text); color: #fff;
  transition: background .15s, transform .15s, border-color .15s, color .15s;
}
.btn-large:hover { background: var(--primary-deep); border-color: var(--primary-deep); transform: translateY(-2px); }
.btn-large.outline { background: transparent; color: var(--text); }
.btn-large.outline:hover { background: var(--text); color: #fff; }

.gallery-section { background: var(--panel); padding-top: 100px; padding-bottom: 100px; }
.gallery-section .lede { margin-bottom: 40px; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 6px;
}
.gallery-tile {
  margin: 0; padding: 0; border: 0; background: var(--bg-2); cursor: pointer;
  aspect-ratio: 4 / 3; overflow: hidden; border-radius: 4px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.gallery-tile:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.gallery-tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s ease; }
.gallery-tile:hover img { transform: scale(1.05); }

dialog.lightbox-dialog {
  border: 0; padding: 0; background: transparent;
  width: 95vw; height: 95vh; max-width: none; max-height: none;
}
dialog.lightbox-dialog::backdrop { background: rgba(13, 26, 44, 0.92); }
.lightbox-dialog img {
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
}
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: fixed; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.3);
  color: #fff; cursor: pointer; backdrop-filter: blur(8px);
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; line-height: 1;
  transition: background .15s;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.3); }
.lightbox-close { top: 24px; right: 24px; transform: none; width: 48px; height: 48px; font-size: 28px; }
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }
.lightbox-counter {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
  background: rgba(0,0,0,0.55); color: #fff; padding: 8px 16px; border-radius: 100px;
  font-family: var(--mono); font-size: 13px;
}

.docs { background: var(--bg); }
.docs .lede { margin-bottom: 56px; }
.docs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.doc {
  background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 26px;
  display: flex; flex-direction: column; gap: 14px; cursor: pointer; text-align: left;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.doc:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateY(-2px); }
.doc .ico { width: 38px; height: 38px; border-radius: 9px; background: rgba(0, 168, 132, 0.12); display: flex; align-items: center; justify-content: center; font-size: 17px; }
.doc strong { font-size: 14px; font-weight: 500; }
.doc small { color: var(--muted); font-size: 12px; }

.cta {
  padding: 180px 56px;
  background-size: cover; background-position: center; background-attachment: fixed;
  position: relative; color: #fff; text-align: center;
}
.cta::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,26,44,0.50) 0%, rgba(13,26,44,0.65) 100%);
}
.cta .wrap { position: relative; z-index: 1; }
.cta h2 { color: #fff; margin: 0 auto 24px; max-width: 16ch; }
.cta .lede { color: rgba(255, 255, 255, 0.85); margin: 0 auto; max-width: 560px; }
.cta-actions { margin-top: 48px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-cta {
  padding: 18px 32px; border-radius: 12px; font-size: 14px; font-weight: 500;
  border: 1px solid #fff; cursor: pointer;
  transition: background .15s, color .15s, transform .15s, border-color .15s;
}
.btn-cta.solid { background: #fff; color: var(--text); }
.btn-cta.solid:hover { background: var(--primary); color: #fff; border-color: var(--primary); transform: translateY(-2px); }
.btn-cta.ghost { background: transparent; color: #fff; }
.btn-cta.ghost:hover { background: rgba(255,255,255,0.12); transform: translateY(-2px); }

.alex-fab {
  position: fixed; bottom: 28px; right: 28px; z-index: 100;
  display: flex; align-items: center; gap: 12px;
  background: var(--text); color: #fff;
  padding: 12px 22px 12px 12px; border-radius: 100px;
  cursor: pointer; box-shadow: 0 18px 40px rgba(13, 26, 44, 0.22);
  border: 0; transition: transform .15s;
}
.alex-fab:hover { transform: translateY(-2px); }
.alex-fab .dot {
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex; align-items: center; justify-content: center; color: #fff;
  font-family: var(--mono); font-size: 15px; font-weight: 700;
}
.alex-fab .who { font-size: 13px; line-height: 1.25; text-align: left; }
.alex-fab .who small { display: block; font-family: var(--mono); font-size: 10px; opacity: 0.7; letter-spacing: 0.1em; }

footer {
  background: var(--bg-2); border-top: 1px solid var(--line);
  padding: 80px 56px 40px;
}
footer .wrap { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
footer .logo { color: var(--text); }
footer h5 { color: var(--text); font-weight: 500; margin: 0 0 16px; font-size: 14px; }
footer p, footer ul { color: var(--muted); font-size: 14px; }
footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
footer ul a { color: var(--muted); }
footer ul a:hover { color: var(--text); text-decoration: none; }
footer .copy {
  margin-top: 60px; padding-top: 24px; border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: 11px; color: var(--muted);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}

/* Dialogs */
dialog.alex-dialog, dialog.booking-dialog {
  border: 0; border-radius: 16px; padding: 0; background: var(--panel);
  width: min(420px, 92vw);
  box-shadow: var(--shadow-lg);
}
dialog::backdrop { background: rgba(13, 26, 44, 0.5); }
dialog header {
  display: flex; align-items: center; gap: 12px; padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}
dialog header h4 { margin: 0; font-weight: 500; font-size: 17px; }
dialog header small { color: var(--muted); font-family: var(--mono); font-size: 11px; }
dialog header .dot {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex; align-items: center; justify-content: center; color: #fff;
  font-family: var(--mono); font-size: 14px; font-weight: 700;
}
dialog header .close {
  margin-left: auto; background: transparent; border: 0; font-size: 24px;
  cursor: pointer; color: var(--muted); width: 32px; height: 32px; line-height: 1;
}
.alex-body {
  padding: 18px; max-height: 380px; overflow-y: auto;
  display: flex; flex-direction: column; gap: 12px;
}
.msg { padding: 12px 14px; border-radius: 14px; max-width: 88%; font-size: 14px; line-height: 1.5; }
.msg.bot {
  background: linear-gradient(135deg, rgba(0,168,132,0.10), rgba(0,168,132,0.04));
  border: 1px solid rgba(0,168,132,0.28); border-radius: 14px 14px 14px 4px;
}
.msg.user {
  background: var(--panel-2); border: 1px solid var(--line);
  border-radius: 14px 14px 4px 14px; margin-left: auto;
}
.alex-input {
  display: flex; gap: 8px; padding: 14px; border-top: 1px solid var(--line);
  align-items: center;
}
.alex-input input {
  flex: 1; background: var(--panel-2); border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 14px; font-family: var(--sans); font-size: 14px; outline: none;
  min-width: 0;
}
.alex-input input:focus { border-color: var(--primary); }
.alex-input button {
  width: 44px; height: 44px; border-radius: 10px; border: 0;
  background: var(--text); color: #fff; cursor: pointer; font-weight: 700;
  flex: 0 0 auto;
}
.alex-input .alex-icon-button {
  background: var(--panel-2); color: var(--text); border: 1px solid var(--line);
  font-size: 17px; font-weight: 500;
}
.alex-input .alex-icon-button[aria-pressed="true"] {
  background: rgba(0, 168, 132, 0.12);
  border-color: rgba(0, 168, 132, 0.38);
  color: var(--primary-deep);
}
.alex-input .alex-icon-button.listening {
  background: var(--danger); border-color: var(--danger); color: #fff;
  animation: alex-listening 1.1s ease-in-out infinite alternate;
}
.alex-input .alex-icon-button:disabled {
  opacity: 0.45; cursor: not-allowed;
}
@keyframes alex-listening {
  from { box-shadow: 0 0 0 0 rgba(217, 72, 72, 0.28); }
  to { box-shadow: 0 0 0 8px rgba(217, 72, 72, 0.0); }
}
.calc-dialog { width: min(720px, 95vw); }
.calc-body { padding: 22px; display: grid; gap: 18px; }
.calc-result-card {
  background: var(--text); color: #fff;
  border-radius: 12px; padding: 22px;
  text-align: center;
}
.calc-result-card small { font-family: var(--mono); font-size: 11px; opacity: 0.7; letter-spacing: 0.16em; text-transform: uppercase; }
.calc-monthly { font-size: 44px; font-weight: 600; line-height: 1; margin: 8px 0 4px; letter-spacing: 0; }
.calc-controls { display: grid; gap: 14px; }
.calc-controls label { display: grid; gap: 6px; font-size: 13px; color: var(--muted); position: relative; }
.calc-controls output { position: absolute; right: 0; top: 0; font-family: var(--mono); font-size: 13px; color: var(--text); font-weight: 500; }
.calc-controls input[type="range"] { width: 100%; accent-color: var(--primary); }
.calc-controls select {
  width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 8px;
  background: var(--panel-2); color: var(--text); font-family: var(--sans); font-size: 14px;
}
.calc-controls .calc-check {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px;
  background: var(--panel-2); color: var(--text);
}
.calc-controls .calc-check input { width: 18px; height: 18px; accent-color: var(--primary); }
.calc-breakdown { width: 100%; border-collapse: collapse; font-size: 13px; }
.calc-breakdown td { padding: 8px 0; border-bottom: 1px solid var(--line); }
.calc-breakdown td:last-child { text-align: right; font-family: var(--mono); }
.calc-breakdown tr:last-child td { border-bottom: 0; }
.calc-disclaimer { color: var(--muted); font-size: 12px; margin: 0; }

.booking-dialog form { padding: 18px 22px; display: grid; gap: 12px; }
.booking-dialog label { display: grid; gap: 4px; font-size: 13px; color: var(--muted); }
.booking-dialog input, .booking-dialog select {
  padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; font-family: var(--sans); font-size: 14px; background: var(--panel-2);
}
.booking-dialog .btn.primary { padding: 12px; }
.booking-msg { font-size: 13px; min-height: 1em; margin: 4px 0 0; color: var(--primary-deep); }
.booking-msg.error { color: var(--danger); }

@media (max-width: 1000px) {
  .topnav { display: none; }
  section { padding: 100px 24px; }
  .hero { min-height: 560px; }
  .hero-content { padding: 0 24px 90px; }
  .hero-meta { left: 24px; right: 24px; }
  .intro-grid, .area-grid { grid-template-columns: 1fr; gap: 48px; }
  .intro-stats { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .portals { grid-template-columns: 1fr; }
  .portal { aspect-ratio: 4/3; }
  .docs-grid { grid-template-columns: repeat(2, 1fr); }
  footer .wrap { grid-template-columns: 1fr 1fr; }
  .highlight-caption, .cta { padding-left: 24px; padding-right: 24px; }
  .highlight, .cta { background-attachment: scroll; }
  .alex-fab .who { display: none; }
  .alex-fab { padding: 10px; }
}

@media (max-width: 640px) {
  .topbar,
  .topbar.solid {
    padding: 10px 12px;
    gap: 10px;
  }
  .logo {
    min-width: 0;
    gap: 8px;
  }
  .logo .mark {
    width: 32px;
    height: 32px;
    flex: 0 0 auto;
  }
  .logo > div:last-child {
    min-width: 0;
    max-width: 165px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .logo small { display: none; }
  .topactions {
    flex: 0 0 auto;
    gap: 8px;
  }
  .topactions [data-open-alex] { display: none; }
  .btn {
    padding: 9px 10px;
    font-size: 12px;
    white-space: nowrap;
  }

  section { padding: 76px 16px; }
  h2 {
    max-width: none;
    font-size: clamp(32px, 11vw, 44px);
  }
  .lede { font-size: 16px; }

  .hero {
    height: auto;
    min-height: 640px;
  }
  .hero-content {
    padding: 96px 16px 74px;
  }
  .hero-eyebrow {
    max-width: 100%;
    font-size: 10px;
    letter-spacing: 0.14em;
  }
  .hero h1 {
    font-size: clamp(42px, 17vw, 64px);
    overflow-wrap: anywhere;
  }
  .hero-sub {
    font-size: 16px;
    margin-bottom: 24px;
  }
  .hero-price-row {
    gap: 10px;
    margin-bottom: 24px;
  }
  .hero-price { font-size: 36px; }
  .hero-price-meta {
    border-radius: 8px;
    font-size: 11px;
    letter-spacing: 0.04em;
  }
  .hero-actions {
    display: grid;
    gap: 10px;
  }
  .btn-hero {
    width: 100%;
    padding: 14px 16px;
  }
  .hero-meta { display: none; }

  .intro-grid,
  .area-grid {
    gap: 34px;
  }
  .intro-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
  .intro-stats .stat .v { font-size: 28px; }
  .exp-header { margin-bottom: 36px; }
  .portal {
    aspect-ratio: 5 / 4;
    min-height: 240px;
  }
  .portal-content {
    left: 18px;
    right: 18px;
    bottom: 18px;
  }
  .portal-content h3 { font-size: 24px; }
  .portal-content p { font-size: 14px; }

  .highlight {
    height: 64vh;
    min-height: 420px;
  }
  .highlight-caption { padding: 0 16px 42px; }
  .highlight-caption blockquote { font-size: 26px; }
  .area-pois .poi {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .map {
    min-height: 300px;
    aspect-ratio: auto;
  }

  .economy-headline {
    font-size: clamp(46px, 18vw, 72px);
  }
  .economy-headline .small {
    display: block;
    margin: 8px 0 0;
  }
  .economy-cta,
  .cta-actions {
    display: grid;
    width: 100%;
  }
  .btn-large,
  .btn-cta {
    width: 100%;
    padding: 14px 16px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
  }
  .lightbox-prev,
  .lightbox-next {
    width: 42px;
    height: 42px;
    font-size: 26px;
  }
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
  .lightbox-close {
    top: 12px;
    right: 12px;
  }
  .docs-grid { grid-template-columns: 1fr; }
  .doc { padding: 20px; }
  .cta { padding: 100px 16px; }

  .alex-fab {
    right: 14px;
    bottom: 14px;
  }
  footer { padding: 56px 16px 32px; }
  footer .wrap {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  footer .copy { display: grid; }

  dialog.alex-dialog,
  dialog.booking-dialog,
  .calc-dialog {
    width: calc(100vw - 20px);
    max-width: calc(100vw - 20px);
    max-height: calc(100dvh - 20px);
    overflow: hidden;
  }
  dialog header { padding: 14px 16px; }
  .alex-body {
    max-height: calc(100dvh - 170px);
    padding: 14px;
  }
  .alex-input {
    gap: 6px;
    padding: 10px;
  }
  .alex-input input { padding: 10px 12px; }
  .alex-input button {
    width: 40px;
    height: 40px;
  }
  .booking-dialog form {
    max-height: calc(100dvh - 86px);
    overflow-y: auto;
    padding: 16px;
  }
  .calc-body {
    max-height: calc(100dvh - 90px);
    overflow-y: auto;
    padding: 16px;
    gap: 14px;
  }
  .calc-result-card { padding: 16px; }
  .calc-monthly { font-size: 34px; }
  .calc-breakdown {
    table-layout: fixed;
    font-size: 12px;
  }
  .calc-breakdown td:first-child { width: 45%; }
  .calc-breakdown td:last-child {
    overflow-wrap: anywhere;
  }
}
