@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Playfair+Display:ital,wght@0,400;0,500;1,400;1,500&display=swap');

:root {
  color-scheme: light;
  --paper: #f4f1eb;
  --paper-deep: #eae5dc;
  --ink: #222320;
  --muted: #777770;
  --line: rgba(34, 35, 32, .17);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", "Segoe UI", sans-serif;
  --gutter: clamp(22px, 6.2vw, 100px);
  --header-height: 82px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 20px); }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 15px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
body:has(dialog[open]) { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
::selection { background: #c5b59b; color: var(--ink); }

.skip-link { position: absolute; z-index: 20; top: 8px; left: 8px; padding: 10px 14px; transform: translateY(-150%); background: var(--paper); }
.skip-link:focus { transform: translateY(0); }
.site-header { position: sticky; z-index: 10; top: 0; display: flex; align-items: center; justify-content: space-between; height: var(--header-height); padding: 0 var(--gutter); background: rgba(244, 241, 235, .96); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.brand, .footer-brand { display: grid; gap: 3px; }
.brand-name, .footer-brand { font-size: 12px; font-weight: 600; letter-spacing: .16em; }
.brand-descriptor, .footer-brand span { color: var(--muted); font-size: 9px; letter-spacing: .15em; }
.primary-navigation { display: flex; align-items: center; gap: clamp(24px, 4vw, 62px); font-size: 12px; }
.primary-navigation a:not(.nav-contact), .site-footer nav a { transition: color .2s ease; }
.primary-navigation a:hover, .site-footer nav a:hover { color: #947f61; }
.nav-contact { display: inline-flex; gap: 18px; align-items: center; padding: 12px 16px; border: 1px solid var(--line); }
.menu-toggle { display: none; }
.section-pad { padding-right: var(--gutter); padding-left: var(--gutter); }
.eyebrow { margin: 0; color: var(--muted); font-size: 10px; font-weight: 500; letter-spacing: .17em; line-height: 1.5; text-transform: uppercase; }

.hero { position: relative; min-height: min(760px, calc(100svh - var(--header-height))); min-height: clamp(600px, calc(100svh - var(--header-height)), 850px); overflow: hidden; background: #55544e; color: #fff; }
.hero-slides, .hero-shade { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 48%; opacity: 0; transition: opacity 1s ease; }
.hero-slide.is-active { opacity: 1; }
.hero-slide:nth-child(2) { object-position: center 56%; }
.hero-shade { background: linear-gradient(90deg, rgba(19, 21, 20, .65) 0%, rgba(19, 21, 20, .28) 50%, rgba(19, 21, 20, .08) 100%), linear-gradient(0deg, rgba(18, 20, 19, .33), transparent 32%); }
.hero-content { position: relative; z-index: 1; display: flex; min-height: inherit; flex-direction: column; align-items: flex-start; justify-content: center; padding: 42px var(--gutter) 72px; }
.hero-eyebrow { color: rgba(255, 255, 255, .75); }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.04em; }
.hero h1 { margin: 24px 0 18px; font-size: clamp(62px, 8.5vw, 124px); line-height: .98; }
h1 em, h2 em { font-weight: 400; }
.hero-copy { max-width: 350px; margin-bottom: 30px; color: rgba(255, 255, 255, .8); font-size: 14px; }
.hero-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 28px; padding: 0 18px; font-size: 11px; transition: background .2s ease, color .2s ease, transform .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-light { background: var(--paper); color: var(--ink); }
.button-light:hover { background: #fff; }
.text-link { display: inline-flex; align-items: center; gap: 16px; border-bottom: 1px solid currentColor; padding-bottom: 6px; font-size: 11px; }
.text-link-light { border-color: rgba(255, 255, 255, .56); }
.hero-controls { position: absolute; z-index: 2; right: var(--gutter); bottom: 45px; display: flex; align-items: center; gap: 20px; }
.slide-dots { display: flex; align-items: center; gap: 10px; }
.slide-dot { width: 25px; height: 4px; padding: 0; border: 0; background: rgba(255,255,255,.4); cursor: pointer; }
.slide-dot.is-active { background: #fff; }
.slide-toggle { padding: 4px 0; border: 0; background: transparent; color: #fff; font-size: 10px; cursor: pointer; }
.hero-scroll { position: absolute; z-index: 2; bottom: 46px; left: var(--gutter); display: flex; align-items: center; gap: 16px; color: rgba(255,255,255,.8); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.hero-index { position: absolute; top: 50%; right: var(--gutter); margin: 0; color: rgba(255,255,255,.85); font-size: 10px; letter-spacing: .12em; writing-mode: vertical-rl; }
.hero-index span { padding: 7px 0; color: rgba(255,255,255,.5); }

.intro { display: grid; grid-template-columns: .8fr 2fr; gap: 4vw; padding-top: 145px; padding-bottom: 150px; }
.section-kicker { display: flex; align-items: center; gap: 20px; padding-top: 12px; }
.rule { width: 55px; height: 1px; background: var(--line); }
.intro-copy h2, .section-heading h2, .about-copy h2 { margin: 0; font-size: clamp(38px, 5.5vw, 76px); line-height: 1.12; }
.intro-copy h2 em, .section-heading h2 em, .about-copy h2 em { color: #87785f; }
.intro-copy p { max-width: 460px; margin: 25px 0 0; color: var(--muted); font-size: 13px; }
.collection { padding-top: 35px; padding-bottom: 120px; background: var(--paper-deep); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 38px; }
.section-heading h2 { margin-top: 11px; font-size: clamp(36px, 4.6vw, 61px); }
.section-aside { max-width: 240px; margin: 0 0 5px; color: var(--muted); font-size: 12px; }
.property-grid { display: grid; grid-template-columns: 1.32fr 1fr 1fr; gap: 15px; align-items: start; }
.property-card { position: relative; min-height: 410px; overflow: hidden; background: #d4d0c7; }
.property-card-large { min-height: 510px; }
.property-card img { width: 100%; height: 100%; min-height: inherit; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.property-card:hover img { transform: scale(1.035); }
.image-caption { position: absolute; right: 0; bottom: 0; left: 0; display: flex; align-items: baseline; gap: 14px; padding: 48px 20px 17px; background: linear-gradient(0deg, rgba(0,0,0,.57), transparent); color: #fff; }
.image-caption span { font-size: 9px; opacity: .8; }
.image-caption h3 { margin: 0; font-family: var(--serif); font-size: 20px; font-weight: 400; }
.editorial-note { margin: 16px 0 0; color: var(--muted); font-size: 10px; }

.locations { padding-top: 120px; padding-bottom: 128px; }
.location-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.location-card { position: relative; display: flex; height: clamp(290px, 34vw, 450px); flex-direction: column; justify-content: flex-end; overflow: hidden; background: #807c74; color: #fff; }
.location-card::after { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.55), transparent 58%), rgba(18,20,19,.08); content: ""; transition: background .3s ease; }
.location-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.location-card:hover img, .location-card:focus-visible img { transform: scale(1.05); }
.location-card:hover::after { background: linear-gradient(0deg, rgba(0,0,0,.62), transparent 66%), rgba(18,20,19,.04); }
.location-number, .location-name, .location-arrow { position: absolute; z-index: 1; }
.location-number { top: 18px; left: 18px; color: rgba(255,255,255,.85); font-size: 10px; }
.location-name { bottom: 21px; left: 18px; max-width: calc(100% - 55px); font-family: var(--serif); font-size: clamp(20px, 2vw, 28px); line-height: 1.12; }
.location-arrow { right: 17px; bottom: 23px; font-size: 13px; }

.about { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 10vw; padding-top: 118px; padding-bottom: 128px; background: var(--paper-deep); }
.about-image-wrap { position: relative; width: min(100%, 540px); justify-self: end; }
.about-image-wrap img { width: 100%; aspect-ratio: 1 / 1.08; object-fit: cover; object-position: center 27%; }
.about-image-caption { position: absolute; right: 14px; bottom: 14px; padding: 9px 12px; background: var(--paper); font-size: 10px; }
.about-image-caption span { color: var(--muted); }
.about-copy { max-width: 490px; }
.about-copy h2 { margin: 18px 0 22px; font-size: clamp(38px, 4.7vw, 65px); }
.about-lead { max-width: 385px; font-family: var(--serif); font-size: 19px; line-height: 1.5; }
.about-detail { max-width: 370px; margin-bottom: 28px; color: var(--muted); font-size: 12px; }

.gallery-section { padding-top: 130px; padding-bottom: 140px; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 180px; gap: 12px; }
.gallery-item { position: relative; min-width: 0; overflow: hidden; padding: 0; border: 0; background: #d4d0c7; cursor: zoom-in; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s cubic-bezier(.2,.7,.2,1); }
.gallery-item:hover img, .gallery-item:focus-visible img { transform: scale(1.04); }
.gallery-item-tall { grid-row: span 2; }
.gallery-item-wide { grid-column: span 2; }
.gallery-open { position: absolute; right: 12px; bottom: 12px; display: grid; width: 32px; height: 32px; place-items: center; background: var(--paper); color: var(--ink); font-size: 13px; opacity: 0; transition: opacity .2s ease; }
.gallery-item:hover .gallery-open, .gallery-item:focus-visible .gallery-open { opacity: 1; }
.lightbox { width: min(92vw, 1200px); max-width: none; max-height: 90vh; padding: 14px; border: 0; background: #171816; }
.lightbox::backdrop { background: rgba(14,15,14,.88); }
.lightbox-image { width: 100%; max-height: calc(90vh - 62px); object-fit: contain; }
.lightbox-close { display: flex; width: 100%; justify-content: flex-end; align-items: center; gap: 12px; margin-bottom: 12px; padding: 0 1px; border: 0; background: transparent; color: #fff; font-size: 11px; cursor: pointer; }
.lightbox-close span { font-size: 21px; line-height: 1; }

.contact { padding-top: 74px; padding-bottom: 70px; background: #ddd6ca; }
.contact-topline, .contact-bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.contact-mark { color: rgba(34,35,32,.35); font-family: var(--serif); font-size: 22px; }
.contact h2 { margin: 64px 0 64px; font-size: clamp(64px, 10vw, 142px); line-height: .98; }
.contact h2 em { color: #87785f; }
.contact-bottom > p { margin: 0 0 5px; color: #5f6059; font-size: 12px; }
.contact-actions { display: flex; align-items: center; gap: 25px; flex-wrap: wrap; }
.button-dark { background: var(--ink); color: #fff; }
.button-dark:hover { background: #44453f; }
.contact-secondary { padding-bottom: 5px; border-bottom: 1px solid var(--line); font-size: 11px; }
.contact-secondary span { margin-left: 8px; }
.site-footer { display: grid; grid-template-columns: 1fr 1fr 2fr auto; align-items: center; gap: 24px; padding: 28px var(--gutter); background: var(--ink); color: var(--paper); }
.footer-brand { width: fit-content; }
.footer-brand span { color: rgba(244,241,235,.55); }
.site-footer > p { margin: 0; color: rgba(244,241,235,.65); font-size: 10px; }
.site-footer nav { display: flex; justify-content: center; gap: clamp(14px, 2vw, 28px); color: rgba(244,241,235,.8); font-size: 10px; }
.footer-copyright { color: rgba(244,241,235,.55); font-size: 9px; white-space: nowrap; }

:focus-visible { outline: 2px solid #9c8058; outline-offset: 4px; }

@media (min-width: 1500px) {
  .hero { max-height: 850px; }
  .property-card { min-height: 480px; }
  .property-card-large { min-height: 570px; }
}

@media (max-width: 900px) {
  :root { --header-height: 72px; }
  .intro { grid-template-columns: .55fr 2fr; padding-top: 110px; padding-bottom: 115px; }
  .property-grid { grid-template-columns: 1.1fr 1fr; }
  .property-card-large { grid-row: span 2; }
  .property-card { min-height: 310px; }
  .property-card-large { min-height: 635px; }
  .location-grid { grid-template-columns: repeat(2, 1fr); }
  .location-card { height: 370px; }
  .about { gap: 6vw; }
  .gallery-grid { grid-auto-rows: 150px; }
  .site-footer { grid-template-columns: 1fr 1fr; }
  .site-footer nav { justify-content: flex-start; }
  .footer-copyright { justify-self: end; }
}

@media (max-width: 640px) {
  :root { --header-height: 68px; --gutter: 22px; }
  .site-header { position: sticky; }
  .menu-toggle { display: flex; align-items: center; gap: 11px; padding: 10px 0 10px 10px; border: 0; background: transparent; font-size: 11px; cursor: pointer; }
  .menu-icon { display: grid; gap: 5px; width: 18px; }
  .menu-icon i { display: block; height: 1px; background: var(--ink); transition: transform .2s ease; }
  .menu-toggle[aria-expanded="true"] .menu-icon i:first-child { transform: translateY(3px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-icon i:last-child { transform: translateY(-3px) rotate(-45deg); }
  .primary-navigation { position: absolute; top: 100%; right: 0; left: 0; display: none; align-items: stretch; gap: 0; padding: 8px var(--gutter) 18px; border-bottom: 1px solid var(--line); background: var(--paper); }
  .primary-navigation.is-open { display: flex; flex-direction: column; }
  .primary-navigation > a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .primary-navigation .nav-contact { justify-content: space-between; margin-top: 12px; padding: 13px; border: 1px solid var(--line); }
  .hero { min-height: 690px; min-height: min(760px, calc(100svh - var(--header-height))); }
  .hero-content { justify-content: center; padding-top: 20px; padding-bottom: 80px; }
  .hero h1 { margin-top: 20px; font-size: clamp(58px, 15vw, 82px); }
  .hero-copy { max-width: 280px; font-size: 13px; }
  .hero-actions { align-items: flex-start; gap: 19px; flex-direction: column; }
  .hero-controls { right: var(--gutter); bottom: 24px; }
  .hero-scroll { bottom: 27px; left: var(--gutter); font-size: 8px; }
  .hero-index { display: none; }
  .intro { display: block; padding-top: 88px; padding-bottom: 92px; }
  .section-kicker { margin-bottom: 26px; }
  .intro-copy h2, .section-heading h2 { font-size: clamp(38px, 10vw, 55px); }
  .intro-copy p { font-size: 12px; }
  .collection, .locations, .gallery-section { padding-top: 82px; padding-bottom: 88px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 17px; margin-bottom: 25px; }
  .section-aside { max-width: 270px; }
  .property-grid { grid-template-columns: 1fr 1fr; gap: 9px; }
  .property-card { min-height: 245px; }
  .property-card-large { min-height: 360px; }
  .property-card:first-child { grid-column: span 2; grid-row: auto; }
  .image-caption { gap: 9px; padding: 36px 12px 12px; }
  .image-caption h3 { font-size: 16px; }
  .image-caption span { font-size: 8px; }
  .location-grid { gap: 9px; }
  .location-card { height: 260px; }
  .location-name { bottom: 15px; left: 12px; font-size: 21px; }
  .location-number { top: 13px; left: 12px; }
  .location-arrow { right: 12px; bottom: 17px; }
  .locations .text-link { font-size: 10px; }
  .about { grid-template-columns: 1fr; gap: 36px; padding-top: 80px; padding-bottom: 88px; }
  .about-image-wrap { width: min(86%, 420px); justify-self: center; }
  .about-copy h2 { font-size: clamp(39px, 10vw, 56px); }
  .about-lead { font-size: 17px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 145px; gap: 8px; }
  .gallery-item-tall { grid-row: span 2; }
  .gallery-item-wide { grid-column: span 1; }
  .gallery-item:nth-child(5) { grid-column: span 2; }
  .gallery-open { width: 28px; height: 28px; opacity: 1; }
  .contact { padding-top: 54px; padding-bottom: 52px; }
  .contact h2 { margin: 55px 0 43px; font-size: clamp(63px, 14vw, 92px); }
  .contact-bottom { align-items: flex-start; flex-direction: column; }
  .contact-actions { align-items: flex-start; gap: 18px 22px; }
  .button-dark { width: 100%; justify-content: space-between; }
  .site-footer { grid-template-columns: 1fr auto; gap: 19px 12px; padding-top: 25px; padding-bottom: 25px; }
  .site-footer > p { grid-column: 1 / -1; grid-row: 2; }
  .site-footer nav { grid-column: 1 / -1; grid-row: 3; flex-wrap: wrap; gap: 12px 20px; }
  .footer-copyright { grid-column: 2; grid-row: 1; }
}

@media (max-width: 380px) {
  .hero h1 { font-size: 55px; }
  .hero-controls { gap: 12px; }
  .slide-dot { width: 19px; }
  .location-card { height: 225px; }
  .location-name { font-size: 19px; }
  .gallery-grid { grid-auto-rows: 122px; }
}

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