/* Replaces what the old hosted scripts did at runtime. */

/* home tiles: image fills the tile, cropped around a focal point (see site.js) */
.index-item-image-wrapper > img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
}

/* contact form */
.contact-form-status { margin: 12px 0 0; text-align: center; }
.contact-form.is-sending button[type="submit"] { opacity: .6; pointer-events: none; }

/* room for the fixed mobile bar */
@media only screen and (max-width: 768px) {
  .site-container { padding-top: 58px; }
}

/* "More projects" at the bottom of each project page */
.more-projects { clear: both; background: #f9f9f9; margin-top: 40px; }
.more-projects-inner { max-width: 1500px; margin: 0 auto; padding: 56px 3vw 72px; box-sizing: border-box; }
.more-projects-title {
  font-family: 'SentinelPro-Semibold' !important;
  font-weight: 600;
  font-size: clamp(18px, 3vw, 28px);
  line-height: 1.4;
  letter-spacing: -.04em;
  text-align: center;
  color: #291e43;
  margin: 0 0 36px;
}
.more-projects-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px 24px; }
.more-projects-card { display: block; color: #291e43; text-decoration: none; }
.more-projects-thumb { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.more-projects-thumb > img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s cubic-bezier(.33, 0, .2, 1); }
.more-projects-card:hover .more-projects-thumb > img { transform: scale(1.04); }
.more-projects-name { display: block; margin-top: 14px; font-family: 'Gotham-Regular'; font-size: 16px; line-height: 1.4; letter-spacing: -.4px; }
.more-projects-desc { display: block; margin-top: 2px; font-size: 14px; line-height: 1.5; letter-spacing: -.4px; opacity: .75; }
.more-projects-card:hover .more-projects-name, .more-projects-card:focus-visible .more-projects-name { color: #d4025d; }
@media only screen and (max-width: 1000px) {
  .more-projects-list { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
}
@media only screen and (max-width: 768px) {
  .more-projects-inner { padding: 40px 20px 56px; }
}
