/* Location details in the enquiry block and footer. */
.contact-location {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  align-items: start;
}

.contact-lines > a {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  align-items: start;
}

.contact-lines > a > span {
  display: block;
  width: auto;
}

.contact-location-label {
  padding-top: 4px;
  color: #99968f;
  font: 9px/1.5 var(--mono);
  letter-spacing: .06em;
  white-space: nowrap;
}

.contact-location a {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.footer-location {
  display: grid;
  gap: 4px;
  margin-top: 5px;
}

.footer-location strong {
  color: #898780;
  font: 9px/1.4 var(--mono);
  letter-spacing: .1em;
}

.footer-location a {
  color: #bbb;
  font-size: 11px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

@media (min-width: 1051px) {
  .service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 721px) and (max-width: 900px) {
  .site-header nav {
    display: none;
    position: absolute;
    top: 91px;
    left: 0;
    right: 0;
    z-index: 10;
    flex-direction: column;
    gap: 22px;
    margin: 0;
    padding: 24px 6vw;
    border-top: 1px solid #333;
    background: #151514;
  }

  .site-header nav.open {
    display: flex;
  }

  .menu-toggle {
    display: grid;
    gap: 5px;
    padding: 8px;
    color: white;
    background: none;
    border: 0;
  }

  .menu-toggle span {
    display: block;
    width: 19px;
    height: 1px;
    background: #fff;
  }

  .header-cta {
    margin-left: auto;
    margin-right: 17px;
  }
}

.laser-card {
  position: absolute;
  left: 31px;
  top: 33px;
  width: 118px;
  height: 64px;
  border: 1px solid #77736c;
  background: linear-gradient(135deg, #d8d5ce, #f5f2eb 48%, #b9b5ac);
  box-shadow: 5px 6px 0 #d1cec7, 6px 7px 0 #e8662b;
  transform: skewY(-7deg);
}

.laser-card b {
  position: absolute;
  top: 12px;
  left: 12px;
  color: #35332f;
  font: 700 8px var(--mono);
  letter-spacing: .14em;
}

.laser-card i {
  position: absolute;
  top: 29px;
  left: 12px;
  width: 70px;
  height: 1px;
  background: #88847d;
  box-shadow: 0 5px #aaa69d;
}

.laser-card span {
  position: absolute;
  left: 12px;
  bottom: 6px;
  color: #77736c;
  font: 6px var(--mono);
  letter-spacing: .1em;
}

.laser-tag {
  position: absolute;
  left: 157px;
  top: 43px;
  width: 42px;
  height: 47px;
  border: 2px solid #746e64;
  border-radius: 50% 50% 48% 48%;
  background: linear-gradient(110deg, #e3dfd6, #a7a196);
  box-shadow: 3px 4px 0 #d8d4cc;
  transform: rotate(7deg);
}

.laser-tag i {
  position: absolute;
  top: 4px;
  left: 16px;
  width: 6px;
  height: 6px;
  border: 1px solid #55514a;
  border-radius: 50%;
}

.laser-tag .paw-mark {
  position: absolute;
  left: 8px;
  top: 13px;
  width: 23px;
  height: 18px;
  background:
    radial-gradient(ellipse 4px 3px at 50% 76%, #e75b20 98%, transparent 100%),
    radial-gradient(ellipse 2.5px 3px at 16% 42%, #e75b20 98%, transparent 100%),
    radial-gradient(ellipse 2.5px 3px at 38% 19%, #e75b20 98%, transparent 100%),
    radial-gradient(ellipse 2.5px 3px at 64% 19%, #e75b20 98%, transparent 100%),
    radial-gradient(ellipse 2.5px 3px at 86% 42%, #e75b20 98%, transparent 100%);
}

.laser-tag b {
  position: absolute;
  left: 0;
  bottom: 3px;
  width: 100%;
  color: #514d46;
  font: 5px var(--mono);
  letter-spacing: .08em;
  text-align: center;
}

.laser-line {
  position: absolute;
  top: 15px;
  left: 118px;
  width: 2px;
  height: 34px;
  background: #ff6a25;
  box-shadow: 0 0 8px #ff6a25;
  transform: rotate(24deg);
}

.laser-flare,
.precision-spark {
  position: absolute;
  color: #e75b20;
  font-size: 17px;
}

.laser-flare {
  top: 19px;
  right: 20px;
}

.precision-plate {
  position: absolute;
  left: 35px;
  top: 29px;
  width: 126px;
  height: 69px;
  border: 1px solid #817d75;
  background: linear-gradient(135deg, #e2dfd8, #bcb8af);
  box-shadow: 5px 6px 0 #d1cec7, 6px 7px 0 #e8662b;
  transform: skewY(-7deg);
}

.precision-plate strong {
  position: absolute;
  top: 10px;
  left: 12px;
  color: #37342f;
  font: 700 12px var(--mono);
  letter-spacing: .12em;
}

.precision-plate span {
  position: absolute;
  left: 12px;
  bottom: 10px;
  color: #77736c;
  font: 6px var(--mono);
  letter-spacing: .12em;
}

.precision-plate i {
  position: absolute;
  left: 12px;
  right: 12px;
  top: 36px;
  height: 1px;
  background: #8f8b83;
  box-shadow: 0 4px #aaa69e;
}

.precision-spark {
  top: 19px;
  right: 26px;
}

.precision-beam {
  position: absolute;
  top: 12px;
  right: 48px;
  width: 2px;
  height: 26px;
  background: #ff6a25;
  box-shadow: 0 0 8px #ff6a25;
  transform: rotate(22deg);
}

/* Mobile hero: keep the full printer GIF visible in a dedicated panel. */
@media (max-width: 720px) {
  .hero {
    min-height: 850px;
    height: auto;
    padding-bottom: 0;
  }

  .hero-copy {
    position: relative;
    z-index: 3;
  }

  .printer-scene {
    position: absolute !important;
    inset: auto 0 0 !important;
    width: 100% !important;
    height: clamp(165px, 50vw, 250px) !important;
    margin: 0 !important;
    transform: none !important;
    overflow: hidden !important;
    background: #101010 !important;
    z-index: 1 !important;
  }

  .hero-image {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    object-fit: cover !important;
    object-position: center 50% !important;
    filter: brightness(.9) contrast(1.04) !important;
    transform: none !important;
    animation: none !important;
  }

  .image-shade {
    background: linear-gradient(
      180deg,
      #101010 0%,
      rgba(16, 16, 16, .18) 20%,
      rgba(16, 16, 16, .02) 60%,
      rgba(16, 16, 16, .35) 100%
    ) !important;
  }

  .scene-label {
    top: 12px !important;
    right: 18px !important;
    bottom: auto !important;
  }

  .scene-caption {
    left: 18px !important;
    right: 18px !important;
    bottom: 12px !important;
  }

  .hero-index {
    bottom: calc(clamp(165px, 50vw, 250px) + 14px) !important;
  }

  .site-footer .footer-links {
    grid-column: 1 / -1;
  }
}

/* Repeating workshop footage behind the orange statement panel. */
.statement {
  isolation: isolate;
  background: #e85f26;
}

.statement-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  /* Show more of the complete grid footage instead of zooming into a crop. */
  object-fit: contain;
  object-position: center;
  background: #e85f26;
  filter: brightness(.72) saturate(.82) contrast(1.05);
}

.statement-video-tint {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(105deg, rgba(232, 95, 38, .8), rgba(232, 95, 38, .62));
}

.statement-orb,
.statement-stamp {
  z-index: 2;
}

.statement-content {
  z-index: 3;
}

@media (max-width: 720px) {
  .statement-video {
    object-fit: contain;
    object-position: center;
  }
}

/* Recent work photo carousel. */
.recent-work {
  background: #101010;
  color: #f4f1eb;
}

.recent-work .section-kicker {
  color: #a5a198;
  border-color: rgba(255, 255, 255, .17);
}

.recent-work-heading {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 10%;
  align-items: end;
  padding: 53px 0 42px;
}

.recent-work-heading .eyebrow {
  color: #aaa69e;
  margin: 0 0 16px;
}

.recent-work-heading h2 {
  margin: 0;
  font-size: clamp(48px, 5.4vw, 72px);
  line-height: 1.01;
  letter-spacing: -.065em;
  font-weight: 600;
}

.recent-work-heading h2 em {
  color: var(--orange);
  font-style: normal;
}

.recent-work-heading > p {
  max-width: 470px;
  margin: 0 0 4px;
  color: #b7b3ac;
  font-size: 15px;
  line-height: 1.85;
}

.work-carousel {
  max-width: 1120px;
  margin: 0 auto;
}

.work-slide {
  margin: 0;
}

.work-slide[hidden],
.work-controls[hidden] {
  display: none;
}

.work-slide:not([hidden]) {
  animation: work-enter .35s ease both;
}

@keyframes work-enter {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.work-photo-frame {
  position: relative;
  width: 100%;
  height: auto;
  min-height: 0;
  overflow: hidden;
  display: block;
  background: #0b0b0a;
  border: 1px solid rgba(255, 255, 255, .15);
}

.work-backdrop {
  display: none;
}

.work-photo {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  max-height: none;
  object-fit: initial;
}

.work-slide figcaption {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 67px;
  padding: 15px 20px;
  border: 1px solid rgba(255, 255, 255, .15);
  border-top: 0;
  background: #191817;
}

.work-slide figcaption span {
  color: var(--orange);
  font: 10px var(--mono);
  letter-spacing: .11em;
  white-space: nowrap;
}

.work-slide figcaption strong {
  color: #f2efe9;
  font-size: 16px;
  font-weight: 600;
}

.work-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 15px;
}

.work-controls button {
  height: 46px;
  min-width: 46px;
  padding: 0 13px;
  color: #f2efe9;
  background: #22211f;
  border: 1px solid rgba(255, 255, 255, .2);
  font: 14px var(--mono);
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}

.work-controls button:hover,
.work-controls button:focus-visible {
  background: var(--orange);
  border-color: var(--orange);
  color: #17110e;
  outline: none;
}

.work-status {
  min-width: 78px;
  color: #aaa69e;
  font: 11px var(--mono);
  letter-spacing: .12em;
  text-align: center;
}

.work-controls .work-toggle {
  min-width: 92px;
  margin-left: auto;
  font-size: 10px;
  letter-spacing: .08em;
}

@media (max-width: 720px) {
  .recent-work-heading {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 39px 0 31px;
  }

  .recent-work-heading h2 {
    font-size: clamp(44px, 11vw, 60px);
  }

  .recent-work-heading > p {
    font-size: 13px;
  }

  .work-photo-frame {
    height: auto;
    min-height: 0;
  }

  .work-slide figcaption {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding: 14px 15px;
  }

  .work-slide figcaption span {
    font-size: 9px;
  }

  .work-slide figcaption strong {
    font-size: 14px;
    line-height: 1.5;
  }

  .work-controls {
    gap: 8px;
  }

  .work-controls button {
    height: 42px;
    min-width: 42px;
  }

  .work-controls .work-toggle {
    min-width: 80px;
  }
}
