/* PMM Round 39: restore the tall, fully visible HOME hero; a clean white compact footer; Nordic-style cards. */
/* HOME hero: return the broad tall photo composition used before the Round 37 height reduction. */
body.pmm-home:not(.nomad-page):not(.tn-page) .r5-hero {
  min-height:690px!important;
  height:auto!important;
  padding:0!important;
}
body.pmm-home:not(.nomad-page):not(.tn-page) .r5-hero .r5-inner>img{
  object-position:center 44%!important;
}
body.pmm-home:not(.nomad-page):not(.tn-page) .r5-hero .r5-inner>div{
  padding:82px 0 75px!important;
}
/* Nordic page (17 models) remains untouched; do not modify the original exemplar cards. */
/* Compact, white and identical across all construction pages. */
footer.r39-footer{
  background:#fff!important;
  color:#17382d!important;
  padding:28px 0 10px!important;
  border-top:1px solid #d8e2d8;
  box-shadow:none!important;
}
footer.r39-footer .r39-footer-inner{
  display:grid!important;
  grid-template-columns:minmax(250px,1.45fr) minmax(155px,.85fr) minmax(180px,.9fr);
  gap:clamp(22px,4vw,58px);
  align-items:start!important;
  max-width:1190px;
  width:calc(100% - 48px);
  margin-inline:auto;
}
footer.r39-footer .r39-footer-intro>strong{display:block;font-family:Georgia,serif;color:#173b2d!important;font-size:20px;font-weight:600;line-height:1.2;margin:0 0 5px}
footer.r39-footer .r39-footer-intro>span{font-size:12px;font-weight:700;color:#567165}
footer.r39-footer .r39-footer-intro p{color:#536c5e;font-size:13px;line-height:1.48;max-width:365px;margin:10px 0 0}
footer.r39-footer .r39-footer-menu{display:flex;flex-direction:column;align-items:flex-start;gap:6px;margin:0;padding:0}
footer.r39-footer .r39-footer-menu strong{display:block;font-size:12px;color:#385c4b;font-weight:800;letter-spacing:.04em;margin-bottom:3px}
footer.r39-footer .r39-footer-menu a{font-size:12px;color:#275745!important;line-height:1.35;text-decoration:none!important;font-weight:600}
footer.r39-footer .r39-footer-menu a:hover,footer.r39-footer .r39-footer-menu a:focus-visible{color:#16392c!important;text-decoration:underline!important;text-underline-offset:3px}
footer.r39-footer .r39-footer-bottom{
  width:calc(100% - 48px);max-width:1190px;margin:17px auto 0;
  padding:9px 0 0;min-height:0;
  display:flex;align-items:center;justify-content:space-between;gap:28px;
  border-top:1px solid #e1e8e2;
}
footer.r39-footer .r39-footer-bottom small{font-size:11px;color:#637b6d;line-height:1.45;text-align:right;max-width:570px}
footer.r39-footer .r39-footer-logo{display:block;flex:0 0 auto;line-height:0;background:transparent;border:0;padding:0;margin:0}
footer.r39-footer .r39-footer-logo img{
  width:115px;max-width:100%;height:auto;display:block;
  object-fit:contain;background:transparent!important;border:0!important;
  box-shadow:none!important;filter:none!important
}
/* Nordic card visual language applied only to Modern, Eco and Home collection tiles. */
.r5-section .r5-grid article.r39-model-card{
  background:#fff!important;
  border:1px solid #dfe6dc!important;
  border-radius:9px!important;
  overflow:hidden;
  box-shadow:0 13px 30px rgba(16,43,33,.075)!important;
  min-width:0;
  transition:box-shadow .18s ease,transform .18s ease;
}
.r5-section .r5-grid article.r39-model-card:hover{box-shadow:0 18px 38px rgba(16,43,33,.12)!important;transform:translateY(-2px)}
.r5-section .r5-grid article.r39-model-card .r39-card-body{padding:22px 23px 23px!important;gap:0!important;display:flex;flex-direction:column}
.r5-section .r5-grid article.r39-model-card .r39-card-top{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 11px}
.r5-section .r5-grid article.r39-model-card .r39-card-kicker{font-size:10px;color:#9b855c;font-weight:900;letter-spacing:.12em;text-transform:uppercase}
.r5-section .r5-grid article.r39-model-card .r39-card-area{color:#244c3d;background:#e9f1e9;font-size:12px;border-radius:3px;padding:6px 9px;font-weight:800;white-space:nowrap}
.r5-section .r5-grid article.r39-model-card h3{font:400 clamp(26px,2.6vw,34px)/1.1 Georgia,serif!important;letter-spacing:-.012em;color:#15382d!important;margin:0 0 12px!important}
.r5-section .r5-grid article.r39-model-card .r39-card-body p{font-size:14px;line-height:1.65;color:#52675c;margin:0 0 14px}
.r5-section .r5-grid article.r39-model-card .r39-card-body .r39-collection-summary{font-size:12px;font-weight:750;color:#4b705e;letter-spacing:.01em;margin:0 0 11px}
.r5-section .r5-grid article.r39-model-card .r39-card-specs{border-top:1px solid #e5e9e3;border-bottom:1px solid #e5e9e3;display:flex;align-items:center;flex-wrap:wrap;gap:7px 12px;padding:13px 0;color:#466252;font-size:12px;font-weight:750;margin:0 0 15px}
.r5-section .r5-grid article.r39-model-card .r39-card-specs span{white-space:normal}
.r5-section .r5-grid article.r39-model-card .r39-card-price{margin-top:auto;margin-bottom:0!important;color:#1b543e!important;font-size:20px!important;line-height:1.25!important;font-weight:850!important}
.r5-section .r5-grid article.r39-model-card .r39-card-price small{font-size:12px!important;color:#66786d!important;margin-top:5px;line-height:1.4!important}
.r5-section .r5-grid article.r39-model-card a.r39-card-action{
 display:flex!important;align-items:center;justify-content:space-between;width:100%;
 margin-top:16px!important;padding:15px 0 1px!important;
 border-radius:0!important;border:0!important;border-top:1px solid #e5e9e3!important;
 background:transparent!important;box-shadow:none!important;color:#1d5e46!important;
 font-size:14px!important;font-weight:850!important;line-height:1.35!important;text-align:left;
 text-decoration:none!important;transform:none!important;
}
.r5-section .r5-grid article.r39-model-card a.r39-card-action:hover,
.r5-section .r5-grid article.r39-model-card a.r39-card-action:focus-visible{text-decoration:underline!important;color:#113e2b!important}
.r5-section .r5-grid article.r39-model-card .r39-hospitality-note{font-size:12px;color:#6a7d73;margin:8px 0 0!important}
/* Prevent a card's long generic copy from pushing its CTA out of alignment. */
body.pmm-eco .r5-section .r5-grid .r39-model-card .r39-card-body{min-height:260px}
body.pmm-modern .r5-section .r5-grid .r39-model-card .r39-card-body{min-height:260px}
/* NOMAD feature/spec panels are consistent with the Nordic collection's clean tiles. */
.nomad-page .nomad-spec,.nomad-page .nomad-utility{border-radius:9px!important;box-shadow:0 13px 30px rgba(16,43,33,.075)}
@media (max-width:760px){
 body.pmm-home:not(.nomad-page):not(.tn-page) .r5-hero{min-height:590px!important}
 body.pmm-home:not(.nomad-page):not(.tn-page) .r5-hero .r5-inner>img{object-position:60% 45%!important}
 body.pmm-home:not(.nomad-page):not(.tn-page) .r5-hero .r5-inner>div{padding:64px 0 55px!important}
 footer.r39-footer{padding:22px 0 11px!important}
 footer.r39-footer .r39-footer-inner{grid-template-columns:1fr 1fr!important;gap:19px 14px!important;width:calc(100% - 34px)}
 footer.r39-footer .r39-footer-intro{grid-column:1/-1}
 footer.r39-footer .r39-footer-intro p{max-width:540px}
 footer.r39-footer .r39-footer-bottom{width:calc(100% - 34px);gap:14px}
 footer.r39-footer .r39-footer-bottom small{font-size:10px;text-align:left}
 footer.r39-footer .r39-footer-logo img{width:94px}
 .r5-section .r5-grid article.r39-model-card .r39-card-body{padding:19px!important}
 .r5-section .r5-grid article.r39-model-card h3{font-size:29px!important}
}
@media (max-width:420px){
 body.pmm-home:not(.nomad-page):not(.tn-page) .r5-hero{min-height:520px!important}
 footer.r39-footer .r39-footer-inner{grid-template-columns:1fr 1fr!important}
 footer.r39-footer .r39-footer-bottom{flex-wrap:wrap;gap:8px}
}
