/* Only the homepage projects section. Other sections and project pages keep their styles. */
html body #projects.projects[data-projects-layout="featured"] {
  display: block;
  height: auto;
  min-height: 0;
  padding: clamp(48px, 5.5vw, 84px) 0 clamp(56px, 6vw, 88px);
  overflow: hidden;
  background: #fafafa;
  border-top: 1px solid #d8dad5;
}
#projects[data-projects-layout="featured"] > header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 40px;
  width: min(88vw, 1680px);
  margin: 0 auto;
  padding: 0 0 38px;
}
#projects[data-projects-layout="featured"] > header h2 {
  margin: 8px 0 0;
  font-size: clamp(32px, 3.7vw, 56px);
  line-height: 1.3;
}
#projects[data-projects-layout="featured"] > header > div:last-child {
  max-width: 540px;
  justify-self: end;
}
#projects[data-projects-layout="featured"] > header > div:last-child > p {
  margin: 0 0 20px;
  font-size: clamp(16px, 1.2vw, 20px) !important;
  line-height: 1.8 !important;
}
#projects[data-projects-layout="featured"] #project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: none;
  align-items: start;
  gap: clamp(24px, 3.3vw, 56px);
  width: min(88vw, 1680px);
  height: auto;
  min-height: 0;
  margin: 0 auto;
  border-radius: 0;
  background: transparent;
}
#projects[data-projects-layout="featured"] .home-featured-project { min-width: 0; }
#projects[data-projects-layout="featured"] .home-featured-cover {
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: 12px;
  background: #eeece8;
}
#projects[data-projects-layout="featured"] .home-featured-cover img,
#projects[data-projects-layout="featured"] .home-featured-details img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#projects[data-projects-layout="featured"] .home-featured-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}
#projects[data-projects-layout="featured"] .home-featured-details figure { margin: 0; min-width: 0; }
#projects[data-projects-layout="featured"] .home-featured-details img {
  height: auto;
  aspect-ratio: 3 / 2;
  border-radius: 8px;
  background: #eeece8;
}
#projects[data-projects-layout="featured"] .home-featured-details figcaption {
  padding-top: 7px;
  color: #767269;
  font-size: 12px;
  line-height: 1.5;
}
#projects[data-projects-layout="featured"] .home-featured-copy { padding-top: 24px; }
#projects[data-projects-layout="featured"] .home-featured-title { display: flex; align-items: baseline; gap: 13px; }
#projects[data-projects-layout="featured"] .home-featured-number { color: #9e8f7c; font-size: 13px; letter-spacing: .08em; }
#projects[data-projects-layout="featured"] .home-featured-title h3 {
  margin: 0;
  font-size: clamp(25px, 2.1vw, 34px);
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: .035em;
  overflow-wrap: anywhere;
}
#projects[data-projects-layout="featured"] .home-featured-title a { color: #252725; text-decoration: none; }
#projects[data-projects-layout="featured"] .home-featured-location {
  margin: 10px 0 0;
  font-size: 14px !important;
  line-height: 1.8 !important;
  color: #69675f;
}
#projects[data-projects-layout="featured"] .home-featured-facts {
  margin: 3px 0 0;
  font-size: 13px !important;
  line-height: 1.8 !important;
  color: #7c7163;
}
#projects[data-projects-layout="featured"] .home-featured-brief {
  margin: 18px 0 0;
  max-width: 56ch;
  font-size: clamp(15px, 1.1vw, 18px) !important;
  line-height: 1.85 !important;
  color: #60625e;
  overflow-wrap: anywhere;
}
#projects[data-projects-layout="featured"] .home-featured-link {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  min-height: 44px;
  margin-top: 16px;
  color: #766b5b;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid #b7ab9b;
}
#projects[data-projects-layout="featured"] .home-featured-link:hover { color: #252725; border-color: currentColor; }
#projects[data-projects-layout="featured"] a:focus-visible { outline: 2px solid #766b5b; outline-offset: 5px; }
@media (max-width: 760px) {
  html body #projects.projects[data-projects-layout="featured"] { padding: 44px 0 52px; }
  #projects[data-projects-layout="featured"] > header { grid-template-columns: 1fr; gap: 20px; padding-bottom: 28px; }
  #projects[data-projects-layout="featured"] > header > div:last-child { justify-self: start; }
  #projects[data-projects-layout="featured"] > header h2 { font-size: clamp(30px, 8vw, 38px); }
  #projects[data-projects-layout="featured"] #project-grid { grid-template-columns: 1fr; gap: 38px; }
  #projects[data-projects-layout="featured"] .home-featured-project + .home-featured-project { padding-top: 34px; border-top: 1px solid #d8dad5; }
  #projects[data-projects-layout="featured"] .home-featured-details { gap: 10px; margin-top: 10px; }
  #projects[data-projects-layout="featured"] .home-featured-copy { padding-top: 19px; }
  #projects[data-projects-layout="featured"] .home-featured-title h3 { font-size: 27px; }
  #projects[data-projects-layout="featured"] .home-featured-brief { margin-top: 14px; }
  #projects[data-projects-layout="featured"] .home-featured-link { margin-top: 12px; }
}
