*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  min-height: 100vh;
  background: #fafaf9;
  color: #050505;
  font-family: Georgia, "Times New Roman", serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.brand {
  position: fixed;
  top: 58px;
  left: 94px;
  z-index: 30;
  width: 164px;
  color: #050505;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-style: italic;
  font-weight: 700;
  letter-spacing: 0.14em;
  pointer-events: auto;
}

.menu-button {
  position: fixed;
  top: 62px;
  right: 50px;
  z-index: 80;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  color: #050505;
  background: transparent;
  cursor: pointer;
}
.menu-button span {
  display: block;
  width: 18px;
  height: 3px;
  margin: 4px auto;
  background: currentColor;
  transition: width 220ms ease, height 220ms ease, transform 220ms ease;
}
body.menu-open .menu-button span:first-child {
  width: 46px;
  height: 2px;
  transform: translateY(7px) rotate(45deg);
}
body.menu-open .menu-button span:last-child {
  width: 46px;
  height: 2px;
  transform: translateY(-7px) rotate(-45deg);
}

.menu-panel {
  position: fixed;
  inset: 0 3.1vw 0 10.4vw;
  z-index: 70;
  background: rgba(222, 222, 220, 0.88);
  transform: translateX(112%);
  transition: transform 430ms cubic-bezier(.2,.72,.15,1);
  overflow: hidden;
}
.menu-panel::before {
  content: "";
  position: absolute;
  inset: -12%;
  background:
    radial-gradient(circle at 50% 50%, rgba(255,255,255,.18), transparent 31%),
    linear-gradient(90deg, rgba(255,255,255,.28), rgba(255,255,255,.46));
  opacity: .72;
}
body.menu-open .menu-panel { transform: translateX(0); }

.menu-list {
  position: absolute;
  top: 40%;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translate(-50%, -50%);
  color: #000;
  font-size: 27px;
  line-height: 1.34;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.menu-list a[aria-current="page"] { color: #0080ff; }

.page {
  min-height: 100vh;
  background: #fafaf9;
}

.lead {
  display: grid;
  place-items: start center;
  padding: 72px 0 132px;
  overflow: hidden;
}
.lead-frame {
  position: relative;
  width: min(56.6vw, 724px);
  aspect-ratio: 724 / 558;
  background: #f0f0ef;
  overflow: hidden;
}
.lead-frame img,
.frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 0 0 160px;
}
.spread {
  width: 100%;
  margin: 0 0 72px;
}
.spread:last-child { margin-bottom: 0; }
.spread.pair-a,
.spread.pair-b,
.spread.pair-c {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 72px;
}
.spread.pair-a { padding: 0 108px 0 0; }
.spread.pair-a .slot-0 { width: 44.2%; }
.spread.pair-a .slot-1 { width: 43.8%; margin-top: 0; }

.spread.pair-b { padding: 0 122px 0 54px; }
.spread.pair-b .slot-0 { width: 43%; }
.spread.pair-b .slot-1 { width: 35%; margin-top: 44px; }

.spread.pair-c { padding: 0 62px 0 124px; }
.spread.pair-c .slot-0 { width: 36%; margin-top: 52px; }
.spread.pair-c .slot-1 { width: 45%; }

.spread.single-wide .frame {
  width: 74%;
  margin: 0 auto;
}
.spread.single-left .frame {
  width: 45%;
  margin-left: 0;
}
.spread.single-right .frame {
  width: 42%;
  margin-left: auto;
  margin-right: 88px;
}

.frame {
  position: relative;
  background: #ededec;
  overflow: hidden;
}
.frame::after,
.lead-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .08;
  pointer-events: none;
  background-image: repeating-linear-gradient(92deg, rgba(0,0,0,.18) 0 1px, transparent 1px 7px);
  mix-blend-mode: multiply;
}
.frame.aspect-wide { aspect-ratio: 16 / 9; }
.frame.aspect-landscape { aspect-ratio: 4 / 3; }
.frame.aspect-square { aspect-ratio: 1 / 1; }
.frame.aspect-portrait { aspect-ratio: 4 / 5; }
.frame.aspect-tall { aspect-ratio: 3 / 4; }

.contact {
  min-height: 100vh;
  display: grid;
  place-content: center;
  gap: 70px;
  padding: 120px 24px;
  text-align: center;
  font-size: 22px;
}
.contact div {
  display: grid;
  gap: 4px;
  color: #111;
  font-size: 14px;
}
.contact div a:first-child { color: #0080ff; }

@media (max-width: 760px) {
  .brand {
    top: 32px;
    left: 30px;
    color: rgba(0,0,0,.08);
    font-size: 20px;
  }
  .menu-button {
    top: 28px;
    right: 22px;
  }
  .menu-panel { inset: 0; }
  .menu-list {
    top: 50%;
    font-size: 28px;
  }
  .lead {
    padding: 76px 0 82px;
    place-items: start end;
  }
  .lead-frame {
    width: 56vw;
    min-width: 218px;
    margin-right: -16vw;
    aspect-ratio: 4 / 5;
  }
  .gallery {
    width: 100%;
    padding: 64px 10vw 110px;
  }
  .spread,
  .spread.pair-a,
  .spread.pair-b,
  .spread.pair-c {
    display: block;
    padding: 0;
    margin-bottom: 70px;
  }
  .spread .frame,
  .spread.pair-a .slot-0,
  .spread.pair-a .slot-1,
  .spread.pair-b .slot-0,
  .spread.pair-b .slot-1,
  .spread.pair-c .slot-0,
  .spread.pair-c .slot-1,
  .spread.single-wide .frame,
  .spread.single-left .frame,
  .spread.single-right .frame {
    width: 100%;
    margin: 0 0 70px;
  }
  .spread .frame:last-child { margin-bottom: 0; }
  .contact {
    font-size: 22px;
  }
}
