/* Contact and footer styles load after the base styles, with a versioned URL. */
body.dialog-open { overflow: hidden; }
.popup-modal {
  width: calc(100% - 2rem);
  max-width: 760px;
  max-height: calc(100vh - 2rem);
  max-height: calc(100dvh - 2rem);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 2.5rem;
  text-align: left;
}
.popup-modal h2 { max-width: 19ch; margin: 0 0 .75rem; font-size: clamp(1.65rem, 3vw, 2.1rem); line-height: 1.15; }
.popup-modal #contact-intro { margin: 0 0 1.5rem; font-size: 1rem; line-height: 1.5; }
.popup-modal__close { width: 2.5rem; height: 2.5rem; top: .5rem; right: .5rem; border: 0; background: #000; padding: .5rem; }
.popup-modal .project-contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem 1.25rem; }
.project-contact__field { min-width: 0; }
.project-contact__wide { grid-column: 1 / -1; }
.popup-modal .project-contact label { display: block; margin: 0 0 .4rem; color: #fadaab; font-size: .95rem; font-weight: 700; line-height: 1.4; }
.popup-modal .project-contact label span { font-weight: 400; }
.popup-modal .project-contact input:not([type=hidden]),
.popup-modal .project-contact select,
.popup-modal .project-contact textarea {
  display: block;
  float: none;
  width: 100%;
  min-width: 0;
  min-height: 48px;
  margin: 0;
  padding: .75rem;
  border: 1px solid #a39073;
  border-radius: 0;
  background: #17130e;
  color: #fadaab;
  font: inherit;
  font-size: 1rem;
  line-height: 1.4;
}
.popup-modal .project-contact select { appearance: auto; }
.popup-modal .project-contact textarea { min-height: 112px; resize: vertical; }
.popup-modal .project-contact input:focus,
.popup-modal .project-contact select:focus,
.popup-modal .project-contact textarea:focus { border-color: #fadaab; background: #211a12; color: #fadaab; outline: 2px solid #fadaab; outline-offset: 2px; }
.popup-modal .project-contact .form-privacy { margin: 0; font-size: .875rem; line-height: 1.5; }
.popup-modal .project-contact .btn-cta,
.site-footer .btn-cta { float: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; min-height: 50px; margin: 0; padding: .9rem 1.2rem; border: 1px solid #fadaab; background: #fadaab; color: #000; font: 700 1rem/1.4 'Roboto', Arial, sans-serif; text-align: left; white-space: normal; cursor: pointer; }
.popup-modal .project-contact .btn-cta:hover,
.site-footer .btn-cta:hover { background: #000; color: #fadaab; }
.popup-modal .contact-alternative { clear: both; margin: 1.5rem 0 0; padding-top: 1rem; border-top: 1px solid #514532; font-size: .95rem; line-height: 1.5; }
.popup-modal .contact-alternative a { display: inline; overflow-wrap: anywhere; }
.popup-modal a { color: #fadaab; text-decoration: underline; text-underline-offset: .18em; }
.popup-modal :focus-visible, .site-footer :focus-visible { outline: 2px solid #fadaab; outline-offset: 4px; }
.popup-modal .field-error { margin: .5rem 0 0; font-size: .875rem; line-height: 1.4; }

.footer.site-footer { clear: both; float: none; background: #000; color: #fadaab; }
.site-footer__inner { width: min(100%, 1360px); margin: 0 auto; padding: clamp(2.5rem, 5vw, 5rem) clamp(1.25rem, 4vw, 3rem) 1.5rem; }
.site-footer__main { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 3rem; padding-bottom: 3rem; }
.site-footer p { margin: 0; font-size: 1rem; line-height: 1.5; }
.site-footer .site-footer__eyebrow { margin-bottom: 1rem; font-size: .75rem; line-height: 1.4; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
.site-footer h2 { margin: 0 0 1rem; font-size: clamp(1.9rem, 3.5vw, 3rem); line-height: 1.1; letter-spacing: -.02em; }
.site-footer__project > p:not(.site-footer__eyebrow) { max-width: 48ch; margin-bottom: 1.5rem; }
.site-footer .btn-cta { max-width: 350px; }
.footer.site-footer a { color: #fadaab; box-shadow: none; overflow-wrap: anywhere; }
.footer.site-footer a:hover { color: #fadaab; box-shadow: none; text-decoration: underline; text-underline-offset: .2em; }
.site-footer__contact { padding-top: .1rem; }
.site-footer .site-footer__email { display: inline-block; font-size: clamp(1rem, 1.6vw, 1.3rem); line-height: 1.4; margin-bottom: 1.5rem; }
.site-footer address { font-size: 1rem; font-style: normal; line-height: 1.6; margin-bottom: 1.5rem; }
.site-footer__editoria { font-size: .95rem; line-height: 1.5; }
.site-footer__newsletter { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.5rem 0; border-top: 1px solid #514532; border-bottom: 1px solid #514532; }
.site-footer__newsletter h3 { margin: 0 0 .25rem; font-size: 1.2rem; line-height: 1.4; }
.site-footer__newsletter > a { flex-shrink: 0; font-size: 1rem; line-height: 1.5; }
.site-footer__details { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 3rem; padding: 1.75rem 0; }
.site-footer__company p { margin: 0 0 .5rem; font-size: .875rem; line-height: 1.6; }
.site-footer__legal { display: grid; grid-template-columns: 1fr 1fr; align-content: start; gap: .8rem 1rem; }
.site-footer__legal a { font-size: .875rem; line-height: 1.5; }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 1rem; padding-top: 1rem; border-top: 1px solid #514532; }
.site-footer__bottom p, .site-footer__bottom a { font-size: .8rem; line-height: 1.5; }
@media (max-width: 700px) {
  .popup-modal { width: calc(100% - 1rem); max-height: calc(100vh - 1rem); max-height: calc(100dvh - 1rem); padding: 2.75rem 1.25rem 1.5rem; }
  .popup-modal .project-contact { grid-template-columns: minmax(0, 1fr); }
  .popup-modal h2 { max-width: 19ch; }
  .site-footer__main, .site-footer__details { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .site-footer__main { padding-bottom: 2rem; }
  .site-footer__newsletter { flex-direction: column; align-items: flex-start; gap: 1rem; }
}
