:root {
  --ink: #1d2733;
  --strong: #101a27;
  --navy: #14233b;
  --blue: #566c9c;
  --blue-deep: #3f5484;
  --muted: #5a6572;
  --line: #e4e1da;
  --paper: #faf8f4;
  --card: #ffffff;
  --accent: #bf5520;
  --accent-deep: #9f4416;
  --display: 'Cinzel Decorative', Georgia, serif;
  --body: 'Roboto', -apple-system, 'Segoe UI', sans-serif;
  --radius: 14px;
  --radius-lg: 24px;
  --shadow: 0 10px 34px rgba(20, 35, 59, .09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 400 17px/1.6 var(--body); overflow-wrap: break-word; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-deep); text-underline-offset: 3px; }
a:hover { color: var(--accent-deep); }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.15; letter-spacing: 0; color: var(--blue); margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(1.9rem, 4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.3rem; line-height: 1.2; }
p { margin: 0 0 1em; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.wrap { width: min(1280px, 100% - 56px); margin-inline: auto; }
.kicker { font-size: .86rem; font-weight: 600; color: var(--blue-deep); margin: 0 0 .5em; }
.lede { font-size: clamp(1.1rem, 1.7vw, 1.3rem); line-height: 1.5; color: var(--muted); max-width: 40em; }
.note { font-size: .9rem; color: var(--muted); }
.plain { list-style: none; margin: 0; padding: 0; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: var(--strong); padding: 8px 14px; z-index: 50; }
.skip:focus { left: 8px; }

.btn { display: inline-block; padding: 13px 24px; border: 1px solid transparent; border-radius: 99px; font: 600 .96rem/1.2 var(--body); text-align: center; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.btn:hover { transform: translateY(-1px); }
.btn-book { background: var(--accent); color: #fff; }
.btn-book:hover { background: var(--accent-deep); color: #fff; }
.btn-outline { background: transparent; color: var(--strong); border-color: var(--strong); }
.btn-outline:hover { background: var(--strong); color: #fff; }
.btn-ghost { background: #fff; color: var(--strong); box-shadow: 0 2px 10px rgba(0, 0, 0, .18); }
.btn-ghost:hover { background: var(--strong); color: #fff; }
.btn-light { background: #fff; color: var(--strong); }
.btn-light:hover { background: var(--paper); color: var(--strong); }
.btn-wide { display: block; width: 100%; }
.more { font-weight: 600; color: var(--strong); white-space: nowrap; }
.more::after { content: ' →'; }

/* Header: full width, and it scrolls away with the page */
.site-header { position: relative; z-index: 30; background: var(--navy); }
.bar { position: relative; display: flex; align-items: center; gap: 22px; width: min(1400px, 100% - 56px); margin-inline: auto; min-height: 84px; padding-left: 310px; }
/* The logo sits on a tab that hangs below the header. */
.brand { position: absolute; top: 0; left: 0; z-index: 2; display: block; padding: 18px 20px 30px; background: var(--navy); border-radius: 0 0 20px 20px; box-shadow: 0 12px 26px rgba(10, 20, 35, .38); }
.brand img { width: 250px; }
.site-header nav { flex: 1; min-width: 0; }
#menu { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 2px; margin: 0; padding: 0; }
#menu a { display: block; padding: 8px 9px; border-radius: 99px; color: #fff; text-decoration: none; font-size: .88rem; font-weight: 500; white-space: nowrap; transition: background .2s; }
#menu a:hover, #menu a[aria-current] { background: rgba(255, 255, 255, .16); color: #fff; }
.menu-toggle { display: none; background: rgba(15, 25, 45, .3); border: 0; color: #fff; border-radius: 99px; padding: 9px 16px; font: 600 .9rem var(--body); cursor: pointer; }
.bar-actions { flex: none; display: flex; align-items: center; gap: 14px; }
.bar-contact { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.25; color: #fff; }
.bar-contact small { font-size: .76rem; white-space: nowrap; }
.bar-phone { color: #fff; font-size: .98rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.bar-phone:hover { color: #fff; text-decoration: underline; }
.bar-actions .btn { padding: 11px 20px; }

@media (min-width: 721px) {
  .site-header.over-photo { position: absolute; top: 0; left: 0; right: 0; background: rgba(20, 35, 59, .5); -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3); }
}

/* Home page hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; background: var(--navy); overflow: hidden; }
/* Her photos, in her order, changing every 4 seconds with a short fade, as on her old site. */
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s ease; }
.hero-img.on { opacity: 1; }
@keyframes drift { from { transform: scale(1); } to { transform: scale(1.06); } }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1s ease; }
.hero-video.playing { opacity: 1; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(12, 22, 38, .72), rgba(12, 22, 38, .08) 58%, rgba(12, 22, 38, .22)); }
.hero-copy { position: relative; z-index: 1; width: min(1280px, 100% - 56px); margin-inline: auto; padding-block: 130px 36px; }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 4.6vw, 4rem); line-height: 1; letter-spacing: -.035em; max-width: 11em; margin-bottom: .22em; }
.hero .lede { color: #fff; margin-bottom: 26px; }
.search-panel { min-height: 76px; padding: 10px 16px; background: rgba(255, 255, 255, .94); border-radius: 20px; box-shadow: 0 14px 44px rgba(10, 20, 35, .28); }
.search-panel iframe, .book-panel iframe { max-width: 100%; }
.search-open { display: none; }
.hero .note { color: #fff; font-size: .95rem; margin: 14px 0 0; }
.hero .note a { color: #fff; white-space: nowrap; }
.search-band-flat { padding-block: 4px 18px; }
.search-band-flat .search-panel { background: #fff; box-shadow: var(--shadow); }

/* Figures under the hero */

.band { padding-block: clamp(56px, 8vw, 112px); }
.band-top-tight { padding-top: 10px; }
.band-tint { background: linear-gradient(rgba(243, 240, 233, .9), rgba(243, 240, 233, .9)), url('images/wood-bg.jpg'); }
.band-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px 40px; margin-bottom: clamp(26px, 4vw, 44px); flex-wrap: wrap; }
.band-head h2 { margin: 0; max-width: 16em; }
.band-head .lede { margin: 12px 0 0; }
.page-intro { padding-block: clamp(40px, 6vw, 76px) 26px; }
.page-intro h1 { margin-bottom: .25em; }
.page-intro .lede { margin: 0; }

/* Mixed photo tiles */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(220px, 23vw, 310px); gap: 16px; }
.tile { position: relative; display: block; overflow: hidden; border-radius: var(--radius-lg); background: var(--navy); color: #fff; text-decoration: none; }
.tile:hover { color: #fff; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.tile:hover img { transform: scale(1.05); }
.tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 18, 30, .78), rgba(10, 18, 30, 0) 62%); }
.tile-text { position: absolute; z-index: 1; left: 22px; right: 22px; bottom: 20px; }
.tile-text strong { display: block; font: 600 1.4rem/1.1 var(--display); letter-spacing: -.015em; }
.tile-text small { display: block; margin-top: 5px; font-size: .9rem; line-height: 1.35; opacity: .92; }
.tile-big { grid-column: span 2; grid-row: span 2; }
.tile-big .tile-text { left: 30px; right: 30px; bottom: 28px; }
.tile-big strong { font-size: clamp(1.9rem, 3.4vw, 2.9rem); }
.tile-big small { font-size: 1.02rem; max-width: 30em; margin-top: 8px; }

/* Swipeable rows */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(330px, 30%); gap: 20px; overflow-x: auto; scroll-snap-type: x proximity; padding: 4px 28px 22px; margin-inline: calc((100vw - min(1280px, 100vw - 56px)) / -2); padding-inline: calc((100vw - min(1280px, 100vw - 56px)) / 2); scroll-padding-inline: calc((100vw - min(1280px, 100vw - 56px)) / 2); scrollbar-width: thin; }
.rail > * { scroll-snap-align: start; }

/* Home cards */
.home-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 34px 22px; }
.home-card { position: relative; display: flex; flex-direction: column; }
.home-card[hidden] { display: none; }
.home-card-photo { position: relative; display: block; overflow: hidden; border-radius: var(--radius-lg); background: #e9e6df; aspect-ratio: 4 / 3; }
.home-card-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.home-card:hover .home-card-photo img { transform: scale(1.04); }
.flag { position: absolute; z-index: 1; left: 12px; top: 12px; background: rgba(255, 255, 255, .94); color: var(--strong); font-size: .8rem; font-weight: 600; padding: 5px 12px; border-radius: 99px; }
.home-card-body { padding: 14px 4px 0; display: flex; flex-direction: column; flex: 1; }
.home-card-body .kicker { margin-bottom: .2em; }
.home-card h3 { font-size: 1.35rem; margin-bottom: .3em; }
.home-card h3 a { color: inherit; text-decoration: none; }
.home-card h3 a::after { content: ''; position: absolute; inset: 0; }
.home-card:hover h3 a { text-decoration: underline; text-decoration-thickness: 2px; }
.home-card-tag { margin-bottom: .55em; font-size: .95rem; line-height: 1.45; color: var(--muted); }
.home-card-stats { font-size: .88rem; margin-bottom: .55em; color: var(--muted); }
.price { margin: auto 0 0; font-size: .95rem; }
.price strong { font: 600 1.25rem var(--display); color: var(--strong); }

/* Image beside text */
.showcase { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(30px, 6vw, 84px); align-items: center; }
.showcase > img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--radius-lg); }
.showcase .btn { margin-top: 8px; }

.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.reviews figure { margin: 0; padding: 26px 28px; background: var(--card); border-radius: var(--radius-lg); }
.reviews blockquote { margin: 0 0 14px; font-size: 1.04rem; line-height: 1.55; color: var(--strong); }
.reviews figcaption { font-size: .88rem; font-weight: 500; color: var(--muted); }
.rail.reviews { display: grid; grid-template-columns: none; }
.rail.reviews figure { display: flex; flex-direction: column; justify-content: space-between; }

/* Closing panels */
.panels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.panel { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(26px, 3vw, 38px); border-radius: var(--radius-lg); min-height: 330px; color: #fff; }
.panel h2 { color: #fff; font-size: clamp(1.7rem, 2.6vw, 2.3rem); }
.panel p { color: #fff; }
.panel a:not(.btn) { color: #fff; }
.panel .btn, .panel form { margin-top: auto; }
.panel form { width: 100%; }
.panel-navy { background: var(--navy); }
.panel-blue { background: var(--blue-deep); }
.panel-accent { background: var(--accent); }
.inline-form label { display: block; font-weight: 500; font-size: .9rem; margin-bottom: 6px; color: #fff; }
.inline-fields { display: flex; gap: 8px; }
.inline-fields input { flex: 1; border-radius: 99px; padding-inline: 18px; }

.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; }
.split-form { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: start; }

/* Forms */
input, select, textarea { width: 100%; min-width: 0; padding: 12px 14px; border: 1px solid #cfcdc6; border-radius: var(--radius); background: #fff; color: var(--strong); font: 400 1rem var(--body); }
textarea { resize: vertical; }
.card-form { background: var(--card); padding: clamp(22px, 3vw, 36px); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.card-form h2 { font-size: 1.7rem; }
.card-form label { display: block; font-weight: 500; font-size: .92rem; margin: 14px 0 5px; }
.card-form .btn { margin-top: 20px; }
.card-form .note { margin: 14px 0 0; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field-row-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.contact-details h2 { font-size: 1.4rem; margin: 1.3em 0 .3em; }
.contact-details h2:first-child { margin-top: 0; }
.contact-details p { margin-bottom: .3em; }
.big { font: 600 clamp(2rem, 4vw, 3rem)/1.1 var(--display); letter-spacing: -.02em; }
.big a { color: var(--strong); text-decoration: none; }

/* Filters */
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 12px; }
.chip { background: #fff; border: 1px solid #d8d5cd; border-radius: 99px; padding: 9px 17px; color: var(--strong); font: 500 .9rem var(--body); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.chip:hover { border-color: var(--strong); }
.chip[aria-pressed='true'] { background: var(--strong); border-color: var(--strong); color: #fff; }
.sleeps-filter { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 500; margin-left: 8px; }
.sleeps-filter select { width: auto; padding: 8px 12px; border-radius: 99px; }
.filter-count { font-size: .9rem; color: var(--muted); margin-bottom: 24px; min-height: 1.5em; }

/* Home detail */
.home-hero { padding-top: 14px; }
.home-hero .wrap { position: relative; }
.mosaic { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 8px; height: clamp(340px, 46vw, 600px); border-radius: var(--radius-lg); overflow: hidden; }
.mosaic a { display: block; min-height: 0; overflow: hidden; background: #e9e6df; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.mosaic a:hover img { transform: scale(1.03); }
.mosaic .m0 { grid-row: 1 / 3; }
.mosaic-single { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.see-all { position: absolute; right: 16px; bottom: 16px; }
.home-layout { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: clamp(36px, 5vw, 72px); align-items: start; padding-block: 36px 90px; }
.home-main h1 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin-bottom: .22em; }
.home-main > section { margin-top: 52px; }
.home-main > section.story { margin-top: 28px; }
.home-main h2 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); }
.home-main h3 { margin-top: 1em; font-size: 1.2rem; }
.facts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 20px 0 0; }
.facts li { padding: 8px 15px; background: var(--card); border: 1px solid var(--line); border-radius: 99px; font-size: .92rem; }
.facts strong { font-weight: 600; color: var(--strong); }
.book-panel { position: sticky; top: 24px; background: var(--card); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 26px; max-height: calc(100vh - 48px); overflow-y: auto; }
.book-panel h2 { font-size: 1.35rem; margin: .5em 0 .7em; }
.book-panel .ownerrez-widget { min-height: 180px; margin-bottom: 14px; }
.book-panel .note { margin: 10px 0 0; }
.mobile-book { display: none; }
.callout { background: #f0ede6; padding: 18px 22px; margin-top: 18px; border-radius: var(--radius); }
.callout h3 { margin-top: 0; }
.callout p:last-child { margin-bottom: 0; }
.rate-tables { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; margin-bottom: 14px; }
table { border-collapse: collapse; width: 100%; font-size: .95rem; }
caption { text-align: left; font-weight: 600; padding-bottom: 8px; color: var(--strong); }
th, td { text-align: left; vertical-align: top; padding: 9px 10px 9px 0; border-top: 1px solid var(--line); font-weight: 400; }
td { font-weight: 500; color: var(--strong); }
.amenity-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 8px 30px; }
.amenity-groups h3 { font-size: 1.05rem; margin: .4em 0; }
.ticks, .plain-list { list-style: none; margin: 0; padding: 0; }
.ticks li { position: relative; padding: 3px 0 3px 18px; }
.ticks li::before { content: ''; position: absolute; left: 0; top: .8em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.plain-list li { padding: 8px 0; border-top: 1px solid var(--line); }
.guestbook .reviews { grid-template-columns: 1fr; gap: 12px; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px; }
.photo-grid a { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: #e9e6df; }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; }

/* Lightbox */
dialog.viewer { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(9, 14, 22, .97); color: #fff; }
.viewer-stage { position: absolute; inset: 0 0 44px; display: flex; align-items: center; justify-content: center; padding: 12px; }
.viewer img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.viewer button { position: absolute; background: rgba(255, 255, 255, .14); color: #fff; border: 0; border-radius: 99px; font: 600 1rem var(--body); padding: 12px 18px; cursor: pointer; }
.viewer button:hover { background: rgba(255, 255, 255, .28); }
.viewer-close { top: 12px; right: 12px; }
.viewer-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.viewer-next { right: 12px; top: 50%; transform: translateY(-50%); }
.viewer-count { position: absolute; bottom: 12px; left: 0; right: 0; text-align: center; font-size: .92rem; }

/* Text pages */
.prose { max-width: 46em; }
.prose-wide { max-width: 60em; }
.prose h2 { margin-top: 1.2em; font-size: clamp(1.6rem, 2.4vw, 2.1rem); }
.special-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 32px; }
.special { background: var(--card); padding: 30px 32px; border-radius: var(--radius-lg); }
.special h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.special p:last-child { margin: 0; }
.feature-rows { display: grid; gap: 56px; }
.feature { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(30px, 5vw, 70px); align-items: center; }
.feature img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; border-radius: var(--radius-lg); }
.feature:nth-child(even) img { order: 2; }
.directions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 26px; }
.directions ol { padding-left: 20px; margin: 0; font-size: .95rem; }
.directions li { margin-bottom: 7px; }
.rec-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); gap: 16px; }
.rec-grid article { background: var(--card); padding: 28px 30px; border-radius: var(--radius-lg); }
.rec-grid h2, .point-list h2 { font-size: 1.45rem; line-height: 1.15; }
.rec-grid p { margin: 0; }
.list-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 26px; }
.list-grid h3 { font-size: 1.1rem; }
.list-grid li { padding: 2px 0; font-size: .95rem; }
.point-list article { margin-bottom: 28px; }
.policies { max-width: 52em; }
.policies details { border-top: 1px solid var(--line); padding: 16px 0; }
.policies details:last-child { border-bottom: 1px solid var(--line); }
.policies summary { cursor: pointer; font: 600 1.2rem var(--display); letter-spacing: -.01em; color: var(--strong); }
.policies details p { margin: 10px 0 0; }

/* Footer */
.site-footer { background: var(--navy); color: #fff; padding-block: 64px 26px; font-size: .95rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer h2 { color: #fff; font-size: 1.05rem; letter-spacing: 0; margin-bottom: .8em; }
.site-footer .plain li { padding: 3px 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1.2fr 1fr 1fr; gap: 32px; }
.footer-logo { width: 220px; margin-bottom: 16px; }
.footer-base { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 44px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .2); }
.social { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.social a { display: block; padding: 7px 14px; background: rgba(255, 255, 255, .12); border-radius: 99px; font-weight: 500; font-size: .88rem; }
.social a:hover { background: rgba(255, 255, 255, .24); text-decoration: none; }

/* Back to top, added by site.js */
.to-top { position: fixed; right: 22px; bottom: 22px; z-index: 25; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--navy); color: #fff; font: 600 1.15rem var(--body); box-shadow: var(--shadow); cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .2s; }
.to-top.show { opacity: 1; pointer-events: auto; }

/* Soft reveal on scroll. site.js adds .reveal, so nothing hides without it. */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }

/* Placeholder the owner still has to fill */
.placeholder { background: #fff3c4; color: #5a4300; padding: 10px 14px; border-radius: var(--radius); font-size: .95rem; }

@media (max-width: 1420px) {
  .bar { flex-wrap: wrap; gap: 4px 16px; padding-block: 8px; }
  .site-header nav { order: 3; flex-basis: 100%; }
  .bar-actions { margin-left: auto; }
  #menu { justify-content: flex-start; }
  .hero-copy { padding-top: 170px; }
}
@media (max-width: 1180px) {
  /* Too narrow for the full menu beside the logo, so it moves behind the Menu button. */
  .bar { position: static; flex-wrap: nowrap; gap: 14px; min-height: 72px; padding-block: 0; padding-left: 0; }
  .brand { position: relative; flex: none; align-self: flex-start; margin-bottom: -28px; padding: 14px 14px 28px; border-radius: 0 0 16px 16px; }
  .brand img { width: 205px; }
  .bar-actions { order: 2; margin-left: auto; }
  .site-header nav { order: 3; flex: none; }
  .menu-toggle { display: block; }
  #menu { display: none; position: absolute; z-index: 5; left: 0; right: 0; top: 100%; background: var(--navy); padding: 6px 12px 18px; flex-direction: column; flex-wrap: nowrap; gap: 0; box-shadow: 0 14px 22px rgba(9, 18, 30, .3); }
  .site-header.open #menu { display: flex; }
  #menu a { padding: 12px; font-size: 1.02rem; }
}
@media (max-width: 980px) {
  .home-layout { grid-template-columns: minmax(0, 1fr); gap: 30px; padding-bottom: 96px; }
  .book-panel { position: static; max-height: none; order: 2; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: clamp(190px, 44vw, 300px); }
  .panels, .directions { grid-template-columns: minmax(0, 1fr); }
  .panel { min-height: 0; gap: 8px; }
  .showcase, .feature { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .feature:nth-child(even) img { order: 0; }
  .split, .split-form { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rail { grid-auto-columns: minmax(300px, 46%); }
  .mobile-book { position: sticky; bottom: 10px; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 12px; width: calc(100% - 24px); margin: 0 auto 10px; background: #fff; border-radius: 99px; box-shadow: 0 8px 28px rgba(20, 35, 59, .22); padding: 8px 8px 8px 22px; }
  .mobile-book .price { margin: 0; }
  .to-top { display: none; }
}
@media (max-width: 720px) {
  body { font-size: 16.5px; }
  .wrap { width: calc(100% - 32px); }
  .bar { position: static; flex-wrap: nowrap; gap: 8px; width: calc(100% - 28px); min-height: 60px; padding-left: 0; }
  .brand { position: relative; flex: none; align-self: flex-start; margin-bottom: -22px; padding: 10px 10px 22px; border-radius: 0 0 14px 14px; }
  .brand img { width: clamp(104px, 33vw, 132px); }
  .bar-contact { display: none; }
  .bar-actions { order: 2; margin-left: auto; }
  .bar-actions .btn { padding: 9px 13px; font-size: .84rem; white-space: nowrap; }
  .site-header nav { order: 3; flex: none; }
  .menu-toggle { display: block; padding: 9px 13px; font-size: .84rem; }
  #menu { display: none; position: absolute; z-index: 5; left: 0; right: 0; top: 100%; background: var(--navy); padding: 6px 12px 18px; flex-direction: column; flex-wrap: nowrap; gap: 0; box-shadow: 0 14px 22px rgba(9, 18, 30, .3); }
  .site-header.open #menu { display: flex; }
  #menu a { padding: 12px; font-size: 1.02rem; }
  .hero { min-height: 84svh; }
  .hero-copy { width: calc(100% - 32px); padding-block: 90px 24px; }
  .hero h1 { font-size: clamp(2.1rem, 9.6vw, 2.75rem); }
  .search-panel { padding: 8px 10px; }
  /* Phones get one button that opens the OwnerRez search, which can't be restyled from here. */
  .search-open { display: flex; width: 100%; justify-content: center; }
  .search-panel:has(.search-open[aria-expanded="true"]) .search-open { margin-bottom: 8px; }
  .search-panel.is-closed { min-height: 0; }
  .search-panel.is-closed .ownerrez-widget { height: 0; overflow: hidden; visibility: hidden; }
  .bento { gap: 10px; }
  .tile { border-radius: 18px; }
  .tile-big { grid-column: span 2; grid-row: span 1; aspect-ratio: 4 / 3; }
  .tile-text { left: 14px; right: 14px; bottom: 13px; }
  .tile-text strong { font-size: 1.15rem; }
  .tile-text small { display: none; }
  .tile-big .tile-text { left: 18px; right: 18px; bottom: 16px; }
  .tile-big small { display: block; font-size: .92rem; }
  .bento { grid-auto-rows: 46vw; }
  .tile-big { height: auto; grid-row: span 2; aspect-ratio: auto; }
  .home-grid { grid-template-columns: minmax(0, 1fr); }
  .rail { grid-auto-columns: 84%; padding-inline: 16px; margin-inline: -16px; scroll-padding-inline: 16px; gap: 12px; }
  .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: 2fr 1fr; height: 96vw; max-height: 500px; }
  .mosaic .m0 { grid-column: 1 / 3; grid-row: 1; }
  .mosaic .m3, .mosaic .m4 { display: none; }
  .mosaic-single { grid-template-columns: minmax(0, 1fr); grid-template-rows: 1fr; height: 66vw; }
  .see-all { right: 10px; bottom: 10px; padding: 9px 14px; font-size: .88rem; }
  .rate-tables, .special-grid { grid-template-columns: minmax(0, 1fr); }
  .field-row-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sleeps-filter { margin-left: 0; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .inline-fields { flex-direction: column; }
  .inline-fields .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

/* Blog */
.post { width: min(760px, 100% - 40px); margin: 0 auto; padding-block: 48px 72px; }
.post h1 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: .4em; overflow-wrap: anywhere; }
.post-old { padding: 12px 16px; margin-bottom: 24px; background: #f3f0e9; border-radius: 12px; font-size: .95rem; }
.post-cover { display: block; width: auto; max-width: 100%; height: auto; margin-bottom: 24px; border-radius: 18px; }
.post-body { line-height: 1.7; overflow-wrap: anywhere; }
.post-body > * + *, .post-body div + div { margin-top: 1em; }
.post-body img { display: block; max-width: 100%; height: auto; margin-block: 16px; border-radius: 12px; }
.post-body table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.post-body td, .post-body th { padding: 6px 10px; vertical-align: top; }
.post-body ul, .post-body ol { padding-left: 1.3em; }
.post-body a, .post-old a { text-decoration: underline; }
.post-back { margin-top: 36px; }
.post-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-bottom: 48px; }
.post-card { display: flex; flex-direction: column; gap: 6px; color: inherit; text-decoration: none; }
.post-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; margin-bottom: 6px; border-radius: 16px; }
.post-card small, .post-list small { color: #66707f; }
.post-card strong { font-family: var(--display); font-size: 1.1rem; font-weight: 600; line-height: 1.25; }
.post-year { margin-top: 36px; }
.post-list { padding: 0; margin: 0; list-style: none; }
.post-list li { display: flex; justify-content: space-between; gap: 18px; padding: 11px 0; border-bottom: 1px solid rgba(20, 35, 59, .12); }
.post-list a { overflow-wrap: anywhere; }
.post-list small { flex: none; }
@media (max-width: 720px) {
  .post-cards { grid-template-columns: minmax(0, 1fr); }
}

/* Map on the homes page */
.map-band { padding-block: 18px 6px; }
.map-band h2 { margin-bottom: 14px; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.homes-map { position: relative; z-index: 0; isolation: isolate; height: 400px; overflow: hidden; background: #aad3df; border-radius: 20px; box-shadow: var(--shadow); font-family: var(--body); }
.map-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; padding: 0; margin: 18px 0 0; list-style: none; }
.map-list[hidden] { display: none; }
.map-list ul { padding: 0; margin: 6px 0 0; list-style: none; }
.homes-map .leaflet-popup-content { margin: 12px 16px; font: 500 .95rem/1.4 var(--body); }
.homes-map .leaflet-popup-content ul { padding: 0; margin: 6px 0 0; list-style: none; }
.homes-map .leaflet-popup-content li + li { margin-top: 4px; }
.homes-map .leaflet-popup-content a { color: var(--blue-deep); text-decoration: underline; }
.map-pin { display: flex; align-items: center; justify-content: center; color: #fff; font: 600 .85rem/1 var(--body); background: var(--accent); border: 3px solid #fff; border-radius: 50%; box-shadow: 0 3px 10px rgba(10, 20, 35, .4); }
.map-area { overflow: visible; }
.map-area-label { position: absolute; display: block; padding: 7px 13px; color: #fff; text-align: center; white-space: nowrap; background: var(--navy); border: 2px solid #fff; border-radius: 14px; box-shadow: 0 4px 14px rgba(10, 20, 35, .4); transform: translate(-50%, -50%); }
.map-area-label strong { display: block; font: 600 .9rem/1.2 var(--body); }
@media (max-width: 720px) {
  .homes-map { height: 320px; border-radius: 16px; }
}

/* Questions on The Coast page */
.faq-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 48px; }
.faq-list h3 { margin-bottom: .4em; font-size: 1.15rem; }
.faq-list p { margin: 0; }
@media (max-width: 720px) {
  .faq-list { grid-template-columns: minmax(0, 1fr); gap: 26px; }
}

/* The smallest phones: keep the header from pushing the page wider than the screen. */
@media (max-width: 350px) {
  .bar { gap: 6px; width: calc(100% - 16px); }
  .brand { padding-inline: 6px; }
  .brand img { width: 84px; }
  .bar-actions .btn, .menu-toggle { padding: 8px 9px; font-size: .76rem; }
}

/* The look of the original Bella Beach site: periwinkle header and footer, wood planks, swash headings */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.btn { border-radius: 4px; }
.site-header, .brand { background: var(--blue); }
.site-header { box-shadow: 0 2px 8px rgba(20, 35, 59, .25); }
.bar { min-height: 96px; }
#menu a { font-size: .82rem; letter-spacing: .02em; text-transform: uppercase; }
.bar-contact { align-items: flex-end; }
.bar-hours { font-style: italic; }
.bar-phone { font: 400 1.5rem/1.2 var(--display); }
.bar-links { font-size: .78rem; }
.bar-links a { color: #fff; text-decoration: none; }
.bar-links a:hover { color: #fff; text-decoration: underline; }
.site-header.over-photo { position: relative; background: var(--blue); -webkit-backdrop-filter: none; backdrop-filter: none; }

.hero { min-height: calc(100svh - 96px); justify-content: center; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 45%, rgba(20, 35, 59, .45)); pointer-events: none; }
.hero-copy { z-index: 2; width: min(1000px, 100% - 40px); padding-block: 90px 34px; text-align: center; }
.hero h1 { max-width: none; margin: 0 0 18px; color: #fff; font-size: clamp(1.7rem, 3.2vw, 2.6rem); line-height: 1.15; letter-spacing: 0; text-shadow: 0 2px 14px rgba(20, 35, 59, .6); }
.search-panel { border-radius: 8px; }
.hero .note { text-transform: uppercase; font-size: .84rem; letter-spacing: .02em; text-shadow: 0 1px 8px rgba(20, 35, 59, .8); }

.classic-wood { background: url('images/wood-bg.jpg'); }
.classic-section { padding-block: 44px; }
.classic-title { margin-bottom: 34px; text-align: center; font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.45; }
.classic-subtitle { text-align: center; }
.swoosh { position: relative; display: inline-block; }
.swoosh svg { position: absolute; left: 0; bottom: -.1em; width: 100%; height: .22em; color: var(--accent); }
.classic-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.classic-card { display: flex; flex-direction: column; align-items: center; text-align: center; }
.classic-card > a:first-child { width: 100%; }
.classic-card img { width: 100%; aspect-ratio: 360 / 195; object-fit: cover; }
.classic-card h3 { margin: 16px 0 6px; font-size: 1.6rem; }
.classic-card p { margin: 0; color: var(--ink); font-size: .82rem; text-transform: uppercase; }
.classic-rule { width: 50%; height: 2px; margin: 26px 0 18px; background: var(--accent); }
.classic-card .btn { font-family: var(--display); }
.classic-text { padding-top: 16px; text-align: center; }
.classic-text h2 { margin-bottom: 18px; }
.classic-text p { max-width: 62em; margin-inline: auto; }
.classic-reviews figure { background: rgba(255, 255, 255, .9); border-radius: 8px; }

.site-footer { padding-block: 56px 26px; background: var(--blue); text-align: center; }
.site-footer h2 { margin-bottom: .7em; color: #fff; font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: 0; }
.footer-columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer-form input { width: 100%; padding: 11px 12px; margin-bottom: 10px; border: 0; border-radius: 4px; font: inherit; color: var(--ink); background: #fff; }
.footer-form .btn { display: block; width: 100%; font-family: var(--display); }
.footer-form [role="status"] { color: #fff; }
.footer-posts { padding: 0; margin: 0 0 18px; list-style: none; }
.footer-posts li + li { margin-top: 12px; }
.site-footer .social { justify-content: center; }
.site-footer .social a { background: var(--accent); }
.site-footer .social a:hover { background: var(--accent-deep); }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 36px; padding-block: 24px; margin-top: 36px; border-block: 1px solid rgba(255, 255, 255, .6); font: 400 1.1rem var(--display); }
.footer-base { display: block; padding-top: 18px; margin-top: 0; border: 0; font-size: .86rem; }
.footer-base p { margin: 0 0 4px; }

@media (min-width: 1181px) {
  .bar-actions .btn { display: none; }
}
@media (max-width: 1180px) {
  .bar { min-height: 84px; }
  .bar-phone { font-size: 1.25rem; }
  .bar-links { display: none; }
  .hero { min-height: calc(100svh - 84px); }
  #menu { background: var(--blue); }
}
@media (max-width: 860px) {
  .classic-cards, .footer-columns { grid-template-columns: minmax(0, 1fr); }
  .classic-cards { gap: 40px; max-width: 460px; margin-inline: auto; }
}
@media (max-width: 720px) {
  .bar { min-height: 60px; }
  .hero { min-height: 72svh; }
  .hero-copy { padding-block: 60px 24px; }
  .classic-section { padding-block: 34px; }
  .classic-text { text-align: left; }
  .footer-links { gap: 6px 22px; font-size: 1rem; }
}

/* Homes page: listings on the left, map on the right */
.homes-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 42%); gap: 32px; align-items: start; }
.homes-list .home-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.map-col { position: sticky; top: 20px; }
.map-col h2 { margin-bottom: 12px; font-size: clamp(1.3rem, 2vw, 1.7rem); }
.map-col .homes-map { height: calc(100vh - 100px); min-height: 420px; }

@media (max-width: 1180px) {
  .homes-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .map-col { position: static; order: -1; }
  .map-col .homes-map { height: 380px; min-height: 0; }
}
@media (max-width: 720px) {
  .map-col .homes-map { height: 320px; }
}

/* The logo sits inside the header bar, with no tab hanging below it. */
.bar { padding-left: 0; }
.brand { position: static; flex: none; align-self: center; margin: 0; padding: 0; background: none; border-radius: 0; box-shadow: none; }
.brand img { width: 270px; }
@media (max-width: 1180px) {
  .brand img { width: 220px; }
}
@media (max-width: 720px) {
  .brand img { width: clamp(110px, 36vw, 140px); }
}
@media (max-width: 350px) {
  .brand img { width: 96px; }
}
@media (min-width: 1181px) and (max-width: 1420px) {
  /* Logo, menu and phone stay on one row, with a slightly smaller logo and menu. */
  .bar { flex-wrap: nowrap; gap: 16px; padding-block: 0; }
  .site-header nav { order: 0; flex: 1; flex-basis: auto; }
  #menu { justify-content: center; }
  #menu a { padding: 8px 6px; font-size: .76rem; }
  .brand img { width: 210px; }
  .bar-phone { font-size: 1.3rem; }
}

/* Share button on home pages */
.share-row { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.share-btn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; background: var(--card); color: var(--strong); border-color: var(--line); font-size: .92rem; }
.share-btn:hover { background: var(--strong); border-color: var(--strong); color: #fff; }
.share-status { font-size: .9rem; color: var(--blue-deep); font-weight: 600; }

/* Site credit at the very bottom */
.footer-base .built-by { margin-top: 10px; font-size: .78rem; opacity: 1; }
.footer-base .built-by a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
