/* WordPress integration only. The approved design files remain separate. */
[hidden] {
  display: none !important;
}
.desktop-nav ul,
.mobile-nav ul,
.footer nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.desktop-nav ul {
  display: flex;
  gap: 31px;
  align-items: center;
}
.desktop-nav a {
  display: block;
}
.desktop-nav .current-menu-item > a:after,
.desktop-nav .current_page_item > a:after {
  transform: scaleX(1);
}
.mobile-nav ul {
  display: grid;
}
.footer nav ul {
  display: grid;
  gap: 9px;
}
.footer-brand + p {
  max-width: 26ch;
}
.footer-scope h3 {
  max-width: 26ch;
}
.footer-scope p {
  max-width: 32ch;
}
.closing-copy {
  max-width: 620px;
}
.closing h2 {
  max-width: 28ch;
}
.menu-toggle {
  font-size: 23px;
}
.back-to-top {
  bottom: max(22px, env(safe-area-inset-bottom, 0px));
  font-size: 25px;
}
.admin-bar .header {
  top: 32px;
}
.admin-bar .service-jumps {
  top: 124px;
}
.editorial-content {
  max-width: 900px;
}
.editorial-content p,
.editorial-content h2,
.editorial-content ul {
  margin-bottom: 22px;
}
.editorial-content img {
  height: auto;
}
.navigation.pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 28px;
}
.nav-links {
  display: flex;
  gap: 8px;
}
.page-numbers {
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 4px;
}
.page-numbers.current {
  background: var(--yellow);
}
.work-stage > video {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 58vh;
}
.work-preview-error {
  text-align: center;
}
@media (max-width: 1100px) {
  .desktop-nav ul {
    gap: 22px;
  }
}
@media (max-width: 850px) {
  .admin-bar .service-jumps {
    top: 112px;
  }
}
@media (max-width: 782px) {
  .admin-bar .header {
    top: 46px;
  }
}
@media (max-width: 650px) {
  .admin-bar .service-jumps {
    top: auto;
  }
  .back-to-top {
    bottom: max(16px, env(safe-area-inset-bottom, 0px));
    font-size: 23px;
  }
  .work-stage > video {
    max-height: 52vh;
  }
}
@media (max-width: 600px) {
  .admin-bar .header {
    top: 0;
  }
}
.inquiry-form .wpcf7-form-control-wrap {
  display: block;
  margin: 0;
  color: inherit;
  font-size: inherit;
}

/* Contact Form 7 wraps all form-grid labels in one paragraph. */
.inquiry-form .form-grid > p {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  width: 100%;
  margin: 0;
}

.inquiry-form .form-grid > p > label {
  display: block;
  min-width: 0;
}

.inquiry-form .form-grid > p > label.full {
  grid-column: 1 / -1;
}

.inquiry-form .wpcf7-not-valid-tip {
  display: block;
  margin-top: 6px;
  color: #8f2430;
  font-size: 11px;
  font-weight: 600;
}

.inquiry-form .wpcf7-response-output {
  margin: 20px 0 0;
  padding: 12px 14px;
  border: 1px solid #d9d1d8;
  border-radius: 6px;
  font-size: 12px;
}

.inquiry-form .wpcf7-spinner {
  margin: 0 0 0 10px;
}

@media (max-width: 650px) {
  .inquiry-form .form-grid > p {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .inquiry-form .form-grid > p > label.full {
    grid-column: auto;
  }
}
