@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600&family=Work+Sans:wght@400;500;600&display=swap');

:root {
    --ink: #1b1d18;
    --moss: #414b36;
    --oat: #ede7d9;
    --ember: #a8471e;
    --stone: #8c8a7d;
    --paper: #f7f4ec;
    --line: #cec6b4;
    --card: #fff;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: 'Work Sans', sans-serif; line-height: 1.5; }
h1, h2, h3 { margin: 0; font-family: 'Fraunces', serif; font-weight: 600; letter-spacing: -.025em; }
a { color: inherit; }
.icon { width: 38px; height: 38px; flex-shrink: 0; padding: 8px; border-radius: 0; background: #fff; fill: none; stroke: var(--moss); stroke-width: 1.4; box-shadow: 0 3px 10px rgba(27, 29, 24, .06); }
.anchor-section { scroll-margin-top: 170px; }
.skip-link { position: fixed; top: -60px; left: 16px; z-index: 1100; padding: 10px 16px; border-radius: 0; background: var(--ink); color: #fff; font-weight: 600; text-decoration: none; transition: top .2s; }
.skip-link:focus { top: 0; }

nav { position: sticky; top: 0; z-index: 100; padding: 10px 16px 0; background: var(--paper); }
.nav-inner { display: flex; max-width: 1120px; margin: 0 auto; padding: 10px 12px 10px 16px; align-items: center; justify-content: space-between; border: 1px solid var(--ink); border-radius: 0; background: var(--paper); box-shadow: 4px 4px 0 var(--line); }
.brand { display: flex; gap: 10px; align-items: center; font-family: 'Fraunces', serif; font-size: 1.08rem; line-height: 1.05; text-decoration: none; }
.brand small { display: block; margin-top: 2px; color: var(--stone); font-family: 'Work Sans', sans-serif; font-size: .62rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.brand-logo { display: block; width: 100px; height: auto; flex-shrink: 0; }
.nav-links { display: flex; gap: 22px; align-items: center; font-size: .84rem; }
.nav-links a { padding: 8px 0; border-bottom: 1px solid transparent; text-decoration: none; transition: border-color .2s, color .2s; }
.nav-links a:hover { border-color: var(--ember); color: var(--ember); }
.nav-links .nav-cta { padding: 10px 17px; border-radius: 0; background: var(--ember); color: #fff; font-weight: 600; box-shadow: 3px 3px 0 var(--ink); }
.nav-links .nav-cta:hover { border-color: transparent; color: #fff; opacity: .92; }

.welcome-hero { position: relative; max-width: 1120px; min-height: 590px; overflow: hidden; margin: 18px auto 0; border-radius: 0; background: var(--ink); border-bottom: 8px solid var(--ember); box-shadow: none; }
.welcome-hero > img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: 56% center; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 16, 12, .89) 0%, rgba(14, 16, 12, .6) 42%, rgba(14, 16, 12, .08) 78%), linear-gradient(0deg, rgba(14, 16, 12, .45), transparent 45%); }
.hero-content { position: relative; z-index: 1; display: flex; min-height: 590px; max-width: 610px; padding: 72px 64px 42px; flex-direction: column; justify-content: center; color: #fff; }
.hero-kicker { margin-bottom: 14px; color: #e8bb96; font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.hero-content h1 { color: #fff; font-size: clamp(3.4rem, 7vw, 5.8rem); line-height: .88; letter-spacing: -.035em; }
.hero-content > p { max-width: 48ch; margin: 24px 0 28px; color: #e3e0d6; font-size: 1rem; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-actions a { display: inline-flex; min-height: 48px; padding: 12px 20px; align-items: center; justify-content: center; gap: 10px; border-radius: 0; font-size: .86rem; font-weight: 600; text-decoration: none; }
.hero-primary { background: var(--ember); color: #fff; box-shadow: 4px 4px 0 rgba(0, 0, 0, .4); }
.hero-primary:hover { background: #bb5022; }
.hero-secondary { border: 1px solid rgba(255, 255, 255, .52); background: rgba(255, 255, 255, .1); color: #fff; backdrop-filter: blur(8px); }
.hero-secondary:hover { background: rgba(255, 255, 255, .2); }
.hero-details { display: flex; margin-top: 42px; flex-wrap: wrap; gap: 8px; }
.hero-details span { padding: 7px 11px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 0; background: rgba(15, 16, 13, .2); color: #f2efe8; font-size: .7rem; }

.photo-grid { max-width: 1120px; margin: 0 auto; padding: 84px 32px 24px; }
.gallery-heading { display: flex; margin-bottom: 26px; align-items: end; justify-content: space-between; gap: 32px; }
.gallery-heading h2 { font-size: clamp(1.8rem, 4vw, 2.75rem); }
.gallery-heading > p { max-width: 37ch; margin: 0 0 4px; color: #646255; font-size: .88rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; margin: -1px; padding: 0; border: 0; clip: rect(0 0 0 0); white-space: nowrap; }
.grid-inner { display: grid; overflow: hidden; grid-template-columns: repeat(5, 1fr); grid-auto-rows: 178px; gap: 8px; border: 8px solid var(--ink); background: var(--ink); border-radius: 0; }
.gallery-item { position: relative; min-width: 0; overflow: hidden; padding: 0; border: 0; background: var(--moss); color: #fff; cursor: zoom-in; }
.gallery-item.tile-big { grid-column: span 3; grid-row: span 2; }
.gallery-item img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease, opacity .2s ease; }
.gallery-item.tile-big img { object-position: 54% center; }
.gallery-item:hover img { opacity: .92; transform: scale(1.025); }
.gallery-item span { position: absolute; right: 8px; bottom: 0; left: 0; width: max-content; max-width: calc(100% - 16px); padding: 7px 10px; overflow: hidden; border-radius: 0; background: var(--ink); font-family: 'Work Sans', sans-serif; font-size: .7rem; font-weight: 600; text-align: left; text-overflow: ellipsis; white-space: nowrap; backdrop-filter: blur(5px); }
.gallery-meta { display: flex; margin-top: 10px; align-items: center; justify-content: space-between; color: var(--stone); font-size: .76rem; }
.gallery-hint { display: flex; gap: 7px; }

.photo-lightbox { width: 100vw; max-width: none; height: 100vh; max-height: none; margin: 0; padding: 32px 76px; border: 0; background: rgba(12, 13, 11, .96); color: #fff; }
.photo-lightbox[open] { display: grid; grid-template-columns: 48px minmax(0, 1fr) 48px; gap: 18px; align-items: center; }
.photo-lightbox::backdrop { background: rgba(12, 13, 11, .78); backdrop-filter: blur(4px); }
.photo-lightbox figure { display: flex; min-width: 0; height: calc(100vh - 64px); margin: 0; flex-direction: column; align-items: center; justify-content: center; }
.photo-lightbox figure img { display: block; min-height: 0; max-width: 100%; max-height: calc(100vh - 116px); object-fit: contain; border-radius: 0; box-shadow: 0 18px 60px rgba(0, 0, 0, .38); }
.photo-lightbox figcaption { display: flex; width: 100%; max-width: 1000px; padding-top: 12px; align-items: center; justify-content: space-between; gap: 20px; color: #e4e0d5; font-size: .84rem; }
.photo-lightbox figcaption a { color: #bbb7aa; font-size: .78rem; text-underline-offset: 3px; }
.lightbox-close, .lightbox-nav { border: 0; background: transparent; color: #fff; cursor: pointer; }
.lightbox-close { position: fixed; top: 18px; right: 24px; z-index: 2; width: 44px; height: 44px; border-radius: 0; background: rgba(255, 255, 255, .1); font-size: 2rem; line-height: 1; }
.lightbox-close:hover { background: rgba(255, 255, 255, .2); }
.lightbox-nav { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 0; background: rgba(255, 255, 255, .1); font-size: 2.5rem; line-height: 1; }
.lightbox-nav:hover { background: rgba(255, 255, 255, .2); }

.quick-facts { display: grid; max-width: 1056px; margin: 0 auto 64px; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 0; background: var(--oat); box-shadow: 5px 5px 0 var(--line); border-top: 4px solid var(--moss); }
.quick-facts div { padding: 18px 22px; border-right: 1px solid var(--line); }
.quick-facts div:last-child { border-right: 0; }
.quick-facts span, .quick-facts strong { display: block; }
.quick-facts .fact-label { margin-bottom: 3px; color: var(--stone); font-size: .66rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.quick-facts strong { font-family: 'Fraunces', serif; font-size: .98rem; font-weight: 500; }

.listing-body { display: grid; max-width: 1120px; margin: 0 auto; padding: 0 32px 88px; grid-template-columns: minmax(0, 1.6fr) minmax(290px, 1fr); gap: 28px; }
.listing-body > div:first-child { padding: 38px; border: 1px solid rgba(225, 219, 203, .8); border-radius: 0; background: #fff; box-shadow: none; border-top: 4px solid var(--moss); }
.divider { margin: 32px 0; border: 0; border-top: 1px solid var(--line); }
.lead-row { display: flex; align-items: flex-start; justify-content: space-between; }
.lead-row h2 { font-size: 1.3rem; }
.lead-row .meta { margin: 6px 0 0; color: var(--stone); font-size: .9rem; }
.badge-ring { display: flex; width: 52px; height: 52px; flex-shrink: 0; align-items: center; justify-content: center; border-radius: 0; background: var(--moss); color: #fff; font-family: 'Fraunces', serif; font-size: 1.1rem; }
.desc p { max-width: 62ch; color: #4a4838; font-size: .96rem; line-height: 1.72; }
.desc p:first-child { color: var(--ink); font-family: 'Fraunces', serif; font-size: 1.18rem; line-height: 1.55; }
#amenities h2, .location-block h2 { margin-bottom: 4px; font-size: 1.2rem; }
.amenities-list { display: grid; margin-top: 22px; grid-template-columns: 1fr 1fr; gap: 10px; }
.amenity-row { display: flex; min-height: 64px; padding: 12px 14px; gap: 12px; align-items: center; border: 1px solid #ebe4d5; border-radius: 0; background: #faf8f2; font-size: .9rem; font-weight: 500; transition: border-color .2s, background .2s, transform .2s; }
.amenity-row:hover { border-color: #d8cdb8; background: var(--oat); transform: translateY(-2px); }
.location-block h2 { margin-bottom: 10px; }
.location-block { padding: 26px; border: 1px solid #dce0d4; border-radius: 0; background: #e6e9dd; border-left: 5px solid var(--moss); }
.location-block p { max-width: 56ch; color: #4a4838; font-size: .9rem; }
.location-block .address { margin: 0 0 6px; color: var(--ink); font-family: 'Fraunces', serif; font-size: 1.1rem; }
.location-cta { display: inline-flex; margin-top: 14px; padding: 11px 18px; gap: 8px; align-items: center; border: 1px solid var(--ink); border-radius: 0; font-size: .9rem; font-weight: 600; text-decoration: none; transition: background .15s, color .15s; }
.location-cta:hover { background: var(--ink); color: #fff; }

.book-card { position: sticky; top: 128px; height: max-content; overflow: hidden; padding: 32px 28px 28px; border: 1px solid var(--line); border-radius: 0; background: var(--oat); box-shadow: 7px 7px 0 var(--moss); border-color: var(--moss); }
.book-card::before { position: absolute; top: 0; right: 0; left: 0; height: 7px; background: var(--ember); content: ''; }
.price-line { margin-bottom: 7px; font-family: 'Fraunces', serif; font-size: 1.45rem; line-height: 1.2; }
.price-note { margin-bottom: 20px; color: #656458; font-size: .84rem; }
.field-row { overflow: hidden; margin-bottom: 16px; border: 1px solid var(--line); border-radius: 0; }
.field { padding: 12px 14px; border-bottom: 1px solid var(--line); }
.field:last-child { border-bottom: 0; }
.field span { display: block; font-size: .9rem; }
.field .field-label { margin-bottom: 2px; color: var(--stone); font-size: .68rem; letter-spacing: .04em; text-transform: uppercase; }
.booking-highlights { display: grid; margin: 0 0 20px; padding: 0; gap: 8px; list-style: none; color: #555449; font-size: .8rem; }
.booking-highlights li::before { margin-right: 8px; color: var(--moss); content: '✓'; font-weight: 600; }
.cta { display: inline-block; padding: 15px 30px; border-radius: 0; background: var(--ember); color: #fff; font-size: .95rem; font-weight: 600; text-decoration: none; box-shadow: 4px 4px 0 var(--ink); transition: background .15s, transform .15s; }
.cta:hover { background: #bb5022; transform: translateY(-1px); }
.book-card .cta { display: block; width: 100%; padding: 14px; text-align: center; }
.fine { margin-top: 12px; color: var(--stone); font-size: .78rem; text-align: center; }

.nearby-section { max-width: 1120px; margin: 0 auto 88px; padding: 54px 32px 48px; border-radius: 0; background: var(--oat); border-top: 6px solid var(--moss); box-shadow: none; }
.section-heading { max-width: 650px; margin-bottom: 30px; }
.eyebrow { display: block; margin-bottom: 8px; color: var(--ember); font-size: .72rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; }
.section-heading h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); }
.section-heading p { max-width: 58ch; margin: 12px 0 0; color: #4a4838; }
.nearby-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.nearby-card { display: flex; min-height: 250px; padding: 25px; flex-direction: column; border: 1px solid var(--line); border-radius: 0; background: #fff; box-shadow: 4px 4px 0 var(--line); border-top: 4px solid var(--moss); transition: transform .2s, box-shadow .2s; }
.nearby-card:nth-child(2), .nearby-card:nth-child(5) { background: #f5e5d9; border-top-color: var(--ember); }
.nearby-card:hover { transform: translateY(-3px); box-shadow: 6px 6px 0 var(--line); }
.nearby-time { width: max-content; margin-bottom: 17px; padding: 6px 10px; border-radius: 0; background: #f5e5d9; color: var(--ember); font-size: .7rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.nearby-card h3 { font-size: 1.25rem; }
.nearby-card p { margin: 10px 0 22px; color: #4a4838; font-size: .9rem; }
.nearby-card a { display: inline-flex; margin-top: auto; gap: 7px; align-items: center; font-size: .84rem; font-weight: 600; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.nearby-card a:hover { color: var(--ember); }
.nearby-note { margin: 20px 0 0; color: var(--stone); font-size: .78rem; }

.band { padding: 82px 32px; background: var(--moss); border-top: 8px solid var(--ember); color: var(--oat); text-align: center; }
.eyebrow-line { width: 48px; height: 8px; margin: 0 auto 18px; background: var(--ember); }
.band h2 { max-width: 16ch; margin: 0 auto 16px; color: var(--oat); font-size: 2.1rem; }
.band p { max-width: 44ch; margin: 0 auto 32px; color: #c9c6ba; }
.cta-sub { margin-top: 12px; color: #a6a394; font-size: .8rem; }
footer { display: flex; max-width: 1120px; margin: 0 auto; padding: 30px 32px; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); color: var(--stone); font-size: .82rem; }
.mobile-book-bar { display: none; }

#blazor-error-ui { display: none; position: fixed; right: 0; bottom: 0; left: 0; z-index: 1000; padding: .75rem 1.25rem; background: #b32121; color: #fff; box-shadow: 0 -1px 4px rgba(0, 0, 0, .25); }
#blazor-error-ui .reload { margin-left: 1rem; color: #fff; }
#blazor-error-ui .dismiss { position: absolute; top: .4rem; right: .75rem; border: 0; background: transparent; color: #fff; font-size: 1.25rem; cursor: pointer; }
:focus-visible { outline: 2px solid var(--ember); outline-offset: 2px; }

@media (max-width: 860px) {
    .nav-inner { align-items: flex-start; flex-direction: column; gap: 10px; }
    .nav-links { width: 100%; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
    .nav-links::-webkit-scrollbar { display: none; }
    .nav-links a { flex: 0 0 auto; }
    .welcome-hero { min-height: 540px; margin-right: 20px; margin-left: 20px; }
    .hero-content { min-height: 540px; padding: 56px 42px 36px; }
    .gallery-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
    .quick-facts { margin-right: 32px; margin-left: 32px; grid-template-columns: repeat(2, 1fr); }
    .quick-facts div:nth-child(2) { border-right: 0; }
    .quick-facts div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
    .listing-body { grid-template-columns: 1fr; gap: 8px; }
    .listing-body > div:first-child { padding: 30px; }
    .book-card { position: static; margin-top: 20px; }
    .grid-inner { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 170px; }
    .gallery-item.tile-big { grid-column: span 2; grid-row: span 2; }
    .amenities-list { grid-template-columns: 1fr; }
    .nearby-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px) {
    body { padding-bottom: 76px; }
    .nav-inner, .photo-grid, .listing-body, .nearby-section { padding-right: 20px; padding-left: 20px; }
    .nav-inner { padding-top: 10px; padding-bottom: 8px; }
    .brand-logo { width: 76px; }
    .nav-links { margin-right: -20px; margin-left: -20px; padding-right: 20px; padding-left: 20px; gap: 18px; }
    .nav-links .nav-cta { padding: 8px 13px; }
    .welcome-hero { min-height: 620px; margin: 10px 12px 0; border-radius: 0; }
    .welcome-hero > img { object-position: 64% center; }
    .hero-shade { background: linear-gradient(0deg, rgba(14, 16, 12, .94) 0%, rgba(14, 16, 12, .72) 55%, rgba(14, 16, 12, .08) 92%); }
    .hero-content { min-height: 620px; max-width: none; padding: 210px 24px 28px; justify-content: flex-end; }
    .hero-content h1 { font-size: 3.45rem; }
    .hero-content > p { margin: 18px 0 20px; font-size: .9rem; }
    .hero-actions { flex-direction: column; }
    .hero-actions a { width: 100%; }
    .hero-details { margin-top: 24px; }
    .photo-grid { padding-top: 58px; }
    .gallery-meta { align-items: flex-start; flex-direction: column; gap: 4px; }
    .quick-facts { margin: 0 20px 42px; grid-template-columns: 1fr; }
    .quick-facts div { padding: 14px 18px; border-right: 0; border-bottom: 1px solid var(--line); }
    .quick-facts div:nth-child(3) { border-bottom: 1px solid var(--line); }
    .quick-facts div:last-child { border-bottom: 0; }
    .listing-body > div:first-child { padding: 24px 20px; border-radius: 0; }
    .lead-row { gap: 16px; }
    .grid-inner { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
    .gallery-item.tile-big { height: 306px; grid-column: span 2; grid-row: span 2; }
    .photo-lightbox { padding: 60px 14px 20px; }
    .photo-lightbox[open] { grid-template-columns: 40px minmax(0, 1fr) 40px; gap: 6px; }
    .photo-lightbox figure { height: calc(100vh - 80px); }
    .photo-lightbox figure img { max-height: calc(100vh - 145px); }
    .photo-lightbox figcaption { align-items: flex-start; flex-direction: column; gap: 3px; }
    .lightbox-nav { width: 40px; height: 40px; }
    .nearby-section { margin-right: 12px; margin-bottom: 58px; margin-left: 12px; padding-top: 38px; padding-bottom: 36px; border-radius: 0; }
    .nearby-grid { grid-template-columns: 1fr; }
    .nearby-card { min-height: 0; }
    .band { padding: 56px 20px; }
    footer { padding-bottom: 22px; }
    .mobile-book-bar { position: fixed; right: 0; bottom: 0; left: 0; z-index: 90; display: flex; padding: 10px 14px; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); background: rgba(255, 255, 255, .97); box-shadow: 0 -8px 24px rgba(27, 29, 24, .08); backdrop-filter: blur(12px); }
    .mobile-book-bar div { min-width: 0; }
    .mobile-book-bar strong, .mobile-book-bar span { display: block; }
    .mobile-book-bar strong { font-family: 'Fraunces', serif; font-size: .94rem; font-weight: 500; }
    .mobile-book-bar span { overflow: hidden; color: var(--stone); font-size: .68rem; text-overflow: ellipsis; white-space: nowrap; }
    .mobile-book-bar a { flex-shrink: 0; padding: 11px 15px; border-radius: 0; background: var(--ember); color: #fff; font-size: .78rem; font-weight: 600; text-decoration: none; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; transform: none !important; }
}
