:root {
  --ink: #171915;
  --paper: #f4f5f1;
  --white: #ffffff;
  --line: #c9ccc5;
  --muted: #646861;
  --coral: #d6543c;
  --green: #32695f;
  --gold: #d8ab32;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

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

.hero {
  position: relative;
  min-height: 620px;
  height: 82svh;
  max-height: 780px;
  overflow: hidden;
  color: var(--white);
  background: #202620;
}

.hero__image,
.hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__image {
  object-fit: cover;
  object-position: 50% 54%;
}

.hero__shade {
  background: linear-gradient(90deg, rgba(10, 14, 12, 0.8) 0%, rgba(10, 14, 12, 0.43) 55%, rgba(10, 14, 12, 0.2) 100%);
}

.nav,
.hero__content,
.hero__caption {
  position: relative;
  z-index: 1;
}

.nav {
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
  padding: 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.brand,
.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 700;
}

.brand__mark {
  display: inline-grid;
  width: 32px;
  height: 32px;
  place-items: center;
  color: var(--ink);
  background: var(--gold);
  font-size: 15px;
  font-weight: 800;
}

.nav__links {
  display: flex;
  gap: 32px;
  font-size: 14px;
}

.nav__links a,
.text-link {
  border-bottom: 1px solid transparent;
  transition: border-color 180ms ease;
}

.nav__links a:hover,
.nav__links a:focus-visible,
.text-link:hover,
.text-link:focus-visible {
  border-color: currentColor;
}

.hero__content {
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
  padding-top: 118px;
}

.eyebrow,
.section-index,
.project__type,
.project__meta {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 900px;
  margin: 16px 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 82px;
  font-weight: 400;
  line-height: 0.98;
}

.hero__lede {
  max-width: 610px;
  margin: 0;
  font-size: 20px;
  line-height: 1.45;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 700;
  transition: background 180ms ease, color 180ms ease;
}

.button--light {
  color: var(--ink);
  background: var(--white);
}

.button--light:hover,
.button--light:focus-visible {
  color: var(--white);
  background: transparent;
  border-color: var(--white);
}

.text-link {
  display: inline-flex;
  width: fit-content;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
}

.text-link--light {
  color: var(--white);
}

.hero__caption {
  position: absolute;
  right: max(32px, calc((100% - 1180px) / 2));
  bottom: 28px;
  margin: 0;
  font-size: 12px;
}

.intro,
.work,
.approach,
.studio,
.footer {
  padding-left: max(32px, calc((100% - 1180px) / 2));
  padding-right: max(32px, calc((100% - 1180px) / 2));
}

.intro {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 40px;
  padding-top: 84px;
  padding-bottom: 92px;
  background: var(--white);
}

.section-index {
  color: var(--muted);
}

.intro h2,
.section-heading h2,
.approach h2,
.studio h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 48px;
  font-weight: 400;
  line-height: 1.1;
}

.intro div > p {
  max-width: 720px;
  margin: 30px 0 0;
  color: #494d47;
  font-size: 19px;
}

.work {
  padding-top: 88px;
  padding-bottom: 96px;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 40px;
  margin-bottom: 58px;
}

.project {
  display: grid;
  grid-template-columns: 0.75fr 2.25fr 1fr;
  gap: 40px;
  align-items: start;
  padding: 36px 0 40px;
  border-top: 1px solid var(--line);
}

.project:last-child {
  border-bottom: 1px solid var(--line);
}

.project__number {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  color: var(--white);
  font-size: 18px;
  font-weight: 800;
}

.project--coral .project__number { background: var(--coral); }
.project--green .project__number { background: var(--green); }
.project--gold .project__number { color: var(--ink); background: var(--gold); }

.project__body h3 {
  max-width: 630px;
  margin: 9px 0 14px;
  font-size: 29px;
  font-weight: 600;
  line-height: 1.2;
}

.project__body p:last-child {
  max-width: 630px;
  margin: 0;
  color: var(--muted);
}

.project__meta {
  color: var(--muted);
  line-height: 1.7;
}

.approach {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 72px;
  padding-top: 96px;
  padding-bottom: 104px;
  color: var(--white);
  background: var(--ink);
}

.approach .section-index {
  margin-bottom: 24px;
  color: #aeb2aa;
}

.principles {
  border-top: 1px solid #4a4d48;
}

.principle {
  display: grid;
  grid-template-columns: 50px 1fr 1.25fr;
  gap: 26px;
  padding: 28px 0 32px;
  border-bottom: 1px solid #4a4d48;
}

.principle span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
}

.principle h3,
.principle p {
  margin: 0;
}

.principle h3 {
  font-size: 19px;
}

.principle p {
  color: #bec1bb;
}

.studio {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 96px;
  padding-top: 104px;
  padding-bottom: 112px;
  background: var(--white);
}

.studio .section-index {
  margin-bottom: 24px;
}

.studio__copy {
  padding-top: 34px;
}

.studio__copy p {
  margin: 0 0 20px;
  color: #494d47;
  font-size: 18px;
}

.studio__copy .text-link {
  margin-top: 18px;
}

.footer {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  align-items: end;
  padding-top: 62px;
  padding-bottom: 62px;
  color: var(--white);
  background: #242822;
}

.footer p {
  margin: 0;
  color: #bec1bb;
  font-size: 13px;
}

.footer__credit {
  text-align: right;
}

@media (max-width: 800px) {
  .hero {
    min-height: 620px;
    height: 78svh;
  }

  .nav,
  .hero__content {
    width: calc(100% - 40px);
  }

  .nav {
    padding: 20px 0;
  }

  .nav__links {
    gap: 16px;
    font-size: 13px;
  }

  .brand > span:last-child {
    display: none;
  }

  .hero__content {
    padding-top: 92px;
  }

  .hero h1 {
    font-size: 56px;
  }

  .hero__lede {
    max-width: 520px;
    font-size: 18px;
  }

  .hero__caption {
    display: none;
  }

  .intro,
  .section-heading,
  .approach,
  .studio,
  .footer {
    grid-template-columns: 1fr;
  }

  .intro,
  .work,
  .approach,
  .studio,
  .footer {
    padding-left: 20px;
    padding-right: 20px;
  }

  .intro,
  .approach,
  .studio {
    gap: 30px;
  }

  .intro h2,
  .section-heading h2,
  .approach h2,
  .studio h2 {
    font-size: 39px;
  }

  .project {
    grid-template-columns: 66px 1fr;
    gap: 20px;
  }

  .project__meta {
    grid-column: 2;
  }

  .principle {
    grid-template-columns: 38px 1fr;
  }

  .principle p {
    grid-column: 2;
  }

  .footer {
    align-items: start;
  }

  .footer__credit {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .hero__image {
    object-position: 60% 52%;
  }

  .hero__shade {
    background: rgba(10, 14, 12, 0.6);
  }

  .hero h1 {
    font-size: 45px;
  }

  .hero__content {
    padding-top: 78px;
  }

  .hero__actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .nav__links a:nth-child(2) {
    display: none;
  }

  .intro h2,
  .section-heading h2,
  .approach h2,
  .studio h2 {
    font-size: 34px;
  }

  .project {
    grid-template-columns: 1fr;
  }

  .project__meta {
    grid-column: 1;
  }

  .project__body h3 {
    font-size: 25px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
