@import url("https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&display=swap");

:root {
  --paper: #faf7f1;
  --ink: #1b1b1b;
  --rule: #d8d2c7;
  --soft-ink: var(--ink);
  --wash: #ebe5da;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 16px;
  line-height: 1.45;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  padding: 32px 28px 0;
}

.brand {
  display: inline-flex;
  width: clamp(160px, 18vw, 240px);
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
}

.site-nav,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-nav a,
.site-footer a {
  position: relative;
  font-size: 13px;
  line-height: 1;
}

.site-nav a::after,
.site-footer a::after {
  position: absolute;
  right: 0;
  bottom: -5px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  opacity: 0;
  transform: scaleX(0.35);
  transition: opacity 180ms ease, transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a.is-active::after,
.site-footer a:hover::after,
.site-footer a:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

main {
  padding: 82px 28px 0;
}

.section-heading h1,
.section-heading h2 {
  margin: 0;
  font-size: clamp(42px, 6vw, 78px);
  font-weight: 400;
  line-height: 0.98;
  text-transform: uppercase;
}

.content-section {
  padding: 96px 0 0;
}

.what-section {
  padding-top: 0;
}

.section-heading {
  max-width: 740px;
}

.section-heading p {
  margin: 0 0 16px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

.section-heading.compact h1 {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(38px, 5vw, 55px);
}

.bio-copy {
  max-width: 780px;
  margin-top: 28px;
}

.bio-copy p,
.person-copy p {
  margin: 0;
  color: var(--soft-ink);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.35;
}

.person-copy p + p {
  margin-top: 18px;
}

.bio-copy p + p {
  margin-top: 18px;
}

.person-copy a {
  color: var(--ink);
  border-bottom: 1px solid currentColor;
}

.what-copy {
  margin-top: 42px;
  margin-right: auto;
  margin-left: auto;
  max-width: 780px;
  text-align: center;
}

.what-image-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}

.logo-panel {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(27, 27, 27, 0.12), transparent 35%),
    linear-gradient(315deg, rgba(27, 27, 27, 0.09), transparent 44%),
    var(--wash);
}

.what-photo,
.person-photo {
  margin: 0;
}

.what-photo {
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

.what-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.person-photo img {
  display: block;
  width: 100%;
  height: auto;
}

.what-photo-tall {
  justify-self: stretch;
}

.person-photo {
  overflow: hidden;
}

.person-photo img {
  transform: scale(1.03);
  transform-origin: center;
}

.people-section {
  padding-bottom: 28px;
}

.person-row {
  display: grid;
  grid-template-columns: minmax(120px, 15%) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
  padding: 40px 0;
  border-top: 1px solid var(--rule);
}

.people-section .section-heading {
  margin-bottom: 40px;
}

.person-copy h3 {
  margin: 0 0 18px;
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(260px, 31%) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
  padding-bottom: 28px;
}

.logo-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 0;
  background: #111;
}

.contact-logo {
  display: block;
  width: 100%;
  height: auto;
}

.contact-content {
  padding-top: 16px;
}

.social-block {
  margin-top: 32px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 22px 0 26px;
}

.social-block > p {
  margin: 0 0 18px;
  font-size: 13px;
  font-weight: 800;
}

.instagram-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

.instagram-links a {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  position: relative;
}

.instagram-links a + a {
  border-left: 1px solid var(--rule);
  padding-left: 32px;
}

.instagram-links span {
  color: var(--soft-ink);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

.instagram-links strong {
  width: fit-content;
  border-bottom: 1px solid transparent;
  overflow-wrap: anywhere;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 400;
  line-height: 1;
  transition: border-color 180ms ease;
}

.instagram-links a:hover strong,
.instagram-links a:focus-visible strong {
  border-color: currentColor;
}

.email-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 76px;
  margin-top: 36px;
  padding: 0 30px;
  border: 1px solid var(--ink);
  background: transparent;
  font-size: clamp(20px, 3vw, 30px);
  font-weight: 800;
  transition: background 180ms ease, color 180ms ease;
}

.email-button:hover,
.email-button:focus-visible {
  background: var(--wash);
  color: var(--ink);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 72px 28px 32px;
}

.site-footer p {
  margin: 0;
  color: var(--soft-ink);
  font-size: 13px;
}

@media (max-width: 780px) {
  .site-header,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav,
  .site-footer nav {
    gap: 18px;
  }

  main {
    padding-top: 60px;
  }

  .what-image-row,
  .person-row,
  .contact-layout,
  .instagram-links {
    grid-template-columns: 1fr;
  }

  .content-section {
    padding-top: 72px;
  }

  .what-section {
    padding-top: 0;
  }

  .person-row,
  .contact-layout {
    gap: 28px;
  }

  .person-photo {
    max-width: 180px;
  }

  .logo-panel {
    min-height: 300px;
  }

  .instagram-links a + a {
    border-left: 0;
    border-top: 1px solid var(--rule);
    padding-top: 18px;
    padding-left: 0;
  }
}
