/* Shared layout: one readable measure, centered sections and no clipped controls. */
:root{--page-gutter:clamp(16px,3vw,32px);--header-height:100px}
html{scrollbar-gutter:stable;scroll-padding-top:24px}
body{min-width:0;overflow-wrap:break-word}
.wrap{width:min(1180px,calc(100% - var(--page-gutter)*2));min-width:0;margin-inline:auto}
img,video{max-width:100%}
main,section,header,footer,figure,nav{min-width:0}
a,button,input,select{max-width:100%}
.site .bar{min-height:var(--header-height);padding-block:16px;gap:24px}
.site .mark{min-height:60px;align-items:center;justify-content:center}
.site .mark img{width:60px;height:46px}
.site .bar nav{justify-content:center;gap:clamp(14px,2.5vw,32px)}
.site .bar nav>a{min-height:48px}
.site .hero{min-height:calc(100svh - var(--header-height));grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(24px,4vw,56px);padding-block:32px;align-items:center}
.site .hero-copy{text-align:center;max-width:580px;width:100%;margin-inline:auto}
.site .hero h1{font-size:clamp(48px,6.5vw,100px);line-height:1.02;margin-inline:auto}
.site .hero .location{justify-content:center;font-size:15px;margin:0 auto 12px}
.site .hero .intro{max-width:32ch;font-size:clamp(17px,1.5vw,19px);line-height:1.5;margin:18px auto 24px}
.hero-actions{justify-content:center;gap:12px 24px}
.site .hero-photo{width:100%;max-width:540px;margin-inline:auto}
.site .hero-photo img{width:100%;height:clamp(280px,64svh,680px);object-fit:cover}
.site .space-section{text-align:center;align-items:center;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:48px;padding-block:clamp(48px,6vw,80px)}
.site .space-section h2,.site .space-section p{margin-inline:auto}
.site .space-section p{max-width:40ch}
.site .amenities{width:100%;text-align:center;grid-template-columns:repeat(2,minmax(0,1fr))}
.site .experiences{grid-template-columns:repeat(2,minmax(0,1fr));text-align:center;gap:24px}
.site .experiences>div{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0;padding:clamp(24px,3vw,36px)}
.site .experiences h2,.site .experiences p{max-width:42ch;margin-inline:auto}
.site .gallery-section{text-align:center;padding-block:30px 65px}
.site .gallery-heading{flex-direction:column;align-items:center;justify-content:center;gap:16px;margin-bottom:30px}
.site .gallery-heading h2{max-width:24ch;font-size:clamp(36px,4.7vw,60px)}
.site .gallery-heading p{max-width:44ch;margin:0}
.site .gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.site .gallery-photo img{height:clamp(240px,28vw,340px)}
.site .booking-section{padding-block:clamp(48px,6vw,80px)}
.site .booking-layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:clamp(28px,4vw,60px)}
.site .booking-copy{text-align:center;width:100%;max-width:520px;margin-inline:auto}
.site .booking-copy h2,.site .booking-copy p{margin-inline:auto}
.site .booking-copy>p{max-width:42ch}
.site .calendar-panel{width:100%;max-width:600px;min-width:0;margin-inline:auto;padding:24px;border-radius:18px}
.site .calendar,.site .weekdays{grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}
.site .calendar button{width:100%;min-width:0;min-height:48px;margin:0}
.site .calendar-heading h3{font-size:clamp(16px,1.7vw,20px);text-align:center}
.site .legend{justify-content:center;font-size:14px}
.site .calendar-panel .status{text-align:center}
.site .contact{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:26px;text-align:center;padding-block:clamp(48px,6vw,80px)}
.site .contact>div{width:100%;max-width:760px;margin-inline:auto}
.site .contact h2{font-size:clamp(38px,5vw,66px);margin-inline:auto}
.site .contact .text-link{justify-content:center;min-height:48px;margin-top:18px}
.site .contact-links{align-items:center;gap:10px;font-size:clamp(17px,1.6vw,20px);margin-top:0}
.site .contact-links a{justify-content:center;min-height:48px;padding:4px 6px;max-width:100%;overflow-wrap:anywhere;text-align:center}
.site .foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px 28px;text-align:center;border-top:1px solid var(--line);padding-block:28px 36px}
.site .footer-mark{flex-basis:100%;margin:0;justify-content:center}
.site .footer-mark img{margin-inline:auto}
.site .foot>a,.site .foot>button{min-height:48px}
dialog{inset:0;margin:auto;max-height:calc(100dvh - 32px);width:min(620px,calc(100% - 24px));padding:clamp(18px,3vw,30px);text-align:left}
.dialog-heading h2{flex:1;text-align:center;font-size:clamp(27px,4vw,34px)}
.selected-summary{text-align:center}
.form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.photo-viewer{width:min(1100px,calc(100% - 24px));max-height:calc(100dvh - 24px);padding:18px}
.viewer-toolbar h2{text-align:center;flex:1}
.viewer-navigation button,.close{min-width:44px;min-height:44px}
.admin-main{width:min(1000px,calc(100% - var(--page-gutter)*2));margin:30px auto 70px}
.admin-main>h1{text-align:center;font-size:clamp(36px,5vw,52px)}
.admin-columns{grid-template-columns:repeat(2,minmax(0,1fr))}
.admin-card{min-width:0}
.admin-card h2{text-align:center}
.admin-toolbar{justify-content:center;text-align:center}
.admin-card input,.admin-card select{min-width:0}
.actions{justify-content:center;flex-wrap:wrap}
.prose{max-width:760px;padding-block:40px 70px}
.prose h1{text-align:center;font-size:clamp(36px,6vw,60px)}
.prose h2{text-align:center}
.prose p{max-width:66ch;margin-inline:auto}
.prose a{overflow-wrap:anywhere}
.error-page .prose{text-align:center}

/* A frame is visible on every full navigation, including fast cached loads. */
.page-loader{position:fixed;inset:0;z-index:1000;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;background:#f2f7f3;color:var(--green);text-align:center;transition:opacity 280ms ease-out,visibility 0s linear 280ms;animation:loader-rescue .01s step-end 5s forwards}
.loader-frame{position:relative;display:grid;place-items:center;width:136px;height:124px;border:1px solid #c8d9d0;border-radius:24px;background:#fbfdfc;overflow:hidden}
.loader-frame img{width:78px;height:58px;object-fit:contain;animation:loader-logo-reveal 380ms cubic-bezier(.23,1,.32,1) both}
@keyframes loader-logo-reveal{from{opacity:0;transform:translateY(8px) scale(.96)}to{opacity:1;transform:none}}
.page-loader p{font-size:16px;letter-spacing:.01em}
.page-ready .page-loader{opacity:0;visibility:hidden;pointer-events:none}
.ui-loading body{overflow:hidden}
@keyframes loader-rescue{to{opacity:0;visibility:hidden;pointer-events:none}}

/* Content stays readable when scripts or motion support are unavailable. */
.media-frame{position:relative;isolation:isolate;background:#dce9e4}
.media-frame:not(.media-ready)::after{content:"";position:absolute;inset:0;z-index:2;background:linear-gradient(100deg,#dce9e4 20%,#eef5f1 45%,#dce9e4 70%);background-size:220% 100%;animation:media-shimmer 1.6s linear infinite;pointer-events:none}
@keyframes media-shimmer{to{background-position:220% 0}}
.water-paused [data-reveal]{opacity:1!important;transform:none!important;transition:none!important}
.water-paused .loader-frame img,.media-frame::after{animation:none}

@media(max-width:1000px){.site .booking-layout{grid-template-columns:1fr;gap:36px}.site .booking-copy{max-width:600px}.site .calendar-panel{max-width:600px}}
@media(max-width:900px){.admin-columns{grid-template-columns:1fr}}
@media(max-width:760px){
 :root{--header-height:114px}
 .site .bar{flex-direction:column;justify-content:center;gap:6px;padding-block:8px;min-height:var(--header-height)}
 .site .mark{min-height:44px}.site .mark img{width:56px;height:42px}
 .site .bar nav{width:100%;gap:clamp(12px,4vw,24px);font-size:15px}
 .site .bar nav>a:first-child{display:inline-flex}
 .site .bar nav .small{padding:9px 17px}
 .site .hero{grid-template-columns:1fr;align-content:center;gap:22px;padding-block:24px 34px}
 .site .hero h1{font-size:clamp(42px,11vw,70px)}
 .site .hero .location{font-size:14px;margin-bottom:10px}
 .site .hero .intro{font-size:18px;max-width:30ch;margin:14px auto 18px}
 .site .hero-photo{max-width:600px;border-radius:70px 70px 12px 12px}
 .site .hero-photo img{height:clamp(160px,29svh,300px)}
 .site .space-section{grid-template-columns:1fr;gap:26px}
 .site .space-section h2{font-size:clamp(36px,8vw,58px)}
 .site .experiences{grid-template-columns:1fr;gap:22px;padding-bottom:40px}
 .site .experiences>div,.site .experiences>.couple{padding:28px 24px}
 .site .gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
 .site .gallery-photo img{height:clamp(180px,52vw,280px)}
 .site .gallery-heading{gap:14px}
 .site .calendar-panel{margin-inline:0;padding:20px 12px;border-radius:16px;border:1px solid #ffffff66}
 .site .calendar,.site .weekdays{gap:2px}
 .site .calendar button{min-height:46px;margin:0;min-width:0}
 .site .contact-links{font-size:17px;margin-top:0}
 .site .foot{gap:6px 20px}
 .form-grid{grid-template-columns:1fr}
 .photo-viewer{padding:14px 12px}
 .admin-main{margin-top:24px}
 .admin-card{padding:22px 18px}
}
@media(max-width:400px){
 .site .bar nav{gap:12px;font-size:14px}
 .site .bar nav .small{padding-inline:14px}
 .site .calendar-panel{width:calc(100% + var(--page-gutter)*2);margin-inline:calc(var(--page-gutter)*-1);padding:20px 0;border-radius:0;border-inline:0}
 .site .calendar,.site .weekdays{gap:0}
 .site .calendar button{min-height:46px;font-size:16px;margin:0}
 .site .calendar-heading,.site .calendar-panel .legend,.site .calendar-panel .status{margin-inline:8px}
 .site .gallery-photo img{height:180px}
}
@media(max-width:760px) and (max-height:680px){
 .site .hero{gap:16px;padding-block:16px 24px}
 .site .hero h1{font-size:clamp(38px,10.5vw,54px)}
 .site .hero .intro{font-size:17px;margin:12px auto 16px}
 .site .hero .location{font-size:14px;margin-bottom:8px}
 .site .hero-photo img{height:clamp(130px,24svh,180px)}
 .site .hero .btn{min-height:48px;font-size:16px}
}
@media(orientation:landscape) and (max-height:540px) and (min-width:540px){
 :root{--header-height:76px}
 .site .bar{flex-direction:row;min-height:76px;padding-block:8px;gap:20px}
 .site .bar nav{width:auto}
 .site .mark{min-height:44px}.site .mark img{width:52px;height:40px}
 .site .hero{grid-template-columns:minmax(0,1fr) minmax(0,1fr);padding-block:12px 20px;gap:28px}
 .site .hero h1{font-size:clamp(32px,9.5svh,50px)}
 .site .hero .intro{font-size:16px;margin:10px auto 12px}
 .site .hero .location{font-size:13px;margin-bottom:6px}
 .site .hero-photo img{height:calc(100svh - 120px);min-height:170px}
 .site .hero .btn{min-height:44px;padding-block:9px;font-size:15px}
}
@media(prefers-reduced-motion:reduce){
 .loader-frame img,.media-frame::after{animation:none}
 .page-loader{transition:none;animation:loader-rescue .01s step-end 5s forwards}
 .reveal-ready [data-reveal]{opacity:1!important;transform:none!important;transition:none!important}
}

.subpage .bar{justify-content:center;flex-wrap:wrap;gap:18px}

/* Keep the shared signature at the bottom of secondary pages. */
.subpage{min-height:100svh;display:flex;flex-direction:column}
.subpage>main{flex:1}
.novak-site-footer{padding-block:0 28px;border-top:1px solid var(--line);text-align:center;color:var(--muted)}

/* Keep the page still while a modal owns focus; retain the image frame while loading. */
body:has(dialog[open]){overflow:hidden}
#viewer-image[aria-busy="true"],#viewer-image[data-load-error]{visibility:hidden}
#viewer-status:empty{display:none}
#viewer-status{text-align:center;margin-block:8px 14px}

/* Natural dialog height; short screens scroll inside the dialog. */
dialog{height:fit-content;overflow:auto;overscroll-behavior:contain}.dialog-heading,.viewer-toolbar,.calendar-heading{min-width:0}.dialog-heading h2,.viewer-toolbar h2,.calendar-heading h3{min-width:0;overflow-wrap:anywhere}.calendar-heading button,.viewer-toolbar .close{flex-shrink:0}.form-grid>*{min-width:0}.admin-card form>*{min-width:0}
@media(max-width:420px){.viewer-navigation{gap:12px}.viewer-toolbar{gap:10px}.site .bar nav{flex-wrap:wrap}.site .bar nav>a{justify-content:center}.site .hero-actions>*{max-width:100%}}

/* A fixed booking frame with one vertical scroll surface, including iPhone keyboards. */
body.booking-modal-open{position:fixed;inset-inline:0;top:var(--booking-scroll-offset);width:100%;overflow:hidden}
#booking-dialog{position:fixed;max-width:calc(100% - 24px);inset-block-start:calc(var(--booking-viewport-top,0px) + 12px);inset-block-end:auto;margin-block:0;padding:0;max-height:min(calc(100dvh - 24px),calc(var(--booking-viewport-height,100dvh) - 24px));overflow:hidden;overflow-anchor:none}
.booking-dialog-shell{display:flex;flex-direction:column;min-width:0;max-height:min(calc(100dvh - 24px),calc(var(--booking-viewport-height,100dvh) - 24px));animation:booking-enter .24s ease-out}
#booking-dialog .dialog-heading{flex:none;padding:18px clamp(16px,3vw,28px);border-bottom:1px solid var(--line)}
.booking-dialog-scroll{min-height:0;min-width:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y pinch-zoom;scrollbar-gutter:stable;padding:0 clamp(16px,3vw,28px) 24px}
#booking-form,#booking-success{width:100%;min-width:0;max-width:100%;overflow-wrap:anywhere}
#booking-form :is(input:not([type=checkbox]),select){box-sizing:border-box;min-width:0;width:100%;max-width:100%;font-size:16px;line-height:1.5}
#booking-form input:is([type=date],[type=time]){-webkit-appearance:none;appearance:none;min-height:48px}
#booking-form input::-webkit-date-and-time-value{text-align:left;min-height:1.5em}
#booking-form input::-webkit-datetime-edit{min-width:0;padding:0}
#booking-form .consent>span{min-width:0}
@keyframes booking-enter{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.booking-dialog-shell{animation:none}}

/* Roomy hero on larger screens; compact phone sizing is defined below. */
.site{--hero-gap:clamp(14px,3svh,32px)}
.site .hero{padding-block:var(--hero-gap)}
.site .hero-photo{container-type:inline-size;width:100%;max-width:640px;max-height:none}
.site .hero-photo img{height:clamp(120px,min(calc(100svh - var(--header-height) - 2*var(--hero-gap)),150cqw),880px);min-height:0}
@media(max-width:1100px) and (orientation:portrait){
 .site .hero{display:flex;flex-direction:column;align-items:stretch;justify-content:center;gap:var(--hero-gap)}
 .site .hero-copy{flex:none}
 .site .hero-photo{container-type:normal;position:relative;flex:1 1 auto;min-height:200px;max-height:800px;width:100%;max-width:640px;margin-inline:auto}
 .site .hero-photo img{position:absolute;inset:0;width:100%;height:100%}
}
@media(max-width:760px) and (orientation:landscape){
 .site .hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:20px}
 .site .hero h1{font-size:clamp(30px,9svh,44px)}
 .site .hero .intro{font-size:15px;margin:8px auto 10px}
 .site .hero .location{margin-bottom:4px}
}

/* "Piscina, patio y parrilla": deep-water panel with white serif text and cream line icons, readable over the moving background. */
.site .space-section{--gold:#e6d3a0;position:relative;display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:clamp(24px,4.4vw,64px);align-items:center;margin-block:clamp(24px,4vw,56px);padding:clamp(34px,6vw,76px) clamp(22px,5vw,64px);border:0;border-radius:20px;color:var(--ink);text-align:center;background:#f4fafde8;box-shadow:0 18px 50px -34px #04304f99}
.site .space-section h2{margin:0;color:var(--green-deep);font-size:clamp(36px,4.2vw,60px);line-height:1.04}
.site .space-section h2::after{content:"";display:block;margin-inline:auto;width:clamp(96px,16vw,230px);height:2px;margin-top:clamp(16px,3vw,34px);background:var(--green)}
.site .space-section .amenities{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 clamp(16px,3vw,40px);width:100%;margin:0;padding:0;list-style:none;text-align:center}
.site .space-section .amenities li{display:flex;align-items:center;justify-content:center;gap:clamp(12px,1.6vw,22px);min-width:0;padding:clamp(14px,2.2vw,24px) 0;border-bottom:1px solid #b7ccc0;color:var(--green-deep);font-family:var(--title);font-size:clamp(17px,1.75vw,26px);line-height:1.15;letter-spacing:-.01em}
.site .space-section .amenities li span{min-width:0;overflow-wrap:anywhere}
.site .amenity-icon{flex:none;width:clamp(34px,4.2vw,56px);height:clamp(34px,4.2vw,56px);fill:none;stroke:var(--green);stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:900px){
 .site .space-section .amenities li{font-size:clamp(18px,3vw,24px)}
 .site .space-section{grid-template-columns:1fr;gap:clamp(22px,4vw,36px)}
 .site .space-section h2{font-size:clamp(38px,9vw,62px)}
}
@media(max-width:480px){
 .site .space-section{padding:30px 20px}
 .site .space-section h2{font-size:clamp(30px,8.8vw,42px)}
 .site .space-section .amenities{grid-template-columns:1fr}
 .site .space-section .amenities li{font-size:20px;padding-block:12px}
}

/* Text that sits directly on the moving water gets a light panel so it stays readable on every screen. */
.site .gallery-heading,.site .contact,.site .foot{background:#f4fafde8;border-radius:20px;box-shadow:0 18px 50px -34px #04304f99}
.site .gallery-heading{width:min(760px,100%);margin-inline:auto;padding:clamp(20px,3.4vw,34px) clamp(18px,4vw,40px)}
.site .contact{width:min(760px,calc(100% - 36px));margin-inline:auto;border:0;padding:clamp(28px,4.6vw,52px) clamp(18px,4vw,40px);margin-block:clamp(16px,3vw,32px)}
.site .foot{padding:10px clamp(16px,3vw,28px);margin-block:12px 20px;border:0}
.subpage .prose,.subpage .novak-site-footer{background:#f4fafdec;border-radius:20px;box-shadow:0 18px 50px -34px #04304f99}
.subpage .prose{padding:clamp(24px,4.4vw,52px) clamp(20px,4.4vw,52px);margin-block:clamp(16px,3vw,32px) 0}
.subpage .novak-site-footer{width:min(1180px,calc(100% - 36px));margin:14px auto 20px;padding:10px 20px;border-top:0}
.error-page>main.prose{flex:none;margin-block:auto}
@media(max-width:760px){.site .space-section,.site .gallery-heading,.site .contact,.site .foot,.subpage .prose,.subpage .novak-site-footer{border-radius:16px}}

/* The hero glow fades out softly above the text, like it does below: nothing may clip it into a straight edge. */
.site .hero-scene{overflow:visible}
.site header.bar{position:relative;z-index:2}
/* Navigation links sit on a light pill (same family as the other blocks) so they read over the water. */
.site .bar nav{background:#f4fafde8;border-radius:999px;padding:6px;gap:4px;box-shadow:0 14px 36px -26px #04304f99}

/* Floating navigation: stays at the top, glides an indicator between sections and condenses calmly while scrolling. */
.site header.bar{position:sticky;top:var(--stick,0px);z-index:30;pointer-events:none}
.site header.bar>*{pointer-events:auto}
html{scroll-padding-top:84px}
.site .bar nav{position:relative;isolation:isolate;transition:background-color .35s ease,box-shadow .35s ease,backdrop-filter .35s ease,opacity .6s ease,transform .6s cubic-bezier(.2,.7,.2,1)}
.site .bar nav>a{position:relative;z-index:1;transition:color .25s ease}
.site .bar nav>a:not(.btn)[aria-current]{color:var(--green)}
@media(hover:hover) and (pointer:fine){.site .bar nav>a:not(.btn):hover{color:var(--green)}}
.nav-indicator{position:absolute;z-index:0;top:6px;bottom:6px;left:0;width:var(--w,0);border-radius:999px;background:#164d3021;box-shadow:inset 0 0 0 1px #164d301f;transform:translateX(var(--x,0));opacity:0;transition:transform .45s cubic-bezier(.2,.7,.2,1),width .45s cubic-bezier(.2,.7,.2,1),opacity .25s ease;pointer-events:none}
.has-indicator>.nav-indicator{opacity:1}
.site .bar nav>.btn{transition:background-color .25s ease,border-color .25s ease,transform .25s cubic-bezier(.2,.7,.2,1),box-shadow .25s ease}
@media(hover:hover) and (pointer:fine){.site .bar nav>.btn:hover{transform:translateY(-1px);box-shadow:0 10px 22px -12px #164d30b3}}
.site .bar nav>.btn:active{transform:scale(.97)}
.site .bar .mark{transition:opacity .3s ease,transform .3s cubic-bezier(.2,.7,.2,1),visibility 0s}
.is-scrolled nav{background:#f4fafdf2;backdrop-filter:blur(14px) saturate(1.3);-webkit-backdrop-filter:blur(14px) saturate(1.3);box-shadow:0 16px 40px -24px #04304fcc}
.is-scrolled .mark{opacity:0;transform:translateY(-8px);visibility:hidden;pointer-events:none;transition:opacity .25s ease,transform .25s ease,visibility 0s .25s}
.ui-loading .site .bar nav,.ui-loading.site .bar nav{opacity:0;transform:translateY(-10px)}
@media(prefers-reduced-motion:reduce){
 .site .bar nav,.site .bar nav>a,.site .bar nav>.btn,.site .bar .mark,.nav-indicator{transition:none}
 .ui-loading .site .bar nav{opacity:1;transform:none}
 .site .bar nav>.btn:hover{transform:none}
 html{scroll-behavior:auto}
}

/* No boxed panel behind the hero and booking text: only a soft, edge-free glow so the text stays readable over the water. */
.site .hero-copy,.site .booking-copy{position:relative;background:none;box-shadow:none;border-radius:0}
.site .hero-copy::before,.site .booking-copy::before{content:"";position:absolute;z-index:-1;inset:clamp(-110px,-9vw,-56px) clamp(-140px,-11vw,-56px);background:radial-gradient(ellipse closest-side,#f7fcffdb 0%,#f7fcffc7 42%,#f7fcff70 74%,#f7fcff00 100%);pointer-events:none}
.site .booking-section{overflow:visible}
@media(max-width:760px){.site .bar nav{width:auto;max-width:100%;margin-inline:auto}}
@media(max-width:380px){.site .bar nav{font-size:14px;gap:2px;flex-wrap:nowrap}.site .bar nav>a:not(.btn){padding-inline:10px}.site .bar nav>.btn.small{padding-inline:14px;margin-left:4px}}

/* Each link and its indicator use the full touch target. */
.site .bar nav>a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding-inline:clamp(13px,1.5vw,18px);border-radius:999px}
.site .bar nav>.btn.small{min-height:44px;padding-block:0;padding-inline:clamp(17px,1.9vw,24px);margin-left:6px}
.nav-indicator{top:6px;bottom:6px}

/* ===== Design pass: Impeccable craft floor, Taste inspector and Emil Kowalski motion standards ===== */
:root{--ease-out:cubic-bezier(.23,1,.32,1);--radius-card:16px}
/* Tracking stops at -0.04em; -0.03em reads better on the serif display. */
h1,h2{letter-spacing:-.03em}
/* The line under the name says what this is: 18 px or more on tall screens. */
@media(min-width:761px) and (min-height:541px){.site .hero .intro{font-size:clamp(18px,1.5vw,19px)}}
/* Elevation is declared once, by tone: no resting shadows or hairline outlines on surfaces. The sticky bar may float. */
.site .hero-photo,.site .space-section,.site .gallery-heading,.site .contact,.site .foot,.site .calendar-panel,.subpage .prose,.subpage .novak-site-footer{box-shadow:none}
.site .hero-photo,.site .experiences>div,.site .experiences>.couple{border:0}
/* One card radius across every block (12-16 px). The edge-to-edge phone calendar keeps its own square edges. */
.site .space-section,.site .gallery-heading,.site .contact,.site .foot,.site .experiences>div,.site .experiences>.couple,.subpage .prose,.subpage .novak-site-footer{border-radius:var(--radius-card)}
@media(min-width:421px){.site .calendar-panel{border-radius:var(--radius-card)}}
@media(max-width:760px){.site .space-section,.site .gallery-heading,.site .contact,.site .foot,.site .experiences>div,.site .experiences>.couple,.subpage .prose,.subpage .novak-site-footer{border-radius:12px}}
/* Browser surfaces carry the palette too. */
::selection{background:#164d3030;color:inherit}
html{scrollbar-color:#164d30 #e9f4f8}
input,select,textarea{caret-color:var(--green)}
/* Navigation motion: short, eased out, only transform/opacity/clip-path; hover only for real pointers; no animation for keyboard. */
.site .bar nav{transition:background-color .25s ease,box-shadow .25s ease,backdrop-filter .25s ease,opacity .35s var(--ease-out),transform .35s var(--ease-out)}
.site .bar nav>a{transition:color .2s ease}
.site .bar nav>.btn{transition:background-color .2s ease,border-color .2s ease,transform .16s var(--ease-out),box-shadow .2s ease}
.site .bar .mark{transition:opacity .22s var(--ease-out),transform .22s var(--ease-out),visibility 0s}
.is-scrolled .mark{transition:opacity .2s var(--ease-out),transform .2s var(--ease-out),visibility 0s .2s}
/* The indicator spans the pill and is revealed with clip-path, so its width is never animated. */
.nav-indicator{inset:6px;top:6px;bottom:6px;left:6px;right:6px;width:auto;border-radius:0;box-shadow:none;transform:none;background:#164d3021;clip-path:inset(0 var(--r,0px) 0 var(--l,0px) round 999px);transition:clip-path .28s var(--ease-out),opacity .2s ease}
.kb .nav-indicator{transition:opacity .2s ease}
@media(prefers-reduced-motion:reduce){.nav-indicator,.kb .nav-indicator{transition:none}}
/* The booking calendar sits inside the page margins like every other block. Cells stay at least 44 px wide; only phones
   narrower than 361 px keep it edge to edge, because seven 44 px touch targets cannot fit with margins there. */
.site .calendar-panel{border:0}
@media(min-width:361px) and (max-width:420px){
 .site .calendar-panel{width:100%;margin-inline:0;padding:16px 6px;border-radius:12px}
 .site .calendar-heading,.site .calendar-panel .legend,.site .calendar-panel .status{margin-inline:6px}
}
@media(max-width:360px){.site .calendar-panel .status,.site .calendar-panel .text-link{margin-inline:12px}}
/* The soft glow may bleed vertically but never sideways past the screen (it caused a horizontal scroll on phones). */
.site .hero-scene,.site .booking-section{overflow-x:clip;overflow-y:visible}

/* One section gap instead of stacking the padding and margins of adjacent blocks. */
.site{--section-gap:clamp(20px,3vw,40px)}
.site .space-section{margin-block:var(--section-gap) 0}
.site .experiences{padding-bottom:0;margin-top:var(--section-gap)}
.site .gallery-section{padding-block:0;margin-top:var(--section-gap)}
.site .booking-section{padding-block:0;margin-top:var(--section-gap)}
.site .contact{margin-block:var(--section-gap) 0}
.site .foot{margin-top:var(--section-gap)}

/* Pending actions keep keyboard focus; the handler prevents repeated submissions. */
#booking-form [type=submit][aria-disabled=true]{cursor:progress;opacity:.65}
.calendar,.price-summary,#viewer-counter{font-variant-numeric:tabular-nums}


/* A clearer visit guide, keeping the supplied tree, typefaces and water loop. */
.site { --section-gap: clamp(28px, 4.5vw, 60px); }
.site .space-section { padding: clamp(28px, 4vw, 48px); gap: clamp(24px, 4vw, 48px); }
.site .space-section h2 { font-size: clamp(34px, 4vw, 50px); }
.site .space-section p { font-size: 1.0625rem; line-height: 1.6; }
.site .space-section .text-link { margin-top: 16px; }
.site .experiences { gap: 24px; }
.site .experiences > div, .site .experiences > .couple { background: #f4fafdf5; padding: clamp(28px, 3.8vw, 44px); justify-content: flex-start; }
.site .experiences h2 { font-size: clamp(32px, 3.4vw, 44px); }
.site .experiences p { line-height: 1.65; }
.site .experiences .note { font-size: .9375rem; margin-top: 16px; }
.site .experiences .text-link { margin-top: auto; padding-top: 20px; }
.site .gallery-heading { width: 100%; max-width: none; padding: clamp(24px, 3vw, 36px); gap: 12px; }
.site .gallery-heading h2 { font-size: clamp(34px, 4vw, 50px); }
.site .gallery-photo { border-radius: 12px; }
.site .gallery-photo img { height: clamp(220px, 24vw, 300px); }
.site .booking-copy h2 { font-size: clamp(38px, 4.5vw, 56px); }
.site .booking-copy .booking-notice { font-size: 1rem; line-height: 1.65; max-width: 40ch; }
.site .visit-questions { margin-top: var(--section-gap); padding: clamp(28px, 4vw, 48px); border-radius: var(--radius-card); background: #f4fafdf5; text-align: center; }
.visit-questions h2 { font-size: clamp(34px, 4vw, 50px); }
.visit-answers { max-width: 780px; margin: 28px auto 0; text-align: start; }
.visit-answers details { padding-block: 20px; border-top: 1px solid var(--line); }
.visit-answers summary { cursor: pointer; font-weight: 600; font-size: 1.0625rem; line-height: 1.5; }
.visit-answers details p { margin-top: 16px; max-width: 65ch; line-height: 1.65; }
.visit-answers a { text-underline-offset: 4px; }
.visit-answers summary:focus-visible { outline: 3px solid var(--green); outline-offset: 6px; }
.site .contact { padding-block: clamp(32px, 4vw, 52px); gap: 24px; }
.site .contact h2 { font-size: clamp(34px, 4vw, 50px); }
.site .foot { padding-block: 24px; }
@media (max-width: 760px) {
  .site .space-section, .site .visit-questions { padding: 28px 20px; }
  .site .experiences { gap: 20px; }
  .site .gallery-grid { gap: 12px; }
  .site .gallery-photo img { height: 240px; }
}
@media (max-width: 420px) {
  .site .gallery-photo img { height: 190px; }
  .site .visit-questions { padding-inline: 18px; }
}


/* Current visit options, prices and contract reading surface. */
.site .experiences{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.site .experiences > .experience-intro{grid-column:1/-1;max-width:70ch;margin-inline:auto;padding:0 0 12px;background:transparent}
.site .experiences article{display:flex;flex-direction:column;align-items:center;gap:14px;padding:clamp(24px,4vw,48px);background:var(--paper,#f2f7f3);border-radius:var(--radius-card,16px)}
.site .experiences article h3{font-family:Georgia,serif;font-size:clamp(28px,3vw,40px);font-weight:400;line-height:1.12;margin:0;text-wrap:balance}
.site .experiences article p{margin:0;max-width:48ch}.site .experiences .experience-price{font-size:28px;font-variant-numeric:tabular-nums;color:var(--green,#164d30);font-weight:600}
.site .experiences article .text-link{margin-top:auto;min-height:44px;display:inline-flex;align-items:center}.terms-rates{max-width:65ch;margin:24px auto}.terms-rates dt{font-weight:600;margin-top:24px}.terms-rates dd{margin:8px 0 0;line-height:1.65}.terms-page section{margin-block:32px}.terms-page h2{font-size:clamp(24px,3vw,32px)}
@media(max-width:760px){.site .experiences{grid-template-columns:minmax(0,1fr)}.site .experience-intro{grid-column:auto}.site .experiences article{padding:28px 20px}.site .experience-price{font-size:26px}}

.site .bar nav{gap:clamp(10px,1.6vw,24px)}
.site .bar nav a,.site .bar nav a.small,.site .bar.is-scrolled nav a,.site .bar.is-scrolled nav a.small{min-height:44px}
.site .bar .nav-indicator{clip-path:inset(var(--t,0px) var(--r,0px) var(--b,0px) var(--l,0px) round 999px)}
.site section[id],.site h2[id]{scroll-margin-top:0}

@media(max-width:760px){.site .bar nav{flex-wrap:wrap;gap:2px 12px;padding:8px 12px}.site .bar nav>a{font-size:14px;min-height:44px}.site .bar nav .small{padding:8px 12px}.site .bar{--header-height:150px}.site .hero{min-height:calc(100svh - 150px)}}

/* Anchor geometry follows the actual navigation size, including wrapped mobile navigation. */
html { scroll-behavior: auto; scroll-padding-top: var(--anchor-offset, 110px); }
[id]:focus-visible { outline-offset: 6px; }
@media (prefers-reduced-motion: reduce) {
  [data-motion] { animation: none !important; transition: none !important; }
}

@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
  .experiences > div { transition: transform 220ms cubic-bezier(.23,1,.32,1); }
  .experiences > div:hover { transform: translateY(-2px); }
}

/* Compact phone rhythm: size the opening to its content and use one section gap. */
@media (max-width: 760px) {
  html { scrollbar-width: thin; }
  .site { --section-gap: 24px; }
  .site .hero { min-height: 0; gap: 20px; padding-block: 24px; }
  .site .hero .intro { margin-block: 14px 18px; }
  .site .hero-photo { flex: none; min-height: 0; aspect-ratio: 4 / 3; border-radius: 24px 24px 12px 12px; }
  .site .space-section, .site .visit-questions { padding: 24px 18px; }
  .site .space-section { gap: 20px; }
  .site .space-section p { margin-top: 16px; }
  .site .space-section h2, .site .gallery-heading h2, .site .booking-copy h2,
  .site .visit-questions h2, .site .contact h2 { font-size: clamp(30px, 8vw, 38px); }
  .site .amenities { gap: 0 16px; }
  .site .amenities li { padding-block: 14px; }
  .site .experiences { gap: 16px; }
  .site .experiences > .experience-intro { padding: 0; }
  .site .experience-intro h2 { font-size: clamp(30px, 8vw, 38px); }
  .site .experience-intro p { margin-top: 16px; }
  .site .experiences article { padding: 24px 18px; gap: 12px; }
  .site .experiences article .text-link { padding-top: 8px; }
  .site .gallery-heading { padding: 24px 18px; margin-bottom: 16px; gap: 12px; }
  .site .gallery-heading p { margin-top: 0; }
  .site .gallery-more { margin-top: 20px; }
  .site .booking-layout { gap: 24px; }
  .site .booking-copy .booking-notice { margin-top: 16px; }
  .site .visit-answers { margin-top: 20px; }
  .site .visit-answers details { padding-block: 16px; }
  .site .contact { padding: 24px 16px; gap: 16px; }
  .site .contact-links { gap: 4px; font-size: 16px; }
  .site .foot { padding-block: 20px 28px; gap: 4px 20px; }
}

/* Legal pages retain the same isolated moving background as the home. */
.subpage { isolation: isolate; }

.subpage .prose > h1, .subpage .prose > h2, .subpage .prose section > h2 { text-align: center; }
.subpage .prose > p { margin-inline: auto; }

.subpage .novak-site-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 24px; }
.subpage .novak-site-footer .novak-credit-row { flex-basis: 100%; justify-content: center; }

.site .experiences article {
  background: linear-gradient(155deg, var(--white), var(--paper));
}
.site .calendar button, #booking-form :is(input:not([type=checkbox]), select) { border-radius: 10px; }
#booking-dialog, .photo-viewer { border-radius: var(--radius-card); }
#booking-dialog::backdrop, .photo-viewer::backdrop { background: #081b11a8; }
@supports (backdrop-filter: blur(4px)) or (-webkit-backdrop-filter: blur(4px)) {
  #booking-dialog::backdrop, .photo-viewer::backdrop { -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
}
@media (max-width: 420px) {
  .site .bar nav { border-radius: var(--radius-card); }
}
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
  .site .experiences article { transition: transform 220ms var(--ease-out); }
  .site .experiences article:has(.text-link:hover) { transform: translateY(-2px); }
}
@media (prefers-reduced-motion: reduce) {
  .site .bar nav, .site .bar nav>a, .site .bar nav>.btn,
  .site .bar .mark, .site .bar.is-scrolled .mark { transition: none; }
  .site .bar nav>.btn:is(:hover,:active) { transform: none; }
}
