/* Chart margins vary by page while keeping one nautical visual language. */
.menu-hero .hero-ruler{position:absolute;z-index:3;color:#ffffffa8;font:8px/1 'Space Mono',monospace;pointer-events:none}
.menu-hero .hero-ruler-h{display:flex;justify-content:space-between;left:48%;right:19%;top:18px;padding-top:17px}
.hero-ruler-h i{position:absolute;inset:0 0 auto;height:12px;border-top:1px solid currentColor;background:repeating-linear-gradient(90deg,currentColor 0 1px,transparent 1px 10px) left top/100% 5px no-repeat,repeating-linear-gradient(90deg,currentColor 0 1px,transparent 1px 50px) left top/100% 10px no-repeat}
.menu-hero .hero-ruler-v{display:flex;flex-direction:column;justify-content:space-between;right:16px;top:39%;bottom:32px;padding-right:20px}
.hero-ruler-v i{position:absolute;inset:0 0 0 auto;width:12px;border-right:1px solid currentColor;background:repeating-linear-gradient(0deg,currentColor 0 1px,transparent 1px 10px) right top/5px 100% no-repeat,repeating-linear-gradient(0deg,currentColor 0 1px,transparent 1px 50px) right top/10px 100% no-repeat}
.menu-hero-about .hero-ruler-h{left:38%;right:24%}.menu-hero-about .hero-ruler-v{top:28%;bottom:18%}
.menu-hero-code .hero-ruler-h{top:auto;bottom:22px;left:52%;right:29%}.menu-hero-code .hero-ruler-v{top:30%;bottom:22%}
.menu-hero-ashore .hero-ruler-h{left:42%;right:21%}.menu-hero-ashore .hero-ruler-v{top:45%;bottom:12%}
.logbook-page .menu-hero .hero-ruler-h{left:44%;right:28%}.logbook-page .menu-hero .hero-ruler-v{top:38%;bottom:25%}
.art-page .menu-hero .hero-ruler-h{top:auto;bottom:25px;left:36%;right:calc(38% + 40px)}.art-page .menu-hero .hero-ruler-v{right:38%;top:46%;bottom:20%}
.menu-hero-owners .hero-ruler-h{left:47%;right:23%}.menu-hero-owners .hero-ruler-v{top:35%;bottom:18%}
/* One continuous photographic field on mobile, as on Home. */
@media(max-width:760px){
 body .menu-hero{display:block;min-height:780px;padding:35px 0 280px;box-sizing:border-box}
 body .menu-hero-copy{position:relative;z-index:2;order:initial;margin-left:6%;width:88%;padding:0}
 body .menu-hero-photo{position:absolute;inset:0;width:100%;height:100%;margin:0;order:initial;z-index:0;overflow:hidden}
 body .menu-hero-photo img,body.owners-page .menu-hero-photo>img{display:block;width:100%;height:100%;object-fit:cover}
 body .menu-hero-photo:after{display:block;background:linear-gradient(180deg,#161616 0%,#161616fa 20%,#161616e0 36%,#16161699 51%,#16161633 70%,#16161608 84%,#1616164d 100%)}
 body .menu-hero h1{font-size:clamp(54px,12vw,78px);margin:24px 0}
 body .menu-hero .menu-hero-lead{font-size:21px}
 body .menu-hero .menu-hero-note{font-size:17px}
 body .menu-hero .menu-hero-caption{bottom:23px;max-width:63%;right:auto}
 body .menu-hero-pennant{height:215px;width:23%}
 body .menu-hero .hero-ruler-h{left:8%;right:31%;top:auto;bottom:112px;font-size:7px;padding-top:13px}
 body .menu-hero .hero-ruler-v{right:10px;top:52%;bottom:85px;font-size:7px;padding-right:15px}
 .art-page .menu-hero .hero-ruler-v{right:60%}
}
@media(max-width:760px){
 body .menu-hero-pennant{height:180px;width:21%}
 body .menu-hero h1{max-width:80%}
 body.owners-page .menu-hero h1{font-size:clamp(50px,11vw,72px);max-width:82%}
}
/* Preserve the photographs' landscape composition instead of cropping them to a tall hero. */
@media(max-width:760px){
 body .menu-hero{display:flex;flex-direction:column;min-height:0;padding:35px 0 0}
 body .menu-hero-copy{order:1;padding-bottom:45px}
 body .menu-hero-photo{order:2;position:relative;inset:auto;width:100%;height:auto;aspect-ratio:1.45;margin:-35px 0 0;flex:none;overflow:hidden}
 body .menu-hero-photo img,body.owners-page .menu-hero-photo>img{width:100%;height:100%;object-fit:cover;object-position:center}
 body .menu-hero-photo:after{background:linear-gradient(180deg,#161616 0%,#161616cc 7%,#16161644 18%,transparent 32%),linear-gradient(0deg,#161616b3 0%,transparent 32%)}
 body.about-page .menu-hero-about .menu-hero-photo img{object-position:70% 65%}
 body.code-page .menu-hero-code .menu-hero-photo img{object-position:75% center}
 body.owners-page .menu-hero-photo>img{object-position:60% center}
 body .menu-hero .hero-ruler-h{bottom:45px;font-size:6px;opacity:.8}
 body .menu-hero .hero-ruler-v{top:auto;bottom:45px;height:150px;font-size:6px;opacity:.8}
 body .menu-hero .menu-hero-caption{bottom:16px;max-width:62%;font-size:9px}
}
@media(max-width:760px){
 body.logbook-page .log-routes,body.art-page .art-routes{display:flex;flex-direction:column;align-items:flex-start;gap:16px;padding-right:34%}
}
