/* The bottom half of the campaign continues the shop poster's two inks. */
body:has(.campaign-cover) :is(#body_wrap.rd .rd-mh, .mh) {
  --contract-red:#bc261b;
  --contract-ink:#231912;
  --contract-paper:#fff;
  --contract-yellow:#ffda58;
  --contract-rule:#aaa;

  & .mh-band .mh-h2 {
    font-family:var(--rd-font,"Hiragino Kaku Gothic ProN",sans-serif);
    font-size:clamp(28px,4vw,61px);
    font-weight:850;
    letter-spacing:-.065em;
    text-wrap:pretty;
  }
  & .mh-band a:focus-visible, & .mh-band summary:focus-visible { outline:3px solid #3972a1; outline-offset:4px; }

  /* A printed estimate against a red diagonal. The amount and legal notes share one sheet. */
  & .mh-band:has(.mh-price) {
    position:relative;
    isolation:isolate;
    overflow:hidden;
    padding-block:clamp(38px,5.8vw,84px);
    border-block:0;
    background:#fff!important;
  }
  & .mh-band:has(.mh-price)::before { content:""; position:absolute; z-index:-1; inset:0; background:var(--contract-red); clip-path:polygon(90% 0,100% 0,100% 100%,66% 100%); }
  & .mh-band .mh-wrap:has(.mh-price) { position:relative; isolation:isolate; }
  & .mh-band .mh-wrap:has(.mh-price)::before { content:""; position:absolute; z-index:-1; inset:-12px clamp(7px,2vw,36px) -18px; background:#fff; border:1px solid var(--contract-ink); box-shadow:5px 6px 0 #302c29; }
  & .mh-band .guide-price { display:flex; flex-direction:row-reverse; justify-content:space-between; align-items:center; gap:12px; margin:0 0 12px; }
  & .mh-band .guide-price .guide-art { width:clamp(70px,9vw,118px); height:auto; margin:0 6px 0 0; border-radius:0; mix-blend-mode:multiply; transform:rotate(3deg); }
  & .mh-band .guide-price .mh-h2 { font-size:clamp(35px,5.2vw,73px); line-height:1.1; color:var(--contract-ink); }
  & .mh-band .guide-price p { margin:6px 0 0; font-size:clamp(13px,1.3vw,18px); }
  & .mh-band .mh-price { border-block:3px double var(--contract-ink); grid-template-columns:.86fr 1.16fr .8fr 1.18fr; }
  & .mh-band .mh-price__card { padding:clamp(14px,2.1vw,29px) clamp(10px,1.9vw,24px); }
  & .mh-band .mh-price__card + .mh-price__card { border-left:1px dashed #927e6b; }
  & .mh-band .mh-price__card:nth-child(2) { color:#fff; background:var(--contract-ink); }
  & .mh-band .mh-price__card:nth-child(2) .mh-price__value { color:var(--contract-yellow); }
  & .mh-band .mh-price__label { min-height:0; font-size:clamp(12px,1.25vw,17px); font-weight:750; }
  & .mh-band .mh-price__value { display:block; margin-top:4px; font-family:var(--rd-font-en,"Arial Narrow",sans-serif); font-weight:800; font-size:clamp(31px,4.2vw,65px); letter-spacing:-.075em; line-height:1.1; }
  & .mh-band .mh-price__value .unit { font-size:clamp(12px,1.4vw,19px); }
  & .mh-band .mh-price__note { max-width:96ch; margin:14px 0 2px; font-size:clamp(13px,1.25vw,16px); line-height:1.75; color:#4d392a; }

  /* A service inventory with icons aligned to one narrow column. */
  & .mh-band:has(.mh-feat) { background:#fff; border:0; }
  & .mh-band .mh-wrap:has(.mh-feat) { display:grid; grid-template-columns:minmax(0,.73fr) minmax(0,1.9fr); gap:24px clamp(24px,4vw,72px); align-items:start; }
  & .mh-band .guide-care { grid-column:1; grid-row:1/span 2; display:flex; flex-direction:column-reverse; align-items:start; gap:18px; margin:0; }
  & .mh-band .guide-care .guide-art { width:min(82%,215px); border-radius:48% 43% 42% 29%; mix-blend-mode:multiply; }
  & .mh-band .guide-care .mh-h2 { font-size:clamp(26px,3.3vw,49px); }
  & .mh-band .mh-feat { grid-column:2; margin:0; border-block:3px solid var(--contract-ink); column-gap:24px; }
  & .mh-band .mh-feat__item { grid-template-columns:33px minmax(0,1fr); padding:14px 2px; border-color:var(--contract-rule); }
  & .mh-band .mh-feat__name { font-size:clamp(15px,1.45vw,20px); }
  & .mh-band .mh-feat__ico { display:grid; place-items:center; width:32px; height:32px; background:var(--contract-yellow); color:var(--contract-ink); border:1px solid var(--contract-ink); border-radius:50%; }
  & .mh-band .mh-feat__ico svg { width:21px; height:21px; }
  & .mh-band .mh-feat__desc { font-size:14px; }
  & .mh-band .mh-out { grid-column:2; margin:0; padding:12px 16px; background:#fff; border-block:1px solid var(--contract-rule); }
  & .mh-band .mh-out ul { columns:2; column-gap:28px; margin:0; font-size:13px; line-height:1.65; }
  & .mh-band .mh-out li { break-inside:avoid; }

  /* Keep the comparison in the type scale of a printed specification sheet. */
  & .mh-band:has(.mh-compare) { padding-top:0; background:#fff; border:0; }
  & .mh-band .mh-wrap:has(.mh-compare)>.mh-h2 { margin:0 0 8px; padding-top:clamp(20px,4vw,48px); border-top:3px double var(--contract-ink); font-size:clamp(23px,2.9vw,43px); }
  & .mh-band .mh-compare { margin-block:18px 12px; border-collapse:collapse; }
  & .mh-band .mh-compare thead tr>:nth-child(2) { color:white; background:var(--contract-red); }
  & .mh-band .mh-compare tbody tr>:nth-child(2) { color:var(--contract-ink); background:#fff; font-weight:700; }
  & .mh-band .mh-wrap:has(.mh-compare)>a { color:#913025; font-weight:700; text-underline-offset:4px; }

  /* A continuous strip of eight perforated tickets. */
  & .mh-band:has(.mh-flow) { background:#fff; border-top:5px solid var(--contract-ink); }
  & .mh-band .mh-wrap:has(.mh-flow)>.mh-h2 { display:table; margin:0 0 18px; color:var(--contract-ink); }
  & .mh-band .guide-handoff { grid-template-columns:1fr 40px 1fr; position:relative; padding:clamp(12px,2.1vw,26px); margin:0 0 10px; align-items:center; gap:clamp(8px,2vw,28px); border:1px solid var(--contract-ink);  border-radius:0 22px 0 0; background:#fff; box-shadow:3px 3px 0 #34302d; }
  & .mh-band .guide-handoff figure { display:grid; grid-template-columns:minmax(60px,.46fr) minmax(0,1fr); align-items:center; gap:clamp(8px,2vw,24px); }
  & .mh-band .guide-handoff .guide-art { width:100%; max-width:150px; border-radius:0; mix-blend-mode:multiply; }
  & .mh-band .guide-handoff>span { text-align:center; color:var(--contract-red); }
  & .mh-band .guide-handoff strong { font-size:clamp(17px,1.8vw,24px); }
  & .mh-band .guide-handoff+p { font-size:14px; }
  & .mh-band .mh-flow { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:0; overflow:visible; margin:20px 0 14px; padding:0; border:1px solid var(--contract-ink); background:#fff; box-shadow:4px 4px 0 #34302d; }
  & .mh-band .mh-flow .rd-flow__step { position:relative; display:block; padding:16px clamp(10px,1.65vw,24px) 18px; border:0; border-right:1px dashed #ad9472; min-width:0; background:transparent; }
  & .mh-band .mh-flow .rd-flow__step:nth-child(n+5) { border-top:1px dashed #ad9472; }
  & .mh-band .mh-flow .rd-flow__step::before { content:none; }
  & .mh-band .mh-flow .rd-flow__step:last-child { color:white; background:var(--contract-red); }
  & .mh-band .mh-flow .rd-flow__top { display:block!important; height:auto!important; min-height:0; margin:0 0 8px!important; }
  & .mh-band .mh-flow .rd-flow__num { position:static; display:block; width:auto; font:800 clamp(30px,3vw,44px)/.95 var(--rd-font-en,Arial,sans-serif); letter-spacing:-.07em; color:var(--contract-red); }
  & .mh-band .mh-flow .rd-flow__name { display:block; margin:0; color:var(--contract-ink); font-size:clamp(15px,1.55vw,20px); font-weight:800; }
  & .mh-band .mh-flow .rd-flow__desc { display:block; margin:5px 0 0; color:#574335; font-size:14px; line-height:1.65; }
  & .mh-band .mh-flow .rd-flow__step:last-child :is(.rd-flow__num,.rd-flow__desc,.rd-flow__name) { color:#fff; }
  & .mh-band .mh-flow-note { margin:14px 0; color:var(--contract-ink); font-size:13px; line-height:1.75; }
  & .mh-band .mh-prep { margin:10px 0 0; padding:10px 16px; background:#fff; border-block:1px solid var(--contract-rule); }

  /* Readers can compare settlement amounts on the chart or look up the exact month. */
  & .mh-band#fees { padding-block:clamp(38px,5vw,78px); border:0; color:#fff; background:var(--contract-ink); }
  & #fees .mh-h2 { max-width:26em; margin:0 0 20px; color:#fff; font-size:clamp(24px,2.8vw,41px); }
  & #fees .mh-tl { margin:0 0 18px; }
  & #fees .rd-fig--bars { margin:14px 0 0; padding:clamp(13px,2vw,26px); color:var(--contract-ink); background:#fff; border:0; border-radius:0; }
  & #fees .rd-fig__h { color:var(--contract-ink); }
  & #fees .rd-fig__bars { height:clamp(135px,13vw,188px); }
  & #fees .rd-fig__bars :is(.rd-fig__bar-v,.rd-fig__bar-m), & #fees .rd-fig__cap { color:var(--contract-ink); }
  & #fees .rd-fig__bar { background:#7b6555; }
  & #fees .rd-fig__bars li:first-child .rd-fig__bar { background:var(--contract-red); }
  & #fees .mh-fees { gap:clamp(20px,4vw,65px); margin-top:25px; }
  & #fees .mh-table { border-top:2px solid #ebdcc9; }
  & #fees .mh-table :is(td,th) { padding:8px; font-size:clamp(13px,1.25vw,16px); }
  & #fees .mh-table td:nth-child(2) { background:#3d2c21; font-weight:700; }
  & #fees .mh-points { margin:0; }
  & #fees .mh-points li { padding:0 0 .65em; font-size:clamp(13px,1.17vw,16px); line-height:1.75; }

  /* A compact index above a second red shop poster. */
  & .mh-band:has(.mh-faq) { background:#fff; border:0; }
  & .mh-band .mh-wrap:has(.mh-faq) { display:grid; grid-template-columns:minmax(0,.68fr) minmax(0,1.8fr); align-items:start; gap:clamp(22px,4vw,64px); }
  & .mh-band .mh-wrap:has(.mh-faq)>.mh-h2 { margin:0; border-top:8px solid var(--contract-red); padding-top:14px; font-size:clamp(28px,4.2vw,58px); }
  & .mh-band .mh-faq { border-top:3px solid var(--contract-ink); margin:0; }
  & .mh-band .mh-faq details { margin:0; padding:0; border-bottom:1px solid var(--contract-rule); }
  & .mh-band .mh-faq summary { padding:12px 6px; font-size:clamp(15px,1.45vw,19px); }
  & .mh-band .mh-faq__q { font-family:Georgia,"Times New Roman",serif; font-style:italic; color:var(--contract-red); }
  & .mh-band .mh-faq__a { margin:0; padding:0 15px 16px 42px; }
  & .mh-band#mh-contact { position:relative; isolation:isolate; overflow:hidden; border-top:4px solid var(--contract-ink); background:var(--contract-red); color:var(--contract-paper); }
  & #mh-contact::before { content:""; position:absolute; z-index:-1; inset:0; background:repeating-linear-gradient(128deg,transparent 0 6px,#62170c5c 6px 8px); clip-path:polygon(0 38%,30% 100%,0 100%); }
  & #mh-contact .mh-line { position:relative; padding:clamp(18px,3vw,40px); border:2px solid var(--contract-ink); border-radius:2px; box-shadow:5px 6px 0 #68170d; background:#fff; color:var(--contract-ink); }
  & #mh-contact .mh-line>p:first-child { margin:0 0 22px; }
  & #mh-contact :is(.mh-line__privacy,.mh-mail__lead,.mh-form__privacy) { color:#58483c; }
  & #mh-contact .mh-mail { border-color:var(--contract-rule); }
  & #mh-contact .mh-mail summary, & #mh-contact .mh-line a:not(.catalog-jump,.mh-btn) { color:#8e291e; }
  & .mh-band:has(.mh-company) { border-top:0; }
}
@media (max-width:900px) {
  body:has(.campaign-cover) :is(#body_wrap.rd .rd-mh, .mh) {
    & .mh-band .mh-price { grid-template-columns:repeat(2,minmax(0,1fr)); }
    & .mh-band .mh-price__card:nth-child(3) { border-left:0; }
    & .mh-band .mh-price__card:nth-child(n+3) { border-top:1px dashed #927e6b; }
    & .mh-band .mh-wrap:has(.mh-feat) { grid-template-columns:minmax(0,1fr); gap:15px; }
    & .mh-band .guide-care { grid-area:auto; flex-direction:row-reverse; justify-content:space-between; align-items:center; }
    & .mh-band .guide-care .guide-art { width:clamp(68px,11vw,105px); }
    & .mh-band :is(.mh-feat,.mh-out) { grid-column:1; }
    & .mh-band .mh-flow { grid-template-columns:repeat(2,minmax(0,1fr)); }
    & .mh-band .mh-flow .rd-flow__step:nth-child(n+3) { border-top:1px dashed #ad9472; }
    & #fees .mh-fees { grid-template-columns:1fr; }
    & .mh-band .mh-wrap:has(.mh-faq) { grid-template-columns:1fr; gap:14px; }
    & .mh-band .mh-wrap:has(.mh-faq)>.mh-h2 { width:max-content; max-width:100%; border-width:5px; padding-top:7px; }
  }
}
@media (max-width:620px) {
  body:has(.campaign-cover) :is(#body_wrap.rd .rd-mh, .mh) {
    & .mh-band .mh-wrap:has(.mh-price)::before { inset:-11px 7px -16px; box-shadow:3px 4px 0 #302c29; }
    & .mh-band .guide-price .guide-art { width:63px; margin-right:0; }
    & .mh-band .mh-price__value { font-size:clamp(28px,8.5vw,44px); font-variant-numeric:tabular-nums; }
    & .mh-band .mh-price__card { padding:10px 8px; }
    & .mh-band .mh-feat { grid-template-columns:1fr; }
    & .mh-band .mh-feat__item { padding:10px 0; }
    & .mh-band .mh-out ul { columns:auto; }
    & .mh-band .guide-handoff { grid-template-columns:minmax(0,1fr) 16px minmax(0,1fr); align-items:start; gap:4px; }
    & .mh-band .guide-handoff figure { grid-template-columns:minmax(0,1fr); gap:0; }
    & .mh-band .guide-handoff .guide-art { width:83px; margin:0 auto 4px; }
    & .mh-band .guide-handoff>span { padding-top:28px; font-size:17px; }
    & .mh-band .guide-handoff figcaption { font-size:13px; line-height:1.65; }
    & .mh-band .guide-handoff strong { font-size:16px; }
    & .mh-band .mh-flow .rd-flow__step { padding:11px 9px 13px; }
    & .mh-band .mh-flow .rd-flow__num { font-size:30px; }
    & .mh-band .mh-flow .rd-flow__desc { font-size:13px; }
    & #fees .rd-fig__bars { display:block; height:auto; border-bottom:0; }
    & #fees .rd-fig__bars li { display:grid; grid-template-columns:20px minmax(0,1fr) 56px; align-items:center; gap:6px; height:auto; margin-bottom:3px; }
    & #fees .rd-fig__bar-m { grid-area:1 / 1; position:static; color:#524337; font-size:11px; text-align:right; }
    & #fees .rd-fig__bar { grid-area:1 / 2; width:calc(var(--v) * 100%); min-width:1px; height:8px; }
    & #fees .rd-fig__bars li .rd-fig__bar-v { grid-area:1 / 3; margin:0; visibility:visible; font-size:12px; text-align:right; }
    & #fees .rd-fig__cap { margin:10px 0 0; font-size:12px; }
    & #fees .mh-table { table-layout:fixed; }
    & #fees .mh-table :is(th,td) { padding:6px 3px; white-space:normal; overflow-wrap:anywhere; }
    & #fees .mh-table small { font-size:12px; }
    & #mh-contact .mh-line { padding:16px 12px; }
  }
}
@media (prefers-reduced-motion:reduce) {
  body:has(.campaign-cover) .mh-band :is(.rd-flow__step,.rd-flow__top,.rd-flow__num,.rd-fig__bar,.guide-art),
  body:has(.campaign-cover) .mh-band .rd-flow__step::after { animation:none!important; transition:none!important; }
}
/* The closing headline spans the sheet; only the offer and contact methods form columns. */
body:has(.campaign-cover) #mh-contact.mh-band {
  scroll-margin-top:76px;
  padding-block:clamp(38px,4.5vw,73px);
}
#mh-contact .closing-heading {margin:0 0 clamp(16px,2.1vw,32px);}
#mh-contact .closing-heading>p {color:#ffe7a0;font-size:clamp(13px,1.1vw,16px);font-weight:700;line-height:1.4;margin:0 0 7px!important;}
#mh-contact .closing-heading h2 {
  color:#fff!important;background:none!important;border:0!important;margin:0!important;padding:0!important;
  font:850 clamp(31px,4.65vw,62px)/1.15 var(--rd-font,"Hiragino Sans",sans-serif)!important;
  letter-spacing:-.065em!important;
}
#mh-contact .closing-heading h2::before,#mh-contact .closing-heading h2::after {display:none!important;}
#mh-contact .closing-heading .closing-line {display:inline-block;white-space:nowrap;}
body:has(.campaign-cover) #mh-contact .mh-form.closing-layout {
  display:grid;grid-template-columns:minmax(0,1.02fr) minmax(0,1fr);
  align-items:start;gap:clamp(20px,4vw,65px);background:transparent;border:0;border-radius:0;box-shadow:none;padding:0;
}
#mh-contact .closing-offer {min-width:0;color:#fff;}
#mh-contact .closing-price {display:grid;grid-template-columns:minmax(0,.64fr) minmax(0,1.4fr);gap:5%;padding:10px 0 13px;border-block:1px solid #efaca3;}
#mh-contact .closing-price>div>span {font-size:clamp(14px,1.2vw,19px);font-weight:750;display:block;}
#mh-contact .closing-price strong {white-space:nowrap;color:#ffe069;font:850 clamp(45px,5.1vw,78px)/1.05 var(--rd-font-en,Arial,sans-serif);letter-spacing:-.07em;display:inline-block;}
#mh-contact .closing-price small {font:750 .36em/1 var(--rd-font,sans-serif);letter-spacing:0;margin-left:3px;}
#mh-contact .closing-offer>p {font-size:14px;line-height:1.65;margin:10px 0 0!important;}
#mh-contact .closing-offer>p a {color:inherit;text-decoration:underline;text-underline-offset:.2em;}
body:has(.campaign-cover) #mh-contact a.closing-apply {
  display:flex;justify-content:space-between;align-items:center;margin:17px 0 0;padding:13px clamp(16px,2vw,25px);gap:8px;
  background:#ffda55;color:#271b14!important;border:2px solid #271b14;border-radius:2px;box-shadow:3px 3px 0 #602014;
  font-size:clamp(15px,1.45vw,22px);text-decoration:none;
}
body:has(.campaign-cover) #mh-contact .mh-line.closing-help {padding:clamp(14px,2vw,28px);margin:0;min-width:0;}
#mh-contact .closing-help-head {display:grid;grid-template-columns:clamp(65px,7.5vw,112px) minmax(0,1fr);align-items:center;gap:clamp(12px,1.4vw,22px);}
#mh-contact .closing-help-head img {width:100%;height:auto;display:block;border-radius:60% 50% 37% 38%;}
#mh-contact .closing-help-head h3 {color:#2b2119;font:800 clamp(18px,1.65vw,26px)/1.35 var(--rd-font,sans-serif);background:none;border:none;margin:0!important;padding:0!important;}
#mh-contact .closing-help-head p,#mh-contact .closing-help .mh-line__privacy {line-height:1.65;margin:6px 0 0!important;font-size:14px;color:#3c3026;}
#mh-contact .closing-help a.closing-line-link {color:#5b241b!important;min-height:44px;display:inline-flex;align-items:center;gap:12px;font-weight:750;text-decoration:underline;text-underline-offset:4px;margin-top:4px;}
#mh-contact .closing-help .mh-line__privacy {font-size:12px;}
#mh-contact .closing-help .mh-mail {margin:12px 0 0!important;}
#mh-contact .closing-help .mh-mail summary {padding:9px 0;min-height:42px;}
@media(max-width:850px){
 #mh-contact .closing-heading .closing-line {display:block;}
 body:has(.campaign-cover) #mh-contact .mh-form.closing-layout {grid-template-columns:minmax(0,1fr);gap:18px;}
 #mh-contact .closing-heading h2 {font-size:clamp(25px,6.6vw,43px)!important;}
 #mh-contact .closing-price {grid-template-columns:minmax(0,.65fr) minmax(0,1.1fr);}
}
@media(max-width:360px){
 #mh-contact .closing-help-head {grid-template-columns:52px 1fr;}
 #mh-contact .closing-price strong {font-size:40px;}
}
body:has(.campaign-cover) #mh-contact .closing-heading {
  margin-inline:auto;max-width:1220px;text-align:center;
}
body:has(.campaign-cover) #mh-contact .closing-heading :is(p,h2),
body:has(.campaign-cover) #mh-contact .closing-offer,
body:has(.campaign-cover) #mh-contact .closing-price strong {color:#fff!important;}
body:has(.campaign-cover) #mh-contact .mh-form.closing-layout {
  max-width:1020px;margin-inline:auto;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(22px,4vw,54px);align-items:center;
}
#mh-contact .closing-offer {text-align:center;}
#mh-contact .closing-price {display:flex;justify-content:center;align-items:baseline;gap:clamp(24px,4.5vw,64px);padding:10px 0 12px;}
body:has(.campaign-cover) #mh-contact a.closing-apply {position:relative;justify-content:center;text-align:center;padding-inline:32px;}
#mh-contact a.closing-apply>span {position:absolute;right:17px;}
.mh .company-sheet {text-align:center;}
#body_wrap .mh .company-band {padding:clamp(26px,3.5vw,50px) 0;background:#221913;color:white;}
#body_wrap .mh .company-band .mh-company {max-width:100%;margin:0 auto!important;padding:0;text-align:center;color:#fff;font-size:14px;line-height:1.75;}
#body_wrap .mh .company-band .mh-company strong {font-size:18px;color:#fff;}
#body_wrap .mh .company-band .mh-company a {color:#fff;min-height:32px;}
.company-sheet nav {display:flex;justify-content:center;align-items:center;gap:2px clamp(12px,2.6vw,38px);flex-wrap:wrap;margin-top:8px;}
#body_wrap .mh .company-sheet nav a {display:inline-flex;align-items:center;justify-content:center;min-height:44px;color:#fff;text-underline-offset:4px;text-decoration:underline;font-weight:650;}
.company-break {display:none;}
@media (max-width:850px) {
 body:has(.campaign-cover) #mh-contact .mh-form.closing-layout {grid-template-columns:1fr;max-width:580px;}
 #mh-contact .closing-price {gap:clamp(30px,9vw,63px);}
}
@media (max-width:600px) {
 .company-break {display:initial;}
 #body_wrap .mh .company-sheet nav {column-gap:16px;}
 #body_wrap .mh .company-sheet nav a {font-size:13px;}
 #body_wrap .mh .company-sheet nav a:first-child {width:100%;}
}
