/* Shared project invitation and footer. Type sizes stay under CSS control. */
body .project-closing {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
  gap: clamp(28px, 6vw, 90px);
  align-items: center;
  padding: 48px max(5%, calc((100% - 1240px) / 2));
  background: #154e78;
  color: #fff;
}
.project-closing .closing-copy { min-width: 0; }
.project-closing .eyebrow { font: 600 11px/1.5 'DM Sans', Arial, sans-serif; letter-spacing: .16em; color: #c7dff0; margin: 0 0 14px; }
body .project-closing .closing-copy h2 {
  font: 600 clamp(28px, 3.2vw, 44px)/1.13 'DM Sans', Arial, sans-serif;
  color: #fff; letter-spacing: -.035em; margin: 0;
  transform: none; text-shadow: none; -webkit-text-stroke: 0;
}
.project-closing .closing-copy > .button { margin-top: 22px; font: 600 14px/1.4 'DM Sans', Arial, sans-serif; min-height: 44px; padding: 12px 18px; border-radius: 6px; }
body .project-closing .footer-coupon {
  width: 100%; max-width: 320px; min-width: 0; margin: 0; padding: 20px;
  display: grid; grid-template-columns: 49px minmax(0, 1fr); gap: 14px;
  justify-self: end; text-align: left; border: 1px dashed #8bb4d2; border-radius: 10px;
  background: #0d3656; box-shadow: none;
}
.project-closing .coupon-stamp { transform: none; padding: 2px 0 0; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
body .project-closing .coupon-stamp > strong { font: 700 36px/1 'DM Sans', Arial, sans-serif; letter-spacing: -.04em; color: #fff; }
body .project-closing .coupon-stamp > strong > span { font-size: 18px; }
body .project-closing .coupon-stamp > span { font: 600 11px/1.3 'DM Sans', Arial, sans-serif; letter-spacing: .22em; }
.project-closing .coupon-copy { min-width: 0; }
.project-closing .coupon-label { font: 600 8px/1.4 'DM Sans', Arial, sans-serif; letter-spacing: .13em; color: #bad4e8; margin: 0 0 8px; }
body .project-closing .coupon-copy h2 { font: 600 19px/1.2 'DM Sans', Arial, sans-serif; color: #fff; margin: 0 0 8px; letter-spacing: -.02em; transform: none; text-shadow: none; -webkit-text-stroke: 0; }
body .project-closing .coupon-copy small { display: block; font: 400 12px/1.5 'DM Sans', Arial, sans-serif; color: #d9e8f3; }
body .project-closing .coupon-action { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: stretch; gap: 5px; width: 100%; }
body .project-closing .coupon-action .button { font: 600 13px/1.4 'DM Sans', Arial, sans-serif; min-height: 40px; padding: 10px 14px; margin: 0; border-radius: 5px; }
body .project-closing .coupon-code { background: transparent; color: #d9e8f3; border: 0; border-radius: 4px; box-shadow: none; font: 500 11px/1.4 'DM Sans', Arial, sans-serif; letter-spacing: .035em; padding: 8px 4px; min-height: 32px; }
body .project-closing .coupon-code:hover { color: #fff; text-decoration: underline; }
body .project-closing .coupon-status { font: 400 12px/1.45 'DM Sans', Arial, sans-serif; color: #fff; }
.project-closing .coupon-status:empty { display: none; }
body footer.site-footer { display: block; padding: 48px max(5%, calc((100% - 1240px) / 2)) 24px; background: #091d30; color: #bfcedb; font: 400 14px/1.6 'DM Sans', Arial, sans-serif; }
.site-footer .footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.15fr; gap: 32px; }
.site-footer .footer-grid > * { min-width: 0; }
.site-footer .footer-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; margin: 0 0 18px; }
.site-footer .footer-brand img { width: 54px; height: 54px; object-fit: contain; flex-shrink: 0; }
.site-footer .footer-brand > span { font: 700 18px/1.2 'DM Sans', Arial, sans-serif; letter-spacing: .07em; }
.site-footer .footer-brand small { display: block; font: 500 8px/1.5 'DM Sans', Arial, sans-serif; letter-spacing: .07em; margin-top: 5px; }
.site-footer .footer-business p { font: 400 13px/1.7 'DM Sans', Arial, sans-serif; margin: 0 0 18px; max-width: 29ch; }
.site-footer address { font-style: normal; display: flex; flex-direction: column; align-items: flex-start; gap: 5px; margin-bottom: 18px; }
.site-footer address a { text-decoration: none; color: #e2edf5; overflow-wrap: anywhere; }
.site-footer .footer-phone { font-size: 17px; font-weight: 600; color: #fff; }
.site-footer .footer-text-link { font-size: 13px; color: #b4ddff; text-underline-offset: 4px; }
.site-footer .footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 0; }
.site-footer .footer-column h2 { font: 600 14px/1.35 'DM Sans', Arial, sans-serif; letter-spacing: 0; color: #fff; margin: 9px 0 17px; }
.site-footer .footer-column a { font: 400 13px/1.55 'DM Sans', Arial, sans-serif; letter-spacing: 0; white-space: normal; text-decoration: none; padding: 5px 0; }
.site-footer .footer-column a:hover, .site-footer address a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.site-footer .footer-resources p { font: 400 11px/1.6 'DM Sans', Arial, sans-serif; color: #9eb4c6; margin: 14px 0 0; }
.site-footer .footer-bottom { border-top: 1px solid #284053; margin-top: 34px; padding-top: 20px; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; }
.site-footer .footer-bottom p { font: 400 11px/1.65 'DM Sans', Arial, sans-serif; color: #b0c3d2; margin: 0; }
.site-footer .footer-bottom p span { color: #8fa8bc; }
.site-footer .footer-utilities { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-footer .footer-utilities a, .site-footer .footer-utilities button { font: 400 11px/1.6 'DM Sans', Arial, sans-serif; color: #bfcedb; margin: 0; padding: 0; border: 0; background: transparent; text-decoration: none; min-height: 24px; }
.site-footer .footer-utilities a:hover, .site-footer .footer-utilities button:hover { color: #fff; text-decoration: underline; }
.site-footer #siteStatus { flex-basis: 100%; font-size: 12px; }
.site-footer #siteStatus:empty { display: none; }
.site-footer .footer-bottom .footer-creator { color: #b0c3d2; margin-left: .5em; }
.site-footer .footer-creator a { color: #d4e7f5; text-underline-offset: 3px; }
.site-footer .footer-creator a:hover { color: #fff; }
.site-footer .footer-photo-credit { margin-top: 22px; padding: 0; border: 0; max-width: 700px; }
.site-footer .footer-photo-credit summary { width: fit-content; padding: 4px 0; font: 400 12px/1.5 'DM Sans', Arial, sans-serif; color: #b0c3d2; }
.site-footer .footer-photo-credit p { margin: 8px 0 0; font: 400 12px/1.6 'DM Sans', Arial, sans-serif; color: #b0c3d2; }
.site-footer .footer-photo-credit a { color: #d4e7f5; text-underline-offset: 3px; }
@media (max-width: 1050px) {
  .site-footer .footer-grid { grid-template-columns: 1.2fr 1fr; gap: 30px 50px; }
}
@media (max-width: 700px) {
  body .project-closing { grid-template-columns: 1fr; gap: 30px; padding: 36px 6%; }
  body .project-closing .footer-coupon { justify-self: start; width: 100%; max-width: 320px; grid-template-columns: 49px minmax(0, 1fr); }
  body footer.site-footer { padding: 36px 6% 86px; }
  .site-footer .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px 22px; }
  .site-footer .footer-business { grid-column: 1 / -1; }
  .site-footer .footer-business p { max-width: 38ch; }
  .site-footer .footer-resources { grid-column: 1 / -1; }
  .site-footer .footer-resources p { max-width: 44ch; }
  .site-footer .footer-bottom { margin-top: 26px; gap: 16px; }
}
@media (prefers-reduced-motion: reduce) { .project-closing .button { transition: none; } }
