:root {
  --brand-blue-dark: #2f6bff;
  --brand-blue-mid: #7da2ff;
  --brand-blue-light: #b8cbff;
}

.brand {
  --brand-size: 19px;
  gap: 12px;
}

.brand .weave-mark {
  display: none;
}

.brand::before {
  content: "";
  width: 72px;
  height: 36px;
  flex: 0 0 72px;
  background: url("/weavco-mark.svg?v=20260722-1416") center / contain no-repeat;
}

.brand > span {
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
  font-size: 0;
}

.brand > span::before,
.brand > span::after {
  font-size: var(--brand-size);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1;
}

.brand > span::before {
  content: "WEAVCO";
  color: var(--ink);
}

.brand > span::after {
  content: "\00a0 DIGITAL";
  color: var(--brand-blue-mid);
}

footer .brand {
  --brand-size: 17px;
}

footer {
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 16px;
  min-height: 0;
  padding-top: 34px;
  padding-bottom: 34px;
  text-align: center;
}

footer .brand {
  grid-column: 1;
  grid-row: 1;
}

footer .footer-links {
  grid-column: 1;
  grid-row: 3;
  justify-self: center;
}

footer > a[href^="mailto:"] {
  grid-column: 1;
  grid-row: 2;
  justify-self: center;
}

footer::after {
  content: "© 2026 Weavco Digital. All rights reserved.";
  grid-column: 1;
  grid-row: 4;
  color: #7b8496;
  font-size: 12px;
}

/* Dedicated Retina-scale showcase images replace the low-resolution sprite. */
.hero-art {
  aspect-ratio: 1652 / 952;
}

.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  top: 0;
  right: 0;
}

.project-art {
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.project-art-ai {
  background-image: url("/weavco-assets/work-ai-v2.png");
}

.project-art-qr {
  background-image: url("/weavco-assets/work-qr-v2.png");
  background-size: 125% auto;
}

.project-art-park {
  background-image: url("/weavco-assets/work-park-v2.png");
}

@media (max-width: 580px) {
  .brand {
    --brand-size: 16px;
    gap: 8px;
  }

  .brand::before {
    width: 59px;
    height: 30px;
    flex-basis: 59px;
  }
}

@media (max-width: 580px) {
  footer .footer-links {
    justify-content: center;
  }
}

/* Use the closing artwork as a home for quick-project and setup services. */
.closing-panel > .closing-copy {
  width: 53%;
}

.closing-art {
  opacity: 0.5;
}

.closing-support {
  z-index: 4;
  width: min(36%, 470px);
  position: absolute;
  top: 50%;
  right: clamp(42px, 6vw, 92px);
  transform: translateY(-50%);
  padding-left: clamp(26px, 3vw, 44px);
  border-left: 2px solid var(--brand-blue-mid);
}

.closing-support h3 {
  max-width: 420px;
  margin: 0;
  color: #fff;
  font-size: clamp(28px, 2.6vw, 40px);
  font-weight: 730;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.closing-support p {
  max-width: 450px;
  margin: 20px 0 0;
  color: #c7d2eb;
  font-size: clamp(15px, 1.15vw, 18px);
  line-height: 1.65;
}

.closing-support-link {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  margin-top: 27px;
  padding: 7px 0 5px;
  border-bottom: 1px solid var(--brand-blue-mid);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}

.closing-support-link svg {
  width: 21px;
  fill: none;
  stroke: var(--brand-blue-mid);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.18s;
}

.closing-support-link:hover svg {
  transform: translateX(5px);
}

@media (max-width: 980px) {
  .closing-panel > .closing-copy {
    width: 57%;
  }

  .closing-support {
    right: 38px;
    width: 37%;
  }
}

@media (max-width: 820px) {
  .closing-panel {
    min-height: 0;
  }

  .closing-panel > .closing-copy {
    width: 100%;
    padding-bottom: 38px;
  }

  .closing-support {
    width: auto;
    position: relative;
    top: auto;
    right: auto;
    transform: none;
    margin: 0 30px 54px;
    padding-left: 24px;
  }

  .closing-art {
    height: 55%;
    opacity: 0.32;
  }
}

@media (max-width: 580px) {
  .closing-support {
    margin-left: 30px;
    margin-right: 30px;
    padding-left: 20px;
  }

  .closing-support h3 {
    font-size: 30px;
  }
}

/* Tighten the hero-to-work handoff without crowding either section. */
@media (min-width: 821px) {
  .section[id] {
    scroll-margin-top: 96px;
  }

  .hero {
    padding-top: clamp(40px, 4.5vw, 64px);
    padding-bottom: clamp(36px, 4vw, 64px);
  }

  .section:not(.closing) {
    padding-top: clamp(46px, 5vw, 72px);
    padding-bottom: clamp(46px, 5vw, 72px);
  }

  .work.section {
    padding-top: clamp(56px, 6vw, 84px);
  }
}
