/* Homepage editorial layout, derived from the approved Claude Design reference. */
.home-hero,
.home-about,
.home-selected {
  width: min(100% - 64px, 1360px);
  margin-left: auto;
  margin-right: auto;
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(16rem, .82fr);
  align-items: stretch;
  min-height: min(720px, calc(100svh - 81px));
  gap: clamp(1.5rem, 4vw, 3.5rem);
  border-bottom: 1px solid #171816;
}

.home-identity {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 0;
  padding: clamp(3rem, 5.5vw, 5rem) 0 clamp(2.25rem, 3vw, 3rem);
}

.home-role,
.home-fields,
.home-location,
.home-hero-picture figcaption,
.home-small-picture figcaption,
.home-wide-picture figcaption,
.home-selected__heading a,
.selected-work__index,
.selected-work__kind,
.selected-work__arrow {
  font-family: "Instrument Sans", sans-serif;
}

.home-role {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin: 0;
  color: #171816;
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .02em;
  text-transform: none;
}

.home-role span {
  width: .58rem;
  height: .58rem;
  background: #d2c936;
}

.home-identity h1 {
  display: flex;
  flex-direction: column;
  margin: 0;
  color: #171816;
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(4.5rem, 8.4vw, 9rem);
  font-weight: 500;
  letter-spacing: -.072em;
  line-height: .78;
}

.home-fields {
  max-width: 34ch;
  margin: 0 0 .7rem;
  color: #77776f;
  font-size: .82rem;
  font-weight: 400;
  letter-spacing: .01em;
  line-height: 1.5;
}

.home-location {
  margin: 0;
  color: #77776f;
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.home-hero-picture,
.home-small-picture,
.home-wide-picture figure {
  margin: 0;
}

.home-hero-picture {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: clamp(3rem, 5.5vw, 5rem) 0 clamp(2.25rem, 3vw, 3rem);
}

.home-hero-picture img {
  display: block;
  flex: 1;
  min-height: 0;
  width: 100%;
  border: 1px solid #171816;
  object-fit: cover;
}

.home-hero-picture figcaption,
.home-wide-picture figcaption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: .85rem;
  color: #77776f;
  font-size: .82rem;
  letter-spacing: .01em;
}

.home-hero-picture figcaption span:last-child,
.home-wide-picture figcaption span:last-child {
  text-transform: uppercase;
  font-size: .72rem;
  letter-spacing: .08em;
}

.home-about {
  display: grid;
  grid-template-columns: minmax(9rem, .55fr) minmax(0, 1.45fr);
  gap: clamp(2rem, 5vw, 6rem);
  padding: clamp(4.5rem, 8vw, 8rem) 0;
  border-bottom: 1px solid #171816;
}

.section-label {
  margin: 0;
  color: #344d8f;
  font-family: "Instrument Sans", sans-serif;
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.home-small-picture {
  max-width: 13.75rem;
  margin: 1.6rem 0 0;
}

.home-small-picture img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.home-small-picture figcaption {
  padding-top: .7rem;
  color: #77776f;
  font-size: .68rem;
  letter-spacing: .04em;
}

.home-about__copy {
  width: min(100%, 48.75rem);
}

.home-about__copy p {
  max-width: 42ch;
  margin: 0 0 1.5rem;
  color: #171816;
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(1.2rem, 1.65vw, 1.7rem);
  letter-spacing: -.018em;
  line-height: 1.38;
}

.home-about__copy p:last-child {
  margin-bottom: 0;
}

.home-wide-picture {
  width: 100%;
  margin-top: clamp(3rem, 5vw, 4.5rem);
}

.home-wide-picture figure > img {
  display: block;
  width: 100%;
  height: min(60vh, 37.5rem);
  border-top: 1px solid #171816;
  border-bottom: 1px solid #171816;
  object-fit: cover;
}

.home-wide-picture figcaption {
  width: min(100% - 64px, 1360px);
  margin: 0 auto;
}

.home-selected {
  padding: clamp(4rem, 7vw, 7rem) 0 clamp(2rem, 4vw, 3.5rem);
}

.home-selected__heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.75rem;
}

.home-selected__heading a {
  color: #171816;
  font-size: .8rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.home-selected__heading a:hover { color: #344d8f; }

.home-selected__list { border-top: 1px solid #171816; }

.selected-work {
  display: grid;
  grid-template-columns: minmax(6rem, .5fr) minmax(0, 2.3fr) auto;
  column-gap: 2rem;
  align-items: start;
  padding: 2.4rem 0 2.6rem;
  border-bottom: 1px solid #171816;
  color: #171816;
  text-decoration: none;
  transition: background-color .2s ease, padding .2s ease;
}

.selected-work:hover {
  padding-right: 1rem;
  padding-left: 1rem;
  background: rgba(52, 77, 143, .05);
  color: #171816;
  text-decoration: none;
}

.selected-work__index,
.selected-work__kind {
  color: #344d8f;
  font-size: .7rem;
  letter-spacing: .08em;
}

.selected-work__index { padding-top: .5rem; }

.selected-work__kind {
  display: block;
  margin-bottom: .7rem;
  font-weight: 500;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.selected-work__title {
  display: block;
  max-width: 20ch;
  margin-bottom: .9rem;
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(2rem, 3.5vw, 3.1rem);
  font-weight: 500;
  letter-spacing: -.05em;
  line-height: .98;
}

.selected-work__copy {
  display: block;
  max-width: 56ch;
  font-size: 1.02rem;
  line-height: 1.5;
}

.selected-work__arrow {
  align-self: center;
  color: #344d8f;
  font-size: 1.3rem;
}

@media (max-width: 720px) {
  .home-hero,
  .home-about,
  .home-selected {
    width: min(100% - 40px, 1360px);
  }

  .home-hero,
  .home-about {
    grid-template-columns: 1fr;
  }

  .home-hero { min-height: auto; }

  .home-identity { padding-bottom: 2.5rem; }

  .home-identity h1 { order: 1; }

  .home-role {
    order: 2;
    margin-top: 1.35rem;
  }

  .home-fields {
    order: 3;
    margin-top: .8rem;
  }

  .home-location { order: 4; }

  .home-hero-picture { max-width: 29rem; padding-top: 0; }

  .home-about { gap: 2.5rem; }

  .home-small-picture { display: none; }

  .home-wide-picture figcaption { width: min(100% - 40px, 1360px); }

  .home-wide-picture figure > img { height: min(50vh, 28rem); }

  .selected-work {
    grid-template-columns: 2.5rem minmax(0, 1fr) auto;
    column-gap: 1rem;
  }

  .selected-work__copy { font-size: .95rem; }
}

@media (max-width: 420px) {
  .home-hero,
  .home-about,
  .home-selected { width: min(100% - 32px, 1180px); }

  .home-wide-picture figcaption { width: min(100% - 32px, 1360px); }

  .home-hero-picture figcaption,
  .home-wide-picture figcaption { flex-direction: column; gap: .3rem; }

  .home-fields { font-size: .78rem; }
}
