@charset "UTF-8";

/* ---------- BASE ---------- */

body {
  margin: 0;
  background-color: #f8f5f2;
  color: #2f2118;
  font-family: "Inclusive Sans", sans-serif;
}

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

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

.main-container,
.header-container,
.footer-container {
  max-width: 1280px;
  padding-left: 24px;
  padding-right: 24px;
}

/* ---------- HEADER ---------- */

.site-header {
  background-color: #e9e0d8;
  padding: 17px 0 15px;
}

.brand h1 {
  font-family: "Inria Serif", serif;
  font-size: 16px;
  letter-spacing: 1.2px;
  margin: 0;
  color: #271a12;
}

.brand p {
  font-size: 12px;
  margin: 0;
  color: #271a12;
}

.nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
  font-size: 13px;
}

.nav-links a {
  color: #271a12;
}

.nav-links a:hover {
  color: #7b3d19;
}

/* ---------- PORTFOLIO ---------- */

.portfolio-section {
  padding-top: 46px;
}

.page-title {
  font-family: "Inria Serif", serif;
  font-size: 43px;
  letter-spacing: 9px;
  color: #7b3d19;
  margin: 0;
  line-height: 1;
}

.photo-note {
  font-size: 10px;
  margin: 5px 0 13px;
  color: #7b3d19;
}

.section-line {
  width: 100%;
  height: 1px;
  background-color: #7d7773;
  margin-top: 25px;
  margin-bottom: 25px;
}

.category-label {
  display: inline-block;
  background-color: #eee6de;
  color: #7b3d19;
  font-size: 16px;
  letter-spacing: 1px;
  padding: 7px 13px;
  border-radius: 4px;
  margin: 0 0 32px;
}

.portfolio-row {
  margin-bottom: 46px;
  row-gap: 34px;
}

.top-row {
  margin-top: 0;
}

.portfolio-img {
  background-color: #fff;
  border: 6px solid #eee8e2;
  box-shadow: 0 0 0 1px #d7ccc3;
  object-fit: cover;
  margin-left: auto;
  margin-right: auto;
}

.small-img {
  max-width: 280px;
  aspect-ratio: 1 / 1.28;
}

.wide-img {
  max-width: 480px;
  aspect-ratio: 1.6 / 1;
}

.square-img {
  max-width: 430px;
  aspect-ratio: 1 / 1;
}

.poster-img {
  max-width: 320px;
  aspect-ratio: 0.72 / 1;
}

.tall-img {
  max-width: 285px;
  aspect-ratio: 0.66 / 1;
}

.landscape-img {
  max-width: 570px;
  aspect-ratio: 1.62 / 1;
}

.phone-img {
  max-width: 330px;
  aspect-ratio: 0.76 / 1;
}

.graphite-wide {
  max-width: 450px;
  aspect-ratio: 1.25 / 1;
}

.graphite-tall {
  max-width: 330px;
  aspect-ratio: 0.78 / 1;
}

.last-portfolio-row {
  margin-bottom: 58px;
}

/* ---------- ABOUT ---------- */

.about-section {
  padding-bottom: 45px;
}

.about-row {
  padding-top: 40px;
}

.about-text {
  max-width: 650px;
  padding-left: 68px;
}

.about-text h3 {
  font-family: "Inclusive Sans", sans-serif;
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 15px;
}

.about-text p {
  font-size: 13px;
  line-height: 1.85;
  margin-bottom: 14px;
}

.about-photo {
  max-width: 440px;
  margin-left: auto;
  border: none;
}

/* ---------- FOOTER ---------- */

.site-footer {
  background-color: #e9e0d8;
  padding: 22px 0;
  font-size: 10px;
}

.site-footer p {
  margin: 0;
}

.footer-social {
  display: flex;
  justify-content: flex-end;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
}

.footer-social span {
  white-space: nowrap;
}

/* ---------- PHONE VERSION ---------- */

@media (max-width: 767px) {

  .main-container,
  .header-container,
  .footer-container {
    padding-left: 18px;
    padding-right: 18px;
  }
	
.footer-line {
    display: flex;
    flex-direction: column;   /* stacks items */
    align-items: center;      /* centers everything on phone */
    text-align: center;
    gap: 6px;
  }

.footer-line strong {
  display: inline-block;
}

  .site-header .d-flex {
    align-items: flex-start !important;
  }

  .brand h1 {
    font-size: 14px;
  }

  .nav-links {
    gap: 12px;
    font-size: 10px;
  }

  .portfolio-section {
    padding-top: 35px;
  }

  .page-title {
    font-size: 34px;
    letter-spacing: 5px;
  }

  .category-label {
    font-size: 12px;
    margin-bottom: 25px;
  }

  .portfolio-row {
    margin-bottom: 38px;
  }

  .portfolio-img {
    border-width: 5px;
  }

  .small-img,
  .wide-img,
  .square-img,
  .poster-img,
  .tall-img,
  .landscape-img,
  .phone-img,
  .graphite-wide,
  .graphite-tall {
    max-width: 100%;
  }

  .about-text {
    padding-left: 0;
    max-width: 100%;
  }

  .about-text p {
    font-size: 12px;
    line-height: 1.75;
  }

  .about-photo {
    margin: 30px auto 0;
    max-width: 100%;
  }

  .footer-info,
  .footer-social {
    text-align: left;
    justify-content: flex-start;
  }

  .footer-social {
    margin-top: 15px;
    gap: 12px;
  }
}


/* ---------- PROJECT DETAIL PAGE ---------- */

.project-page {
  background-color: #f8f5f2;
  padding: 60px 0 70px;
}

.project-container {
  max-width: 1160px;
  padding-left: 24px;
  padding-right: 24px;
}

.project-row {
  align-items: flex-start;
  column-gap: 40px;
}

.project-image-col {
  flex: 0 0 48%;
  max-width: 48%;
}

.project-text-col {
  flex: 0 0 48%;
  max-width: 48%;
}

.main-project-img {
  width: 100%;
  max-width: 445px;
  margin-left: auto;
  margin-right: auto;
}

.project-info {
  max-width: 520px;
  padding-top: 8px;
}

.project-info h1 {
  font-family: "Inria Serif", serif;
  font-size: 20px;
  font-weight: 700;
  color: #1f140e;
  margin: 0 0 8px;
}

.project-description {
  font-size: 13px;
  line-height: 1.45;
  color: #1f140e;
  max-width: 520px;
  margin-bottom: 28px;
}

.project-list {
  font-size: 11.5px;
  line-height: 1.25;
  margin-bottom: 24px;
  color: #1f140e;
}

.process-title {
  font-size: 11.5px;
  margin-bottom: 8px;
  color: #1f140e;
}

.process-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 28px;
  align-items: start;
}

.process-left {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.process-left img:first-child {
  max-width: 338px;
}

.process-left img:last-child {
  max-width: 338px;
}

.process-right img {
  max-width: 158px;
}

/* ---------- PROJECT PHONE VERSION ---------- */

@media (max-width: 991px) {
  .project-page {
    padding: 40px 0 50px;
  }

	
  .project-image-col,
  .project-text-col {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .main-project-img {
    max-width: 100%;
    margin-bottom: 35px;
  }

  .project-info {
    max-width: 100%;
    padding-top: 0;
  }

  .process-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .process-left img:first-child,
  .process-left img:last-child,
  .process-right img {
    max-width: 100%;
  }
}

@media (max-width: 767px) {
  .project-container {
    padding-left: 18px;
    padding-right: 18px;
  }

  .project-info h1 {
    font-size: 19px;
  }

  .project-description {
    font-size: 12.5px;
  }

  .project-list,
  .process-title {
    font-size: 11px;
  }
}


