/* =========================================================================
   Mutiara Haluan Samudra — main stylesheet (v1.1 — light, subtle)
   Navy is an accent, not a backdrop. White space carries the design.
   Type: Montserrat (headings) · IBM Plex Sans (body) · IBM Plex Mono (specs)
   ========================================================================= */

:root {
	--navy: #0e2a4e;
	--navy-soft: #33506f;
	--gold: #b8933f;
	--bg: #ffffff;
	--tint: #f6f8fa;
	--line: #e6ebf0;
	--ink: #24303c;
	--muted: #64748b;
	--radius: 12px;
	--font-display: "Montserrat", system-ui, sans-serif;
	--font-body: "IBM Plex Sans", system-ui, sans-serif;
	--font-mono: "IBM Plex Mono", ui-monospace, monospace;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.75;
	color: var(--ink);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.screen-reader-text {
	position: absolute; width: 1px; height: 1px;
	clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}
.skip-link {
	position: absolute; left: -9999px; top: 0;
	background: var(--navy); color: #fff;
	padding: .6rem 1rem; z-index: 100; font-weight: 600;
}
.skip-link:focus { left: 0; }

.mhs-container { max-width: 1120px; margin: 0 auto; padding: 0 1.5rem; }

/* ---------- Header ---------- */
.mhs-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(255,255,255,.94);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--line);
}
.mhs-header-inner {
	display: flex; align-items: center; justify-content: space-between;
	gap: 1rem; min-height: 64px;
}
.mhs-brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; padding: .4rem 0; }
.mhs-brand img, .mhs-brand-logo { width: 40px; height: 40px; border-radius: 9px; }
.mhs-brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.mhs-brand-name {
	font-family: var(--font-display); font-weight: 700; font-size: .92rem;
	color: var(--navy);
}
.mhs-brand-tag { font-size: .7rem; color: var(--muted); letter-spacing: .06em; }

.mhs-nav-list { list-style: none; display: flex; gap: .2rem; margin: 0; padding: 0; }
.mhs-nav-list a {
	display: block; padding: .5rem .75rem;
	color: var(--muted); text-decoration: none;
	font-weight: 500; font-size: .92rem;
	border-radius: 8px;
	transition: color .15s, background .15s;
}
.mhs-nav-list a:hover { color: var(--navy); background: var(--tint); }
.mhs-nav-toggle { display: none; }

/* ---------- Buttons ---------- */
.mhs-btn {
	display: inline-block; padding: .7rem 1.4rem;
	font-family: var(--font-display); font-weight: 600; font-size: .92rem;
	text-decoration: none; border-radius: 9px;
	transition: background .15s, color .15s, border-color .15s;
}
.mhs-btn-primary { background: var(--navy); color: #fff; }
.mhs-btn-primary:hover { background: #16406f; }
.mhs-btn-outline { border: 1.5px solid var(--line); color: var(--navy); }
.mhs-btn-outline:hover { border-color: var(--navy); }

/* ---------- Eyebrow & headings ---------- */
.mhs-eyebrow {
	font-family: var(--font-mono); font-size: .72rem;
	letter-spacing: .22em; text-transform: uppercase;
	color: var(--gold); margin: 0 0 .5rem;
}
.mhs-sec-title {
	font-family: var(--font-display); font-weight: 700;
	font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.25;
	color: var(--navy); margin: 0 0 1rem;
	letter-spacing: -0.01em;
}
.mhs-sec-title-sm { font-size: 1.3rem; }
.mhs-sec-head { max-width: 640px; margin-bottom: 2.4rem; }

/* ---------- Hero ---------- */
.mhs-hero {
	background: linear-gradient(180deg, var(--tint) 0%, var(--bg) 100%);
	border-bottom: 1px solid var(--line);
}
.mhs-hero-grid {
	display: grid; grid-template-columns: 1.05fr .95fr;
	gap: 3.5rem; align-items: center;
	padding-top: 4.5rem; padding-bottom: 4.5rem;
}
.mhs-hero-title {
	font-family: var(--font-display); font-weight: 700;
	font-size: clamp(1.9rem, 4vw, 2.8rem); line-height: 1.18;
	letter-spacing: -0.015em;
	color: var(--navy); margin: 0 0 1.1rem;
}
.mhs-hero-lead { font-size: 1.12rem; color: var(--muted); margin: 0 0 1.8rem; }
.mhs-hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 2rem; }
.mhs-hero-pills { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; }
.mhs-hero-pills li {
	font-size: .8rem; font-weight: 500; color: var(--navy-soft);
	background: #fff; border: 1px solid var(--line);
	padding: .32rem .8rem; border-radius: 999px;
}
.mhs-hero-media { margin: 0; }
.mhs-hero-media img {
	border-radius: var(--radius);
	box-shadow: 0 10px 30px rgba(14,42,78,.10);
}

/* ---------- Sections ---------- */
.mhs-section { padding: 4.5rem 0; }
.mhs-section-tint { background: var(--tint); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.mhs-section-tint + .mhs-section-tint { border-top: none; }

/* ---------- About split ---------- */
.mhs-split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3rem; align-items: center; }
.mhs-split-media { margin: 0; }
.mhs-split-media img { border-radius: var(--radius); }
.mhs-split-text p { margin: 0 0 1rem; }
.mhs-split-text p:last-child { margin-bottom: 0; }

/* ---------- Vision / Mission ---------- */
.mhs-vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.mhs-vm-card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 2rem 2.2rem;
}
.mhs-vm-quote {
	font-size: 1.08rem; line-height: 1.7; color: var(--ink);
	margin: 0;
}

/* ---------- Service cards ---------- */
.mhs-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.mhs-card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 1.5rem 1.6rem;
}
.mhs-card h3 {
	font-family: var(--font-display); font-weight: 600; font-size: 1rem;
	color: var(--navy); margin: 0 0 .55rem;
}
.mhs-card h3::before {
	content: ""; display: block;
	width: 26px; height: 2px; background: var(--gold);
	margin-bottom: .8rem; border-radius: 2px;
}
.mhs-card p { margin: 0; font-size: .95rem; color: var(--muted); }

/* ---------- Duo ---------- */
.mhs-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.mhs-duo-card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 2rem 2.2rem;
}
.mhs-duo-card p:last-child { margin: 0; color: var(--muted); }

/* ---------- Gallery ---------- */
.mhs-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.mhs-gallery-item { margin: 0; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); }
.mhs-gallery-item img { width: 100%; height: 250px; object-fit: cover; }

/* ---------- Fleet ---------- */
.mhs-fleet { display: grid; gap: 2rem; }
.mhs-vessel {
	display: grid; grid-template-columns: 1fr 1fr; gap: 0;
	background: #fff; border: 1px solid var(--line);
	border-radius: var(--radius); overflow: hidden;
}
.mhs-vessel-photo { margin: 0; }
.mhs-vessel-photo img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; }
.mhs-vessel-info { padding: 1.8rem 2rem; }
.mhs-vessel-info h3 {
	font-family: var(--font-display); font-weight: 700; font-size: 1.12rem;
	color: var(--navy); margin: 0 0 1.1rem;
}
.mhs-specs { margin: 0; font-family: var(--font-mono); font-size: .8rem; }
.mhs-specs > div {
	display: flex; align-items: baseline; gap: 1rem;
	padding: .3rem 0;
	border-bottom: 1px solid var(--line);
}
.mhs-specs > div:last-child { border-bottom: none; }
.mhs-specs dt { color: var(--muted); }
.mhs-specs dd { margin: 0 0 0 auto; text-align: right; color: var(--ink); }

/* ---------- Legality ---------- */
.mhs-legal { list-style: none; margin: 0; padding: 0; }
.mhs-legal li {
	display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline;
	gap: .25rem 1.5rem;
	padding: .95rem 1.25rem;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 10px;
	margin-bottom: .6rem;
}
.mhs-legal li:last-child { margin-bottom: 0; }
.mhs-legal-doc { font-weight: 500; color: var(--ink); }
.mhs-legal-no { font-family: var(--font-mono); font-size: .78rem; color: var(--muted); }

/* ---------- Organization ---------- */
.mhs-org { display: flex; flex-direction: column; align-items: center; }
.mhs-org-row {
	display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem;
	position: relative; padding: 1rem 0;
}
.mhs-org-row:not(:first-child)::before {
	content: ""; position: absolute; top: 0; left: 50%;
	width: 1px; height: 1rem; background: var(--line);
	transform: translateX(-50%);
}
.mhs-org-node {
	font-size: .84rem; font-weight: 500;
	padding: .5rem 1.2rem;
	border: 1px solid var(--line); border-radius: 8px;
	color: var(--ink); background: #fff;
}
.mhs-org-top { background: var(--navy); color: #fff; border-color: var(--navy); }
.mhs-org-leaf { color: var(--muted); font-size: .78rem; }

/* ---------- Contact ---------- */
.mhs-contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.mhs-contact-card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 1.5rem 1.7rem;
}
.mhs-contact-card h3 {
	font-family: var(--font-mono); font-size: .72rem; font-weight: 500;
	text-transform: uppercase; letter-spacing: .2em;
	color: var(--gold); margin: 0 0 .6rem;
}
.mhs-contact-card p { margin: 0; font-size: .95rem; }
.mhs-contact-card a { text-decoration: none; }
.mhs-contact-card a:hover { text-decoration: underline; }
.mhs-contact-cta { margin: 2rem 0 0; }

/* ---------- Footer ---------- */
.mhs-footer { border-top: 1px solid var(--line); background: var(--bg); }
.mhs-footer-grid {
	display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 2.5rem;
	padding: 3rem 1.5rem;
}
.mhs-footer-brand img { width: 52px; height: 52px; border-radius: 11px; margin-bottom: .8rem; }
.mhs-footer-name { font-family: var(--font-display); font-weight: 700; color: var(--navy); margin: 0 0 .3rem; }
.mhs-footer-desc { font-size: .82rem; color: var(--muted); margin: 0; }
.mhs-footer-col h3 {
	font-family: var(--font-mono); font-size: .7rem; font-weight: 500;
	text-transform: uppercase; letter-spacing: .2em; color: var(--gold); margin: 0 0 .7rem;
}
.mhs-footer-col p { margin: 0; font-size: .92rem; color: var(--muted); }
.mhs-footer-col a { color: var(--ink); text-decoration: none; }
.mhs-footer-col a:hover { color: var(--navy); text-decoration: underline; }
.mhs-footer-bar { border-top: 1px solid var(--line); }
.mhs-footer-bar p { margin: 0; padding: 1rem 0; font-size: .8rem; color: var(--muted); text-align: center; }

/* ---------- WhatsApp float ---------- */
.mhs-wa-float {
	position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 60;
	display: grid; place-items: center;
	width: 52px; height: 52px; border-radius: 50%;
	background: #25d366; color: #fff;
	box-shadow: 0 6px 18px rgba(0,0,0,.18);
	transition: transform .15s;
}
.mhs-wa-float:hover { transform: scale(1.06); }

/* ---------- Blog / inner pages ---------- */
.mhs-page { padding: 3.5rem 0; }
.mhs-page-title {
	font-family: var(--font-display); font-weight: 700;
	color: var(--navy); font-size: clamp(1.5rem, 3vw, 2rem); margin: 0 0 1.5rem;
}
.mhs-entry { max-width: 760px; }
.mhs-entry h2, .mhs-entry h3 { font-family: var(--font-display); color: var(--navy); }
.mhs-post-list article { padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.mhs-post-list h2 { margin: 0 0 .3rem; font-size: 1.2rem; }
.mhs-post-list h2 a { text-decoration: none; color: var(--navy); }
.mhs-post-list h2 a:hover { color: var(--gold); }
.mhs-post-meta { font-family: var(--font-mono); font-size: .75rem; color: var(--muted); }

/* ---------- Motion preference ---------- */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
	.mhs-hero-grid { grid-template-columns: 1fr; gap: 2rem; padding-top: 3rem; padding-bottom: 3rem; }
	.mhs-split { grid-template-columns: 1fr; gap: 1.8rem; }
	.mhs-cards { grid-template-columns: repeat(2, 1fr); }
	.mhs-vm-grid, .mhs-duo { grid-template-columns: 1fr; }
	.mhs-vessel { grid-template-columns: 1fr; }
	.mhs-vessel-photo img { min-height: 220px; max-height: 320px; }
	.mhs-contact-grid { grid-template-columns: 1fr; }
	.mhs-footer-grid { grid-template-columns: 1fr; gap: 1.6rem; }
}

@media (max-width: 720px) {
	.mhs-cards, .mhs-gallery { grid-template-columns: 1fr; }
	.mhs-gallery-item img { height: 230px; }

	.mhs-nav-toggle {
		display: grid; place-items: center;
		width: 42px; height: 42px;
		background: #fff; border: 1px solid var(--line); border-radius: 8px;
		cursor: pointer;
	}
	.mhs-nav-toggle-bar,
	.mhs-nav-toggle-bar::before,
	.mhs-nav-toggle-bar::after {
		content: ""; display: block;
		width: 18px; height: 2px; background: var(--navy);
		position: relative;
	}
	.mhs-nav-toggle-bar::before { position: absolute; top: -6px; }
	.mhs-nav-toggle-bar::after { position: absolute; top: 6px; }
	.mhs-header-inner { position: relative; }
	.mhs-nav-wrap {
		display: none;
		position: absolute; left: 0; right: 0; top: 100%;
		background: #fff; border-bottom: 1px solid var(--line);
		padding: .4rem 1.5rem 1rem;
		box-shadow: 0 12px 24px rgba(14,42,78,.08);
	}
	.mhs-nav-wrap.is-open { display: block; }
	.mhs-nav-list { flex-direction: column; gap: 0; }
	.mhs-nav-list a { padding: .75rem .2rem; border-radius: 0; border-bottom: 1px solid var(--line); }
}
