:root {
  --ivory: #f3eadf;
  --ivory-light: #faf6f0;
  --ink: #171717;
  --plum: #5b2138;
  --plum-deep: #351522;
  --brass: #9f7b43;
  --sage: #667267;
  --line: rgba(23, 23, 23, 0.16);
  --max: 1440px;
  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--ivory-light);
  font-family: var(--sans);
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  transform: translateY(-160%);
  padding: .75rem 1rem;
  background: var(--ink);
  color: white;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 14px clamp(20px, 4vw, 64px);
  background: color-mix(in srgb, var(--ivory-light) 92%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img {
  width: clamp(175px, 20vw, 245px);
  height: auto;
  mix-blend-mode: multiply;
}
.site-nav { display: flex; align-items: center; gap: clamp(1.1rem, 2.4vw, 2.6rem); }
.site-nav a {
  font-size: .72rem;
  letter-spacing: .17em;
  text-transform: uppercase;
  text-decoration: none;
  padding: .5rem 0;
  border-bottom: 1px solid transparent;
}
.site-nav a:hover, .site-nav a:focus-visible { border-color: var(--brass); }
.menu-button {
  display: none;
  border: 0;
  background: transparent;
  padding: .6rem 0;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .72rem;
}

.hero {
  min-height: calc(100svh - 92px);
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  background: var(--ivory);
}
.hero-copy {
  align-self: center;
  padding: clamp(56px, 8vw, 130px) clamp(28px, 7vw, 110px);
}
.eyebrow {
  margin: 0 0 1.4rem;
  color: var(--brass);
  font-size: .72rem;
  letter-spacing: .28em;
  line-height: 1.5;
  text-transform: uppercase;
}
h1, h2, h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
}
h1 {
  max-width: 10ch;
  font-size: clamp(3rem, 6.5vw, 7.5rem);
  line-height: .94;
  letter-spacing: -.05em;
}
.hero-text {
  max-width: 38rem;
  margin: clamp(2rem, 4vw, 3.5rem) 0 2rem;
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.5vw, 1.4rem);
  line-height: 1.65;
}
.text-link {
  display: inline-flex;
  gap: .8rem;
  align-items: center;
  padding-bottom: .45rem;
  border-bottom: 1px solid currentColor;
  text-decoration: none;
  font-size: .76rem;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.hero-media { margin: 0; min-height: 680px; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

.section {
  max-width: var(--max);
  margin-inline: auto;
  padding: clamp(90px, 11vw, 170px) clamp(24px, 5vw, 78px);
}
.section-heading { max-width: 900px; margin-bottom: clamp(48px, 7vw, 100px); }
.section-heading h2, .closing h2 {
  max-width: 13ch;
  font-size: clamp(2.8rem, 6vw, 6.8rem);
  line-height: .98;
  letter-spacing: -.045em;
}
.section-heading > p:last-child {
  max-width: 650px;
  margin: 2rem 0 0;
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  line-height: 1.7;
}

.maison { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(50px, 9vw, 150px); align-items: start; }
.maison .section-heading { margin: 0; }
.maison-body {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: clamp(24px, 4vw, 55px);
  align-items: start;
  padding-top: .4rem;
}
.monogram { width: 120px; aspect-ratio: 1; object-fit: cover; mix-blend-mode: multiply; }
.maison-body p {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.1vw, 2rem);
  line-height: 1.55;
}

.section-dark {
  max-width: none;
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: clamp(42px, 7vw, 120px);
  align-items: center;
  padding-inline: max(clamp(24px, 5vw, 78px), calc((100vw - var(--max))/2 + 78px));
  color: #f7f2ea;
  background: var(--plum-deep);
}
.study-copy h2 { font-size: clamp(3rem, 6vw, 6.2rem); line-height: .98; }
.study-copy > p:not(.eyebrow):not(.caption) {
  max-width: 600px;
  margin: 2rem 0;
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.7vw, 1.45rem);
  line-height: 1.65;
}
.caption { margin: 0; color: #cab9a8; font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; }
.image-button { width: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.study .image-button img { width: 100%; max-height: 820px; object-fit: contain; background: #263e48; }

.garden-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 110px;
  gap: clamp(12px, 1.8vw, 26px);
}
.garden-card { margin: 0; overflow: hidden; grid-column: span 4; grid-row: span 5; }
.garden-card-tall { grid-column: span 5; grid-row: span 8; }
.garden-card-wide { grid-column: span 7; grid-row: span 3; }
.garden-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.garden-card:hover img { transform: scale(1.025); }

.presentation { background: var(--ivory-light); }
.editorial-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(50px, 7vw, 110px) clamp(22px, 3vw, 48px);
}
.editorial-card { display: grid; gap: 24px; align-content: start; }
.editorial-card-large { grid-column: span 2; }
.editorial-card .image-button { overflow: hidden; background: var(--ivory); }
.editorial-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .8s ease; }
.editorial-card-large img { aspect-ratio: 16 / 9; }
.editorial-card:hover img { transform: scale(1.018); }
.card-copy { display: grid; grid-template-columns: 48px 1fr; column-gap: 20px; }
.card-number { grid-row: 1 / span 2; margin: .25rem 0 0; color: var(--brass); font-size: .72rem; letter-spacing: .16em; }
.card-copy h3 { font-size: clamp(1.7rem, 3vw, 3rem); }
.card-copy p:last-child { max-width: 560px; margin: .8rem 0 0; color: #57524d; line-height: 1.65; }

.closing {
  min-height: 78svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: var(--ivory);
}
.closing-mark { width: 110px; height: 110px; object-fit: cover; margin-bottom: 2.5rem; mix-blend-mode: multiply; }
.closing h2 { max-width: 12ch; }

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 34px clamp(24px, 5vw, 78px);
  color: #4b4642;
  border-top: 1px solid var(--line);
  background: var(--ivory-light);
  font-size: .72rem;
  letter-spacing: .16em;
  line-height: 1.6;
  text-transform: uppercase;
}
.site-footer p { margin: 0; }

.lightbox {
  width: min(94vw, 1500px);
  max-width: none;
  max-height: 94vh;
  padding: 54px 18px 18px;
  border: 0;
  background: #111;
}
.lightbox::backdrop { background: rgba(0,0,0,.88); }
.lightbox img { width: 100%; max-height: calc(94vh - 72px); object-fit: contain; }
.lightbox-close {
  position: absolute;
  top: 14px;
  right: 18px;
  border: 0;
  background: transparent;
  color: white;
  text-transform: uppercase;
  letter-spacing: .14em;
  cursor: pointer;
}

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .85s ease, transform .85s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .site-header { min-height: 78px; }
  .menu-button { display: block; }
  .site-nav {
    position: absolute;
    inset: 100% 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 24px 24px;
    background: var(--ivory-light);
    border-bottom: 1px solid var(--line);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 1rem 0; }
  .hero { min-height: auto; grid-template-columns: 1fr; }
  .hero-copy { min-height: 68svh; display: flex; flex-direction: column; justify-content: center; }
  .hero-media { min-height: 72svh; }
  .maison, .section-dark { grid-template-columns: 1fr; }
  .section-dark { padding-inline: clamp(24px, 5vw, 78px); }
  .maison-body { grid-template-columns: 84px 1fr; }
  .monogram { width: 84px; }
  .garden-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 280px; }
  .garden-card, .garden-card-tall, .garden-card-wide { grid-column: auto; grid-row: auto; }
  .garden-card-tall { grid-row: span 2; }
  .garden-card-wide { grid-column: span 2; }
}

@media (max-width: 620px) {
  .brand img { width: 170px; }
  h1 { font-size: clamp(3.1rem, 16vw, 5rem); }
  .hero-media { min-height: 58svh; }
  .section { padding-inline: 20px; }
  .maison-body { grid-template-columns: 1fr; }
  .monogram { width: 72px; }
  .section-dark { padding-inline: 20px; }
  .editorial-grid { grid-template-columns: 1fr; }
  .editorial-card-large { grid-column: auto; }
  .editorial-card-large img, .editorial-card img { aspect-ratio: 4 / 3; }
  .garden-grid { grid-template-columns: 1fr; grid-auto-rows: 430px; }
  .garden-card, .garden-card-tall, .garden-card-wide { grid-column: auto; grid-row: auto; }
  .site-footer { flex-direction: column; }
}

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