:root {
  --ink: #17211d;
  --forest: #173d31;
  --forest-2: #245543;
  --paper: #f5f1e9;
  --white: #fffdf8;
  --copper: #c66d3b;
  --line: rgba(23, 33, 29, 0.16);
  --muted: #5f6964;
  --shadow: 0 24px 70px rgba(23, 33, 29, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
}
body.menu-open { overflow: hidden; }
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 1000;
  background: var(--white);
  padding: .8rem 1rem;
  border-radius: .5rem;
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem clamp(1.2rem, 4vw, 4rem);
  color: var(--white);
}
.site-header.solid {
  position: relative;
  color: var(--ink);
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font-weight: 800;
  letter-spacing: -.04em;
  font-size: 1.25rem;
}
.brand-mark {
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: Georgia, serif;
  font-size: .9rem;
}
.nav { display: flex; align-items: center; gap: 1.6rem; font-weight: 650; }
.nav a { opacity: .86; }
.nav a:hover, .nav a:focus-visible { opacity: 1; }
.nav-cta {
  padding: .72rem 1rem;
  border: 1px solid currentColor;
  border-radius: 999px;
}
.menu-button { display: none; border: 0; background: transparent; color: inherit; font-size: 1.45rem; }

.home-hero {
  min-height: 92vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--ink);
}
.home-panel {
  min-height: 92vh;
  position: relative;
  display: flex;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}
.home-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--image) center/cover no-repeat;
  transform: scale(1.015);
  transition: transform .7s ease;
}
.home-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(10, 19, 16, .9), rgba(10, 19, 16, .06) 62%);
}
.home-panel:hover::before { transform: scale(1.045); }
.home-panel:first-child { border-right: 1px solid rgba(255,255,255,.35); }
.panel-content { color: white; padding: clamp(7rem, 11vw, 11rem) clamp(1.5rem, 5vw, 5rem) clamp(3rem, 7vw, 6.5rem); max-width: 49rem; }
.eyebrow { font-size: .76rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.panel-content h1, .panel-content h2, .property-intro h1, .section-title {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -.045em;
  line-height: .98;
  font-weight: 500;
}
.panel-content h1, .panel-content h2 { font-size: clamp(2.8rem, 5.4vw, 6.1rem); margin: 1rem 0 1.2rem; }
.panel-content p { max-width: 36rem; font-size: 1.08rem; color: rgba(255,255,255,.86); }
.meta-row { display: flex; flex-wrap: wrap; gap: .6rem 1.1rem; margin: 1.5rem 0 2rem; font-weight: 650; }
.meta-row span::before { content: "•"; margin-right: 1.1rem; opacity: .55; }
.meta-row span:first-child::before { display: none; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: .8rem 1.2rem;
  border-radius: .45rem;
  background: var(--copper);
  color: white;
  font-weight: 800;
  border: 1px solid transparent;
  transition: transform .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-2px); background: #ad5830; }
.button.secondary { background: transparent; border-color: currentColor; color: inherit; }

.home-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  padding: clamp(4.5rem, 9vw, 8rem) clamp(1.4rem, 8vw, 9rem);
  background: var(--white);
}
.home-intro .section-title { margin: 0; font-size: clamp(2.5rem, 4.7vw, 5.1rem); }
.intro-copy { max-width: 43rem; }
.intro-copy p { margin-top: 0; color: var(--muted); font-size: 1.1rem; }
.benefits { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
.benefit { background: var(--paper); padding: 2.4rem clamp(1.3rem, 4vw, 4rem); }
.benefit strong { display: block; font-family: Georgia, serif; font-size: 1.45rem; margin-bottom: .35rem; }
.benefit span { color: var(--muted); }

.property-shell { max-width: 1440px; margin: 0 auto; padding: 2.2rem clamp(1.2rem, 4vw, 4rem) 7rem; }
.breadcrumb { font-weight: 750; color: var(--forest-2); margin-bottom: 1.2rem; display: inline-block; }
.property-intro { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 2rem; margin-bottom: 2rem; }
.property-intro h1 { font-size: clamp(2.8rem, 6vw, 6rem); margin: .55rem 0 .85rem; max-width: 18ch; }
.property-intro p { max-width: 45rem; color: var(--muted); font-size: 1.08rem; }
.rating-badge { text-align: right; border-left: 1px solid var(--line); padding-left: 2rem; min-width: 9rem; }
.rating-badge strong { font-family: Georgia, serif; font-size: 2.2rem; display: block; }
.rating-badge span { color: var(--muted); font-size: .88rem; }
.rating-badge-live { min-width: 21rem; }
.rating-widget.ownerrez-widget { min-height: 3.25rem; width: 21rem; }

.gallery-wrap { position: relative; }
.gallery {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: .65rem;
  height: min(67vw, 680px);
  max-height: 680px;
  min-height: 420px;
  border-radius: 1rem;
  overflow: hidden;
  background: #d7d5cf;
}
.gallery button { border: 0; padding: 0; cursor: zoom-in; overflow: hidden; background: #ddd; }
.gallery button:first-child { grid-row: 1 / span 2; }
.gallery img { height: 100%; object-fit: cover; transition: transform .45s ease; }
.gallery button:hover img { transform: scale(1.03); }
.view-all-photos {
  position: absolute;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 2;
  border: 1px solid rgba(23,33,29,.22);
  border-radius: 999px;
  padding: .72rem 1rem;
  background: rgba(255,253,248,.94);
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 28px rgba(23,33,29,.16);
  backdrop-filter: blur(10px);
}
.view-all-photos:hover { background: var(--white); transform: translateY(-1px); }

.property-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(340px, .65fr); gap: clamp(2.5rem, 6vw, 6rem); padding-top: clamp(4rem, 7vw, 6.5rem); }
.property-copy h2 { font: 500 clamp(2.3rem, 4vw, 4rem)/1 Georgia, serif; margin: 0 0 1.5rem; letter-spacing: -.04em; }
.property-copy > p { color: var(--muted); font-size: 1.08rem; max-width: 52rem; }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin: 2.3rem 0 3.3rem; }
.feature { padding: 1.2rem; border: 1px solid var(--line); border-radius: .7rem; background: rgba(255,255,255,.45); }
.feature strong { display: block; margin-bottom: .2rem; }
.feature span { color: var(--muted); font-size: .94rem; }
.detail-band { padding: 2rem 0; border-block: 1px solid var(--line); margin-top: 2rem; }
.detail-band h3 { margin: 0 0 .5rem; font: 500 1.65rem Georgia, serif; }
.detail-band p { margin: 0; color: var(--muted); }

.booking-card { position: sticky; top: 1.5rem; align-self: start; background: var(--white); border: 1px solid var(--line); border-radius: 1rem; box-shadow: var(--shadow); padding: 1.4rem; overflow: hidden; }
.booking-card h2 { font: 500 2rem Georgia, serif; margin: .2rem 0 .3rem; }
.booking-card > p { color: var(--muted); margin: 0 0 1.2rem; }
.booking-card .ownerrez-widget { min-height: 485px; }
.booking-note { display: flex; gap: .55rem; margin-top: 1rem; font-size: .82rem; color: var(--muted); }
.booking-note strong { color: var(--forest); }

.nearby { margin-top: 6rem; background: var(--forest); color: white; border-radius: 1rem; padding: clamp(2rem, 5vw, 4.5rem); }
.nearby h2 { font: 500 clamp(2.3rem,4vw,4.3rem)/1 Georgia,serif; letter-spacing: -.04em; margin: 0 0 2rem; max-width: 15ch; }
.nearby-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: rgba(255,255,255,.18); }
.nearby-item { background: var(--forest); padding: 1.2rem 0; }
.nearby-item strong { display: block; font-size: 1.35rem; }
.nearby-item span { color: rgba(255,255,255,.7); }

.site-footer { background: var(--ink); color: white; padding: 3.5rem clamp(1.2rem, 7vw, 8rem) 2rem; }
.footer-grid { width: min(100%,84rem); margin-inline: auto; display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: start; gap: clamp(3rem,10vw,9rem); }
.footer-grid > div:first-child { max-width: 38rem; }
.footer-title { font: 500 clamp(2.2rem,4vw,3.25rem)/1 Georgia,serif; letter-spacing: -.035em; margin: 0 0 1rem; }
.footer-title + p { max-width: 34rem; margin: 0; color: rgba(255,255,255,.68); line-height: 1.65; }
.footer-links { min-width: 13rem; display: grid; gap: .7rem; padding-left: 2rem; border-left: 1px solid rgba(255,255,255,.18); color: rgba(255,255,255,.75); }
.footer-links strong { margin-bottom: .2rem; color: white; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; }
.footer-links a { width: fit-content; text-underline-offset: .25rem; }
.footer-links a:hover { color: white; text-decoration-color: var(--copper); }
.copyright { width: min(100%,84rem); border-top: 1px solid rgba(255,255,255,.18); margin: 2.75rem auto 0; padding-top: 1.4rem; color: rgba(255,255,255,.55); font-size: .85rem; }

.lightbox { border: 0; padding: 0; max-width: min(94vw, 1200px); background: #0d1512; box-shadow: var(--shadow); }
.lightbox::backdrop { background: rgba(0,0,0,.84); }
.lightbox img { max-height: 86vh; width: auto; max-width: 92vw; }
.lightbox-close { position: absolute; right: .8rem; top: .8rem; width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); cursor: pointer; font-size: 1.35rem; }

.photo-tour {
  width: min(96vw, 1380px);
  max-width: none;
  height: 94vh;
  max-height: none;
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 1rem;
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow);
}
.photo-tour::backdrop { background: rgba(9,15,13,.82); }
.photo-tour[open] { display: flex; flex-direction: column; }
.photo-tour-header {
  position: sticky;
  top: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem clamp(1rem,3vw,2.25rem);
  border-bottom: 1px solid var(--line);
  background: rgba(245,241,233,.94);
  backdrop-filter: blur(16px);
}
.photo-tour-header h2 { margin: .15rem 0 0; font: 500 clamp(1.6rem,3vw,2.5rem)/1 Georgia,serif; letter-spacing: -.035em; }
.photo-tour-close { border: 1px solid var(--line); border-radius: 999px; background: var(--white); padding: .65rem 1rem; font-weight: 800; cursor: pointer; }
.photo-tour-grid {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  grid-auto-rows: max-content;
  align-content: start;
  gap: .7rem;
  padding: clamp(1rem,3vw,2.25rem);
  overflow-y: auto;
}
.photo-tour-grid button { position: relative; padding: 0; border: 0; border-radius: .65rem; overflow: hidden; background: #dedbd4; cursor: zoom-in; aspect-ratio: 4/3; }
.photo-tour-grid img { height: 100%; object-fit: cover; transition: transform .35s ease; }
.photo-tour-grid button:hover img { transform: scale(1.025); }
.photo-tour-grid span { position: absolute; right: .55rem; bottom: .5rem; padding: .22rem .45rem; border-radius: 999px; background: rgba(13,21,18,.72); color: white; font-size: .72rem; font-weight: 750; }

@media (max-width: 900px) {
  .nav { display: none; position: fixed; inset: 0; background: var(--forest); padding: 7rem 2rem 2rem; flex-direction: column; align-items: flex-start; font-size: 1.35rem; color: white; }
  .nav.open { display: flex; }
  .menu-button { display: block; z-index: 2; }
  .home-hero { grid-template-columns: 1fr; }
  .home-panel, .home-hero { min-height: 72vh; }
  .home-panel:first-child { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.35); }
  .home-intro { grid-template-columns: 1fr; gap: 2rem; }
  .benefits { grid-template-columns: 1fr; }
  .property-intro { grid-template-columns: 1fr; align-items: start; }
  .rating-badge { text-align: left; border: 0; padding: 0; }
  .rating-badge-live, .rating-widget.ownerrez-widget { width: min(100%, 21rem); }
  .property-grid { grid-template-columns: 1fr; }
  .booking-card { position: relative; top: 0; grid-row: 1; }
  .nearby-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-links { min-width: 0; padding: 1.5rem 0 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.18); }
  .photo-tour-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 600px) {
  .site-header { padding: 1rem 1.1rem; }
  .panel-content { padding: 7.5rem 1.25rem 2.5rem; }
  .property-shell { padding-inline: 1rem; }
  .gallery { height: 67vh; min-height: 510px; grid-template-columns: 1fr 1fr; grid-template-rows: 2fr 1fr; border-radius: .7rem; }
  .gallery button:first-child { grid-column: 1 / span 2; grid-row: auto; }
  .view-all-photos { right: .7rem; bottom: .7rem; }
  .feature-grid { grid-template-columns: 1fr; }
  .nearby-grid { grid-template-columns: 1fr; }
  .photo-tour { width: 100vw; height: 100vh; border-radius: 0; }
  .photo-tour-grid { grid-template-columns: 1fr; gap: .65rem; padding: .75rem; }
}

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