*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --sand: #f5f0e8; --sand-dark: #ede5d6;
  --terracotta: #c17b4e; --terracotta-light: #d4956d;
  --ink: #1e1a16; --ink-light: #4a4035;
  --sea: #3d6b7a;
  --white: #fdfaf5;
}
html { scroll-behavior: smooth; }
body { font-family: 'Jost', sans-serif; background: var(--white); color: var(--ink); overflow-x: hidden; }

.page { display: none; }
.page.active { display: block; }

/* NAV */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 200; padding: 1.5rem 3rem; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; transition: background .4s, padding .4s; }
nav.scrolled, nav.light { background: rgba(30,26,22,.96); padding: 1rem 3rem; backdrop-filter: blur(8px); }
.nav-brand { display: inline-flex; align-items: center; justify-self: start; width: 190px; cursor: pointer; }
.nav-brand img { display: block; width: 100%; height: auto; }
.nav-links { display: flex; justify-self: center; gap: 2.5rem; list-style: none; }
.nav-links a { font-size: .65rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: rgba(253,250,245,.7); cursor: pointer; transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.language-switch { display: inline-flex; justify-self: end; align-items: center; gap: .25rem; padding: .18rem; border: 1px solid rgba(253,250,245,.28); }
.language-switch button { min-width: 2.6rem; border: 0; background: transparent; color: rgba(253,250,245,.62); padding: .42rem .5rem; font-family: 'Jost', sans-serif; font-size: .62rem; font-weight: 500; letter-spacing: .12em; cursor: pointer; transition: background .2s, color .2s; }
.language-switch button:hover,
.language-switch button.active { background: rgba(253,250,245,.12); color: var(--white); }

/* BUTTONS */
.btn { display: inline-block; padding: .85rem 2.2rem; font-family: 'Jost', sans-serif; font-size: .72rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; transition: all .3s; cursor: pointer; border: none; }
.btn-primary { background: var(--terracotta); color: var(--white); }
.btn-primary:hover { background: var(--terracotta-light); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--white); border: 1px solid rgba(253,250,245,.35); }
.btn-outline:hover { border-color: var(--white); background: rgba(253,250,245,.06); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--ink-light); transform: translateY(-2px); }

.section-label { font-size: .65rem; font-weight: 500; letter-spacing: .35em; text-transform: uppercase; color: var(--terracotta); margin-bottom: 1rem; }
.section-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(2rem,4vw,3rem); font-weight: 300; color: var(--ink); margin-bottom: 3.5rem; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s, transform .8s; }
.reveal.visible { opacity: 1; transform: none; }

/* ── HOME HERO ── */
.hero { position: relative; height: 100vh; min-height: 600px; overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.55); transform: scale(1.04); animation: slowZoom 12s ease forwards; }
.hero-gradient { position: absolute; inset: 0; background: linear-gradient(160deg, rgba(30,26,22,.5) 0%, rgba(30,26,22,.2) 50%, rgba(26,36,40,.5) 100%); }
.hero-content { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 2rem; animation: fadeUp 1.2s ease both; }
.hero-eyebrow { font-size: .7rem; font-weight: 500; letter-spacing: .35em; text-transform: uppercase; color: var(--terracotta-light); margin-bottom: 2rem; }
.hero-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(3rem,8vw,6.5rem); font-weight: 300; line-height: 1.05; color: var(--white); }
.hero-title em { font-style: italic; color: var(--terracotta-light); }
.hero-tagline { font-family: 'Cormorant Garamond', serif; font-size: clamp(1rem,2.5vw,1.4rem); font-weight: 300; font-style: italic; color: rgba(253,250,245,.65); max-width: 520px; margin: 1.8rem auto 2.8rem; line-height: 1.7; }
.hero-ctas { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-scroll { position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: .5rem; color: rgba(253,250,245,.4); font-size: .62rem; letter-spacing: .25em; text-transform: uppercase; animation: fadeUp 1.4s .8s ease both; }
.scroll-line { width: 1px; height: 40px; background: linear-gradient(to bottom, rgba(253,250,245,.4), transparent); animation: scrollPulse 2s infinite; }

/* QUOTE */
.quote-strip { background: var(--terracotta); padding: 3rem 2rem; text-align: center; }
.quote-strip blockquote { font-family: 'Cormorant Garamond', serif; font-size: clamp(1.1rem,3vw,1.6rem); font-weight: 300; font-style: italic; color: var(--white); max-width: 760px; margin: 0 auto; line-height: 1.75; }

/* PROPERTY CARDS */
.properties { padding: 5.5rem 2rem; max-width: 960px; margin: 0 auto; }
.property-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.property-card { position: relative; overflow: hidden; cursor: pointer; display: block; }
.property-img-wrap { position: relative; height: 430px; overflow: hidden; }
.property-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; filter: brightness(.85); }
.property-card:hover .property-img-wrap img { transform: scale(1.05); }
.property-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(30,26,22,.8) 0%, transparent 55%); }
.property-info { position: absolute; bottom: 0; left: 0; right: 0; padding: 2rem; }
.property-location { font-size: .62rem; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: var(--terracotta-light); margin-bottom: .6rem; }
.property-name { font-family: 'Cormorant Garamond', serif; font-size: 2.15rem; font-weight: 300; color: var(--white); margin-bottom: .85rem; line-height: 1.1; }
.property-link { display: inline-flex; align-items: center; gap: .5rem; font-size: .68rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: rgba(253,250,245,.7); transition: color .3s; }
.property-card:hover .property-link { color: var(--white); }
.property-link::after { content: '→'; transition: transform .3s; }
.property-card:hover .property-link::after { transform: translateX(4px); }

/* STORY */
.story-section { max-width: 900px; margin: 0 auto; padding: 7rem 2rem; display: grid; grid-template-columns: 1fr 2fr; gap: 5rem; align-items: start; }
.story-label { font-size: .65rem; letter-spacing: .35em; text-transform: uppercase; color: var(--terracotta); font-weight: 500; padding-top: .3rem; }
.story-text { font-family: 'Cormorant Garamond', serif; font-size: clamp(1.2rem,2.5vw,1.55rem); font-weight: 300; font-style: italic; line-height: 1.75; color: var(--ink-light); }

/* BOOKING */
.booking { background: var(--sand); padding: 6rem 2rem; text-align: center; }
.booking-inner { max-width: 980px; margin: 0 auto; }
.booking-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(2rem,4vw,3rem); font-weight: 300; margin-bottom: 1.2rem; }
.booking-text { font-size: .9rem; font-weight: 300; color: var(--ink-light); line-height: 1.8; margin-bottom: 3rem; }
.booking-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.booking-card { background: var(--white); border: 1px solid var(--sand-dark); padding: 2rem 1.5rem; text-align: left; transition: border-color .3s, transform .3s; }
.booking-card:hover { border-color: var(--terracotta); transform: translateY(-3px); }
.booking-card-name { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 400; margin-bottom: .5rem; }
.booking-card-loc { font-size: .65rem; letter-spacing: .2em; text-transform: uppercase; color: var(--terracotta); margin-bottom: 1.2rem; font-weight: 500; }
.bc-links { display: flex; flex-direction: column; gap: .6rem; }
.bc-links a { display: inline-block; font-size: .65rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--ink); padding-bottom: 2px; transition: color .2s, border-color .2s; width: fit-content; cursor: pointer; }
.bc-links a:hover { color: var(--terracotta); border-color: var(--terracotta); }
.bc-links .secondary { color: var(--ink-light); border-color: var(--sand-dark); font-size: .6rem; }
.bc-links .secondary:hover { color: var(--sea); border-color: var(--sea); }

/* ── INNER HERO ── */
.inner-hero { position: relative; height: 70vh; min-height: 500px; display: flex; align-items: flex-end; overflow: hidden; }
.inner-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.6); }
.inner-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(30,26,22,.85) 0%, rgba(30,26,22,.15) 65%, transparent 100%); }
.inner-hero-content { position: relative; padding: 4rem 5vw; max-width: 900px; }
.inner-hero-back { font-size: .62rem; font-weight: 500; letter-spacing: .25em; text-transform: uppercase; color: rgba(253,250,245,.5); margin-bottom: 1.5rem; cursor: pointer; display: inline-block; transition: color .2s; }
.inner-hero-back:hover { color: var(--white); }
.inner-hero-eyebrow { font-size: .65rem; letter-spacing: .3em; text-transform: uppercase; color: var(--terracotta-light); margin-bottom: .8rem; }
.inner-hero-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(3rem,7vw,5.5rem); font-weight: 300; color: var(--white); line-height: 1.05; }
.inner-hero-title em { font-style: italic; color: var(--terracotta-light); }

/* PROP UNITS */
.inner-body { max-width: 1100px; margin: 0 auto; padding: 5rem 2rem; }
.prop-unit { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; margin-bottom: 5rem; padding-bottom: 5rem; border-bottom: 1px solid var(--sand-dark); }
.prop-unit:last-of-type { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.prop-unit.reverse { direction: rtl; }
.prop-unit.reverse > * { direction: ltr; }
.prop-media { display: flex; flex-direction: column; gap: .9rem; align-items: flex-start; width: 100%; }
.prop-img { width: 100%; height: 420px; overflow: hidden; }
.prop-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.prop-img:hover img { transform: scale(1.03); }
.prop-carousel { position: relative; width: 100%; }
.prop-carousel-main { display: block; width: 100%; height: 420px; padding: 0; border: 0; background: var(--sand); overflow: hidden; cursor: zoom-in; }
.prop-carousel-main img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.prop-carousel-main:hover img { transform: scale(1.03); }
.prop-carousel-nav { position: absolute; top: 210px; transform: translateY(-50%); width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.72); background: rgba(20,20,20,.42); color: var(--white); font-size: 2rem; line-height: 1; cursor: pointer; display: grid; place-items: center; transition: background .25s, transform .25s; }
.prop-carousel-nav:hover { background: rgba(20,20,20,.68); transform: translateY(-50%) scale(1.04); }
.prop-carousel-prev { left: .75rem; }
.prop-carousel-next { right: .75rem; }
.prop-carousel-thumbs { width: 100%; display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; margin-top: .65rem; }
.prop-carousel-thumb { height: 74px; padding: 0; border: 2px solid transparent; background: var(--sand); cursor: pointer; overflow: hidden; opacity: .68; transition: opacity .2s, border-color .2s; }
.prop-carousel-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.prop-carousel-thumb.active,
.prop-carousel-thumb:hover { opacity: 1; border-color: var(--terracotta); }
.prop-details { display: flex; flex-direction: column; gap: 1.5rem; padding-top: 1rem; }
.prop-unit-name { font-family: 'Cormorant Garamond', serif; font-size: clamp(1.8rem,3vw,2.5rem); font-weight: 300; line-height: 1.2; }
.prop-unit-name em { font-style: italic; }
.prop-meta { display: flex; flex-direction: column; gap: .7rem; }
.prop-meta-row { display: flex; gap: .8rem; align-items: baseline; }
.prop-meta-label { font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; color: var(--terracotta); font-weight: 500; min-width: 80px; flex-shrink: 0; }
.prop-meta-value { font-size: .85rem; color: var(--ink-light); line-height: 1.5; }
.prop-description { font-family: 'Cormorant Garamond', serif; font-size: 1.15rem; font-weight: 300; font-style: italic; line-height: 1.7; color: var(--ink-light); border-left: 2px solid var(--terracotta); padding-left: 1.2rem; }
.prop-book-actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; margin-top: .5rem; }
.prop-book-btn { align-self: flex-start; }
.prop-book-actions .btn-outline { color: var(--terracotta); border-color: var(--terracotta); }
.prop-book-actions .btn-outline:hover { color: var(--white); background: var(--terracotta); border-color: var(--terracotta); }

/* HOME WAYFINDER */
.home-wayfinder { max-width: 560px; margin: -2rem auto 0; padding: 0 2rem 4rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }
.home-wayfinder button { background: var(--white); border: 1px solid var(--sand-dark); color: var(--ink); padding: 1rem; font-family: 'Jost', sans-serif; font-size: .68rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; cursor: pointer; transition: border-color .25s, color .25s, transform .25s; }
.home-wayfinder button:hover { border-color: var(--terracotta); color: var(--terracotta); transform: translateY(-2px); }

/* PROPERTY IMAGE MODAL */
.property-gallery-overlay { position: fixed; inset: 0; z-index: 1001; display: none; align-items: center; justify-content: center; padding: 1rem; background: rgba(10, 8, 6, .78); }
.property-gallery-overlay.open { display: flex; }
.property-gallery-modal { position: relative; width: min(1120px, 96vw); max-height: 94vh; overflow: auto; background: var(--white); border-radius: 8px; padding: 1.5rem; box-shadow: 0 24px 80px rgba(0,0,0,.34); }
.property-gallery-close { position: absolute; top: 1rem; right: 1rem; width: 38px; height: 38px; border: 0; background: var(--ink); color: var(--white); font-size: 1.6rem; line-height: 1; cursor: pointer; }
.property-gallery-header { padding-right: 3rem; margin-bottom: 1.2rem; }
.property-gallery-header p { font-size: .65rem; letter-spacing: .24em; text-transform: uppercase; color: var(--terracotta); margin-bottom: .35rem; }
.property-gallery-header h2 { font-family: 'Cormorant Garamond', serif; font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 300; margin: 0; }
.property-gallery-description { max-width: 680px; margin-top: .6rem; color: var(--ink-light); font-size: .9rem; line-height: 1.6; }
.property-gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .65rem; }
.property-gallery-item { display: block; aspect-ratio: 4/3; border: 0; padding: 0; background: var(--sand); overflow: hidden; cursor: pointer; }
.property-gallery-item:first-child { grid-column: span 2; grid-row: span 2; }
.property-gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .45s, filter .45s; filter: brightness(.94); }
.property-gallery-item:hover img { transform: scale(1.04); filter: brightness(1); }
.property-gallery-empty { color: var(--ink-light); padding: 2rem 0; }

/* GALLERY GRID */
.gallery-section { padding: 4rem 2rem 5rem; max-width: 1200px; margin: 0 auto; }
.gallery-section .section-label { margin-bottom: .5rem; }
.gallery-section .section-title { margin-bottom: 2rem; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; }
.gallery-item { aspect-ratio: 1; overflow: hidden; cursor: pointer; position: relative; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s, filter .5s; filter: brightness(.9); }
.gallery-item:hover img { transform: scale(1.06); filter: brightness(1); }
.gallery-item.wide { grid-column: span 2; aspect-ratio: 2/1; }
.gallery-item.tall { grid-row: span 2; aspect-ratio: 1/2; }

/* HIGHLIGHTS */
.highlights-strip { background: var(--sand); padding: 4rem 2rem; }
.highlights-grid { max-width: 900px; margin: 0 auto; display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.highlight-item { text-align: center; padding: 2rem 1rem; }
.highlight-icon { font-size: 2rem; margin-bottom: .8rem; }
.highlight-title { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; font-weight: 400; margin-bottom: .5rem; }
.highlight-text { font-size: .8rem; color: var(--ink-light); line-height: 1.6; }

/* STORY */
.inner-story { background: var(--sand); padding: 6rem 2rem; }
.inner-story-inner { max-width: 760px; margin: 0 auto; }
.inner-story-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(2rem,4vw,3rem); font-weight: 300; font-style: italic; margin-bottom: 3rem; }
.inner-story p { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; font-weight: 300; line-height: 1.85; color: var(--ink-light); margin-bottom: 1.8rem; }
.inner-story p em { font-style: italic; }
.inner-story .author { font-family: 'Jost', sans-serif; font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; color: var(--terracotta); margin-top: 2rem; }

/* CONTACTS */
.contacts-band { background: var(--ink); padding: 4rem 2rem; text-align: center; }
.contacts-band-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(1.5rem,3vw,2.2rem); font-weight: 300; color: var(--white); margin-bottom: 2rem; }
.contact-items { display: flex; gap: 4rem; justify-content: center; flex-wrap: wrap; }
.contact-item-label { font-size: .6rem; letter-spacing: .3em; text-transform: uppercase; color: var(--terracotta-light); margin-bottom: .5rem; }
.contact-item-value { font-size: .9rem; color: rgba(253,250,245,.8); line-height: 1.7; }
.contact-item-value a { color: inherit; text-decoration: none; transition: color .2s; }
.contact-item-value a:hover { color: var(--white); }

.back-band { padding: 2.5rem 2rem; display: flex; justify-content: center; }

footer { background: var(--ink); padding: 3rem 2rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-brand { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; font-weight: 300; color: var(--white); letter-spacing: .05em; }
.footer-copy { font-size: .65rem; color: rgba(253,250,245,.35); }
.footer-links a { font-size: .65rem; letter-spacing: .15em; text-transform: uppercase; color: rgba(253,250,245,.45); cursor: pointer; text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: var(--white); }

/* ── LIGHTBOX ── */
.lightbox { position: fixed; inset: 0; z-index: 10000; background: rgba(10,8,6,.95); display: none; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox-img { max-width: 90vw; max-height: 88vh; object-fit: contain; animation: fadeUp .3s ease; }
.lightbox-close { position: absolute; top: 1.5rem; right: 2rem; font-size: 1.8rem; color: rgba(253,250,245,.6); cursor: pointer; transition: color .2s; line-height: 1; }
.lightbox-close:hover { color: var(--white); }
.lightbox-prev, .lightbox-next { position: absolute; top: 50%; transform: translateY(-50%); font-size: 2rem; color: rgba(253,250,245,.5); cursor: pointer; transition: color .2s; padding: 1rem; user-select: none; }
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }
.lightbox-prev:hover, .lightbox-next:hover { color: var(--white); }
.lightbox-counter { position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%); font-size: .65rem; letter-spacing: .2em; color: rgba(253,250,245,.4); text-transform: uppercase; }

@keyframes fadeUp { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:translateY(0); } }
@keyframes scrollPulse { 0%,100%{opacity:.4} 50%{opacity:.9} }
@keyframes slowZoom { from { transform:scale(1.04); } to { transform:scale(1); } }

@media (max-width:900px) {
  .property-grid, .booking-cards { grid-template-columns: 1fr; }
  .home-wayfinder { grid-template-columns: repeat(2, 1fr); margin-top: 0; padding-bottom: 3rem; }
  .property-gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .property-gallery-item:first-child { grid-column: span 2; grid-row: span 1; }
  .property-img-wrap { height: 380px; }
  .story-section { grid-template-columns: 1fr; gap: 2rem; padding: 4rem 1.5rem; }
  nav, nav.light, nav.scrolled { padding: 1rem 1.5rem; gap: 1rem; }
  .nav-brand { width: 150px; }
  .nav-links { gap: 1.1rem; }
  .nav-links a { font-size: .58rem; letter-spacing: .16em; }
  .language-switch button { min-width: 2.35rem; padding: .36rem .38rem; font-size: .56rem; }
  footer { flex-direction: column; text-align: center; }
  .prop-unit { grid-template-columns: 1fr; gap: 2rem; }
  .prop-unit.reverse { direction: ltr; }
  .prop-img { height: 260px; }
  .prop-carousel-main { height: 260px; }
  .prop-carousel-nav { top: 130px; width: 36px; height: 36px; }
  .prop-carousel-thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .35rem; }
  .prop-carousel-thumb { height: 58px; }
  .highlights-grid { grid-template-columns: 1fr; }
  .inner-hero-content { padding: 3rem 1.5rem; }
  .contact-items { flex-direction: column; gap: 2rem; align-items: center; }
  .gallery-grid { grid-template-columns: repeat(2,1fr); }
  .gallery-item.wide { grid-column: span 2; }
  .gallery-item.tall { grid-row: span 1; aspect-ratio: 1; }
}

@media (max-width:640px) {
  nav, nav.light, nav.scrolled { display: flex; align-items: flex-start; flex-wrap: wrap; }
  .nav-brand { width: 145px; }
  .nav-links { order: 3; width: 100%; justify-content: center; gap: 1.35rem; padding-top: .35rem; }
  .language-switch { margin-left: auto; }
}
