/*
 * Homepage — the XD "Manana Oct 26" layout, set on the design system (css/system.css).
 * Spacing uses the --s scale, titles and text the system sizes, images --radius-lg, panels --radius-xl.
 *
 * Contents
 *   hero-1        Hero: background video, cycling phrases, showreel popup
 *   intro-1       Private yacht charter intro and four feature cards
 *   charters-1    Featured charters carousel (grid layout "Featured Charters v2")
 *   residency-1   St Barths festive residency card on the teal band
 *   feature-1     Step into a world
 *   values-1      Exceeding all expectations
 *   corporate-1   Make business unforgettable
 *   history-1     The history of Mañana timeline carousel
 *   reviews-1     Guest feedback carousel
 *   hire-1        Meet the Mañana
 *   enquiry-1     Make an enquiry card
 */

:root {
	--home-hero-shade: rgba(7, 7, 7, 0.28);
	--home-hero-shade-foot: rgba(7, 7, 7, 0.66);
	--home-panel-teal: rgba(0, 123, 141, 0.835);
}

/* Sections
   ========================================================================== */

/* One rhythm: every section opens with the same space; bands and the last section also close with it */
.l-section:is(.intro-1, .charters-1, .feature-1, .values-1, .corporate-1, .history-1, .reviews-1) {
	padding-top: var(--section-y);
	padding-bottom: 0;
}

.l-section:is(.charters-1, .reviews-1, .enquiry-1) {
	padding-bottom: var(--section-y);
}

/* Headings in these sections set their own spacing; :where keeps this below every component rule */
:where(.hero-1, .intro-1, .charters-1, .residency-1, .feature-1, .values-1, .corporate-1, .history-1, .reviews-1, .hire-1, .enquiry-1) :where(h1, h2, h3, h4, p).w-text {
	margin: 0;
	padding: 0;
}

/* Text blocks take their size from the component rule, not Impreza's paragraph defaults */
:where(.hero-1, .intro-1, .charters-1, .residency-1, .feature-1, .values-1, .corporate-1, .history-1, .reviews-1, .hire-1, .enquiry-1) .wpb_text_column :is(p, li) {
	font-size: inherit;
	line-height: inherit;
}

/* Impreza spaces button wrappers by 0.3rem; spacing here is set per component */
:where(.hero-1, .intro-1, .charters-1, .residency-1, .feature-1, .values-1, .corporate-1, .history-1, .reviews-1, .hire-1, .enquiry-1) .w-btn-wrapper {
	margin: 0;
}

:where(.hero-1, .intro-1, .charters-1, .residency-1, .feature-1, .values-1, .corporate-1, .history-1, .reviews-1, .hire-1, .enquiry-1) .w-btn {
	white-space: nowrap;
}

/* Section titles */
:is(.intro-1, .charters-1, .feature-1, .values-1, .corporate-1, .history-1, .reviews-1, .hire-1) :is(.intro-1-title, .charters-1-title, .feature-1-title, .values-1-title, .corporate-1-title, .history-1-title, .reviews-1-title, .hire-1-title) {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: var(--title-lg);
	line-height: 1.04;
	text-transform: uppercase;
	color: var(--color-teal);
	text-wrap: balance;
}

/* hero-1  Hero
   ========================================================================== */

.l-section.hero-1 {
	padding-bottom: var(--s8);
	overflow: hidden;
}

/* Two shade layers over the video: deep teal multiplied, then black that deepens towards the foot, where the words sit */
.l-section.hero-1::before,
.l-section.hero-1::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.l-section.hero-1::before {
	background: var(--color-deep-teal);
	opacity: 0.31;
	mix-blend-mode: multiply;
}

.l-section.hero-1::after {
	background: linear-gradient(to top, var(--home-hero-shade-foot) 0%, var(--home-hero-shade) 55%);
}

.l-section.hero-1 > .l-section-h {
	position: relative;
	z-index: 1;
}

/* "Discover" and the phrase that completes it share one line above the headline */
.hero-1 .hero-1-lead {
	align-items: center;
	gap: var(--s2) var(--s4);
	flex-wrap: wrap;
}

.hero-1 .hero-1-kicker {
	font-family: var(--font-display);
	font-weight: 300;
	font-size: clamp(18px, 2vw, 28px);
	line-height: 1.2;
	letter-spacing: 0.6em;
	text-transform: uppercase;
	color: var(--color-sand);
}

.hero-1 .hero-1-title {
	margin-top: var(--s2);
	font-family: var(--font-display);
	font-weight: 700;
	font-size: var(--title-hero);
	line-height: 1.05;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--color-white);
	text-wrap: balance;
}

.hero-1 .hero-1-event {
	margin-top: var(--s3);
}

.hero-1 .hero-1-event .w-text {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: var(--text-md);
	line-height: 1.4;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--color-white);
}

.hero-1 .hero-1-event-date::before {
	content: "|";
	margin: 0 0.85em 0 0.6em;
}

.hero-1 .hero-1-actions {
	margin-top: var(--s5);
	gap: var(--s3);
}

/* Cycling phrases: home-v2.js shows one at a time */
.hero-1 .hero-1-rotator {
	position: relative;
	flex: 0 1 380px;
	height: 21px;
}

.hero-1 .hero-1-phrase {
	position: absolute;
	left: 0;
	top: 50%;
	white-space: nowrap;
	font-family: var(--sans);
	font-weight: 700;
	font-size: 14px;
	line-height: 21px;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: var(--color-eyebrow);
	transform: translate(0, -50%);
	opacity: 0;
}

.hero-1 .hero-1-phrase.is-active {
	opacity: 1;
}

/* Without the script, show the first phrase */
.hero-1 .hero-1-rotator:not(.has-rotation) .hero-1-phrase:first-child {
	opacity: 1;
}

.hero-1 .hero-1-actions > .hero-1-showreel {
	margin-left: auto;
}

/* Showreel popup: the WordPress player fills the screen at 16:9 */
.w-popup-wrap.hero-1-showreel .w-popup-box-content {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 100vh;
}

.w-popup-wrap.hero-1-showreel :is(.wp-video, .mejs-container) {
	width: min(90vw, 160vh) !important;
	height: auto !important;
	aspect-ratio: 16 / 9;
}

.w-popup-wrap.hero-1-showreel :is(.mejs-mediaelement, video) {
	width: 100% !important;
	height: 100% !important;
}

.btn-glass {
	-webkit-backdrop-filter: blur(30px) brightness(1.15);
	backdrop-filter: blur(30px) brightness(1.15);
}

.btn-glass .w-btn-icon {
	font-size: 16px;
}

/* intro-1  Private yacht charter
   ========================================================================== */

.intro-1 .intro-1-head {
	align-items: center;
}

.intro-1 .intro-1-panel {
	padding: var(--s4);
	background: var(--color-stone);
	border-radius: var(--radius-lg);
}

.intro-1 .intro-1-text {
	font-size: var(--text-md);
	line-height: 1.6;
	font-weight: 300;
	color: var(--color-ink);
	margin: 0;
}

.intro-1 .intro-1-text p {
	margin: 0;
}

.intro-1 .intro-1-button {
	margin-top: var(--s3);
}

.intro-1 .intro-1-cards {
	margin-top: var(--s6);
}

.intro-1 .intro-1-card > .vc_column-inner {
	position: relative;
}

/* Photos are the full originals, cropped here. Zoomed crops scale inside the rounded window; the scale origin
   stays inside the frame (object-position does the rest) so the photo always covers it. */
.intro-1 .intro-1-card-image .w-image-h {
	overflow: hidden;
	border-radius: var(--radius-lg);
}

.intro-1 .intro-1-card-image img {
	display: block;
	width: 100%;
	aspect-ratio: 316 / 398;
	object-fit: cover;
}

.intro-1 .intro-1-card-image-time img {
	object-position: 50% 96.65%;
}

.intro-1 .intro-1-card-image-made img {
	transform: scale(1.1209);
	transform-origin: 15.39% 65.9%;
}

.intro-1 .intro-1-card-image-crew img {
	object-position: 50% 3.36%;
	transform: scale(1.3832);
	transform-origin: 50% 0%;
}

/* Caption (an icon item, css/system.css) in a sand box set into the foot of the photo, as the design has it.
   The box's corners are the photo's, less the 8px it is set in by. */
.intro-1 .intro-1-item {
	position: absolute;
	left: var(--s2);
	right: var(--s2);
	bottom: var(--s2);
	padding: var(--s3) var(--s4) var(--s3) var(--s3);
	background: var(--color-sand);
	border-radius: 4px;
}

/* In the box the icon is centred on the words beside it; top-aligned it reads as tucked into the corner */
.intro-1 .w-iconbox.intro-1-item {
	align-items: center;
}

/* Four across on a laptop the photos are too narrow to carry a box (it would cover half of each), so the caption
   sits under the photo there, as it does on phones. Tablets show two across, so the box fits again. */
@media (min-width: 1025px) and (max-width: 1439px) {
	.intro-1 .w-iconbox.intro-1-item {
		position: static;
		align-items: flex-start;
		margin-top: var(--s3);
		padding: 0;
		background: none;
	}
}

/* charters-1  Featured charters
   ========================================================================== */

.charters-1 .charters-1-card {
	position: relative;
	align-items: center;
}

.charters-1 .charters-1-media {
	position: relative;
	flex: 0 0 46%;
}

.charters-1 .charters-1-image {
	width: 84%;
}

.charters-1 .charters-1-image img {
	display: block;
	width: 100%;
	aspect-ratio: 569 / 421;
	object-fit: cover;
	border-radius: var(--radius-lg);
}

/* The second photo overlaps the first from its lower right and ends on the column edge */
.charters-1 .charters-1-detail {
	position: relative;
	z-index: 1;
	width: 48%;
	margin: -26% 0 0 52%;
}

.charters-1 .charters-1-detail img {
	display: block;
	width: 100%;
	aspect-ratio: 322 / 229;
	object-fit: cover;
	border-radius: var(--radius-lg);
	box-shadow: 0 0 0 var(--s2) var(--color-content-bg);
}

/* min-width 0 keeps the column to its share, so a long info bar wraps instead of overflowing the carousel */
.charters-1 .charters-1-copy {
	position: relative;
	flex: 1 1 auto;
	min-width: 0;
	padding-left: var(--s7);
}

.charters-1 .charters-1-head {
	align-items: center;
	gap: var(--s2);
}

.charters-1 .charters-1-eyebrow {
	margin: 0 var(--s3) 0 0;
}

.charters-1 .charters-1-title {
	margin-top: var(--s3);
}

/* Meta row (type-meta-row / type-meta): each item's icon is a mask, so it takes the meta icon colour */
.charters-1 .charters-1-meta {
	margin-top: var(--s3);
}

.charters-1 .charters-1-meta-item {
	display: flex;
	align-items: center;
	gap: var(--s2);
	white-space: nowrap;
}

.charters-1 .charters-1-meta-item::before {
	content: "";
	flex: 0 0 14px;
	width: 14px;
	height: 14px;
	background: var(--color-gold);
	-webkit-mask: var(--meta-icon) center / contain no-repeat;
	mask: var(--meta-icon) center / contain no-repeat;
}

.charters-1 .charters-1-location {
	--meta-icon: url("../img/meta-pin.svg");
}

.charters-1 .charters-1-date {
	--meta-icon: url("../img/meta-calendar.svg");
}

.charters-1 .charters-1-feature {
	--meta-icon: url("../img/meta-bar.svg?ver=2");
}

.charters-1 .charters-1-text {
	margin-top: var(--s4);
	max-width: 58ch;
	font-size: var(--text-md);
	line-height: 1.6;
	font-weight: 300;
	color: var(--color-ink);
}

.charters-1 .charters-1-text p {
	margin: 0;
}

.charters-1 .charters-1-text p + p {
	margin-top: var(--s3);
}

.charters-1 .charters-1-text strong {
	font-weight: 400;
}

.charters-1 .charters-1-actions {
	margin-top: var(--s5);
	flex-wrap: wrap;
	gap: var(--s3);
}

/* Pagination built by home-v2.js from the carousel's own dots */
.charters-1 .charters-1-dots {
	display: flex;
	gap: var(--s2);
	margin-top: var(--s5);
}

.charters-1 .charters-1-dot {
	width: 12px;
	height: 12px;
	padding: 0;
	border: 0;
	border-radius: var(--radius);
	background: var(--color-mist);
	cursor: pointer;
	transition: background 0.3s;
}

.charters-1 .charters-1-dot.is-active,
.no-touch .charters-1 .charters-1-dot:hover {
	background: var(--color-gold);
}

.charters-1 .charters-1-mark {
	position: absolute;
	right: 0;
	bottom: 0;
	width: 88px;
	pointer-events: none;
}

.charters-1 .owl-dots,
.charters-1 .owl-nav {
	display: none;
}

/* residency-1  St Barths festive residency
   Three columns of one height: the copy with the promo box on its bottom edge, two photos, and the reel.
   ========================================================================== */

.l-section.residency-1 {
	padding-top: var(--s7);
	padding-bottom: var(--s7);
	background: var(--color-teal);
}

/* The promo box and the lower photo share one height, so the card reads as a grid. That height is the photo's
   drawn shape (297:229) at the width of the middle column, a quarter of the card once the two gaps are taken out,
   and never less than the promo box needs for its words. */
.residency-1 .residency-1-card {
	container-type: inline-size;
	--residency-row: max(264px, calc((100cqw - 2 * var(--s5)) / 4 * 229 / 297));
	padding: var(--s6);
	gap: var(--s5);
	align-items: stretch;
	background: var(--color-sand);
	border-radius: var(--radius-xl);
}

.residency-1 :is(.residency-1-copy, .residency-1-gallery, .residency-1-media) > .vc_column-inner {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.residency-1 .residency-1-title {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: var(--title-md);
	line-height: 1.06;
	text-transform: uppercase;
	color: var(--color-teal);
}

.residency-1 .residency-1-tag,
.residency-1 .residency-1-promo-tag {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	padding: 6px 12px;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 12px;
	line-height: 1.3;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--color-white);
	background: var(--color-gold);
	border-radius: var(--radius-lg);
}

.residency-1 .residency-1-tag {
	margin-top: var(--s3);
}

.residency-1 .residency-1-lead {
	margin-top: var(--s4);
	font-size: var(--text-lead);
	line-height: 1.45;
	font-weight: 400;
	color: var(--color-ink);
}

.residency-1 .residency-1-text {
	margin-top: var(--s3);
	font-size: var(--text-md);
	line-height: 1.6;
	font-weight: 300;
	color: var(--color-ink);
}

.residency-1 :is(.residency-1-lead, .residency-1-text) p {
	margin: 0;
}

.residency-1 .residency-1-actions {
	margin-top: var(--s5);
	margin-bottom: var(--s5);
	flex-wrap: wrap;
	gap: var(--s3);
}

.residency-1 .residency-1-promo {
	position: relative;
	justify-content: center;
	flex-shrink: 0;
	min-height: var(--residency-row);
	margin-top: auto;
	padding: var(--s5) var(--s4);
	overflow: hidden;
	border-radius: var(--radius-lg);
	background: var(--color-ink);
	isolation: isolate;
}

.residency-1 .residency-1-promo-image {
	position: absolute;
	inset: 0;
	z-index: -2;
}

.residency-1 .residency-1-promo-image :is(.w-image-h, img) {
	width: 100%;
	height: 100%;
}

.residency-1 .residency-1-promo-image img {
	object-fit: cover;
	transform: scale(1.6868);
	transform-origin: 49.36% 47.58%;
}

/* Two multiplied shades over the photo keep the white text readable */
.residency-1 .residency-1-promo::before,
.residency-1 .residency-1-promo::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	z-index: -1;
	mix-blend-mode: multiply;
	pointer-events: none;
}

.residency-1 .residency-1-promo::before {
	right: 0;
	background: var(--color-ink);
	opacity: 0.5;
}

.residency-1 .residency-1-promo::after {
	width: 66.8%;
	background: linear-gradient(90deg, var(--color-ink) 26%, transparent 70%);
	opacity: 0.82;
}

.residency-1 .residency-1-promo-kicker {
	margin: var(--s3) 0 var(--s2);
	font-family: var(--sans);
	font-weight: 700;
	font-size: 12px;
	line-height: 1.5;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: var(--color-white);
}

.residency-1 .residency-1-promo-title {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: clamp(24px, 2.1vw, 30px);
	line-height: 1.06;
	text-transform: uppercase;
	color: var(--color-white);
}

.residency-1 .residency-1-promo-button {
	margin-top: var(--s4);
}

.residency-1 .residency-1-gallery > .vc_column-inner {
	gap: var(--s4);
}

.residency-1 .residency-1-image img {
	display: block;
	width: 100%;
	object-fit: cover;
	border-radius: var(--radius-lg);
}

/* The tall photo takes whatever height the short one leaves */
.residency-1 .residency-1-image-tall {
	position: relative;
	flex: 1 1 auto;
	min-height: 240px;
}

.residency-1 .residency-1-image-tall img {
	position: absolute;
	inset: 0;
	height: 100%;
	object-position: 37.18% 50%;
}

.residency-1 .residency-1-image-short img {
	height: var(--residency-row);
}

/* Video card: the poster shows until the reel starts playing */
.residency-1 .residency-1-reel {
	position: relative;
	flex: 1 1 auto;
	overflow: hidden;
	min-height: 420px;
	border-radius: var(--radius-lg);
}

@media (prefers-reduced-motion: reduce) {
	.residency-1 .residency-1-reel {
		cursor: pointer;
	}
}

.residency-1 .residency-1-reel :is(img, video) {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.residency-1 .residency-1-reel video {
	opacity: 0;
	transition: opacity 0.3s ease-out;
}

.residency-1 .residency-1-reel.is-playing video {
	opacity: 1;
}

/* feature-1  Step into a world
   ========================================================================== */

.l-section.feature-1 > .l-section-h > .g-cols {
	align-items: center;
}

.feature-1 .feature-1-copy {
	position: relative;
	z-index: 2;
}

.feature-1 .feature-1-text {
	margin-top: var(--s4);
	max-width: 44ch;
	font-size: var(--text-md);
	line-height: 1.6;
	font-weight: 300;
	color: var(--color-ink);
}

.feature-1 .feature-1-text p {
	margin: 0;
}

.feature-1 .feature-1-text p + p {
	margin-top: var(--s3);
}

.feature-1 .feature-1-text strong {
	font-weight: 500;
}

.feature-1 .feature-1-button {
	margin-top: var(--s5);
}

/* Room below the big photo for the small one that hangs off its corner */
.feature-1 .feature-1-media > .vc_column-inner {
	position: relative;
	padding-bottom: var(--s6);
}

.feature-1 :is(.feature-1-image, .feature-1-detail) .w-image-h {
	overflow: hidden;
	border-radius: var(--radius-lg);
}

.feature-1 .feature-1-image img {
	display: block;
	width: 100%;
	aspect-ratio: 615 / 548;
	object-fit: cover;
	object-position: 25.51% 50%;
	transform: scale(1.0741);
	transform-origin: 0% 81.55%;
}

.feature-1 .feature-1-detail {
	position: absolute;
	left: -26%;
	bottom: 0;
	width: 44%;
	z-index: 1;
	border-radius: var(--radius-lg);
	box-shadow: 0 0 0 var(--s2) var(--color-content-bg);
}

.feature-1 .feature-1-detail img {
	display: block;
	width: 100%;
	aspect-ratio: 280 / 254;
	object-fit: cover;
	object-position: 45.6% 50%;
	transform: scale(1.0669);
	transform-origin: 0% 15.78%;
}

/* values-1  Exceeding all expectations
   ========================================================================== */

.l-section.values-1 > .l-section-h > .g-cols {
	align-items: center;
}

.values-1 .values-1-media > .vc_column-inner {
	display: flex;
	flex-direction: column;
	gap: var(--s4);
	padding-right: var(--s8);
}

.values-1 .values-1-image .w-image-h {
	overflow: hidden;
	border-radius: var(--radius-lg);
}

.values-1 .values-1-image img {
	display: block;
	width: 100%;
	object-fit: cover;
}

.values-1 .values-1-image-top img {
	aspect-ratio: 574 / 228.5;
	object-position: 50% 24.97%;
	transform: scale(1.2474);
	transform-origin: 0% 0%;
}

.values-1 .values-1-image-bottom img {
	aspect-ratio: 574 / 249;
}

.values-1 .values-1-items {
	margin-top: var(--s6);
	gap: var(--s5);
}

.values-1 .values-1-item + .values-1-item {
	margin-top: var(--s5);
}

/* corporate-1  Make business unforgettable
   ========================================================================== */

/* The panel clips the big photo, so its corners are drawn once (a second rounded edge on the photo shows a fringe) */
.corporate-1 .corporate-1-panel {
	position: relative;
	overflow: hidden;
	background: var(--color-teal);
	border-radius: var(--radius-xl);
}

.corporate-1 .corporate-1-panel > .vc_column-inner {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 620px;
	padding: var(--s7) 0 var(--s7) var(--s7);
}

.corporate-1 .corporate-1-photo {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: 35.94%;
}

.corporate-1 .corporate-1-photo :is(.w-image-h, img) {
	width: 100%;
	height: 100%;
}

.corporate-1 .corporate-1-photo img {
	object-fit: cover;
	object-position: 7.13% 50%;
}

/* Two framed photos overlap the big one by 64px, centred as a pair on the panel's height.
   Each frame is teal with the photo in a window inset by 7px; the full originals are placed in that window in %. */
.corporate-1 .corporate-1-frame {
	position: absolute;
	right: calc(35.94% - 64px);
	width: 254px;
	z-index: 1;
	background: var(--color-teal);
	border-radius: var(--radius-xl);
}

.corporate-1 .corporate-1-frame .w-image-h {
	position: absolute;
	inset: 7px;
	height: auto;
	overflow: hidden;
	border-radius: 13px;
}

.corporate-1 .corporate-1-frame img {
	position: absolute;
	max-width: none;
}

.corporate-1 .corporate-1-frame-top {
	top: calc(50% - 278px);
	aspect-ratio: 254 / 251;
}

.corporate-1 .corporate-1-frame-top img {
	top: -35.86%;
	left: -102.9%;
	width: 231.5%;
	height: 156.75%;
}

.corporate-1 .corporate-1-frame-bottom {
	top: calc(50% - 20px);
	aspect-ratio: 254 / 297;
}

.corporate-1 .corporate-1-frame-bottom img {
	top: -6.36%;
	left: -2.92%;
	width: 105.83%;
	height: 112.19%;
}

.corporate-1 .corporate-1-title {
	max-width: 12em;
	color: var(--color-white);
}

.corporate-1 .corporate-1-subtitle {
	max-width: 30em;
	margin-top: var(--s4);
	font-family: var(--font-display);
	font-weight: 700;
	font-size: var(--title-sm);
	line-height: 1.3;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--color-white);
}

.corporate-1 .corporate-1-text {
	max-width: 48ch;
	margin-top: var(--s3);
	font-size: var(--text-md);
	line-height: 1.6;
	font-weight: 300;
	color: var(--color-white);
}

.corporate-1 .corporate-1-text p {
	margin: 0;
}

.corporate-1 .corporate-1-text p + p {
	margin-top: var(--s3);
}

.corporate-1 .corporate-1-bottom {
	margin-top: var(--s5);
	align-items: center;
	gap: var(--s6);
}

.corporate-1 .corporate-1-clients {
	display: grid;
	grid-template-columns: auto auto;
	justify-content: start;
	align-items: center;
	gap: var(--s2) var(--s5);
}

.corporate-1 .corporate-1-clients-label {
	grid-column: 1 / -1;
	font-size: var(--text-sm);
	line-height: 1.4;
	font-weight: 500;
	color: var(--color-white);
}

.corporate-1 .corporate-1-logo-amazon {
	width: 120px;
}

.corporate-1 .corporate-1-logo-cannes {
	width: 104px;
}

.corporate-1 .corporate-1-logo-cannes img {
	aspect-ratio: 113.8 / 54.7;
}

.corporate-1 .corporate-1-logo img {
	display: block;
	width: 100%;
	height: auto;
}

/* history-1  The history of Mañana
   ========================================================================== */

/* clip, not hidden: the arrow tab reaches past the screen edge, and focusing it would scroll a hidden-overflow section sideways */
.l-section.history-1 {
	overflow: hidden;
	overflow: clip;
}

.history-1 .history-1-head {
	position: relative;
	z-index: 3;
	align-items: center;
	gap: var(--s3);
}

.history-1 .history-1-boat {
	flex: 0 0 112px;
	width: 112px;
	height: 112px;
	margin-left: -12px;
}

.history-1 .history-1-boat-anim {
	display: block;
	width: 112px;
	height: 112px;
}

.history-1 .w-btn-wrapper:has(> .history-1-button) {
	margin-left: auto;
}

.history-1 .history-1-line {
	margin: var(--s3) calc(50% - 50vw) 0;
}

/* 326px cards with 48px gaps, from the gutter to the screen edge so the last one runs off */
.history-1 .history-1-carousel {
	position: relative;
	margin: -11px calc((100% - 100vw) / 2) 0 -24px;
}

/* Gap set here: half on each side of a fixed 326px card */
.history-1 .history-1-carousel .w-grid-item {
	padding: 0 24px;
}

.history-1 .history-1-carousel .w-grid-item-h {
	width: 326px;
}

/* Open above and to the right (pins, cut-off last card), but clipped on the left so the looped clone does not peek in */
.history-1 .history-1-carousel .owl-stage-outer {
	overflow: visible;
	clip-path: inset(-200px -100vw -200px 0);
}

/* Owl's own z-index would trap the arrow beneath the fade */
.history-1 .history-1-carousel .owl-carousel {
	z-index: auto;
}

/* Cream fade over the right-hand cards */
.history-1 .history-1-carousel::after {
	content: "";
	position: absolute;
	top: -115px;
	bottom: -44px;
	left: calc(100% - 593px);
	width: 611px;
	z-index: 2;
	background: linear-gradient(270deg, var(--color-cream) 0%, rgba(247, 246, 245, 0) 97%);
	pointer-events: none;
}

.history-1 .history-1-pin {
	display: flex;
	justify-content: center;
	height: 58px;
}

.history-1 .history-1-pin img {
	width: 22px;
	height: 58px;
}

.history-1 .history-1-card.w-vwrapper {
	position: relative;
	justify-content: flex-start;
	height: 480px;
	margin-top: -7px;
	padding: var(--s2) var(--s2) 0;
	background: var(--color-linen);
	border-radius: var(--radius-lg);
}

.history-1 .history-1-card-image img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.history-1 .history-1-card-date {
	position: absolute;
	top: var(--s4);
	left: var(--s2);
	padding: 6px 14px;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 14px;
	line-height: 1.3;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--color-white);
	background: var(--color-gold);
	border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

.history-1 .history-1-card-title {
	margin: var(--s3) var(--s2) 0;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: var(--title-sm);
	line-height: 1.25;
	text-transform: uppercase;
	color: var(--color-ink);
}

.history-1 .history-1-card-title a {
	color: inherit;
}

.history-1 .history-1-card-text {
	margin: var(--s2) var(--s2) 0;
	font-size: var(--text-sm);
	line-height: 1.55;
	font-weight: 300;
	color: var(--color-ink);
}

.history-1 .history-1-card-text p {
	margin: 0;
}

.history-1 .history-1-card-actions {
	position: absolute;
	left: var(--s3);
	bottom: var(--s3);
}

/* Teal tab at the right edge (Owl's next arrow) */
.history-1 .history-1-carousel .owl-nav .owl-prev {
	display: none;
}

.history-1 .history-1-carousel .owl-nav .owl-next {
	position: absolute;
	top: 180px;
	left: calc(100% - 49px);
	right: auto;
	z-index: 3;
	width: 187px;
	height: 151px;
	margin: 0;
	padding: 0 0 0 14px;
	justify-content: flex-start;
	font-size: 18px;
	color: var(--color-white);
	background: var(--color-teal);
	border-radius: var(--radius-lg);
	opacity: 1;
	transform: none;
}

/* The chevron is a mask in the text colour, so it follows the button's colour on hover */
.history-1 .history-1-carousel .owl-nav .owl-next::after {
	content: "";
	width: 20px;
	height: 35px;
	margin-left: 1px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 35'%3E%3Cpath d='M2 2l15.5 15.5L2 33' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 35'%3E%3Cpath d='M2 2l15.5 15.5L2 33' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Shown even when Owl marks it disabled, which it does once the looped copies outnumber the cards (see home-v2.js) */
.history-1 .history-1-carousel .owl-nav {
	display: flex;
	position: static;
	opacity: 1;
}

/* reviews-1  Guest feedback
   ========================================================================== */

.reviews-1 .reviews-1-head {
	align-items: center;
	gap: var(--s2);
}

.reviews-1 .reviews-1-title {
	margin-right: var(--s3);
}

.reviews-1 .w-btn-wrapper:has(> .reviews-1-button) {
	margin-left: auto;
}

/* Three cards across; the gap is each item's right padding, taken back off the row.
   1px on the left keeps the first card's border inside the carousel's clip. */
/* Homepage: one review at a time, set large */
.reviews-1 .reviews-1-carousel {
	margin-top: var(--s6);
}

/* A review is a quote under a hairline, not a box: stars, the words in the serif, then who said it */
.reviews-1 .reviews-1-card {
	display: flex;
	flex-direction: column;
	padding-top: var(--s4);
	border-top: 1px solid var(--hairline);
}

.reviews-1 .reviews-1-carousel .reviews-1-card {
	max-width: 1000px;
}

/* A drawn star on a 25px pitch, in place of Impreza's icon-font stars */
.reviews-1 .reviews-1-card-rating .w-testimonial-rating {
	display: flex;
	width: auto;
	gap: 6.7px;
	line-height: 0;
}

.reviews-1 .reviews-1-card-rating .w-testimonial-rating i {
	flex: 0 0 18.5px;
	width: 18.5px;
	height: 17.6px;
	font-size: 0;
	background: var(--color-gold);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='1.95 1.95 19.49 18.52'%3E%3Cpath d='M11.696 16.833l6.024 3.636-1.594-6.852 5.317-4.606-7.008-.604-2.739-6.457-2.739 6.457-7.008.604 5.317 4.606-1.594 6.852z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='1.95 1.95 19.49 18.52'%3E%3Cpath d='M11.696 16.833l6.024 3.636-1.594-6.852 5.317-4.606-7.008-.604-2.739-6.457-2.739 6.457-7.008.604 5.317 4.606-1.594 6.852z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Impreza's own star drawings (the empty row behind, and each icon glyph) */
.reviews-1 .reviews-1-card-rating .w-testimonial-rating::before,
.reviews-1 .reviews-1-card-rating .w-testimonial-rating i::before {
	content: none;
}

.reviews-1 .reviews-1-card-text {
	flex: 1 1 auto;
	margin-top: var(--s4);
	font-family: var(--serif);
	font-size: 19px;
	line-height: 1.5;
	font-weight: 400;
	color: var(--color-ink);
	text-wrap: pretty;
}

.reviews-1 .reviews-1-carousel .reviews-1-card-text {
	font-size: clamp(22px, 2.3vw, 32px);
	line-height: 1.35;
	text-wrap: balance;
}

.reviews-1 .reviews-1-card-text p {
	margin: 0;
}

/* In a grid, room for a name and a two-line role, so author lines start level across the cards */
.reviews-1 .reviews-1-carousel .reviews-1-card-author {
	min-height: 0;
}

.reviews-1 .reviews-1-card-author {
	min-height: 66px;
	margin-top: var(--s4);
	font-size: var(--text-sm);
	line-height: 1.55;
	color: var(--color-ink);
}

.reviews-1 .reviews-1-card-name {
	font-weight: 500;
}

.reviews-1 .reviews-1-card-role {
	font-weight: 300;
}

/* Reviews page: the same cards as a grid, each row one height */
.reviews-1 .reviews-1-list :is(.w-grid-item-h, .reviews-1-card) {
	height: 100%;
}

.reviews-1 .reviews-1-title + .reviews-1-list {
	margin-top: var(--s6);
}

/* hire-1  Meet the Mañana
   ========================================================================== */

.l-section.hire-1 {
	padding-top: var(--s9);
	padding-bottom: var(--s9);
	overflow: hidden;
}

/* Extra room under the panel for the enquiry card that overlaps the photo */
.l-section.hire-1:has(+ .enquiry-1) {
	padding-bottom: calc(var(--s9) + var(--s7));
}

/* The photo's lower edge washes into harbour blue */
.l-section.hire-1::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 182px;
	background: linear-gradient(180deg, rgba(0, 14, 37, 0), var(--color-harbour-blue));
	pointer-events: none;
}

.l-section.hire-1 > .l-section-h {
	position: relative;
	z-index: 1;
}

.hire-1 .hire-1-panel > .vc_column-inner {
	position: relative;
	padding: var(--s7) var(--s7) var(--s7) 0;
	isolation: isolate;
}

/* The panel runs off the left edge of the screen */
.hire-1 .hire-1-panel > .vc_column-inner::before {
	content: "";
	display: block;
	position: absolute;
	top: 0;
	bottom: 0;
	right: 0;
	left: -100vw;
	z-index: -1;
	border-radius: 0 var(--radius-xl) var(--radius-xl) 0;
	background: var(--home-panel-teal);
	-webkit-backdrop-filter: blur(8.26px) brightness(0.5);
	backdrop-filter: blur(8.26px) brightness(0.5);
}

.hire-1 .hire-1-kicker {
	font-family: var(--sans);
	font-weight: 700;
	font-size: 14px;
	line-height: 21px;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: var(--color-eyebrow);
	margin-bottom: var(--s3);
}

.hire-1 .hire-1-title {
	color: var(--color-white);
}

.hire-1 .hire-1-columns {
	margin-top: var(--s4);
	gap: var(--s6);
}

.hire-1 .hire-1-col-specs {
	flex: 0 0 38%;
}

.hire-1 .hire-1-col-features {
	flex: 1 1 0;
	min-width: 0;
}

.hire-1 .hire-1-text {
	font-size: var(--text-md);
	line-height: 1.6;
	font-weight: 300;
	color: var(--color-white);
}

.hire-1 .hire-1-text p {
	margin: 0;
}

.hire-1 .hire-1-heading {
	margin-bottom: var(--s3);
	font-family: var(--font-display);
	font-weight: 700;
	font-size: var(--title-sm);
	line-height: 1.3;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--color-sand);
}

.hire-1 .hire-1-col-specs .hire-1-heading {
	margin-top: var(--s5);
}

.hire-1 .hire-1-list {
	font-size: var(--text-md);
	line-height: 1.5;
	font-weight: 300;
	color: var(--color-white);
}

.hire-1 .hire-1-list ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.hire-1 .hire-1-list li {
	position: relative;
	margin: 0;
	padding-left: var(--s4);
}

.hire-1 .hire-1-list li + li {
	margin-top: 6px;
}

.hire-1 .hire-1-list li::before {
	content: "";
	position: absolute;
	left: 2px;
	top: 0.5em;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--color-gold);
}

.hire-1 .hire-1-button {
	margin-top: var(--s5);
}

/* enquiry-1  Make an enquiry
   ========================================================================== */

.l-section.enquiry-1 {
	padding-top: var(--section-y);
}

/* After the hire photo, the card rides up over it */
.l-section.hire-1 + .l-section.enquiry-1 {
	position: relative;
	z-index: 2;
	margin-top: calc(-1 * var(--s8));
	padding-top: 0;
}

/* Side padding is a share of the card, so the form keeps its proportions on wide screens */
.enquiry-1 .enquiry-1-card {
	padding: var(--s6) 13.6%;
	background: var(--color-white);
	border-radius: var(--radius-xl);
}

.enquiry-1 .enquiry-1-head {
	align-items: center;
	gap: 0;
}

/* The title takes the width of the form's first column and its gutter (css/forms.css), so the words beside it
   start on the edge of the second column. A long title (the Yacht Rentals pages) wraps inside that width. */
.enquiry-1 .enquiry-1-title {
	flex: 0 0 43.69%;
	max-width: 43.69%;
	padding-right: var(--s4);
	font-family: var(--font-display);
	font-weight: 700;
	font-size: var(--title-md);
	line-height: 1.08;
	text-transform: uppercase;
	color: var(--color-gold);
}

.enquiry-1 .enquiry-1-intro {
	flex: 1 1 0;
	min-width: 0;
	font-size: var(--text-sm);
	line-height: 1.45;
	font-weight: 300;
	color: var(--color-ink);
}

.enquiry-1 .enquiry-1-intro strong {
	display: block;
	font-weight: 700;
}

.enquiry-1 .enquiry-1-intro strong + br {
	display: none;
}

.enquiry-1 .enquiry-1-form {
	margin-top: var(--s5);
}

/* Responsive
   ========================================================================== */

/* Laptops */
@media (max-width: 1439px) {
	.charters-1 .charters-1-copy {
		padding-left: var(--s6);
	}

	.residency-1 .residency-1-card {
		padding: var(--s5);
	}

	.values-1 .values-1-media > .vc_column-inner {
		padding-right: var(--s6);
	}

	.enquiry-1 .enquiry-1-card {
		padding: var(--s6);
	}
}

/* Below 1280px the text column has no room beside the two framed photos */
@media (max-width: 1279px) {
	.corporate-1 .corporate-1-frame {
		display: none;
	}

	.corporate-1 .corporate-1-panel > .vc_column-inner {
		padding-right: calc(35.94% + var(--s6));
	}
}

/* Tablets and phones: sections stack, copy before its pictures */
@media (max-width: 1024px) {
	.l-section.hero-1 {
		padding-bottom: var(--s7);
	}

	.hero-1 .hero-1-actions {
		flex-wrap: wrap;
	}

	.hero-1 .hero-1-actions > .hero-1-showreel {
		margin-left: 0;
	}

	.intro-1 .intro-1-panel {
		margin-top: var(--s4);
	}

	.intro-1 .intro-1-cards.g-cols {
		grid-template-columns: repeat(2, 1fr);
	}

	.charters-1 .charters-1-card {
		flex-direction: column;
		align-items: stretch;
	}

	.charters-1 .charters-1-media {
		flex: none;
		width: 100%;
	}

	.charters-1 .charters-1-copy {
		width: 100%;
		padding: var(--s6) 0 0;
	}

	.charters-1 .charters-1-text {
		max-width: none;
	}

	.charters-1 .charters-1-mark {
		display: none;
	}

	.residency-1 .residency-1-card {
		padding: var(--s5) var(--s4);
	}

	.residency-1 .residency-1-card.g-cols {
		grid-template-columns: 1fr 1fr;
	}

	.residency-1 .residency-1-copy {
		grid-column: 1 / -1;
	}

	.residency-1 .residency-1-promo {
		max-width: 520px;
		min-height: 0;
	}

	.residency-1 .residency-1-image-short img {
		height: auto;
		aspect-ratio: 297 / 229;
	}

	.residency-1 .residency-1-image-tall {
		aspect-ratio: 297 / 352;
	}

	.feature-1 .feature-1-text {
		max-width: 60ch;
	}

	.feature-1 .feature-1-media {
		margin-top: var(--s6);
	}

	.feature-1 .feature-1-detail {
		left: auto;
		right: calc(-1 * var(--s2));
		width: 38%;
	}

	.values-1 .values-1-copy {
		order: -1;
	}

	.values-1 .values-1-media > .vc_column-inner {
		padding-right: 0;
	}

	.values-1 .values-1-media {
		margin-top: var(--s6);
	}

	.corporate-1 .corporate-1-panel > .vc_column-inner {
		min-height: 0;
		padding: var(--s6) var(--s5) 0;
	}

	/* Full-bleed across the panel's padding */
	.corporate-1 .corporate-1-photo {
		position: static;
		order: 10;
		width: calc(100% + 2 * var(--s5));
		max-width: none;
		height: 320px;
		margin: var(--s6) calc(-1 * var(--s5)) 0;
	}

	.corporate-1 .corporate-1-bottom {
		flex-wrap: wrap;
		row-gap: var(--s4);
	}

	.history-1 .history-1-head {
		flex-wrap: wrap;
	}

	.history-1 .history-1-boat,
	.history-1 .history-1-boat-anim {
		flex-basis: 88px;
		width: 88px;
		height: 88px;
	}

	.history-1 .history-1-title {
		flex: 1 1 0;
	}

	.history-1 .w-btn-wrapper:has(> .history-1-button) {
		flex: 1 0 100%;
		margin: 0;
	}

	.history-1 .history-1-carousel::after,
	.history-1 .history-1-carousel .owl-nav {
		display: none;
	}

	.reviews-1 .reviews-1-head {
		flex-wrap: wrap;
		row-gap: var(--s3);
	}

	.reviews-1 .w-btn-wrapper:has(> .reviews-1-button) {
		flex: 1 0 100%;
		margin: 0;
	}

	.l-section.hire-1 {
		padding-top: 220px;
		padding-bottom: var(--s7);
	}

	.hire-1 .hire-1-panel > .vc_column-inner {
		padding: var(--s6) 0;
	}

	.hire-1 .hire-1-panel > .vc_column-inner::before {
		right: -100vw;
		border-radius: 0;
	}

	.l-section.hire-1:has(+ .enquiry-1) {
		padding-bottom: var(--s7);
	}

	.l-section.hire-1 + .l-section.enquiry-1 {
		margin-top: 0;
		padding-top: var(--s7);
	}

	.enquiry-1 .enquiry-1-card {
		padding: var(--s6) var(--s5);
	}

}

/* Below 783px Forminator stacks the form's two columns (css/forms.css), so the enquiry heading stacks with it */
@media (max-width: 782px) {
	.enquiry-1 .enquiry-1-head {
		flex-wrap: wrap;
		row-gap: var(--s2);
	}

	.enquiry-1 .enquiry-1-title {
		flex-basis: auto;
		max-width: none;
		padding-right: 0;
	}

	.enquiry-1 .enquiry-1-intro {
		flex-basis: 100%;
	}
}

/* Phones */
@media (max-width: 767px) {
	.hero-1 .hero-1-kicker {
		letter-spacing: 0.45em;
	}

	.hero-1 .hero-1-phrase {
		font-size: 12px;
	}

	.hero-1 .hero-1-title {
		margin-top: var(--s3);
	}

	/* Two across, so the four photos take two rows instead of four */
	.intro-1 .intro-1-cards.g-cols {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: var(--s5) var(--s3);
	}

	/* The photos are too small to carry a box, so the caption sits under each one, its icon above the words */
	.intro-1 .w-iconbox.intro-1-item {
		position: static;
		flex-direction: column;
		align-items: flex-start;
		margin-top: var(--s3);
		padding: 0;
		background: none;
	}

	.intro-1 .w-iconbox.intro-1-item .w-iconbox-icon {
		flex-basis: auto;
		width: auto;
		margin: 0 0 var(--s2);
	}

	.charters-1 .charters-1-image {
		width: 100%;
	}

	.charters-1 .charters-1-detail {
		display: none;
	}

	.charters-1 .charters-1-head {
		flex-wrap: wrap;
	}

	.charters-1 .charters-1-eyebrow {
		flex: 1 0 100%;
	}

	/* Title on its own line, arrows and button beneath */
	.reviews-1 .reviews-1-title {
		flex: 1 0 100%;
		margin-right: 0;
	}

	.reviews-1 .w-btn-wrapper:has(> .reviews-1-button) {
		flex: 0 0 auto;
		margin-left: auto;
	}

	.residency-1 .residency-1-card.g-cols {
		grid-template-columns: 1fr;
	}

	.residency-1 .residency-1-reel {
		aspect-ratio: 436 / 599;
		min-height: 0;
	}

	.feature-1 .feature-1-media > .vc_column-inner {
		padding-bottom: 0;
	}

	.feature-1 .feature-1-detail {
		display: none;
	}

	.values-1 .values-1-items.g-cols {
		grid-template-columns: 1fr;
	}

	.corporate-1 .corporate-1-panel > .vc_column-inner {
		padding: var(--s5) var(--s4) 0;
	}

	.corporate-1 .corporate-1-photo {
		width: calc(100% + 2 * var(--s4));
		height: 240px;
		margin: var(--s5) calc(-1 * var(--s4)) 0;
	}

	.hire-1 .hire-1-columns {
		flex-direction: column;
		row-gap: var(--s4);
	}

	.hire-1 .hire-1-col-specs {
		flex: none;
	}

	.enquiry-1 .enquiry-1-card {
		padding: var(--s5) 20px var(--s4);
	}
}
