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

:root {
  --paper: #f4f1e8;
  --ink: #182018;
  --olive: #687244;
  --muted: #77786f;
  --line: rgba(24, 32, 24, .16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px clamp(20px, 4vw, 60px);
  background: rgba(244,241,232,.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(24,32,24,.08);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 11px;
  font-weight: 500;
}
.brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}
nav { display: flex; gap: 28px; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }
nav a { opacity: .5; transition: opacity .2s ease; }
nav a:hover, nav a.active { opacity: 1; }

.intro {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(90px, 13vw, 180px) 6vw clamp(70px, 10vw, 130px);
}
.eyebrow {
  margin: 0 0 20px;
  color: var(--olive);
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
}
h1, h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  line-height: .9;
  letter-spacing: -.035em;
  margin: 0;
}
.intro h1 { font-size: clamp(60px, 9vw, 132px); max-width: 950px; }
h1 em { font-style: italic; }
.intro-copy {
  max-width: 430px;
  margin: 34px 0 0 2px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 14px;
}

.gallery {
  width: min(1400px, 92vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(10px, 1.4vw, 22px);
}
.photo {
  border: 0;
  padding: 0;
  background: transparent;
  cursor: zoom-in;
  overflow: hidden;
  position: relative;
}
.photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s cubic-bezier(.2,.7,.2,1);
}
.photo:hover img { transform: scale(1.025); }
.photo.tall { grid-column: span 4; aspect-ratio: 3 / 4; }
.photo.wide { grid-column: span 8; aspect-ratio: 3 / 2; }
.photo.square { grid-column: span 4; aspect-ratio: 1; }

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  max-width: 1400px;
  width: 92vw;
  margin: 100px auto 0;
  padding: 24px 0 34px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: .05em;
}
.site-footer a:hover { color: var(--ink); }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(10, 12, 10, .96);
}
.lightbox.open { display: flex; }
.lightbox figure { margin: 0; max-width: 88vw; max-height: 88vh; }
.lightbox figure img {
  display: block;
  max-width: 88vw;
  max-height: 88vh;
  object-fit: contain;
}
.close, .prev, .next {
  position: absolute;
  border: 0;
  background: transparent;
  color: white;
  cursor: pointer;
  font-size: 30px;
  opacity: .75;
}
.close { top: 24px; right: 30px; font-size: 40px; }
.prev { left: 28px; }
.next { right: 28px; }
.close:hover, .prev:hover, .next:hover { opacity: 1; }
.counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.6);
  font-size: 11px;
  letter-spacing: .15em;
}

.about-page { max-width: 1400px; width: 92vw; margin: 0 auto; }
.about-hero {
  min-height: 78vh;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(40px, 8vw, 130px);
  align-items: center;
  padding: clamp(60px, 9vw, 130px) 4vw;
}
.about-image { aspect-ratio: 4 / 5; overflow: hidden; max-height: 760px; }
.about-image img { width: 100%; height: 100%; object-fit: cover; }
.about-copy { max-width: 560px; }
.about-copy h1 { font-size: clamp(65px, 8vw, 120px); margin-bottom: 38px; }
.about-copy p { color: var(--muted); line-height: 1.85; font-size: 15px; }
.about-copy .lead { color: var(--ink); font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(24px, 2.4vw, 34px); line-height: 1.2; }
.about-copy strong { color: var(--ink); font-weight: 500; }
.contact {
  padding: 110px 4vw 70px;
  border-top: 1px solid var(--line);
  max-width: 900px;
}
.contact h2 { font-size: clamp(60px, 8vw, 105px); margin-bottom: 24px; }
.contact > p:not(.eyebrow):not(.small-note) { color: var(--muted); line-height: 1.7; }
.contact-link {
  display: block;
  width: fit-content;
  margin-top: 18px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--ink);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 26px;
}
.small-note { margin-top: 40px; color: var(--muted); font-size: 11px; line-height: 1.6; }

@media (max-width: 700px) {
  .site-header { padding: 12px 16px; }
  .brand span { display: none; }
  .brand img { width: 38px; height: 38px; }
  nav { gap: 18px; font-size: 10px; }
  .intro { padding-top: 90px; }
  .intro h1 { font-size: clamp(55px, 16vw, 90px); }
  .gallery { width: 94vw; grid-template-columns: repeat(2, 1fr); gap: 9px; }
  .photo.tall, .photo.wide, .photo.square { grid-column: span 1; aspect-ratio: 3 / 4; }
  .photo:nth-child(3n) { aspect-ratio: 4 / 5; }
  .site-footer { margin-top: 70px; width: 94vw; }
  .about-hero { display: block; padding: 55px 0 90px; }
  .about-image { max-height: none; margin-bottom: 60px; }
  .about-copy h1 { margin-bottom: 30px; }
  .contact { padding: 80px 0 40px; }
  .lightbox figure, .lightbox figure img { max-width: 94vw; max-height: 80vh; }
  .prev { left: 8px; }
  .next { right: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
