/* The Tidehouse: sun-washed guesthouse demo by Noder */
@font-face { font-family: 'Fraunces'; src: url('/demos/_fonts/fraunces/fraunces-latin-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Fraunces'; src: url('/demos/_fonts/fraunces/fraunces-latin-wght-italic.woff2') format('woff2'); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: 'DM Sans'; src: url('/demos/_fonts/dm-sans/dm-sans-latin-wght-normal.woff2') format('woff2'); font-weight: 100 1000; font-style: normal; font-display: swap; }
@font-face { font-family: 'DM Sans'; src: url('/demos/_fonts/dm-sans/dm-sans-latin-wght-italic.woff2') format('woff2'); font-weight: 100 1000; font-style: italic; font-display: swap; }

@view-transition { navigation: auto; }

:root {
  --chalk: #FBF8F1;
  --paper: #F6F0E4;
  --sand: #EFE4CF;
  --sand-2: #E3D3B6;
  --shell: #F8EBDD;
  --glass: #D3E6DA;
  --glass-2: #A8CDB8;
  --glass-3: #6FA48D;
  --teal: #1B4A4E;
  --teal-2: #2A6466;
  --ink: #15292B;
  --mut: #4A5E5C;
  --faint: #6B7C79;
  --terra: #B04F2C;
  --terra-d: #93401F;
  --terra-soft: #F1D6C6;
  --lamp: #F5C66C;
  --lamp-2: #FBE3AE;
  --line: rgba(21, 41, 43, .14);
  --line-2: rgba(21, 41, 43, .26);
  --serif: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --pad: clamp(16px, 4vw, 48px);
  --ease: cubic-bezier(.22, .8, .24, 1);
  --ease-io: cubic-bezier(.65, 0, .3, 1);
  --r: 22px;
  --shadow: 0 1px 0 rgba(21,41,43,.04), 0 18px 40px -22px rgba(27,74,78,.35);
  --grain: 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='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .32 0 0 0 0 .26 0 0 0 0 .18 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 96px; scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body { margin: 0; background: var(--chalk); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body { position: relative; }
body::before { content: ''; position: absolute; inset: 0; z-index: 90; pointer-events: none; background-image: var(--grain); opacity: .22; mix-blend-mode: multiply; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--serif); font-weight: 380; margin: 0; letter-spacing: -.015em; line-height: 1.08; text-wrap: balance; font-variation-settings: 'SOFT' 60, 'WONK' 0; }
h1 { font-size: clamp(42px, 6.4vw, 88px); line-height: 1.02; }
h2 { font-size: clamp(32px, 4.2vw, 56px); }
h3 { font-size: clamp(21px, 1.9vw, 26px); font-weight: 420; line-height: 1.2; }
h1 em, h2 em { font-style: italic; font-weight: 300; color: var(--teal-2); }
:focus-visible { outline: 2.5px solid var(--terra); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--teal); color: var(--chalk); }
[hidden] { display: none !important; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; top: 8px; left: 8px; z-index: 200; padding: 10px 16px; border-radius: 999px; background: var(--teal); color: var(--chalk); transform: translateY(-160%); transition: transform .3s var(--ease); text-decoration: none; }
.skip:focus { transform: none; }

.wrap { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: var(--pad); }
.sec { padding-block: clamp(72px, 9vw, 132px); position: relative; }
.sec-sand { background: var(--paper); }
.sec-teal { background: var(--teal); color: var(--chalk); }
.sec-teal h2 em { color: var(--glass-2); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--mut); }
.eyebrow::before { content: ''; width: 22px; height: 8px; background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 8'%3E%3Cpath d='M1 5c2.5-3 5-3 7 0s4.5 3 7 0 4.5-3 6 0' fill='none' stroke='%23B04F2C' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); }
.sec-teal .eyebrow { color: var(--glass); }
.lede { font-size: clamp(18px, 1.6vw, 21px); color: var(--mut); max-width: 60ch; }
.sec-teal .lede { color: #D4E2DD; }
.head { display: grid; gap: 18px; max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.head.center { margin-inline: auto; text-align: center; justify-items: center; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 12px 24px; border-radius: 999px; border: 1.5px solid transparent; background: var(--terra); color: #fff; font-weight: 600; font-size: 16px; text-decoration: none; letter-spacing: .005em; transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .25s, color .25s, border-color .25s; }
.btn:hover { background: var(--terra-d); transform: translateY(-2px); box-shadow: 0 14px 28px -14px rgba(147,64,31,.7); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-ghost { background: transparent; color: var(--teal); border-color: var(--line-2); }
.btn-ghost:hover { background: var(--chalk); color: var(--teal); border-color: var(--teal); box-shadow: 0 14px 28px -16px rgba(27,74,78,.5); }
.btn-light { background: var(--chalk); color: var(--teal); }
.btn-light:hover { background: #fff; box-shadow: 0 14px 30px -12px rgba(0,0,0,.35); }
.btn-sm { min-height: 42px; padding: 8px 18px; font-size: 15px; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.tlink { display: inline-flex; align-items: center; gap: 8px; color: var(--teal); font-weight: 600; text-decoration: none; background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0 1.5px; padding-bottom: 2px; transition: background-size .45s var(--ease); }
.tlink:hover { background-size: 100% 1.5px; }
.tlink svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.tlink:hover svg { transform: translateX(3px); }

/* Header */
.hd { position: sticky; top: 0; z-index: 60; background: color-mix(in srgb, var(--chalk) 88%, transparent); backdrop-filter: blur(12px) saturate(1.2); -webkit-backdrop-filter: blur(12px) saturate(1.2); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.hd.scrolled { border-color: var(--line); box-shadow: 0 10px 30px -24px rgba(21,41,43,.4); }
.hd-in { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.logo svg { width: 38px; height: 38px; flex: none; }
.logo b { font-family: var(--serif); font-weight: 450; font-size: 23px; letter-spacing: -.01em; line-height: 1; }
.logo small { display: block; font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--mut); margin-top: 4px; font-weight: 600; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { position: relative; padding: 10px 14px; border-radius: 999px; text-decoration: none; font-weight: 500; font-size: 15.5px; color: var(--mut); transition: color .25s, background-color .25s; }
.nav a:hover { color: var(--ink); background: var(--sand); }
.nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"]::after { content: ''; position: absolute; left: 50%; bottom: 3px; width: 18px; height: 6px; transform: translateX(-50%); background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 6'%3E%3Cpath d='M1 4c2-2.5 4-2.5 5.5 0s3.5 2.5 5.5 0 3.5-2.5 5 0' fill='none' stroke='%23B04F2C' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); }
.hd .btn[aria-current="page"] { background: var(--teal); }
.hd .btn { min-height: 44px; padding: 8px 20px; font-size: 15px; }
.menu-btn { display: none; align-items: center; gap: 10px; min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--chalk); font-weight: 600; font-size: 15px; }
.menu-btn i { position: relative; width: 18px; height: 10px; }
.menu-btn i::before, .menu-btn i::after { content: ''; position: absolute; left: 0; right: 0; height: 1.8px; border-radius: 2px; background: currentColor; transition: transform .4s var(--ease), top .4s var(--ease); }
.menu-btn i::before { top: 0; } .menu-btn i::after { top: 8px; }
.menu-btn[aria-expanded="true"] i::before { top: 4px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] i::after { top: 4px; transform: rotate(-45deg); }
.mnav { position: fixed; inset: 76px 0 auto 0; z-index: 55; background: var(--chalk); border-bottom: 1px solid var(--line); padding: 12px var(--pad) 28px; transform: translateY(-12px); opacity: 0; visibility: hidden; transition: transform .45s var(--ease), opacity .35s var(--ease), visibility 0s .45s; box-shadow: 0 30px 40px -30px rgba(21,41,43,.35); }
.mnav.open { transform: none; opacity: 1; visibility: visible; transition: transform .45s var(--ease), opacity .35s var(--ease); }
.mnav a { display: flex; align-items: center; justify-content: space-between; padding: 14px 4px; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 26px; text-decoration: none; }
.mnav a[aria-current="page"] { color: var(--terra-d); }
.mnav .btn { width: 100%; margin-top: 20px; font-family: var(--sans); font-size: 17px; border-bottom: 0; justify-content: center; }
@media (max-width: 900px) {
  .nav, .hd .btn { display: none; }
  .menu-btn { display: inline-flex; }
}
@media (min-width: 901px) { .mnav { display: none; } }

/* Page head (inner pages) */
.ph { padding-block: clamp(48px, 7vw, 96px) clamp(32px, 4vw, 56px); position: relative; }
.ph .wrap { display: grid; gap: 20px; }
.ph h1 { max-width: 15ch; }
.ph-art { position: absolute; right: var(--pad); top: 50%; width: min(34vw, 420px); transform: translateY(-46%); pointer-events: none; }
@media (max-width: 820px) { .ph-art { display: none; } }

/* Reveal */
/* Reveal: blocks drift in sideways, like water settling, rather than rising */
.js .rv { opacity: 0; transform: translateX(-22px); transition: opacity .9s var(--ease), transform 1.1s var(--ease-io); transition-delay: calc(var(--d, 0) * 110ms); }
.js .rv.in { opacity: 1; transform: none; }

/* Line art */
.ink { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ink-t { fill: none; stroke: var(--teal); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Home: hero + house ---------- */
.hero { position: relative; padding-top: clamp(36px, 5vw, 72px); background: linear-gradient(180deg, var(--chalk) 0%, var(--shell) 58%, var(--sand) 100%); overflow: hidden; }
.hero-top { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 24px 56px; align-items: end; }
.hero-top h1 { max-width: 13ch; }
.hero-top .lede { margin-bottom: 4px; }
.hero-top .btns { margin-top: 24px; }
@media (max-width: 860px) { .hero-top { grid-template-columns: 1fr; } }

.scene { position: relative; margin-top: clamp(20px, 3vw, 36px); }
.scene-clip { position: relative; overflow: hidden; }
.stage { position: relative; aspect-ratio: 1400 / 860; }
.stage > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hotspots { position: absolute; inset: 0; }
.hot { position: absolute; padding: 0; border: 0; background: transparent; border-radius: 4px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.hot:focus-visible { outline: 3px solid var(--terra); outline-offset: -3px; border-radius: 6px; }
.hot::after { content: attr(data-n); position: absolute; top: 6%; left: 5%; display: grid; place-items: center; width: clamp(18px, 1.9vw, 26px); height: clamp(18px, 1.9vw, 26px); border-radius: 50%; background: var(--chalk); border: 1.5px solid var(--teal); color: var(--teal); font: 700 clamp(10px, .95vw, 13px)/1 var(--sans); transition: background-color .3s, color .3s, transform .4s var(--ease); }
.hot.on::after { background: var(--terra); border-color: var(--terra); color: #fff; transform: scale(1.12); }
@media (max-width: 760px) {
  .stage { width: calc(100% * 1400 / 1130); margin-left: calc(-100% * 120 / 1130); }
}

/* House rooms (svg) */
.room .wall { fill: var(--wf, #F7EFE1); transition: fill .6s var(--ease); }
.room .win { fill: #DCEBE3; transition: fill .5s var(--ease); }
.room .glow { opacity: 0; transition: opacity .6s var(--ease); }
.room .shade { fill: var(--chalk); transition: fill .4s; }
.room.on .wall { fill: #FBE2B6; }
.room.on .win { fill: var(--lamp); }
.room.on .glow { opacity: 1; }
.room.on .shade { fill: var(--lamp); }
.room.dim .wall { fill: #EDE4D3; }
.winlit { opacity: 0; transition: opacity .6s var(--ease); }
.room.on .winlit { opacity: 1; }
.lantern-glass { fill: #DCEBE3; transition: fill .6s; }
.house.lookout .lantern-glass { fill: var(--lamp); }
.house .lantern-beam { opacity: 0; transition: opacity .8s var(--ease); }
.house.lookout .lantern-beam { opacity: .55; }

.wave-roll { animation: roll 14s linear infinite; }
.wave-roll.slow { animation-duration: 22s; animation-direction: reverse; }
@keyframes roll { to { transform: translateX(-200px); } }
.bob { animation: bob 5s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes bob { 50% { transform: translateY(4px) rotate(-2deg); } }
.gull { animation: glide 9s ease-in-out infinite; }
.gull.g2 { animation-duration: 12s; animation-delay: -4s; }
@keyframes glide { 50% { transform: translate(-18px, 8px); } }
.smoke { animation: smoke 6s ease-in-out infinite; stroke-dasharray: 4 6; }
@keyframes smoke { to { stroke-dashoffset: -40; } }
.sea-level { transition: transform 1.1s var(--ease); }

.roomcard { position: absolute; right: 1.5%; top: 2%; width: min(34%, 400px); background: var(--chalk); border-radius: var(--r); box-shadow: var(--shadow), 0 0 0 1px var(--line); padding: 22px 24px 24px; min-height: 0; }
.rc-in { display: grid; gap: 10px; }
.rc-in.swap, .place.swap { animation: swap .5s var(--ease); }
@keyframes swap { from { opacity: 0; transform: translateY(6px); } }
.rc-floor { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--mut); display: flex; align-items: center; gap: 8px; }
.rc-floor i { width: 8px; height: 8px; border-radius: 50%; background: var(--terra); }
.roomcard h2 { font-size: clamp(26px, 2.3vw, 34px); }
.rc-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; padding: 12px 0; border-block: 1px solid var(--line); font-size: 15px; }
.rc-facts dt { font-size: 12.5px; color: var(--mut); }
.rc-facts dd { margin: 0; font-weight: 500; }
.rc-price { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.rc-price p { font-size: 15px; color: var(--mut); }
.rc-price b { font-family: var(--serif); font-weight: 450; font-size: 30px; color: var(--ink); }
.rc-hint { color: var(--mut); font-size: 15.5px; }
.rc-list { display: grid; gap: 4px; font-size: 15px; margin-top: 4px; }
.rc-list li { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px dashed var(--line); padding: 4px 0; }
.rc-list span { color: var(--mut); }
@media (max-width: 1080px) {
  .scene-bar .scene-tip { display: none; }
  .roomcard { position: relative; right: auto; top: auto; width: auto; margin: 16px var(--pad) 0; min-height: 268px; }
}

.scene-bar { display: flex; align-items: center; justify-content: space-between; gap: 18px 32px; flex-wrap: wrap; padding: 18px var(--pad) 28px; max-width: 1280px; margin-inline: auto; }
.scene-tip { display: flex; align-items: center; gap: 10px; color: var(--mut); font-size: 15px; }
.scene-tip svg { width: 22px; height: 22px; flex: none; }

/* Tide widget */
.tide { display: grid; grid-template-columns: auto minmax(220px, 340px); align-items: center; gap: 6px 20px; padding: 14px 18px; border-radius: 18px; background: var(--chalk); box-shadow: 0 0 0 1px var(--line), var(--shadow); }
.tide-h { display: grid; gap: 2px; }
.tide-h b { font-family: var(--serif); font-weight: 450; font-size: 20px; }
.tide-h span { font-size: 13.5px; color: var(--mut); }
.tide-ctl { display: grid; gap: 4px; }
.tide-curve { width: 100%; height: 34px; overflow: visible; }
.tide-curve path { fill: none; stroke: var(--teal-2); stroke-width: 1.5; }
.tide-curve .fillc { fill: var(--glass); stroke: none; }
.tide-curve circle { fill: var(--terra); stroke: var(--chalk); stroke-width: 2; }
.tide-read { display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; color: var(--mut); }
.tide-read b { color: var(--ink); font-weight: 600; }
.tide-now { border: 0; background: none; padding: 2px 6px; margin: -2px -6px; border-radius: 6px; color: var(--teal); font-weight: 600; font-size: 13.5px; text-decoration: underline; text-underline-offset: 3px; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; margin: 0; }
input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: var(--sand-2); }
input[type="range"]::-moz-range-track { height: 4px; border-radius: 4px; background: var(--sand-2); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -9px; border-radius: 50%; background: var(--teal); border: 3px solid var(--chalk); box-shadow: 0 2px 8px rgba(21,41,43,.35); transition: transform .3s var(--ease); }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--teal); border: 3px solid var(--chalk); box-shadow: 0 2px 8px rgba(21,41,43,.35); }
input[type="range"]:hover::-webkit-slider-thumb { transform: scale(1.12); }
input[type="range"]:focus-visible { outline: none; }
input[type="range"]:focus-visible::-webkit-slider-thumb { outline: 2.5px solid var(--terra); outline-offset: 2px; }
input[type="range"]:focus-visible::-moz-range-thumb { outline: 2.5px solid var(--terra); outline-offset: 2px; }
@media (max-width: 600px) { .tide { grid-template-columns: 1fr; width: 100%; } }

/* Intro */
.intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 72px; align-items: start; }
.intro p + p { margin-top: 16px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 40px; border-top: 1px solid var(--line); }
.facts div { padding: 18px 16px 0 0; }
.facts dt { font-size: 13px; color: var(--mut); letter-spacing: .04em; }
.facts dd { margin: 4px 0 0; font-family: var(--serif); font-size: 24px; }
@media (max-width: 820px) { .intro { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .facts { grid-template-columns: 1fr 1fr; gap: 8px; } }

/* Perks */
.perks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.perk { position: relative; display: grid; align-content: start; gap: 12px; padding: 28px 24px 30px; border-radius: var(--r); background: var(--chalk); box-shadow: 0 0 0 1px var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.perk:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--line-2), var(--shadow); }
.perk svg { width: 64px; height: 64px; margin-bottom: 6px; }
.perk p { color: var(--mut); font-size: 16px; }
.perk-note { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding: 22px 26px; border-radius: var(--r); background: var(--glass); }
.perk-note p { max-width: 62ch; }
.perk-note .btn { flex: none; }
@media (max-width: 1000px) { .perks { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .perks { grid-template-columns: 1fr; } }

/* Split sections */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px clamp(32px, 6vw, 96px); align-items: center; }
.split.flip > :first-child { order: 2; }
.split-art { border-radius: 28px; overflow: hidden; background: var(--sand); }
.split-art svg { width: 100%; height: auto; }
.split h2 + p, .split .lede { margin-top: 20px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.flip > :first-child { order: 0; } }
.menu-list { margin-top: 28px; display: grid; gap: 0; border-top: 1px solid var(--line); }
.menu-list li { display: grid; grid-template-columns: 1fr auto; gap: 4px 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.menu-list b { font-weight: 600; }
.menu-list span { color: var(--mut); font-size: 15.5px; grid-column: 1; }
.menu-list em { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-style: normal; font-size: 14px; color: var(--mut); }
.bar-card { margin-top: 28px; padding: 22px 24px; border-radius: var(--r); background: var(--chalk); box-shadow: 0 0 0 1px var(--line); display: grid; gap: 8px; }
.bar-card h3 { font-size: 22px; }
.bar-card p { color: var(--mut); }

.village { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 8px; }
.village li { padding: 24px; border-radius: var(--r); background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); display: grid; gap: 8px; }
.village h3 { color: var(--chalk); }
.village p { color: #CFE0DA; font-size: 16px; }
.village svg { width: 48px; height: 48px; }
@media (max-width: 860px) { .village { grid-template-columns: 1fr; } }
.sec-teal .tlink { color: var(--lamp-2); }

.cta { text-align: center; display: grid; justify-items: center; gap: 18px; }
.cta svg.cta-art { width: min(560px, 100%); height: auto; margin-bottom: 8px; }
.cta .btns { justify-content: center; margin-top: 14px; }

/* Footer */
.ft { background: var(--ink); color: #D9E3E0; padding-top: 0; position: relative; }
.ft-wave { display: block; width: 100%; height: 40px; background: var(--chalk); }
.ft-wave path { fill: var(--ink); }
.ft-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-block: 56px 36px; }
.ft .logo b { color: var(--chalk); }
.ft .logo small { color: #A9BAB6; }
.ft h2 { font-family: var(--sans); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: #A9BAB6; margin-bottom: 14px; }
.ft p, .ft li { font-size: 15.5px; line-height: 1.7; }
.ft a { color: #F2F6F4; text-decoration: none; }
.ft a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ft-intro { margin-top: 16px; max-width: 36ch; color: #BFCFCB; }
.ft-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-block: 22px 32px; border-top: 1px solid rgba(255,255,255,.12); font-size: 14.5px; color: #BFCFCB; }
.ft-base a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) { .ft-in { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .ft-in { grid-template-columns: 1fr; } .ft-base { padding-bottom: 84px; } }

/* ---------- Rooms ---------- */
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 18px 8px 14px; border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--chalk); font-weight: 500; font-size: 15.5px; transition: background-color .3s var(--ease), border-color .3s, color .3s, transform .3s var(--ease); }
.chip:hover { border-color: var(--teal); transform: translateY(-1px); }
.chip .tick { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--line-2); display: grid; place-items: center; transition: background-color .3s, border-color .3s; }
.chip .tick svg { width: 12px; height: 12px; stroke: #fff; opacity: 0; transform: scale(.4); transition: opacity .3s, transform .35s var(--ease); }
.chip[aria-pressed="true"] { background: var(--teal); border-color: var(--teal); color: var(--chalk); }
.chip[aria-pressed="true"] .tick { background: var(--terra); border-color: var(--terra); }
.chip[aria-pressed="true"] .tick svg { opacity: 1; transform: none; }
.filter-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; padding: 16px 0 28px; }
.count { color: var(--mut); font-size: 15px; }
.clear { border: 0; background: none; color: var(--teal); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; padding: 6px; border-radius: 6px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 22px; }
.card { position: relative; display: flex; flex-direction: column; border-radius: var(--r); background: var(--chalk); box-shadow: 0 0 0 1px var(--line); overflow: hidden; scroll-margin-top: 110px; transition: box-shadow .5s var(--ease), transform .5s var(--ease), opacity .35s var(--ease); }
.card:hover { box-shadow: 0 0 0 1px var(--line-2), var(--shadow); }
.card.out { opacity: 0; transform: scale(.96); }
.card[hidden] { display: none; }
.card:target, .card.hl { box-shadow: 0 0 0 2.5px var(--terra), var(--shadow); }
.card-art { position: relative; aspect-ratio: 16 / 10; background: var(--sand); overflow: hidden; }
.card-art svg { width: 100%; height: 100%; transition: transform 1.2s var(--ease); }
.card:hover .card-art svg { transform: scale(1.035); }
.card-tag { position: absolute; left: 14px; top: 14px; padding: 5px 12px; border-radius: 999px; background: var(--chalk); font-size: 13px; font-weight: 600; color: var(--ink); box-shadow: 0 4px 14px -6px rgba(21,41,43,.4); }
.card-body { display: grid; gap: 12px; padding: 22px 24px 24px; flex: 1; align-content: start; }
.card-body h3 { font-size: clamp(26px, 2.2vw, 30px); }
.card-body > p { color: var(--mut); font-size: 16px; }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; font-size: 14.5px; }
.specs li { display: flex; align-items: center; gap: 8px; }
.specs svg { width: 18px; height: 18px; flex: none; }
.badges { display: flex; flex-wrap: wrap; gap: 6px; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--glass); font-size: 13px; font-weight: 600; color: var(--teal); }
.badge.terra { background: var(--terra-soft); color: var(--terra-d); }
.card-foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 16px 24px 22px; border-top: 1px dashed var(--line-2); }
.from { font-size: 14px; color: var(--mut); }
.from b { font-family: var(--serif); font-weight: 450; font-size: 26px; color: var(--ink); }
.cmp { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; cursor: pointer; padding: 6px 4px; border-radius: 8px; }
.cmp input { appearance: none; -webkit-appearance: none; margin: 0; width: 22px; height: 22px; border-radius: 6px; border: 1.5px solid var(--line-2); background: var(--chalk); display: grid; place-items: center; transition: background-color .25s, border-color .25s; cursor: pointer; }
.cmp input::after { content: ''; width: 10px; height: 6px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) translate(1px, -1px) scale(.3); opacity: 0; transition: transform .3s var(--ease), opacity .2s; }
.cmp input:checked { background: var(--teal); border-color: var(--teal); }
.cmp input:checked::after { opacity: 1; transform: rotate(-45deg) translate(1px, -1px); }
.cmp input:disabled { opacity: .45; cursor: not-allowed; }
.cmp input:disabled + span { color: var(--faint); }
.cmp input:focus-visible { outline: 2.5px solid var(--terra); outline-offset: 2px; }
.empty { padding: 40px; border-radius: var(--r); background: var(--paper); text-align: center; display: grid; gap: 12px; justify-items: center; }

.tray { position: fixed; z-index: 70; right: 16px; bottom: 16px; width: min(380px, calc(100vw - 32px)); padding: 14px 14px 14px 20px; border-radius: 20px; background: var(--ink); color: var(--chalk); display: flex; align-items: center; justify-content: space-between; gap: 14px; box-shadow: 0 24px 50px -20px rgba(0,0,0,.5); transform: translateY(calc(100% + 100px)); visibility: hidden; transition: transform .55s var(--ease), visibility 0s .55s; }
.tray.on { transform: none; visibility: visible; transition: transform .55s var(--ease); }
.tray p { font-size: 14.5px; line-height: 1.4; }
.tray p b { display: block; font-weight: 600; }
.tray .btn { min-height: 44px; padding: 8px 18px; font-size: 15px; flex: none; }
.tray .btn[disabled] { opacity: .5; pointer-events: none; }
@media (max-width: 640px) { .tray { left: 10px; right: 10px; width: auto; bottom: 68px; } }

dialog.cmpd { width: min(860px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: 26px; background: var(--chalk); color: var(--ink); box-shadow: 0 40px 100px -30px rgba(0,0,0,.5); overflow: auto; }
dialog.cmpd::backdrop { background: rgba(21,41,43,.45); backdrop-filter: blur(3px); }
dialog.cmpd[open] { animation: rise .5s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(20px) scale(.98); } }
.cmpd-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 26px 6px; }
.cmpd-head h2 { font-size: 30px; }
.x { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line-2); background: var(--chalk); display: grid; place-items: center; flex: none; transition: border-color .25s, transform .4s var(--ease); }
.x:hover { border-color: var(--teal); transform: rotate(90deg); }
.x svg { width: 16px; height: 16px; }
.cmpt { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.cmpd-body { padding: 8px 26px 26px; }
.cmpt th, .cmpt td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.cmpt thead th { font-family: var(--serif); font-weight: 450; font-size: 22px; vertical-align: bottom; }
.cmpt thead .mini { width: 100%; max-width: 220px; aspect-ratio: 16/10; border-radius: 12px; overflow: hidden; margin-bottom: 10px; }
.cmpt tbody th { font-weight: 500; color: var(--mut); width: 26%; font-size: 14.5px; }
.cmpt td.better { color: var(--teal); font-weight: 600; }
.cmpt tfoot td { border: 0; padding-top: 18px; }
@media (max-width: 560px) { .cmpd-body { padding: 4px 14px 20px; } .cmpt th, .cmpt td { padding: 10px 6px; font-size: 14.5px; } .cmpt thead th { font-size: 18px; } .cmpt tbody th { width: 30%; } }

.note-band { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.note-band li { padding: 24px; border-radius: var(--r); background: var(--chalk); box-shadow: 0 0 0 1px var(--line); display: grid; gap: 8px; }
.note-band p { color: var(--mut); font-size: 16px; }
@media (max-width: 860px) { .note-band { grid-template-columns: 1fr; } }

/* ---------- Around here ---------- */
.map-wrap { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(300px, .9fr); gap: 24px; align-items: start; }
@media (max-width: 980px) { .map-wrap { grid-template-columns: 1fr; } }
.map { position: relative; border-radius: 28px; overflow: hidden; background: var(--glass); box-shadow: 0 0 0 1px var(--line); }
.map-stage { position: relative; aspect-ratio: 1000 / 720; }
.map-stage > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.pin { position: absolute; width: 44px; height: 44px; margin: -40px 0 0 -22px; padding: 0; border: 0; background: none; display: grid; place-items: start center; transition: transform .45s var(--ease), opacity .35s var(--ease); -webkit-tap-highlight-color: transparent; }
.pin svg { width: 30px; height: 38px; filter: drop-shadow(0 4px 4px rgba(21,41,43,.25)); transition: transform .45s var(--ease); transform-origin: 50% 100%; }
.pin .pb { fill: var(--pc); stroke: var(--chalk); stroke-width: 2; }
.pin:hover svg, .pin[aria-pressed="true"] svg { transform: scale(1.22) translateY(-2px); }
.pin[aria-pressed="true"] .pb { stroke: var(--ink); stroke-width: 2.5; }
.pin.off { opacity: 0; pointer-events: none; transform: translateY(6px); }
.pin:focus-visible { outline: none; }
.pin:focus-visible svg { outline: 2.5px solid var(--terra); outline-offset: 2px; border-radius: 8px; }
@media (max-width: 600px) { .pin { width: 40px; height: 42px; margin: -38px 0 0 -20px; } .pin svg { width: 26px; height: 33px; } }
.pin.inplan::after { content: attr(data-step); position: absolute; top: -8px; right: 0; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--ink); color: #fff; font: 700 12px/20px var(--sans); text-align: center; }
.pin-home { position: absolute; transform: translate(-50%, -100%); pointer-events: none; }
.c-walk { --pc: #2F6E5A; } .c-swim { --pc: #2A6A8A; } .c-food { --pc: #B04F2C; } .c-rain { --pc: #6A5A8E; }
.cat-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--pc); flex: none; }
.chip.cat[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); }
.chip.cat .cat-dot { box-shadow: 0 0 0 2px var(--chalk); }
.route { fill: none; stroke: var(--ink); stroke-width: 2.6; stroke-dasharray: 2 9; stroke-linecap: round; transition: opacity .4s; }
.place { border-radius: 24px; background: var(--chalk); box-shadow: 0 0 0 1px var(--line); padding: 24px; display: grid; gap: 12px; min-height: 250px; align-content: start; }
.place h2 { font-size: clamp(26px, 2.4vw, 32px); }
.place-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.place p.blurb { color: var(--mut); }
.place .btn { justify-self: start; margin-top: 6px; }
.place-empty { color: var(--mut); }
.cat-label { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--mut); }

.planner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: start; }
@media (max-width: 860px) { .planner { grid-template-columns: 1fr; } }
.pick { display: grid; gap: 8px; }
.pick li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px 10px 16px; border-radius: 16px; background: var(--chalk); box-shadow: 0 0 0 1px var(--line); }
.pick li > div { display: flex; align-items: center; gap: 10px; min-width: 0; }
.pick small { display: block; color: var(--mut); font-size: 13.5px; }
.addb { flex: none; min-width: 84px; min-height: 40px; border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--chalk); font-weight: 600; font-size: 14.5px; padding: 6px 14px; transition: background-color .25s, color .25s, border-color .25s; }
.addb:hover { border-color: var(--teal); }
.addb[aria-pressed="true"] { background: var(--teal); color: #fff; border-color: var(--teal); }
.plan { border-radius: 24px; background: var(--chalk); box-shadow: 0 0 0 1px var(--line), var(--shadow); padding: 24px; display: grid; gap: 14px; position: sticky; top: 96px; }
.plan h3 { font-size: 24px; }
.itin { display: grid; gap: 0; }
.itin li { position: relative; display: grid; grid-template-columns: 72px 1fr; gap: 12px; padding: 10px 0; animation: swap .45s var(--ease); }
.itin .t { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--mut); padding-top: 3px; }
.itin .s b { display: block; font-weight: 600; }
.itin .s span { color: var(--mut); font-size: 14.5px; }
.itin .walk { grid-column: 2; display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--mut); padding: 2px 0; }
.itin .walk svg { width: 16px; height: 16px; }
.itin li.leg { padding: 0; animation: none; }
.plan-empty { color: var(--mut); padding: 14px; border-radius: 14px; background: var(--paper); }
.plan-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.plan-msg { font-size: 14px; color: var(--teal); min-height: 1.4em; }

/* ---------- Book ---------- */
.book { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; align-items: start; }
@media (max-width: 1040px) { .book { grid-template-columns: 1fr; } }
.panel { border-radius: 24px; background: var(--chalk); box-shadow: 0 0 0 1px var(--line); padding: clamp(18px, 2.4vw, 28px); }
.panel + .panel { margin-top: 20px; }
.step-h { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.step-h i { width: 30px; height: 30px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; font: 700 14px/1 var(--sans); font-style: normal; flex: none; }
.step-h h2 { font-size: clamp(24px, 2.2vw, 30px); }
.field { display: grid; gap: 6px; }
.field label, .field .lab { font-weight: 600; font-size: 15px; }
.field .hint { font-size: 14px; color: var(--mut); }
.inp { width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 14px; border: 1.5px solid var(--line-2); background: #fff; transition: border-color .25s, box-shadow .25s; }
textarea.inp { min-height: 110px; resize: vertical; }
.inp:hover { border-color: var(--teal-2); }
.inp:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(42,100,102,.18); }
.inp[aria-invalid="true"] { border-color: var(--terra); box-shadow: 0 0 0 4px rgba(176,79,44,.12); }
select.inp { appearance: none; -webkit-appearance: none; padding-right: 44px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%231B4A4E' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 16px center / 16px; }
.err { font-size: 14px; color: var(--terra-d); font-weight: 500; min-height: 0; }
.err:empty { display: none; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .grid2 { grid-template-columns: 1fr; } }
.stack { display: grid; gap: 16px; }

.cal-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.cal-nav { display: flex; gap: 8px; }
.cal-nav button { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line-2); background: var(--chalk); display: grid; place-items: center; transition: border-color .25s, background-color .25s; }
.cal-nav button:hover:not(:disabled) { border-color: var(--teal); background: var(--paper); }
.cal-nav button:disabled { opacity: .35; cursor: not-allowed; }
.cal-nav svg { width: 18px; height: 18px; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13.5px; color: var(--mut); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }
.cals { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
@media (max-width: 720px) { .cals { grid-template-columns: 1fr; gap: 20px; } }
.cal h3 { font-size: 20px; margin-bottom: 10px; }
.cal-g { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px 0; }
.cal-g .dow { text-align: center; font-size: 12px; font-weight: 600; color: var(--mut); padding: 4px 0 6px; letter-spacing: .04em; }
.day { position: relative; min-height: 52px; padding: 4px 0; border: 0; background: transparent; display: grid; place-content: center; gap: 1px; text-align: center; border-radius: 12px; font-variant-numeric: tabular-nums; transition: background-color .2s, color .2s; }
.day .n { font-weight: 600; font-size: 15.5px; line-height: 1.1; }
.day .p { font-size: 11.5px; color: var(--mut); line-height: 1.1; }
.day.we .p { color: var(--terra-d); font-weight: 600; }
.day:hover:not(:disabled) { background: var(--glass); }
.day:disabled { cursor: not-allowed; }
.day.past { color: #9AA6A3; }
.day.past .p { visibility: hidden; }
.day.full .n { color: var(--faint); text-decoration: line-through; text-decoration-thickness: 1.5px; }
.day.full .p { color: var(--faint); font-weight: 500; }
.day.full { background: repeating-linear-gradient(-45deg, transparent 0 5px, rgba(21,41,43,.06) 5px 7px); }
.day.co-only { cursor: pointer; }
.day.inr { background: var(--glass); border-radius: 0; }
.day.st, .day.en { background: var(--teal); color: #fff; }
.day.st .p, .day.en .p { color: #DDEAE5; }
.day.st { border-radius: 12px 0 0 12px; }
.day.en { border-radius: 0 12px 12px 0; }
.day.st.solo { border-radius: 12px; }
.day.prev { background: rgba(169,205,184,.45); border-radius: 0; }
.day.today .n::after { content: ''; display: block; width: 4px; height: 4px; margin: 2px auto 0; border-radius: 50%; background: var(--terra); }
.cal-msg { margin-top: 14px; padding: 12px 16px; border-radius: 14px; background: var(--paper); font-size: 15px; color: var(--ink); display: flex; gap: 10px; align-items: flex-start; }
.cal-msg.warn { background: var(--terra-soft); color: var(--terra-d); font-weight: 500; }
.cal-msg svg { width: 18px; height: 18px; flex: none; margin-top: 3px; }

.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--line-2); border-radius: 999px; background: #fff; }
.stepper button { width: 46px; height: 46px; border: 0; background: none; border-radius: 50%; font-size: 22px; line-height: 1; color: var(--teal); }
.stepper button:disabled { color: #B5BFBD; cursor: not-allowed; }
.stepper output { min-width: 36px; text-align: center; font-weight: 600; font-size: 17px; }
.addons { display: grid; gap: 10px; }
.addon { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; transition: border-color .25s, background-color .25s; }
.addon:hover { border-color: var(--teal-2); }
.addon:has(input:checked) { border-color: var(--teal); background: #F1F7F3; }
.addon:has(input:disabled) { opacity: .6; cursor: not-allowed; }
.addon input { appearance: none; -webkit-appearance: none; width: 22px; height: 22px; margin: 0; border-radius: 6px; border: 1.5px solid var(--line-2); display: grid; place-items: center; background: #fff; }
.addon input::after { content: ''; width: 10px; height: 6px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) translate(1px, -1px) scale(.3); opacity: 0; transition: transform .3s var(--ease), opacity .2s; }
.addon input:checked { background: var(--teal); border-color: var(--teal); }
.addon input:checked::after { opacity: 1; transform: rotate(-45deg) translate(1px, -1px); }
.addon input:focus-visible { outline: 2.5px solid var(--terra); outline-offset: 2px; }
.addon b { display: block; font-weight: 600; }
.addon small { color: var(--mut); font-size: 14px; }
.addon em { font-style: normal; font-weight: 600; white-space: nowrap; }

.sum { position: sticky; top: 96px; display: grid; gap: 0; border-radius: 24px; background: var(--chalk); box-shadow: 0 0 0 1px var(--line), var(--shadow); overflow: hidden; }
.sum-art { height: 150px; background: var(--sand); overflow: hidden; }
.sum-art svg { width: 100%; height: 100%; }
.sum-in { padding: 20px 24px 24px; display: grid; gap: 14px; }
.sum h2 { font-size: 26px; }
.sum-dates { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.sum-dates div { padding: 10px 14px; }
.sum-dates div + div { border-left: 1px solid var(--line); }
.sum-dates small { display: block; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--mut); font-weight: 600; }
.sum-dates b { font-weight: 600; font-size: 15.5px; }
.lines { display: grid; gap: 6px; font-size: 15px; }
.lines li { display: flex; justify-content: space-between; gap: 12px; }
.lines li span:first-child { color: var(--mut); }
.lines li.we span:first-child::after { content: ' · weekend'; color: var(--terra-d); font-size: 13px; }
.lines .more { font-size: 14px; color: var(--mut); }
.total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 12px; border-top: 1px solid var(--line); }
.total span { font-weight: 600; }
.total b { font-family: var(--serif); font-weight: 450; font-size: 34px; }
.total b.muted { font-family: var(--sans); font-size: 16px; font-weight: 500; color: var(--mut); }
.sum-note { font-size: 14px; color: var(--mut); }
.perk-list { display: grid; gap: 8px; padding: 14px 16px; border-radius: 16px; background: var(--glass); font-size: 14.5px; }
.perk-list b { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--teal); }
.perk-list li { display: flex; gap: 8px; align-items: flex-start; }
.perk-list svg { width: 16px; height: 16px; flex: none; margin-top: 4px; }
.sum-close { display: none; }
.sum-wrap { align-self: stretch; }

.mbar { display: none; }
@media (max-width: 1040px) {
  .sum-wrap { position: fixed; z-index: 75; left: 10px; right: 10px; bottom: 68px; pointer-events: none; }
  .sum { position: relative; top: auto; max-height: min(70vh, 620px); overflow: auto; transform: translateY(calc(100% + 140px)); visibility: hidden; transition: transform .55s var(--ease), visibility 0s .55s; pointer-events: auto; overscroll-behavior: contain; }
  .sum-wrap.open .sum { transform: none; visibility: visible; transition: transform .55s var(--ease); }
  .sum-art { display: none; }
  .sum-close { display: grid; position: absolute; top: 12px; right: 12px; }
  .sum-in h2 { padding-right: 52px; }
  .mbar { position: fixed; z-index: 74; left: 10px; right: 10px; bottom: 68px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 18px; border-radius: 20px; background: var(--ink); color: var(--chalk); box-shadow: 0 20px 40px -18px rgba(0,0,0,.5); transition: transform .45s var(--ease), opacity .3s; }
  .mbar p { font-size: 14px; line-height: 1.35; color: #CFDCD8; }
  .mbar p b { display: block; font-size: 18px; color: #fff; font-weight: 600; }
  .mbar .btn { min-height: 44px; padding: 8px 18px; font-size: 15px; }
  .sum-wrap.open + .mbar { opacity: 0; pointer-events: none; transform: translateY(10px); }
  .book-main { padding-bottom: 150px; }
}

.done { display: grid; gap: 16px; justify-items: start; padding: clamp(24px, 3vw, 36px); border-radius: 24px; background: var(--glass); animation: swap .6s var(--ease); }
.done svg.seal { width: 84px; height: 84px; }
.done h2 { font-size: clamp(28px, 3vw, 40px); }
.done .ref { font-family: var(--serif); font-size: 20px; }
.done ol { display: grid; gap: 10px; counter-reset: s; }
.done ol li { counter-increment: s; display: grid; grid-template-columns: 30px 1fr; gap: 10px; }
.done ol li::before { content: counter(s); width: 26px; height: 26px; border-radius: 50%; background: var(--teal); color: #fff; font-weight: 700; font-size: 13px; display: grid; place-items: center; }

/* ---------- Visit ---------- */
.faq { display: grid; gap: 10px; }
.qa { border-radius: 18px; background: var(--chalk); box-shadow: 0 0 0 1px var(--line); transition: box-shadow .3s; }
.qa:has(button[aria-expanded="true"]) { box-shadow: 0 0 0 1.5px var(--teal), var(--shadow); }
.qa h3 { font-family: var(--sans); font-size: 18px; font-weight: 600; letter-spacing: 0; }
.qa button { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; border: 0; background: none; text-align: left; border-radius: 18px; font-weight: 600; }
.qa button i { position: relative; width: 30px; height: 30px; border-radius: 50%; background: var(--paper); flex: none; transition: background-color .3s, transform .45s var(--ease); }
.qa button i::before, .qa button i::after { content: ''; position: absolute; left: 9px; right: 9px; top: 14px; height: 2px; border-radius: 2px; background: var(--teal); transition: transform .45s var(--ease); }
.qa button i::after { transform: rotate(90deg); }
.qa button[aria-expanded="true"] i { background: var(--glass); transform: rotate(180deg); }
.qa button[aria-expanded="true"] i::after { transform: rotate(0deg); }
.qa-a { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .5s var(--ease); }
.js .qa-a { grid-template-rows: 0fr; }
.qa-a > div { overflow: hidden; }
.qa-a p { padding: 0 20px 20px; color: var(--mut); max-width: 68ch; }
.qa-a p + p { margin-top: -8px; }
.js .qa.open .qa-a { grid-template-rows: 1fr; }

.ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 900px) { .ways { grid-template-columns: 1fr; } }
.way { border-radius: var(--r); background: var(--chalk); box-shadow: 0 0 0 1px var(--line); padding: 26px; display: grid; gap: 14px; align-content: start; }
.way svg.way-ic { width: 54px; height: 54px; }
.way ol { display: grid; gap: 10px; counter-reset: s; }
.way ol li { counter-increment: s; display: grid; grid-template-columns: 28px 1fr; gap: 10px; font-size: 16px; color: var(--mut); }
.way ol li::before { content: counter(s); width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--teal); color: var(--teal); font-weight: 700; font-size: 12.5px; display: grid; place-items: center; margin-top: 2px; }
.lastmile { margin-top: 24px; border-radius: 28px; overflow: hidden; background: var(--sand); box-shadow: 0 0 0 1px var(--line); }
.lastmile svg { width: 100%; height: auto; }
.enq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px clamp(32px, 6vw, 88px); align-items: start; }
@media (max-width: 900px) { .enq { grid-template-columns: 1fr; } }
.enq-side { display: grid; gap: 18px; }
.contact-list { display: grid; gap: 12px; margin-top: 8px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.contact-list svg { width: 22px; height: 22px; flex: none; margin-top: 2px; }
.contact-list a { color: var(--teal); font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js .rv { opacity: 1; transform: none; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}

/* Booking with us compared with a booking site */
.vs { margin-top: 8px; border-radius: var(--r); background: var(--chalk); box-shadow: 0 0 0 1px var(--line); overflow: hidden; }
.vs-t { width: 100%; border-collapse: collapse; font-size: 16px; }
.vs-t th, .vs-t td { padding: 16px 22px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
.vs-t thead th, .vs-t thead td { border-top: 0; padding-top: 20px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--mut); }
.vs-t thead th:nth-child(2) { color: var(--teal); }
.vs-us { display: inline-flex; align-items: center; gap: 8px; }
.vs-us::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--terra); }
.vs-t tbody th { width: 20%; font-family: var(--serif); font-weight: 500; font-size: 18px; color: var(--ink); }
.vs-t tbody td:nth-child(2) { width: 42%; background: rgba(211, 230, 218, .45); color: var(--ink); font-weight: 500; }
.vs-t tbody td:nth-child(3) { color: var(--mut); }
@media (max-width: 700px) {
  .vs-t thead { display: none; }
  .vs-t, .vs-t tbody, .vs-t tr, .vs-t th, .vs-t td { display: block; width: auto !important; }
  .vs-t tr { padding: 14px 18px; border-top: 1px solid var(--line); }
  .vs-t tr:first-child { border-top: 0; }
  .vs-t th, .vs-t td { padding: 0; border: 0; background: none !important; }
  .vs-t tbody th { margin-bottom: 6px; }
  .vs-t tbody td:nth-child(2)::before { content: 'With us: '; font-weight: 700; color: var(--teal); }
  .vs-t tbody td:nth-child(3) { margin-top: 4px; font-size: 15px; }
  .vs-t tbody td:nth-child(3)::before { content: 'Booking site: '; font-weight: 600; }
}

/* Closing strip: the practical times, with today's tide */
.sec-strip { padding-block: clamp(56px, 7vw, 96px); }
.strip { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) auto; gap: 28px 44px; align-items: center; padding-block: 34px; border-block: 1.5px solid var(--line-2); position: relative; }
.strip::before { content: ''; position: absolute; left: 0; right: 0; top: -7px; height: 12px; background: no-repeat left center / 120px 12px repeat-x url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12'%3E%3Cpath d='M0 6c15-6 30-6 45 0s30 6 45 0 22-4 30-2' fill='none' stroke='%236FA48D' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: repeat-x; }
.strip-head h2 { font-size: clamp(28px, 3vw, 38px); }
.strip-head p { margin-top: 10px; color: var(--mut); max-width: 44ch; }
.strip-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 0; }
.strip-facts div { padding-left: 16px; border-left: 2px solid var(--glass-2); }
.strip-facts dt { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--mut); }
.strip-facts dd { margin: 6px 0 0; font-family: var(--serif); font-size: 20px; white-space: nowrap; color: var(--teal); }
.strip .btns { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin: 0; }
@media (max-width: 1080px) { .strip { grid-template-columns: 1fr; } .strip .btns { flex-direction: row; flex-wrap: wrap; align-items: center; } }
@media (max-width: 560px) { .strip-facts { grid-template-columns: 1fr; } }

/* Booking confirmation: a note from the house, on lined paper */
.note-card { position: relative; max-width: 58ch; padding: 26px 28px 24px 34px; border-radius: 6px; background: #FFFDF8 repeating-linear-gradient(transparent 0 31px, rgba(42, 100, 102, .16) 31px 32px); box-shadow: 0 1px 0 rgba(21,41,43,.06), 0 16px 30px -18px rgba(27,74,78,.45); transform: rotate(-.6deg); font-family: var(--serif); font-size: 18px; line-height: 32px; color: var(--ink); }
.note-card::before { content: ''; position: absolute; left: 18px; top: 0; bottom: 0; width: 1.5px; background: rgba(176, 79, 44, .35); }
.note-card p + p { margin-top: 0; }
.note-to { font-style: italic; font-size: 22px; }
.note-sign { margin-top: 8px; font-style: italic; color: var(--teal-2); }
.from small { display: block; margin-top: 2px; font-size: 13px; color: var(--mut); }
