/* ==========================================================================
   Keys to Homes · Paternoster
   Navy ink on warm paper, the way the business card does it.
   ========================================================================== */
:root {
  --ink: #0c1f2e;
  --ink-2: #17344b;
  --sea: #1f5e7a;
  --sea-2: #2d7f9c;
  --foam: #9cc9d3;
  --paper: #f8f4ec;
  --shell: #fffdf8;
  --sand: #ebe2d2;
  --line: #e2d8c6;
  --brass: #b08a52;
  --brass-2: #c9a46b;
  --muted: #68757e;
  --danger: #b4432f;
  --wa: #1f8f5a;
  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans: "Jost", "Avenir Next", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 16px;
  --r-s: 10px;
  --shadow: 0 1px 2px rgba(12, 31, 46, .05), 0 12px 32px -12px rgba(12, 31, 46, .18);
  --shadow-lg: 0 2px 4px rgba(12, 31, 46, .06), 0 30px 60px -20px rgba(12, 31, 46, .32);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --wrap: 1240px;
  --pad: clamp(20px, 5vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.is-home { background: var(--ink); }
img, video, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.08; margin: 0; letter-spacing: -.005em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6.4vw, 5rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); }
h3 { font-size: 1.6rem; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
em { font-style: italic; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--foam); color: var(--ink); }
.skip { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; transition: top .2s; }
.skip:focus { top: 12px; }
.ico { flex: none; }
.ico.flip { transform: scaleX(-1); }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.muted { color: var(--muted); }
.eyebrow { font: 500 .76rem/1.4 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--brass); margin: 0 0 1.1em; }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.28rem); max-width: 46ch; opacity: .86; font-weight: 300; }
.hide-s { display: none; }
@media (min-width: 720px) { .hide-s { display: inline-flex; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .65em; min-height: 52px; padding: 0 1.6em;
  border-radius: 999px; font: 500 .95rem/1 var(--sans); letter-spacing: .04em; white-space: nowrap;
  transition: transform .35s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .25s; position: relative;
}
.btn .ico { transition: transform .35s var(--ease); }
.btn:hover .ico:last-child { transform: translateX(4px); }
.btn:active { transform: scale(.98); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--ink-2); box-shadow: 0 10px 24px -10px rgba(12, 31, 46, .6); }
.btn-light { background: var(--shell); color: var(--ink); }
.btn-light:hover { background: #fff; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .45); }
.btn-ghost { color: #fff; border: 1px solid rgba(255, 255, 255, .45); backdrop-filter: blur(8px); background: rgba(12, 31, 46, .18); }
.btn-ghost:hover { background: rgba(255, 255, 255, .16); border-color: #fff; }
.btn-line { border: 1px solid var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.btn-paper { background: var(--shell); color: var(--ink); box-shadow: var(--shadow); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #17764a; }
.btn-block { width: 100%; }
.btn-s { min-height: 42px; padding: 0 1.1em; font-size: .88rem; }
.text-link { display: inline-flex; align-items: center; gap: .5em; font-weight: 500; border-bottom: 1px solid currentColor; padding-bottom: 2px; transition: gap .3s var(--ease); }
.text-link:hover { gap: .9em; }

/* ---------- header ---------- */
.site-head {
  position: fixed; inset: 0 0 auto 0; z-index: 60; display: flex; align-items: center; justify-content: space-between;
  padding: 16px var(--pad); color: #fff; transition: background .4s, color .4s, padding .4s, box-shadow .4s, transform .4s var(--ease);
}
.site-head.is-solid { background: rgba(248, 244, 236, .92); backdrop-filter: blur(14px) saturate(1.3); color: var(--ink); padding-top: 10px; padding-bottom: 10px; box-shadow: 0 1px 0 var(--line); }
.site-head.is-hidden { transform: translateY(-110%); }
.brand { display: flex; align-items: center; gap: 14px; }
.brand .logo-mark { width: 74px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text b { font: 500 1.22rem/1 var(--serif); letter-spacing: .2em; text-transform: uppercase; }
.brand-text i { font: 400 .62rem/1 var(--sans); letter-spacing: .42em; text-transform: uppercase; margin-top: 6px; opacity: .8; font-style: normal; }
.site-nav { display: none; align-items: center; gap: 34px; font-size: .92rem; letter-spacing: .08em; }
.site-nav a { position: relative; padding: 8px 0; }
.site-nav a:not(.nav-stay)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.site-nav a:not(.nav-stay):hover::after, .site-nav a[aria-current]::after { transform: scaleX(1); transform-origin: left; }
.nav-stay { display: inline-flex; align-items: center; gap: 8px; border: 1px solid currentColor; border-radius: 999px; padding: 9px 18px !important; transition: background .25s, color .25s; }
.nav-stay:hover { background: #fff; color: var(--ink); border-color: #fff; }
.is-solid .nav-stay:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.nav-toggle { width: 46px; height: 46px; display: grid; place-content: center; gap: 7px; }
.nav-toggle span { display: block; width: 26px; height: 1.5px; background: currentColor; transition: transform .35s var(--ease); }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4.25px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4.25px) rotate(-45deg); }
@media (min-width: 900px) { .site-nav { display: flex; } .nav-toggle { display: none; } }
.mobile-nav { position: fixed; inset: 0; z-index: 55; background: var(--ink); color: var(--paper); display: flex; flex-direction: column; justify-content: space-between; padding: 110px var(--pad) 40px; animation: fade .3s; }
.mobile-nav nav { display: flex; flex-direction: column; gap: 6px; }
.mobile-nav nav a { font: 500 2.4rem/1.25 var(--serif); }
.mobile-nav-foot { display: grid; gap: 14px; }
.mobile-nav-foot a { display: flex; align-items: center; gap: 12px; opacity: .85; }
body.nav-open { overflow: hidden; }
body.nav-open .site-head { color: #fff; background: none; box-shadow: none; }
@keyframes fade { from { opacity: 0; } }

/* ---------- the ocean (home) ---------- */
#ocean { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; background: linear-gradient(#0c1f2e, #1f5e7a); }
#main { position: relative; z-index: 1; }

.intro-veil { position: fixed; inset: 0; z-index: 100; background: var(--paper); color: var(--ink); display: grid; place-items: center; --hole: 0px; pointer-events: none;
  -webkit-mask: radial-gradient(circle at 50% 46%, transparent var(--hole), #000 calc(var(--hole) + 1.5px)); mask: radial-gradient(circle at 50% 46%, transparent var(--hole), #000 calc(var(--hole) + 1.5px)); }
.veil-mark { text-align: center; transition: opacity .5s, transform 1.4s var(--ease); }
.veil-mark .logo-mark { margin: 0 auto 18px; width: min(60vw, 260px); height: auto; }
.veil-mark .logo-mark path, .veil-mark .logo-mark circle { stroke-dasharray: 400; stroke-dashoffset: 400; animation: draw 1.5s var(--ease) forwards; }
.veil-name { font: 500 clamp(1.5rem, 5vw, 2.3rem)/1 var(--serif); letter-spacing: .26em; text-transform: uppercase; margin: 0; opacity: 0; animation: rise .8s .5s var(--ease) forwards; }
.veil-place { font: 400 .75rem/1 var(--sans); letter-spacing: .5em; text-transform: uppercase; margin: 12px 0 0; opacity: 0; animation: rise .8s .7s var(--ease) forwards; }
.intro-veil.is-open .veil-mark { opacity: 0; transform: scale(1.25); }
.intro-veil.is-gone { display: none; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; color: #fff; padding: 120px var(--pad) 150px; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 80% at 20% 45%, rgba(8, 22, 34, .5), transparent 62%); pointer-events: none; }
.hero-inner { position: relative; max-width: var(--wrap); width: 100%; margin: 0 auto; }
.hero-eyebrow { color: #fff; opacity: .9; }
.hero-eyebrow span { color: var(--brass-2); }
.hero-title { font-size: clamp(4rem, 15vw, 12.5rem); line-height: .86; font-weight: 400; font-style: italic; letter-spacing: -.02em; text-shadow: 0 4px 60px rgba(4, 16, 26, .45); }
.hero-title .line { display: block; overflow: hidden; padding: .04em .06em .14em 0; }
.hero-title .line-2 { padding-left: clamp(1.4rem, 9vw, 9rem); margin-top: -.1em; }
.hero-title .line > span, .hero-title em { display: inline-block; transform: translateY(110%); transition: transform 1.3s var(--ease); }
.hero-title em { transition-delay: .18s; opacity: .7; margin-left: .04em; }
.hero-title .line-2 > span { transition-delay: .28s; }
.is-ready .hero-title .line > span, .is-ready .hero-title em { transform: none; }
.hero-sub { max-width: 34ch; font-size: clamp(1.05rem, 1.7vw, 1.3rem); font-weight: 300; margin: 26px 0 34px; text-shadow: 0 1px 24px rgba(4, 16, 26, .6); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-eyebrow, .hero-sub, .hero .hero-cta, .hero-foot { opacity: 0; transform: translateY(18px); transition: opacity 1s .5s, transform 1s .5s var(--ease); }
.is-ready .hero-eyebrow, .is-ready .hero-sub, .is-ready .hero .hero-cta, .is-ready .hero-foot { opacity: 1; transform: none; }
.is-ready .hero-eyebrow { opacity: .92; }
.hero-foot { position: absolute; left: var(--pad); right: var(--pad); bottom: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.sky-dial { display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(8, 22, 34, .38); backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, .16); }
.sky-dial button { color: rgba(255, 255, 255, .78); font-size: .78rem; letter-spacing: .08em; padding: 9px 13px; border-radius: 999px; display: inline-flex; align-items: center; gap: 7px; transition: background .25s, color .25s; }
.sky-dial button:hover { color: #fff; }
.sky-dial button.is-on { background: rgba(255, 255, 255, .92); color: var(--ink); }
.sky-dial .dot, .now-live i { width: 7px; height: 7px; border-radius: 50%; background: #58d68d; box-shadow: 0 0 0 0 rgba(88, 214, 141, .6); animation: pulse 2s infinite; display: inline-block; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(88, 214, 141, 0); } 100% { box-shadow: 0 0 0 0 rgba(88, 214, 141, 0); } }
.hero-now { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 16px; font-size: .86rem; letter-spacing: .04em; text-shadow: 0 1px 12px rgba(4, 16, 26, .7); }
.hero-now span { display: inline-flex; align-items: center; gap: 6px; }
.hero-now b { font: 500 1.25rem/1 var(--serif); letter-spacing: .04em; }
.now-live { text-transform: uppercase; letter-spacing: .2em !important; font-size: .68rem; display: inline-flex; align-items: center; gap: 8px; }
.scroll-cue { margin-left: auto; width: 26px; height: 44px; border: 1px solid rgba(255, 255, 255, .6); border-radius: 14px; display: none; justify-content: center; padding-top: 8px; }
.scroll-cue span { width: 3px; height: 8px; border-radius: 2px; background: #fff; animation: cue 1.8s infinite var(--ease); }
@keyframes cue { 0% { opacity: 0; transform: translateY(-4px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@media (min-width: 720px) { .scroll-cue { display: flex; } }

.scene-pill { position: fixed; left: 50%; bottom: 86px; z-index: 66; transform: translate(-50%, 20px); display: none; align-items: center; gap: 10px; padding: 9px 9px 9px 16px; border-radius: 999px; background: rgba(8, 22, 34, .62); backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, .2); color: #fff; font-size: .82rem; letter-spacing: .03em; white-space: nowrap; opacity: 0; transition: opacity .6s, transform .6s var(--ease); }
.scene-pill b { font-weight: 500; background: rgba(255, 255, 255, .92); color: var(--ink); border-radius: 999px; padding: 7px 13px; }
.scene-pill:hover b { background: #fff; }
body.scene-paused.scene-visible .scene-pill { display: inline-flex; opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 560px) { .scene-pill span { display: none; } .scene-pill { padding-left: 12px; bottom: 150px; } }
.story { min-height: 105svh; display: flex; align-items: center; color: #fff; padding: 80px var(--pad) 140px; position: relative; }
.story::before { content: ""; position: absolute; inset: 0; background: linear-gradient(270deg, transparent 42%, rgba(8, 22, 34, .5) 62%, rgba(8, 22, 34, .78)); pointer-events: none; }
.story-inner { position: relative; max-width: 540px; margin-right: auto; margin-left: max(0px, calc((100vw - var(--wrap)) / 2)); }
.story .eyebrow { color: var(--brass-2); }
.story-title { font-size: clamp(2.2rem, 4.6vw, 3.8rem); margin-bottom: .5em; text-shadow: 0 2px 30px rgba(4, 16, 26, .5); }
.story-title em { color: var(--foam); }
.story-text { font-weight: 300; font-size: 1.1rem; opacity: .92; text-shadow: 0 1px 18px rgba(4, 16, 26, .7); margin-bottom: 1.6em; }
[data-split] .w { display: inline-block; opacity: 0; transform: translateY(.5em); filter: blur(6px); transition: opacity .8s, transform .8s var(--ease), filter .8s; }
[data-split].is-in .w { opacity: 1; transform: none; filter: none; }

.page-sheet { position: relative; z-index: 2; background: var(--paper); border-radius: 34px 34px 0 0; box-shadow: 0 -30px 80px -20px rgba(4, 16, 26, .55); margin-top: -34px; overflow: hidden; }
.is-home .page-sheet { border-radius: 34px; }

.finale { position: relative; min-height: 100svh; display: grid; place-items: center; text-align: center; color: #fff; padding: 140px var(--pad) 120px; }
.finale::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 60% at 50% 50%, rgba(8, 22, 34, .5), transparent 70%); }
.finale-inner { position: relative; max-width: 620px; }
.finale-mark { margin: 0 auto 26px; opacity: .92; }
.finale h2 { font-size: clamp(3.2rem, 9vw, 7rem); font-style: italic; font-weight: 400; margin-bottom: .25em; text-shadow: 0 4px 50px rgba(4, 16, 26, .5); }
.finale p { font-weight: 300; font-size: 1.15rem; margin-bottom: 2em; text-shadow: 0 1px 18px rgba(4, 16, 26, .7); }
.finale .hero-cta { justify-content: center; }
.insta { display: inline-flex; gap: 8px; align-items: center; margin-top: 34px; opacity: .8; letter-spacing: .08em; font-size: .9rem; }
.insta:hover { opacity: 1; }

/* ---------- sections ---------- */
.section { padding: clamp(70px, 10vw, 130px) 0; }
.section-tight { padding: clamp(36px, 5vw, 60px) 0 clamp(70px, 9vw, 110px); }
.section-sand { background: var(--sand); }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head .eyebrow { margin-bottom: .7em; }

.finder { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 40px; }
.finder-label { font: italic 500 1.35rem/1 var(--serif); margin-right: 8px; }
.finder a { border: 1px solid var(--line); background: var(--shell); border-radius: 999px; padding: 10px 18px; font-size: .92rem; transition: all .3s var(--ease); }
.finder a:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); transform: translateY(-2px); }

/* ---------- home cards ---------- */
.home-grid { display: grid; gap: clamp(22px, 3vw, 38px); grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); }
.home-card { perspective: 1200px; }
.home-card-link { display: block; }
.home-card-img { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; background: var(--sand); transform-style: preserve-3d; transition: transform .5s var(--ease), box-shadow .5s; box-shadow: var(--shadow); will-change: transform; }
.home-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.home-card:hover .home-card-img { box-shadow: var(--shadow-lg); }
.home-card:hover .home-card-img img { transform: scale(1.06); }
.home-card-img::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 60% at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, .22), transparent 60%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.home-card:hover .home-card-img::after { opacity: 1; }
.img-blank { width: 100%; height: 100%; display: grid; place-items: center; color: var(--brass); }
.pill { position: absolute; display: inline-flex; align-items: center; gap: 5px; background: rgba(255, 253, 248, .94); color: var(--ink); border-radius: 999px; padding: 6px 11px; font-size: .78rem; font-weight: 500; backdrop-filter: blur(6px); }
.pill i { font-style: normal; font-weight: 400; color: var(--muted); }
.pill-rating { top: 12px; left: 12px; }
.pill-rating .ico { color: var(--brass); fill: var(--brass); }
.pill-area { bottom: 12px; left: 12px; background: rgba(12, 31, 46, .72); color: #fff; letter-spacing: .08em; text-transform: uppercase; font-size: .68rem; }
.home-card-body { padding: 18px 4px 0; }
.home-card-body h3 { font-size: 1.7rem; }
.home-card-tag { color: var(--muted); margin: 6px 0 12px; font-size: .98rem; line-height: 1.5; }
.home-card-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .86rem; color: var(--ink-2); }
.home-card-meta span { display: inline-flex; align-items: center; gap: 6px; }
.home-card-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); font-size: .92rem; }
.price b { font: 600 1.25rem/1 var(--serif); }
.go { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; transition: gap .3s var(--ease); }
.home-card:hover .go { gap: 14px; }

/* ---------- ink band ---------- */
.band-ink { background: var(--ink); color: var(--paper); padding: clamp(70px, 10vw, 120px) 0; position: relative; overflow: hidden; }
.band-ink::before { content: ""; position: absolute; inset: 0; opacity: .5; background: radial-gradient(60% 80% at 90% 10%, rgba(31, 94, 122, .7), transparent 60%), radial-gradient(40% 60% at 0% 100%, rgba(176, 138, 82, .22), transparent 60%); }
.band-grid { position: relative; display: grid; gap: 50px; }
.band-copy h2 { margin-bottom: .5em; }
.band-copy p { opacity: .82; font-weight: 300; max-width: 52ch; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 34px 28px; margin: 0; }
.stats dt { font: 500 clamp(2.8rem, 6vw, 4.4rem)/1 var(--serif); color: var(--brass-2); font-variant-numeric: tabular-nums; }
.stats dd { margin: 8px 0 0; font-size: .92rem; opacity: .78; max-width: 22ch; }
@media (min-width: 900px) { .band-grid { grid-template-columns: 1.1fr 1fr; align-items: center; gap: 80px; } }

/* ---------- meet joe ---------- */
.joe-grid { display: grid; gap: 50px; align-items: center; }
@media (min-width: 900px) { .joe-grid { grid-template-columns: minmax(300px, 400px) 1fr; gap: clamp(50px, 8vw, 110px); } }
.joe-copy h2 { margin-bottom: .45em; }
.joe-copy > p { color: var(--ink-2); max-width: 54ch; }
.ticks { list-style: none; padding: 0; margin: 30px 0 34px; display: grid; gap: 20px; }
.ticks li { display: flex; gap: 16px; align-items: flex-start; }
.ticks .ico { margin-top: 3px; color: var(--sea); width: 42px; height: 42px; padding: 10px; border-radius: 50%; background: var(--sand); }
.ticks b { display: block; font-weight: 500; }
.ticks span { color: var(--muted); font-size: .95rem; }
.phone { width: min(100%, 370px); margin: 0 auto; background: var(--shell); border-radius: 38px; border: 9px solid var(--ink); box-shadow: var(--shadow-lg); height: 600px; display: flex; flex-direction: column; overflow: hidden; transform: rotate(-2deg); }
.phone-top { display: flex; gap: 12px; align-items: center; padding: 18px 18px 14px; border-bottom: 1px solid var(--line); background: var(--paper); }
.phone-top b { display: block; font: 600 1.2rem/1 var(--serif); }
.phone-top span { font-size: .74rem; color: var(--muted); }
.phone-log { flex: 1; overflow: hidden; padding: 16px; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; }
.phone-input { margin: 0 14px 16px; border: 1px solid var(--line); border-radius: 999px; padding: 11px 12px 11px 18px; display: flex; justify-content: space-between; align-items: center; font-size: .88rem; color: var(--ink); min-height: 46px; }
.phone-input span:empty::before { content: "Ask Joe anything…"; color: var(--muted); }
.phone-input i { width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; }

/* ---------- places ---------- */
.now-strip { display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: center; background: var(--ink); color: var(--paper); border-radius: var(--r); padding: 16px 22px; font-size: .92rem; margin-bottom: 34px; }
.now-strip span { display: inline-flex; align-items: center; gap: 8px; }
.now-strip b { font: 600 1.2rem/1 var(--serif); }
.now-strip .ico { color: var(--foam); }
.place-row { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.place-card { background: var(--shell); border-radius: var(--r); padding: 26px; position: relative; box-shadow: var(--shadow); transition: transform .4s var(--ease); }
.place-card:hover { transform: translateY(-4px); }
.place-num { position: absolute; top: 16px; right: 22px; font: italic 400 2.6rem/1 var(--serif); color: var(--sand); }
.place-cat { display: flex; align-items: center; gap: 7px; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--sea); margin-bottom: 12px; }
.place-card h3 { font-size: 1.5rem; margin-bottom: 10px; padding-right: 40px; }
.place-card p { font-size: .96rem; color: var(--ink-2); }
.place-tip { font: italic 500 1.12rem/1.4 var(--serif) !important; color: var(--brass) !important; }
.place-tip span { font: 400 .8rem var(--sans); font-style: normal; color: var(--muted); }

.guide-photo { width: calc(100% + 52px); max-width: none; margin: -26px -26px 20px; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r) var(--r) 0 0; }
.has-photo .place-num { color: #fff; text-shadow: 0 1px 12px rgba(0, 0, 0, .5); }
.explore-item .guide-photo { width: 100%; margin: 0 0 12px; border-radius: var(--r-s); }
.joe-place img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; margin: 0 0 8px; }

/* ---------- footer ---------- */
.site-foot { position: relative; z-index: 2; background: var(--ink); color: var(--paper); padding-top: 60px; }
.foot-wave { position: absolute; left: 0; right: 0; top: -59px; height: 60px; color: var(--ink); }
.foot-wave svg { width: 200%; height: 100%; fill: currentColor; animation: drift 16s linear infinite; }
@keyframes drift { to { transform: translateX(-50%); } }
.is-home .foot-wave { display: none; }
.foot-inner { max-width: var(--wrap); margin: 0 auto; padding: 30px var(--pad) 50px; display: grid; gap: 40px; grid-template-columns: 1fr 1fr; }
.foot-brand { grid-column: 1 / -1; }
.foot-name { font: 500 1.5rem/1 var(--serif); letter-spacing: .24em; text-transform: uppercase; margin: 18px 0 6px; }
.foot-place { font-size: .68rem; letter-spacing: .46em; text-transform: uppercase; opacity: .7; margin: 0 0 12px; }
.foot-tag { font: italic 400 1.4rem/1 var(--serif); color: var(--brass-2); }
.foot-col h4 { font: 500 .72rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--brass-2); margin-bottom: 16px; }
.foot-col a { display: block; padding: 5px 0; opacity: .82; font-size: .96rem; word-break: break-word; }
.foot-col a:hover { opacity: 1; }
.foot-base { border-top: 1px solid rgba(255, 255, 255, .12); max-width: var(--wrap); margin: 0 auto; padding: 22px var(--pad) 30px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; font-size: .8rem; opacity: .6; }
@media (min-width: 900px) { .foot-inner { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } .foot-brand { grid-column: auto; } }

/* ---------- inner page head ---------- */
.page-head { position: relative; background: var(--ink); color: var(--paper); padding: clamp(140px, 18vw, 210px) 0 clamp(80px, 9vw, 120px); overflow: hidden; }
.page-head::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 90% at 85% 0%, rgba(31, 94, 122, .75), transparent 60%), radial-gradient(40% 60% at 0% 100%, rgba(176, 138, 82, .2), transparent 60%); }
.page-head .wrap { position: relative; }
.page-head h1 { max-width: 16ch; margin-bottom: .35em; }
.head-wave, .foot-wave svg { max-width: none; }
.leaflet-tile-pane { filter: saturate(.7) sepia(.12); }
.head-wave { position: absolute; left: 0; bottom: -1px; width: 200%; height: 46px; fill: var(--paper); animation: drift 18s linear infinite; }
.page-404 { min-height: 100svh; display: grid; align-items: center; text-align: center; }
.page-404 h1, .page-404 .lede { margin-left: auto; margin-right: auto; }
.page-404 .joe-face { margin: 0 auto 24px; color: var(--brass-2); }
.page-404 .hero-cta { justify-content: center; margin-top: 30px; }

/* ---------- filters ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; background: var(--shell); border: 1px solid var(--line); border-radius: 22px; padding: 12px; box-shadow: var(--shadow); position: sticky; top: 76px; z-index: 20; }
.filter-guests { display: inline-flex; align-items: center; gap: 10px; padding: 0 8px 0 10px; font-size: .92rem; }
.filter-guests button { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); font-size: 1.1rem; line-height: 1; transition: all .2s; }
.filter-guests button:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.filter-guests output { min-width: 34px; text-align: center; font: 600 1.25rem/1 var(--serif); }
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; flex: 1; }
.filter-chips button, .filter-view button { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line); border-radius: 999px; padding: 9px 15px; font-size: .88rem; transition: all .25s var(--ease); }
.filter-chips button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.filter-view { display: inline-flex; background: var(--sand); border-radius: 999px; padding: 4px; }
.filter-view button { border: 0; }
.filter-view button.is-on { background: var(--shell); box-shadow: var(--shadow); }
.result-count { margin: 22px 4px; color: var(--muted); font-size: .92rem; }
.home-card.is-out { display: none; }
.empty { text-align: center; padding: 70px 20px; max-width: 520px; margin: 0 auto; }
.empty .joe-face { margin: 0 auto 18px; color: var(--brass); }
.empty p { color: var(--muted); margin: 10px 0 24px; }
.homes-map { border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
#homes-map { height: min(72vh, 680px); }
.prop-map { height: 380px; border-radius: var(--r); overflow: hidden; margin-top: 16px; z-index: 0; }
.leaflet-container { font-family: var(--sans); background: #dfe9ea; }
.map-pin { background: var(--ink); color: #fff; border-radius: 999px; padding: 6px 12px; font: 500 .8rem/1 var(--sans); white-space: nowrap; box-shadow: 0 6px 16px -4px rgba(12, 31, 46, .6); border: 2px solid #fff; transform: translate(-50%, -100%); display: inline-block; }
.map-pop { width: 220px; }
.map-pop img { width: 100%; aspect-ratio: 3/2; object-fit: cover; border-radius: 8px; margin-bottom: 8px; }
.map-pop b { font: 600 1.15rem/1.2 var(--serif); display: block; }
.map-pop span { font-size: .8rem; color: var(--muted); }
.leaflet-popup-content-wrapper { border-radius: 14px; }
.leaflet-popup-content { margin: 12px; }

/* ---------- property ---------- */
.draft-bar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 80; background: var(--brass); color: #fff; text-align: center; padding: 8px; font-size: .86rem; }
.prop-hero { position: relative; min-height: min(92svh, 860px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--ink); }
.prop-hero-img { position: absolute; inset: -6% 0; }
.prop-hero-img img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 22s ease-out both; }
@keyframes kenburns { from { transform: scale(1.14); } to { transform: scale(1); } }
.prop-hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 22, 34, .45) 0%, transparent 28%, transparent 42%, rgba(8, 22, 34, .82) 100%); }
.prop-hero-text { position: relative; padding-bottom: clamp(70px, 9vw, 110px); padding-top: 130px; }
.prop-hero .eyebrow { color: var(--brass-2); }
.prop-hero h1 { max-width: 14ch; text-shadow: 0 3px 40px rgba(4, 16, 26, .5); }
.crumb { display: inline-flex; align-items: center; gap: 8px; font-size: .86rem; opacity: .85; margin-bottom: 26px; letter-spacing: .04em; }
.crumb:hover { opacity: 1; }
.prop-tag { font: italic 400 clamp(1.25rem, 2.4vw, 1.7rem)/1.3 var(--serif); max-width: 34ch; margin: 14px 0 22px; opacity: .95; }
.prop-facts { display: flex; flex-wrap: wrap; gap: 10px; }
.prop-facts span { display: inline-flex; align-items: center; gap: 8px; background: rgba(8, 22, 34, .42); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .18); padding: 9px 15px; border-radius: 999px; font-size: .88rem; }
.mosaic-wrap { margin-top: 26px; }
.mosaic { position: relative; display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
.mosaic button:not(.mosaic-all) { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r-s); background: var(--sand); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.mosaic button:hover img { transform: scale(1.05); }
.mosaic-all { position: absolute; right: 14px; bottom: 14px; min-height: 44px; padding: 0 16px; font-size: .86rem; }
@media (min-width: 800px) { .mosaic-4 { grid-template-columns: repeat(4, 1fr); } .mosaic-3 { grid-template-columns: repeat(3, 1fr); } }
.prop-layout { display: grid; gap: 40px; padding-top: clamp(40px, 6vw, 70px); padding-bottom: clamp(60px, 8vw, 100px); }
@media (min-width: 1000px) { .prop-layout { grid-template-columns: minmax(0, 1fr) 410px; gap: 70px; align-items: start; } .prop-side { position: sticky; top: 92px; } }
.prop-block { padding: 0 0 44px; margin-bottom: 44px; border-bottom: 1px solid var(--line); }
.prop-block:last-child { border-bottom: 0; }
.prop-block h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: .7em; }
.prose p { margin-bottom: 1.05em; color: var(--ink-2); }
.prose a { color: var(--sea); border-bottom: 1px solid currentColor; }
.prose img, .prose video { border-radius: var(--r-s); margin-top: 12px; width: 100%; }
.prose-s { font-size: .96rem; }
[data-clamp].is-clamped { max-height: 15.5em; overflow: hidden; -webkit-mask: linear-gradient(#000 60%, transparent); mask: linear-gradient(#000 60%, transparent); }
.amenities { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px 20px; }
.amenities li { display: flex; align-items: center; gap: 14px; }
.amenities .ico { color: var(--sea); width: 46px; height: 46px; padding: 11px; background: var(--shell); border: 1px solid var(--line); border-radius: 14px; }
.know { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; margin: 0 0 22px; }
.know div { background: var(--shell); border: 1px solid var(--line); border-radius: var(--r-s); padding: 16px 18px; }
.know dt { display: flex; align-items: center; gap: 9px; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.know dd { margin: 8px 0 0; font: 500 1.3rem/1.25 var(--serif); }
.faq details, .guide-cat details { border-top: 1px solid var(--line); }
.faq details:last-child, .guide-cat details:last-of-type { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 16px 2px; font-weight: 500; }
summary::-webkit-details-marker { display: none; }
summary .ico { transition: transform .35s var(--ease); color: var(--brass); }
details[open] summary .ico { transform: rotate(45deg); }
details .prose { padding: 0 2px 20px; }
.ask-joe-inline { display: flex; align-items: center; gap: 16px; width: 100%; text-align: left; margin-top: 24px; background: var(--sand); border-radius: var(--r); padding: 16px 20px; transition: background .3s, transform .3s var(--ease); }
.ask-joe-inline:hover { background: #e4d9c5; transform: translateY(-2px); }
.ask-joe-inline > span:not(.joe-face) { flex: 1; display: flex; flex-direction: column; line-height: 1.35; }
.ask-joe-inline i { font-style: normal; color: var(--muted); font-size: .92rem; }
.ask-joe-inline .joe-face { color: var(--ink); }
.video-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.video { margin: 0; }
.video video, .video iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--r); background: #000; }
.video-tall iframe { aspect-ratio: 4 / 5; }
.video figcaption { font-size: .88rem; color: var(--muted); margin-top: 8px; }

.book-card { background: var(--shell); border: 1px solid var(--line); border-radius: 24px; padding: clamp(22px, 3vw, 30px); box-shadow: var(--shadow-lg); }
.book-price { margin-bottom: 20px; padding-bottom: 18px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .92rem; }
.book-price b { font: 600 2.2rem/1 var(--serif); color: var(--ink); }
.field { display: block; margin-bottom: 12px; flex: 1; min-width: 0; }
.field span { display: block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.field input, .field select, .field textarea, .gate-form input, .guide-search input {
  width: 100%; min-height: 50px; border: 1px solid var(--line); background: #fff; border-radius: 12px; padding: 12px 14px; font-size: 1rem; transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%230c1f2e' stroke-width='1.6'%3E%3Cpath d='M1 1.500l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.field textarea { resize: vertical; min-height: 92px; }
.field input:focus, .field select:focus, .field textarea:focus, .gate-form input:focus { outline: 0; border-color: var(--sea); box-shadow: 0 0 0 4px rgba(31, 94, 122, .14); }
.field-row { display: flex; gap: 10px; }
.field-s { flex: 0 0 84px; }
@media (max-width: 420px) { .field-row { flex-wrap: wrap; } .field-row .field { flex: 1 1 40%; } }
.hp { position: absolute !important; left: -9999px; opacity: 0; height: 0; width: 0; }
.form-error { background: #fbeae6; color: var(--danger); border-radius: 10px; padding: 10px 14px; font-size: .92rem; }
.form-note { text-align: center; font-size: .82rem; color: var(--muted); margin: 12px 0 0; }
.book-alt { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.book-or { text-align: center; font-size: .8rem; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; margin: 16px 0 10px; }
.book-links { display: flex; gap: 10px; }
.book-links a { flex: 1; display: inline-flex; justify-content: center; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 12px; min-height: 46px; font-weight: 500; font-size: .92rem; transition: all .25s; }
.book-links a:hover { border-color: var(--ink); background: var(--paper); }
.enquiry-done { text-align: center; padding: 30px 6px; }
.done-mark { width: 70px; height: 70px; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; margin: 0 auto 18px; animation: pop .6s var(--ease); }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
.enquiry-done p { color: var(--ink-2); margin: 10px 0 22px; }
.sticky-enquire { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; background: var(--ink); color: var(--paper); border-radius: 999px; padding: 8px 8px 8px 22px; display: flex; justify-content: space-between; align-items: center; box-shadow: var(--shadow-lg); font-size: .9rem; transform: translateY(140%); transition: transform .5s var(--ease); }
.sticky-enquire.is-on { transform: none; }
.sticky-enquire b { font: 600 1.15rem/1 var(--serif); }
.sticky-enquire em { font-style: normal; background: var(--paper); color: var(--ink); border-radius: 999px; padding: 11px 18px; display: inline-flex; gap: 8px; align-items: center; font-weight: 500; }
@media (min-width: 1000px) { .sticky-enquire { display: none; } }

/* calendar */
.cal { display: grid; gap: 26px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.cal-month h4 { font: 600 1.25rem/1 var(--serif); margin-bottom: 12px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; font-size: .84rem; text-align: center; }
.cal-grid span { aspect-ratio: 1; display: grid; place-items: center; border-radius: 8px; }
.cal-grid .dow { color: var(--muted); font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; aspect-ratio: auto; padding-bottom: 4px; }
.cal-grid .free { background: #e6f0ea; color: #23563f; }
.cal-grid .busy { background: var(--sand); color: #a59b88; text-decoration: line-through; }
.cal-grid .past { color: #c9c0b0; }
.cal-key { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 16px; font-size: .84rem; color: var(--muted); }
.cal-key .k { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }
.k-free { background: #e6f0ea; } .k-busy { background: var(--sand); }
.cal-key i { margin-left: auto; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 120; background: rgba(6, 16, 24, .96); display: grid; grid-template-columns: auto 1fr auto; align-items: center; color: #fff; animation: fade .3s; }
.lightbox figure { margin: 0; height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 60px 0; min-width: 0; }
.lightbox img { max-width: 100%; max-height: calc(100svh - 140px); object-fit: contain; border-radius: 6px; }
.lightbox figcaption { margin-top: 12px; font-size: .9rem; opacity: .8; }
.lb-nav { width: 64px; height: 64px; display: grid; place-items: center; opacity: .7; transition: opacity .2s; }
.lb-nav:hover, .lb-close:hover { opacity: 1; }
.lb-close { position: absolute; top: 14px; right: 14px; width: 52px; height: 52px; display: grid; place-items: center; opacity: .8; z-index: 2; }
.lb-count { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; font-size: .84rem; letter-spacing: .14em; opacity: .7; }
@media (max-width: 700px) { .lightbox { grid-template-columns: 1fr; } .lb-nav { position: absolute; bottom: 8px; z-index: 2; } .lb-prev { left: 8px; } .lb-next { right: 8px; } }

/* ---------- guide page ---------- */
.guide-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 50px; }
.guide-nav a { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: var(--shell); border-radius: 999px; padding: 10px 16px; font-size: .9rem; transition: all .25s; }
.guide-nav a:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.guide-group { margin-bottom: 64px; }
.guide-group h2 { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.guide-group h2 .ico { color: var(--brass); }
.guide-list { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.guide-item { background: var(--shell); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; display: flex; flex-direction: column; }
.guide-item h3 { margin-bottom: 10px; font-size: 1.55rem; }
.guide-item p { color: var(--ink-2); font-size: .98rem; }
.guide-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: auto; padding-top: 14px; font-size: .86rem; }
.guide-links a { display: inline-flex; align-items: center; gap: 6px; color: var(--sea); font-weight: 500; }
.guide-links a:hover { text-decoration: underline; }
.guide-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; background: var(--sand); border-radius: 24px; padding: 30px; }
.guide-cta > div { flex: 1; min-width: 220px; }
.guide-cta p { color: var(--ink-2); margin: 4px 0 0; }

/* ---------- contact ---------- */
.contact-grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1.15fr 1fr; gap: 70px; align-items: start; } }
.contact-side h2 { font-size: 2rem; margin-bottom: 22px; }
.contact-line { display: flex; align-items: center; gap: 18px; padding: 18px 0; border-top: 1px solid var(--line); transition: padding .3s var(--ease); }
.contact-line:hover { padding-left: 8px; }
.contact-line .ico { color: var(--sea); }
.contact-line span { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.contact-line b { font-weight: 500; overflow-wrap: anywhere; }
.contact-line i { font-style: normal; color: var(--muted); font-size: .88rem; }
.contact-note { margin-top: 30px; padding-top: 30px; border-top: 1px solid var(--line); color: var(--brass); }
.contact-note em { font: italic 400 1.6rem/1 var(--serif); }
.contact-note p { margin-top: 12px; }

/* ---------- guest gate ---------- */
.gate { min-height: 100svh; display: grid; place-items: center; padding: 120px var(--pad) 60px; background: var(--ink); position: relative; }
.gate::before { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 70% at 80% 0%, rgba(31, 94, 122, .8), transparent 60%), radial-gradient(50% 60% at 0% 100%, rgba(176, 138, 82, .25), transparent 60%); }
.gate-photo::before { background: linear-gradient(rgba(8, 22, 34, .55), rgba(8, 22, 34, .8)), var(--photo) center / cover; }
.gate-card { position: relative; background: var(--shell); border-radius: 28px; padding: clamp(28px, 5vw, 48px); max-width: 480px; width: 100%; text-align: center; box-shadow: var(--shadow-lg); animation: rise .8s var(--ease) both; }
.gate-card .logo-mark, .gate-card .joe-face { margin: 0 auto 20px; color: var(--ink); }
.gate-card h1 { font-size: clamp(2rem, 6vw, 2.7rem); margin-bottom: .4em; }
.gate-card p { color: var(--ink-2); }
.gate-form { display: grid; gap: 12px; margin-top: 24px; }
.gate-form input { text-align: center; font-size: 1.1rem; }
.gate-help { font-size: .88rem; margin-top: 18px; color: var(--muted) !important; }
.gate-help a { color: var(--sea); border-bottom: 1px solid; }

/* ---------- Joe ---------- */
.joe-face { width: var(--s, 40px); height: var(--s, 40px); display: inline-grid; place-items: center; flex: none; }
.joe-face svg { width: 100%; height: 100%; }
.joe-fab { position: fixed; right: 18px; bottom: 18px; z-index: 70; display: flex; align-items: center; gap: 12px; background: var(--ink); color: var(--paper); border-radius: 999px; padding: 9px 22px 9px 12px; box-shadow: var(--shadow-lg); transition: transform .4s var(--ease), opacity .3s; animation: rise .8s 1.6s var(--ease) both; }
.joe-fab:hover { transform: translateY(-3px) scale(1.02); }
.joe-fab .joe-face { background: var(--paper); color: var(--ink); border-radius: 50%; padding: 4px; --s: 42px !important; animation: wag 5s 3s infinite; }
@keyframes wag { 0%, 86%, 100% { transform: rotate(0); } 89% { transform: rotate(-12deg); } 92% { transform: rotate(10deg); } 95% { transform: rotate(-6deg); } }
.joe-fab-text { display: flex; flex-direction: column; text-align: left; line-height: 1.15; }
.joe-fab-text b { font: 600 1.15rem/1.1 var(--serif); letter-spacing: .02em; }
.joe-fab-text i { font-style: normal; font-size: .7rem; opacity: .7; letter-spacing: .06em; }
body.joe-open .joe-fab { opacity: 0; pointer-events: none; transform: scale(.8); }
body:has(.sticky-enquire.is-on) .joe-fab { bottom: 84px; }
@media (max-width: 520px) { .joe-fab-text i { display: none; } .joe-fab { padding-right: 18px; } }
.joe-panel { position: fixed; right: 18px; bottom: 18px; z-index: 90; width: min(410px, calc(100vw - 24px)); height: min(640px, calc(100svh - 36px)); background: var(--shell); border-radius: 26px; box-shadow: var(--shadow-lg), 0 0 0 1px rgba(12, 31, 46, .06); display: flex; flex-direction: column; overflow: hidden; transform-origin: 100% 100%; animation: joe-in .45s var(--ease); }
@keyframes joe-in { from { opacity: 0; transform: scale(.7) translateY(30px); } }
@media (max-width: 520px) { .joe-panel { right: 0; bottom: 0; width: 100vw; height: 100svh; border-radius: 0; } }
.joe-head { display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: var(--ink); color: var(--paper); flex: none; }
.joe-head .joe-face { background: var(--paper); color: var(--ink); border-radius: 50%; padding: 5px; }
.joe-head > div { flex: 1; line-height: 1.2; min-width: 0; }
.joe-head b { display: block; font: 600 1.4rem/1.1 var(--serif); }
.joe-head span { font-size: .78rem; opacity: .72; }
.joe-close { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; opacity: .8; }
.joe-close:hover { background: rgba(255, 255, 255, .12); opacity: 1; }
.joe-log { flex: 1; overflow-y: auto; padding: 18px 16px 8px; display: flex; flex-direction: column; gap: 10px; overscroll-behavior: contain; scroll-behavior: smooth; }
.joe-msg { display: flex; max-width: 88%; animation: msg-in .4s var(--ease) both; }
@keyframes msg-in { from { opacity: 0; transform: translateY(10px); } }
.joe-msg.from-me { align-self: flex-end; }
.bubble { padding: 11px 15px; border-radius: 18px; font-size: .95rem; line-height: 1.5; overflow-wrap: anywhere; }
.bubble p { margin: 0 0 .6em; white-space: pre-line; }
.bubble p:last-child { margin: 0; }
.bubble a { color: var(--sea); text-decoration: underline; }
.from-joe .bubble { background: var(--paper); border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.from-me .bubble { background: var(--ink); color: var(--paper); border-bottom-right-radius: 6px; }
.from-host .bubble { background: #e6f0ea; border: 1px solid #cfe2d6; border-bottom-left-radius: 6px; }
.bubble .src { display: block; margin-top: 8px; font-size: .72rem; letter-spacing: .06em; color: var(--muted); }
.bubble img, .bubble video { border-radius: 12px; margin-top: 10px; width: 100%; }
.bubble iframe { width: 100%; aspect-ratio: 16/9; border: 0; border-radius: 12px; margin-top: 10px; }
.bubble .caret { display: inline-block; width: 2px; height: 1em; background: var(--brass); vertical-align: -2px; margin-left: 2px; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.typing { display: inline-flex; gap: 5px; padding: 4px 2px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: bounce 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes bounce { 0%, 60%, 100% { transform: none; opacity: .4; } 30% { transform: translateY(-5px); opacity: 1; } }
.joe-places { display: grid; gap: 8px; margin-top: 10px; }
.joe-place { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 11px 13px; }
.joe-place b { font: 600 1.12rem/1.2 var(--serif); display: block; }
.joe-place span { font-size: .86rem; color: var(--ink-2); display: block; margin-top: 2px; }
.joe-place em { display: block; font: italic 500 .98rem/1.35 var(--serif); color: var(--brass); margin-top: 4px; }
.joe-place a { font-size: .8rem; margin-right: 12px; }
.joe-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.joe-actions a, .joe-actions button { display: inline-flex; align-items: center; gap: 7px; border-radius: 999px; padding: 8px 14px; font-size: .84rem; font-weight: 500; background: var(--ink); color: var(--paper) !important; text-decoration: none !important; }
.joe-actions .alt { background: #fff; color: var(--ink) !important; border: 1px solid var(--line); }
.joe-fb { display: flex; gap: 4px; align-items: center; margin-top: 8px; font-size: .72rem; color: var(--muted); }
.joe-fb button { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; color: var(--muted); }
.joe-fb button:hover { background: var(--sand); color: var(--ink); }
.joe-fb .down .ico { transform: rotate(180deg); }
.joe-chips { display: flex; gap: 8px; padding: 6px 16px 10px; overflow-x: auto; scrollbar-width: none; flex: none; }
.joe-chips::-webkit-scrollbar { display: none; }
.joe-chips button { white-space: nowrap; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 14px; font-size: .84rem; transition: all .2s; }
.joe-chips button:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.joe-form { display: flex; gap: 8px; padding: 10px 14px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); flex: none; background: var(--shell); }
.joe-form input { flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: 999px; padding: 0 18px; min-height: 48px; background: #fff; font-size: 1rem; }
.joe-form input:focus { outline: 0; border-color: var(--sea); }
.joe-form button { width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; flex: none; transition: transform .2s, background .2s; }
.joe-form button:hover { background: var(--sea); transform: scale(1.05); }

/* ---------- my stay ---------- */
.is-stay .site-nav a:not(.nav-stay), .is-stay .nav-toggle, .is-stay .nav-stay { display: none; }
.is-stay .site-head { position: absolute; }
.stay { min-height: 100svh; background: var(--paper); padding-bottom: 84px; }
.stay-panel { display: none; animation: fade .35s; }
.stay-panel.is-on { display: block; }
.stay-hero { position: relative; min-height: 430px; display: flex; align-items: flex-end; color: #fff; padding: 120px var(--pad) 46px; background: linear-gradient(rgba(8, 22, 34, .5), rgba(8, 22, 34, .25) 40%, rgba(8, 22, 34, .88)), var(--photo, linear-gradient(var(--sea), var(--ink))) center / cover; }
.stay-hero-text { max-width: 760px; width: 100%; margin: 0 auto; }
.stay-hero .eyebrow { color: var(--brass-2); }
.stay-hero h1 { font-size: clamp(2.4rem, 8vw, 4rem); margin-bottom: .25em; }
.stay-hero p { font-weight: 300; max-width: 40ch; }
.stay-dates { display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, .14); backdrop-filter: blur(8px); border-radius: 999px; padding: 7px 14px; font-size: .86rem; margin-top: 14px !important; }
.stay-body { max-width: 760px; margin: 0 auto; padding: 22px var(--pad) 40px; }
.stay-panel:not([data-panel="home"]) .stay-body { padding-top: calc(34px + env(safe-area-inset-top)); }
.stay-title { margin-bottom: 20px; font-size: clamp(2rem, 6vw, 2.8rem); }
.stay-h { font-size: 1.7rem; margin: 34px 0 16px; }
.ask-bar { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; background: var(--ink); color: var(--paper); border-radius: 20px; padding: 14px 18px; margin: -50px 0 20px; position: relative; box-shadow: var(--shadow-lg); transition: transform .3s var(--ease); }
.ask-bar:hover { transform: translateY(-2px); }
.ask-bar .joe-face { background: var(--paper); color: var(--ink); border-radius: 50%; padding: 5px; }
.ask-bar > span:not(.joe-face) { flex: 1; display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.ask-bar b { font: 600 1.3rem/1.2 var(--serif); }
.ask-bar i { font-style: normal; font-size: .8rem; opacity: .7; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tiles { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.tile { background: var(--shell); border: 1px solid var(--line); border-radius: 20px; padding: 20px; }
.tile header { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; color: var(--sea); }
.tile h3 { font-size: 1.35rem; color: var(--ink); }
.tile dl { margin: 0; display: grid; gap: 10px; }
.tile dt { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.tile dd { margin: 2px 0 0; font: 500 1.3rem/1.3 var(--serif); display: flex; flex-wrap: wrap; align-items: center; gap: 10px; overflow-wrap: anywhere; }
.tile code { font: 500 1.05rem ui-monospace, "SF Mono", Menlo, monospace; background: var(--paper); padding: 4px 10px; border-radius: 8px; border: 1px dashed var(--line); }
.tile p { color: var(--ink-2); font-size: .96rem; }
.tile .big { font: 500 3rem/1 var(--serif); color: var(--ink); margin-bottom: 10px; }
.tile .big span { font: 400 1rem var(--sans); color: var(--muted); }
.tile ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .88rem; color: var(--ink-2); }
.tile li { display: inline-flex; gap: 6px; align-items: center; }
.tile-wifi { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.tile-wifi header { color: var(--foam); } .tile-wifi h3 { color: var(--paper); } .tile-wifi dt { color: var(--foam); }
.tile-wifi code { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .25); }
.copy { display: inline-flex; align-items: center; gap: 6px; font: 500 .8rem var(--sans); background: var(--paper); color: var(--ink); border-radius: 999px; padding: 7px 12px; }
.copy.is-done { background: #58d68d; }
.tile-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: .88rem; font-weight: 500; color: var(--sea); }
.tile-wifi .tile-link { color: var(--foam); }
.wifi-qr { background: #fff; border-radius: 16px; padding: 16px; margin-top: 14px; text-align: center; color: var(--ink); font-size: .84rem; }
.wifi-qr svg, .wifi-qr img { margin: 0 auto 8px; width: 200px; height: 200px; }
.host-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.stay-leave { text-align: center; margin-top: 36px; }
.stay-leave button { font-size: .8rem; color: var(--muted); text-decoration: underline; }
.joe-inline, .chat { display: flex; flex-direction: column; height: calc(100svh - 84px); max-width: 760px; margin: 0 auto; background: var(--shell); }
.joe-inline .joe-head, .chat .joe-head { padding-top: calc(16px + env(safe-area-inset-top)); }
.host-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--brass); color: #fff; display: grid; place-items: center; font: 600 1.4rem/1 var(--serif); }
.chat-wa { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; }
.chat-wa:hover { background: rgba(255, 255, 255, .12); }
.chat-log { flex: 1; overflow-y: auto; padding: 18px 16px; display: flex; flex-direction: column; gap: 10px; }
.chat-empty { margin: auto; text-align: center; color: var(--muted); max-width: 30ch; font-size: .95rem; }
.chat-day { align-self: center; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 8px 0 2px; }
.bubble time { display: block; font-size: .66rem; opacity: .55; margin-top: 4px; text-align: right; }
.guide-search { display: flex; align-items: center; gap: 10px; position: relative; margin-bottom: 26px; color: var(--muted); }
.guide-search .ico { position: absolute; left: 16px; }
.guide-search input { padding-left: 46px; border-radius: 999px; }
.guide-cat { margin-bottom: 34px; }
.guide-cat h3 { display: flex; align-items: center; gap: 10px; font-size: 1.45rem; margin-bottom: 12px; }
.guide-cat h3 .ico { color: var(--brass); }
.explore-item { border-top: 1px solid var(--line); padding: 16px 0; }
.explore-item h4 { font-size: 1.3rem; margin-bottom: 4px; }
.explore-item p { font-size: .95rem; color: var(--ink-2); margin-bottom: .4em; }
.explore-item .guide-links { padding-top: 6px; }
.stay-tabs { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: grid; grid-template-columns: repeat(5, 1fr); background: rgba(255, 253, 248, .96); backdrop-filter: blur(14px); border-top: 1px solid var(--line); padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); }
.stay-tabs button { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 8px 2px; font-size: .68rem; letter-spacing: .04em; color: var(--muted); border-radius: 14px; transition: color .2s, background .2s; min-height: 58px; }
.stay-tabs button.is-on { color: var(--ink); background: var(--sand); }
.stay-tabs .joe-face { --s: 24px !important; }
.badge { position: absolute; top: 4px; left: calc(50% + 8px); min-width: 18px; height: 18px; border-radius: 9px; background: var(--danger); color: #fff; font: 600 .66rem/18px var(--sans); font-style: normal; padding: 0 5px; }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal, .no-js [data-split] .w { opacity: 1; transform: none; filter: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal, [data-split] .w { opacity: 1; transform: none; filter: none; }
}
@media print { .site-head, .site-foot, .joe-fab, .joe-panel, .sticky-enquire, #ocean { display: none !important; } }
