:root {
  --forest: #173f37;
  --forest-deep: #0d2924;
  --sapphire: #2c6788;
  --cream: #f4f0e7;
  --paper: #fbfaf6;
  --sand: #d8c8ad;
  --ink: #1e2421;
  --muted: #66716c;
  --serif: "DM Serif Display", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); line-height: 1.5; }
body.menu-open { overflow: hidden; }
img { display: block; width: 100%; }
a { color: inherit; }
button { font: inherit; }
::selection { background: var(--sapphire); color: white; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 1rem; left: 1rem; z-index: 100; padding: .8rem 1rem; background: white; transform: translateY(-150%); transition: transform .2s; }
.skip-link:focus { transform: none; }

.site-header { position: fixed; z-index: 50; inset: 0 0 auto; height: 94px; display: flex; align-items: center; gap: 3rem; padding: 0 clamp(1.25rem, 4vw, 4.5rem); color: white; transition: background .35s, color .35s, height .35s, box-shadow .35s; }
.site-header.scrolled { height: 76px; color: var(--ink); background: rgba(251,250,246,.94); backdrop-filter: blur(16px); box-shadow: 0 1px rgba(23,63,55,.12); }
.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; margin-right: auto; }
.brand-mark { display: grid; place-items: center; width: 42px; aspect-ratio: 1; border: 1px solid currentColor; border-radius: 50%; font: italic 1.65rem var(--serif); }
.brand-copy { display: grid; line-height: 1.05; }
.brand-copy strong { font-size: .91rem; letter-spacing: .13em; text-transform: uppercase; }
.brand-copy small { margin-top: .3rem; font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; opacity: .75; }
.desktop-nav { display: flex; gap: 2rem; }
.desktop-nav a { font-size: .84rem; text-decoration: none; }
.desktop-nav a, .header-cta { position: relative; }
.desktop-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -.45rem; height: 1px; background: currentColor; transition: right .25s; }
.desktop-nav a:hover::after { right: 0; }
.header-cta { padding: .8rem 1.15rem; border: 1px solid currentColor; text-decoration: none; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; transition: background .2s, color .2s; }
.header-cta:hover { background: white; color: var(--forest); }
.site-header.scrolled .header-cta:hover { background: var(--forest); color: white; }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 11px; border: 0; background: transparent; color: inherit; }
.menu-toggle span:not(.sr-only) { display: block; height: 1px; background: currentColor; margin: 5px 0; transition: transform .2s, opacity .2s; }
.mobile-menu { position: fixed; z-index: 45; inset: 0; display: grid; place-content: center; gap: 1.25rem; background: var(--forest-deep); color: white; transform: translateY(-100%); transition: transform .35s cubic-bezier(.7,0,.2,1); }
.mobile-menu a { font: 2.4rem var(--serif); text-decoration: none; text-align: center; }
.mobile-menu.open { transform: none; }
.mobile-booking { display: none; }

.hero { position: relative; min-height: 100svh; overflow: hidden; color: white; background: var(--forest); }
.hero-image { position: absolute; inset: -4%; background: url("assets/images/property-1.jpg") center 58% / cover no-repeat; transform: scale(1.07); animation: hero-settle 1.8s cubic-bezier(.2,.7,.2,1) forwards; will-change: transform; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,24,20,.78) 0%, rgba(6,24,20,.28) 50%, rgba(6,24,20,.08) 75%), linear-gradient(0deg, rgba(5,20,17,.55), transparent 45%); }
.hero-content { position: relative; z-index: 2; display: flex; min-height: 100svh; flex-direction: column; justify-content: center; align-items: flex-start; max-width: 760px; padding: 8rem clamp(1.25rem, 7vw, 8rem) 8rem; }
.eyebrow { margin: 0 0 1.4rem; font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.hero h1 { max-width: 700px; margin: 0; font: clamp(4.3rem, 9vw, 8.7rem)/.79 var(--serif); letter-spacing: -.045em; }
.hero-intro { max-width: 510px; margin: 2.2rem 0 2rem; font-size: clamp(1rem, 1.5vw, 1.22rem); }
.hero-reveal { opacity: 0; transform: translateY(25px); animation: rise .75s ease forwards; }
.hero-reveal:nth-child(2) { animation-delay: .12s; }
.hero-reveal:nth-child(3) { animation-delay: .24s; }
.hero-reveal:nth-child(4) { animation-delay: .36s; }
.hero-meta { position: absolute; z-index: 2; right: clamp(1.25rem, 4vw, 4.5rem); bottom: 2.7rem; display: flex; gap: 1.4rem; font-size: .69rem; text-transform: uppercase; letter-spacing: .14em; }
.hero-meta span + span::before { content: "·"; margin-right: 1.4rem; }
.scroll-cue { position: absolute; z-index: 3; left: 50%; bottom: 1.6rem; display: grid; justify-items: center; gap: .8rem; color: white; text-decoration: none; transform: translateX(-50%); }
.scroll-cue span { font-size: .58rem; text-transform: uppercase; letter-spacing: .22em; writing-mode: vertical-rl; }
.scroll-cue i { width: 1px; height: 42px; background: linear-gradient(white 50%, rgba(255,255,255,.25) 50%); background-size: 100% 200%; animation: scroll-line 1.8s linear infinite; }

.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 2rem; min-width: 210px; padding: 1rem 1.2rem; text-decoration: none; text-transform: uppercase; letter-spacing: .1em; font-size: .72rem; font-weight: 600; border: 1px solid transparent; transition: transform .2s, background .2s, color .2s; }
.button:hover { transform: translateY(-2px); }
.button-light { background: var(--cream); color: var(--forest-deep); }
.button-dark { background: var(--forest); color: white; }
.button-outline { border-color: rgba(255,255,255,.5); color: white; }
.button-outline:hover { background: white; color: var(--forest); }

.intro-section, .details-section, .gallery-section { padding: clamp(5rem, 10vw, 10rem) clamp(1.25rem, 7vw, 8rem); }
.section-kicker { display: flex; align-items: center; gap: 1.1rem; margin-bottom: clamp(2.5rem, 5vw, 5rem); color: var(--muted); font-size: .68rem; text-transform: uppercase; letter-spacing: .18em; }
.section-kicker::after { content: ""; width: 90px; height: 1px; background: currentColor; opacity: .35; }
.section-kicker span { color: var(--sapphire); }
.section-kicker.light { color: rgba(255,255,255,.68); }
.section-kicker.light span { color: white; }
.intro-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr); gap: 8vw; align-items: end; }
h2 { margin: 0; font: clamp(3rem, 6vw, 6.6rem)/.98 var(--serif); letter-spacing: -.035em; }
h2 em { color: var(--sapphire); font-weight: 400; }
.intro-copy { max-width: 440px; padding-bottom: .5rem; }
.intro-copy p { margin: 0 0 2rem; color: var(--muted); font-size: 1.05rem; }
.text-link { display: inline-flex; gap: 2rem; border-bottom: 1px solid var(--ink); padding-bottom: .4rem; text-decoration: none; font-size: .76rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; }
.text-link span { transition: transform .2s; }
.text-link:hover span { transform: translateX(5px); }

.feature-frame { position: relative; margin: 0 clamp(1.25rem, 4vw, 4.5rem); height: min(78svh, 840px); overflow: hidden; background: var(--forest); }
.feature-frame img { width: 100%; height: 112%; object-fit: cover; object-position: center; transform: translateY(var(--parallax, 0)); }
.feature-caption { position: absolute; left: 0; bottom: 0; display: grid; min-width: min(430px, 90%); padding: 1.5rem 2rem; background: var(--cream); }
.feature-caption span { color: var(--muted); font-size: .65rem; text-transform: uppercase; letter-spacing: .15em; }
.feature-caption strong { margin-top: .25rem; font: 1.35rem var(--serif); font-weight: 400; }

.details-section { background: var(--cream); }
.details-layout { display: grid; grid-template-columns: minmax(280px, .9fr) minmax(400px, 1.1fr); gap: 10vw; align-items: start; }
.sticky-copy { position: sticky; top: 130px; }
.sticky-copy h2 { max-width: 520px; font-size: clamp(3rem, 5vw, 5.6rem); }
.sticky-copy p { max-width: 430px; margin: 2rem 0 0; color: var(--muted); }
.fact-list { margin: 0; border-top: 1px solid rgba(30,36,33,.2); }
.fact-list div { display: grid; grid-template-columns: 110px 1fr; gap: 2rem; padding: 1.45rem 0; border-bottom: 1px solid rgba(30,36,33,.2); }
.fact-list dt { color: var(--muted); font-size: .69rem; text-transform: uppercase; letter-spacing: .15em; }
.fact-list dd { margin: 0; font: 1.5rem var(--serif); }

.gallery-section { background: var(--paper); }
.gallery-heading { display: grid; grid-template-columns: .65fr 1.35fr; gap: 5vw; align-items: start; margin-bottom: 4rem; }
.gallery-heading .section-kicker { margin: 1rem 0 0; }
.gallery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(.7rem, 1.5vw, 1.5rem); }
.gallery-item { position: relative; height: min(64vw, 580px); padding: 0; overflow: hidden; border: 0; cursor: zoom-in; background: var(--forest); }
.gallery-item.gallery-wide { grid-column: 1 / -1; height: min(58vw, 760px); }
.gallery-item img { height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1), filter .4s; }
.gallery-item span { position: absolute; right: 1rem; bottom: 1rem; padding: .65rem .8rem; background: rgba(251,250,246,.9); font-size: .62rem; text-transform: uppercase; letter-spacing: .13em; opacity: 0; transform: translateY(8px); transition: opacity .25s, transform .25s; }
.gallery-item:hover img { transform: scale(1.035); filter: brightness(.82); }
.gallery-item:hover span { opacity: 1; transform: none; }

.location-section { display: grid; grid-template-columns: 1.1fr .9fr; min-height: 780px; background: var(--forest-deep); color: white; }
.location-image { min-height: 600px; overflow: hidden; }
.location-image img { height: 100%; object-fit: cover; filter: saturate(.8) contrast(1.03); }
.location-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(4rem, 8vw, 8rem); }
.location-copy h2 { font-size: clamp(3rem, 5vw, 5.5rem); }
.location-copy p { max-width: 480px; color: rgba(255,255,255,.72); margin: 2rem 0; }
.location-copy ul { list-style: none; padding: 0; margin: 0 0 2.5rem; border-top: 1px solid rgba(255,255,255,.22); }
.location-copy li { padding: .85rem 0; border-bottom: 1px solid rgba(255,255,255,.22); font-size: .83rem; }

.booking-section { display: flex; flex-direction: column; align-items: center; padding: clamp(6rem, 12vw, 12rem) 1.25rem; text-align: center; background: var(--sand); }
.booking-section h2 { max-width: 920px; }
.booking-section h2 em { color: var(--forest); }
.booking-note { max-width: 580px; margin: 2rem auto; color: #4f5b55; }
.booking-section small { margin-top: 1.4rem; color: #53605a; }
.booking-section small a { text-underline-offset: 3px; }

footer { display: grid; grid-template-columns: 1.4fr .7fr .4fr; gap: 3rem; padding: 4rem clamp(1.25rem, 7vw, 8rem) 2rem; background: var(--forest-deep); color: white; }
.footer-brand { display: grid; text-decoration: none; font: 2.2rem/1 var(--serif); }
.footer-brand span { color: rgba(255,255,255,.55); }
footer p { margin: 0 0 .3rem; font-size: .75rem; color: rgba(255,255,255,.6); }
footer > div:last-of-type { display: grid; align-content: start; gap: .5rem; }
footer > div a { font-size: .75rem; }
.copyright { grid-column: 1 / -1; margin-top: 3rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.15); }

.lightbox { width: 100vw; max-width: none; height: 100vh; max-height: none; margin: 0; padding: 3rem; border: 0; background: rgba(5,17,15,.96); }
.lightbox::backdrop { background: rgba(5,17,15,.92); }
.lightbox img { width: 100%; height: 100%; object-fit: contain; }
.lightbox-close { position: fixed; z-index: 2; top: 1.2rem; right: 1.2rem; width: 45px; height: 45px; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; background: transparent; color: white; font-size: 1.8rem; cursor: pointer; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .75s ease, transform .75s cubic-bezier(.2,.65,.25,1); }
.reveal.visible { opacity: 1; transform: none; }

@keyframes hero-settle { to { transform: scale(1); } }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes scroll-line { from { background-position: 0 -100%; } to { background-position: 0 100%; } }

@media (max-width: 900px) {
  .mobile-booking { position: fixed; z-index: 40; right: 1rem; bottom: max(1rem, env(safe-area-inset-bottom)); left: 1rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 58px; padding: .75rem 1rem; color: white; background: rgba(13,41,36,.96); box-shadow: 0 12px 36px rgba(5,20,17,.26); text-decoration: none; transform: translateY(calc(100% + 2rem)); opacity: 0; transition: transform .3s ease, opacity .3s ease; }
  .mobile-booking.active { transform: none; opacity: 1; }
  body.menu-open .mobile-booking { transform: translateY(calc(100% + 2rem)); opacity: 0; }
  .mobile-booking > span { color: rgba(255,255,255,.64); font-size: .64rem; letter-spacing: .08em; text-transform: uppercase; }
  .mobile-booking strong { display: inline-flex; gap: .75rem; font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; }

  .site-header { height: 78px; padding: 0 1.25rem; }
  .desktop-nav, .header-cta { display: none; }
  .menu-toggle { display: block; }
  .brand-copy small { display: none; }
  .hero-content { padding: 7rem 1.25rem 7.4rem; justify-content: flex-end; }
  .hero-shade { background: linear-gradient(90deg, rgba(6,24,20,.84) 0%, rgba(6,24,20,.46) 70%, rgba(6,24,20,.2) 100%), linear-gradient(0deg, rgba(5,20,17,.76), transparent 58%); }
  .hero h1 { max-width: 6.4ch; font-size: clamp(3.75rem, 16vw, 5.7rem); }
  .hero-meta { right: auto; left: 1.25rem; bottom: 2rem; gap: .8rem; }
  .hero-meta span + span::before { margin-right: .8rem; }
  .scroll-cue { display: none; }
  .intro-grid, .details-layout, .gallery-heading, .location-section { grid-template-columns: 1fr; }
  .intro-grid { gap: 2.5rem; }
  .feature-frame { height: 70svh; margin: 0; }
  .sticky-copy { position: static; }
  .details-layout { gap: 4rem; }
  .gallery-heading { gap: 1rem; }
  .gallery-heading .section-kicker { margin: 0 0 1.5rem; }
  .location-image { height: 62svh; min-height: 480px; }
  .location-copy { padding: 5rem 1.25rem; }
  footer { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .brand-mark { width: 36px; }
  .brand-copy strong { font-size: .76rem; }
  .hero-image { background-position: 58% center; }
  .hero h1 { line-height: .86; }
  .hero-intro { max-width: 34rem; margin: 1.5rem 0 1.4rem; font-size: .98rem; }
  .button { min-height: 48px; }
  .hero-meta { right: 1.25rem; display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; width: auto; }
  .hero-meta span + span::before { content: none; }
  .hero-meta { font-size: .56rem; }
  .intro-section, .details-section, .gallery-section { padding: 5rem 1.25rem; }
  .feature-caption { padding: 1rem 1.25rem; }
  .feature-caption strong { font-size: 1rem; }
  .fact-list div { grid-template-columns: 82px 1fr; gap: 1rem; }
  .fact-list dd { font-size: 1.2rem; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item, .gallery-item.gallery-wide { grid-column: auto; height: 78vw; }
  .gallery-item span { opacity: 1; transform: none; }
  .lightbox { padding: 1rem; }
  footer { grid-template-columns: 1fr; }
  .copyright, .footer-brand { grid-column: 1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal, .hero-reveal { opacity: 1; transform: none; }
}
