/* Shared brand rhythm. Keep content readable throughout every transition. */
:root{--kf-motion-fast:200ms;--kf-motion-panel:320ms;--kf-motion-image:600ms;--kf-ease:cubic-bezier(.22,.61,.36,1);--kf-hairline:rgba(31,30,29,.18)}
/* Headings use the same responsive scale on interactive, policy and crawlable pages. */
:root {
  --kf-type-display: clamp(1.625rem, 1.4rem + .75vw, 2rem);
  --kf-type-page: clamp(1.375rem, 1.25rem + .55vw, 1.75rem);
  --kf-type-section: clamp(1.1875rem, 1.1rem + .4vw, 1.5rem);
  --kf-type-card: clamp(1.0625rem, 1rem + .22vw, 1.25rem);
  --kf-type-quote: clamp(1.125rem, 1.06rem + .28vw, 1.3125rem);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body :is(a,button,input,select,textarea){transition:color var(--kf-motion-fast) var(--kf-ease),background-color var(--kf-motion-fast) var(--kf-ease),border-color var(--kf-motion-fast) var(--kf-ease),box-shadow var(--kf-motion-fast) var(--kf-ease);-webkit-tap-highlight-color:rgba(171,171,104,.16)}
body :is(a,button,input,select,textarea):focus-visible{outline:2px solid #1f1e1d;outline-offset:4px}
body ::selection{background:#d6d6d6;color:#1f1e1d}
.site-shell :is(h1,h2,h3,h4){text-wrap:balance}
.site-shell :is(p,li){text-wrap:pretty}
.site-shell .site-nav{--site-nav-gap:clamp(22px,2.4vw,38px);padding:22px clamp(28px,4.2vw,72px)!important;border-bottom-color:var(--kf-hairline)!important}
.site-nav .site-nav__links{gap:var(--site-nav-gap)!important}
.site-nav__links>a,.explore-menu>button{position:relative;min-height:44px;display:inline-flex;align-items:center}
.site-nav__links>a::after,.explore-menu>button::after{content:'';position:absolute;left:0;right:0;bottom:4px;height:1px;background:currentColor;transform:scaleX(0);transform-origin:left;transition:transform var(--kf-motion-fast) var(--kf-ease)}
.site-nav__links>a:hover::after,.site-nav__links>a:focus-visible::after,.explore-menu>button[aria-expanded=true]::after{transform:scaleX(1)}
.site-nav .explore-menu__panel{top:calc(100% - 4px);padding:16px 8px;box-shadow:0 12px 30px rgba(31,30,29,.06);border-color:var(--kf-hairline)}
.site-nav .explore-menu__panel[hidden]{display:none}
.site-nav .explore-menu__panel a{min-height:44px;box-sizing:border-box;display:flex;align-items:center}
@keyframes kf-surface-in{from{opacity:.65;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
/* Animate surfaces, never the page or its reading position. */
body :is(.preferences-panel,.owner-select__menu,.date-picker-modal,.checkout-refresh-dialog,.booking-calendar){animation:kf-surface-in var(--kf-motion-panel) var(--kf-ease)}
.site-nav .explore-menu__panel:not([hidden]){animation:kf-surface-in var(--kf-motion-panel) var(--kf-ease);left:auto;right:-28px;transform:none}
/* Brand Book Pattern A, shared with the Cookie banner. */
:is(.kf-cookie--banner,.member-dialog,.date-picker-modal,.checkout-refresh-dialog,.photo-viewer){
 --kf-pattern-height:clamp(32px,7vw,46px);
}
.kf-cookie--banner{--kf-pattern-inline:var(--cookie-padding);--kf-pattern-gap:var(--cookie-padding)}
.member-dialog{--kf-pattern-inline:clamp(18px,4vw,34px);--kf-pattern-top:var(--kf-pattern-inline)}
.checkout-refresh-dialog{--kf-pattern-inline:38px;--kf-pattern-top:38px;max-height:calc(100dvh - 48px);overflow:auto}
.preferences-panel{--kf-pattern-inline:26px;--kf-pattern-top:27px}
.explore-menu__panel{--kf-pattern-inline:7px;--kf-pattern-top:7px}
.member-menu__links{--kf-pattern-inline:6px;--kf-pattern-top:6px}
.owner-select__menu{--kf-pattern-inline:5px;--kf-pattern-top:5px}
.maplibregl-popup-content:has(>.listing-map-popup){--kf-pattern-height:18px;--kf-pattern-inline:14px;--kf-pattern-top:12px}
.maplibregl-popup-content:has(>.listing-map-popup)>.maplibregl-popup-close-button{top:18px}
.listing-map-popup{padding-inline-end:20px}
.site-shell .photo-viewer{grid-template-rows:auto auto minmax(0,1fr) auto}
.site-shell .photo-viewer__image{min-height:0}
:is(.kf-cookie--banner,.member-dialog,.date-picker-modal,.checkout-refresh-dialog,.photo-viewer,
 .preferences-panel,.explore-menu__panel,.member-menu__links,.owner-select__menu,
 .maplibregl-popup-content:has(>.listing-map-popup),.site-nav--open .site-nav__links)::before{
 content:"";
 display:block;
 height:var(--kf-pattern-height,clamp(18px,5vw,24px));
 margin-block:calc(-1 * var(--kf-pattern-top,0px)) var(--kf-pattern-gap,var(--kf-pattern-top,0px));
 margin-inline:calc(-1 * var(--kf-pattern-inline,0px));
 background:#abab68 url("/assets/brand/pattern-a.svg") center / 560px auto repeat-x;
 pointer-events:none;
}
@media(max-width:1100px){
 .site-nav--open .site-nav__links{--kf-pattern-inline:clamp(16px,5vw,40px);--kf-pattern-top:12px}
 .site-nav--open .explore-menu__panel::before{display:none}
}
@media(width > 1100px){
 .site-nav--open .site-nav__links::before{display:none}
}
@media(max-width:560px){
 .checkout-refresh-dialog{--kf-pattern-inline:24px;--kf-pattern-top:28px}
}
@media(max-width:380px){
 .preferences-panel{--kf-pattern-inline:21px;--kf-pattern-top:22px}
}
.site-shell .home-search-bar{box-shadow:0 12px 32px rgba(31,30,29,.10);backdrop-filter:none;border-color:var(--kf-hairline)}
.site-shell .stays-search-panel{box-shadow:none;border-color:var(--kf-hairline)}
.site-shell .date-picker-modal{box-shadow:0 16px 48px rgba(31,30,29,.16)}
.site-shell .search-control__label{letter-spacing:.14em}
.site-shell .guest-stepper__button{border-color:transparent;width:40px;height:40px}
.site-shell .guest-stepper__button:disabled{opacity:.4}
.site-shell .search-submit,.site-shell .booking-panel__submit{min-height:52px}
.site-shell .home-page :is(.our-story-section,.featured-stays,.home-districts,.home-journal){box-sizing:border-box;max-width:1392px;margin-inline:auto;padding-inline:24px!important}
.site-shell .home-page .our-story-section{padding-block:160px 120px;gap:clamp(64px,8vw,128px);grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr)}
.home-page .our-story-section>div:first-child{max-width:360px}
.home-page .our-story-section h2{line-height:1.55!important;font-weight:300!important;margin-bottom:28px!important}
.home-page .our-story-section p:last-child{line-height:2!important;font-size:16px!important}
.site-shell .story-carousel__dots{justify-content:flex-start;gap:4px;margin-top:16px}
.site-shell .story-carousel__dot{position:relative;width:28px;height:28px;border:0;border-radius:0;background:transparent;transform:none}
.story-carousel__dot::after{content:'';position:absolute;left:8px;right:8px;top:13px;height:1px;background:#d6d6d6;transition:background-color var(--kf-motion-fast) var(--kf-ease)}
.story-carousel__dot--active::after{background:#1f1e1d}
.site-shell .story-carousel__arrow{width:44px;height:44px;border-radius:0;background:rgba(31,30,29,.32)}
.site-shell .home-page .featured-stays{padding-top:0!important;padding-bottom:120px!important}
.site-shell .home-page .section-heading{padding-top:24px;border-top:1px solid var(--kf-hairline);margin-bottom:44px!important;gap:24px}
.site-shell .section-heading h3{font-weight:300!important;line-height:1.4}
.site-shell .section-heading>a{color:#1f1e1d;padding:10px 0 8px!important;line-height:1.5}
.site-shell .stay-card-grid{gap:42px 32px}
.site-shell .stay-card__media{margin-bottom:22px}
.site-shell .stay-card__district{color:#1f1e1d;letter-spacing:.13em;font-size:11px;margin-bottom:12px}
.site-shell .stay-card__title{line-height:1.5;margin-bottom:12px}
.site-shell .stay-card__details{line-height:1.7;margin-bottom:10px}
.site-shell .stay-card__price{padding-top:14px;border-top:1px solid var(--kf-hairline);font-size:14px}
.site-shell .home-quote{--quote-original-padding:112px;padding:var(--quote-padding) 48px}
.site-shell .home-quote__inner{max-width:720px}
.site-shell .home-quote__text{line-height:1.85}
.site-shell .home-quote__credit{margin-top:32px;font-size:11px;letter-spacing:.16em}
.site-shell .home-districts{padding-top:112px!important;padding-bottom:112px!important}
.site-shell .district-card-grid{gap:28px!important}
.site-shell .district-teaser__title{text-align:left;font-size:18px;padding-top:8px}
.site-shell .home-journal{padding-top:0!important;padding-bottom:120px!important}
.site-shell .journal-card-grid{gap:32px!important}
.site-shell .journal-card-grid h4{font-weight:300!important;line-height:1.6!important}
.site-shell .journal-card-grid>a>p{color:#1f1e1d!important;margin-top:22px!important;margin-bottom:12px!important}
.site-shell .home-newsletter{padding:100px 40px!important}
/* Detail pages retain the previously approved airy layout and booking hierarchy. */
.site-shell .detail-layout{padding-top:40px;gap:clamp(48px,6vw,88px)}
.site-shell .listing-district{font-size:11px;letter-spacing:.16em}
.site-shell .listing-district::before{height:1px;width:36px}
.site-shell .listing-title{line-height:1.45;letter-spacing:.015em}
.site-shell .listing-overview{padding-bottom:28px;border-bottom:1px solid var(--kf-hairline)}
.site-shell .listing-section-title{display:flex;align-items:center;gap:20px}
.site-shell .listing-section-title::after{content:'';height:1px;flex:1;background:var(--kf-hairline)}
.site-shell .booking-panel{padding:36px;top:116px}
.site-shell .booking-panel__dates{border:1px solid var(--kf-hairline);padding:18px 16px}
.site-shell .listing-rules-section{border-left-width:1px}
.site-shell :is(.stays-page,.journal-page,.about-page,.article-page){padding-top:64px!important;padding-bottom:112px!important}
.site-shell .destination-intro{column-gap:72px!important}
.site-shell .article-rich-body{line-height:1.95}
.legal-shell{column-gap:88px}
.legal-content{max-width:700px}
.legal-content h2{padding-top:24px;border-top:1px solid var(--kf-hairline)}
/* Touch devices do not depend on hover to see the photography. */
@media(hover:none){.site-shell .featured-stays .stay-card__image,.site-shell .district-teaser__image{filter:grayscale(0)}.site-shell .stay-card:hover .stay-card__image{transform:none}}
@media(min-width:1101px){.site-shell .home-page .district-card-grid>a:nth-child(even){margin-top:48px}}
@media(max-width:1100px){
 .site-shell .site-nav{padding:12px 20px!important}
 .site-nav .site-nav__links{gap:0!important}
 .site-nav--open .explore-menu__panel[hidden]{display:contents!important}
 .site-nav--open .explore-menu__panel{animation:none!important}
 .site-nav--open .site-nav__links>a::after{display:none}
 .site-shell .home-page .our-story-section{padding-block:120px 80px;gap:48px}
}
@media(max-width:760px){
 .site-shell .home-page .our-story-section{padding-block:88px 64px;gap:32px;grid-template-columns:minmax(0,1fr)}
 .home-page .our-story-section>div:first-child{max-width:440px}
 .home-page .our-story-section h2{line-height:1.6!important}
 .site-shell .home-page :is(.featured-stays,.home-districts,.home-journal){padding-bottom:64px!important}
 .site-shell .home-page .section-heading{margin-bottom:28px!important;padding-top:20px;gap:12px}
 .site-shell .stay-card-grid{row-gap:36px}
 .site-shell .home-quote{--quote-original-padding:64px;padding:var(--quote-padding) 24px!important}
 .site-shell .home-districts{padding-top:64px!important}
 .site-shell .home-page .district-card-grid{gap:28px 18px!important}
 .site-shell .home-page .district-card-grid>a:nth-child(even){margin-top:28px}
 .site-shell .district-teaser__title{font-size:16px}
 .site-shell .home-newsletter{padding:64px 24px!important}
 .site-shell .detail-layout{padding-top:8px;gap:32px}
 .site-shell .booking-panel{padding:24px!important}
 .site-shell .listing-overview{padding-bottom:24px;margin-bottom:28px}
 .site-shell :is(.stays-page,.journal-page,.about-page,.article-page){padding-top:40px!important;padding-bottom:64px!important}
 .site-shell .destination-intro{column-gap:28px!important}
 .site-shell .guest-stepper__button{width:36px;height:40px}
}
@media(prefers-reduced-motion:reduce){
 html{scroll-behavior:auto!important}
 body *,body *::before,body *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
 .site-shell .stay-card:hover .stay-card__image,.site-shell .stay-card:focus-visible .stay-card__image{transform:none}
 .site-shell .home-journal img,.site-shell .story-carousel__image,.site-shell .featured-stays .stay-card__image,.site-shell .district-teaser__image{filter:grayscale(0)}
}
