@font-face {
  font-family: "Instrument Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/instrument-serif.woff2) format("woff2");
}
@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/instrument-serif-italic.woff2) format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/fonts/inter-variable.woff2) format("woff2");
}

:root {
  --burgundy: #4a081e;
  --cream: #faf7f0;
  --grey: #6d6b64;
  --charcoal: #1d1d1b;
  --sage: #c9e1bd;
  --pad: clamp(1.25rem, 3vw, 2rem);
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); font-size: 1rem; line-height: 1.6; color: var(--burgundy); background: var(--cream); }
a { color: inherit; }
em, i { font-style: italic; }
h1, h2, h3, p, ul, dl, dd { margin: 0; }
ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }

.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 999; background: #fff; padding: .5rem 1rem; }

.wrap { max-width: 1920px; margin: 0 auto; padding: 0 var(--pad); }
.bg-cream { background: var(--cream); }
.bg-white { background: #fff; }
.bg-burgundy { background: var(--burgundy); color: var(--cream); }
.muted { color: var(--grey); }
.center { text-align: center; }

.display { font-family: var(--serif); font-weight: 400; line-height: 1.08; letter-spacing: -0.01em; font-size: clamp(1.75rem, 4.2vw, 4rem); }
.display em { font-style: italic; }
.eyebrow { display: block; margin-bottom: 1.25rem; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }

/* Placeholder imagery: swap for real photos */
.ph { background-size: cover; background-position: center; }
.ph-1 { background: linear-gradient(160deg, #2c3a2a 0%, #6f8564 55%, #b9c9a8 100%); }
.ph-2 { background: linear-gradient(160deg, #4a3526 0%, #b08a5f 55%, #e6cfa8 100%); }
.ph-3 { background: linear-gradient(160deg, #1f3040 0%, #5f86a3 55%, #bcd2e0 100%); }
.ph-4 { background: linear-gradient(160deg, #2a2a2a 0%, #77736a 55%, #cdc8bb 100%); }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Nav */
.main-nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  color: var(--cream);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}
.main-nav.solid { background: var(--cream); color: var(--burgundy); border-color: rgba(74, 8, 30, .12); }
.main-nav__inner { height: 72px; display: flex; align-items: center; gap: 2.5rem; padding: 0 var(--pad); max-width: 1920px; margin: 0 auto; }
.main-nav__logo { text-decoration: none; font-family: var(--serif); font-size: 1.5rem; line-height: 1; white-space: nowrap; }
.main-nav__logo span { font-style: italic; }
.main-nav__menu { display: flex; gap: 2rem; margin-left: auto; }
.main-nav__menu a { text-decoration: none; font-size: .95rem; }
.main-nav__menu a:hover { text-decoration: underline; text-underline-offset: 4px; }
.main-nav__contact { text-decoration: none; font-size: .9rem; padding: .6rem 1.5rem; border: 1px solid currentColor; border-radius: 999px; transition: background-color .2s, color .2s; }
.main-nav__contact:hover { background: var(--cream); color: var(--burgundy); }
.main-nav.solid .main-nav__contact:hover { background: var(--burgundy); color: var(--cream); }
.main-nav__toggle { display: none; width: 2.5rem; height: 2.5rem; position: relative; }
.main-nav__toggle span { position: absolute; left: .6rem; right: .6rem; height: 1.5px; background: currentColor; }
.main-nav__toggle span:first-child { top: 1.05rem; }
.main-nav__toggle span:last-child { top: 1.45rem; }
.main-nav__drawer { background: var(--cream); color: var(--burgundy); padding: 1rem var(--pad) 2rem; display: flex; flex-direction: column; }
.main-nav__drawer[hidden] { display: none; }
.main-nav__drawer a { font-family: var(--serif); font-size: 2rem; text-decoration: none; padding: .35rem 0; }

/* Hero */
.hero { position: relative; height: 100vh; min-height: 40rem; color: var(--cream); overflow: hidden; background: var(--charcoal); }
.hero__slides, .hero__slide { position: absolute; inset: 0; }
.hero__slide { opacity: 0; transition: opacity 1.4s ease; }
.hero__slide > img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.hero__slide.is-active { opacity: 1; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(29, 29, 27, .55), rgba(29, 29, 27, 0) 55%); }
.hero__content { position: absolute; left: var(--pad); right: var(--pad); bottom: 6rem; max-width: 1920px; }
.hero__titles { font-family: var(--serif); font-weight: 400; font-size: clamp(2.75rem, 8vw, 8rem); line-height: .98; letter-spacing: -0.02em; }
.hero__titles span { display: block; }
.hero__desc { margin-top: 1.5rem; font-size: 1.1rem; max-width: 30rem; }
.hero__arrow { position: absolute; left: 50%; bottom: 1.5rem; transform: translateX(-50%); animation: bob 2.4s ease-in-out infinite; }
@keyframes bob { 50% { transform: translate(-50%, 8px); } }

/* Text with stats */
.text-stats { padding: clamp(4rem, 9vw, 8rem) 0; }
.text-stats__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(2rem, 6vw, 7rem); align-items: end; }
.text-stats p { margin-top: 2rem; max-width: 34rem; font-size: 1.1rem; }
.stats { display: grid; gap: 2rem; }
.stats > div { border-top: 1px solid rgba(74, 8, 30, .25); padding-top: 1rem; }
.stats dt { font-family: var(--serif); font-size: clamp(3rem, 6vw, 5.5rem); line-height: 1; }
.stats dd { color: var(--grey); font-size: .9rem; margin-top: .25rem; }

/* Feature text */
.feature-text { padding: clamp(4rem, 9vw, 7rem) 0; }
.feature-text .display { max-width: 62rem; margin: 0 auto; }
.feature-text p { max-width: 34rem; margin: 2rem auto 0; }

/* Full-width carousel */
.fw { position: relative; min-height: 48rem; aspect-ratio: 1920 / 1200; max-height: 100vh; background: var(--charcoal); color: #fff; overflow: hidden; }
.fw__slides, .fw__slide, .fw__shade { position: absolute; inset: 0; }
.fw__slide { opacity: 0; transition: opacity .9s ease; }
.fw__slide.is-active { opacity: 1; }
.fw__shade { background: linear-gradient(to right, rgba(29, 29, 27, .55), rgba(29, 29, 27, 0) 60%); }
.fw__panel { position: absolute; left: var(--pad); right: var(--pad); bottom: 3rem; display: flex; justify-content: space-between; align-items: end; gap: 2rem; flex-wrap: wrap; }
.fw__desc { max-width: 26rem; }
.fw__idx { font-size: .85rem; letter-spacing: .1em; }
.fw__desc p { margin-top: .5rem; font-size: 1.1rem; }
.fw__tabs { display: flex; flex-direction: column; align-items: flex-start; }
.fw__tabs button { font-family: var(--serif); font-size: clamp(2rem, 4.5vw, 4rem); line-height: 1.1; color: rgba(255, 255, 255, .5); transition: color .25s; text-align: left; }
.fw__tabs button:hover, .fw__tabs button.is-active { color: #fff; }

/* Property carousel */
.props { padding: clamp(3.5rem, 7vw, 6rem) 0; overflow: hidden; }
.props__head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 2.5rem; flex-wrap: wrap; }
.props__head .display { max-width: 38rem; }
.props__ctrl { display: flex; align-items: center; gap: 1rem; }
.props__count { font-variant-numeric: tabular-nums; color: var(--grey); margin-right: .5rem; }
.props__ctrl button { color: var(--grey); padding: .5rem; transition: color .2s; }
.props__ctrl button:last-child { color: var(--burgundy); }
.props__ctrl button:hover { color: var(--burgundy); }
.props__track { display: flex; gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 0 var(--pad); align-items: flex-start; }
.props__track::-webkit-scrollbar { display: none; }
.pcard { flex: 0 0 min(30rem, 78vw); scroll-snap-align: start; text-decoration: none; }
.pcard--wide { flex-basis: min(46rem, 88vw); }
.pcard .ph { aspect-ratio: 4 / 5; margin-bottom: 1rem; }
.pcard--wide .ph { aspect-ratio: 3 / 2; }
.pcard h3 { font-family: var(--serif); font-weight: 400; font-size: 1.75rem; line-height: 1.15; }
.pcard p { color: var(--grey); font-size: .9rem; margin-top: .2rem; }

/* Media with text */
.media { padding: clamp(4rem, 9vw, 8rem) 0; }
.media__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: stretch; }
.media__left { display: flex; flex-direction: column; justify-content: space-between; gap: 3rem; }
.media__left p { max-width: 30rem; opacity: .9; }
.media__img { min-height: 28rem; }
.link-arrow { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: .15rem; align-self: flex-start; }

/* CTA */
.cta { position: relative; min-height: 36rem; display: flex; align-items: center; color: #fff; overflow: hidden; }
.cta__img, .cta__shade { position: absolute; inset: 0; }
.cta__shade { background: rgba(29, 29, 27, .45); }
.cta__content { position: relative; padding: 4rem var(--pad); max-width: 1920px; margin: 0 auto; width: 100%; }
.cta .display { max-width: 56rem; font-size: clamp(2rem, 5.5vw, 5rem); margin-bottom: 2.5rem; }
.btn { display: inline-flex; align-items: center; gap: .75rem; padding: .85rem 1.75rem; border: 1px solid currentColor; border-radius: 999px; text-decoration: none; transition: background-color .2s, color .2s; }
.btn:hover { background: #fff; color: var(--burgundy); }

/* Footer */
.footer { background: var(--burgundy); color: #fff; }
.footer__inner { max-width: 1920px; margin: 0 auto; padding: 4rem var(--pad) 2.5rem; display: grid; grid-template-columns: 1fr min(560px, 40%); gap: 3rem; align-content: space-between; }
.footer__wordmark { font-family: var(--serif); font-size: clamp(3.5rem, 11vw, 11rem); line-height: .92; letter-spacing: -0.02em; text-decoration: none; color: var(--cream); }
.footer__wordmark em { font-style: italic; }
.footer__right { display: flex; flex-direction: column; gap: 2rem; }
.footer__main { display: grid; gap: .25rem; }
.footer__main a { font-family: var(--serif); font-size: 2rem; text-decoration: none; }
.footer__main a:hover { text-decoration: underline; text-underline-offset: 5px; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 1.5rem; font-size: .85rem; }
.footer__right p { font-size: .8rem; opacity: .7; }

@media (max-width: 62rem) {
  .main-nav__menu, .main-nav__contact { display: none; }
  .main-nav__toggle { display: block; margin-left: auto; }
  .text-stats__grid, .media__grid, .footer__inner { grid-template-columns: 1fr; }
  .fw { min-height: 42rem; aspect-ratio: auto; }
  .fw__panel { flex-direction: column; align-items: flex-start; }
  .media__img { min-height: 18rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__arrow { animation: none; }
  .hero__slide, .fw__slide { transition: none; }
}
