/* ==========================================================================
   East Coast Cruisers — main.css
   Ported from design source: /Users/aqib/Downloads/east-coast-cruisers_1.html
   Do not redesign. All values are tokenised in :root.
   ========================================================================== */

/* ---------- 1. TOKENS ---------- */
:root {
	/* Sand / cream — matches the lower half of the logo */
	--ivory: #F6F1E7;
	--ivory-2: #EFE7D6;
	--ivory-3: #E7DBC4;

	/* Ocean-deep — replaces pure navy, tuned to match the deep water of the brand mark.
	   Variable name kept as --navy so the existing component styles cascade. */
	--navy: #0F3D4A;
	--navy-2: #0A2A36;
	--navy-3: #1A5365;

	/* Logo-inspired teal accent — used for eyebrow line, focus rings, link hovers */
	--teal: #5AB8C9;
	--teal-soft: #9DD4DD;

	--ink: #112229;
	--muted: #5B6670;
	--muted-light: #A9B4BF;

	/* Light ocean-blue accent (was gold, then deeper ocean) — now a bright sky
	   blue. Reserved for awards, stars, checklist marks, eyebrow lines,
	   pullquote borders, and italic emphasis inside section headings.
	   Variable names kept as --gold so existing cascade keeps working. */
	--gold: #6FC5D7;       /* bright sky teal — "beautiful sky" */
	--gold-soft: #A4DCE8;  /* pale sky */

	--line: rgba(15,61,74,.14);
	--line-light: rgba(255,255,255,.18);
	--white: #fff;

	--container: 1240px;
	--container-wide: 1480px;
	--gutter: clamp(1.25rem, 5vw, 3.5rem);
	--section: clamp(4.5rem, 9vw, 8.5rem);

	--r: 5px;
	--r-btn: 3px;

	--shadow: 0 30px 64px -30px rgba(15,61,74,.55);
	--shadow-soft: 0 18px 44px -28px rgba(15,61,74,.4);

	/* Tidii-aligned interaction shadows — used for buttons + card hover lift */
	--shadow-card: 0 4px 16px rgba(15,61,74,.06);
	--shadow-pop:  0 24px 70px -16px rgba(15,61,74,.22);
	--shadow-cta:  0 12px 32px -8px rgba(15,61,74,.34);
	--shadow-cta-hover: 0 18px 40px -10px rgba(15,61,74,.45);
	--shadow-teal: 0 18px 40px -12px rgba(90,184,201,.42);
	--ease: cubic-bezier(.2,.7,.2,1);

	--serif: "Playfair Display", Georgia, "Times New Roman", serif;
	--sans: "Hanken Grotesk", system-ui, sans-serif;
	--script: "Caveat", cursive;
}

/* ---------- 2. RESET / BASE ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--ivory);
	color: var(--ink);
	font-family: var(--sans);
	font-size: clamp(1rem, .96rem + .2vw, 1.07rem);
	line-height: 1.72;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 {
	font-family: var(--serif);
	font-weight: 400;
	line-height: 1.02;
	letter-spacing: -.015em;
	margin: 0;
}
/* Italic emphasis inside any heading uses the light ocean-blue accent —
   sets the brand's signature accent moment across every section title. */
h1 em, h2 em, h3 em, h4 em, h5 em, h6 em {
	font-style: italic;
	font-weight: 400;
	color: var(--gold);
}
p { margin: 0; }

.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container.wide,
.wide { max-width: var(--container-wide); }

.eyebrow {
	font-size: .72rem;
	font-weight: 600;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--muted);
	display: inline-flex;
	align-items: center;
	gap: .7rem;
	margin: 0;
}
.eyebrow::before { content: ""; width: 30px; height: 1px; background: var(--gold); }
.eyebrow--center { justify-content: center; }
.eyebrow--gold { color: var(--gold-soft); }
.eyebrow--light { color: var(--muted-light); }
.eyebrow--light::before,
.eyebrow--gold::before { background: var(--gold); }

.script {
	font-family: var(--script);
	font-size: 1.5rem;
	line-height: 1.2;
	color: var(--navy);
}

/* ---------- 3. BUTTONS (Tidii-aligned) ----------
   Pill shape, heavy weight, lift + intensified shadow on hover, SVG slides right.
   Variants:
     --primary       PRIMARY conversion CTA (ocean-deep, the money path)
     --gold          Warm secondary CTA (used sparingly — awards/warmth contexts)
     --outline       Secondary / "Learn more" / anchor links
     --on-dark       Modifier for outline on dark backgrounds (hero, founders bg)
     --light         Light fill for use over dark sections
     --ghost         Deprecated alias for --outline (kept for backward compat)
*/
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .55rem;
	cursor: pointer;
	font-family: var(--sans);
	font-size: .82rem;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	line-height: 1;
	padding: 16px 30px;
	border-radius: 999px;
	border: 2px solid transparent;
	transition:
		transform .25s var(--ease),
		box-shadow .3s var(--ease),
		background .2s ease,
		color .2s ease,
		border-color .2s ease;
	background: none;
	color: inherit;
	text-decoration: none;
	white-space: nowrap;
}
.btn svg { width: 1em; height: 1em; transition: transform .25s var(--ease); }
.btn:hover {
	transform: translateY(-3px);
	box-shadow: 0 22px 44px -16px rgba(15,61,74,.45);
}
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(-1px); transition-duration: .1s; }

.btn--primary {
	background: var(--navy);
	color: var(--ivory);
	box-shadow: var(--shadow-cta);
}
.btn--primary:hover {
	background: var(--navy-2);
	box-shadow: 0 24px 50px -14px rgba(15,61,74,.55);
}

/* Ocean-blue CTA (variable name kept as --gold for back-compat) — white text
   on the ocean-blue fill, deeper shadow on hover. */
.btn--gold {
	background: var(--gold);
	color: var(--ivory);
	box-shadow: 0 12px 32px -8px rgba(111,197,215,.4);
}
.btn--gold:hover {
	background: var(--gold-soft);
	color: var(--navy-2);
	box-shadow: 0 24px 50px -12px rgba(111,197,215,.6);
}

.btn--outline,
.btn--ghost {
	background: transparent;
	color: var(--navy);
	border-color: var(--navy);
}
.btn--outline:hover,
.btn--ghost:hover {
	background: var(--navy);
	color: var(--ivory);
	border-color: var(--navy);
	box-shadow: 0 22px 44px -16px rgba(15,61,74,.5);
}

.btn--on-dark {
	color: var(--ivory);
	border-color: rgba(255,255,255,.4);
}
.btn--on-dark:hover {
	background: var(--ivory);
	color: var(--navy);
	border-color: var(--ivory);
	box-shadow: 0 22px 44px -16px rgba(0,0,0,.45);
}

.btn--light {
	background: var(--ivory);
	color: var(--navy);
	box-shadow: var(--shadow-card);
}
.btn--light:hover {
	background: #fff;
	box-shadow: 0 22px 44px -16px rgba(0,0,0,.35);
}

.btn--outline-light {
	background: transparent;
	color: var(--ivory);
	border-color: rgba(255,255,255,.45);
}
.btn--outline-light:hover {
	background: var(--ivory);
	color: var(--navy);
	border-color: var(--ivory);
	box-shadow: 0 22px 44px -16px rgba(0,0,0,.4);
}

.btn--lg { padding: 18px 34px; font-size: 1rem; }
.btn--sm { padding: 9px 18px; font-size: .82rem; }
.btn--block { display: flex; width: 100%; }

/* ---------- 4. HEADER ---------- */
/* Solid header — no transparency over the hero. Ivory bg, dark text by default. */
.site-header {
	position: fixed;
	inset: 0 0 auto 0;
	z-index: 60;
	padding: .85rem 0;
	background: var(--ivory);
	border-bottom: 1px solid var(--line);
	transition: padding .35s, box-shadow .4s;
}
.site-header.scrolled {
	padding: .55rem 0;
	box-shadow: 0 6px 22px -18px rgba(15,61,74,.45);
}
.nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.25rem;
}
.brand {
	display: inline-flex;
	align-items: center;
	gap: .65rem;
	font-family: var(--serif);
	font-size: 1.35rem;
	letter-spacing: .01em;
	color: var(--navy);
	line-height: 1;
}

/* Round-clip the logo so the PNG's white square never shows.
   1.5x bigger than the original baseline. */
.site-logo {
	width: 84px;
	height: 84px;
	border-radius: 50%;
	object-fit: cover;
	display: block;
	box-shadow: 0 4px 18px -6px rgba(15,61,74,.25);
	background: var(--ivory);
	transition: width .35s, height .35s;
}
.scrolled .site-logo {
	width: 72px;
	height: 72px;
}
.footer .site-logo {
	width: 108px;
	height: 108px;
	margin-bottom: 1rem;
}
.ecc-mobile__brand .site-logo {
	width: 84px;
	height: 84px;
}
.nav-links {
	display: none;
	align-items: center;
	gap: 1.15rem;
	list-style: none;
	margin: 0;
	padding: 0;
}
.nav-links > .menu-item { position: relative; }
.nav-links a {
	display: inline-flex;
	align-items: center;
	gap: .35rem;
	padding: .55rem .25rem;
	font-family: var(--sans);
	font-size: .78rem;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--navy);
	transition: color .3s;
	position: relative;
}
.nav-links > .menu-item > a::after {
	content: "";
	position: absolute;
	left: .25rem;
	right: .25rem;
	bottom: .2rem;
	height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform .35s cubic-bezier(.2,.7,.2,1);
}
.nav-links > .menu-item:hover > a::after,
.nav-links > .menu-item.is-open > a::after,
.nav-links > .menu-item.current-menu-item > a::after,
.nav-links > .menu-item.current-menu-ancestor > a::after { transform: scaleX(1); }
.nav-links > .menu-item:hover > a,
.nav-links > .menu-item.is-open > a { color: var(--teal); }

/* Submenu indicator caret */
.nav-links > .menu-item-has-children > a::before {
	content: "";
	order: 99;
	width: 8px;
	height: 8px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg) translate(-2px, -2px);
	margin-left: .15rem;
	transition: transform .3s;
}
.nav-links > .menu-item-has-children:hover > a::before,
.nav-links > .menu-item-has-children.is-open > a::before {
	transform: rotate(-135deg) translate(-2px, -2px);
}

/* Desktop submenu (About dropdown) */
.nav-links .sub-menu {
	position: absolute;
	top: 100%;
	left: -.5rem;
	min-width: 220px;
	margin: 0;
	padding: .5rem;
	background: var(--ivory);
	border: 1px solid var(--line);
	border-radius: 12px;
	box-shadow: 0 18px 40px -22px rgba(15,61,74,.35);
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 2px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity .25s, transform .25s, visibility .25s;
	z-index: 5;
}
.nav-links > .menu-item-has-children:hover > .sub-menu,
.nav-links > .menu-item-has-children:focus-within > .sub-menu,
.nav-links > .menu-item-has-children.is-open > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
.nav-links .sub-menu a {
	display: block;
	padding: .65rem .85rem;
	font-size: .72rem;
	letter-spacing: .12em;
	color: var(--navy);
	border-radius: 8px;
}
.nav-links .sub-menu a::after { display: none; }
.nav-links .sub-menu a:hover { background: var(--ivory-2); color: var(--teal); }

.nav-cta { display: none; }

/* Right-side action cluster: search button, CTA, burger */
.nav-actions {
	display: inline-flex;
	align-items: center;
	gap: .65rem;
}

/* Search dropdown wrap (relative anchor for the panel) */
.nav-search { position: relative; }

/* Search icon button — opens a dropdown panel anchored below the header */
.nav-search-btn {
	width: 42px;
	height: 42px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: transparent;
	border: 1px solid var(--line);
	border-radius: 50%;
	color: var(--navy);
	cursor: pointer;
	transition: background .3s, border-color .3s, color .3s, transform .25s;
}
.nav-search-btn:hover { background: var(--ivory-2); border-color: rgba(15,61,74,.3); color: var(--teal); }
.nav-search-btn[aria-expanded="true"] { background: var(--navy); color: var(--ivory); border-color: var(--navy); transform: scale(.96); }
.nav-search-btn svg { width: 18px; height: 18px; }

/* Dropdown panel (Utahlabs-style) — anchored under the search icon */
.nav-search-panel {
	position: absolute;
	top: calc(100% + .85rem);
	right: 0;
	width: min(440px, calc(100vw - 2rem));
	background: var(--ivory);
	border: 1px solid var(--line);
	border-radius: 14px;
	box-shadow: 0 22px 50px -22px rgba(15,61,74,.45);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-8px);
	transition: opacity .25s, transform .25s, visibility .25s;
	z-index: 80;
	overflow: hidden;
}
.nav-search-panel.is-open {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
.nav-search-panel::before {
	content: "";
	position: absolute;
	top: -7px;
	right: 18px;
	width: 14px;
	height: 14px;
	background: var(--ivory);
	border-top: 1px solid var(--line);
	border-left: 1px solid var(--line);
	transform: rotate(45deg);
}

/* Mobile: anchor full-width below the header, not next to the icon */
@media (max-width: 768px) {
	.nav-search-panel {
		position: fixed;
		top: auto;
		left: .75rem;
		right: .75rem;
		width: auto;
	}
	.nav-search-panel::before { display: none; }
}

/* Burger */
.menu-toggle {
	display: inline-flex;
	flex-direction: column;
	gap: 5px;
	background: none;
	border: 0;
	cursor: pointer;
	padding: 10px;
	border-radius: 8px;
}
.menu-toggle span {
	width: 24px;
	height: 2px;
	background: var(--navy);
	border-radius: 2px;
	transition: transform .35s, opacity .25s;
}
body.ecc-menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.ecc-menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
body.ecc-menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

body.ecc-menu-open,
body.ecc-no-scroll { overflow: hidden; }

@media (min-width: 1024px) {
	.nav-links { display: flex; }
	.nav-cta { display: inline-flex; }
	.menu-toggle { display: none; }
}

/* ---------- 4a. FULL-SCREEN MOBILE DRAWER (Tidii/Boujee pattern) ---------- */
.ecc-mobile {
	position: fixed;
	inset: 0;
	background: var(--ivory);
	color: var(--ink);
	z-index: 110;
	display: flex;
	flex-direction: column;
	transform: translateX(100%);
	transition: transform .4s cubic-bezier(.2,.7,.2,1);
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}
.ecc-mobile.is-open { transform: translateX(0); }

.ecc-mobile__backdrop {
	position: fixed; inset: 0;
	background: rgba(10, 42, 54, .55);
	opacity: 0; visibility: hidden;
	transition: opacity .25s, visibility .25s;
	z-index: 105;
}
.ecc-mobile__backdrop.is-visible { opacity: 1; visibility: visible; }

.ecc-mobile__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 18px 22px;
	border-bottom: 1px solid var(--line);
	gap: 1rem;
}
.ecc-mobile__brand { display: inline-flex; align-items: center; line-height: 1; }
.ecc-mobile__brand .site-logo { width: 56px; height: 56px; }

.ecc-mobile__close {
	width: 44px; height: 44px;
	border-radius: 50%;
	border: 1px solid var(--line);
	background: transparent;
	color: var(--navy);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background .25s, border-color .25s;
}
.ecc-mobile__close:hover { background: rgba(15,61,74,.06); border-color: rgba(15,61,74,.3); }
.ecc-mobile__close svg { width: 20px; height: 20px; }

.ecc-mobile__nav { padding: 12px 16px 4px; }
.ecc-mobile__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.ecc-mobile__list .menu-item { position: relative; }
.ecc-mobile__list .menu-item > a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 18px;
	font-family: var(--serif);
	font-size: 1.35rem;
	color: var(--navy);
	border-radius: 10px;
	transition: background .25s, color .25s;
}
.ecc-mobile__list .menu-item > a:hover { background: rgba(15,61,74,.06); }
.ecc-mobile__list .menu-item.current-menu-item > a,
.ecc-mobile__list .menu-item.current_page_item > a,
.ecc-mobile__list .menu-item.current-menu-ancestor > a { color: var(--teal); }
.ecc-mobile__list .menu-item.current-menu-item > a::before,
.ecc-mobile__list .menu-item.current_page_item > a::before {
	content: "";
	position: absolute;
	left: 4px; top: 16px; bottom: 16px;
	width: 3px;
	background: var(--teal);
	border-radius: 2px;
}

/* Submenu (children) — collapsed by default, expand toggle injected via JS */
.ecc-mobile__list .sub-menu {
	list-style: none;
	margin: 0 8px 4px;
	padding: 0 0 0 14px;
	display: flex;
	flex-direction: column;
	gap: 0;
	max-height: 0;
	overflow: hidden;
	border-left: 1px solid var(--line);
	transition: max-height .35s cubic-bezier(.2,.7,.2,1);
}
.ecc-mobile__list .menu-item.is-expanded > .sub-menu { max-height: 1200px; padding-top: 4px; padding-bottom: 6px; }
.ecc-mobile__list .sub-menu .menu-item > a {
	font-family: var(--sans);
	font-size: 1rem;
	padding: 10px 14px;
	color: var(--muted);
}
.ecc-mobile__list .sub-menu .menu-item > a:hover { color: var(--navy); }

.ecc-mobile__expand {
	position: absolute;
	right: 10px; top: 50%;
	transform: translateY(-50%);
	width: 36px; height: 36px;
	border-radius: 50%;
	border: 1px solid var(--line);
	background: transparent;
	color: var(--navy);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: transform .3s, background .25s;
}
.ecc-mobile__expand:hover { background: rgba(15,61,74,.06); }
.ecc-mobile__list .menu-item.is-expanded > .ecc-mobile__expand { transform: translateY(-50%) rotate(180deg); }

.ecc-mobile__cta {
	padding: 18px 22px 28px;
	display: flex;
	flex-direction: column;
	gap: .75rem;
	margin-top: auto;
	border-top: 1px solid var(--line);
	background: var(--ivory-2);
}
.btn--block { width: 100%; justify-content: center; }
.btn--outline {
	background: transparent;
	color: var(--navy);
	border: 1px solid var(--navy);
}
.btn--outline:hover { background: var(--navy); color: var(--ivory); }

/* ---------- 4b. AJAX LIVE SEARCH (inside mobile drawer + desktop dropdown) ---------- */
.screen-reader-text {
	position: absolute !important;
	clip: rect(1px,1px,1px,1px);
	width: 1px; height: 1px;
	overflow: hidden;
	word-wrap: normal;
}

.ecc-search {
	padding: 16px 18px;
}
/* When used inside the header dropdown panel, no bottom border */
.nav-search-panel .ecc-search { padding: 14px 16px 16px; }
.ecc-search__field {
	position: relative;
	display: flex;
	align-items: center;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 999px;
	padding: .65rem 1rem .65rem 2.6rem;
	transition: border-color .3s, box-shadow .3s;
}
.ecc-search__field:focus-within {
	border-color: var(--teal);
	box-shadow: 0 0 0 4px rgba(90,184,201,.14);
}
.ecc-search__field > svg:first-child {
	position: absolute;
	left: 1rem; top: 50%;
	transform: translateY(-50%);
	width: 18px; height: 18px;
	color: var(--muted);
	pointer-events: none;
}
.ecc-search__field input {
	flex: 1;
	border: 0;
	background: transparent;
	font-family: var(--sans);
	font-size: 1rem;
	color: var(--ink);
	outline: none;
	min-width: 0;
}
.ecc-search__field input::placeholder { color: var(--muted-light); }

.ecc-search__clear {
	width: 28px; height: 28px;
	border: 0;
	background: rgba(15,61,74,.08);
	color: var(--navy);
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	margin-left: .5rem;
}
.ecc-search__clear svg { width: 14px; height: 14px; }

.ecc-search__hint {
	font-size: .82rem;
	color: var(--muted);
	margin: .65rem .25rem 0;
}

.ecc-search__results {
	margin-top: 1rem;
	display: flex;
	flex-direction: column;
	gap: .5rem;
}
.ecc-search__result {
	display: flex;
	gap: .85rem;
	padding: .75rem;
	border-radius: 10px;
	background: var(--white);
	border: 1px solid var(--line);
	transition: border-color .25s, transform .25s, box-shadow .25s;
	color: var(--ink);
	text-decoration: none;
}
.ecc-search__result:hover,
.ecc-search__result.is-focused {
	border-color: var(--teal);
	transform: translateY(-1px);
	box-shadow: 0 8px 22px -16px rgba(15,61,74,.45);
}
.ecc-search__result-thumb {
	flex: 0 0 56px;
	width: 56px; height: 56px;
	border-radius: 8px;
	overflow: hidden;
	background: var(--ivory-2);
}
.ecc-search__result-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ecc-search__result-body { min-width: 0; flex: 1; }
.ecc-search__result-type {
	font-size: .7rem;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--teal);
	margin: 0 0 .15rem;
}
.ecc-search__result-title {
	font-family: var(--serif);
	font-size: 1.02rem;
	color: var(--navy);
	margin: 0 0 .15rem;
	line-height: 1.25;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}
.ecc-search__result-excerpt {
	font-size: .82rem;
	color: var(--muted);
	margin: 0;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}
.ecc-search__result mark {
	background: rgba(90,184,201,.28);
	color: inherit;
	padding: 0 2px;
	border-radius: 2px;
}
.ecc-search__empty {
	padding: 1rem;
	text-align: center;
	color: var(--muted);
	font-size: .9rem;
}
.ecc-search__loading {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: .55rem;
	padding: 1rem;
	color: var(--muted);
	font-size: .88rem;
}
.ecc-search__loading::before {
	content: "";
	width: 14px; height: 14px;
	border-radius: 50%;
	border: 2px solid var(--line);
	border-top-color: var(--teal);
	animation: ecc-spin .7s linear infinite;
}
@keyframes ecc-spin { to { transform: rotate(360deg); } }
.ecc-search__view-all {
	margin-top: .25rem;
	text-align: center;
	padding: .85rem;
	background: var(--navy);
	color: var(--ivory);
	border-radius: 10px;
	font-weight: 600;
	font-size: .9rem;
	letter-spacing: .02em;
	text-decoration: none;
	display: block;
}
.ecc-search__view-all:hover { background: var(--navy-3); }

/* Mobile drawer in search-only mode hides the nav until the user dismisses */
.ecc-mobile.is-search-mode .ecc-mobile__nav,
.ecc-mobile.is-search-mode .ecc-mobile__cta { display: none; }

@media (prefers-reduced-motion: reduce) {
	.ecc-mobile, .ecc-mobile__backdrop { transition: none !important; }
	.ecc-search__loading::before { animation: none !important; }
}

/* ---------- 5. HERO ---------- */
.hero {
	position: relative;
	min-height: 100svh;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.hero__bg { position: absolute; inset: 0; overflow: hidden; }
.hero__bg img,
.hero__bg video { width: 100%; height: 100%; object-fit: cover; object-position: 78% center; }
.hero__bg video { display: block; }

/* Poster — auto-derived from the YouTube/Vimeo thumbnail OR a manual upload.
   Sits at z-1 with object-fit:cover so it matches the iframe framing.
   Fades out once the iframe signals it has loaded. */
.hero__bg-poster {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
	z-index: 1;
	opacity: 1;
	transition: opacity .9s ease-out;
}
.hero__bg.is-iframe-ready .hero__bg-poster { opacity: 0; }

/* YouTube / Vimeo iframe — scale to fully cover the hero, cropping edges to
   maintain the 16:9 aspect of the source video without letterboxing.
   Starts invisible — JS reveals it once it has actually started playing. */
.hero__bg iframe {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 100vw;
	height: 56.25vw;        /* 100vw × 9/16 */
	min-height: 100svh;
	min-width: 177.78svh;   /* 100svh × 16/9 */
	transform: translate(-50%, -50%);
	border: 0;
	pointer-events: none;   /* visitors can't accidentally click the iframe */
	z-index: 2;
	opacity: 0;
	transition: opacity .6s ease-in;
}
.hero__bg.is-iframe-ready iframe { opacity: 1; }

/* While embed mode is on, give the section a darker fallback so the
   brief gap before the iframe initializes doesn't show ivory. */
.hero--embed .hero__bg { background: var(--navy-2); }

/* Mute / unmute toggle for hero video — sits bottom-left, below the badge area */
.hero__media-toggle {
	position: absolute;
	bottom: 1.5rem;
	right: 1.5rem;
	z-index: 4;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: rgba(15,61,74,.55);
	border: 1px solid rgba(255,255,255,.3);
	color: var(--ivory);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background .3s, transform .25s;
	backdrop-filter: blur(6px);
}
.hero__media-toggle:hover { background: rgba(15,61,74,.85); transform: scale(1.05); }
.hero__media-toggle svg { width: 18px; height: 18px; }
.hero__bg::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 3; /* sits above the iframe (z2) and the poster (z1) */
	background:
		/* Soft vertical fade so the top doesn't crash into the solid header */
		linear-gradient(180deg, rgba(8,16,26,.55) 0%, rgba(8,16,26,.15) 18%, rgba(8,16,26,.10) 60%, rgba(8,16,26,.55) 100%),
		/* Strong left-side darkening so headline + sub + CTAs are always readable */
		linear-gradient(95deg,
			rgba(8,16,26,.96) 0%,
			rgba(8,16,26,.86) 32%,
			rgba(8,16,26,.62) 58%,
			rgba(8,16,26,.55) 100%);
	pointer-events: none;
}

/* Video backgrounds bring variable brightness — push the darkening hard so
   the headline + subhead + CTAs read cleanly regardless of video frame.
   Reduced ~15% from previous tuning to let more of the video show through. */
.hero--video .hero__bg::after,
.hero--embed .hero__bg::after {
	background:
		/* Vertical: softer fade top & bottom */
		linear-gradient(180deg, rgba(0,0,0,.50) 0%, rgba(0,0,0,.30) 20%, rgba(0,0,0,.22) 60%, rgba(0,0,0,.50) 100%),
		/* Horizontal: dense-ish black on left where text sits, fades to ~28% on right */
		linear-gradient(95deg,
			rgba(0,0,0,.74) 0%,
			rgba(0,0,0,.66) 30%,
			rgba(0,0,0,.45) 60%,
			rgba(0,0,0,.28) 100%);
}


/* Text shadows on hero copy — stronger so they cut through any bright frame */
.hero h1,
.hero .hero__sub {
	text-shadow:
		0 2px 6px rgba(0,0,0,.6),
		0 4px 24px rgba(0,0,0,.55);
}
.hero--video h1,
.hero--video .hero__sub,
.hero--embed h1,
.hero--embed .hero__sub {
	text-shadow:
		0 2px 8px rgba(0,0,0,.85),
		0 6px 30px rgba(0,0,0,.75);
}
.hero .container {
	position: relative;
	z-index: 5; /* must sit above .hero__bg::after (z3) — otherwise the dark overlay paints OVER the headline */
	width: 100%;
	padding-top: 7rem;
	padding-bottom: 3rem;
}
.hero h1 {
	color: var(--ivory);
	font-size: clamp(3.1rem, 9vw, 7rem);
	font-weight: 400;
	max-width: 17ch;
	letter-spacing: -.02em;
	line-height: 1.02;
	text-shadow: 0 2px 30px rgba(0,0,0,.35);
}
.hero__sub {
	color: rgba(246,241,231,.88);
	max-width: 48ch;
	margin-top: 1.9rem;
	font-size: 1.18rem;
	line-height: 1.6;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.5rem; }

.hero__review {
	position: relative;
	z-index: 5;
	margin-top: 3rem;
	display: flex;
	gap: .85rem;
	align-items: center;
	background: rgba(246,241,231,.96);
	border-radius: var(--r);
	padding: .85rem 1.1rem;
	box-shadow: var(--shadow);
	max-width: 300px;
}
.hero__review img {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	object-fit: cover;
	flex: none;
}
.hero__review p { font-size: .84rem; line-height: 1.4; }
.hero__review strong {
	display: block;
	font-size: .74rem;
	color: var(--muted);
	font-weight: 500;
	margin-top: .2rem;
}
.stars { color: var(--gold); font-size: .7rem; letter-spacing: 1px; }
.hero__badge { display: none; }
.scroll-cue { display: none; }

@media (min-width: 960px) {
	.hero .container { padding-bottom: clamp(7rem, 12vh, 9rem); }
	.hero__review {
		position: absolute;
		left: var(--gutter);
		bottom: clamp(2.5rem, 6vh, 4rem);
		margin: 0;
	}
	.hero__badge {
		display: flex;
		position: absolute;
		right: var(--gutter);
		bottom: clamp(3.5rem, 7vh, 5rem);
		z-index: 5;
		width: 128px;
		height: 128px;
		border-radius: 50%;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		text-align: center;
		gap: .4rem;
		color: var(--ivory);
		background: rgba(14,27,43,.55);
		border: 1px solid var(--line-light);
		backdrop-filter: blur(6px);
	}
	.hero__badge svg { width: 26px; height: 26px; color: var(--gold-soft); }
	.hero__badge span {
		font-size: .66rem;
		letter-spacing: .16em;
		text-transform: uppercase;
		line-height: 1.4;
		max-width: 11ch;
	}
	.scroll-cue {
		display: flex;
		position: absolute;
		left: 50%;
		transform: translateX(-50%);
		bottom: 1.8rem;
		z-index: 5;
		width: 30px;
		height: 48px;
		border: 1.5px solid rgba(246,241,231,.55);
		border-radius: 16px;
		justify-content: center;
		padding-top: 8px;
		/* Subtle dark backdrop so the cue reads as its own button and the
		   video doesn't appear "behind" it as a separate scene */
		background: rgba(8,16,26,.45);
		backdrop-filter: blur(6px);
		cursor: pointer;
		text-decoration: none;
		transition: transform .25s var(--ease), background .25s, border-color .25s;
	}
	.scroll-cue:hover {
		transform: translate(-50%, -3px);
		background: rgba(8,16,26,.65);
		border-color: rgba(246,241,231,.8);
	}
	.scroll-cue::before {
		content: "";
		width: 3px;
		height: 8px;
		border-radius: 2px;
		background: var(--ivory);
		animation: scrolldot 1.8s ease-in-out infinite;
	}
}
@keyframes scrolldot {
	0% { opacity: 0; transform: translateY(-3px); }
	40% { opacity: 1; }
	80% { opacity: 0; transform: translateY(9px); }
	100% { opacity: 0; }
}

/* ---------- 6. SECTION SHELLS ---------- */
section { padding-block: var(--section); }
.bg-ivory { background: var(--ivory); }
.bg-ivory-2 { background: var(--ivory-2); }
.dark { background: var(--navy-2); color: var(--ivory); }
.dark h2, .dark h3 { color: var(--ivory); }
.lead { color: var(--muted); font-size: 1.08rem; max-width: 46ch; }
.dark .lead { color: rgba(246,241,231,.78); }

/* ---------- 7. BRAND PROMISE ---------- */
.promise .container { display: grid; gap: 1.6rem; }
.promise h2 { font-size: clamp(2.7rem, 6.4vw, 5.2rem); max-width: none; line-height: 1.03; }
.promise__copy { display: flex; flex-direction: column; gap: 1.8rem; max-width: 54ch; }
.promise__copy .lead { font-size: 1.2rem; line-height: 1.7; color: var(--ink); max-width: none; }
.promise__signature {
	display: flex;
	align-items: center;
	gap: 1.1rem;
	margin-top: .6rem;
	align-self: flex-start;
}
.promise__signature::before { content: ""; width: 54px; height: 1px; background: var(--gold); }
.promise__signature .script { font-size: 1.7rem; color: var(--navy); }
.promise__copy .script { align-self: flex-start; }
@media (min-width: 900px) {
	.promise .container {
		grid-template-columns: 1.25fr .75fr;
		gap: clamp(3rem, 7vw, 6rem) clamp(2rem, 5vw, 4rem);
		align-items: start;
	}
	.promise .eyebrow { grid-column: 1 / -1; }
}

/* ---------- 8. FEATURED SAILINGS ---------- */
.featured .head {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 1rem;
	flex-wrap: wrap;
	margin-bottom: 2.8rem;
}
.featured .head h2 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); line-height: 1.04; }
.feature { position: relative; margin-bottom: 1.5rem; }
.feature__img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r); }
.feature__card {
	background: var(--white);
	border-radius: var(--r);
	padding: 2.2rem;
	box-shadow:
		0 40px 80px -32px rgba(14,27,43,.55),
		0 12px 24px -16px rgba(14,27,43,.25);
	margin: -3rem 1rem 0;
	position: relative;
	z-index: 2;
}
.feature__grid {
	display: flex;
	flex-direction: column;
	margin-bottom: 1.6rem;
	border-top: 1px solid var(--line);
}
.feature__grid > div {
	display: flex;
	flex-direction: column;
	gap: .3rem;
	padding: .95rem 0;
	border-bottom: 1px solid var(--line);
}
.feature__grid .k {
	font-size: .7rem;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--muted);
	margin: 0;
}
.feature__grid .v { font-family: var(--serif); font-size: 1.12rem; text-align: left; }
@media (min-width: 520px) {
	.feature__grid > div {
		flex-direction: row;
		justify-content: space-between;
		align-items: baseline;
		gap: 1rem;
	}
	.feature__grid .v { text-align: right; }
}
.feature__card p {
	color: var(--muted);
	font-size: .98rem;
	margin-bottom: 1.5rem;
	line-height: 1.6;
}
/* Destination strip — force both images to identical height even when columns differ in width.
   Wrap each img in a fixed-height cell, then stretch the img to fill it. */
.dest {
	display: grid;
	gap: 1.2rem;
	grid-template-columns: 1fr;
	grid-auto-rows: clamp(260px, 38vw, 360px);
}
.dest img,
.dest > a,
.dest > figure {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: var(--r);
	overflow: hidden;
	display: block;
	transition: transform .6s var(--ease);
}
.dest > * { overflow: hidden; border-radius: var(--r); }
.dest > *:hover img { transform: scale(1.04); }
@media (min-width: 760px) {
	.dest {
		grid-template-columns: 1.15fr .85fr;
		grid-auto-rows: clamp(300px, 32vw, 420px);
	}
	.feature__img img { aspect-ratio: 21 / 9; }
}
@media (min-width: 1024px) {
	.feature { margin-bottom: 4.5rem; padding-right: clamp(0px, 3vw, 2rem); }
	.feature__img img { aspect-ratio: 16 / 8; }
	.feature__card { position: absolute; right: 0; bottom: -4.5rem; width: 460px; margin: 0; }
}

/* ---------- 9. QUOTE BREAK ---------- */
.quote-break { text-align: center; padding-block: clamp(5rem, 11vw, 10rem); }
.quote-break .eyebrow { margin-bottom: 2rem; }
.quote-break p {
	font-family: var(--serif);
	font-size: clamp(1.8rem, 4.2vw, 3.1rem);
	line-height: 1.22;
	max-width: 18ch;
	margin-inline: auto;
	color: var(--navy);
}

/* ---------- 10. COACH TO CRUISE ---------- */
.coach {
	position: relative;
	overflow: hidden;
	min-height: 90vh;
	display: flex;
	align-items: center;
	color: var(--ivory);
	padding-block: clamp(6rem, 11vw, 9rem);
}
.coach__bg { position: absolute; inset: 0; }
.coach__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); }
.coach__bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(95deg,
		rgba(8,16,26,.96) 0%,
		rgba(8,16,26,.78) 50%,
		rgba(8,16,26,.5) 100%);
}
.coach::after {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(120% 80% at 0% 50%, rgba(14,27,43,.5), transparent 70%);
	pointer-events: none;
	z-index: 1;
}
.coach .container {
	position: relative;
	z-index: 2;
	display: grid;
	gap: 2.5rem;
}
.coach__text { max-width: 54rem; }
.coach__text h2 {
	color: var(--ivory);
	font-size: clamp(2.2rem, 4.6vw, 3.6rem);
	margin: 1rem 0 1.5rem;
	line-height: 1.08;
	max-width: 22ch; /* gives the line enough horizontal room to stay ≤3 lines */
}
.coach__text p {
	color: rgba(246,241,231,.85);
	margin-bottom: 2rem;
	font-size: 1.1rem;
	line-height: 1.65;
	max-width: 42ch;
}
/* Coach Journey Timeline — sleek vertical rail with soft step pills.
   The rail is a single continuous line that runs through every step;
   each step has a small filled dot and a teal halo on hover. */
.timeline {
	background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(246,241,231,.96));
	color: var(--ink);
	border-radius: 18px;
	padding: 2.25rem 2.25rem 2rem;
	box-shadow: 0 50px 120px -40px rgba(0,0,0,.55);
	align-self: center;
	max-width: 420px;
	backdrop-filter: blur(6px);
	border: 1px solid rgba(255,255,255,.6);
}
.timeline h3 {
	font-family: var(--serif);
	font-size: 1.45rem;
	margin: 0 0 1.6rem;
	color: var(--navy);
	letter-spacing: -.01em;
}
.timeline ol {
	list-style: none;
	margin: 0;
	padding: 0 0 0 1.5rem;
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	position: relative;
}
/* Single continuous rail through every step */
.timeline ol::before {
	content: "";
	position: absolute;
	left: 5px;
	top: 8px;
	bottom: 8px;
	width: 2px;
	background: linear-gradient(180deg, var(--teal-soft), var(--teal) 30%, var(--teal) 70%, var(--teal-soft));
	border-radius: 2px;
	opacity: .65;
}
.timeline li {
	display: flex;
	gap: .9rem;
	align-items: center;
	font-size: 1rem;
	color: var(--navy);
	position: relative;
	padding-left: .25rem;
}
.timeline li::before {
	content: "";
	position: absolute;
	left: -1.5rem;
	top: 50%;
	transform: translate(.5px, -50%);
	width: 11px;
	height: 11px;
	border-radius: 50%;
	background: var(--white);
	border: 2px solid var(--teal);
	box-shadow: 0 0 0 3px var(--ivory);
	transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .25s;
}
.timeline li:hover::before {
	background: var(--teal);
	box-shadow: 0 0 0 4px rgba(90,184,201,.22);
	transform: translate(.5px, -50%) scale(1.1);
}
/* The step's own count, set via inline counter — replaces the old .dot circle */
.timeline ol { counter-reset: ecc-step; }
.timeline li { counter-increment: ecc-step; }

/* Keep .dot working as a visible step number — but redesign to a soft pill */
.dot {
	flex: none;
	display: none; /* hidden — rail-dot replaces it */
}
.timeline li > .dot + * { margin-left: 0; }

/* Step label */
.timeline li > *:not(.dot) {
	font-family: var(--sans);
	font-weight: 500;
	letter-spacing: -.005em;
}
@media (min-width: 1024px) {
	.coach .container {
		grid-template-columns: 1fr auto;
		gap: clamp(2rem, 6vw, 6rem);
		align-items: center;
	}
}

/* ---------- 11. HOSTED GROUP ---------- */
.hosted .container { display: grid; gap: 3rem; align-items: center; }
.hosted h2 {
	font-size: clamp(2.2rem, 4.7vw, 3.4rem);
	margin: 1rem 0 1.8rem;
	max-width: none;
	line-height: 1.06;
}
.checklist {
	list-style: none;
	margin: 0 0 2.2rem;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}
.checklist li {
	display: flex;
	gap: .85rem;
	align-items: flex-start;
	color: var(--ink);
	font-size: 1.05rem;
}
.checklist svg { flex: none; width: 22px; height: 22px; color: var(--gold); margin-top: 3px; }
.collage { position: relative; padding-bottom: 2rem; }
.collage__main img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: var(--r);
	box-shadow: 0 40px 80px -32px rgba(14,27,43,.45);
}
.polaroid {
	background: #fff;
	padding: .7rem .7rem 2rem;
	box-shadow: 0 30px 60px -22px rgba(14,27,43,.5);
	border-radius: 2px;
}
.polaroid img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.polaroid figcaption {
	font-family: var(--script);
	font-size: 1.3rem;
	text-align: center;
	color: var(--navy);
	margin-top: .5rem;
}
.collage .polaroid { margin: 1rem auto 0; max-width: 240px; }
@media (min-width: 760px) {
	.collage { padding-bottom: 5rem; padding-top: 1rem; }
	.collage .polaroid { position: absolute; margin: 0; width: 260px; }
	.collage .p1 { right: -2.5rem; bottom: -1rem; transform: rotate(7deg); z-index: 2; }
	.collage .p2 { left: -2.5rem; bottom: 5rem; transform: rotate(-9deg); z-index: 3; }
}
@media (min-width: 960px) {
	.hosted .container { grid-template-columns: 1fr 1fr; gap: clamp(3rem, 7vw, 7rem); }
}

/* ---------- 12. LUXURY COLLECTION ---------- */
.luxury {
	position: relative;
	overflow: hidden;
	text-align: center;
	min-height: 65vh;
	display: flex;
	align-items: center;
	padding-block: clamp(7rem, 12vw, 11rem);
}
.luxury__bg { position: absolute; inset: 0; }
.luxury__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .28; transform: scale(1.06); }
.luxury__bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(120% 110% at 50% 0%, rgba(14,27,43,.35), var(--navy-2) 75%);
}
.luxury .container {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2.4rem;
}
.luxury h2 {
	color: var(--ivory);
	font-size: clamp(3rem, 7vw, 5.8rem);
	max-width: 18ch;
	line-height: 1.02;
}
.luxury .lead {
	color: rgba(246,241,231,.78);
	max-width: 52ch;
	text-align: center;
	font-size: 1.1rem;
}
.tags {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: .7rem;
	max-width: 48rem;
	margin-top: .4rem;
}
.tag {
	font-size: .85rem;
	letter-spacing: .04em;
	color: rgba(246,241,231,.85);
	border: 1px solid var(--line-light);
	border-radius: 999px;
	padding: .55em 1.2em;
}
.luxury .btn { margin-top: 1rem; }

/* ---------- 13. FOUNDERS ---------- */
.founder .container { display: grid; gap: 3rem; align-items: center; }
.founder__media {
	position: relative;
	padding-bottom: 2.5rem; /* mobile fallback — polaroid sits below */
}
.founder__media > img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	border-radius: var(--r);
	box-shadow: var(--shadow-soft);
	display: block;
}
.founder__name {
	font-family: var(--serif);
	font-size: 1.4rem;
	margin-bottom: 1rem;
}
.founder__polaroid {
	background: #fff;
	padding: .6rem .6rem 1.6rem;
	box-shadow: 0 28px 60px -18px rgba(15,61,74,.4);
	border-radius: 2px;
	max-width: 220px;
	margin: 1.25rem auto 0;
	transform: rotate(-3deg);
}
.founder__polaroid img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.founder__polaroid figcaption {
	font-family: var(--script);
	text-align: center;
	color: var(--navy);
	font-size: 1.1rem;
	margin-top: .3rem;
}
.founder h2 {
	font-size: clamp(2.7rem, 5.8vw, 4.6rem);
	margin: 1rem 0 1.6rem;
	max-width: 13ch;
	line-height: 1.02;
}
.founder p.lead { margin-bottom: 1.8rem; font-size: 1.1rem; max-width: 52ch; }
.pullquote {
	font-family: var(--serif);
	font-style: italic;
	font-size: 1.55rem;
	line-height: 1.42;
	color: var(--navy);
	border-left: 2px solid var(--gold);
	padding-left: 1.4rem;
	margin: 0 0 2.2rem;
	max-width: 36ch;
}
.founder-timeline {
	list-style: none;
	margin: 0 0 2.2rem;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	border-left: 1px solid var(--line);
	padding-left: 1.6rem;
	position: relative;
}
.founder-timeline li {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 1.2rem;
	align-items: baseline;
	font-size: 1rem;
	position: relative;
}
.founder-timeline li::before {
	content: "";
	position: absolute;
	left: -1.7rem;
	top: .55em;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--gold);
	box-shadow: 0 0 0 4px var(--ivory);
}
.founder-timeline .year {
	font-family: var(--serif);
	font-size: 1.1rem;
	color: var(--navy);
	font-weight: 500;
	letter-spacing: .01em;
}
.founder-timeline .event { color: var(--muted); }
.founder-signature {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin: 1rem 0 2rem;
}
.founder-signature::before { content: ""; width: 48px; height: 1px; background: var(--gold); }
.founder-signature .script { font-size: 1.8rem; color: var(--navy); }
.founder__cta { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
@media (min-width: 760px) {
	.founder__media {
		padding: 0 0 3rem 3rem; /* room for the overlapping polaroid bottom-left */
	}
	.founder__name { padding-left: 3rem; }
	.founder__media > img { aspect-ratio: 3 / 4; }
	/* Overlap the bottom-left corner of the main portrait */
	.founder__polaroid {
		position: absolute;
		left: 0;
		bottom: 0;
		margin: 0;
		max-width: 230px;
		z-index: 3;
		transform: rotate(-4deg);
		transition: transform .4s var(--ease), box-shadow .4s var(--ease);
	}
	.founder__polaroid:hover {
		transform: rotate(-2deg) translateY(-4px);
		box-shadow: 0 36px 80px -18px rgba(15,61,74,.5);
	}
}
@media (min-width: 960px) {
	.founder .container { grid-template-columns: .85fr 1.15fr; gap: clamp(3rem, 7vw, 6rem); }
}

/* ---------- 14. REVIEWS — testimonials carousel over a bg image ----------
   Atmospheric ocean photo sits behind. Modern multi-stop gradient overlay
   in the ocean palette. Fade-carousel cycles real Google reviews. */
.reviews {
	position: relative;
	padding-block: clamp(5.5rem, 10vw, 9.5rem);
	color: var(--ivory);
	overflow: hidden;
	isolation: isolate;
	text-align: center;
}
.reviews .container { position: relative; z-index: 2; }

/* Background image layer */
.reviews__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
}
.reviews__bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
	filter: brightness(.65) saturate(1.05);
}

/* Modern multi-stop gradient sitting over the bg image — pulls the section
   into the ocean palette while letting the photo show through. */
.reviews::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background:
		radial-gradient(ellipse 70% 50% at 20% 15%, rgba(111,197,215,.20), transparent 55%),
		radial-gradient(ellipse 60% 45% at 80% 85%, rgba(111,197,215,.14), transparent 55%),
		radial-gradient(ellipse 80% 60% at 50% 50%, rgba(13,53,67,.55), transparent 75%),
		linear-gradient(160deg, rgba(10,42,54,.88) 0%, rgba(15,61,74,.78) 45%, rgba(13,53,67,.92) 100%);
	pointer-events: none;
}

/* Animated mesh — slow drifting glow across the bg */
.reviews::after {
	content: "";
	position: absolute;
	inset: -20%;
	z-index: 1;
	background:
		radial-gradient(circle at 30% 40%, rgba(111,197,215,.10), transparent 25%),
		radial-gradient(circle at 70% 60%, rgba(164,220,232,.08), transparent 25%);
	animation: ecc-reviews-glow 18s ease-in-out infinite;
	pointer-events: none;
}
@keyframes ecc-reviews-glow {
	0%, 100% { transform: scale(1) translate(0,0); opacity: .85; }
	50%      { transform: scale(1.15) translate(-2%, 2%); opacity: 1; }
}

/* Section heading */
.reviews__head {
	max-width: 720px;
	margin: 0 auto clamp(3rem, 5vw, 4.5rem);
}
.reviews__head .eyebrow {
	color: var(--gold);
	justify-content: center;
}
.reviews__head .eyebrow::before { background: var(--gold); }
.reviews h2 {
	color: var(--ivory);
	font-size: clamp(2.1rem, 4vw, 3.4rem);
	margin: 1rem auto 0;
	line-height: 1.12;
	max-width: 22ch;
	letter-spacing: -.012em;
}
.reviews__summary {
	color: rgba(246,241,231,.65);
	font-size: .82rem;
	font-weight: 500;
	letter-spacing: .18em;
	text-transform: uppercase;
	margin-top: 1.4rem;
}

/* Carousel container — viewport + nav */
.reviews-carousel {
	max-width: 880px;
	margin: 0 auto;
	position: relative;
}
.reviews-carousel:focus { outline: none; }

/* Slides live on top of each other; only .is-active is shown. Container
   sizes to the tallest slide via `display: grid` + auto-fit. */
.reviews-carousel__viewport {
	position: relative;
	display: grid;
	grid-template-columns: 1fr;
}
.reviews-carousel__viewport > .testimonial {
	grid-column: 1;
	grid-row: 1;
}

.testimonial {
	opacity: 0;
	visibility: hidden;
	transform: translateY(20px);
	transition:
		opacity .65s var(--ease),
		transform .65s var(--ease),
		visibility .65s;
	padding-inline: clamp(1rem, 4vw, 3rem);
	pointer-events: none;
}
.testimonial.is-active {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	pointer-events: auto;
}

.testimonial__stars {
	color: var(--gold);
	font-size: 1.15rem;
	letter-spacing: 5px;
	margin-bottom: 1.6rem;
}
.testimonial__stars-empty { opacity: .25; }

.testimonial__quote {
	font-family: var(--sans);
	font-size: clamp(1.1rem, 1.8vw, 1.35rem);
	line-height: 1.65;
	color: var(--ivory);
	font-weight: 400;
	max-width: 58ch;
	margin: 0 auto;
	letter-spacing: 0;
	font-style: normal;
	position: relative;
}
.testimonial__quote-mark {
	display: block;
	font-family: var(--serif);
	font-size: clamp(4rem, 7vw, 6rem);
	color: var(--gold);
	opacity: .25;
	line-height: 0.5;
	margin: 0 auto .25rem;
	font-style: normal;
}

.testimonial__attr {
	display: inline-flex;
	align-items: center;
	gap: 1rem;
	margin-top: 2.2rem;
}
.testimonial__avatar {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--gold) 0%, var(--gold-soft) 100%);
	display: grid;
	place-items: center;
	color: var(--navy);
	font-family: var(--serif);
	font-weight: 600;
	font-size: 1.05rem;
	letter-spacing: -.01em;
	flex-shrink: 0;
	box-shadow: 0 6px 18px -8px rgba(111,197,215,.65);
}
.testimonial__avatar--img {
	object-fit: cover;
	background: none;
	box-shadow: 0 6px 18px -8px rgba(0,0,0,.4);
}
.testimonial__attr-text { text-align: left; }
.testimonial__name {
	font-family: var(--serif);
	font-size: 1.05rem;
	color: var(--ivory);
	margin: 0;
	line-height: 1.2;
}
.testimonial__location {
	display: inline-flex;
	align-items: center;
	gap: .35rem;
	font-size: .78rem;
	color: rgba(246,241,231,.6);
	letter-spacing: .05em;
	margin: .25rem 0 0;
}
.testimonial__src-icon { color: var(--gold); flex-shrink: 0; }

/* Navigation row — prev arrow, dot indicators, next arrow */
.reviews-carousel__nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: clamp(1rem, 3vw, 1.75rem);
	margin-top: clamp(2.5rem, 5vw, 3.5rem);
}
.reviews-carousel__arrow {
	width: 54px;
	height: 54px;
	border-radius: 50%;
	border: 1px solid rgba(255,255,255,.22);
	background: rgba(255,255,255,.05);
	color: var(--ivory);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	backdrop-filter: blur(8px);
	transition: background .3s, border-color .3s, color .25s, transform .25s var(--ease);
}
.reviews-carousel__arrow:hover {
	background: var(--gold);
	color: var(--navy);
	border-color: var(--gold);
	transform: translateY(-2px);
}
.reviews-carousel__arrow:active { transform: translateY(-1px); }
.reviews-carousel__arrow svg { width: 20px; height: 20px; }

.reviews-carousel__dots {
	display: flex;
	gap: .55rem;
	align-items: center;
}
.reviews-carousel__dots button {
	width: 30px;
	height: 4px;
	border-radius: 2px;
	background: rgba(255,255,255,.22);
	border: 0;
	cursor: pointer;
	padding: 0;
	transition: background .35s var(--ease), width .35s var(--ease);
}
.reviews-carousel__dots button:hover { background: rgba(255,255,255,.45); }
.reviews-carousel__dots button.is-active {
	background: var(--gold);
	width: 56px;
}

.reviews__cta {
	margin-top: clamp(2.5rem, 5vw, 3.5rem);
}

@media (prefers-reduced-motion: reduce) {
	.reviews::after { animation: none !important; }
	.testimonial { transition: none !important; }
}

/* ---------- 15. AWARDS — editorial / magazine-style recognition ----------
   No more glass cards. Big serif metric numbers anchor each award; hairline
   vertical dividers separate the columns. Animated mesh gradient backdrop
   provides depth without container chrome. */
.awards {
	padding-block: clamp(5rem, 9vw, 8rem);
	background:
		radial-gradient(ellipse 80% 60% at 20% 20%, rgba(111,197,215,.16), transparent 60%),
		radial-gradient(ellipse 60% 50% at 80% 80%, rgba(111,197,215,.10), transparent 60%),
		radial-gradient(ellipse 50% 70% at 50% 100%, rgba(45,90,110,.40), transparent 70%),
		linear-gradient(160deg, var(--navy-2) 0%, var(--navy) 50%, #0d3543 100%);
	color: var(--ivory);
	position: relative;
	overflow: hidden;
	isolation: isolate;
}

/* Animated soft mesh — slowly drifting glows, no harsh motion */
.awards::after {
	content: "";
	position: absolute;
	inset: -25%;
	background:
		radial-gradient(circle at 28% 38%, rgba(111,197,215,.10), transparent 25%),
		radial-gradient(circle at 72% 62%, rgba(111,197,215,.08), transparent 25%),
		radial-gradient(circle at 50% 50%, rgba(164,220,232,.05), transparent 35%);
	animation: ecc-awards-glow 16s ease-in-out infinite;
	z-index: -1;
	pointer-events: none;
}
@keyframes ecc-awards-glow {
	0%, 100% { transform: scale(1) translate(0, 0); opacity: .85; }
	50%      { transform: scale(1.18) translate(2%, -2%); opacity: 1; }
}

.awards .container { padding-inline: var(--gutter); position: relative; z-index: 1; }
.awards__head {
	text-align: center;
	max-width: 720px;
	margin: 0 auto clamp(3rem, 5vw, 4.5rem);
}
.awards .eyebrow {
	color: var(--gold);
	justify-content: center;
}
.awards .eyebrow::before { background: var(--gold); }
.awards h2 {
	color: var(--ivory);
	font-size: clamp(1.95rem, 3.6vw, 2.9rem);
	max-width: 22ch;
	margin: 1rem auto 0;
	line-height: 1.15;
	letter-spacing: -.01em;
}

/* Award list — flex row of editorial columns, hairline dividers between */
.award-list {
	display: flex;
	justify-content: space-between;
	align-items: stretch;
	gap: 0;
	max-width: 980px;
	margin: 0 auto;
	position: relative;
}

/* Each award is a column — no box, no border, no background. Just type + icon. */
.award {
	flex: 1 1 0;
	min-width: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.1rem;
	padding: 1rem 1.5rem;
	background: none;
	border: 0;
	border-radius: 0;
	text-align: center;
	position: relative;
	min-height: auto;
	transition: transform .45s var(--ease);
	overflow: visible;
	backdrop-filter: none;
}

/* Hairline vertical divider between columns — soft glow gradient */
.award:not(:last-child)::after {
	content: "";
	position: absolute;
	right: 0;
	top: 10%;
	bottom: 10%;
	width: 1px;
	background: linear-gradient(180deg, transparent, rgba(111,197,215,.35) 30%, rgba(111,197,215,.35) 70%, transparent);
	pointer-events: none;
}

/* Subtle hover lift on the whole column */
@media (hover: hover) {
	.award:hover { transform: translateY(-4px); }
	.award:hover .award__badge { transform: translateY(-2px) scale(1.06); opacity: 1; }
	.award:hover .award__meta { letter-spacing: -.015em; }
}

/* Icon — small accent, no badge box; subtle glow on hover */
.award__badge {
	width: 44px;
	height: 44px;
	display: grid;
	place-items: center;
	background: none;
	border: 0;
	box-shadow: none;
	margin: 0;
	opacity: .8;
	transition: transform .5s var(--ease), opacity .35s var(--ease), filter .35s var(--ease);
}
.award__badge svg {
	width: 100%;
	height: 100%;
	color: var(--gold);
	stroke-width: 1.3;
}
@media (hover: hover) {
	.award:hover .award__badge { filter: drop-shadow(0 0 14px rgba(111,197,215,.45)); }
}

/* BIG metric — the year or score in display serif, gradient-text fill.
   This is the visual anchor of each award. */
.award__meta {
	display: block;
	font-family: var(--serif);
	font-size: clamp(2.8rem, 5vw, 4.2rem);
	font-weight: 400;
	line-height: 1;
	letter-spacing: -.025em;
	margin: 0;
	padding: 0;
	border: 0;
	text-transform: none;
	background: linear-gradient(180deg, var(--ivory) 0%, var(--gold-soft) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
	transition: letter-spacing .35s var(--ease);
}

/* Supporting title — sans-serif, set in caps for editorial feel */
.award__title {
	font-family: var(--sans);
	font-size: .76rem;
	font-weight: 600;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: rgba(246,241,231,.70);
	line-height: 1.5;
	margin: 0;
	max-width: 18ch;
}

/* ---------- Mobile carousel — horizontal scroll-snap ---------- */
@media (max-width: 768px) {
	.awards .container { padding-inline: 0; }
	.awards__head { padding-inline: var(--gutter); }
	.award-list {
		display: flex;
		justify-content: flex-start;
		gap: 0;
		overflow-x: auto;
		overflow-y: visible;
		scroll-snap-type: x mandatory;
		scroll-padding-inline: var(--gutter);
		padding: .5rem 0 1.5rem;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
		max-width: none;
	}
	.award-list::-webkit-scrollbar { display: none; }
	.award {
		flex: 0 0 70%;
		max-width: 280px;
		scroll-snap-align: center;
		padding: 1.5rem 1.5rem;
	}
	/* Divider tweaked for the carousel — appears between snap points */
	.award:not(:last-child)::after {
		top: 18%;
		bottom: 18%;
	}
	/* Reveal-stagger override — children must be visible immediately */
	.award-list.reveal-stagger > * { opacity: 1; transform: none; }
}

/* ---------- 16. TRAVEL RESOURCES ---------- */
.resources .head { margin-bottom: 3.2rem; }
.resources .head h2 {
	font-size: clamp(2.5rem, 5.4vw, 4.2rem);
	margin-top: .8rem;
	line-height: 1.03;
}
.res-grid { display: grid; gap: 2.5rem; }

/* Featured article — image at the top (full bleed), then a content block
   with proper padding around it so the eyebrow / title / excerpt / link
   breathe and feel like a designed content area, not edge-flush text. */
.res-feature {
	display: grid;
	gap: 1.5rem;
	align-content: start;
	align-items: start;
	grid-auto-rows: max-content;
}
.res-feature img {
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	border-radius: var(--r);
	margin: 0 0 .5rem;
	align-self: start;
}
/* Apply padding to every direct child EXCEPT the image — image stays
   full-bleed, the text content sits slightly inset and the card has
   bottom padding for visual closure. */
.res-feature > :not(img) {
	padding-inline: clamp(.5rem, 2vw, 1.5rem);
}
.res-feature > .read-link {
	padding-bottom: 1.25rem;
}
.res-cat {
	font-size: .72rem;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--gold);
	font-weight: 600;
	margin: 0;
}
.res-feature h3 {
	font-size: clamp(1.9rem, 3.4vw, 2.7rem);
	margin: 0;
	line-height: 1.1;
	max-width: 18ch;
}
.res-feature p {
	color: var(--muted);
	max-width: 54ch;
	margin: 0;
	font-size: 1.04rem;
	line-height: 1.65;
}
.res-feature .read-link { margin-top: .35rem; }

.res-side { display: grid; gap: 2.5rem; align-content: start; }
.res-card {
	display: grid;
	gap: 1.25rem;
	align-content: start;
	align-items: start;
	grid-auto-rows: max-content;
}
.res-card img {
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	border-radius: var(--r);
	align-self: start;
	margin: 0 0 .25rem;
}
.res-card > div {
	display: grid;
	gap: .55rem;
	padding-inline: clamp(.5rem, 2vw, 1.25rem);
	padding-bottom: 1rem;
}
.res-card h3 { font-size: 1.4rem; margin: 0; line-height: 1.2; }
.read-link {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	font-weight: 600;
	font-size: .92rem;
	color: var(--navy);
}
.read-link svg { width: 1em; height: 1em; transition: transform .3s; }
.read-link:hover svg { transform: translateX(3px); }
@media (min-width: 900px) {
	.res-grid { grid-template-columns: 1.5fr 1fr; gap: clamp(3rem, 5.5vw, 5rem); }
}

/* ---------- 17. NEWSLETTER ---------- */
.newsletter {
	position: relative;
	overflow: hidden;
	text-align: center;
	color: var(--ivory);
}
.newsletter__bg { position: absolute; inset: 0; }
.newsletter__bg img { width: 100%; height: 100%; object-fit: cover; }
.newsletter__bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(8,16,26,.82), rgba(8,16,26,.9));
}
.newsletter .container {
	position: relative;
	z-index: 2;
	max-width: 980px;
	padding-block: clamp(3rem, 7vw, 5rem);
}
.newsletter h2 {
	color: var(--ivory);
	font-size: clamp(2.4rem, 5.4vw, 4rem);
	margin: 1.4rem 0 1.2rem;
	line-height: 1.04;
}
.newsletter p {
	color: rgba(246,241,231,.85);
	margin-bottom: 2.6rem;
	font-size: 1.08rem;
}
.subscribe {
	display: flex;
	gap: .85rem;
	flex-wrap: wrap;
	justify-content: center;
	max-width: 760px;
	margin: 0 auto;
}
.subscribe input,
.subscribe input[type="text"],
.subscribe input[type="email"] {
	flex: 1 1 260px;
	min-width: 0;
	padding: 1.1em 1.4em;
	border-radius: 999px;
	border: 1px solid var(--line-light);
	background: rgba(246,241,231,.08);
	color: var(--ivory);
	font: inherit;
}
.subscribe input::placeholder { color: rgba(246,241,231,.55); }
.subscribe input:focus { outline: none; border-color: var(--gold-soft); }

/* ---------- 18. FINAL CTA ---------- */
.final { padding-block: clamp(5.5rem, 10vw, 9.5rem); }
.final .container { display: grid; gap: 3rem; align-items: start; }
.final h2 {
	font-size: clamp(2.7rem, 5.6vw, 4.6rem);
	margin: 1rem 0 1.6rem;
	max-width: 14ch;
	line-height: 1.02;
}
.final p.lead { margin-bottom: 2rem; font-size: 1.12rem; max-width: 46ch; }
.final .signature {
	font-family: var(--script);
	font-size: 2.2rem;
	color: var(--navy);
	margin-top: .5rem;
}
.inquiry {
	background: var(--white);
	border-radius: var(--r);
	padding: clamp(2.2rem, 3.5vw, 3.4rem);
	box-shadow:
		0 60px 120px -40px rgba(14,27,43,.55),
		0 16px 40px -20px rgba(14,27,43,.25);
	border: 1px solid rgba(27,38,48,.06);
}
.inquiry h3 { font-size: 1.55rem; margin-bottom: .4rem; }
.inquiry__intro {
	font-size: .95rem;
	color: var(--muted);
	margin-bottom: 1.8rem;
}
.field {
	display: flex;
	flex-direction: column;
	gap: .4rem;
	margin-bottom: 1.3rem;
}
.field label {
	font-size: .74rem;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--muted);
}
.field input,
.field textarea {
	padding: .95em 1.1em;
	border: 1px solid var(--line);
	border-radius: var(--r-btn);
	font: inherit;
	background: var(--ivory);
	color: var(--ink);
	transition: border-color .25s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus,
.field textarea:focus { outline: none; border-color: var(--navy); }
.inquiry .btn { width: 100%; justify-content: center; padding-block: 1.05em; }
.inquiry .note {
	font-size: .74rem;
	color: var(--muted);
	text-align: center;
	margin-top: 1rem;
}
@media (min-width: 900px) {
	.final .container { grid-template-columns: .9fr 1.1fr; gap: clamp(3rem, 6vw, 5.5rem); }
}

/* ---------- 19. FOOTER ---------- */
.footer {
	background: var(--navy-2);
	color: rgba(246,241,231,.72);
	padding-block: clamp(3.5rem, 7vw, 6rem) 2rem;
}
.footer__top {
	display: grid;
	gap: 2.5rem;
	padding-bottom: 3rem;
	border-bottom: 1px solid var(--line-light);
}
.footer__brand .brand { color: var(--ivory); display: inline-block; margin-bottom: 1rem; }
.footer__brand p { max-width: 34ch; font-size: .92rem; }
.footer__cols { display: grid; gap: 2rem; grid-template-columns: 1fr 1fr; }
.footer h4 {
	font-family: var(--sans);
	font-size: .74rem;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--gold-soft);
	margin: 0 0 1rem;
	font-weight: 600;
}
.footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: .7rem;
}
.footer a:hover { color: var(--ivory); }
.footer__bottom {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	justify-content: space-between;
	align-items: center;
	padding-top: 2rem;
	font-size: .82rem;
}
.socials { display: flex; gap: .8rem; }
.socials a {
	width: 36px;
	height: 36px;
	border: 1px solid var(--line-light);
	border-radius: 50%;
	display: grid;
	place-items: center;
	transition: background .3s, color .3s;
}
.socials a:hover { background: var(--ivory); color: var(--navy); }
.socials svg { width: 16px; height: 16px; }
@media (min-width: 760px) {
	.footer__top { grid-template-columns: 1.4fr 2fr; }
	.footer__cols { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- 20. REVEAL — scroll-triggered welcoming motion ---------- */

/* Base: fade up. Long, soft easing — feels generous, not snappy. */
.reveal {
	opacity: 0;
	transform: translateY(28px);
	transition:
		opacity .9s cubic-bezier(.2,.7,.2,1),
		transform .9s cubic-bezier(.2,.7,.2,1);
	will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }

/* Direction + scale variants. Combine with .reveal. */
.reveal--left          { transform: translate3d(-36px, 0, 0); }
.reveal--right         { transform: translate3d(36px, 0, 0); }
.reveal--scale         { transform: scale(.94); }
.reveal--fade          { transform: none; }
.reveal--left.in,
.reveal--right.in,
.reveal--scale.in      { transform: none; }

/* Pace modifiers. */
.reveal--slow          { transition-duration: 1.3s; }
.reveal--fast          { transition-duration: .55s; }

/* Stagger helper — drop on a grid wrapper; JS sets per-child delays. */
.reveal-stagger > * {
	opacity: 0;
	transform: translate3d(0, 22px, 0);
	transition:
		opacity .85s cubic-bezier(.2,.7,.2,1),
		transform .85s cubic-bezier(.2,.7,.2,1);
	will-change: opacity, transform;
}
.reveal-stagger.in > * { opacity: 1; transform: none; }

/* ---------- 20a. HERO ON-LOAD CHOREOGRAPHY ----------
   Hero is in view at page load — scroll observer would never fire.
   JS adds .is-loaded once paint settles; children animate in sequence. */
.hero h1,
.hero .hero__sub,
.hero .hero__cta,
.hero .hero__badge,
.hero .hero__review,
.hero .scroll-cue {
	opacity: 0;
	transform: translate3d(0, 24px, 0);
	transition:
		opacity 1s cubic-bezier(.2,.7,.2,1),
		transform 1s cubic-bezier(.2,.7,.2,1);
}
.hero h1            { transition-delay: .15s; }
.hero .hero__sub    { transition-delay: .35s; }
.hero .hero__cta    { transition-delay: .55s; }
.hero .hero__badge  { transition-delay: .75s; }
.hero .hero__review { transition-delay: .95s; transform: translate3d(0, 36px, 0) scale(.96); }
.hero .scroll-cue   { transition-delay: 1.15s; }

.hero.is-loaded h1,
.hero.is-loaded .hero__sub,
.hero.is-loaded .hero__cta,
.hero.is-loaded .hero__badge,
.hero.is-loaded .hero__review,
.hero.is-loaded .scroll-cue {
	opacity: 1;
	transform: none;
}

/* ---------- 20b. HERO BG GENTLE DRIFT ----------
   Slow, almost-imperceptible vertical pan. Welcoming, not distracting. */
@keyframes ecc-hero-drift {
	0%, 100% { transform: scale(1.06) translate3d(0, 0, 0); }
	50%      { transform: scale(1.06) translate3d(0, -1.4%, 0); }
}
.hero__bg img {
	animation: ecc-hero-drift 22s ease-in-out infinite;
	will-change: transform;
}

/* ---------- 20c. SECTION CARD HOVER (Tidii-aligned) ----------
   Cards lift, gain a soft pop shadow, and inner images zoom slightly.
   Border accent shifts to teal so the card "warms up" on hover.
   NOTE: .feature__card and .founder__polaroid have their own position
   rules elsewhere — we don't set position here. */
.feature,
.award,
.event,
.res-card,
.res-feature,
.polaroid {
	transition:
		transform .3s var(--ease),
		box-shadow .3s var(--ease),
		border-color .25s var(--ease);
}
.feature__card,
.founder__polaroid {
	transition:
		transform .3s var(--ease),
		box-shadow .3s var(--ease);
}

/* Image lift effect.
   For cards where the image is the WHOLE card (.feature__img, .polaroid,
   .founder__polaroid) — clip on the card. For cards that contain text below
   the image (.res-feature, .res-card) — DO NOT clip the card; clip the image
   itself via clip-path so the scale stays inside its own rounded box and
   the gap between image and title is preserved on hover. */
.feature__img,
.polaroid,
.founder__polaroid {
	overflow: hidden;
}
.feature__img img,
.res-card img,
.res-feature img,
.polaroid img,
.founder__polaroid img {
	transition: transform .55s var(--ease);
	will-change: transform;
}
/* Self-clip the image to its own rounded box. Scaled overflow is contained
   to the image's layout box, so the 1.6rem margin-bottom below the image
   stays visually intact on hover. */
.res-feature img,
.res-card img {
	clip-path: inset(0 round var(--r));
	transform-origin: center center;
}

@media (hover: hover) {
	.feature:hover,
	.feature__card:hover,
	.award:hover,
	.event:hover,
	.res-card:hover,
	.res-feature:hover,
	.polaroid:hover,
	.founder__polaroid:hover {
		transform: translate3d(0, -6px, 0);
		box-shadow: var(--shadow-pop);
	}

	/* Cards that have a border get a teal accent on hover */
	.res-card:hover,
	.res-feature:hover,
	.award:hover { border-color: var(--teal); }

	/* Inner image zoom on parent hover */
	.feature__img:hover img,
	.res-card:hover img,
	.res-feature:hover img,
	.polaroid:hover img,
	.founder__polaroid:hover img {
		transform: scale(1.05);
	}
}

/* ---------- 20d. SMOOTH SCROLL + REDUCED MOTION ---------- */
html {
	scroll-behavior: smooth;
	scroll-padding-top: 120px; /* clears the sticky header so anchored jumps don't hide under it */
}

@media (prefers-reduced-motion: reduce) {
	* { animation: none !important; scroll-behavior: auto !important; }
	.reveal,
	.reveal--left,
	.reveal--right,
	.reveal--scale,
	.reveal-stagger > *,
	.hero h1,
	.hero .hero__sub,
	.hero .hero__cta,
	.hero .hero__badge,
	.hero .hero__review,
	.hero .scroll-cue {
		opacity: 1 !important;
		transform: none !important;
		transition: none !important;
	}
	.hero__bg img { animation: none !important; }
}
