/* Shared full-screen hero on desktop and phones. */
.coastal-hero{position:relative;isolation:isolate;width:100%;height:100vh!important;height:100svh!important;min-height:0!important;aspect-ratio:auto;overflow:hidden;background:#12344d;display:block!important}
.coastal-hero>picture,.coastal-hero>picture>img{position:absolute;inset:0;width:100%;height:100%;display:block;object-fit:cover}
.coastal-hero::after{content:'';position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(180deg,#102d5066,transparent 48%,transparent 72%,#0c1c3199)}
.coastal-copy{position:absolute;z-index:2;top:clamp(105px,9vw,160px);left:24px;right:24px;text-align:center;color:white}
.coastal-copy h1{font-family:Inter,Arial,sans-serif;font-size:clamp(36px,5.2vw,76px);font-weight:700;line-height:1.07;letter-spacing:-.045em;color:#fff;text-transform:none;margin:0 0 14px;text-shadow:0 2px 14px #122d5040}
.coastal-copy p{font-size:15px;line-height:1.6;max-width:650px;margin:0 auto;color:#fff;font-weight:500;letter-spacing:0;text-wrap:balance}
.coastal-actions{position:absolute;z-index:3;bottom:28px;left:50%;transform:translateX(-50%);display:flex;gap:12px;max-width:calc(100% - 40px);width:max-content}
.coastal-actions a{display:flex;align-items:center;justify-content:space-between;gap:28px;min-height:50px;padding:14px 24px;border:1px solid #ffffff8c;border-radius:12px;background:#ffffffed;color:#14273b;font-size:12px;font-weight:600;line-height:1.4;text-decoration:none;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);transition:background .2s}
.coastal-actions a+a{background:#17283b70;color:white}.coastal-actions a:hover{background:#fff;color:#14273b}.coastal-actions a:focus-visible{outline:3px solid #fff;outline-offset:5px}.coastal-actions svg{width:15px;height:15px;flex-shrink:0}.coastal-actions .short-label{display:none}
.editorial-page .ed-page{padding-top:0}.editorial-page .coastal-hero{margin-bottom:48px}.coastal-hero .hero-scroll-cue{display:none}
@media(min-width:769px) and (max-width:1050px){.coastal-copy{top:100px}.coastal-copy h1{font-size:40px}.coastal-copy p{font-size:12px}.coastal-actions{bottom:18px}.coastal-actions a{min-height:44px;padding:10px 18px}}
@media(max-width:768px){
 .coastal-hero{aspect-ratio:auto}
 .coastal-copy{top:clamp(88px,22vw,135px);left:20px;right:20px}
 .coastal-copy h1{font-size:clamp(28px,7.7vw,48px);line-height:1.1;margin-bottom:12px;letter-spacing:-.04em}
 .coastal-copy p{font-size:clamp(11px,3vw,15px);line-height:1.55;max-width:310px}
 .coastal-actions{bottom:calc(96px + env(safe-area-inset-bottom,0px));left:20px;right:20px;transform:none;width:auto;max-width:none;display:grid;grid-template-columns:1fr 1fr;gap:10px}
 .coastal-actions a{min-height:50px;padding:12px;font-size:11px;gap:8px;border-radius:10px}
 .coastal-actions .long-label{display:none}.coastal-actions .short-label{display:inline}
 .editorial-page .coastal-hero{margin-bottom:28px}
}
@media(prefers-reduced-motion:reduce){.coastal-actions a{transition:none}}

/* Preserve the complete coastal composition on narrow phone screens. */
@media(max-width:768px){
 .coastal-hero{background:linear-gradient(135deg,#3185c1,#1268a8 65%,#115c97)}
 .coastal-hero>picture>img{object-fit:contain;object-position:center bottom;mask-image:linear-gradient(to bottom,transparent 25%,#000 43%);-webkit-mask-image:linear-gradient(to bottom,transparent 25%,#000 43%)}
}
/* Keep the vehicles closer to the heading; extend the road below the photo. */
@media(max-width:768px){
 .coastal-hero{background:linear-gradient(180deg,#267bb5 0%,#267bb5 30%,#63757d 60%,#26303a 82%,#17232e 100%)}
 .coastal-hero>picture>img{object-position:center 35%;mask-image:linear-gradient(to bottom,transparent 4%,#000 20%,#000 65%,transparent 88%);-webkit-mask-image:linear-gradient(to bottom,transparent 4%,#000 20%,#000 65%,transparent 88%)}
}
