/* ==========================================================================
   Vorax — main stylesheet
   ========================================================================== */

:root {
	--ink: #08121f;
	--navy: #0a1c33;
	--navy-2: #10294a;
	--steel: #46586b;
	--line: #dce2ea;
	--tint: #f2f5f9;
	--paper: #ffffff;
	--brass: #c9a24d;
	--brass-dark: #9c7a2c;
	--radius: 2px;
	--container: 1200px;
	--font: "Helvetica Neue", Helvetica, Arial, "Segoe UI", Roboto, sans-serif;
	--header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 110px; }

body {
	margin: 0;
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.65;
	color: var(--ink);
	background: var(--paper);
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1.1em; }

h1, h2, h3, h4 {
	margin: 0 0 .5em;
	line-height: 1.15;
	letter-spacing: -.015em;
	font-weight: 600;
	color: var(--ink);
}
h1 { font-size: clamp(2.3rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.3rem; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.container-narrow { max-width: 820px; }

.screen-reader-text {
	position: absolute !important; clip: rect(1px, 1px, 1px, 1px);
	width: 1px; height: 1px; overflow: hidden; word-wrap: normal;
}
.skip-link {
	position: absolute; left: -999px; top: 0; z-index: 200;
	background: var(--brass); color: #fff; padding: 10px 16px;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--paper); }
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line), 0 6px 20px rgba(12, 23, 34, .06); }

.topbar { background: var(--navy); color: #b8c4cf; font-size: 13px; letter-spacing: .02em; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; min-height: 36px; }
.topbar a:hover { color: #fff; }

.navbar { border-bottom: 1px solid var(--line); }
.navbar-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 32px; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
/* Gold "V" mark echoing the logo on the vessel */
.brand-mark {
	width: 30px; height: 24px; flex: none;
	background: linear-gradient(135deg, #e3c373 0%, var(--brass) 55%, #a8832f 100%);
	clip-path: polygon(0 0, 24% 0, 50% 58%, 76% 0, 100% 0, 62% 100%, 38% 100%);
}
.brand-name { font-size: 1.35rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.brand-light .brand-name { color: #fff; }
.custom-logo { max-height: 46px; width: auto; }

.primary-nav { display: flex; align-items: center; gap: 28px; }
.nav-list, .footer-list { list-style: none; margin: 0; padding: 0; }
.nav-list { display: flex; gap: 30px; }
.nav-list a {
	font-size: 15px; font-weight: 500; padding: 8px 0; position: relative; color: var(--ink);
}
.nav-list a::after {
	content: ""; position: absolute; left: 0; bottom: 2px; width: 0; height: 2px;
	background: var(--brass); transition: width .2s ease;
}
.nav-list a:hover::after,
.nav-list .current-menu-item > a::after { width: 100%; }

.nav-list li { position: relative; }
.nav-list .sub-menu {
	list-style: none; margin: 0; padding: 10px 0; position: absolute; top: 100%; left: -16px; min-width: 220px;
	background: #fff; border: 1px solid var(--line); box-shadow: 0 12px 30px rgba(12, 23, 34, .1);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s ease;
}
.nav-list li:hover > .sub-menu,
.nav-list li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.nav-list .sub-menu a { display: block; padding: 9px 20px; }
.nav-list .sub-menu a::after { display: none; }
.nav-list .sub-menu a:hover { background: var(--tint); }

.nav-toggle { display: none; background: none; border: 0; padding: 12px; cursor: pointer; }
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after {
	display: block; width: 24px; height: 2px; background: var(--ink); position: relative; transition: .2s ease;
}
.nav-toggle .bars::before, .nav-toggle .bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle .bars::before { top: -7px; }
.nav-toggle .bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { top: 0; transform: rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
	display: inline-block; padding: 15px 30px; background: var(--brass); color: var(--ink);
	font-size: 15px; font-weight: 600; letter-spacing: .03em; border: 1px solid var(--brass);
	border-radius: var(--radius); transition: background .2s ease, color .2s ease, border-color .2s ease;
	cursor: pointer; font-family: inherit;
}
.btn:hover { background: var(--brass-dark); border-color: var(--brass-dark); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-ghost:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn-small { padding: 10px 20px; font-size: 14px; }

.text-link { font-weight: 600; color: var(--navy); border-bottom: 1px solid var(--brass); padding-bottom: 2px; }
.text-link:hover { color: var(--brass-dark); }

/* ---------- Hero ---------- */
.hero {
	position: relative; color: #fff; background-color: var(--navy);
	min-height: min(82vh, 760px); display: flex; align-items: center; overflow: hidden;
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
	position: absolute; inset: 0; background-size: cover; background-position: center;
	opacity: 0; transform: scale(1.04); transition: opacity 1.4s ease, transform 8s ease-out;
}
.hero-slide.is-active { opacity: 1; transform: scale(1); }
.hero-overlay {
	position: absolute; inset: 0;
	background:
		linear-gradient(90deg, rgba(6, 18, 35, .9) 0%, rgba(6, 18, 35, .62) 48%, rgba(6, 18, 35, .12) 100%),
		linear-gradient(0deg, rgba(6, 18, 35, .55) 0%, transparent 35%);
}
.hero-dots { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); display: flex; gap: 10px; }
.hero-dot {
	width: 38px; height: 3px; padding: 0; border: 0; cursor: pointer;
	background: rgba(255, 255, 255, .35); transition: background .2s ease;
}
.hero-dot:hover { background: rgba(255, 255, 255, .7); }
.hero-dot.is-active { background: var(--brass); }
.hero-inner { position: relative; padding-top: 90px; padding-bottom: 90px; }
.hero h1 { color: #fff; max-width: 15em; margin-bottom: .45em; }
.hero-text { font-size: 1.2rem; max-width: 36em; color: #d3dce4; margin-bottom: 2em; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.eyebrow {
	font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
	color: var(--brass); margin-bottom: 1.4em; display: flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 32px; height: 2px; background: currentColor; }
.eyebrow-dark { color: var(--brass-dark); }

/* ---------- Stats ---------- */
.stats { background: var(--navy-2); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 38px 28px; border-left: 1px solid rgba(255, 255, 255, .12); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat-value { font-size: clamp(1.9rem, 3vw, 2.7rem); font-weight: 600; letter-spacing: -.01em; line-height: 1; }
.stat-label { margin-top: 10px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: #9fb0bf; }

/* ---------- Sections ---------- */
.section { padding: 110px 0; }
.section-tint { background: var(--tint); }
.section-dark { background: var(--navy); color: #d3dce4; }
.contact-section {
	background: linear-gradient(rgba(6, 18, 35, .9), rgba(6, 18, 35, .94)), var(--photo-contact) 12% 96% / 200% auto no-repeat;
	background-color: var(--navy);
}
.section-dark h2, .section-dark h3 { color: #fff; }

.lead { font-size: 1.22rem; line-height: 1.6; color: #2b3a47; }
.section-dark .lead { color: #c3cfd9; }
.muted { color: var(--steel); }
.muted-light { color: #9fb0bf; }

.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head p { color: var(--steel); font-size: 1.1rem; margin: 0; }
.section-head-row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.section-head-row h2 { margin: 0; }

.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 80px; align-items: center; }
.split-media { aspect-ratio: 9 / 10; background: var(--tint); overflow: hidden; }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-media.photo-crop-about {
	background: var(--photo-about) 88% 62% / 235% auto no-repeat;
}
.split-media.is-empty {
	background:
		linear-gradient(135deg, transparent 49.6%, var(--line) 49.6%, var(--line) 50.4%, transparent 50.4%),
		var(--tint);
}

/* ---------- Photo band ---------- */
.photo-band {
	height: clamp(220px, 30vw, 380px);
	background: var(--photo-trading) 18% 56% / 170% auto no-repeat;
	background-color: var(--navy);
}
.photo-band.photo-custom { background-size: cover; background-position: center; }
.photo-band + .services { border-top: 0; }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); background: var(--paper); }
.service { padding: 40px 32px 44px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .2s ease; }
.service:hover { background: var(--navy); }
.service:hover h3, .service:hover p { color: #fff; }
.service:hover p { color: #c3cfd9; }
.service-no { display: block; font-size: 14px; font-weight: 600; letter-spacing: .12em; color: var(--brass); margin-bottom: 44px; }
.service h3 { margin-bottom: .6em; transition: color .2s ease; }
.service p { color: var(--steel); font-size: 15.5px; margin: 0; transition: color .2s ease; }

/* ---------- Compliance ---------- */
.compliance {
	color: #d3dce4; padding: 130px 0;
	background: linear-gradient(90deg, rgba(6, 18, 35, .93) 0%, rgba(6, 18, 35, .78) 100%), var(--photo-compliance) 72% 14% / 190% auto no-repeat;
	background-color: var(--navy);
}
.compliance h2 { color: #fff; }
.compliance .lead { color: #d3dce4; }
.compliance .text-link { color: #fff; border-bottom-color: var(--brass); }
.compliance .text-link:hover { color: var(--brass); }
.compliance.photo-custom, .contact-section.photo-custom, .page-hero.photo-custom { background-size: cover, cover; background-position: center, center; }
.compliance-inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: start; }
.compliance h2 { margin: 0; }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.card { display: flex; flex-direction: column; }
.card-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--tint); margin-bottom: 22px; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-media img { transform: scale(1.04); }
.card-media.is-empty { background: linear-gradient(rgba(6, 18, 35, .25), rgba(6, 18, 35, .25)), var(--photo-card) 85% 60% / 230% auto no-repeat; background-color: var(--navy); }
.card:nth-child(3n+2) .card-media.is-empty { background-position: 0 0, 15% 55%; }
.card:nth-child(3n) .card-media.is-empty { background-position: 0 0, 75% 12%; }
.card-media.is-empty.photo-custom { background-size: cover, cover; background-position: center, center; }
.card-meta { display: flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--steel); margin-bottom: 10px; }
.card-meta-light { color: #9fb0bf; margin-bottom: 18px; }
.card-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--brass); }
.card-title { font-size: 1.3rem; margin-bottom: .5em; }
.card-title a:hover { color: var(--brass-dark); }
.card p { color: var(--steel); font-size: 15.5px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.contact-list { margin: 36px 0 0; }
.contact-list dt { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--brass); margin-top: 22px; }
.contact-list dd { margin: 4px 0 0; color: #fff; font-size: 1.05rem; }
.contact-list a:hover { color: var(--brass); }

.contact-form input[type="text"], .contact-form input[type="email"], .contact-form input[type="tel"],
.contact-form textarea, .contact-form select {
	width: 100%; padding: 14px 16px; margin-bottom: 14px; font: inherit; color: #fff;
	background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .22); border-radius: var(--radius);
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #8fa1b1; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--brass); }
.contact-form input[type="submit"], .contact-form button[type="submit"] {
	background: var(--brass); color: var(--ink); border: 0; padding: 15px 34px; font: inherit; font-weight: 600; cursor: pointer; border-radius: var(--radius);
}
.contact-form label { font-size: 14px; color: #c3cfd9; }

/* ---------- Inner pages ---------- */
.page-hero {
	color: #fff; padding: 100px 0 80px; position: relative;
	background:
		linear-gradient(90deg, rgba(6, 18, 35, .94) 0%, rgba(6, 18, 35, .8) 100%),
		var(--photo-page) 55% 38% / 160% auto no-repeat,
		var(--navy);
}
.page-hero h1 { color: #fff; margin: 0; font-size: clamp(2rem, 4vw, 3.2rem); max-width: 20em; }
.page-hero .eyebrow { margin-bottom: 1em; }

.entry { font-size: 1.08rem; }
.entry h2, .entry h3 { margin-top: 1.8em; }
.entry a { color: var(--brass-dark); border-bottom: 1px solid currentColor; }
.entry ul, .entry ol { padding-left: 1.3em; margin-bottom: 1.2em; }
.entry li { margin-bottom: .4em; }
.entry blockquote { margin: 2em 0; padding: 4px 0 4px 26px; border-left: 3px solid var(--brass); font-size: 1.25rem; color: #2b3a47; }
.entry table { width: 100%; border-collapse: collapse; margin: 1.8em 0; font-size: .97rem; }
.entry th, .entry td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.entry th { background: var(--tint); font-weight: 600; }
.entry-image { margin: 0 0 40px; }
.entry-nav { display: flex; justify-content: space-between; gap: 20px; margin-top: 60px; padding-top: 26px; border-top: 1px solid var(--line); font-weight: 600; }
.entry-nav a:hover { color: var(--brass-dark); }

.pagination { margin-top: 60px; }
.pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.pagination .page-numbers { padding: 9px 16px; border: 1px solid var(--line); font-size: 15px; }
.pagination .current, .pagination a.page-numbers:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

.comments { margin-top: 70px; }
.comment-list { list-style: none; padding: 0; }
.comment-list li { padding: 20px 0; border-bottom: 1px solid var(--line); }
.comment-list .children { list-style: none; padding-left: 28px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea,
.search-field { width: 100%; padding: 12px 14px; border: 1px solid var(--line); font: inherit; border-radius: var(--radius); }
.comment-form .submit, .search-submit {
	background: var(--brass); color: #fff; border: 0; padding: 13px 28px; font: inherit; font-weight: 600; cursor: pointer; border-radius: var(--radius);
}

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #9fb0bf; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 56px; padding-top: 84px; padding-bottom: 64px; }
.footer-brand p { margin-top: 18px; max-width: 26em; }
.footer-title { color: #fff; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 20px; font-weight: 600; }
.footer-list li { margin-bottom: 10px; }
.footer-list a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 22px; }
.disclaimer { max-width: 46em; }

/* WordPress core alignment helpers */
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { display: block; margin: 0 auto 1em; }
.wp-caption-text, figcaption { font-size: 14px; color: var(--steel); margin-top: 8px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.services { grid-template-columns: repeat(2, 1fr); }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.split, .compliance-inner, .contact-grid { gap: 48px; }
}

@media (max-width: 860px) {
	.section { padding: 76px 0; }
	.nav-toggle { display: block; }
	.primary-nav {
		position: fixed; top: calc(var(--header-h) + 36px); left: 0; right: 0; bottom: 0;
		background: #fff; flex-direction: column; align-items: stretch; justify-content: flex-start;
		padding: 24px 28px 40px; gap: 24px; overflow-y: auto;
		transform: translateX(100%); visibility: hidden; transition: transform .25s ease, visibility .25s;
	}
	.primary-nav.is-open { transform: none; visibility: visible; }
	.nav-list { flex-direction: column; gap: 0; }
	.nav-list a { display: block; padding: 16px 0; font-size: 1.15rem; border-bottom: 1px solid var(--line); }
	.nav-list a::after { display: none; }
	.nav-list .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; border: 0; box-shadow: none; padding: 0 0 0 16px; }
	.nav-cta { text-align: center; }
	body.nav-open { overflow: hidden; }

	.split, .compliance-inner, .contact-grid { grid-template-columns: 1fr; }
	.split-media { aspect-ratio: 16 / 11; order: -1; }
	.stats-grid { grid-template-columns: repeat(2, 1fr); }
	.stat { border-left: 0; padding-left: 0; border-top: 1px solid rgba(255, 255, 255, .12); }
	.stat:nth-child(-n+2) { border-top: 0; }
	.cards { grid-template-columns: 1fr; gap: 44px; }
	.section-head-row { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
	body { font-size: 16px; }
	.container { padding: 0 20px; }
	.topbar-inner span:first-child { display: none; }
	.topbar-inner { justify-content: flex-end; }
	.services { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr; gap: 40px; }
	.hero-inner { padding-top: 64px; padding-bottom: 64px; }
}

@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; scroll-behavior: auto !important; }
}
