:root {
  --ink: #19211d;
  --forest: #26322c;
  --forest-2: #33453b;
  --olive: #718b3a;
  --lime: #dfe879;
  --cream: #f5f1e8;
  --sand: #dfd7c6;
  --white: #fff;
  --muted: #687169;
  --line: rgba(25, 33, 29, .16);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shadow: 0 24px 70px rgba(18, 30, 23, .18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #faf9f5; font-family: var(--sans); line-height: 1.6; }
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.section { padding: 116px 0; }
.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; z-index: 2000; left: 12px; top: -50px; padding: 10px 14px; background: var(--lime); color: var(--ink); font-weight: 800; }
.skip-link:focus { top: 12px; }

.eyebrow { margin: 0 0 16px; color: var(--olive); font-size: .73rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.eyebrow.light { color: var(--lime); }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { margin-bottom: 28px; font-weight: 600; letter-spacing: -.045em; line-height: .98; }
h1 { max-width: 850px; color: white; font-size: clamp(3.5rem, 7vw, 7rem); }
h2 { font-size: clamp(2.6rem, 5vw, 5.25rem); }
h1 em, h2 em { font-family: var(--serif); font-weight: 400; }
.lead { font-size: clamp(1.15rem, 2vw, 1.45rem); line-height: 1.55; }

.site-header { position: absolute; z-index: 1000; top: 0; left: 0; width: 100%; color: white; transition: background .25s, box-shadow .25s; }
.site-header.scrolled { position: fixed; background: rgba(30, 42, 35, .96); box-shadow: 0 10px 40px rgba(0,0,0,.18); backdrop-filter: blur(16px); }
.nav-shell { display: flex; width: min(1320px, calc(100% - 48px)); min-height: 92px; margin: auto; align-items: center; justify-content: space-between; gap: 28px; }
.brand { width: 210px; }
.brand img, .footer-brand img { height: auto; filter: brightness(1.25); }
.main-nav { display: flex; align-items: center; gap: 29px; font-size: .78rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.main-nav > a:not(.nav-cta) { position: relative; padding: 12px 0; }
.main-nav > a:not(.nav-cta)::after { position: absolute; right: 0; bottom: 6px; left: 0; height: 1px; background: var(--lime); content: ""; transform: scaleX(0); transform-origin: right; transition: transform .25s; }
.main-nav > a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { padding: 13px 18px; border: 1px solid var(--lime); color: var(--lime); }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 0; background: transparent; cursor: pointer; }
.menu-toggle > span:not(.sr-only) { display: block; height: 2px; margin: 5px 0; background: white; }

.hero { position: relative; display: flex; min-height: 92vh; align-items: flex-end; overflow: hidden; background: var(--forest) url("images/hero.webp") center 52% / cover no-repeat; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,21,17,.45) 0%, rgba(13,21,17,.12) 38%, rgba(13,21,17,.82) 100%), linear-gradient(90deg, rgba(13,21,17,.48), transparent 66%); }
.hero-content { position: relative; z-index: 2; padding-bottom: 88px; }
.hero-copy { max-width: 680px; margin-bottom: 34px; color: rgba(255,255,255,.86); font-size: clamp(1.05rem, 1.8vw, 1.3rem); }
.button-row { display: flex; flex-wrap: wrap; gap: 13px; }
.button { display: inline-flex; min-height: 52px; padding: 0 24px; align-items: center; justify-content: center; border: 1px solid transparent; font-size: .76rem; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; transition: transform .2s, background .2s, border-color .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--lime); color: var(--ink); }
.button-primary:hover { background: #edf3a3; }
.button-ghost { border-color: rgba(255,255,255,.56); color: white; }
.button-ghost:hover { border-color: white; background: rgba(255,255,255,.1); }
.button-outline { border-color: var(--ink); color: var(--ink); }
.hero-card { position: absolute; z-index: 3; right: max(24px, calc((100vw - 1180px) / 2)); bottom: -1px; width: 295px; padding: 28px 30px; background: var(--cream); box-shadow: var(--shadow); }
.hero-card span { display: block; margin-bottom: 10px; color: var(--olive); font-size: .7rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.hero-card strong { display: block; font-family: var(--serif); font-size: 1.35rem; line-height: 1.25; }
.hero-card p { margin: 14px 0 0; color: var(--muted); font-size: .88rem; }
.scroll-cue { position: absolute; z-index: 4; bottom: 22px; left: 50%; width: 26px; height: 42px; border: 1px solid rgba(255,255,255,.6); border-radius: 20px; transform: translateX(-50%); }
.scroll-cue span { position: absolute; top: 8px; left: 50%; width: 4px; height: 4px; border-radius: 50%; background: white; transform: translateX(-50%); animation: scroll 1.8s infinite; }
@keyframes scroll { 0% { opacity: 0; transform: translate(-50%,0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%,16px); } }

.offer { background: var(--lime); }
.offer-inner { display: flex; min-height: 78px; align-items: center; justify-content: space-between; gap: 24px; }
.offer p { margin: 0; }
.offer p span { margin-right: 12px; font-weight: 850; text-transform: uppercase; }
.offer a, .text-link { font-size: .78rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }

.intro { background: var(--cream); }
.intro-grid { display: grid; grid-template-columns: .88fr 1.12fr; align-items: center; gap: clamp(50px, 8vw, 120px); }
.intro-copy p:not(.eyebrow) { max-width: 570px; color: #434c46; }
.intro-copy .text-link { display: inline-block; margin-top: 20px; color: var(--olive); }
.intro-visual { position: relative; }
.intro-visual::before { position: absolute; z-index: 0; right: -24px; top: -24px; width: 65%; height: 62%; border: 1px solid var(--olive); content: ""; }
.intro-visual img { position: relative; z-index: 1; aspect-ratio: 1.18; object-fit: cover; box-shadow: var(--shadow); }
.image-note { position: absolute; z-index: 2; right: -30px; bottom: -30px; min-width: 240px; padding: 22px 26px; background: var(--forest); color: white; }
.image-note small { display: block; color: var(--lime); font-size: .65rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.image-note strong { font-family: var(--serif); font-size: 1.35rem; font-weight: 400; }

.homes { background: #fbfaf6; }
.section-heading { display: grid; margin-bottom: 58px; grid-template-columns: 1.35fr .65fr; align-items: end; gap: 50px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { max-width: 460px; margin-bottom: 8px; color: var(--muted); }
.home-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.home-card { border: 1px solid var(--line); background: white; transition: transform .25s, box-shadow .25s; }
.home-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); }
.home-card.featured { transform: translateY(-22px); }
.home-card.featured:hover { transform: translateY(-29px); }
.home-image { position: relative; display: block; width: 100%; height: 360px; padding: 0; overflow: hidden; border: 0; background: #ddd; cursor: zoom-in; }
.home-image img { height: 100%; object-fit: cover; transition: transform .6s; }
.home-image:hover img { transform: scale(1.04); }
.home-image > span { position: absolute; right: 14px; bottom: 14px; padding: 7px 10px; background: rgba(24,32,28,.83); color: white; font-size: .64rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.home-image-exterior { cursor: default; }
.home-content { padding: 30px; }
.home-content > div { display: flex; align-items: center; gap: 12px; }
.home-content > div p { margin: 0; color: var(--olive); font-size: .68rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.home-number { color: #b2b9b2; font-family: var(--serif); font-size: 1.35rem; font-style: italic; }
.home-content h3 { margin: 16px 0 10px; font-family: var(--serif); font-size: 1.7rem; font-weight: 400; }
.home-content > p { min-height: 77px; color: var(--muted); font-size: .92rem; }
.home-content > strong { color: var(--forest-2); font-size: .86rem; }
.price-note { margin: 20px 0 0; color: var(--muted); font-size: .72rem; }

.amenities { background: var(--forest); color: white; }
.amenity-hero { position: relative; height: min(620px, 68vh); overflow: hidden; }
.amenity-hero::after { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 22%, rgba(19,29,24,.82) 100%); content: ""; }
.amenity-hero img { height: 100%; object-fit: cover; }
.amenity-title { position: absolute; z-index: 2; bottom: 42px; left: 48px; }
.amenity-title h2 { margin: 0; }
.amenity-grid { display: grid; margin-top: 46px; grid-template-columns: repeat(4, 1fr); }
.amenity-grid article { min-height: 210px; padding: 28px 30px; border-left: 1px solid rgba(255,255,255,.18); }
.amenity-grid article:last-child { border-right: 1px solid rgba(255,255,255,.18); }
.amenity-grid span { color: var(--lime); font-family: var(--serif); font-style: italic; }
.amenity-grid h3 { margin: 24px 0 10px; font-family: var(--serif); font-size: 1.45rem; font-weight: 400; }
.amenity-grid p { margin: 0; color: rgba(255,255,255,.66); font-size: .9rem; }

.gallery { background: var(--cream); }
.gallery-heading { align-items: center; }
.gallery-tabs { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.gallery-tab { padding: 12px 16px; border: 1px solid var(--line); background: transparent; color: var(--muted); cursor: pointer; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.gallery-tab.active { border-color: var(--forest); background: var(--forest); color: white; }
.photo-grid { display: grid; height: 720px; grid-template-columns: 1.3fr .7fr .7fr; grid-template-rows: 1fr 1fr; gap: 12px; }
.photo { position: relative; padding: 0; overflow: hidden; border: 0; background: #ccc; cursor: zoom-in; }
.photo::after { position: absolute; right: 14px; bottom: 14px; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.9); color: var(--ink); content: "+"; font-size: 1.3rem; line-height: 32px; text-align: center; opacity: 0; transform: scale(.8); transition: opacity .25s, transform .25s; }
.photo:hover::after { opacity: 1; transform: scale(1); }
.photo img { height: 100%; object-fit: cover; transition: transform .5s; }
.photo:hover img { transform: scale(1.035); }
.photo.large { grid-row: 1 / span 2; }
.photo.wide { grid-column: 2 / span 2; }

.location { background: #fbfaf6; }
.location-grid { display: grid; grid-template-columns: 1.08fr .92fr; align-items: stretch; box-shadow: var(--shadow); }
.location-image img { height: 100%; min-height: 690px; object-fit: cover; }
.contact-panel { padding: clamp(42px, 6vw, 82px); background: white; }
.contact-panel h2 { font-size: clamp(2.4rem, 4vw, 4.2rem); }
.contact-list { display: grid; margin: 42px 0; grid-template-columns: 1fr 1fr; gap: 28px; }
.contact-list > div { padding-top: 16px; border-top: 1px solid var(--line); }
.contact-list small { color: var(--olive); font-size: .65rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.contact-list p { margin: 8px 0 0; font-size: .92rem; }
.contact-list a { font-weight: 800; }

.closing-cta { padding: 100px 0; background: linear-gradient(rgba(27,38,31,.83),rgba(27,38,31,.87)), url("images/facade.webp") center / cover; color: white; text-align: center; }
.closing-cta h2 { margin-inline: auto; }
.centered { justify-content: center; }

.site-footer { padding: 64px 0 28px; background: #141b17; color: rgba(255,255,255,.66); }
.footer-grid { display: grid; grid-template-columns: 260px 1fr auto; align-items: center; gap: 40px; }
.footer-brand { width: 235px; }
.footer-grid p { margin: 0; font-size: .9rem; }
.footer-links { display: flex; gap: 24px; color: white; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.footer-bottom { display: flex; margin-top: 46px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); justify-content: space-between; gap: 24px; font-size: .72rem; }
.footer-bottom p { margin: 0; }
.mobile-cta { display: none; }

.lightbox { width: min(900px, calc(100% - 32px)); max-height: 90vh; padding: 0; overflow: visible; border: 0; background: transparent; }
.lightbox::backdrop { background: rgba(8,13,10,.9); backdrop-filter: blur(8px); }
.lightbox img { max-height: 86vh; object-fit: contain; }
.lightbox-close { position: absolute; z-index: 2; top: -44px; right: 0; width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; background: transparent; color: white; cursor: pointer; font-size: 1.5rem; line-height: 1; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1000px) {
  .main-nav { position: fixed; top: 0; right: 0; display: flex; width: min(390px, 88vw); height: 100dvh; padding: 100px 34px 40px; flex-direction: column; align-items: stretch; gap: 10px; background: var(--forest); box-shadow: -30px 0 60px rgba(0,0,0,.25); transform: translateX(105%); transition: transform .3s; }
  .main-nav.open { transform: translateX(0); }
  .main-nav a { padding: 13px 0; font-size: .86rem; }
  .main-nav .nav-cta { margin-top: 10px; padding-inline: 18px; text-align: center; }
  .menu-toggle { position: relative; z-index: 2; display: block; }
  .hero-card { display: none; }
  .intro-grid { grid-template-columns: 1fr; }
  .intro-copy { max-width: 760px; }
  .intro-visual { width: 92%; margin-left: auto; }
  .home-grid { grid-template-columns: 1fr 1fr; }
  .home-card.featured { transform: none; }
  .home-card.featured:hover { transform: translateY(-7px); }
  .amenity-grid { grid-template-columns: 1fr 1fr; }
  .amenity-grid article:nth-child(3) { border-top: 1px solid rgba(255,255,255,.18); }
  .amenity-grid article:nth-child(4) { border-top: 1px solid rgba(255,255,255,.18); border-right: 1px solid rgba(255,255,255,.18); }
  .photo-grid { height: 600px; }
  .location-grid { grid-template-columns: 1fr; }
  .location-image img { min-height: 430px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { flex-wrap: wrap; }
}

@media (max-width: 720px) {
  body { padding-bottom: 58px; }
  .shell, .nav-shell { width: min(100% - 32px, 1180px); }
  .section { padding: 82px 0; }
  .nav-shell { min-height: 76px; }
  .brand { width: 178px; }
  .hero { min-height: 780px; background-position: 57% center; }
  .hero-content { padding-bottom: 76px; }
  h1 { font-size: clamp(3.25rem, 15vw, 5rem); }
  h2 { font-size: clamp(2.5rem, 12vw, 4rem); }
  .hero-copy { font-size: 1rem; }
  .button-row .button { width: 100%; }
  .scroll-cue { display: none; }
  .offer-inner { padding: 18px 0; flex-direction: column; align-items: flex-start; gap: 6px; }
  .offer p span { display: block; margin: 0; }
  .intro-grid { gap: 56px; }
  .intro-visual { width: calc(100% - 18px); }
  .intro-visual::before { right: -18px; top: -18px; }
  .image-note { right: -18px; bottom: -34px; min-width: 205px; }
  .section-heading { grid-template-columns: 1fr; gap: 22px; }
  .home-grid { grid-template-columns: 1fr; gap: 26px; }
  .home-image { height: 390px; }
  .home-content > p { min-height: 0; }
  .amenity-hero { height: 620px; margin-inline: -16px; }
  .amenity-title { right: 24px; bottom: 28px; left: 24px; }
  .amenity-grid { grid-template-columns: 1fr; }
  .amenity-grid article { min-height: 0; border-right: 1px solid rgba(255,255,255,.18); border-bottom: 1px solid rgba(255,255,255,.18); }
  .gallery-heading { margin-bottom: 36px; }
  .gallery-tabs { justify-content: flex-start; }
  .gallery-tab { flex: 1; }
  .photo-grid { height: auto; grid-template-columns: 1fr 1fr; grid-template-rows: 420px 240px 240px; }
  .photo.large { grid-column: 1 / span 2; grid-row: auto; }
  .photo.wide { grid-column: 1 / span 2; }
  .location { padding-inline: 0; }
  .location .shell { width: 100%; }
  .location-image img { min-height: 360px; }
  .contact-panel { padding: 54px 24px; }
  .contact-list { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .mobile-cta { position: fixed; z-index: 1200; right: 0; bottom: 0; left: 0; display: grid; height: 58px; grid-template-columns: .8fr 1.2fr; box-shadow: 0 -8px 30px rgba(0,0,0,.16); }
  .mobile-cta a { display: flex; align-items: center; justify-content: center; background: var(--forest); color: white; font-size: .75rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
  .mobile-cta a:last-child { background: var(--lime); color: var(--ink); }
}

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