.gallery-projects {
  display: grid;
  gap: clamp(58px, 8vw, 112px);
}

.gallery-project-header {
  min-height: 32px;
  display: flex;
  align-items: center;
}

.gallery-project-header .gallery-index {
  padding-bottom: 0;
}

.gallery-card--project-002,
.gallery-card--project-003 {
  min-height: 0;
  background: #f4f1ea;
}

.gallery-card--project-002::before,
.gallery-card--project-002::after,
.gallery-card--project-003::before,
.gallery-card--project-003::after {
  content: none;
}

.gallery-card--project-002 img,
.gallery-card--project-003 img {
  width: 100%;
  height: auto;
  display: block;
  transition:
    filter 220ms ease,
    transform 220ms ease;
}

.gallery-card--project-002:hover img,
.gallery-card--project-003:hover img {
  filter: contrast(1.02);
  transform: scale(1.006);
}

.gallery-card--project-004 {
  min-height: 0;
  background: #d8d4cb;
  color: #171a18;
}

.gallery-card--project-004::before,
.gallery-card--project-004::after {
  content: none;
}

.project004-preview {
  aspect-ratio: 3 / 2;
  padding: clamp(14px, 2.2vw, 34px);
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: clamp(12px, 1.8vw, 28px);
  background: #d8d4cb;
  overflow: hidden;
  transition: transform 220ms ease, filter 220ms ease;
}

.gallery-card--project-004:hover .project004-preview {
  filter: contrast(1.015);
  transform: scale(1.006);
}

.project004-topbar {
  min-height: clamp(36px, 5vw, 72px);
  padding: 0 clamp(12px, 1.9vw, 28px);
  border: 1px solid rgba(23, 26, 24, .16);
  border-radius: clamp(10px, 1.4vw, 20px) clamp(10px, 1.4vw, 20px) 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f4f0e8;
}

.project004-topbar img {
  width: clamp(26px, 4vw, 58px);
  height: auto;
  max-height: clamp(32px, 4.8vw, 66px);
  object-fit: contain;
}

.project004-local {
  padding: clamp(4px, .7vw, 8px) clamp(7px, 1.3vw, 16px);
  border: 1px solid rgba(23, 26, 24, .14);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #555d58;
  font-size: clamp(5px, .65vw, 9px);
  font-weight: 700;
  white-space: nowrap;
}

.project004-local i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  display: block;
  background: #315f57;
}

.project004-hero {
  padding: 0 clamp(12px, 1.9vw, 28px);
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(18px, 3vw, 54px);
  align-items: end;
}

.project004-hero small {
  display: block;
  margin-bottom: clamp(4px, .8vw, 10px);
  color: #315f57;
  font-size: clamp(5px, .65vw, 9px);
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.project004-hero strong {
  display: block;
  font-size: clamp(23px, 4.25vw, 62px);
  font-weight: 700;
  letter-spacing: -.06em;
  line-height: .91;
}

.project004-hero strong em {
  display: block;
  color: #315f57;
  font-style: normal;
}

.project004-hero p {
  max-width: 360px;
  margin: 0 0 2px auto;
  color: #606862;
  font-size: clamp(6px, .9vw, 13px);
  line-height: 1.45;
}

.project004-interface {
  min-height: 0;
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  gap: clamp(8px, 1.2vw, 16px);
}

.project004-controls,
.project004-qrpanel {
  min-height: 0;
  border-radius: clamp(8px, 1.2vw, 16px);
  overflow: hidden;
}

.project004-controls {
  padding: clamp(10px, 1.5vw, 22px);
  border: 1px solid rgba(23, 26, 24, .16);
  background: rgba(250, 247, 240, .88);
}

.project004-section,
.project004-previewhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: clamp(6px, .85vw, 12px);
}

.project004-section b,
.project004-previewhead b {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.project004-section b span,
.project004-previewhead b span {
  width: clamp(15px, 2vw, 26px);
  aspect-ratio: 1;
  border: 1px solid currentColor;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  font-size: clamp(5px, .6vw, 8px);
  opacity: .58;
}

.project004-section > i,
.project004-previewhead > i {
  font-size: clamp(4px, .55vw, 7px);
  font-style: normal;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .5;
}

.project004-tabs {
  margin: clamp(7px, 1vw, 14px) 0;
  padding: 3px;
  border-radius: 8px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: rgba(23, 26, 24, .07);
  color: #656b67;
  font-size: clamp(5px, .65vw, 9px);
  text-align: center;
}

.project004-tabs span {
  padding: clamp(4px, .6vw, 7px) 3px;
  border-radius: 6px;
}

.project004-tabs .active {
  background: #faf7f0;
  color: #171a18;
}

.project004-controls > small {
  color: #4a504c;
  font-size: clamp(4px, .55vw, 8px);
  font-weight: 700;
}

.project004-input {
  margin-top: 4px;
  padding: clamp(5px, .75vw, 9px);
  border: 1px solid rgba(23, 26, 24, .14);
  border-radius: 7px;
  color: #343a36;
  font-size: clamp(5px, .65vw, 9px);
}

.project004-rule {
  height: 1px;
  margin: clamp(7px, 1.1vw, 13px) 0;
  background: rgba(23, 26, 24, .13);
}

.project004-swatches {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  color: #646b66;
  font-size: clamp(4px, .55vw, 8px);
}

.project004-swatches span {
  min-width: 0;
  padding: 5px;
  border: 1px solid rgba(23, 26, 24, .12);
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.project004-swatches i {
  width: clamp(9px, 1.2vw, 16px);
  aspect-ratio: 1;
  border-radius: 4px;
  background: #173b35;
}

.project004-swatches span:last-child i {
  border: 1px solid rgba(23, 26, 24, .1);
  background: #f4f0e8;
}

.project004-qrpanel {
  padding: clamp(10px, 1.5vw, 22px);
  display: grid;
  grid-template-rows: auto 1fr;
  background: #17221f;
  color: #f4f0e8;
}

.project004-previewhead > i {
  color: rgba(244, 240, 232, .55);
}

.project004-qrstage {
  min-height: 0;
  margin-top: clamp(7px, 1vw, 14px);
  border: 1px solid rgba(244, 240, 232, .1);
  border-radius: 10px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(rgba(244,240,232,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244,240,232,.025) 1px, transparent 1px),
    #1c2925;
  background-size: 18px 18px;
}

.project004-qr {
  width: min(56%, 260px);
  height: auto;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,.22));
}

@media (max-width: 700px) {
  .project004-preview {
    padding: 9px;
    gap: 8px;
  }

  .project004-hero {
    gap: 12px;
  }

  .project004-interface {
    gap: 6px;
  }

  .project004-controls,
  .project004-qrpanel {
    padding: 8px;
  }
}

.coming-soon-page {
  min-height: calc(100svh - var(--header-height));
  padding: 48px var(--gutter);
  display: grid;
  place-items: center;
  text-align: center;
}

.coming-soon-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.coming-soon-index {
  margin: 0 0 24px;
  color: var(--mist);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.coming-soon-title {
  margin: 0;
  font-size: clamp(64px, 12vw, 170px);
  font-weight: 700;
  letter-spacing: -0.075em;
  line-height: 0.78;
  text-transform: uppercase;
}

.coming-soon-return {
  min-height: 48px;
  margin-top: clamp(44px, 7vw, 78px);
  padding: 0 18px;
  border: 1px solid var(--graphite);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
  transition: border-color 180ms ease;
}

.coming-soon-return:hover {
  border-color: var(--paper);
}

@media (max-width: 700px) {
  .gallery-projects {
    gap: 54px;
  }

  .coming-soon-page {
    padding-top: 36px;
    padding-bottom: 36px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-card--project-002 img,
  .gallery-card--project-003 img {
    transition: none;
  }
}