/* Treasure Homepage 0.1.9 — everything scoped under .tvr-hp so theme/Elementor styles are not affected. */
.tvr-hp{--navy:#0f2a3f;--ink:#15212b;--muted:#5b6b78;--sand:#f6efe4;--sand-2:#efe4d2;--sea:#2b8fb3;--sea-2:#bfe6f2;--sea-ink:#1c7091;--coral:#e2483d;--coral-d:#c63a30;--line:rgba(15,42,63,.12);--r:18px;--shadow:0 18px 50px -20px rgba(15,42,63,.35);--display:Georgia,"Times New Roman",serif;--body:Montserrat,system-ui,sans-serif;
  background:var(--sand);color:var(--ink);font:16px/1.6 var(--body);overflow-x:clip}
.tvr-hp *,.tvr-hp *::before,.tvr-hp *::after{box-sizing:border-box}
.tvr-hp img{display:block;max-width:100%}
.tvr-hp a{color:inherit}
.tvr-hp h1,.tvr-hp h2,.tvr-hp h3,.tvr-hp .tvr-hp-h3{font-family:var(--display);font-weight:600;letter-spacing:-.01em;margin:0;color:inherit;text-transform:none}
.tvr-hp h2{font-size:clamp(28px,4vw,46px);line-height:1.1}
.tvr-hp .tvr-hp-h3{display:block;font-size:21px;line-height:1.2}
.tvr-hp-wrap{max-width:1200px;margin:0 auto;padding:0 24px}
.tvr-hp-eyebrow{font:700 12px/1.2 var(--body);letter-spacing:.16em;text-transform:uppercase;color:var(--sea-ink);margin:0 0 8px;display:block}
.tvr-hp-script{font-family:"Brush Script MT","Segoe Script",cursive;font-weight:400;color:var(--coral);font-size:1.2em}
.tvr-hp-lede{color:var(--muted);font-size:18px;max-width:60ch;margin:10px 0 0}
.tvr-hp-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.tvr-hp-btn{display:inline-flex;align-items:center;gap:8px;border:0;border-radius:999px;padding:14px 22px;font:700 15px var(--body);cursor:pointer;text-decoration:none;transition:transform .2s,background .2s}
.tvr-hp-btn-coral{background:var(--coral);color:#fff!important}.tvr-hp-btn-coral:hover{background:var(--coral-d);transform:translateY(-1px)}
.tvr-hp-btn-light{background:#fff;color:var(--navy)!important}
.tvr-hp-link{font-weight:700;text-decoration:none;color:var(--navy);border-bottom:2px solid var(--coral);padding-bottom:2px}
.tvr-hp :focus-visible{outline:3px solid var(--sea);outline-offset:2px}

/* hero */
.tvr-hp-hero{position:relative;min-height:min(88vh,820px);display:grid;grid-template-columns:minmax(0,1fr);align-items:end;color:#fff;isolation:isolate;overflow:hidden;background:#1d3a4e} /* dark base under the photo/video: white text stays readable before media loads */
.tvr-hp-hero-poster,.tvr-hp-hero-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}
.tvr-hp-hero-video{opacity:0;transition:opacity .8s}.tvr-hp-hero-video.is-playing{opacity:1}
.tvr-hp-hero::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(10,28,42,.72),rgba(10,28,42,.35) 45%,rgba(10,28,42,0) 75%),linear-gradient(180deg,rgba(10,28,42,.45),rgba(10,28,42,0) 30%,rgba(10,28,42,.55))}
.tvr-hp-hero-inner{max-width:1200px;margin:0 auto;width:100%;padding:120px 24px 48px;min-width:0}
.tvr-hp-kicker{font:700 13px var(--body);letter-spacing:.18em;text-transform:uppercase;opacity:.9;margin:0}
.tvr-hp-h1{font-size:clamp(34px,5.4vw,72px);line-height:1;margin:10px 0 10px;max-width:15ch;text-wrap:balance}
.tvr-hp-h1-tail{display:block}
.tvr-hp-h1 .tvr-hp-script{color:#fff}
.tvr-hp-sub{font-size:clamp(16px,1.6vw,19px);max-width:52ch;opacity:.93;margin:0 0 24px}
.tvr-hp-hero-meta{display:flex;flex-wrap:wrap;gap:18px;align-items:center;margin-top:16px;font-size:14px}
.tvr-hp-play{display:inline-flex;gap:8px;align-items:center;font-weight:700;text-decoration:none}
.tvr-hp-play span{width:26px;height:26px;border-radius:50%;background:var(--coral);display:grid;place-items:center;font-size:10px}
.tvr-hp-jump{position:relative}
.tvr-hp-jump summary{cursor:pointer;text-decoration:underline;text-underline-offset:3px;list-style:none}
.tvr-hp-jump-panel{position:absolute;bottom:calc(100% + 8px);left:0;z-index:20;background:#fff;color:var(--ink);border-radius:14px;box-shadow:var(--shadow);padding:10px;width:min(360px,86vw)}
.tvr-hp-jump-panel input{width:100%;padding:10px 12px;border:1px solid var(--line);border-radius:10px;font:inherit}
.tvr-hp-jump-panel ul{list-style:none;margin:8px 0 0;padding:0;max-height:260px;overflow:auto}
.tvr-hp-jump-panel a{display:block;padding:8px 10px;border-radius:8px;text-decoration:none}.tvr-hp-jump-panel a:hover{background:var(--sand)}

/* search */
.tvr-hp-search{display:grid;grid-template-columns:1.7fr 1fr auto;align-items:center;gap:0;background:#fff;color:var(--ink);border-radius:999px;padding:8px;max-width:880px;box-shadow:0 30px 60px -20px rgba(0,0,0,.45)}
.tvr-hp-field{padding:6px 20px;border-right:1px solid var(--line);min-width:0}
.tvr-hp-field:nth-child(2){border-right:0}
.tvr-hp-field label,.tvr-hp-lbl{display:block;font:800 11px var(--body);letter-spacing:.12em;text-transform:uppercase;color:var(--navy)}
.tvr-hp-field input,.tvr-hp-field select{width:100%;border:0;background:none;font:600 15px var(--body);color:var(--ink);padding:2px 0;min-height:28px}
.tvr-hp-go{height:58px;padding:0 28px;font-size:16px}
.tvr-hp-date{position:relative;display:block}
.tvr-hp-date-ph{position:absolute;left:0;right:26px;top:50%;transform:translateY(-50%);font:600 15px var(--body);color:var(--muted);pointer-events:none;background:#fff}
.tvr-hp-date:not(.is-empty) .tvr-hp-date-ph,.tvr-hp-date:focus-within .tvr-hp-date-ph{display:none}
.tvr-hp:not(.js) .tvr-hp-date-ph{display:none}
.tvr-hp-chips{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:8px;padding:12px 8px 4px;border-top:1px solid var(--line);margin-top:8px}
.tvr-hp-chip{border:1px solid var(--line);background:#fff;color:var(--navy);border-radius:999px;padding:7px 13px;font:600 13px var(--body);cursor:pointer}
.tvr-hp-chip[aria-pressed="true"]{background:var(--navy);color:#fff;border-color:var(--navy)}
.tvr-hp-search:has(.tvr-hp-chips){border-radius:28px}

/* sticky */
.tvr-hp-sticky{position:fixed;top:calc(var(--tvr-hp-top,0px) + 12px);left:50%;transform:translate(-50%,-24px);opacity:0;visibility:hidden;pointer-events:none;z-index:9990;background:#fff;border-radius:999px;box-shadow:0 16px 40px -14px rgba(15,42,63,.45);display:flex;align-items:center;gap:4px;padding:6px 6px 6px 18px;transition:transform .45s cubic-bezier(.2,.8,.2,1),opacity .3s,visibility 0s .45s;font-size:14px;white-space:nowrap;color:var(--ink)}
.tvr-hp-sticky.is-shown{transform:translate(-50%,0);opacity:1;visibility:visible;pointer-events:auto;transition:transform .45s cubic-bezier(.2,.8,.2,1),opacity .3s,visibility 0s}
.tvr-hp-sticky-seg{background:none;border:0;border-right:1px solid var(--line);padding:6px 12px;font:600 14px var(--body);color:var(--ink);cursor:pointer;border-radius:0}
.tvr-hp-sticky-seg:hover{color:var(--navy);text-decoration:underline;text-underline-offset:3px}
.tvr-hp-sticky-panel{position:absolute;top:calc(100% + 10px);left:50%;transform:translateX(-50%);width:min(560px,calc(100vw - 32px));background:#fff;border-radius:22px;box-shadow:0 24px 60px -18px rgba(15,42,63,.5);padding:14px;display:grid;grid-template-columns:1fr 1fr .8fr;gap:8px 0;white-space:normal;text-align:left}
.tvr-hp-sticky-panel[hidden]{display:none}
.tvr-hp-sticky-panel .tvr-hp-field:nth-child(2){border-right:0}
.tvr-hp-sticky-msg{grid-column:1/-1;margin:0;font-size:13px;color:var(--coral-d);min-height:0}
.tvr-hp-sticky-msg:empty{display:none}
.tvr-hp-sticky-submit{grid-column:1/-1;justify-content:center}
.tvr-hp-sticky .tvr-hp-btn{padding:10px 18px;font-size:14px}

/* trust */
.tvr-hp-trust{background:#fff;border-bottom:1px solid var(--line)}
.tvr-hp-trust ul{list-style:none;display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:18px;padding-top:22px;padding-bottom:22px;margin:0 auto}
.tvr-hp-trust li{display:flex;gap:12px;align-items:center;font-size:14px;color:var(--muted)}
.tvr-hp-trust svg{flex:none;width:40px;height:40px;padding:10px;border-radius:12px;background:var(--sand);color:var(--navy)}
.tvr-hp-trust strong{display:block;color:var(--ink);font-size:16px}

/* blocks */
.tvr-hp-block{padding:88px 0}.tvr-hp-tight{padding-top:0}
.tvr-hp-head{display:flex;justify-content:space-between;align-items:end;gap:24px;flex-wrap:wrap;margin-bottom:32px}

.tvr-hp-moods{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}
.tvr-hp-mood{position:relative;border-radius:var(--r);overflow:hidden;aspect-ratio:3/4;color:#fff!important;text-decoration:none;isolation:isolate}
.tvr-hp-mood img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;transition:transform .8s cubic-bezier(.2,.7,.2,1)}
.tvr-hp-mood::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,transparent 45%,rgba(10,28,42,.82))}
.tvr-hp-mood:hover img{transform:scale(1.07)}
.tvr-hp-mood-t{position:absolute;left:16px;right:16px;bottom:14px}
.tvr-hp-mood small{opacity:.88;font-weight:600}

/* island */
.tvr-hp-island{background:var(--navy);color:#fff}
.tvr-hp-island .tvr-hp-eyebrow{color:var(--sea-2)}
.tvr-hp-island-track{height:300vh;position:relative}
.tvr-hp-island-stage{position:sticky;top:var(--tvr-hp-top,0px);height:calc(100vh - var(--tvr-hp-top,0px));display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);align-items:center;gap:56px;max-width:1240px;margin:0 auto;padding:0 24px}
.tvr-hp-map-frame{margin-top:18px;border-radius:22px;overflow:hidden;aspect-ratio:1689/1336;box-shadow:0 30px 80px -30px rgba(0,0,0,.6),inset 0 0 0 1px rgba(255,255,255,.08);background:#123447}
.tvr-hp-map{display:block;width:100%;height:100%}
.tvr-hp-map-frame{position:relative}
.tvr-hp-compass{position:absolute;top:14px;right:14px;width:46px;height:auto;color:#cfe6ef;pointer-events:none}
.tvr-hp-map-credit{position:absolute;right:12px;bottom:8px;font:500 11px var(--body);color:#9fc2d2;text-shadow:0 1px 2px rgba(0,0,0,.5)}
.tvr-hp-map .tvr-map-landmarks{opacity:0;transition:opacity .6s}
.tvr-hp-map.is-zoomed .tvr-map-landmarks{opacity:1}
.tvr-hp-map .tvr-map-dot{transition:fill .4s}
.tvr-hp-map .tvr-map-pulse{transform-box:fill-box;transform-origin:center}
.tvr-hp-map .tvr-map-town text{opacity:.75;transition:opacity .4s}
.tvr-hp-map .tvr-map-town.is-on .tvr-map-dot{fill:var(--coral);stroke:#fff}
.tvr-hp-map .tvr-map-town.is-on .tvr-map-pulse{animation:tvr-pulse 2.2s ease-out infinite}
.tvr-hp-map .tvr-map-town.is-on text{opacity:1}
@keyframes tvr-pulse{0%{opacity:.55;transform:scale(.4)}100%{opacity:0;transform:scale(2.2)}}
.tvr-hp-town-map{display:none}
.tvr-hp-mile{font:700 13px var(--body);letter-spacing:.14em;color:var(--sea-2);margin:6px 0 0;min-height:1.4em}
.tvr-hp-towns{position:relative;min-height:440px}
.tvr-hp-town{position:absolute;inset:0;opacity:0;transform:translateY(24px);transition:opacity .6s,transform .6s;pointer-events:none}
.tvr-hp-town.is-on{opacity:1;transform:none;pointer-events:auto}
.tvr-hp-town h3{font-size:34px;line-height:1.1}
.tvr-hp-town-photo{border-radius:16px;overflow:hidden;aspect-ratio:16/9;margin:16px 0}
.tvr-hp-town-photo img{width:100%;height:100%;object-fit:cover}
.tvr-hp-town p{color:#cfe0ea}

/* homes */
.tvr-hp-rail{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(290px,1fr);gap:20px;overflow-x:auto;scroll-snap-type:x mandatory;padding:4px 4px 18px}
.tvr-hp-home{scroll-snap-align:start;background:#fff;border-radius:var(--r);overflow:hidden;text-decoration:none;transition:transform .35s,box-shadow .35s;display:flex;flex-direction:column}
.tvr-hp-home:hover{transform:translateY(-4px);box-shadow:var(--shadow)}
.tvr-hp-home-media{position:relative;display:block;aspect-ratio:4/3;background:#dfe7ec;overflow:hidden}
.tvr-hp-home-media img,.tvr-hp-home-media video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.tvr-hp-home-media video{opacity:0;transition:opacity .4s}.tvr-hp-home-media video.is-playing{opacity:1}
.tvr-hp-badge{position:absolute;left:12px;top:12px;background:rgba(255,255,255,.94);color:var(--navy);font:700 12px var(--body);padding:6px 10px;border-radius:999px}
.tvr-hp-badge span{color:var(--coral)}
.tvr-hp-home-body{display:block;padding:16px 18px 20px}
.tvr-hp-loc{display:block;font-size:13px;color:var(--muted);font-weight:600}
.tvr-hp-home .tvr-hp-h3{margin:4px 0 6px}
.tvr-hp-facts{display:block;font-size:14px;color:var(--muted)}
.tvr-hp-price{display:block;margin-top:10px;font-size:14px}
.tvr-hp.has-dates [data-no-dates-only]{display:none}

/* films */
.tvr-hp-film{position:relative;overflow:hidden;color:#fff;background:#0b1e2c}
.tvr-hp-film-bg{position:absolute;inset:-10% 0;background-position:center;background-size:cover;opacity:.45;will-change:transform}
.tvr-hp-film-inner{position:relative;display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:center;padding-top:110px;padding-bottom:110px}
.tvr-hp-film p{color:#d7e6ef}
.tvr-hp-film .tvr-hp-eyebrow{color:var(--sea-2)}
.tvr-hp-film-count{font:600 clamp(80px,12vw,160px)/.9 var(--display);color:transparent;-webkit-text-stroke:1.5px rgba(255,255,255,.75)}

/* reviews, guides, faq */
.tvr-hp-reviews{display:grid;grid-template-columns:.8fr 1.2fr;gap:48px}
.tvr-hp-score{font:600 96px/1 var(--display);color:var(--navy);margin:0}.tvr-hp-score span{font-size:36px;color:var(--coral)}
.tvr-hp-quotes{display:grid;gap:16px}
.tvr-hp-quote{margin:0;background:#fff;border-radius:var(--r);padding:22px 24px;border:1px solid var(--line)}
.tvr-hp-quote blockquote{margin:0 0 10px;font:19px/1.45 var(--display)}
.tvr-hp-quote figcaption{color:var(--muted);font-weight:600;font-size:14px}
.tvr-hp-guides{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:18px}
.tvr-hp-guide{background:#fff;border-radius:var(--r);overflow:hidden;text-decoration:none;border:1px solid var(--line);display:flex;flex-direction:column}
.tvr-hp-guide-ph{display:block;aspect-ratio:16/10;overflow:hidden;background:var(--sand-2)}
.tvr-hp-guide-ph img{width:100%;height:100%;object-fit:cover;transition:transform .8s}.tvr-hp-guide:hover img{transform:scale(1.05)}
.tvr-hp-guide-b{display:block;padding:18px}
.tvr-hp-guide .tvr-hp-h3{margin:4px 0 6px;font-size:20px}
.tvr-hp-guide-t{color:var(--muted);font-size:14px}
.tvr-hp-local{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:start}
.tvr-hp-faq{border-bottom:1px solid var(--line);padding:16px 0}
.tvr-hp-faq summary{font:600 18px var(--display);cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:16px}
.tvr-hp-faq summary::after{content:"+";color:var(--coral);font-size:22px;transition:transform .3s}
.tvr-hp-faq[open] summary::after{transform:rotate(45deg)}
.tvr-hp-faq p{color:var(--muted);margin:10px 0 0}
.tvr-hp-owners{background:var(--navy);color:#fff;border-radius:24px;padding:34px;display:flex;justify-content:space-between;align-items:center;gap:24px;flex-wrap:wrap}
.tvr-hp-owners .tvr-hp-h3{font-size:28px}.tvr-hp-owners p{color:#cfe0ea;margin:6px 0 0}

/* reveal */
.tvr-hp.js .tvr-hp-rv{opacity:0;transform:translateY(26px);transition:opacity .9s cubic-bezier(.2,.7,.2,1),transform .9s cubic-bezier(.2,.7,.2,1);transition-delay:calc(var(--d,0) * 70ms)}
.tvr-hp.js .tvr-hp-rv.is-in{opacity:1;transform:none}


/* Theme hardening (0.1.1): found on staging 2026-09-26. Hello Elementor reset.css restyles every button/input
   (#c36 borders, transparent backgrounds, padding), the child theme forces "Amalfi Coast" on all h1/h2 spans
   with !important, and the Elementor kit resets heading weight. The #tvr-hp prefix outranks those rules. */
#tvr-hp h1,#tvr-hp h2,#tvr-hp h3,#tvr-hp .tvr-hp-h3{font-family:var(--display);font-weight:600;text-transform:none}
#tvr-hp .tvr-hp-h1{margin-bottom:26px;line-height:1.02}
#tvr-hp h2{line-height:1.1}
#tvr-hp h3,#tvr-hp .tvr-hp-h3{line-height:1.2}
#tvr-hp .tvr-hp-hero{min-height:min(76vh,720px)}
#tvr-hp .tvr-hp-hero-inner{padding-top:72px}
#tvr-hp .tvr-hp-h1-tail{font-family:var(--display)!important;font-weight:600!important;font-size:1em!important;letter-spacing:-.01em}
#tvr-hp .tvr-hp-script{font-family:"Amalfi Coast","Brush Script MT","Segoe Script",cursive!important;font-weight:400;font-size:1em;line-height:1}
#tvr-hp button,#tvr-hp input,#tvr-hp select{font-family:var(--body);text-transform:none;letter-spacing:normal;box-shadow:none}
#tvr-hp .tvr-hp-btn{border:0;border-radius:999px;display:inline-flex;align-items:center;gap:8px;font:700 15px var(--body);padding:14px 22px}
#tvr-hp .tvr-hp-btn-coral{background:var(--coral);color:#fff}
#tvr-hp .tvr-hp-btn-coral:hover,#tvr-hp .tvr-hp-btn-coral:focus{background:var(--coral-d);color:#fff}
#tvr-hp .tvr-hp-btn-light,#tvr-hp .tvr-hp-btn-light:hover{background:#fff;color:var(--navy)}
#tvr-hp .tvr-hp-go{height:58px;padding:0 28px;font-size:16px}
#tvr-hp .tvr-hp-sticky-seg{background:none;border:0;border-right:1px solid var(--line);border-radius:0;color:var(--ink);font:600 14px var(--body);padding:6px 12px}
#tvr-hp .tvr-hp-sticky-seg:hover{background:none;color:var(--navy)}
#tvr-hp .tvr-hp-chip{background:#fff;color:var(--navy);border:1px solid var(--line);border-radius:999px;padding:7px 13px;font:600 13px var(--body)}
#tvr-hp .tvr-hp-chip:hover{background:#f3f6f8;color:var(--navy)}
#tvr-hp .tvr-hp-chip[aria-pressed="true"]{background:var(--navy);color:#fff;border-color:var(--navy)}
#tvr-hp .tvr-hp-field input,#tvr-hp .tvr-hp-field select{border:0;border-radius:0;padding:2px 0;margin:0;background:none;height:auto;min-height:28px;width:100%;font:600 15px var(--body);color:var(--ink)}
#tvr-hp .tvr-hp-jump-panel input{border:1px solid var(--line);border-radius:10px;padding:10px 12px;width:100%}
@media (max-width:760px){#tvr-hp .tvr-hp-go{border-radius:16px;justify-content:center}#tvr-hp .tvr-hp-hero{min-height:0}#tvr-hp .tvr-hp-hero-inner{padding-top:36px;padding-bottom:24px}#tvr-hp .tvr-hp-h1{font-size:32px;margin-bottom:18px}#tvr-hp .tvr-hp-sub{margin-bottom:18px;font-size:15px}}


/* range calendar (0.1.8) */
.tvr-hp-dates-btn{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;background:none;border:0;padding:2px 0;min-height:28px;font:600 15px var(--body);color:var(--muted);cursor:pointer;text-align:left}
.tvr-hp-dates-btn.is-set{color:var(--ink)}
.tvr-hp-dates-btn svg{flex:none;color:var(--navy)}
.tvr-hp-cal{position:fixed;z-index:10000;background:#fff;color:var(--ink);border-radius:22px;box-shadow:0 30px 70px -20px rgba(15,42,63,.55);padding:16px 18px 14px;width:640px;max-width:calc(100vw - 24px);font-family:var(--body)}
.tvr-hp-cal[hidden],.tvr-hp-cal-shade[hidden]{display:none}
.tvr-hp-cal-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:6px}
.tvr-hp-cal-hint{margin:0;font:700 14px var(--body);color:var(--navy)}
.tvr-hp-cal-nav{width:36px;height:36px;border-radius:50%;border:1px solid var(--line);background:#fff;font-size:20px;line-height:1;cursor:pointer;color:var(--navy)}
.tvr-hp-cal-nav:disabled{opacity:.3;cursor:default}
.tvr-hp-cal-months{display:grid;grid-template-columns:1fr 1fr;gap:28px}
.tvr-hp-cal-title{margin:0 0 8px;text-align:center;font:700 15px var(--display);color:var(--ink)}
.tvr-hp-cal-grid{display:grid;grid-template-columns:repeat(7,1fr);row-gap:2px}
/* 0.1.21 (Isaac 2026-09-29): always reserve 6 week-rows so the calendar never changes height between months; on phones
   the sheet is bottom-anchored, so a 6-week month (e.g. Jan 2027) pushed the Next arrow up ~46px mid-tapping. */
.tvr-hp-cal-grid{grid-template-rows:auto repeat(6,40px)}
.tvr-hp-cal-dow{text-align:center;font:700 11px var(--body);color:var(--muted);padding:4px 0}
.tvr-hp-cal-day{height:40px;border:0;background:none;font:600 14px var(--body);color:var(--ink);cursor:pointer;border-radius:999px;position:relative}
.tvr-hp-cal-day:hover:not(:disabled){box-shadow:inset 0 0 0 1.5px var(--navy)}
.tvr-hp-cal-day:disabled{color:#c9d1d7;cursor:default}
.tvr-hp-cal-day.is-today:not(.is-start):not(.is-end){box-shadow:inset 0 0 0 1px var(--line)}
.tvr-hp-cal-day.in-range{background:var(--sea-2);border-radius:0}
.tvr-hp-cal-day.is-start,.tvr-hp-cal-day.is-end{background:var(--navy);color:#fff}
.tvr-hp-cal-day.is-start{border-radius:999px 0 0 999px}
.tvr-hp-cal-day.is-end{border-radius:0 999px 999px 0}
.tvr-hp-cal-foot{display:flex;justify-content:space-between;align-items:center;margin-top:10px;padding-top:10px;border-top:1px solid var(--line)}
.tvr-hp-cal-clear{background:none;border:0;font:600 14px var(--body);color:var(--muted);text-decoration:underline;text-underline-offset:3px;cursor:pointer;padding:6px 0}
.tvr-hp-cal-done{background:var(--navy);color:#fff;border:0;border-radius:999px;padding:10px 20px;font:700 14px var(--body);cursor:pointer}
.tvr-hp-cal-shade{position:fixed;inset:0;z-index:9999;background:rgba(10,28,42,.45)}
#tvr-hp .tvr-hp-dates-btn,#tvr-hp .tvr-hp-dates-btn:hover{display:flex;align-items:center;justify-content:space-between;width:100%;background:none;border:0;border-radius:0;padding:2px 0;color:var(--muted);font:600 15px var(--body);text-align:left}
#tvr-hp .tvr-hp-dates-btn.is-set{color:var(--ink)}
#tvr-hp .tvr-hp-cal button{text-transform:none;letter-spacing:normal;font-family:var(--body)}
#tvr-hp .tvr-hp-cal-day{background:none;border:0;padding:0;color:var(--ink);font:600 14px var(--body);border-radius:999px}
#tvr-hp .tvr-hp-cal-day:disabled{color:#c3ccd3}
#tvr-hp .tvr-hp-cal-day.in-range{background:var(--sea-2);border-radius:0}
#tvr-hp .tvr-hp-cal-day.is-start,#tvr-hp .tvr-hp-cal-day.is-end{background:var(--navy);color:#fff}
#tvr-hp .tvr-hp-cal-day.is-start{border-radius:999px 0 0 999px}
#tvr-hp .tvr-hp-cal-day.is-end{border-radius:0 999px 999px 0}
#tvr-hp .tvr-hp-cal-day.is-solo{border-radius:999px}
#tvr-hp .tvr-hp-cal-nav{background:#fff;border:1px solid var(--line);border-radius:50%;padding:0;color:var(--navy)}
#tvr-hp .tvr-hp-cal-clear{background:none;border:0;padding:6px 0;color:var(--muted)}
#tvr-hp .tvr-hp-cal-done{background:var(--navy);color:#fff;border:0;border-radius:999px;padding:10px 20px}
@media (max-width:760px){
  .tvr-hp-cal{left:0!important;right:0;bottom:0;top:auto!important;width:auto;max-width:none;border-radius:24px 24px 0 0;padding:18px 16px calc(16px + env(safe-area-inset-bottom))}
  .tvr-hp-cal-months{grid-template-columns:1fr}
  .tvr-hp-cal-day{height:44px}
  .tvr-hp-cal-grid{grid-template-rows:auto repeat(6,44px)}
  .tvr-hp-cal-foot{padding-left:58px} /* keep "Clear dates" clear of the fixed OneTap button (bottom-left) */
  #tvr-hp .tvr-hp-dates-field{grid-column:1/-1}
}
@media (max-width:900px){
  .tvr-hp-moods{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;margin-right:-24px;padding-bottom:8px}
  .tvr-hp-mood{flex:0 0 62%;scroll-snap-align:start}
  .tvr-hp-island-track{height:auto}
  .tvr-hp-island-stage{position:relative;height:auto;grid-template-columns:1fr;padding:72px 24px}
  .tvr-hp-towns{min-height:0}
  .tvr-hp-town{position:relative;opacity:1;transform:none;pointer-events:auto;margin-bottom:34px}
  .tvr-hp-town-map{display:block;width:100%;height:auto;aspect-ratio:1.27;border-radius:16px;margin:14px 0 0}
  .tvr-hp-town .tvr-hp-town-photo{margin-top:10px}
  .tvr-hp-mile{display:none}
  .tvr-hp-guides,.tvr-hp-reviews,.tvr-hp-local{grid-template-columns:1fr}
}
@media (max-width:760px){
  .tvr-hp-kicker{display:none}
  .tvr-hp-hero-inner{padding-top:96px;padding-bottom:28px}
  .tvr-hp-search{grid-template-columns:1fr 1fr;border-radius:22px;padding:6px}
  .tvr-hp-field{border-right:0;border-bottom:1px solid var(--line);padding:8px 12px}
  .tvr-hp-go{grid-column:1/-1;border-radius:16px;justify-content:center;margin-top:6px}
  .tvr-hp-chips{flex-wrap:nowrap;overflow-x:auto}
  .tvr-hp-rail{grid-auto-columns:82%;margin-right:-24px;padding-right:24px}
  .tvr-hp-town h3{font-size:30px}
  .tvr-hp-chip{flex:none}
  .tvr-hp-sticky{top:auto;bottom:14px;transform:translate(-50%,24px)}
  .tvr-hp-sticky{padding-left:8px}
  .tvr-hp-sticky-seg{padding:6px 9px;font-size:13px}
  .tvr-hp-sticky .tvr-hp-btn{padding:10px 14px;font-size:13px}
  .tvr-hp-sticky-panel{top:auto;bottom:calc(100% + 10px);grid-template-columns:1fr 1fr}
  .tvr-hp-sticky-panel .tvr-hp-field:nth-child(3){grid-column:1/-1}
  .tvr-hp-film-inner{grid-template-columns:1fr;padding-top:72px;padding-bottom:72px}
  .tvr-hp-block{padding:64px 0}
  .tvr-hp-quote blockquote{font-size:17px}
  .tvr-hp-score{font-size:72px}
}
@media (prefers-reduced-motion:reduce){
  .tvr-hp *,.tvr-hp *::before,.tvr-hp *::after{animation:none!important;transition:none!important}
  .tvr-hp.js .tvr-hp-rv{opacity:1;transform:none}
  .tvr-hp-town-map{display:block;width:100%;height:auto;aspect-ratio:1.27;border-radius:16px;margin:14px 0 0}
  .tvr-hp-town .tvr-hp-town-photo{margin-top:10px}
  .tvr-hp-mile{display:none}
}
/* 0.1.17 (Isaac's iPhone check, 2026-09-28): on phones the search pill sits at the bottom and covered the round
   accessibility button (OneTap), which hid "Any dates". While the pill is shown, lift the button above it. */
@media (max-width:760px){.onetap-toggle{transition:transform .3s ease!important}html.tvr-pill-shown .onetap-toggle{transform:translateY(-70px)!important}}
/* 0.1.18 (Isaac, 2026-09-28: "excessive … scroll forever" on phones): on phones the town section drops the island
   map and per-town mini-maps and shows three compact cards (photo, name, 3-line summary, link; whole card tappable).
   Desktop keeps the scrolling map. About 2,900 px → about 720 px at 390 px wide. */
@media (max-width:760px){
  #tvr-hp .tvr-hp-island-stage{padding:44px 16px 48px;gap:16px}
  #tvr-hp .tvr-hp-map-frame,#tvr-hp .tvr-hp-mile,#tvr-hp .tvr-hp-town-map{display:none!important}
  #tvr-hp .tvr-hp-island-map h2{margin-bottom:0}
  #tvr-hp .tvr-hp-towns{display:grid;gap:12px}
  #tvr-hp .tvr-hp-town{position:relative;margin:0!important;display:grid;grid-template-columns:104px minmax(0,1fr);grid-template-areas:"photo label" "photo name" "photo text" "photo link";column-gap:14px;align-content:start;background:rgba(255,255,255,.07);border-radius:18px;padding:12px}
  #tvr-hp .tvr-hp-town .tvr-hp-eyebrow{grid-area:label;margin:0;font-size:11px}
  #tvr-hp .tvr-hp-town h3{grid-area:name;font-size:21px!important;line-height:1.15;margin:3px 0 4px}
  #tvr-hp .tvr-hp-town .tvr-hp-town-photo{grid-area:photo;margin:0!important;aspect-ratio:auto;height:100%;min-height:104px;border-radius:12px}
  #tvr-hp .tvr-hp-town>p:not(.tvr-hp-eyebrow){grid-area:text;font-size:14px;line-height:1.45;margin:0 0 6px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
  #tvr-hp .tvr-hp-town .tvr-hp-btn{grid-area:link;justify-self:start;background:none!important;box-shadow:none!important;border:0!important;padding:0!important;min-height:0;color:#fff!important;font-size:14px;font-weight:700;text-decoration:underline;text-underline-offset:3px}
  #tvr-hp .tvr-hp-town .tvr-hp-btn::after{content:"";position:absolute;inset:0;border-radius:18px}
  #tvr-hp .tvr-hp-town .tvr-hp-btn:focus-visible{outline:none}
  #tvr-hp .tvr-hp-town:has(.tvr-hp-btn:focus-visible){outline:3px solid #fff;outline-offset:2px}
}
/* 0.1.20 (Isaac's iPhone: town section "went too far down … not centered"): below 900 px the island stage switches from
   sticky to relative, but kept its sticky offset (top: header height), so everything shifted down 66 px, leaving a gap
   above the heading and clipping the last card. */
@media (max-width:900px){#tvr-hp .tvr-hp-island-stage{top:auto}}

/* ---------- 0.1.22 (Isaac 2026-09-29): towns without scroll-jacking ----------
   Desktop: one normal-height section. The whole island stays on screen with all three towns; the right column cycles
   North Topsail → Surf City → Topsail Beach every 6 s (homepage.js), pauses on hover and stops for good once a visitor
   clicks or tabs to a town. Tabs and map dots are clickable. ≤900 px keeps the stacked town cards (tabs hidden). */
.tvr-hp-town-tabs{display:none}
@media (min-width:901px){
  #tvr-hp .tvr-hp-island-track{height:auto}
  #tvr-hp .tvr-hp-island-stage{position:relative;top:auto;height:auto;min-height:0;padding:96px 32px;align-items:center}
  #tvr-hp .tvr-hp-mile{display:none}
  #tvr-hp .tvr-hp-map .tvr-map-town{cursor:pointer}
  /* the whole island is shown, so town labels and dots are drawn larger than in the old zoomed camera (≈16 px on screen) */
  #tvr-hp .tvr-hp-map .tvr-map-town text{font-size:40px;stroke-width:9}
  #tvr-hp .tvr-hp-map .tvr-map-town .tvr-map-dot{r:13px;stroke-width:5}
  #tvr-hp .tvr-hp-map .tvr-map-town .tvr-map-pulse{r:34px}
  #tvr-hp .tvr-hp-map .tvr-map-town:not(.is-on) .tvr-map-dot{fill:#9fc2d2}
  #tvr-hp .tvr-hp-map .tvr-map-town:not(.is-on) text{opacity:.55}
  #tvr-hp .tvr-hp-map .tvr-map-town:hover text{opacity:1}
  #tvr-hp .tvr-hp-town-tabs{display:flex;gap:6px;margin:0 0 22px;padding:5px;border-radius:999px;background:rgba(255,255,255,.08);box-shadow:inset 0 0 0 1px rgba(255,255,255,.12);width:max-content;max-width:100%}
  #tvr-hp .tvr-hp-town-tab{position:relative;overflow:hidden;border:0;background:none;color:#cfe0ea;font:700 14px/1 var(--body);letter-spacing:.01em;text-transform:none;padding:11px 16px;border-radius:999px;cursor:pointer;white-space:nowrap;transition:background .25s,color .25s}
  #tvr-hp .tvr-hp-town-tab:hover{color:#fff;background:rgba(255,255,255,.08)}
  #tvr-hp .tvr-hp-town-tab.is-on{background:#fff;color:var(--navy)}
  #tvr-hp .tvr-hp-town-tab:focus-visible{outline:3px solid var(--sea-2);outline-offset:2px}
  /* progress line under the active tab while the tour is running */
  #tvr-hp .tvr-hp-town-tab::after{content:"";position:absolute;left:14px;right:14px;bottom:5px;height:2px;border-radius:2px;background:var(--coral);transform:scaleX(0);transform-origin:left}
  #tvr-hp .tvr-hp-island.is-touring .tvr-hp-town-tab.is-on::after{animation:tvr-hp-tour var(--tvr-hp-tour,6s) linear forwards}
  #tvr-hp .tvr-hp-island.is-paused .tvr-hp-town-tab.is-on::after{animation-play-state:paused}
  /* panels share one grid cell so the column sizes to the tallest town (no fixed heights, no overlap) */
  #tvr-hp .tvr-hp-towns{display:grid;min-height:0}
  #tvr-hp .tvr-hp-town{grid-area:1/1;position:relative;inset:auto;visibility:hidden;transition:opacity .2s,transform .2s,visibility 0s .2s}
  #tvr-hp .tvr-hp-town.is-on{visibility:visible;transition:opacity .45s .18s,transform .45s .18s,visibility 0s}
  #tvr-hp .tvr-hp-town h3{margin-top:4px}
}
@keyframes tvr-hp-tour{to{transform:scaleX(1)}}
@media (prefers-reduced-motion:reduce){#tvr-hp .tvr-hp-town-tab::after{display:none}}
