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

:root {
  --bg: #101010;
  --text: #f2eee8;
  --muted: #9d958c;
  --line: #2a2a2a;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Manrope", system-ui, sans-serif;
}

.site-head {
  max-width: 72rem;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 2rem;
  display: grid;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 768px) {
  .site-head {
    grid-template-columns: 1fr auto;
    align-items: end;
  }
}

.studio {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

h1 {
  margin: 0.15rem 0 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.5rem, 7vw, 4rem);
  font-weight: 400;
  line-height: 1;
}

.bio {
  margin: 0;
  max-width: 26rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.inquire {
  justify-self: start;
  color: var(--text);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 1px solid #666;
  padding-bottom: 0.15rem;
}

@media (min-width: 768px) {
  .inquire {
    justify-self: end;
  }
}

.gallery {
  max-width: 72rem;
  margin: 0 auto;
  padding: 1.25rem 1.25rem 3rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 120px;
}

.frame {
  margin: 0;
  position: relative;
  overflow: hidden;
  background: #181818;
}

.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.92) contrast(1.04);
}

.frame figcaption {
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  padding: 0.25rem 0.45rem;
  background: rgba(16, 16, 16, 0.72);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ddd;
}

.frame-a {
  grid-column: span 7;
  grid-row: span 3;
}

.frame-b {
  grid-column: span 5;
  grid-row: span 2;
}

.frame-c {
  grid-column: span 5;
  grid-row: span 2;
}

.frame-d {
  grid-column: span 4;
  grid-row: span 2;
}

.frame-e {
  grid-column: span 4;
  grid-row: span 2;
}

.frame-f {
  grid-column: span 4;
  grid-row: span 3;
}

@media (max-width: 720px) {
  .gallery {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 160px;
  }

  .frame-a,
  .frame-b,
  .frame-c,
  .frame-d,
  .frame-e,
  .frame-f {
    grid-column: span 1;
    grid-row: span 1;
  }

  .frame-a,
  .frame-f {
    grid-column: span 2;
  }
}

footer {
  max-width: 72rem;
  margin: 0 auto;
  padding: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--muted);
}
