:root{
  --navy:#062c49; --deep:#041e33; --teal:#098b8d; --teal-ink:#06696b; --aqua:#3fd0c9;
  --foam:#eef6f6; --mist:#f6f9fa; --rule:#d8e3e6; --paper:#ffffff; --text:#15242f; --muted:#5b6c77;
  --head:"Bricolage Grotesque","Helvetica Neue",Arial,system-ui,sans-serif;
  --body:"Figtree","Helvetica Neue",Arial,system-ui,sans-serif;
  --r:16px;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--mist);color:var(--text);font-family:var(--body);font-size:17.5px;line-height:1.6}
a{color:inherit}
img{max-width:100%;height:auto;display:block}
.wrap{max-width:1240px;margin:0 auto;padding:0 28px}
.narrow{max-width:720px;margin:0 auto}
time,.fine{font-size:13.5px;color:var(--muted);font-variant-numeric:tabular-nums}
.skip{position:absolute;left:-9999px}.skip:focus{left:12px;top:12px;background:#fff;padding:8px;z-index:99}
.hp{position:absolute;left:-9999px}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
:focus-visible{outline:3px solid var(--teal);outline-offset:2px}
.ico{width:16px;height:16px;flex:none}

/* Section colours: each section has its own two-colour blend, used on story tiles and page headers */
.t-shipping{--a:#062c49;--b:#0f7fa8}
.t-ports{--a:#0a3a5c;--b:#0fa3a0}
.t-shipbuilding{--a:#14294d;--b:#4a7fd0}
.t-boating{--a:#067d8a;--b:#4fdcd0}
.t-marinas{--a:#0c5a7c;--b:#6fcfe6}
.t-technology{--a:#1b2463;--b:#5a86ea}
.t-repair{--a:#24384a;--b:#7391a8}
.t-offshore{--a:#065a55;--b:#3cc391}
.t-safety{--a:#5c1f33;--b:#e0694f}
.t-corporate{--a:#0b2239;--b:#d2a640}

/* Header: white, stays at the top while scrolling; sections are a row you can swipe on a phone */
.masthead{background:var(--paper);position:sticky;top:0;z-index:20;box-shadow:0 1px 0 var(--rule)}
.brand-row{display:flex;justify-content:space-between;align-items:center;gap:20px;padding-top:14px;padding-bottom:12px}
.brand img{width:min(300px,58vw)}
.brand-side{display:flex;align-items:center;gap:22px;font-size:15px;font-weight:600}
.brand-side a{text-decoration:none;color:var(--navy)}
.brand-side a:hover{color:var(--teal-ink)}
.sections{border-top:1px solid var(--rule)}
.sections-in{display:flex;gap:2px;overflow-x:auto;padding-top:8px;padding-bottom:8px;scrollbar-width:none}
.sections-in::-webkit-scrollbar{display:none}
.sections a{display:inline-flex;align-items:center;gap:7px;white-space:nowrap;font-size:14.5px;font-weight:600;text-decoration:none;color:var(--navy);padding:7px 12px;border-radius:999px}
.sections a .ico{color:var(--teal)}
.sections a:hover{background:var(--foam)}
.sections a[aria-current]{background:var(--navy);color:#fff}
.sections a[aria-current] .ico{color:var(--aqua)}
main.wrap{padding-top:28px;padding-bottom:72px}

/* Shared */
h1,h2,h3{font-family:var(--head);color:var(--navy);line-height:1.12;margin:0;font-weight:700;letter-spacing:-.015em}
h1 a,h2 a,h3 a{text-decoration:none}
h1 a:hover,h2 a:hover,h3 a:hover{color:var(--teal-ink)}
.dek{color:#405562;margin:8px 0 10px;font-size:16px;line-height:1.5}
.tag{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:700;color:var(--teal-ink);background:var(--foam);text-decoration:none;padding:4px 10px 4px 8px;border-radius:999px;margin-bottom:10px}
a.tag:hover{background:#dcefee}
.btn,button[type=submit]{display:inline-block;background:var(--teal-ink);color:#fff;font-family:var(--body);font-weight:700;font-size:16px;border:0;border-radius:999px;padding:12px 26px;text-decoration:none;cursor:pointer;white-space:nowrap}
.btn:hover,button[type=submit]:hover{background:var(--navy);color:#fff}
.brand-side .btn.small{padding:8px 18px;font-size:14.5px;color:#fff}

/* Home: lead story on a deep-water panel with the ship from the logo, top stories beside it */
.hero-row{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(0,1fr);gap:24px}
.hero-row.solo{grid-template-columns:1fr}
.hero{position:relative;overflow:hidden;border-radius:24px;padding:44px 46px 40px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;color:#d6e6ea;
  background:url(/img/ship-white.png) no-repeat right -70px bottom -110px/430px auto,linear-gradient(135deg,#041e33 0%,#062c49 45%,#0a6c7c 100%)}
.hero::after{content:"";position:absolute;left:0;right:0;bottom:0;height:6px;background:linear-gradient(90deg,var(--teal),var(--aqua))}
.hero .tag{background:rgba(63,208,201,.16);color:#8ff0ea}
.hero h2{font-size:clamp(31px,3.9vw,50px);font-weight:800;line-height:1.05;letter-spacing:-.025em;max-width:17em}
.hero h2 a{color:#fff}
.hero h2 a:hover{color:var(--aqua)}
.hero .dek{color:#d6e6ea;font-size:19px;margin-top:14px;max-width:38em}
.lead-why{position:relative;background:rgba(255,255,255,.09);border-radius:12px;padding:13px 16px;font-size:15.5px;line-height:1.5;margin:18px 0 14px;max-width:40em}
.lead-why strong{display:block;color:var(--aqua);font-size:13px}
.hero time{color:#9db9c2}
.hero-side{background:var(--paper);border-radius:24px;padding:26px 26px 8px;box-shadow:0 1px 0 var(--rule),0 12px 30px -22px rgba(6,44,73,.45)}
.side-h{font-size:21px;margin-bottom:14px}
.side-item{padding:14px 0 16px;border-top:1px solid var(--rule)}
.side-item h3{font-size:19.5px;font-weight:700;line-height:1.2;margin-bottom:6px}
.section-h{font-size:28px;font-weight:800;margin:52px 0 20px;display:flex;align-items:center;gap:14px}
.section-h::after{content:"";flex:1;height:2px;background:linear-gradient(90deg,var(--teal),rgba(9,139,141,0))}

/* Story tiles */
.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.card{background:var(--paper);border-radius:var(--r);overflow:hidden;display:flex;flex-direction:column;box-shadow:0 1px 0 var(--rule),0 12px 30px -24px rgba(6,44,73,.5)}
.thumb{display:block;height:104px;position:relative;color:rgba(255,255,255,.92);
  background:
   url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='40' viewBox='0 0 160 40'%3E%3Cpath d='M0 14 Q40 0 80 14 T160 14' fill='none' stroke='%23ffffff' stroke-opacity='.22' stroke-width='2'/%3E%3Cpath d='M0 30 Q40 16 80 30 T160 30' fill='none' stroke='%23ffffff' stroke-opacity='.13' stroke-width='2'/%3E%3C/svg%3E") repeat-x left bottom,
   linear-gradient(120deg,var(--a),var(--b))}
.thumb-ico{position:absolute;right:18px;top:50%;transform:translateY(-50%);width:62px;height:62px;stroke-width:1.1}
.card-body{padding:18px 20px 20px;display:flex;flex-direction:column;align-items:flex-start;flex:1}
.card :is(h2,h3){font-size:21.5px;line-height:1.18}
.card time{margin-top:auto}
.empty{grid-column:1/-1;color:var(--muted);padding:22px 0}
.log{list-style:none;margin:0;padding:6px 24px;background:var(--paper);border-radius:var(--r);box-shadow:0 1px 0 var(--rule)}
.log li{display:grid;grid-template-columns:140px minmax(0,1fr);gap:20px;padding:13px 0;border-bottom:1px solid var(--rule);align-items:baseline}
.log li:last-child{border-bottom:0}
.log a{font-family:var(--head);font-weight:700;font-size:18.5px;line-height:1.25;color:var(--navy);text-decoration:none}
.log a:hover{color:var(--teal-ink)}
.tip-band{margin-top:24px;background:var(--paper);border-radius:24px;padding:30px 34px;display:flex;justify-content:space-between;align-items:center;gap:24px;box-shadow:0 1px 0 var(--rule)}
.tip-band h2{font-size:26px}.tip-band p{margin:6px 0 0;font-size:16px;max-width:62ch;color:#405562}

/* Signup */
.signup{margin-top:52px;border-radius:24px;padding:34px 38px;color:#d6e6ea;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px 40px;align-items:center;
  background:linear-gradient(120deg,#062c49,#087f86)}
.signup-label{grid-column:1;font-family:var(--head);font-weight:800;font-size:30px;line-height:1.1;letter-spacing:-.02em;color:#fff}
.signup-copy{grid-column:1;font-size:16px;margin:0;line-height:1.45}
.signup-row{grid-column:2;grid-row:1/span 2;display:flex;gap:8px}
.signup input,.form input,.form select,.form textarea{font:inherit;font-size:16px;padding:12px 16px;border:1px solid #a9bfc4;border-radius:12px;width:100%;background:#fff;color:var(--text)}
.signup input{border-radius:999px;border-color:transparent}
.signup button{background:var(--aqua);color:var(--deep)}
.signup button:hover{background:#fff;color:var(--deep)}
.prose .signup{margin-top:24px}
.prose .signup-copy{font-size:16px}

/* Story */
.story{background:var(--paper);border-radius:24px;overflow:hidden;box-shadow:0 1px 0 var(--rule)}
.story-head{padding:46px 48px 34px;color:#d6e6ea;background:linear-gradient(125deg,var(--deep) 0%,var(--a) 60%,var(--b) 175%)}
.story-head .tag{background:rgba(255,255,255,.14);color:#fff}
.story-head h1{color:#fff;font-size:clamp(31px,4.3vw,50px);font-weight:800;line-height:1.06;letter-spacing:-.025em;max-width:19em}
.story-dek{font-size:20px;margin:16px 0 18px;line-height:1.45;max-width:40em}
.byline{font-size:14px;color:#b9cdd4;margin:0}
.byline time{font-size:14px;color:inherit}
.story-body{max-width:760px;padding:34px 48px 44px}
.why{background:var(--foam);border-radius:14px;padding:16px 20px 18px;margin-bottom:28px}
.why h2{font-family:var(--body);font-size:13.5px;font-weight:700;color:var(--teal-ink);letter-spacing:0}
.why p{margin:4px 0 0;font-size:17.5px}
.prose h2{font-size:27px;margin:36px 0 8px}
.prose h3{font-size:21px;margin:26px 0 6px}
.prose p,.prose li{font-size:18.5px;line-height:1.65}
.prose a{color:var(--teal-ink);text-underline-offset:3px}
.prose ul{padding-left:22px}
.prose blockquote{margin:26px 0;padding:4px 0 4px 22px;border-left:4px solid var(--aqua);font-family:var(--head);font-size:23px;font-weight:600;line-height:1.3;color:var(--navy)}
.prose blockquote p{font-size:inherit;line-height:inherit;margin:0}
.sources{margin-top:38px;border-top:1px solid var(--rule);padding-top:18px}
.sources h2{font-size:19px}
.sources ul{padding-left:20px;font-size:16px}
.sources a{color:var(--teal-ink)}
.share{font-size:14.5px;color:var(--muted);margin-top:20px;display:flex;gap:10px;align-items:center}
.share a{color:var(--navy);font-weight:700;text-decoration:none;background:var(--foam);padding:6px 14px;border-radius:999px}
.share a:hover{background:#dcefee}

/* Section and plain pages */
.page-head{padding:6px 0 22px}
.page-head h1{font-size:clamp(31px,4.3vw,46px);font-weight:800;letter-spacing:-.025em}
.page-head .dek{max-width:68ch;margin-bottom:0}
.topic-head{display:flex;align-items:center;gap:26px;border-radius:24px;padding:34px 40px;margin-bottom:26px;color:#fff;background:linear-gradient(120deg,var(--a),var(--b))}
.topic-head h1{color:#fff}
.topic-head .dek{color:rgba(255,255,255,.9);font-size:17.5px}
.head-ico{width:74px;height:74px;flex:none;stroke-width:1.1}
.narrow .prose{background:var(--paper);border-radius:24px;padding:14px 38px 34px;box-shadow:0 1px 0 var(--rule)}

/* Forms */
.form{display:flex;flex-direction:column;gap:16px;margin-top:20px}
.form label{display:flex;flex-direction:column;gap:6px;font-weight:600;font-size:15px;color:var(--navy)}
.form button{align-self:flex-start}

/* Footer */
.site-footer{background:var(--deep);color:#b4c8cf;font-size:15px}
.footer-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:40px;padding-top:48px;padding-bottom:30px}
.footer-logo{width:220px;margin-bottom:16px}
.site-footer p{line-height:1.5;max-width:40ch}
.site-footer h2{font-family:var(--body);color:#fff;font-size:15px;font-weight:700;letter-spacing:0;margin-bottom:10px}
.site-footer ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:7px}
.site-footer a{color:#e2eef0;text-decoration:none}.site-footer a:hover{color:var(--aqua)}
.footer-base{border-top:1px solid #153a52;padding-top:16px;padding-bottom:26px;font-size:13.5px}
.footer-base p{max-width:none}

/* Responsive */
@media (max-width:1020px){
  .hero-row{grid-template-columns:1fr}
  .grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .signup{grid-template-columns:1fr}
  .signup-row{grid-column:1;grid-row:auto;margin-top:12px}
}
@media (max-width:680px){
  body{font-size:17px}
  .wrap{padding:0 16px}
  .brand-row{padding-top:10px;padding-bottom:8px}
  .brand img{width:min(210px,54vw)}
  .brand-side a:not(.btn){display:none}
  main.wrap{padding-top:16px;padding-bottom:56px}
  .hero{padding:28px 22px 30px;border-radius:20px;background-size:260px auto,auto;background-position:right -50px bottom -70px,0 0}
  .hero .dek{font-size:17.5px}
  .hero-side{padding:22px 20px 6px;border-radius:20px}
  .section-h{font-size:24px;margin:40px 0 16px}
  .grid{grid-template-columns:1fr;gap:16px}
  .thumb{height:84px}
  .thumb-ico{width:50px;height:50px}
  .log{padding:4px 18px}
  .log li{grid-template-columns:1fr;gap:2px}
  .signup{padding:26px 22px;border-radius:20px;margin-top:40px}
  .signup-label{font-size:26px}
  .signup-row{flex-direction:column}
  .tip-band{flex-direction:column;align-items:flex-start;padding:24px 22px;border-radius:20px}
  .story{border-radius:20px;margin:0 -4px}
  .story-head{padding:28px 22px 24px}
  .story-dek{font-size:18px}
  .story-body{padding:24px 22px 32px}
  .prose p,.prose li{font-size:17.5px}
  .topic-head{padding:24px 22px;gap:16px;border-radius:20px}
  .head-ico{width:48px;height:48px}
  .narrow .prose{padding:8px 22px 26px;border-radius:20px}
  .footer-grid{grid-template-columns:1fr;gap:26px}
}
