/* Brand adapter for the versioned Fisheyes foundation. */
:root{--gold-soft:var(--gold-light);--gold-deep:#8a6b39;--gold-dark:#6f552c;--ink-strong:var(--ink);--paper-soft:var(--paper-deep);--footer:var(--paper-deep);--muted:#666258;--glass:rgba(255,253,248,.97);--glass-dark:rgba(23,23,19,.55);--shadow:0 20px 50px rgba(23,23,19,.16);--shadow-soft:0 10px 28px rgba(23,23,19,.12);--radius:14px;--radius-sm:10px;--header-h:96px;--max:1280px;--font-display:var(--serif);--font-body:var(--sans);--ease:cubic-bezier(.22,1,.36,1);--focus:0 0 0 3px #fff,0 0 0 6px #6f552c}
[hidden]{display:none!important}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.cookie-banner,.cookie-modal,.a11y-panel{z-index:240}.cookie-banner p,.cookie-modal p,.a11y-panel p{line-height:1.55}.cookie-modal{max-height:calc(100dvh - 32px);overflow:auto}.cookie-x,.a11y-close,.date-close,.booking-sheet-close{min-width:44px;min-height:44px}.cookie-banner .cookie-x{width:44px;height:44px}
.cookie-modal .btn,.a11y-panel .btn,.booking-submit{min-height:48px;padding:.7rem 1rem;border:1px solid var(--ink);border-radius:10px;background:var(--ink);color:var(--white);font-weight:600;cursor:pointer}.cookie-modal .btn-ghost,.a11y-panel .btn-ghost{color:var(--ink);background:transparent}.pref-row{gap:1rem}.pref-row strong,.pref-row small{display:block}.pref-row input{flex-shrink:0;width:22px;height:22px;accent-color:var(--ink)}
.a11y-toggle{display:grid!important;place-items:center;width:44px;height:44px;z-index:235}.a11y-toggle.is-away,.cookie-reopen.is-away{display:none!important}.a11y-panel{bottom:4.7rem}.cookie-reopen{z-index:235;min-width:44px;min-height:44px}
.booking-wrap{margin:0;padding:0}.booking-launch{display:none!important}.booking-sheet{display:none;position:fixed;inset:0;z-index:250;align-items:center;justify-content:center;padding:20px}.booking-sheet.is-open{display:flex}.booking-sheet-scrim{display:block;position:absolute;inset:0;background:rgba(23,23,19,.6);border:0;backdrop-filter:blur(5px)}.booking-sheet-card{position:relative;z-index:1;width:min(720px,100%);max-height:calc(100dvh - 40px);overflow:auto;background:var(--white);border-radius:18px;padding:28px;color:var(--ink);box-shadow:var(--shadow)}.booking-sheet-head{display:flex;justify-content:space-between;gap:16px;margin-bottom:18px}.booking-sheet-head h2{font-family:var(--serif);font-size:2rem;line-height:1.2;margin:0}.booking-sheet-eyebrow{font-size:.75rem;letter-spacing:.12em;text-transform:uppercase;margin:0 0 10px}.booking-sheet-copy,.booking-provider-note{font-size:.9rem;line-height:1.5;color:var(--muted)}.booking-sheet-close{background:transparent;border:0;font-size:1.5rem;cursor:pointer;flex-shrink:0}.booking-bar{display:grid;grid-template-columns:minmax(0,1fr) minmax(130px,.6fr);border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#fff}.booking-field{min-width:0;min-height:72px;background:transparent;border:0;border-bottom:1px solid var(--line);padding:14px}.booking-submit{grid-column:1/-1;width:100%;border-radius:0}.field-body{min-width:0}.field-value{font-size:.95rem}.stepper-btn{min-width:44px;min-height:44px}.error{color:#952f20;font-weight:600}.date-layer{z-index:260}.date-popover{background:var(--white)}.date-nav button,.cal-day{min-height:44px}.date-close{background:transparent}.date-popover-head p{padding-right:8px}.booking-provider-note{margin:16px 0 0}
.image-overlay{position:fixed;inset:0;z-index:250;background:rgba(0,0,0,.85);display:flex;align-items:center;justify-content:center;padding:20px}.image-overlay .image-dialog{position:relative;display:block;max-width:min(1100px,100%);max-height:90dvh;background:transparent;margin:0;padding:0;border:0}.image-overlay img{width:auto;max-width:100%;max-height:85dvh;object-fit:contain}.image-overlay .dialog-close{z-index:1}
.footer-legal{display:flex;flex-wrap:wrap;gap:12px 24px;align-items:center}.footer-legal button{padding:0;border:0;background:none;color:inherit;font:inherit;text-align:left;cursor:pointer}.footer-legal a,.footer-legal button{text-underline-offset:4px}.footer-legal a:hover,.footer-legal button:hover{text-decoration:underline}.footer-bottom .footer-legal{max-width:700px}.legal-header{display:flex;align-items:center;gap:24px;padding:18px max(24px,calc((100vw - 1200px)/2));border-bottom:1px solid var(--line);flex-wrap:wrap}.legal-brand{display:flex;align-items:center;gap:14px;margin-right:auto}.legal-brand img{width:54px;height:60px;object-fit:contain}.legal-brand span{font-family:var(--serif);font-size:1.4rem}.legal-content{width:min(1000px,calc(100% - 48px));margin:70px auto}.legal-content h1{font-family:var(--serif);font-size:clamp(2.5rem,6vw,4.5rem);line-height:1.15;overflow-wrap:anywhere}.legal-content h2{font-family:var(--serif);font-size:1.6rem;line-height:1.3;margin:0 0 16px}.legal-content section{margin:32px 0;border-top:1px solid var(--line);padding-top:24px}.legal-content p{font-size:1.05rem;line-height:1.8}.legal-draft{padding:14px 18px;border:1px solid var(--line);border-radius:10px}.legal-languages{display:flex;gap:8px;flex-wrap:wrap}.legal-languages a{min-width:44px;min-height:44px;display:grid;place-items:center;border:1px solid var(--line);border-radius:5px}.legal-languages a[aria-current]{color:var(--white);background:var(--ink)}.legal-resources a{text-decoration:underline}
html[data-text='md']{font-size:112%}html[data-text='lg']{font-size:125%}html[data-text='md'] body{font-size:18px}html[data-text='lg'] body{font-size:20px}html[data-links='on'] a{text-decoration:underline!important;text-underline-offset:.2em}html[data-motion='reduce']{scroll-behavior:auto!important}html[data-motion='reduce'] .reveal-pending{opacity:1;transform:none}html[data-motion='reduce'] [data-hero-media]{transform:none!important}
html[data-contrast='high']{--ink:#000;--ink-strong:#000;--muted:#222;--paper:#fff;--paper-soft:#eee;--paper-deep:#eee;--gold-dark:#382700;--gold:#705221;--line:rgba(0,0,0,.5)}html[data-contrast='high'] .cookie-banner,html[data-contrast='high'] .cookie-modal,html[data-contrast='high'] .a11y-panel{background:#fff;color:#000}html[data-contrast='high'] .eyebrow{color:inherit}
@media(min-width:961px){.hero-actions,.hero-video-controls{bottom:calc(24px + var(--cookie-h,0px))}.cookie-banner{max-height:calc(100dvh - 120px);overflow:auto}}
@media(max-width:960px){.booking-sheet{align-items:flex-end;padding:0}.booking-sheet-card{width:min(560px,100%);max-height:calc(100dvh - 16px);padding:24px 18px;border-radius:20px 20px 0 0}.booking-bar{grid-template-columns:1fr}.date-layer{position:static}.date-popover{margin-top:12px}.a11y-panel{max-height:calc(100dvh - 90px)}.cookie-banner{height:auto;max-height:calc(100dvh - 120px);overflow:auto}.cookie-banner .cookie-actions .btn{white-space:normal}.legal-header{gap:12px}.legal-content{margin-top:40px}.mobile-booking-dock{z-index:230}.hero-booking{margin-bottom:var(--cookie-h,0px)}}
@media(max-width:420px){.cookie-banner{padding:20px 16px 16px}.cookie-banner h2{padding-right:32px}.cookie-banner .cookie-actions{grid-template-columns:1fr 1fr}.cookie-banner p{font-size:.84rem}.cookie-actions .btn-ghost{grid-column:1/-1}.legal-brand span{font-size:1.2rem}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}.image-overlay,.booking-sheet *, .reveal{animation:none!important;transition:none!important}}
/* Reset property-specific reference palette; all main content keeps Pesaro's colours. */
:root{--ink:#171713;--paper:#f2efe8;--gold:#b79a5c;--line:rgba(23,23,19,.18)}
.booking-wrap{position:static;z-index:auto;width:auto}.booking-sheet-card{isolation:isolate}.cal-day{border:1px solid transparent;border-radius:8px;background:transparent;color:var(--ink);font:inherit;font-size:.88rem;cursor:pointer;padding:5px 0;min-width:0}.cal-day:hover:not(:disabled),.cal-day:focus-visible{background:var(--paper-deep);color:var(--ink);border-color:var(--gold-dark)}.cal-day.is-disabled{color:#969187;cursor:default}.cal-day.is-in-range{background:#ede5d4;border-radius:0}.cal-day.is-start,.cal-day.is-end{background:var(--ink);color:var(--white);border-radius:8px}.cal-day.is-today{border-color:var(--gold-dark)}
@media(min-width:961px){.video-controls{bottom:calc(24px + var(--cookie-h,0px))}}
@media(max-width:960px){.hero-booking{margin-bottom:0}html:not([data-consent='chosen']) .hero-actions{bottom:calc(20px + var(--cookie-h,0px))}html:not([data-consent='chosen']) .hero-copy{top:130px;bottom:auto}html:not([data-consent='chosen']) .hero-copy h1{font-size:clamp(2.2rem,8vw,3rem)}html:not([data-consent='chosen']) .hero-intro{display:none}html:not([data-consent='chosen']) .video-controls{display:none}}
@media(max-height:500px){.cookie-banner{max-height:calc(100dvh - 16px)}.cookie-banner .cookie-actions{position:relative}.a11y-panel{max-height:calc(100dvh - 32px);bottom:16px}}
.a11y-toggle{bottom:calc(18px + var(--cookie-h,0px))}
.legal-content p,.legal-page .site-footer a,.legal-page .site-footer button{overflow-wrap:anywhere}.footer-legal button{max-width:100%;white-space:normal}.a11y-text-meta{min-width:0}.a11y-text-value{white-space:normal}.a11y-panel .row{display:grid;gap:8px}.a11y-btn{white-space:normal;overflow-wrap:anywhere}


.cookie-policy-links a{ text-decoration:underline; text-underline-offset:.15em}.legal-page .site-footer a{white-space:normal}
.legal-content h2{overflow-wrap:anywhere}
@media(max-width:960px) and (max-height:680px){html:not([data-consent='chosen']) .hero-copy{display:none}}
@media(min-width:600px) and (max-width:960px) and (max-height:500px){.cookie-banner{max-width:none;display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,.8fr);column-gap:18px;padding:14px 18px}.cookie-banner .cookie-mark{display:none}.cookie-banner h2{grid-column:1;font-size:1.25rem}.cookie-banner p{grid-column:1;font-size:.8rem}.cookie-banner .cookie-actions{grid-column:2;grid-row:1/span 2;margin:0;padding-right:30px}.cookie-banner .cookie-x{top:0;right:0}.cookie-banner .cookie-actions .btn{min-height:44px}}
/* Keep the introductory copy clear of the temporarily lifted player while the notice is visible. */
@media(min-width:961px){html:not([data-consent='chosen']) .hero-copy{bottom:calc(max(160px,15vh) + var(--cookie-h,0px))}}
@media(min-width:961px) and (max-width:1200px){html:not([data-consent='chosen']) .hero-copy{bottom:calc(max(180px,18vh) + var(--cookie-h,0px))}}
@media(max-width:1200px) and (max-height:680px){html:not([data-consent='chosen']) .hero-copy{display:none}}

/* Date row followed by three clearly separated guest selectors. */
.booking-bar{grid-template-columns:repeat(3,minmax(0,1fr))}.booking-dates{grid-column:1/-1}.booking-stepper{display:flex;align-items:center;gap:8px}.booking-stepper .field-body{flex:1}.booking-stepper .field-label{display:block}.occupancy-age{display:block;font-size:.7rem;color:var(--muted);margin:3px 0 8px}.booking-stepper .stepper{display:flex;justify-content:space-between;gap:4px}.booking-stepper .field-icon{align-self:flex-start;margin-top:3px}
@media(max-width:600px){.booking-bar{grid-template-columns:1fr}.booking-stepper .field-body{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:12px}.booking-stepper .field-label{grid-column:1}.occupancy-age{grid-column:1;margin:3px 0 0}.booking-stepper .stepper{grid-column:2;grid-row:1/span 2;min-width:140px}}

/* Leave room for the persistent accessibility control beside the hero player. */
.video-controls{left:72px}
.booking-sheet-card,.cookie-modal,.a11y-panel{overscroll-behavior:contain}

/* Shared fixed navigation needs breathing room on text-led legal pages. */
.legal-page .legal-content{margin:140px auto 80px}
@media(max-width:600px){.legal-page .legal-content{margin-top:110px}}
/* Prevent the first content margin exposing the dark html canvas. */
body.legal-page{display:flow-root}
