/* Preserve the original navigation layout when WordPress supplies menu items. */
.atelier .fzk-nav-items,
.atelier .fzk-nav-items > li {
  display: contents;
}

.atelier .brand-lockup {
  display: grid;
  gap: 3px;
}

.atelier .brand-name-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  white-space: nowrap;
}

.atelier .brand-nevsky {
  border-inline-start: 1px solid #b5a58a;
  padding-inline-start: 8px;
  color: #746045;
  font: italic 13px/1.15 Georgia, 'DejaVu Serif', serif;
}

.atelier .brand .brand-caption {
  display: block;
  max-width: none;
  color: #3e6052;
  font-size: 11px;
  line-height: 1.2;
}

/* Stack the location when the logo shares a row with a compact menu. */
@media screen and (max-width: 1185px) {
  .atelier .header-row .brand-name-row {
    flex-direction: column;
    gap: 2px;
  }

  .atelier .header-row .brand-nevsky {
    border: 0;
    padding: 0;
  }
}

@media screen and (min-width: 1001px) and (max-width: 1200px) {
  .atelier .header-row .brand-wordmark-spb {
    font-size: clamp(16px, 16vw - 144px, 30px);
  }

  .atelier .header-row .brand-caption {
    font-size: clamp(9px, 4vw - 31px, 11px);
  }
}

@media screen and (min-width: 1201px) and (max-width: 1282px) {
  .atelier .header-row .brand-wordmark-spb {
    font-size: clamp(18px, 16vw - 175px, 30px);
  }
}

@media screen and (max-width: 560px) {
  .atelier .brand-name-row {
    flex-direction: column;
    gap: 2px;
  }

  .atelier .brand-nevsky {
    border: 0;
    padding: 0;
  }

  .atelier .header-row .brand-wordmark-spb {
    font-size: clamp(23px, 7vw, 27px);
  }
}

.atelier .office-grid.fzk-office-custom {
  grid-template-columns: minmax(0, 1fr);
}

.atelier .fzk-lead-shortcode :where(label) {
  display: block;
  color: #234a3b;
}

.atelier .fzk-lead-shortcode :where(input:not([type]), input[type="text"], input[type="email"], input[type="tel"], select, textarea) {
  box-sizing: border-box;
  width: 100%;
  min-height: 45px;
  padding: 10px 13px;
  border: 1px solid var(--field-border, #738d7e);
  border-radius: 10px;
  background: #fdfefa;
  color: #193e32;
  font: inherit;
}

.atelier .fzk-lead-shortcode :where(input[type="checkbox"], input[type="radio"]) {
  accent-color: #235f4b;
}

.atelier .fzk-lead-shortcode :where(button[type="submit"], input[type="submit"]) {
  padding: 12px 20px;
  border: 1px solid #1d694e;
  border-radius: 999px;
  color: #fff;
  background: #146148;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

/* Offset the sticky site header while the logged-in toolbar is fixed. */
@media screen and (min-width: 601px) {
  .admin-bar.atelier .site-header {
    top: calc(12px + var(--wp-admin--admin-bar--height, 32px));
  }

  .admin-bar.atelier #request {
    scroll-margin-top: calc(124px + var(--wp-admin--admin-bar--height, 32px));
  }
}
