:root {
  --color-page: #fff;
  --color-text: #111;
  --color-text-alt: #666;
  --font-family: "Poppins", sans-serif;

  --font-size-h1: 36px;
  --font-size-h2: 24px;
  --font-size-h3: 20px;
  --font-size-p: 12px;
  --font-size-callout: 18px;
  --font-size-link: 14px;

  --space-2: 2px;
  --space-4: 4px;
  --space-10: 10px;
  --space-18: 18px;
  --space-20: 20px;
  --space-30: 30px;
  --space-42: 42px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--color-page);
}

body {
  margin: 0;
  color: var(--color-text);
  background: var(--color-page);
  font-family: var(--font-family);
  font-size: var(--font-size-p);
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
p {
  margin: 0;
}

.page-container {
  width: 100%;
}

.site-header {
  padding: var(--space-30) var(--space-42);
}

.site-header__inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  width: 100%;
}

.site-logo {
  width: 88px;
  border: 0;
}

.site-logo img {
  height: 37.488px;
  object-fit: cover;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: var(--space-20);
}

.site-nav a {
  border: 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.home-intro {
  padding: var(--space-42);
}

.home-intro h1,
.about-callout h2 {
  font-size: var(--font-size-h1);
  font-weight: 500;
  line-height: 1.35;
}

.featured-work {
  padding: var(--space-18) var(--space-30);
}

.section-title {
  margin-bottom: var(--space-20);
  font-size: var(--font-size-h3);
  font-weight: 500;
  line-height: normal;
  text-align: center;
}

.project-list {
  display: grid;
  gap: 40px;
}

.project-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-18);
}

.project-card__image {
  display: block;
  overflow: hidden;
  aspect-ratio: 552 / 414;
  border: 0;
}

.project-card__image img {
  height: 100%;
  object-fit: cover;
  transition: transform 180ms ease;
}

.project-card__image:hover img,
.project-card__image:focus-visible img {
  transform: scale(1.015);
}

.project-card__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-10);
}

.eyebrow {
  font-size: var(--font-size-callout);
  font-weight: 600;
  line-height: 2;
  text-transform: uppercase;
}

.project-card h3 {
  font-size: var(--font-size-h2);
  font-weight: 500;
  line-height: normal;
}

.project-card__description,
.about-callout__body {
  color: var(--color-text-alt);
  font-size: var(--font-size-p);
  font-weight: 300;
  line-height: 1.8;
}

.text-link {
  display: inline-block;
  border-bottom: 2px solid currentColor;
  font-size: var(--font-size-link);
  font-weight: 500;
  line-height: normal;
  text-decoration: none;
}

.text-link:hover,
.text-link:focus-visible {
  border-bottom-width: 4px;
}

.about-callout {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-20);
  padding: var(--space-42);
}

.about-callout__body p + p {
  margin-top: var(--font-size-p);
}

.site-footer {
  padding: var(--space-30) var(--space-42) var(--space-42);
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-30);
}

.site-footer__identity {
  display: flex;
  flex-direction: column;
  gap: var(--space-10);
}

.site-footer__identity h2 {
  font-size: var(--font-size-h2);
  font-weight: 500;
  line-height: normal;
}

.site-footer__identity p {
  font-size: var(--font-size-h3);
  font-weight: 500;
  line-height: normal;
}

.site-footer__contact {
  display: flex;
  flex-direction: column;
  gap: var(--space-18);
}

.contact-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-18);
}

@media (min-width: 768px) {
  :root {
    --font-size-h1: 48px;
    --font-size-h2: 30px;
    --font-size-h3: 24px;
    --font-size-p: 14px;
    --font-size-callout: 20px;
    --font-size-link: 18px;
  }

  .page-container,
  .site-header__inner,
  .site-footer__inner {
    width: min(1200px, calc(100% - 72px));
    margin-inline: auto;
  }

  .site-header {
    padding: 48px 0;
  }

  .site-nav {
    gap: 40px;
  }

  .home-intro {
    padding: 100px;
  }

  .featured-work {
    padding: 36px 0;
  }

  .section-title {
    margin-bottom: 36px;
  }

  .project-list {
    gap: 36px;
  }

  .project-card {
    display: grid;
    grid-template-columns: 40% minmax(0, 1fr);
    align-items: center;
    gap: 40px;
  }

  .project-card__image {
    width: 100%;
    height: auto;
  }

  .project-card__content {
    justify-content: center;
    gap: var(--space-20);
    min-width: 0;
    min-height: 360px;
  }

  .project-card h3 {
    margin-top: 8px;
  }

  .about-callout {
    gap: var(--space-20);
    padding: 100px 0;
  }

  .site-footer {
    padding: 48px 0 100px;
  }

  .site-footer__inner {
    flex-direction: row;
    align-items: flex-start;
    gap: clamp(40px, 6.62vw, 100px);
  }

  .site-footer__identity {
    flex: 0 1 340px;
    gap: var(--space-20);
  }

  .site-footer__contact {
    flex: 1;
    gap: var(--space-20);
    min-width: 0;
    padding-top: 10px;
  }

  .contact-links {
    flex-direction: row;
    flex-wrap: wrap;
    gap: var(--space-20);
  }
}

@media (prefers-reduced-motion: reduce) {
  .project-card__image img {
    transition: none;
  }
}
