:root {
  --paper: #f5f4f0;
  --ink: #171715;
  --muted: #77756f;
  --line: rgba(23,23,21,.16);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: Inter, system-ui, sans-serif; font-weight: 300;
}
a { color: inherit; text-decoration: none; }
button { color: inherit; }

.site-header {
  position: fixed; z-index: 30; top: 0; left: 0; right: 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 4vw; background: rgba(245,244,240,.72);
  backdrop-filter: blur(10px);
}
.brand { font-size: 13px; letter-spacing: .2em; font-weight: 500; }
.nav { display: flex; gap: 26px; font-size: 11px; text-transform: uppercase; letter-spacing: .12em; }
.nav a:hover { opacity: .5; }
.menu-toggle { display: none; background: none; border: 0; font-size: 11px; letter-spacing: .14em; }

.hero {
  position: relative; height: 100svh; min-height: 620px;
  background: #111; overflow: hidden;
}
.hero-slides, .hero-slide { position: absolute; inset: 0; margin: 0; }
.hero-slide { opacity: 0; transition: opacity 1.8s ease; }
.hero-slide.is-active { opacity: 1; }
.hero-slide img {
  width: 100%; height: 100%; display: block;
  object-fit: cover; object-position: center;
}
.hero-credit {
  position: absolute; left: 4vw; bottom: 28px; z-index: 3;
  color: rgba(255,255,255,.85); font-size: 9px; letter-spacing: .18em;
}
.hero-dots {
  position: absolute; right: 4vw; bottom: 28px; z-index: 3;
  display: flex; gap: 9px;
}
.dot {
  width: 7px; height: 7px; border-radius: 50%; border: 1px solid white;
  background: transparent; padding: 0; cursor: pointer;
}
.dot.is-active { background: white; }

.section { border-top: 1px solid var(--line); padding: 12vw 7vw; }
.section-label { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.portfolio-head {
  display: grid; grid-template-columns: 1.25fr .75fr; gap: 8vw;
  align-items: end; margin: 55px 0 70px;
}
h1, h2 { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 400; }
.portfolio-head h1, .simple-section h1, .contact h1, .about h1 {
  font-size: clamp(52px, 7vw, 105px); line-height: .88;
  letter-spacing: -.045em; margin: 0;
}
.portfolio-head p, .simple-section p, .contact p {
  max-width: 470px; color: #4d4b46; font-size: 15px; line-height: 1.8; margin: 0;
}
.portfolio-tabs { display: flex; gap: 24px; border-bottom: 1px solid var(--line); margin-bottom: 45px; }
.tab {
  background: none; border: 0; border-bottom: 1px solid transparent;
  padding: 0 0 15px; cursor: pointer; font-size: 10px;
  text-transform: uppercase; letter-spacing: .16em; color: var(--muted);
}
.tab.is-active { color: var(--ink); border-color: var(--ink); }
.work-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7vw 3vw; }
.work-card figure { margin: 0; background: #ddd; overflow: hidden; }
.work-card img { display: block; width: 100%; height: auto; aspect-ratio: 1/1; object-fit: cover; transition: transform .8s ease; }
.work-card:hover img { transform: scale(1.015); }
.work-info { padding: 18px 0; border-bottom: 1px solid var(--line); }
.work-info > div { display: flex; justify-content: space-between; gap: 20px; align-items: baseline; }
.work-info h2 { font-size: 30px; margin: 0; }
.work-info p { color: var(--muted); font-size: 10px; letter-spacing: .13em; text-transform: uppercase; margin: 7px 0 0; }
.status { font-size: 9px; letter-spacing: .16em; color: var(--muted); }
.status.sold { color: #6d2d2d; }
.buy-button {
  display: inline-flex; gap: 18px; margin-top: 18px; padding-bottom: 7px;
  border-bottom: 1px solid var(--ink); font-size: 10px;
  letter-spacing: .14em; text-transform: uppercase;
}
.buy-button span, .contact-link span { font-size: 16px; }
[hidden] { display: none !important; }

.about { display: grid; grid-template-columns: 1fr 2fr; gap: 8vw; }
.about-copy { max-width: 850px; }
.about-copy p { max-width: 690px; font-size: 16px; line-height: 1.85; color: #44433f; margin-top: 48px; }
.simple-section, .contact { display: grid; grid-template-columns: 1fr 2fr; gap: 8vw; }
.simple-section > div:last-child, .contact > div:last-child { max-width: 850px; }
.simple-section p { margin-top: 40px; }
.contact p { margin: 42px 0 34px; }
.contact-link {
  display: inline-flex; gap: 24px; align-items: center;
  border-bottom: 1px solid var(--ink); padding-bottom: 10px;
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
}
.footer {
  border-top: 1px solid var(--line); padding: 22px 4vw;
  display: flex; justify-content: space-between;
  font-size: 9px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}

@media (max-width: 800px) {
  .site-header { padding: 18px 5vw; }
  .menu-toggle { display: block; }
  .nav {
    position: absolute; top: 58px; right: 5vw; display: none;
    flex-direction: column; gap: 18px; background: rgba(245,244,240,.97);
    padding: 22px; border: 1px solid var(--line);
  }
  .nav.is-open { display: flex; }
  .hero { min-height: 600px; }
  .hero-slide img { object-fit: cover; }
  .hero-credit { left: 5vw; bottom: 22px; }
  .hero-dots { right: 5vw; bottom: 22px; }
  .section { padding: 22vw 7vw; }
  .portfolio-head, .about, .simple-section, .contact { display: block; }
  .portfolio-head h1 { margin-bottom: 36px; }
  .portfolio-head { margin: 45px 0 55px; }
  .work-grid { grid-template-columns: 1fr; gap: 16vw; }
  .work-info h2 { font-size: 28px; }
  .about-copy, .simple-section > div:last-child, .contact > div:last-child { margin-top: 55px; }
  .about-copy p { margin-top: 35px; }
  .portfolio-tabs { gap: 18px; }
  .footer { flex-direction: column; gap: 8px; padding: 18px 5vw; }
}
