/* One contact row on tablet/desktop, natural stacking on phones. */
.dg-studio #contact .dg-contact-topline {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.dg-studio #contact .dg-contact-topline .dg-messenger-contact {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
.dg-studio #contact .dg-contact-heading h2 {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  max-width: none;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.12;
  text-transform: none;
}
@media (min-width: 768px) {
  .dg-studio #contact .dg-contact-topline {
    flex-direction: row;
    align-items: center;
    gap: clamp(18px, 2.2vw, 32px);
  }
  .dg-studio #contact .dg-contact-heading {
    order: 2;
    flex: 0 0 auto;
  }
  .dg-studio #contact .dg-contact-heading h2 {
    font-size: clamp(20px, 2vw, 28px);
    line-height: 1.12;
    white-space: nowrap;
    text-wrap: nowrap;
  }
  .dg-studio #contact .dg-messenger-contact {
    order: 1;
    flex: 1 1 auto;
  }
  .dg-studio #contact .dg-messenger-links {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(6px, .9vw, 10px);
  }
  .dg-studio #contact .dg-messenger-button {
    width: auto;
    min-width: 0;
    min-height: 46px;
    padding: 10px 8px;
    gap: 6px;
    font-size: clamp(11px, 1.15vw, 13px);
    white-space: nowrap;
  }
  .dg-studio #contact .dg-messenger-button svg {
    width: 18px;
    height: 18px;
  }
}
@media (max-width: 767px) {
  .dg-studio #contact .dg-messenger-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .dg-studio #contact .dg-messenger-button {
    width: 100%;
    min-width: 0;
  }
}

/* Main navigation: restrained, readable brand ivory, one step above prior 14px. */
.dg-studio header.fixed nav a:not(.dg-nav-apply),
.dg-studio header.fixed nav a:not(.dg-nav-apply):hover {
  color: var(--dg-white, #EEE9E1) !important;
  font-family: var(--font-sans, 'Inter Tight', Arial, sans-serif);
  font-size: 15px !important;
  font-weight: 500;
  letter-spacing: 0;
}

/* The selected DG metallic form, mirrored left without moving the shaft.
   A 3s cycle keeps the slow glint clear of the delayed arrowhead. */
.dg-studio #contact .dg-contact-direction-arrow {
  flex: 0 0 44px;
  width: 44px;
  height: 10px;
  overflow: visible;
  transform: rotate(180deg);
  pointer-events: none;
}
.dg-contact-direction-arrow .dg-arrow-shaft {
  fill: none;
  stroke-width: 9;
  stroke-linecap: round;
}
.dg-contact-direction-arrow .dg-arrow-glint {
  fill: none;
  stroke-width: 9;
  opacity: 0;
  animation: dg-contact-glint 3s linear infinite;
}
.dg-contact-direction-arrow .dg-arrow-tip {
  opacity: 1;
  animation: dg-contact-tip 3s linear infinite;
}
@keyframes dg-contact-glint {
  0% { transform: translateX(220.8px); opacity: 1; }
  60% { transform: translateX(672.8px); opacity: 1; }
  66%, 100% { transform: translateX(802px); opacity: 0; }
}
@keyframes dg-contact-tip {
  0%, 68% { opacity: 0; }
  72%, 84% { opacity: 1; }
  92%, 100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .dg-contact-direction-arrow .dg-arrow-glint { animation: none; opacity: 0; }
  .dg-contact-direction-arrow .dg-arrow-tip { animation: none; opacity: 1; }
}
