/*
Theme Name: NASCO Yachts
Theme URI: https://nasco-yachts.com/
Author: CoreConcepts Design
Author URI: https://coreconcepts.design/
Description: Custom ClientLayer theme for NASCO Yachts, yacht and port agent in Egypt since 1948.
Version: 1.2.2
Requires at least: 6.0
Requires PHP: 7.4
License: Proprietary
Text Domain: nasco-yachts
*/

/* ---------- Font (self-hosted Manrope variable, 200-800) ---------- */
@font-face {
	font-family: "Manrope";
	src: url("assets/fonts/manrope-var.woff2") format("woff2-variations"), url("assets/fonts/manrope-var.woff2") format("woff2");
	font-weight: 200 800;
	font-style: normal;
	font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
	--navy-950: #04101c;
	--navy-900: #071a2b;
	--navy-800: #0b2238;
	--navy-700: #13304f;
	--blue: #2f50a6;
	--blue-2: #4a6fd1;
	--gold: #d2a63c;
	--gold-2: #e7c14a;
	--gold-ink: #7a5a12;
	--ivory: #fbf9f4;
	--sand: #f1ede3;
	--ink: #0a1828;
	--ink-soft: #46576a;
	--mute: #a9b4c0;
	--line-dark: rgba(7, 26, 43, 0.12);
	--line-light: rgba(255, 255, 255, 0.14);

	--font: "Manrope", "Helvetica Neue", Arial, system-ui, sans-serif;
	--mono: var(--font);

	--wrap: 1320px;
	--gutter: clamp(20px, 4vw, 48px);
	--section: clamp(84px, 11vw, 168px);
	--radius: 4px;
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
	--header-h: 78px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
	margin: 0;
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.6;
	color: var(--ink);
	background: var(--ivory);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.05; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
address { font-style: normal; }
button { font: inherit; color: inherit; }

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

.skip-link {
	position: fixed; top: 10px; left: 10px; z-index: 200;
	padding: 10px 16px; background: var(--gold); color: var(--navy-950);
	transform: translateY(-160%); transition: transform 0.2s;
}
.skip-link:focus { transform: none; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap.narrow { max-width: 920px; }

.mono {
	font-family: var(--mono);
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.section { position: relative; padding-block: var(--section); }
.tone-ivory { background: var(--ivory); color: var(--ink); }
.tone-navy { background: var(--navy-900); color: var(--ivory); }
.tone-deep { background: var(--navy-950); color: var(--ivory); }

.eyebrow {
	display: inline-flex; align-items: center; gap: 12px;
	margin-bottom: 22px;
	font-family: var(--mono); font-size: 11.5px; font-weight: 700;
	letter-spacing: 0.18em; text-transform: uppercase;
	color: var(--gold-ink);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.tone-navy .eyebrow, .tone-deep .eyebrow, .hero .eyebrow, .page-hero .eyebrow, .cta-band .eyebrow { color: var(--gold-2); }

.h-display {
	font-size: clamp(2rem, 4.2vw, 3.7rem);
	font-weight: 600;
	letter-spacing: -0.04em;
	line-height: 1.04;
	text-wrap: balance;
}
.h-sub {
	font-size: clamp(1.25rem, 1.8vw, 1.6rem);
	font-weight: 650;
	letter-spacing: -0.01em;
	margin-bottom: 18px;
}
.lede { font-size: clamp(1.05rem, 1.35vw, 1.22rem); line-height: 1.6; color: var(--ink-soft); max-width: 62ch; }
.lede-lg { font-size: clamp(1.2rem, 1.9vw, 1.6rem); line-height: 1.5; color: var(--ink); }
.tone-navy .lede, .tone-deep .lede { color: rgba(251, 249, 244, 0.74); }
.tone-navy p, .tone-deep p { color: rgba(251, 249, 244, 0.78); }

.section-head { margin-bottom: clamp(40px, 6vw, 80px); }
.section-head.split { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; }
.section-head.split > .lede { justify-self: end; }
.section-head.split > .btn { justify-self: end; }
.center-cta { display: flex; justify-content: center; margin-top: clamp(40px, 5vw, 64px); }

/* ---------- Buttons ---------- */
.btn {
	position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
	min-height: 52px; padding: 0 26px;
	font-size: 15px; font-weight: 600; letter-spacing: 0.01em;
	border: 1px solid transparent; border-radius: var(--radius);
	cursor: pointer; overflow: hidden; isolation: isolate;
	transition: color 0.35s var(--ease), border-color 0.35s var(--ease), background-color 0.35s var(--ease);
}
.btn::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	transform: scaleX(0); transform-origin: right; transition: transform 0.5s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: scaleX(1); transform-origin: left; }
.btn .i-arrow { transition: transform 0.35s var(--ease); }
.btn:hover .i-arrow { transform: translateX(4px); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 14px; }
.btn-block { width: 100%; }

.btn-gold { background: var(--gold); color: var(--navy-950); }
.btn-gold::before { background: var(--gold-2); }
.btn-line { border-color: rgba(255, 255, 255, 0.36); color: #fff; }
.btn-line::before { background: #fff; }
.btn-line:hover { color: var(--navy-950); }
.tone-ivory .btn-line { border-color: var(--line-dark); color: var(--ink); }
.btn-dark { background: var(--navy-900); color: var(--ivory); }
.btn-dark::before { background: var(--blue); }

.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.text-link .i-arrow { width: 14px; height: 14px; transition: transform 0.3s var(--ease); }
.text-link:hover .i-arrow { transform: translateX(4px); }

/* ---------- Progressive blur (stacked masked backdrop filters) ---------- */
.pb, .header-blur { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.pb i, .header-blur i { position: absolute; inset: 0; }
.pb i:nth-child(1) { backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); mask: linear-gradient(to bottom, transparent 0%, #000 30%); -webkit-mask: linear-gradient(to bottom, transparent 0%, #000 30%); }
.pb i:nth-child(2) { backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); mask: linear-gradient(to bottom, transparent 25%, #000 60%); -webkit-mask: linear-gradient(to bottom, transparent 25%, #000 60%); }
.pb i:nth-child(3) { backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); mask: linear-gradient(to bottom, transparent 55%, #000 100%); -webkit-mask: linear-gradient(to bottom, transparent 55%, #000 100%); }

/* ---------- Header ---------- */
.site-header {
	position: fixed; inset: 0 0 auto; z-index: 100;
	height: var(--header-h);
	color: #fff;
	transition: transform 0.5s var(--ease);
}
.site-header::after {
	content: ""; position: absolute; inset: 0; z-index: 0;
	background: linear-gradient(to bottom, rgba(4, 16, 28, 0.72), rgba(4, 16, 28, 0));
	transition: opacity 0.4s;
}
.header-blur { opacity: 0; transition: opacity 0.4s; height: calc(100% + 26px); }
.header-blur i:nth-child(1) { backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); mask: linear-gradient(to top, transparent 25%, #000 60%); -webkit-mask: linear-gradient(to top, transparent 25%, #000 60%); }
.header-blur i:nth-child(2) { backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); mask: linear-gradient(to top, transparent 0%, #000 40%); -webkit-mask: linear-gradient(to top, transparent 0%, #000 40%); }
.header-blur i:nth-child(3) { background: linear-gradient(to bottom, rgba(7, 26, 43, 0.92), rgba(7, 26, 43, 0.55) 70%, rgba(7, 26, 43, 0)); }
.site-header.is-scrolled .header-blur { opacity: 1; }
.site-header.is-scrolled::after { opacity: 0; }
.site-header.is-hidden { transform: translateY(-100%); }

.header-inner {
	position: relative; z-index: 2;
	display: flex; align-items: center; gap: 28px;
	height: 100%; max-width: 1480px; margin-inline: auto; padding-inline: var(--gutter);
}
.brand { flex: none; display: block; }
.brand-logo { width: 150px; height: auto; }

.nav { flex: 1; display: flex; align-items: center; justify-content: center; }
.nav-list { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
.nav-list > li { position: relative; display: flex; align-items: center; gap: 4px; }
.nav-list a { font-size: 15px; font-weight: 500; padding: 8px 0; position: relative; }
.nav-list > li > a::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--gold-2);
	transform: scaleX(0); transform-origin: right; transition: transform 0.4s var(--ease);
}
.nav-list > li > a:hover::after, .nav-list > li > a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.menu-toggle { background: none; border: 0; padding: 6px; cursor: pointer; opacity: 0.8; }
.menu-toggle svg { transition: transform 0.3s; }
.has-menu.is-open .menu-toggle svg { transform: rotate(180deg); }
.submenu {
	position: absolute; top: calc(100% + 10px); left: -18px; min-width: 260px;
	padding: 10px; background: var(--navy-900); border: 1px solid var(--line-light); border-radius: var(--radius);
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
	opacity: 0; visibility: hidden; transform: translateY(8px);
	transition: opacity 0.3s, transform 0.3s var(--ease), visibility 0.3s;
}
.submenu::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.has-menu:hover .submenu, .has-menu:focus-within .submenu, .has-menu.is-open .submenu { opacity: 1; visibility: visible; transform: none; }
.submenu a { display: flex; gap: 14px; align-items: baseline; padding: 9px 12px; border-radius: 3px; font-size: 15px; }
.submenu a .mono { color: var(--gold-2); font-size: 11px; }
.submenu a:hover { background: rgba(255, 255, 255, 0.06); }
.nav-contact-mobile, .nav-emergency { display: none; }

.header-actions { display: flex; align-items: center; gap: 18px; flex: none; }
.header-line { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; }
.header-line .mono { color: var(--gold-2); }
.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; flex: none; }
.pulse::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid #3ddc84; animation: pulse 2s infinite; }
@keyframes pulse { from { transform: scale(0.6); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }

.burger { display: none; width: 44px; height: 44px; background: none; border: 1px solid var(--line-light); border-radius: var(--radius); cursor: pointer; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: currentColor; transition: transform 0.35s var(--ease), top 0.35s var(--ease); }
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 25px; }
.nav-open .burger span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-open .burger span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero (home) ---------- */
.hero {
	position: relative; min-height: 100svh; min-height: max(100svh, 720px);
	display: flex; flex-direction: column; justify-content: flex-end;
	color: #fff; background: var(--navy-950); overflow: hidden; isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.hero-shade {
	position: absolute; inset: 0; z-index: -1;
	background:
		radial-gradient(120% 90% at 20% 100%, rgba(3, 12, 22, 0.85) 0%, rgba(3, 12, 22, 0) 60%),
		linear-gradient(0deg, rgba(3, 12, 22, 0.75) 0%, rgba(3, 12, 22, 0) 45%),
		linear-gradient(180deg, rgba(3, 12, 22, 0.45) 0%, rgba(3, 12, 22, 0) 20%);
}
.hero-inner {
	display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 32px clamp(40px, 6vw, 110px); align-items: end;
	padding-top: calc(var(--header-h) + 60px); padding-bottom: clamp(44px, 6vw, 80px);
}
.hero-kicker { display: flex; align-items: center; gap: 14px; margin: 0 0 26px; font-size: 12px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255, 255, 255, 0.72); }
.hero-kicker::before { content: ""; width: 34px; height: 1px; background: var(--gold-2); }
.hero-title {
	margin: 0; max-width: 12ch;
	font-size: clamp(2.9rem, 6.4vw, 6.6rem); font-weight: 500;
	letter-spacing: -0.045em; line-height: 1; text-wrap: balance;
}
.hero-title em { font-style: normal; color: var(--gold-2); }
.hero-title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hero-title .w > span { display: inline-block; }
.hero-side { padding-bottom: 8px; }
.hero-lede { font-size: clamp(1.02rem, 1.25vw, 1.15rem); line-height: 1.65; max-width: 40ch; color: rgba(255, 255, 255, 0.78); margin: 0 0 30px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; }
.hero-link { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: #fff; padding: 6px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.4); transition: border-color 0.3s, gap 0.4s var(--ease); }
.hero-link:hover { border-color: var(--gold-2); gap: 14px; }
.hero-link .i-arrow { width: 15px; height: 15px; }
.hero-bar { position: relative; z-index: 1; border-top: 1px solid rgba(255, 255, 255, 0.16); }
.hero-bar-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 44px; padding-block: 20px 24px; font-size: 13.5px; color: rgba(255, 255, 255, 0.66); }
.hero-bar-inner b { color: #fff; font-weight: 700; margin-right: 8px; }
.hero-bar-inner .hero-live { display: inline-flex; align-items: center; gap: 10px; margin-left: auto; color: #fff; font-weight: 600; }
.hero-bar-inner .hero-live:hover { color: var(--gold-2); }
.hero-scroll { display: inline-flex; align-items: center; gap: 10px; color: rgba(255, 255, 255, 0.6); font-size: 11.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; }
.hero-scroll i { width: 1px; height: 26px; background: rgba(255, 255, 255, 0.25); position: relative; overflow: hidden; }
.hero-scroll i::after { content: ""; position: absolute; left: 0; right: 0; top: -40%; height: 40%; background: var(--gold-2); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { to { top: 100%; } }

/* ---------- Disciplines ---------- */
.disc-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 120px); }
.disc-head { position: sticky; top: calc(var(--header-h) + 40px); align-self: start; }
.disc-figure { margin-top: 44px; aspect-ratio: 4 / 5; max-width: 420px; overflow: hidden; border-radius: var(--radius); }
.disc-figure img { width: 100%; height: 118%; object-fit: cover; }
.disc-list li { display: grid; grid-template-columns: 64px 1fr; gap: 4px 20px; padding: 38px 0; border-top: 1px solid var(--line-dark); }
.disc-list li:last-child { border-bottom: 1px solid var(--line-dark); }
.disc-n { grid-row: span 2; color: var(--gold-ink); padding-top: 8px; }
.disc-list h3 { font-size: clamp(1.4rem, 2.2vw, 2rem); letter-spacing: -0.015em; margin-bottom: 12px; }
.disc-list p { color: var(--ink-soft); max-width: 56ch; }

/* ---------- Tick lists ---------- */
.ticks li { position: relative; padding: 10px 0 10px 24px; border-bottom: 1px solid var(--line-light); font-size: 15.5px; line-height: 1.45; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 1.05em; width: 8px; height: 8px; border: 1.5px solid var(--gold-2); transform: rotate(45deg); }
.ticks-dark li { border-color: var(--line-dark); }
.ticks-dark li::before { border-color: var(--gold); }
.cols-2 { columns: 2; column-gap: 40px; }
.cols-2 li { break-inside: avoid; }

/* ---------- Service cards (home) ---------- */
.svc-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.svc-card {
	position: relative; display: flex; flex-direction: column;
	background: var(--navy-800); border: 1px solid var(--line-light); border-radius: var(--radius);
	overflow: hidden; outline-offset: 4px;
	transition: transform 0.5s var(--ease), border-color 0.4s, box-shadow 0.5s var(--ease);
}
.svc-card figure { aspect-ratio: 16 / 10; overflow: hidden; }
.svc-card figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.svc-body { padding: 26px 26px 30px; }
.svc-body > .mono { color: var(--gold-2); }
.svc-body h3 { font-size: 1.5rem; letter-spacing: -0.01em; margin: 10px 0 16px; }
.svc-card .ticks { color: rgba(251, 249, 244, 0.86); }
@media (hover: hover) {
	.svc-card .ticks { max-height: 9.6em; overflow: hidden; -webkit-mask: linear-gradient(#000 55%, transparent); mask: linear-gradient(#000 55%, transparent); transition: max-height 0.7s var(--ease); }
	.svc-card:hover .ticks, .svc-card:focus-within .ticks, .svc-card:focus .ticks { max-height: 32em; -webkit-mask: none; mask: none; }
	.svc-card:hover, .svc-card:focus { transform: translateY(-6px); border-color: rgba(231, 193, 74, 0.5); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35); }
	.svc-card:hover figure img { transform: scale(1.06); }
}

/* ---------- Suez route ---------- */
.suez-home, .suez-story { overflow: hidden; }
.suez-bg { position: absolute; inset: 0; opacity: 0.22; }
.suez-bg img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.6); }
.suez-home::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy-950) 25%, rgba(4, 16, 28, 0.6)); z-index: 0; }
.suez-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 100px); align-items: center; }
.suez-copy .h-display { margin-bottom: 24px; }
.suez-copy .lede { margin-bottom: 34px; }
.suez-story .suez-copy .h-sub { margin-top: 36px; }

.route { position: relative; width: 100%; max-width: 480px; justify-self: center; }
.route-svg { width: 62%; height: auto; overflow: visible; }
.route-grid path { stroke: rgba(255, 255, 255, 0.06); stroke-width: 1; fill: none; }
.route-base { fill: none; stroke: rgba(255, 255, 255, 0.12); stroke-width: 14; stroke-linecap: round; }
.route-line { fill: none; stroke-width: 3; stroke-linecap: round; }
.route-lake { fill: rgba(74, 111, 209, 0.18); stroke: rgba(74, 111, 209, 0.5); }
.route-stops circle { fill: var(--navy-950); stroke: var(--gold-2); stroke-width: 2; }
.route-vessel { fill: var(--gold-2); filter: drop-shadow(0 0 10px rgba(231, 193, 74, 0.8)); }
.route-labels { position: absolute; inset: 0; }
.route-labels li { position: absolute; left: 52%; top: var(--y); transform: translateY(-50%); display: flex; align-items: center; gap: 10px; color: rgba(255, 255, 255, 0.7); font-size: 11px; white-space: nowrap; }
.route-labels li::before { content: ""; width: 22px; height: 1px; background: rgba(255, 255, 255, 0.3); }
.route-labels b { color: var(--gold-2); font-weight: 500; }

/* ---------- Marina cards ---------- */
.marina-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.marina-card a { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); color: #fff; background: var(--navy-900); isolation: isolate; }
.marina-card figure, .marina-card figure img { position: absolute; inset: 0; width: 100%; height: 100%; }
.marina-card figure img { object-fit: cover; transition: transform 1s var(--ease); }
.marina-card .pb { inset: 52% 0 0; z-index: 1; }
.marina-card .pb i:nth-child(1) { backdrop-filter: blur(1px); -webkit-backdrop-filter: blur(1px); }
.marina-card .pb i:nth-child(2) { backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.marina-card .pb i:nth-child(3) { backdrop-filter: blur(7px); -webkit-backdrop-filter: blur(7px); }
.marina-card .pb i:nth-child(3) { background: linear-gradient(to bottom, transparent 0%, rgba(4, 16, 28, 0.78)); }
.marina-card-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 24px; display: grid; gap: 6px; }
.marina-card-n { color: var(--gold-2); }
.marina-card-name { font-size: clamp(1.5rem, 2.2vw, 2rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1; }
.marina-card-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; color: rgba(255, 255, 255, 0.78); font-size: 11px; }
.marina-card-go {
	position: absolute; top: 20px; right: 20px; z-index: 2; width: 46px; height: 46px;
	display: grid; place-items: center; border-radius: 50%;
	background: var(--gold); color: var(--navy-950);
	transform: scale(0.6) rotate(-45deg); opacity: 0; transition: transform 0.5s var(--ease), opacity 0.4s;
}
@media (hover: hover) {
	.marina-card .coords { opacity: 0; transform: translateY(6px); transition: opacity 0.4s, transform 0.5s var(--ease); }
	.marina-card a:hover .coords, .marina-card a:focus-visible .coords { opacity: 1; transform: none; }
	.marina-card a:hover figure img, .marina-card a:focus-visible figure img { transform: scale(1.07); }
	.marina-card a:hover .marina-card-go, .marina-card a:focus-visible .marina-card-go { transform: none; opacity: 1; }
}
@media (hover: none) { .marina-card-go { opacity: 1; transform: scale(0.8); } }

/* ---------- Why ---------- */
.why { overflow: hidden; }
.why-topo, .footer-topo { position: absolute; inset: 0; background: url("assets/img/topo-1200.webp") center / 1200px auto repeat; opacity: 0.06; pointer-events: none; }
.why-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.why-head { position: relative; }
.why .why-year {
	position: absolute; top: -0.78em; left: -0.04em; z-index: 0; margin: 0;
	font-size: clamp(7rem, 20vw, 17rem); font-weight: 800; letter-spacing: -0.05em; line-height: 1;
	color: transparent; -webkit-text-stroke: 1px rgba(231, 193, 74, 0.28); pointer-events: none; user-select: none;
}
.why-head > *:not(.why-year) { position: relative; }
.why-head .h-display { margin-bottom: 22px; }
.why-list { padding-top: 12px; }
.why-list li { display: grid; grid-template-columns: 50px 1fr; gap: 14px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--line-light); font-size: clamp(1.05rem, 1.5vw, 1.3rem); font-weight: 500; }
.why-list li .mono { color: var(--gold-2); }

/* ---------- Offshore (home) ---------- */
.off-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.off-figure { aspect-ratio: 16 / 11; overflow: hidden; border-radius: var(--radius); }
.off-figure img { width: 100%; height: 100%; object-fit: cover; }
.off-copy .h-display { margin-bottom: 24px; }
.off-copy p { color: var(--ink-soft); margin-bottom: 32px; }
.off-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px 80px; align-items: end; }
.off-band p { margin-bottom: 28px; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; background: var(--navy-800); color: var(--ivory); padding-block: clamp(72px, 9vw, 130px); border-top: 1px solid var(--line-light); }
.cta-inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px clamp(40px, 6vw, 96px); align-items: center; }
.cta-copy .h-display { margin-bottom: 20px; }
.cta-copy .lede { color: rgba(251, 249, 244, 0.72); }
.cta-actions { display: grid; gap: 12px; }
.cta-tile {
	position: relative; display: grid; gap: 6px; padding: 22px 24px; border: 1px solid var(--line-light); border-radius: var(--radius);
	transition: background-color 0.35s, border-color 0.35s, transform 0.4s var(--ease);
}
.cta-tile .mono { color: var(--mute); }
.cta-tile strong { font-size: clamp(1.15rem, 1.7vw, 1.45rem); font-weight: 650; overflow-wrap: anywhere; }
.cta-tile:hover { background: rgba(255, 255, 255, 0.04); border-color: rgba(231, 193, 74, 0.5); transform: translateX(4px); }
.cta-tile-gold { background: var(--gold); color: var(--navy-950); border-color: var(--gold); }
.cta-tile-gold .mono { color: rgba(4, 16, 28, 0.65); }
.cta-tile-gold:hover { background: var(--gold-2); border-color: var(--gold-2); }
.cta-tile-gold .i-arrow { position: absolute; right: 24px; top: 50%; transform: translateY(-50%); }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--navy-950); color: rgba(251, 249, 244, 0.78); padding-top: clamp(64px, 8vw, 110px); font-size: 15px; overflow: hidden; }
.footer-topo { opacity: 0.05; }
.site-footer .wrap { position: relative; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-bottom: 56px; }
.footer-logo { width: 188px; margin-bottom: 20px; }
.footer-tagline { max-width: 30ch; color: rgba(251, 249, 244, 0.65); }
.socials { display: flex; gap: 10px; margin-top: 26px; }
.socials a { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line-light); border-radius: 50%; transition: background-color 0.3s, color 0.3s, border-color 0.3s; }
.socials a:hover { background: var(--gold); color: var(--navy-950); border-color: var(--gold); }
.footer-h { color: var(--gold-2); margin-bottom: 18px; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { transition: color 0.25s; }
.footer-col a:hover { color: #fff; }
.footer-contact p, .footer-contact address { margin-bottom: 10px; }
.footer-emergency .mono { display: block; color: var(--mute); margin-bottom: 2px; }
.footer-group { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding: 22px 0; border-top: 1px solid var(--line-light); color: var(--mute); }
.footer-review { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.footer-review .i-arrow { width: 14px; }
.footer-review:hover { color: var(--gold-2); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 22px 0 30px; border-top: 1px solid var(--line-light); font-size: 13.5px; color: rgba(251, 249, 244, 0.55); }
.credit a { color: rgba(251, 249, 244, 0.85); border-bottom: 1px solid rgba(231, 193, 74, 0.6); padding-bottom: 1px; transition: color 0.25s; }
.credit a:hover { color: var(--gold-2); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
	position: relative; min-height: 72svh; min-height: max(72svh, 560px);
	display: flex; align-items: flex-end; color: #fff; background: var(--navy-900); overflow: hidden; isolation: isolate;
}
.page-hero-short { min-height: max(56svh, 460px); }
.page-hero-plain { min-height: 0; padding-top: calc(var(--header-h) + 80px); }
.page-hero-media { position: absolute; inset: 0; z-index: -2; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-media img.pos-top { object-position: 50% 20%; }
.page-hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(4, 16, 28, 0.92) 0%, rgba(4, 16, 28, 0.35) 55%, rgba(4, 16, 28, 0.55) 100%); }
.page-hero-inner { padding-top: calc(var(--header-h) + 60px); padding-bottom: clamp(48px, 6vw, 84px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; color: rgba(255, 255, 255, 0.6); font-size: 11px; margin-bottom: 28px; }
.crumbs a:hover { color: #fff; }
.page-title {
	font-size: clamp(2.6rem, 6.2vw, 6rem); font-weight: 600;
	letter-spacing: -0.05em; line-height: 0.98; max-width: 16ch; text-wrap: balance;
}
.page-title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.page-title .w > span { display: inline-block; }
.page-lede { margin-top: 24px; max-width: 52ch; font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: rgba(255, 255, 255, 0.8); }
.marina-coords { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 26px; color: rgba(255, 255, 255, 0.8); }
.marina-coords span:first-child { color: var(--gold-2); }
.page-hero .eyebrow .mono { color: #fff; opacity: 0.7; }

/* ---------- About ---------- */
.story-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 40px clamp(40px, 6vw, 96px); align-items: start; }
.story-year { margin: 0; font-size: clamp(4rem, 8.4vw, 8.6rem); font-weight: 800; letter-spacing: -0.05em; line-height: 0.85; color: transparent; -webkit-text-stroke: 1.5px var(--gold); }
.group-logos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.group-logos li { display: grid; place-items: center; min-height: 170px; padding: 32px; border: 1px solid var(--line-light); border-radius: var(--radius); background: rgba(255, 255, 255, 0.02); }
.group-logos img { max-height: 70px; width: auto; }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px clamp(40px, 6vw, 110px); }
.two-col .h-display { margin-bottom: 22px; font-size: clamp(1.8rem, 3vw, 2.6rem); }
.two-col p { color: var(--ink-soft); }
.tone-ivory .two-col .lede-lg { color: var(--ink); }
.msg-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 48px clamp(40px, 6vw, 110px); align-items: center; }
.msg-portrait { aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); max-width: 440px; }
.msg-portrait img { width: 100%; height: 100%; object-fit: cover; }
.msg-copy blockquote { margin: 0 0 28px; }
.msg-copy blockquote p { font-size: clamp(1.15rem, 1.8vw, 1.5rem); line-height: 1.55; color: var(--ivory); }
.msg-sign { color: var(--gold-2); }

/* ---------- Service rows ---------- */
.svc-rows .wrap, .off-rows .wrap { display: grid; gap: clamp(64px, 9vw, 140px); }
.off-rows { padding-top: 0; }
.svc-rows { padding-top: 0; }
.svc-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px clamp(40px, 6vw, 100px); align-items: center; }
.svc-row figure { aspect-ratio: 5 / 4; overflow: hidden; border-radius: var(--radius); }
.svc-row figure img { width: 100%; height: 100%; object-fit: cover; }
.svc-row.is-flipped figure { order: 2; }
.svc-row-n { color: var(--gold-ink); display: block; margin-bottom: 16px; }
.svc-row .h-display { margin-bottom: 24px; font-size: clamp(1.9rem, 3.4vw, 3rem); }
.svc-row p { color: var(--ink-soft); }
.list-h { color: var(--gold-ink); margin-top: 26px; margin-bottom: 4px; }
.network { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.network li { padding: 8px 12px; border: 1px solid var(--line-dark); border-radius: 999px; font-size: 11px; }

/* ---------- Suez page ---------- */
.adv-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; }
.adv-list li { padding: 30px 0 34px; border-top: 1px solid var(--line-dark); }
.adv-list .mono { color: var(--gold-ink); display: block; margin-bottom: 14px; }
.adv-list p { font-size: clamp(1.05rem, 1.4vw, 1.2rem); font-weight: 500; }
.suez-gallery { padding-top: 0; }
.gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px; }
.gallery figure { overflow: hidden; border-radius: var(--radius); }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.g-a { grid-column: 1 / 8; aspect-ratio: 16 / 10; }
.g-b { grid-column: 8 / 13; aspect-ratio: 4 / 3; align-self: end; }
.g-c { grid-column: 1 / 6; aspect-ratio: 4 / 3; }
.g-d { grid-column: 6 / 13; aspect-ratio: 16 / 10; }

/* ---------- Marina page ---------- */
.marina-intro { padding-bottom: 0; }
.marina-intro .h-display { margin-bottom: 26px; }
.marina-grid { display: grid; grid-template-columns: minmax(0, 4.4fr) minmax(0, 7.6fr); gap: 48px clamp(40px, 6vw, 96px); align-items: start; }
.port-card { position: sticky; top: calc(var(--header-h) + 24px); background: var(--navy-900); color: var(--ivory); border-radius: var(--radius); padding: 28px; }
.port-card-h { color: var(--gold-2); padding-bottom: 14px; margin-bottom: 4px; border-bottom: 1px solid var(--line-light); }
.port-card .btn { margin-top: 24px; }
.rows .row { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line-light); }
.rows dt { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--mute); padding-top: 3px; }
.rows dd { margin: 0; font-size: 15px; overflow-wrap: anywhere; }
.rows dd a { border-bottom: 1px solid rgba(231, 193, 74, 0.5); }
.rows dd a:hover { color: var(--gold-2); }
.rows .row-full { grid-template-columns: 1fr; color: rgba(251, 249, 244, 0.8); }
.marina-lists { display: grid; gap: 56px; }
.ashore-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ashore-card { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--radius); isolation: isolate; }
.ashore-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); z-index: -2; }
.ashore-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(4, 16, 28, 0.85), rgba(4, 16, 28, 0) 55%); }
.ashore-label { position: absolute; left: 20px; right: 20px; bottom: 18px; display: flex; justify-content: space-between; align-items: center; }
.ashore-label b { font-size: 1.3rem; }
.ashore-card:hover img { transform: scale(1.06); }
.ashore-card:hover .ashore-label { color: var(--gold-2); }
.marina-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-block: 48px; }
.marina-pager a { display: grid; gap: 6px; padding: 26px 28px; border: 1px solid var(--line-dark); border-radius: var(--radius); transition: border-color 0.3s, background-color 0.3s; }
.marina-pager a[rel="next"] { text-align: right; }
.marina-pager .mono { color: var(--gold-ink); }
.marina-pager b { font-size: clamp(1.3rem, 2.2vw, 1.9rem); letter-spacing: -0.02em; }
.marina-pager a:hover { border-color: var(--gold); background: var(--sand); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px clamp(40px, 6vw, 96px); align-items: start; }
.contact-info { display: grid; gap: 40px; }
.emergency-card { background: var(--navy-900); color: var(--ivory); border-radius: var(--radius); padding: 28px; display: grid; gap: 8px; }
.emergency-card .mono { display: flex; align-items: center; gap: 12px; color: var(--gold-2); margin-bottom: 8px; }
.emergency-card a { font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 700; letter-spacing: -0.01em; }
.emergency-card a:hover { color: var(--gold-2); }
.rows-plain .row { border-color: var(--line-dark); }
.rows-plain dt { color: var(--gold-ink); }
.rows-plain dd a { border-color: rgba(122, 90, 18, 0.4); }
.rows-plain dd a:hover { color: var(--gold-ink); }
.hq .text-link { margin-top: 22px; }
.form-card { background: #fff; border: 1px solid var(--line-dark); border-radius: var(--radius); padding: clamp(28px, 4vw, 52px); }
.form-card > p { color: var(--ink-soft); margin-bottom: 28px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.field { margin: 0 0 22px; }
.field label { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 8px; }
.field input, .field textarea, .field select {
	width: 100%; padding: 12px 0; font: inherit; font-size: 16px; color: var(--ink);
	background: transparent; border: 0; border-bottom: 1px solid rgba(7, 26, 43, 0.25); border-radius: 0;
	transition: border-color 0.3s;
}
.field select { appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%23071A2B' stroke-width='1.6'/%3E%3C/svg%3E") right 4px center no-repeat; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-bottom-color: var(--gold); box-shadow: 0 1px 0 var(--gold); }
.enquiry-form .btn { margin-top: 8px; }
.enquiry-form[data-cl-form-state="sending"] .btn { opacity: 0.6; pointer-events: none; }
.cl-form-status { margin-top: 18px; font-size: 15px; }
.cl-form-status:empty { display: none; }
.enquiry-form[data-cl-form-state="sent"] .cl-form-status { padding: 14px 16px; background: rgba(61, 220, 132, 0.12); border-left: 3px solid #23a862; }
.enquiry-form[data-cl-form-state="error"] .cl-form-status { padding: 14px 16px; background: rgba(214, 69, 65, 0.1); border-left: 3px solid #c0392b; }
.branch-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.branch { padding: 28px; border: 1px solid var(--line-light); border-radius: var(--radius); display: grid; gap: 6px; align-content: start; transition: border-color 0.3s, background-color 0.3s; }
.branch:hover { border-color: rgba(231, 193, 74, 0.45); background: rgba(255, 255, 255, 0.02); }
.branch h3 { font-size: 1.25rem; margin-bottom: 8px; color: #fff; }
.branch p { margin: 0; font-size: 15px; }
.branch a:not(.text-link):hover { color: var(--gold-2); }
.branch .text-link { margin-top: 14px; justify-self: start; color: var(--gold-2); }

/* ---------- Prose (generic pages) ---------- */
.page-hero-plain .page-title { font-size: clamp(2.2rem, 5vw, 4.4rem); }
.prose h2 { font-size: 1.8rem; margin: 1.6em 0 0.6em; }
.prose a { color: var(--blue); border-bottom: 1px solid currentColor; }
.prose ul { list-style: disc; padding-left: 1.2em; margin-bottom: 1em; }

/* ---------- Motion (only when JS motion is available) ---------- */
.motion [data-reveal] { opacity: 0; transform: translateY(28px); }
.motion [data-hero-in] { opacity: 0; transform: translateY(20px); }
.motion [data-reveal-img] { clip-path: inset(12% 0 0 0); }
.motion [data-reveal-img] img { transform: scale(1.12); }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
	.svc-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.svc-cards .svc-card:last-child { grid-column: 1 / -1; flex-direction: row; }
	.svc-cards .svc-card:last-child figure { aspect-ratio: auto; flex: 0 0 42%; }
	.footer-top { grid-template-columns: 1fr 1fr; }
	.ashore-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1080px) {
	.burger { display: block; }
	.header-actions .btn { display: none; }
	.nav {
		position: fixed; inset: 0; z-index: 1; flex-direction: column; justify-content: flex-start; align-items: stretch;
		padding: calc(var(--header-h) + 24px) var(--gutter) 40px;
		background: var(--navy-950); overflow-y: auto;
		opacity: 0; visibility: hidden; transition: opacity 0.4s var(--ease), visibility 0.4s;
	}
	.nav-open .nav { opacity: 1; visibility: visible; }
	.nav-open { overflow: hidden; }
	.header-inner > .brand, .header-actions { position: relative; z-index: 2; }
	.nav-list { flex-direction: column; align-items: stretch; gap: 0; }
	.nav-list > li { flex-wrap: wrap; border-bottom: 1px solid var(--line-light); }
	.nav-list > li > a { flex: 1; font-size: clamp(1.6rem, 6vw, 2.4rem); font-weight: 700; padding: 16px 0; }
	.nav-list > li > a::after { display: none; }
	.menu-toggle { width: 44px; height: 44px; display: grid; place-items: center; }
	.menu-toggle svg { width: 16px; height: 16px; }
	.submenu { position: static; flex-basis: 100%; min-width: 0; padding: 0 0 14px; background: none; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; display: none; }
	.has-menu.is-open .submenu { display: grid; grid-template-columns: 1fr 1fr; }
	.has-menu:hover .submenu, .has-menu:focus-within .submenu { opacity: 1; }
	.nav-contact-mobile { display: flex; }
	.nav-emergency { display: grid; gap: 4px; margin-top: 32px; padding: 20px; border: 1px solid var(--line-light); border-radius: var(--radius); }
	.nav-emergency .mono { color: var(--gold-2); }
	.nav-emergency span:last-child { font-size: 1.4rem; font-weight: 700; }

	.disc-grid, .suez-grid, .why-grid, .off-grid, .cta-inner, .story-grid, .two-col, .msg-grid, .svc-row, .marina-grid, .contact-grid, .off-band { grid-template-columns: 1fr; }
	.disc-head { position: static; }
	.disc-figure { max-width: none; aspect-ratio: 16 / 10; }
	.svc-row.is-flipped figure { order: 0; }
	.port-card { position: static; }
	.marina-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.section-head.split { grid-template-columns: 1fr; }
	.section-head.split > .lede, .section-head.split > .btn { justify-self: start; }
	.route { max-width: 420px; }
	.why-year { font-size: clamp(6rem, 28vw, 12rem); }
	.adv-list { grid-template-columns: 1fr 1fr; }
	.msg-portrait { max-width: 360px; }
}

@media (max-width: 720px) {
	:root { --header-h: 68px; }
	body { font-size: 16px; }
	.brand-logo { width: 124px; }
	.header-line-num, .header-line .mono { display: none; }
	.header-line { width: 44px; height: 44px; justify-content: center; border: 1px solid var(--line-light); border-radius: var(--radius); }
	.svc-cards { grid-template-columns: 1fr; }
	.svc-cards .svc-card:last-child { flex-direction: column; grid-column: auto; }
	.svc-cards .svc-card:last-child figure { aspect-ratio: 16 / 10; flex: none; }
	.marina-cards { grid-template-columns: 1fr; }
	.marina-card a { aspect-ratio: 5 / 4; }
	.footer-top { grid-template-columns: 1fr; }
	.footer-top .footer-col:nth-child(3) { display: none; }
	.group-logos { grid-template-columns: 1fr; }
	.cols-2 { columns: 1; }
	.adv-list { grid-template-columns: 1fr; }
	.gallery { grid-template-columns: 1fr; }
	.g-a, .g-b, .g-c, .g-d { grid-column: auto; }
	.field-row { grid-template-columns: 1fr; }
	.ashore-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
	.ashore-label b { font-size: 1.05rem; }
	.marina-pager { grid-template-columns: 1fr; }
	.marina-pager a[rel="next"] { text-align: left; }
	.rows .row { grid-template-columns: 1fr; gap: 2px; }
	.route-labels li { font-size: 10px; }
	.has-menu.is-open .submenu { grid-template-columns: 1fr; }
	.page-hero { min-height: max(64svh, 480px); }
}

@media (max-width: 720px) {
	.eyebrow { display: flex; max-width: 100%; font-size: 11px; letter-spacing: 0.08em; }
	.eyebrow::before { flex: none; }
	.page-title { font-size: clamp(2.3rem, 11vw, 3.4rem); }
}

/* =========================================================
   WOW LAYER: intro, video hero, video type, map, h-scroll, tilt
   ========================================================= */

/* ---------- Intro ---------- */
.preloader { display: none; }
.preload .preloader {
	display: grid; place-items: center; position: fixed; inset: 0; z-index: 300;
	background: var(--navy-950);
	animation: pl-safety 0.01s 5s forwards;
}
@keyframes pl-safety { to { visibility: hidden; opacity: 0; } }
.preload body { overflow: hidden; }
.preloader-inner { position: relative; width: min(500px, 76vw); }
.preloader-hull { position: absolute; left: 0; top: 0; width: 100%; height: auto; overflow: visible; }
.preloader-hull path { fill: none; stroke-width: 9; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.preloader-hull .g { stroke: var(--gold-2); }
.preloader-hull .b { stroke: var(--blue-2); }
.preloader-logo { width: 100%; height: auto; opacity: 0; }
.preloader-meta { display: flex; justify-content: space-between; margin-top: 30px; color: var(--mute); }
.preloader-meta span:last-child { color: var(--gold-2); font-size: 14px; }

/* ---------- Video hero ---------- */
.hero-media { will-change: clip-path; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.4s var(--ease); }
.hero-video.is-ready { opacity: 1; }

/* ---------- Video-filled type band ---------- */
.fill-band { position: relative; height: clamp(230px, 25vw, 400px); background: var(--ivory); overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--line-dark); }
.fill-media { position: absolute; inset: 0; background: var(--navy-900) url("assets/img/hero-aerial-1600.webp") center / cover; }
.fill-video { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1s; }
.fill-video.is-ready { opacity: 1; }
.fill-mask {
	position: absolute; inset: 0; display: flex; align-items: center;
	background: var(--ivory); color: #000; mix-blend-mode: screen;
}
.fill-track {
	display: flex; flex: none; margin: 0; padding-left: var(--gutter); white-space: nowrap;
	font-size: clamp(5rem, 17vw, 16rem); font-weight: 800;
	text-transform: uppercase; letter-spacing: -0.045em; line-height: 0.86;
	will-change: transform;
}
.fill-track span { flex: none; white-space: pre; }
.fill-caption { position: absolute; left: 0; right: 0; bottom: 18px; z-index: 2; }
.fill-caption .mono { color: var(--ink-soft); }

/* ---------- Ports map ---------- */
.portmap-home { overflow: hidden; }
.portmap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 48px clamp(40px, 6vw, 96px); align-items: center; }
.portmap-list a {
	display: grid; grid-template-columns: 36px 1fr auto; gap: 10px; align-items: baseline;
	padding: 15px 0; border-bottom: 1px solid var(--line-light);
	transition: color 0.3s, padding 0.4s var(--ease);
}
.portmap-list li:first-child a { border-top: 1px solid var(--line-light); }
.portmap-list .mono { color: var(--mute); font-size: 11px; }
.portmap-list .name { font-size: clamp(1.05rem, 1.5vw, 1.3rem); font-weight: 650; }
.portmap-list a:hover, .portmap-list a.is-active { color: var(--gold-2); padding-left: 10px; }
.portmap-list a.is-active .mono { color: var(--gold-2); }
.portmap-figure { position: relative; width: 100%; max-width: 620px; justify-self: center; aspect-ratio: 873 / 1040; border-radius: 6px; overflow: hidden; border: 1px solid var(--line-light); box-shadow: 0 40px 100px rgba(0, 0, 0, 0.35); }
.portmap-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-land { fill: #1c3b68; stroke: rgba(120, 150, 230, 0.8); stroke-width: 1.3; stroke-linejoin: round; }
.map-land-n { fill: #11263f; stroke: rgba(255, 255, 255, 0.1); stroke-width: 1; }
.map-canal { fill: none; stroke: var(--gold-2); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 6px rgba(231, 193, 74, 0.7)); }
.map-label { font-family: var(--mono); font-size: 13px; letter-spacing: 0.22em; fill: rgba(169, 180, 192, 0.55); }
.map-label.land { fill: rgba(255, 255, 255, 0.3); }
.map-label.big { font-family: var(--font); font-size: 86px; font-weight: 800; letter-spacing: 0; fill: rgba(255, 255, 255, 0.07); }
.map-label.hq { fill: var(--gold-2); font-size: 12px; }
.map-hq circle { fill: var(--navy-950); stroke: var(--gold-2); stroke-width: 2.5; }
.map-pins { position: absolute; inset: 0; }
.map-pin { position: absolute; z-index: 1; width: 24px; height: 24px; margin: -12px 0 0 -12px; display: grid; place-items: center; }
.map-dot { position: relative; width: 12px; height: 12px; border-radius: 50%; background: var(--gold-2); box-shadow: 0 0 0 4px rgba(231, 193, 74, 0.18); transition: transform 0.4s var(--ease), background-color 0.3s; }
.map-dot::after { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 1px solid rgba(231, 193, 74, 0.8); animation: pulse 2.6s infinite; }
.map-tip {
	position: absolute; top: 50%; left: calc(100% + 4px);
	display: grid; gap: 2px; padding: 10px 14px; white-space: nowrap;
	background: var(--ivory); color: var(--navy-950); border-radius: 4px; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
	opacity: 0; visibility: hidden; transform: translate(-8px, -50%); pointer-events: none;
	transition: opacity 0.3s, transform 0.4s var(--ease), visibility 0.3s;
}
.side-l .map-tip { left: auto; right: calc(100% + 4px); transform: translate(8px, -50%); }
.map-tip b { font-size: 16px; line-height: 1.1; }
.map-tip .mono { font-size: 10px; color: var(--gold-ink); }
.map-pin:hover, .map-pin:focus-visible, .map-pin.is-active { z-index: 4; }
.map-pin:hover .map-tip, .map-pin:focus-visible .map-tip, .map-pin.is-active .map-tip { opacity: 1; visibility: visible; transform: translate(0, -50%); }
.map-pin:hover .map-dot, .map-pin.is-active .map-dot { background: #fff; transform: scale(1.35); }
.map-note { position: absolute; left: 16px; bottom: 14px; color: var(--mute); font-size: 10px; }

/* ---------- Horizontal marinas (home, desktop, JS only) ---------- */
.marinas-home.is-hscroll { overflow: hidden; }
.is-hscroll .marina-cards { display: flex; gap: 22px; width: max-content; will-change: transform; }
.is-hscroll .marina-card { width: clamp(300px, 27vw, 420px); flex: none; }
.hscroll-bar { height: 2px; margin-top: 36px; background: var(--line-dark); position: relative; overflow: hidden; }
.hscroll-bar i { position: absolute; inset: 0; background: var(--gold); transform-origin: left; transform: scaleX(0); }

/* ---------- Tilt + light ---------- */
.svc-card::before {
	content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; border-radius: inherit;
	background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(231, 193, 74, 0.16), transparent 60%);
	opacity: 0; transition: opacity 0.4s;
}
.svc-card:hover::before { opacity: 1; }
[data-tilt] { transform-style: preserve-3d; will-change: transform; }

@media (max-width: 1080px) {
	.portmap { grid-template-columns: 1fr; }
	.portmap-list { order: 2; }
	.portmap-list ol { columns: 2; column-gap: 28px; }
	.portmap-list li { break-inside: avoid; }
	.portmap-list li:nth-child(6) a { border-top: 1px solid var(--line-light); }
}
@media (max-width: 720px) {
	.fill-band { height: 200px; }
	.fill-track { font-size: 6.4rem; }
	.portmap-list ol { columns: 1; }
	.portmap-list li:nth-child(6) a { border-top: 0; }
	.map-pin { width: 20px; height: 20px; margin: -10px 0 0 -10px; }
	.map-dot { width: 9px; height: 9px; }
	.map-tip { padding: 7px 10px; }
	.map-tip b { font-size: 13px; }
	.map-label { font-size: 15px; }
}

@media (max-width: 720px) { .fill-caption { display: none; } }

/* Hero responsive */
@media (max-width: 1080px) {
	.hero-inner { grid-template-columns: 1fr; }
	.hero-title { max-width: 13ch; }
}
@media (max-width: 720px) {
	.hero-title { font-size: 12.2vw; letter-spacing: -0.05em; }
	.hero-kicker { font-size: 10.5px; letter-spacing: 0.16em; }
	.hero-bar-inner { gap: 8px 22px; font-size: 12.5px; }
	.hero-bar-inner .hero-live { margin-left: 0; }
	.hero-scroll { display: none; }
}

/* Horizontal marinas: the whole pinned block fits the viewport */
.marinas-home.is-hscroll { height: 100svh; padding-block: calc(var(--header-h) + 28px) 36px; display: flex; }
.marinas-home.is-hscroll > .wrap { display: flex; flex-direction: column; min-height: 0; flex: 1; }
.marinas-home.is-hscroll .section-head { margin-bottom: clamp(20px, 3vh, 36px); }
.marinas-home.is-hscroll .h-display { font-size: clamp(1.8rem, 3.2vw, 2.8rem); }
.marinas-home.is-hscroll .eyebrow { margin-bottom: 14px; }
.is-hscroll .marina-cards { flex: 1; min-height: 0; }
.is-hscroll .marina-card { width: auto; height: 100%; aspect-ratio: 4 / 5; max-width: 440px; }
.is-hscroll .marina-card a { aspect-ratio: auto; height: 100%; }
.is-hscroll .hscroll-bar { flex: none; margin-top: 22px; }

/* =========================================================
   RESPONSIVE PASS (tablet and small phones)
   ========================================================= */
@media (min-width: 900px) and (max-width: 1080px) {
	.hero-inner { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
}
@media (max-width: 1080px) {
	.hero-shade { background: linear-gradient(0deg, rgba(3, 12, 22, 0.92) 0%, rgba(3, 12, 22, 0.6) 50%, rgba(3, 12, 22, 0.4) 100%); }
	.why .why-year { position: static; display: block; margin: 0 0 -0.12em; font-size: clamp(5rem, 20vw, 10rem); }
	.marina-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
	.marina-card-body { padding: 16px; }
	.marina-card-name { font-size: clamp(1.15rem, 2.6vw, 1.6rem); }
	.marina-card-go { width: 38px; height: 38px; top: 12px; right: 12px; }
	.story-year { font-size: clamp(4rem, 16vw, 7rem); }
	.footer-top { gap: 36px 28px; }
}
@media (max-width: 720px) {
	.marina-cards { grid-template-columns: 1fr 1fr; gap: 10px; }
	.marina-card a { aspect-ratio: 3 / 4; }
	.marina-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
	.marina-card:last-child:nth-child(odd) a { aspect-ratio: 16 / 10; }
	.marina-card-body { padding: 12px; gap: 3px; }
	.marina-card-name { font-size: 1.1rem; }
	.marina-card-meta { font-size: 10px; }
	.marina-card .coords { display: none; }
	.marina-card-go { display: none; }
	.disc-list li { grid-template-columns: 40px 1fr; gap: 4px 12px; padding: 28px 0; }
	.cta-tile { padding: 18px 20px; }
	.cta-tile strong { font-size: clamp(0.98rem, 4.6vw, 1.3rem); overflow-wrap: normal; word-break: normal; }
	.ashore-label { left: 12px; right: 12px; bottom: 12px; }
	.ashore-label b { font-size: 1rem; line-height: 1.15; }
	.ashore-label .i-arrow { display: none; }
	.port-card { padding: 22px; }
	.port-card .btn { white-space: nowrap; padding: 0 16px; font-size: 14px; }
	.emergency-card a { font-size: clamp(1.2rem, 6.4vw, 1.6rem); }
	.why-list li { grid-template-columns: 36px 1fr; padding: 18px 0; }
	.svc-body { padding: 22px 20px 26px; }
	.section-head { margin-bottom: 36px; }
}
@media (max-width: 420px) {
	.marina-cards { grid-template-columns: 1fr; }
	.marina-card a, .marina-card:last-child:nth-child(odd) a { aspect-ratio: 5 / 4; }
	.marina-card .coords { display: inline; }
}

/* Laptop widths: keep the nav on one line, keep the hero copy readable */
.nav-list a, .header-line, .btn { white-space: nowrap; }
.hero-shade {
	background:
		radial-gradient(120% 90% at 20% 100%, rgba(3, 12, 22, 0.85) 0%, rgba(3, 12, 22, 0) 60%),
		radial-gradient(70% 70% at 90% 95%, rgba(3, 12, 22, 0.7) 0%, rgba(3, 12, 22, 0) 70%),
		linear-gradient(0deg, rgba(3, 12, 22, 0.75) 0%, rgba(3, 12, 22, 0) 45%),
		linear-gradient(180deg, rgba(3, 12, 22, 0.45) 0%, rgba(3, 12, 22, 0) 20%);
}
@media (min-width: 1081px) and (max-width: 1320px) {
	.header-inner { gap: 20px; }
	.nav-list { gap: 18px; }
	.nav-list a { font-size: 14.5px; }
	.header-line-num { display: none; }
	.brand-logo { width: 132px; }
}
@media (max-width: 1080px) {
	.hero-shade { background: linear-gradient(0deg, rgba(3, 12, 22, 0.92) 0%, rgba(3, 12, 22, 0.6) 50%, rgba(3, 12, 22, 0.4) 100%); }
}

/* Hero legibility over the moving footage */
.hero-media::after { content: ""; position: absolute; inset: 0; background: rgba(3, 12, 22, 0.3); }
.hero-title, .hero-lede, .hero-kicker { text-shadow: 0 2px 24px rgba(3, 12, 22, 0.55), 0 1px 3px rgba(3, 12, 22, 0.35); }
