/* Design Marque Refined RC10 — consolidated finishing changes.
   Loaded last to preserve earlier editorial, property and homepage layouts. */

/* Contact: Cormorant Garamond office address, matching other display information. */
.page-contact .contact-detail p[data-copy-id="contact-address"] {
  font-family: var(--head), "Cormorant Garamond", Georgia, serif !important;
  font-size: clamp(24px, 2.45vw, 33px) !important;
  font-weight: 300 !important;
  font-style: normal;
  letter-spacing: -.018em !important;
  line-height: 1.35 !important;
  color: var(--gold-on-light);
  max-width: 35ch;
}

/* Balanced desktop contact columns without restricting how much someone can type. */
@media (min-width: 951px) {
  .page-contact .contact-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(54px, 7.5vw, 118px);
    align-items: stretch;
  }
  .page-contact .contact-layout > .contact-intro,
  .page-contact .contact-layout > .dmpm-contact-panel { min-width: 0; align-self: stretch; }
  .page-contact .contact-layout > .dmpm-contact-panel { display: flex; flex-direction: column; }
  .page-contact .dmpm-contact-panel > .wpcf7 { flex: 1; }
}
.page-contact .dmpm-contact-panel > .eyebrow { margin-bottom: 23px; }
.page-contact .dmpm-contact-panel .wpcf7 form { gap: .45rem; }
.page-contact .dmpm-contact-panel .wpcf7 form > p { margin-bottom: 7px; }
.page-contact .dmpm-contact-panel .wpcf7 textarea {
  min-height: 100px !important;
  height: 110px;
  max-height: 260px;
  resize: vertical;
}
.page-contact .dmpm-contact-panel .wpcf7 input[type="submit"] { margin-top: 5px; }

/* Footer: keep it minimal; no address under the mark. */
.site-footer.site-footer--refined .footer-identity > .footer-address { display: none !important; }
.site-footer.site-footer--refined .footer-copyright,
.site-footer.site-footer--refined .footer-bottom .footer-copyright {
  font-family: var(--body), "Montserrat", sans-serif !important;
  font-size: 10px !important;
  font-weight: 400 !important;
  letter-spacing: .20em !important;
  line-height: 2.0;
  text-transform: uppercase !important;
  overflow-wrap: anywhere;
}
@media (max-width: 600px) {
  .site-footer.site-footer--refined .footer-copyright { font-size: 9px !important; letter-spacing: .135em !important; }
  .page-contact .dmpm-contact-panel .wpcf7 textarea { height: 100px; }
  .page-contact .contact-detail p[data-copy-id="contact-address"] { font-size: 27px !important; }
}

/* The supplied house photograph belongs specifically to Consulting. */
#design-marque-consulting .editorial-photo-block img { object-position: 53% center; }

/* Accessible, understated state feedback tied to Contact Form 7's result. */
.dmpm-contact-panel .dmpm-send-feedback {
  margin-top: 22px;
  padding: 19px 20px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--gold-on-light);
  font: 400 13px/1.6 var(--body), "Montserrat", sans-serif;
  letter-spacing: .03em;
  align-items: center;
  gap: 14px;
}
.dmpm-contact-panel .dmpm-send-feedback:not([hidden]) { display: flex; animation: dmpm-feedback-enter .45s ease-out both; }
.dmpm-contact-panel .dmpm-send-feedback-icon { flex: 0 0 35px; display: grid; place-items: center; height: 36px; width: 36px; }
.dmpm-send-feedback svg { display: none; stroke: var(--gold-on-light); stroke-width: 2; fill: none; }
.dmpm-send-feedback[data-state="sent"] svg { display: block; height: 35px; width: 35px; }
.dmpm-send-feedback[data-state="sent"] .dmpm-send-ring { stroke-dasharray: 132; stroke-dashoffset: 132; animation: dmpm-draw-ring .70s ease both; }
.dmpm-send-feedback[data-state="sent"] .dmpm-send-check { stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 36; stroke-dashoffset: 36; animation: dmpm-draw-check .40s .55s ease forwards; }
.dmpm-send-feedback[data-state="sending"] .dmpm-send-feedback-icon::before {
  content: ''; width: 23px; height: 23px; border: 2px solid #d8c9ab; border-top-color: var(--gold-on-light); border-radius: 50%; animation: dmpm-spinner .85s linear infinite;
}
.dmpm-send-feedback[data-state="error"] { color: #8a463b; }
.dmpm-send-feedback[data-state="error"] .dmpm-send-feedback-icon::before { content: '!'; font-family: var(--head); font-size: 29px; }
@keyframes dmpm-feedback-enter { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
@keyframes dmpm-spinner { to { transform: rotate(360deg); } }
@keyframes dmpm-draw-ring { to { stroke-dashoffset: 0; } }
@keyframes dmpm-draw-check { to { stroke-dashoffset: 0; } }

/* Motion: soft reveal on editorial material, not interface controls or forms. */
@media (prefers-reduced-motion: no-preference) {
  .has-js .dmpm-scroll-reveal { transition: opacity .78s cubic-bezier(.18,.6,.25,1), transform .9s cubic-bezier(.19,1,.22,1); }
  .has-js .dmpm-scroll-reveal:not(.dmpm-revealed) { opacity: 0; transform: translate3d(0, 17px, 0); }
  .has-js .dmpm-scroll-reveal.dmpm-revealed { opacity: 1; transform: translate3d(0, 0, 0); }
  .hero-content { animation: dmpm-hero-copy .95s ease-out .12s both; }
  .editorial-photo-block img, .about-photo img, .gallery-card img, .rental-card img, .testimonial-card,
  .footer-logo img { transition: transform .9s cubic-bezier(.19,1,.22,1), opacity .35s ease; }
  .editorial-photo-block:hover img, .about-photo:hover img, .gallery-card:hover img, .rental-card:hover img { transform: scale(1.018); }
  @keyframes dmpm-hero-copy { from { opacity: .4; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
}
@media (prefers-reduced-motion: reduce) {
  .dmpm-scroll-reveal, .dmpm-scroll-reveal:not(.dmpm-revealed) { opacity: 1 !important; transform: none !important; transition: none !important; }
  .dmpm-send-feedback:not([hidden]), .dmpm-send-feedback svg, .dmpm-send-feedback svg *, .dmpm-send-feedback-icon::before { animation: none !important; }
  .dmpm-send-feedback[data-state="sent"] :is(.dmpm-send-ring, .dmpm-send-check) { stroke-dashoffset: 0 !important; }
}
