/* =========================================================
   Flexible Living Apartments — 1219 Homes
   Warm editorial boutique. Preview build (front-end only).
   ========================================================= */

:root{
  --paper:#F7F2E9;
  --paper-2:#F0E7D6;
  --card:#FBF8F1;
  --ink:#221F1A;
  --ink-soft:#6F6557;
  --ink-faint:#9A8F7E;
  --line:#E2D7C3;
  --line-soft:#ECE3D4;
  /* mustard-yellow brand. ochre = readable text accent, mustard = bright fill */
  --clay:#A9781A;
  --clay-dark:#8C6212;
  --mustard:#E6B833;
  --mustard-dark:#D2A229;
  --mustard-ink:#2A2410;
  --brass:#C0962F;
  --shadow:0 24px 60px -28px rgba(52,38,22,.38);
  --shadow-soft:0 14px 40px -24px rgba(52,38,22,.35);
  --r:14px;
  --maxw:1240px;
  --ease:cubic-bezier(.22,.61,.36,1);

  /* God Mode Tuner Overrides */
  --stats-y: 8px;
  --stats-scale: 1;
  --stats-mx: 4px;
  --am-sheet-h: 96%;
  --pop-y: 108px;
  --am-radius: 24px;
  --rm-x-size: 19px;
  --rm-x-box: 10px;
  --rm-x-x: -15px;
  --rm-x-y: -3px;
  --rm-x-ml: -8px;
  --rm-num-sz: 64px;
  --rm-star-sz: 23px;
  --rm-star-y: 0.55em;
  --rm-star-mr: 8px;
  --rm-bar-h: 26px;
  --rm-bar-r: 2px;
  --rm-cat-pad: 26px;
  --rm-line-op: 0.08;
  --sort-x: 0px;
  --hc-pad-y: 20px;
  --hc-pad-x: 20px;
  --hc-av-sz: 64px;
  --hc-name-sz: 22px;
  --hc-sub-sz: 13px;
  --hc-sub-mb: 16px;
  --hc-stat-val: 17px;
  --hc-stat-lbl: 10px;
  --hc-stat-py: 16px;
  --mh-btn-mt: 1px;
  --mh-btn-mb: 0px;
  --mh-prot-mt: 32px;
  --ttk-icon-sz: 24px;
  --ttk-item-py: 16px;
  --ttk-gap: 16px;
}

*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{
  font-family:"Hanken Grotesk",system-ui,sans-serif;
  background:var(--paper);
  color:var(--ink);
  font-size:17px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  position:relative;
  width:100%;
  overflow-x:clip;
}
img{display:block;max-width:100%}
a{color:inherit;text-decoration:none}

/* warm paper grain */
body::before{
  content:"";position:fixed;inset:0;z-index:0;pointer-events:none;opacity:.05;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap{max-width:var(--maxw);margin:0 auto;padding:0 28px;position:relative;z-index:1}

/* ---------- type ---------- */
.display{font-family:"Fraunces",Georgia,serif;font-weight:340;line-height:1.02;letter-spacing:-.01em;font-optical-sizing:auto}
.serif-it{font-family:"Fraunces",Georgia,serif;font-style:italic;font-weight:340}
.label{
  font-size:11.5px;letter-spacing:.26em;text-transform:uppercase;font-weight:600;
  color:var(--clay);
}
.label.muted{color:var(--ink-faint)}

/* ---------- buttons ---------- */
.btn{
  display:inline-flex;align-items:center;gap:.6em;cursor:pointer;border:none;
  font-family:inherit;font-size:14.5px;font-weight:600;letter-spacing:.02em;
  padding:14px 26px;border-radius:100px;transition:.4s var(--ease);white-space:nowrap;
}
.btn-solid{background:var(--ink);color:var(--paper)}
.btn-solid:hover{background:var(--mustard);color:var(--mustard-ink);transform:translateY(-2px)}
.btn-clay{background:var(--mustard);color:var(--mustard-ink)}
.btn-clay:hover{background:var(--mustard-dark);transform:translateY(-2px)}
.btn-ghost{background:transparent;color:var(--ink);border:1px solid var(--line)}
.btn-ghost:hover{border-color:var(--ink);background:var(--card)}
.tlink{
  font-size:14.5px;font-weight:600;letter-spacing:.02em;display:inline-flex;align-items:center;gap:.5em;
  padding-bottom:3px;border-bottom:1.5px solid var(--clay);width:max-content;transition:.3s var(--ease);
}
.tlink:hover{gap:.9em;color:var(--clay)}
.tlink .arr{transition:.3s var(--ease)}
.tlink:hover .arr{transform:translateX(3px)}

/* ---------- nav ---------- */
header.nav{
  position:sticky;top:0;z-index:50;
  -webkit-backdrop-filter:saturate(1.1) blur(8px);
  backdrop-filter:saturate(1.1) blur(8px);
  background:rgba(247,242,233,.82);
  border-bottom:1px solid transparent;transition:.4s var(--ease);
}
header.nav.scrolled{border-color:var(--line);background:rgba(247,242,233,.94)}
.nav-in{display:flex;align-items:center;justify-content:space-between;height:74px}
.brand{display:flex;align-items:center;gap:11px}
.brand .house{width:30px;height:30px;color:var(--mustard-dark);flex:0 0 auto}
.brand .bk{display:flex;flex-direction:column;line-height:1.05}
.brand .mark{font-family:"Fraunces",serif;font-weight:500;font-size:21px;letter-spacing:.01em}
.brand .sub{font-size:9.5px;letter-spacing:.22em;text-transform:uppercase;color:var(--ink-faint);font-weight:600;margin-top:3px}
footer .mark-row{display:flex;align-items:center;gap:11px}
footer .house{width:30px;height:30px;color:var(--mustard)}
.nav-links{display:flex;align-items:center;gap:34px}
.nav-links a{font-size:14.5px;font-weight:500;color:var(--ink-soft);transition:.25s;position:relative}
.nav-links a:hover{color:var(--ink)}
.nav-links a.soon::after{content:"soon";font-size:8.5px;letter-spacing:.12em;text-transform:uppercase;color:var(--brass);
  border:1px solid var(--line);border-radius:20px;padding:1px 6px;margin-left:6px;vertical-align:middle}
.nav-cta{display:flex;align-items:center;gap:18px}
.burger{display:none;flex-direction:column;gap:5px;background:none;border:none;cursor:pointer;padding:6px}
.burger span{width:24px;height:1.5px;background:var(--ink);transition:.3s}

/* ---------- hero ---------- */
.hero{padding:64px 0 40px;position:relative}
.hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:54px;align-items:end}
.hero-copy{padding-bottom:18px}
.hero h1{font-size:clamp(44px,6.4vw,86px);margin:22px 0 26px}
.hero h1 em{font-style:italic;color:var(--clay)}
.hero p.lede{font-size:19px;color:var(--ink-soft);max-width:30ch;margin-bottom:34px}
.hero-actions{display:flex;align-items:center;gap:22px;flex-wrap:wrap}
.hero-media{position:relative}
.hero-media .frame{
  aspect-ratio:4/5;border-radius:var(--r);overflow:hidden;box-shadow:var(--shadow);
  background:var(--paper-2);
}
.hero-media .frame img{width:100%;height:100%;object-fit:cover}
.hero-tag{
  position:absolute;left:-26px;bottom:42px;background:var(--card);border:1px solid var(--line);
  border-radius:12px;padding:16px 20px;box-shadow:var(--shadow-soft);max-width:215px;
}
.hero-tag .n{font-family:"Fraunces",serif;font-size:30px;line-height:1}
.hero-tag .t{font-size:12.5px;color:var(--ink-soft);margin-top:4px}
.hero-strip{
  display:flex;gap:42px;flex-wrap:wrap;margin-top:54px;padding-top:30px;border-top:1px solid var(--line);
}
.hero-strip .stat .k{font-family:"Fraunces",serif;font-size:26px}
.hero-strip .stat .v{font-size:13px;color:var(--ink-soft);letter-spacing:.01em}

/* ---------- section frame ---------- */
section{padding:96px 0;position:relative}
.sec-head{display:flex;align-items:flex-end;justify-content:space-between;gap:30px;margin-bottom:54px}
.sec-head h2{font-size:clamp(30px,4vw,48px);max-width:16ch;margin-top:16px}
.sec-head p{color:var(--ink-soft);max-width:34ch}

/* ---------- manifesto ---------- */
.manifesto{background:var(--paper-2)}
.manifesto .big{font-size:clamp(26px,3.4vw,40px);max-width:24ch;line-height:1.28}
.manifesto .big em{font-style:italic;color:var(--clay)}
.manifesto .row{display:grid;grid-template-columns:1fr auto;gap:50px;align-items:center}
.manifesto .row p.note{max-width:30ch;color:var(--ink-soft);font-size:15.5px}

/* ---------- apartment cards ---------- */
/* compact Airbnb-style listing cards */
.apts{display:grid;grid-template-columns:repeat(auto-fill,minmax(236px,1fr));gap:30px 22px}
.apt{background:none;border:none;border-radius:0;display:flex;flex-direction:column}
.apt:hover{transform:none;box-shadow:none}
.apt .ph{aspect-ratio:20/19;border-radius:14px;overflow:hidden;background:var(--paper-2);position:relative}
.apt .ph img{width:100%;height:100%;object-fit:cover;transition:.7s var(--ease)}
.apt:hover .ph img{transform:scale(1.04)}
.apt .body{padding:11px 2px 0;display:block}
.apt h3{font-family:"Fraunces",serif;font-weight:440;font-size:18px;line-height:1.18}
.apt .sub{display:block;font-size:13.5px;color:var(--ink-soft);margin-top:3px}
.apt .price{margin-top:6px;font-size:14px;color:var(--ink-soft)}
.apt .price b{font-family:"Fraunces",serif;font-weight:500;font-size:16.5px;color:var(--ink)}
.apt .price .rt{color:var(--ink);font-weight:600}
.apt .price .rt .s{color:var(--mustard-dark)}

/* ---------- steps / conversation ---------- */
.steps-sec{background:var(--ink);color:var(--paper)}
.steps-sec .label{color:var(--brass)}
.steps-sec h2{color:var(--paper)}
.steps-sec .sec-head p{color:#C9BDA9}
/* vertical, scroll-glow sequence */
.steps{display:flex;flex-direction:column;gap:18px;max-width:720px;margin:0 auto}
.step{background:#2A2620;border:1px solid rgba(255,255,255,.07);border-radius:16px;padding:28px 32px;
  opacity:.4;filter:saturate(.55);transition:.55s var(--ease)}
.step.lit{opacity:1;filter:none;border-color:var(--mustard);background:#332C20;
  box-shadow:0 0 0 1px var(--mustard),0 22px 60px -22px rgba(230,184,51,.55)}
.step .no{font-family:"Fraunces",serif;font-size:15px;color:#857C6B;letter-spacing:.12em;transition:.4s}
.step.lit .no{color:var(--mustard)}
.step h4{font-family:"Fraunces",serif;font-weight:400;font-size:23px;margin:12px 0 9px;color:#E4DBC9;transition:.4s}
.step.lit h4{color:#fff}
.step p{font-size:15px;color:#A39A88;max-width:48ch}
.steps-cta{margin:40px auto 0;display:flex;align-items:center;gap:24px;flex-wrap:wrap;max-width:720px;
  opacity:.5;transition:.55s var(--ease)}
.steps-cta.lit{opacity:1}
.steps-cta.lit .btn-clay{box-shadow:0 0 0 1px var(--mustard),0 20px 55px -16px rgba(230,184,51,.65);transform:translateY(-2px)}

/* Lucide icon sizing */
.trust-list li .ic .lucide{width:15px;height:15px;stroke-width:1.8}
.ap-amen .a .lucide{width:19px;height:19px;color:var(--mustard-dark);stroke-width:1.7}
.ap-high .h .lucide{width:23px;height:23px;color:var(--mustard-dark);stroke-width:1.7}
.ap-host .av .lucide{width:26px;height:26px;color:var(--mustard-ink)}

/* Airbnb-style favorite: Guest favorite pill + heart */
.fav{position:absolute;top:11px;right:11px;width:36px;height:36px;display:grid;place-items:center;
  background:none;border:none;cursor:pointer;z-index:3;padding:0}
.fav svg{width:27px;height:27px;fill:rgba(0,0,0,.42);stroke:#fff;stroke-width:2;transition:.18s}
.fav:hover svg{transform:scale(1.08)}
.fav.active svg{fill:#FF385C;stroke:#fff}
.gfav{position:absolute;top:12px;left:12px;background:#fff;color:#1c1c1c;font-size:12.5px;font-weight:700;
  letter-spacing:.01em;padding:7px 13px;border-radius:100px;box-shadow:0 6px 16px -6px rgba(0,0,0,.4);z-index:2}
/* detail-page save as heart */
.ap-save{display:inline-flex;align-items:center;gap:8px}
.ap-save svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;transition:.18s}
.ap-save.active svg{fill:#FF385C;stroke:#FF385C}

/* ---------- trust ---------- */
.trust{display:grid;grid-template-columns:1.1fr .9fr;gap:60px;align-items:center}
.trust-media{aspect-ratio:5/4;border-radius:var(--r);overflow:hidden;box-shadow:var(--shadow)}
.trust-media img{width:100%;height:100%;object-fit:cover}
.trust-list{list-style:none;display:flex;flex-direction:column;gap:6px;margin-top:28px}
.trust-list li{display:flex;gap:16px;padding:18px 0;border-bottom:1px solid var(--line)}
.trust-list li .ic{flex:0 0 auto;width:30px;height:30px;border:1px solid var(--clay);border-radius:50%;
  display:grid;place-items:center;color:var(--clay);font-size:14px}
.trust-list li h5{font-size:16px;font-weight:600;margin-bottom:2px}
.trust-list li p{font-size:14px;color:var(--ink-soft)}

/* ---------- testimonial ---------- */
.quote-sec{background:var(--paper-2);text-align:center}
.quote-sec .q{font-family:"Fraunces",serif;font-weight:340;font-size:clamp(24px,3.2vw,38px);
  line-height:1.32;max-width:20ch;margin:26px auto 30px}
.quote-sec .q em{font-style:italic;color:var(--clay)}
.quote-sec .who{font-size:14px;letter-spacing:.04em;color:var(--ink-soft)}
.quote-sec .who b{color:var(--ink)}

/* ---------- cta band ---------- */
.cta-band{position:relative;overflow:hidden;border-radius:0}
.cta-band .inner{background:var(--mustard);color:var(--mustard-ink);border-radius:var(--r);padding:64px 56px;
  display:grid;grid-template-columns:1.3fr auto;gap:40px;align-items:center}
.cta-band h2{color:var(--mustard-ink);font-size:clamp(28px,3.6vw,44px);max-width:18ch}
.cta-band p{color:rgba(42,36,16,.78);margin-top:14px;max-width:40ch}
.cta-band .btn-solid{background:#fff;color:var(--ink)}
.cta-band .btn-solid:hover{background:var(--ink);color:#fff}

/* ---------- footer ---------- */
footer{background:var(--ink);color:#C9BDA9;padding:72px 0 36px}
.foot-grid{display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr;gap:40px;padding-bottom:46px;border-bottom:1px solid rgba(255,255,255,.12)}
footer .mark{font-family:"Fraunces",serif;font-size:26px;color:var(--paper)}
footer p.blurb{margin-top:16px;max-width:30ch;font-size:14.5px}
footer h6{font-size:11px;letter-spacing:.22em;text-transform:uppercase;color:var(--brass);margin-bottom:18px;font-weight:600}
footer ul{list-style:none;display:flex;flex-direction:column;gap:11px}
footer ul a{font-size:14.5px;color:#C9BDA9;transition:.25s}
footer ul a:hover{color:var(--paper)}
.foot-base{display:flex;justify-content:space-between;flex-wrap:wrap;gap:14px;padding-top:26px;font-size:13px;color:#8A8170}
.foot-base .by{color:var(--brass)}

/* ---------- preview ribbon ---------- */
.preview-ribbon{
  position:fixed;z-index:80;bottom:18px;left:50%;transform:translateX(-50%);
  background:var(--ink);color:var(--paper);font-size:12.5px;letter-spacing:.03em;
  padding:9px 18px;border-radius:100px;box-shadow:var(--shadow);display:flex;align-items:center;gap:9px;
  border:1px solid rgba(255,255,255,.14);
}
.preview-ribbon b{color:var(--brass);font-weight:600}
.preview-ribbon .dot{width:7px;height:7px;border-radius:50%;background:var(--brass);animation:pulse 2s infinite}
@keyframes pulse{0%,100%{opacity:1}50%{opacity:.35}}

/* ---------- reveal animation ---------- */
.reveal{opacity:0;transform:translateY(24px);transition:.9s var(--ease)}
.reveal.in{opacity:1;transform:none}
.reveal.d1{transition-delay:.08s}.reveal.d2{transition-delay:.16s}.reveal.d3{transition-delay:.24s}

/* =========================================================
   Apartment detail (apartment.html)
   ========================================================= */
.ap-top{padding-top:34px}
.ap-titlebar{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:20px}
.ap-titlebar h1{font-family:"Fraunces",serif;font-weight:400;font-size:clamp(28px,4vw,44px);line-height:1.05}
.ap-meta{display:flex;align-items:center;gap:14px;margin-top:12px;font-size:14.5px;color:var(--ink-soft);flex-wrap:wrap}
.ap-meta .star{color:var(--mustard-dark);font-weight:600}
.ap-meta .dot{width:3px;height:3px;border-radius:50%;background:var(--ink-faint)}
.ap-save{font-size:14px;font-weight:600;border:1px solid var(--line);border-radius:100px;padding:9px 16px;cursor:pointer;background:var(--card);white-space:nowrap}
.ap-save:hover{border-color:var(--ink)}
.ap-gallery{display:grid;gap:8px;border-radius:var(--r);overflow:hidden;margin-bottom:46px}
.ap-gallery figure{margin:0;overflow:hidden;background:var(--paper-2);position:relative}
.ap-gallery figure img{width:100%;height:100%;object-fit:cover;transition:.6s var(--ease)}
.ap-gallery figure:hover img{transform:scale(1.04)}
.ap-gallery .more{position:absolute;right:14px;bottom:14px;background:rgba(251,248,241,.94);border:1px solid var(--line);
  border-radius:100px;padding:8px 15px;font-size:13px;font-weight:600;cursor:pointer;z-index:2}
/* adaptive Airbnb-style photo grid — big photo + a 2×2 of the rest */
.ap-gallery.c1{grid-template-columns:1fr}
.ap-gallery.c1 .g0{aspect-ratio:16/8.4}
.ap-gallery.c2{grid-template-columns:1.4fr 1fr;grid-auto-rows:minmax(380px,1fr)}
.ap-gallery.c3{grid-template-columns:1.7fr 1fr;grid-template-rows:repeat(2,minmax(200px,1fr));max-height:640px}
.ap-gallery.c3 .g0{grid-row:1/3}
.ap-gallery.c4{grid-template-columns:1.7fr 1fr 1fr;grid-template-rows:repeat(2,minmax(200px,1fr));max-height:640px}
.ap-gallery.c4 .g0{grid-row:1/3}
.ap-gallery.c4 .g3{grid-column:2/4}
.ap-gallery.c5{grid-template-columns:1.7fr 1fr 1fr;grid-template-rows:repeat(2,minmax(200px,1fr));max-height:640px}
.ap-gallery.c5 .g0{grid-row:1/3}
.ap-body{display:grid;grid-template-columns:1.6fr .9fr;gap:60px;align-items:start;padding-bottom:90px}
.ap-host{display:flex;align-items:center;gap:16px;padding-bottom:26px;border-bottom:1px solid var(--line)}
.ap-host .av{width:52px;height:52px;border-radius:50%;background:var(--mustard);color:var(--mustard-ink);
  display:grid;place-items:center;font-family:"Fraunces",serif;font-size:22px;flex:0 0 auto}
.ap-host h4{font-size:17px;font-weight:600}.ap-host p{font-size:14px;color:var(--ink-soft)}
.ap-section{padding:30px 0;border-bottom:1px solid var(--line)}
.ap-section h3{font-family:"Fraunces",serif;font-weight:400;font-size:24px;margin-bottom:18px}
.ap-section p{color:var(--ink-soft);max-width:60ch}
.ap-high{display:flex;flex-direction:column;gap:18px}
.ap-high .h{display:flex;gap:16px}
.ap-high .h .ic{flex:0 0 auto;font-size:20px;color:var(--mustard-dark)}
.ap-high .h h5{font-size:16px;font-weight:600;margin-bottom:2px}
.ap-high .h p{font-size:14px}
.ap-amen{display:grid;grid-template-columns:1fr 1fr;gap:16px 30px}
.ap-amen .a{display:flex;align-items:center;gap:13px;font-size:15.5px;padding:6px 0;color:var(--ink)}
.ap-amen .a .ic{color:var(--mustard-dark);font-size:16px;width:20px;text-align:center}
.ap-know{display:flex;flex-direction:column;gap:14px}
.pdp-body .ap-know .k { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; font-size: 14.5px; border-bottom: 1px solid var(--line-soft); }
.pdp-body .ap-know .k:last-child { border-bottom: none; }
.pdp-body .ap-know .k span { color: var(--ink-soft); }

/* Where you'll be */
.ap-location-sub { margin: 0 0 16px; font-size: 15.5px; color: var(--ink); }
.map-container {
  position: relative; width: 100%; height: 280px;
  border-radius: 12px; overflow: hidden; background: var(--paper-2);
  transform: translateZ(0);
}
.map-container iframe {
  position: absolute; top: -10px; left: -10px;
  width: calc(100% + 20px); height: calc(100% + 20px);
  border: 0; pointer-events: none;
}
.map-click-overlay { position: absolute; inset: 0; z-index: 5; cursor: pointer; }
.map-marker-overlay {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -100%); z-index: 6; pointer-events: none;
  width: 52px; height: 58px; margin-top: 5px;
}
.map-marker-overlay svg { width: 100%; height: 100%; }
.map-expand-btn {
  position: absolute; top: 14px; right: 14px; z-index: 10;
  width: 36px; height: 36px; border-radius: 50%; background: #fff; border: none;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15); cursor: pointer;
}
.map-expand-btn .lucide { width: 16px; height: 16px; color: var(--ink); }
.ap-know .k b{font-weight:600}
/* booking card */
.ap-book{position:sticky;top:96px;background:var(--card);border:1px solid var(--line);border-radius:var(--r);
  padding:26px;box-shadow:var(--shadow-soft)}
.ap-book .pr{display:flex;align-items:baseline;gap:7px;margin-bottom:20px}
.ap-book .pr b{font-family:"Fraunces",serif;font-size:30px;font-weight:500}
.ap-book .pr span{color:var(--ink-soft);font-size:15px}
.ap-fields{border:1px solid var(--line);border-radius:12px;overflow:hidden;margin-bottom:16px}
.ap-fields .ff{padding:12px 16px;border-bottom:1px solid var(--line)}
.ap-fields .ff:last-child{border-bottom:none}
.ap-fields .ff label{display:block;font-size:10.5px;letter-spacing:.16em;text-transform:uppercase;color:var(--ink-faint);font-weight:700;margin-bottom:3px}
.ap-fields .ff .v{font-size:15px;color:var(--ink)}
.ap-fields .two{display:grid;grid-template-columns:1fr 1fr}
.ap-fields .two .ff:first-child{border-right:1px solid var(--line)}
.ap-book .btn{width:100%;justify-content:center;font-size:16px;padding:16px}
.ap-book .note{text-align:center;font-size:13px;color:var(--ink-faint);margin-top:14px}
.ap-lines{margin-top:20px;padding-top:20px;border-top:1px solid var(--line)}
.ap-lines .l{display:flex;justify-content:space-between;font-size:14.5px;padding:7px 0;color:var(--ink-soft)}
.ap-lines .l.tot{border-top:1px solid var(--line);margin-top:8px;padding-top:14px;font-size:16px;color:var(--ink);font-weight:600}
.ap-lines .l.tot b{font-family:"Fraunces",serif;font-size:19px;font-weight:500}
.ap-caution{margin-top:14px;font-size:13px;color:var(--ink-soft);background:var(--paper-2);border-radius:10px;padding:12px 14px}

@media(max-width:900px){
  .ap-gallery.c3,.ap-gallery.c4,.ap-gallery.c5{grid-template-columns:1fr 1fr;grid-template-rows:none;max-height:none}
  .ap-gallery .g0{grid-row:auto;grid-column:1/3;aspect-ratio:16/10}
  .ap-gallery.c4 .g3{grid-column:auto}
  .ap-gallery figure{aspect-ratio:4/3}
  .ap-body{grid-template-columns:1fr;gap:0}
  .ap-book{position:static;margin-top:30px;box-shadow:none}
}
@media(max-width:560px){
  .ap-gallery.c2,.ap-gallery.c3,.ap-gallery.c4,.ap-gallery.c5{grid-template-columns:1fr}
  .ap-gallery .g0{grid-column:auto;aspect-ratio:16/10}
  .ap-amen{grid-template-columns:1fr}
  .ap-titlebar{flex-direction:column;align-items:flex-start;gap:12px}
}

/* =========================================================
   Booking flow (book.html)
   ========================================================= */
.book-shell{min-height:100vh;display:flex;flex-direction:column}
.book-top{display:flex;align-items:center;justify-content:space-between;height:74px;border-bottom:1px solid var(--line)}
.book-progress{height:3px;background:var(--line-soft);position:relative;overflow:hidden}
.book-progress .bar{position:absolute;inset:0 auto 0 0;width:20%;background:var(--clay);transition:.6s var(--ease)}
.book-main{flex:1;display:grid;grid-template-columns:1fr 460px}
.book-stage{display:flex;align-items:center;padding:40px 28px}
.book-stage .q{max-width:540px;margin:0 auto;width:100%}
.book-step{display:none;animation:slideUp .55s var(--ease)}
.book-step.active{display:block}
@keyframes slideUp{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:none}}
.book-step .kicker{font-family:"Fraunces",serif;font-size:15px;color:var(--clay);margin-bottom:14px;letter-spacing:.04em}
.book-step h2{font-family:"Fraunces",serif;font-weight:340;font-size:clamp(30px,4.4vw,46px);line-height:1.06;margin-bottom:14px}
.book-step .help{color:var(--ink-soft);margin-bottom:32px;font-size:16px}
.field{margin-bottom:20px}
.field label{display:block;font-size:13px;letter-spacing:.04em;text-transform:uppercase;color:var(--ink-faint);font-weight:600;margin-bottom:9px}
.input{
  width:100%;font-family:inherit;font-size:17px;color:var(--ink);background:var(--card);
  border:1px solid var(--line);border-radius:12px;padding:16px 18px;transition:.25s;
}
.input:focus{outline:none;border-color:var(--mustard-dark);box-shadow:0 0 0 4px rgba(230,184,51,.22)}
.two{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.counter{display:flex;align-items:center;gap:20px}
.counter button{width:48px;height:48px;border-radius:50%;border:1px solid var(--line);background:var(--card);
  font-size:22px;cursor:pointer;color:var(--ink);transition:.25s;line-height:1}
.counter button:hover{border-color:var(--clay);color:var(--clay)}
.counter .val{font-family:"Fraunces",serif;font-size:32px;min-width:40px;text-align:center}
.book-nav{display:flex;align-items:center;gap:18px;margin-top:38px}
.book-back{font-size:14.5px;color:var(--ink-soft);cursor:pointer;background:none;border:none;font-family:inherit}
.book-back:hover{color:var(--ink)}
.choices{display:flex;flex-direction:column;gap:12px}
.choice{display:flex;align-items:center;gap:16px;padding:18px 20px;border:1px solid var(--line);border-radius:12px;
  background:var(--card);cursor:pointer;transition:.25s}
.choice:hover{border-color:var(--clay)}
.choice.sel{border-color:var(--mustard-dark);background:rgba(230,184,51,.12)}
.choice .ci{width:22px;height:22px;border-radius:50%;border:1px solid var(--line-soft);flex:0 0 auto;display:grid;place-items:center}
.choice.sel .ci{border-color:var(--clay);background:var(--clay)}
.choice.sel .ci::after{content:"";width:8px;height:8px;border-radius:50%;background:#fff}
.choice .ct b{font-weight:600}.choice .ct span{display:block;font-size:13.5px;color:var(--ink-soft)}

/* booking summary rail */
.book-rail{background:var(--paper-2);border-left:1px solid var(--line);padding:38px 32px;display:flex;flex-direction:column}
.rail-card{background:var(--card);border:1px solid var(--line);border-radius:var(--r);overflow:hidden}
.rail-card .ph{aspect-ratio:16/10;overflow:hidden;background:var(--paper-2)}
.rail-card .ph img{width:100%;height:100%;object-fit:cover}
.rail-card .rc-body{padding:20px}
.rail-card .loc{font-size:11.5px;letter-spacing:.16em;text-transform:uppercase;color:var(--ink-faint);font-weight:600}
.rail-card h3{font-family:"Fraunces",serif;font-weight:400;font-size:22px;margin:5px 0 0}
.rail-lines{margin-top:22px;display:flex;flex-direction:column;gap:2px}
.rail-line{display:flex;justify-content:space-between;padding:13px 0;border-bottom:1px solid var(--line);font-size:14.5px}
.rail-line span:first-child{color:var(--ink-soft)}
.rail-line.tot{border-bottom:none;padding-top:18px;font-size:16px}
.rail-line.tot b{font-family:"Fraunces",serif;font-size:24px;font-weight:500}
.rail-foot{margin-top:auto;padding-top:24px;font-size:12.5px;color:var(--ink-faint);display:flex;align-items:center;gap:8px}

/* confirmation */
.confirm{text-align:center;max-width:520px;margin:0 auto;padding:60px 0}
.confirm .seal{width:84px;height:84px;border-radius:50%;background:var(--mustard);color:var(--mustard-ink);display:grid;place-items:center;
  font-size:38px;margin:0 auto 28px;animation:pop .6s var(--ease)}
@keyframes pop{0%{transform:scale(.4);opacity:0}70%{transform:scale(1.08)}100%{transform:scale(1);opacity:1}}
.confirm h2{font-family:"Fraunces",serif;font-weight:340;font-size:clamp(30px,4.4vw,46px);margin-bottom:16px}
.confirm p{color:var(--ink-soft);margin-bottom:10px}
.confirm .ref{display:inline-flex;align-items:center;gap:10px;margin-top:18px;font-family:"Fraunces",serif;font-size:18px;
  border:1px dashed var(--line);border-radius:10px;padding:12px 22px;cursor:pointer;-webkit-tap-highlight-color:transparent;
  transition:border-color .2s ease,background .2s ease,color .2s ease}
.confirm .ref:hover{border-color:var(--mustard-dark);background:var(--paper)}
.confirm .ref .ref-copy,.confirm .ref .ref-check{width:17px;height:17px;flex:0 0 auto}
.confirm .ref .ref-copy{color:var(--ink-soft)}
.confirm .ref .ref-check{display:none;color:#1a8f3c}
.confirm .ref.copied{border-color:#1a8f3c;border-style:solid;color:#1a8f3c}
.confirm .ref.copied .ref-copy{display:none}
.confirm .ref.copied .ref-check{display:block}

/* ---------- responsive ---------- */
@media(max-width:1080px){
  .apts{grid-template-columns:repeat(2,1fr)}
  .steps{grid-template-columns:repeat(2,1fr)}
  .foot-grid{grid-template-columns:1fr 1fr;gap:34px}
}
@media(max-width:880px){
  .nav-links{display:none}
  .burger{display:flex}
  .hero{padding:18px 0 26px}
  .hero-grid{grid-template-columns:1fr;gap:20px}
  .hero-media{order:-1}
  .hero-media .frame{aspect-ratio:5/4}
  .hero h1{margin:12px 0 14px}
  .hero p.lede{margin-bottom:20px;max-width:none}
  .hero-strip{margin-top:26px;padding-top:20px;gap:22px}
  .manifesto .row{grid-template-columns:1fr;gap:26px}
  .trust{grid-template-columns:1fr;gap:34px}
  .cta-band .inner{grid-template-columns:1fr;text-align:left}
  .book-main{grid-template-columns:1fr}
  .book-rail{display:none}
  .sec-head{flex-direction:column;align-items:flex-start;gap:14px}
}
@media(max-width:560px){
  body{font-size:16px}
  .wrap{padding:0 20px}
  section{padding:48px 0}
  .sec-head{margin-bottom:26px}
  .apts{grid-template-columns:repeat(2,1fr);gap:24px 12px}
  .apt h3{font-size:15px}
  .apt .sub{font-size:12px;margin-top:2px}
  .apt .price{font-size:12.5px;margin-top:4px}
  .apt .price b{font-size:14px}
  .apt .gfav{font-size:11px;padding:5px 10px;top:10px;left:10px}
  .apt .fav{top:6px;right:6px;width:32px;height:32px}
  .steps{grid-template-columns:1fr}
  .foot-grid{grid-template-columns:1fr 1fr}
  .hero-tag{left:14px}
  .cta-band .inner{padding:44px 28px}
  .preview-ribbon{display:none}
}

/* ---------- white variant (toggle) ---------- */
body.white{
  --paper:#FFFFFF;
  --paper-2:#F5F5F3;
  --card:#FFFFFF;
  --line:#E9E6DF;
  --line-soft:#F1EFEA;
}
.vtoggle{position:fixed;left:18px;bottom:18px;z-index:85;display:flex;gap:2px;
  background:var(--ink);border-radius:100px;padding:4px;box-shadow:var(--shadow);
  border:1px solid rgba(255,255,255,.14)}
.vtoggle button{border:none;background:none;color:#C9BDA9;font-family:inherit;font-size:12px;
  font-weight:600;letter-spacing:.02em;padding:7px 15px;border-radius:100px;cursor:pointer;transition:.25s}
.vtoggle button.on{background:var(--mustard);color:var(--mustard-ink)}

/* =========================================================
   Review build — June 19, 2026 (Bayo's preview comments)
   #6 landing availability search · #5 sticky book FAB · #1 rotating reviews
   ========================================================= */

/* ---- #6 landing availability search ---- */
.search-wrap{margin-top:46px;position:relative;z-index:4}
.searchbar{
  background:var(--card);border:1px solid var(--line);border-radius:18px;
  box-shadow:var(--shadow-soft);padding:8px;display:grid;
  grid-template-columns:1fr 1fr 1.3fr auto;gap:4px;align-items:stretch;
}
.sf{display:flex;flex-direction:column;justify-content:center;padding:13px 20px;border-radius:13px;
  transition:.2s;cursor:pointer}
.sf + .sf{box-shadow:inset 1px 0 0 var(--line-soft)}
.sf:hover{background:var(--paper)}
.sf:focus-within{background:var(--paper)}
.sf span{font-size:10.5px;letter-spacing:.16em;text-transform:uppercase;color:var(--ink-faint);font-weight:700;margin-bottom:4px}
.sf input,.sf select{
  font-family:inherit;font-size:15.5px;color:var(--ink);background:none;border:none;padding:0;width:100%;cursor:pointer;
}
.sf input:focus,.sf select:focus{outline:none}
.searchbar > .btn{align-self:stretch;justify-content:center;padding:0 30px;border-radius:13px}
.search-result{margin-top:20px}
.avail-head{font-size:14.5px;color:var(--ink-soft);margin-bottom:15px;display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.avail-head .ok{color:var(--clay-dark);font-weight:700;letter-spacing:.01em}
.avail-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(236px,1fr));gap:14px}
.avail-opt{display:flex;align-items:center;gap:14px;background:var(--card);border:1px solid var(--line-soft);
  border-radius:14px;padding:12px;transition:.35s var(--ease)}
.avail-opt:hover{border-color:var(--clay);transform:translateY(-3px);box-shadow:var(--shadow-soft)}
.avail-opt img{width:76px;height:66px;border-radius:10px;object-fit:cover;flex:0 0 auto;background:var(--paper-2)}
.avail-opt .ao-b{flex:1;min-width:0}
.avail-opt .ao-loc{font-size:10.5px;letter-spacing:.14em;text-transform:uppercase;color:var(--ink-faint);font-weight:600}
.avail-opt h4{font-family:"Fraunces",serif;font-weight:400;font-size:18px;line-height:1.15;margin:2px 0 3px}
.avail-opt .ao-pr{font-size:13.5px;color:var(--ink-soft)}
.avail-opt .ao-pr b{color:var(--ink);font-weight:600}
.avail-opt .ao-go{flex:0 0 auto;width:34px;height:34px;border-radius:50%;background:var(--mustard);color:var(--mustard-ink);
  display:grid;place-items:center;font-size:15px;transition:.3s var(--ease)}
.avail-opt:hover .ao-go{transform:translateX(2px)}
.avail-none{background:var(--paper-2);border-radius:14px;padding:18px 20px;font-size:15px;color:var(--ink-soft);line-height:1.5}
.avail-none b{color:var(--ink)}

/* ---- #5 sticky floating book button ---- */
.book-fab{
  position:fixed;right:20px;bottom:20px;z-index:82;
  opacity:0;visibility:hidden;transform:translateY(14px);
  transition:opacity .4s var(--ease),transform .4s var(--ease),visibility .4s;
  box-shadow:0 18px 40px -14px rgba(140,98,18,.6);
}
.book-fab.show{opacity:1;visibility:visible;transform:none}

/* ---- #1 rotating reviews ---- */
.quote-sec .q,.quote-sec .who{transition:opacity .5s var(--ease)}
.quote-sec.fading .q,.quote-sec.fading .who{opacity:0}
.quote-dots{display:flex;gap:9px;justify-content:center;margin-top:28px}
.quote-dots button{width:8px;height:8px;border-radius:50%;border:none;background:var(--line);
  cursor:pointer;padding:0;transition:.3s var(--ease)}
.quote-dots button.on{background:var(--clay);transform:scale(1.3)}

@media(max-width:760px){
  .search-wrap{margin-top:30px}
  .searchbar{grid-template-columns:1fr 1fr;gap:4px}
  .sf + .sf{box-shadow:none}
  .sf{border:1px solid var(--line-soft)}
  .searchbar .sf-apt{grid-column:1 / 3}
  .searchbar > .btn{grid-column:1 / 3;padding:15px;margin-top:2px}
}
@media(max-width:560px){
  .book-fab{display:none}
}

/* =========================================================
   Nav Variation B — Airbnb-style top search + animated tabs
   ========================================================= */
.navb{display:none}
body.navb-on #nav,body.navb-on .search-wrap{display:none}
body.navb-on .navb{display:block}
.navb{position:sticky;top:0;z-index:50;background:rgba(247,242,233,.92);-webkit-backdrop-filter:saturate(1.1) blur(9px);backdrop-filter:saturate(1.1) blur(9px);border-bottom:1px solid var(--line)}
.navb .wrap{padding-top:12px;padding-bottom:6px}
.navb-top{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:12px}
.navb-book{padding:11px 20px;font-size:13.5px}
.searchpill{display:flex;align-items:center;gap:12px;width:100%;background:var(--card);border:1px solid var(--line);border-radius:100px;box-shadow:var(--shadow-soft);padding:15px 22px;cursor:pointer;font-family:inherit;color:var(--ink-soft);font-weight:600;font-size:15px;transition:.3s var(--ease)}
.searchpill:hover{box-shadow:var(--shadow);transform:translateY(-1px)}
.searchpill svg{width:18px;height:18px;color:var(--clay);flex:0 0 auto}
/* tabs */
.tabs{display:flex;justify-content:center;gap:30px;margin-top:14px}
.tab{display:flex;flex-direction:column;align-items:center;gap:3px;background:none;border:none;cursor:pointer;font-family:inherit;color:var(--ink-faint);font-size:12px;font-weight:600;padding:4px 2px 10px;position:relative;transition:.25s var(--ease)}
.tab .ti{width:36px;height:34px;display:grid;place-items:center;position:relative}
.tab .ti .fallback{width:30px;height:30px}
.tab .ti .lh{width:34px;height:34px}
.tab.on{color:var(--ink)}
.tab.on::after{content:"";position:absolute;left:2px;right:2px;bottom:0;height:2px;background:var(--ink);border-radius:2px}
.tab .soon{position:absolute;top:-3px;right:-13px;font-size:8px;letter-spacing:.08em;text-transform:uppercase;background:var(--mustard);color:var(--mink);border-radius:20px;padding:1px 5px;font-weight:800}
.tab[data-tab=experiences],.tab[data-tab=services]{opacity:.72}
.tab[data-tab=experiences]:hover,.tab[data-tab=services]:hover{opacity:1}
/* browse overlay */
.browse{position:fixed;inset:0;z-index:120;background:var(--paper);transform:translateY(100%);transition:transform .42s var(--ease);display:flex;flex-direction:column;visibility:hidden}
.browse.open{transform:none;visibility:visible}
.browse-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 20px;border-bottom:1px solid var(--line)}
.browse-head .tabs{margin:0;gap:26px}
.browse-close{width:38px;height:38px;border-radius:50%;border:1px solid var(--line);background:var(--card);font-size:15px;cursor:pointer;flex:0 0 auto;color:var(--ink)}
.browse-close:hover{border-color:var(--ink)}
.browse-body{flex:1;overflow-y:auto;padding:18px 20px 30px;display:flex;flex-direction:column;gap:14px}
.bcard{background:#fff;border:none;border-radius:24px;padding:24px;box-shadow:0 8px 24px rgba(0,0,0,0.06);margin-bottom:12px;cursor:pointer;transition:background .2s,box-shadow .2s;position:relative}
.bcard.active{box-shadow:0 12px 36px rgba(0,0,0,0.12);cursor:default;z-index:2}
.bcard:not(.active):hover{background:#fafaf8}
.bc-summary{display:none;align-items:center;justify-content:space-between;gap:16px}
.bc-summary span{font-size:13px;color:var(--ink-soft);font-weight:600}
.bc-summary b{font-size:14px;color:var(--ink);font-weight:700}
.bcard:not(.active) .bc-detail{display:none}
.bcard:not(.active) .bc-summary{display:flex}
.bcard.active .bc-detail{display:block}
.bcard.active .bc-summary{display:none}
.bcard h2{font-family:"Fraunces",serif;font-weight:400;font-size:26px;margin-bottom:16px}
.bcard label{display:block;font-size:10.5px;letter-spacing:.16em;text-transform:uppercase;color:var(--ink-faint);font-weight:700;margin-bottom:8px}
.bcard select,.bcard input{width:100%;font-family:inherit;font-size:16px;border:1px solid var(--line);border-radius:12px;padding:14px 16px;background:var(--paper);color:var(--ink)}
.bcard select:focus,.bcard input:focus{outline:none;border-color:var(--mustard-dark);box-shadow:0 0 0 3px rgba(230,184,51,.2)}
.bcard .two{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.bcount{display:flex;align-items:center;justify-content:space-between;gap:16px}
.bcount b{font-size:16px}.bcount span{display:block;font-size:13.5px;color:var(--ink-soft)}
.bcount .counter{display:flex;align-items:center;gap:16px}
.bcount .counter button{width:40px;height:40px;border-radius:50%;border:1px solid var(--line);background:var(--paper);font-size:20px;cursor:pointer;color:var(--ink);line-height:1}
.bcount .counter button:hover{border-color:var(--clay);color:var(--clay)}
.bcount .counter span{font-family:"Fraunces",serif;font-size:22px;min-width:24px;text-align:center}
.browse-foot{display:flex;align-items:center;justify-content:space-between;padding:14px 20px;border-top:1px solid var(--line);background:var(--paper)}
.browse-clear{background:none;border:none;font-family:inherit;font-size:15px;font-weight:600;text-decoration:underline;cursor:pointer;color:var(--ink)}
.browse-foot .btn{padding:15px 34px;font-size:15px}
.bnote{background:var(--paper-2);border-radius:14px;padding:16px 18px;font-size:15px;color:var(--ink-soft)}
.bhead{font-size:14.5px;color:var(--ink-soft);margin-bottom:6px}.bhead b{color:var(--clay-dark);font-weight:700}
.bres{display:flex;align-items:center;gap:14px;background:var(--card);border:1px solid var(--line-soft);border-radius:14px;padding:12px;margin-top:12px;transition:.3s var(--ease)}
.bres:hover{border-color:var(--clay);transform:translateY(-2px)}
.bres img{width:74px;height:64px;border-radius:10px;object-fit:cover;flex:0 0 auto;background:var(--paper-2)}
.bres-b{flex:1;min-width:0}
.bres-loc{font-size:10.5px;letter-spacing:.14em;text-transform:uppercase;color:var(--ink-faint);font-weight:600}
.bres h4{font-family:"Fraunces",serif;font-weight:400;font-size:18px;margin:2px 0 3px}
.bres-pr{font-size:13.5px;color:var(--ink-soft)}.bres-pr b{color:var(--ink);font-weight:600}
.bres-go{width:32px;height:32px;border-radius:50%;background:var(--mustard);color:var(--mink);display:grid;place-items:center;flex:0 0 auto;font-size:15px}
/* coming-soon toast */
.toast{position:fixed;left:50%;bottom:90px;transform:translateX(-50%) translateY(10px);background:var(--ink);color:var(--paper);padding:12px 20px;border-radius:100px;font-size:13.5px;font-weight:600;z-index:130;opacity:0;transition:.3s var(--ease);box-shadow:var(--shadow);pointer-events:none}
.toast.show{opacity:1;transform:translateX(-50%)}
/* nav A/B toggle (stacked above the ivory/white toggle) */
.navtoggle{position:fixed;left:18px;bottom:62px;z-index:85;display:flex;gap:2px;background:var(--ink);border-radius:100px;padding:4px;box-shadow:var(--shadow);border:1px solid rgba(255,255,255,.14)}
.navtoggle button{border:none;background:none;color:#C9BDA9;font-family:inherit;font-size:12px;font-weight:600;padding:7px 13px;border-radius:100px;cursor:pointer;transition:.25s}
.navtoggle button.on{background:var(--mustard);color:var(--mustard-ink)}
.navb .tabs{margin-top:8px}
.navb .searchpill{margin-top:14px}
/* collapse-on-scroll: the tabs drop away, the search pill stays; expands only at the very top */
.navb{transition:padding .25s var(--ease)}
.navb .wrap{position:relative}
.navb-mini{display:none}
.navb.collapsed .tabs{display:none}
.navb.collapsed .wrap{padding-top:10px;padding-bottom:9px}
@media(max-width:760px){
  body.navb-on .navb-top{display:none}
  .navb .wrap{padding-top:14px}
}
@media(min-width:760px){
  .searchpill{max-width:440px;margin:14px auto 0}
  .navb .wrap{display:flex;flex-direction:column}
  .browse{max-width:680px;left:50%;right:auto;width:100%;transform:translateX(-50%) translateY(100%);border-radius:24px 24px 0 0;box-shadow:var(--shadow)}
}

/* =========================================================
   Amenities Modal Overlay
   ========================================================= */
.btn-amen-show {
  width: 100%; margin-top: 24px; background: var(--card); border: 1px solid var(--line);
  color: var(--ink); font-family: inherit; font-size: 15px; font-weight: 600;
  padding: 14px 20px; border-radius: 12px; cursor: pointer; transition: .25s var(--ease);
}
.btn-amen-show:hover { border-color: var(--ink); background: var(--paper-2); }

.am-modal {
  position: fixed; inset: 0; z-index: 120;
  display: flex; flex-direction: column; justify-content: flex-end;
  visibility: hidden;
}
.am-backdrop {
  position: absolute; inset: 0; background: rgba(0,0,0,0.45);
  opacity: 0; transition: opacity .4s var(--ease); cursor: pointer;
}
.am-sheet {
  position: relative; background: var(--paper);
  border-radius: var(--am-radius, 24px) var(--am-radius, 24px) 0 0;
  height: var(--am-sheet-h, 97%); display: flex; flex-direction: column;
  transform: translateY(100%); transition: transform .4s var(--ease);
}
.am-modal.open { visibility: visible; }
.am-modal.open .am-backdrop { opacity: 1; }
.am-modal.open .am-sheet { transform: none; }
.am-head {
  padding: 16px 20px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: flex-end;
}
.am-close {
  width: var(--rm-x-box, 38px); height: var(--rm-x-box, 38px); border-radius: 50%; border: none; background: transparent;
  font-size: 16px; cursor: pointer; color: var(--ink); display: grid; place-items: center;
  transition: .25s; margin-left: var(--rm-x-ml, -10px); transform: translate(var(--rm-x-x, 0px), var(--rm-x-y, 0px));
}
.am-close svg { width: var(--rm-x-size, 24px); height: var(--rm-x-size, 24px); }
.am-close:hover { background: var(--card); }
.am-body {
  flex: 1; overflow-y: auto; padding: 24px 24px 60px;
}
.am-body h2 {
  font-family: "Fraunces", serif; font-weight: 400; font-size: 30px; margin-bottom: 30px;
}
.am-cat { margin-bottom: 34px; border-bottom: 1px solid var(--line-soft); padding-bottom: 30px; }
.am-cat:last-child { border-bottom: none; margin-bottom: 0; }
.am-cat h4 {
  font-size: 17.5px; font-weight: 600; margin-bottom: 18px; color: var(--ink);
}
.am-list { display: flex; flex-direction: column; }
.am-item {
  font-size: 17px; color: var(--ink); padding: 18px 0; border-bottom: 1px solid var(--line-soft);
  display: flex; gap: 16px; align-items: flex-start;
}
.am-item:last-child { border-bottom: none; padding-bottom: 0; }
.am-item:first-child { padding-top: 0; }
.am-item .lucide {
  width: 24px; height: 24px; color: var(--ink); stroke-width: 1.5; flex: 0 0 auto;
}
.am-text { display: flex; flex-direction: column; padding-top: 2px; }
.am-text span { line-height: 1.3; }
.am-desc { font-size: 14.5px; color: var(--ink-soft); margin-top: 4px; line-height: 1.4; }
.am-item.crossed {
  color: var(--ink-faint); text-decoration: line-through;
}
.am-item.crossed .lucide { color: var(--ink-faint); }
@media(min-width:760px) {
  .am-modal {
    max-width: 680px; left: 50%; right: auto; width: 100%;
    transform: translateX(-50%) translateY(100%); border-radius: 24px 24px 0 0; box-shadow: var(--shadow);
  }
  .am-modal.open { transform: translateX(-50%); }
}

/* ---- Leaflet Custom UI ---- */
.map-custom-card {
  position: absolute; top: 0; left: 0; z-index: 400;
  background: #fff; padding: 12px 14px 12px 14px;
  border-radius: 0 0 8px 0;
  box-shadow: 0 1px 4px rgba(0,0,0,0.3);
  display: flex; align-items: flex-start; gap: 14px;
  max-width: calc(100% - 60px); cursor: pointer;
}
.map-custom-card .c-txt { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.map-custom-card .c-title { font-size: 15px; font-weight: 600; color: #202124; margin-bottom: 1px; }
.map-custom-card .c-sub { font-size: 13px; color: #70757a; margin-bottom: 2px; }
.map-custom-card .c-rev { font-size: 13px; color: #70757a; }
.map-custom-card .c-btn {
  flex: 0 0 auto; color: #1a73e8; margin-top: 2px;
}
.map-custom-card .c-btn svg { width: 20px; height: 20px; stroke-width: 1.5; }
.map-layer-toggle {
  position: absolute; bottom: 22px; left: 12px; z-index: 400;
  width: 40px; height: 40px; border-radius: 4px; border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.3); cursor: pointer;
  background: #fff; display: flex; align-items: center; justify-content: center;
  padding: 0; outline: none; transition: .2s;
}
.map-layer-toggle:hover { background: #f1f1f1; }
.map-layer-toggle svg { width: 20px; height: 20px; color: #555; }
.custom-map-marker { background: none; border: none; }


/* ---- Fullscreen Map UI ---- */
.map-container.fullscreen {
  position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; z-index: 9999;
  border-radius: 0; margin: 0;
}
.map-container .fs-only { display: none; }
.map-container.fullscreen .inline-only { display: none; }
.map-container.fullscreen .fs-only { display: flex; }

.fs-close, .fs-search, .fs-pegman {
  position: absolute; z-index: 400; background: #fff;
  border: none; border-radius: 50%; box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  align-items: center; justify-content: center; cursor: pointer;
}
.fs-close { top: 50px; right: 20px; width: 44px; height: 44px; color: #222; }
.fs-search { top: 50px; left: 20px; width: 44px; height: 44px; color: #222; }
.fs-pegman { top: 110px; right: 20px; width: 44px; height: 44px; }
.fs-pegman svg { width: 22px; height: 22px; }

.sv-container {
  position: absolute; inset: 0; z-index: 500; background: #222;
}
.sv-close {
  position: absolute; top: 50px; left: 20px; z-index: 501;
  background: rgba(0,0,0,0.7); color: #fff; border: none; border-radius: 100px;
  padding: 10px 18px; display: flex; align-items: center; gap: 8px; font-weight: 600;
  cursor: pointer; backdrop-filter: blur(8px); font-size: 14px;
}
.sv-close svg { width: 18px; height: 18px; stroke-width: 2.5; }
.fs-filters { padding: 4px 24px 16px; display: flex; align-items: center; justify-content: space-between; }
.fs-search-btn {
  width: 48px; height: 48px; border-radius: 50%;
  background: #fff; border: 1px solid var(--ink);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; flex: 0 0 auto;
}
.fs-search-btn svg { width: 18px; height: 18px; color: var(--ink); }

.fs-sort-wrap { position: relative; display: inline-block; transform: translateX(var(--sort-x, 0px)); }
.fs-sort-wrap select {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  opacity: 0; cursor: pointer; z-index: 2; appearance: none;
}
.fs-sort-ui {
  display: flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line-dark, #b0b0b0);
  border-radius: 30px; padding: 10px 16px;
  font-size: 14.5px; font-weight: 500; color: var(--ink);
}
.fs-sort-ui svg { width: 16px; height: 16px; color: var(--ink); }

/* Search State styles */
.fs-search-head {
  padding: 12px 24px; display: flex; align-items: center; gap: 12px;
  border-bottom: 1px solid var(--line);
}
.fs-search-input-wrap {
  flex: 1; display: flex; align-items: center; gap: 8px;
  background: var(--paper-2); padding: 12px 16px;
  border-radius: 40px;
}
.fs-search-input-wrap svg { width: 18px; height: 18px; color: var(--ink); flex: 0 0 auto; }
.fs-search-input-wrap input {
  border: none; background: transparent; outline: none; width: 100%;
  font-family: inherit; font-size: 15px; color: var(--ink);
}
.fs-search-input-wrap .clear-btn {
  width: 20px; height: 20px; border-radius: 50%; background: #ccc;
  display: flex; align-items: center; justify-content: center;
  border: none; cursor: pointer; padding: 0;
}
.fs-search-input-wrap .clear-btn svg { width: 12px; height: 12px; color: #fff; }
.fs-search-cancel {
  background: none; border: none; font-size: 15px; font-weight: 600;
  color: var(--ink); cursor: pointer; text-decoration: underline;
}

.fs-review-count { display: none; font-size: 17px; font-weight: 600; color: var(--ink); margin: 0; }
.fs-review-count.show { display: block; }
.fs-search-btn.hide { display: none; }


/* ---- Calendar Section ---- */
.ap-calendar h3 { font-size: 24px; margin-bottom: 6px; font-weight: 600; font-family: inherit; }
.ap-cal-sub { font-size: 15px; color: var(--ink-soft); margin-bottom: 28px; }

.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; padding: 0 10px; }
.cal-head h4 { font-size: 18px; font-weight: 600; }
.cal-nav { width: 24px; height: 24px; color: var(--ink); cursor: pointer; stroke-width: 1.5; }
.cal-nav.disabled { color: var(--line-soft); pointer-events: none; }

.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; gap: 2px 0; }
.cal-dow { font-size: 13px; color: var(--ink-soft); font-weight: 600; margin-bottom: 16px; }

.cal-day { position: relative; display: flex; align-items: center; justify-content: center; height: 54px; font-size: 16px; font-weight: 600; color: var(--ink); cursor: pointer; z-index: 1; }
.cal-day.past { color: #a0a0a0; text-decoration: line-through; pointer-events: none; font-weight: 500; }

.cal-day.range::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; right: 0; background: #ebebeb; z-index: -1; }
.cal-day.flex-range::before { background: #f6f6f6; }
.cal-day.selected { color: #fff; font-weight: 600; }
.cal-day.selected::after { content: ""; position: absolute; inset: 0; margin: auto; width: 52px; height: 52px; background: #222; border-radius: 50%; z-index: -1; }
.cal-day.selected.start::before { content: ""; position: absolute; top: 0; bottom: 0; right: 0; left: 50%; background: #ebebeb; z-index: -2; }
.cal-day.selected.end::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; right: 50%; background: #ebebeb; z-index: -2; }

.cal-clear { background: none; border: none; font-size: 15px; font-weight: 400; text-decoration: none; color: var(--ink); padding: 0; margin-top: 20px; cursor: pointer; }
.cal-clear:hover { text-decoration: underline; }


.cal-toggle-wrap { display: flex; justify-content: center; margin-bottom: 24px; }
.cal-toggle { position: relative; display: inline-flex; background: #ebebeb; border-radius: 100px; padding: 5px; box-shadow: inset 0 2px 4px rgba(0,0,0,0.04); width: 100%; max-width: 320px; overflow: hidden; }
.cal-toggle::before { content: ""; position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); background: #fff; border-radius: 100px; box-shadow: 0 2px 8px rgba(0,0,0,0.15); transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); z-index: 1; }
.cal-toggle.flex-active::before { transform: translateX(100%); }
.cal-toggle button { position: relative; z-index: 2; flex: 1; border: none; background: transparent; padding: 12px 0; font-size: 15px; font-weight: 600; font-family: inherit; border-radius: 100px; cursor: pointer; transition: color 0.2s; color: #666; }
.cal-toggle button.active { background: transparent; box-shadow: none; color: #000; }

.cal-flex-dates { display: flex; gap: 8px; overflow-x: auto; padding: 8px 16px 16px; margin: 16px -16px 0; scrollbar-width: none; }
.cal-flex-dates::-webkit-scrollbar { display: none; }
.cal-flex-dates button { flex: 0 0 auto; border: 1px solid var(--line); background: #fff; padding: 8px 16px; border-radius: 100px; font-size: 14px; font-weight: 500; font-family: inherit; color: var(--ink); cursor: pointer; transition: 0.2s; }
.cal-flex-dates button.active { border: 2px solid #222; font-weight: 600; padding: 7px 15px; background: #fafafa; box-shadow: 0 4px 12px rgba(0,0,0,0.15); }

.cal-flex-title { font-size: 16px; font-weight: 600; margin-bottom: 16px; margin-top: 24px; }
.cal-flex-pills { display: flex; gap: 8px; margin-bottom: 32px; }
.cal-flex-pills button { border: 1px solid var(--line); background: #fff; padding: 10px 20px; border-radius: 100px; font-size: 14px; font-weight: 500; font-family: inherit; color: var(--ink); cursor: pointer; transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s, background 0.2s; transform: scale(1); }
.cal-flex-pills button:active { transform: scale(0.96); transition: transform 0.1s; }
.cal-flex-pills button.active { border: 2px solid #222; font-weight: 600; background: #fafafa; padding: 9px 19px; box-shadow: 0 4px 12px rgba(0,0,0,0.15); transform: scale(1.02); }

.cal-flex-months { display: flex; gap: 12px; overflow-x: auto; padding-top: 12px; padding-bottom: 24px; margin: 0 -16px; padding-left: 16px; padding-right: 16px; scrollbar-width: none; }
.cal-flex-months::-webkit-scrollbar { display: none; }
.cal-flex-months button { flex: 0 0 auto; width: 124px; height: 136px; border: 1px solid var(--line); background: #fff; border-radius: 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; cursor: pointer; color: var(--ink); font-family: inherit; transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s, background 0.2s; transform: scale(1); }
.cal-flex-months button:active { transform: scale(0.96); transition: transform 0.1s ease; }
.cal-flex-months button.active { border: 2px solid #222; background: #fafafa; box-shadow: 0 8px 24px rgba(0,0,0,0.12); transform: scale(1.04); }
.cal-flex-months button.active:active { transform: scale(1.0); }
.cal-flex-months button i { width: 38px; height: 38px; stroke-width: 1.5; margin-bottom: 6px; color: var(--ink-soft); transition: 0.2s; }
.cal-flex-months button.active i { color: var(--ink); }
.cal-flex-months button span { font-size: 16px; font-weight: 600; display: block; }
.cal-flex-months button small { font-size: 14px; color: var(--ink-soft); }

@keyframes slideFadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
#cal-view-dates, #cal-view-flexible { animation: slideFadeIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards; }

.bottom-pop-wrapper { position: absolute; top: -70px; left: 0; right: 0; padding: 0 16px; display: none; justify-content: center; z-index: 100; pointer-events: none; }
.bottom-pop-wrapper.show { display: flex; }
.bottom-pop-override { position: relative !important; left: auto !important; right: auto !important; bottom: auto !important; width: 100%; max-width: 400px; border: 1px solid var(--line-soft); padding: 12px 16px !important; animation: none !important; }
.bottom-pop-wrapper.show .bottom-pop-override { animation: pillInOut 6.0s cubic-bezier(.3,.85,.25,1) 0.5s 1 both !important; pointer-events: auto; }
.bottom-pop-wrapper:not(.show) .tag, .bottom-pop-wrapper:not(.show) .shine { animation: none !important; }

/* ---- Meet Host Section ---- */
.meet-host { padding-top: 32px; }
.mh-title { font-family: "Fraunces", serif; font-size: 24px; font-weight: 600; margin-bottom: 24px; }
.mh-card {
  background: #fff; border-radius: 20px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  display: flex; align-items: stretch; margin-bottom: 32px;
  border: 1px solid var(--line-soft);
}
.mh-card-left {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 32px 16px; border-right: 1px solid var(--line-soft); text-align: center;
}
.mh-av {
  width: 90px; height: 90px; border-radius: 50%; background: #E8F5E9;
  color: #1B5E20; display: flex; align-items: center; justify-content: center;
  font-family: "Fraunces", serif; font-size: 40px; font-weight: 600;
  position: relative; margin-bottom: 12px;
}
.mh-badge {
  position: absolute; bottom: 0; right: 0;
  width: 28px; height: 28px; border-radius: 50%;
  background: #E31C5F; color: #fff; display: flex; align-items: center; justify-content: center;
  border: 3px solid #fff;
}
.mh-badge svg { width: 14px; height: 14px; }
.mh-name { font-size: 24px; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.mh-shost { font-size: 14px; color: var(--ink-soft); display: flex; align-items: center; justify-content: center; gap: 4px; font-weight: 500; }
.mh-shost svg { width: 14px; height: 14px; color: var(--ink); }

.mh-card-right { flex: 1; display: flex; flex-direction: column; }
.mh-stat {
  flex: 1; display: flex; flex-direction: column; justify-content: center;
  padding: 16px 20px; border-bottom: 1px solid var(--line-soft);
}
.mh-stat .mh-val { font-size: 20px; font-weight: 700; color: var(--ink); display: flex; align-items: center; gap: 4px; }
.mh-stat .mh-lbl { font-size: 11px; color: var(--ink-soft); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; margin-top: 2px; }

.mh-about { margin-bottom: 24px; }
.mh-about h4 { font-size: 17px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.mh-about p { font-size: 15.5px; color: var(--ink-soft); line-height: 1.5; margin: 0; }

.mh-details { margin-bottom: 24px; }
.mh-details h4 { font-size: 17px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.mh-details p { font-size: 15px; color: var(--ink); margin: 0 0 4px 0; }

.mh-protection { display: flex; gap: 16px; margin-top: 32px; align-items: flex-start; }
.mh-prot-icon { flex: 0 0 auto; }
.mh-protection p { font-size: 12px; color: var(--ink-soft); line-height: 1.4; margin: 0; }

/* ---- Variation 2 (Light version of Premium) ---- */
.v2-card {
  background: #fff; border-radius: 24px;
  padding: var(--hc-pad-y, 20px) var(--hc-pad-x, 20px);
  color: var(--ink); text-align: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  border: 1px solid var(--line-soft);
  position: relative; overflow: hidden;
}
.v2-card::before { content: none; }
.v2-av {
  width: var(--hc-av-sz, 64px); height: var(--hc-av-sz, 64px); border-radius: 50%; background: radial-gradient(circle at 32% 28%, var(--mustard), var(--clay)); box-shadow: 0 4px 12px rgba(169,120,26,0.28);
  color: var(--mustard-ink); border: none;
  display: flex; align-items: center; justify-content: center;
  font-family: "Fraunces", serif; font-size: calc(var(--hc-av-sz, 64px) * 0.45); font-weight: 600;
  margin: 0 auto 16px; position: relative;
}
.v2-badge {
  position: absolute; bottom: -4px; right: -4px; width: 26px; height: 26px; border-radius: 50%;
  background: #E31C5F; color: #fff; display: flex; align-items: center; justify-content: center;
  border: 3px solid #fff;
}
.v2-name { font-size: var(--hc-name-sz, 22px); font-weight: 700; font-family: "Fraunces", serif; margin-bottom: 4px; color: var(--ink); }
.v2-sub { font-size: var(--hc-sub-sz, 13px); color: var(--ink-soft); letter-spacing: 0.02em; margin-bottom: var(--hc-sub-mb, 16px); }
.v2-stats {
  display: flex; justify-content: space-between; border-top: 1px solid var(--line-soft); padding-top: var(--hc-stat-py, 16px);
}
.v2-stat { text-align: center; flex: 1; }
.v2-stat-val { font-size: var(--hc-stat-val, 17px); font-weight: 700; color: var(--ink); margin-bottom: 2px; }
.v2-stat-lbl { font-size: var(--hc-stat-lbl, 10px); color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.05em; }

/* ---- Things to know (Airbnb-style) ---- */
.ttk-section h3 { margin-bottom: 24px; font-size: 22px; font-weight: 600; color: var(--ink); }
.ttk-list { display: flex; flex-direction: column; }
.ttk-item {
  display: flex; align-items: flex-start; padding: 24px 0;
  border-bottom: 1px solid var(--line); cursor: pointer;
}
.ttk-item:last-child { border-bottom: none; }
.ttk-icon { margin-right: 16px; flex: 0 0 auto; color: var(--ink); display: flex; align-items: center; justify-content: center; }
.ttk-icon i { width: 24px; height: 24px; }
.ttk-content { flex: 1; margin-right: 16px; }
.ttk-content h4 { font-size: 16px; font-weight: 600; color: var(--ink); margin: 0 0 4px 0; }
.ttk-content p { font-size: 14px; color: var(--ink-soft); line-height: 1.5; margin: 0; }
.ttk-chevron { flex: 0 0 auto; color: var(--ink-soft); display: flex; align-items: center; margin-top: 2px; }
.ttk-chevron i { width: 20px; height: 20px; }
.ttk-report {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 32px;
  font-size: 16px; font-weight: 600; color: var(--ink); text-decoration: underline;
  cursor: pointer;
}
.ttk-report i { width: 18px; height: 18px; }

/* ---- Explore Options ---- */
.explore-section { padding-top: 24px; padding-bottom: 24px; border-top: 1px solid var(--line); }
.explore-section h3 { margin-bottom: 24px; font-size: 22px; font-weight: 600; color: var(--ink); }
.explore-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  row-gap: 24px;
  column-gap: 16px;
}
@media (min-width: 768px) {
  .explore-grid { grid-template-columns: 1fr 1fr 1fr; }
}
@media (min-width: 1024px) {
  .explore-grid { grid-template-columns: 1fr 1fr 1fr 1fr; }
}
.explore-link { text-decoration: none; color: inherit; display: block; }
.explore-link:hover .ex-loc { text-decoration: underline; }
.explore-link .ex-loc { font-size: 15px; font-weight: 500; color: var(--ink); margin-bottom: 2px; }
.explore-link .ex-type { font-size: 14px; color: var(--ink-soft); }

/* ---- Skeleton Loading State ---- */
body.loading { overflow: hidden; }
body.loading .ap-reserve-bar { transform: translateY(100%); opacity: 0; transition: transform 0.4s var(--ease), opacity 0.4s; }
body.loading .ap-main, body.loading footer, body.loading .hero, body.loading .apartments { opacity: 0; }

.skeleton-ui {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: var(--paper); z-index: 9000;
  transition: opacity 0.5s var(--ease), visibility 0.5s;
  overflow: hidden; pointer-events: none;
}
.skeleton-ui.hide { opacity: 0; visibility: hidden; }

/* The pulse animation */
@keyframes skelPulse {
  0% { opacity: 1; }
  50% { opacity: 0.5; }
  100% { opacity: 1; }
}
.skel-block { background: #E2D7C3; animation: skelPulse 1.5s infinite ease-in-out; border-radius: 8px; }

/* Top Gallery Area */
.skel-hero { height: var(--g-height, 52vh); width: 100%; border-radius: 0; }

/* The white sheet */
.skel-sheet {
  background: #fff;
  border-radius: var(--sheet-radius, 26px) var(--sheet-radius, 26px) 0 0;
  margin-top: var(--sheet-overlap, -48px);
  position: relative; z-index: 2; height: 100vh;
  padding: 32px 24px;
  display: flex; flex-direction: column; align-items: center; gap: 20px;
}

.skel-title { width: 80%; height: 28px; margin-bottom: 8px; }
.skel-sub { width: 50%; height: 16px; margin-bottom: 24px; }
.skel-row { display: flex; gap: 16px; width: 100%; justify-content: center; margin-bottom: 32px; }
.skel-stat { width: 60px; height: 40px; }
