:root {
  --bg: #f7f6f3;
  --text: #151515;
  --muted: #77746d;
  --line: #d9d7d1;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Inter", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 25px 4vw 22px;
  background: rgba(247,246,243,.93);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(217,215,209,.55);
}
.identity { display: flex; align-items: baseline; gap: 16px; }
.wordmark { font-size: 14px; letter-spacing: .18em; font-weight: 500; }
.subtitle { color: var(--muted); font-size: 12px; letter-spacing: .04em; }
nav { display: flex; gap: 28px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
nav a:hover, footer a:hover { opacity: .45; }
.contact-button {
  border: 1px solid var(--text);
  padding: 7px 13px;
  border-radius: 999px;
  transition: .2s ease;
}
.contact-button:hover {
  opacity: 1;
  background: var(--text);
  color: var(--bg);
}

.work {
  min-height: 100vh;
  padding: 105px 4vw 55px;
  display: grid;
  place-items: center;
}
.carousel {
  position: relative;
  width: min(1120px, 100%);
}
.carousel-track {
  position: relative;
  height: min(76vh, 780px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.slide {
  position: absolute;
  inset: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: scale(.985);
  transition: opacity .45s ease, transform .45s ease;
}
.slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}
.slide img {
  width: 100%;
  height: calc(100% - 35px);
  object-fit: contain;
}
.slide figcaption {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 11px;
  margin-top: 10px;
  font-size: 12px;
  letter-spacing: .04em;
}
.slide figcaption span:last-child { color: var(--muted); }

.carousel-button {
  position: absolute;
  z-index: 5;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(247,246,243,.86);
  color: var(--text);
  cursor: pointer;
  font-size: 18px;
  transition: .2s ease;
}
.carousel-button:hover {
  background: var(--text);
  color: var(--bg);
}
.prev { left: -8px; }
.next { right: -8px; }

.dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
}
.dot {
  width: 6px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #c7c4bd;
  cursor: pointer;
}
.dot.active { background: var(--text); }

.about-section {
  min-height: 100vh;
  padding: 130px 5vw 80px;
  border-top: 1px solid var(--line);
}
.about-label {
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 70px;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9vw;
  align-items: start;
}
.portrait-frame {
  min-height: 65vh;
  overflow: hidden;
}
.portrait-frame img {
  width: 100%;
  height: 65vh;
  object-fit: cover;
  object-position: center 42%;
}
.about-copy { max-width: 560px; }
.about-copy p { font-size: 17px; line-height: 1.75; margin: 0 0 1.6em; }
.about-copy .practice {
  font-family: var(--serif);
  font-size: clamp(25px, 3vw, 42px);
  line-height: 1.25;
  margin-bottom: 2em;
}
footer {
  display: flex;
  justify-content: space-between;
  padding: 30px 5vw;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

@media (max-width: 700px) {
  .site-header { padding: 18px 5vw; align-items: flex-start; }
  .identity { display: block; }
  .subtitle { display: block; margin-top: 6px; }
  nav { gap: 16px; }
  .contact-button { padding: 6px 10px; }
  .work { padding: 95px 5vw 35px; }
  .carousel-track { height: 72vh; }
  .carousel-button { width: 38px; height: 38px; }
  .prev { left: 0; }
  .next { right: 0; }
  .about-section { padding: 110px 5vw 60px; }
  .about-grid { display: block; }
  .portrait-frame {
    min-height: 100vw;
    margin-bottom: 14vw;
  }
  .portrait-frame img {
    height: 100vw;
  }
  .about-copy p { font-size: 16px; }
  footer { padding: 24px 5vw; }
}
