/* Off Shore Tug & Transportation -- main stylesheet
   Palette matches the real logo: near-black navy, royal blue, steel-grey arc accent. */

:root {
	--navy-deep:   #060F1C;
	--navy:        #0B1F35;
	--navy-light:  #14304F;
	--blue:        #1B4F8C;
	--blue-bright: #3B84D6;
	--steel:       #5B6B7A;
	--ink:         #0B1F35;
	--muted:       #56636F;
	--muted-light: #A7B7C6;
	--bg-light:    #F2F5F8;
	--white:       #FFFFFF;
	--shadow:      0 20px 50px -20px rgba(6,15,28,0.28);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	color: var(--ink);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

h1, h2, h3, h4 {
	font-family: 'Oswald', 'Inter', sans-serif;
	font-weight: 600;
	margin: 0;
	color: var(--navy);
	line-height: 1.15;
}

p { line-height: 1.65; color: var(--muted); }

a { color: inherit; text-decoration: none; }

.container {
	max-width: 1160px;
	margin: 0 auto;
	padding: 0 24px;
}

img { max-width: 100%; display: block; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 13px 26px;
	border-radius: 6px;
	font-weight: 700;
	font-size: 15px;
	border: none;
	cursor: pointer;
	transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
	white-space: nowrap;
}
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-block { width: 100%; justify-content: center; }
.btn-flare {
	background: linear-gradient(135deg, var(--blue-bright), var(--blue));
	color: var(--white);
	box-shadow: 0 12px 30px -8px rgba(27,79,140,0.55);
}
.btn-flare:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -8px rgba(27,79,140,0.7); }
.btn-ghost {
	background: rgba(255,255,255,0.08);
	color: var(--white);
	border: 1px solid rgba(255,255,255,0.35);
	backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.18); transform: translateY(-2px); }

/* ---------- Nav ---------- */
.ot-nav {
	position: fixed;
	top: 0; left: 0; right: 0;
	z-index: 100;
	padding: 18px 0;
	transition: background .3s ease, padding .3s ease, box-shadow .3s ease;
}
.ot-nav.scrolled {
	background: rgba(6,15,28,0.94);
	backdrop-filter: blur(10px);
	padding: 12px 0;
	box-shadow: 0 8px 24px -12px rgba(0,0,0,0.4);
}
.nav-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}
.nav-logo {
	display: flex;
	align-items: center;
	gap: 12px;
}
/* Real logo is dark navy/blue on transparent -- needs a light plate to read on this dark nav/footer. */
.nav-logo-plate {
	display: flex;
	align-items: center;
	background: var(--white);
	border-radius: 8px;
	padding: 8px 16px;
	box-shadow: 0 8px 20px -6px rgba(6,15,28,0.35);
}
.nav-logo-plate img { height: 54px; width: auto; display: block; }
.ot-footer .nav-logo-plate img { height: 64px; }
.nav-links {
	list-style: none;
	display: flex;
	align-items: center;
	gap: 30px;
	margin: 0; padding: 0;
}
.nav-links a {
	color: var(--white);
	font-weight: 600;
	font-size: 14.5px;
	opacity: .88;
	transition: opacity .2s ease;
}
.nav-links a:hover { opacity: 1; }
.nav-links .btn { font-size: 14px; padding: 10px 22px; }
.nav-mobile-toggle {
	display: none;
	background: none; border: none; color: var(--white);
	font-size: 22px; cursor: pointer;
}
.nav-mobile {
	display: none;
	background: var(--navy-deep);
	padding: 10px 24px 20px;
}
.nav-mobile ul { list-style: none; margin: 0; padding: 0; }
.nav-mobile li { border-top: 1px solid rgba(255,255,255,0.08); }
.nav-mobile a {
	display: block;
	padding: 14px 4px;
	color: var(--white);
	font-weight: 600;
}
.nav-mobile-cta { color: var(--blue-bright) !important; }
.ot-nav.nav-open .nav-mobile { display: block; }

/* ---------- Hero ---------- */
.hero {
	position: relative;
	background: radial-gradient(120% 120% at 15% -10%, #16324F 0%, var(--navy) 45%, var(--navy-deep) 100%);
	padding: 168px 0 140px;
	overflow: hidden;
}
.hero-glow {
	position: absolute;
	top: -20%; right: -10%;
	width: 60vw; height: 60vw;
	max-width: 700px; max-height: 700px;
	background: radial-gradient(circle, rgba(59,132,214,0.32) 0%, rgba(59,132,214,0) 70%);
	filter: blur(10px);
	pointer-events: none;
	animation: pulseGlow 8s ease-in-out infinite;
}
@keyframes pulseGlow {
	0%, 100% { opacity: .7; transform: scale(1); }
	50% { opacity: 1; transform: scale(1.08); }
}
.hero-waves {
	position: absolute;
	left: 0; right: 0; bottom: -2px;
	line-height: 0;
	pointer-events: none;
}
.hero-waves svg { width: 100%; height: 140px; display: block; }
.wave { fill: rgba(255,255,255,0.05); }
.wave-2 { fill: rgba(255,255,255,0.09); }
.wave-1 { animation: waveShift 14s ease-in-out infinite; }
.wave-2 { animation: waveShift 10s ease-in-out infinite reverse; }
@keyframes waveShift {
	0%, 100% { transform: translateX(0); }
	50% { transform: translateX(-3%); }
}
.hero-inner { position: relative; z-index: 2; max-width: 780px; }
.hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: rgba(59,132,214,0.15);
	border: 1px solid rgba(59,132,214,0.4);
	color: var(--blue-bright);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .3px;
	padding: 8px 16px;
	border-radius: 6px;
	margin-bottom: 26px;
}
.hero-title {
	font-family: 'Anton', 'Oswald', sans-serif;
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: .5px;
	font-size: clamp(38px, 6.4vw, 68px);
	color: var(--white);
	margin-bottom: 22px;
	text-wrap: balance;
}
.text-flare {
	background: linear-gradient(100deg, var(--blue-bright), #8fc1f2);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.hero-sub {
	font-size: 18px;
	color: var(--muted-light);
	max-width: 620px;
	margin-bottom: 36px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 52px; }
.hero-trust {
	display: flex;
	flex-wrap: wrap;
	gap: 28px;
}
.trust-item {
	display: flex;
	align-items: center;
	gap: 9px;
	color: var(--muted-light);
	font-size: 13.5px;
	font-weight: 600;
}
.trust-item i { color: var(--blue-bright); }

/* ---------- Sections ---------- */
.section { padding: 110px 0; }
.section-head {
	max-width: 640px;
	margin: 0 auto 60px;
	text-align: center;
}
.eyebrow {
	display: inline-block;
	font-size: 12.5px;
	font-weight: 800;
	letter-spacing: 1.6px;
	text-transform: uppercase;
	color: var(--blue);
	margin-bottom: 14px;
}
.eyebrow-light { color: var(--blue-bright); }
.section-head h2 {
	font-family: 'Oswald', sans-serif;
	font-size: clamp(28px, 4vw, 40px);
	margin-bottom: 16px;
	text-wrap: balance;
}
.section-head p { font-size: 16.5px; }

[data-animate] {
	transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1);
}
.js-ready [data-animate] { opacity: 0; transform: translateY(28px); }
[data-animate].in-view { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
	.js-ready [data-animate] { opacity: 1; transform: none; }
}

/* ---------- Route (triangle) ---------- */
.route-section { background: var(--bg-light); }
.route-triangle {
	position: relative;
	width: 100%;
	max-width: 620px;
	aspect-ratio: 100 / 82;
	margin: 0 auto;
}
.route-triangle-lines {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}
.tri-edge {
	stroke: var(--blue);
	stroke-width: .6;
	stroke-dasharray: 2.4 2.6;
	opacity: .5;
	animation: dashMove 3s linear infinite;
	vector-effect: non-scaling-stroke;
}
@keyframes dashMove { to { stroke-dashoffset: -10; } }
/* Little ships sailing the two mainland-to-island edges. Positions (top/left %) match the
   apex/left/right points used for .route-node-top/-left/-right and the SVG line endpoints above. */
.route-ship {
	position: absolute;
	transform: translate(-50%, -50%);
	color: var(--blue-bright);
	font-size: 15px;
	opacity: 0;
}
.route-ship-mv {
	animation: sailToMV 6s ease-in-out infinite;
}
.route-ship-nantucket {
	animation: sailToNantucket 6s ease-in-out infinite;
	animation-delay: 3s;
}
@keyframes sailToMV {
	0%   { top: 12.2%; left: 50%;   opacity: 0; }
	10%  { opacity: 1; }
	90%  { opacity: 1; }
	100% { top: 90.2%; left: 14%;   opacity: 0; }
}
@keyframes sailToNantucket {
	0%   { top: 12.2%; left: 50%;   opacity: 0; }
	10%  { opacity: 1; }
	90%  { opacity: 1; }
	100% { top: 90.2%; left: 86%;   opacity: 0; }
}
.route-node {
	position: absolute;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	width: 170px;
}
.route-node-top   { top: 0; left: 50%; transform: translate(-50%, 0); }
.route-node-left  { bottom: 0; left: 4%; }
.route-node-right { bottom: 0; right: 4%; }
.route-icon {
	width: 76px; height: 76px;
	border-radius: 50%;
	background: var(--white);
	box-shadow: var(--shadow);
	display: flex; align-items: center; justify-content: center;
	font-size: 28px;
	color: var(--blue);
	margin-bottom: 16px;
	border: 2px solid rgba(27,79,140,0.2);
}
.route-node h3 { font-size: 17px; margin-bottom: 4px; }
.route-node span { font-size: 12.5px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .5px; }

/* ---------- Services ---------- */
.services-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 26px;
}
.service-card {
	background: var(--white);
	border: 1px solid #e9eef2;
	border-radius: 12px;
	padding: 34px 26px;
	box-shadow: var(--shadow);
	transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.service-card:hover {
	transform: translateY(-6px);
	border-color: rgba(27,79,140,0.35);
	box-shadow: 0 26px 55px -22px rgba(27,79,140,0.3);
}
.service-icon {
	width: 56px; height: 56px;
	border-radius: 10px;
	background: linear-gradient(135deg, rgba(27,79,140,0.14), rgba(27,79,140,0.04));
	color: var(--blue);
	display: flex; align-items: center; justify-content: center;
	font-size: 22px;
	margin-bottom: 20px;
}
.service-card h3 { font-size: 18px; margin-bottom: 10px; }
.service-card p { font-size: 14.5px; margin: 0; }

/* ---------- About ---------- */
.about-section { background: var(--white); }
.about-grid {
	display: grid;
	grid-template-columns: 1.2fr 0.8fr;
	gap: 60px;
	align-items: center;
}
.about-copy p { font-size: 16.5px; margin: 18px 0 26px; }
.about-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.about-list li { display: flex; align-items: flex-start; gap: 12px; font-weight: 600; color: var(--navy); font-size: 15px; }
.about-list i { color: var(--blue); margin-top: 3px; }
/* Plain logo, directly on the section's white background -- no plate/card, sized up since this
   is a deliberate content placement, not a small nav mark. */
.about-visual {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 260px;
}
.about-logo { width: 100%; max-width: 440px; height: auto; }

/* ---------- Steps ---------- */
.steps-row {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 26px;
	position: relative;
}
.step-card {
	background: linear-gradient(160deg, var(--navy), var(--navy-deep));
	border-radius: 12px;
	padding: 32px 24px;
	color: var(--white);
	position: relative;
	overflow: hidden;
}
.step-card::before {
	content: '';
	position: absolute; inset: 0;
	background: radial-gradient(circle at top right, rgba(59,132,214,0.22), transparent 60%);
	pointer-events: none;
}
.step-num {
	font-family: 'Anton', 'Oswald', sans-serif;
	font-size: 34px;
	color: var(--blue-bright);
	margin-bottom: 14px;
}
.step-card h3 { color: var(--white); font-size: 17px; margin-bottom: 10px; }
.step-card p { color: var(--muted-light); font-size: 14px; margin: 0; }

/* ---------- Quote ---------- */
.quote-section { background: var(--bg-light); }
.quote-card {
	background: linear-gradient(135deg, var(--navy), var(--navy-deep));
	border-radius: 16px;
	padding: 60px;
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: 50px;
	box-shadow: 0 50px 90px -40px rgba(6,15,28,0.55);
	position: relative;
	overflow: hidden;
}
.quote-card::after {
	content: '';
	position: absolute; top: -30%; right: -10%;
	width: 420px; height: 420px;
	background: radial-gradient(circle, rgba(59,132,214,0.22), transparent 70%);
	pointer-events: none;
}
.quote-copy { position: relative; z-index: 1; }
.quote-copy h2 { color: var(--white); margin: 14px 0 16px; font-size: 32px; }
.quote-copy p { color: var(--muted-light); font-size: 16px; }
.quote-form { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group label { color: var(--muted-light); font-size: 13px; font-weight: 700; letter-spacing: .3px; }
.form-group input,
.form-group select,
.form-group textarea {
	background: rgba(255,255,255,0.08);
	border: 1px solid rgba(255,255,255,0.18);
	border-radius: 6px;
	padding: 13px 15px;
	color: var(--white);
	font-family: inherit;
	font-size: 14.5px;
	outline: none;
	transition: border-color .2s ease, background .2s ease;
}
.form-group select option { color: var(--ink); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
	border-color: var(--blue-bright);
	background: rgba(255,255,255,0.13);
}
.form-group textarea { resize: vertical; }
.hp-field { position: absolute; left: -9999px; top: -9999px; }

/* ---------- Messages (setMessage/compileMessage banner) ---------- */
.site-message {
	border-radius: 8px;
	padding: 16px 20px;
	font-size: 14.5px;
	font-weight: 600;
	margin-bottom: 20px;
}
.site-message.success { background: #E6F2EA; color: #1E6B3C; border: 1px solid #bfe0cb; }
.site-message.error   { background: #FBEAEA; color: #A6301F; border: 1px solid #f0c6c2; }
.site-message.info    { background: #E9F1FA; color: #1B5FA8; border: 1px solid #c9dcee; }

/* ---------- Footer ---------- */
.ot-footer {
	background: var(--navy-deep);
	color: var(--muted-light);
	padding: 70px 0 30px;
}
.footer-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr;
	gap: 40px;
	padding-bottom: 40px;
	border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-tagline { color: var(--muted-light); font-size: 14px; max-width: 320px; margin: 0; }
.footer-col h4 { color: var(--white); font-size: 14px; margin-bottom: 16px; letter-spacing: .3px; font-family: 'Oswald', sans-serif; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14px; color: var(--muted-light); transition: color .2s ease; }
.footer-col a:hover { color: var(--blue-bright); }
.footer-bottom {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 10px;
	padding-top: 24px;
	font-size: 13px;
}
.footer-copyright, .footer-credit { margin: 0; color: var(--muted-light); }

/* ---------- Coming soon (no nav/footer chrome; light bg since the logo needs it) ---------- */
.coming-soon {
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(180deg, #FFFFFF 0%, #EAF0F5 100%);
	padding: 40px 24px;
}
.coming-soon-inner { max-width: 480px; text-align: center; }
.coming-soon-logo { width: 100%; max-width: 300px; margin: 0 auto 36px; }
.coming-soon-eyebrow {
	font-size: 12.5px;
	font-weight: 800;
	letter-spacing: 1.6px;
	text-transform: uppercase;
	color: var(--blue);
	margin: 0 0 10px;
}
.coming-soon h1 {
	font-family: 'Anton', 'Oswald', sans-serif;
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: .5px;
	font-size: clamp(32px, 6vw, 48px);
	color: var(--navy);
	margin-bottom: 16px;
}
.coming-soon-sub { font-size: 16px; color: var(--muted); margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
	.services-grid { grid-template-columns: repeat(2, 1fr); }
	.steps-row { grid-template-columns: repeat(2, 1fr); }
	.about-grid { grid-template-columns: 1fr; }
	.about-visual { height: 220px; }
	.quote-card { grid-template-columns: 1fr; padding: 40px 30px; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
	.nav-links { display: none; }
	.nav-mobile-toggle { display: block; }
	.hero { padding: 140px 0 110px; }
	.about-logo { max-width: 260px; }
	.services-grid { grid-template-columns: 1fr; }
	.steps-row { grid-template-columns: 1fr; }
	.route-triangle { max-width: 320px; aspect-ratio: 100 / 118; }
	.route-node { width: 130px; }
	.route-icon { width: 60px; height: 60px; font-size: 22px; }
	.form-row { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr; }
	.section { padding: 80px 0; }
}
