/* Featured project blocks (gallery page + home page).
   Kept separate from ionapaintingllc.webflow.css so a Webflow re-export doesn't overwrite it. */

.project-feature_eyebrow {
  color: var(--lara-b);
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: .75rem;
  font-size: .8125rem;
  font-weight: 700;
  line-height: 1.2;
}

.project-feature_location {
  color: #4b5563;
  margin-top: .5rem;
  margin-bottom: 0;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
}

.project-feature_text {
  color: #1f2937;
  font-size: var(--paragraph);
  line-height: var(--line-height);
  margin-top: 0;
  margin-bottom: 0;
}

.project-feature_tile {
  background-color: #e5e7eb;
  border-radius: 12px;
  width: 100%;
  height: 100%;
  display: block;
  position: relative;
  overflow: hidden;
}

.project-feature_tile img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  transition: transform .5s ease;
  display: block;
}

.project-feature_tile:hover img {
  transform: scale(1.04);
}

.project-feature_tile:focus-visible {
  outline: 3px solid var(--lara-b);
  outline-offset: 3px;
}

/* ---------- Gallery page block ---------- */

.project-feature_card {
  text-align: left;
  width: 100%;
  margin-top: 3rem;
  scroll-margin-top: 6rem;
}

.project-feature_header {
  grid-column-gap: 3rem;
  grid-row-gap: 1.5rem;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: end;
  margin-bottom: 2rem;
  display: grid;
}

.project-feature_title {
  color: var(--black);
  margin-top: 0;
  margin-bottom: 0;
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.15;
}

.project-feature_chips {
  grid-column-gap: .5rem;
  grid-row-gap: .5rem;
  flex-wrap: wrap;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
}

.project-feature_chips li {
  border: 1px solid #c9d6ea;
  color: var(--lara-b);
  background-color: #eef3fa;
  border-radius: 999px;
  margin: 0;
  padding: .3rem .85rem;
  font-size: .8125rem;
  font-weight: 600;
  line-height: 1.4;
}

.project-feature_mosaic {
  grid-column-gap: 1rem;
  grid-row-gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: clamp(130px, 17vw, 230px);
  display: grid;
}

.project-feature_tile.is-hero {
  grid-area: span 2 / span 2;
}

.project-feature_tile.is-wide {
  grid-column: span 2;
}

.project-feature_more {
  grid-column-gap: 1.25rem;
  color: #4b5563;
  letter-spacing: .14em;
  text-transform: uppercase;
  align-items: center;
  width: 100%;
  margin-top: 4rem;
  margin-bottom: 2rem;
  font-size: .8125rem;
  font-weight: 700;
  display: flex;
}

.project-feature_more:before, .project-feature_more:after {
  content: "";
  background-color: #d1d5db;
  flex: 1;
  height: 1px;
}

/* ---------- Home page section ---------- */

.project-feature {
  font-family: var(--font-family);
  background-image: linear-gradient(#f3f6fb, #e9eff8);
  padding: 6rem 5%;
}

.project-feature_inner {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.project-feature_top {
  grid-column-gap: 4rem;
  grid-row-gap: 1.5rem;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: end;
  margin-bottom: 3rem;
  display: grid;
}

.project-feature_heading {
  color: var(--black);
  letter-spacing: -.01em;
  margin-top: 0;
  margin-bottom: 0;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.1;
}

.project-feature_facts {
  border-top: 1px solid #cfd9e8;
  grid-column-gap: 1.5rem;
  grid-row-gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 1.5rem 0 0;
  padding: 1.25rem 0 0;
  display: grid;
}

.project-feature_facts dt {
  color: #6b7280;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: .25rem;
  font-size: .6875rem;
  font-weight: 700;
}

.project-feature_facts dd {
  color: var(--black);
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
}

.project-feature_bento {
  grid-column-gap: 1rem;
  grid-row-gap: 1rem;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: clamp(150px, 17vw, 230px);
  display: grid;
}

.project-feature_bento .project-feature_tile {
  border-radius: 16px;
  grid-column: span 3;
  box-shadow: 0 16px 36px -20px #0c1c3a80;
}

.project-feature_bento .project-feature_tile.is-hero {
  grid-area: span 2 / span 6;
}

.project-feature_bento .project-feature_tile.is-tall {
  grid-area: span 2 / span 2;
}

.project-feature_bento .project-feature_tile.is-wide {
  grid-column: span 4;
}

.project-feature_bento .project-feature_tile:after {
  content: "";
  pointer-events: none;
  background-image: linear-gradient(#0000 68%, #0a173099);
  position: absolute;
  inset: 0;
}

.project-feature_caption {
  z-index: 1;
  color: #fff;
  letter-spacing: .02em;
  text-shadow: 0 1px 2px #0006;
  font-size: .875rem;
  font-weight: 600;
  line-height: 1.2;
  position: absolute;
  bottom: .85rem;
  left: 1rem;
  right: 1rem;
}

.project-feature_tile.is-hero .project-feature_caption {
  font-size: 1.125rem;
  bottom: 1.1rem;
  left: 1.25rem;
}

.project-feature_actions {
  grid-column-gap: .75rem;
  grid-row-gap: .75rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 2.5rem;
  display: flex;
}

.project-feature_button {
  background-color: var(--lara-b);
  border: 2px solid var(--lara-b);
  color: #fff;
  text-align: center;
  border-radius: 8px;
  padding: .85rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color .15s, color .15s, border-color .15s;
}

.project-feature_button:hover {
  background-color: #123568;
  border-color: #123568;
}

.project-feature_button.is-outline {
  color: var(--lara-b);
  background-color: #0000;
}

.project-feature_button.is-outline:hover {
  background-color: var(--lara-b);
  color: #fff;
}

@media screen and (max-width: 991px) {
  .project-feature {
    padding-top: 4rem;
    padding-bottom: 4.5rem;
  }

  .project-feature_top {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    margin-bottom: 2.25rem;
  }

  .project-feature_heading {
    font-size: 2.5rem;
  }

  .project-feature_bento {
    grid-auto-rows: clamp(140px, 22vw, 210px);
  }

  .project-feature_bento .project-feature_tile {
    grid-column: span 6;
  }

  .project-feature_bento .project-feature_tile.is-hero {
    grid-area: span 2 / span 8;
  }

  .project-feature_bento .project-feature_tile.is-tall {
    grid-area: span 2 / span 4;
  }

  .project-feature_bento .project-feature_tile.is-wide {
    grid-column: span 6;
  }

  .project-feature_header {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }

  .project-feature_mosaic {
    grid-auto-rows: clamp(120px, 20vw, 200px);
  }
}

@media screen and (max-width: 767px) {
  .project-feature_heading {
    font-size: 2.125rem;
  }

  .project-feature_title {
    font-size: 1.75rem;
  }

  .project-feature_bento {
    grid-column-gap: .625rem;
    grid-row-gap: .625rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: clamp(120px, 38vw, 240px);
  }

  .project-feature_bento .project-feature_tile, .project-feature_bento .project-feature_tile.is-wide {
    border-radius: 12px;
    grid-area: auto;
  }

  .project-feature_bento .project-feature_tile.is-hero {
    grid-area: span 2 / span 2;
  }

  .project-feature_bento .project-feature_tile.is-tall {
    grid-area: span 2 / auto;
  }

  .project-feature_mosaic {
    grid-column-gap: .625rem;
    grid-row-gap: .625rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: clamp(110px, 36vw, 220px);
  }

  .project-feature_more {
    margin-top: 3rem;
  }
}

@media screen and (max-width: 479px) {
  .project-feature_facts {
    grid-template-columns: minmax(0, 1fr);
  }

  .project-feature_actions {
    flex-direction: column;
  }
}

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