.image-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 55% 38%, #eee2d6 2%, transparent 50%),
    linear-gradient(125deg, #c4afa0, #aa8f80);
  color: rgba(255, 255, 255, 0.7);
  font-family: Italiana, Georgia, serif;
  font-size: 130px;
}
.photo-holder {
  position: relative;
  overflow: hidden;
}
.photo-holder .image-fallback {
  z-index: 0;
}
.photo-holder img {
  position: relative;
  z-index: 1;
}
.photo-holder img[src=""] {
  display: none;
}
.photo-holder .photo-tag {
  z-index: 3;
}
.section {
  padding-top: 103px;
  padding-bottom: 108px;
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 38px;
}
.section-topline {
  font-size: 10px;
  letter-spacing: 0.23em;
  color: #a0826f;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(45px, 5vw, 69px);
  line-height: 1.06;
  margin: 0;
}
.section-desc {
  max-width: 325px;
  font-size: 13px;
  line-height: 1.85;
  color: #7c7068;
  margin: 0 0 7px;
}
.services {
  background: var(--cream);
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.service-card {
  background: #fff;
  border: 1px solid #ebe3dc;
  min-width: 0;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}
.service-img {
  height: 270px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(125deg, #b9a094, #f3e8e0);
}
.service-img img {
  filter: saturate(0.7);
  transition: transform 0.5s;
}
.service-card:hover img {
  transform: scale(1.06);
}
.sample {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 3;
  background: #fbf8f5e8;
  padding: 6px 9px;
  color: #725f53;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.service-body {
  padding: 23px 20px 21px;
}
.service-number {
  color: #ab917e;
  font-size: 11px;
  letter-spacing: 0.15em;
}
.service-name {
  font-family: Italiana, Georgia, serif;
  font-size: 28px;
  line-height: 1.15;
  min-height: 66px;
  margin: 9px 0 16px;
}
.service-meta {
  display: flex;
  justify-content: space-between;
  gap: 7px;
  border-top: 1px solid #eae3dc;
  padding-top: 14px;
  color: #82756d;
  font-size: 12px;
}
.service-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  padding: 0;
  border: 0;
  background: none;
  width: 100%;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #6a5042;
}
.service-link .arrow {
  width: 34px;
  height: 34px;
  border: 1px solid #d7c7b9;
  border-radius: 100%;
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 400;
}
.service-link:hover .arrow {
  background: #e8d8cb;
}
.work {
  background: #efe6dc;
}
.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 30px;
}
.filter {
  background: transparent;
  border: 1px solid #cbbab0;
  color: #725e52;
  border-radius: 30px;
  padding: 10px 16px;
  font-size: 11px;
  transition: all 0.2s;
}
.filter.active,
.filter:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.work-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 18px;
  grid-auto-flow: dense;
}
.work-item {
  position: relative;
  min-width: 0;
  height: 270px;
  overflow: hidden;
  background: #c9b6a4;
  color: white;
  display: flex;
  cursor: pointer;
  border: 0;
  padding: 0;
  text-align: left;
}
.work-item.tall {
  height: 558px;
  grid-row: span 2;
}
.work-item img {
  transition: transform 0.6s;
  filter: saturate(0.72);
}
.work-item:hover img {
  transform: scale(1.055);
}
.work-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(34, 25, 20, 0.66),
    transparent 52%
  );
  z-index: 2;
}
.work-caption {
  position: absolute;
  left: 23px;
  bottom: 22px;
  z-index: 3;
}
.work-caption strong {
  display: block;
  font-family: Italiana, Georgia, serif;
  font-size: 26px;
  font-weight: 400;
}
.work-caption small {
  display: block;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 6px;
  color: #f1dfcf;
}
.work-item[hidden] {
  display: none;
}
.work-grid.filtered {
  grid-template-columns: repeat(3, 1fr);
}
.work-grid.filtered .work-item {
  height: 320px;
  grid-row: auto;
}
.work-grid.filtered .work-item.tall {
  height: 320px;
}
.mid-quote {
  padding: 90px 26px;
  text-align: center;
  background: #fbf8f4;
}
.mid-quote span {
  color: #ad907b;
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 0.22em;
  font-weight: 700;
}
.mid-quote p {
  font-family: Italiana, Georgia, serif;
  max-width: 700px;
  margin: 20px auto 0;
  font-size: clamp(40px, 5vw, 67px);
  line-height: 1.1;
}
