@font-face {
  font-family: "Outfit";
  src: url("assets/fonts/outfit-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Outfit";
  src: url("assets/fonts/outfit-500.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Outfit";
  src: url("assets/fonts/outfit-600.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Outfit";
  src: url("assets/fonts/outfit-700.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Outfit";
  src: url("assets/fonts/outfit-900.woff2") format("woff2");
  font-style: normal;
  font-weight: 900;
  font-display: swap;
}

:root {
  --green: #005d08;
  --green-pill: #126b43;
  --ink: #071326;
  --muted: #999999;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Outfit", Arial, sans-serif;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

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

.hero {
  position: relative;
  height: 702px;
  overflow: hidden;
  background: #d2d2d2;
}

.logo-mark {
  position: absolute;
  z-index: 3;
  top: 18px;
  left: 16px;
  width: 26px;
  height: 26px;
  color: var(--white);
  font-size: 30px;
  font-weight: 900;
  line-height: 0.82;
  letter-spacing: -0.08em;
}

.hero picture,
.hero-photo {
  width: 100%;
  height: 100%;
}

.hero-photo {
  object-fit: cover;
  object-position: center 45%;
}

@media (min-width: 1600px) {
  .hero-photo {
    object-position: center 8%;
  }
}

.hero-card {
  position: absolute;
  z-index: 2;
  top: 116px;
  left: 64px;
  width: 508px;
  min-height: 336px;
  padding: 59px;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.96);
}

.eyebrow {
  margin: 0 0 16px;
  color: #7d7d7d;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.5;
}

.eyebrow strong {
  color: #5d5d5d;
  font-weight: 700;
}

.hero h1 {
  margin: 0;
  max-width: 390px;
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.2;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.tag-list span,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1;
  white-space: nowrap;
}

.tag-list span {
  padding: 0 17px;
  background: var(--green-pill);
  color: var(--white);
}

.projects {
  padding: 72px 72px 70px;
}

.section-heading {
  text-align: center;
}

.section-heading h2,
.contact h2 {
  margin: 0;
  color: var(--ink);
  font-size: 50px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.2;
}

.section-heading p,
.contact p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.5;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  width: min(1296px, 100%);
  margin: 64px auto 0;
}

.project-card {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #f8f8f8;
  border-radius: 18px;
  outline: none;
  cursor: pointer;
}

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

.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.68);
  opacity: 0;
  transition: opacity 180ms ease;
}

.project-card figcaption {
  position: absolute;
  z-index: 2;
  left: 31px;
  bottom: 27px;
  max-width: calc(100% - 62px);
  color: var(--white);
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.project-card:hover::after,
.project-card:focus-visible::after,
.project-card:hover figcaption,
.project-card:focus-visible figcaption {
  opacity: 1;
}

.project-card:hover figcaption,
.project-card:focus-visible figcaption {
  transform: translateY(0);
}

.project-card:focus-visible {
  box-shadow: 0 0 0 3px rgba(0, 93, 8, 0.3);
}

.project-neighborhood,
.project-amplified {
  height: 512px;
}

.project-neighborhood img {
  object-fit: cover;
  background: #292d4a;
}

.project-amplified img {
  object-position: center;
}

.project-currency,
.project-school {
  height: 512px;
}

.project-currency img {
  object-position: center top;
}

.project-school img {
  object-position: center top;
}

.about {
  background: var(--green);
  color: var(--white);
}

.about-inner {
  width: min(100%, 1440px);
  margin: 0 auto;
  padding: 102px 220px 59px;
}

.section-heading-light h2,
.section-heading-light p {
  color: var(--white);
}

.section-heading-light p {
  font-weight: 600;
}

.about-copy {
  display: grid;
  grid-template-columns: repeat(3, 316px);
  justify-content: center;
  gap: 25px;
  margin-top: 64px;
}

.about-copy p {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.2;
}

.contact {
  min-height: 504px;
  display: grid;
  place-items: start center;
  padding-top: 186px;
  text-align: center;
}

.contact h2 {
  font-size: 40px;
  line-height: 1;
}

.contact p {
  margin-top: 0;
  font-size: 26px;
  font-weight: 400;
  line-height: 1;
}

.contact-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 40px;
}

.button {
  min-width: 61px;
  padding: 0 17px;
  font-size: 14px;
  font-weight: 600;
}

.button-primary {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 10px 22px rgba(0, 93, 8, 0.18);
}

.button-secondary {
  background: #eeeeee;
  color: #191919;
}

@media (min-width: 810px) and (max-width: 1199.98px) {
  .hero {
    height: 702px;
  }

  .hero-photo {
    object-position: center top;
  }

  .hero-card {
    top: 116px;
    left: 64px;
    width: 426px;
    min-height: 254px;
    padding: 44px;
    border-radius: 20px;
  }

  .eyebrow {
    margin-bottom: 16px;
    font-size: 24px;
  }

  .hero h1 {
    max-width: 347px;
    font-size: 37px;
    font-weight: 600;
    line-height: 1;
  }

  .tag-list {
    gap: 12px;
    margin-top: 28px;
  }

  .tag-list span {
    min-height: 30px;
    padding: 0 17px;
    font-size: 14px;
  }

  .projects {
    padding: 72px 72px 52px;
  }

  .section-heading h2 {
    font-size: 39px;
  }

  .section-heading p {
    margin-top: 10px;
    font-size: 24px;
  }

  .project-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    margin-top: 64px;
  }

  .project-card {
    width: 100%;
  }

  .project-neighborhood {
    height: 512px;
    border-radius: 18px;
  }

  .project-amplified {
    height: 512px;
  }

  .project-currency,
  .project-school {
    height: 512px;
  }

  .project-currency img,
  .project-school img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .project-currency img {
    margin-left: 0;
  }

  .project-school img {
    margin-left: 0;
  }

  .about-inner {
    padding: 100px 0 100px;
  }

  .about-copy {
    display: block;
    width: 480px;
    margin: 64px auto 0;
  }

  .about-copy p {
    font-size: 16px;
    line-height: 1.2;
  }

  .about-copy p + p {
    margin-top: 31px;
  }

  .contact {
    min-height: 507px;
    padding-top: 189px;
  }

  .contact h2 {
    font-size: 40px;
  }

  .contact p {
    font-size: 24px;
  }
}

@media (max-width: 809.98px) {
  .hero {
    height: 604px;
  }

  .logo-mark {
    top: 13px;
    left: 12px;
    width: 25px;
    height: 25px;
    font-size: 29px;
  }

  .hero-photo {
    object-position: center top;
  }

  .hero-card {
    top: auto;
    right: 18px;
    bottom: 20px;
    left: 18px;
    width: auto;
    min-height: 254px;
    padding: 24px 28px 45px;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(2px);
  }

  .eyebrow {
    margin-bottom: 16px;
    font-size: 24px;
  }

  .hero h1 {
    max-width: 298px;
    font-size: 31px;
    font-weight: 500;
    line-height: 1.22;
  }

  .tag-list {
    gap: 12px;
    margin-top: 27px;
  }

  .tag-list span {
    min-height: 28px;
    padding: 0 17px;
    font-size: 14px;
  }

  .projects {
    padding: 27px 26px 20px;
  }

  .section-heading h2 {
    font-size: 27px;
    line-height: 1.185;
  }

  .section-heading p {
    margin-top: 10px;
    font-size: 24px;
  }

  .project-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    margin-top: 64px;
  }

  .project-neighborhood {
    height: 247px;
  }

  .project-amplified {
    height: 247px;
  }

  .project-currency,
  .project-school {
    height: 247px;
  }

  .project-currency img,
  .project-school img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .project-currency img {
    margin-left: 0;
    object-position: center top;
  }

  .project-school img {
    margin-left: 0;
    object-position: center top;
  }

  .about-inner {
    padding: 42px 36px 54px;
  }

  .section-heading-light h2 {
    font-size: 27px;
    line-height: 1.185;
    white-space: nowrap;
  }

  .section-heading-light p {
    margin-top: 10px;
    font-size: 24px;
  }

  .about-copy {
    display: block;
    margin-top: 33px;
  }

  .about-copy p {
    font-size: 16px;
    line-height: 1.2;
  }

  .about-copy p + p {
    margin-top: 32px;
  }

  .contact {
    min-height: 226px;
    padding: 74px 20px 0;
  }

  .contact h2 {
    font-size: 32px;
  }

  .contact p {
    margin-top: 5px;
    font-size: 21px;
  }

  .contact-actions {
    gap: 11px;
    margin-top: 28px;
  }

  .button {
    min-height: 32px;
    padding: 0 17px;
    font-size: 14px;
  }
}
