/* Material-delivery page only. Load after site.css. */
.delivery-page main { overflow-wrap: break-word; }
.delivery-page main *, .delivery-page .footer-top > * { min-width: 0; }
.delivery-page main h2 { font-size: clamp(32px, 3.8vw, 55px); line-height: 1.04; }
.delivery-page main h2 span { color: var(--blue); }
.delivery-page main p { font-size: 17px; line-height: 1.7; }
.delivery-page .eyebrow { font-size: 11px; font-weight: 600; }
.md-section { padding-block: 96px; }
.md-hero { padding-top: 30px; background: var(--navy); color: white; }
.md-hero .back { margin-bottom: 30px; }
.md-hero-grid { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,1fr); gap: 65px; align-items: center; padding-bottom: 50px; }
.md-hero h1 { font-size: clamp(44px, 6vw, 84px); line-height: .96; }
.md-hero h1 span { color: var(--blue-bright); }
.md-hero .eyebrow { color: #afc6d3; }
.md-hero-copy > p { max-width: 500px; color: #afc1cc; }
.delivery-page .md-hero .md-lead { color: white; font-size: 22px; line-height: 1.5; margin: 28px 0 15px; }
.md-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 28px; margin-top: 28px; }
.md-call { display: inline-block; padding-block: 7px; margin-top: 22px; color: #afc1cc; font-size: 14px; }
.md-call strong { color: white; }
.md-hero-photo { position: relative; align-self: stretch; min-height: 550px; border-top: 5px solid var(--blue-bright); }
.md-hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.md-hero-photo figcaption { position: absolute; bottom: 0; right: 0; background: var(--blue); box-shadow: -8px -8px 0 var(--navy); padding: 24px 28px; }
.md-hero-photo figcaption span { font-size: 10px; letter-spacing: .13em; }
.md-hero-photo figcaption strong { display: block; font-family: Arial,sans-serif; font-size: 32px; font-weight: 900; line-height: 1; letter-spacing: -.04em; margin-top: 12px; }
.md-hero-bottom { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; border-top: 1px solid #ffffff25; padding-block: 25px; font-size: 10px; line-height: 1.6; letter-spacing: .11em; color: #afc1cc; }
.md-nav { background: #e7edee; border-bottom: 1px solid var(--line); }
.md-nav .wrap { display: flex; gap: 0 36px; flex-wrap: wrap; }
.md-nav a { padding-block: 21px; font-size: 14px; font-weight: 600; position: relative; }
.md-nav a::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: var(--blue); transform: scaleX(0); transition: transform .2s; }
.md-nav a:hover::after,.md-nav a:focus-visible::after { transform: scaleX(1); }
.md-heading { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); gap: 70px; align-items: end; margin-bottom: 44px; }
.md-heading > p { max-width: 490px; }
.md-materials { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 48px 30px; }
.md-material figure { aspect-ratio: 16 / 9; overflow: hidden; background: #dce2e1; }
.md-material img { width: 100%; height: 100%; object-fit: cover; }
.md-material-copy { position: relative; padding: 26px 0 24px 44px; border-bottom: 1px solid var(--line); }
.md-number { color: var(--blue); display: block; font-size: 13px; font-weight: 600; }
.md-material-copy .md-number { position: absolute; left: 0; top: 33px; }
.md-material h3 { font-size: 29px; margin-bottom: 15px; }
.delivery-page .md-material p { font-size: 16px; }
.md-use { display: block; font-size: 13px; color: var(--blue); margin-top: 18px; line-height: 1.6; }
.md-material-note { padding: 27px 30px; background: #e7edee; margin-top: 36px; display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.delivery-page .md-material-note p { font-size: 15px; max-width: 660px; }
.md-material-note .text-link { flex-shrink: 0; }
.md-estimator { background: var(--navy); color: white; }
.md-estimator-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 80px; align-items: start; }
.md-estimator .eyebrow { color: #afc6d3; }
.delivery-page .md-estimator h2 span { color: var(--blue-bright); }
.md-estimator-grid > div > p { margin-top: 26px; color: #b7c8d2; }
.md-example { padding: 22px 0; margin-top: 28px; border-block: 1px solid #ffffff25; }
.md-example .eyebrow { margin-bottom: 12px; }
.delivery-page .md-example p { color: #c9d7df; font-size: 16px; }
.md-example strong { color: white; }
.delivery-page .md-small { font-size: 14px; line-height: 1.6; }
.md-calculator { padding: 35px; background: var(--paper); border-top: 4px solid var(--blue-bright); color: var(--ink); }
.md-calculator h3 { font-size: 27px; margin-bottom: 13px; }
.md-fields { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; margin: 25px 0; }
.md-fields label { display: block; font-size: 16px; font-weight: 600; margin-bottom: 9px; }
.md-fields label span { display: block; color: var(--muted); font-size: 13px; font-weight: 400; margin-top: 4px; }
.md-fields input { width: 100%; padding: 13px 10px; font-size: 17px; background: white; border: 1px solid #aebdc4; border-radius: 0; color: var(--ink); }
.md-calculator .button { width: 100%; cursor: pointer; }
.md-result { margin: 24px 0 18px; padding: 21px; background: #e2ecef; border-left: 3px solid var(--blue); font-size: 15px; line-height: 1.5; }
.md-result strong { display: block; font-family: Arial,sans-serif; font-size: 37px; letter-spacing: -.04em; color: var(--blue); }
.md-result span { display: block; }
.md-steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 40px; list-style: none; margin: 0; padding: 0; }
.md-steps li { border-top: 2px solid var(--blue); padding-top: 25px; }
.md-steps .md-number { font-size: 34px; letter-spacing: -.04em; margin-bottom: 25px; }
.md-steps h3 { font-size: 25px; margin-bottom: 18px; }
.delivery-page .md-steps p { font-size: 16px; }
.md-access { background: #e7edee; padding-block: 75px; }
.md-access-grid,.md-price-grid,.md-local-grid,.md-faq-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.1fr); gap: 85px; }
.md-access p,.md-price-grid > div > p,.md-local-grid > div > p,.md-faq-grid > div > p { margin-top: 26px; }
.md-access .text-link { margin-top: 20px; }
.md-checks { list-style: none; margin: 0; padding: 0; }
.md-checks li { padding: 20px 0 20px 28px; border-top: 1px solid #c0cdd2; position: relative; }
.md-checks li::before { content: '✓'; position: absolute; top: 21px; left: 0; color: var(--blue); }
.md-checks strong,.md-checks span { display: block; }
.md-checks strong { font-size: 20px; margin-bottom: 8px; }
.md-checks span { font-size: 16px; line-height: 1.6; color: var(--muted); }
.md-price-grid .button { margin-top: 27px; }
.md-price-factors > div { padding: 25px 0 25px 45px; border-top: 1px solid var(--line); position: relative; }
.md-price-factors > div > span { position: absolute; top: 31px; left: 0; font-size: 13px; color: var(--blue); }
.md-price-factors h3 { margin-bottom: 12px; font-size: 25px; }
.delivery-page .md-price-factors p { font-size: 16px; }
.md-project { padding-block: 65px; background: var(--blue); color: white; }
.md-project .wrap { display: flex; align-items: center; justify-content: space-between; gap: 65px; }
.md-project p { color: #e7f4fc; max-width: 660px; margin-top: 25px; }
.md-project .button { flex-shrink: 0; }
.md-area-list { border-top: 3px solid var(--blue); padding-top: 27px; }
.md-area-list h3 { font-size: 23px; margin-bottom: 13px; }
.md-area-list p { margin-bottom: 27px; }
.md-faq { background: #e7edee; }
.delivery-page .faq summary { font-size: 18px; line-height: 1.4; min-height: 28px; }
.delivery-page .faq p { font-size: 16px; }
.md-final { padding-block: 85px; background: var(--navy); color: white; text-align: center; }
.delivery-page .md-final h2 { font-size: clamp(33px,4.6vw,66px); }
.delivery-page .md-final h2 span { color: var(--blue-bright); }
.md-final p { color: #b7c8d2; margin-top: 26px; }
.md-final .md-actions { justify-content: center; }
.delivery-page .footer { border-top: 1px solid #ffffff25; }
@media (max-width: 1050px) {
 .md-hero-grid,.md-heading,.md-estimator-grid,.md-access-grid,.md-price-grid,.md-local-grid,.md-faq-grid { gap: 40px; }
 .md-calculator { padding: 26px; }
 .md-fields { gap: 9px; }
 .md-material-note,.md-project .wrap { flex-direction: column; align-items: flex-start; gap: 20px; }
 .md-steps { gap: 26px; }
}
@media (max-width: 760px) {
 .md-section { padding-block: 64px; }
 .md-hero-grid,.md-heading,.md-estimator-grid,.md-access-grid,.md-price-grid,.md-local-grid,.md-faq-grid { grid-template-columns: minmax(0,1fr); gap: 32px; }
 .md-hero h1 { font-size: clamp(48px,12vw,76px); }
 .md-hero-grid { padding-bottom: 32px; }
 .md-hero-photo { min-height: 0; height: 370px; }
 .md-hero-photo figcaption { padding: 20px 25px; }
 .md-hero-photo figcaption strong { font-size: 28px; }
 .md-heading { gap: 22px; margin-bottom: 32px; }
 .md-nav .wrap { gap: 0 25px; padding-block: 10px; }
 .md-nav a { padding-block: 12px; }
 .md-materials { gap: 34px 22px; }
 .md-material-copy { padding-left: 0; }
 .md-material-copy .md-number { position: static; margin-bottom: 12px; }
 .md-material h3 { font-size: 25px; }
 .md-steps { grid-template-columns: minmax(0,1fr); gap: 30px; }
 .md-steps .md-number { margin-bottom: 18px; }
 .md-access,.md-project,.md-final { padding-block: 60px; }
 .md-calculator { padding: 30px; }
}
@media (max-width: 520px) {
 .md-materials { grid-template-columns: minmax(0,1fr); }
 .md-material h3 { font-size: 28px; }
 .md-actions { gap: 12px; }
 .md-actions .button,.md-project .button { width: 100%; }
 .md-actions .text-link { min-height: 44px; }
 .md-final .text-link { margin-inline: auto; }
 .md-hero-photo { height: 320px; }
 .md-material-note { padding: 24px; }
 .md-material-note .text-link { flex-shrink: 1; }
 .md-calculator { padding: 25px 20px; }
 .md-fields { grid-template-columns: minmax(0,1fr); gap: 18px; }
 .md-fields label span { display: inline; margin-left: 4px; }
}
@media (max-width: 360px) {
 .delivery-page .header-inner { gap: 12px; }
 .delivery-page .menu-toggle { padding: 11px 10px; gap: 8px; }
 .md-result { padding: 17px; }
 .md-result strong { font-size: 32px; }
}
@media (prefers-reduced-motion: reduce) { .md-nav a::after { transition: none; } }
