:root {
  --ink: #181512;
  --paper: #f6f1e8;
  --white: #fffdf9;
  --sand: #e9deca;
  --gold: #c59a55;
  --muted: #6f675e;
  --line: rgba(24, 21, 18, .16);
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 16px; line-height: 1.65; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--serif); font-weight: 400; line-height: 1.04; }
h1 { max-width: 760px; font-size: clamp(3.1rem, 8vw, 7.4rem); letter-spacing: -.055em; }
h2 { margin-bottom: 1.25rem; font-size: clamp(2.35rem, 5vw, 4.8rem); letter-spacing: -.045em; }
h3 { font-size: 1rem; letter-spacing: .08em; text-transform: uppercase; }

.site-header { position: fixed; z-index: 50; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; padding: 1rem 4vw; color: var(--white); border-bottom: 1px solid rgba(255,255,255,.2); background: linear-gradient(180deg, rgba(15,12,9,.62), transparent); transition: background .25s, color .25s, padding .25s; }
.site-header.scrolled { padding-top: .7rem; padding-bottom: .7rem; color: var(--ink); background: rgba(246,241,232,.96); border-color: var(--line); backdrop-filter: blur(12px); }
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; }
.brand-logo { width: auto; height: 3.8rem; object-fit: contain; transition: filter .25s, height .25s; }
.brand-name { font-family: var(--serif); font-size: 1.05rem; letter-spacing: .02em; }
.site-header.scrolled .brand-logo { height: 3.25rem; filter: brightness(.22) sepia(.18); }
nav { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.5rem); }
nav a { text-decoration: none; font-size: .82rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.nav-cta { padding: .72rem 1.15rem; border: 1px solid currentColor; }
.menu-button { display: none; border: 0; color: inherit; background: none; font: inherit; }

.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: white; background: #5e786f; overflow: hidden; }
.hero > img, .hero-shade { position: absolute; inset: 0; }
.hero > img { filter: saturate(.88); }
.hero-shade { background: linear-gradient(90deg, rgba(15,12,9,.72) 0%, rgba(15,12,9,.28) 62%, rgba(15,12,9,.1)), linear-gradient(0deg, rgba(15,12,9,.7), transparent 52%); }
.hero-content { position: relative; z-index: 1; width: 100%; padding: 10rem 5vw 9.5rem; }
.eyebrow, .section-kicker { margin-bottom: 1.2rem; color: var(--gold); font-size: .77rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.light { color: #f0d7a7; }
.hero-copy { max-width: 610px; margin-bottom: 2rem; font-size: clamp(1.05rem, 2vw, 1.3rem); }
.hero-actions { display: flex; align-items: center; gap: 1.7rem; flex-wrap: wrap; }
.button { display: inline-flex; min-height: 3.2rem; align-items: center; justify-content: center; padding: .9rem 1.45rem; border: 0; text-decoration: none; font-family: var(--sans); font-size: .83rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.gold { color: var(--ink); background: var(--gold); }
.dark { color: white; background: var(--ink); }
.outline-light { color: white; border: 1px solid rgba(255,255,255,.6); }
.text-link { font-size: .85rem; font-weight: 650; letter-spacing: .06em; text-decoration: none; text-transform: uppercase; }
.hero-facts { position: absolute; z-index: 2; right: 4vw; bottom: 2.3rem; display: grid; grid-template-columns: repeat(4, auto); gap: 1px; background: rgba(255,255,255,.28); }
.hero-facts span { min-width: 128px; padding: .85rem 1rem; background: rgba(24,21,18,.6); backdrop-filter: blur(10px); font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; }
.hero-facts strong { display: block; font-family: var(--serif); font-size: 1.35rem; font-weight: 400; letter-spacing: 0; text-transform: none; }

.section { padding: clamp(5rem, 10vw, 9rem) 5vw; }
.intro-grid, .section-heading { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(2rem, 8vw, 8rem); align-items: end; max-width: 1280px; margin: 0 auto 4rem; }
.intro-grid h2, .section-heading h2 { margin-bottom: 0; }
.lead { max-width: 690px; color: #39332d; font-size: clamp(1.1rem, 1.8vw, 1.35rem); }
.intro-copy { max-width: 540px; color: var(--muted); }
.editorial-gallery { display: grid; grid-template-columns: 1.25fr .75fr; grid-template-rows: repeat(2, minmax(240px, 42vh)); gap: 1rem; max-width: 1280px; margin: 0 auto; }
.editorial-gallery figure { margin: 0; overflow: hidden; }
.gallery-tall { grid-row: 1 / 3; }
.editorial-gallery img, .photo-strip img, .surroundings-grid img { transition: transform .65s ease; }
.editorial-gallery figure:hover img, .surroundings-grid figure:hover img { transform: scale(1.025); }
.photo-frame { padding: .52rem; border: 1px solid rgba(197,154,85,.8); background: var(--white); box-shadow: 0 18px 45px rgba(38,30,20,.12); }
.bedroom-frame img { object-fit: contain; background: #eee7dc; }

.amenities { background: var(--white); }
.section-heading > p { max-width: 460px; margin-bottom: .5rem; color: var(--muted); }
.amenity-grid { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 1280px; margin: 0 auto 5rem; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.amenity-grid article { min-height: 230px; padding: 2rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.amenity-grid p { margin: 0; color: var(--muted); }
.icon { display: block; margin-bottom: 2.2rem; color: var(--gold); font-size: 1.6rem; }
.photo-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; height: clamp(260px, 34vw, 480px); }
.photo-strip figure { height: 100%; margin: 0; overflow: hidden; }
.photo-strip figure:nth-child(even) { margin-top: 2.25rem; height: calc(100% - 2.25rem); }

.apartment-gallery { background: #eee5d7; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(220px, 24vw, 360px); gap: 1rem; max-width: 1280px; margin: 0 auto; }
.gallery-item { appearance: none; width: 100%; height: 100%; margin: 0; font: inherit; cursor: zoom-in; overflow: hidden; }
.gallery-item.wide { grid-column: span 2; }
.gallery-item img { object-fit: contain; background: #eee7dc; }
.gallery-item:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }

.lightbox { width: min(94vw, 1180px); height: min(92vh, 900px); padding: 3rem 1rem 1rem; border: 1px solid rgba(197,154,85,.8); background: #16130f; box-shadow: 0 30px 100px rgba(0,0,0,.55); }
.lightbox::backdrop { background: rgba(10,8,6,.86); backdrop-filter: blur(5px); }
.lightbox img { object-fit: contain; }
.lightbox-close { position: absolute; top: .35rem; right: .65rem; width: 2.5rem; height: 2.5rem; border: 0; color: white; background: transparent; font-size: 2rem; line-height: 1; cursor: pointer; }

.location { display: grid; grid-template-columns: 1.15fr .85fr; min-height: 760px; background: var(--ink); color: white; }
.location-image { position: relative; }
.location-panel { display: flex; flex-direction: column; justify-content: center; padding: clamp(4rem, 8vw, 8rem); }
.location-panel h2 { max-width: 570px; }
.location-panel > p:not(.eyebrow) { max-width: 580px; color: #d6d0c8; }
.distance-list { margin: 2rem 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.18); }
.distance-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.distance-list strong { color: #f0d7a7; font-weight: 500; }
.small-note { font-size: .88rem; }
.location-panel .button { align-self: flex-start; margin-top: 1rem; }

.location-map-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(3rem, 8vw, 8rem); align-items: center; max-width: 1280px; margin: 0 auto; }
.location-map-copy p:not(.eyebrow) { max-width: 560px; color: var(--muted); }
.location-map-copy .text-link { display: inline-block; margin-top: 1rem; }
.location-map-card { margin: 0; background: #efe5d4; overflow: hidden; }
.location-map-card img { max-height: 690px; object-fit: contain; background: #efe5d4; }
.location-map-card figcaption { padding: .8rem .4rem .2rem; color: var(--muted); font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }

.surroundings-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; max-width: 1280px; margin: 0 auto; }
.surroundings-grid figure { margin: 0; overflow: hidden; }
.surroundings-grid img { aspect-ratio: 4 / 5; }
.surroundings-grid figcaption { padding-top: .7rem; font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }

.audience { background: var(--white); }
.audience-grid { display: grid; grid-template-columns: repeat(5, 1fr); max-width: 1280px; margin: 0 auto; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.audience-grid article { min-height: 250px; padding: 2rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.audience-grid article > span { display: block; margin-bottom: 2.8rem; color: var(--gold); font-family: var(--serif); font-size: 1.35rem; }
.audience-grid p { margin: 0; color: var(--muted); }

.availability { background: #eee5d7; }
.calendar-shell { max-width: 1280px; margin: 0 auto; padding: clamp(1.25rem, 3vw, 2.5rem); border: 1px solid rgba(197,154,85,.8); background: var(--white); box-shadow: 0 18px 45px rgba(38,30,20,.1); }
.calendar-toolbar { display: grid; grid-template-columns: 3rem 1fr 3rem; align-items: center; gap: 1rem; margin-bottom: 1.8rem; }
.calendar-toolbar p { margin: 0; text-align: center; font-family: var(--serif); font-size: clamp(1.25rem, 2.4vw, 1.75rem); }
.calendar-nav { width: 3rem; height: 3rem; border: 1px solid var(--line); color: var(--ink); background: var(--paper); font: inherit; font-size: 1.2rem; cursor: pointer; }
.calendar-nav:hover, .calendar-nav:focus-visible { color: var(--white); background: var(--ink); }
.calendar-months { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 4rem); }
.calendar-month h3 { margin-bottom: 1rem; font-family: var(--serif); font-size: 1.35rem; font-weight: 400; letter-spacing: 0; text-align: center; text-transform: none; }
.calendar-weekdays, .calendar-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .35rem; }
.calendar-weekdays span { padding: .25rem 0; color: var(--muted); font-size: .72rem; font-weight: 700; text-align: center; text-transform: uppercase; }
.calendar-day { display: grid; min-height: 2.65rem; place-items: center; border: 1px solid transparent; background: var(--paper); font-size: .88rem; }
.calendar-day.is-empty { background: transparent; }
.calendar-day.is-past { color: #aaa198; background: #f3eee7; }
.calendar-day.is-blocked { color: white; background: var(--ink); border-color: var(--ink); text-decoration: line-through; }
.calendar-day.is-today { border-color: var(--gold); font-weight: 800; }
.calendar-legend { display: flex; gap: 1.5rem; flex-wrap: wrap; margin-top: 1.8rem; padding-top: 1.2rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }
.calendar-legend span { display: inline-flex; align-items: center; gap: .5rem; }
.legend-dot { display: inline-block; width: .85rem; height: .85rem; border: 1px solid var(--line); }
.available-dot { background: var(--paper); }
.blocked-dot { background: var(--ink); }
.calendar-status { margin: .8rem 0 0; color: var(--muted); font-size: .82rem; }

.pricing { padding-top: 2rem; }
.pricing-card { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(2rem, 8vw, 8rem); max-width: 1280px; margin: 0 auto; padding: clamp(3rem, 7vw, 6rem); background: #e8dcc8; }
.pricing-card > div:first-child p:last-child { max-width: 600px; color: var(--muted); }
.price-box { align-self: center; padding-left: clamp(0rem, 4vw, 4rem); border-left: 1px solid rgba(24,21,18,.2); }
.price { display: block; font-family: var(--serif); font-size: clamp(4rem, 8vw, 7rem); line-height: .9; letter-spacing: -.06em; }
.per { display: block; margin: .7rem 0 1.6rem; color: var(--muted); text-transform: uppercase; font-size: .75rem; letter-spacing: .12em; }
.price-box ul { padding: 0; list-style: none; }
.price-box li { padding: .45rem 0; border-bottom: 1px solid rgba(24,21,18,.14); }
.price-note { margin: 1.2rem 0 0; color: var(--muted); font-size: .86rem; line-height: 1.55; }
.price-box .button { margin-top: 1.2rem; }
.terms-grid { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 1280px; margin: 1rem auto 0; gap: 1px; background: var(--line); }
.terms-grid article { padding: 1.5rem; background: var(--paper); }
.terms-grid span { display: block; color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.terms-grid strong { font-family: var(--serif); font-size: 1.25rem; font-weight: 400; }

.house-rules { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(2rem, 8vw, 8rem); max-width: 1380px; margin: 0 auto; }
.rules-grid { display: grid; gap: 0; border-top: 1px solid var(--line); }
.rules-grid article { padding: 1.6rem 0; border-bottom: 1px solid var(--line); }
.rules-grid h3 { margin-bottom: .5rem; }
.rules-grid p { margin: 0; color: var(--muted); }

.inquiry { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(3rem, 8vw, 8rem); padding: clamp(5rem, 9vw, 8rem) 5vw; color: white; background: #181512; }
.inquiry-intro { align-self: start; position: sticky; top: 7rem; }
.inquiry-intro p { max-width: 560px; color: #cec7bd; }
.contact-lines { display: flex; flex-direction: column; gap: .35rem; margin-top: 2rem; }
.contact-lines a { color: white; text-underline-offset: .2em; }
.contact-lines span { color: #9d958b; font-size: .88rem; }
.booking-form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; padding: clamp(1.6rem, 4vw, 3rem); color: var(--ink); background: var(--white); }
.field { display: flex; flex-direction: column; gap: .4rem; }
.full { grid-column: 1 / -1; }
label { font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
input, select, textarea { width: 100%; min-height: 3.2rem; padding: .8rem .9rem; border: 1px solid #cfc6b9; border-radius: 0; color: var(--ink); background: transparent; font: inherit; }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--gold); outline-offset: 2px; }
.estimate { padding: .8rem 1rem; color: var(--muted); background: var(--paper); font-size: .9rem; }
.estimate.error { color: #8b2e25; background: #faeae7; }
.form-note { margin: 0; color: var(--muted); font-size: .78rem; }

footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 2rem; padding: 2rem 5vw; border-top: 1px solid var(--line); background: var(--paper); font-size: .82rem; }
footer p { margin: 0; color: var(--muted); }
.footer-logo { width: auto; height: 5.5rem; object-fit: contain; filter: brightness(.22) sepia(.18); }
.footer-links { display: flex; justify-content: flex-end; gap: 1.2rem; }
.footer-links a { text-underline-offset: .2em; }

@media (max-width: 920px) {
  .site-header { background: rgba(24,21,18,.55); backdrop-filter: blur(8px); }
  .site-header.scrolled { background: rgba(246,241,232,.96); }
  .menu-button { display: block; }
  nav { position: absolute; top: 100%; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: .7rem 5vw 1.2rem; color: var(--ink); background: var(--paper); border-bottom: 1px solid var(--line); }
  nav.open { display: flex; }
  nav a { padding: .8rem 0; }
  .nav-cta { border: 0; }
  .hero-content { padding-bottom: 13rem; }
  .hero-facts { left: 5vw; right: 5vw; bottom: 2rem; grid-template-columns: repeat(2, 1fr); }
  .hero-facts span { min-width: 0; }
  .intro-grid, .section-heading, .pricing-card, .house-rules, .inquiry, .location-map-section { grid-template-columns: 1fr; }
  .amenity-grid { grid-template-columns: repeat(2, 1fr); }
  .location { grid-template-columns: 1fr; }
  .location-image { min-height: 54vh; }
  .location-panel { padding: 4.5rem 5vw; }
  .surroundings-grid { grid-template-columns: repeat(2, 1fr); }
  .audience-grid { grid-template-columns: repeat(2, 1fr); }
  .calendar-months { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: clamp(260px, 48vw, 420px); }
  .price-box { padding: 2rem 0 0; border-top: 1px solid rgba(24,21,18,.2); border-left: 0; }
  .inquiry-intro { position: static; }
  footer { grid-template-columns: 1fr; text-align: center; }
  .footer-brand, .footer-links { justify-content: center; }
}

@media (max-width: 620px) {
  h1 { font-size: clamp(3rem, 17vw, 5rem); }
  .brand-name { display: none; }
  .hero-content { padding-left: 6vw; padding-right: 6vw; }
  .brand-logo { height: 3.35rem; }
  .site-header.scrolled .brand-logo { height: 3rem; }
  .brand-name { font-size: .96rem; }
  .hero-facts { left: 0; right: 0; bottom: 0; }
  .hero-facts span { padding: .75rem .8rem; }
  .editorial-gallery { grid-template-columns: 1fr; grid-template-rows: repeat(3, 52vh); }
  .gallery-tall { grid-row: auto; }
  .amenity-grid { grid-template-columns: 1fr; }
  .amenity-grid article { min-height: 0; }
  .photo-strip { grid-template-columns: repeat(2, 1fr); height: auto; }
  .photo-strip img { aspect-ratio: 3 / 4; }
  .photo-strip figure:nth-child(even) { margin-top: 0; height: 100%; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: min(120vw, 520px); }
  .gallery-item.wide { grid-column: auto; }
  .surroundings-grid { grid-template-columns: 1fr; }
  .surroundings-grid img { aspect-ratio: 4 / 3; }
  .audience-grid { grid-template-columns: 1fr; }
  .audience-grid article { min-height: 0; }
  .calendar-day { min-height: 2.35rem; font-size: .8rem; }
  .terms-grid { grid-template-columns: 1fr; }
  .booking-form { grid-template-columns: 1fr; }
  .field { grid-column: 1 / -1; }
  .contact-lines a { overflow-wrap: anywhere; }
  .footer-links { flex-wrap: wrap; }
}

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