/* Delivery follows the Maison stationery palette. */
.jm-delivery {
    --delivery-ink: var(--jm-color-ink);
    --delivery-paper: #f6f2e9;
    --delivery-muted: var(--jm-color-muted);
    --delivery-brass: #ba9a60;
    --delivery-rule: #d8ccba;
    --delivery-shell: min(1280px, calc(100% - clamp(36px, 9vw, 160px)));
    color: var(--delivery-ink);
    background: var(--delivery-paper);
}
.jm-delivery :is(h1,h2,h3,h4) {
    margin: 0;
    color: inherit;
    font-family: var(--serif,Prata,Georgia,serif);
    font-weight: 400;
    letter-spacing: -.025em;
    text-wrap: balance;
}
.jm-delivery p { margin: 0; }
.jm-delivery__hero {
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(0,1fr);
    align-items: stretch;
    background: var(--wine);
    color: #fff8e9;
    border-bottom: 1px solid var(--delivery-brass);
}
.jm-delivery__intro {
    align-self: center;
    padding: clamp(50px,6vw,100px) clamp(20px,4vw,68px) clamp(50px,6vw,100px) max(calc((100vw - 1280px)/2),4.5vw);
}
.jm-delivery__intro h1 { font-size: clamp(42px,5.5vw,88px); line-height: 1.07; }
.jm-delivery__intro p { max-width: 48ch; color: #e4e9dd; margin-block: 24px; }
.jm-delivery__photo {
    position: relative; display:block; width:100%; height:100%; min-height:360px;
    max-height:660px; object-fit:cover; object-position:50% 50%; margin:0;
}
.jm-delivery__photo img { width:100%; height:100%; object-fit:cover; }
.jm-delivery__actions { display:flex; flex-wrap:wrap; align-items:center; gap:14px 28px; }
.jm-delivery__link, .jm-delivery__section a:not(.jm-delivery__button), .jm-delivery__contact a:not(.jm-delivery__button) {
    color:inherit; text-decoration:underline; text-decoration-color:var(--delivery-brass); text-underline-offset:.35em;
}
.jm-delivery__button, .jm-delivery .jm-estimate button.button {
    display:inline-flex; align-items:center; justify-content:center;
    min-height:48px; padding:12px 24px; border:1px solid transparent; border-radius:2px;
    background:#ddc79d; color:var(--claret); font:600 15px/1.4 var(--sans,Manrope,sans-serif);
    text-decoration:none; cursor:pointer; transition:background-color .24s,color .24s,box-shadow .24s;
}
.jm-delivery .jm-estimate, .jm-delivery__section {
    width:var(--delivery-shell); margin-inline:auto; padding-block:clamp(48px,6vw,96px);
    border-bottom:1px solid var(--delivery-rule);
}
.jm-delivery .jm-estimate { display:grid; grid-template-columns:minmax(0,1.4fr) minmax(0,.85fr); align-items:end; gap:clamp(32px,7vw,112px); }
.jm-delivery :is(.jm-estimate, .jm-delivery__section) h2 { font-size:clamp(31px,3.75vw,56px); line-height:1.15; }
.jm-delivery .jm-estimate > div > p, .jm-delivery__heading p { max-width:64ch; margin-top:14px; color:var(--delivery-muted); }
.jm-delivery .jm-estimate form { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px 22px; margin-top:30px; }
.jm-delivery .jm-estimate label { display:grid; gap:7px; font:600 .9rem/1.4 var(--sans,Manrope,sans-serif); color:var(--jm-color-ink); }
.jm-delivery .jm-estimate :is(select,input:not([type=hidden])) {
    width:100%; height:48px; border:1px solid #b8aa94; border-radius:2px; background:#fffdf8; color:var(--claret);
    font:400 16px/1.4 var(--sans,Manrope,sans-serif); padding:9px 12px; min-width:0;
}
.jm-delivery .jm-estimate button.button { color:#fffbf2; background:var(--wine); justify-self:start; margin-top:4px; }
.jm-delivery .jm-estimate aside {
    align-self:end; background:var(--wine); color:#fbf5e7;
    padding:clamp(24px,3vw,48px); border-top:2px solid var(--delivery-brass);
}
.jm-delivery .jm-estimate aside p {
    display:flex; align-items:baseline; justify-content:space-between; gap:12px; padding:13px 0;
    margin:0; border:0; border-bottom:1px solid var(--wine); font-variant-numeric:tabular-nums;
}
.jm-delivery .jm-estimate aside strong { text-align:right; }
.jm-delivery .jm-estimate aside p:last-child { border:0; padding-bottom:0; }
.jm-delivery .jm-estimate aside p:last-child strong { font:400 clamp(23px,2.2vw,34px)/1.3 var(--serif,Georgia,serif); color:#efdbb5; }
.jm-delivery__rates, .jm-delivery__examples, .jm-delivery__payments, .jm-delivery .pem-lift-tariffs {
    display:grid; gap:clamp(20px,3.5vw,58px); margin-top:28px;
}
.jm-delivery__rates { grid-template-columns:repeat(3,minmax(0,1fr)); }
.jm-delivery__examples, .jm-delivery__payments, .jm-delivery .pem-lift-tariffs { grid-template-columns:repeat(2,minmax(0,1fr)); }
.jm-delivery__rate, .jm-delivery__examples > article, .jm-delivery__payments > article {
    min-width:0; border-top:1px solid var(--delivery-brass); padding-block:18px;
}
.jm-delivery__section h3 { font-size:clamp(20px,2vw,31px); line-height:1.25; }
.jm-delivery__section article p, .jm-delivery__section article ul { margin-top:12px; }
.jm-delivery__section article ul { padding-left:1.15em; }
.jm-delivery__section article li + li { margin-top:.5rem; }
.jm-delivery__note { margin-block:22px 0; max-width:72ch; color:var(--delivery-muted); }
.jm-delivery .pem-lift-tariff { border:0; padding:0; background:transparent; box-shadow:none; }
.jm-delivery .pem-lift-tariff table { width:100%; border-collapse:collapse; font-variant-numeric:tabular-nums; }
.jm-delivery .pem-lift-tariff caption {
    padding:0 0 12px; color:var(--delivery-ink); background:transparent;
    font:400 clamp(21px,2vw,30px)/1.3 var(--serif,Georgia,serif); text-align:left;
}
.jm-delivery .pem-lift-tariff :is(td,th) { padding:10px 5px; text-align:left; border:0; border-bottom:1px solid var(--delivery-rule); }
.jm-delivery .pem-lift-tariff :is(td,th):last-child { text-align:right; }
.jm-delivery__faq details { padding:16px 0; border-bottom:1px solid var(--delivery-rule); }
.jm-delivery__faq summary { cursor:pointer; font-weight:600; }
.jm-delivery__faq details p { max-width:75ch; padding-top:12px; color:var(--delivery-muted); }
.jm-delivery__contact { padding-block:clamp(30px,4vw,58px); }
.jm-delivery :is(a,button,input,select,summary):focus-visible { outline:2px solid #987234; outline-offset:3px; }
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
    .jm-delivery__button:hover { background:#efdcb5; }
    .jm-delivery .jm-estimate button.button:hover { background:var(--claret); }
    .jm-delivery__link:hover { text-decoration-thickness:2px; }
}
@media (max-width:840px) {
    .jm-delivery__hero { grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr); }
    .jm-delivery .jm-estimate { grid-template-columns:1fr; gap:24px; }
    .jm-delivery .jm-estimate aside { max-width:none; }
    .jm-delivery__rates { gap:14px; }
}
@media (max-width:650px) {
    .jm-delivery__hero, .jm-delivery__rates, .jm-delivery__examples, .jm-delivery__payments, .jm-delivery .pem-lift-tariffs { grid-template-columns:1fr; }
    .jm-delivery__intro { padding:36px max(18px,4.5vw) 30px; }
    .jm-delivery__intro h1 { font-size:clamp(36px,9.3vw,55px); }
    .jm-delivery__photo { min-height:0; height:clamp(160px,45vw,260px); object-position:50% 55%; }
    .jm-delivery__section, .jm-delivery .jm-estimate { padding-block:42px; }
    .jm-delivery .jm-estimate form { gap:12px; }
    .jm-delivery .jm-estimate button.button { grid-column:1/-1; justify-self:stretch; }
    .jm-delivery .jm-estimate aside { padding:20px; }
}
@media (max-width:400px) {
    .jm-delivery .jm-estimate form { grid-template-columns:1fr; }
}

.jm-delivery__intro h1 span, .jm-delivery__payment-band h2 span {
    color:var(--jm-color-champagne);
}
.jm-delivery .jm-delivery__payment-band {
    width:100%; box-sizing:border-box;
    padding-inline:calc((100% - var(--delivery-shell)) / 2);
    color:var(--jm-color-ivory); background:var(--jm-color-forest);
    --jm-color-focus:var(--jm-color-focus-light);
}
.jm-delivery__payment-band article p { max-width:44ch; color:var(--jm-color-ivory); }
.jm-delivery__payment-band article strong { color:var(--jm-color-champagne); }
.jm-delivery__payment-band details { margin-top:.8rem; }
.jm-delivery__payment-band summary, .jm-delivery__fold summary { width:fit-content; padding-block:.5em; cursor:pointer; }
.jm-delivery__payment-band .jm-delivery__actions { margin-top:1rem; }
.jm-delivery__fold { margin-top:1.25rem; border-top:1px solid var(--delivery-rule); }
.jm-delivery__fold > summary { width:auto; padding-block:1em; font-weight:650; }
.jm-delivery__fold > h3 { margin-top:1.5rem; }
.jm-delivery .jm-delivery__help { margin-top:1.5rem; }
