:root {
  --navy: #0B2545;
  --navy-2: #13315C;
  --amber: #F4B400;
  --gold-text: #8A6100;
  --text: #1A2230;
  --muted: #5B6676;
  --line: #DCE1E8;
  --bg: #FFFFFF;
  --tint: #F4F6F9;
  --cream: #FFF8E1;
  --font-display: 'General Sans', 'Segoe UI', sans-serif;
  --font-body: 'Satoshi', 'Segoe UI', sans-serif;
  --radius: 10px;
  --wrap: 1180px;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(4rem, 9vw, 7rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); font-size: 1rem; line-height: 1.6; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); color: var(--navy); line-height: 1.15; margin: 0; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 600; max-width: 26ch; }
h3 { font-size: 1.125rem; font-weight: 600; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.skip { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: .5rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 4px; }

.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-text); margin-bottom: .9rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .8rem 1.4rem; border-radius: 999px; font-weight: 700; font-size: .95rem; text-decoration: none; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-2); transform: translateY(-1px); }
.btn-ghost { border: 1.5px solid var(--line); color: var(--navy); }
.btn-ghost:hover { border-color: var(--navy); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand img { width: 168px; height: auto; }
.nav { display: flex; align-items: center; gap: 2rem; }
.nav a { text-decoration: none; font-size: .92rem; font-weight: 500; color: var(--text); }
.nav a:hover { color: var(--navy); }
.nav a.nav-cta { background: var(--navy); color: #fff; padding: .55rem 1.1rem; border-radius: 999px; }
.nav a.nav-cta:hover { background: var(--navy-2); color: #fff; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; height: 2px; background: var(--navy); margin: 6px 0; transition: transform .2s; }

/* Hero */
.hero { padding: clamp(2rem, 5vw, 4rem) 0 clamp(3rem, 6vw, 5rem); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 600; max-width: 16ch; }
.lede { font-size: 1.1rem; color: var(--muted); margin-top: 1.4rem; max-width: 48ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero-media { margin: 0; position: relative; }
.hero-media::before { content: ""; position: absolute; left: -14px; top: 24px; bottom: 24px; width: 4px; background: var(--amber); border-radius: 2px; }
.hero-media img { width: 100%; aspect-ratio: 5 / 5.4; max-height: 640px; object-fit: cover; object-position: 50% 62%; border-radius: var(--radius); }

/* Stats */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
.stat { padding: 1.8rem 1.25rem; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: .3rem; }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat-num { font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 600; color: var(--navy); font-variant-numeric: tabular-nums; }
.stat-label { font-size: .88rem; color: var(--muted); }

/* Sections */
.section { padding: var(--section) 0; }
.section-tint { background: var(--tint); }
.section h2 + * { margin-top: 2.5rem; }

/* About */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); }
.about-body > p { font-size: 1.08rem; max-width: 60ch; }
.vmv { margin: 2.2rem 0 0; display: grid; gap: 0; }
.vmv div { display: grid; grid-template-columns: 7rem 1fr; gap: 1rem; padding: 1.1rem 0; border-top: 1px solid var(--line); }
.vmv dt { font-weight: 700; color: var(--navy); font-size: .9rem; }
.vmv dd { margin: 0; color: var(--muted); }

/* Services */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.svc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.4rem 1.6rem; }
.svc h3 { font-size: 1.02rem; margin-bottom: .6rem; }
.svc h3::before { content: ""; display: block; width: 12px; height: 12px; background: var(--amber); border-radius: 2px; margin-bottom: 1rem; }
.svc p { font-size: .92rem; color: var(--muted); }

/* Segments */
.seg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.seg { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.seg header { background: var(--tint); padding: 1.3rem 1.5rem; display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; border-bottom: 1px solid var(--line); }
.seg-alt header { background: var(--cream); }
.seg header span { font-size: .88rem; color: var(--muted); }
.seg ul { margin: 0; padding: 1.3rem 1.5rem 1.5rem 2.6rem; display: grid; gap: .6rem; }
.seg li::marker { color: var(--gold-text); }

/* Fleet */
.fleet-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.vessel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.vessel img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.vessel-body { padding: 1.3rem 1.5rem 1.5rem; }
.vessel-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.vessel-head h3 { font-size: 1.3rem; }
.vessel-head small { font-family: var(--font-body); font-size: .85rem; font-weight: 500; color: var(--muted); margin-left: .35rem; }
.tag { font-size: .78rem; font-weight: 700; padding: .3rem .7rem; border-radius: 999px; background: var(--cream); color: var(--gold-text); white-space: nowrap; }
.tag-live { background: #E7F2EA; color: #2F6B3A; }
.vessel-type { color: var(--muted); font-size: .92rem; margin-top: .2rem; }
.vessel dl { display: grid; grid-template-columns: repeat(5, auto); gap: .5rem 1.2rem; margin: 1.1rem 0 0; padding-top: 1rem; border-top: 1px solid var(--line); }
.vessel dt { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.vessel dd { margin: 0; font-weight: 700; color: var(--navy); font-variant-numeric: tabular-nums; font-size: .95rem; }
.note { font-size: .8rem; color: var(--muted); margin-top: 1.25rem; }

/* Compliance */
.doc { background: var(--cream); border-radius: var(--radius); padding: 1rem 1.3rem; max-width: 760px; }
.doc strong { color: var(--navy); }
.codes { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 2.5rem; }
.codes li { padding: 1.2rem 0; border-top: 1px solid var(--line); display: grid; gap: .3rem; }
.codes strong { font-family: var(--font-display); color: var(--navy); font-weight: 600; }
.codes span { font-size: .92rem; color: var(--muted); }
.crew { margin-top: 3rem; display: grid; grid-template-columns: .9fr 2.1fr; gap: 2rem; padding-top: 2rem; border-top: 2px solid var(--amber); }
.crew p { color: var(--muted); max-width: 70ch; }

/* Contact */
.contact { background: var(--tint); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.contact h2 + .btn { margin-top: 2rem; }
.offices { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 2rem; }
.offices address { font-style: normal; color: var(--text); line-height: 1.7; }
.offices strong { display: block; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); margin-bottom: .5rem; }
.imo { grid-column: 1 / -1; font-size: .9rem; color: var(--muted); padding-top: 1rem; border-top: 1px solid var(--line); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 2rem 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.footer-inner img { width: 140px; height: auto; }
.footer-inner p { font-size: .85rem; color: var(--muted); }

/* Reveal */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
  .js .reveal.in { opacity: 1; transform: none; }
}

/* Responsive */
@media (max-width: 1024px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .codes { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; top: 76px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: .5rem var(--pad) 1.25rem; border-bottom: 1px solid var(--line); display: none; }
  .nav.open { display: flex; }
  .nav a { padding: .9rem 0; border-bottom: 1px solid var(--line); }
  .nav a.nav-cta { margin-top: 1rem; text-align: center; border-bottom: 0; }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .hero-grid, .about-grid, .contact-grid, .crew { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .hero-media::before { display: none; }
  .hero-media img { aspect-ratio: 16 / 11; }
  .stat, .stat:first-child { border-left: 0; padding-left: 0; }
  .stat:nth-child(even) { padding-left: 1.25rem; border-left: 1px solid var(--line); }
  .seg-grid, .fleet-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .svc-grid, .codes, .offices { grid-template-columns: 1fr; }
  .vessel dl { grid-template-columns: repeat(3, auto); }
  .vmv div { grid-template-columns: 1fr; gap: .25rem; }
  .brand img { width: 150px; }
  .btn { width: 100%; }
}
.vessel-head small { white-space: nowrap; }
@media (max-width: 560px) { .vessel-head small { display: block; margin: .15rem 0 0; } }
