.preserve-lines { white-space: pre-line; }
.form-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.consent-label { display: flex; align-items: flex-start; gap: 12px; margin-top: 24px; font-size: 11px; line-height: 1.9; color: #766b5e; }
.consent-label input { margin-top: 5px; accent-color: #996b30; flex-shrink: 0; }
.form-feedback { margin-top: 20px; padding: 16px; border: 1px solid #b74731; color: #923922; font-size: 12px; line-height: 1.8; }
button:disabled { opacity: .6; cursor: wait; }
.booking-dialog .field { min-width: 0; }
.booking-dialog #booking-result:focus { outline: none; }
@media(max-width: 420px) { .font-display.text-3xl { overflow-wrap: anywhere; } }

/* Keep the original desktop composition while fitting narrow screens. */
.round-control { flex-shrink: 0; }
.becker-arrow { display: inline-block; flex-shrink: 0; vertical-align: middle; }
.becker-arrow-diagonal { transform: rotate(45deg); }
.becker-arrow-down, .becker-arrow-left { transform: rotate(180deg); }
.room-card-top > div, .room-stats > div { min-width: 0; }
.room-card-price { flex-wrap: wrap; }
.room-card-price > span:first-child, .room-stat-value { white-space: nowrap; }
.room-hero-image > span { top: auto; bottom: 1rem; }
.booking-dialog { max-width: calc(100vw - 24px); max-height: calc(100dvh - 24px); }
.booking-dialog .field { min-inline-size: 0; }
.gallery-dialog > div:last-child > div:first-child { min-width: 0; overflow-wrap: anywhere; }
.gallery-dialog > div:last-child > div:last-child { flex-shrink: 0; }
@media (max-width: 767px) {
    html { scroll-padding-top: 96px; }
    header > .container { height: 80px; gap: 16px; }
    header img { height: 46px; }
    .hero-copy { padding-block: 12px; }
    .hero-copy h1 { font-size: clamp(3.5rem, 14vw, 5rem); }
    .hero-badge { width: 104px; height: 104px; bottom: 56px; left: 12px; text-align: center; }
    .hero-badge > span:first-child { max-width: 80px; font-size: 8px; letter-spacing: .12em; line-height: 1.5; }
    .hero-badge > span:nth-child(2) { font-size: 36px; line-height: 1.05; }
    .hero-badge > span:last-child { font-size: 8px; }
    .hero-visual > p:last-child { line-height: 1.8; }
    .room-title { font-size: clamp(2.75rem, 12.5vw, 4.5rem); line-height: 1.05; overflow-wrap: anywhere; }
    .room-stats { gap: 12px; }
    .room-stats .room-stat-value { font-size: clamp(1.4rem, 6vw, 1.875rem); }
    .room-stats > div > p:last-child { min-height: 30px; line-height: 1.5; }
    .room-card-top { gap: 12px; }
    .room-card-top h3 { font-size: clamp(2rem, 8.5vw, 2.5rem); }
    .booking-dialog > div { padding: 20px; }
    .booking-dialog h2 { font-size: 32px; line-height: 1.08; }
    .booking-dialog .field { font-size: 16px; min-height: 48px; }
    .booking-dialog .button { padding-inline: 16px; letter-spacing: .1em; }
    .booking-dialog .grid > label { min-width: 0; }
    .contact-directions { flex-direction: column; align-items: flex-start; gap: 16px; }
    .contact-directions > span { align-self: flex-start; }
}
@media (max-width: 374px) {
    .section-title { font-size: 2.3rem; }
    .hero-visual > p:last-child { font-size: 8px; letter-spacing: .12em; }
    .room-stats { gap: 8px; }
    .room-stats .room-stat-value { font-size: 22px; }
    .room-stats .room-stat-value > span { font-size: 14px; }
}
@media (min-width: 768px) and (max-width: 1199px) {
    .hero-badge { bottom: 56px; left: 12px; width: 112px; height: 112px; text-align: center; }
    .hero-badge > span:first-child { max-width: 88px; font-size: 8px; letter-spacing: .12em; line-height: 1.5; }
    .hero-badge > span:nth-child(2) { font-size: 38px; }
}

/* Mobile navigation lives in the top layer, outside the sticky header. */
.mobile-drawer {
    position: fixed;
    inset: 0 0 0 auto;
    margin: 0;
    box-sizing: border-box;
    width: min(420px, calc(100vw - 24px));
    max-width: none;
    height: 100dvh;
    max-height: none;
    padding: max(24px, env(safe-area-inset-top)) 24px max(24px, env(safe-area-inset-bottom));
    border: 0;
    border-left: 1px solid #e1d7c6;
    background: #faf8f3;
    color: #3b3228;
    box-shadow: -16px 0 60px rgb(59 50 40 / .12);
    overflow-y: auto;
    overscroll-behavior: contain;
}
.mobile-drawer[open] { display: flex; flex-direction: column; }
.mobile-drawer::backdrop { background: rgb(36 30 23 / .4); backdrop-filter: blur(4px); }
.drawer-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-shrink: 0; }
.drawer-brand { display: block; flex-shrink: 0; }
.drawer-brand img { width: auto; height: 44px; max-width: 180px; }
.drawer-navigation { flex: 1 0 auto; padding: 36px 0 28px; }
.drawer-navigation > .eyebrow { margin-bottom: 16px; }
.drawer-link { display: grid; grid-template-columns: 18px minmax(0, 1fr) 20px; align-items: center; gap: 12px; padding: 18px 0; border-bottom: 1px solid #e1d7c6; font-family: 'Cormorant Garamond', Georgia, serif; font-size: clamp(28px, 7.5vw, 36px); line-height: 1.05; transition: color .2s; }
.drawer-link:hover { color: #996b30; }
.drawer-link-number { align-self: start; padding-top: 5px; font-family: 'Manrope', sans-serif; font-size: 9px; line-height: 1.5; color: #a06e2a; letter-spacing: .08em; }
.drawer-link-arrow { font-family: 'Manrope', sans-serif; font-size: 18px; color: #a06e2a; transition: transform .2s; }
.drawer-link:hover .drawer-link-arrow { transform: translate(2px, -2px); }
.drawer-footer { display: grid; gap: 12px; padding-top: 24px; border-top: 1px solid #e1d7c6; }
.drawer-booking { width: 100%; margin-bottom: 12px; }
.drawer-footer > a { width: fit-content; font-size: 13px; overflow-wrap: anywhere; }
.drawer-footer > a:hover { color: #996b30; }
.drawer-address { font-size: 11px; line-height: 1.8; color: #766b5e; }
.back-to-top { position: fixed; right: max(24px, env(safe-area-inset-right)); bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 35; display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid #faf8f3; border-radius: 50%; background: #996b30; color: #fff; box-shadow: 0 4px 20px rgb(59 50 40 / .18); transition: background .2s, transform .2s, opacity .2s; }
.back-to-top:hover { background: #3b3228; transform: translateY(-3px); }
body:has(dialog[open]) .back-to-top { opacity: 0; pointer-events: none; }
@media (max-width: 767px) {
    .back-to-top { right: max(16px, env(safe-area-inset-right)); bottom: calc(16px + env(safe-area-inset-bottom)); width: 48px; height: 48px; }
}
@media (prefers-reduced-motion: reduce) {
    .drawer-link, .drawer-link-arrow, .back-to-top { transition: none; }
}
