:root {
  --ink: #1c1c1c;
  --muted: #4a4a4a;
  --line: #d5d5d5;
  --sans: Jost, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button, a { cursor: pointer; }

:focus-visible { outline: 1px solid #111; outline-offset: 3px; }

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: #111;
  color: #fff;
  padding: 8px 12px;
  z-index: 20;
}
.skip:focus { top: 8px; }

.bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 6vw;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.avatar {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 18%;
}

.logo {
  margin: 0;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 30;
  width: 60%;
  height: 100%;
  margin: 0;
  padding: 96px 8% 40px;
  background: #fff;
  box-shadow: -16px 0 40px rgba(17, 17, 17, 0.08);
  transform: translateX(100%);
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.35s ease, visibility 0s linear 0.35s;
}
nav a {
  font-size: 18px;
  font-weight: 400;
  text-decoration: none;
}
nav a:hover { text-decoration: underline; text-underline-offset: 4px; }

.nav-toggle {
  position: relative;
  z-index: 40;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 28px;
  margin-left: auto;
  border: 0;
  background: transparent;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  margin-left: auto;
  background: var(--ink);
}

nav.is-open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
  transition: transform 0.35s ease, visibility 0s;
}

body.menu-open { overflow: hidden; }

.mast {
  padding: 54px 6vw 22px;
  text-align: center;
}

h1 {
  margin: 0;
  font-weight: 300;
  font-size: clamp(48px, 12vw, 150px);
  letter-spacing: 0.02em;
  white-space: nowrap;
  text-transform: uppercase;
  line-height: 0.95;
}

.mast p {
  margin: 16px 0 0;
  font-weight: 300;
  font-size: clamp(18px, 2vw, 22px);
}

.hero { position: relative; }

.trio {
  display: grid;
  grid-template-columns: 1fr;
}

.trio img {
  width: 100%;
  height: min(78vh, 640px);
  object-fit: cover;
  object-position: center 16%;
}

.trio img:nth-child(n + 2) { display: none; }

.hero-nav {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  pointer-events: none;
}

.hero-nav button {
  pointer-events: auto;
  display: grid;
  place-items: center;
  width: 44px;
  height: 64px;
  border: 0;
  background: transparent;
  color: #fff;
  padding: 0;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.55));
}

.hero-nav svg {
  width: 28px;
  height: 28px;
}

.meet, .contact {
  max-width: 760px;
  margin: 0 auto;
  padding: 72px 6vw;
  text-align: center;
}

h2 {
  margin: 0;
  font-weight: 400;
  font-size: 22px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.places {
  margin: 10px 0 18px;
  font-weight: 300;
  font-size: 22px;
  letter-spacing: 0;
  text-transform: none;
}

.meet p, .services p, .fine { color: var(--muted); }

.editorial {
  padding: 12px 6vw 64px;
  text-align: center;
}

.collage {
  position: relative;
  max-width: 1080px;
  height: 740px;
  margin: 36px auto 20px;
}

.print {
  position: absolute;
  margin: 0;
  background: #fff;
  padding: 8px;
  box-shadow: 0 16px 44px rgba(17, 17, 17, 0.14);
}

.print img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.anchor {
  left: 0;
  top: 4%;
  width: 48%;
  height: 92%;
  z-index: 1;
}

.anchor img { object-position: center 12%; }

.mono {
  left: 26%;
  top: 34%;
  width: 42%;
  height: 62%;
  z-index: 2;
}

.mono img { object-position: center 8%; }

.detail {
  left: 54%;
  top: 62%;
  width: 24%;
  height: 34%;
  z-index: 3;
}

.detail img { object-position: center 28%; }

.cover {
  right: 0;
  top: 0;
  width: 38%;
  height: auto;
  z-index: 4;
}

.cover img {
  height: auto;
  object-fit: contain;
}

.cover figcaption {
  margin-top: 8px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.credit-line {
  max-width: 680px;
  margin: 8px auto 0;
  color: var(--muted);
  font-size: 15px;
}

.services {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 6vw 24px;
  text-align: center;
}

.services article { padding: 28px 0; }

h3 {
  margin: 0 0 10px;
  font-weight: 400;
  font-size: 20px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.services p { margin: 0; }

.book {
  width: fit-content;
  margin: 28px auto 8px;
  text-align: center;
}

.contact-lines {
  display: grid;
  justify-items: center;
  gap: 12px;
  margin: 22px 0 0;
}

.mail {
  display: inline-block;
  font-size: 20px;
  font-weight: 400;
  text-decoration: none;
  border-bottom: 1px solid #111;
}

.appoint {
  display: inline-block;
  background: #111;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 13px;
  padding: 14px 22px;
}

.inquiry {
  padding: 48px 6vw 72px;
  text-align: center;
}

.inquiry h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 400;
  letter-spacing: 0.06em;
  white-space: normal;
}

.inquiry .places { margin-bottom: 28px; }

.form-frame {
  width: min(720px, 100%);
  height: 2800px;
  margin: 0 auto;
  border: 0;
  background: #fff;
}

form {
  display: grid;
  gap: 8px;
  text-align: left;
  max-width: 460px;
  margin: 0 auto;
}

label {
  margin-top: 8px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

input, select, textarea {
  width: 100%;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

textarea { resize: vertical; }

input:focus, select:focus, textarea:focus {
  outline: none;
  border-bottom-color: #111;
}

button[type="submit"] {
  margin-top: 14px;
  border: 1px solid #111;
  background: #111;
  color: #fff;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 13px;
  padding: 14px 18px;
}

.form-error { margin: 0; color: #8d2b2b; text-align: center; }
.fine { font-size: 14px; }

footer {
  padding: 20px 6vw 32px;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.04em;
}

footer p { margin: 0; }

@media (min-width: 800px) {
  .collage { height: 760px; }

  .trio {
    grid-template-columns: 1fr 1fr 1fr;
    padding: 0 48px;
  }

  .hero-nav { padding: 0 58px; }

  .trio img,
  .trio img:nth-child(n + 2) {
    display: block;
    height: min(74vh, 740px);
  }
}

@media (max-width: 799px) {
  .collage {
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .print {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    height: auto;
    margin-top: -36px;
  }

  .print:first-child { margin-top: 0; }

  .print img {
    height: auto;
    aspect-ratio: 3 / 4;
  }

  .anchor { width: 88%; z-index: 1; }
  .cover { width: 72%; z-index: 4; }
  .cover img { aspect-ratio: auto; }
  .mono { width: 80%; z-index: 2; }
  .detail { width: 62%; z-index: 3; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  nav { transition: none; }
}
